From c672ba9e5888292cfd8cfee2ea30aa5a3a100025 Mon Sep 17 00:00:00 2001 From: Rsl1122 Date: Thu, 28 Jun 2018 16:20:24 +0300 Subject: [PATCH] Added UUID fetching service for user heads using https://api.minetools.eu/ https://api.minetools.eu/ had to be used because Mojang API does not serve CORS Response headers. --- .../components/SidebarHeader/SidebarHeader.js | 19 ++++++++++- react/dashboard/src/services/uuid.js | 15 +++++++++ react/dashboard/src/views/Users/UserImg.js | 33 +++++++++++++++++++ react/dashboard/src/views/Users/Users.js | 3 +- src/main/resources/web/index.bundle.js | 4 +-- 5 files changed, 70 insertions(+), 4 deletions(-) create mode 100644 react/dashboard/src/services/uuid.js create mode 100644 react/dashboard/src/views/Users/UserImg.js diff --git a/react/dashboard/src/components/SidebarHeader/SidebarHeader.js b/react/dashboard/src/components/SidebarHeader/SidebarHeader.js index 406ec1c77..503d6c193 100644 --- a/react/dashboard/src/components/SidebarHeader/SidebarHeader.js +++ b/react/dashboard/src/components/SidebarHeader/SidebarHeader.js @@ -1,11 +1,26 @@ import React, { Component } from 'react' import PropTypes from 'prop-types' +import uuidSvc from '../../services/uuid' + class SidebarHeader extends Component { + constructor(props) { + super(props) + + this.state = { + uuid: null + } + } + componentDidMount() { const { store } = this.context this.unsubscribe = store.subscribe(() => this.forceUpdate()) + const login = this.context.store.getState().login.login + const name = login.username + uuidSvc.getUUID(name).then(uuid => { + this.setState({ uuid }) + }) } componentWillUnmount() { @@ -15,7 +30,9 @@ class SidebarHeader extends Component { render() { const login = this.context.store.getState().login.login const name = login.username - const url = login ? `https://visage.surgeplay.com/head/150/${name}.png` : '' + const uuid = this.state.uuid + + const url = login ? `https://visage.surgeplay.com/head/150/${uuid ? uuid : 'X-Alex'}.png` : '' return (
diff --git a/react/dashboard/src/services/uuid.js b/react/dashboard/src/services/uuid.js new file mode 100644 index 000000000..acc416f53 --- /dev/null +++ b/react/dashboard/src/services/uuid.js @@ -0,0 +1,15 @@ +import axios from 'axios' + +const getUUID = async (name) => { + const url = `https://api.minetools.eu/uuid/${name}` + const response = await axios.get( + url, + {} + ).catch(e => { throw e }) + const id = response.data.id + + return id !== 'null' ? id : null +} + +export default { getUUID } + diff --git a/react/dashboard/src/views/Users/UserImg.js b/react/dashboard/src/views/Users/UserImg.js new file mode 100644 index 000000000..81c47dc82 --- /dev/null +++ b/react/dashboard/src/views/Users/UserImg.js @@ -0,0 +1,33 @@ +import React from 'react' + +import uuidSvc from '../../services/uuid' + +class UserImg extends React.Component { + + constructor(props) { + super(props) + + this.state = { + name: this.props.name, + uuid: null + } + } + + componentDidMount() { + const name = this.props.name + uuidSvc.getUUID(name).then(uuid => { + this.setState({ uuid, name }) + }) + } + + render() { + if (this.props.name !== this.state.name) { + this.componentDidMount() + } + const uuid = this.state.uuid + const url = uuid && uuid !== null ? `https://visage.surgeplay.com/face/50/${uuid}` : 'https://visage.surgeplay.com/face/50/X-Steve' + return + } +} + +export default UserImg \ No newline at end of file diff --git a/react/dashboard/src/views/Users/Users.js b/react/dashboard/src/views/Users/Users.js index 1378c0c61..e13c96949 100644 --- a/react/dashboard/src/views/Users/Users.js +++ b/react/dashboard/src/views/Users/Users.js @@ -24,6 +24,7 @@ import { } from 'reactstrap' import User from './User' +import UserImg from './UserImg' import { BigAddButton } from '../../components/Buttons/AddButton' import { BiggerRemoveButton } from '../../components/Buttons/RemoveButton' import { BiggerDuplicateButton } from '../../components/Buttons/DuplicateButton' @@ -75,7 +76,7 @@ class Users extends Component { }).map((user, indx) => ( - + diff --git a/src/main/resources/web/index.bundle.js b/src/main/resources/web/index.bundle.js index f2fd348e1..5197227db 100644 --- a/src/main/resources/web/index.bundle.js +++ b/src/main/resources/web/index.bundle.js @@ -1,4 +1,4 @@ -!function(e){function t(e){delete installedChunks[e]}function o(e){var t=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.src=p.p+""+e+"."+j+".hot-update.js",t.appendChild(o)}function n(e){return e=e||1e4,new Promise(function(t,o){if("undefined"==typeof XMLHttpRequest)return o(new Error("No browser support"));try{var n=new XMLHttpRequest,r=p.p+""+j+".hot-update.json";n.open("GET",r,!0),n.timeout=e,n.send(null)}catch(e){return o(e)}n.onreadystatechange=function(){if(4===n.readyState)if(0===n.status)o(new Error("Manifest request to "+r+" timed out."));else if(404===n.status)t();else if(200!==n.status&&304!==n.status)o(new Error("Manifest request to "+r+" failed."));else{try{var e=JSON.parse(n.responseText)}catch(e){return void o(e)}t(e)}}})}function r(e){var t=N[e];if(!t)return p;var o=function(o){return t.hot.active?(N[o]?N[o].parents.indexOf(e)<0&&N[o].parents.push(e):(x=[e],h=o),t.children.indexOf(o)<0&&t.children.push(o)):(console.warn("[HMR] unexpected require("+o+") from disposed module "+e),x=[]),p(o)};for(var n in p)Object.prototype.hasOwnProperty.call(p,n)&&"e"!==n&&Object.defineProperty(o,n,function(e){return{configurable:!0,enumerable:!0,get:function(){return p[e]},set:function(t){p[e]=t}}}(n));return o.e=function(e){function t(){S--,"prepare"===k&&(T[e]||d(e),0===S&&0===P&&c())}return"ready"===k&&l("prepare"),S++,p.e(e).then(t,function(e){throw t(),e})},o}function s(e){var t={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_disposeHandlers:[],_main:h!==e,active:!0,accept:function(e,o){if(void 0===e)t._selfAccepted=!0;else if("function"==typeof e)t._selfAccepted=e;else if("object"==typeof e)for(var n=0;n=0&&t._disposeHandlers.splice(o,1)},check:i,apply:f,status:function(e){if(!e)return k;O.push(e)},addStatusHandler:function(e){O.push(e)},removeStatusHandler:function(e){var t=O.indexOf(e);t>=0&&O.splice(t,1)},data:w[e]};return h=void 0,t}function l(e){k=e;for(var t=0;t0;){var s=r.pop(),l=s.id,a=s.chain;if((u=N[l])&&!u.hot._selfAccepted){if(u.hot._selfDeclined)return{type:"self-declined",chain:a,moduleId:l};if(u.hot._main)return{type:"unaccepted",chain:a,moduleId:l};for(var i=0;i=0||(c.hot._acceptedDependencies[l]?(o[d]||(o[d]=[]),n(o[d],[l])):(delete o[d],t.push(d),r.push({chain:a.concat([d]),id:d})))}}}}return{type:"accepted",moduleId:e,outdatedModules:t,outdatedDependencies:o}}(d):{type:"disposed",moduleId:b};var g=!1,E=!1,O=!1,P="";switch(v.chain&&(P="\nUpdate propagation: "+v.chain.join(" -> ")),v.type){case"self-declined":o.onDeclined&&o.onDeclined(v),o.ignoreDeclined||(g=new Error("Aborted because of self decline: "+v.moduleId+P));break;case"declined":o.onDeclined&&o.onDeclined(v),o.ignoreDeclined||(g=new Error("Aborted because of declined dependency: "+v.moduleId+" in "+v.parentId+P));break;case"unaccepted":o.onUnaccepted&&o.onUnaccepted(v),o.ignoreUnaccepted||(g=new Error("Aborted because "+d+" is not accepted"+P));break;case"accepted":o.onAccepted&&o.onAccepted(v),E=!0;break;case"disposed":o.onDisposed&&o.onDisposed(v),O=!0;break;default:throw new Error("Unexception type "+v.type)}if(g)return l("abort"),Promise.reject(g);if(E){m[d]=_[d],n(f,v.outdatedModules);for(d in v.outdatedDependencies)Object.prototype.hasOwnProperty.call(v.outdatedDependencies,d)&&(c[d]||(c[d]=[]),n(c[d],v.outdatedDependencies[d]))}O&&(n(f,[v.moduleId]),m[d]=h)}var S=[];for(s=0;s0;)if(d=C.pop(),u=N[d]){var M={},I=u.hot._disposeHandlers;for(i=0;i=0&&A.parents.splice(T,1)}}var L,D;for(d in c)if(Object.prototype.hasOwnProperty.call(c,d)&&(u=N[d]))for(D=c[d],i=0;i=0&&u.children.splice(T,1);l("apply"),j=y;for(d in m)Object.prototype.hasOwnProperty.call(m,d)&&(e[d]=m[d]);var U=null;for(d in c)if(Object.prototype.hasOwnProperty.call(c,d)&&(u=N[d])){D=c[d];var W=[];for(s=0;s=0)continue;W.push(r)}for(s=0;s=200&&e<300}};a.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(e){a.headers[e]={}}),r.forEach(["post","put","patch"],function(e){a.headers[e]=r.merge(l)}),e.exports=a}).call(t,o("./node_modules/process/browser.js"))},"./node_modules/axios/lib/helpers/bind.js":function(e,t,o){"use strict";e.exports=function(e,t){return function(){for(var o=new Array(arguments.length),n=0;n>8-a%1*8)){if((o=r.charCodeAt(a+=.75))>255)throw new n;t=t<<8|o}return l}var s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.prototype=new Error,n.prototype.code=5,n.prototype.name="InvalidCharacterError",e.exports=r},"./node_modules/axios/lib/helpers/buildURL.js":function(e,t,o){"use strict";function n(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var r=o("./node_modules/axios/lib/utils.js");e.exports=function(e,t,o){if(!t)return e;var s;if(o)s=o(t);else if(r.isURLSearchParams(t))s=t.toString();else{var l=[];r.forEach(t,function(e,t){null!==e&&void 0!==e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),l.push(n(t)+"="+n(e))}))}),s=l.join("&")}return s&&(e+=(-1===e.indexOf("?")?"?":"&")+s),e}},"./node_modules/axios/lib/helpers/combineURLs.js":function(e,t,o){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"./node_modules/axios/lib/helpers/cookies.js":function(e,t,o){"use strict";var n=o("./node_modules/axios/lib/utils.js");e.exports=n.isStandardBrowserEnv()?function(){return{write:function(e,t,o,r,s,l){var a=[];a.push(e+"="+encodeURIComponent(t)),n.isNumber(o)&&a.push("expires="+new Date(o).toGMTString()),n.isString(r)&&a.push("path="+r),n.isString(s)&&a.push("domain="+s),!0===l&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"./node_modules/axios/lib/helpers/isAbsoluteURL.js":function(e,t,o){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},"./node_modules/axios/lib/helpers/isURLSameOrigin.js":function(e,t,o){"use strict";var n=o("./node_modules/axios/lib/utils.js");e.exports=n.isStandardBrowserEnv()?function(){function e(e){var t=e;return o&&(r.setAttribute("href",t),t=r.href),r.setAttribute("href",t),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}var t,o=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");return t=e(window.location.href),function(o){var r=n.isString(o)?e(o):o;return r.protocol===t.protocol&&r.host===t.host}}():function(){return function(){return!0}}()},"./node_modules/axios/lib/helpers/normalizeHeaderName.js":function(e,t,o){"use strict";var n=o("./node_modules/axios/lib/utils.js");e.exports=function(e,t){n.forEach(e,function(o,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=o,delete e[n])})}},"./node_modules/axios/lib/helpers/parseHeaders.js":function(e,t,o){"use strict";var n=o("./node_modules/axios/lib/utils.js"),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,o,s,l={};return e?(n.forEach(e.split("\n"),function(e){if(s=e.indexOf(":"),t=n.trim(e.substr(0,s)).toLowerCase(),o=n.trim(e.substr(s+1)),t){if(l[t]&&r.indexOf(t)>=0)return;l[t]="set-cookie"===t?(l[t]?l[t]:[]).concat([o]):l[t]?l[t]+", "+o:o}}),l):l}},"./node_modules/axios/lib/helpers/spread.js":function(e,t,o){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"./node_modules/axios/lib/utils.js":function(e,t,o){"use strict";function n(e){return"[object Array]"===E.call(e)}function r(e){return"[object ArrayBuffer]"===E.call(e)}function s(e){return"undefined"!=typeof FormData&&e instanceof FormData}function l(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer}function a(e){return"string"==typeof e}function i(e){return"number"==typeof e}function u(e){return void 0===e}function d(e){return null!==e&&"object"==typeof e}function c(e){return"[object Date]"===E.call(e)}function f(e){return"[object File]"===E.call(e)}function p(e){return"[object Blob]"===E.call(e)}function m(e){return"[object Function]"===E.call(e)}function h(e){return d(e)&&m(e.pipe)}function b(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function _(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function y(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document}function v(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),n(e))for(var o=0,r=e.length;o2?arguments[2]:void 0,d=Math.min((void 0===u?l:r(u,l))-i,l-a),c=1;for(i0;)i in o?o[a]=o[i]:delete o[a],a+=c,i+=c;return o}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_array-fill.js":function(e,t,o){"use strict";var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_to-object.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_to-absolute-index.js"),s=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_to-length.js");e.exports=function(e){for(var t=n(this),o=s(t.length),l=arguments.length,a=r(l>1?arguments[1]:void 0,o),i=l>2?arguments[2]:void 0,u=void 0===i?o:r(i,o);u>a;)t[a++]=e;return t}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_array-from-iterable.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_for-of.js");e.exports=function(e,t){var o=[];return n(e,!1,o.push,o,t),o}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_array-includes.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_to-iobject.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_to-length.js"),s=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_to-absolute-index.js");e.exports=function(e){return function(t,o,l){var a,i=n(t),u=r(i.length),d=s(l,u);if(e&&o!=o){for(;u>d;)if((a=i[d++])!=a)return!0}else for(;u>d;d++)if((e||d in i)&&i[d]===o)return e||d||0;return!e&&-1}}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_array-methods.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_ctx.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_iobject.js"),s=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_to-object.js"),l=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_to-length.js"),a=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_array-species-create.js");e.exports=function(e,t){var o=1==e,i=2==e,u=3==e,d=4==e,c=6==e,f=5==e||c,p=t||a;return function(t,a,m){for(var h,b,_=s(t),y=r(_),v=n(a,m,3),j=l(y.length),g=0,w=o?p(t,j):i?p(t,0):void 0;j>g;g++)if((f||g in y)&&(h=y[g],b=v(h,g,_),e))if(o)w[g]=b;else if(b)switch(e){case 3:return!0;case 5:return h;case 6:return g;case 2:w.push(h)}else if(d)return!1;return c?-1:u||d?d:w}}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_array-reduce.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_a-function.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_to-object.js"),s=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_iobject.js"),l=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_to-length.js");e.exports=function(e,t,o,a,i){n(t);var u=r(e),d=s(u),c=l(u.length),f=i?c-1:0,p=i?-1:1;if(o<2)for(;;){if(f in d){a=d[f],f+=p;break}if(f+=p,i?f<0:c<=f)throw TypeError("Reduce of empty array with no initial value")}for(;i?f>=0:c>f;f+=p)f in d&&(a=t(a,d[f],f,u));return a}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_array-species-constructor.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_is-object.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_is-array.js"),s=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_wks.js")("species");e.exports=function(e){var t;return r(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!r(t.prototype)||(t=void 0),n(t)&&null===(t=t[s])&&(t=void 0)),void 0===t?Array:t}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_array-species-create.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_array-species-constructor.js");e.exports=function(e,t){return new(n(e))(t)}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_bind.js":function(e,t,o){"use strict";var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_a-function.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_is-object.js"),s=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_invoke.js"),l=[].slice,a={},i=function(e,t,o){if(!(t in a)){for(var n=[],r=0;r1?arguments[1]:void 0,3);o=o?o.n:this._f;)for(n(o.v,o.k,this);o&&o.r;)o=o.p},has:function(e){return!!b(m(this,t),e)}}),f&&n(d.prototype,"size",{get:function(){return m(this,t)[h]}}),d},def:function(e,t,o){var n,r,s=b(e,t);return s?s.v=o:(e._l=s={i:r=p(t,!0),k:t,v:o,p:n=e._l,n:void 0,r:!1},e._f||(e._f=s),n&&(n.n=s),e[h]++,"F"!==r&&(e._i[r]=s)),e},getEntry:b,setStrong:function(e,t,o){u(e,t,function(e,o){this._t=m(e,t),this._k=o,this._l=void 0},function(){for(var e=this,t=e._k,o=e._l;o&&o.r;)o=o.p;return e._t&&(e._l=o=o?o.n:e._t._f)?"keys"==t?d(0,o.k):"values"==t?d(0,o.v):d(0,[o.k,o.v]):(e._t=void 0,d(1))},o?"entries":"values",!o,!0),c(t)}}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_collection-to-json.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_classof.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_array-from-iterable.js");e.exports=function(e){return function(){if(n(this)!=e)throw TypeError(e+"#toJSON isn't generic");return r(this)}}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_collection-weak.js":function(e,t,o){"use strict";var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_redefine-all.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_meta.js").getWeak,s=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_an-object.js"),l=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_is-object.js"),a=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_an-instance.js"),i=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_for-of.js"),u=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_array-methods.js"),d=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_has.js"),c=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_validate-collection.js"),f=u(5),p=u(6),m=0,h=function(e){return e._l||(e._l=new b)},b=function(){this.a=[]},_=function(e,t){return f(e.a,function(e){return e[0]===t})};b.prototype={get:function(e){var t=_(this,e);if(t)return t[1]},has:function(e){return!!_(this,e)},set:function(e,t){var o=_(this,e);o?o[1]=t:this.a.push([e,t])},delete:function(e){var t=p(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,o,s){var u=e(function(e,n){a(e,u,t,"_i"),e._t=t,e._i=m++,e._l=void 0,void 0!=n&&i(n,o,e[s],e)});return n(u.prototype,{delete:function(e){if(!l(e))return!1;var o=r(e);return!0===o?h(c(this,t)).delete(e):o&&d(o,this._i)&&delete o[this._i]},has:function(e){if(!l(e))return!1;var o=r(e);return!0===o?h(c(this,t)).has(e):o&&d(o,this._i)}}),u},def:function(e,t,o){var n=r(s(t),!0);return!0===n?h(e).set(t,o):n[e._i]=o,e},ufstore:h}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_collection.js":function(e,t,o){"use strict";var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_global.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_export.js"),s=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_redefine.js"),l=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_redefine-all.js"),a=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_meta.js"),i=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_for-of.js"),u=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_an-instance.js"),d=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_is-object.js"),c=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_fails.js"),f=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_iter-detect.js"),p=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_set-to-string-tag.js"),m=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_inherit-if-required.js");e.exports=function(e,t,o,h,b,_){var y=n[e],v=y,j=b?"set":"add",g=v&&v.prototype,w={},x=function(e){var t=g[e];s(g,e,"delete"==e?function(e){return!(_&&!d(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(_&&!d(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return _&&!d(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,o){return t.call(this,0===e?0:e,o),this})};if("function"==typeof v&&(_||g.forEach&&!c(function(){(new v).entries().next()}))){var E=new v,O=E[j](_?{}:-0,1)!=E,k=c(function(){E.has(1)}),P=f(function(e){new v(e)}),S=!_&&c(function(){for(var e=new v,t=5;t--;)e[j](t,t);return!e.has(-0)});P||(v=t(function(t,o){u(t,v,e);var n=m(new y,t,v);return void 0!=o&&i(o,b,n[j],n),n}),v.prototype=g,g.constructor=v),(k||S)&&(x("delete"),x("has"),b&&x("get")),(S||O)&&x(j),_&&g.clear&&delete g.clear}else v=h.getConstructor(t,e,b,j),l(v.prototype,o),a.NEED=!0;return p(v,e),w[e]=v,r(r.G+r.W+r.F*(v!=y),w),_||h.setStrong(v,e,b),v}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_core.js":function(e,t){var o=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=o)},"./node_modules/babel-polyfill/node_modules/core-js/modules/_create-property.js":function(e,t,o){"use strict";var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_object-dp.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_property-desc.js");e.exports=function(e,t,o){t in e?n.f(e,t,r(0,o)):e[t]=o}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_ctx.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_a-function.js");e.exports=function(e,t,o){if(n(e),void 0===t)return e;switch(o){case 1:return function(o){return e.call(t,o)};case 2:return function(o,n){return e.call(t,o,n)};case 3:return function(o,n,r){return e.call(t,o,n,r)}}return function(){return e.apply(t,arguments)}}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_date-to-iso-string.js":function(e,t,o){"use strict";var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_fails.js"),r=Date.prototype.getTime,s=Date.prototype.toISOString,l=function(e){return e>9?e:"0"+e};e.exports=n(function(){return"0385-07-25T07:06:39.999Z"!=s.call(new Date(-5e13-1))})||!n(function(){s.call(new Date(NaN))})?function(){if(!isFinite(r.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),o=e.getUTCMilliseconds(),n=t<0?"-":t>9999?"+":"";return n+("00000"+Math.abs(t)).slice(n?-6:-4)+"-"+l(e.getUTCMonth()+1)+"-"+l(e.getUTCDate())+"T"+l(e.getUTCHours())+":"+l(e.getUTCMinutes())+":"+l(e.getUTCSeconds())+"."+(o>99?o:"0"+l(o))+"Z"}:s},"./node_modules/babel-polyfill/node_modules/core-js/modules/_date-to-primitive.js":function(e,t,o){"use strict";var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_an-object.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_to-primitive.js");e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return r(n(this),"number"!=e)}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_defined.js":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_descriptors.js":function(e,t,o){e.exports=!o("./node_modules/babel-polyfill/node_modules/core-js/modules/_fails.js")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"./node_modules/babel-polyfill/node_modules/core-js/modules/_dom-create.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_is-object.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_global.js").document,s=n(r)&&n(r.createElement);e.exports=function(e){return s?r.createElement(e):{}}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_enum-bug-keys.js":function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"./node_modules/babel-polyfill/node_modules/core-js/modules/_enum-keys.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_object-keys.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_object-gops.js"),s=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_object-pie.js");e.exports=function(e){var t=n(e),o=r.f;if(o)for(var l,a=o(e),i=s.f,u=0;a.length>u;)i.call(e,l=a[u++])&&t.push(l);return t}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_export.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_global.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_core.js"),s=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_hide.js"),l=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_redefine.js"),a=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_ctx.js"),i=function(e,t,o){var u,d,c,f,p=e&i.F,m=e&i.G,h=e&i.S,b=e&i.P,_=e&i.B,y=m?n:h?n[t]||(n[t]={}):(n[t]||{}).prototype,v=m?r:r[t]||(r[t]={}),j=v.prototype||(v.prototype={});m&&(o=t);for(u in o)d=!p&&y&&void 0!==y[u],c=(d?y:o)[u],f=_&&d?a(c,n):b&&"function"==typeof c?a(Function.call,c):c,y&&l(y,u,c,e&i.U),v[u]!=c&&s(v,u,f),b&&j[u]!=c&&(j[u]=c)};n.core=r,i.F=1,i.G=2,i.S=4,i.P=8,i.B=16,i.W=32,i.U=64,i.R=128,e.exports=i},"./node_modules/babel-polyfill/node_modules/core-js/modules/_fails-is-regexp.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_wks.js")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(o){try{return t[n]=!1,!"/./"[e](t)}catch(e){}}return!0}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_fails.js":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_fix-re-wks.js":function(e,t,o){"use strict";var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_hide.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_redefine.js"),s=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_fails.js"),l=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_defined.js"),a=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_wks.js");e.exports=function(e,t,o){var i=a(e),u=o(l,i,""[e]),d=u[0],c=u[1];s(function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})&&(r(String.prototype,e,d),n(RegExp.prototype,i,2==t?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)}))}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_flags.js":function(e,t,o){"use strict";var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_an-object.js");e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_flatten-into-array.js":function(e,t,o){"use strict";function n(e,t,o,u,d,c,f,p){for(var m,h,b=d,_=0,y=!!f&&a(f,p,3);_0)b=n(e,t,m,l(m.length),b,c-1)-1;else{if(b>=9007199254740991)throw TypeError();e[b]=m}b++}_++}return b}var r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_is-array.js"),s=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_is-object.js"),l=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_to-length.js"),a=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_ctx.js"),i=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_wks.js")("isConcatSpreadable");e.exports=n},"./node_modules/babel-polyfill/node_modules/core-js/modules/_for-of.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_ctx.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_iter-call.js"),s=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_is-array-iter.js"),l=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_an-object.js"),a=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_to-length.js"),i=o("./node_modules/babel-polyfill/node_modules/core-js/modules/core.get-iterator-method.js"),u={},d={},t=e.exports=function(e,t,o,c,f){var p,m,h,b,_=f?function(){return e}:i(e),y=n(o,c,t?2:1),v=0;if("function"!=typeof _)throw TypeError(e+" is not iterable!");if(s(_)){for(p=a(e.length);p>v;v++)if((b=t?y(l(m=e[v])[0],m[1]):y(e[v]))===u||b===d)return b}else for(h=_.call(e);!(m=h.next()).done;)if((b=r(h,y,m.value,t))===u||b===d)return b};t.BREAK=u,t.RETURN=d},"./node_modules/babel-polyfill/node_modules/core-js/modules/_global.js":function(e,t){var o=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=o)},"./node_modules/babel-polyfill/node_modules/core-js/modules/_has.js":function(e,t){var o={}.hasOwnProperty;e.exports=function(e,t){return o.call(e,t)}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_hide.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_object-dp.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_property-desc.js");e.exports=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_descriptors.js")?function(e,t,o){return n.f(e,t,r(1,o))}:function(e,t,o){return e[t]=o,e}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_html.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_global.js").document;e.exports=n&&n.documentElement},"./node_modules/babel-polyfill/node_modules/core-js/modules/_ie8-dom-define.js":function(e,t,o){e.exports=!o("./node_modules/babel-polyfill/node_modules/core-js/modules/_descriptors.js")&&!o("./node_modules/babel-polyfill/node_modules/core-js/modules/_fails.js")(function(){return 7!=Object.defineProperty(o("./node_modules/babel-polyfill/node_modules/core-js/modules/_dom-create.js")("div"),"a",{get:function(){return 7}}).a})},"./node_modules/babel-polyfill/node_modules/core-js/modules/_inherit-if-required.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_is-object.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_set-proto.js").set;e.exports=function(e,t,o){var s,l=t.constructor;return l!==o&&"function"==typeof l&&(s=l.prototype)!==o.prototype&&n(s)&&r&&r(e,s),e}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_invoke.js":function(e,t){e.exports=function(e,t,o){var n=void 0===o;switch(t.length){case 0:return n?e():e.call(o);case 1:return n?e(t[0]):e.call(o,t[0]);case 2:return n?e(t[0],t[1]):e.call(o,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(o,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(o,t[0],t[1],t[2],t[3])}return e.apply(o,t)}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_iobject.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_cof.js");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_is-array-iter.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_iterators.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_wks.js")("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||s[r]===e)}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_is-array.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_cof.js");e.exports=Array.isArray||function(e){return"Array"==n(e)}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_is-integer.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_is-object.js"),r=Math.floor;e.exports=function(e){return!n(e)&&isFinite(e)&&r(e)===e}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_is-object.js":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_is-regexp.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_is-object.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_cof.js"),s=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_wks.js")("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[s])?!!t:"RegExp"==r(e))}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_iter-call.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_an-object.js");e.exports=function(e,t,o,r){try{return r?t(n(o)[0],o[1]):t(o)}catch(t){var s=e.return;throw void 0!==s&&n(s.call(e)),t}}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_iter-create.js":function(e,t,o){"use strict";var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_object-create.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_property-desc.js"),s=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_set-to-string-tag.js"),l={};o("./node_modules/babel-polyfill/node_modules/core-js/modules/_hide.js")(l,o("./node_modules/babel-polyfill/node_modules/core-js/modules/_wks.js")("iterator"),function(){return this}),e.exports=function(e,t,o){e.prototype=n(l,{next:r(1,o)}),s(e,t+" Iterator")}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_iter-define.js":function(e,t,o){"use strict";var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_library.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_export.js"),s=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_redefine.js"),l=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_hide.js"),a=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_has.js"),i=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_iterators.js"),u=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_iter-create.js"),d=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_set-to-string-tag.js"),c=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_object-gpo.js"),f=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_wks.js")("iterator"),p=!([].keys&&"next"in[].keys()),m=function(){return this};e.exports=function(e,t,o,h,b,_,y){u(o,t,h);var v,j,g,w=function(e){if(!p&&e in k)return k[e];switch(e){case"keys":case"values":return function(){return new o(this,e)}}return function(){return new o(this,e)}},x=t+" Iterator",E="values"==b,O=!1,k=e.prototype,P=k[f]||k["@@iterator"]||b&&k[b],S=!p&&P||w(b),T=b?E?w("entries"):S:void 0,C="Array"==t?k.entries||P:P;if(C&&(g=c(C.call(new e)))!==Object.prototype&&g.next&&(d(g,x,!0),n||a(g,f)||l(g,f,m)),E&&P&&"values"!==P.name&&(O=!0,S=function(){return P.call(this)}),n&&!y||!p&&!O&&k[f]||l(k,f,S),i[t]=S,i[x]=m,b)if(v={values:E?S:w("values"),keys:_?S:w("keys"),entries:T},y)for(j in v)j in k||s(k,j,v[j]);else r(r.P+r.F*(p||O),t,v);return v}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_iter-detect.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_wks.js")("iterator"),r=!1;try{var s=[7][n]();s.return=function(){r=!0},Array.from(s,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var o=!1;try{var s=[7],l=s[n]();l.next=function(){return{done:o=!0}},s[n]=function(){return l},e(s)}catch(e){}return o}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_iter-step.js":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_iterators.js":function(e,t){e.exports={}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_library.js":function(e,t){e.exports=!1},"./node_modules/babel-polyfill/node_modules/core-js/modules/_math-expm1.js":function(e,t){var o=Math.expm1;e.exports=!o||o(10)>22025.465794806718||o(10)<22025.465794806718||-2e-17!=o(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:o},"./node_modules/babel-polyfill/node_modules/core-js/modules/_math-fround.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_math-sign.js"),r=Math.pow,s=r(2,-52),l=r(2,-23),a=r(2,127)*(2-l),i=r(2,-126),u=function(e){return e+1/s-1/s};e.exports=Math.fround||function(e){var t,o,r=Math.abs(e),d=n(e);return ra||o!=o?d*(1/0):d*o)}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_math-log1p.js":function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_math-scale.js":function(e,t){e.exports=Math.scale||function(e,t,o,n,r){return 0===arguments.length||e!=e||t!=t||o!=o||n!=n||r!=r?NaN:e===1/0||e===-1/0?e:(e-t)*(r-n)/(o-t)+n}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_math-sign.js":function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_meta.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_uid.js")("meta"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_is-object.js"),s=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_has.js"),l=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_object-dp.js").f,a=0,i=Object.isExtensible||function(){return!0},u=!o("./node_modules/babel-polyfill/node_modules/core-js/modules/_fails.js")(function(){return i(Object.preventExtensions({}))}),d=function(e){l(e,n,{value:{i:"O"+ ++a,w:{}}})},c=function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,n)){if(!i(e))return"F";if(!t)return"E";d(e)}return e[n].i},f=function(e,t){if(!s(e,n)){if(!i(e))return!0;if(!t)return!1;d(e)}return e[n].w},p=function(e){return u&&m.NEED&&i(e)&&!s(e,n)&&d(e),e},m=e.exports={KEY:n,NEED:!1,fastKey:c,getWeak:f,onFreeze:p}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_metadata.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/es6.map.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_export.js"),s=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_shared.js")("metadata"),l=s.store||(s.store=new(o("./node_modules/babel-polyfill/node_modules/core-js/modules/es6.weak-map.js"))),a=function(e,t,o){var r=l.get(e);if(!r){if(!o)return;l.set(e,r=new n)}var s=r.get(t);if(!s){if(!o)return;r.set(t,s=new n)}return s},i=function(e,t,o){var n=a(t,o,!1);return void 0!==n&&n.has(e)},u=function(e,t,o){var n=a(t,o,!1);return void 0===n?void 0:n.get(e)},d=function(e,t,o,n){a(o,n,!0).set(e,t)},c=function(e,t){var o=a(e,t,!1),n=[];return o&&o.forEach(function(e,t){n.push(t)}),n},f=function(e){return void 0===e||"symbol"==typeof e?e:String(e)},p=function(e){r(r.S,"Reflect",e)};e.exports={store:l,map:a,has:i,get:u,set:d,keys:c,key:f,exp:p}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_microtask.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_global.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_task.js").set,s=n.MutationObserver||n.WebKitMutationObserver,l=n.process,a=n.Promise,i="process"==o("./node_modules/babel-polyfill/node_modules/core-js/modules/_cof.js")(l);e.exports=function(){var e,t,o,u=function(){var n,r;for(i&&(n=l.domain)&&n.exit();e;){r=e.fn,e=e.next;try{r()}catch(n){throw e?o():t=void 0,n}}t=void 0,n&&n.enter()};if(i)o=function(){l.nextTick(u)};else if(!s||n.navigator&&n.navigator.standalone)if(a&&a.resolve){var d=a.resolve();o=function(){d.then(u)}}else o=function(){r.call(n,u)};else{var c=!0,f=document.createTextNode("");new s(u).observe(f,{characterData:!0}),o=function(){f.data=c=!c}}return function(n){var r={fn:n,next:void 0};t&&(t.next=r),e||(e=r,o()),t=r}}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_new-promise-capability.js":function(e,t,o){"use strict";function n(e){var t,o;this.promise=new e(function(e,n){if(void 0!==t||void 0!==o)throw TypeError("Bad Promise constructor");t=e,o=n}),this.resolve=r(t),this.reject=r(o)}var r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_a-function.js");e.exports.f=function(e){return new n(e)}},"./node_modules/babel-polyfill/node_modules/core-js/modules/_object-assign.js":function(e,t,o){"use strict";var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_object-keys.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_object-gops.js"),s=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_object-pie.js"),l=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_to-object.js"),a=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_iobject.js"),i=Object.assign;e.exports=!i||o("./node_modules/babel-polyfill/node_modules/core-js/modules/_fails.js")(function(){var e={},t={},o=Symbol(),n="abcdefghijklmnopqrst";return e[o]=7,n.split("").forEach(function(e){t[e]=e}),7!=i({},e)[o]||Object.keys(i({},t)).join("")!=n})?function(e,t){for(var o=l(e),i=arguments.length,u=1,d=r.f,c=s.f;i>u;)for(var f,p=a(arguments[u++]),m=d?n(p).concat(d(p)):n(p),h=m.length,b=0;h>b;)c.call(p,f=m[b++])&&(o[f]=p[f]);return o}:i},"./node_modules/babel-polyfill/node_modules/core-js/modules/_object-create.js":function(e,t,o){var n=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_an-object.js"),r=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_object-dps.js"),s=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_enum-bug-keys.js"),l=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_shared-key.js")("IE_PROTO"),a=function(){},i=function(){var e,t=o("./node_modules/babel-polyfill/node_modules/core-js/modules/_dom-create.js")("iframe"),n=s.length;for(t.style.display="none",o("./node_modules/babel-polyfill/node_modules/core-js/modules/_html.js").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("