Skip to content
Snippets Groups Projects
Commit e1fdb039 authored by Kevin Hill's avatar Kevin Hill
Browse files

[ci skip] further simplifying chart creation by getting the package via map and not user provided.

parent 19519c99
No related branches found
No related tags found
No related merge requests found
!function t(e,n,r){function o(i,s){if(!n[i]){if(!e[i]){var u="function"==typeof require&&require;if(!s&&u)return u(i,!0);if(a)return a(i,!0);var c=new Error("Cannot find module '"+i+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[i]={exports:{}};e[i][0].call(l.exports,function(t){var n=e[i][1][t];return o(n?n:t)},l,l.exports,t,e,n,r)}return n[i].exports}for(var a="function"==typeof require&&require,i=0;i<r.length;i++)o(r[i]);return o}({1:[function(t,e,n){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function o(t){return"function"==typeof t}function a(t){return"number"==typeof t}function i(t){return"object"==typeof t&&null!==t}function s(t){return void 0===t}e.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(t){if(!a(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},r.prototype.emit=function(t){var e,n,r,a,u,c;if(this._events||(this._events={}),"error"===t&&(!this._events.error||i(this._events.error)&&!this._events.error.length)){if(e=arguments[1],e instanceof Error)throw e;var l=new Error('Uncaught, unspecified "error" event. ('+e+")");throw l.context=e,l}if(n=this._events[t],s(n))return!1;if(o(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:a=Array.prototype.slice.call(arguments,1),n.apply(this,a)}else if(i(n))for(a=Array.prototype.slice.call(arguments,1),c=n.slice(),r=c.length,u=0;u<r;u++)c[u].apply(this,a);return!0},r.prototype.addListener=function(t,e){var n;if(!o(e))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",t,o(e.listener)?e.listener:e),this._events[t]?i(this._events[t])?this._events[t].push(e):this._events[t]=[this._events[t],e]:this._events[t]=e,i(this._events[t])&&!this._events[t].warned&&(n=s(this._maxListeners)?r.defaultMaxListeners:this._maxListeners,n&&n>0&&this._events[t].length>n&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeof console.trace&&console.trace())),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(t,e){function n(){this.removeListener(t,n),r||(r=!0,e.apply(this,arguments))}if(!o(e))throw TypeError("listener must be a function");var r=!1;return n.listener=e,this.on(t,n),this},r.prototype.removeListener=function(t,e){var n,r,a,s;if(!o(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(n=this._events[t],a=n.length,r=-1,n===e||o(n.listener)&&n.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(i(n)){for(s=a;s-- >0;)if(n[s]===e||n[s].listener&&n[s].listener===e){r=s;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[t]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},r.prototype.removeAllListeners=function(t){var e,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[t],o(n))this.removeListener(t,n);else if(n)for(;n.length;)this.removeListener(t,n[n.length-1]);return delete this._events[t],this},r.prototype.listeners=function(t){var e;return e=this._events&&this._events[t]?o(this._events[t])?[this._events[t]]:this._events[t].slice():[]},r.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(o(e))return 1;if(e)return e.length}return 0},r.listenerCount=function(t,e){return t.listenerCount(e)}},{}],2:[function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=t("./_hashClear"),a=t("./_hashDelete"),i=t("./_hashGet"),s=t("./_hashHas"),u=t("./_hashSet");r.prototype.clear=o,r.prototype["delete"]=a,r.prototype.get=i,r.prototype.has=s,r.prototype.set=u,e.exports=r},{"./_hashClear":35,"./_hashDelete":36,"./_hashGet":37,"./_hashHas":38,"./_hashSet":39}],3:[function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=t("./_listCacheClear"),a=t("./_listCacheDelete"),i=t("./_listCacheGet"),s=t("./_listCacheHas"),u=t("./_listCacheSet");r.prototype.clear=o,r.prototype["delete"]=a,r.prototype.get=i,r.prototype.has=s,r.prototype.set=u,e.exports=r},{"./_listCacheClear":44,"./_listCacheDelete":45,"./_listCacheGet":46,"./_listCacheHas":47,"./_listCacheSet":48}],4:[function(t,e,n){var r=t("./_getNative"),o=t("./_root"),a=r(o,"Map");e.exports=a},{"./_getNative":32,"./_root":58}],5:[function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=t("./_mapCacheClear"),a=t("./_mapCacheDelete"),i=t("./_mapCacheGet"),s=t("./_mapCacheHas"),u=t("./_mapCacheSet");r.prototype.clear=o,r.prototype["delete"]=a,r.prototype.get=i,r.prototype.has=s,r.prototype.set=u,e.exports=r},{"./_mapCacheClear":49,"./_mapCacheDelete":50,"./_mapCacheGet":51,"./_mapCacheHas":52,"./_mapCacheSet":53}],6:[function(t,e,n){var r=t("./_getNative"),o=t("./_root"),a=r(o,"Set");e.exports=a},{"./_getNative":32,"./_root":58}],7:[function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new o;++e<n;)this.add(t[e])}var o=t("./_MapCache"),a=t("./_setCacheAdd"),i=t("./_setCacheHas");r.prototype.add=r.prototype.push=a,r.prototype.has=i,e.exports=r},{"./_MapCache":5,"./_setCacheAdd":59,"./_setCacheHas":60}],8:[function(t,e,n){var r=t("./_root"),o=r.Symbol;e.exports=o},{"./_root":58}],9:[function(t,e,n){function r(t,e){var n=null==t?0:t.length;return!!n&&o(t,e,0)>-1}var o=t("./_baseIndexOf");e.exports=r},{"./_baseIndexOf":16}],10:[function(t,e,n){function r(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}e.exports=r},{}],11:[function(t,e,n){function r(t,e){var n=i(t),r=!n&&a(t),l=!n&&!r&&s(t),h=!n&&!r&&!l&&c(t),p=n||r||l||h,_=p?o(t.length,String):[],d=_.length;for(var v in t)!e&&!f.call(t,v)||p&&("length"==v||l&&("offset"==v||"parent"==v)||h&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||u(v,d))||_.push(v);return _}var o=t("./_baseTimes"),a=t("./isArguments"),i=t("./isArray"),s=t("./isBuffer"),u=t("./_isIndex"),c=t("./isTypedArray"),l=Object.prototype,f=l.hasOwnProperty;e.exports=r},{"./_baseTimes":22,"./_isIndex":40,"./isArguments":67,"./isArray":68,"./isBuffer":70,"./isTypedArray":75}],12:[function(t,e,n){function r(t,e){for(var n=t.length;n--;)if(o(t[n][0],e))return n;return-1}var o=t("./eq");e.exports=r},{"./eq":64}],13:[function(t,e,n){function r(t,e,n,r){for(var o=t.length,a=n+(r?1:-1);r?a--:++a<o;)if(e(t[a],a,t))return a;return-1}e.exports=r},{}],14:[function(t,e,n){var r=t("./_createBaseFor"),o=r();e.exports=o},{"./_createBaseFor":28}],15:[function(t,e,n){function r(t){return null==t?void 0===t?u:s:c&&c in Object(t)?a(t):i(t)}var o=t("./_Symbol"),a=t("./_getRawTag"),i=t("./_objectToString"),s="[object Null]",u="[object Undefined]",c=o?o.toStringTag:void 0;e.exports=r},{"./_Symbol":8,"./_getRawTag":33,"./_objectToString":57}],16:[function(t,e,n){function r(t,e,n){return e===e?i(t,e,n):o(t,a,n)}var o=t("./_baseFindIndex"),a=t("./_baseIsNaN"),i=t("./_strictIndexOf");e.exports=r},{"./_baseFindIndex":13,"./_baseIsNaN":18,"./_strictIndexOf":62}],17:[function(t,e,n){function r(t){return a(t)&&o(t)==i}var o=t("./_baseGetTag"),a=t("./isObjectLike"),i="[object Arguments]";e.exports=r},{"./_baseGetTag":15,"./isObjectLike":74}],18:[function(t,e,n){function r(t){return t!==t}e.exports=r},{}],19:[function(t,e,n){function r(t){if(!i(t)||a(t))return!1;var e=o(t)?_:c;return e.test(s(t))}var o=t("./isFunction"),a=t("./_isMasked"),i=t("./isObject"),s=t("./_toSource"),u=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,l=Function.prototype,f=Object.prototype,h=l.toString,p=f.hasOwnProperty,_=RegExp("^"+h.call(p).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},{"./_isMasked":42,"./_toSource":63,"./isFunction":71,"./isObject":73}],20:[function(t,e,n){function r(t){return i(t)&&a(t.length)&&!!E[o(t)]}var o=t("./_baseGetTag"),a=t("./isLength"),i=t("./isObjectLike"),s="[object Arguments]",u="[object Array]",c="[object Boolean]",l="[object Date]",f="[object Error]",h="[object Function]",p="[object Map]",_="[object Number]",d="[object Object]",v="[object RegExp]",y="[object Set]",b="[object String]",g="[object WeakMap]",m="[object ArrayBuffer]",C="[object DataView]",O="[object Float32Array]",w="[object Float64Array]",x="[object Int8Array]",j="[object Int16Array]",T="[object Int32Array]",k="[object Uint8Array]",A="[object Uint8ClampedArray]",L="[object Uint16Array]",S="[object Uint32Array]",E={};E[O]=E[w]=E[x]=E[j]=E[T]=E[k]=E[A]=E[L]=E[S]=!0,E[s]=E[u]=E[m]=E[c]=E[C]=E[l]=E[f]=E[h]=E[p]=E[_]=E[d]=E[v]=E[y]=E[b]=E[g]=!1,e.exports=r},{"./_baseGetTag":15,"./isLength":72,"./isObjectLike":74}],21:[function(t,e,n){function r(t){if(!o(t))return i(t);var e=a(t),n=[];for(var r in t)("constructor"!=r||!e&&u.call(t,r))&&n.push(r);return n}var o=t("./isObject"),a=t("./_isPrototype"),i=t("./_nativeKeysIn"),s=Object.prototype,u=s.hasOwnProperty;e.exports=r},{"./_isPrototype":43,"./_nativeKeysIn":55,"./isObject":73}],22:[function(t,e,n){function r(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}e.exports=r},{}],23:[function(t,e,n){function r(t){return function(e){return t(e)}}e.exports=r},{}],24:[function(t,e,n){function r(t,e,n){var r=-1,f=a,h=t.length,p=!0,_=[],d=_;if(n)p=!1,f=i;else if(h>=l){var v=e?null:u(t);if(v)return c(v);p=!1,f=s,d=new o}else d=e?[]:_;t:for(;++r<h;){var y=t[r],b=e?e(y):y;if(y=n||0!==y?y:0,p&&b===b){for(var g=d.length;g--;)if(d[g]===b)continue t;e&&d.push(b),_.push(y)}else f(d,b,n)||(d!==_&&d.push(b),_.push(y))}return _}var o=t("./_SetCache"),a=t("./_arrayIncludes"),i=t("./_arrayIncludesWith"),s=t("./_cacheHas"),u=t("./_createSet"),c=t("./_setToArray"),l=200;e.exports=r},{"./_SetCache":7,"./_arrayIncludes":9,"./_arrayIncludesWith":10,"./_cacheHas":25,"./_createSet":29,"./_setToArray":61}],25:[function(t,e,n){function r(t,e){return t.has(e)}e.exports=r},{}],26:[function(t,e,n){function r(t){return"function"==typeof t?t:o}var o=t("./identity");e.exports=r},{"./identity":66}],27:[function(t,e,n){var r=t("./_root"),o=r["__core-js_shared__"];e.exports=o},{"./_root":58}],28:[function(t,e,n){function r(t){return function(e,n,r){for(var o=-1,a=Object(e),i=r(e),s=i.length;s--;){var u=i[t?s:++o];if(n(a[u],u,a)===!1)break}return e}}e.exports=r},{}],29:[function(t,e,n){var r=t("./_Set"),o=t("./noop"),a=t("./_setToArray"),i=1/0,s=r&&1/a(new r([,-0]))[1]==i?function(t){return new r(t)}:o;e.exports=s},{"./_Set":6,"./_setToArray":61,"./noop":77}],30:[function(t,e,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],31:[function(t,e,n){function r(t,e){var n=t.__data__;return o(e)?n["string"==typeof e?"string":"hash"]:n.map}var o=t("./_isKeyable");e.exports=r},{"./_isKeyable":41}],32:[function(t,e,n){function r(t,e){var n=a(t,e);return o(n)?n:void 0}var o=t("./_baseIsNative"),a=t("./_getValue");e.exports=r},{"./_baseIsNative":19,"./_getValue":34}],33:[function(t,e,n){function r(t){var e=i.call(t,u),n=t[u];try{t[u]=void 0;var r=!0}catch(o){}var a=s.call(t);return r&&(e?t[u]=n:delete t[u]),a}var o=t("./_Symbol"),a=Object.prototype,i=a.hasOwnProperty,s=a.toString,u=o?o.toStringTag:void 0;e.exports=r},{"./_Symbol":8}],34:[function(t,e,n){function r(t,e){return null==t?void 0:t[e]}e.exports=r},{}],35:[function(t,e,n){function r(){this.__data__=o?o(null):{},this.size=0}var o=t("./_nativeCreate");e.exports=r},{"./_nativeCreate":54}],36:[function(t,e,n){function r(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}e.exports=r},{}],37:[function(t,e,n){function r(t){var e=this.__data__;if(o){var n=e[t];return n===a?void 0:n}return s.call(e,t)?e[t]:void 0}var o=t("./_nativeCreate"),a="__lodash_hash_undefined__",i=Object.prototype,s=i.hasOwnProperty;e.exports=r},{"./_nativeCreate":54}],38:[function(t,e,n){function r(t){var e=this.__data__;return o?void 0!==e[t]:i.call(e,t)}var o=t("./_nativeCreate"),a=Object.prototype,i=a.hasOwnProperty;e.exports=r},{"./_nativeCreate":54}],39:[function(t,e,n){function r(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=o&&void 0===e?a:e,this}var o=t("./_nativeCreate"),a="__lodash_hash_undefined__";e.exports=r},{"./_nativeCreate":54}],40:[function(t,e,n){function r(t,e){return e=null==e?o:e,!!e&&("number"==typeof t||a.test(t))&&t>-1&&t%1==0&&t<e}var o=9007199254740991,a=/^(?:0|[1-9]\d*)$/;e.exports=r},{}],41:[function(t,e,n){function r(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}e.exports=r},{}],42:[function(t,e,n){function r(t){return!!a&&a in t}var o=t("./_coreJsData"),a=function(){var t=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();e.exports=r},{"./_coreJsData":27}],43:[function(t,e,n){function r(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||o;return t===n}var o=Object.prototype;e.exports=r},{}],44:[function(t,e,n){function r(){this.__data__=[],this.size=0}e.exports=r},{}],45:[function(t,e,n){function r(t){var e=this.__data__,n=o(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():i.call(e,n,1),--this.size,!0}var o=t("./_assocIndexOf"),a=Array.prototype,i=a.splice;e.exports=r},{"./_assocIndexOf":12}],46:[function(t,e,n){function r(t){var e=this.__data__,n=o(e,t);return n<0?void 0:e[n][1]}var o=t("./_assocIndexOf");e.exports=r},{"./_assocIndexOf":12}],47:[function(t,e,n){function r(t){return o(this.__data__,t)>-1}var o=t("./_assocIndexOf");e.exports=r},{"./_assocIndexOf":12}],48:[function(t,e,n){function r(t,e){var n=this.__data__,r=o(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var o=t("./_assocIndexOf");e.exports=r},{"./_assocIndexOf":12}],49:[function(t,e,n){function r(){this.size=0,this.__data__={hash:new o,map:new(i||a),string:new o}}var o=t("./_Hash"),a=t("./_ListCache"),i=t("./_Map");e.exports=r},{"./_Hash":2,"./_ListCache":3,"./_Map":4}],50:[function(t,e,n){function r(t){var e=o(this,t)["delete"](t);return this.size-=e?1:0,e}var o=t("./_getMapData");e.exports=r},{"./_getMapData":31}],51:[function(t,e,n){function r(t){return o(this,t).get(t)}var o=t("./_getMapData");e.exports=r},{"./_getMapData":31}],52:[function(t,e,n){function r(t){return o(this,t).has(t)}var o=t("./_getMapData");e.exports=r},{"./_getMapData":31}],53:[function(t,e,n){function r(t,e){var n=o(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}var o=t("./_getMapData");e.exports=r},{"./_getMapData":31}],54:[function(t,e,n){var r=t("./_getNative"),o=r(Object,"create");e.exports=o},{"./_getNative":32}],55:[function(t,e,n){function r(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}e.exports=r},{}],56:[function(t,e,n){var r=t("./_freeGlobal"),o="object"==typeof n&&n&&!n.nodeType&&n,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o,s=i&&r.process,u=function(){try{return s&&s.binding&&s.binding("util")}catch(t){}}();e.exports=u},{"./_freeGlobal":30}],57:[function(t,e,n){function r(t){return a.call(t)}var o=Object.prototype,a=o.toString;e.exports=r},{}],58:[function(t,e,n){var r=t("./_freeGlobal"),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},{"./_freeGlobal":30}],59:[function(t,e,n){function r(t){return this.__data__.set(t,o),this}var o="__lodash_hash_undefined__";e.exports=r},{}],60:[function(t,e,n){function r(t){return this.__data__.has(t)}e.exports=r},{}],61:[function(t,e,n){function r(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}e.exports=r},{}],62:[function(t,e,n){function r(t,e,n){for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}e.exports=r},{}],63:[function(t,e,n){function r(t){if(null!=t){try{return a.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var o=Function.prototype,a=o.toString;e.exports=r},{}],64:[function(t,e,n){function r(t,e){return t===e||t!==t&&e!==e}e.exports=r},{}],65:[function(t,e,n){function r(t,e){return null==t?t:o(t,a(e),i)}var o=t("./_baseFor"),a=t("./_castFunction"),i=t("./keysIn");e.exports=r},{"./_baseFor":14,"./_castFunction":26,"./keysIn":76}],66:[function(t,e,n){function r(t){return t}e.exports=r},{}],67:[function(t,e,n){var r=t("./_baseIsArguments"),o=t("./isObjectLike"),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(t){return o(t)&&i.call(t,"callee")&&!s.call(t,"callee")};e.exports=u},{"./_baseIsArguments":17,"./isObjectLike":74}],68:[function(t,e,n){var r=Array.isArray;e.exports=r},{}],69:[function(t,e,n){function r(t){return null!=t&&a(t.length)&&!o(t)}var o=t("./isFunction"),a=t("./isLength");e.exports=r},{"./isFunction":71,"./isLength":72}],70:[function(t,e,n){var r=t("./_root"),o=t("./stubFalse"),a="object"==typeof n&&n&&!n.nodeType&&n,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,s=i&&i.exports===a,u=s?r.Buffer:void 0,c=u?u.isBuffer:void 0,l=c||o;e.exports=l},{"./_root":58,"./stubFalse":78}],71:[function(t,e,n){function r(t){if(!a(t))return!1;var e=o(t);return e==s||e==u||e==i||e==c}var o=t("./_baseGetTag"),a=t("./isObject"),i="[object AsyncFunction]",s="[object Function]",u="[object GeneratorFunction]",c="[object Proxy]";e.exports=r},{"./_baseGetTag":15,"./isObject":73}],72:[function(t,e,n){function r(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=o}var o=9007199254740991;e.exports=r},{}],73:[function(t,e,n){function r(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}e.exports=r},{}],74:[function(t,e,n){function r(t){return null!=t&&"object"==typeof t}e.exports=r},{}],75:[function(t,e,n){var r=t("./_baseIsTypedArray"),o=t("./_baseUnary"),a=t("./_nodeUtil"),i=a&&a.isTypedArray,s=i?o(i):r;e.exports=s},{"./_baseIsTypedArray":20,"./_baseUnary":23,"./_nodeUtil":56}],76:[function(t,e,n){function r(t){return i(t)?o(t,!0):a(t)}var o=t("./_arrayLikeKeys"),a=t("./_baseKeysIn"),i=t("./isArrayLike");e.exports=r},{"./_arrayLikeKeys":11,"./_baseKeysIn":21,"./isArrayLike":69}],77:[function(t,e,n){function r(){}e.exports=r},{}],78:[function(t,e,n){function r(){return!1}e.exports=r},{}],79:[function(t,e,n){function r(t){return t&&t.length?o(t):[]}var o=t("./_baseUniq");e.exports=r},{"./_baseUniq":24}],80:[function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}var o=t("./lava/Lava"),a=r(o),i=t("./lava/Utils");window.lava=new a["default"],"undefined"!=typeof __OPTIONS__&&(window.lava.options=__OPTIONS__),window.lava.options.auto_run===!0&&(0,i.domLoaded)().then(function(){window.lava.run()})},{"./lava/Lava":84,"./lava/Utils":87}],81:[function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(n,"__esModule",{value:!0});var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=t("lodash/forIn"),l=r(c),f=t("./Renderable"),h=r(f),p=function(t){function e(t){o(this,e);var n=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.formats=t.formats,n.events="object"===s(t.events)?t.events:null,n.pngOutput="undefined"!=typeof t.pngOutput&&Boolean(t.pngOutput),n.render=function(){n.setData(t.datatable),n.gchart=new google.visualization[n["class"]](n.element),n.formats&&n.applyFormats(),n.events&&n._attachEvents(),n.draw(),n.pngOutput&&n.drawPng()},n}return i(e,t),u(e,[{key:"drawPng",value:function(){var t=document.createElement("img");t.src=this.gchart.getImageURI(),this.element.innerHTML="",this.element.appendChild(t)}},{key:"applyFormats",value:function(t){t||(t=this.formats);var e=!0,n=!1,r=void 0;try{for(var o,a=t[Symbol.iterator]();!(e=(o=a.next()).done);e=!0){var i=o.value,s=new google.visualization[i.type](i.options);s.format(this.data,i.index)}}catch(u){n=!0,r=u}finally{try{!e&&a["return"]&&a["return"]()}finally{if(n)throw r}}}},{key:"_attachEvents",value:function(){var t=this;(0,l["default"])(this.events,function(e,n){var r=window,o=e;"object"===("undefined"==typeof e?"undefined":s(e))&&(r=r[e[0]],o=e[1]),google.visualization.events.addListener(t.gchart,n,function(){var e=r[o].bind(t.gchart);e(t.data)})})}}]),e}(h["default"]);n["default"]=p},{"./Renderable":86,"lodash/forIn":65}],82:[function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=t("./Renderable"),c=r(u),l=function(t){function e(t){o(this,e),t.type="Dashboard";var n=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.bindings=t.bindings,n.render=function(){n.setData(t.datatable),n.gchart=new google.visualization.Dashboard(n.element),n._attachBindings(),n.events&&n._attachEvents(),n.draw()},n}return i(e,t),s(e,[{key:"_attachBindings",value:function(){var t=!0,e=!1,n=void 0;try{for(var r,o=this.bindings[Symbol.iterator]();!(t=(r=o.next()).done);t=!0){var a=r.value,i=[],s=[],u=!0,c=!1,l=void 0;try{for(var f,h=a.controlWrappers[Symbol.iterator]();!(u=(f=h.next()).done);u=!0){var p=f.value;i.push(new google.visualization.ControlWrapper(p))}}catch(_){c=!0,l=_}finally{try{!u&&h["return"]&&h["return"]()}finally{if(c)throw l}}var d=!0,v=!1,y=void 0;try{for(var b,g=a.chartWrappers[Symbol.iterator]();!(d=(b=g.next()).done);d=!0){var m=b.value;s.push(new google.visualization.ChartWrapper(m))}}catch(_){v=!0,y=_}finally{try{!d&&g["return"]&&g["return"]()}finally{if(v)throw y}}this.gchart.bind(i,s)}}catch(_){e=!0,n=_}finally{try{!t&&o["return"]&&o["return"]()}finally{if(e)throw n}}}}]),e}(c["default"]);n["default"]=l},{"./Renderable":86}],83:[function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(n,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s=function(t){function e(t){r(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.name="LavaJsError",n.message=t||"",n}return a(e,t),e}(Error);n.InvalidCallback=function(t){function e(t){r(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,'[lava.js] "'+("undefined"==typeof t?"undefined":i(t))+'" is not a valid callback.'));return n.name="InvalidCallback",n}return a(e,t),e}(s),n.InvalidLabel=function(t){function e(t){r(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,'[lava.js] "'+("undefined"==typeof t?"undefined":i(t))+'" is not a valid label.'));return n.name="InvalidLabel",n}return a(e,t),e}(s),n.ElementIdNotFound=function(t){function e(t){r(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,'[lava.js] DOM node where id="'+t+'" was not found.'));return n.name="ElementIdNotFound",n}return a(e,t),e}(s)},{}],84:[function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=t("lodash/forIn"),c=r(u),l=t("lodash/uniq"),f=r(l),h=t("events"),p=r(h),_=t("./Chart"),d=r(_),v=t("./Dashboard"),y=r(v),b=t("./Options"),g=r(b),m=t("./Utils"),C=t("./Errors"),O=t("./Renderable"),w=r(O),x=function(t){function e(t){o(this,e);var n=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.VERSION="4.0.0",n.GOOGLE_API_VERSION="current",n.GOOGLE_LOADER_URL="https://www.gstatic.com/charts/loader.js",n.options=t||g["default"],n._packages=[],n._volcano=[],n._readyCallback=m.noop,n}return i(e,t),s(e,[{key:"create",value:function(t){return"Dashboard"===t.type?new y["default"](t):new d["default"](t)}},{key:"store",value:function(t){t instanceof w["default"]==!1&&(t=this.create(t)),this._addPackages(t.packages),this._volcano[t.label]=t}},{key:"get",value:function(t,e){if("function"!=typeof e)throw new C.InvalidCallback(e);var n=this._volcano[t];if(!n)throw new C.RenderableNotFound(t);e(n)}},{key:"run",value:function(){var t=this;this._attachRedrawHandler(),this._loadGoogle().then(function(){t.visualization=google.visualization,(0,c["default"])(t._volcano,function(t){t.render()}),t.emit("ready"),t._readyCallback()})}},{key:"ready",value:function(t){if("function"!=typeof t)throw new C.InvalidCallback(t);this._readyCallback=t}},{key:"loadData",value:function(t,e,n){if("undefined"==typeof n&&(n=m.noop),"function"!=typeof n)throw new C.InvalidCallback(n);this.get(t,function(t){t.setData(e),"undefined"!=typeof e.formats&&t.applyFormats(e.formats),t.draw(),n(t)})}},{key:"loadOptions",value:function(t,e,n){if("undefined"==typeof n&&(n=n||m.noop),"function"!=typeof n)throw new C.InvalidCallback(n);this.get(t,function(t){t.setOptions(e),t.draw(),n(t)})}},{key:"redrawAll",value:function(){var t=Object.keys(this._volcano).length;return 0!==t&&((0,c["default"])(this._volcano,function(t){t.draw()}),!0)}},{key:"_addPackages",value:function(t){this._packages=this._packages.concat(t)}},{key:"_attachRedrawHandler",value:function(){var t=this;if(this.options.responsive===!0){var e=null;(0,m.addEvent)(window,"resize",function(){clearTimeout(e),e=setTimeout(function(){t.redrawAll()},t.options.debounce_timeout)})}}},{key:"_loadGoogle",value:function(){var t=this,e=this;return new Promise(function(n){t._googleIsLoaded()?e._googleChartLoader(n):e._addGoogleScriptToHead(n)})}},{key:"_googleIsLoaded",value:function(){var t=document.getElementsByTagName("script"),e=!0,n=!1,r=void 0;try{for(var o,a=t[Symbol.iterator]();!(e=(o=a.next()).done);e=!0){var i=o.value;if(i.src===this.GOOGLE_LOADER_URL)return!0}}catch(s){n=!0,r=s}finally{try{!e&&a["return"]&&a["return"]()}finally{if(n)throw r}}}},{key:"_googleChartLoader",value:function(t){var e={packages:(0,f["default"])(this._packages),language:this.options.locale};""!==this.options.maps_api_key&&(e.mapsApiKey=this.options.maps_api_key),google.charts.load(this.GOOGLE_API_VERSION,e),google.charts.setOnLoadCallback(t)}},{key:"_addGoogleScriptToHead",value:function(t){var e=this,n=document.createElement("script");n.type="text/javascript",n.async=!0,n.src=this.GOOGLE_LOADER_URL,n.onload=n.onreadystatechange=function(n){n=n||window.event,("load"===n.type||/loaded|complete/.test(this.readyState))&&(this.onload=this.onreadystatechange=null,e._googleChartLoader(t))},document.head.appendChild(n)}}]),e}(p["default"]);n["default"]=x},{"./Chart":81,"./Dashboard":82,"./Errors":83,"./Options":85,"./Renderable":86,"./Utils":87,events:1,"lodash/forIn":65,"lodash/uniq":79}],85:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={auto_run:!1,locale:"en",timezone:"America/Los_Angeles",datetime_format:"",maps_api_key:"",responsive:!0,debounce_timeout:250};n["default"]=r},{}],86:[function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=t("./Utils"),s=t("./Errors"),u=t("./VisualizationProps"),c=r(u),l=function(){function t(e){if(o(this,t),this.gchart=null,this.type=e.type,this.label=e.label,this.options=e.options,this.packages=e.packages,this.elementId=e.elementId,this.element=document.getElementById(this.elementId),!this.element)throw new s.ElementIdNotFound(this.elementId)}return a(t,[{key:"draw",value:function(){this.gchart.draw(this.data,this.options)}},{key:"setData",value:function(t){return"Array"===(0,i.getType)(t.data)?void(this.data=google.visualization.data.join(new google.visualization.DataTable(t.data[0]),new google.visualization.DataTable(t.data[1]),t.keys,t.joinMethod,t.dt2Columns,t.dt2Columns)):"Function"===(0,i.getType)(t.getTableProperties)?void(this.data=t):"Array"===(0,i.getType)(t)?void(this.data=google.visualization.arrayToDataTable(t)):("Object"===(0,i.getType)(t.data)&&(t=t.data),void(this.data=new google.visualization.DataTable(t)))}},{key:"setOptions",value:function(t){this.options=t}},{key:"class",get:function(){var t=new c["default"](this.type);return t["class"]}},{key:"uuid",get:function(){return this.type+"::"+this.label}}]),t}();n["default"]=l},{"./Errors":83,"./Utils":87,"./VisualizationProps":88}],87:[function(t,e,n){"use strict";
function r(){}function o(t){var e=Object.prototype.toString.call(t);return e.replace("[object ","").replace("]","")}function a(){return new Promise(function(t){"interactive"===document.readyState||"complete"===document.readyState?t():document.addEventListener("DOMContentLoaded",t)})}function i(t,e,n,r){null!==t&&"undefined"!=typeof t&&(t.addEventListener?t.addEventListener(e,n,!!r):t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n)}Object.defineProperty(n,"__esModule",{value:!0}),n.noop=r,n.getType=o,n.domLoaded=a,n.addEvent=i},{}],88:[function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=function(){function t(e){r(this,t),this.chartType=e,this.CHART_TYPE_PACKAGE_MAP={AnnotationChart:"annotationchart",AreaChart:"corechart",BarChart:"corechart",BubbleChart:"corechart",CalendarChart:"calendar",CandlestickChart:"corechart",ColumnChart:"corechart",ComboChart:"corechart",DonutChart:"corechart",GanttChart:"gantt",GaugeChart:"gauge",GeoChart:"geochart",HistogramChart:"corechart",LineChart:"corechart",PieChart:"corechart",SankeyChart:"sankey",ScatterChart:"corechart",SteppedAreaChart:"corechart",TableChart:"table",TimelineChart:"timeline",TreeMapChart:"treemap",WordTreeChart:"wordtree"},this.CHART_TYPE_CLASS_MAP={AnnotationChart:"AnnotationChart",AreaChart:"AreaChart",BarChart:"BarChart",BubbleChart:"BubbleChart",CalendarChart:"Calendar",CandlestickChart:"CandlestickChart",ColumnChart:"ColumnChart",ComboChart:"ComboChart",DonutChart:"PieChart",GanttChart:"Gantt",GaugeChart:"Gauge",GeoChart:"GeoChart",HistogramChart:"Histogram",LineChart:"LineChart",PieChart:"PieChart",SankeyChart:"Sankey",ScatterChart:"ScatterChart",SteppedAreaChart:"SteppedAreaChart",TableChart:"Table",TimelineChart:"Timeline",TreeMapChart:"TreeMap",WordTreeChart:"WordTree"},this.CHART_TYPE_VERSION_MAP={AnnotationChart:1,AreaChart:1,BarChart:1,BubbleChart:1,CalendarChart:1.1,CandlestickChart:1,ColumnChart:1,ComboChart:1,DonutChart:1,GanttChart:1,GaugeChart:1,GeoChart:1,HistogramChart:1,LineChart:1,PieChart:1,SankeyChart:1,ScatterChart:1,SteppedAreaChart:1,TableChart:1,TimelineChart:1,TreeMapChart:1,WordTreeChart:1}}return o(t,[{key:"package",get:function(){return this.CHART_TYPE_PACKAGE_MAP[this.chartType]}},{key:"class",get:function(){return this.CHART_TYPE_CLASS_MAP[this.chartType]}},{key:"version",get:function(){return this.CHART_TYPE_VERSION_MAP[this.chartType]}}]),t}();n["default"]=a},{}]},{},[80]);
\ No newline at end of file
!function e(t,n,r){function o(i,s){if(!n[i]){if(!t[i]){var c="function"==typeof require&&require;if(!s&&c)return c(i,!0);if(a)return a(i,!0);var u=new Error("Cannot find module '"+i+"'");throw u.code="MODULE_NOT_FOUND",u}var l=n[i]={exports:{}};t[i][0].call(l.exports,function(e){var n=t[i][1][e];return o(n?n:e)},l,l.exports,e,t,n,r)}return n[i].exports}for(var a="function"==typeof require&&require,i=0;i<r.length;i++)o(r[i]);return o}({1:[function(e,t,n){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function o(e){return"function"==typeof e}function a(e){return"number"==typeof e}function i(e){return"object"==typeof e&&null!==e}function s(e){return void 0===e}t.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(e){if(!a(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},r.prototype.emit=function(e){var t,n,r,a,c,u;if(this._events||(this._events={}),"error"===e&&(!this._events.error||i(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;var l=new Error('Uncaught, unspecified "error" event. ('+t+")");throw l.context=t,l}if(n=this._events[e],s(n))return!1;if(o(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:a=Array.prototype.slice.call(arguments,1),n.apply(this,a)}else if(i(n))for(a=Array.prototype.slice.call(arguments,1),u=n.slice(),r=u.length,c=0;c<r;c++)u[c].apply(this,a);return!0},r.prototype.addListener=function(e,t){var n;if(!o(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,o(t.listener)?t.listener:t),this._events[e]?i(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,i(this._events[e])&&!this._events[e].warned&&(n=s(this._maxListeners)?r.defaultMaxListeners:this._maxListeners,n&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace())),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){function n(){this.removeListener(e,n),r||(r=!0,t.apply(this,arguments))}if(!o(t))throw TypeError("listener must be a function");var r=!1;return n.listener=t,this.on(e,n),this},r.prototype.removeListener=function(e,t){var n,r,a,s;if(!o(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],a=n.length,r=-1,n===t||o(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(i(n)){for(s=a;s-- >0;)if(n[s]===t||n[s].listener&&n[s].listener===t){r=s;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],o(n))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?o(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(o(t))return 1;if(t)return t.length}return 0},r.listenerCount=function(e,t){return e.listenerCount(t)}},{}],2:[function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=e("./_hashClear"),a=e("./_hashDelete"),i=e("./_hashGet"),s=e("./_hashHas"),c=e("./_hashSet");r.prototype.clear=o,r.prototype["delete"]=a,r.prototype.get=i,r.prototype.has=s,r.prototype.set=c,t.exports=r},{"./_hashClear":35,"./_hashDelete":36,"./_hashGet":37,"./_hashHas":38,"./_hashSet":39}],3:[function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=e("./_listCacheClear"),a=e("./_listCacheDelete"),i=e("./_listCacheGet"),s=e("./_listCacheHas"),c=e("./_listCacheSet");r.prototype.clear=o,r.prototype["delete"]=a,r.prototype.get=i,r.prototype.has=s,r.prototype.set=c,t.exports=r},{"./_listCacheClear":44,"./_listCacheDelete":45,"./_listCacheGet":46,"./_listCacheHas":47,"./_listCacheSet":48}],4:[function(e,t,n){var r=e("./_getNative"),o=e("./_root"),a=r(o,"Map");t.exports=a},{"./_getNative":32,"./_root":58}],5:[function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=e("./_mapCacheClear"),a=e("./_mapCacheDelete"),i=e("./_mapCacheGet"),s=e("./_mapCacheHas"),c=e("./_mapCacheSet");r.prototype.clear=o,r.prototype["delete"]=a,r.prototype.get=i,r.prototype.has=s,r.prototype.set=c,t.exports=r},{"./_mapCacheClear":49,"./_mapCacheDelete":50,"./_mapCacheGet":51,"./_mapCacheHas":52,"./_mapCacheSet":53}],6:[function(e,t,n){var r=e("./_getNative"),o=e("./_root"),a=r(o,"Set");t.exports=a},{"./_getNative":32,"./_root":58}],7:[function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new o;++t<n;)this.add(e[t])}var o=e("./_MapCache"),a=e("./_setCacheAdd"),i=e("./_setCacheHas");r.prototype.add=r.prototype.push=a,r.prototype.has=i,t.exports=r},{"./_MapCache":5,"./_setCacheAdd":59,"./_setCacheHas":60}],8:[function(e,t,n){var r=e("./_root"),o=r.Symbol;t.exports=o},{"./_root":58}],9:[function(e,t,n){function r(e,t){var n=null==e?0:e.length;return!!n&&o(e,t,0)>-1}var o=e("./_baseIndexOf");t.exports=r},{"./_baseIndexOf":16}],10:[function(e,t,n){function r(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}t.exports=r},{}],11:[function(e,t,n){function r(e,t){var n=i(e),r=!n&&a(e),l=!n&&!r&&s(e),p=!n&&!r&&!l&&u(e),h=n||r||l||p,_=h?o(e.length,String):[],d=_.length;for(var v in e)!t&&!f.call(e,v)||h&&("length"==v||l&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||c(v,d))||_.push(v);return _}var o=e("./_baseTimes"),a=e("./isArguments"),i=e("./isArray"),s=e("./isBuffer"),c=e("./_isIndex"),u=e("./isTypedArray"),l=Object.prototype,f=l.hasOwnProperty;t.exports=r},{"./_baseTimes":22,"./_isIndex":40,"./isArguments":67,"./isArray":68,"./isBuffer":70,"./isTypedArray":75}],12:[function(e,t,n){function r(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return-1}var o=e("./eq");t.exports=r},{"./eq":64}],13:[function(e,t,n){function r(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}t.exports=r},{}],14:[function(e,t,n){var r=e("./_createBaseFor"),o=r();t.exports=o},{"./_createBaseFor":28}],15:[function(e,t,n){function r(e){return null==e?void 0===e?c:s:u&&u in Object(e)?a(e):i(e)}var o=e("./_Symbol"),a=e("./_getRawTag"),i=e("./_objectToString"),s="[object Null]",c="[object Undefined]",u=o?o.toStringTag:void 0;t.exports=r},{"./_Symbol":8,"./_getRawTag":33,"./_objectToString":57}],16:[function(e,t,n){function r(e,t,n){return t===t?i(e,t,n):o(e,a,n)}var o=e("./_baseFindIndex"),a=e("./_baseIsNaN"),i=e("./_strictIndexOf");t.exports=r},{"./_baseFindIndex":13,"./_baseIsNaN":18,"./_strictIndexOf":62}],17:[function(e,t,n){function r(e){return a(e)&&o(e)==i}var o=e("./_baseGetTag"),a=e("./isObjectLike"),i="[object Arguments]";t.exports=r},{"./_baseGetTag":15,"./isObjectLike":74}],18:[function(e,t,n){function r(e){return e!==e}t.exports=r},{}],19:[function(e,t,n){function r(e){if(!i(e)||a(e))return!1;var t=o(e)?_:u;return t.test(s(e))}var o=e("./isFunction"),a=e("./_isMasked"),i=e("./isObject"),s=e("./_toSource"),c=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,l=Function.prototype,f=Object.prototype,p=l.toString,h=f.hasOwnProperty,_=RegExp("^"+p.call(h).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=r},{"./_isMasked":42,"./_toSource":63,"./isFunction":71,"./isObject":73}],20:[function(e,t,n){function r(e){return i(e)&&a(e.length)&&!!E[o(e)]}var o=e("./_baseGetTag"),a=e("./isLength"),i=e("./isObjectLike"),s="[object Arguments]",c="[object Array]",u="[object Boolean]",l="[object Date]",f="[object Error]",p="[object Function]",h="[object Map]",_="[object Number]",d="[object Object]",v="[object RegExp]",y="[object Set]",b="[object String]",g="[object WeakMap]",m="[object ArrayBuffer]",O="[object DataView]",w="[object Float32Array]",x="[object Float64Array]",j="[object Int8Array]",C="[object Int16Array]",k="[object Int32Array]",L="[object Uint8Array]",I="[object Uint8ClampedArray]",T="[object Uint16Array]",S="[object Uint32Array]",E={};E[w]=E[x]=E[j]=E[C]=E[k]=E[L]=E[I]=E[T]=E[S]=!0,E[s]=E[c]=E[m]=E[u]=E[O]=E[l]=E[f]=E[p]=E[h]=E[_]=E[d]=E[v]=E[y]=E[b]=E[g]=!1,t.exports=r},{"./_baseGetTag":15,"./isLength":72,"./isObjectLike":74}],21:[function(e,t,n){function r(e){if(!o(e))return i(e);var t=a(e),n=[];for(var r in e)("constructor"!=r||!t&&c.call(e,r))&&n.push(r);return n}var o=e("./isObject"),a=e("./_isPrototype"),i=e("./_nativeKeysIn"),s=Object.prototype,c=s.hasOwnProperty;t.exports=r},{"./_isPrototype":43,"./_nativeKeysIn":55,"./isObject":73}],22:[function(e,t,n){function r(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}t.exports=r},{}],23:[function(e,t,n){function r(e){return function(t){return e(t)}}t.exports=r},{}],24:[function(e,t,n){function r(e,t,n){var r=-1,f=a,p=e.length,h=!0,_=[],d=_;if(n)h=!1,f=i;else if(p>=l){var v=t?null:c(e);if(v)return u(v);h=!1,f=s,d=new o}else d=t?[]:_;e:for(;++r<p;){var y=e[r],b=t?t(y):y;if(y=n||0!==y?y:0,h&&b===b){for(var g=d.length;g--;)if(d[g]===b)continue e;t&&d.push(b),_.push(y)}else f(d,b,n)||(d!==_&&d.push(b),_.push(y))}return _}var o=e("./_SetCache"),a=e("./_arrayIncludes"),i=e("./_arrayIncludesWith"),s=e("./_cacheHas"),c=e("./_createSet"),u=e("./_setToArray"),l=200;t.exports=r},{"./_SetCache":7,"./_arrayIncludes":9,"./_arrayIncludesWith":10,"./_cacheHas":25,"./_createSet":29,"./_setToArray":61}],25:[function(e,t,n){function r(e,t){return e.has(t)}t.exports=r},{}],26:[function(e,t,n){function r(e){return"function"==typeof e?e:o}var o=e("./identity");t.exports=r},{"./identity":66}],27:[function(e,t,n){var r=e("./_root"),o=r["__core-js_shared__"];t.exports=o},{"./_root":58}],28:[function(e,t,n){function r(e){return function(t,n,r){for(var o=-1,a=Object(t),i=r(t),s=i.length;s--;){var c=i[e?s:++o];if(n(a[c],c,a)===!1)break}return t}}t.exports=r},{}],29:[function(e,t,n){var r=e("./_Set"),o=e("./noop"),a=e("./_setToArray"),i=1/0,s=r&&1/a(new r([,-0]))[1]==i?function(e){return new r(e)}:o;t.exports=s},{"./_Set":6,"./_setToArray":61,"./noop":77}],30:[function(e,t,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],31:[function(e,t,n){function r(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}var o=e("./_isKeyable");t.exports=r},{"./_isKeyable":41}],32:[function(e,t,n){function r(e,t){var n=a(e,t);return o(n)?n:void 0}var o=e("./_baseIsNative"),a=e("./_getValue");t.exports=r},{"./_baseIsNative":19,"./_getValue":34}],33:[function(e,t,n){function r(e){var t=i.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(o){}var a=s.call(e);return r&&(t?e[c]=n:delete e[c]),a}var o=e("./_Symbol"),a=Object.prototype,i=a.hasOwnProperty,s=a.toString,c=o?o.toStringTag:void 0;t.exports=r},{"./_Symbol":8}],34:[function(e,t,n){function r(e,t){return null==e?void 0:e[t]}t.exports=r},{}],35:[function(e,t,n){function r(){this.__data__=o?o(null):{},this.size=0}var o=e("./_nativeCreate");t.exports=r},{"./_nativeCreate":54}],36:[function(e,t,n){function r(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}t.exports=r},{}],37:[function(e,t,n){function r(e){var t=this.__data__;if(o){var n=t[e];return n===a?void 0:n}return s.call(t,e)?t[e]:void 0}var o=e("./_nativeCreate"),a="__lodash_hash_undefined__",i=Object.prototype,s=i.hasOwnProperty;t.exports=r},{"./_nativeCreate":54}],38:[function(e,t,n){function r(e){var t=this.__data__;return o?void 0!==t[e]:i.call(t,e)}var o=e("./_nativeCreate"),a=Object.prototype,i=a.hasOwnProperty;t.exports=r},{"./_nativeCreate":54}],39:[function(e,t,n){function r(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=o&&void 0===t?a:t,this}var o=e("./_nativeCreate"),a="__lodash_hash_undefined__";t.exports=r},{"./_nativeCreate":54}],40:[function(e,t,n){function r(e,t){return t=null==t?o:t,!!t&&("number"==typeof e||a.test(e))&&e>-1&&e%1==0&&e<t}var o=9007199254740991,a=/^(?:0|[1-9]\d*)$/;t.exports=r},{}],41:[function(e,t,n){function r(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}t.exports=r},{}],42:[function(e,t,n){function r(e){return!!a&&a in e}var o=e("./_coreJsData"),a=function(){var e=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();t.exports=r},{"./_coreJsData":27}],43:[function(e,t,n){function r(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||o;return e===n}var o=Object.prototype;t.exports=r},{}],44:[function(e,t,n){function r(){this.__data__=[],this.size=0}t.exports=r},{}],45:[function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():i.call(t,n,1),--this.size,!0}var o=e("./_assocIndexOf"),a=Array.prototype,i=a.splice;t.exports=r},{"./_assocIndexOf":12}],46:[function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}var o=e("./_assocIndexOf");t.exports=r},{"./_assocIndexOf":12}],47:[function(e,t,n){function r(e){return o(this.__data__,e)>-1}var o=e("./_assocIndexOf");t.exports=r},{"./_assocIndexOf":12}],48:[function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=e("./_assocIndexOf");t.exports=r},{"./_assocIndexOf":12}],49:[function(e,t,n){function r(){this.size=0,this.__data__={hash:new o,map:new(i||a),string:new o}}var o=e("./_Hash"),a=e("./_ListCache"),i=e("./_Map");t.exports=r},{"./_Hash":2,"./_ListCache":3,"./_Map":4}],50:[function(e,t,n){function r(e){var t=o(this,e)["delete"](e);return this.size-=t?1:0,t}var o=e("./_getMapData");t.exports=r},{"./_getMapData":31}],51:[function(e,t,n){function r(e){return o(this,e).get(e)}var o=e("./_getMapData");t.exports=r},{"./_getMapData":31}],52:[function(e,t,n){function r(e){return o(this,e).has(e)}var o=e("./_getMapData");t.exports=r},{"./_getMapData":31}],53:[function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=e("./_getMapData");t.exports=r},{"./_getMapData":31}],54:[function(e,t,n){var r=e("./_getNative"),o=r(Object,"create");t.exports=o},{"./_getNative":32}],55:[function(e,t,n){function r(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}t.exports=r},{}],56:[function(e,t,n){var r=e("./_freeGlobal"),o="object"==typeof n&&n&&!n.nodeType&&n,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,i=a&&a.exports===o,s=i&&r.process,c=function(){try{return s&&s.binding&&s.binding("util")}catch(e){}}();t.exports=c},{"./_freeGlobal":30}],57:[function(e,t,n){function r(e){return a.call(e)}var o=Object.prototype,a=o.toString;t.exports=r},{}],58:[function(e,t,n){var r=e("./_freeGlobal"),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();t.exports=a},{"./_freeGlobal":30}],59:[function(e,t,n){function r(e){return this.__data__.set(e,o),this}var o="__lodash_hash_undefined__";t.exports=r},{}],60:[function(e,t,n){function r(e){return this.__data__.has(e)}t.exports=r},{}],61:[function(e,t,n){function r(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}t.exports=r},{}],62:[function(e,t,n){function r(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}t.exports=r},{}],63:[function(e,t,n){function r(e){if(null!=e){try{return a.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var o=Function.prototype,a=o.toString;t.exports=r},{}],64:[function(e,t,n){function r(e,t){return e===t||e!==e&&t!==t}t.exports=r},{}],65:[function(e,t,n){function r(e,t){return null==e?e:o(e,a(t),i)}var o=e("./_baseFor"),a=e("./_castFunction"),i=e("./keysIn");t.exports=r},{"./_baseFor":14,"./_castFunction":26,"./keysIn":76}],66:[function(e,t,n){function r(e){return e}t.exports=r},{}],67:[function(e,t,n){var r=e("./_baseIsArguments"),o=e("./isObjectLike"),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};t.exports=c},{"./_baseIsArguments":17,"./isObjectLike":74}],68:[function(e,t,n){var r=Array.isArray;t.exports=r},{}],69:[function(e,t,n){function r(e){return null!=e&&a(e.length)&&!o(e)}var o=e("./isFunction"),a=e("./isLength");t.exports=r},{"./isFunction":71,"./isLength":72}],70:[function(e,t,n){var r=e("./_root"),o=e("./stubFalse"),a="object"==typeof n&&n&&!n.nodeType&&n,i=a&&"object"==typeof t&&t&&!t.nodeType&&t,s=i&&i.exports===a,c=s?r.Buffer:void 0,u=c?c.isBuffer:void 0,l=u||o;t.exports=l},{"./_root":58,"./stubFalse":78}],71:[function(e,t,n){function r(e){if(!a(e))return!1;var t=o(e);return t==s||t==c||t==i||t==u}var o=e("./_baseGetTag"),a=e("./isObject"),i="[object AsyncFunction]",s="[object Function]",c="[object GeneratorFunction]",u="[object Proxy]";t.exports=r},{"./_baseGetTag":15,"./isObject":73}],72:[function(e,t,n){function r(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}var o=9007199254740991;t.exports=r},{}],73:[function(e,t,n){function r(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}t.exports=r},{}],74:[function(e,t,n){function r(e){return null!=e&&"object"==typeof e}t.exports=r},{}],75:[function(e,t,n){var r=e("./_baseIsTypedArray"),o=e("./_baseUnary"),a=e("./_nodeUtil"),i=a&&a.isTypedArray,s=i?o(i):r;t.exports=s},{"./_baseIsTypedArray":20,"./_baseUnary":23,"./_nodeUtil":56}],76:[function(e,t,n){function r(e){return i(e)?o(e,!0):a(e)}var o=e("./_arrayLikeKeys"),a=e("./_baseKeysIn"),i=e("./isArrayLike");t.exports=r},{"./_arrayLikeKeys":11,"./_baseKeysIn":21,"./isArrayLike":69}],77:[function(e,t,n){function r(){}t.exports=r},{}],78:[function(e,t,n){function r(){return!1}t.exports=r},{}],79:[function(e,t,n){function r(e){return e&&e.length?o(e):[]}var o=e("./_baseUniq");t.exports=r},{"./_baseUniq":24}],80:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var o=e("./lava/Lava"),a=r(o),i=e("./lava/Utils");window.lava=new a["default"],"undefined"!=typeof __OPTIONS__&&(window.lava.options=__OPTIONS__),window.lava.options.auto_run===!0&&(0,i.domLoaded)().then(function(){window.lava.run()})},{"./lava/Lava":84,"./lava/Utils":87}],81:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=e("lodash/forIn"),l=r(u),f=e("./Renderable"),p=r(f),h=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.formats=e.formats,n.events="object"===s(e.events)?e.events:null,n.pngOutput="undefined"!=typeof e.pngOutput&&Boolean(e.pngOutput),n.render=function(){n.setData(e.datatable),n.gchart=new google.visualization[n["class"]](n.element),n.formats&&n.applyFormats(),n.events&&n._attachEvents(),n.draw(),n.pngOutput&&n.drawPng()},n}return i(t,e),c(t,[{key:"drawPng",value:function(){var e=document.createElement("img");e.src=this.gchart.getImageURI(),this.element.innerHTML="",this.element.appendChild(e)}},{key:"applyFormats",value:function(e){e||(e=this.formats);var t=!0,n=!1,r=void 0;try{for(var o,a=e[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var i=o.value,s=new google.visualization[i.type](i.options);s.format(this.data,i.index)}}catch(c){n=!0,r=c}finally{try{!t&&a["return"]&&a["return"]()}finally{if(n)throw r}}}},{key:"_attachEvents",value:function(){var e=this;(0,l["default"])(this.events,function(t,n){var r=window,o=t;"object"===("undefined"==typeof t?"undefined":s(t))&&(r=r[t[0]],o=t[1]),google.visualization.events.addListener(e.gchart,n,function(){var t=r[o].bind(e.gchart);t(e.data)})})}}]),t}(p["default"]);n["default"]=h},{"./Renderable":86,"lodash/forIn":65}],82:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=e("./Renderable"),u=r(c),l=function(e){function t(e){o(this,t),e.type="Dashboard";var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.bindings=e.bindings,n.render=function(){n.setData(e.datatable),n.gchart=new google.visualization.Dashboard(n.element),n._attachBindings(),n.events&&n._attachEvents(),n.draw()},n}return i(t,e),s(t,[{key:"_attachBindings",value:function(){var e=!0,t=!1,n=void 0;try{for(var r,o=this.bindings[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var a=r.value,i=[],s=[],c=!0,u=!1,l=void 0;try{for(var f,p=a.controlWrappers[Symbol.iterator]();!(c=(f=p.next()).done);c=!0){var h=f.value;i.push(new google.visualization.ControlWrapper(h))}}catch(_){u=!0,l=_}finally{try{!c&&p["return"]&&p["return"]()}finally{if(u)throw l}}var d=!0,v=!1,y=void 0;try{for(var b,g=a.chartWrappers[Symbol.iterator]();!(d=(b=g.next()).done);d=!0){var m=b.value;s.push(new google.visualization.ChartWrapper(m))}}catch(_){v=!0,y=_}finally{try{!d&&g["return"]&&g["return"]()}finally{if(v)throw y}}this.gchart.bind(i,s)}}catch(_){t=!0,n=_}finally{try{!e&&o["return"]&&o["return"]()}finally{if(t)throw n}}}}]),t}(u["default"]);n["default"]=l},{"./Renderable":86}],83:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=function(e){function t(e){r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.name="LavaJsError",n.message=e||"",n}return a(t,e),t}(Error);n.InvalidCallback=function(e){function t(e){r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,'[lava.js] "'+("undefined"==typeof e?"undefined":i(e))+'" is not a valid callback.'));return n.name="InvalidCallback",n}return a(t,e),t}(s),n.InvalidLabel=function(e){function t(e){r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,'[lava.js] "'+("undefined"==typeof e?"undefined":i(e))+'" is not a valid label.'));return n.name="InvalidLabel",n}return a(t,e),t}(s),n.ElementIdNotFound=function(e){function t(e){r(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,'[lava.js] DOM node where id="'+e+'" was not found.'));return n.name="ElementIdNotFound",n}return a(t,e),t}(s)},{}],84:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=e("lodash/forIn"),u=r(c),l=e("lodash/uniq"),f=r(l),p=e("events"),h=r(p),_=e("./Chart"),d=r(_),v=e("./Dashboard"),y=r(v),b=e("./Options"),g=r(b),m=e("./Utils"),O=e("./Errors"),w=e("./Renderable"),x=r(w),j=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.VERSION="4.0.0",n.GOOGLE_API_VERSION="current",n.GOOGLE_LOADER_URL="https://www.gstatic.com/charts/loader.js",n.options=e||g["default"],n._packages=[],n._volcano=[],n._readyCallback=m.noop,n}return i(t,e),s(t,[{key:"create",value:function(e){return"Dashboard"===e.type?new y["default"](e):new d["default"](e)}},{key:"store",value:function(e){e instanceof x["default"]==!1&&(e=this.create(e)),this._addPackages(e.packages),this._volcano[e.label]=e}},{key:"get",value:function(e,t){if("function"!=typeof t)throw new O.InvalidCallback(t);var n=this._volcano[e];if(!n)throw new O.RenderableNotFound(e);t(n)}},{key:"run",value:function(){var e=this;this._attachRedrawHandler(),this._loadGoogle().then(function(){e.visualization=google.visualization,(0,u["default"])(e._volcano,function(e){e.render()}),e.emit("ready"),e._readyCallback()})}},{key:"ready",value:function(e){if("function"!=typeof e)throw new O.InvalidCallback(e);this._readyCallback=e}},{key:"loadData",value:function(e,t,n){if("undefined"==typeof n&&(n=m.noop),"function"!=typeof n)throw new O.InvalidCallback(n);this.get(e,function(e){e.setData(t),"undefined"!=typeof t.formats&&e.applyFormats(t.formats),e.draw(),n(e)})}},{key:"loadOptions",value:function(e,t,n){if("undefined"==typeof n&&(n=n||m.noop),"function"!=typeof n)throw new O.InvalidCallback(n);this.get(e,function(e){e.setOptions(t),e.draw(),n(e)})}},{key:"redrawAll",value:function(){var e=Object.keys(this._volcano).length;return 0!==e&&((0,u["default"])(this._volcano,function(e){e.draw()}),!0)}},{key:"_addPackages",value:function(e){"string"==typeof e&&this._packages.push(e),"Array"===(0,m.getType)(e)&&(this._packages=this._packages.concat(e))}},{key:"_attachRedrawHandler",value:function(){var e=this;if(this.options.responsive===!0){var t=null;(0,m.addEvent)(window,"resize",function(){clearTimeout(t),t=setTimeout(function(){e.redrawAll()},e.options.debounce_timeout)})}}},{key:"_loadGoogle",value:function(){var e=this,t=this;return new Promise(function(n){e._googleIsLoaded()?t._googleChartLoader(n):t._addGoogleScriptToHead(n)})}},{key:"_googleIsLoaded",value:function(){var e=document.getElementsByTagName("script"),t=!0,n=!1,r=void 0;try{for(var o,a=e[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var i=o.value;if(i.src===this.GOOGLE_LOADER_URL)return!0}}catch(s){n=!0,r=s}finally{try{!t&&a["return"]&&a["return"]()}finally{if(n)throw r}}}},{key:"_googleChartLoader",value:function(e){var t={packages:(0,f["default"])(this._packages),language:this.options.locale};""!==this.options.maps_api_key&&(t.mapsApiKey=this.options.maps_api_key),google.charts.load(this.GOOGLE_API_VERSION,t),google.charts.setOnLoadCallback(e)}},{key:"_addGoogleScriptToHead",value:function(e){var t=this,n=document.createElement("script");n.type="text/javascript",n.async=!0,n.src=this.GOOGLE_LOADER_URL,n.onload=n.onreadystatechange=function(n){n=n||window.event,("load"===n.type||/loaded|complete/.test(this.readyState))&&(this.onload=this.onreadystatechange=null,t._googleChartLoader(e))},document.head.appendChild(n)}}]),t}(h["default"]);n["default"]=j},{"./Chart":81,"./Dashboard":82,"./Errors":83,"./Options":85,"./Renderable":86,"./Utils":87,events:1,"lodash/forIn":65,"lodash/uniq":79}],85:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={auto_run:!1,locale:"en",timezone:"America/Los_Angeles",datetime_format:"",maps_api_key:"",responsive:!0,debounce_timeout:250};n["default"]=r},{}],86:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=e("./Utils"),s=e("./Errors"),c=e("./VisualizationMap"),u=r(c),l=function(){function e(t){if(o(this,e),this.gchart=null,this.type=t.type,this.label=t.label,this.options=t.options,this.elementId=t.elementId,this.element=document.getElementById(this.elementId),!this.element)throw new s.ElementIdNotFound(this.elementId)}return a(e,[{key:"draw",value:function(){this.gchart.draw(this.data,this.options)}},{key:"setData",value:function(e){return"Array"===(0,i.getType)(e.data)?void(this.data=google.visualization.data.join(new google.visualization.DataTable(e.data[0]),new google.visualization.DataTable(e.data[1]),e.keys,e.joinMethod,e.dt2Columns,e.dt2Columns)):"Function"===(0,i.getType)(e.getTableProperties)?void(this.data=e):"Array"===(0,i.getType)(e)?void(this.data=google.visualization.arrayToDataTable(e)):("Object"===(0,i.getType)(e.data)&&(e=e.data),void(this.data=new google.visualization.DataTable(e)))}},{key:"setOptions",value:function(e){this.options=e}},{key:"class",get:function(){return(0,u["default"])(this.type)["class"]}},{key:"packages",get:function(){return(0,u["default"])(this.type)["package"]}},{key:"uuid",get:function(){return this.type+"::"+this.label;
}}]),e}();n["default"]=l},{"./Errors":83,"./Utils":87,"./VisualizationMap":88}],87:[function(e,t,n){"use strict";function r(){}function o(e){var t=Object.prototype.toString.call(e);return t.replace("[object ","").replace("]","")}function a(){return new Promise(function(e){"interactive"===document.readyState||"complete"===document.readyState?e():document.addEventListener("DOMContentLoaded",e)})}function i(e,t,n,r){null!==e&&"undefined"!=typeof e&&(e.addEventListener?e.addEventListener(t,n,!!r):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n)}Object.defineProperty(n,"__esModule",{value:!0}),n.noop=r,n.getType=o,n.domLoaded=a,n.addEvent=i},{}],88:[function(e,t,n){"use strict";function r(e){return o[e]}Object.defineProperty(n,"__esModule",{value:!0}),n["default"]=r;var o={AnnotationChart:{"class":"AnnotationChart","package":"annotationchart",version:1},AreaChart:{"class":"AreaChart","package":"corechart",version:1},BarChart:{"class":"BarChart","package":"corechart",version:1},BubbleChart:{"class":"BubbleChart","package":"corechart",version:1},CalendarChart:{"class":"Calendar","package":"calendar",version:1.1},CandlestickChart:{"class":"CandlestickChart","package":"corechart",version:1},ColumnChart:{"class":"ColumnChart","package":"corechart",version:1},ComboChart:{"class":"ComboChart","package":"corechart",version:1},DonutChart:{"class":"PieChart","package":"corechart",version:1},GanttChart:{"class":"Gantt","package":"gantt",version:1},GaugeChart:{"class":"Gauge","package":"gauge",version:1},GeoChart:{"class":"GeoChart","package":"geochart",version:1},HistogramChart:{"class":"Histogram","package":"corechart",version:1},LineChart:{"class":"LineChart","package":"corechart",version:1},PieChart:{"class":"PieChart","package":"corechart",version:1},SankeyChart:{"class":"Sankey","package":"sankey",version:1},ScatterChart:{"class":"ScatterChart","package":"corechart",version:1},SteppedAreaChart:{"class":"SteppedAreaChart","package":"corechart",version:1},TableChart:{"class":"Table","package":"table",version:1},TimelineChart:{"class":"Timeline","package":"timeline",version:1},TreeMapChart:{"class":"TreeMap","package":"treemap",version:1},WordTreeChart:{"class":"WordTree","package":"wordtree",version:1}}},{}]},{},[80]);
\ No newline at end of file
Loading
Loading
@@ -60,7 +60,6 @@
label: "Test",
type: "PieChart",
elementId: "my-pie-chart",
packages: ["corechart"],
datatable: [
['Task', 'Hours per Day'],
['Work', 11],
Loading
Loading
Loading
Loading
@@ -10,6 +10,7 @@ import {map} from 'bluebird';
import { log } from 'gulp-util';
import { red, green } from 'chalk';
 
gulp.task('default', ['dev']);
 
/**
Loading
Loading
Loading
Loading
@@ -14,7 +14,7 @@ import EventEmitter from 'events';
import Chart from './Chart';
import Dashboard from './Dashboard';
import defaultOptions from './Options';
import {addEvent, noop} from './Utils';
import {addEvent, getType, noop} from './Utils';
import {InvalidCallback, RenderableNotFound} from './Errors'
import Renderable from './Renderable';
 
Loading
Loading
@@ -141,7 +141,7 @@ export default class LavaJs extends EventEmitter {
* The LavaChart object holds all the user defined properties such as data, options, formats,
* the GoogleChart object, and relative methods for internal use.
*
* The GoogleChart object is available as ".chart" from the returned LavaChart.
* The GoogleChart object is available as ".gchart" from the returned LavaChart.
* It can be used to access any of the available methods such as
* getImageURI() or getChartLayoutInterface().
* See https://google-developers.appspot.com/chart/interactive/docs/gallery/linechart#methods
Loading
Loading
@@ -312,7 +312,13 @@ export default class LavaJs extends EventEmitter {
* @return {Array}
*/
_addPackages(packages) {
this._packages = this._packages.concat(packages);
if (typeof packages === 'string') {
this._packages.push(packages);
}
if (getType(packages) === 'Array') {
this._packages = this._packages.concat(packages);
}
}
 
/**
Loading
Loading
Loading
Loading
@@ -20,7 +20,7 @@
*/
import {getType} from "./Utils"
import {ElementIdNotFound} from "./Errors";
import VisualizationProps from './VisualizationProps';
import getProperties from './VisualizationMap';
 
/**
* Chart module
Loading
Loading
@@ -47,7 +47,7 @@ export default class Renderable
this.type = json.type;
this.label = json.label;
this.options = json.options;
this.packages = json.packages;
// this.packages = json.packages;
this.elementId = json.elementId;
 
this.element = document.getElementById(this.elementId);
Loading
Loading
@@ -64,9 +64,17 @@ export default class Renderable
*/
get class()
{
let vizProps = new VisualizationProps(this.type);
return getProperties(this.type).class;
}
 
return vizProps.class;
/**
* The google.visualization class needed for rendering.
*
* @return {string}
*/
get packages()
{
return getProperties(this.type).package;
}
 
/**
Loading
Loading
/**
* Visualization Property Map
*
* This module provides the needed properties for rendering charts indexed
* by the chart type.
*
* @author Kevin Hill <kevinkhill@gmail.com>
* @copyright (c) 2017, KHill Designs
* @license MIT
*/
const PROPERTY_MAP = {
"AnnotationChart": {
"class": "AnnotationChart",
"package": "annotationchart",
"version": 1
},
"AreaChart": {
"class": "AreaChart",
"package": "corechart",
"version": 1
},
"BarChart": {
"class": "BarChart",
"package": "corechart",
"version": 1
},
"BubbleChart": {
"class": "BubbleChart",
"package": "corechart",
"version": 1
},
"CalendarChart": {
"class": "Calendar",
"package": "calendar",
"version": 1.1
},
"CandlestickChart": {
"class": "CandlestickChart",
"package": "corechart",
"version": 1
},
"ColumnChart": {
"class": "ColumnChart",
"package": "corechart",
"version": 1
},
"ComboChart": {
"class": "ComboChart",
"package": "corechart",
"version": 1
},
"DonutChart": {
"class": "PieChart",
"package": "corechart",
"version": 1
},
"GanttChart": {
"class": "Gantt",
"package": "gantt",
"version": 1
},
"GaugeChart": {
"class": "Gauge",
"package": "gauge",
"version": 1
},
"GeoChart": {
"class": "GeoChart",
"package": "geochart",
"version": 1
},
"HistogramChart": {
"class": "Histogram",
"package": "corechart",
"version": 1
},
"LineChart": {
"class": "LineChart",
"package": "corechart",
"version": 1
},
"PieChart": {
"class": "PieChart",
"package": "corechart",
"version": 1
},
"SankeyChart": {
"class": "Sankey",
"package": "sankey",
"version": 1
},
"ScatterChart": {
"class": "ScatterChart",
"package": "corechart",
"version": 1
},
"SteppedAreaChart": {
"class": "SteppedAreaChart",
"package": "corechart",
"version": 1
},
"TableChart": {
"class": "Table",
"package": "table",
"version": 1
},
"TimelineChart": {
"class": "Timeline",
"package": "timeline",
"version": 1
},
"TreeMapChart": {
"class": "TreeMap",
"package": "treemap",
"version": 1
},
"WordTreeChart": {
"class": "WordTree",
"package": "wordtree",
"version": 1
}
};
export default function getProperties(chartType) {
return PROPERTY_MAP[chartType];
}
/**
* VisualizationProps class
*
* This module provides the needed properties for rendering charts retrieved
* by the chart type.
*
* @class VisualizationProps
* @module lava/VisualizationProps
* @author Kevin Hill <kevinkhill@gmail.com>
* @copyright (c) 2017, KHill Designs
* @license MIT
*/
export default class VisualizationProps
{
/**
* Build a new VisualizationProps class for the given chart type.
*
* @param {string} chartType
*/
constructor(chartType) {
this.chartType = chartType;
/**
* Map of chart types to their visualization package.
*/
this.CHART_TYPE_PACKAGE_MAP = {
AnnotationChart : 'annotationchart',
AreaChart : 'corechart',
BarChart : 'corechart',
BubbleChart : 'corechart',
CalendarChart : 'calendar',
CandlestickChart: 'corechart',
ColumnChart : 'corechart',
ComboChart : 'corechart',
DonutChart : 'corechart',
GanttChart : 'gantt',
GaugeChart : 'gauge',
GeoChart : 'geochart',
HistogramChart : 'corechart',
LineChart : 'corechart',
PieChart : 'corechart',
SankeyChart : 'sankey',
ScatterChart : 'corechart',
SteppedAreaChart: 'corechart',
TableChart : 'table',
TimelineChart : 'timeline',
TreeMapChart : 'treemap',
WordTreeChart : 'wordtree'
};
/**
* Map of chart types to their visualization class name.
*/
this.CHART_TYPE_CLASS_MAP = {
AnnotationChart : 'AnnotationChart',
AreaChart : 'AreaChart',
BarChart : 'BarChart',
BubbleChart : 'BubbleChart',
CalendarChart : 'Calendar',
CandlestickChart: 'CandlestickChart',
ColumnChart : 'ColumnChart',
ComboChart : 'ComboChart',
DonutChart : 'PieChart',
GanttChart : 'Gantt',
GaugeChart : 'Gauge',
GeoChart : 'GeoChart',
HistogramChart : 'Histogram',
LineChart : 'LineChart',
PieChart : 'PieChart',
SankeyChart : 'Sankey',
ScatterChart : 'ScatterChart',
SteppedAreaChart: 'SteppedAreaChart',
TableChart : 'Table',
TimelineChart : 'Timeline',
TreeMapChart : 'TreeMap',
WordTreeChart : 'WordTree'
};
/**
* Map of chart types to their versions.
*/
this.CHART_TYPE_VERSION_MAP = {
AnnotationChart : 1,
AreaChart : 1,
BarChart : 1,
BubbleChart : 1,
CalendarChart : 1.1,
CandlestickChart: 1,
ColumnChart : 1,
ComboChart : 1,
DonutChart : 1,
GanttChart : 1,
GaugeChart : 1,
GeoChart : 1,
HistogramChart : 1,
LineChart : 1,
PieChart : 1,
SankeyChart : 1,
ScatterChart : 1,
SteppedAreaChart: 1,
TableChart : 1,
TimelineChart : 1,
TreeMapChart : 1,
WordTreeChart : 1
};
}
/**
* Return the visualization package for the chart type
*
* @return {string}
*/
get package() {
return this.CHART_TYPE_PACKAGE_MAP[this.chartType];
}
/**
* Return the visualization class for the chart type
*
* @return {string}
*/
get class() {
return this.CHART_TYPE_CLASS_MAP[this.chartType];
}
/**
* Return the visualization version for the chart type
*
* @return {number}
*/
get version() {
return this.CHART_TYPE_VERSION_MAP[this.chartType];
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment