define(function() { return /******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/
/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId]) {
/******/ 			return installedModules[moduleId].exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ 		// Flag the module as loaded
/******/ 		module.l = true;
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/******/
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;
/******/
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;
/******/
/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ 		}
/******/ 	};
/******/
/******/ 	// define __esModule on exports
/******/ 	__webpack_require__.r = function(exports) {
/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 		}
/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
/******/ 	};
/******/
/******/ 	// create a fake namespace object
/******/ 	// mode & 1: value is a module id, require it
/******/ 	// mode & 2: merge all properties of value into the ns
/******/ 	// mode & 4: return value when already ns object
/******/ 	// mode & 8|1: behave like require
/******/ 	__webpack_require__.t = function(value, mode) {
/******/ 		if(mode & 1) value = __webpack_require__(value);
/******/ 		if(mode & 8) return value;
/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ 		var ns = Object.create(null);
/******/ 		__webpack_require__.r(ns);
/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ 		return ns;
/******/ 	};
/******/
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};
/******/
/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";
/******/
/******/
/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(__webpack_require__.s = "../../js/dist/amd/francy.bundle.min.js");
/******/ })
/************************************************************************/
/******/ ({

/***/ "../../js/dist/amd/francy.bundle.min.js":
/*!****************************************************************************!*\
  !*** /home/travis/build/mcmartins/francy/js/dist/amd/francy.bundle.min.js ***!
  \****************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_RESULT__;/*! francy-js, v0.8.0, Francy - An Interactive Discrete Mathematics Framework for GAP, Manuel Martins <manuelmachadomartins@gmail.com>. */
!(__WEBPACK_AMD_DEFINE_RESULT__ = (function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=380)}([function(t,e,n){"use strict";var r=n(2),o=n(23),i=n(14),a=n(13),u=n(22),c=function t(e,n,c){var s,f,l,p,d=e&t.F,h=e&t.G,v=e&t.P,y=e&t.B,b=h?r:e&t.S?r[n]||(r[n]={}):(r[n]||{}).prototype,g=h?o:o[n]||(o[n]={}),m=g.prototype||(g.prototype={});for(s in h&&(c=n),c)l=((f=!d&&b&&void 0!==b[s])?b:c)[s],p=y&&f?u(l,r):v&&"function"==typeof l?u(Function.call,l):l,b&&a(b,s,l,e&t.U),g[s]!=l&&i(g,s,p),v&&m[s]!=l&&(m[s]=l)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){"use strict";var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){"use strict";var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,e,n){"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){"use strict";var r="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};t.exports=function(t){return"object"===(void 0===t?"undefined":r(t))?null!==t:"function"==typeof t}},function(t,e,n){"use strict";var r=n(69)("wks"),o=n(44),i=n(2).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},function(t,e,n){"use strict";var r=n(27),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){"use strict";var r=n(1),o=n(140),i=n(29),a=Object.defineProperty;e.f=n(8)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){"use strict";t.exports=!n(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Decorators=void 0;var r=s(n(173)),o=s(n(172)),i=s(n(171)),a=s(n(170)),u=s(n(169)),c=s(n(168));function s(t){return t&&t.__esModule?t:{default:t}}e.Decorators={get Data(){return new c.default},get Loader(){return new o.default},get Initializer(){return new r.default},get Error(){return new i.default},get Highlight(){return new a.default},get Jupyter(){return new u.default}}},function(t,e,n){"use strict";var r=n(28);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){"use strict";var r=n(0),o=n(3),i=n(28),a=/"/g,u=function(t,e,n,r){var o=String(i(t)),u="<"+e;return""!==n&&(u+=" "+n+'="'+String(r).replace(a,"&quot;")+'"'),u+">"+o+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(u),r(r.P+r.F*o(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e,n){"use strict";var r=n(2),o=n(14),i=n(19),a=n(44)("src"),u=Function.toString,c=(""+u).split("toString");n(23).inspectSource=function(t){return u.call(t)},(t.exports=function(t,e,n,u){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(s&&(i(n,a)||o(n,a,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:u?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||u.call(this)})},function(t,e,n){"use strict";var r=n(7),o=n(45);t.exports=n(8)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){t.exports=function(){throw new Error("define cannot be used indirect")}},function(t,e,n){"use strict";var r=n(19),o=n(10),i=n(97)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){"use strict";var r=n(53),o=n(45),i=n(18),a=n(29),u=n(19),c=n(140),s=Object.getOwnPropertyDescriptor;e.f=n(8)?s:function(t,e){if(t=i(t),e=a(e,!0),c)try{return s(t,e)}catch(t){}if(u(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){"use strict";var r=n(54),o=n(28);t.exports=function(t){return r(o(t))}},function(t,e,n){"use strict";var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,n){"use strict";var r=n(3);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){"use strict";var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e,n){"use strict";var r=n(11);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){"use strict";var r=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=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}}(),o=a(n(73)),i=a(n(165));function a(t){return t&&t.__esModule?t:{default:t}}var u=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,i=t.callbackHandler,a=t.options,u=void 0===a?{}:a;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var c=function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:i,options:u}));if(new.target===e)throw new TypeError("Cannot instantiate [Renderer] classes directly!");if(void 0===c.render||"function"!=typeof c.render)throw new TypeError("Must override [render()] method!");return void 0===c.unrender&&c.logger.debug("No [unrender()] method specified..."),c.element=void 0,c.transitionDuration=750,c}return function(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)}(e,o.default),r(e,[{key:"_initialize",value:function(){}},{key:"HTMLParent",get:function(){return"svg"===this.parent.node().tagName.toLowerCase()?d3.select(this.parent.node().parentNode):this.parent}},{key:"SVGParent",get:function(){return"div"===this.parent.node().tagName.toLowerCase()?this.parent.select("svg"):this.parent}},{key:"margin",get:function(){return{top:50,right:50,bottom:50,left:50}}},{key:"width",get:function(){return(+this.parent.attr("width")||d3.select("body").node().getBoundingClientRect().width)-this.margin.left-this.margin.right}},{key:"height",get:function(){return(+this.parent.attr("height")||d3.select("body").node().getBoundingClientRect().height)-this.margin.top-this.margin.bottom}},{key:"mathjax",get:function(){return new i.default(this.options).load(this.data)}}]),e}();e.default=u},function(t,e,n){"use strict";var r=n(22),o=n(54),i=n(10),a=n(6),u=n(80);t.exports=function(t,e){var n=1==t,c=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l,d=e||u;return function(e,u,h){for(var v,y,b=i(e),g=o(b),m=r(u,h,3),w=a(g.length),x=0,_=n?d(e,w):c?d(e,0):void 0;w>x;x++)if((p||x in g)&&(y=m(v=g[x],x,b),t))if(n)_[x]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return x;case 2:_.push(v)}else if(f)return!1;return l?-1:s||f?f:_}}},function(t,e,n){"use strict";var r=n(0),o=n(23),i=n(3);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(t,e,n){"use strict";var r=Math.ceil,o=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?o:r)(t)}},function(t,e,n){"use strict";t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},function(t,e,n){"use strict";var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){"use strict";var r="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},o=n(119),i=n(0),a=n(69)("metadata"),u=a.store||(a.store=new(n(116))),c=function(t,e,n){var r=u.get(t);if(!r){if(!n)return;u.set(t,r=new o)}var i=r.get(e);if(!i){if(!n)return;r.set(e,i=new o)}return i};t.exports={store:u,map:c,has:function(t,e,n){var r=c(e,n,!1);return void 0!==r&&r.has(t)},get:function(t,e,n){var r=c(e,n,!1);return void 0===r?void 0:r.get(t)},set:function(t,e,n,r){c(n,r,!0).set(t,e)},keys:function(t,e){var n=c(t,e,!1),r=[];return n&&n.forEach(function(t,e){r.push(e)}),r},key:function(t){return void 0===t||"symbol"==(void 0===t?"undefined":r(t))?t:String(t)},exp:function(t){i(i.S,"Reflect",t)}}},function(t,e,n){"use strict";var r="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};if(n(8)){var o=n(34),i=n(2),a=n(3),u=n(0),c=n(58),s=n(74),f=n(22),l=n(38),p=n(45),d=n(14),h=n(36),v=n(27),y=n(6),b=n(114),g=n(42),m=n(29),w=n(19),x=n(52),_=n(4),O=n(10),S=n(83),k=n(41),P=n(16),j=n(40).f,E=n(81),M=n(44),T=n(5),A=n(25),F=n(68),R=n(61),z=n(78),C=n(48),N=n(64),D=n(39),L=n(79),I=n(124),H=n(7),B=n(17),W=H.f,V=B.f,G=i.RangeError,U=i.TypeError,q=i.Uint8Array,J=Array.prototype,X=s.ArrayBuffer,Y=s.DataView,$=A(0),K=A(2),Z=A(3),Q=A(4),tt=A(5),et=A(6),nt=F(!0),rt=F(!1),ot=z.values,it=z.keys,at=z.entries,ut=J.lastIndexOf,ct=J.reduce,st=J.reduceRight,ft=J.join,lt=J.sort,pt=J.slice,dt=J.toString,ht=J.toLocaleString,vt=T("iterator"),yt=T("toStringTag"),bt=M("typed_constructor"),gt=M("def_constructor"),mt=c.CONSTR,wt=c.TYPED,xt=c.VIEW,_t=A(1,function(t,e){return jt(R(t,t[gt]),e)}),Ot=a(function(){return 1===new q(new Uint16Array([1]).buffer)[0]}),St=!!q&&!!q.prototype.set&&a(function(){new q(1).set({})}),kt=function(t,e){var n=v(t);if(n<0||n%e)throw G("Wrong offset!");return n},Pt=function(t){if(_(t)&&wt in t)return t;throw U(t+" is not a typed array!")},jt=function(t,e){if(!(_(t)&&bt in t))throw U("It is not a typed array constructor!");return new t(e)},Et=function(t,e){return Mt(R(t,t[gt]),e)},Mt=function(t,e){for(var n=0,r=e.length,o=jt(t,r);r>n;)o[n]=e[n++];return o},Tt=function(t,e,n){W(t,e,{get:function(){return this._d[n]}})},At=function(t){var e,n,r,o,i,a,u=O(t),c=arguments.length,s=c>1?arguments[1]:void 0,l=void 0!==s,p=E(u);if(void 0!=p&&!S(p)){for(a=p.call(u),r=[],e=0;!(i=a.next()).done;e++)r.push(i.value);u=r}for(l&&c>2&&(s=f(s,arguments[2],2)),e=0,n=y(u.length),o=jt(this,n);n>e;e++)o[e]=l?s(u[e],e):u[e];return o},Ft=function(){for(var t=0,e=arguments.length,n=jt(this,e);e>t;)n[t]=arguments[t++];return n},Rt=!!q&&a(function(){ht.call(new q(1))}),zt=function(){return ht.apply(Rt?pt.call(Pt(this)):Pt(this),arguments)},Ct={copyWithin:function(t,e){return I.call(Pt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return Q(Pt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return L.apply(Pt(this),arguments)},filter:function(t){return Et(this,K(Pt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return tt(Pt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return et(Pt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){$(Pt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return rt(Pt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return nt(Pt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ft.apply(Pt(this),arguments)},lastIndexOf:function(t){return ut.apply(Pt(this),arguments)},map:function(t){return _t(Pt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ct.apply(Pt(this),arguments)},reduceRight:function(t){return st.apply(Pt(this),arguments)},reverse:function(){for(var t,e=Pt(this).length,n=Math.floor(e/2),r=0;r<n;)t=this[r],this[r++]=this[--e],this[e]=t;return this},some:function(t){return Z(Pt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return lt.call(Pt(this),t)},subarray:function(t,e){var n=Pt(this),r=n.length,o=g(t,r);return new(R(n,n[gt]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,y((void 0===e?r:g(e,r))-o))}},Nt=function(t,e){return Et(this,pt.call(Pt(this),t,e))},Dt=function(t){Pt(this);var e=kt(arguments[1],1),n=this.length,r=O(t),o=y(r.length),i=0;if(o+e>n)throw G("Wrong length!");for(;i<o;)this[e+i]=r[i++]},Lt={entries:function(){return at.call(Pt(this))},keys:function(){return it.call(Pt(this))},values:function(){return ot.call(Pt(this))}},It=function(t,e){return _(t)&&t[wt]&&"symbol"!=(void 0===e?"undefined":r(e))&&e in t&&String(+e)==String(e)},Ht=function(t,e){return It(t,e=m(e,!0))?p(2,t[e]):V(t,e)},Bt=function(t,e,n){return!(It(t,e=m(e,!0))&&_(n)&&w(n,"value"))||w(n,"get")||w(n,"set")||n.configurable||w(n,"writable")&&!n.writable||w(n,"enumerable")&&!n.enumerable?W(t,e,n):(t[e]=n.value,t)};mt||(B.f=Ht,H.f=Bt),u(u.S+u.F*!mt,"Object",{getOwnPropertyDescriptor:Ht,defineProperty:Bt}),a(function(){dt.call({})})&&(dt=ht=function(){return ft.call(this)});var Wt=h({},Ct);h(Wt,Lt),d(Wt,vt,Lt.values),h(Wt,{slice:Nt,set:Dt,constructor:function(){},toString:dt,toLocaleString:zt}),Tt(Wt,"buffer","b"),Tt(Wt,"byteOffset","o"),Tt(Wt,"byteLength","l"),Tt(Wt,"length","e"),W(Wt,yt,{get:function(){return this[wt]}}),t.exports=function(t,e,n,r){var s=t+((r=!!r)?"Clamped":"")+"Array",f="get"+t,p="set"+t,h=i[s],v=h||{},g=h&&P(h),m=!h||!c.ABV,w={},O=h&&h.prototype,S=function(t,n){W(t,n,{get:function(){return function(t,n){var r=t._d;return r.v[f](n*e+r.o,Ot)}(this,n)},set:function(t){return function(t,n,o){var i=t._d;r&&(o=(o=Math.round(o))<0?0:o>255?255:255&o),i.v[p](n*e+i.o,o,Ot)}(this,n,t)},enumerable:!0})};m?(h=n(function(t,n,r,o){l(t,h,s,"_d");var i,a,u,c,f=0,p=0;if(_(n)){if(!(n instanceof X||"ArrayBuffer"==(c=x(n))||"SharedArrayBuffer"==c))return wt in n?Mt(h,n):At.call(h,n);i=n,p=kt(r,e);var v=n.byteLength;if(void 0===o){if(v%e)throw G("Wrong length!");if((a=v-p)<0)throw G("Wrong length!")}else if((a=y(o)*e)+p>v)throw G("Wrong length!");u=a/e}else u=b(n),i=new X(a=u*e);for(d(t,"_d",{b:i,o:p,l:a,e:u,v:new Y(i)});f<u;)S(t,f++)}),O=h.prototype=k(Wt),d(O,"constructor",h)):a(function(){h(1)})&&a(function(){new h(-1)})&&N(function(t){new h,new h(null),new h(1.5),new h(t)},!0)||(h=n(function(t,n,r,o){var i;return l(t,h,s),_(n)?n instanceof X||"ArrayBuffer"==(i=x(n))||"SharedArrayBuffer"==i?void 0!==o?new v(n,kt(r,e),o):void 0!==r?new v(n,kt(r,e)):new v(n):wt in n?Mt(h,n):At.call(h,n):new v(b(n))}),$(g!==Function.prototype?j(v).concat(j(g)):j(v),function(t){t in h||d(h,t,v[t])}),h.prototype=O,o||(O.constructor=h));var E=O[vt],M=!!E&&("values"==E.name||void 0==E.name),T=Lt.values;d(h,bt,!0),d(O,wt,s),d(O,xt,!0),d(O,gt,h),(r?new h(1)[yt]==s:yt in O)||W(O,yt,{get:function(){return s}}),w[s]=h,u(u.G+u.W+u.F*(h!=v),w),u(u.S,s,{BYTES_PER_ELEMENT:e}),u(u.S+u.F*a(function(){v.of.call(h,1)}),s,{from:At,of:Ft}),"BYTES_PER_ELEMENT"in O||d(O,"BYTES_PER_ELEMENT",e),u(u.P,s,Ct),D(s),u(u.P+u.F*St,s,{set:Dt}),u(u.P+u.F*!M,s,Lt),o||O.toString==dt||(O.toString=dt),u(u.P+u.F*a(function(){new h(1).slice()}),s,{slice:Nt}),u(u.P+u.F*(a(function(){return[1,2].toLocaleString()!=new h([1,2]).toLocaleString()})||!a(function(){O.toLocaleString.call([1,2])})),s,{toLocaleString:zt}),C[s]=M?E:T,o||M||d(O,vt,T)}}else t.exports=function(){}},function(t,e,n){"use strict";t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";var r=n(5)("unscopables"),o=Array.prototype;void 0==o[r]&&n(14)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){"use strict";t.exports=!1},function(t,e,n){"use strict";var r="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},o=n(44)("meta"),i=n(4),a=n(19),u=n(7).f,c=0,s=Object.isExtensible||function(){return!0},f=!n(3)(function(){return s(Object.preventExtensions({}))}),l=function(t){u(t,o,{value:{i:"O"+ ++c,w:{}}})},p=t.exports={KEY:o,NEED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==(void 0===t?"undefined":r(t))?t:("string"==typeof t?"S":"P")+t;if(!a(t,o)){if(!s(t))return"F";if(!e)return"E";l(t)}return t[o].i},getWeak:function(t,e){if(!a(t,o)){if(!s(t))return!0;if(!e)return!1;l(t)}return t[o].w},onFreeze:function(t){return f&&p.NEED&&s(t)&&!a(t,o)&&l(t),t}}},function(t,e,n){"use strict";var r=n(13);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){"use strict";var r=n(22),o=n(126),i=n(83),a=n(1),u=n(6),c=n(81),s={},f={},l=t.exports=function(t,e,n,l,p){var d,h,v,y,b=p?function(){return t}:c(t),g=r(n,l,e?2:1),m=0;if("function"!=typeof b)throw TypeError(t+" is not iterable!");if(i(b)){for(d=u(t.length);d>m;m++)if((y=e?g(a(h=t[m])[0],h[1]):g(t[m]))===s||y===f)return y}else for(v=b.call(t);!(h=v.next()).done;)if((y=o(v,g,h.value,e))===s||y===f)return y};l.BREAK=s,l.RETURN=f},function(t,e,n){"use strict";t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){"use strict";var r=n(2),o=n(7),i=n(8),a=n(5)("species");t.exports=function(t){var e=r[t];i&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e,n){"use strict";var r=n(138),o=n(96).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){"use strict";var r=n(1),o=n(137),i=n(96),a=n(97)("IE_PROTO"),u=function(){},c=function(){var t,e=n(99)("iframe"),r=i.length;for(e.style.display="none",n(95).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(u.prototype=r(t),n=new u,u.prototype=null,n[a]=t):n=c(),void 0===e?n:o(n,e)}},function(t,e,n){"use strict";var r=n(27),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e,n){"use strict";var r=n(138),o=n(96);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){"use strict";var r=0,o=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+o).toString(36))}},function(t,e,n){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){(function(e){t.exports=e}).call(this,{})},function(t,e,n){"use strict";var r=n(4);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){"use strict";t.exports={}},function(t,e,n){"use strict";var r=n(0),o=n(28),i=n(3),a=n(93),u="["+a+"]",c=RegExp("^"+u+u+"*"),s=RegExp(u+u+"*$"),f=function(t,e,n){var o={},u=i(function(){return!!a[t]()||"​"!="​"[t]()}),c=o[t]=u?e(l):a[t];n&&(o[n]=c),r(r.P+r.F*u,"String",o)},l=f.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(s,"")),t};t.exports=f},function(t,e,n){"use strict";var r=n(7).f,o=n(19),i=n(5)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=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}}();var o=function(){function t(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).verbose,n=void 0!==e&&e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.verbose=n,this.console=console}return r(t,[{key:"debug",value:function(e){this.verbose&&this.console.debug(t._format("DEBUG",e))}},{key:"info",value:function(e){this.console.info(t._format("INFO",e))}},{key:"error",value:function(e,n){n=n||{},this.console.error(t._format("ERROR",e),n)}},{key:"warn",value:function(e,n){n=n||{},this.console.error(t._format("WARN",e),n)}}],[{key:"_format",value:function(t,e){return"["+t+"] - "+(new Date).toISOString()+" - "+e}}]),t}();e.default=o},function(t,e,n){"use strict";var r=n(21),o=n(5)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){"use strict";e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";var r=n(21);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){"use strict";var r=n(0),o=n(11),i=n(22),a=n(37);t.exports=function(t){r(r.S,t,{from:function(t){var e,n,r,u,c=arguments[1];return o(this),(e=void 0!==c)&&o(c),void 0==t?new this:(n=[],e?(r=0,u=i(c,arguments[2],2),a(t,!1,function(t){n.push(u(t,r++))})):a(t,!1,n.push,n),new this(n))}})}},function(t,e,n){"use strict";var r=n(0);t.exports=function(t){r(r.S,t,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}})}},function(t,e,n){"use strict";t.exports=n(34)||!n(3)(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete n(2)[t]})},function(t,e,n){"use strict";for(var r,o=n(2),i=n(14),a=n(44),u=a("typed_array"),c=a("view"),s=!(!o.ArrayBuffer||!o.DataView),f=s,l=0,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");l<9;)(r=o[p[l++]])?(i(r.prototype,u,!0),i(r.prototype,c,!0)):f=!1;t.exports={ABV:s,CONSTR:f,TYPED:u,VIEW:c}},function(t,e,n){"use strict";var r=n(2),o=n(0),i=n(13),a=n(36),u=n(35),c=n(37),s=n(38),f=n(4),l=n(3),p=n(64),d=n(50),h=n(92);t.exports=function(t,e,n,v,y,b){var g=r[t],m=g,w=y?"set":"add",x=m&&m.prototype,_={},O=function(t){var e=x[t];i(x,t,"delete"==t?function(t){return!(b&&!f(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(b&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return b&&!f(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof m&&(b||x.forEach&&!l(function(){(new m).entries().next()}))){var S=new m,k=S[w](b?{}:-0,1)!=S,P=l(function(){S.has(1)}),j=p(function(t){new m(t)}),E=!b&&l(function(){for(var t=new m,e=5;e--;)t[w](e,e);return!t.has(-0)});j||((m=e(function(e,n){s(e,m,t);var r=h(new g,e,m);return void 0!=n&&c(n,y,r[w],r),r})).prototype=x,x.constructor=m),(P||E)&&(O("delete"),O("has"),y&&O("get")),(E||k)&&O(w),b&&x.clear&&delete x.clear}else m=v.getConstructor(e,t,y,w),a(m.prototype,n),u.NEED=!0;return d(m,t),_[t]=m,o(o.G+o.W+o.F*(m!=g),_),b||v.setStrong(m,t,y),m}},function(t,e,n){"use strict";var r=n(2).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){"use strict";var r=n(1),o=n(11),i=n(5)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[i])?e:o(n)}},function(t,e,n){"use strict";var r=n(14),o=n(13),i=n(3),a=n(28),u=n(5);t.exports=function(t,e,n){var c=u(t),s=n(a,c,""[t]),f=s[0],l=s[1];i(function(){var e={};return e[c]=function(){return 7},7!=""[t](e)})&&(o(String.prototype,t,f),r(RegExp.prototype,c,2==e?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)}))}},function(t,e,n){"use strict";var r=n(1);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){"use strict";var r=n(5)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(4),o=n(21),i=n(5)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e,n){"use strict";var r=n(21);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){"use strict";e.f=Object.getOwnPropertySymbols},function(t,e,n){"use strict";var r=n(18),o=n(6),i=n(42);t.exports=function(t){return function(e,n,a){var u,c=r(e),s=o(c.length),f=i(a,s);if(t&&n!=n){for(;s>f;)if((u=c[f++])!=u)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===n)return t||f||0;return!t&&-1}}},function(t,e,n){"use strict";var r=n(23),o=n(2),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(34)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=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}}(),o=a(n(24)),i=a(n(100));function a(t){return t&&t.__esModule?t:{default:t}}var u=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,i=t.callbackHandler;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:i}));return a.axis=void 0,a.yScale=void 0,a.xScale=void 0,a.datasets=void 0,a.datasetNames=void 0,a.tooltip=void 0,a}return function(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)}(e,o.default),r(e,[{key:"_initialize",value:function(){var t=this;this.tooltip=new i.default(this.options),this.element=this.parent.select("g.francy-content"),this.axis=this.data.canvas.chart.axis,this.datasets=this.data.canvas.chart.data,this.datasetNames=Object.keys(this.datasets),this.xScale=d3.scaleLinear().range([0,this.width]).domain(this.axis.x.domain),this.yScale=d3.scaleLinear().range([this.height,0]).domain(this.axis.y.domain),this.allValues=[],this.datasetNames.forEach(function(e){return t.allValues=t.allValues.concat(t.datasets[e])}),this.axis.y.domain.length||this.yScale.domain([0,d3.max(this.allValues,function(t){return t})]),this.axis.x.domain.length||this.xScale.domain([0,this.allValues.length/this.datasetNames.length])}},{key:"_renderAxis",value:function(){var t=this.element.selectAll("g.francy-x-axis");t.node()||(t=this.element.append("g").attr("class","francy-x-axis")),t.selectAll("*").remove(),t.attr("transform","translate(0,"+this.height+")").call(d3.axisBottom(this.xScale)).append("text").attr("dy",50).attr("dx",this.width/2).attr("fill","black").attr("class","francy-axis").style("text-anchor","end").text(this.axis.x.title);var e=this.element.selectAll("g.francy-y-axis");e.node()||(e=this.element.append("g").attr("class","francy-y-axis")),e.selectAll("*").remove(),e.call(d3.axisLeft(this.yScale)).append("text").attr("dx",-50).attr("dy",this.height/2).attr("fill","black").attr("class","francy-axis").style("text-anchor","end").text(this.axis.y.title)}},{key:"_renderLegend",value:function(){if(this.data.canvas.chart.showLegend){var t=this.element.selectAll(".francy-legend");t.node()||(t=this.element.append("g").attr("class","francy-legend")),t.selectAll("*").remove();var n=t.selectAll("g").data(this.datasetNames.slice());n.exit().remove(),(n=n.enter().append("g").attr("transform",function(t,e){return"translate(0,"+20*e+")"}).merge(n)).append("rect").attr("x",this.width+20).attr("width",19).attr("height",19).style("fill",function(t,n){return e.colors(5*n)}),n.append("text").attr("x",this.width+80).attr("y",9).attr("dy",".35em").style("text-anchor","end").text(function(t){return t})}}}],[{key:"tooltip",value:function(t,e){return{A:{title:"Dataset",text:t},B:{title:"Value",text:e}}}},{key:"newColors",value:function(t){return d3.scale.linear().domain([1,t]).interpolate(d3.interpolateHcl).range([d3.rgb("#007AFF"),d3.rgb("#FFF500")])}},{key:"domainRange",value:function(t){return Array.from(new Array(t),function(t,e){return e}).map(function(t){return t})}},{key:"colors",get:function(){return d3.scaleSequential().domain([0,100]).interpolator(d3.interpolateRainbow)}}]),e}();e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=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}}(),o=function(t){return t&&t.__esModule?t:{default:t}}(n(51)),i=n(9);var a=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),void 0===this.initialize||"function"!=typeof this.initialize)throw new TypeError("Must override [initialize()] method!");this.available=!1,this.options=void 0,this.settings({mandatory:e,verbose:!1}),this.log=new o.default(this.options);var r=i.Decorators.Error.wrap(this._initialize).withContext(this).onErrorThrow(e).onErrorExec(this._onError);n?setTimeout(function(){return r.handle()},0):r.handle()}return r(t,[{key:"_initialize",value:function(){this.initialize(),this.available=!0}},{key:"settings",value:function(t){var e=t.mandatory,n=t.verbose;return this.options=this.options||{},this.options.mandatory=e||this.options.mandatory,this.options.verbose=n||this.options.verbose,this}},{key:"_onError",value:function(){this.options.mandatory?this.log.error("The component ["+this.constructor.name+"] is mandatory and could not be initialized... cannot proceed!"):this.log.info("The component ["+this.constructor.name+"] could not be initialized... continuing..."),this.available=!1}},{key:"isAvailable",get:function(){return this.available}},{key:"logger",get:function(){return this.log}}]),t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Components=void 0;var r=a(n(174)),o=a(n(167)),i=a(n(166));function a(t){return t&&t.__esModule?t:{default:t}}e.Components={D3:new r.default(!0,!0),MathJax:new o.default(!1,!0),Jupyter:new i.default(!1,!1)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=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}}(),o=s(n(51)),i=s(n(175)),a=n(72),u=n(105),c=n(9);function s(t){return t&&t.__esModule?t:{default:t}}var f=function(){function t(e){var n=e.verbose,r=void 0!==n&&n,i=e.appendTo,u=void 0===i?"body":i,c=e.callbackHandler;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),a.Components.D3,a.Components.MathJax,a.Components.Jupyter,this.options=void 0,this.settings({verbose:r,appendTo:u,callbackHandler:c}),this.data=void 0,this.log=new o.default(this.options)}return r(t,[{key:"settings",value:function(t){var e=t.verbose,n=t.appendTo,r=t.callbackHandler;if(this.options=this.options||{},!this.options.callbackHandler&&!r)throw new Error("A Callback Handler must be provided! This will be used to trigger events from the graphics produced...");if(!this.options.appendTo&&!n)throw new Error("Missing an element or id to append the graphics to!");return"string"==typeof n&&(n=d3.select(n)),this.options.verbose=e||this.options.verbose,this.options.appendTo=n||this.options.appendTo,this.options.callbackHandler=r||this.options.callbackHandler,this}},{key:"load",value:function(t,e){var n=i.default.parse(t,e);return n&&(this.data=n),this}},{key:"handleErrors",value:function(t){if(!(t instanceof u.Exception))throw this.logger.error(t.message),t;this.logger.debug(t.message)}},{key:"handlePromise",value:function(t){var e=this,n=c.Decorators.Loader.withContext(this).show();return t.then(function(t){return t}).catch(function(t){return e.handleErrors(t)}).finally(function(){return n.hide()})}},{key:"parent",get:function(){return this.options.appendTo.element||this.options.appendTo}},{key:"logger",get:function(){return this.log}}]),t}();e.default=f},function(t,e,n){"use strict";var r=n(2),o=n(8),i=n(34),a=n(58),u=n(14),c=n(36),s=n(3),f=n(38),l=n(27),p=n(6),d=n(114),h=n(40).f,v=n(7).f,y=n(79),b=n(50),g="prototype",m="Wrong index!",w=r.ArrayBuffer,x=r.DataView,_=r.Math,O=r.RangeError,S=r.Infinity,k=w,P=_.abs,j=_.pow,E=_.floor,M=_.log,T=_.LN2,A=o?"_b":"buffer",F=o?"_l":"byteLength",R=o?"_o":"byteOffset";function z(t,e,n){var r,o,i,a=new Array(n),u=8*n-e-1,c=(1<<u)-1,s=c>>1,f=23===e?j(2,-24)-j(2,-77):0,l=0,p=t<0||0===t&&1/t<0?1:0;for((t=P(t))!=t||t===S?(o=t!=t?1:0,r=c):(r=E(M(t)/T),t*(i=j(2,-r))<1&&(r--,i*=2),(t+=r+s>=1?f/i:f*j(2,1-s))*i>=2&&(r++,i/=2),r+s>=c?(o=0,r=c):r+s>=1?(o=(t*i-1)*j(2,e),r+=s):(o=t*j(2,s-1)*j(2,e),r=0));e>=8;a[l++]=255&o,o/=256,e-=8);for(r=r<<e|o,u+=e;u>0;a[l++]=255&r,r/=256,u-=8);return a[--l]|=128*p,a}function C(t,e,n){var r,o=8*n-e-1,i=(1<<o)-1,a=i>>1,u=o-7,c=n-1,s=t[c--],f=127&s;for(s>>=7;u>0;f=256*f+t[c],c--,u-=8);for(r=f&(1<<-u)-1,f>>=-u,u+=e;u>0;r=256*r+t[c],c--,u-=8);if(0===f)f=1-a;else{if(f===i)return r?NaN:s?-S:S;r+=j(2,e),f-=a}return(s?-1:1)*r*j(2,f-e)}function N(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function D(t){return[255&t]}function L(t){return[255&t,t>>8&255]}function I(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function H(t){return z(t,52,8)}function B(t){return z(t,23,4)}function W(t,e,n){v(t[g],e,{get:function(){return this[n]}})}function V(t,e,n,r){var o=d(+n);if(o+e>t[F])throw O(m);var i=t[A]._b,a=o+t[R],u=i.slice(a,a+e);return r?u:u.reverse()}function G(t,e,n,r,o,i){var a=d(+n);if(a+e>t[F])throw O(m);for(var u=t[A]._b,c=a+t[R],s=r(+o),f=0;f<e;f++)u[c+f]=s[i?f:e-f-1]}if(a.ABV){if(!s(function(){w(1)})||!s(function(){new w(-1)})||s(function(){return new w,new w(1.5),new w(NaN),"ArrayBuffer"!=w.name})){for(var U,q=(w=function(t){return f(this,w),new k(d(t))})[g]=k[g],J=h(k),X=0;J.length>X;)(U=J[X++])in w||u(w,U,k[U]);i||(q.constructor=w)}var Y=new x(new w(2)),$=x[g].setInt8;Y.setInt8(0,2147483648),Y.setInt8(1,2147483649),!Y.getInt8(0)&&Y.getInt8(1)||c(x[g],{setInt8:function(t,e){$.call(this,t,e<<24>>24)},setUint8:function(t,e){$.call(this,t,e<<24>>24)}},!0)}else w=function(t){f(this,w,"ArrayBuffer");var e=d(t);this._b=y.call(new Array(e),0),this[F]=e},x=function(t,e,n){f(this,x,"DataView"),f(t,w,"DataView");var r=t[F],o=l(e);if(o<0||o>r)throw O("Wrong offset!");if(o+(n=void 0===n?r-o:p(n))>r)throw O("Wrong length!");this[A]=t,this[R]=o,this[F]=n},o&&(W(w,"byteLength","_l"),W(x,"buffer","_b"),W(x,"byteLength","_l"),W(x,"byteOffset","_o")),c(x[g],{getInt8:function(t){return V(this,1,t)[0]<<24>>24},getUint8:function(t){return V(this,1,t)[0]},getInt16:function(t){var e=V(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=V(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return N(V(this,4,t,arguments[1]))},getUint32:function(t){return N(V(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return C(V(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return C(V(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){G(this,1,t,D,e)},setUint8:function(t,e){G(this,1,t,D,e)},setInt16:function(t,e){G(this,2,t,L,e,arguments[2])},setUint16:function(t,e){G(this,2,t,L,e,arguments[2])},setInt32:function(t,e){G(this,4,t,I,e,arguments[2])},setUint32:function(t,e){G(this,4,t,I,e,arguments[2])},setFloat32:function(t,e){G(this,4,t,B,e,arguments[2])},setFloat64:function(t,e){G(this,8,t,H,e,arguments[2])}});b(w,"ArrayBuffer"),b(x,"DataView"),u(x[g],a.VIEW,!0),e.ArrayBuffer=w,e.DataView=x},function(t,e,n){"use strict";var r=n(11);t.exports.f=function(t){return new function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)}(t)}},function(t,e,n){"use strict";var r=n(2),o=n(77).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,u=r.Promise,c="process"==n(21)(a);t.exports=function(){var t,e,n,s=function(){var r,o;for(c&&(r=a.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(s)};else if(!i||r.navigator&&r.navigator.standalone)if(u&&u.resolve){var f=u.resolve(void 0);n=function(){f.then(s)}}else n=function(){o.call(r,s)};else{var l=!0,p=document.createTextNode("");new i(s).observe(p,{characterData:!0}),n=function(){p.data=l=!l}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},function(t,e,n){"use strict";var r,o,i,a=n(22),u=n(133),c=n(95),s=n(99),f=n(2),l=f.process,p=f.setImmediate,d=f.clearImmediate,h=f.MessageChannel,v=f.Dispatch,y=0,b={},g=function(){var t=+this;if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},m=function(t){g.call(t.data)};p&&d||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return b[++y]=function(){u("function"==typeof t?t:Function(t),e)},r(y),y},d=function(t){delete b[t]},"process"==n(21)(l)?r=function(t){l.nextTick(a(g,t,1))}:v&&v.now?r=function(t){v.now(a(g,t,1))}:h?(i=(o=new h).port2,o.port1.onmessage=m,r=a(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",m,!1)):r="onreadystatechange"in s("script")?function(t){c.appendChild(s("script")).onreadystatechange=function(){c.removeChild(this),g.call(t)}}:function(t){setTimeout(a(g,t,1),0)}),t.exports={set:p,clear:d}},function(t,e,n){"use strict";var r=n(33),o=n(123),i=n(48),a=n(18);t.exports=n(87)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){"use strict";var r=n(10),o=n(42),i=n(6);t.exports=function(t){for(var e=r(this),n=i(e.length),a=arguments.length,u=o(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,s=void 0===c?n:o(c,n);s>u;)e[u++]=t;return e}},function(t,e,n){"use strict";var r=n(287);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){"use strict";var r=n(52),o=n(5)("iterator"),i=n(48);t.exports=n(23).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){"use strict";var r=n(7),o=n(45);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){"use strict";var r=n(48),o=n(5)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){"use strict";var r=n(5)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){"use strict";var r=n(65),o=n(28);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},function(t,e,n){"use strict";var r=n(41),o=n(45),i=n(50),a={};n(14)(a,n(5)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){"use strict";var r=n(34),o=n(0),i=n(13),a=n(14),u=n(48),c=n(86),s=n(50),f=n(16),l=n(5)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,h,v,y,b){c(n,e,h);var g,m,w,x=function(t){if(!p&&t in k)return k[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},_=e+" Iterator",O="values"==v,S=!1,k=t.prototype,P=k[l]||k["@@iterator"]||v&&k[v],j=P||x(v),E=v?O?x("entries"):j:void 0,M="Array"==e&&k.entries||P;if(M&&(w=f(M.call(new t)))!==Object.prototype&&w.next&&(s(w,_,!0),r||"function"==typeof w[l]||a(w,l,d)),O&&P&&"values"!==P.name&&(S=!0,j=function(){return P.call(this)}),r&&!b||!p&&!S&&k[l]||a(k,l,j),u[e]=j,u[_]=d,v)if(g={values:O?j:x("values"),keys:y?j:x("keys"),entries:E},b)for(m in g)m in k||i(k,m,g[m]);else o(o.P+o.F*(p||S),e,g);return g}},function(t,e,n){"use strict";var r=n(27),o=n(28);t.exports=function(t){return function(e,n){var i,a,u=String(o(e)),c=r(n),s=u.length;return c<0||c>=s?t?"":void 0:(i=u.charCodeAt(c))<55296||i>56319||c+1===s||(a=u.charCodeAt(c+1))<56320||a>57343?t?u.charAt(c):i:t?u.slice(c,c+2):a-56320+(i-55296<<10)+65536}}},function(t,e,n){"use strict";var r=Math.expm1;t.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||-2e-17!=r(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:r},function(t,e,n){"use strict";t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e,n){"use strict";var r=n(27),o=n(28);t.exports=function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},function(t,e,n){"use strict";var r=n(4),o=n(94).set;t.exports=function(t,e,n){var i,a=e.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},function(t,e,n){"use strict";t.exports="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff"},function(t,e,n){"use strict";var r=n(4),o=n(1),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(22)(Function.call,n(17).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},function(t,e,n){"use strict";var r=n(2).document;t.exports=r&&r.documentElement},function(t,e,n){"use strict";t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){"use strict";var r=n(69)("keys"),o=n(44);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){"use strict";var r=n(2),o=n(23),i=n(34),a=n(139),u=n(7).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||u(e,t,{value:a.f(t)})}},function(t,e,n){"use strict";var r=n(4),o=n(2).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o,i=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(t){return t&&t.__esModule?t:{default:t}}(n(24));var u=(r=n(9).Decorators.Data.requires("messages"),function(t,e,n,r,o){var i={};Object.keys(r).forEach(function(t){i[t]=r[t]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(n,r){return r(t,e,n)||n},i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(t,e,i),i=null)}((o=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,i=t.callbackHandler;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:i}))}return function(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)}(e,a.default),i(e,[{key:"render",value:function(){var t=function(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){return function r(o,i){try{var a=e[o](i),u=a.value}catch(t){return void n(t)}if(!a.done)return Promise.resolve(u).then(function(t){r("next",t)},function(t){r("throw",t)});t(u)}("next")})}}(regeneratorRuntime.mark(function t(){var e,n,r=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.element=this.HTMLParent.select("div.francy-tooltip-holder"),this.element.node()||(this.element=this.HTMLParent.append("div").attr("class","francy-tooltip-holder")),!this.element.selectAll("*").node()){t.next=4;break}return t.abrupt("return");case 4:return e=d3.mouse(this.SVGParent.node()),this.element.style("left",e[0]+15+"px").style("top",e[1]-15+"px"),n=this.element.append("div").attr("class","francy-tooltip").append("div").attr("class","francy-table").append("div").attr("class","francy-table-body"),Object.keys(this.data.messages).map(function(t){var e=n.append("div").attr("class","francy-table-row");e.append("div").attr("class","francy-table-cell").text(r.data.messages[t].title),e.append("div").attr("class","francy-table-cell").text(r.data.messages[t].text)}),this.element.style("display","block"),t.abrupt("return",this);case 10:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},{key:"unrender",value:function(){this.element&&(this.element.selectAll("*").remove(),this.element.style("display",null))}}]),e}()).prototype,"render",[r],Object.getOwnPropertyDescriptor(o.prototype,"render"),o.prototype),o);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=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}}(),o=function(t){return t&&t.__esModule?t:{default:t}}(n(24));var i=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,i=t.callbackHandler;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:i}));return a.overlay=void 0,a.holder=void 0,a}return function(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)}(e,o.default),r(e,[{key:"_initialize",value:function(){this.overlay=d3.select("body").append("div").attr("class","francy-overlay"),this.holder=d3.select("body").append("div").attr("class","francy")}},{key:"unrender",value:function(){this.overlay.remove(),this.element.remove(),this.holder.remove()}}]),e}();e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o,i=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=c(n(73)),u=c(n(160));function c(t){return t&&t.__esModule?t:{default:t}}var s=(r=n(9).Decorators.Data.requires("callback"),function(t,e,n,r,o){var i={};Object.keys(r).forEach(function(t){i[t]=r[t]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(n,r){return r(t,e,n)||n},i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(t,e,i),i=null)}((o=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,i=t.callbackHandler;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:i}));return a.callback=i,a}return function(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)}(e,a.default),i(e,[{key:"execute",value:function(){var t=function(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){return function r(o,i){try{var a=e[o](i),u=a.value}catch(t){return void n(t)}if(!a.done)return Promise.resolve(u).then(function(t){r("next",t)},function(t){r("throw",t)});t(u)}("next")})}}(regeneratorRuntime.mark(function t(){var e,n,r=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!Object.keys(this.data.callback.requiredArgs).length){t.next=7;break}return(e=this.options).callbackHandler=function(t){return r._execute.call(r,t)},n=new u.default(e),t.next=6,this.handlePromise(n.load(this.data,!0).render());case 6:return t.abrupt("return",t.sent);case 7:return t.next=9,this._execute(this.data.callback);case 9:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},{key:"_execute",value:function(t){this.callback("Trigger("+JSON.stringify(JSON.stringify(t))+");")}}]),e}()).prototype,"execute",[r],Object.getOwnPropertyDescriptor(o.prototype,"execute"),o.prototype),o);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=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}}(),o=a(n(24)),i=a(n(102));function a(t){return t&&t.__esModule?t:{default:t}}var u=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,i=t.callbackHandler;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:i}))}return function(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)}(e,o.default),r(e,[{key:"traverse",value:function(t,e){for(var n=this;e.hasNext();){var r=e.next(),o=t.append("li"),a=o.selectAll("a").data([r]).enter().append("a").attr("title",r.title).html(r.title);if(r.callback&&Object.values(r.callback).length&&a.on("click",function(t){return new i.default(n.options).load(t,!0).execute()}),r.menus&&Object.values(r.menus).length>0){var u=o.append("ul"),c=this.iterator(Object.values(r.menus));this.traverse(u,c)}}}},{key:"iterator",value:function(t){var e=0;return{next:function(){return this.hasNext()?t[e++]:void 0},hasNext:function(){return e<t.length}}}},{key:"unrender",value:function(){}}]),e}();e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=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}}(),o=c(n(24)),i=c(n(161)),a=c(n(100)),u=c(n(102));function c(t){return t&&t.__esModule?t:{default:t}}var s=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,c=t.callbackHandler;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var s=function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:c}));return s.tooltip=new a.default(s.options),s.contextMenu=new i.default(s.options),s.callback=new u.default(s.options),s}return function(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)}(e,o.default),r(e,[{key:"_initialize",value:function(){this.element=this.parent.select("g.francy-content")}},{key:"_applyEvents",value:function(t){if(t){var e=this;t.on("contextmenu",function(t){var r=t.data||t;e.handlePromise(e.contextMenu.load(r,!0).render()),n.call(this,r,"contextmenu")}).on("click",function(t){var e=t.data||t;t.selected=!t.selected,n.call(this,e,"click")}).on("dblclick",function(t){var e=t.data||t;n.call(this,e,"dblclick")}).on("mouseover",function(t){var n=t.data||t;n.messages&&(e.handlePromise(e.tooltip.load({messages:n.messages},!0).render()),e.handlePromise(e.mathjax.settings({appendTo:e.tooltip,renderType:"HTML-CSS"}).render()))}).on("mouseout",function(){e.tooltip.unrender()})}function n(t,n){t.callbacks&&Object.values(t.callbacks).forEach(function(t){t.trigger===n&&e.callback.load({callback:t},!0).execute()})}}},{key:"setLabelXPosition",value:function(t){var e=t.getBBox();return-Math.ceil(e.width/2)}},{key:"setLabelYPosition",value:function(t){var e=t.getBBox();return Math.floor(e.height/2)}}],[{key:"linkXPos",value:function(t,n){return Math.cos(e.angle(t,n))+(t.x+n.x)/2}},{key:"linkYPos",value:function(t,n){return Math.sin(e.angle(t,n))+(t.y+n.y)/2}},{key:"angle",value:function(t,e){return Math.atan2(e.y-t.y,e.x-t.x)}},{key:"getSymbol",value:function(t){var e=void 0;switch(t){case"cross":e=d3.symbolCross;break;case"diamond":e=d3.symbolDiamond;break;case"square":e=d3.symbolSquare;break;case"triangle":e=d3.symbolTriangle;break;case"star":e=d3.symbolStar;break;case"wye":e=d3.symbolWye;break;case"circle":default:e=d3.symbolCircle}return e}},{key:"colors",get:function(){return d3.scaleSequential().domain([0,100]).interpolator(d3.interpolateRainbow)}}]),e}();e.default=s},function(t,e,n){"use strict";function r(t){function e(){var e=Reflect.construct(t,Array.from(arguments));return Object.setPrototypeOf(e,Object.getPrototypeOf(this)),e}return e.prototype=Object.create(t.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t,e}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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)}function u(t){function e(){var e=Reflect.construct(t,Array.from(arguments));return Object.setPrototypeOf(e,Object.getPrototypeOf(this)),e}return e.prototype=Object.create(t.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t,e}Object.defineProperty(e,"__esModule",{value:!0});e.Exception=function(t){function e(t){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t))}return a(e,u(Error)),e}(),e.RuntimeException=function(t){function e(t){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t))}return a(e,r(Error)),e}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=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}}(),o=function(t){return t&&t.__esModule?t:{default:t}}(n(24));var i=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,i=t.callbackHandler;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:i}));if(new.target===e)throw new TypeError("Cannot instantiate [Composite] classes directly!");return a.renderers=[],a}return function(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)}(e,o.default),r(e,[{key:"add",value:function(t){return t&&this.renderers.push(t),this}},{key:"renderChildren",value:function(){var t=function(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){return function r(o,i){try{var a=e[o](i),u=a.value}catch(t){return void n(t)}if(!a.done)return Promise.resolve(u).then(function(t){r("next",t)},function(t){r("throw",t)});t(u)}("next")})}}(regeneratorRuntime.mark(function t(){var e,n,r,o,i,a;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e=!0,n=!1,r=void 0,t.prev=3,o=this.renderers[Symbol.iterator]();case 5:if(e=(i=o.next()).done){t.next=12;break}return a=i.value,t.next=9,this.handlePromise(a.settings({appendTo:this}).load(this.data).render());case 9:e=!0,t.next=5;break;case 12:t.next=18;break;case 14:t.prev=14,t.t0=t.catch(3),n=!0,r=t.t0;case 18:t.prev=18,t.prev=19,!e&&o.return&&o.return();case 21:if(t.prev=21,!n){t.next=24;break}throw r;case 24:return t.finish(21);case 25:return t.finish(18);case 26:this.ready=!0;case 27:case"end":return t.stop()}},t,this,[[3,14,18,26],[19,,21,25]])}));return function(){return t.apply(this,arguments)}}()}]),e}();e.default=i},function(t,e,n){"use strict";t.exports=Math.scale||function(t,e,n,r,o){return 0===arguments.length||t!=t||e!=e||n!=n||r!=r||o!=o?NaN:t===1/0||t===-1/0?t:(t-e)*(o-r)/(n-e)+r}},function(t,e,n){"use strict";var r=n(37);t.exports=function(t,e){var n=[];return r(t,!1,n.push,n,e),n}},function(t,e,n){"use strict";var r=n(52),o=n(108);t.exports=function(t){return function(){if(r(this)!=t)throw TypeError(t+"#toJSON isn't generic");return o(this)}}},function(t,e,n){"use strict";var r=n(43),o=n(18),i=n(53).f;t.exports=function(t){return function(e){for(var n,a=o(e),u=r(a),c=u.length,s=0,f=[];c>s;)i.call(a,n=u[s++])&&f.push(t?[n,a[n]]:a[n]);return f}}},function(t,e,n){"use strict";var r=n(6),o=n(91),i=n(28);t.exports=function(t,e,n,a){var u=String(i(t)),c=u.length,s=void 0===n?" ":String(n),f=r(e);if(f<=c||""==s)return u;var l=f-c,p=o.call(s,Math.ceil(l/s.length));return p.length>l&&(p=p.slice(0,l)),a?p+u:u+p}},function(t,e,n){"use strict";var r=n(66),o=n(4),i=n(6),a=n(22),u=n(5)("isConcatSpreadable");t.exports=function t(e,n,c,s,f,l,p,d){for(var h,v,y=f,b=0,g=!!p&&a(p,d,3);b<s;){if(b in c){if(h=g?g(c[b],b,n):c[b],v=!1,o(h)&&(v=void 0!==(v=h[u])?!!v:r(h)),v&&l>0)y=t(e,n,h,i(h.length),y,l-1)-1;else{if(y>=9007199254740991)throw TypeError();e[y]=h}y++}b++}return y}},function(t,e,n){"use strict";var r=n(40),o=n(67),i=n(1),a=n(2).Reflect;t.exports=a&&a.ownKeys||function(t){var e=r.f(i(t)),n=o.f;return n?e.concat(n(t)):e}},function(t,e,n){"use strict";var r=n(27),o=n(6);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=o(e);if(e!==n)throw RangeError("Wrong length!");return n}},function(t,e,n){"use strict";var r=n(36),o=n(35).getWeak,i=n(1),a=n(4),u=n(38),c=n(37),s=n(25),f=n(19),l=n(47),p=s(5),d=s(6),h=0,v=function(t){return t._l||(t._l=new y)},y=function(){this.a=[]},b=function(t,e){return p(t.a,function(t){return t[0]===e})};y.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=d(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,i){var s=t(function(t,r){u(t,s,e,"_i"),t._t=e,t._i=h++,t._l=void 0,void 0!=r&&c(r,n,t[i],t)});return r(s.prototype,{delete:function(t){if(!a(t))return!1;var n=o(t);return!0===n?v(l(this,e)).delete(t):n&&f(n,this._i)&&delete n[this._i]},has:function(t){if(!a(t))return!1;var n=o(t);return!0===n?v(l(this,e)).has(t):n&&f(n,this._i)}}),s},def:function(t,e,n){var r=o(i(e),!0);return!0===r?v(t).set(e,n):r[t._i]=n,t},ufstore:v}},function(t,e,n){"use strict";var r,o=n(25)(0),i=n(13),a=n(35),u=n(135),c=n(115),s=n(4),f=n(3),l=n(47),p=a.getWeak,d=Object.isExtensible,h=c.ufstore,v={},y=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},b={get:function(t){if(s(t)){var e=p(t);return!0===e?h(l(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return c.def(l(this,"WeakMap"),t,e)}},g=t.exports=n(59)("WeakMap",y,b,c,!0,!0);f(function(){return 7!=(new g).set((Object.freeze||Object)(v),7).get(v)})&&(u((r=c.getConstructor(y,"WeakMap")).prototype,b),a.NEED=!0,o(["delete","has","get","set"],function(t){var e=g.prototype,n=e[t];i(e,t,function(e,o){if(s(e)&&!d(e)){this._f||(this._f=new r);var i=this._f[t](e,o);return"set"==t?this:i}return n.call(this,e,o)})}))},function(t,e,n){"use strict";var r=n(118),o=n(47);t.exports=n(59)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(o(this,"Set"),t=0===t?0:t,t)}},r)},function(t,e,n){"use strict";var r=n(7).f,o=n(41),i=n(36),a=n(22),u=n(38),c=n(37),s=n(87),f=n(123),l=n(39),p=n(8),d=n(35).fastKey,h=n(47),v=p?"_s":"size",y=function(t,e){var n,r=d(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,s){var f=t(function(t,r){u(t,f,e,"_i"),t._t=e,t._i=o(null),t._f=void 0,t._l=void 0,t[v]=0,void 0!=r&&c(r,n,t[s],t)});return i(f.prototype,{clear:function(){for(var t=h(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[v]=0},delete:function(t){var n=h(this,e),r=y(n,t);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[v]--}return!!r},forEach:function(t){h(this,e);for(var n,r=a(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!y(h(this,e),t)}}),p&&r(f.prototype,"size",{get:function(){return h(this,e)[v]}}),f},def:function(t,e,n){var r,o,i=y(t,e);return i?i.v=n:(t._l=i={i:o=d(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[v]++,"F"!==o&&(t._i[o]=i)),t},getEntry:y,setStrong:function(t,e,n){s(t,e,function(t,n){this._t=h(t,e),this._k=n,this._l=void 0},function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?f(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,f(1))},n?"entries":"values",!n,!0),l(e)}}},function(t,e,n){"use strict";var r=n(118),o=n(47);t.exports=n(59)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=r.getEntry(o(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(o(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){"use strict";var r=n(1),o=n(4),i=n(75);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){"use strict";n(8)&&"g"!=/./g.flags&&n(7).f(RegExp.prototype,"flags",{configurable:!0,get:n(63)})},function(t,e,n){"use strict";t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var r=n(10),o=n(42),i=n(6);t.exports=[].copyWithin||function(t,e){var n=r(this),a=i(n.length),u=o(t,a),c=o(e,a),s=arguments.length>2?arguments[2]:void 0,f=Math.min((void 0===s?a:o(s,a))-c,a-u),l=1;for(c<u&&u<c+f&&(l=-1,c+=f-1,u+=f-1);f-- >0;)c in n?n[u]=n[c]:delete n[u],u+=l,c+=l;return n}},function(t,e,n){"use strict";var r=n(11),o=n(10),i=n(54),a=n(6);t.exports=function(t,e,n,u,c){r(e);var s=o(t),f=i(s),l=a(s.length),p=c?l-1:0,d=c?-1:1;if(n<2)for(;;){if(p in f){u=f[p],p+=d;break}if(p+=d,c?p<0:l<=p)throw TypeError("Reduce of empty array with no initial value")}for(;c?p>=0:l>p;p+=d)p in f&&(u=e(u,f[p],p,s));return u}},function(t,e,n){"use strict";var r=n(1);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){"use strict";var r=n(90),o=Math.pow,i=o(2,-52),a=o(2,-23),u=o(2,127)*(2-a),c=o(2,-126);t.exports=Math.fround||function(t){var e,n,o=Math.abs(t),s=r(t);return o<c?s*function(t){return t+1/i-1/i}(o/c/a)*c*a:(n=(e=(1+a/i)*o)-(e-o))>u||n!=n?s*(1/0):s*n}},function(t,e,n){"use strict";t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){"use strict";var r=n(4),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},function(t,e,n){"use strict";var r=n(21);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},function(t,e,n){"use strict";var r=n(2).parseFloat,o=n(49).trim;t.exports=1/r(n(93)+"-0")!=-1/0?function(t){var e=o(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},function(t,e,n){"use strict";var r=n(2).parseInt,o=n(49).trim,i=n(93),a=/^[-+]?0[xX]/;t.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(t,e){var n=o(String(t),3);return r(n,e>>>0||(a.test(n)?16:10))}:r},function(t,e,n){"use strict";t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){"use strict";var r=n(11),o=n(4),i=n(133),a=[].slice,u={};t.exports=Function.bind||function(t){var e=r(this),n=a.call(arguments,1),c=function r(){var o=n.concat(a.call(arguments));return this instanceof r?function(t,e,n){if(!(e in u)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";u[e]=Function("F,a","return new F("+r.join(",")+")")}return u[e](t,n)}(e,o.length,o):i(e,o,t)};return o(e.prototype)&&(c.prototype=e.prototype),c}},function(t,e,n){"use strict";var r=n(43),o=n(67),i=n(53),a=n(10),u=n(54),c=Object.assign;t.exports=!c||n(3)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r})?function(t,e){for(var n=a(t),c=arguments.length,s=1,f=o.f,l=i.f;c>s;)for(var p,d=u(arguments[s++]),h=f?r(d).concat(f(d)):r(d),v=h.length,y=0;v>y;)l.call(d,p=h[y++])&&(n[p]=d[p]);return n}:c},function(t,e,n){"use strict";var r="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},o=n(18),i=n(40).f,a={}.toString,u="object"==("undefined"==typeof window?"undefined":r(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==a.call(t)?function(t){try{return i(t)}catch(t){return u.slice()}}(t):i(o(t))}},function(t,e,n){"use strict";var r=n(7),o=n(1),i=n(43);t.exports=n(8)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),u=a.length,c=0;u>c;)r.f(t,n=a[c++],e[n]);return t}},function(t,e,n){"use strict";var r=n(19),o=n(18),i=n(68)(!1),a=n(97)("IE_PROTO");t.exports=function(t,e){var n,u=o(t),c=0,s=[];for(n in u)n!=a&&r(u,n)&&s.push(n);for(;e.length>c;)r(u,n=e[c++])&&(~i(s,n)||s.push(n));return s}},function(t,e,n){"use strict";e.f=n(5)},function(t,e,n){"use strict";t.exports=!n(8)&&!n(3)(function(){return 7!=Object.defineProperty(n(99)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";var r,o="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};r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(t){"object"===("undefined"==typeof window?"undefined":o(window))&&(r=window)}t.exports=r},function(t,e){},function(t,e,n){"use strict";(function(t){var r,o="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};!function(i,a){var u,c=this,s=256,f=6,l="random",p=a.pow(s,f),d=a.pow(2,52),h=2*d,v=s-1;function y(t,e,n){var r=[],y=g(function t(e,n){var r,i=[],a=void 0===e?"undefined":o(e);if(n&&"object"==a)for(r in e)try{i.push(t(e[r],n-1))}catch(t){}return i.length?i:"string"==a?e:e+"\0"}((e=1==e?{entropy:!0}:e||{}).entropy?[t,m(i)]:null==t?function(){try{var t;return u&&(t=u.randomBytes)?t=t(s):(t=new Uint8Array(s),(c.crypto||c.msCrypto).getRandomValues(t)),m(t)}catch(t){var e=c.navigator,n=e&&e.plugins;return[+new Date,c,n,c.screen,m(i)]}}():t,3),r),w=new function(t){var e,n=t.length,r=this,o=0,i=r.i=r.j=0,a=r.S=[];n||(t=[n++]);for(;o<s;)a[o]=o++;for(o=0;o<s;o++)a[o]=a[i=v&i+t[o%n]+(e=a[o])],a[i]=e;(r.g=function(t){for(var e,n=0,o=r.i,i=r.j,a=r.S;t--;)e=a[o=v&o+1],n=n*s+a[v&(a[o]=a[i=v&i+e])+(a[i]=e)];return r.i=o,r.j=i,n})(s)}(r),x=function(){for(var t=w.g(f),e=p,n=0;t<d;)t=(t+n)*s,e*=s,n=w.g(1);for(;t>=h;)t/=2,e/=2,n>>>=1;return(t+n)/e};return x.int32=function(){return 0|w.g(4)},x.quick=function(){return w.g(4)/4294967296},x.double=x,g(m(w.S),i),(e.pass||n||function(t,e,n,r){return r&&(r.S&&b(r,w),t.state=function(){return b(w,{})}),n?(a[l]=t,e):t})(x,y,"global"in e?e.global:this==a,e.state)}function b(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function g(t,e){for(var n,r=t+"",o=0;o<r.length;)e[v&o]=v&(n^=19*e[v&o])+r.charCodeAt(o++);return m(e)}function m(t){return String.fromCharCode.apply(0,t)}if(a["seed"+l]=y,g(a.random(),i),"object"==o(t)&&t.exports){t.exports=y;try{u=n(142)}catch(t){}}else void 0===(r=function(){return y}.call(e,n,e,t))||(t.exports=r)}([],Math)}).call(this,n(32)(t))},function(t,e,n){"use strict";(function(t){var r,o="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};!function(t,i,a){function u(t,e){return e.a=t.a,e.b=t.b,e.c=t.c,e.d=t.d,e}function c(t,e){var n=new function(t){var e=this,n="";e.next=function(){var t=e.b,n=e.c,r=e.d,o=e.a;return t=t<<25^t>>>7^n,n=n-r|0,r=r<<24^r>>>8^o,o=o-t|0,e.b=t=t<<20^t>>>12^n,e.c=n=n-r|0,e.d=r<<16^n>>>16^o,e.a=o-t|0},e.a=0,e.b=0,e.c=-1640531527,e.d=1367130551,t===Math.floor(t)?(e.a=t/4294967296|0,e.b=0|t):n+=t;for(var r=0;r<n.length+20;r++)e.b^=0|n.charCodeAt(r),e.next()}(t),r=e&&e.state,i=function(){return(n.next()>>>0)/4294967296};return i.double=function(){do{var t=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},i.int32=n.next,i.quick=i,r&&("object"==(void 0===r?"undefined":o(r))&&u(r,n),i.state=function(){return u(n,{})}),i}i&&i.exports?i.exports=c:n(15)&&n(46)?void 0===(r=function(){return c}.call(e,n,e,i))||(i.exports=r):this.tychei=c}(0,"object"==o(t)&&t,n(15))}).call(this,n(32)(t))},function(t,e,n){"use strict";(function(t){var r;!function(t,o,i){function a(t,e){return e.i=t.i,e.w=t.w,e.X=t.X.slice(),e}function u(t,e){null==t&&(t=+new Date);var n=new function(t){var e=this;e.next=function(){var t,n,r=e.w,o=e.X,i=e.i;return e.w=r=r+1640531527|0,n=o[i+34&127],t=o[i=i+1&127],n^=n<<13,t^=t<<17,n^=n>>>15,t^=t>>>12,n=o[i]=n^t,e.i=i,n+(r^r>>>16)|0},function(t,e){var n,r,o,i,a,u=[],c=128;for(e===(0|e)?(r=e,e=null):(e+="\0",r=0,c=Math.max(c,e.length)),o=0,i=-32;i<c;++i)e&&(r^=e.charCodeAt((i+32)%e.length)),0===i&&(a=r),r^=r<<10,r^=r>>>15,r^=r<<4,r^=r>>>13,i>=0&&(a=a+1640531527|0,o=0==(n=u[127&i]^=r+a)?o+1:0);for(o>=128&&(u[127&(e&&e.length||0)]=-1),o=127,i=512;i>0;--i)r=u[o+34&127],n=u[o=o+1&127],r^=r<<13,n^=n<<17,r^=r>>>15,n^=n>>>12,u[o]=r^n;t.w=a,t.X=u,t.i=o}(e,t)}(t),r=e&&e.state,o=function(){return(n.next()>>>0)/4294967296};return o.double=function(){do{var t=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},o.int32=n.next,o.quick=o,r&&(r.X&&a(r,n),o.state=function(){return a(n,{})}),o}o&&o.exports?o.exports=u:n(15)&&n(46)?void 0===(r=function(){return u}.call(e,n,e,o))||(o.exports=r):this.xor4096=u}(0,"object"==("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})(t)&&t,n(15))}).call(this,n(32)(t))},function(t,e,n){"use strict";(function(t){var r;!function(t,o,i){function a(t,e){return e.x=t.x.slice(),e.i=t.i,e}function u(t,e){null==t&&(t=+new Date);var n=new function(t){var e=this;e.next=function(){var t,n,r=e.x,o=e.i;return t=r[o],n=(t^=t>>>7)^t<<24,n^=(t=r[o+1&7])^t>>>10,n^=(t=r[o+3&7])^t>>>3,n^=(t=r[o+4&7])^t<<7,t=r[o+7&7],n^=(t^=t<<13)^t<<9,r[o]=n,e.i=o+1&7,n},function(t,e){var n,r=[];if(e===(0|e))r[0]=e;else for(e=""+e,n=0;n<e.length;++n)r[7&n]=r[7&n]<<15^e.charCodeAt(n)+r[n+1&7]<<13;for(;r.length<8;)r.push(0);for(n=0;n<8&&0===r[n];++n);for(8==n?r[7]=-1:r[n],t.x=r,t.i=0,n=256;n>0;--n)t.next()}(e,t)}(t),r=e&&e.state,o=function(){return(n.next()>>>0)/4294967296};return o.double=function(){do{var t=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},o.int32=n.next,o.quick=o,r&&(r.x&&a(r,n),o.state=function(){return a(n,{})}),o}o&&o.exports?o.exports=u:n(15)&&n(46)?void 0===(r=function(){return u}.call(e,n,e,o))||(o.exports=r):this.xorshift7=u}(0,"object"==("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})(t)&&t,n(15))}).call(this,n(32)(t))},function(t,e,n){"use strict";(function(t){var r,o="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};!function(t,i,a){function u(t,e){return e.x=t.x,e.y=t.y,e.z=t.z,e.w=t.w,e.v=t.v,e.d=t.d,e}function c(t,e){var n=new function(t){var e=this,n="";e.next=function(){var t=e.x^e.x>>>2;return e.x=e.y,e.y=e.z,e.z=e.w,e.w=e.v,(e.d=e.d+362437|0)+(e.v=e.v^e.v<<4^t^t<<1)|0},e.x=0,e.y=0,e.z=0,e.w=0,e.v=0,t===(0|t)?e.x=t:n+=t;for(var r=0;r<n.length+64;r++)e.x^=0|n.charCodeAt(r),r==n.length&&(e.d=e.x<<10^e.x>>>4),e.next()}(t),r=e&&e.state,i=function(){return(n.next()>>>0)/4294967296};return i.double=function(){do{var t=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},i.int32=n.next,i.quick=i,r&&("object"==(void 0===r?"undefined":o(r))&&u(r,n),i.state=function(){return u(n,{})}),i}i&&i.exports?i.exports=c:n(15)&&n(46)?void 0===(r=function(){return c}.call(e,n,e,i))||(i.exports=r):this.xorwow=c}(0,"object"==o(t)&&t,n(15))}).call(this,n(32)(t))},function(t,e,n){"use strict";(function(t){var r,o="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};!function(t,i,a){function u(t,e){return e.x=t.x,e.y=t.y,e.z=t.z,e.w=t.w,e}function c(t,e){var n=new function(t){var e=this,n="";e.x=0,e.y=0,e.z=0,e.w=0,e.next=function(){var t=e.x^e.x<<11;return e.x=e.y,e.y=e.z,e.z=e.w,e.w^=e.w>>>19^t^t>>>8},t===(0|t)?e.x=t:n+=t;for(var r=0;r<n.length+64;r++)e.x^=0|n.charCodeAt(r),e.next()}(t),r=e&&e.state,i=function(){return(n.next()>>>0)/4294967296};return i.double=function(){do{var t=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},i.int32=n.next,i.quick=i,r&&("object"==(void 0===r?"undefined":o(r))&&u(r,n),i.state=function(){return u(n,{})}),i}i&&i.exports?i.exports=c:n(15)&&n(46)?void 0===(r=function(){return c}.call(e,n,e,i))||(i.exports=r):this.xor128=c}(0,"object"==o(t)&&t,n(15))}).call(this,n(32)(t))},function(t,e,n){"use strict";(function(t){var r,o="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};!function(t,i,a){function u(t,e){return e.c=t.c,e.s0=t.s0,e.s1=t.s1,e.s2=t.s2,e}function c(t,e){var n=new function(t){var e=this,n=function(){var t=4022871197;return function(e){e=e.toString();for(var n=0;n<e.length;n++){var r=.02519603282416938*(t+=e.charCodeAt(n));r-=t=r>>>0,t=(r*=t)>>>0,t+=4294967296*(r-=t)}return 2.3283064365386963e-10*(t>>>0)}}();e.next=function(){var t=2091639*e.s0+2.3283064365386963e-10*e.c;return e.s0=e.s1,e.s1=e.s2,e.s2=t-(e.c=0|t)},e.c=1,e.s0=n(" "),e.s1=n(" "),e.s2=n(" "),e.s0-=n(t),e.s0<0&&(e.s0+=1),e.s1-=n(t),e.s1<0&&(e.s1+=1),e.s2-=n(t),e.s2<0&&(e.s2+=1),n=null}(t),r=e&&e.state,i=n.next;return i.int32=function(){return 4294967296*n.next()|0},i.double=function(){return i()+1.1102230246251565e-16*(2097152*i()|0)},i.quick=i,r&&("object"==(void 0===r?"undefined":o(r))&&u(r,n),i.state=function(){return u(n,{})}),i}i&&i.exports?i.exports=c:n(15)&&n(46)?void 0===(r=function(){return c}.call(e,n,e,i))||(i.exports=r):this.alea=c}(0,"object"==o(t)&&t,n(15))}).call(this,n(32)(t))},function(t,e,n){"use strict";var r=n(149),o=n(148),i=n(147),a=n(146),u=n(145),c=n(144),s=n(143);s.alea=r,s.xor128=o,s.xorwow=i,s.xorshift7=a,s.xor4096=u,s.tychei=c,t.exports=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o,i=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(t){return t&&t.__esModule?t:{default:t}}(n(24));var u=(r=n(9).Decorators.Data.requires("canvas.messages"),function(t,e,n,r,o){var i={};Object.keys(r).forEach(function(t){i[t]=r[t]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(n,r){return r(t,e,n)||n},i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(t,e,i),i=null)}((o=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,i=t.callbackHandler;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:i}))}return function(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)}(e,a.default),i(e,[{key:"render",value:function(){var t=function(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){return function r(o,i){try{var a=e[o](i),u=a.value}catch(t){return void n(t)}if(!a.done)return Promise.resolve(u).then(function(t){r("next",t)},function(t){r("throw",t)});t(u)}("next")})}}(regeneratorRuntime.mark(function t(){var e,n,r,o,i=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=Object.keys(this.data.canvas.messages).map(function(t){return{id:t,type:i.data.canvas.messages[t].type,title:i.data.canvas.messages[t].title,text:i.data.canvas.messages[t].text}}),n="Messages-"+this.data.canvas.id,this.element=d3.select("#"+n),this.element.node()||(this.element=this.parent.append("div").attr("class","francy-message-holder").attr("id",n)),r=this.element.selectAll("div.francy-alert").data(e,function(t){return t.id}),(o=r.enter().append("div").attr("id",function(t){return t.id}).attr("class",function(t){return"francy-alert alert-"+t.type}).on("click",function(){d3.select(this).style("display","none")})).append("span").attr("class","strong").text(function(t){return t.title}),o.append("span").text(function(t){return t.text}),o.append("span").attr("class","strong closeme").style("display","none").text("x"),o.merge(r),r.exit().remove(),this.element.style("display","block"),this.handlePromise(this.mathjax.settings({appendTo:this,renderType:"HTML-CSS"}).render()),t.abrupt("return",this);case 14:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},{key:"unrender",value:function(){}}]),e}()).prototype,"render",[r],Object.getOwnPropertyDescriptor(o.prototype,"render"),o.prototype),o);e.default=u},function(t,e,n){"use strict";var r;!function(){var o=void 0!==e&&e||{}||this;void 0===(r=function(){return o}.call(e,n,e,t))||(t.exports=r);var i="http://www.w3.org/2000/xmlns/",a=/url\(["']?(.+?)["']?\)/,u={woff2:"font/woff2",woff:"font/woff",otf:"application/x-font-opentype",ttf:"application/x-font-ttf",eot:"application/vnd.ms-fontobject",sfnt:"application/font-sfnt",svg:"image/svg+xml"},c=function(t){if(!function(t){return t instanceof HTMLElement||t instanceof SVGElement}(t))throw new Error("an HTMLElement or SVGElement is required; got "+t)},s=function(t,e,n){var r=t.viewBox&&t.viewBox.baseVal&&t.viewBox.baseVal[n]||null!==e.getAttribute(n)&&!e.getAttribute(n).match(/%$/)&&parseInt(e.getAttribute(n))||t.getBoundingClientRect()[n]||parseInt(e.style[n])||parseInt(window.getComputedStyle(t).getPropertyValue(n));return void 0===r||null===r||isNaN(parseFloat(r))?0:r},f=function(t){for(var e=window.atob(t.split(",")[1]),n=t.split(",")[0].split(":")[1].split(";")[0],r=new ArrayBuffer(e.length),o=new Uint8Array(r),i=0;i<e.length;i++)o[i]=e.charCodeAt(i);return new Blob([r],{type:n})},l=function(t){var e=t.cssText.match(a),n=e&&e[1]||"";if(n&&!n.match(/^data:/)&&"about:blank"!==n){var r=n.startsWith("../")?t.href+"/../"+n:n.startsWith("./")?t.href+"/."+n:n;return{text:t.cssText,format:function(t){var e=Object.keys(u).filter(function(e){return t.indexOf("."+e)>0}).map(function(t){return u[t]});return e?e[0]:(console.error("Unknown font format for "+t+". Fonts may not be working correctly."),"application/octet-stream")}(r),url:r}}},p=function(t){return Promise.all(Array.from(t.querySelectorAll("image")).map(function(t){var e=t.getAttributeNS("http://www.w3.org/1999/xlink","href")||t.getAttribute("href");return e?(function(t){return t&&0===t.lastIndexOf("http",0)&&-1===t.lastIndexOf(window.location.host)}(e)&&(e+=(-1===e.indexOf("?")?"?":"&")+"t="+(new Date).valueOf()),new Promise(function(n,r){var o=document.createElement("canvas"),i=new Image;i.crossOrigin="anonymous",i.src=e,i.onerror=function(){return r(new Error("Could not load "+e))},i.onload=function(){o.width=i.width,o.height=i.height,o.getContext("2d").drawImage(i,0,0),t.setAttributeNS("http://www.w3.org/1999/xlink","href",o.toDataURL("image/png")),n(!0)}})):Promise.resolve(null)}))},d={},h=function(t){return Promise.all(t.map(function(t){return new Promise(function(e,n){if(d[t.url])return e(d[t.url]);var r=new XMLHttpRequest;r.addEventListener("load",function(){var n=function(t){for(var e="",n=new Uint8Array(t),r=0;r<n.byteLength;r++)e+=String.fromCharCode(n[r]);return window.btoa(e)}(r.response),o=t.text.replace(a,'url("data:'+t.format+";base64,"+n+'")')+"\n";d[t.url]=o,e(o)}),r.addEventListener("error",function(n){console.warn("Failed to load font from: "+t.url,n),d[t.url]=null,e(null)}),r.addEventListener("abort",function(n){console.warn("Aborted loading font from: "+t.url,n),e(null)}),r.open("GET",t.url),r.responseType="arraybuffer",r.send()})})).then(function(t){return t.filter(function(t){return t}).join("")})},v=null,y=function(t,e){var n=e||{},r=n.selectorRemap,o=n.modifyStyle,i=n.modifyCss,a=n.fonts,u=i||function(t,e){return(r?r(t):t)+"{"+(o?o(e):e)+"}\n"},c=[],s=void 0===a,f=a||[];return(v||(v=Array.from(document.styleSheets).map(function(t){try{return t.cssRules}catch(e){console.warn("Stylesheet could not be loaded: "+t.href)}}))).forEach(function(e){e&&Array.from(e).forEach(function(e){if(void 0!==e.style)if(function(t,e){if(e)try{return t.querySelector(e)||t.parentNode&&t.parentNode.querySelector(e)}catch(t){console.warn('Invalid CSS selector "'+e+'"',t)}}(t,e.selectorText))c.push(u(e.selectorText,e.style.cssText));else if(s&&e.cssText.match(/^@font-face/)){var n=l(e);n&&f.push(n)}else c.push(e.cssText)})}),h(f).then(function(t){return c.join("\n")+t})};o.prepareSvg=function(t,e,n){c(t);var r=e||{},o=r.left,a=void 0===o?0:o,u=r.top,f=void 0===u?0:u,l=r.width,d=r.height,h=r.scale,v=void 0===h?1:h,b=r.responsive,g=void 0!==b&&b;return p(t).then(function(){var r=t.cloneNode(!0),o=function(t,e,n,r){if("svg"===t.tagName)return{width:n||s(t,e,"width"),height:r||s(t,e,"height")};if(t.getBBox){var o=t.getBBox(),i=o.x,a=o.y;return{width:i+o.width,height:a+o.height}}}(t,r,l,d),u=o.width,c=o.height;if("svg"!==t.tagName){if(!t.getBBox)return void console.error("Attempted to render non-SVG element",t);r.setAttribute("transform",r.getAttribute("transform").replace(/translate\(.*?\)/,""));var p=document.createElementNS("http://www.w3.org/2000/svg","svg");p.appendChild(r),r=p}return r.setAttribute("version","1.1"),r.setAttribute("viewBox",[a,f,u,c].join(" ")),r.getAttribute("xmlns")||r.setAttributeNS(i,"xmlns","http://www.w3.org/2000/svg"),r.getAttribute("xmlns:xlink")||r.setAttributeNS(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),g?(r.removeAttribute("width"),r.removeAttribute("height"),r.setAttribute("preserveAspectRatio","xMinYMin meet")):(r.setAttribute("width",u*v),r.setAttribute("height",c*v)),Array.from(r.querySelectorAll("foreignObject > *")).forEach(function(t){t.getAttribute("xmlns")||t.setAttributeNS(i,"xmlns","http://www.w3.org/1999/xhtml")}),y(t,e).then(function(t){var e=document.createElement("style");e.setAttribute("type","text/css"),e.innerHTML="<![CDATA[\n"+t+"\n]]>";var o=document.createElement("defs");o.appendChild(e),r.insertBefore(o,r.firstChild);var i=document.createElement("div");i.appendChild(r);var a=i.innerHTML.replace(/NS\d+:href/gi,'xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href');if(!n)return Promise.resolve({html:a,width:u,height:c});n(a,u,c)})})},o.svgAsDataUri=function(t,e,n){c(t);var r=o.prepareSvg(t,e).then(function(t){var e=t.html;return"data:image/svg+xml;base64,"+window.btoa(function(t){return decodeURIComponent(encodeURIComponent(t).replace(/%([0-9A-F]{2})/g,function(t,e){var n=String.fromCharCode("0x"+e);return"%"===n?"%25":n}))}('<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [<!ENTITY nbsp "&#160;">]>'+e))});return n?r.then(n):r},o.svgAsPngUri=function(t,e,n){c(t);var r=e||{},i=r.encoderType,a=void 0===i?"image/png":i,u=r.encoderOptions,s=void 0===u?.8:u,f=r.backgroundColor,l=r.canvg,p=function(t,e,r){var o=document.createElement("canvas"),i=o.getContext("2d"),u=window.devicePixelRatio||1;o.width=e*u,o.height=r*u,o.style.width=o.width+"px",o.style.height=o.height+"px",i.setTransform(u,0,0,u,0,0),l?l(o,t):i.drawImage(t,0,0),f&&(i.globalCompositeOperation="destination-over",i.fillStyle=f,i.fillRect(0,0,o.width,o.height));var c=void 0;try{c=o.toDataURL(a,s)}catch(t){if("undefined"!=typeof SecurityError&&t instanceof SecurityError||"SecurityError"===t.name)return void console.error("Rendered SVG images cannot be downloaded in this browser.");throw t}n(c)};l?o.prepareSvg(t,e,p):o.svgAsDataUri(t,e,function(t){var e=new Image;e.onload=function(){return p(e,e.width,e.height)},e.onerror=function(){return console.error("There was an error loading the data URI as an image on the following SVG\n"+window.atob(t.slice(26))+"Open the following link to see browser's diagnosis\n"+t)},e.src=t})},o.download=function(t,e){if(navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(f(e),t);else{var n=document.createElement("a");if("download"in n){n.download=t,n.style.display="none",document.body.appendChild(n);try{var r=f(e),o=URL.createObjectURL(r);n.href=o,n.onclick=function(){return requestAnimationFrame(function(){return URL.revokeObjectURL(o)})}}catch(t){console.warn("This browser does not support object URLs. Falling back to string URL."),n.href=e}n.click(),document.body.removeChild(n)}else window.open(e,"_temp","menubar=no,toolbar=no,status=no")}},o.saveSvg=function(t,e,n){c(t),o.svgAsDataUri(t,n||{},function(t){return o.download(e,t)})},o.saveSvgAsPng=function(t,e,n){c(t),o.svgAsPngUri(t,n||{},function(t){return o.download(e,t)})}}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o,i,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}}(),u=function(t){return t&&t.__esModule?t:{default:t}}(n(101)),c=n(9);var s=(r=c.Decorators.Initializer.initialize(),o=c.Decorators.Data.requires("canvas"),function(t,e,n,r,o){var i={};Object.keys(r).forEach(function(t){i[t]=r[t]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(n,r){return r(t,e,n)||n},i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(t,e,i),i=null)}((i=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,i=t.callbackHandler;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:i}))}return function(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)}(e,u.default),a(e,[{key:"render",value:function(){var t=function(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){return function r(o,i){try{var a=e[o](i),u=a.value}catch(t){return void n(t)}if(!a.done)return Promise.resolve(u).then(function(t){r("next",t)},function(t){r("throw",t)});t(u)}("next")})}}(regeneratorRuntime.mark(function t(){var e,n,r,o=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="AboutModalWindow",this.logger.debug("Creating About Modal ["+e+"]..."),this.element=this.holder.append("div").attr("id",e).attr("class","francy-modal"),n=this.element.append("form"),n.append("div").attr("class","francy-modal-header").append("span").html("About Francy v"+(this.data.version||"N/A")),(r=n.append("div").attr("class","francy-modal-content").append("div").attr("class","francy-table").append("div").attr("class","francy-table-body")).append("span").text("Francy is an interactive discrete mathematics framework for GAP.").append("br").append("br"),r.append("span").text("Developed by Manuel Martins: "),r.append("span").append("a").attr("href","https://github.com/mcmartins/francy").text("Francy on Github"),this.options.verbose&&(r.append("span").text("Loaded Data:"),r.append("pre").attr("class","francy").html(c.Decorators.Highlight.syntax(JSON.stringify(this.data.canvas,null,2)))),n.append("div").attr("class","francy-modal-footer").append("button").text("Ok").on("click",function(){d3.event.preventDefault(),o.unrender.call(o)}),c.Decorators.Jupyter.registerKeyboardEvents([".francy",".francy-arg",".francy-overlay",".francy-modal"]),this.logger.debug("Modal About updated ["+e+"]..."),t.abrupt("return",this);case 16:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()}]),e}()).prototype,"render",[r,o],Object.getOwnPropertyDescriptor(i.prototype,"render"),i.prototype),i);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=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}}(),o=u(n(103)),i=u(n(153)),a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(152));function u(t){return t&&t.__esModule?t:{default:t}}var c=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,i=t.callbackHandler;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:i}))}return function(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)}(e,o.default),r(e,[{key:"render",value:function(){var t=function(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){return function r(o,i){try{var a=e[o](i),u=a.value}catch(t){return void n(t)}if(!a.done)return Promise.resolve(u).then(function(t){r("next",t)},function(t){r("throw",t)});t(u)}("next")})}}(regeneratorRuntime.mark(function t(){var e,n,r,o,u,c,s=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=new i.default(this.options),n="MainMenu-"+this.data.canvas.id,this.element=d3.select("#"+n),this.element.node()||(this.logger.debug("Creating Main Menu ["+n+"]..."),this.element=this.parent.append("div").attr("class","francy-main-menu-holder").attr("id",n)),this.element.selectAll("*").remove(),this.element=this.element.append("ul").attr("class","francy-main-menu"),r="Loader-"+this.data.canvas.id,this.element.append("li").attr("class","francy-loader").append("a").datum({}).attr("id",r).classed("loader",!0),this.data.canvas.title&&this.element.append("li").attr("class","francy-title").append("a").html(this.data.canvas.title),(o=this.element.append("li")).append("a").html("Francy"),(u=o.append("ul")).append("li").append("a").on("click",function(){return s.options.appendTo.canvas.zoomToFit(!0)}).attr("title","Zoom to Fit").html("Zoom to Fit"),u.append("li").append("a").on("click",function(){return a.saveSvgAsPng(s.SVGParent.node(),"diagram.png")}).attr("title","Save to PNG").html("Save to PNG"),u.append("li").append("a").on("click",function(){return s.handlePromise(e.load(s.data).render())}).attr("title","About").html("About"),c=this.iterator(Object.values(this.data.canvas.menus)),this.traverse(this.element,c),this.logger.debug("Main Menu updated ["+n+"]..."),t.abrupt("return",this);case 19:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},{key:"unrender",value:function(){}}]),e}();e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o,i=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(t){return t&&t.__esModule?t:{default:t}}(n(70));var u=(r=n(9).Decorators.Initializer.initialize(),function(t,e,n,r,o){var i={};Object.keys(r).forEach(function(t){i[t]=r[t]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(n,r){return r(t,e,n)||n},i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(t,e,i),i=null)}((o=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,i=t.callbackHandler;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:i}))}return function(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)}(e,a.default),i(e,[{key:"render",value:function(){var t=function(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){return function r(o,i){try{var a=e[o](i),u=a.value}catch(t){return void n(t)}if(!a.done)return Promise.resolve(u).then(function(t){r("next",t)},function(t){r("throw",t)});t(u)}("next")})}}(regeneratorRuntime.mark(function t(){var e,n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return(e=this.element.selectAll("g.francy-scatters")).node()||(e=this.element.append("g").attr("class","francy-scatters")),n=this,this.datasetNames.forEach(function(t,r){var o=e.selectAll(".francy-scatter-"+r).data(n.datasets[t]);o.exit().transition().duration(750).style("fill-opacity",1e-6).remove(),o.enter().append("circle").style("fill",function(){return a.default.colors(5*r)}).attr("class","francy-scatter-"+r).attr("r",5).attr("cx",function(t,e){return n.xScale(e)}).attr("cy",function(t){return n.yScale(t)}).on("mouseenter",function(e){d3.select(this).transition().duration(250).style("fill-opacity",.5).attr("r",10),n.handlePromise(n.tooltip.load(a.default.tooltip(t,e),!0).render())}).on("mouseleave",function(){d3.select(this).transition().duration(250).style("fill-opacity",1).attr("r",5),n.tooltip.unrender()}).merge(o)}),this._renderAxis(),this._renderLegend(),t.abrupt("return",this);case 7:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},{key:"unrender",value:function(){}}]),e}()).prototype,"render",[r],Object.getOwnPropertyDescriptor(o.prototype,"render"),o.prototype),o);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o,i=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(t){return t&&t.__esModule?t:{default:t}}(n(70));var u=(r=n(9).Decorators.Initializer.initialize(),function(t,e,n,r,o){var i={};Object.keys(r).forEach(function(t){i[t]=r[t]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(n,r){return r(t,e,n)||n},i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(t,e,i),i=null)}((o=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,i=t.callbackHandler;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:i}))}return function(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)}(e,a.default),i(e,[{key:"render",value:function(){var t=function(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){return function r(o,i){try{var a=e[o](i),u=a.value}catch(t){return void n(t)}if(!a.done)return Promise.resolve(u).then(function(t){r("next",t)},function(t){r("throw",t)});t(u)}("next")})}}(regeneratorRuntime.mark(function t(){var e,n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return(e=this.element.selectAll("g.francy-lines")).node()||(e=this.element.append("g").attr("class","francy-lines")),n=this,this.datasetNames.forEach(function(t,r){var o=d3.line().x(function(t,e){return n.xScale(e)}).y(function(t){return n.yScale(t)}),i=e.selectAll(".francy-line-"+r).data([n.datasets[t]]);i.exit().transition().duration(750).style("fill-opacity",1e-6).remove(),i.enter().append("path").style("stroke",function(){return a.default.colors(5*r)}).style("stroke-width","5px").attr("class","francy-line-"+r).attr("d",o).on("mouseenter",function(e){d3.select(this).transition().duration(250).style("stroke-opacity",.5).style("stroke-width","10px"),n.handlePromise(n.tooltip.load(a.default.tooltip(t,e),!0).render())}).on("mouseleave",function(){d3.select(this).transition().duration(250).style("stroke-opacity",1).style("stroke-width","5px"),n.tooltip.unrender()}).merge(i)}),this._renderAxis(),this._renderLegend(),t.abrupt("return",this);case 7:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},{key:"unrender",value:function(){}}]),e}()).prototype,"render",[r],Object.getOwnPropertyDescriptor(o.prototype,"render"),o.prototype),o);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o,i=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(t){return t&&t.__esModule?t:{default:t}}(n(70));var u=(r=n(9).Decorators.Initializer.initialize(),function(t,e,n,r,o){var i={};Object.keys(r).forEach(function(t){i[t]=r[t]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(n,r){return r(t,e,n)||n},i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(t,e,i),i=null)}((o=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,i=t.callbackHandler;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:i}))}return function(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)}(e,a.default),i(e,[{key:"render",value:function(){var t=function(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){return function r(o,i){try{var a=e[o](i),u=a.value}catch(t){return void n(t)}if(!a.done)return Promise.resolve(u).then(function(t){r("next",t)},function(t){r("throw",t)});t(u)}("next")})}}(regeneratorRuntime.mark(function t(){var e,n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.xScale=d3.scaleBand().range([0,this.width]).padding(.1).domain(this.axis.x.domain),this.axis.x.domain.length||(this.axis.x.domain=a.default.domainRange(this.allValues.length/this.datasetNames.length),this.xScale.domain(this.axis.x.domain)),(e=this.element.selectAll("g.francy-bars")).node()||(e=this.element.append("g").attr("class","francy-bars")),n=this,this.datasetNames.forEach(function(t,r){var o=e.selectAll(".francy-bar-"+r).data(n.datasets[t]);o.exit().transition().duration(750).style("fill-opacity",1e-6).remove(),o.enter().append("rect").style("fill",function(){return a.default.colors(5*r)}).attr("class","francy-bar-"+r).attr("x",function(t,e){return n.xScale(n.axis.x.domain[e])+r*(n.xScale.bandwidth()/n.datasetNames.length)}).attr("width",n.xScale.bandwidth()/n.datasetNames.length-1).attr("y",function(t){return n.yScale(t)}).attr("height",function(t){return n.height-n.yScale(t)}).on("mouseenter",function(e){d3.select(this).transition().duration(250).style("fill-opacity",.5),n.handlePromise(n.tooltip.load(a.default.tooltip(t,e),!0).render())}).on("mouseleave",function(){d3.select(this).transition().duration(250).style("fill-opacity",1),n.tooltip.unrender()}).merge(o).attr("x",function(t,e){return n.xScale(n.axis.x.domain[e])+r*(n.xScale.bandwidth()/n.datasetNames.length)}).attr("width",n.xScale.bandwidth()/n.datasetNames.length-1).attr("y",function(t){return n.yScale(t)}).attr("height",function(t){return n.height-n.yScale(t)})}),this._renderAxis(),this._renderLegend(),t.abrupt("return",this);case 9:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},{key:"unrender",value:function(){}}]),e}()).prototype,"render",[r],Object.getOwnPropertyDescriptor(o.prototype,"render"),o.prototype),o);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o,i=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=f(n(24)),u=f(n(157)),c=f(n(156)),s=f(n(155));function f(t){return t&&t.__esModule?t:{default:t}}var l=(r=n(9).Decorators.Data.requires("canvas.chart"),function(t,e,n,r,o){var i={};Object.keys(r).forEach(function(t){i[t]=r[t]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(n,r){return r(t,e,n)||n},i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(t,e,i),i=null)}((o=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,i=t.callbackHandler;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:i}))}return function(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)}(e,a.default),i(e,[{key:"render",value:function(){var t=function(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){return function r(o,i){try{var a=e[o](i),u=a.value}catch(t){return void n(t)}if(!a.done)return Promise.resolve(u).then(function(t){r("next",t)},function(t){r("throw",t)});t(u)}("next")})}}(regeneratorRuntime.mark(function t(){var e,n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e=void 0,n=void 0,t.t0=this.data.canvas.chart.type,t.next="bar"===t.t0?5:"line"===t.t0?7:"scatter"===t.t0?9:11;break;case 5:return n=new u.default(this.options),t.abrupt("break",11);case 7:return n=new c.default(this.options),t.abrupt("break",11);case 9:return n=new s.default(this.options),t.abrupt("break",11);case 11:return t.next=13,this.handlePromise(n.load(this.data).render());case 13:return(e=t.sent)&&setTimeout(e.parent.zoomToFit,0),t.abrupt("return",e);case 16:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},{key:"unrender",value:function(){}}]),e}()).prototype,"render",[r],Object.getOwnPropertyDescriptor(o.prototype,"render"),o.prototype),o);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o,i=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(t){return t&&t.__esModule?t:{default:t}}(n(104)),u=n(9);var c=(r=u.Decorators.Initializer.initialize(),function(t,e,n,r,o){var i={};Object.keys(r).forEach(function(t){i[t]=r[t]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(n,r){return r(t,e,n)||n},i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(t,e,i),i=null)}((o=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,i=t.callbackHandler;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:i}))}return function(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)}(e,a.default),i(e,[{key:"render",value:function(){var t=function(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){return function r(o,i){try{var a=e[o](i),u=a.value}catch(t){return void n(t)}if(!a.done)return Promise.resolve(u).then(function(t){r("next",t)},function(t){r("throw",t)});t(u)}("next")})}}(regeneratorRuntime.mark(function t(){var e,n,r,o,i,c,s,f,l,p,d,h,v,y,b,g,m,w,x,_,O,S,k,P,j,E,M,T,A,F,R,z,C,N,D;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(D=function(t){!d3.event.active&&r&&O.alphaTarget(0),t.fx=null,t.fy=null},N=function(t){t.fx=d3.event.x,t.fy=d3.event.y},C=function(t){!d3.event.active&&r&&O.alphaTarget(.01).restart(),t.fx=t.x,t.fy=t.y},z=function(){l.on("mouseover",function(){d3.select(this).selectAll("text").style("opacity",1).style("opacity",1)}).on("mouseleave",function(){d3.select(this).selectAll("text").style("opacity",.1).style("opacity",.1)})},R=function(){if(d3.event.preventDefault(),0===M){var t=d3.select(this).node().__data__;y.style("opacity",function(e){return t.source.id===e.id||t.target.id===e.id?1:.1}),l.style("opacity",function(e){var n=t.index===e.index?1:.1;return d3.select(this).on("mouseleave",void 0).select("text").style("opacity",n),n}),M=1}else y.style("opacity",1),l.style("opacity",function(){return d3.select(this).select("text").style("opacity",.1),1}),z(),M=0},F=function(){function t(t,e){return T[t.index+","+e.index]}if(d3.event.preventDefault(),0===M){var e=d3.select(this).node().__data__;y.style("opacity",function(n){return t(e,n)||t(n,e)?1:.1}),l.style("opacity",function(t){var n=e.index===t.source.index||e.index===t.target.index?1:.1;return d3.select(this).on("mouseleave",void 0).select("text").style("opacity",n),n}),M=1}else y.style("opacity",1),l.style("opacity",function(){return d3.select(this).select("text").style("opacity",.1),1}),z(),M=0},E=function(){l.selectAll("path.francy-edge").attr("d",function(t){return t.source.id===t.target.id?"M"+t.source.x+","+t.source.y+" A"+(t.target.size+10)+","+(t.target.size+10)+" -45,1,0 "+(t.source.x-1)+","+t.source.y:"M"+t.source.x+","+t.source.y+" L"+t.target.x+","+t.target.y}),"directed"===e.data.canvas.graph.type&&l.each(function(){var t=d3.select(this),e=t.data()[0],n=t.select("path.francy-edge").node(),r=n.getTotalLength(),o=d3.select("#"+e.target.id+" > path.francy-symbol").node(),i=(Math.floor(o.getBBox().width)+4)/2,a=n.getPointAtLength(r-i-e.weight),u=n.getPointAtLength(r-i),c=a.x,s=a.y,f=u.x,l=u.y;e.source.id===e.target.id&&(l+=(s-l)/(c-(f+=(c-f)/(s-l)))),t.select("path.francy-edge-arrow").attr("d","M"+c+","+s+" L"+f+","+l)}),l.selectAll("text.francy-label").attr("x",function(t){return a.default.linkXPos(t.target,t.source)}).attr("y",function(t){return a.default.linkYPos(t.target,t.source)}),y.attr("transform",function(t){return"translate("+t.x+","+t.y+")"})},j=function(){e.parent.zoomToFit(),n.hide()},e=this,n=u.Decorators.Loader.withContext(this).show(),r=this.data.canvas.graph.simulation,o=this.data.canvas.graph.nodes?Object.values(this.data.canvas.graph.nodes):[],i=this.data.canvas.graph.links?Object.values(this.data.canvas.graph.links):[],(c=this.element.selectAll("g.francy-links")).node()||(c=this.element.append("g").classed("francy-links",!0)),s=c.selectAll("g.francy-link").data(),f=this._filterNewElements(i,s),l=c.selectAll("g.francy-link").data(f,function(t){return t.id}),"directed"===this.data.canvas.graph.type&&((p=this.parent.select("defs")).node()||(p=this.parent.append("defs")),p.selectAll("marker").data(f).enter().append("marker").classed("francy-arrows",!0).attr("id",function(t){return"arrow-"+t.id}).attr("viewBox","0 -5 10 10").attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M0,-5 L10,0 L0,5").style("fill",function(t){return t.color||void 0})),(d=this.element.selectAll("g.francy-nodes")).node()||(d=this.element.append("g").classed("francy-nodes",!0)),h=d.selectAll("g.francy-node").data(),v=this._filterNewElements(o,h),0!==(y=d.selectAll("g.francy-node").data(v,function(t){return t.id})).exit().data().length||0!==y.enter().data().length||0!==l.enter().data().length||0!==l.exit().data().length){t.next=22;break}return t.abrupt("return");case 22:for((b=l.enter().append("g").classed("francy-link",!0)).append("path").classed("francy-edge",!0).style("stroke-width",function(t){return Math.sqrt(t.weight)}).style("stroke",function(t){return t.color||void 0}),"directed"===this.data.canvas.graph.type&&b.append("path").classed("francy-edge-arrow",!0).style("stroke","none").style("marker-start",function(t){return"url(#arrow-"+t.id+")"}).style("stroke-width",function(t){return Math.sqrt(t.weight)}),b.append("text").classed("francy-label",!0).style("font-size",function(t){return 7*Math.sqrt(t.weight)}).style("opacity",.1).style("opacity",.1).text(function(t){return t.title}).attr("text-anchor","middle"),l.exit().remove(),l=c.selectAll("g.francy-link"),z(),(g=y.enter().append("g").classed("francy-node",!0).attr("id",function(t){return t.id})).append("path").attr("d",d3.symbol().type(function(t){return a.default.getSymbol(t.type)}).size(function(t){return 100*t.size})).style("fill",function(t){return t.color||a.default.colors(5*t.layer)}).classed("francy-symbol",!0).classed("francy-highlight",function(t){return t.highlight}).classed("francy-context",function(t){return Object.values(t.menus).length&&Object.values(t.menus).length>0}),g.append("text").classed("francy-label",!0).text(function(t){return t.title}).style("font-size",function(t){return 7*Math.sqrt(t.size)}).attr("x",function(){var t=this,n=d3.select(this);return n.text().startsWith("$")&&n.text().endsWith("$")&&e.handlePromise(e.mathjax.settings({appendTo:{element:n},renderType:"SVG",postFunction:function(){n.attr("x",e.setLabelXPosition(t))}}).render()),e.setLabelXPosition(this)}),y.exit().remove(),y=d.selectAll("g.francy-node"),this.data.canvas.graph.drag&&y.call(d3.drag().on("start",C).on("drag",N).on("end",D)),y&&!y.empty()&&(this._applyEvents(y),this.data.canvas.graph.showNeighbours&&(m=y.on("click"),y.on("click",function(t){F.call(this),m.call(this,t)}),l.on("click",function(){R.call(this)}))),r?(w=0,x=0,_=!1,y.each(function(){var t=this.getBBox();w<t.width&&(w=t.width);var e=d3.select(this),n=e.select("path.francy-symbol").node().getBBox();x<n.width&&(x=n.width),0!=e.data()[0].layer&&(_=!0)}),O=d3.forceSimulation(),S=u.Decorators.Error.wrap(E).withContext(e).onErrorThrow(!1).onErrorExec(O.stop),k=u.Decorators.Error.wrap(j).withContext(e),P=d3.forceLink(i).id(function(t){return t.id}).distance(function(t){return t.height||100}),O.nodes(v).force("charge-1",_?void 0:d3.forceManyBody().strength(-75)).force("x",d3.forceX()).force("y",_?d3.forceY(function(t){return 100*t.layer}).strength(1):d3.forceY()).force("charge-2",d3.forceManyBody().strength(-v.length*f.length)).force("link",_?P.strength(.15):P).force("collide",d3.forceCollide().radius((w>x?w:1.5*x)/2)).on("tick",function(){return S.handle()}).on("end",function(){return k.handle()})):(E(),j()),M=0,T={},A=0;A<o.length;A++)T[A+","+A]=1;return i.forEach(function(t){T[t.source.index+","+t.target.index]=1}),t.abrupt("return",this);case 42:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},{key:"unrender",value:function(){}},{key:"_filterNewElements",value:function(t,e){var n=[];return t.forEach(function(t){var r=e.find(function(e){return e.id===t.id});r?n.push(r):n.push(t)}),n}}]),e}()).prototype,"render",[r],Object.getOwnPropertyDescriptor(o.prototype,"render"),o.prototype),o);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o,i=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(t){return t&&t.__esModule?t:{default:t}}(n(101)),u=n(9);var c=(r=u.Decorators.Initializer.initialize(),function(t,e,n,r,o){var i={};Object.keys(r).forEach(function(t){i[t]=r[t]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(n,r){return r(t,e,n)||n},i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(t,e,i),i=null)}((o=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,i=t.callbackHandler;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:i}))}return function(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)}(e,a.default),i(e,[{key:"render",value:function(){var t=function(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){return function r(o,i){try{var a=e[o](i),u=a.value}catch(t){return void n(t)}if(!a.done)return Promise.resolve(u).then(function(t){r("next",t)},function(t){r("throw",t)});t(u)}("next")})}}(regeneratorRuntime.mark(function t(){var e,n,r,o,i,a,c,s,f,l,p,d,h,v,y,b,g=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:for(e=this,n=this.data.callback.id,this.logger.debug("Creating Callback Modal ["+n+"]..."),this.element=this.holder.append("div").attr("id",n).attr("class","francy-modal"),r=this.element.append("form"),o=r.append("div").attr("class","francy-modal-header"),i=o.append("span").html("Required arguments&nbsp;"),this.data.title&&i.append("span").attr("style","font-weight: bold;").text("for "+this.data.title),a=r.append("div").attr("class","francy-modal-content").append("div").attr("class","francy-table").append("div").attr("class","francy-table-body"),c=!0,s=!1,f=void 0,t.prev=12,l=Object.values(this.data.callback.requiredArgs)[Symbol.iterator]();!(c=(p=l.next()).done);c=!0)d=p.value,(h=a.append("div").attr("class","francy-table-row")).append("div").attr("class","francy-table-cell").append("label").attr("for",d.id).text(d.title),v=h.append("div").attr("class","francy-table-cell").append("input").attr("id",d.id).attr("class","francy-arg").attr("required","").attr("name",d.id).attr("type",d.type).attr("value",d.value).on("change",function(){e.data.callback.requiredArgs[this.id].value=this.value}).on("input",this.onchange).on("keyup",this.onchange).on("paste",this.onchange),"boolean"===d.type&&(d.value=d.value||!1,v.attr("type","checkbox").attr("required",null).attr("value",d.value).on("change",function(){e.data.callback.requiredArgs[this.id].value=this.value=this.checked})),h.append("span").attr("class","validity");t.next=20;break;case 16:t.prev=16,t.t0=t.catch(12),s=!0,f=t.t0;case 20:t.prev=20,t.prev=21,!c&&l.return&&l.return();case 23:if(t.prev=23,!s){t.next=26;break}throw f;case 26:return t.finish(23);case 27:return t.finish(20);case 28:return(y=r.append("div").attr("class","francy-modal-footer")).append("button").text("Ok").on("click",function(){return r.node().checkValidity()&&(d3.event.preventDefault(),g.options.callbackHandler(g.data.callback),g.unrender.call(g)),!1}),y.append("button").text("Cancel").on("click",function(){d3.event.preventDefault(),g.unrender.call(g)}),u.Decorators.Jupyter.registerKeyboardEvents([".francy",".francy-arg",".francy-overlay",".francy-modal"]),(b=a.selectAll(".francy-arg").node())&&b.focus(),this.logger.debug("Callback Modal updated ["+n+"]..."),t.abrupt("return",this);case 36:case"end":return t.stop()}},t,this,[[12,16,20,28],[21,,23,27]])}));return function(){return t.apply(this,arguments)}}()}]),e}()).prototype,"render",[r],Object.getOwnPropertyDescriptor(o.prototype,"render"),o.prototype),o);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o,i=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(t){return t&&t.__esModule?t:{default:t}}(n(103));var u=(r=n(9).Decorators.Data.requires("menus"),function(t,e,n,r,o){var i={};Object.keys(r).forEach(function(t){i[t]=r[t]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(n,r){return r(t,e,n)||n},i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(t,e,i),i=null)}((o=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,i=t.callbackHandler;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:i}))}return function(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)}(e,a.default),i(e,[{key:"render",value:function(){var t=function(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){return function r(o,i){try{var a=e[o](i),u=a.value}catch(t){return void n(t)}if(!a.done)return Promise.resolve(u).then(function(t){r("next",t)},function(t){r("throw",t)});t(u)}("next")})}}(regeneratorRuntime.mark(function t(){var e,n,r,o=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(d3.event.preventDefault(),this.element=this.HTMLParent.select("div.francy-context-menu-holder"),this.element.node()||(this.element=this.HTMLParent.append("div").attr("class","francy-context-menu-holder")),e=d3.mouse(this.SVGParent.node()),this.element.style("left",e[0]+5+"px").style("top",e[1]+5+"px"),this.element.style("display","block"),!this.element.selectAll("*").node()){t.next=8;break}return t.abrupt("return");case 8:return d3.select("body").on("click.francy-context-menu",function(){return o.unrender()}),n=this.element.append("div").attr("class","francy-context-menu").append("ul"),r=this.iterator(Object.values(this.data.menus)),this.traverse(n,r),t.abrupt("return",this);case 13:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},{key:"unrender",value:function(){this.element&&(this.element.selectAll("*").remove(),this.element.style("display",null))}}]),e}()).prototype,"render",[r],Object.getOwnPropertyDescriptor(o.prototype,"render"),o.prototype),o);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o,i=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(t){return t&&t.__esModule?t:{default:t}}(n(104));function u(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){return function r(o,i){try{var a=e[o](i),u=a.value}catch(t){return void n(t)}if(!a.done)return Promise.resolve(u).then(function(t){r("next",t)},function(t){r("throw",t)});t(u)}("next")})}}var c=(r=n(9).Decorators.Initializer.initialize(),function(t,e,n,r,o){var i={};Object.keys(r).forEach(function(t){i[t]=r[t]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(n,r){return r(t,e,n)||n},i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(t,e,i),i=null)}((o=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,i=t.callbackHandler;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:i}))}return function(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)}(e,a.default),i(e,[{key:"render",value:function(){var t=u(regeneratorRuntime.mark(function t(){var e,n,r,o,i,c,s,f=this,l=function(){var t=u(regeneratorRuntime.mark(function t(e){var o,i,u,s,f,p,d,h,v,y,b,g,m=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:g=function(t){t.children?(t._children=t.children,t.children=null):(t.children=t._children,t._children=null),l.call(o,t).catch(function(t){return o.logger.warn(t)}).then(setTimeout(o.parent.zoomToFit,o.transitionDuration))},d=function(t,e){return"M "+t.y+" "+t.x+"\n            C "+(t.y+e.y)/2+" "+t.x+",\n              "+(t.y+e.y)/2+" "+e.x+",\n              "+e.y+" "+e.x},o=this,i=c(r),u=i.descendants(),s=i.descendants().slice(1),u.forEach(function(t){return t.y=100*t.depth}),(f=this.element.selectAll("g.francy-links")).node()||(f=this.element.append("g").attr("class","francy-links")),p=f.selectAll("path.francy-edge").data(s,function(t){return t.id||(t.id=++n)}),p.enter().append("path").attr("class","francy-edge").attr("d",function(){var t={x:e.x0,y:e.y0};return d(t,t)}).merge(p).transition().duration(this.transitionDuration).attr("d",function(t){return d(t,t.parent)}),p.exit().transition().duration(this.transitionDuration).attr("d",function(){var t={x:e.x,y:e.y};return d(t,t)}).remove(),f.selectAll("path.francy-edge"),u.forEach(function(t){t.x0=t.x,t.y0=t.y}),(h=this.element.selectAll("g.francy-nodes")).node()||(h=this.element.append("g").attr("class","francy-nodes")),v=h.selectAll("g.francy-node").data(u,function(t){return t.id||(t.id=++n)}),(y=v.enter().append("g").attr("class","francy-node").attr("transform",function(){return"translate("+e.y0+","+e.x0+")"})).append("path").attr("d",d3.symbol().type(function(t){return a.default.getSymbol(t.data.type)}).size(function(t){return 100*t.data.size})).attr("class","francy-symbol"),y.append("text").attr("class","francy-label").text(function(t){return t.data.title}).style("font-size",function(t){return 7*Math.sqrt(t.weight)}).style("cursor",function(t){return t.children||t._children?"pointer":"default"}).attr("x",function(){var t=this,e=d3.select(this);return e.text().startsWith("$")&&e.text().endsWith("$")&&o.handlePromise(o.mathjax.settings({appendTo:{element:e},renderType:"SVG",postFunction:function(){e.attr("x",o.setLabelXPosition(t))}}).render()),o.setLabelXPosition(this)}),y.merge(v).transition().duration(this.transitionDuration).attr("transform",function(t){return"translate("+t.y+","+t.x+")"}),v.exit().transition().duration(this.transitionDuration).attr("transform",function(){return"translate("+e.y+","+e.x+")"}).remove(),h.selectAll("path.francy-symbol").style("fill",function(t){return t.children||t._children?"#fff":a.default.colors(5*t.data.layer)}).style("cursor",function(t){return t.children||t._children?"pointer":"default"}),(v=h.selectAll("g.francy-node")).node()&&(this._applyEvents(v),b=v.on("click"),v.on("click",function(t){b.call(m,t.data),g.call(m,t)}));case 26:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}();return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return s=function t(e){e.children&&(e._children=e.children,e._children.forEach(t),e.children=null)},e=this.data.canvas.graph.nodes?Object.values(this.data.canvas.graph.nodes):[],n=0,r=void 0,(r=d3.stratify().id(function(t){return t.id}).parentId(function(t){return t.parent})(e)).x0=this.height/2,r.y0=0,o=[1],function t(e,n){n.children&&n.children.length>0&&(o.length<=e+1&&o.push(0),o[e+1]+=n.children.length,n.children.forEach(function(n){t(e+1,n)}))}(0,r),i=100*d3.max(o),c=d3.tree().size([i,i]).separation(function(t,e){return t.parent==e.parent?t.data.size:2*t.data.size}),this.data.canvas.graph.collapsed&&r.children.forEach(s),l.call(this,r).catch(function(t){return f.logger.warn(t)}).then(setTimeout(this.parent.zoomToFit,this.transitionDuration)),t.abrupt("return",this);case 13:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},{key:"unrender",value:function(){}}]),e}()).prototype,"render",[r],Object.getOwnPropertyDescriptor(o.prototype,"render"),o.prototype),o);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o,i=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=s(n(24)),u=s(n(162)),c=s(n(159));function s(t){return t&&t.__esModule?t:{default:t}}var f=(r=n(9).Decorators.Data.requires("canvas.graph"),function(t,e,n,r,o){var i={};Object.keys(r).forEach(function(t){i[t]=r[t]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(n,r){return r(t,e,n)||n},i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(t,e,i),i=null)}((o=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,i=t.callbackHandler;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:i}))}return function(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)}(e,a.default),i(e,[{key:"render",value:function(){var t=function(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){return function r(o,i){try{var a=e[o](i),u=a.value}catch(t){return void n(t)}if(!a.done)return Promise.resolve(u).then(function(t){r("next",t)},function(t){r("throw",t)});t(u)}("next")})}}(regeneratorRuntime.mark(function t(){var e,n;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=e=void 0,t.t0=this.data.canvas.graph.type,t.next="tree"===t.t0?5:7;break;case 5:return n=new u.default(this.options),t.abrupt("break",8);case 7:n=new c.default(this.options);case 8:return t.next=10,this.handlePromise(n.load(this.data).render());case 10:return e=t.sent,t.abrupt("return",e);case 12:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},{key:"unrender",value:function(){}}]),e}()).prototype,"render",[r],Object.getOwnPropertyDescriptor(o.prototype,"render"),o.prototype),o);e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o,i=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=s(n(106)),u=s(n(163)),c=s(n(158));function s(t){return t&&t.__esModule?t:{default:t}}var f=(r=n(9).Decorators.Data.requires("canvas"),function(t,e,n,r,o){var i={};Object.keys(r).forEach(function(t){i[t]=r[t]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(n,r){return r(t,e,n)||n},i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(t,e,i),i=null)}((o=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,i=t.callbackHandler;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:i}));return a.graphFactory=new u.default(a.options),a.chartFactory=new c.default(a.options),a.add(a.graphFactory).add(a.chartFactory),a}return function(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)}(e,a.default),i(e,[{key:"render",value:function(){var t=function(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){return function r(o,i){try{var a=e[o](i),u=a.value}catch(t){return void n(t)}if(!a.done)return Promise.resolve(u).then(function(t){r("next",t)},function(t){r("throw",t)});t(u)}("next")})}}(regeneratorRuntime.mark(function t(){var e,n,r,o,i,a,u,c;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(u=function(t){if(r.data.canvas.zoomToFit||t){var n=e.node().getBBox(),i=r.element.node().getBoundingClientRect(),a=i.right-i.left,u=i.bottom-i.top,c=+n.width,s=+n.height;if(0===c||0===s)return;var f=n.x+c/2,l=n.y+s/2,p=.9/Math.max(c/a,s/u),d=a/2-p*f,h=u/2-p*l;e.transition().duration(r.transitionDuration).attr("transform","translate("+d+","+h+")scale("+p+","+p+")").on("end",function(){return o(d,h,p)})}},a=function(){d3.event.defaultPrevented&&d3.event.stopPropagation()},i=function(){e.attr("transform",d3.event.transform)},o=function(t,e,o){r.element.call(n.transform,d3.zoomIdentity.translate(t,e).scale(o,o))},e=void 0,n=d3.zoom(),r=this,c="Canvas-"+this.data.canvas.id,this.element=d3.select("svg#"+c),this.element.node()||(this.logger.debug("Creating Canvas ["+c+"]..."),this.element=this.parent.append("svg").attr("class","francy-canvas").attr("id",c)),this.element.node()){t.next=12;break}throw new Error("Oops, could not create canvas with id ["+c+"]... Cannot proceed.");case 12:return this.element.attr("width",this.data.canvas.width).attr("height",this.data.canvas.height),(e=this.element.select("g.francy-content")).node()||(e=this.element.append("g").attr("class","francy-content"),n.on("zoom",i),this.element.call(n).on("dblclick.zoom",null)),this.element.on("click",a,!0),this.element.zoomToFit=this.zoomToFit=u,this.logger.debug("Canvas updated ["+c+"]..."),this.handlePromise(this.renderChildren()),t.abrupt("return",this);case 20:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},{key:"unrender",value:function(){}}]),e}()).prototype,"render",[r],Object.getOwnPropertyDescriptor(o.prototype,"render"),o.prototype),o);e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o,i=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(t){return t&&t.__esModule?t:{default:t}}(n(73)),u=n(72);var c=(r=n(9).Decorators.Data.enabled("canvas.texTypesetting"),function(t,e,n,r,o){var i={};Object.keys(r).forEach(function(t){i[t]=r[t]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(n,r){return r(t,e,n)||n},i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(t,e,i),i=null)}((o=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,i=t.callbackHandler;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:i}))}return function(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)}(e,a.default),i(e,[{key:"render",value:function(){var t=function(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){return function r(o,i){try{var a=e[o](i),u=a.value}catch(t){return void n(t)}if(!a.done)return Promise.resolve(u).then(function(t){r("next",t)},function(t){r("throw",t)});t(u)}("next")})}}(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(u.Components.MathJax.isAvailable&&this.parent&&this.parent.node()){t.next=2;break}return t.abrupt("return");case 2:this.data.postFunction=this.data.postFunction||function(){},MathJax.Hub.Queue(["setRenderer",MathJax.Hub,this.options.renderType],["Typeset",MathJax.Hub,this.parent.node()],[this.options.postFunction]);case 4:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},{key:"settings",value:function(t){var n=t.verbose,r=t.appendTo,o=t.callbackHandler,i=t.renderType,a=t.postFunction;return function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"settings",this).call(this,{verbose:n,appendTo:r,callbackHandler:o}),this.options.renderType=i,this.options.postFunction=a,this}}]),e}()).prototype,"render",[r],Object.getOwnPropertyDescriptor(o.prototype,"render"),o.prototype),o);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=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}}(),o=function(t){return t&&t.__esModule?t:{default:t}}(n(71));var i=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return function(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)}(e,o.default),r(e,[{key:"initialize",value:function(){if(!Jupyter)throw new Error("This is not Jupyter is not imported and Francy won't work without it... please import D3 v5+ library.");this.logger.debug("Jupyter is available...")}}]),e}();e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=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}}(),o=function(t){return t&&t.__esModule?t:{default:t}}(n(71)),i=n(9);var a=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return function(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)}(e,o.default),r(e,[{key:"initialize",value:function(){MathJax.Hub.Config({showMathMenu:!1,skipStartupTypeset:!0,tex2jax:{inlineMath:[["$","$"],["\\(","\\)"]],displayMath:[["$$","$$"],["\\[","\\]"]],processEscapes:!0,processEnvironments:!0},MathML:{extensions:["content-mathml.js"]},displayAlign:"center","HTML-CSS":{availableFonts:[],imageFont:null,preferredFont:null,font:"STIX-Web",webFont:"STIX-Web",styles:{".MathJax_Display":{margin:0}},linebreaks:{automatic:!0}},SVG:{availableFonts:[],imageFont:null,preferredFont:null,font:"STIX-Web",webFont:"STIX-Web",styles:{".MathJax_Display":{margin:0}},linebreaks:{automatic:!0}}});var t=i.Decorators.Error.wrap(function(t){if(t&&t.length>1){var e=d3.select("#"+t[1]+"-Frame"),n=e.select("svg"),r=d3.select(e.node().parentNode.parentNode);if(n.node()){n.style("font-size",r.select("text.francy-label").style("font-size"));var o=n.node().width.baseVal.value,i=n.node().height.baseVal.value;n.attr("x",-o/2),n.attr("y",-i/2),r.append(function(){return n.node()})}}}).withContext(this).onErrorThrow(!1);MathJax.Hub.Register.MessageHook("New Math",function(e){return t.handle(e)}),MathJax.Hub.Configured(),this.logger.debug("MathJax is available...")}}]),e}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=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}}(),o=n(105);var i=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return r(t,[{key:"requires",value:function(t){var e=this;return function(n,r,i){var a=i.value;return i.value=function(){return e._hasData(e._getProperty(this.data,t))?a.apply(this,arguments):Promise.reject(new o.Exception("No data here ["+t+"], nothing to render... continuing..."))},i}}},{key:"enabled",value:function(t){var e=this;return function(n,r,i){var a=i.value;return i.value=function(){return e._getProperty(this.data,t)?a.apply(this,arguments):Promise.reject(new o.Exception("Property disabled ["+t+"], skip execution... continuing..."))},i}}},{key:"_getProperty",value:function(t,e){var n=t;if(n&&e){var r=e.split("."),o=!0,i=!1,a=void 0;try{for(var u,c=r[Symbol.iterator]();!(o=(u=c.next()).done);o=!0){var s=u.value;if(!n.hasOwnProperty(s)){n=void 0;break}n=n[s]}}catch(t){i=!0,a=t}finally{try{!o&&c.return&&c.return()}finally{if(i)throw a}}}return n}},{key:"_hasData",value:function(t){return t&&(t instanceof Array&&t.length||t instanceof Object&&Object.values(t).length)}}]),t}();e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=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}}(),o=function(t){return t&&t.__esModule?t:{default:t}}(n(51)),i=n(72);var a=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.logger=new o.default}return r(t,[{key:"registerKeyboardEvents",value:function(t){if(t&&i.Components.Jupyter.isAvailable)try{t.map(function(t){Jupyter.keyboard_manager.register_events(t)})}catch(t){"ReferenceError"===t.name?this.logger.info("It seems we're not running on Jupyter, cannot register events... continuing..."):this.logger.warn("We can't do anything about this! An error occurred: ["+t+"]")}}}]),t}();e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=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}}();var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return r(t,[{key:"syntax",value:function(t){return(t=t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")).replace(/("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)/g,function(t){var e="number";return/^"/.test(t)?e=/:$/.test(t)?"key":"string":/true|false/.test(t)?e="boolean":/null/.test(t)&&(e="null"),'<span class="'+e+'">'+t+"</span>"})}}]),t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=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}}(),o=function(t){return t&&t.__esModule?t:{default:t}}(n(51));var i=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.logger=new o.default,this.onErrorFns=[],this.context=void 0,this.function=void 0,this.throw=!1}return r(t,[{key:"wrap",value:function(t){if("function"!=typeof t)throw Error("["+t+"] is not a function!");return this.function=t,this}},{key:"withContext",value:function(t){return this.context=t,this}},{key:"onErrorExec",value:function(t){return"function"==typeof t&&this.onErrorFns.push(t),this}},{key:"onErrorThrow",value:function(t){return"boolean"==typeof t&&(this.throw=t),this}},{key:"handle",value:function(){var t=this,e=void 0;try{(e=this.function.apply(this.context,arguments))&&"function"==typeof e.then&&(e=e.catch(function(e){t._logEntry(e),t._runOnError()}).then(function(t){return t}))}catch(t){if(this._logEntry(t),this._runOnError(),this.throw)throw t}return e}},{key:"_runOnError",value:function(){var t=this;this.onErrorFns.forEach(function(e){try{e.call(t.context)}catch(e){if(t._logEntry(e),t.throw)throw e}})}},{key:"_logEntry",value:function(t){this.logger.info("We can't do anything about this! An error occurred: ["+t+"]")}}]),t}();e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=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}}(),o=function(t){return t&&t.__esModule?t:{default:t}}(n(51));var i=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.logger=new o.default,this.id=t._generateId(),this.context=void 0}return r(t,[{key:"withContext",value:function(t){this.context=t;try{this.element=d3.select("a.loader#Loader-"+(t.data.canvas?t.data.canvas.id:t.options.appendTo.data.canvas.id))}catch(t){this.logger.info("We can't do anything about this! An error occurred: "+t)}return this}},{key:"show",value:function(){return this.element&&this.element.data()[0]&&(this.element.data()[0][this.id]=!0,this.element.style("visibility","visible")),this}},{key:"hide",value:function(){return this.element&&this.element.data()[0]&&(delete this.element.data()[0][this.id],0==Object.values(this.element.data()[0]).length&&this.element.style("visibility","hidden")),this}}],[{key:"_generateId",value:function(){return"L-"+Math.random().toString(36).substr(2,9)}}]),t}();e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=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}}();var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return r(t,[{key:"initialize",value:function(){return function(t,e,n){var r=n.value;return n.value=function(){return this._initialize(),r.apply(this,arguments)},n}}}]),t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=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}}(),o=function(t){return t&&t.__esModule?t:{default:t}}(n(71));var i=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return function(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)}(e,o.default),r(e,[{key:"initialize",value:function(){if(!d3)throw new Error("D3 is not imported and Francy won't work without it... please import D3 v5+ library.");this.logger.debug("D3 is available...")}}]),e}();e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=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}}();var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return r(t,null,[{key:"parse",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e){if("string"==typeof e){e=e.replace(/[\n\r\b]+|(gap>)/g,"");var r=/{(?:[^])*}/g.exec(e);if(!r)return;e=JSON.parse(r[0])}return e.mime===t.MIME||n?e:void 0}}},{key:"MIME",get:function(){return"application/vnd.francy+json"}}]),t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o,i=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=f(n(106)),u=f(n(164)),c=f(n(154)),s=f(n(151));function f(t){return t&&t.__esModule?t:{default:t}}var l=(r=n(9).Decorators.Data.requires("canvas"),function(t,e,n,r,o){var i={};Object.keys(r).forEach(function(t){i[t]=r[t]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(n,r){return r(t,e,n)||n},i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(t,e,i),i=null)}((o=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,i=t.callbackHandler;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:i}));return a.canvas=new u.default(a.options),a.menu=new c.default(a.options),a.messages=new s.default(a.options),a.add(a.menu).add(a.canvas).add(a.messages),a}return function(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)}(e,a.default),i(e,[{key:"render",value:function(){var t=function(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){return function r(o,i){try{var a=e[o](i),u=a.value}catch(t){return void n(t)}if(!a.done)return Promise.resolve(u).then(function(t){r("next",t)},function(t){r("throw",t)});t(u)}("next")})}}(regeneratorRuntime.mark(function t(){var e,n,r,o=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=this.options.appendTo,n="Frame-"+this.data.canvas.id,this.element=d3.select("div#"+n),this.element.node()||(this.logger.debug("Creating Frame ["+n+"]..."),this.element=e.append("div").attr("class","francy").attr("id",n)),this.element.node()){t.next=6;break}throw new Error("Oops, could not create frame with id ["+n+"]... Cannot proceed.");case 6:return this.logger.debug("Frame updated ["+n+"]..."),this.handlePromise(this.renderChildren()),window&&(r=window.onresize,window.onresize=function(){o.canvas&&o.canvas.zoomToFit(),"function"==typeof r&&r()}),t.abrupt("return",this);case 10:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},{key:"unrender",value:function(){}}]),e}()).prototype,"render",[r],Object.getOwnPropertyDescriptor(o.prototype,"render"),o.prototype),o);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o,i=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=s(n(176)),u=s(n(24)),c=n(9);!function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);e.default=t}(n(150));function s(t){return t&&t.__esModule?t:{default:t}}var f=(r=c.Decorators.Data.requires("canvas"),function(t,e,n,r,o){var i={};Object.keys(r).forEach(function(t){i[t]=r[t]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(n,r){return r(t,e,n)||n},i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(t,e,i),i=null)}((o=function(t){function e(t){var n=t.verbose,r=void 0!==n&&n,o=t.appendTo,i=t.callbackHandler;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var a=function(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}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,{verbose:r,appendTo:o,callbackHandler:i}));return a.logger.info("Francy JS v0.8.0 initialized! Enjoy..."),a}return function(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)}(e,u.default),i(e,[{key:"render",value:function(){var t=function(t){return function(){var e=t.apply(this,arguments);return new Promise(function(t,n){return function r(o,i){try{var a=e[o](i),u=a.value}catch(t){return void n(t)}if(!a.done)return Promise.resolve(u).then(function(t){r("next",t)},function(t){r("throw",t)});t(u)}("next")})}}(regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return"0.8.0"!==this.data.version&&this.logger.warn("Rendering data generated in Francy GAP v"+this.data.version+" using Francy JS v0.8.0, rendering may fail... please update your system..."),Math.seedrandom("Francy!"),t.next=4,new a.default(this.options).load(this.data).render().then(function(t){return t});case 4:return e=t.sent,t.abrupt("return",e.element.node());case 6:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},{key:"unrender",value:function(){}}]),e}()).prototype,"render",[r],Object.getOwnPropertyDescriptor(o.prototype,"render"),o.prototype),o);e.default=f,window?e.Francy=window.Francy=f:e.Francy=f},function(t,e,n){"use strict";t.exports=function(t,e){var n=e===Object(e)?function(t){return e[t]}:e;return function(e){return String(e).replace(t,n)}}},function(t,e,n){"use strict";var r=n(0),o=n(178)(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(t){return o(t)}})},function(t,e,n){"use strict";n(179),t.exports=n(23).RegExp.escape},function(t,e,n){"use strict";(function(t,e){var n="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};!function(t){var r,o=Object.prototype,i=o.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag",f="object"===n(e),l=t.regeneratorRuntime;if(l)f&&(e.exports=l);else{(l=t.regeneratorRuntime=f?e.exports:{}).wrap=x;var p="suspendedStart",d="suspendedYield",h="executing",v="completed",y={},b={};b[u]=function(){return this};var g=Object.getPrototypeOf,m=g&&g(g(F([])));m&&m!==o&&i.call(m,u)&&(b=m);var w=k.prototype=O.prototype=Object.create(b);S.prototype=w.constructor=k,k.constructor=S,k[s]=S.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===S||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,k):(t.__proto__=k,s in t||(t[s]="GeneratorFunction")),t.prototype=Object.create(w),t},l.awrap=function(t){return{__await:t}},P(j.prototype),j.prototype[c]=function(){return this},l.AsyncIterator=j,l.async=function(t,e,n,r){var o=new j(x(t,e,n,r));return l.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},P(w),w[s]="Generator",w[u]=function(){return this},w.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},l.values=F,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(T),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return u.type="throw",u.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),s=i.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:F(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),y}}}function x(t,e,n,r){var o=e&&e.prototype instanceof O?e:O,i=Object.create(o.prototype),a=new A(r||[]);return i._invoke=function(t,e,n){var r=p;return function(o,i){if(r===h)throw new Error("Generator is already running");if(r===v){if("throw"===o)throw i;return R()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=E(a,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var c=_(t,e,n);if("normal"===c.type){if(r=n.done?v:d,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=v,n.method="throw",n.arg=c.arg)}}}(t,n,a),i}function _(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function O(){}function S(){}function k(){}function P(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function j(e){function r(t,o,a,u){var c=_(e[t],e,o);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"===(void 0===f?"undefined":n(f))&&i.call(f,"__await")?Promise.resolve(f.__await).then(function(t){r("next",t,a,u)},function(t){r("throw",t,a,u)}):Promise.resolve(f).then(function(t){s.value=t,a(s)},u)}u(c.arg)}var o;"object"===n(t.process)&&t.process.domain&&(r=t.process.domain.bind(r)),this._invoke=function(t,e){function n(){return new Promise(function(n,o){r(t,e,n,o)})}return o=o?o.then(n,n):n()}}function E(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,E(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=_(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,y;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,y):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function M(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(M,this),this.reset(!0)}function F(t){if(t){var e=t[u];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(i.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=r,e.done=!0,e};return o.next=o}}return{next:R}}function R(){return{value:r,done:!0}}}("object"===(void 0===t?"undefined":n(t))?t:"object"===("undefined"==typeof window?"undefined":n(window))?window:"object"===("undefined"==typeof self?"undefined":n(self))?self:void 0)}).call(this,n(141),n(32)(t))},function(t,e,n){"use strict";for(var r=n(78),o=n(43),i=n(13),a=n(2),u=n(14),c=n(48),s=n(5),f=s("iterator"),l=s("toStringTag"),p=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),v=0;v<h.length;v++){var y,b=h[v],g=d[b],m=a[b],w=m&&m.prototype;if(w&&(w[f]||u(w,f,p),w[l]||u(w,l,b),c[b]=p,g))for(y in r)w[y]||i(w,y,r[y],!0)}},function(t,e,n){"use strict";var r=n(0),o=n(77);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(t,e,n){"use strict";var r=n(2),o=n(0),i=n(60),a=[].slice,u=/MSIE .\./.test(i),c=function(t){return function(e,n){var r=arguments.length>2,o=!!r&&a.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,o)}:e,n)}};o(o.G+o.B+o.F*u,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},function(t,e,n){"use strict";var r=n(0),o=n(2),i=n(23),a=n(76)(),u=n(5)("observable"),c=n(11),s=n(1),f=n(38),l=n(36),p=n(14),d=n(37),h=d.RETURN,v=function(t){return null==t?void 0:c(t)},y=function(t){var e=t._c;e&&(t._c=void 0,e())},b=function(t){return void 0===t._o},g=function(t){b(t)||(t._o=void 0,y(t))},m=function(t,e){s(t),this._c=void 0,this._o=t,t=new w(this);try{var n=e(t),r=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){r.unsubscribe()}:c(n),this._c=n)}catch(e){return void t.error(e)}b(this)&&y(this)};m.prototype=l({},{unsubscribe:function(){g(this)}});var w=function(t){this._s=t};w.prototype=l({},{next:function(t){var e=this._s;if(!b(e)){var n=e._o;try{var r=v(n.next);if(r)return r.call(n,t)}catch(t){try{g(e)}finally{throw t}}}},error:function(t){var e=this._s;if(b(e))throw t;var n=e._o;e._o=void 0;try{var r=v(n.error);if(!r)throw t;t=r.call(n,t)}catch(t){try{y(e)}finally{throw t}}return y(e),t},complete:function(t){var e=this._s;if(!b(e)){var n=e._o;e._o=void 0;try{var r=v(n.complete);t=r?r.call(n,t):void 0}catch(t){try{y(e)}finally{throw t}}return y(e),t}}});var x=function(t){f(this,x,"Observable","_f")._f=c(t)};l(x.prototype,{subscribe:function(t){return new m(t,this._f)},forEach:function(t){var e=this;return new(i.Promise||o.Promise)(function(n,r){c(t);var o=e.subscribe({next:function(e){try{return t(e)}catch(t){r(t),o.unsubscribe()}},error:r,complete:n})})}}),l(x,{from:function(t){var e="function"==typeof this?this:x,n=v(s(t)[u]);if(n){var r=s(n.call(t));return r.constructor===e?r:new e(function(t){return r.subscribe(t)})}return new e(function(e){var n=!1;return a(function(){if(!n){try{if(d(t,!1,function(t){if(e.next(t),n)return h})===h)return}catch(t){if(n)throw t;return void e.error(t)}e.complete()}}),function(){n=!0}})},of:function(){for(var t=0,e=arguments.length,n=new Array(e);t<e;)n[t]=arguments[t++];return new("function"==typeof this?this:x)(function(t){var e=!1;return a(function(){if(!e){for(var r=0;r<n.length;++r)if(t.next(n[r]),e)return;t.complete()}}),function(){e=!0}})}}),p(x.prototype,u,function(){return this}),r(r.G,{Observable:x}),n(39)("Observable")},function(t,e,n){"use strict";var r=n(0),o=n(76)(),i=n(2).process,a="process"==n(21)(i);r(r.G,{asap:function(t){var e=a&&i.domain;o(e?e.bind(t):t)}})},function(t,e,n){"use strict";var r=n(30),o=n(1),i=n(11),a=r.key,u=r.set;r.exp({metadata:function(t,e){return function(n,r){u(t,e,(void 0!==r?o:i)(n),a(r))}}})},function(t,e,n){"use strict";var r=n(30),o=n(1),i=r.has,a=r.key;r.exp({hasOwnMetadata:function(t,e){return i(t,o(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,n){"use strict";var r=n(30),o=n(1),i=n(16),a=r.has,u=r.key;r.exp({hasMetadata:function(t,e){return function t(e,n,r){if(a(e,n,r))return!0;var o=i(n);return null!==o&&t(e,o,r)}(t,o(e),arguments.length<3?void 0:u(arguments[2]))}})},function(t,e,n){"use strict";var r=n(30),o=n(1),i=r.keys,a=r.key;r.exp({getOwnMetadataKeys:function(t){return i(o(t),arguments.length<2?void 0:a(arguments[1]))}})},function(t,e,n){"use strict";var r=n(30),o=n(1),i=r.get,a=r.key;r.exp({getOwnMetadata:function(t,e){return i(t,o(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,n){"use strict";var r=n(117),o=n(108),i=n(30),a=n(1),u=n(16),c=i.keys,s=i.key;i.exp({getMetadataKeys:function(t){return function t(e,n){var i=c(e,n),a=u(e);if(null===a)return i;var s=t(a,n);return s.length?i.length?o(new r(i.concat(s))):s:i}(a(t),arguments.length<2?void 0:s(arguments[1]))}})},function(t,e,n){"use strict";var r=n(30),o=n(1),i=n(16),a=r.has,u=r.get,c=r.key;r.exp({getMetadata:function(t,e){return function t(e,n,r){if(a(e,n,r))return u(e,n,r);var o=i(n);return null!==o?t(e,o,r):void 0}(t,o(e),arguments.length<3?void 0:c(arguments[2]))}})},function(t,e,n){"use strict";var r=n(30),o=n(1),i=r.key,a=r.map,u=r.store;r.exp({deleteMetadata:function(t,e){var n=arguments.length<3?void 0:i(arguments[2]),r=a(o(e),n,!1);if(void 0===r||!r.delete(t))return!1;if(r.size)return!0;var c=u.get(e);return c.delete(n),!!c.size||u.delete(e)}})},function(t,e,n){"use strict";var r=n(30),o=n(1),i=r.key,a=r.set;r.exp({defineMetadata:function(t,e,n,r){a(t,e,o(n),i(r))}})},function(t,e,n){"use strict";var r=n(0),o=n(75),i=n(121);r(r.S,"Promise",{try:function(t){var e=o.f(this),n=i(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},function(t,e,n){"use strict";var r=n(0),o=n(23),i=n(2),a=n(61),u=n(120);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return u(e,t()).then(function(){return n})}:t,n?function(n){return u(e,t()).then(function(){throw n})}:t)}})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Math",{signbit:function(t){return(t=+t)!=t?t:0==t?1/t==1/0:t>0}})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Math",{umulh:function(t,e){var n=+t,r=+e,o=65535&n,i=65535&r,a=n>>>16,u=r>>>16,c=(a*i>>>0)+(o*i>>>16);return a*u+(c>>>16)+((o*u>>>0)+(65535&c)>>>16)}})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Math",{scale:n(107)})},function(t,e,n){"use strict";var r=n(0),o=Math.PI/180;r(r.S,"Math",{radians:function(t){return t*o}})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Math",{RAD_PER_DEG:180/Math.PI})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Math",{imulh:function(t,e){var n=+t,r=+e,o=65535&n,i=65535&r,a=n>>16,u=r>>16,c=(a*i>>>0)+(o*i>>>16);return a*u+(c>>16)+((o*u>>>0)+(65535&c)>>16)}})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Math",{isubh:function(t,e,n,r){var o=t>>>0,i=n>>>0;return(e>>>0)-(r>>>0)-((~o&i|~(o^i)&o-i>>>0)>>>31)|0}})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Math",{iaddh:function(t,e,n,r){var o=t>>>0,i=n>>>0;return(e>>>0)+(r>>>0)+((o&i|(o|i)&~(o+i>>>0))>>>31)|0}})},function(t,e,n){"use strict";var r=n(0),o=n(107),i=n(127);r(r.S,"Math",{fscale:function(t,e,n,r,a){return i(o(t,e,n,r,a))}})},function(t,e,n){"use strict";var r=n(0),o=180/Math.PI;r(r.S,"Math",{degrees:function(t){return t*o}})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Math",{DEG_PER_RAD:Math.PI/180})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Math",{clamp:function(t,e,n){return Math.min(n,Math.max(e,t))}})},function(t,e,n){"use strict";var r=n(0),o=n(21);r(r.S,"Error",{isError:function(t){return"Error"===o(t)}})},function(t,e,n){"use strict";var r=n(0);r(r.S,"System",{global:n(2)})},function(t,e,n){"use strict";var r=n(0);r(r.G,{global:n(2)})},function(t,e,n){"use strict";n(55)("WeakSet")},function(t,e,n){"use strict";n(55)("WeakMap")},function(t,e,n){"use strict";n(55)("Set")},function(t,e,n){"use strict";n(55)("Map")},function(t,e,n){"use strict";n(56)("WeakSet")},function(t,e,n){"use strict";n(56)("WeakMap")},function(t,e,n){"use strict";n(56)("Set")},function(t,e,n){"use strict";n(56)("Map")},function(t,e,n){"use strict";var r=n(0);r(r.P+r.R,"Set",{toJSON:n(109)("Set")})},function(t,e,n){"use strict";var r=n(0);r(r.P+r.R,"Map",{toJSON:n(109)("Map")})},function(t,e,n){"use strict";var r=n(0),o=n(10),i=n(29),a=n(16),u=n(17).f;n(8)&&r(r.P+n(57),"Object",{__lookupSetter__:function(t){var e,n=o(this),r=i(t,!0);do{if(e=u(n,r))return e.set}while(n=a(n))}})},function(t,e,n){"use strict";var r=n(0),o=n(10),i=n(29),a=n(16),u=n(17).f;n(8)&&r(r.P+n(57),"Object",{__lookupGetter__:function(t){var e,n=o(this),r=i(t,!0);do{if(e=u(n,r))return e.get}while(n=a(n))}})},function(t,e,n){"use strict";var r=n(0),o=n(10),i=n(11),a=n(7);n(8)&&r(r.P+n(57),"Object",{__defineSetter__:function(t,e){a.f(o(this),t,{set:i(e),enumerable:!0,configurable:!0})}})},function(t,e,n){"use strict";var r=n(0),o=n(10),i=n(11),a=n(7);n(8)&&r(r.P+n(57),"Object",{__defineGetter__:function(t,e){a.f(o(this),t,{get:i(e),enumerable:!0,configurable:!0})}})},function(t,e,n){"use strict";var r=n(0),o=n(110)(!0);r(r.S,"Object",{entries:function(t){return o(t)}})},function(t,e,n){"use strict";var r=n(0),o=n(110)(!1);r(r.S,"Object",{values:function(t){return o(t)}})},function(t,e,n){"use strict";var r=n(0),o=n(113),i=n(18),a=n(17),u=n(82);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=i(t),c=a.f,s=o(r),f={},l=0;s.length>l;)void 0!==(n=c(r,e=s[l++]))&&u(f,e,n);return f}})},function(t,e,n){"use strict";n(98)("observable")},function(t,e,n){"use strict";n(98)("asyncIterator")},function(t,e,n){"use strict";var r=n(0),o=n(28),i=n(6),a=n(65),u=n(63),c=RegExp.prototype,s=function(t,e){this._r=t,this._s=e};n(86)(s,"RegExp String",function(){var t=this._r.exec(this._s);return{value:t,done:null===t}}),r(r.P,"String",{matchAll:function(t){if(o(this),!a(t))throw TypeError(t+" is not a regexp!");var e=String(this),n="flags"in c?String(t.flags):u.call(t),r=new RegExp(t.source,~n.indexOf("g")?n:"g"+n);return r.lastIndex=i(t.lastIndex),new s(r,e)}})},function(t,e,n){"use strict";n(49)("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},function(t,e,n){"use strict";n(49)("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},function(t,e,n){"use strict";var r=n(0),o=n(111),i=n(60);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(i),"String",{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,e,n){"use strict";var r=n(0),o=n(111),i=n(60);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(i),"String",{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,e,n){"use strict";var r=n(0),o=n(88)(!0);r(r.P,"String",{at:function(t){return o(this,t)}})},function(t,e,n){"use strict";var r=n(0),o=n(112),i=n(10),a=n(6),u=n(27),c=n(80);r(r.P,"Array",{flatten:function(){var t=arguments[0],e=i(this),n=a(e.length),r=c(e,0);return o(r,e,e,n,0,void 0===t?1:u(t)),r}}),n(33)("flatten")},function(t,e,n){"use strict";var r=n(0),o=n(112),i=n(10),a=n(6),u=n(11),c=n(80);r(r.P,"Array",{flatMap:function(t){var e,n,r=i(this);return u(t),e=a(r.length),n=c(r,0),o(n,r,r,e,0,1,t,arguments[1]),n}}),n(33)("flatMap")},function(t,e,n){"use strict";var r=n(0),o=n(68)(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(33)("includes")},function(t,e,n){"use strict";var r=n(0),o=n(94);o&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){o.check(t,e);try{return o.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){"use strict";var r=n(7),o=n(17),i=n(16),a=n(19),u=n(0),c=n(45),s=n(1),f=n(4);u(u.S,"Reflect",{set:function t(e,n,u){var l,p,d=arguments.length<4?e:arguments[3],h=o.f(s(e),n);if(!h){if(f(p=i(e)))return t(p,n,u,d);h=c(0)}if(a(h,"value")){if(!1===h.writable||!f(d))return!1;if(l=o.f(d,n)){if(l.get||l.set||!1===l.writable)return!1;l.value=u,r.f(d,n,l)}else r.f(d,n,c(0,u));return!0}return void 0!==h.set&&(h.set.call(d,u),!0)}})},function(t,e,n){"use strict";var r=n(0),o=n(1),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){o(t);try{return i&&i(t),!0}catch(t){return!1}}})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Reflect",{ownKeys:n(113)})},function(t,e,n){"use strict";var r=n(0),o=n(1),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return o(t),!i||i(t)}})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){"use strict";var r=n(0),o=n(16),i=n(1);r(r.S,"Reflect",{getPrototypeOf:function(t){return o(i(t))}})},function(t,e,n){"use strict";var r=n(17),o=n(0),i=n(1);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(i(t),e)}})},function(t,e,n){"use strict";var r=n(17),o=n(16),i=n(19),a=n(0),u=n(4),c=n(1);a(a.S,"Reflect",{get:function t(e,n){var a,s,f=arguments.length<3?e:arguments[2];return c(e)===f?e[n]:(a=r.f(e,n))?i(a,"value")?a.value:void 0!==a.get?a.get.call(f):void 0:u(s=o(e))?t(s,n,f):void 0}})},function(t,e,n){"use strict";var r=n(0),o=n(1),i=function(t){this._t=o(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n(86)(i,"Object",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new i(t)}})},function(t,e,n){"use strict";var r=n(0),o=n(17).f,i=n(1);r(r.S,"Reflect",{deleteProperty:function(t,e){var n=o(i(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){"use strict";var r=n(7),o=n(0),i=n(1),a=n(29);o(o.S+o.F*n(3)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){i(t),e=a(e,!0),i(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},function(t,e,n){"use strict";var r=n(0),o=n(41),i=n(11),a=n(1),u=n(4),c=n(3),s=n(134),f=(n(2).Reflect||{}).construct,l=c(function(){function t(){}return!(f(function(){},[],t)instanceof t)}),p=!c(function(){f(function(){})});r(r.S+r.F*(l||p),"Reflect",{construct:function(t,e){i(t),a(e);var n=arguments.length<3?t:i(arguments[2]);if(p&&!l)return f(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(s.apply(t,r))}var c=n.prototype,d=o(u(c)?c:Object.prototype),h=Function.apply.call(t,d,e);return u(h)?h:d}})},function(t,e,n){"use strict";var r=n(0),o=n(11),i=n(1),a=(n(2).Reflect||{}).apply,u=Function.apply;r(r.S+r.F*!n(3)(function(){a(function(){})}),"Reflect",{apply:function(t,e,n){var r=o(t),c=i(n);return a?a(r,e,c):u.call(r,e,c)}})},function(t,e,n){"use strict";n(31)("Float64",8,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){"use strict";n(31)("Float32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){"use strict";n(31)("Uint32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){"use strict";n(31)("Int32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){"use strict";n(31)("Uint16",2,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){"use strict";n(31)("Int16",2,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){"use strict";n(31)("Uint8",1,function(t){return function(e,n,r){return t(this,e,n,r)}},!0)},function(t,e,n){"use strict";n(31)("Uint8",1,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){"use strict";n(31)("Int8",1,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){"use strict";var r=n(0);r(r.G+r.W+r.F*!n(58).ABV,{DataView:n(74).DataView})},function(t,e,n){"use strict";var r=n(0),o=n(58),i=n(74),a=n(1),u=n(42),c=n(6),s=n(4),f=n(2).ArrayBuffer,l=n(61),p=i.ArrayBuffer,d=i.DataView,h=o.ABV&&f.isView,v=p.prototype.slice,y=o.VIEW;r(r.G+r.W+r.F*(f!==p),{ArrayBuffer:p}),r(r.S+r.F*!o.CONSTR,"ArrayBuffer",{isView:function(t){return h&&h(t)||s(t)&&y in t}}),r(r.P+r.U+r.F*n(3)(function(){return!new p(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(t,e){if(void 0!==v&&void 0===e)return v.call(a(this),t);for(var n=a(this).byteLength,r=u(t,n),o=u(void 0===e?n:e,n),i=new(l(this,p))(c(o-r)),s=new d(this),f=new d(i),h=0;r<o;)f.setUint8(h++,s.getUint8(r++));return i}}),n(39)("ArrayBuffer")},function(t,e,n){"use strict";var r=n(115),o=n(47);n(59)("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(o(this,"WeakSet"),t,!0)}},r,!1,!0)},function(t,e,n){"use strict";var r,o,i,a,u=n(34),c=n(2),s=n(22),f=n(52),l=n(0),p=n(4),d=n(11),h=n(38),v=n(37),y=n(61),b=n(77).set,g=n(76)(),m=n(75),w=n(121),x=n(60),_=n(120),O=c.TypeError,S=c.process,k=S&&S.versions,P=k&&k.v8||"",j=c.Promise,E="process"==f(S),M=function(){},T=o=m.f,A=!!function(){try{var t=j.resolve(1),e=(t.constructor={})[n(5)("species")]=function(t){t(M,M)};return(E||"function"==typeof PromiseRejectionEvent)&&t.then(M)instanceof e&&0!==P.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),F=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},R=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var r=t._v,o=1==t._s,i=0,a=function(e){var n,i,a,u=o?e.ok:e.fail,c=e.resolve,s=e.reject,f=e.domain;try{u?(o||(2==t._h&&N(t),t._h=1),!0===u?n=r:(f&&f.enter(),n=u(r),f&&(f.exit(),a=!0)),n===e.promise?s(O("Promise-chain cycle")):(i=F(n))?i.call(n,c,s):c(n)):s(r)}catch(t){f&&!a&&f.exit(),s(t)}};n.length>i;)a(n[i++]);t._c=[],t._n=!1,e&&!t._h&&z(t)})}},z=function(t){b.call(c,function(){var e,n,r,o=t._v,i=C(t);if(i&&(e=w(function(){E?S.emit("unhandledRejection",o,t):(n=c.onunhandledrejection)?n({promise:t,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=E||C(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},C=function(t){return 1!==t._h&&0===(t._a||t._c).length},N=function(t){b.call(c,function(){var e;E?S.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},D=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),R(e,!0))},L=function t(e){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw O("Promise can't be resolved itself");(n=F(e))?g(function(){var o={_w:r,_d:!1};try{n.call(e,s(t,o,1),s(D,o,1))}catch(t){D.call(o,t)}}):(r._v=e,r._s=1,R(r,!1))}catch(t){D.call({_w:r,_d:!1},t)}}};A||(j=function(t){h(this,j,"Promise","_h"),d(t),r.call(this);try{t(s(L,this,1),s(D,this,1))}catch(t){D.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(36)(j.prototype,{then:function(t,e){var n=T(y(this,j));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=E?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&R(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=s(L,t,1),this.reject=s(D,t,1)},m.f=T=function(t){return t===j||t===a?new i(t):o(t)}),l(l.G+l.W+l.F*!A,{Promise:j}),n(50)(j,"Promise"),n(39)("Promise"),a=n(23).Promise,l(l.S+l.F*!A,"Promise",{reject:function(t){var e=T(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(u||!A),"Promise",{resolve:function(t){return _(u&&this===a?j:this,t)}}),l(l.S+l.F*!(A&&n(64)(function(t){j.all(t).catch(M)})),"Promise",{all:function(t){var e=this,n=T(e),r=n.resolve,o=n.reject,i=w(function(){var n=[],i=0,a=1;v(t,!1,function(t){var u=i++,c=!1;n.push(void 0),a++,e.resolve(t).then(function(t){c||(c=!0,n[u]=t,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=T(e),r=n.reject,o=w(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(t,e,n){"use strict";n(62)("split",2,function(t,e,r){var o=n(65),i=r,a=[].push;if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length){var u=void 0===/()??/.exec("")[1];r=function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!o(t))return i.call(n,t,e);var r,c,s,f,l,p=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,v=void 0===e?4294967295:e>>>0,y=new RegExp(t.source,d+"g");for(u||(r=new RegExp("^"+y.source+"$(?!\\s)",d));(c=y.exec(n))&&!((s=c.index+c[0].length)>h&&(p.push(n.slice(h,c.index)),!u&&c.length>1&&c[0].replace(r,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(c[l]=void 0)}),c.length>1&&c.index<n.length&&a.apply(p,c.slice(1)),f=c[0].length,h=s,p.length>=v));)y.lastIndex===c.index&&y.lastIndex++;return h===n.length?!f&&y.test("")||p.push(""):p.push(n.slice(h)),p.length>v?p.slice(0,v):p}}else"0".split(void 0,0).length&&(r=function(t,e){return void 0===t&&0===e?[]:i.call(this,t,e)});return[function(n,o){var i=t(this),a=void 0==n?void 0:n[e];return void 0!==a?a.call(n,i,o):r.call(String(i),n,o)},r]})},function(t,e,n){"use strict";n(62)("search",1,function(t,e,n){return[function(n){var r=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},n]})},function(t,e,n){"use strict";n(62)("replace",2,function(t,e,n){return[function(r,o){var i=t(this),a=void 0==r?void 0:r[e];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},n]})},function(t,e,n){"use strict";n(62)("match",1,function(t,e,n){return[function(n){var r=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},n]})},function(t,e,n){"use strict";n(122);var r=n(1),o=n(63),i=n(8),a=/./.toString,u=function(t){n(13)(RegExp.prototype,"toString",t,!0)};n(3)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?u(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)}):"toString"!=a.name&&u(function(){return a.call(this)})},function(t,e,n){"use strict";var r=n(2),o=n(92),i=n(7).f,a=n(40).f,u=n(65),c=n(63),s=r.RegExp,f=s,l=s.prototype,p=/a/g,d=/a/g,h=new s(p)!==p;if(n(8)&&(!h||n(3)(function(){return d[n(5)("match")]=!1,s(p)!=p||s(d)==d||"/a/i"!=s(p,"i")}))){s=function(t,e){var n=this instanceof s,r=u(t),i=void 0===e;return!n&&r&&t.constructor===s&&i?t:o(h?new f(r&&!i?t.source:t,e):f((r=t instanceof s)?t.source:t,r&&i?c.call(t):e),n?this:l,s)};for(var v=function(t){t in s||i(s,t,{configurable:!0,get:function(){return f[t]},set:function(e){f[t]=e}})},y=a(f),b=0;y.length>b;)v(y[b++]);l.constructor=s,s.prototype=l,n(13)(r,"RegExp",s)}n(39)("RegExp")},function(t,e,n){"use strict";n(39)("Array")},function(t,e,n){"use strict";var r=n(0),o=n(25)(6),i="findIndex",a=!0;i in[]&&Array(1)[i](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(33)(i)},function(t,e,n){"use strict";var r=n(0),o=n(25)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(33)("find")},function(t,e,n){"use strict";var r=n(0);r(r.P,"Array",{fill:n(79)}),n(33)("fill")},function(t,e,n){"use strict";var r=n(0);r(r.P,"Array",{copyWithin:n(124)}),n(33)("copyWithin")},function(t,e,n){"use strict";var r=n(0),o=n(18),i=n(27),a=n(6),u=[].lastIndexOf,c=!!u&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(c||!n(20)(u)),"Array",{lastIndexOf:function(t){if(c)return u.apply(this,arguments)||0;var e=o(this),n=a(e.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},function(t,e,n){"use strict";var r=n(0),o=n(68)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(20)(i)),"Array",{indexOf:function(t){return a?i.apply(this,arguments)||0:o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(125);r(r.P+r.F*!n(20)([].reduceRight,!0),"Array",{reduceRight:function(t){return o(this,t,arguments.length,arguments[1],!0)}})},function(t,e,n){"use strict";var r=n(0),o=n(125);r(r.P+r.F*!n(20)([].reduce,!0),"Array",{reduce:function(t){return o(this,t,arguments.length,arguments[1],!1)}})},function(t,e,n){"use strict";var r=n(0),o=n(25)(4);r(r.P+r.F*!n(20)([].every,!0),"Array",{every:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(25)(3);r(r.P+r.F*!n(20)([].some,!0),"Array",{some:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(25)(2);r(r.P+r.F*!n(20)([].filter,!0),"Array",{filter:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(25)(1);r(r.P+r.F*!n(20)([].map,!0),"Array",{map:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(4),o=n(66),i=n(5)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){"use strict";var r=n(0),o=n(25)(0),i=n(20)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),o=n(11),i=n(10),a=n(3),u=[].sort,c=[1,2,3];r(r.P+r.F*(a(function(){c.sort(void 0)})||!a(function(){c.sort(null)})||!n(20)(u)),"Array",{sort:function(t){return void 0===t?u.call(i(this)):u.call(i(this),o(t))}})},function(t,e,n){"use strict";var r=n(0),o=n(95),i=n(21),a=n(42),u=n(6),c=[].slice;r(r.P+r.F*n(3)(function(){o&&c.call(o)}),"Array",{slice:function(t,e){var n=u(this.length),r=i(this);if(e=void 0===e?n:e,"Array"==r)return c.call(this,t,e);for(var o=a(t,n),s=a(e,n),f=u(s-o),l=new Array(f),p=0;p<f;p++)l[p]="String"==r?this.charAt(o+p):this[o+p];return l}})},function(t,e,n){"use strict";var r=n(0),o=n(18),i=[].join;r(r.P+r.F*(n(54)!=Object||!n(20)(i)),"Array",{join:function(t){return i.call(o(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var r=n(0),o=n(82);r(r.S+r.F*n(3)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)o(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(22),o=n(0),i=n(10),a=n(126),u=n(83),c=n(6),s=n(82),f=n(81);o(o.S+o.F*!n(64)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,o,l,p=i(t),d="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,y=void 0!==v,b=0,g=f(p);if(y&&(v=r(v,h>2?arguments[2]:void 0,2)),void 0==g||d==Array&&u(g))for(n=new d(e=c(p.length));e>b;b++)s(n,b,y?v(p[b],b):p[b]);else for(l=g.call(p),n=new d;!(o=l.next()).done;b++)s(n,b,y?a(l,v,[o.value,b],!0):o.value);return n.length=b,n}})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Array",{isArray:n(66)})},function(t,e,n){"use strict";var r=n(1),o=n(29);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!=t)}},function(t,e,n){"use strict";var r=n(5)("toPrimitive"),o=Date.prototype;r in o||n(14)(o,r,n(295))},function(t,e,n){"use strict";var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(13)(r,"toString",function(){var t=i.call(this);return t==t?o.call(this):"Invalid Date"})},function(t,e,n){"use strict";var r=n(3),o=Date.prototype.getTime,i=Date.prototype.toISOString,a=function(t){return t>9?t:"0"+t};t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=i.call(new Date(-5e13-1))})||!r(function(){i.call(new Date(NaN))})?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+a(t.getUTCMonth()+1)+"-"+a(t.getUTCDate())+"T"+a(t.getUTCHours())+":"+a(t.getUTCMinutes())+":"+a(t.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:i},function(t,e,n){"use strict";var r=n(0),o=n(298);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},function(t,e,n){"use strict";var r=n(0),o=n(10),i=n(29);r(r.P+r.F*n(3)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=o(this),n=i(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){"use strict";n(12)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,n){"use strict";n(12)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,n){"use strict";n(12)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,n){"use strict";n(12)("small",function(t){return function(){return t(this,"small","","")}})},function(t,e,n){"use strict";n(12)("link",function(t){return function(e){return t(this,"a","href",e)}})},function(t,e,n){"use strict";n(12)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,n){"use strict";n(12)("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},function(t,e,n){"use strict";n(12)("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},function(t,e,n){"use strict";n(12)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,n){"use strict";n(12)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,n){"use strict";n(12)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,n){"use strict";n(12)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,n){"use strict";n(12)("anchor",function(t){return function(e){return t(this,"a","name",e)}})},function(t,e,n){"use strict";var r=n(0),o=n(6),i=n(85),a="".startsWith;r(r.P+r.F*n(84)("startsWith"),"String",{startsWith:function(t){var e=i(this,t,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return a?a.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";var r=n(0);r(r.P,"String",{repeat:n(91)})},function(t,e,n){"use strict";var r=n(0),o=n(85);r(r.P+r.F*n(84)("includes"),"String",{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(0),o=n(6),i=n(85),a="".endsWith;r(r.P+r.F*n(84)("endsWith"),"String",{endsWith:function(t){var e=i(this,t,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(e.length),u=void 0===n?r:Math.min(o(n),r),c=String(t);return a?a.call(e,c,u):e.slice(u-c.length,u)===c}})},function(t,e,n){"use strict";var r=n(0),o=n(88)(!1);r(r.P,"String",{codePointAt:function(t){return o(this,t)}})},function(t,e,n){"use strict";var r=n(88)(!0);n(87)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";n(49)("trim",function(t){return function(){return t(this,3)}})},function(t,e,n){"use strict";var r=n(0),o=n(18),i=n(6);r(r.S,"String",{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],u=0;n>u;)a.push(String(e[u++])),u<r&&a.push(String(arguments[u]));return a.join("")}})},function(t,e,n){"use strict";var r=n(0),o=n(42),i=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){"use strict";var r=n(0),o=n(89),i=Math.exp;r(r.S,"Math",{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(i(t)+i(-t))}})},function(t,e,n){"use strict";var r=n(0),o=n(89),i=Math.exp;r(r.S+r.F*n(3)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(o(t)-o(-t))/2:(i(t-1)-i(-t-1))*(Math.E/2)}})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Math",{sign:n(90)})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Math",{log1p:n(128)})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,e,n){"use strict";var r=n(0),o=Math.imul;r(r.S+r.F*n(3)(function(){return-5!=o(4294967295,5)||2!=o.length}),"Math",{imul:function(t,e){var n=+t,r=+e,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(t,e,n){"use strict";var r=n(0),o=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,i=0,a=0,u=arguments.length,c=0;a<u;)c<(n=o(arguments[a++]))?(i=i*(r=c/n)*r+1,c=n):i+=n>0?(r=n/c)*r:n;return c===1/0?1/0:c*Math.sqrt(i)}})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Math",{fround:n(127)})},function(t,e,n){"use strict";var r=n(0),o=n(89);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(t,e,n){"use strict";var r=n(0),o=Math.exp;r(r.S,"Math",{cosh:function(t){return(o(t=+t)+o(-t))/2}})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){"use strict";var r=n(0),o=n(90);r(r.S,"Math",{cbrt:function(t){return o(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,n){"use strict";var r=n(0),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){"use strict";var r=n(0),o=Math.asinh;r(r.S+r.F*!(o&&1/o(0)>0),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},function(t,e,n){"use strict";var r=n(0),o=n(128),i=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:o(t-1+i(t-1)*i(t+1))}})},function(t,e,n){"use strict";var r=n(0),o=n(132);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(t,e,n){"use strict";var r=n(0),o=n(131);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){"use strict";var r=n(0),o=n(129),i=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Number",{isInteger:n(129)})},function(t,e,n){"use strict";var r=n(0),o=n(2).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&o(t)}})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){"use strict";var r=n(0),o=n(3),i=n(130),a=1..toPrecision;r(r.P+r.F*(o(function(){return"1"!==a.call(1,void 0)})||!o(function(){a.call({})})),"Number",{toPrecision:function(t){var e=i(this,"Number#toPrecision: incorrect invocation!");return void 0===t?a.call(e):a.call(e,t)}})},function(t,e,n){"use strict";var r=n(0),o=n(27),i=n(130),a=n(91),u=1..toFixed,c=Math.floor,s=[0,0,0,0,0,0],f="Number.toFixed: incorrect invocation!",l=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*s[n],s[n]=r%1e7,r=c(r/1e7)},p=function(t){for(var e=6,n=0;--e>=0;)n+=s[e],s[e]=c(n/t),n=n%t*1e7},d=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==s[t]){var n=String(s[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e},h=function t(e,n,r){return 0===n?r:n%2==1?t(e,n-1,r*e):t(e*e,n/2,r)};r(r.P+r.F*(!!u&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(3)(function(){u.call({})})),"Number",{toFixed:function(t){var e,n,r,u,c=i(this,f),s=o(t),v="",y="0";if(s<0||s>20)throw RangeError(f);if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(v="-",c=-c),c>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(c*h(2,69,1))-69)<0?c*h(2,-e,1):c/h(2,e,1),n*=4503599627370496,(e=52-e)>0){for(l(0,n),r=s;r>=7;)l(1e7,0),r-=7;for(l(h(10,r,1),0),r=e-1;r>=23;)p(1<<23),r-=23;p(1<<r),l(1,1),p(2),y=d()}else l(0,n),l(1<<-e,0),y=d()+a.call("0",s);return y=s>0?v+((u=y.length)<=s?"0."+a.call("0",s-u)+y:y.slice(0,u-s)+"."+y.slice(u-s)):v+y}})},function(t,e,n){"use strict";var r=n(2),o=n(19),i=n(21),a=n(92),u=n(29),c=n(3),s=n(40).f,f=n(17).f,l=n(7).f,p=n(49).trim,d=r.Number,h=d,v=d.prototype,y="Number"==i(n(41)(v)),b="trim"in String.prototype,g=function(t){var e=u(t,!1);if("string"==typeof e&&e.length>2){var n,r,o,i=(e=b?e.trim():p(e,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(e.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+e}for(var a,c=e.slice(2),s=0,f=c.length;s<f;s++)if((a=c.charCodeAt(s))<48||a>o)return NaN;return parseInt(c,r)}}return+e};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof d&&(y?c(function(){v.valueOf.call(n)}):"Number"!=i(n))?a(new h(g(e)),n,d):g(e)};for(var m,w=n(8)?s(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;w.length>x;x++)o(h,m=w[x])&&!o(d,m)&&l(d,m,f(h,m));d.prototype=v,v.constructor=d,n(13)(r,"Number",d)}},function(t,e,n){"use strict";var r=n(0),o=n(131);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(t,e,n){"use strict";var r=n(0),o=n(132);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(t,e,n){"use strict";var r=n(4),o=n(16),i=n(5)("hasInstance"),a=Function.prototype;i in a||n(7).f(a,i,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=o(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){"use strict";var r=n(7).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(8)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},function(t,e,n){"use strict";var r=n(0);r(r.P,"Function",{bind:n(134)})},function(t,e,n){"use strict";var r=n(52),o={};o[n(5)("toStringTag")]="z",o+""!="[object z]"&&n(13)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,e,n){"use strict";var r=n(0);r(r.S,"Object",{setPrototypeOf:n(94).set})},function(t,e,n){"use strict";t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){"use strict";var r=n(0);r(r.S,"Object",{is:n(360)})},function(t,e,n){"use strict";var r=n(0);r(r.S+r.F,"Object",{assign:n(135)})},function(t,e,n){"use strict";var r=n(4);n(26)("isExtensible",function(t){return function(e){return!!r(e)&&(!t||t(e))}})},function(t,e,n){"use strict";var r=n(4);n(26)("isSealed",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){"use strict";var r=n(4);n(26)("isFrozen",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){"use strict";var r=n(4),o=n(35).onFreeze;n(26)("preventExtensions",function(t){return function(e){return t&&r(e)?t(o(e)):e}})},function(t,e,n){"use strict";var r=n(4),o=n(35).onFreeze;n(26)("seal",function(t){return function(e){return t&&r(e)?t(o(e)):e}})},function(t,e,n){"use strict";var r=n(4),o=n(35).onFreeze;n(26)("freeze",function(t){return function(e){return t&&r(e)?t(o(e)):e}})},function(t,e,n){"use strict";n(26)("getOwnPropertyNames",function(){return n(136).f})},function(t,e,n){"use strict";var r=n(10),o=n(43);n(26)("keys",function(){return function(t){return o(r(t))}})},function(t,e,n){"use strict";var r=n(10),o=n(16);n(26)("getPrototypeOf",function(){return function(t){return o(r(t))}})},function(t,e,n){"use strict";var r=n(18),o=n(17).f;n(26)("getOwnPropertyDescriptor",function(){return function(t,e){return o(r(t),e)}})},function(t,e,n){"use strict";var r=n(0);r(r.S+r.F*!n(8),"Object",{defineProperties:n(137)})},function(t,e,n){"use strict";var r=n(0);r(r.S+r.F*!n(8),"Object",{defineProperty:n(7).f})},function(t,e,n){"use strict";var r=n(0);r(r.S,"Object",{create:n(41)})},function(t,e,n){"use strict";var r=n(43),o=n(67),i=n(53);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var a,u=n(t),c=i.f,s=0;u.length>s;)c.call(t,a=u[s++])&&e.push(a);return e}},function(t,e,n){"use strict";var r="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},o=n(2),i=n(19),a=n(8),u=n(0),c=n(13),s=n(35).KEY,f=n(3),l=n(69),p=n(50),d=n(44),h=n(5),v=n(139),y=n(98),b=n(376),g=n(66),m=n(1),w=n(4),x=n(18),_=n(29),O=n(45),S=n(41),k=n(136),P=n(17),j=n(7),E=n(43),M=P.f,T=j.f,A=k.f,F=o.Symbol,R=o.JSON,z=R&&R.stringify,C=h("_hidden"),N=h("toPrimitive"),D={}.propertyIsEnumerable,L=l("symbol-registry"),I=l("symbols"),H=l("op-symbols"),B=Object.prototype,W="function"==typeof F,V=o.QObject,G=!V||!V.prototype||!V.prototype.findChild,U=a&&f(function(){return 7!=S(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=M(B,e);r&&delete B[e],T(t,e,n),r&&t!==B&&T(B,e,r)}:T,q=function(t){var e=I[t]=S(F.prototype);return e._k=t,e},J=W&&"symbol"==r(F.iterator)?function(t){return"symbol"==(void 0===t?"undefined":r(t))}:function(t){return t instanceof F},X=function(t,e,n){return t===B&&X(H,e,n),m(t),e=_(e,!0),m(n),i(I,e)?(n.enumerable?(i(t,C)&&t[C][e]&&(t[C][e]=!1),n=S(n,{enumerable:O(0,!1)})):(i(t,C)||T(t,C,O(1,{})),t[C][e]=!0),U(t,e,n)):T(t,e,n)},Y=function(t,e){m(t);for(var n,r=b(e=x(e)),o=0,i=r.length;i>o;)X(t,n=r[o++],e[n]);return t},$=function(t){var e=D.call(this,t=_(t,!0));return!(this===B&&i(I,t)&&!i(H,t))&&(!(e||!i(this,t)||!i(I,t)||i(this,C)&&this[C][t])||e)},K=function(t,e){if(t=x(t),e=_(e,!0),t!==B||!i(I,e)||i(H,e)){var n=M(t,e);return!n||!i(I,e)||i(t,C)&&t[C][e]||(n.enumerable=!0),n}},Z=function(t){for(var e,n=A(x(t)),r=[],o=0;n.length>o;)i(I,e=n[o++])||e==C||e==s||r.push(e);return r},Q=function(t){for(var e,n=t===B,r=A(n?H:x(t)),o=[],a=0;r.length>a;)!i(I,e=r[a++])||n&&!i(B,e)||o.push(I[e]);return o};W||(c((F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0);return a&&G&&U(B,t,{configurable:!0,set:function e(n){this===B&&e.call(H,n),i(this,C)&&i(this[C],t)&&(this[C][t]=!1),U(this,t,O(1,n))}}),q(t)}).prototype,"toString",function(){return this._k}),P.f=K,j.f=X,n(40).f=k.f=Z,n(53).f=$,n(67).f=Q,a&&!n(34)&&c(B,"propertyIsEnumerable",$,!0),v.f=function(t){return q(h(t))}),u(u.G+u.W+u.F*!W,{Symbol:F});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)h(tt[et++]);for(var nt=E(h.store),rt=0;nt.length>rt;)y(nt[rt++]);u(u.S+u.F*!W,"Symbol",{for:function(t){return i(L,t+="")?L[t]:L[t]=F(t)},keyFor:function(t){if(!J(t))throw TypeError(t+" is not a symbol!");for(var e in L)if(L[e]===t)return e},useSetter:function(){G=!0},useSimple:function(){G=!1}}),u(u.S+u.F*!W,"Object",{create:function(t,e){return void 0===e?S(t):Y(S(t),e)},defineProperty:X,defineProperties:Y,getOwnPropertyDescriptor:K,getOwnPropertyNames:Z,getOwnPropertySymbols:Q}),R&&u(u.S+u.F*(!W||f(function(){var t=F();return"[null]"!=z([t])||"{}"!=z({a:t})||"{}"!=z(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(w(e)||void 0!==t)&&!J(t))return g(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!J(e))return e}),r[1]=e,z.apply(R,r)}}),F.prototype[N]||n(14)(F.prototype,N,F.prototype.valueOf),p(F,"Symbol"),p(Math,"Math",!0),p(o.JSON,"JSON",!0)},function(t,e,n){"use strict";n(377),n(375),n(374),n(373),n(372),n(371),n(370),n(369),n(368),n(367),n(366),n(365),n(364),n(363),n(362),n(361),n(359),n(358),n(357),n(356),n(355),n(354),n(353),n(352),n(351),n(350),n(349),n(348),n(347),n(346),n(345),n(344),n(343),n(342),n(341),n(340),n(339),n(338),n(337),n(336),n(335),n(334),n(333),n(332),n(331),n(330),n(329),n(328),n(327),n(326),n(325),n(324),n(323),n(322),n(321),n(320),n(319),n(318),n(317),n(316),n(315),n(314),n(313),n(312),n(311),n(310),n(309),n(308),n(307),n(306),n(305),n(304),n(303),n(302),n(301),n(300),n(299),n(297),n(296),n(294),n(293),n(292),n(291),n(290),n(289),n(288),n(286),n(285),n(284),n(283),n(282),n(281),n(280),n(279),n(278),n(277),n(276),n(275),n(274),n(78),n(273),n(272),n(122),n(271),n(270),n(269),n(268),n(267),n(119),n(117),n(116),n(266),n(265),n(264),n(263),n(262),n(261),n(260),n(259),n(258),n(257),n(256),n(255),n(254),n(253),n(252),n(251),n(250),n(249),n(248),n(247),n(246),n(245),n(244),n(243),n(242),n(241),n(240),n(239),n(238),n(237),n(236),n(235),n(234),n(233),n(232),n(231),n(230),n(229),n(228),n(227),n(226),n(225),n(224),n(223),n(222),n(221),n(220),n(219),n(218),n(217),n(216),n(215),n(214),n(213),n(212),n(211),n(210),n(209),n(208),n(207),n(206),n(205),n(204),n(203),n(202),n(201),n(200),n(199),n(198),n(197),n(196),n(195),n(194),n(193),n(192),n(191),n(190),n(189),n(188),n(187),n(186),n(185),n(184),n(183),n(182),t.exports=n(23)},function(t,e,n){"use strict";(function(t){if(n(378),n(181),n(180),t._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");t._babelPolyfill=!0;var e="defineProperty";function r(t,n,r){t[n]||Object[e](t,n,{writable:!0,configurable:!0,value:r})}r(String.prototype,"padLeft","".padStart),r(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(t){[][t]&&r(Array,t,Function.call.bind([][t]))})}).call(this,n(141))},function(t,e,n){n(379),t.exports=n(177)}])}).call(exports, __webpack_require__, exports, module),
				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));

/***/ })

/******/ })});;
//# sourceMappingURL=francy.js.map