New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@financial-times/d3-bootloader

Package Overview
Dependencies
Maintainers
16
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@financial-times/d3-bootloader - npm Package Compare versions

Comparing version 1.9.8 to 2.0.0-rc1

offline/g-chartframe.js

2

dist/d3-bootloader.min.js

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):e.bootD3=t(e.fs)}(this,function(Jt){"use strict";Jt=Jt&&Jt.hasOwnProperty("default")?Jt.default:Jt;var Bt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function $t(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}var e,t,r=(function(Nt){!function(){var y,s="undefined"!=typeof window&&"undefined"!=typeof document,c="undefined"!=typeof process&&process.versions&&process.versions.node,a="undefined"!=typeof process&&"string"==typeof process.platform&&process.platform.match(/^win/),h="undefined"!=typeof self?self:Bt,t="undefined"!=typeof Symbol;function e(e){return t?Symbol():"@@"+e}if("undefined"!=typeof document&&document.getElementsByTagName){if(!(y=document.baseURI)){var r=document.getElementsByTagName("base");y=r[0]&&r[0].href||window.location.href}}else"undefined"!=typeof location&&(y=location.href);if(y){var n=(y=y.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==n&&(y=y.substr(0,n+1))}else{if("undefined"==typeof process||!process.cwd)throw new TypeError("No environment baseURI");y="file://"+(a?"/":"")+process.cwd(),a&&(y=y.replace(/\\/g,"/"))}"/"!==y[y.length-1]&&(y+="/");var i="_"==new Error(0,"_").fileName;function x(e,t){s||(t=t.replace(a?/file:\/\/\//g:/file:\/\//g,""));var r,n=(e.message||e)+"\n "+t;r=i&&e.fileName?new Error(n,e.fileName,e.lineNumber):new Error(n);var o=e.originalErr?e.originalErr.stack:e.stack;return r.stack=c?n+"\n "+o:o,r.originalErr=e.originalErr||e,r}function f(e,t){throw new RangeError('Unable to resolve "'+e+'" to '+t)}function b(e,t){e=e.trim();var r=t&&t.substr(0,t.indexOf(":")+1),n=e[0],o=e[1];if("/"===n&&"/"===o)return r||f(e,t),r+e;if("."===n&&("/"===o||"."===o&&("/"===e[2]||2===e.length&&(e+="/"))||1===e.length&&(e+="/"))||"/"===n){var i,a=!r||"/"!==t[r.length];if(i=a?(void 0===t&&f(e,t),t):"/"===t[r.length+1]?"file:"!==r?(i=t.substr(r.length+2)).substr(i.indexOf("/")+1):t.substr(8):t.substr(r.length+1),"/"===n){if(!a)return t.substr(0,t.length-i.length-1)+e;f(e,t)}for(var s=i.substr(0,i.lastIndexOf("/")+1)+e,l=[],u=-1,d=0;d<s.length;d++)if(-1===u)if("."!==s[d])u=d;else{if("."!==s[d+1]||"/"!==s[d+2]&&d+2!==s.length){if("/"!==s[d+1]&&d+1!==s.length){u=d;continue}d+=1}else l.pop(),d+=2;a&&0===l.length&&f(e,t)}else"/"===s[d]&&(l.push(s.substring(u,d+1)),u=-1);return-1!==u&&l.push(s.substr(u)),t.substr(0,t.length-i.length)+l.join("")}return-1!==e.indexOf(":")?c&&":"===e[1]&&"\\"===e[2]&&e[0].match(/[a-z]/i)?"file:///"+e.replace(/\\/g,"/"):e:void 0}var o=Promise.resolve();function l(r){if(r.values)return r.values();if("undefined"==typeof Symbol||!Symbol.iterator)throw new Error("Symbol.iterator not supported in this browser");var e={};return e[Symbol.iterator]=function(){var e=Object.keys(r),t=0;return{next:function(){return t<e.length?{value:r[e[t++]],done:!1}:{value:void 0,done:!0}}}},e}function u(){this.registry=new j}function d(e){if(!(e instanceof E))throw new TypeError("Module instantiation did not return a valid namespace object.");return e}(u.prototype.constructor=u).prototype.import=function(t,r){if("string"!=typeof t)throw new TypeError("Loader import method must be passed a module key string");var e=this;return o.then(function(){return e[g](t,r)}).then(d).catch(function(e){throw x(e,"Loading "+t+(r?" from "+r:""))})};var p=u.resolve=e("resolve"),g=u.resolveInstantiate=e("resolveInstantiate");function m(e){if(void 0===e)throw new RangeError("No resolution found.");return e}u.prototype[g]=function(e,t){var r=this;return r.resolve(e,t).then(function(e){return r.registry.get(e)})},u.prototype.resolve=function(t,r){var e=this;return o.then(function(){return e[p](t,r)}).then(m).catch(function(e){throw x(e,"Resolving "+t+(r?" to "+r:""))})};var v="undefined"!=typeof Symbol&&Symbol.iterator,w=e("registry");function j(){this[w]={}}v&&(j.prototype[Symbol.iterator]=function(){return this.entries()[Symbol.iterator]()},j.prototype.entries=function(){var t=this[w];return l(Object.keys(t).map(function(e){return[e,t[e]]}))}),j.prototype.keys=function(){return l(Object.keys(this[w]))},j.prototype.values=function(){var t=this[w];return l(Object.keys(t).map(function(e){return t[e]}))},j.prototype.get=function(e){return this[w][e]},j.prototype.set=function(e,t){if(!(t instanceof E))throw new Error("Registry must be set with an instance of Module Namespace");return this[w][e]=t,this},j.prototype.has=function(e){return Object.hasOwnProperty.call(this[w],e)},j.prototype.delete=function(e){return!!Object.hasOwnProperty.call(this[w],e)&&(delete this[w][e],!0)};var k=e("baseObject");function E(e){Object.defineProperty(this,k,{value:e}),Object.keys(e).forEach(O,this)}function O(e){Object.defineProperty(this,e,{enumerable:!0,get:function(){return this[k][e]}})}E.prototype=Object.create(null),"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(E.prototype,Symbol.toStringTag,{value:"Module"});var S=e("register-internal");function _(){u.call(this);var r=this.registry.delete;this.registry.delete=function(e){var t=r.call(this,e);return n.hasOwnProperty(e)&&!n[e].linkRecord&&(delete n[e],t=!0),t};var n={};this[S]={lastRegister:void 0,records:n},this.trace=!1}var P=((_.prototype=Object.create(u.prototype)).constructor=_).instantiate=e("instantiate");function M(e,t,r){return e.records[t]={key:t,registration:r,module:void 0,importerSetters:void 0,loadError:void 0,evalError:void 0,linkRecord:{instantiatePromise:void 0,dependencies:void 0,execute:void 0,executingRequire:!1,moduleObj:void 0,setters:void 0,depsInstantiatePromise:void 0,dependencyInstantiations:void 0}}}function R(r,n,o,i,a){return o.instantiatePromise||(o.instantiatePromise=(n.registration?Promise.resolve():Promise.resolve().then(function(){return a.lastRegister=void 0,r[P](n.key,1<r[P].length&&function(e,t,r){return function(){var e=r.lastRegister;return e?(r.lastRegister=void 0,t.registration=e,!0):!!t.registration}}(0,n,a))})).then(function(e){if(void 0!==e){if(!(e instanceof E))throw new TypeError("Instantiate did not return a valid Module object.");return delete a.records[n.key],r.trace&&A(r,n,o),i[n.key]=e}var t=n.registration;if(n.registration=void 0,!t)throw new TypeError("Module instantiation did not call an anonymous or correctly named System.register.");return o.dependencies=t[0],n.importerSetters=[],o.moduleObj={},t[2]?(o.moduleObj.default=o.moduleObj.__useDefault={},o.executingRequire=t[1],o.execute=t[2]):function(e,t,r,n){var i=r.moduleObj,a=t.importerSetters,s=!1,o=n.call(h,function(e,t){if("object"==typeof e){var r=!1;for(var n in e)t=e[n],"__useDefault"===n||n in i&&i[n]===t||(r=!0,i[n]=t);if(!1===r)return t}else{if((s||e in i)&&i[e]===t)return t;i[e]=t}for(var o=0;o<a.length;o++)a[o](i);return t},new L(e,t.key));r.setters=o.setters,r.execute=o.execute,o.exports&&(r.moduleObj=i=o.exports,s=!0)}(r,n,o,t[1]),n}).catch(function(e){throw n.linkRecord=void 0,n.loadError=n.loadError||x(e,"Instantiating "+n.key)}))}function C(o,i,e,a,s,l){return o.resolve(i,e).then(function(e){l&&(l[i]=e);var t=s.records[e],r=a[e];if(r&&(!t||t.module&&r!==t.module))return r;if(t&&t.loadError)throw t.loadError;t&&(r||!t.module)||(t=M(s,e,t&&t.registration));var n=t.linkRecord;return n?R(o,t,n,a,s):t})}function A(e,t,r){e.loads=e.loads||{},e.loads[t.key]={key:t.key,deps:r.dependencies,dynamicDeps:[],depMap:r.depMap||{}}}function L(e,t){this.loader=e,this.key=this.id=t,this.meta={url:t}}function D(e,t,r,n,o,i){if(t.module)return t.module;if(t.evalError)throw t.evalError;if(i&&-1!==i.indexOf(t))return t.linkRecord.moduleObj;var a=function e(t,r,n,o,i,a){a.push(r);var s;if(n.setters)for(var l,u,d=0;d<n.dependencies.length;d++)if(!((l=n.dependencyInstantiations[d])instanceof E)&&((u=l.linkRecord)&&-1===a.indexOf(l)&&(s=l.evalError?l.evalError:e(t,l,u,o,i,u.setters?a:[])),s))return r.linkRecord=void 0,r.evalError=x(s,"Evaluating "+r.key),r.evalError;if(n.execute)if(n.setters)s=I(n.execute);else{var c={id:r.key},f=n.moduleObj;Object.defineProperty(c,"exports",{configurable:!0,set:function(e){f.default=f.__useDefault=e},get:function(){return f.__useDefault}});var p=(m=t,v=r.key,y=n.dependencies,b=n.dependencyInstantiations,w=o,j=i,k=a,function(e){for(var t=0;t<y.length;t++)if(y[t]===e){var r,n=b[t];return"__useDefault"in(r=n instanceof E?n:D(m,n,n.linkRecord,w,j,k))?r.__useDefault:r}throw new Error("Module "+e+" not declared as a System.registerDynamic dependency of "+v)});if(!n.executingRequire)for(var d=0;d<n.dependencies.length;d++)p(n.dependencies[d]);s=F(n.execute,p,f.default,c),c.exports!==f.__useDefault&&(f.default=f.__useDefault=c.exports);var g=f.default;if(g&&g.__esModule)for(var h in g)Object.hasOwnProperty.call(g,h)&&(f[h]=g[h])}var m,v,y,b,w,j,k;r.linkRecord=void 0;if(s)return r.evalError=x(s,"Evaluating "+r.key);o[r.key]=r.module=new E(n.moduleObj);if(!n.setters){if(r.importerSetters)for(var d=0;d<r.importerSetters.length;d++)r.importerSetters[d](r.module);r.importerSetters=void 0}}(e,t,r,n,o,r.setters?[]:i||[]);if(a)throw a;return t.module}_.prototype[_.resolve=u.resolve]=function(e,t){return b(e,t||y)},_.prototype[P]=function(e,t){},_.prototype[u.resolveInstantiate]=function(e,t){var r=this,n=this[S],o=this.registry[w];return function(r,e,t,n,o){var i=n[e];if(i)return Promise.resolve(i);var a=o.records[e];return!a||a.module?r.resolve(e,t).then(function(e){if(i=n[e])return i;if((a=o.records[e])&&!a.module||(a=M(o,e,a&&a.registration)),a.loadError)return Promise.reject(a.loadError);var t=a.linkRecord;return t?R(r,a,t,n,o):a}):a.loadError?Promise.reject(a.loadError):R(r,a,a.linkRecord,n,o)}(r,e,t,o,n).then(function(e){if(e instanceof E)return e;var t=e.linkRecord;if(t)return function(l,e,t,u,d){return new Promise(function(o,r){var n=[],i=0;function a(e){var t=e.linkRecord;t&&-1===n.indexOf(e)&&(n.push(e),i++,function(e,o,i,t,r){if(i.depsInstantiatePromise)return i.depsInstantiatePromise;for(var n=Array(i.dependencies.length),a=0;a<i.dependencies.length;a++)n[a]=C(e,i.dependencies[a],o.key,t,r,e.trace&&i.depMap||(i.depMap={}));var s=Promise.all(n).then(function(e){if(i.dependencyInstantiations=e,i.setters)for(var t=0;t<e.length;t++){var r=i.setters[t];if(r){var n=e[t];if(n instanceof E)r(n);else{if(n.loadError)throw n.loadError;r(n.module||n.linkRecord.moduleObj),n.importerSetters&&n.importerSetters.push(r)}}}return o});e.trace&&(s=s.then(function(){return A(e,o,i),o}));return(s=s.catch(function(e){throw i.depsInstantiatePromise=void 0,x(e,"Loading "+o.key)})).catch(function(){}),i.depsInstantiatePromise=s}(l,e,t,u,d).then(s,r))}function s(e){i--;var t=e.linkRecord;if(t)for(var r=0;r<t.dependencies.length;r++){var n=t.dependencyInstantiations[r];n instanceof E||a(n)}0===i&&o()}a(e)})}(r,e,0,o,n).then(function(){return D(r,e,t,o,n,void 0)});if(e.module)return e.module;throw e.evalError})},_.prototype.register=function(e,t,r){var n=this[S];void 0===r?n.lastRegister=[e,t,void 0]:(n.records[e]||M(n,e,void 0)).registration=[t,r,void 0]},_.prototype.registerDynamic=function(e,t,r,n){var o=this[S];"string"!=typeof e?o.lastRegister=[e,t,r]:(o.records[e]||M(o,e,void 0)).registration=[t,r,n]},L.prototype.import=function(e){return this.loader.trace&&this.loader.loads[this.key].dynamicDeps.push(e),this.loader.import(e,this.key)};var K={};function I(e){try{e.call(K)}catch(e){return e}}function F(e,t,r,n){try{var o=e.call(h,t,r,n);void 0!==o&&(n.exports=o)}catch(e){return e}}Object.freeze&&Object.freeze(K);var T=Promise.resolve();function U(){}var q,z=new E({});var N,J=e("loader-config"),B=e("metadata"),$="undefined"==typeof window&&"undefined"!=typeof self&&"undefined"!=typeof importScripts;function W(e,t){(t||this.warnings&&"undefined"!=typeof console&&console.warn)&&console.warn(e)}function G(e,t){for(var r in t)Object.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function H(e,t){for(var r in t)Object.hasOwnProperty.call(t,r)&&void 0===e[r]&&(e[r]=t[r]);return e}function Z(e,t,r){for(var n in t)if(Object.hasOwnProperty.call(t,n)){var o=t[n];void 0===e[n]?e[n]=o:o instanceof Array&&e[n]instanceof Array?e[n]=[].concat(r?o:e[n]).concat(r?e[n]:o):"object"==typeof o&&null!==o&&"object"==typeof e[n]?e[n]=(r?H:G)(G({},e[n]),o):r||(e[n]=o)}}var X=!1,Y=!1;function Q(e){if(X||Y){var t=document.createElement("link");X?(t.rel="preload",t.as="script"):t.rel="prefetch",t.href=e,document.head.appendChild(t)}else{(new Image).src=e}}if(s&&function(){var e=document.createElement("link").relList;if(e&&e.supports){Y=!0;try{X=e.supports("preload")}catch(e){}}}(),s){var V=[],ee=window.onerror;window.onerror=function(e,t){for(var r=0;r<V.length;r++)if(V[r].src===t)return void V[r].err(e);ee&&ee.apply(this,arguments)}}function te(t,e,r,n,o){if(t=t.replace(/#/g,"%23"),$)return function(e,t,r){try{importScripts(e)}catch(e){r(e)}t()}(t,n,o);var i=document.createElement("script");function a(){n(),l()}function s(e){l(),o(new Error("Fetching "+t))}function l(){for(var e=0;e<V.length;e++)if(V[e].err===s){V.splice(e,1);break}i.removeEventListener("load",a,!1),i.removeEventListener("error",s,!1),document.head.removeChild(i)}i.type="text/javascript",i.charset="utf-8",i.async=!0,e&&(i.crossOrigin=e),r&&(i.integrity=r),i.addEventListener("load",a,!1),i.addEventListener("error",s,!1),i.src=t,document.head.appendChild(i)}function re(e,t){for(var r=e.split(".");r.length;)t=t[r.shift()];return t}function ne(e,t,r){var n=ie(t,r);if(n){var o=t[n]+r.substr(n.length),i=b(o,y);return void 0!==i?i:e+o}return-1!==r.indexOf(":")?r:e+r}function oe(e){var t=this.name;if(t.substr(0,e.length)===e&&(t.length===e.length||"/"===t[e.length]||"/"===e[e.length-1]||":"===e[e.length-1])){var r=e.split("/").length;r>this.len&&(this.match=e,this.len=r)}}function ie(e,t){if(Object.hasOwnProperty.call(e,t))return t;var r={name:t,match:void 0,len:0};return Object.keys(e).forEach(oe,r),r.match}var ae,se=/(?:^\uFEFF?|[^$_a-zA-Z\xA0-\uFFFF."'])require\s*\(\s*("[^"\\]*(?:\\.[^"\\]*)*"|'[^'\\]*(?:\\.[^'\\]*)*'|`[^`\\]*(?:\\.[^`\\]*)*`)\s*\)/g;function le(i,a,e,s){return new Promise(function(e,t){i=i.replace(/#/g,"%23");var r=new XMLHttpRequest;function n(){e(s?r.response:r.responseText)}function o(){t(new Error("XHR error: "+(r.status?" ("+r.status+(r.statusText?" "+r.statusText:"")+")":"")+" loading "+i))}s&&(r.responseType="arraybuffer"),r.onreadystatechange=function(){4===r.readyState&&(0==r.status?r.response?n():(r.addEventListener("error",o),r.addEventListener("load",n)):200===r.status?n():o())},r.open("GET",i,!0),r.setRequestHeader&&(r.setRequestHeader("Accept","application/x-es-module, */*"),a&&("string"==typeof a&&r.setRequestHeader("Authorization",a),r.withCredentials=!0)),r.send(null)})}var ue="undefined"!=typeof XMLHttpRequest,de="undefined"!=typeof self&&void 0!==self.fetch?function(e,t,r,n){if("file:///"===e.substr(0,8)){if(ue)return le(e,t,r,n);throw new Error("Unable to fetch file URLs in this environment.")}e=e.replace(/#/g,"%23");var o={headers:{Accept:"application/x-es-module, */*"}};return r&&(o.integrity=r),t&&("string"==typeof t&&(o.headers.Authorization=t),o.credentials="include"),fetch(e,o).then(function(e){if(e.ok)return n?e.arrayBuffer():e.text();throw new Error("Fetch error: "+e.status+" "+e.statusText)})}:ue?le:void 0!==$t&&"undefined"!=typeof process?function(e,t,r,i){return"file:///"!=e.substr(0,8)?Promise.reject(new Error('Unable to fetch "'+e+'". Only file URLs of the form file:/// supported running in Node.')):(ae=ae||Jt,e=a?e.replace(/\//g,"\\").substr(8):e.substr(7),new Promise(function(n,o){ae.readFile(e,function(e,t){if(e)return o(e);if(i)n(t);else{var r=t+"";"\ufeff"===r[0]&&(r=r.substr(1)),n(r)}})}))}:function(){throw new Error("No fetch method is defined for this environment.")};function ce(e,t,r){var n,o={pluginKey:void 0,pluginArgument:void 0,pluginModule:void 0,packageKey:void 0,packageConfig:void 0,load:void 0};r&&(t.pluginFirst?-1!==(n=r.lastIndexOf("!"))&&(o.pluginArgument=o.pluginKey=r.substr(0,n)):-1!==(n=r.indexOf("!"))&&(o.pluginArgument=o.pluginKey=r.substr(n+1)),o.packageKey=ie(t.packages,r),o.packageKey&&(o.packageConfig=t.packages[o.packageKey]));return o}function fe(e,t){var r=ve(e.pluginFirst,t);if(r){var n=fe.call(this,e,r.plugin);return ye(e.pluginFirst,pe.call(this,e,r.argument,void 0,!1,!1),n)}return pe.call(this,e,t,void 0,!1,!1)}function pe(e,t,r,n,o){var i=b(t,r||y);if(i)return ne(e.baseURL,e.paths,i);if(n){var a=ie(e.map,t);if(a&&(i=b(t=e.map[a]+t.substr(a.length),y)))return ne(e.baseURL,e.paths,i)}if(this.registry.has(t))return t;if("@node/"===t.substr(0,6))return t;var s=o&&"/"!==t[t.length-1],l=ne(e.baseURL,e.paths,s?t+"/":t);return s?l.substr(0,l.length-1):l}function ge(e,t,r,n,o,i){if(o&&o.packageConfig&&"."!==t[0]){var a=o.packageConfig.map,s=a&&ie(a,t);if(s&&"string"==typeof a[s]){var l=je(this,e,o.packageConfig,o.packageKey,s,t,n,i);if(l)return l}}var u=pe.call(this,e,t,r,!0,!0),d=Ee(e,u);if(n.packageKey=d&&d.packageKey||ie(e.packages,u),!n.packageKey)return u;if(-1!==e.packageConfigKeys.indexOf(u))return n.packageKey=void 0,u;n.packageConfig=e.packages[n.packageKey]||(e.packages[n.packageKey]=De());var c=u.substr(n.packageKey.length+1);return function(e,t,r,n,o,i,a){if(!o){if(!r.main)return n;o="./"===r.main.substr(0,2)?r.main.substr(2):r.main}if(r.map){var s="./"+o,l=ie(r.map,s);if(l||(s="./"+be(t,r,n,o,a))!=="./"+o&&(l=ie(r.map,s)),l){var u=je(e,t,r,n,l,s,i,a);if(u)return u}}return n+"/"+be(t,r,n,o,a)}(this,e,n.packageConfig,n.packageKey,c,n,i)}function he(n,o,i,a,r,s){var l=this;return T.then(function(){if(r&&r.packageConfig&&"./"!==o.substr(0,2)){var e=r.packageConfig.map,t=e&&ie(e,o);if(t)return ke(l,n,r.packageConfig,r.packageKey,t,o,a,s)}return T}).then(function(e){if(e)return e;var t=pe.call(l,n,o,i,!0,!0),r=Ee(n,t);return a.packageKey=r&&r.packageKey||ie(n.packages,t),a.packageKey?-1!==n.packageConfigKeys.indexOf(t)?(a.packageKey=void 0,a.load=me(),a.load.format="json",a.load.loader="",Promise.resolve(t)):(a.packageConfig=n.packages[a.packageKey]||(n.packages[a.packageKey]=De()),(r&&!a.packageConfig.configured?function(e,t,r,n){var o=e.pluginLoader||e;-1===t.packageConfigKeys.indexOf(r)&&t.packageConfigKeys.push(r);return o.import(r).then(function(e){Ke(n.packageConfig,e,n.packageKey,!0,t),n.packageConfig.configured=!0}).catch(function(e){throw x(e,"Unable to fetch package configuration file "+r)})}(l,n,r.configPath,a):T).then(function(){var e=t.substr(a.packageKey.length+1);return function(e,t,r,n,o,i,a){if(!o){if(!r.main)return Promise.resolve(n);o="./"===r.main.substr(0,2)?r.main.substr(2):r.main}var s,l;r.map&&(s="./"+o,(l=ie(r.map,s))||(s="./"+be(t,r,n,o,a))!=="./"+o&&(l=ie(r.map,s)));return(l?ke(e,t,r,n,l,s,i,a):T).then(function(e){return e?Promise.resolve(e):Promise.resolve(n+"/"+be(t,r,n,o,a))})}(l,n,a.packageConfig,a.packageKey,e,a,s)})):Promise.resolve(t)})}function me(){return{extension:"",deps:void 0,format:void 0,loader:void 0,scriptLoad:void 0,globals:void 0,nonce:void 0,integrity:void 0,sourceMap:void 0,exports:void 0,encapsulateGlobal:!1,crossOrigin:void 0,cjsRequireDetection:!0,cjsDeferDepsExecute:!1,esModule:!1}}function ve(e,t){var r,n,o=e?t.indexOf("!"):t.lastIndexOf("!");if(-1!==o)return n=e?(r=t.substr(o+1),t.substr(0,o)):(r=t.substr(0,o),t.substr(o+1)||r.substr(r.lastIndexOf(".")+1)),{argument:r,plugin:n}}function ye(e,t,r){return e?r+"!"+t:t+"!"+r}function be(e,t,r,n,o){if(!n||!t.defaultExtension||"/"===n[n.length-1]||o)return n;var i=!1;if(t.meta&&Oe(t.meta,n,function(e,t,r){if(0===r||e.lastIndexOf("*")!==e.length-1)return i=!0}),!i&&e.meta&&Oe(e.meta,r+"/"+n,function(e,t,r){if(0===r||e.lastIndexOf("*")!==e.length-1)return i=!0}),i)return n;var a="."+t.defaultExtension;return n.substr(n.length-a.length)!==a?n+a:n}function we(e,t,r){return!(t.substr(0,e.length)===e&&r.length>e.length)}function je(e,t,r,n,o,i,a,s){"/"===i[i.length-1]&&(i=i.substr(0,i.length-1));var l=r.map[o];if("object"==typeof l)throw new Error("Synchronous conditional normalization not supported sync normalizing "+o+" in "+n);if(we(o,l,i)&&"string"==typeof l)return ge.call(e,t,l+i.substr(o.length),n+"/",a,a,s)}function ke(t,r,e,n,o,i,a,s){"/"===i[i.length-1]&&(i=i.substr(0,i.length-1));var l=e.map[o];if("string"==typeof l)return we(o,l,i)?he.call(t,r,l+i.substr(o.length),n+"/",a,a,s).then(function(e){return Re.call(t,e,n+"/",a)}):T;var u=[],d=[];for(var c in l){var f=_e(c);d.push({condition:f,map:l[c]}),u.push(_.prototype.import.call(t,f.module,n))}return Promise.all(u).then(function(e){for(var t=0;t<d.length;t++){var r=d[t].condition,n=re(r.prop,"__useDefault"in e[t]?e[t].__useDefault:e[t]);if(!r.negate&&n||r.negate&&!n)return d[t].map}}).then(function(e){if(e)return we(o,e,i)?he.call(t,r,e+i.substr(o.length),n+"/",a,a,s).then(function(e){return Re.call(t,e,n+"/",a)}):T})}var xe={};function Ee(e,t){for(var r,n,o,i,a,s=!1,l=0;l<e.packageConfigPaths.length;l++){var u=e.packageConfigPaths[l],d=xe[u]||(xe[u]=(void 0,i=(o=u).lastIndexOf("*"),{length:a=Math.max(i+1,o.lastIndexOf("/")),regEx:new RegExp("^("+o.substr(0,a).replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*/g,"[^\\/]+")+")(\\/|$)"),wildcard:-1!==i}));if(!(t.length<d.length)){var c=t.match(d.regEx);!c||r&&(s&&d.wildcard||!(r.length<c[1].length))||(r=c[1],s=!d.wildcard,n=r+u.substr(d.length))}}if(r)return{packageKey:r,configPath:n}}function Oe(e,t,r){var n;for(var o in e){var i="./"===o.substr(0,2)?"./":"";if(i&&(o=o.substr(2)),-1!==(n=o.indexOf("*"))&&o.substr(0,n)===t.substr(0,n)&&o.substr(n+1)===t.substr(t.length-o.length+n+1)&&r(o,e[i+o],o.split("/").length))return}var a=e[t]&&Object.hasOwnProperty.call(e,t)?e[t]:e["./"+t];a&&r(a,a,0)}var Se=["browser","node","dev","build","production","default"];function _e(e){var t,r,n,o=e.lastIndexOf("|");return-1!==o?(t=e.substr(o+1),r=e.substr(0,o),"~"===t[0]&&(n=!0,t=t.substr(1))):(n="~"===e[0],t="default",r=e.substr(n),-1!==Se.indexOf(r)&&(t=r,r=null)),{module:r||"@system-env",prop:t,negate:n}}function Pe(r,e,n){return _.prototype.import.call(this,r.module,e).then(function(e){var t=re(r.prop,e);if(n&&"boolean"!=typeof t)throw new TypeError("Condition did not resolve to a boolean.");return r.negate?!t:t})}var Me=/#\{[^\}]+\}/;function Re(t,r,e){var n=t.match(Me);if(!n)return Promise.resolve(t);var o=_e.call(this,n[0].substr(2,n[0].length-3));return Pe.call(this,o,r,!1).then(function(e){if("string"!=typeof e)throw new TypeError("The condition value for "+t+" doesn't resolve to a string.");if(-1!==e.indexOf("/"))throw new TypeError("Unabled to interpolate conditional "+t+(r?" in "+r:"")+"\n\tThe condition value "+e+' cannot contain a "/" separator.');return t.replace(Me,e)})}var Ce=["browserConfig","nodeConfig","devConfig","buildConfig","productionConfig"];function Ae(e,t,r){for(var n=0;n<Ce.length;n++){var o=Ce[n];t[o]&&Mt[o.substr(0,o.length-6)]&&r(t[o])}}function Le(e,t){var r=e[t];return r instanceof Array?e[t].concat([]):"object"==typeof r?function e(t,r){var n={};for(var o in t){var i=t[o];1<r?i instanceof Array?n[o]=[].concat(i):"object"==typeof i?n[o]=e(i,r-1):"packageConfig"!==o&&(n[o]=i):n[o]=i}return n}(r,3):e[t]}function De(){return{defaultExtension:void 0,main:void 0,format:void 0,meta:void 0,map:void 0,packageConfig:void 0,configured:!1}}function Ke(e,t,r,n,o){for(var i in t)"main"===i||"format"===i||"defaultExtension"===i||"configured"===i?n&&void 0!==e[i]||(e[i]=t[i]):"map"===i?(n?H:G)(e.map=e.map||{},t.map):"meta"===i?(n?H:G)(e.meta=e.meta||{},t.meta):Object.hasOwnProperty.call(t,i)&&W.call(o,'"'+i+'" is not a valid package configuration option in package '+r);return void 0===e.defaultExtension&&(e.defaultExtension="js"),void 0===e.main&&e.map&&e.map["."]?(e.main=e.map["."],delete e.map["."]):"object"==typeof e.main&&(e.map=e.map||{},e.map["./@main"]=e.main,e.main.default=e.main.default||"./",e.main="@main"),e}var Ie="undefined"!=typeof Buffer;try{Ie&&"YQ=="!==new Buffer("a").toString("base64")&&(Ie=!1)}catch(e){Ie=!1}var Fe,Te,Ue,qe,ze="\n//# sourceMappingURL=data:application/json;base64,";function Ne(e,t,r,n){var o=e.lastIndexOf("\n");if(t){if("object"!=typeof t)throw new TypeError("load.metadata.sourceMap must be set to an object.");t=JSON.stringify(t)}return(n?"(function(System, SystemJS) {":"")+e+(n?"\n})(System, System);":"")+("\n//# sourceURL="!=e.substr(o,15)?"\n//# sourceURL="+r+(t?"!transpiled":""):"")+(t&&function(e){return Ie?ze+new Buffer(e).toString("base64"):"undefined"!=typeof btoa?ze+btoa(unescape(encodeURIComponent(e))):""}(t)||"")}var Je=0;function Be(e){0==Je++&&(qe=h.System),h.System=h.SystemJS=e}function $e(){0==--Je&&(h.System=h.SystemJS=qe)}var We=!1;function Ge(e,t,r,n,o,i,a){if(t){if(i&&We)return function(e,t,r,n,o){Fe=Fe||(document.head||document.body||document.documentElement);var i=document.createElement("script");i.text=Ne(t,r,n,!1);var a,s=window.onerror;if(window.onerror=function(e){a=addToError(e,"Evaluating "+n),s&&s.apply(this,arguments)},Be(e),o&&i.setAttribute("nonce",o),Fe.appendChild(i),Fe.removeChild(i),$e(),window.onerror=s,a)return a}(e,t,r,n,i);try{Be(e),!Te&&e._nodeRequire&&(Te=e._nodeRequire("vm"),Ue=Te.runInThisContext("typeof System !== 'undefined' && System")===e),Ue?Te.runInThisContext(Ne(t,r,n,!a),{filename:n+(r?"!transpiled":"")}):(0,eval)(Ne(t,r,n,!a)),$e()}catch(e){return $e(),e}}}s&&"undefined"!=typeof document&&document.getElementsByTagName&&(window.chrome&&window.chrome.extension||navigator.userAgent.match(/^Node\.js/)||(We=!0));function He(p){function g(e,t,r,n){if("object"==typeof e&&!(e instanceof Array))return g.apply(null,Array.prototype.splice.call(arguments,1,arguments.length-1));if("string"==typeof e&&"function"==typeof t&&(e=[e]),!(e instanceof Array)){if("string"!=typeof e)throw new TypeError("Invalid require");var o=p.decanonicalize(e,n),i=p.get(o);if(!i)throw new Error('Module not already loaded loading "'+e+'" as '+o+(n?' from "'+n+'".':"."));return"__useDefault"in i?i.__useDefault:i}for(var a=[],s=0;s<e.length;s++)a.push(p.import(e[s],n));Promise.all(a).then(function(e){t&&t.apply(null,e)},r)}function e(e,l,u){var t,d,c,f;function r(n,e,o){for(var t=[],r=0;r<l.length;r++)t.push(n(l[r]));if(o.uri=o.id,o.config=U,-1!==f&&t.splice(f,0,o),-1!==c&&t.splice(c,0,e),-1!==d){var i=function(e,t,r){return"string"==typeof e&&"function"!=typeof t?n(e):g.call(p,e,t,r,o.id)};i.toUrl=function(e){return p.normalizeSync(e,o.id)},t.splice(d,0,i)}var a=h.require;h.require=g;var s=u.apply(-1===c?h:e,t);h.require=a,void 0!==s&&(o.exports=s)}"string"!=typeof e&&(u=l,l=e,e=null),l instanceof Array||(l=["require","exports","module"].splice(0,(u=l).length)),"function"!=typeof u&&(t=u,u=function(){return t}),e||pt&&(l=l.concat(pt),pt=void 0),-1!==(d=l.indexOf("require"))&&(l.splice(d,1),e||(l=l.concat(function(e,t){var r=((e=e.replace(Ve,"")).match(lt)[1].split(",")[t]||"require").replace(ut,""),n=dt[r]||(dt[r]=new RegExp(at+r+st,"g"));n.lastIndex=0;var o,i=[];for(;o=n.exec(e);)i.push(o[2]||o[3]);return i}(u.toString(),d)))),-1!==(c=l.indexOf("exports"))&&l.splice(c,1),-1!==(f=l.indexOf("module"))&&l.splice(f,1),e?(p.registerDynamic(e,l,!1,r),ft?gt=!(ft=void 0):gt||(ft=[l,r])):p.registerDynamic(l,!1,ht?ct(r):r)}p.set("@@cjs-helpers",p.newModule({requireResolve:Ye.bind(p),getPathVars:Qe})),p.set("@@global-helpers",p.newModule({prepareGlobal:it})),e.amd={},p.amdDefine=e,p.amdRequire=g}var Ze;function Xe(e){return"file:///"===e.substr(0,8)?e.substr(7+!!a):Ze&&e.substr(0,Ze.length)===Ze?e.substr(Ze.length):e}function Ye(e,t){return Xe(this.normalizeSync(e,t))}function Qe(e){var t,r=e.lastIndexOf("!"),n=(t=-1!==r?e.substr(0,r):e).split("/");return n.pop(),n=n.join("/"),{filename:Xe(t),dirname:Xe(n)}}"undefined"!=typeof window&&"undefined"!=typeof document&&window.location&&(Ze=location.protocol+"//"+location.hostname+(location.port?":"+location.port:""));var Ve=/(^|[^\\])(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/gm,et=/("[^"\\\n\r]*(\\.[^"\\\n\r]*)*"|'[^'\\\n\r]*(\\.[^'\\\n\r]*)*')/g;var tt,rt=["_g","sessionStorage","localStorage","clipboardData","frames","frameElement","external","mozAnimationStartTime","webkitStorageInfo","webkitIndexedDB","mozInnerScreenY","mozInnerScreenX"];function nt(t){if(-1===rt.indexOf(t)){try{var e=h[t]}catch(e){rt.push(t)}this(t,e)}}function ot(e){if("string"==typeof e)return re(e,h);if(!(e instanceof Array))throw new Error("Global exports must be a string or array.");for(var t={},r=0;r<e.length;r++)t[e[r].split(".").pop()]=re(e[r],h);return t}function it(e,i,t,a){var s,l=h.define;if(h.define=void 0,t)for(var r in s={},t)s[r]=h[r],h[r]=t[r];return i||(tt={},Object.keys(h).forEach(nt,function(e,t){tt[e]=t})),function(){var r,n=i?ot(i):{},o=!!i;if(i&&!a||Object.keys(h).forEach(nt,function(e,t){tt[e]!==t&&void 0!==t&&(a&&(h[e]=void 0),i||(n[e]=t,void 0!==r?o||r===t||(o=!0):r=t))}),n=o?n:r,s)for(var e in s)h[e]=s[e];return h.define=l,n}}var at="(?:^|[^$_a-zA-Z\\xA0-\\uFFFF.])",st="\\s*\\(\\s*(\"([^\"]+)\"|'([^']+)')\\s*\\)",lt=/\(([^\)]*)\)/,ut=/^\s+|\s+$/g,dt={};function ct(n){return function(e,t,r){n(e,t,r),"object"!=typeof(t=r.exports)&&"function"!=typeof t||"__esModule"in t||Object.defineProperty(r.exports,"__esModule",{value:!0})}}var ft,pt,gt=!1,ht=!1;var mt,vt=(s||$)&&"undefined"!=typeof navigator&&navigator.userAgent&&!navigator.userAgent.match(/MSIE (9|10).0/);function yt(e,t){!e.load.esModule||"object"!=typeof t&&"function"!=typeof t||"__esModule"in t||Object.defineProperty(t,"__esModule",{value:!0})}function bt(f,p,e,g,s){return Promise.resolve(e).then(function(e){return"detect"===g.load.format&&(g.load.format=void 0),function(e,t){var r=e.match(Rt);if(!r)return;for(var n=r[0].match(Ct),o=0;o<n.length;o++){var i=n[o],a=i.length,s=i.substr(0,1);if(";"==i.substr(a-1,1)&&a--,'"'==s||"'"==s){var l=i.substr(1,i.length-3),u=l.substr(0,l.indexOf(" "));if(u){var d=l.substr(u.length+1,l.length-u.length-1);"deps"===u&&(u="deps[]"),"[]"===u.substr(u.length-2,2)?(u=u.substr(0,u.length-2),t.load[u]=t.load[u]||[],t.load[u].push(d)):"use"!==u&&At(t.load,u,d)}else t.load[l]=!0}}}(e,g),g.pluginModule?(g.pluginLoad.source=e,g.pluginModule.translate?Promise.resolve(g.pluginModule.translate.call(f,g.pluginLoad,g.traceOpts)).then(function(e){if(g.load.sourceMap){if("object"!=typeof g.load.sourceMap)throw new Error("metadata.load.sourceMap must be set to an object.");_t(g.pluginLoad.address,g.load.sourceMap)}return"string"==typeof e?e:g.pluginLoad.source}):e):e}).then(function(e){return g.load.format||'"bundle"'!==e.substring(0,8)?"register"===g.load.format||!g.load.format&&xt(e)?(g.load.format="register",e):"esm"===g.load.format||!g.load.format&&e.match(jt)?(g.load.format="esm",function(t,r,n,o){if(!t.transpiler)throw new TypeError("Unable to dynamically transpile ES module\n A loader plugin needs to be configured via `SystemJS.config({ transpiler: 'transpiler-module' })`.");if(o.load.deps){for(var e="",i=0;i<o.load.deps.length;i++)e+='import "'+o.load.deps[i]+'"; ';r=e+r}return t.import.call(t,t.transpiler).then(function(e){if(!(e=e.__useDefault||e).translate)throw new Error(t.transpiler+" is not a valid transpiler plugin.");return e===o.pluginModule?r:("string"==typeof o.load.sourceMap&&(o.load.sourceMap=JSON.parse(o.load.sourceMap)),o.pluginLoad=o.pluginLoad||{name:n,address:n,source:r,metadata:o.load},o.load.deps=o.load.deps||[],Promise.resolve(e.translate.call(t,o.pluginLoad,o.traceOpts)).then(function(e){var t=o.load.sourceMap;return t&&"object"==typeof t&&_t(n,t),"esm"===o.load.format&&xt(e)&&(o.load.format="register"),e}))},function(e){throw x(e,"Unable to load transpiler to transpile "+n)})}(f,e,p,g)):e:(g.load.format="system",e)}).then(function(t){if("string"!=typeof t||!g.pluginModule||!g.pluginModule.instantiate)return t;var r=!1;return g.pluginLoad.source=t,Promise.resolve(g.pluginModule.instantiate.call(f,g.pluginLoad,function(e){if(t=e.source,g.load=e.metadata,r)throw new Error("Instantiate must only be called once.");r=!0})).then(function(e){return r?t:function(e){return e instanceof E?e:e&&e.__esModule?new E(e):new E({default:e,__useDefault:e})}(e)})}).then(function(d){if("string"!=typeof d)return d;g.load.format||(g.load.format=function(e){return e.match(Et)?"amd":(Ot.lastIndex=0,se.lastIndex=0,se.exec(e)||Ot.exec(e)?"cjs":"global")}(d));var e=!1;switch(g.load.format){case"esm":case"register":case"system":if(n=Ge(f,d,g.load.sourceMap,p,g.load.integrity,g.load.nonce,!1))throw n;return s()?void 0:z;case"json":var t=JSON.parse(d);return f.newModule({default:t,__useDefault:t});case"amd":var r=h.define;h.define=f.amdDefine,function(e,t){pt=e,ht=t,ft=void 0,gt=!1}(g.load.deps,g.load.esModule);var n=Ge(f,d,g.load.sourceMap,p,g.load.integrity,g.load.nonce,!1);if((e=s())||(function(e){ft?e.registerDynamic(pt?ft[0].concat(pt):ft[0],!1,ht?ct(ft[1]):ft[1]):gt&&e.registerDynamic([],!1,U)}(f),e=s()),h.define=r,n)throw n;break;case"cjs":var c=g.load.deps,o=(g.load.deps||[]).concat(g.load.cjsRequireDetection?function(e){se.lastIndex=Ve.lastIndex=et.lastIndex=0;var t,r=[],n=[],o=[];function i(e,t){for(var r=0;r<e.length;r++)if(e[r][0]<t.index&&e[r][1]>t.index)return!0;return!1}if(e.length/e.split("\n").length<200){for(;t=et.exec(e);)n.push([t.index,t.index+t[0].length]);for(;t=Ve.exec(e);)i(n,t)||o.push([t.index+t[1].length,t.index+t[0].length-1])}for(;t=se.exec(e);)if(!i(n,t)&&!i(o,t)){var a=t[1].substr(1,t[1].length-2);if(a.match(/"|'/))continue;r.push(a)}return r}(d):[]);for(var i in g.load.globals)g.load.globals[i]&&o.push(g.load.globals[i]);f.registerDynamic(o,!0,function(e,t,r){if(e.resolve=function(e){return Ye.call(f,e,r.id)},r.paths=[],r.require=e,!g.load.cjsDeferDepsExecute&&c)for(var n=0;n<c.length;n++)e(c[n]);var o=Qe(r.id),i={exports:t,args:[e,t,r,o.filename,o.dirname,h,h]},a="(function (require, exports, module, __filename, __dirname, global, GLOBAL";if(g.load.globals)for(var s in g.load.globals)i.args.push(e(g.load.globals[s])),a+=", "+s;var l=h.define;h.define=void 0,h.__cjsWrapper=i,d=a+") {"+d.replace(St,"")+"\n}).apply(__cjsWrapper.exports, __cjsWrapper.args);";var u=Ge(f,d,g.load.sourceMap,p,g.load.integrity,g.load.nonce,!1);if(u)throw u;yt(g,t),h.__cjsWrapper=void 0,h.define=l}),e=s();break;case"global":o=g.load.deps||[];for(var i in g.load.globals){var a=g.load.globals[i];a&&o.push(a)}f.registerDynamic(o,!1,function(e,t,r){var n;if(g.load.globals)for(var o in n={},g.load.globals)g.load.globals[o]&&(n[o]=e(g.load.globals[o]));var i=g.load.exports;i&&(d+="\n"+wt+'["'+i+'"] = '+i+";");var a=it(r.id,i,n,g.load.encapsulateGlobal),s=Ge(f,d,g.load.sourceMap,p,g.load.integrity,g.load.nonce,!0);if(s)throw s;var l=a();return yt(g,l),l}),e=s();break;default:throw new TypeError('Unknown module format "'+g.load.format+'" for "'+p+'".'+("es6"===g.load.format?' Use "esm" instead here.':""))}if(!e)throw new Error("Module "+p+" detected as "+g.load.format+" but didn't execute correctly.")})}"undefined"==typeof process||process.browser||(mt=$t);var wt="undefined"!=typeof self?"self":"global",jt=/(^\s*|[}\);\n]\s*)(import\s*(['"]|(\*\s+as\s+)?(?!type)([^"'\(\)\n; ]+)\s*from\s*['"]|\{)|export\s+\*\s+from\s+["']|export\s*(\{|default|function|class|var|const|let|async\s+function))/,kt=/^(\s*\/\*[^\*]*(\*(?!\/)[^\*]*)*\*\/|\s*\/\/[^\n]*|\s*"[^"]+"\s*;?|\s*'[^']+'\s*;?)*\s*/;function xt(e){var t=e.match(kt);return t&&"System.register"===e.substr(t[0].length,15)}var Et=/(?:^\uFEFF?|[^$_a-zA-Z\xA0-\uFFFF.])define\s*\(\s*("[^"]+"\s*,\s*|'[^']+'\s*,\s*)?\s*(\[(\s*(("[^"]+"|'[^']+')\s*,|\/\/.*\r?\n|\/\*(.|\s)*?\*\/))*(\s*("[^"]+"|'[^']+')\s*,?)?(\s*(\/\/.*\r?\n|\/\*(.|\s)*?\*\/))*\s*\]|function\s*|{|[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*\))/,Ot=/(?:^\uFEFF?|[^$_a-zA-Z\xA0-\uFFFF.])(exports\s*(\[['"]|\.)|module(\.exports|\['exports'\]|\["exports"\])\s*(\[['"]|[=,\.]))/,St=/^\#\!.*/;function _t(e,t){var r=e.split("!")[0];t.file&&t.file!=e||(t.file=r+"!transpiled"),t.sources&&(!(t.sources.length<=1)||t.sources[0]&&t.sources[0]!==e)||(t.sources=[r])}var Pt,Mt,Rt=/^(\s*\/\*[^\*]*(\*(?!\/)[^\*]*)*\*\/|\s*\/\/[^\n]*|\s*"[^"]+"\s*;?|\s*'[^']+'\s*;?)+/,Ct=/\/\*[^\*]*(\*(?!\/)[^\*]*)*\*\/|\/\/[^\n]*|"[^"]+"\s*;?|'[^']+'\s*;?/g;function At(e,t,r){for(var n,o=t.split(".");1<o.length;)e=e[n=o.shift()]=e[n]||{};void 0===e[n=o.shift()]&&(e[n]=r)}if("undefined"==typeof Promise)throw new Error("SystemJS needs a Promise polyfill.");if("undefined"!=typeof document){var Lt=document.getElementsByTagName("script"),Dt=Lt[Lt.length-1];document.currentScript&&(Dt.defer||Dt.async)&&(Dt=document.currentScript),Pt=Dt&&Dt.src}else if("undefined"!=typeof importScripts)try{throw new Error("_")}catch(e){e.stack.replace(/(?:at|@).*(http.+):[\d]+:[\d]+/,function(e,t){Pt=t})}else"undefined"!=typeof __filename&&(Pt=__filename);function Kt(){_.call(this),this._loader={},this[B]={},this[J]={baseURL:y,paths:{},packageConfigPaths:[],packageConfigKeys:[],map:{},packages:{},depCache:{},meta:{},bundles:{},production:!1,transpiler:void 0,loadedBundles:{},warnings:!1,pluginFirst:!1,wasm:!1},this.scriptSrc=Pt,this._nodeRequire=mt,this.registry.set("@empty",z),It.call(this,!1,!1),He(this)}function It(e,t){this[J].production=e,this.registry.set("@system-env",Mt=this.newModule({browser:s,node:!!this._nodeRequire,production:!t&&e,dev:t||!e,build:t,default:!0}))}((Kt.prototype=Object.create(_.prototype)).constructor=Kt).prototype[Kt.resolve=_.resolve]=Kt.prototype.normalize=function(r,n){var o=this[J],i={pluginKey:void 0,pluginArgument:void 0,pluginModule:void 0,packageKey:void 0,packageConfig:void 0,load:void 0},a=ce(0,o,n),s=this;return Promise.resolve().then(function(){var t=r.lastIndexOf("#?");if(-1===t)return Promise.resolve(r);var e=_e.call(s,r.substr(t+2));return Pe.call(s,e,n,!0).then(function(e){return e?r.substr(0,t):"@empty"})}).then(function(e){var t=ve(o.pluginFirst,e);return t?(i.pluginKey=t.plugin,Promise.all([he.call(s,o,t.argument,a&&a.pluginArgument||n,i,a,!0),s.resolve(t.plugin,n)]).then(function(e){if(i.pluginArgument=e[0],i.pluginKey=e[1],i.pluginArgument===i.pluginKey)throw new Error("Plugin "+i.pluginArgument+" cannot load itself, make sure it is excluded from any wildcard meta configuration via a custom loader: false rule.");return ye(o.pluginFirst,e[0],e[1])})):he.call(s,o,e,a&&a.pluginArgument||n,i,a,!1)}).then(function(e){return Re.call(s,e,n,a)}).then(function(t){return function(e,t,r){r.load=r.load||me();var n,o=0;for(var i in e.meta)if(-1!==(n=i.indexOf("*"))&&i.substr(0,n)===t.substr(0,n)&&i.substr(n+1)===t.substr(t.length-i.length+n+1)){var a=i.split("/").length;o<a&&(o=a),Z(r.load,e.meta[i],o!==a)}e.meta[t]&&Z(r.load,e.meta[t],!1);if(r.packageKey){var s=t.substr(r.packageKey.length+1),l={};if(r.packageConfig.meta){o=0;Oe(r.packageConfig.meta,s,function(e,t,r){o<r&&(o=r),Z(l,t,r&&r<o)}),Z(r.load,l,!1)}!r.packageConfig.format||r.pluginKey||r.load.loader||(r.load.format=r.load.format||r.packageConfig.format)}}.call(s,o,t,i),i.pluginKey||!i.load.loader?t:s.resolve(i.load.loader,t).then(function(e){return i.pluginKey=e,i.pluginArgument=t})}).then(function(e){return s[B][e]=i,e})},Kt.prototype.load=function(e,t){return W.call(this[J],"System.load is deprecated."),this.import(e,t)},Kt.prototype.decanonicalize=Kt.prototype.normalizeSync=Kt.prototype.resolveSync=function e(t,r){var n=this[J],o={pluginKey:void 0,pluginArgument:void 0,pluginModule:void 0,packageKey:void 0,packageConfig:void 0,load:void 0},i=i||ce(0,n,r),a=ve(n.pluginFirst,t);return a?(o.pluginKey=e.call(this,a.plugin,r),ye(n.pluginFirst,ge.call(this,n,a.argument,i.pluginArgument||r,o,i,!!o.pluginKey),o.pluginKey)):ge.call(this,n,t,i.pluginArgument||r,o,i,!!o.pluginKey)},Kt.prototype[Kt.instantiate=_.instantiate]=function(n,o){var i=this,e=this[J];return(function(e,t,r){var n=e.depCache[r];if(n)for(var o=0;o<n.length;o++)t.normalize(n[o],r).then(Q);else{var i=!1;for(var a in e.bundles){for(o=0;o<e.bundles[a].length;o++){var s=e.bundles[a][o];if(s===r){i=!0;break}if(-1!==s.indexOf("*")){var l=s.split("*");if(2!==l.length){e.bundles[a].splice(o--,1);continue}if(r.substr(0,l[0].length)===l[0]&&r.substr(r.length-l[1].length,l[1].length)===l[1]){i=!0;break}}}if(i)return t.import(a)}}}(e,this,n)||T).then(function(){if(!o()){var r=i[B][n];if("@node/"!==n.substr(0,6))return r.load.scriptLoad?!r.load.pluginKey&&vt||(r.load.scriptLoad=!1,W.call(e,'scriptLoad not supported for "'+n+'"')):!1!==r.load.scriptLoad&&!r.load.pluginKey&&vt&&(r.load.deps||r.load.globals||!("system"===r.load.format||"register"===r.load.format||"global"===r.load.format&&r.load.exports)||(r.load.scriptLoad=!0)),r.load.scriptLoad?new Promise(function(t,e){if("amd"===r.load.format&&h.define!==i.amdDefine)throw new Error("Loading AMD with scriptLoad requires setting the global `"+wt+".define = SystemJS.amdDefine`");te(n,r.load.crossOrigin,r.load.integrity,function(){if(!o()){r.load.format="global";var e=r.load.exports&&ot(r.load.exports);i.registerDynamic([],!1,function(){return yt(r,e),e}),o()}t()},e)}):function(e,t,r){return r.pluginKey?e.import(r.pluginKey).then(function(e){r.pluginModule=e,r.pluginLoad={name:t,address:r.pluginArgument,source:void 0,metadata:r.load},r.load.deps=r.load.deps||[]}):T}(i,n,r).then(function(){return function(n,o,i,a,e){i.load.exports&&!i.load.format&&(i.load.format="global");return T.then(function(){if(i.pluginModule&&i.pluginModule.locate)return Promise.resolve(i.pluginModule.locate.call(n,i.pluginLoad)).then(function(e){e&&(i.pluginLoad.address=e)})}).then(function(){return i.pluginModule?(e=!1,i.pluginModule.fetch?i.pluginModule.fetch.call(n,i.pluginLoad,function(e){return de(e.address,i.load.authorization,i.load.integrity,!1)}):de(i.pluginLoad.address,i.load.authorization,i.load.integrity,!1)):de(o,i.load.authorization,i.load.integrity,e)}).then(function(r){return e&&"string"!=typeof r?function(e,t,i){var r=new Uint8Array(t);return 0===r[0]&&97===r[1]&&115===r[2]?WebAssembly.compile(t).then(function(t){var r=[],n=[],o={};return WebAssembly.Module.imports&&WebAssembly.Module.imports(t).forEach(function(e){var t=e.module;n.push(function(e){o[t]=e}),-1===r.indexOf(t)&&r.push(t)}),e.register(r,function(e){return{setters:n,execute:function(){e(new WebAssembly.Instance(t,o).exports)}}}),i(),!0}):Promise.resolve(!1)}(n,r,a).then(function(e){if(!e){var t=s?new TextDecoder("utf-8").decode(new Uint8Array(r)):r.toString();return bt(n,o,t,i,a)}}):bt(n,o,r,i,a)})}(i,n,r,o,e.wasm)});if(!i._nodeRequire)throw new TypeError("Error loading "+n+". Can only load node core modules in Node.");return i.registerDynamic([],!1,function(){return function(e,t){if("."===e[0])throw new Error("Node module "+e+" can't be loaded as it is not a package require.");if(!N){var r=this._nodeRequire("module"),n=decodeURI(t.substr(a?8:7));(N=new r(n)).paths=r._nodeModulePaths(n)}return N.require(e)}.call(i,n.substr(6),i.baseURL)}),void o()}}).then(function(e){return delete i[B][n],e})},Kt.prototype.config=function(e,t){var r,n=this,o=this[J];if("warnings"in e&&(o.warnings=e.warnings),"wasm"in e&&(o.wasm="undefined"!=typeof WebAssembly&&e.wasm),("production"in e||"build"in e)&&It.call(n,!!e.production,!!(e.build||Mt&&Mt.build)),!t)for(var i in Ae(0,e,function(e){r=r||e.baseURL}),(r=r||e.baseURL)&&(o.baseURL=b(r,y)||b("./"+r,y),"/"!==o.baseURL[o.baseURL.length-1]&&(o.baseURL+="/")),e.paths&&G(o.paths,e.paths),Ae(0,e,function(e){e.paths&&G(o.paths,e.paths)}),o.paths)-1!==o.paths[i].indexOf("*")&&(W.call(o,"Path config "+i+" -> "+o.paths[i]+" is no longer supported as wildcards are deprecated."),delete o.paths[i]);if(e.defaultJSExtensions&&W.call(o,"The defaultJSExtensions configuration option is deprecated.\n Use packages defaultExtension instead.",!0),"boolean"==typeof e.pluginFirst&&(o.pluginFirst=e.pluginFirst),e.map)for(var i in e.map){var a=e.map[i];if("string"==typeof a){var s=pe.call(n,o,a,void 0,!1,!1);"/"===s[s.length-1]&&":"!==i[i.length-1]&&"/"!==i[i.length-1]&&(s=s.substr(0,s.length-1)),o.map[i]=s}else{h=(h=pe.call(n,o,"/"!==i[i.length-1]?i+"/":i,void 0,!0,!0)).substr(0,h.length-1);var l=o.packages[h];l||((l=o.packages[h]=De()).defaultExtension=""),Ke(l,{map:a},h,!1,o)}}if(e.packageConfigPaths){for(var u=[],d=0;d<e.packageConfigPaths.length;d++){var c=e.packageConfigPaths[d],f=Math.max(c.lastIndexOf("*")+1,c.lastIndexOf("/")),p=pe.call(n,o,c.substr(0,f),void 0,!1,!1);u[d]=p+c.substr(f)}o.packageConfigPaths=u}if(e.bundles)for(var i in e.bundles){var g=[];for(d=0;d<e.bundles[i].length;d++)g.push(n.normalizeSync(e.bundles[i][d]));o.bundles[i]=g}if(e.packages)for(var i in e.packages){if(i.match(/^([^\/]+:)?\/\/$/))throw new TypeError('"'+i+'" is not a valid package name.');var h;h=(h=pe.call(n,o,"/"!==i[i.length-1]?i+"/":i,void 0,!0,!0)).substr(0,h.length-1),Ke(o.packages[h]=o.packages[h]||De(),e.packages[i],h,!1,o)}if(e.depCache)for(var i in e.depCache)o.depCache[n.normalizeSync(i)]=[].concat(e.depCache[i]);if(e.meta)for(var i in e.meta)if("*"===i[0])G(o.meta[i]=o.meta[i]||{},e.meta[i]);else{var m=pe.call(n,o,i,void 0,!0,!0);G(o.meta[m]=o.meta[m]||{},e.meta[i])}for(var v in"transpiler"in e&&(o.transpiler=e.transpiler),e)-1===Ft.indexOf(v)&&-1===Ce.indexOf(v)&&(n[v]=e[v]);Ae(0,e,function(e){n.config(e,!0)})},Kt.prototype.getConfig=function(e){if(e){if(-1!==Ft.indexOf(e))return Le(this[J],e);throw new Error('"'+e+'" is not a valid configuration name. Must be one of '+Ft.join(", ")+".")}for(var t={},r=0;r<Ft.length;r++){var n=Ft[r],o=Le(this[J],n);void 0!==o&&(t[n]=o)}return t},Kt.prototype.global=h,Kt.prototype.import=function(){return _.prototype.import.apply(this,arguments).then(function(e){return"__useDefault"in e?e.__useDefault:e})};for(var Ft=["baseURL","map","paths","packages","packageConfigPaths","depCache","meta","bundles","transpiler","warnings","pluginFirst","production","wasm"],Tt="undefined"!=typeof Proxy,Ut=0;Ut<Ft.length;Ut++)!function(r){Object.defineProperty(Kt.prototype,r,{get:function(){var e=Le(this[J],r);return Tt&&"object"==typeof e&&(e=new Proxy(e,{set:function(e,t){throw new Error("Cannot set SystemJS."+r+'["'+t+'"] directly. Use SystemJS.config({ '+r+': { "'+t+'": ... } }) rather.')}})),e},set:function(e){throw new Error("Setting `SystemJS."+r+"` directly is no longer supported. Use `SystemJS.config({ "+r+": ... })`.")}})}(Ft[Ut]);function qt(e,t){W.call(e[J],"SystemJS."+t+" is deprecated for SystemJS.registry."+t)}Kt.prototype.delete=function(e){return qt(this,"delete"),this.registry.delete(e)},Kt.prototype.get=function(e){return qt(this,"get"),this.registry.get(e)},Kt.prototype.has=function(e){return qt(this,"has"),this.registry.has(e)},Kt.prototype.set=function(e,t){return qt(this,"set"),this.registry.set(e,t)},Kt.prototype.newModule=function(e){return new E(e)},Kt.prototype.isModule=function(e){return void 0===q&&(q="undefined"!=typeof Symbol&&!!Symbol.toStringTag),e instanceof E||q&&"[object Module]"==Object.prototype.toString.call(e)},Kt.prototype.register=function(e,t,r){return"string"==typeof e&&(e=fe.call(this,this[J],e)),_.prototype.register.call(this,e,t,r)},Kt.prototype.registerDynamic=function(e,t,r,n){return"string"==typeof e&&(e=fe.call(this,this[J],e)),_.prototype.registerDynamic.call(this,e,t,r,n)},Kt.prototype.version="0.20.19 Dev";var zt=new Kt;(s||$)&&(h.SystemJS=h.System=zt),Nt.exports&&(Nt.exports=zt)}()}(e={exports:{}},e.exports),e.exports),n=(t=r)&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t,o={map:Object.assign({},{"@financial-times/load-data":"https://unpkg.com/@financial-times/load-data@^1.0.2/dist/loadData.dist.min.js","bertha-client":"https://unpkg.com/bertha-client@4.0.1/dist/index.js",d3:"https://d3js.org/d3.v4.js","d3-array":"https://d3js.org/d3.v4.js","d3-axis":"https://d3js.org/d3.v4.js","d3-brush":"https://d3js.org/d3.v4.js","d3-chord":"https://d3js.org/d3.v4.js","d3-collection":"https://d3js.org/d3.v4.js","d3-color":"https://d3js.org/d3.v4.js","d3-dispatch":"https://d3js.org/d3.v4.js","d3-drag":"https://d3js.org/d3.v4.js","d3-dsv":"https://d3js.org/d3.v4.js","d3-ease":"https://d3js.org/d3.v4.js","d3-force":"https://d3js.org/d3.v4.js","d3-format":"https://d3js.org/d3.v4.js","d3-geo":"https://d3js.org/d3.v4.js","d3-hierarchy":"https://d3js.org/d3.v4.js","d3-interpolate":"https://d3js.org/d3.v4.js","d3-path":"https://d3js.org/d3.v4.js","d3-polygon":"https://d3js.org/d3.v4.js","d3-quadtree":"https://d3js.org/d3.v4.js","d3-queue":"https://d3js.org/d3.v4.js","d3-random":"https://d3js.org/d3.v4.js","d3-request":"https://d3js.org/d3.v4.js","d3-sankey":"https://unpkg.com/d3-sankey@0.7.1/build/d3-sankey.js","d3-scale":"https://d3js.org/d3.v4.js","d3-selection-multi":"https://unpkg.com/d3-selection-multi@1.0.1/build/d3-selection-multi.js","d3-selection":"https://d3js.org/d3.v4.js","d3-shape":"https://d3js.org/d3.v4.js","d3-time-format":"https://d3js.org/d3.v4.js","d3-time":"https://d3js.org/d3.v4.js","d3-timer":"https://d3js.org/d3.v4.js","d3-transition":"https://d3js.org/d3.v4.js","d3-voronoi":"https://d3js.org/d3.v4.js","d3-zoom":"https://d3js.org/d3.v4.js","g-annotations":"https://unpkg.com/g-annotations@^1/build/g-annotations.js","g-axis":"https://unpkg.com/g-axis@^1/build/g-axis.js","g-chartcolour":"https://unpkg.com/g-chartcolour@0.8.26/build/g-chartcolour.js","g-chartframe":"https://unpkg.com/g-chartframe@^5/build/g-chartframe.js","g-legend":"https://unpkg.com/g-legend@^1/build/g-legend.js","g-xaxisdate":"https://unpkg.com/g-axis@^1/build/g-axis.js","g-yaxislinear":"https://unpkg.com/g-axis@^1/build/g-axis.js","plugin-babel":"https://unpkg.com/systemjs-plugin-babel/plugin-babel.js","plugin-json":"https://unpkg.com/systemjs-plugin-json@0.3.0/json.js","save-svg-as-png":"https://unpkg.com/save-svg-as-png@1.4.6/lib/saveSvgAsPng.js","simple-statistics":"https://unpkg.com/simple-statistics@5.4.0/dist/simple-statistics.js","systemjs-babel-build":"https://unpkg.com/systemjs-plugin-babel@0.0.25/systemjs-babel-browser.js","topojson-client":"https://unpkg.com/topojson-client@3.0.0/dist/topojson-client.js",chai:"https://www.chaijs.com/chai.js"},window.D3_BOOTLOADER_MODULES),meta:{"*.json":{loader:"plugin-json"}},transpiler:"plugin-babel"};return n.config(o),n.import("./index.js")});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):e.bootD3=t(e.fs)}(this,function(Jt){"use strict";Jt=Jt&&Jt.hasOwnProperty("default")?Jt.default:Jt;var Bt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function $t(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}var e,t,r=(function(Nt){!function(){var y,s="undefined"!=typeof window&&"undefined"!=typeof document,c="undefined"!=typeof process&&process.versions&&process.versions.node,a="undefined"!=typeof process&&"string"==typeof process.platform&&process.platform.match(/^win/),h="undefined"!=typeof self?self:Bt,t="undefined"!=typeof Symbol;function e(e){return t?Symbol():"@@"+e}if("undefined"!=typeof document&&document.getElementsByTagName){if(!(y=document.baseURI)){var r=document.getElementsByTagName("base");y=r[0]&&r[0].href||window.location.href}}else"undefined"!=typeof location&&(y=location.href);if(y){var n=(y=y.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==n&&(y=y.substr(0,n+1))}else{if("undefined"==typeof process||!process.cwd)throw new TypeError("No environment baseURI");y="file://"+(a?"/":"")+process.cwd(),a&&(y=y.replace(/\\/g,"/"))}"/"!==y[y.length-1]&&(y+="/");var i="_"==new Error(0,"_").fileName;function k(e,t){s||(t=t.replace(a?/file:\/\/\//g:/file:\/\//g,""));var r,n=(e.message||e)+"\n "+t;r=i&&e.fileName?new Error(n,e.fileName,e.lineNumber):new Error(n);var o=e.originalErr?e.originalErr.stack:e.stack;return r.stack=c?n+"\n "+o:o,r.originalErr=e.originalErr||e,r}function f(e,t){throw new RangeError('Unable to resolve "'+e+'" to '+t)}function b(e,t){e=e.trim();var r=t&&t.substr(0,t.indexOf(":")+1),n=e[0],o=e[1];if("/"===n&&"/"===o)return r||f(e,t),r+e;if("."===n&&("/"===o||"."===o&&("/"===e[2]||2===e.length&&(e+="/"))||1===e.length&&(e+="/"))||"/"===n){var i,a=!r||"/"!==t[r.length];if(i=a?(void 0===t&&f(e,t),t):"/"===t[r.length+1]?"file:"!==r?(i=t.substr(r.length+2)).substr(i.indexOf("/")+1):t.substr(8):t.substr(r.length+1),"/"===n){if(!a)return t.substr(0,t.length-i.length-1)+e;f(e,t)}for(var s=i.substr(0,i.lastIndexOf("/")+1)+e,l=[],u=-1,d=0;d<s.length;d++)if(-1===u)if("."!==s[d])u=d;else{if("."!==s[d+1]||"/"!==s[d+2]&&d+2!==s.length){if("/"!==s[d+1]&&d+1!==s.length){u=d;continue}d+=1}else l.pop(),d+=2;a&&0===l.length&&f(e,t)}else"/"===s[d]&&(l.push(s.substring(u,d+1)),u=-1);return-1!==u&&l.push(s.substr(u)),t.substr(0,t.length-i.length)+l.join("")}return-1!==e.indexOf(":")?c&&":"===e[1]&&"\\"===e[2]&&e[0].match(/[a-z]/i)?"file:///"+e.replace(/\\/g,"/"):e:void 0}var o=Promise.resolve();function l(r){if(r.values)return r.values();if("undefined"==typeof Symbol||!Symbol.iterator)throw new Error("Symbol.iterator not supported in this browser");var e={};return e[Symbol.iterator]=function(){var e=Object.keys(r),t=0;return{next:function(){return t<e.length?{value:r[e[t++]],done:!1}:{value:void 0,done:!0}}}},e}function u(){this.registry=new j}function d(e){if(!(e instanceof E))throw new TypeError("Module instantiation did not return a valid namespace object.");return e}(u.prototype.constructor=u).prototype.import=function(t,r){if("string"!=typeof t)throw new TypeError("Loader import method must be passed a module key string");var e=this;return o.then(function(){return e[g](t,r)}).then(d).catch(function(e){throw k(e,"Loading "+t+(r?" from "+r:""))})};var p=u.resolve=e("resolve"),g=u.resolveInstantiate=e("resolveInstantiate");function m(e){if(void 0===e)throw new RangeError("No resolution found.");return e}u.prototype[g]=function(e,t){var r=this;return r.resolve(e,t).then(function(e){return r.registry.get(e)})},u.prototype.resolve=function(t,r){var e=this;return o.then(function(){return e[p](t,r)}).then(m).catch(function(e){throw k(e,"Resolving "+t+(r?" to "+r:""))})};var v="undefined"!=typeof Symbol&&Symbol.iterator,w=e("registry");function j(){this[w]={}}v&&(j.prototype[Symbol.iterator]=function(){return this.entries()[Symbol.iterator]()},j.prototype.entries=function(){var t=this[w];return l(Object.keys(t).map(function(e){return[e,t[e]]}))}),j.prototype.keys=function(){return l(Object.keys(this[w]))},j.prototype.values=function(){var t=this[w];return l(Object.keys(t).map(function(e){return t[e]}))},j.prototype.get=function(e){return this[w][e]},j.prototype.set=function(e,t){if(!(t instanceof E))throw new Error("Registry must be set with an instance of Module Namespace");return this[w][e]=t,this},j.prototype.has=function(e){return Object.hasOwnProperty.call(this[w],e)},j.prototype.delete=function(e){return!!Object.hasOwnProperty.call(this[w],e)&&(delete this[w][e],!0)};var x=e("baseObject");function E(e){Object.defineProperty(this,x,{value:e}),Object.keys(e).forEach(O,this)}function O(e){Object.defineProperty(this,e,{enumerable:!0,get:function(){return this[x][e]}})}E.prototype=Object.create(null),"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(E.prototype,Symbol.toStringTag,{value:"Module"});var S=e("register-internal");function _(){u.call(this);var r=this.registry.delete;this.registry.delete=function(e){var t=r.call(this,e);return n.hasOwnProperty(e)&&!n[e].linkRecord&&(delete n[e],t=!0),t};var n={};this[S]={lastRegister:void 0,records:n},this.trace=!1}var P=((_.prototype=Object.create(u.prototype)).constructor=_).instantiate=e("instantiate");function M(e,t,r){return e.records[t]={key:t,registration:r,module:void 0,importerSetters:void 0,loadError:void 0,evalError:void 0,linkRecord:{instantiatePromise:void 0,dependencies:void 0,execute:void 0,executingRequire:!1,moduleObj:void 0,setters:void 0,depsInstantiatePromise:void 0,dependencyInstantiations:void 0}}}function R(r,n,o,i,a){return o.instantiatePromise||(o.instantiatePromise=(n.registration?Promise.resolve():Promise.resolve().then(function(){return a.lastRegister=void 0,r[P](n.key,1<r[P].length&&function(e,t,r){return function(){var e=r.lastRegister;return e?(r.lastRegister=void 0,t.registration=e,!0):!!t.registration}}(0,n,a))})).then(function(e){if(void 0!==e){if(!(e instanceof E))throw new TypeError("Instantiate did not return a valid Module object.");return delete a.records[n.key],r.trace&&A(r,n,o),i[n.key]=e}var t=n.registration;if(n.registration=void 0,!t)throw new TypeError("Module instantiation did not call an anonymous or correctly named System.register.");return o.dependencies=t[0],n.importerSetters=[],o.moduleObj={},t[2]?(o.moduleObj.default=o.moduleObj.__useDefault={},o.executingRequire=t[1],o.execute=t[2]):function(e,t,r,n){var i=r.moduleObj,a=t.importerSetters,s=!1,o=n.call(h,function(e,t){if("object"==typeof e){var r=!1;for(var n in e)t=e[n],"__useDefault"===n||n in i&&i[n]===t||(r=!0,i[n]=t);if(!1===r)return t}else{if((s||e in i)&&i[e]===t)return t;i[e]=t}for(var o=0;o<a.length;o++)a[o](i);return t},new L(e,t.key));r.setters=o.setters,r.execute=o.execute,o.exports&&(r.moduleObj=i=o.exports,s=!0)}(r,n,o,t[1]),n}).catch(function(e){throw n.linkRecord=void 0,n.loadError=n.loadError||k(e,"Instantiating "+n.key)}))}function C(o,i,e,a,s,l){return o.resolve(i,e).then(function(e){l&&(l[i]=e);var t=s.records[e],r=a[e];if(r&&(!t||t.module&&r!==t.module))return r;if(t&&t.loadError)throw t.loadError;t&&(r||!t.module)||(t=M(s,e,t&&t.registration));var n=t.linkRecord;return n?R(o,t,n,a,s):t})}function A(e,t,r){e.loads=e.loads||{},e.loads[t.key]={key:t.key,deps:r.dependencies,dynamicDeps:[],depMap:r.depMap||{}}}function L(e,t){this.loader=e,this.key=this.id=t,this.meta={url:t}}function D(e,t,r,n,o,i){if(t.module)return t.module;if(t.evalError)throw t.evalError;if(i&&-1!==i.indexOf(t))return t.linkRecord.moduleObj;var a=function e(t,r,n,o,i,a){a.push(r);var s;if(n.setters)for(var l,u,d=0;d<n.dependencies.length;d++)if(!((l=n.dependencyInstantiations[d])instanceof E)&&((u=l.linkRecord)&&-1===a.indexOf(l)&&(s=l.evalError?l.evalError:e(t,l,u,o,i,u.setters?a:[])),s))return r.linkRecord=void 0,r.evalError=k(s,"Evaluating "+r.key),r.evalError;if(n.execute)if(n.setters)s=I(n.execute);else{var c={id:r.key},f=n.moduleObj;Object.defineProperty(c,"exports",{configurable:!0,set:function(e){f.default=f.__useDefault=e},get:function(){return f.__useDefault}});var p=(m=t,v=r.key,y=n.dependencies,b=n.dependencyInstantiations,w=o,j=i,x=a,function(e){for(var t=0;t<y.length;t++)if(y[t]===e){var r,n=b[t];return"__useDefault"in(r=n instanceof E?n:D(m,n,n.linkRecord,w,j,x))?r.__useDefault:r}throw new Error("Module "+e+" not declared as a System.registerDynamic dependency of "+v)});if(!n.executingRequire)for(var d=0;d<n.dependencies.length;d++)p(n.dependencies[d]);s=F(n.execute,p,f.default,c),c.exports!==f.__useDefault&&(f.default=f.__useDefault=c.exports);var g=f.default;if(g&&g.__esModule)for(var h in g)Object.hasOwnProperty.call(g,h)&&(f[h]=g[h])}var m,v,y,b,w,j,x;r.linkRecord=void 0;if(s)return r.evalError=k(s,"Evaluating "+r.key);o[r.key]=r.module=new E(n.moduleObj);if(!n.setters){if(r.importerSetters)for(var d=0;d<r.importerSetters.length;d++)r.importerSetters[d](r.module);r.importerSetters=void 0}}(e,t,r,n,o,r.setters?[]:i||[]);if(a)throw a;return t.module}_.prototype[_.resolve=u.resolve]=function(e,t){return b(e,t||y)},_.prototype[P]=function(e,t){},_.prototype[u.resolveInstantiate]=function(e,t){var r=this,n=this[S],o=this.registry[w];return function(r,e,t,n,o){var i=n[e];if(i)return Promise.resolve(i);var a=o.records[e];return!a||a.module?r.resolve(e,t).then(function(e){if(i=n[e])return i;if((a=o.records[e])&&!a.module||(a=M(o,e,a&&a.registration)),a.loadError)return Promise.reject(a.loadError);var t=a.linkRecord;return t?R(r,a,t,n,o):a}):a.loadError?Promise.reject(a.loadError):R(r,a,a.linkRecord,n,o)}(r,e,t,o,n).then(function(e){if(e instanceof E)return e;var t=e.linkRecord;if(t)return function(l,e,t,u,d){return new Promise(function(o,r){var n=[],i=0;function a(e){var t=e.linkRecord;t&&-1===n.indexOf(e)&&(n.push(e),i++,function(e,o,i,t,r){if(i.depsInstantiatePromise)return i.depsInstantiatePromise;for(var n=Array(i.dependencies.length),a=0;a<i.dependencies.length;a++)n[a]=C(e,i.dependencies[a],o.key,t,r,e.trace&&i.depMap||(i.depMap={}));var s=Promise.all(n).then(function(e){if(i.dependencyInstantiations=e,i.setters)for(var t=0;t<e.length;t++){var r=i.setters[t];if(r){var n=e[t];if(n instanceof E)r(n);else{if(n.loadError)throw n.loadError;r(n.module||n.linkRecord.moduleObj),n.importerSetters&&n.importerSetters.push(r)}}}return o});e.trace&&(s=s.then(function(){return A(e,o,i),o}));return(s=s.catch(function(e){throw i.depsInstantiatePromise=void 0,k(e,"Loading "+o.key)})).catch(function(){}),i.depsInstantiatePromise=s}(l,e,t,u,d).then(s,r))}function s(e){i--;var t=e.linkRecord;if(t)for(var r=0;r<t.dependencies.length;r++){var n=t.dependencyInstantiations[r];n instanceof E||a(n)}0===i&&o()}a(e)})}(r,e,0,o,n).then(function(){return D(r,e,t,o,n,void 0)});if(e.module)return e.module;throw e.evalError})},_.prototype.register=function(e,t,r){var n=this[S];void 0===r?n.lastRegister=[e,t,void 0]:(n.records[e]||M(n,e,void 0)).registration=[t,r,void 0]},_.prototype.registerDynamic=function(e,t,r,n){var o=this[S];"string"!=typeof e?o.lastRegister=[e,t,r]:(o.records[e]||M(o,e,void 0)).registration=[t,r,n]},L.prototype.import=function(e){return this.loader.trace&&this.loader.loads[this.key].dynamicDeps.push(e),this.loader.import(e,this.key)};var K={};function I(e){try{e.call(K)}catch(e){return e}}function F(e,t,r,n){try{var o=e.call(h,t,r,n);void 0!==o&&(n.exports=o)}catch(e){return e}}Object.freeze&&Object.freeze(K);var T=Promise.resolve();function U(){}var q,z=new E({});var N,J=e("loader-config"),B=e("metadata"),$="undefined"==typeof window&&"undefined"!=typeof self&&"undefined"!=typeof importScripts;function W(e,t){(t||this.warnings&&"undefined"!=typeof console&&console.warn)&&console.warn(e)}function G(e,t){for(var r in t)Object.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function H(e,t){for(var r in t)Object.hasOwnProperty.call(t,r)&&void 0===e[r]&&(e[r]=t[r]);return e}function Z(e,t,r){for(var n in t)if(Object.hasOwnProperty.call(t,n)){var o=t[n];void 0===e[n]?e[n]=o:o instanceof Array&&e[n]instanceof Array?e[n]=[].concat(r?o:e[n]).concat(r?e[n]:o):"object"==typeof o&&null!==o&&"object"==typeof e[n]?e[n]=(r?H:G)(G({},e[n]),o):r||(e[n]=o)}}var X=!1,Y=!1;function Q(e){if(X||Y){var t=document.createElement("link");X?(t.rel="preload",t.as="script"):t.rel="prefetch",t.href=e,document.head.appendChild(t)}else{(new Image).src=e}}if(s&&function(){var e=document.createElement("link").relList;if(e&&e.supports){Y=!0;try{X=e.supports("preload")}catch(e){}}}(),s){var V=[],ee=window.onerror;window.onerror=function(e,t){for(var r=0;r<V.length;r++)if(V[r].src===t)return void V[r].err(e);ee&&ee.apply(this,arguments)}}function te(t,e,r,n,o){if(t=t.replace(/#/g,"%23"),$)return function(e,t,r){try{importScripts(e)}catch(e){r(e)}t()}(t,n,o);var i=document.createElement("script");function a(){n(),l()}function s(e){l(),o(new Error("Fetching "+t))}function l(){for(var e=0;e<V.length;e++)if(V[e].err===s){V.splice(e,1);break}i.removeEventListener("load",a,!1),i.removeEventListener("error",s,!1),document.head.removeChild(i)}i.type="text/javascript",i.charset="utf-8",i.async=!0,e&&(i.crossOrigin=e),r&&(i.integrity=r),i.addEventListener("load",a,!1),i.addEventListener("error",s,!1),i.src=t,document.head.appendChild(i)}function re(e,t){for(var r=e.split(".");r.length;)t=t[r.shift()];return t}function ne(e,t,r){var n=ie(t,r);if(n){var o=t[n]+r.substr(n.length),i=b(o,y);return void 0!==i?i:e+o}return-1!==r.indexOf(":")?r:e+r}function oe(e){var t=this.name;if(t.substr(0,e.length)===e&&(t.length===e.length||"/"===t[e.length]||"/"===e[e.length-1]||":"===e[e.length-1])){var r=e.split("/").length;r>this.len&&(this.match=e,this.len=r)}}function ie(e,t){if(Object.hasOwnProperty.call(e,t))return t;var r={name:t,match:void 0,len:0};return Object.keys(e).forEach(oe,r),r.match}var ae,se=/(?:^\uFEFF?|[^$_a-zA-Z\xA0-\uFFFF."'])require\s*\(\s*("[^"\\]*(?:\\.[^"\\]*)*"|'[^'\\]*(?:\\.[^'\\]*)*'|`[^`\\]*(?:\\.[^`\\]*)*`)\s*\)/g;function le(i,a,e,s){return new Promise(function(e,t){i=i.replace(/#/g,"%23");var r=new XMLHttpRequest;function n(){e(s?r.response:r.responseText)}function o(){t(new Error("XHR error: "+(r.status?" ("+r.status+(r.statusText?" "+r.statusText:"")+")":"")+" loading "+i))}s&&(r.responseType="arraybuffer"),r.onreadystatechange=function(){4===r.readyState&&(0==r.status?r.response?n():(r.addEventListener("error",o),r.addEventListener("load",n)):200===r.status?n():o())},r.open("GET",i,!0),r.setRequestHeader&&(r.setRequestHeader("Accept","application/x-es-module, */*"),a&&("string"==typeof a&&r.setRequestHeader("Authorization",a),r.withCredentials=!0)),r.send(null)})}var ue="undefined"!=typeof XMLHttpRequest,de="undefined"!=typeof self&&void 0!==self.fetch?function(e,t,r,n){if("file:///"===e.substr(0,8)){if(ue)return le(e,t,r,n);throw new Error("Unable to fetch file URLs in this environment.")}e=e.replace(/#/g,"%23");var o={headers:{Accept:"application/x-es-module, */*"}};return r&&(o.integrity=r),t&&("string"==typeof t&&(o.headers.Authorization=t),o.credentials="include"),fetch(e,o).then(function(e){if(e.ok)return n?e.arrayBuffer():e.text();throw new Error("Fetch error: "+e.status+" "+e.statusText)})}:ue?le:void 0!==$t&&"undefined"!=typeof process?function(e,t,r,i){return"file:///"!=e.substr(0,8)?Promise.reject(new Error('Unable to fetch "'+e+'". Only file URLs of the form file:/// supported running in Node.')):(ae=ae||Jt,e=a?e.replace(/\//g,"\\").substr(8):e.substr(7),new Promise(function(n,o){ae.readFile(e,function(e,t){if(e)return o(e);if(i)n(t);else{var r=t+"";"\ufeff"===r[0]&&(r=r.substr(1)),n(r)}})}))}:function(){throw new Error("No fetch method is defined for this environment.")};function ce(e,t,r){var n,o={pluginKey:void 0,pluginArgument:void 0,pluginModule:void 0,packageKey:void 0,packageConfig:void 0,load:void 0};r&&(t.pluginFirst?-1!==(n=r.lastIndexOf("!"))&&(o.pluginArgument=o.pluginKey=r.substr(0,n)):-1!==(n=r.indexOf("!"))&&(o.pluginArgument=o.pluginKey=r.substr(n+1)),o.packageKey=ie(t.packages,r),o.packageKey&&(o.packageConfig=t.packages[o.packageKey]));return o}function fe(e,t){var r=ve(e.pluginFirst,t);if(r){var n=fe.call(this,e,r.plugin);return ye(e.pluginFirst,pe.call(this,e,r.argument,void 0,!1,!1),n)}return pe.call(this,e,t,void 0,!1,!1)}function pe(e,t,r,n,o){var i=b(t,r||y);if(i)return ne(e.baseURL,e.paths,i);if(n){var a=ie(e.map,t);if(a&&(i=b(t=e.map[a]+t.substr(a.length),y)))return ne(e.baseURL,e.paths,i)}if(this.registry.has(t))return t;if("@node/"===t.substr(0,6))return t;var s=o&&"/"!==t[t.length-1],l=ne(e.baseURL,e.paths,s?t+"/":t);return s?l.substr(0,l.length-1):l}function ge(e,t,r,n,o,i){if(o&&o.packageConfig&&"."!==t[0]){var a=o.packageConfig.map,s=a&&ie(a,t);if(s&&"string"==typeof a[s]){var l=je(this,e,o.packageConfig,o.packageKey,s,t,n,i);if(l)return l}}var u=pe.call(this,e,t,r,!0,!0),d=Ee(e,u);if(n.packageKey=d&&d.packageKey||ie(e.packages,u),!n.packageKey)return u;if(-1!==e.packageConfigKeys.indexOf(u))return n.packageKey=void 0,u;n.packageConfig=e.packages[n.packageKey]||(e.packages[n.packageKey]=De());var c=u.substr(n.packageKey.length+1);return function(e,t,r,n,o,i,a){if(!o){if(!r.main)return n;o="./"===r.main.substr(0,2)?r.main.substr(2):r.main}if(r.map){var s="./"+o,l=ie(r.map,s);if(l||(s="./"+be(t,r,n,o,a))!=="./"+o&&(l=ie(r.map,s)),l){var u=je(e,t,r,n,l,s,i,a);if(u)return u}}return n+"/"+be(t,r,n,o,a)}(this,e,n.packageConfig,n.packageKey,c,n,i)}function he(n,o,i,a,r,s){var l=this;return T.then(function(){if(r&&r.packageConfig&&"./"!==o.substr(0,2)){var e=r.packageConfig.map,t=e&&ie(e,o);if(t)return xe(l,n,r.packageConfig,r.packageKey,t,o,a,s)}return T}).then(function(e){if(e)return e;var t=pe.call(l,n,o,i,!0,!0),r=Ee(n,t);return a.packageKey=r&&r.packageKey||ie(n.packages,t),a.packageKey?-1!==n.packageConfigKeys.indexOf(t)?(a.packageKey=void 0,a.load=me(),a.load.format="json",a.load.loader="",Promise.resolve(t)):(a.packageConfig=n.packages[a.packageKey]||(n.packages[a.packageKey]=De()),(r&&!a.packageConfig.configured?function(e,t,r,n){var o=e.pluginLoader||e;-1===t.packageConfigKeys.indexOf(r)&&t.packageConfigKeys.push(r);return o.import(r).then(function(e){Ke(n.packageConfig,e,n.packageKey,!0,t),n.packageConfig.configured=!0}).catch(function(e){throw k(e,"Unable to fetch package configuration file "+r)})}(l,n,r.configPath,a):T).then(function(){var e=t.substr(a.packageKey.length+1);return function(e,t,r,n,o,i,a){if(!o){if(!r.main)return Promise.resolve(n);o="./"===r.main.substr(0,2)?r.main.substr(2):r.main}var s,l;r.map&&(s="./"+o,(l=ie(r.map,s))||(s="./"+be(t,r,n,o,a))!=="./"+o&&(l=ie(r.map,s)));return(l?xe(e,t,r,n,l,s,i,a):T).then(function(e){return e?Promise.resolve(e):Promise.resolve(n+"/"+be(t,r,n,o,a))})}(l,n,a.packageConfig,a.packageKey,e,a,s)})):Promise.resolve(t)})}function me(){return{extension:"",deps:void 0,format:void 0,loader:void 0,scriptLoad:void 0,globals:void 0,nonce:void 0,integrity:void 0,sourceMap:void 0,exports:void 0,encapsulateGlobal:!1,crossOrigin:void 0,cjsRequireDetection:!0,cjsDeferDepsExecute:!1,esModule:!1}}function ve(e,t){var r,n,o=e?t.indexOf("!"):t.lastIndexOf("!");if(-1!==o)return n=e?(r=t.substr(o+1),t.substr(0,o)):(r=t.substr(0,o),t.substr(o+1)||r.substr(r.lastIndexOf(".")+1)),{argument:r,plugin:n}}function ye(e,t,r){return e?r+"!"+t:t+"!"+r}function be(e,t,r,n,o){if(!n||!t.defaultExtension||"/"===n[n.length-1]||o)return n;var i=!1;if(t.meta&&Oe(t.meta,n,function(e,t,r){if(0===r||e.lastIndexOf("*")!==e.length-1)return i=!0}),!i&&e.meta&&Oe(e.meta,r+"/"+n,function(e,t,r){if(0===r||e.lastIndexOf("*")!==e.length-1)return i=!0}),i)return n;var a="."+t.defaultExtension;return n.substr(n.length-a.length)!==a?n+a:n}function we(e,t,r){return!(t.substr(0,e.length)===e&&r.length>e.length)}function je(e,t,r,n,o,i,a,s){"/"===i[i.length-1]&&(i=i.substr(0,i.length-1));var l=r.map[o];if("object"==typeof l)throw new Error("Synchronous conditional normalization not supported sync normalizing "+o+" in "+n);if(we(o,l,i)&&"string"==typeof l)return ge.call(e,t,l+i.substr(o.length),n+"/",a,a,s)}function xe(t,r,e,n,o,i,a,s){"/"===i[i.length-1]&&(i=i.substr(0,i.length-1));var l=e.map[o];if("string"==typeof l)return we(o,l,i)?he.call(t,r,l+i.substr(o.length),n+"/",a,a,s).then(function(e){return Re.call(t,e,n+"/",a)}):T;var u=[],d=[];for(var c in l){var f=_e(c);d.push({condition:f,map:l[c]}),u.push(_.prototype.import.call(t,f.module,n))}return Promise.all(u).then(function(e){for(var t=0;t<d.length;t++){var r=d[t].condition,n=re(r.prop,"__useDefault"in e[t]?e[t].__useDefault:e[t]);if(!r.negate&&n||r.negate&&!n)return d[t].map}}).then(function(e){if(e)return we(o,e,i)?he.call(t,r,e+i.substr(o.length),n+"/",a,a,s).then(function(e){return Re.call(t,e,n+"/",a)}):T})}var ke={};function Ee(e,t){for(var r,n,o,i,a,s=!1,l=0;l<e.packageConfigPaths.length;l++){var u=e.packageConfigPaths[l],d=ke[u]||(ke[u]=(void 0,i=(o=u).lastIndexOf("*"),{length:a=Math.max(i+1,o.lastIndexOf("/")),regEx:new RegExp("^("+o.substr(0,a).replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*/g,"[^\\/]+")+")(\\/|$)"),wildcard:-1!==i}));if(!(t.length<d.length)){var c=t.match(d.regEx);!c||r&&(s&&d.wildcard||!(r.length<c[1].length))||(r=c[1],s=!d.wildcard,n=r+u.substr(d.length))}}if(r)return{packageKey:r,configPath:n}}function Oe(e,t,r){var n;for(var o in e){var i="./"===o.substr(0,2)?"./":"";if(i&&(o=o.substr(2)),-1!==(n=o.indexOf("*"))&&o.substr(0,n)===t.substr(0,n)&&o.substr(n+1)===t.substr(t.length-o.length+n+1)&&r(o,e[i+o],o.split("/").length))return}var a=e[t]&&Object.hasOwnProperty.call(e,t)?e[t]:e["./"+t];a&&r(a,a,0)}var Se=["browser","node","dev","build","production","default"];function _e(e){var t,r,n,o=e.lastIndexOf("|");return-1!==o?(t=e.substr(o+1),r=e.substr(0,o),"~"===t[0]&&(n=!0,t=t.substr(1))):(n="~"===e[0],t="default",r=e.substr(n),-1!==Se.indexOf(r)&&(t=r,r=null)),{module:r||"@system-env",prop:t,negate:n}}function Pe(r,e,n){return _.prototype.import.call(this,r.module,e).then(function(e){var t=re(r.prop,e);if(n&&"boolean"!=typeof t)throw new TypeError("Condition did not resolve to a boolean.");return r.negate?!t:t})}var Me=/#\{[^\}]+\}/;function Re(t,r,e){var n=t.match(Me);if(!n)return Promise.resolve(t);var o=_e.call(this,n[0].substr(2,n[0].length-3));return Pe.call(this,o,r,!1).then(function(e){if("string"!=typeof e)throw new TypeError("The condition value for "+t+" doesn't resolve to a string.");if(-1!==e.indexOf("/"))throw new TypeError("Unabled to interpolate conditional "+t+(r?" in "+r:"")+"\n\tThe condition value "+e+' cannot contain a "/" separator.');return t.replace(Me,e)})}var Ce=["browserConfig","nodeConfig","devConfig","buildConfig","productionConfig"];function Ae(e,t,r){for(var n=0;n<Ce.length;n++){var o=Ce[n];t[o]&&Mt[o.substr(0,o.length-6)]&&r(t[o])}}function Le(e,t){var r=e[t];return r instanceof Array?e[t].concat([]):"object"==typeof r?function e(t,r){var n={};for(var o in t){var i=t[o];1<r?i instanceof Array?n[o]=[].concat(i):"object"==typeof i?n[o]=e(i,r-1):"packageConfig"!==o&&(n[o]=i):n[o]=i}return n}(r,3):e[t]}function De(){return{defaultExtension:void 0,main:void 0,format:void 0,meta:void 0,map:void 0,packageConfig:void 0,configured:!1}}function Ke(e,t,r,n,o){for(var i in t)"main"===i||"format"===i||"defaultExtension"===i||"configured"===i?n&&void 0!==e[i]||(e[i]=t[i]):"map"===i?(n?H:G)(e.map=e.map||{},t.map):"meta"===i?(n?H:G)(e.meta=e.meta||{},t.meta):Object.hasOwnProperty.call(t,i)&&W.call(o,'"'+i+'" is not a valid package configuration option in package '+r);return void 0===e.defaultExtension&&(e.defaultExtension="js"),void 0===e.main&&e.map&&e.map["."]?(e.main=e.map["."],delete e.map["."]):"object"==typeof e.main&&(e.map=e.map||{},e.map["./@main"]=e.main,e.main.default=e.main.default||"./",e.main="@main"),e}var Ie="undefined"!=typeof Buffer;try{Ie&&"YQ=="!==new Buffer("a").toString("base64")&&(Ie=!1)}catch(e){Ie=!1}var Fe,Te,Ue,qe,ze="\n//# sourceMappingURL=data:application/json;base64,";function Ne(e,t,r,n){var o=e.lastIndexOf("\n");if(t){if("object"!=typeof t)throw new TypeError("load.metadata.sourceMap must be set to an object.");t=JSON.stringify(t)}return(n?"(function(System, SystemJS) {":"")+e+(n?"\n})(System, System);":"")+("\n//# sourceURL="!=e.substr(o,15)?"\n//# sourceURL="+r+(t?"!transpiled":""):"")+(t&&function(e){return Ie?ze+new Buffer(e).toString("base64"):"undefined"!=typeof btoa?ze+btoa(unescape(encodeURIComponent(e))):""}(t)||"")}var Je=0;function Be(e){0==Je++&&(qe=h.System),h.System=h.SystemJS=e}function $e(){0==--Je&&(h.System=h.SystemJS=qe)}var We=!1;function Ge(e,t,r,n,o,i,a){if(t){if(i&&We)return function(e,t,r,n,o){Fe=Fe||(document.head||document.body||document.documentElement);var i=document.createElement("script");i.text=Ne(t,r,n,!1);var a,s=window.onerror;if(window.onerror=function(e){a=addToError(e,"Evaluating "+n),s&&s.apply(this,arguments)},Be(e),o&&i.setAttribute("nonce",o),Fe.appendChild(i),Fe.removeChild(i),$e(),window.onerror=s,a)return a}(e,t,r,n,i);try{Be(e),!Te&&e._nodeRequire&&(Te=e._nodeRequire("vm"),Ue=Te.runInThisContext("typeof System !== 'undefined' && System")===e),Ue?Te.runInThisContext(Ne(t,r,n,!a),{filename:n+(r?"!transpiled":"")}):(0,eval)(Ne(t,r,n,!a)),$e()}catch(e){return $e(),e}}}s&&"undefined"!=typeof document&&document.getElementsByTagName&&(window.chrome&&window.chrome.extension||navigator.userAgent.match(/^Node\.js/)||(We=!0));function He(p){function g(e,t,r,n){if("object"==typeof e&&!(e instanceof Array))return g.apply(null,Array.prototype.splice.call(arguments,1,arguments.length-1));if("string"==typeof e&&"function"==typeof t&&(e=[e]),!(e instanceof Array)){if("string"!=typeof e)throw new TypeError("Invalid require");var o=p.decanonicalize(e,n),i=p.get(o);if(!i)throw new Error('Module not already loaded loading "'+e+'" as '+o+(n?' from "'+n+'".':"."));return"__useDefault"in i?i.__useDefault:i}for(var a=[],s=0;s<e.length;s++)a.push(p.import(e[s],n));Promise.all(a).then(function(e){t&&t.apply(null,e)},r)}function e(e,l,u){var t,d,c,f;function r(n,e,o){for(var t=[],r=0;r<l.length;r++)t.push(n(l[r]));if(o.uri=o.id,o.config=U,-1!==f&&t.splice(f,0,o),-1!==c&&t.splice(c,0,e),-1!==d){var i=function(e,t,r){return"string"==typeof e&&"function"!=typeof t?n(e):g.call(p,e,t,r,o.id)};i.toUrl=function(e){return p.normalizeSync(e,o.id)},t.splice(d,0,i)}var a=h.require;h.require=g;var s=u.apply(-1===c?h:e,t);h.require=a,void 0!==s&&(o.exports=s)}"string"!=typeof e&&(u=l,l=e,e=null),l instanceof Array||(l=["require","exports","module"].splice(0,(u=l).length)),"function"!=typeof u&&(t=u,u=function(){return t}),e||pt&&(l=l.concat(pt),pt=void 0),-1!==(d=l.indexOf("require"))&&(l.splice(d,1),e||(l=l.concat(function(e,t){var r=((e=e.replace(Ve,"")).match(lt)[1].split(",")[t]||"require").replace(ut,""),n=dt[r]||(dt[r]=new RegExp(at+r+st,"g"));n.lastIndex=0;var o,i=[];for(;o=n.exec(e);)i.push(o[2]||o[3]);return i}(u.toString(),d)))),-1!==(c=l.indexOf("exports"))&&l.splice(c,1),-1!==(f=l.indexOf("module"))&&l.splice(f,1),e?(p.registerDynamic(e,l,!1,r),ft?gt=!(ft=void 0):gt||(ft=[l,r])):p.registerDynamic(l,!1,ht?ct(r):r)}p.set("@@cjs-helpers",p.newModule({requireResolve:Ye.bind(p),getPathVars:Qe})),p.set("@@global-helpers",p.newModule({prepareGlobal:it})),e.amd={},p.amdDefine=e,p.amdRequire=g}var Ze;function Xe(e){return"file:///"===e.substr(0,8)?e.substr(7+!!a):Ze&&e.substr(0,Ze.length)===Ze?e.substr(Ze.length):e}function Ye(e,t){return Xe(this.normalizeSync(e,t))}function Qe(e){var t,r=e.lastIndexOf("!"),n=(t=-1!==r?e.substr(0,r):e).split("/");return n.pop(),n=n.join("/"),{filename:Xe(t),dirname:Xe(n)}}"undefined"!=typeof window&&"undefined"!=typeof document&&window.location&&(Ze=location.protocol+"//"+location.hostname+(location.port?":"+location.port:""));var Ve=/(^|[^\\])(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/gm,et=/("[^"\\\n\r]*(\\.[^"\\\n\r]*)*"|'[^'\\\n\r]*(\\.[^'\\\n\r]*)*')/g;var tt,rt=["_g","sessionStorage","localStorage","clipboardData","frames","frameElement","external","mozAnimationStartTime","webkitStorageInfo","webkitIndexedDB","mozInnerScreenY","mozInnerScreenX"];function nt(t){if(-1===rt.indexOf(t)){try{var e=h[t]}catch(e){rt.push(t)}this(t,e)}}function ot(e){if("string"==typeof e)return re(e,h);if(!(e instanceof Array))throw new Error("Global exports must be a string or array.");for(var t={},r=0;r<e.length;r++)t[e[r].split(".").pop()]=re(e[r],h);return t}function it(e,i,t,a){var s,l=h.define;if(h.define=void 0,t)for(var r in s={},t)s[r]=h[r],h[r]=t[r];return i||(tt={},Object.keys(h).forEach(nt,function(e,t){tt[e]=t})),function(){var r,n=i?ot(i):{},o=!!i;if(i&&!a||Object.keys(h).forEach(nt,function(e,t){tt[e]!==t&&void 0!==t&&(a&&(h[e]=void 0),i||(n[e]=t,void 0!==r?o||r===t||(o=!0):r=t))}),n=o?n:r,s)for(var e in s)h[e]=s[e];return h.define=l,n}}var at="(?:^|[^$_a-zA-Z\\xA0-\\uFFFF.])",st="\\s*\\(\\s*(\"([^\"]+)\"|'([^']+)')\\s*\\)",lt=/\(([^\)]*)\)/,ut=/^\s+|\s+$/g,dt={};function ct(n){return function(e,t,r){n(e,t,r),"object"!=typeof(t=r.exports)&&"function"!=typeof t||"__esModule"in t||Object.defineProperty(r.exports,"__esModule",{value:!0})}}var ft,pt,gt=!1,ht=!1;var mt,vt=(s||$)&&"undefined"!=typeof navigator&&navigator.userAgent&&!navigator.userAgent.match(/MSIE (9|10).0/);function yt(e,t){!e.load.esModule||"object"!=typeof t&&"function"!=typeof t||"__esModule"in t||Object.defineProperty(t,"__esModule",{value:!0})}function bt(f,p,e,g,s){return Promise.resolve(e).then(function(e){return"detect"===g.load.format&&(g.load.format=void 0),function(e,t){var r=e.match(Rt);if(!r)return;for(var n=r[0].match(Ct),o=0;o<n.length;o++){var i=n[o],a=i.length,s=i.substr(0,1);if(";"==i.substr(a-1,1)&&a--,'"'==s||"'"==s){var l=i.substr(1,i.length-3),u=l.substr(0,l.indexOf(" "));if(u){var d=l.substr(u.length+1,l.length-u.length-1);"deps"===u&&(u="deps[]"),"[]"===u.substr(u.length-2,2)?(u=u.substr(0,u.length-2),t.load[u]=t.load[u]||[],t.load[u].push(d)):"use"!==u&&At(t.load,u,d)}else t.load[l]=!0}}}(e,g),g.pluginModule?(g.pluginLoad.source=e,g.pluginModule.translate?Promise.resolve(g.pluginModule.translate.call(f,g.pluginLoad,g.traceOpts)).then(function(e){if(g.load.sourceMap){if("object"!=typeof g.load.sourceMap)throw new Error("metadata.load.sourceMap must be set to an object.");_t(g.pluginLoad.address,g.load.sourceMap)}return"string"==typeof e?e:g.pluginLoad.source}):e):e}).then(function(e){return g.load.format||'"bundle"'!==e.substring(0,8)?"register"===g.load.format||!g.load.format&&kt(e)?(g.load.format="register",e):"esm"===g.load.format||!g.load.format&&e.match(jt)?(g.load.format="esm",function(t,r,n,o){if(!t.transpiler)throw new TypeError("Unable to dynamically transpile ES module\n A loader plugin needs to be configured via `SystemJS.config({ transpiler: 'transpiler-module' })`.");if(o.load.deps){for(var e="",i=0;i<o.load.deps.length;i++)e+='import "'+o.load.deps[i]+'"; ';r=e+r}return t.import.call(t,t.transpiler).then(function(e){if(!(e=e.__useDefault||e).translate)throw new Error(t.transpiler+" is not a valid transpiler plugin.");return e===o.pluginModule?r:("string"==typeof o.load.sourceMap&&(o.load.sourceMap=JSON.parse(o.load.sourceMap)),o.pluginLoad=o.pluginLoad||{name:n,address:n,source:r,metadata:o.load},o.load.deps=o.load.deps||[],Promise.resolve(e.translate.call(t,o.pluginLoad,o.traceOpts)).then(function(e){var t=o.load.sourceMap;return t&&"object"==typeof t&&_t(n,t),"esm"===o.load.format&&kt(e)&&(o.load.format="register"),e}))},function(e){throw k(e,"Unable to load transpiler to transpile "+n)})}(f,e,p,g)):e:(g.load.format="system",e)}).then(function(t){if("string"!=typeof t||!g.pluginModule||!g.pluginModule.instantiate)return t;var r=!1;return g.pluginLoad.source=t,Promise.resolve(g.pluginModule.instantiate.call(f,g.pluginLoad,function(e){if(t=e.source,g.load=e.metadata,r)throw new Error("Instantiate must only be called once.");r=!0})).then(function(e){return r?t:function(e){return e instanceof E?e:e&&e.__esModule?new E(e):new E({default:e,__useDefault:e})}(e)})}).then(function(d){if("string"!=typeof d)return d;g.load.format||(g.load.format=function(e){return e.match(Et)?"amd":(Ot.lastIndex=0,se.lastIndex=0,se.exec(e)||Ot.exec(e)?"cjs":"global")}(d));var e=!1;switch(g.load.format){case"esm":case"register":case"system":if(n=Ge(f,d,g.load.sourceMap,p,g.load.integrity,g.load.nonce,!1))throw n;return s()?void 0:z;case"json":var t=JSON.parse(d);return f.newModule({default:t,__useDefault:t});case"amd":var r=h.define;h.define=f.amdDefine,function(e,t){pt=e,ht=t,ft=void 0,gt=!1}(g.load.deps,g.load.esModule);var n=Ge(f,d,g.load.sourceMap,p,g.load.integrity,g.load.nonce,!1);if((e=s())||(function(e){ft?e.registerDynamic(pt?ft[0].concat(pt):ft[0],!1,ht?ct(ft[1]):ft[1]):gt&&e.registerDynamic([],!1,U)}(f),e=s()),h.define=r,n)throw n;break;case"cjs":var c=g.load.deps,o=(g.load.deps||[]).concat(g.load.cjsRequireDetection?function(e){se.lastIndex=Ve.lastIndex=et.lastIndex=0;var t,r=[],n=[],o=[];function i(e,t){for(var r=0;r<e.length;r++)if(e[r][0]<t.index&&e[r][1]>t.index)return!0;return!1}if(e.length/e.split("\n").length<200){for(;t=et.exec(e);)n.push([t.index,t.index+t[0].length]);for(;t=Ve.exec(e);)i(n,t)||o.push([t.index+t[1].length,t.index+t[0].length-1])}for(;t=se.exec(e);)if(!i(n,t)&&!i(o,t)){var a=t[1].substr(1,t[1].length-2);if(a.match(/"|'/))continue;r.push(a)}return r}(d):[]);for(var i in g.load.globals)g.load.globals[i]&&o.push(g.load.globals[i]);f.registerDynamic(o,!0,function(e,t,r){if(e.resolve=function(e){return Ye.call(f,e,r.id)},r.paths=[],r.require=e,!g.load.cjsDeferDepsExecute&&c)for(var n=0;n<c.length;n++)e(c[n]);var o=Qe(r.id),i={exports:t,args:[e,t,r,o.filename,o.dirname,h,h]},a="(function (require, exports, module, __filename, __dirname, global, GLOBAL";if(g.load.globals)for(var s in g.load.globals)i.args.push(e(g.load.globals[s])),a+=", "+s;var l=h.define;h.define=void 0,h.__cjsWrapper=i,d=a+") {"+d.replace(St,"")+"\n}).apply(__cjsWrapper.exports, __cjsWrapper.args);";var u=Ge(f,d,g.load.sourceMap,p,g.load.integrity,g.load.nonce,!1);if(u)throw u;yt(g,t),h.__cjsWrapper=void 0,h.define=l}),e=s();break;case"global":o=g.load.deps||[];for(var i in g.load.globals){var a=g.load.globals[i];a&&o.push(a)}f.registerDynamic(o,!1,function(e,t,r){var n;if(g.load.globals)for(var o in n={},g.load.globals)g.load.globals[o]&&(n[o]=e(g.load.globals[o]));var i=g.load.exports;i&&(d+="\n"+wt+'["'+i+'"] = '+i+";");var a=it(r.id,i,n,g.load.encapsulateGlobal),s=Ge(f,d,g.load.sourceMap,p,g.load.integrity,g.load.nonce,!0);if(s)throw s;var l=a();return yt(g,l),l}),e=s();break;default:throw new TypeError('Unknown module format "'+g.load.format+'" for "'+p+'".'+("es6"===g.load.format?' Use "esm" instead here.':""))}if(!e)throw new Error("Module "+p+" detected as "+g.load.format+" but didn't execute correctly.")})}"undefined"==typeof process||process.browser||(mt=$t);var wt="undefined"!=typeof self?"self":"global",jt=/(^\s*|[}\);\n]\s*)(import\s*(['"]|(\*\s+as\s+)?(?!type)([^"'\(\)\n; ]+)\s*from\s*['"]|\{)|export\s+\*\s+from\s+["']|export\s*(\{|default|function|class|var|const|let|async\s+function))/,xt=/^(\s*\/\*[^\*]*(\*(?!\/)[^\*]*)*\*\/|\s*\/\/[^\n]*|\s*"[^"]+"\s*;?|\s*'[^']+'\s*;?)*\s*/;function kt(e){var t=e.match(xt);return t&&"System.register"===e.substr(t[0].length,15)}var Et=/(?:^\uFEFF?|[^$_a-zA-Z\xA0-\uFFFF.])define\s*\(\s*("[^"]+"\s*,\s*|'[^']+'\s*,\s*)?\s*(\[(\s*(("[^"]+"|'[^']+')\s*,|\/\/.*\r?\n|\/\*(.|\s)*?\*\/))*(\s*("[^"]+"|'[^']+')\s*,?)?(\s*(\/\/.*\r?\n|\/\*(.|\s)*?\*\/))*\s*\]|function\s*|{|[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*\))/,Ot=/(?:^\uFEFF?|[^$_a-zA-Z\xA0-\uFFFF.])(exports\s*(\[['"]|\.)|module(\.exports|\['exports'\]|\["exports"\])\s*(\[['"]|[=,\.]))/,St=/^\#\!.*/;function _t(e,t){var r=e.split("!")[0];t.file&&t.file!=e||(t.file=r+"!transpiled"),t.sources&&(!(t.sources.length<=1)||t.sources[0]&&t.sources[0]!==e)||(t.sources=[r])}var Pt,Mt,Rt=/^(\s*\/\*[^\*]*(\*(?!\/)[^\*]*)*\*\/|\s*\/\/[^\n]*|\s*"[^"]+"\s*;?|\s*'[^']+'\s*;?)+/,Ct=/\/\*[^\*]*(\*(?!\/)[^\*]*)*\*\/|\/\/[^\n]*|"[^"]+"\s*;?|'[^']+'\s*;?/g;function At(e,t,r){for(var n,o=t.split(".");1<o.length;)e=e[n=o.shift()]=e[n]||{};void 0===e[n=o.shift()]&&(e[n]=r)}if("undefined"==typeof Promise)throw new Error("SystemJS needs a Promise polyfill.");if("undefined"!=typeof document){var Lt=document.getElementsByTagName("script"),Dt=Lt[Lt.length-1];document.currentScript&&(Dt.defer||Dt.async)&&(Dt=document.currentScript),Pt=Dt&&Dt.src}else if("undefined"!=typeof importScripts)try{throw new Error("_")}catch(e){e.stack.replace(/(?:at|@).*(http.+):[\d]+:[\d]+/,function(e,t){Pt=t})}else"undefined"!=typeof __filename&&(Pt=__filename);function Kt(){_.call(this),this._loader={},this[B]={},this[J]={baseURL:y,paths:{},packageConfigPaths:[],packageConfigKeys:[],map:{},packages:{},depCache:{},meta:{},bundles:{},production:!1,transpiler:void 0,loadedBundles:{},warnings:!1,pluginFirst:!1,wasm:!1},this.scriptSrc=Pt,this._nodeRequire=mt,this.registry.set("@empty",z),It.call(this,!1,!1),He(this)}function It(e,t){this[J].production=e,this.registry.set("@system-env",Mt=this.newModule({browser:s,node:!!this._nodeRequire,production:!t&&e,dev:t||!e,build:t,default:!0}))}((Kt.prototype=Object.create(_.prototype)).constructor=Kt).prototype[Kt.resolve=_.resolve]=Kt.prototype.normalize=function(r,n){var o=this[J],i={pluginKey:void 0,pluginArgument:void 0,pluginModule:void 0,packageKey:void 0,packageConfig:void 0,load:void 0},a=ce(0,o,n),s=this;return Promise.resolve().then(function(){var t=r.lastIndexOf("#?");if(-1===t)return Promise.resolve(r);var e=_e.call(s,r.substr(t+2));return Pe.call(s,e,n,!0).then(function(e){return e?r.substr(0,t):"@empty"})}).then(function(e){var t=ve(o.pluginFirst,e);return t?(i.pluginKey=t.plugin,Promise.all([he.call(s,o,t.argument,a&&a.pluginArgument||n,i,a,!0),s.resolve(t.plugin,n)]).then(function(e){if(i.pluginArgument=e[0],i.pluginKey=e[1],i.pluginArgument===i.pluginKey)throw new Error("Plugin "+i.pluginArgument+" cannot load itself, make sure it is excluded from any wildcard meta configuration via a custom loader: false rule.");return ye(o.pluginFirst,e[0],e[1])})):he.call(s,o,e,a&&a.pluginArgument||n,i,a,!1)}).then(function(e){return Re.call(s,e,n,a)}).then(function(t){return function(e,t,r){r.load=r.load||me();var n,o=0;for(var i in e.meta)if(-1!==(n=i.indexOf("*"))&&i.substr(0,n)===t.substr(0,n)&&i.substr(n+1)===t.substr(t.length-i.length+n+1)){var a=i.split("/").length;o<a&&(o=a),Z(r.load,e.meta[i],o!==a)}e.meta[t]&&Z(r.load,e.meta[t],!1);if(r.packageKey){var s=t.substr(r.packageKey.length+1),l={};if(r.packageConfig.meta){o=0;Oe(r.packageConfig.meta,s,function(e,t,r){o<r&&(o=r),Z(l,t,r&&r<o)}),Z(r.load,l,!1)}!r.packageConfig.format||r.pluginKey||r.load.loader||(r.load.format=r.load.format||r.packageConfig.format)}}.call(s,o,t,i),i.pluginKey||!i.load.loader?t:s.resolve(i.load.loader,t).then(function(e){return i.pluginKey=e,i.pluginArgument=t})}).then(function(e){return s[B][e]=i,e})},Kt.prototype.load=function(e,t){return W.call(this[J],"System.load is deprecated."),this.import(e,t)},Kt.prototype.decanonicalize=Kt.prototype.normalizeSync=Kt.prototype.resolveSync=function e(t,r){var n=this[J],o={pluginKey:void 0,pluginArgument:void 0,pluginModule:void 0,packageKey:void 0,packageConfig:void 0,load:void 0},i=i||ce(0,n,r),a=ve(n.pluginFirst,t);return a?(o.pluginKey=e.call(this,a.plugin,r),ye(n.pluginFirst,ge.call(this,n,a.argument,i.pluginArgument||r,o,i,!!o.pluginKey),o.pluginKey)):ge.call(this,n,t,i.pluginArgument||r,o,i,!!o.pluginKey)},Kt.prototype[Kt.instantiate=_.instantiate]=function(n,o){var i=this,e=this[J];return(function(e,t,r){var n=e.depCache[r];if(n)for(var o=0;o<n.length;o++)t.normalize(n[o],r).then(Q);else{var i=!1;for(var a in e.bundles){for(o=0;o<e.bundles[a].length;o++){var s=e.bundles[a][o];if(s===r){i=!0;break}if(-1!==s.indexOf("*")){var l=s.split("*");if(2!==l.length){e.bundles[a].splice(o--,1);continue}if(r.substr(0,l[0].length)===l[0]&&r.substr(r.length-l[1].length,l[1].length)===l[1]){i=!0;break}}}if(i)return t.import(a)}}}(e,this,n)||T).then(function(){if(!o()){var r=i[B][n];if("@node/"!==n.substr(0,6))return r.load.scriptLoad?!r.load.pluginKey&&vt||(r.load.scriptLoad=!1,W.call(e,'scriptLoad not supported for "'+n+'"')):!1!==r.load.scriptLoad&&!r.load.pluginKey&&vt&&(r.load.deps||r.load.globals||!("system"===r.load.format||"register"===r.load.format||"global"===r.load.format&&r.load.exports)||(r.load.scriptLoad=!0)),r.load.scriptLoad?new Promise(function(t,e){if("amd"===r.load.format&&h.define!==i.amdDefine)throw new Error("Loading AMD with scriptLoad requires setting the global `"+wt+".define = SystemJS.amdDefine`");te(n,r.load.crossOrigin,r.load.integrity,function(){if(!o()){r.load.format="global";var e=r.load.exports&&ot(r.load.exports);i.registerDynamic([],!1,function(){return yt(r,e),e}),o()}t()},e)}):function(e,t,r){return r.pluginKey?e.import(r.pluginKey).then(function(e){r.pluginModule=e,r.pluginLoad={name:t,address:r.pluginArgument,source:void 0,metadata:r.load},r.load.deps=r.load.deps||[]}):T}(i,n,r).then(function(){return function(n,o,i,a,e){i.load.exports&&!i.load.format&&(i.load.format="global");return T.then(function(){if(i.pluginModule&&i.pluginModule.locate)return Promise.resolve(i.pluginModule.locate.call(n,i.pluginLoad)).then(function(e){e&&(i.pluginLoad.address=e)})}).then(function(){return i.pluginModule?(e=!1,i.pluginModule.fetch?i.pluginModule.fetch.call(n,i.pluginLoad,function(e){return de(e.address,i.load.authorization,i.load.integrity,!1)}):de(i.pluginLoad.address,i.load.authorization,i.load.integrity,!1)):de(o,i.load.authorization,i.load.integrity,e)}).then(function(r){return e&&"string"!=typeof r?function(e,t,i){var r=new Uint8Array(t);return 0===r[0]&&97===r[1]&&115===r[2]?WebAssembly.compile(t).then(function(t){var r=[],n=[],o={};return WebAssembly.Module.imports&&WebAssembly.Module.imports(t).forEach(function(e){var t=e.module;n.push(function(e){o[t]=e}),-1===r.indexOf(t)&&r.push(t)}),e.register(r,function(e){return{setters:n,execute:function(){e(new WebAssembly.Instance(t,o).exports)}}}),i(),!0}):Promise.resolve(!1)}(n,r,a).then(function(e){if(!e){var t=s?new TextDecoder("utf-8").decode(new Uint8Array(r)):r.toString();return bt(n,o,t,i,a)}}):bt(n,o,r,i,a)})}(i,n,r,o,e.wasm)});if(!i._nodeRequire)throw new TypeError("Error loading "+n+". Can only load node core modules in Node.");return i.registerDynamic([],!1,function(){return function(e,t){if("."===e[0])throw new Error("Node module "+e+" can't be loaded as it is not a package require.");if(!N){var r=this._nodeRequire("module"),n=decodeURI(t.substr(a?8:7));(N=new r(n)).paths=r._nodeModulePaths(n)}return N.require(e)}.call(i,n.substr(6),i.baseURL)}),void o()}}).then(function(e){return delete i[B][n],e})},Kt.prototype.config=function(e,t){var r,n=this,o=this[J];if("warnings"in e&&(o.warnings=e.warnings),"wasm"in e&&(o.wasm="undefined"!=typeof WebAssembly&&e.wasm),("production"in e||"build"in e)&&It.call(n,!!e.production,!!(e.build||Mt&&Mt.build)),!t)for(var i in Ae(0,e,function(e){r=r||e.baseURL}),(r=r||e.baseURL)&&(o.baseURL=b(r,y)||b("./"+r,y),"/"!==o.baseURL[o.baseURL.length-1]&&(o.baseURL+="/")),e.paths&&G(o.paths,e.paths),Ae(0,e,function(e){e.paths&&G(o.paths,e.paths)}),o.paths)-1!==o.paths[i].indexOf("*")&&(W.call(o,"Path config "+i+" -> "+o.paths[i]+" is no longer supported as wildcards are deprecated."),delete o.paths[i]);if(e.defaultJSExtensions&&W.call(o,"The defaultJSExtensions configuration option is deprecated.\n Use packages defaultExtension instead.",!0),"boolean"==typeof e.pluginFirst&&(o.pluginFirst=e.pluginFirst),e.map)for(var i in e.map){var a=e.map[i];if("string"==typeof a){var s=pe.call(n,o,a,void 0,!1,!1);"/"===s[s.length-1]&&":"!==i[i.length-1]&&"/"!==i[i.length-1]&&(s=s.substr(0,s.length-1)),o.map[i]=s}else{h=(h=pe.call(n,o,"/"!==i[i.length-1]?i+"/":i,void 0,!0,!0)).substr(0,h.length-1);var l=o.packages[h];l||((l=o.packages[h]=De()).defaultExtension=""),Ke(l,{map:a},h,!1,o)}}if(e.packageConfigPaths){for(var u=[],d=0;d<e.packageConfigPaths.length;d++){var c=e.packageConfigPaths[d],f=Math.max(c.lastIndexOf("*")+1,c.lastIndexOf("/")),p=pe.call(n,o,c.substr(0,f),void 0,!1,!1);u[d]=p+c.substr(f)}o.packageConfigPaths=u}if(e.bundles)for(var i in e.bundles){var g=[];for(d=0;d<e.bundles[i].length;d++)g.push(n.normalizeSync(e.bundles[i][d]));o.bundles[i]=g}if(e.packages)for(var i in e.packages){if(i.match(/^([^\/]+:)?\/\/$/))throw new TypeError('"'+i+'" is not a valid package name.');var h;h=(h=pe.call(n,o,"/"!==i[i.length-1]?i+"/":i,void 0,!0,!0)).substr(0,h.length-1),Ke(o.packages[h]=o.packages[h]||De(),e.packages[i],h,!1,o)}if(e.depCache)for(var i in e.depCache)o.depCache[n.normalizeSync(i)]=[].concat(e.depCache[i]);if(e.meta)for(var i in e.meta)if("*"===i[0])G(o.meta[i]=o.meta[i]||{},e.meta[i]);else{var m=pe.call(n,o,i,void 0,!0,!0);G(o.meta[m]=o.meta[m]||{},e.meta[i])}for(var v in"transpiler"in e&&(o.transpiler=e.transpiler),e)-1===Ft.indexOf(v)&&-1===Ce.indexOf(v)&&(n[v]=e[v]);Ae(0,e,function(e){n.config(e,!0)})},Kt.prototype.getConfig=function(e){if(e){if(-1!==Ft.indexOf(e))return Le(this[J],e);throw new Error('"'+e+'" is not a valid configuration name. Must be one of '+Ft.join(", ")+".")}for(var t={},r=0;r<Ft.length;r++){var n=Ft[r],o=Le(this[J],n);void 0!==o&&(t[n]=o)}return t},Kt.prototype.global=h,Kt.prototype.import=function(){return _.prototype.import.apply(this,arguments).then(function(e){return"__useDefault"in e?e.__useDefault:e})};for(var Ft=["baseURL","map","paths","packages","packageConfigPaths","depCache","meta","bundles","transpiler","warnings","pluginFirst","production","wasm"],Tt="undefined"!=typeof Proxy,Ut=0;Ut<Ft.length;Ut++)!function(r){Object.defineProperty(Kt.prototype,r,{get:function(){var e=Le(this[J],r);return Tt&&"object"==typeof e&&(e=new Proxy(e,{set:function(e,t){throw new Error("Cannot set SystemJS."+r+'["'+t+'"] directly. Use SystemJS.config({ '+r+': { "'+t+'": ... } }) rather.')}})),e},set:function(e){throw new Error("Setting `SystemJS."+r+"` directly is no longer supported. Use `SystemJS.config({ "+r+": ... })`.")}})}(Ft[Ut]);function qt(e,t){W.call(e[J],"SystemJS."+t+" is deprecated for SystemJS.registry."+t)}Kt.prototype.delete=function(e){return qt(this,"delete"),this.registry.delete(e)},Kt.prototype.get=function(e){return qt(this,"get"),this.registry.get(e)},Kt.prototype.has=function(e){return qt(this,"has"),this.registry.has(e)},Kt.prototype.set=function(e,t){return qt(this,"set"),this.registry.set(e,t)},Kt.prototype.newModule=function(e){return new E(e)},Kt.prototype.isModule=function(e){return void 0===q&&(q="undefined"!=typeof Symbol&&!!Symbol.toStringTag),e instanceof E||q&&"[object Module]"==Object.prototype.toString.call(e)},Kt.prototype.register=function(e,t,r){return"string"==typeof e&&(e=fe.call(this,this[J],e)),_.prototype.register.call(this,e,t,r)},Kt.prototype.registerDynamic=function(e,t,r,n){return"string"==typeof e&&(e=fe.call(this,this[J],e)),_.prototype.registerDynamic.call(this,e,t,r,n)},Kt.prototype.version="0.20.19 Dev";var zt=new Kt;(s||$)&&(h.SystemJS=h.System=zt),Nt.exports&&(Nt.exports=zt)}()}(e={exports:{}},e.exports),e.exports),n=(t=r)&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t,o={paths:{"npm:":"https://unpkg.com/"},map:Object.assign({},{"@financial-times/load-data":"npm:@financial-times/load-data@^1.0.2/dist/loadData.dist.min.js","bertha-client":"npm:bertha-client@4.0.1/dist/index.js",d3:"https://d3js.org/d3.v4.js","d3-array":"https://d3js.org/d3.v4.js","d3-axis":"https://d3js.org/d3.v4.js","d3-brush":"https://d3js.org/d3.v4.js","d3-chord":"https://d3js.org/d3.v4.js","d3-collection":"https://d3js.org/d3.v4.js","d3-color":"https://d3js.org/d3.v4.js","d3-dispatch":"https://d3js.org/d3.v4.js","d3-drag":"https://d3js.org/d3.v4.js","d3-dsv":"https://d3js.org/d3.v4.js","d3-ease":"https://d3js.org/d3.v4.js","d3-force":"https://d3js.org/d3.v4.js","d3-format":"https://d3js.org/d3.v4.js","d3-geo":"https://d3js.org/d3.v4.js","d3-hierarchy":"https://d3js.org/d3.v4.js","d3-interpolate":"https://d3js.org/d3.v4.js","d3-path":"https://d3js.org/d3.v4.js","d3-polygon":"https://d3js.org/d3.v4.js","d3-quadtree":"https://d3js.org/d3.v4.js","d3-queue":"https://d3js.org/d3.v4.js","d3-random":"https://d3js.org/d3.v4.js","d3-request":"https://d3js.org/d3.v4.js","d3-sankey":"npm:d3-sankey@0.7.1/build/d3-sankey.js","d3-scale":"https://d3js.org/d3.v4.js","d3-selection-multi":"npm:d3-selection-multi@1.0.1/build/d3-selection-multi.js","d3-selection":"https://d3js.org/d3.v4.js","d3-shape":"https://d3js.org/d3.v4.js","d3-time-format":"https://d3js.org/d3.v4.js","d3-time":"https://d3js.org/d3.v4.js","d3-timer":"https://d3js.org/d3.v4.js","d3-transition":"https://d3js.org/d3.v4.js","d3-voronoi":"https://d3js.org/d3.v4.js","d3-zoom":"https://d3js.org/d3.v4.js","g-annotations":"npm:g-annotations@^1/build/g-annotations.js","g-axis":"npm:g-axis@^1/build/g-axis.js","g-chartcolour":"npm:g-chartcolour@0.8.26/build/g-chartcolour.js","g-chartframe":"npm:g-chartframe@^5/build/g-chartframe.js","g-legend":"npm:g-legend@^1/build/g-legend.js","g-xaxisdate":"npm:g-axis@^1/build/g-axis.js","g-yaxislinear":"npm:g-axis@^1/build/g-axis.js","plugin-babel":"npm:systemjs-plugin-babel/plugin-babel.js","plugin-json":"npm:systemjs-plugin-json@0.3.0/json.js","save-svg-as-png":"npm:save-svg-as-png@1.4.6/lib/saveSvgAsPng.js","simple-statistics":"npm:simple-statistics@5.4.0/dist/simple-statistics.js","systemjs-babel-build":"npm:systemjs-plugin-babel@0.0.25/systemjs-babel-browser.js","topojson-client":"npm:topojson-client@3.0.0/dist/topojson-client.js","@financial-times/g-components":"npm:object-assign@^2",react:"npm:react@^16.8","react-dom":"npm:react-dom@^16.8","prop-types":"npm:prop-types@^15",chai:"https://www.chaijs.com/chai.js"},window.D3_BOOTLOADER_MODULES),meta:{"*.json":{loader:"plugin-json"}},transpiler:"plugin-babel"};return n.config(o),n.import("./index.js")});

@@ -12,9 +12,12 @@ /**

import SystemJS from "systemjs";
import modules from "./modules.js";
import SystemJS from 'systemjs';
import modules from './modules.js';
var config = {
paths: {
'npm:': 'https://unpkg.com/',
},
map: Object.assign({}, modules, window.D3_BOOTLOADER_MODULES),
meta: { "*.json": { loader: "plugin-json" } },
transpiler: "plugin-babel"
meta: { '*.json': { loader: 'plugin-json' } },
transpiler: 'plugin-babel',
};

@@ -24,2 +27,2 @@

export default SystemJS.import("./index.js");
export default SystemJS.import('./index.js');

@@ -27,3 +27,10 @@ /**

map: offlineModules,
meta: { '*.json': { loader: 'plugin-json' } },
meta: {
'*.json': { loader: 'plugin-json' },
'*.js': {
babelOptions: {
react: true,
},
},
},
transpiler: 'plugin-babel',

@@ -30,0 +37,0 @@ };

@@ -1,1 +0,1 @@

{"name":"@financial-times/d3-bootloader","version":"1.9.8","files":["bin/","dist/","offline/"],"bin":{"offline":"bin/go-offline.js"},"description":"Load D3 via SystemJS","main":"index.js","module":"index.js","browser":"dist/d3-bootloader.min.js","unpkg":"dist/d3-bootloader.min.js","scripts":{"build":"rollup -c","offline:download-deps":"node -r esm get-offline.js","minify":"uglifyjs --comments -c -m -o dist/d3-bootloader.min.js dist/d3-bootloader.js","lint":"eslint index.js","prepare":"npm run offline:download-deps && npm run build && npm run minify"},"repository":{"type":"git","url":"git+https://github.com/ft-interactive/d3-bootloader.git"},"keywords":[],"author":"Ændrew Rininsland <andrew.rininsland@ft.com>","license":"ISC","bugs":{"url":"https://github.com/ft-interactive/d3-bootloader/issues"},"homepage":"https://github.com/ft-interactive/d3-bootloader#readme","devDependencies":{"axios":"^0.18.1","debug":"^3.2.6","eslint":"^3.19.0","eslint-config-airbnb-base":"^11.3.2","eslint-plugin-import":"^2.18.0","esm":"^3.2.25","npm-prepublish":"^1.2.3","rollup":"^0.67.4","rollup-plugin-commonjs":"^9.3.4","rollup-plugin-node-resolve":"^3.4.0","uglify-js":"^3.6.0"},"dependencies":{"cheerio":"^1.0.0-rc.3","execa":"^1.0.0","pacote":"^9.5.1","systemjs":"^0.20.19","tmp":"0.0.33"},"eslintConfig":{"extends":"airbnb-base","root":true,"env":{"browser":true},"rules":{"no-var":[0],"quote-props":[0]}}}
{"name":"@financial-times/d3-bootloader","version":"2.0.0-rc1","files":["bin/","dist/","offline/"],"bin":{"offline":"bin/go-offline.js"},"description":"Load D3 via SystemJS","main":"index.js","module":"index.js","browser":"dist/d3-bootloader.min.js","unpkg":"dist/d3-bootloader.min.js","scripts":{"build":"rollup -c","offline:download-deps":"node -r esm get-offline.js","minify":"uglifyjs --comments -c -m -o dist/d3-bootloader.min.js dist/d3-bootloader.js","lint":"eslint index.js","prepare":"npm run offline:download-deps && npm run build && npm run minify"},"repository":{"type":"git","url":"git+https://github.com/ft-interactive/d3-bootloader.git"},"keywords":[],"author":"Ændrew Rininsland <andrew.rininsland@ft.com>","license":"ISC","bugs":{"url":"https://github.com/ft-interactive/d3-bootloader/issues"},"homepage":"https://github.com/ft-interactive/d3-bootloader#readme","devDependencies":{"axios":"^0.18.1","debug":"^3.2.6","eslint":"^3.19.0","eslint-config-airbnb-base":"^11.3.2","eslint-plugin-import":"^2.18.0","esm":"^3.2.25","npm-prepublish":"^1.2.3","rollup":"^0.67.4","rollup-plugin-commonjs":"^9.3.4","rollup-plugin-node-resolve":"^3.4.0","uglify-js":"^3.6.0"},"dependencies":{"cheerio":"^1.0.0-rc.3","execa":"^1.0.0","pacote":"^9.5.1","systemjs":"^0.20.19","tmp":"0.0.33"},"eslintConfig":{"extends":"airbnb-base","root":true,"env":{"browser":true},"rules":{"no-var":[0],"quote-props":[0]}}}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc