From abf1a6e8acbd8eb05e22f82677f689a8b1097066 Mon Sep 17 00:00:00 2001 From: Sagi Dayan Date: Thu, 14 May 2020 18:49:09 -0400 Subject: [PATCH] Consistent default bg of profiles --- public/images/cloudgroup.png | Bin 0 -> 30360 bytes .../scripts/applications/admin/app.bundle.js | 2 +- .../scripts/applications/home/app.bundle.js | 16 +++++++-------- .../scripts/components/navbar/app.bundle.js | 2 +- public/scripts/views/register/app.bundle.js | 2 +- .../home/components/ProfileHeader.vue | 19 +++++++++++++----- 6 files changed, 25 insertions(+), 16 deletions(-) create mode 100644 public/images/cloudgroup.png diff --git a/public/images/cloudgroup.png b/public/images/cloudgroup.png new file mode 100644 index 0000000000000000000000000000000000000000..ba6d54a00624430eabbeedd529565a2de2bbf8e2 GIT binary patch literal 30360 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 literal 0 HcmV?d00001 diff --git a/public/scripts/applications/admin/app.bundle.js b/public/scripts/applications/admin/app.bundle.js index 2e3fcbf..0e1f72b 100644 --- a/public/scripts/applications/admin/app.bundle.js +++ b/public/scripts/applications/admin/app.bundle.js @@ -1,4 +1,4 @@ -!function(e){var t=window.webpackHotUpdate;window.webpackHotUpdate=function(e,n){!function(e,t){if(!w[e]||!b[e])return;for(var n in b[e]=!1,t)Object.prototype.hasOwnProperty.call(t,n)&&(v[n]=t[n]);0==--y&&0===g&&k()}(e,n),t&&t(e,n)};var n,r=!0,i="b0d6b8a28b7f7035a674",o={},a=[],s=[];function c(e){var t=j[e];if(!t)return T;var r=function(r){return t.hot.active?(j[r]?-1===j[r].parents.indexOf(e)&&j[r].parents.push(e):(a=[e],n=r),-1===t.children.indexOf(r)&&t.children.push(r)):(console.warn("[HMR] unexpected require("+r+") from disposed module "+e),a=[]),T(r)},i=function(e){return{configurable:!0,enumerable:!0,get:function(){return T[e]},set:function(t){T[e]=t}}};for(var o in T)Object.prototype.hasOwnProperty.call(T,o)&&"e"!==o&&"t"!==o&&Object.defineProperty(r,o,i(o));return r.e=function(e){return"ready"===p&&f("prepare"),g++,T.e(e).then(t,(function(e){throw t(),e}));function t(){g--,"prepare"===p&&(_[e]||$(e),0===g&&0===y&&k())}},r.t=function(e,t){return 1&t&&(e=r(e)),T.t(e,-2&t)},r}function u(t){var r={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:n!==t,active:!0,accept:function(e,t){if(void 0===e)r._selfAccepted=!0;else if("function"==typeof e)r._selfAccepted=e;else if("object"==typeof e)for(var n=0;n=0&&r._disposeHandlers.splice(t,1)},invalidate:function(){switch(this._selfInvalidated=!0,p){case"idle":(v={})[t]=e[t],f("ready");break;case"ready":S(t);break;case"prepare":case"check":case"dispose":case"apply":(m=m||[]).push(t)}},check:C,apply:O,status:function(e){if(!e)return p;l.push(e)},addStatusHandler:function(e){l.push(e)},removeStatusHandler:function(e){var t=l.indexOf(e);t>=0&&l.splice(t,1)},data:o[t]};return n=void 0,r}var l=[],p="idle";function f(e){p=e;for(var t=0;t0;){var i=r.pop(),o=i.id,a=i.chain;if((l=j[o])&&(!l.hot._selfAccepted||l.hot._selfInvalidated)){if(l.hot._selfDeclined)return{type:"self-declined",chain:a,moduleId:o};if(l.hot._main)return{type:"unaccepted",chain:a,moduleId:o};for(var s=0;s ")),k.type){case"self-declined":r.onDeclined&&r.onDeclined(k),r.ignoreDeclined||(O=new Error("Aborted because of self decline: "+k.moduleId+R));break;case"declined":r.onDeclined&&r.onDeclined(k),r.ignoreDeclined||(O=new Error("Aborted because of declined dependency: "+k.moduleId+" in "+k.parentId+R));break;case"unaccepted":r.onUnaccepted&&r.onUnaccepted(k),r.ignoreUnaccepted||(O=new Error("Aborted because "+p+" is not accepted"+R));break;case"accepted":r.onAccepted&&r.onAccepted(k),S=!0;break;case"disposed":r.onDisposed&&r.onDisposed(k),E=!0;break;default:throw new Error("Unexception type "+k.type)}if(O)return f("abort"),Promise.reject(O);if(S)for(p in b[p]=v[p],y(_,k.outdatedModules),k.outdatedDependencies)Object.prototype.hasOwnProperty.call(k.outdatedDependencies,p)&&(g[p]||(g[p]=[]),y(g[p],k.outdatedDependencies[p]));E&&(y(_,[k.moduleId]),b[p]=C)}var M,L=[];for(c=0;c<_.length;c++)p=_[c],j[p]&&j[p].hot._selfAccepted&&b[p]!==C&&!j[p].hot._selfInvalidated&&L.push({module:p,parents:j[p].parents.slice(),errorHandler:j[p].hot._selfAccepted});f("dispose"),Object.keys(w).forEach((function(e){!1===w[e]&&function(e){delete installedChunks[e]}(e)}));var N,P,I=_.slice();for(;I.length>0;)if(p=I.pop(),l=j[p]){var F={},D=l.hot._disposeHandlers;for(u=0;u=0&&H.parents.splice(M,1))}}for(p in g)if(Object.prototype.hasOwnProperty.call(g,p)&&(l=j[p]))for(P=g[p],u=0;u=0&&l.children.splice(M,1);f("apply"),void 0!==h&&(i=h,h=void 0);for(p in v=void 0,b)Object.prototype.hasOwnProperty.call(b,p)&&(e[p]=b[p]);var U=null;for(p in g)if(Object.prototype.hasOwnProperty.call(g,p)&&(l=j[p])){P=g[p];var B=[];for(c=0;c1)for(var n=1;n=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(s&&c){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;w(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},"./node_modules/setimmediate/setImmediate.js":function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,i,o,a,s,c=1,u={},l=!1,p=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){v(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){v(e.data)},r=function(e){o.port2.postMessage(e)}):p&&"onreadystatechange"in p.createElement("script")?(i=p.documentElement,r=function(e){var t=p.createElement("script");t.onreadystatechange=function(){v(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):r=function(e){setTimeout(v,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&v(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(t){e.postMessage(a+t,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n("./node_modules/setimmediate/setImmediate.js"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/vue-hot-reload-api/dist/index.js":function(e,t){var n,r,i=Object.create(null);"undefined"!=typeof window&&(window.__VUE_HOT_MAP__=i);var o=!1,a="beforeCreate";function s(e,t){if(t.functional){var n=t.render;t.render=function(t,r){var o=i[e].instances;return r&&o.indexOf(r.parent)<0&&o.push(r.parent),n(t,r)}}else c(t,a,(function(){var t=i[e];t.Ctor||(t.Ctor=this.constructor),t.instances.push(this)})),c(t,"beforeDestroy",(function(){var t=i[e].instances;t.splice(t.indexOf(this),1)}))}function c(e,t,n){var r=e[t];e[t]=r?Array.isArray(r)?r.concat(n):[r,n]:[n]}function u(e){return function(t,n){try{e(t,n)}catch(e){console.error(e),console.warn("Something went wrong during Vue component hot-reload. Full reload required.")}}}function l(e,t){for(var n in e)n in t||delete e[n];for(var r in t)e[r]=t[r]}t.install=function(e,i){o||(o=!0,n=e.__esModule?e.default:e,r=n.version.split(".").map(Number),i,n.config._lifecycleHooks.indexOf("init")>-1&&(a="init"),t.compatible=r[0]>=2,t.compatible||console.warn("[HMR] You are using a version of vue-hot-reload-api that is only compatible with Vue.js core ^2.0.0."))},t.createRecord=function(e,t){if(!i[e]){var n=null;"function"==typeof t&&(t=(n=t).options),s(e,t),i[e]={Ctor:n,options:t,instances:[]}}},t.isRecorded=function(e){return void 0!==i[e]},t.rerender=u((function(e,t){var n=i[e];if(t){if("function"==typeof t&&(t=t.options),n.Ctor)n.Ctor.options.render=t.render,n.Ctor.options.staticRenderFns=t.staticRenderFns,n.instances.slice().forEach((function(e){e.$options.render=t.render,e.$options.staticRenderFns=t.staticRenderFns,e._staticTrees&&(e._staticTrees=[]),Array.isArray(n.Ctor.options.cached)&&(n.Ctor.options.cached=[]),Array.isArray(e.$options.cached)&&(e.$options.cached=[]);var r=function(e){if(!e._u)return;var t=e._u;return e._u=function(e){try{return t(e,!0)}catch(n){return t(e,null,!0)}},function(){e._u=t}}(e);e.$forceUpdate(),e.$nextTick(r)}));else if(n.options.render=t.render,n.options.staticRenderFns=t.staticRenderFns,n.options.functional){if(Object.keys(t).length>2)l(n.options,t);else{var r=n.options._injectStyles;if(r){var o=t.render;n.options.render=function(e,t){return r.call(t),o(e,t)}}}n.options._Ctor=null,Array.isArray(n.options.cached)&&(n.options.cached=[]),n.instances.slice().forEach((function(e){e.$forceUpdate()}))}}else n.instances.slice().forEach((function(e){e.$forceUpdate()}))})),t.reload=u((function(e,t){var n=i[e];if(t)if("function"==typeof t&&(t=t.options),s(e,t),n.Ctor){r[1]<2&&(n.Ctor.extendOptions=t);var o=n.Ctor.super.extend(t);o.options._Ctor=n.options._Ctor,n.Ctor.options=o.options,n.Ctor.cid=o.cid,n.Ctor.prototype=o.prototype,o.release&&o.release()}else l(n.options,t);n.instances.slice().forEach((function(e){e.$vnode&&e.$vnode.context?e.$vnode.context.$forceUpdate():console.warn("Root or manually mounted instance modified. Full reload required.")}))}))},"./node_modules/vue-loader/lib/runtime/componentNormalizer.js":function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var c,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},"./node_modules/vue-router/dist/vue-router.esm.js":function(e,t,n){"use strict"; +!function(e){var t=window.webpackHotUpdate;window.webpackHotUpdate=function(e,n){!function(e,t){if(!w[e]||!b[e])return;for(var n in b[e]=!1,t)Object.prototype.hasOwnProperty.call(t,n)&&(v[n]=t[n]);0==--y&&0===g&&k()}(e,n),t&&t(e,n)};var n,r=!0,i="ccde1d191124182f52be",o={},a=[],s=[];function c(e){var t=j[e];if(!t)return T;var r=function(r){return t.hot.active?(j[r]?-1===j[r].parents.indexOf(e)&&j[r].parents.push(e):(a=[e],n=r),-1===t.children.indexOf(r)&&t.children.push(r)):(console.warn("[HMR] unexpected require("+r+") from disposed module "+e),a=[]),T(r)},i=function(e){return{configurable:!0,enumerable:!0,get:function(){return T[e]},set:function(t){T[e]=t}}};for(var o in T)Object.prototype.hasOwnProperty.call(T,o)&&"e"!==o&&"t"!==o&&Object.defineProperty(r,o,i(o));return r.e=function(e){return"ready"===p&&f("prepare"),g++,T.e(e).then(t,(function(e){throw t(),e}));function t(){g--,"prepare"===p&&(_[e]||$(e),0===g&&0===y&&k())}},r.t=function(e,t){return 1&t&&(e=r(e)),T.t(e,-2&t)},r}function u(t){var r={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:n!==t,active:!0,accept:function(e,t){if(void 0===e)r._selfAccepted=!0;else if("function"==typeof e)r._selfAccepted=e;else if("object"==typeof e)for(var n=0;n=0&&r._disposeHandlers.splice(t,1)},invalidate:function(){switch(this._selfInvalidated=!0,p){case"idle":(v={})[t]=e[t],f("ready");break;case"ready":S(t);break;case"prepare":case"check":case"dispose":case"apply":(m=m||[]).push(t)}},check:C,apply:O,status:function(e){if(!e)return p;l.push(e)},addStatusHandler:function(e){l.push(e)},removeStatusHandler:function(e){var t=l.indexOf(e);t>=0&&l.splice(t,1)},data:o[t]};return n=void 0,r}var l=[],p="idle";function f(e){p=e;for(var t=0;t0;){var i=r.pop(),o=i.id,a=i.chain;if((l=j[o])&&(!l.hot._selfAccepted||l.hot._selfInvalidated)){if(l.hot._selfDeclined)return{type:"self-declined",chain:a,moduleId:o};if(l.hot._main)return{type:"unaccepted",chain:a,moduleId:o};for(var s=0;s ")),k.type){case"self-declined":r.onDeclined&&r.onDeclined(k),r.ignoreDeclined||(O=new Error("Aborted because of self decline: "+k.moduleId+R));break;case"declined":r.onDeclined&&r.onDeclined(k),r.ignoreDeclined||(O=new Error("Aborted because of declined dependency: "+k.moduleId+" in "+k.parentId+R));break;case"unaccepted":r.onUnaccepted&&r.onUnaccepted(k),r.ignoreUnaccepted||(O=new Error("Aborted because "+p+" is not accepted"+R));break;case"accepted":r.onAccepted&&r.onAccepted(k),S=!0;break;case"disposed":r.onDisposed&&r.onDisposed(k),E=!0;break;default:throw new Error("Unexception type "+k.type)}if(O)return f("abort"),Promise.reject(O);if(S)for(p in b[p]=v[p],y(_,k.outdatedModules),k.outdatedDependencies)Object.prototype.hasOwnProperty.call(k.outdatedDependencies,p)&&(g[p]||(g[p]=[]),y(g[p],k.outdatedDependencies[p]));E&&(y(_,[k.moduleId]),b[p]=C)}var M,L=[];for(c=0;c<_.length;c++)p=_[c],j[p]&&j[p].hot._selfAccepted&&b[p]!==C&&!j[p].hot._selfInvalidated&&L.push({module:p,parents:j[p].parents.slice(),errorHandler:j[p].hot._selfAccepted});f("dispose"),Object.keys(w).forEach((function(e){!1===w[e]&&function(e){delete installedChunks[e]}(e)}));var N,P,I=_.slice();for(;I.length>0;)if(p=I.pop(),l=j[p]){var F={},D=l.hot._disposeHandlers;for(u=0;u=0&&H.parents.splice(M,1))}}for(p in g)if(Object.prototype.hasOwnProperty.call(g,p)&&(l=j[p]))for(P=g[p],u=0;u=0&&l.children.splice(M,1);f("apply"),void 0!==h&&(i=h,h=void 0);for(p in v=void 0,b)Object.prototype.hasOwnProperty.call(b,p)&&(e[p]=b[p]);var U=null;for(p in g)if(Object.prototype.hasOwnProperty.call(g,p)&&(l=j[p])){P=g[p];var B=[];for(c=0;c1)for(var n=1;n=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(s&&c){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;w(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},"./node_modules/setimmediate/setImmediate.js":function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,i,o,a,s,c=1,u={},l=!1,p=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){v(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){v(e.data)},r=function(e){o.port2.postMessage(e)}):p&&"onreadystatechange"in p.createElement("script")?(i=p.documentElement,r=function(e){var t=p.createElement("script");t.onreadystatechange=function(){v(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):r=function(e){setTimeout(v,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&v(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(t){e.postMessage(a+t,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n("./node_modules/setimmediate/setImmediate.js"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/vue-hot-reload-api/dist/index.js":function(e,t){var n,r,i=Object.create(null);"undefined"!=typeof window&&(window.__VUE_HOT_MAP__=i);var o=!1,a="beforeCreate";function s(e,t){if(t.functional){var n=t.render;t.render=function(t,r){var o=i[e].instances;return r&&o.indexOf(r.parent)<0&&o.push(r.parent),n(t,r)}}else c(t,a,(function(){var t=i[e];t.Ctor||(t.Ctor=this.constructor),t.instances.push(this)})),c(t,"beforeDestroy",(function(){var t=i[e].instances;t.splice(t.indexOf(this),1)}))}function c(e,t,n){var r=e[t];e[t]=r?Array.isArray(r)?r.concat(n):[r,n]:[n]}function u(e){return function(t,n){try{e(t,n)}catch(e){console.error(e),console.warn("Something went wrong during Vue component hot-reload. Full reload required.")}}}function l(e,t){for(var n in e)n in t||delete e[n];for(var r in t)e[r]=t[r]}t.install=function(e,i){o||(o=!0,n=e.__esModule?e.default:e,r=n.version.split(".").map(Number),i,n.config._lifecycleHooks.indexOf("init")>-1&&(a="init"),t.compatible=r[0]>=2,t.compatible||console.warn("[HMR] You are using a version of vue-hot-reload-api that is only compatible with Vue.js core ^2.0.0."))},t.createRecord=function(e,t){if(!i[e]){var n=null;"function"==typeof t&&(t=(n=t).options),s(e,t),i[e]={Ctor:n,options:t,instances:[]}}},t.isRecorded=function(e){return void 0!==i[e]},t.rerender=u((function(e,t){var n=i[e];if(t){if("function"==typeof t&&(t=t.options),n.Ctor)n.Ctor.options.render=t.render,n.Ctor.options.staticRenderFns=t.staticRenderFns,n.instances.slice().forEach((function(e){e.$options.render=t.render,e.$options.staticRenderFns=t.staticRenderFns,e._staticTrees&&(e._staticTrees=[]),Array.isArray(n.Ctor.options.cached)&&(n.Ctor.options.cached=[]),Array.isArray(e.$options.cached)&&(e.$options.cached=[]);var r=function(e){if(!e._u)return;var t=e._u;return e._u=function(e){try{return t(e,!0)}catch(n){return t(e,null,!0)}},function(){e._u=t}}(e);e.$forceUpdate(),e.$nextTick(r)}));else if(n.options.render=t.render,n.options.staticRenderFns=t.staticRenderFns,n.options.functional){if(Object.keys(t).length>2)l(n.options,t);else{var r=n.options._injectStyles;if(r){var o=t.render;n.options.render=function(e,t){return r.call(t),o(e,t)}}}n.options._Ctor=null,Array.isArray(n.options.cached)&&(n.options.cached=[]),n.instances.slice().forEach((function(e){e.$forceUpdate()}))}}else n.instances.slice().forEach((function(e){e.$forceUpdate()}))})),t.reload=u((function(e,t){var n=i[e];if(t)if("function"==typeof t&&(t=t.options),s(e,t),n.Ctor){r[1]<2&&(n.Ctor.extendOptions=t);var o=n.Ctor.super.extend(t);o.options._Ctor=n.options._Ctor,n.Ctor.options=o.options,n.Ctor.cid=o.cid,n.Ctor.prototype=o.prototype,o.release&&o.release()}else l(n.options,t);n.instances.slice().forEach((function(e){e.$vnode&&e.$vnode.context?e.$vnode.context.$forceUpdate():console.warn("Root or manually mounted instance modified. Full reload required.")}))}))},"./node_modules/vue-loader/lib/runtime/componentNormalizer.js":function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var c,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},"./node_modules/vue-router/dist/vue-router.esm.js":function(e,t,n){"use strict"; /*! * vue-router v3.1.6 * (c) 2020 Evan You diff --git a/public/scripts/applications/home/app.bundle.js b/public/scripts/applications/home/app.bundle.js index dc569bc..be95da5 100644 --- a/public/scripts/applications/home/app.bundle.js +++ b/public/scripts/applications/home/app.bundle.js @@ -1,4 +1,4 @@ -!function(e){var t=window.webpackHotUpdate;window.webpackHotUpdate=function(e,n){!function(e,t){if(!L[e]||!g[e])return;for(var n in g[e]=!1,t)Object.prototype.hasOwnProperty.call(t,n)&&(h[n]=t[n]);0==--v&&0===y&&w()}(e,n),t&&t(e,n)};var n,r=!0,s="b0d6b8a28b7f7035a674",a={},o=[],i=[];function d(e){var t=S[e];if(!t)return x;var r=function(r){return t.hot.active?(S[r]?-1===S[r].parents.indexOf(e)&&S[r].parents.push(e):(o=[e],n=r),-1===t.children.indexOf(r)&&t.children.push(r)):(console.warn("[HMR] unexpected require("+r+") from disposed module "+e),o=[]),x(r)},s=function(e){return{configurable:!0,enumerable:!0,get:function(){return x[e]},set:function(t){x[e]=t}}};for(var a in x)Object.prototype.hasOwnProperty.call(x,a)&&"e"!==a&&"t"!==a&&Object.defineProperty(r,a,s(a));return r.e=function(e){return"ready"===c&&m("prepare"),y++,x.e(e).then(t,(function(e){throw t(),e}));function t(){y--,"prepare"===c&&(M[e]||k(e),0===y&&0===v&&w())}},r.t=function(e,t){return 1&t&&(e=r(e)),x.t(e,-2&t)},r}function l(t){var r={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:n!==t,active:!0,accept:function(e,t){if(void 0===e)r._selfAccepted=!0;else if("function"==typeof e)r._selfAccepted=e;else if("object"==typeof e)for(var n=0;n=0&&r._disposeHandlers.splice(t,1)},invalidate:function(){switch(this._selfInvalidated=!0,c){case"idle":(h={})[t]=e[t],m("ready");break;case"ready":j(t);break;case"prepare":case"check":case"dispose":case"apply":(f=f||[]).push(t)}},check:b,apply:D,status:function(e){if(!e)return c;u.push(e)},addStatusHandler:function(e){u.push(e)},removeStatusHandler:function(e){var t=u.indexOf(e);t>=0&&u.splice(t,1)},data:a[t]};return n=void 0,r}var u=[],c="idle";function m(e){c=e;for(var t=0;t0;){var s=r.pop(),a=s.id,o=s.chain;if((u=S[a])&&(!u.hot._selfAccepted||u.hot._selfInvalidated)){if(u.hot._selfDeclined)return{type:"self-declined",chain:o,moduleId:a};if(u.hot._main)return{type:"unaccepted",chain:o,moduleId:a};for(var i=0;i ")),w.type){case"self-declined":r.onDeclined&&r.onDeclined(w),r.ignoreDeclined||(D=new Error("Aborted because of self decline: "+w.moduleId+C));break;case"declined":r.onDeclined&&r.onDeclined(w),r.ignoreDeclined||(D=new Error("Aborted because of declined dependency: "+w.moduleId+" in "+w.parentId+C));break;case"unaccepted":r.onUnaccepted&&r.onUnaccepted(w),r.ignoreUnaccepted||(D=new Error("Aborted because "+c+" is not accepted"+C));break;case"accepted":r.onAccepted&&r.onAccepted(w),j=!0;break;case"disposed":r.onDisposed&&r.onDisposed(w),H=!0;break;default:throw new Error("Unexception type "+w.type)}if(D)return m("abort"),Promise.reject(D);if(j)for(c in g[c]=h[c],v(M,w.outdatedModules),w.outdatedDependencies)Object.prototype.hasOwnProperty.call(w.outdatedDependencies,c)&&(y[c]||(y[c]=[]),v(y[c],w.outdatedDependencies[c]));H&&(v(M,[w.moduleId]),g[c]=b)}var O,P=[];for(d=0;d0;)if(c=R.pop(),u=S[c]){var F={},N=u.hot._disposeHandlers;for(l=0;l=0&&W.parents.splice(O,1))}}for(c in y)if(Object.prototype.hasOwnProperty.call(y,c)&&(u=S[c]))for(E=y[c],l=0;l=0&&u.children.splice(O,1);m("apply"),void 0!==p&&(s=p,p=void 0);for(c in h=void 0,g)Object.prototype.hasOwnProperty.call(g,c)&&(e[c]=g[c]);var $=null;for(c in y)if(Object.prototype.hasOwnProperty.call(y,c)&&(u=S[c])){E=y[c];var I=[];for(d=0;d0)return function(e){if(!((e=String(e)).length>100)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"days":case"day":case"d":return n*w;case"hours":case"hour":case"hrs":case"hr":case"h":return n*k;case"minutes":case"minute":case"mins":case"min":case"m":return n*b;case"seconds":case"second":case"secs":case"sec":case"s":return n*Y;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(t);if("number"===r&&!1===isNaN(t))return n.long?function(e){return T(e,w,"day")||T(e,k,"hour")||T(e,b,"minute")||T(e,Y,"second")||e+" ms"}(t):function(e){return e>=w?Math.round(e/w)+"d":e>=k?Math.round(e/k)+"h":e>=b?Math.round(e/b)+"m":e>=Y?Math.round(e/Y)+"s":e+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function T(e,t,n){if(!(e=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},r.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),r.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],r.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},r.enable(s())}))),x=(S.log,S.formatArgs,S.save,S.load,S.useColors,S.storage,S.colors,g((function(e){var t=S;t.enable("adonis:*"),e.exports=t("adonis:websocket")}))),H=function(){function e(t,n){s(this,e),this.topic=t,this.connection=n,this.emitter=new v,this._state="pending",this._emitBuffer=[]}return a(e,[{key:"joinAck",value:function(){var e=this;this.state="open",this.emitter.emit("ready",this),x("clearing emit buffer for %s topic after subscription ack",this.topic),this._emitBuffer.forEach((function(t){return e.emit(t.event,t.data)})),this._emitBuffer=[]}},{key:"joinError",value:function(e){this.state="error",this.emitter.emit("error",e),this.serverClose()}},{key:"leaveAck",value:function(){this.state="closed",this.serverClose()}},{key:"leaveError",value:function(e){this.emitter.emit("leaveError",e)}},{key:"on",value:function(){var e;(e=this.emitter).on.apply(e,arguments)}},{key:"once",value:function(){var e;(e=this.emitter).once.apply(e,arguments)}},{key:"off",value:function(){var e;(e=this.emitter).off.apply(e,arguments)}},{key:"emit",value:function(e,t){"pending"!==this.state?this.connection.sendEvent(this.topic,e,t):this._emitBuffer.push({event:e,data:t})}},{key:"serverClose",value:function(){var e=this;return this.emitter.emit("close",this).then((function(){e._emitBuffer=[],e.emitter.clearListeners()})).catch((function(){e._emitBuffer=[],e.emitter.clearListeners()}))}},{key:"serverEvent",value:function(e){var t=e.event,n=e.data;this.emitter.emit(t,n)}},{key:"serverError",value:function(){this.state="error"}},{key:"close",value:function(){this.state="closing",x("closing subscription for %s topic with server",this.topic),this.connection.sendPacket(L.leavePacket(this.topic))}},{key:"terminate",value:function(){this.leaveAck()}},{key:"state",get:function(){return this._state},set:function(e){if(-1===!this.constructor.states.indexOf(e))throw new Error(e+" is not a valid socket state");this._state=e}}],[{key:"states",get:function(){return["pending","open","closed","closing","error"]}}]),e}(),C={name:"json",encode:function(e,t){var n=null;try{n=JSON.stringify(e)}catch(e){return t(e)}t(null,n)},decode:function(e,t){var n=null;try{n=JSON.parse(e)}catch(e){return t(e)}t(null,n)}},O="https:"===window.location.protocol?"wss":"ws",P=function(e){function t(e,n){s(this,t);var r=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e=e||O+"://"+window.location.host,r.options=o({path:"adonis-ws",reconnection:!0,reconnectionAttempts:10,reconnectionDelay:1e3,query:null,encoder:C},n),x("connection options %o",r.options),r._connectionState="idle",r._reconnectionAttempts=0,r._packetsQueue=[],r._processingQueue=!1,r._pingTimer=null,r._extendedQuery={},r._url=e.replace(/\/$/,"")+"/"+r.options.path,r.subscriptions={},r.removeSubscription=function(e){var t=e.topic;delete r.subscriptions[t]},r}return i(t,e),a(t,[{key:"_cleanup",value:function(){clearInterval(this._pingTimer),this.ws=null,this._pingTimer=null}},{key:"_subscriptionsIterator",value:function(e){var t=this;Object.keys(this.subscriptions).forEach((function(n){return e(t.subscriptions[n],n)}))}},{key:"_ensureSubscription",value:function(e,t){var n=this.getSubscription(e.d.topic);n?t(n,e):x("cannot consume packet since %s topic has no active subscription %j",e.d.topic,e)}},{key:"_processQueue",value:function(){var e=this;!this._processingQueue&&this._packetsQueue.length&&(this._processingQueue=!0,this.options.encoder.encode(this._packetsQueue.shift(),(function(t,n){t?x("encode error %j",t):(e.write(n),e._processingQueue=!1,e._processQueue())})))}},{key:"_onOpen",value:function(){x("opened")}},{key:"_onError",value:function(e){x("error %O",e),this._subscriptionsIterator((function(e){return e.serverError()})),this.emit("error",e)}},{key:"_reconnect",value:function(){var e=this;this._reconnectionAttempts++,this.emit("reconnect",this._reconnectionAttempts),setTimeout((function(){e._connectionState="reconnect",e.connect()}),this.options.reconnectionDelay*this._reconnectionAttempts)}},{key:"_onClose",value:function(e){var t=this;x("closing from %s state",this._connectionState),this._cleanup(),this._subscriptionsIterator((function(e){return e.terminate()})),this.emit("close",this).then((function(){t.shouldReconnect?t._reconnect():t.clearListeners()})).catch((function(){t.shouldReconnect?t._reconnect():t.clearListeners()}))}},{key:"_onMessage",value:function(e){var t=this;this.options.encoder.decode(e.data,(function(e,n){e?x("packet dropped, decode error %o",e):t._handleMessage(n)}))}},{key:"_handleMessage",value:function(e){return L.isOpenPacket(e)?(x("open packet"),void this._handleOpen(e)):L.isJoinAckPacket(e)?(x("join ack packet"),void this._handleJoinAck(e)):L.isJoinErrorPacket(e)?(x("join error packet"),void this._handleJoinError(e)):L.isLeaveAckPacket(e)?(x("leave ack packet"),void this._handleLeaveAck(e)):L.isLeaveErrorPacket(e)?(x("leave error packet"),void this._handleLeaveError(e)):L.isLeavePacket(e)?(x("leave packet"),void this._handleServerLeave(e)):L.isEventPacket(e)?(x("event packet"),void this._handleEvent(e)):void(L.isPongPacket(e)?x("pong packet"):x("invalid packet type %d",e.t))}},{key:"_handleOpen",value:function(e){var t=this;this._connectionState="open",this.emit("open",e.d),this._pingTimer=setInterval((function(){t.sendPacket(L.pingPacket())}),e.d.clientInterval),x("processing pre connection subscriptions %o",Object.keys(this.subscriptions)),this._subscriptionsIterator((function(e){t._sendSubscriptionPacket(e.topic)}))}},{key:"_handleJoinAck",value:function(e){this._ensureSubscription(e,(function(e){return e.joinAck()}))}},{key:"_handleJoinError",value:function(e){this._ensureSubscription(e,(function(e,t){return e.joinError(t.d)}))}},{key:"_handleLeaveAck",value:function(e){this._ensureSubscription(e,(function(e){return e.leaveAck()}))}},{key:"_handleLeaveError",value:function(e){this._ensureSubscription(e,(function(e,t){return e.leaveError(t.d)}))}},{key:"_handleServerLeave",value:function(e){this._ensureSubscription(e,(function(e,t){return e.leaveAck()}))}},{key:"_handleEvent",value:function(e){this._ensureSubscription(e,(function(e,t){return e.serverEvent(t.d)}))}},{key:"_sendSubscriptionPacket",value:function(e){x("initiating subscription for %s topic with server",e),this.sendPacket(L.joinPacket(e))}},{key:"connect",value:function(){var e=this,t=M(o({},this.options.query,this._extendedQuery)),n=t?this._url+"?"+t:this._url;return x("creating socket connection on %s url",n),this.ws=new window.WebSocket(n),this.ws.onclose=function(t){return e._onClose(t)},this.ws.onerror=function(t){return e._onError(t)},this.ws.onopen=function(t){return e._onOpen(t)},this.ws.onmessage=function(t){return e._onMessage(t)},this}},{key:"write",value:function(e){this.ws.readyState===window.WebSocket.OPEN?this.ws.send(e):x("connection is not in open state, current state %s",this.ws.readyState)}},{key:"sendPacket",value:function(e){this._packetsQueue.push(e),this._processQueue()}},{key:"getSubscription",value:function(e){return this.subscriptions[e]}},{key:"hasSubcription",value:function(e){return!!this.getSubscription(e)}},{key:"subscribe",value:function(e){if(!e||"string"!=typeof e)throw new Error("subscribe method expects topic to be a valid string");if(this.subscriptions[e])throw new Error("Cannot subscribe to same topic twice. Instead use getSubscription");var t=new H(e,this);return t.on("close",this.removeSubscription),this.subscriptions[e]=t,"open"===this._connectionState&&this._sendSubscriptionPacket(e),t}},{key:"sendEvent",value:function(e,t,n){if(!e||!t)throw new Error("topic and event name is required to call sendEvent method");var r=this.getSubscription(e);if(!r)throw new Error("There is no active subscription for "+e+" topic");if("open"!==r.state)throw new Error("Cannot emit since subscription socket is in "+this.state+" state");x("sending event on %s topic",e),this.sendPacket(L.eventPacket(e,t,n))}},{key:"withJwtToken",value:function(e){return this._extendedQuery.token=e,this}},{key:"withBasicAuth",value:function(e,t){return this._extendedQuery.basic=window.btoa(e+":"+t),this}},{key:"withApiToken",value:function(e){return this._extendedQuery.token=e,this}},{key:"close",value:function(){this._connectionState="terminated",this.ws.close()}},{key:"shouldReconnect",get:function(){return"terminated"!==this._connectionState&&this.options.reconnection&&this.options.reconnectionAttempts>this._reconnectionAttempts}}]),t}(v);return function(e,t){return new P(e,t)}},e.exports=r()}).call(this,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/process/browser.js"))},"./node_modules/events/events.js":function(e,t,n){"use strict";var r,s="object"==typeof Reflect?Reflect:null,a=s&&"function"==typeof s.apply?s.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=s&&"function"==typeof s.ownKeys?s.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}e.exports=i,i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var d=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var s,a,o,i;if(l(n),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),o=a[t]),void 0===o)o=a[t]=n,++e._eventsCount;else if("function"==typeof o?o=a[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),(s=u(e))>0&&o.length>s&&!o.warned){o.warned=!0;var d=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");d.name="MaxListenersExceededWarning",d.emitter=e,d.type=t,d.count=o.length,i=d,console&&console.warn&&console.warn(i)}return e}function m(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},s=m.bind(r);return s.listener=n,r.wrapFn=s,s}function h(e,t,n){var r=e._events;if(void 0===r)return[];var s=r[t];return void 0===s?[]:"function"==typeof s?n?[s.listener||s]:[s]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(o=t[0]),o instanceof Error)throw o;var i=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw i.context=o,i}var d=s[e];if(void 0===d)return!1;if("function"==typeof d)a(d,this,t);else{var l=d.length,u=f(d,l);for(n=0;n=0;a--)if(n[a]===t||n[a].listener===t){o=n[a].listener,s=a;break}if(s<0)return this;0===s?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},i.prototype.listeners=function(e){return h(this,e,!0)},i.prototype.rawListeners=function(e){return h(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},i.prototype.listenerCount=p,i.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},"./node_modules/moment/locale sync recursive ^\\.\\/.*$":function(e,t,n){var r={"./af":"./node_modules/moment/locale/af.js","./af.js":"./node_modules/moment/locale/af.js","./ar":"./node_modules/moment/locale/ar.js","./ar-dz":"./node_modules/moment/locale/ar-dz.js","./ar-dz.js":"./node_modules/moment/locale/ar-dz.js","./ar-kw":"./node_modules/moment/locale/ar-kw.js","./ar-kw.js":"./node_modules/moment/locale/ar-kw.js","./ar-ly":"./node_modules/moment/locale/ar-ly.js","./ar-ly.js":"./node_modules/moment/locale/ar-ly.js","./ar-ma":"./node_modules/moment/locale/ar-ma.js","./ar-ma.js":"./node_modules/moment/locale/ar-ma.js","./ar-sa":"./node_modules/moment/locale/ar-sa.js","./ar-sa.js":"./node_modules/moment/locale/ar-sa.js","./ar-tn":"./node_modules/moment/locale/ar-tn.js","./ar-tn.js":"./node_modules/moment/locale/ar-tn.js","./ar.js":"./node_modules/moment/locale/ar.js","./az":"./node_modules/moment/locale/az.js","./az.js":"./node_modules/moment/locale/az.js","./be":"./node_modules/moment/locale/be.js","./be.js":"./node_modules/moment/locale/be.js","./bg":"./node_modules/moment/locale/bg.js","./bg.js":"./node_modules/moment/locale/bg.js","./bm":"./node_modules/moment/locale/bm.js","./bm.js":"./node_modules/moment/locale/bm.js","./bn":"./node_modules/moment/locale/bn.js","./bn.js":"./node_modules/moment/locale/bn.js","./bo":"./node_modules/moment/locale/bo.js","./bo.js":"./node_modules/moment/locale/bo.js","./br":"./node_modules/moment/locale/br.js","./br.js":"./node_modules/moment/locale/br.js","./bs":"./node_modules/moment/locale/bs.js","./bs.js":"./node_modules/moment/locale/bs.js","./ca":"./node_modules/moment/locale/ca.js","./ca.js":"./node_modules/moment/locale/ca.js","./cs":"./node_modules/moment/locale/cs.js","./cs.js":"./node_modules/moment/locale/cs.js","./cv":"./node_modules/moment/locale/cv.js","./cv.js":"./node_modules/moment/locale/cv.js","./cy":"./node_modules/moment/locale/cy.js","./cy.js":"./node_modules/moment/locale/cy.js","./da":"./node_modules/moment/locale/da.js","./da.js":"./node_modules/moment/locale/da.js","./de":"./node_modules/moment/locale/de.js","./de-at":"./node_modules/moment/locale/de-at.js","./de-at.js":"./node_modules/moment/locale/de-at.js","./de-ch":"./node_modules/moment/locale/de-ch.js","./de-ch.js":"./node_modules/moment/locale/de-ch.js","./de.js":"./node_modules/moment/locale/de.js","./dv":"./node_modules/moment/locale/dv.js","./dv.js":"./node_modules/moment/locale/dv.js","./el":"./node_modules/moment/locale/el.js","./el.js":"./node_modules/moment/locale/el.js","./en-au":"./node_modules/moment/locale/en-au.js","./en-au.js":"./node_modules/moment/locale/en-au.js","./en-ca":"./node_modules/moment/locale/en-ca.js","./en-ca.js":"./node_modules/moment/locale/en-ca.js","./en-gb":"./node_modules/moment/locale/en-gb.js","./en-gb.js":"./node_modules/moment/locale/en-gb.js","./en-ie":"./node_modules/moment/locale/en-ie.js","./en-ie.js":"./node_modules/moment/locale/en-ie.js","./en-il":"./node_modules/moment/locale/en-il.js","./en-il.js":"./node_modules/moment/locale/en-il.js","./en-in":"./node_modules/moment/locale/en-in.js","./en-in.js":"./node_modules/moment/locale/en-in.js","./en-nz":"./node_modules/moment/locale/en-nz.js","./en-nz.js":"./node_modules/moment/locale/en-nz.js","./en-sg":"./node_modules/moment/locale/en-sg.js","./en-sg.js":"./node_modules/moment/locale/en-sg.js","./eo":"./node_modules/moment/locale/eo.js","./eo.js":"./node_modules/moment/locale/eo.js","./es":"./node_modules/moment/locale/es.js","./es-do":"./node_modules/moment/locale/es-do.js","./es-do.js":"./node_modules/moment/locale/es-do.js","./es-us":"./node_modules/moment/locale/es-us.js","./es-us.js":"./node_modules/moment/locale/es-us.js","./es.js":"./node_modules/moment/locale/es.js","./et":"./node_modules/moment/locale/et.js","./et.js":"./node_modules/moment/locale/et.js","./eu":"./node_modules/moment/locale/eu.js","./eu.js":"./node_modules/moment/locale/eu.js","./fa":"./node_modules/moment/locale/fa.js","./fa.js":"./node_modules/moment/locale/fa.js","./fi":"./node_modules/moment/locale/fi.js","./fi.js":"./node_modules/moment/locale/fi.js","./fil":"./node_modules/moment/locale/fil.js","./fil.js":"./node_modules/moment/locale/fil.js","./fo":"./node_modules/moment/locale/fo.js","./fo.js":"./node_modules/moment/locale/fo.js","./fr":"./node_modules/moment/locale/fr.js","./fr-ca":"./node_modules/moment/locale/fr-ca.js","./fr-ca.js":"./node_modules/moment/locale/fr-ca.js","./fr-ch":"./node_modules/moment/locale/fr-ch.js","./fr-ch.js":"./node_modules/moment/locale/fr-ch.js","./fr.js":"./node_modules/moment/locale/fr.js","./fy":"./node_modules/moment/locale/fy.js","./fy.js":"./node_modules/moment/locale/fy.js","./ga":"./node_modules/moment/locale/ga.js","./ga.js":"./node_modules/moment/locale/ga.js","./gd":"./node_modules/moment/locale/gd.js","./gd.js":"./node_modules/moment/locale/gd.js","./gl":"./node_modules/moment/locale/gl.js","./gl.js":"./node_modules/moment/locale/gl.js","./gom-deva":"./node_modules/moment/locale/gom-deva.js","./gom-deva.js":"./node_modules/moment/locale/gom-deva.js","./gom-latn":"./node_modules/moment/locale/gom-latn.js","./gom-latn.js":"./node_modules/moment/locale/gom-latn.js","./gu":"./node_modules/moment/locale/gu.js","./gu.js":"./node_modules/moment/locale/gu.js","./he":"./node_modules/moment/locale/he.js","./he.js":"./node_modules/moment/locale/he.js","./hi":"./node_modules/moment/locale/hi.js","./hi.js":"./node_modules/moment/locale/hi.js","./hr":"./node_modules/moment/locale/hr.js","./hr.js":"./node_modules/moment/locale/hr.js","./hu":"./node_modules/moment/locale/hu.js","./hu.js":"./node_modules/moment/locale/hu.js","./hy-am":"./node_modules/moment/locale/hy-am.js","./hy-am.js":"./node_modules/moment/locale/hy-am.js","./id":"./node_modules/moment/locale/id.js","./id.js":"./node_modules/moment/locale/id.js","./is":"./node_modules/moment/locale/is.js","./is.js":"./node_modules/moment/locale/is.js","./it":"./node_modules/moment/locale/it.js","./it-ch":"./node_modules/moment/locale/it-ch.js","./it-ch.js":"./node_modules/moment/locale/it-ch.js","./it.js":"./node_modules/moment/locale/it.js","./ja":"./node_modules/moment/locale/ja.js","./ja.js":"./node_modules/moment/locale/ja.js","./jv":"./node_modules/moment/locale/jv.js","./jv.js":"./node_modules/moment/locale/jv.js","./ka":"./node_modules/moment/locale/ka.js","./ka.js":"./node_modules/moment/locale/ka.js","./kk":"./node_modules/moment/locale/kk.js","./kk.js":"./node_modules/moment/locale/kk.js","./km":"./node_modules/moment/locale/km.js","./km.js":"./node_modules/moment/locale/km.js","./kn":"./node_modules/moment/locale/kn.js","./kn.js":"./node_modules/moment/locale/kn.js","./ko":"./node_modules/moment/locale/ko.js","./ko.js":"./node_modules/moment/locale/ko.js","./ku":"./node_modules/moment/locale/ku.js","./ku.js":"./node_modules/moment/locale/ku.js","./ky":"./node_modules/moment/locale/ky.js","./ky.js":"./node_modules/moment/locale/ky.js","./lb":"./node_modules/moment/locale/lb.js","./lb.js":"./node_modules/moment/locale/lb.js","./lo":"./node_modules/moment/locale/lo.js","./lo.js":"./node_modules/moment/locale/lo.js","./lt":"./node_modules/moment/locale/lt.js","./lt.js":"./node_modules/moment/locale/lt.js","./lv":"./node_modules/moment/locale/lv.js","./lv.js":"./node_modules/moment/locale/lv.js","./me":"./node_modules/moment/locale/me.js","./me.js":"./node_modules/moment/locale/me.js","./mi":"./node_modules/moment/locale/mi.js","./mi.js":"./node_modules/moment/locale/mi.js","./mk":"./node_modules/moment/locale/mk.js","./mk.js":"./node_modules/moment/locale/mk.js","./ml":"./node_modules/moment/locale/ml.js","./ml.js":"./node_modules/moment/locale/ml.js","./mn":"./node_modules/moment/locale/mn.js","./mn.js":"./node_modules/moment/locale/mn.js","./mr":"./node_modules/moment/locale/mr.js","./mr.js":"./node_modules/moment/locale/mr.js","./ms":"./node_modules/moment/locale/ms.js","./ms-my":"./node_modules/moment/locale/ms-my.js","./ms-my.js":"./node_modules/moment/locale/ms-my.js","./ms.js":"./node_modules/moment/locale/ms.js","./mt":"./node_modules/moment/locale/mt.js","./mt.js":"./node_modules/moment/locale/mt.js","./my":"./node_modules/moment/locale/my.js","./my.js":"./node_modules/moment/locale/my.js","./nb":"./node_modules/moment/locale/nb.js","./nb.js":"./node_modules/moment/locale/nb.js","./ne":"./node_modules/moment/locale/ne.js","./ne.js":"./node_modules/moment/locale/ne.js","./nl":"./node_modules/moment/locale/nl.js","./nl-be":"./node_modules/moment/locale/nl-be.js","./nl-be.js":"./node_modules/moment/locale/nl-be.js","./nl.js":"./node_modules/moment/locale/nl.js","./nn":"./node_modules/moment/locale/nn.js","./nn.js":"./node_modules/moment/locale/nn.js","./oc-lnc":"./node_modules/moment/locale/oc-lnc.js","./oc-lnc.js":"./node_modules/moment/locale/oc-lnc.js","./pa-in":"./node_modules/moment/locale/pa-in.js","./pa-in.js":"./node_modules/moment/locale/pa-in.js","./pl":"./node_modules/moment/locale/pl.js","./pl.js":"./node_modules/moment/locale/pl.js","./pt":"./node_modules/moment/locale/pt.js","./pt-br":"./node_modules/moment/locale/pt-br.js","./pt-br.js":"./node_modules/moment/locale/pt-br.js","./pt.js":"./node_modules/moment/locale/pt.js","./ro":"./node_modules/moment/locale/ro.js","./ro.js":"./node_modules/moment/locale/ro.js","./ru":"./node_modules/moment/locale/ru.js","./ru.js":"./node_modules/moment/locale/ru.js","./sd":"./node_modules/moment/locale/sd.js","./sd.js":"./node_modules/moment/locale/sd.js","./se":"./node_modules/moment/locale/se.js","./se.js":"./node_modules/moment/locale/se.js","./si":"./node_modules/moment/locale/si.js","./si.js":"./node_modules/moment/locale/si.js","./sk":"./node_modules/moment/locale/sk.js","./sk.js":"./node_modules/moment/locale/sk.js","./sl":"./node_modules/moment/locale/sl.js","./sl.js":"./node_modules/moment/locale/sl.js","./sq":"./node_modules/moment/locale/sq.js","./sq.js":"./node_modules/moment/locale/sq.js","./sr":"./node_modules/moment/locale/sr.js","./sr-cyrl":"./node_modules/moment/locale/sr-cyrl.js","./sr-cyrl.js":"./node_modules/moment/locale/sr-cyrl.js","./sr.js":"./node_modules/moment/locale/sr.js","./ss":"./node_modules/moment/locale/ss.js","./ss.js":"./node_modules/moment/locale/ss.js","./sv":"./node_modules/moment/locale/sv.js","./sv.js":"./node_modules/moment/locale/sv.js","./sw":"./node_modules/moment/locale/sw.js","./sw.js":"./node_modules/moment/locale/sw.js","./ta":"./node_modules/moment/locale/ta.js","./ta.js":"./node_modules/moment/locale/ta.js","./te":"./node_modules/moment/locale/te.js","./te.js":"./node_modules/moment/locale/te.js","./tet":"./node_modules/moment/locale/tet.js","./tet.js":"./node_modules/moment/locale/tet.js","./tg":"./node_modules/moment/locale/tg.js","./tg.js":"./node_modules/moment/locale/tg.js","./th":"./node_modules/moment/locale/th.js","./th.js":"./node_modules/moment/locale/th.js","./tl-ph":"./node_modules/moment/locale/tl-ph.js","./tl-ph.js":"./node_modules/moment/locale/tl-ph.js","./tlh":"./node_modules/moment/locale/tlh.js","./tlh.js":"./node_modules/moment/locale/tlh.js","./tr":"./node_modules/moment/locale/tr.js","./tr.js":"./node_modules/moment/locale/tr.js","./tzl":"./node_modules/moment/locale/tzl.js","./tzl.js":"./node_modules/moment/locale/tzl.js","./tzm":"./node_modules/moment/locale/tzm.js","./tzm-latn":"./node_modules/moment/locale/tzm-latn.js","./tzm-latn.js":"./node_modules/moment/locale/tzm-latn.js","./tzm.js":"./node_modules/moment/locale/tzm.js","./ug-cn":"./node_modules/moment/locale/ug-cn.js","./ug-cn.js":"./node_modules/moment/locale/ug-cn.js","./uk":"./node_modules/moment/locale/uk.js","./uk.js":"./node_modules/moment/locale/uk.js","./ur":"./node_modules/moment/locale/ur.js","./ur.js":"./node_modules/moment/locale/ur.js","./uz":"./node_modules/moment/locale/uz.js","./uz-latn":"./node_modules/moment/locale/uz-latn.js","./uz-latn.js":"./node_modules/moment/locale/uz-latn.js","./uz.js":"./node_modules/moment/locale/uz.js","./vi":"./node_modules/moment/locale/vi.js","./vi.js":"./node_modules/moment/locale/vi.js","./x-pseudo":"./node_modules/moment/locale/x-pseudo.js","./x-pseudo.js":"./node_modules/moment/locale/x-pseudo.js","./yo":"./node_modules/moment/locale/yo.js","./yo.js":"./node_modules/moment/locale/yo.js","./zh-cn":"./node_modules/moment/locale/zh-cn.js","./zh-cn.js":"./node_modules/moment/locale/zh-cn.js","./zh-hk":"./node_modules/moment/locale/zh-hk.js","./zh-hk.js":"./node_modules/moment/locale/zh-hk.js","./zh-mo":"./node_modules/moment/locale/zh-mo.js","./zh-mo.js":"./node_modules/moment/locale/zh-mo.js","./zh-tw":"./node_modules/moment/locale/zh-tw.js","./zh-tw.js":"./node_modules/moment/locale/zh-tw.js"};function s(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}s.keys=function(){return Object.keys(r)},s.resolve=a,e.exports=s,s.id="./node_modules/moment/locale sync recursive ^\\.\\/.*$"},"./node_modules/moment/locale/af.js":function(e,t,n){!function(e){"use strict"; +!function(e){var t=window.webpackHotUpdate;window.webpackHotUpdate=function(e,n){!function(e,t){if(!L[e]||!M[e])return;for(var n in M[e]=!1,t)Object.prototype.hasOwnProperty.call(t,n)&&(h[n]=t[n]);0==--v&&0===y&&w()}(e,n),t&&t(e,n)};var n,r=!0,s="ccde1d191124182f52be",a={},o=[],i=[];function d(e){var t=S[e];if(!t)return x;var r=function(r){return t.hot.active?(S[r]?-1===S[r].parents.indexOf(e)&&S[r].parents.push(e):(o=[e],n=r),-1===t.children.indexOf(r)&&t.children.push(r)):(console.warn("[HMR] unexpected require("+r+") from disposed module "+e),o=[]),x(r)},s=function(e){return{configurable:!0,enumerable:!0,get:function(){return x[e]},set:function(t){x[e]=t}}};for(var a in x)Object.prototype.hasOwnProperty.call(x,a)&&"e"!==a&&"t"!==a&&Object.defineProperty(r,a,s(a));return r.e=function(e){return"ready"===c&&m("prepare"),y++,x.e(e).then(t,(function(e){throw t(),e}));function t(){y--,"prepare"===c&&(g[e]||k(e),0===y&&0===v&&w())}},r.t=function(e,t){return 1&t&&(e=r(e)),x.t(e,-2&t)},r}function l(t){var r={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:n!==t,active:!0,accept:function(e,t){if(void 0===e)r._selfAccepted=!0;else if("function"==typeof e)r._selfAccepted=e;else if("object"==typeof e)for(var n=0;n=0&&r._disposeHandlers.splice(t,1)},invalidate:function(){switch(this._selfInvalidated=!0,c){case"idle":(h={})[t]=e[t],m("ready");break;case"ready":j(t);break;case"prepare":case"check":case"dispose":case"apply":(f=f||[]).push(t)}},check:b,apply:D,status:function(e){if(!e)return c;u.push(e)},addStatusHandler:function(e){u.push(e)},removeStatusHandler:function(e){var t=u.indexOf(e);t>=0&&u.splice(t,1)},data:a[t]};return n=void 0,r}var u=[],c="idle";function m(e){c=e;for(var t=0;t0;){var s=r.pop(),a=s.id,o=s.chain;if((u=S[a])&&(!u.hot._selfAccepted||u.hot._selfInvalidated)){if(u.hot._selfDeclined)return{type:"self-declined",chain:o,moduleId:a};if(u.hot._main)return{type:"unaccepted",chain:o,moduleId:a};for(var i=0;i ")),w.type){case"self-declined":r.onDeclined&&r.onDeclined(w),r.ignoreDeclined||(D=new Error("Aborted because of self decline: "+w.moduleId+C));break;case"declined":r.onDeclined&&r.onDeclined(w),r.ignoreDeclined||(D=new Error("Aborted because of declined dependency: "+w.moduleId+" in "+w.parentId+C));break;case"unaccepted":r.onUnaccepted&&r.onUnaccepted(w),r.ignoreUnaccepted||(D=new Error("Aborted because "+c+" is not accepted"+C));break;case"accepted":r.onAccepted&&r.onAccepted(w),j=!0;break;case"disposed":r.onDisposed&&r.onDisposed(w),H=!0;break;default:throw new Error("Unexception type "+w.type)}if(D)return m("abort"),Promise.reject(D);if(j)for(c in M[c]=h[c],v(g,w.outdatedModules),w.outdatedDependencies)Object.prototype.hasOwnProperty.call(w.outdatedDependencies,c)&&(y[c]||(y[c]=[]),v(y[c],w.outdatedDependencies[c]));H&&(v(g,[w.moduleId]),M[c]=b)}var O,P=[];for(d=0;d0;)if(c=R.pop(),u=S[c]){var F={},N=u.hot._disposeHandlers;for(l=0;l=0&&W.parents.splice(O,1))}}for(c in y)if(Object.prototype.hasOwnProperty.call(y,c)&&(u=S[c]))for(E=y[c],l=0;l=0&&u.children.splice(O,1);m("apply"),void 0!==p&&(s=p,p=void 0);for(c in h=void 0,M)Object.prototype.hasOwnProperty.call(M,c)&&(e[c]=M[c]);var $=null;for(c in y)if(Object.prototype.hasOwnProperty.call(y,c)&&(u=S[c])){E=y[c];var I=[];for(d=0;d0)return function(e){if(!((e=String(e)).length>100)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"days":case"day":case"d":return n*w;case"hours":case"hour":case"hrs":case"hr":case"h":return n*k;case"minutes":case"minute":case"mins":case"min":case"m":return n*b;case"seconds":case"second":case"secs":case"sec":case"s":return n*Y;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(t);if("number"===r&&!1===isNaN(t))return n.long?function(e){return T(e,w,"day")||T(e,k,"hour")||T(e,b,"minute")||T(e,Y,"second")||e+" ms"}(t):function(e){return e>=w?Math.round(e/w)+"d":e>=k?Math.round(e/k)+"h":e>=b?Math.round(e/b)+"m":e>=Y?Math.round(e/Y)+"s":e+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function T(e,t,n){if(!(e=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},r.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),r.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],r.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},r.enable(s())}))),x=(S.log,S.formatArgs,S.save,S.load,S.useColors,S.storage,S.colors,M((function(e){var t=S;t.enable("adonis:*"),e.exports=t("adonis:websocket")}))),H=function(){function e(t,n){s(this,e),this.topic=t,this.connection=n,this.emitter=new v,this._state="pending",this._emitBuffer=[]}return a(e,[{key:"joinAck",value:function(){var e=this;this.state="open",this.emitter.emit("ready",this),x("clearing emit buffer for %s topic after subscription ack",this.topic),this._emitBuffer.forEach((function(t){return e.emit(t.event,t.data)})),this._emitBuffer=[]}},{key:"joinError",value:function(e){this.state="error",this.emitter.emit("error",e),this.serverClose()}},{key:"leaveAck",value:function(){this.state="closed",this.serverClose()}},{key:"leaveError",value:function(e){this.emitter.emit("leaveError",e)}},{key:"on",value:function(){var e;(e=this.emitter).on.apply(e,arguments)}},{key:"once",value:function(){var e;(e=this.emitter).once.apply(e,arguments)}},{key:"off",value:function(){var e;(e=this.emitter).off.apply(e,arguments)}},{key:"emit",value:function(e,t){"pending"!==this.state?this.connection.sendEvent(this.topic,e,t):this._emitBuffer.push({event:e,data:t})}},{key:"serverClose",value:function(){var e=this;return this.emitter.emit("close",this).then((function(){e._emitBuffer=[],e.emitter.clearListeners()})).catch((function(){e._emitBuffer=[],e.emitter.clearListeners()}))}},{key:"serverEvent",value:function(e){var t=e.event,n=e.data;this.emitter.emit(t,n)}},{key:"serverError",value:function(){this.state="error"}},{key:"close",value:function(){this.state="closing",x("closing subscription for %s topic with server",this.topic),this.connection.sendPacket(L.leavePacket(this.topic))}},{key:"terminate",value:function(){this.leaveAck()}},{key:"state",get:function(){return this._state},set:function(e){if(-1===!this.constructor.states.indexOf(e))throw new Error(e+" is not a valid socket state");this._state=e}}],[{key:"states",get:function(){return["pending","open","closed","closing","error"]}}]),e}(),C={name:"json",encode:function(e,t){var n=null;try{n=JSON.stringify(e)}catch(e){return t(e)}t(null,n)},decode:function(e,t){var n=null;try{n=JSON.parse(e)}catch(e){return t(e)}t(null,n)}},O="https:"===window.location.protocol?"wss":"ws",P=function(e){function t(e,n){s(this,t);var r=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e=e||O+"://"+window.location.host,r.options=o({path:"adonis-ws",reconnection:!0,reconnectionAttempts:10,reconnectionDelay:1e3,query:null,encoder:C},n),x("connection options %o",r.options),r._connectionState="idle",r._reconnectionAttempts=0,r._packetsQueue=[],r._processingQueue=!1,r._pingTimer=null,r._extendedQuery={},r._url=e.replace(/\/$/,"")+"/"+r.options.path,r.subscriptions={},r.removeSubscription=function(e){var t=e.topic;delete r.subscriptions[t]},r}return i(t,e),a(t,[{key:"_cleanup",value:function(){clearInterval(this._pingTimer),this.ws=null,this._pingTimer=null}},{key:"_subscriptionsIterator",value:function(e){var t=this;Object.keys(this.subscriptions).forEach((function(n){return e(t.subscriptions[n],n)}))}},{key:"_ensureSubscription",value:function(e,t){var n=this.getSubscription(e.d.topic);n?t(n,e):x("cannot consume packet since %s topic has no active subscription %j",e.d.topic,e)}},{key:"_processQueue",value:function(){var e=this;!this._processingQueue&&this._packetsQueue.length&&(this._processingQueue=!0,this.options.encoder.encode(this._packetsQueue.shift(),(function(t,n){t?x("encode error %j",t):(e.write(n),e._processingQueue=!1,e._processQueue())})))}},{key:"_onOpen",value:function(){x("opened")}},{key:"_onError",value:function(e){x("error %O",e),this._subscriptionsIterator((function(e){return e.serverError()})),this.emit("error",e)}},{key:"_reconnect",value:function(){var e=this;this._reconnectionAttempts++,this.emit("reconnect",this._reconnectionAttempts),setTimeout((function(){e._connectionState="reconnect",e.connect()}),this.options.reconnectionDelay*this._reconnectionAttempts)}},{key:"_onClose",value:function(e){var t=this;x("closing from %s state",this._connectionState),this._cleanup(),this._subscriptionsIterator((function(e){return e.terminate()})),this.emit("close",this).then((function(){t.shouldReconnect?t._reconnect():t.clearListeners()})).catch((function(){t.shouldReconnect?t._reconnect():t.clearListeners()}))}},{key:"_onMessage",value:function(e){var t=this;this.options.encoder.decode(e.data,(function(e,n){e?x("packet dropped, decode error %o",e):t._handleMessage(n)}))}},{key:"_handleMessage",value:function(e){return L.isOpenPacket(e)?(x("open packet"),void this._handleOpen(e)):L.isJoinAckPacket(e)?(x("join ack packet"),void this._handleJoinAck(e)):L.isJoinErrorPacket(e)?(x("join error packet"),void this._handleJoinError(e)):L.isLeaveAckPacket(e)?(x("leave ack packet"),void this._handleLeaveAck(e)):L.isLeaveErrorPacket(e)?(x("leave error packet"),void this._handleLeaveError(e)):L.isLeavePacket(e)?(x("leave packet"),void this._handleServerLeave(e)):L.isEventPacket(e)?(x("event packet"),void this._handleEvent(e)):void(L.isPongPacket(e)?x("pong packet"):x("invalid packet type %d",e.t))}},{key:"_handleOpen",value:function(e){var t=this;this._connectionState="open",this.emit("open",e.d),this._pingTimer=setInterval((function(){t.sendPacket(L.pingPacket())}),e.d.clientInterval),x("processing pre connection subscriptions %o",Object.keys(this.subscriptions)),this._subscriptionsIterator((function(e){t._sendSubscriptionPacket(e.topic)}))}},{key:"_handleJoinAck",value:function(e){this._ensureSubscription(e,(function(e){return e.joinAck()}))}},{key:"_handleJoinError",value:function(e){this._ensureSubscription(e,(function(e,t){return e.joinError(t.d)}))}},{key:"_handleLeaveAck",value:function(e){this._ensureSubscription(e,(function(e){return e.leaveAck()}))}},{key:"_handleLeaveError",value:function(e){this._ensureSubscription(e,(function(e,t){return e.leaveError(t.d)}))}},{key:"_handleServerLeave",value:function(e){this._ensureSubscription(e,(function(e,t){return e.leaveAck()}))}},{key:"_handleEvent",value:function(e){this._ensureSubscription(e,(function(e,t){return e.serverEvent(t.d)}))}},{key:"_sendSubscriptionPacket",value:function(e){x("initiating subscription for %s topic with server",e),this.sendPacket(L.joinPacket(e))}},{key:"connect",value:function(){var e=this,t=g(o({},this.options.query,this._extendedQuery)),n=t?this._url+"?"+t:this._url;return x("creating socket connection on %s url",n),this.ws=new window.WebSocket(n),this.ws.onclose=function(t){return e._onClose(t)},this.ws.onerror=function(t){return e._onError(t)},this.ws.onopen=function(t){return e._onOpen(t)},this.ws.onmessage=function(t){return e._onMessage(t)},this}},{key:"write",value:function(e){this.ws.readyState===window.WebSocket.OPEN?this.ws.send(e):x("connection is not in open state, current state %s",this.ws.readyState)}},{key:"sendPacket",value:function(e){this._packetsQueue.push(e),this._processQueue()}},{key:"getSubscription",value:function(e){return this.subscriptions[e]}},{key:"hasSubcription",value:function(e){return!!this.getSubscription(e)}},{key:"subscribe",value:function(e){if(!e||"string"!=typeof e)throw new Error("subscribe method expects topic to be a valid string");if(this.subscriptions[e])throw new Error("Cannot subscribe to same topic twice. Instead use getSubscription");var t=new H(e,this);return t.on("close",this.removeSubscription),this.subscriptions[e]=t,"open"===this._connectionState&&this._sendSubscriptionPacket(e),t}},{key:"sendEvent",value:function(e,t,n){if(!e||!t)throw new Error("topic and event name is required to call sendEvent method");var r=this.getSubscription(e);if(!r)throw new Error("There is no active subscription for "+e+" topic");if("open"!==r.state)throw new Error("Cannot emit since subscription socket is in "+this.state+" state");x("sending event on %s topic",e),this.sendPacket(L.eventPacket(e,t,n))}},{key:"withJwtToken",value:function(e){return this._extendedQuery.token=e,this}},{key:"withBasicAuth",value:function(e,t){return this._extendedQuery.basic=window.btoa(e+":"+t),this}},{key:"withApiToken",value:function(e){return this._extendedQuery.token=e,this}},{key:"close",value:function(){this._connectionState="terminated",this.ws.close()}},{key:"shouldReconnect",get:function(){return"terminated"!==this._connectionState&&this.options.reconnection&&this.options.reconnectionAttempts>this._reconnectionAttempts}}]),t}(v);return function(e,t){return new P(e,t)}},e.exports=r()}).call(this,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/process/browser.js"))},"./node_modules/events/events.js":function(e,t,n){"use strict";var r,s="object"==typeof Reflect?Reflect:null,a=s&&"function"==typeof s.apply?s.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=s&&"function"==typeof s.ownKeys?s.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}e.exports=i,i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var d=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var s,a,o,i;if(l(n),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),o=a[t]),void 0===o)o=a[t]=n,++e._eventsCount;else if("function"==typeof o?o=a[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),(s=u(e))>0&&o.length>s&&!o.warned){o.warned=!0;var d=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");d.name="MaxListenersExceededWarning",d.emitter=e,d.type=t,d.count=o.length,i=d,console&&console.warn&&console.warn(i)}return e}function m(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},s=m.bind(r);return s.listener=n,r.wrapFn=s,s}function h(e,t,n){var r=e._events;if(void 0===r)return[];var s=r[t];return void 0===s?[]:"function"==typeof s?n?[s.listener||s]:[s]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(o=t[0]),o instanceof Error)throw o;var i=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw i.context=o,i}var d=s[e];if(void 0===d)return!1;if("function"==typeof d)a(d,this,t);else{var l=d.length,u=f(d,l);for(n=0;n=0;a--)if(n[a]===t||n[a].listener===t){o=n[a].listener,s=a;break}if(s<0)return this;0===s?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},i.prototype.listeners=function(e){return h(this,e,!0)},i.prototype.rawListeners=function(e){return h(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},i.prototype.listenerCount=p,i.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},"./node_modules/moment/locale sync recursive ^\\.\\/.*$":function(e,t,n){var r={"./af":"./node_modules/moment/locale/af.js","./af.js":"./node_modules/moment/locale/af.js","./ar":"./node_modules/moment/locale/ar.js","./ar-dz":"./node_modules/moment/locale/ar-dz.js","./ar-dz.js":"./node_modules/moment/locale/ar-dz.js","./ar-kw":"./node_modules/moment/locale/ar-kw.js","./ar-kw.js":"./node_modules/moment/locale/ar-kw.js","./ar-ly":"./node_modules/moment/locale/ar-ly.js","./ar-ly.js":"./node_modules/moment/locale/ar-ly.js","./ar-ma":"./node_modules/moment/locale/ar-ma.js","./ar-ma.js":"./node_modules/moment/locale/ar-ma.js","./ar-sa":"./node_modules/moment/locale/ar-sa.js","./ar-sa.js":"./node_modules/moment/locale/ar-sa.js","./ar-tn":"./node_modules/moment/locale/ar-tn.js","./ar-tn.js":"./node_modules/moment/locale/ar-tn.js","./ar.js":"./node_modules/moment/locale/ar.js","./az":"./node_modules/moment/locale/az.js","./az.js":"./node_modules/moment/locale/az.js","./be":"./node_modules/moment/locale/be.js","./be.js":"./node_modules/moment/locale/be.js","./bg":"./node_modules/moment/locale/bg.js","./bg.js":"./node_modules/moment/locale/bg.js","./bm":"./node_modules/moment/locale/bm.js","./bm.js":"./node_modules/moment/locale/bm.js","./bn":"./node_modules/moment/locale/bn.js","./bn.js":"./node_modules/moment/locale/bn.js","./bo":"./node_modules/moment/locale/bo.js","./bo.js":"./node_modules/moment/locale/bo.js","./br":"./node_modules/moment/locale/br.js","./br.js":"./node_modules/moment/locale/br.js","./bs":"./node_modules/moment/locale/bs.js","./bs.js":"./node_modules/moment/locale/bs.js","./ca":"./node_modules/moment/locale/ca.js","./ca.js":"./node_modules/moment/locale/ca.js","./cs":"./node_modules/moment/locale/cs.js","./cs.js":"./node_modules/moment/locale/cs.js","./cv":"./node_modules/moment/locale/cv.js","./cv.js":"./node_modules/moment/locale/cv.js","./cy":"./node_modules/moment/locale/cy.js","./cy.js":"./node_modules/moment/locale/cy.js","./da":"./node_modules/moment/locale/da.js","./da.js":"./node_modules/moment/locale/da.js","./de":"./node_modules/moment/locale/de.js","./de-at":"./node_modules/moment/locale/de-at.js","./de-at.js":"./node_modules/moment/locale/de-at.js","./de-ch":"./node_modules/moment/locale/de-ch.js","./de-ch.js":"./node_modules/moment/locale/de-ch.js","./de.js":"./node_modules/moment/locale/de.js","./dv":"./node_modules/moment/locale/dv.js","./dv.js":"./node_modules/moment/locale/dv.js","./el":"./node_modules/moment/locale/el.js","./el.js":"./node_modules/moment/locale/el.js","./en-au":"./node_modules/moment/locale/en-au.js","./en-au.js":"./node_modules/moment/locale/en-au.js","./en-ca":"./node_modules/moment/locale/en-ca.js","./en-ca.js":"./node_modules/moment/locale/en-ca.js","./en-gb":"./node_modules/moment/locale/en-gb.js","./en-gb.js":"./node_modules/moment/locale/en-gb.js","./en-ie":"./node_modules/moment/locale/en-ie.js","./en-ie.js":"./node_modules/moment/locale/en-ie.js","./en-il":"./node_modules/moment/locale/en-il.js","./en-il.js":"./node_modules/moment/locale/en-il.js","./en-in":"./node_modules/moment/locale/en-in.js","./en-in.js":"./node_modules/moment/locale/en-in.js","./en-nz":"./node_modules/moment/locale/en-nz.js","./en-nz.js":"./node_modules/moment/locale/en-nz.js","./en-sg":"./node_modules/moment/locale/en-sg.js","./en-sg.js":"./node_modules/moment/locale/en-sg.js","./eo":"./node_modules/moment/locale/eo.js","./eo.js":"./node_modules/moment/locale/eo.js","./es":"./node_modules/moment/locale/es.js","./es-do":"./node_modules/moment/locale/es-do.js","./es-do.js":"./node_modules/moment/locale/es-do.js","./es-us":"./node_modules/moment/locale/es-us.js","./es-us.js":"./node_modules/moment/locale/es-us.js","./es.js":"./node_modules/moment/locale/es.js","./et":"./node_modules/moment/locale/et.js","./et.js":"./node_modules/moment/locale/et.js","./eu":"./node_modules/moment/locale/eu.js","./eu.js":"./node_modules/moment/locale/eu.js","./fa":"./node_modules/moment/locale/fa.js","./fa.js":"./node_modules/moment/locale/fa.js","./fi":"./node_modules/moment/locale/fi.js","./fi.js":"./node_modules/moment/locale/fi.js","./fil":"./node_modules/moment/locale/fil.js","./fil.js":"./node_modules/moment/locale/fil.js","./fo":"./node_modules/moment/locale/fo.js","./fo.js":"./node_modules/moment/locale/fo.js","./fr":"./node_modules/moment/locale/fr.js","./fr-ca":"./node_modules/moment/locale/fr-ca.js","./fr-ca.js":"./node_modules/moment/locale/fr-ca.js","./fr-ch":"./node_modules/moment/locale/fr-ch.js","./fr-ch.js":"./node_modules/moment/locale/fr-ch.js","./fr.js":"./node_modules/moment/locale/fr.js","./fy":"./node_modules/moment/locale/fy.js","./fy.js":"./node_modules/moment/locale/fy.js","./ga":"./node_modules/moment/locale/ga.js","./ga.js":"./node_modules/moment/locale/ga.js","./gd":"./node_modules/moment/locale/gd.js","./gd.js":"./node_modules/moment/locale/gd.js","./gl":"./node_modules/moment/locale/gl.js","./gl.js":"./node_modules/moment/locale/gl.js","./gom-deva":"./node_modules/moment/locale/gom-deva.js","./gom-deva.js":"./node_modules/moment/locale/gom-deva.js","./gom-latn":"./node_modules/moment/locale/gom-latn.js","./gom-latn.js":"./node_modules/moment/locale/gom-latn.js","./gu":"./node_modules/moment/locale/gu.js","./gu.js":"./node_modules/moment/locale/gu.js","./he":"./node_modules/moment/locale/he.js","./he.js":"./node_modules/moment/locale/he.js","./hi":"./node_modules/moment/locale/hi.js","./hi.js":"./node_modules/moment/locale/hi.js","./hr":"./node_modules/moment/locale/hr.js","./hr.js":"./node_modules/moment/locale/hr.js","./hu":"./node_modules/moment/locale/hu.js","./hu.js":"./node_modules/moment/locale/hu.js","./hy-am":"./node_modules/moment/locale/hy-am.js","./hy-am.js":"./node_modules/moment/locale/hy-am.js","./id":"./node_modules/moment/locale/id.js","./id.js":"./node_modules/moment/locale/id.js","./is":"./node_modules/moment/locale/is.js","./is.js":"./node_modules/moment/locale/is.js","./it":"./node_modules/moment/locale/it.js","./it-ch":"./node_modules/moment/locale/it-ch.js","./it-ch.js":"./node_modules/moment/locale/it-ch.js","./it.js":"./node_modules/moment/locale/it.js","./ja":"./node_modules/moment/locale/ja.js","./ja.js":"./node_modules/moment/locale/ja.js","./jv":"./node_modules/moment/locale/jv.js","./jv.js":"./node_modules/moment/locale/jv.js","./ka":"./node_modules/moment/locale/ka.js","./ka.js":"./node_modules/moment/locale/ka.js","./kk":"./node_modules/moment/locale/kk.js","./kk.js":"./node_modules/moment/locale/kk.js","./km":"./node_modules/moment/locale/km.js","./km.js":"./node_modules/moment/locale/km.js","./kn":"./node_modules/moment/locale/kn.js","./kn.js":"./node_modules/moment/locale/kn.js","./ko":"./node_modules/moment/locale/ko.js","./ko.js":"./node_modules/moment/locale/ko.js","./ku":"./node_modules/moment/locale/ku.js","./ku.js":"./node_modules/moment/locale/ku.js","./ky":"./node_modules/moment/locale/ky.js","./ky.js":"./node_modules/moment/locale/ky.js","./lb":"./node_modules/moment/locale/lb.js","./lb.js":"./node_modules/moment/locale/lb.js","./lo":"./node_modules/moment/locale/lo.js","./lo.js":"./node_modules/moment/locale/lo.js","./lt":"./node_modules/moment/locale/lt.js","./lt.js":"./node_modules/moment/locale/lt.js","./lv":"./node_modules/moment/locale/lv.js","./lv.js":"./node_modules/moment/locale/lv.js","./me":"./node_modules/moment/locale/me.js","./me.js":"./node_modules/moment/locale/me.js","./mi":"./node_modules/moment/locale/mi.js","./mi.js":"./node_modules/moment/locale/mi.js","./mk":"./node_modules/moment/locale/mk.js","./mk.js":"./node_modules/moment/locale/mk.js","./ml":"./node_modules/moment/locale/ml.js","./ml.js":"./node_modules/moment/locale/ml.js","./mn":"./node_modules/moment/locale/mn.js","./mn.js":"./node_modules/moment/locale/mn.js","./mr":"./node_modules/moment/locale/mr.js","./mr.js":"./node_modules/moment/locale/mr.js","./ms":"./node_modules/moment/locale/ms.js","./ms-my":"./node_modules/moment/locale/ms-my.js","./ms-my.js":"./node_modules/moment/locale/ms-my.js","./ms.js":"./node_modules/moment/locale/ms.js","./mt":"./node_modules/moment/locale/mt.js","./mt.js":"./node_modules/moment/locale/mt.js","./my":"./node_modules/moment/locale/my.js","./my.js":"./node_modules/moment/locale/my.js","./nb":"./node_modules/moment/locale/nb.js","./nb.js":"./node_modules/moment/locale/nb.js","./ne":"./node_modules/moment/locale/ne.js","./ne.js":"./node_modules/moment/locale/ne.js","./nl":"./node_modules/moment/locale/nl.js","./nl-be":"./node_modules/moment/locale/nl-be.js","./nl-be.js":"./node_modules/moment/locale/nl-be.js","./nl.js":"./node_modules/moment/locale/nl.js","./nn":"./node_modules/moment/locale/nn.js","./nn.js":"./node_modules/moment/locale/nn.js","./oc-lnc":"./node_modules/moment/locale/oc-lnc.js","./oc-lnc.js":"./node_modules/moment/locale/oc-lnc.js","./pa-in":"./node_modules/moment/locale/pa-in.js","./pa-in.js":"./node_modules/moment/locale/pa-in.js","./pl":"./node_modules/moment/locale/pl.js","./pl.js":"./node_modules/moment/locale/pl.js","./pt":"./node_modules/moment/locale/pt.js","./pt-br":"./node_modules/moment/locale/pt-br.js","./pt-br.js":"./node_modules/moment/locale/pt-br.js","./pt.js":"./node_modules/moment/locale/pt.js","./ro":"./node_modules/moment/locale/ro.js","./ro.js":"./node_modules/moment/locale/ro.js","./ru":"./node_modules/moment/locale/ru.js","./ru.js":"./node_modules/moment/locale/ru.js","./sd":"./node_modules/moment/locale/sd.js","./sd.js":"./node_modules/moment/locale/sd.js","./se":"./node_modules/moment/locale/se.js","./se.js":"./node_modules/moment/locale/se.js","./si":"./node_modules/moment/locale/si.js","./si.js":"./node_modules/moment/locale/si.js","./sk":"./node_modules/moment/locale/sk.js","./sk.js":"./node_modules/moment/locale/sk.js","./sl":"./node_modules/moment/locale/sl.js","./sl.js":"./node_modules/moment/locale/sl.js","./sq":"./node_modules/moment/locale/sq.js","./sq.js":"./node_modules/moment/locale/sq.js","./sr":"./node_modules/moment/locale/sr.js","./sr-cyrl":"./node_modules/moment/locale/sr-cyrl.js","./sr-cyrl.js":"./node_modules/moment/locale/sr-cyrl.js","./sr.js":"./node_modules/moment/locale/sr.js","./ss":"./node_modules/moment/locale/ss.js","./ss.js":"./node_modules/moment/locale/ss.js","./sv":"./node_modules/moment/locale/sv.js","./sv.js":"./node_modules/moment/locale/sv.js","./sw":"./node_modules/moment/locale/sw.js","./sw.js":"./node_modules/moment/locale/sw.js","./ta":"./node_modules/moment/locale/ta.js","./ta.js":"./node_modules/moment/locale/ta.js","./te":"./node_modules/moment/locale/te.js","./te.js":"./node_modules/moment/locale/te.js","./tet":"./node_modules/moment/locale/tet.js","./tet.js":"./node_modules/moment/locale/tet.js","./tg":"./node_modules/moment/locale/tg.js","./tg.js":"./node_modules/moment/locale/tg.js","./th":"./node_modules/moment/locale/th.js","./th.js":"./node_modules/moment/locale/th.js","./tl-ph":"./node_modules/moment/locale/tl-ph.js","./tl-ph.js":"./node_modules/moment/locale/tl-ph.js","./tlh":"./node_modules/moment/locale/tlh.js","./tlh.js":"./node_modules/moment/locale/tlh.js","./tr":"./node_modules/moment/locale/tr.js","./tr.js":"./node_modules/moment/locale/tr.js","./tzl":"./node_modules/moment/locale/tzl.js","./tzl.js":"./node_modules/moment/locale/tzl.js","./tzm":"./node_modules/moment/locale/tzm.js","./tzm-latn":"./node_modules/moment/locale/tzm-latn.js","./tzm-latn.js":"./node_modules/moment/locale/tzm-latn.js","./tzm.js":"./node_modules/moment/locale/tzm.js","./ug-cn":"./node_modules/moment/locale/ug-cn.js","./ug-cn.js":"./node_modules/moment/locale/ug-cn.js","./uk":"./node_modules/moment/locale/uk.js","./uk.js":"./node_modules/moment/locale/uk.js","./ur":"./node_modules/moment/locale/ur.js","./ur.js":"./node_modules/moment/locale/ur.js","./uz":"./node_modules/moment/locale/uz.js","./uz-latn":"./node_modules/moment/locale/uz-latn.js","./uz-latn.js":"./node_modules/moment/locale/uz-latn.js","./uz.js":"./node_modules/moment/locale/uz.js","./vi":"./node_modules/moment/locale/vi.js","./vi.js":"./node_modules/moment/locale/vi.js","./x-pseudo":"./node_modules/moment/locale/x-pseudo.js","./x-pseudo.js":"./node_modules/moment/locale/x-pseudo.js","./yo":"./node_modules/moment/locale/yo.js","./yo.js":"./node_modules/moment/locale/yo.js","./zh-cn":"./node_modules/moment/locale/zh-cn.js","./zh-cn.js":"./node_modules/moment/locale/zh-cn.js","./zh-hk":"./node_modules/moment/locale/zh-hk.js","./zh-hk.js":"./node_modules/moment/locale/zh-hk.js","./zh-mo":"./node_modules/moment/locale/zh-mo.js","./zh-mo.js":"./node_modules/moment/locale/zh-mo.js","./zh-tw":"./node_modules/moment/locale/zh-tw.js","./zh-tw.js":"./node_modules/moment/locale/zh-tw.js"};function s(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}s.keys=function(){return Object.keys(r)},s.resolve=a,e.exports=s,s.id="./node_modules/moment/locale sync recursive ^\\.\\/.*$"},"./node_modules/moment/locale/af.js":function(e,t,n){!function(e){"use strict"; //! moment.js locale configuration e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/ar-dz.js":function(e,t,n){!function(e){"use strict"; //! moment.js locale configuration @@ -262,9 +262,9 @@ e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月 //! moment.js locale configuration e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n("./node_modules/moment/moment.js"))},"./node_modules/moment/locale/zh-tw.js":function(e,t,n){!function(e){"use strict"; //! moment.js locale configuration -e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n("./node_modules/moment/moment.js"))},"./node_modules/moment/moment.js":function(e,t,n){(function(e){e.exports=function(){"use strict";var t,r;function s(){return t.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(i(e,t))return!1;return!0}function l(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function m(e,t){var n,r=[];for(n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+r}s.suppressDeprecationWarnings=!1,s.deprecationHandler=null,w=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)i(e,t)&&n.push(t);return n};var C=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,O=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},A={};function E(e,t,n,r){var s=r;"string"==typeof r&&(s=function(){return this[r]()}),e&&(A[e]=s),t&&(A[t[0]]=function(){return H(s.apply(this,arguments),t[1],t[2])}),n&&(A[n]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function R(e,t){return e.isValid()?(t=F(t,e.localeData()),P[t]=P[t]||function(e){var t,n,r,s=e.match(C);for(t=0,n=s.length;t=0&&O.test(e);)e=e.replace(O,r),O.lastIndex=0,n-=1;return e}var N={};function W(e,t){var n=e.toLowerCase();N[n]=N[n+"s"]=N[t]=e}function $(e){return"string"==typeof e?N[e]||N[e.toLowerCase()]:void 0}function I(e){var t,n,r={};for(n in e)i(e,n)&&(t=$(n))&&(r[t]=e[n]);return r}var z={};function J(e,t){z[e]=t}function U(e){return e%4==0&&e%100!=0||e%400==0}function V(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function B(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=V(t)),n}function G(e,t){return function(n){return null!=n?(K(this,e,n),s.updateOffset(this,t),this):q(this,e)}}function q(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function K(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&U(e.year())&&1===e.month()&&29===e.date()?(n=B(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ye(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Z,X=/\d/,Q=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ne=/[+-]?\d{6}/,re=/\d\d?/,se=/\d\d\d\d?/,ae=/\d\d\d\d\d\d?/,oe=/\d{1,3}/,ie=/\d{1,4}/,de=/[+-]?\d{1,6}/,le=/\d+/,ue=/[+-]?\d+/,ce=/Z|[+-]\d\d:?\d\d/gi,me=/Z|[+-]\d\d(?::?\d\d)?/gi,_e=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function he(e,t,n){Z[e]=j(t)?t:function(e,r){return e&&n?n:t}}function pe(e,t){return i(Z,e)?Z[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,s){return t||n||r||s}))))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Z={};var ve,ye={};function Me(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),u(t)&&(r=function(e,n){n[t]=B(e)}),n=0;n68?1900:2e3)};var Oe=G("FullYear",!0);function Pe(e,t,n,r,s,a,o){var i;return e<100&&e>=0?(i=new Date(e+400,t,n,r,s,a,o),isFinite(i.getFullYear())&&i.setFullYear(e)):i=new Date(e,t,n,r,s,a,o),i}function Ae(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ee(e,t,n){var r=7+t-n;return-(7+Ae(e,0,r).getUTCDay()-t)%7+r-1}function Re(e,t,n,r,s){var a,o,i=1+7*(t-1)+(7+n-r)%7+Ee(e,r,s);return i<=0?o=Ce(a=e-1)+i:i>Ce(e)?(a=e+1,o=i-Ce(e)):(a=e,o=i),{year:a,dayOfYear:o}}function Fe(e,t,n){var r,s,a=Ee(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?r=o+Ne(s=e.year()-1,t,n):o>Ne(e.year(),t,n)?(r=o-Ne(e.year(),t,n),s=e.year()+1):(s=e.year(),r=o),{week:r,year:s}}function Ne(e,t,n){var r=Ee(e,t,n),s=Ee(e+1,t,n);return(Ce(e)-r+s)/7}function We(e,t){return e.slice(t,7).concat(e.slice(0,t))}E("w",["ww",2],"wo","week"),E("W",["WW",2],"Wo","isoWeek"),W("week","w"),W("isoWeek","W"),J("week",5),J("isoWeek",5),he("w",re),he("ww",re,Q),he("W",re),he("WW",re,Q),ge(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=B(e)})),E("d",0,"do","day"),E("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),E("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),E("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),E("e",0,0,"weekday"),E("E",0,0,"isoWeekday"),W("day","d"),W("weekday","e"),W("isoWeekday","E"),J("day",11),J("weekday",11),J("isoWeekday",11),he("d",re),he("e",re),he("E",re),he("dd",(function(e,t){return t.weekdaysMinRegex(e)})),he("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),he("dddd",(function(e,t){return t.weekdaysRegex(e)})),ge(["dd","ddd","dddd"],(function(e,t,n,r){var s=n._locale.weekdaysParse(e,r,n._strict);null!=s?t.d=s:p(n).invalidWeekday=e})),ge(["d","e","E"],(function(e,t,n,r){t[r]=B(e)}));var $e="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ie="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Je=_e,Ue=_e,Ve=_e;function Be(e,t,n){var r,s,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(s=ve.call(this._weekdaysParse,o))?s:null:"ddd"===t?-1!==(s=ve.call(this._shortWeekdaysParse,o))?s:null:-1!==(s=ve.call(this._minWeekdaysParse,o))?s:null:"dddd"===t?-1!==(s=ve.call(this._weekdaysParse,o))||-1!==(s=ve.call(this._shortWeekdaysParse,o))||-1!==(s=ve.call(this._minWeekdaysParse,o))?s:null:"ddd"===t?-1!==(s=ve.call(this._shortWeekdaysParse,o))||-1!==(s=ve.call(this._weekdaysParse,o))||-1!==(s=ve.call(this._minWeekdaysParse,o))?s:null:-1!==(s=ve.call(this._minWeekdaysParse,o))||-1!==(s=ve.call(this._weekdaysParse,o))||-1!==(s=ve.call(this._shortWeekdaysParse,o))?s:null}function Ge(){function e(e,t){return t.length-e.length}var t,n,r,s,a,o=[],i=[],d=[],l=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=fe(this.weekdaysMin(n,"")),s=fe(this.weekdaysShort(n,"")),a=fe(this.weekdays(n,"")),o.push(r),i.push(s),d.push(a),l.push(r),l.push(s),l.push(a);o.sort(e),i.sort(e),d.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function qe(){return this.hours()%12||12}function Ke(e,t){E(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ze(e,t){return t._meridiemParse}E("H",["HH",2],0,"hour"),E("h",["hh",2],0,qe),E("k",["kk",2],0,(function(){return this.hours()||24})),E("hmm",0,0,(function(){return""+qe.apply(this)+H(this.minutes(),2)})),E("hmmss",0,0,(function(){return""+qe.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)})),E("Hmm",0,0,(function(){return""+this.hours()+H(this.minutes(),2)})),E("Hmmss",0,0,(function(){return""+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)})),Ke("a",!0),Ke("A",!1),W("hour","h"),J("hour",13),he("a",Ze),he("A",Ze),he("H",re),he("h",re),he("k",re),he("HH",re,Q),he("hh",re,Q),he("kk",re,Q),he("hmm",se),he("hmmss",ae),he("Hmm",se),he("Hmmss",ae),Me(["H","HH"],3),Me(["k","kk"],(function(e,t,n){var r=B(e);t[3]=24===r?0:r})),Me(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Me(["h","hh"],(function(e,t,n){t[3]=B(e),p(n).bigHour=!0})),Me("hmm",(function(e,t,n){var r=e.length-2;t[3]=B(e.substr(0,r)),t[4]=B(e.substr(r)),p(n).bigHour=!0})),Me("hmmss",(function(e,t,n){var r=e.length-4,s=e.length-2;t[3]=B(e.substr(0,r)),t[4]=B(e.substr(r,2)),t[5]=B(e.substr(s)),p(n).bigHour=!0})),Me("Hmm",(function(e,t,n){var r=e.length-2;t[3]=B(e.substr(0,r)),t[4]=B(e.substr(r))})),Me("Hmmss",(function(e,t,n){var r=e.length-4,s=e.length-2;t[3]=B(e.substr(0,r)),t[4]=B(e.substr(r,2)),t[5]=B(e.substr(s))}));var Xe,Qe=G("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:be,monthsShort:ke,week:{dow:0,doy:6},weekdays:$e,weekdaysMin:ze,weekdaysShort:Ie,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function rt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(r=at(s.slice(0,t).join("-")))return r;if(n&&n.length>=t&&rt(s,n)>=t-1)break;t--}a++}return Xe}(e)}function lt(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Ye(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,p(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),p(e)._overflowWeeks&&-1===t&&(t=7),p(e)._overflowWeekday&&-1===t&&(t=8),p(e).overflow=t),e}var ut=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ct=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mt=/Z|[+-]\d\d(?::?\d\d)?/,_t=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ht=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],pt=/^\/?Date\((-?\d+)/i,ft=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,vt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function yt(e){var t,n,r,s,a,o,i=e._i,d=ut.exec(i)||ct.exec(i);if(d){for(p(e).iso=!0,t=0,n=_t.length;t7)&&(d=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,l=Fe(Dt(),a,o),n=Lt(t.gg,e._a[0],l.year),r=Lt(t.w,l.week),null!=t.d?((s=t.d)<0||s>6)&&(d=!0):null!=t.e?(s=t.e+a,(t.e<0||t.e>6)&&(d=!0)):s=a),r<1||r>Ne(n,a,o)?p(e)._overflowWeeks=!0:null!=d?p(e)._overflowWeekday=!0:(i=Re(n,r,s,a,o),e._a[0]=i.year,e._dayOfYear=i.dayOfYear)}(e),null!=e._dayOfYear&&(o=Lt(e._a[0],r[0]),(e._dayOfYear>Ce(o)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Ae(o,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=i[t]=r[t];for(;t<7;t++)e._a[t]=i[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Ae:Pe).apply(null,i),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(p(e).weekdayMismatch=!0)}}function bt(e){if(e._f!==s.ISO_8601)if(e._f!==s.RFC_2822){e._a=[],p(e).empty=!0;var t,n,r,a,o,i,d=""+e._i,l=d.length,u=0;for(r=F(e._f,e._locale).match(C)||[],t=0;t0&&p(e).unusedInput.push(o),d=d.slice(d.indexOf(n)+n.length),u+=n.length),A[a]?(n?p(e).empty=!1:p(e).unusedTokens.push(a),Le(a,n,e)):e._strict&&!n&&p(e).unusedTokens.push(a);p(e).charsLeftOver=l-u,d.length>0&&p(e).unusedInput.push(d),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(i=p(e).era)&&(e._a[0]=e._locale.erasConvertYear(i,e._a[0])),Yt(e),lt(e)}else gt(e);else yt(e)}function kt(e){var t=e._i,n=e._f;return e._locale=e._locale||dt(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),Y(t)?new L(lt(t)):(c(t)?e._d=t:a(n)?function(e){var t,n,r,s,a,o,i=!1;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(s=0;sthis?this:e:v()}));function St(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Dt();for(n=t[0],r=1;r=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function sn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function on(){var e,t,n=[],r=[],s=[],a=[],o=this.eras();for(e=0,t=o.length;e(a=Ne(e,r,s))&&(t=a),un.call(this,e,t,n,r,s))}function un(e,t,n,r,s){var a=Re(e,t,n,r,s),o=Ae(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}E("N",0,0,"eraAbbr"),E("NN",0,0,"eraAbbr"),E("NNN",0,0,"eraAbbr"),E("NNNN",0,0,"eraName"),E("NNNNN",0,0,"eraNarrow"),E("y",["y",1],"yo","eraYear"),E("y",["yy",2],0,"eraYear"),E("y",["yyy",3],0,"eraYear"),E("y",["yyyy",4],0,"eraYear"),he("N",an),he("NN",an),he("NNN",an),he("NNNN",(function(e,t){return t.erasNameRegex(e)})),he("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),Me(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var s=n._locale.erasParse(e,r,n._strict);s?p(n).era=s:p(n).invalidEra=e})),he("y",le),he("yy",le),he("yyy",le),he("yyyy",le),he("yo",(function(e,t){return t._eraYearOrdinalRegex||le})),Me(["y","yy","yyy","yyyy"],0),Me(["yo"],(function(e,t,n,r){var s;n._locale._eraYearOrdinalRegex&&(s=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,s):t[0]=parseInt(e,10)})),E(0,["gg",2],0,(function(){return this.weekYear()%100})),E(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),dn("gggg","weekYear"),dn("ggggg","weekYear"),dn("GGGG","isoWeekYear"),dn("GGGGG","isoWeekYear"),W("weekYear","gg"),W("isoWeekYear","GG"),J("weekYear",1),J("isoWeekYear",1),he("G",ue),he("g",ue),he("GG",re,Q),he("gg",re,Q),he("GGGG",ie,te),he("gggg",ie,te),he("GGGGG",de,ne),he("ggggg",de,ne),ge(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=B(e)})),ge(["gg","GG"],(function(e,t,n,r){t[r]=s.parseTwoDigitYear(e)})),E("Q",0,"Qo","quarter"),W("quarter","Q"),J("quarter",7),he("Q",X),Me("Q",(function(e,t){t[1]=3*(B(e)-1)})),E("D",["DD",2],"Do","date"),W("date","D"),J("date",9),he("D",re),he("DD",re,Q),he("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Me(["D","DD"],2),Me("Do",(function(e,t){t[2]=B(e.match(re)[0])}));var cn=G("Date",!0);E("DDD",["DDDD",3],"DDDo","dayOfYear"),W("dayOfYear","DDD"),J("dayOfYear",4),he("DDD",oe),he("DDDD",ee),Me(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=B(e)})),E("m",["mm",2],0,"minute"),W("minute","m"),J("minute",14),he("m",re),he("mm",re,Q),Me(["m","mm"],4);var mn=G("Minutes",!1);E("s",["ss",2],0,"second"),W("second","s"),J("second",15),he("s",re),he("ss",re,Q),Me(["s","ss"],5);var _n,hn,pn=G("Seconds",!1);for(E("S",0,0,(function(){return~~(this.millisecond()/100)})),E(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),E(0,["SSS",3],0,"millisecond"),E(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),E(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),E(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),E(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),E(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),E(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),W("millisecond","ms"),J("millisecond",16),he("S",oe,X),he("SS",oe,Q),he("SSS",oe,ee),_n="SSSS";_n.length<=9;_n+="S")he(_n,le);function fn(e,t){t[6]=B(1e3*("0."+e))}for(_n="S";_n.length<=9;_n+="S")Me(_n,fn);hn=G("Milliseconds",!1),E("z",0,0,"zoneAbbr"),E("zz",0,0,"zoneName");var vn=L.prototype;function yn(e){return e}vn.add=Bt,vn.calendar=function(e,t){1===arguments.length&&(Kt(arguments[0])?(e=arguments[0],t=void 0):Zt(arguments[0])&&(t=arguments[0],e=void 0));var n=e||Dt(),r=Rt(n,this).startOf("day"),a=s.calendarFormat(this,r)||"sameElse",o=t&&(j(t[a])?t[a].call(this,n):t[a]);return this.format(o||this.localeData().calendar(a,this,Dt(n)))},vn.clone=function(){return new L(this)},vn.diff=function(e,t,n){var r,s,a;if(!this.isValid())return NaN;if(!(r=Rt(e,this)).isValid())return NaN;switch(s=6e4*(r.utcOffset()-this.utcOffset()),t=$(t)){case"year":a=Xt(this,r)/12;break;case"month":a=Xt(this,r);break;case"quarter":a=Xt(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-s)/864e5;break;case"week":a=(this-r-s)/6048e5;break;default:a=this-r}return n?a:V(a)},vn.endOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:rn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}return this._d.setTime(t),s.updateOffset(this,!0),this},vn.format=function(e){e||(e=this.isUtc()?s.defaultFormatUtc:s.defaultFormat);var t=R(this,e);return this.localeData().postformat(t)},vn.from=function(e,t){return this.isValid()&&(Y(e)&&e.isValid()||Dt(e).isValid())?It({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vn.fromNow=function(e){return this.from(Dt(),e)},vn.to=function(e,t){return this.isValid()&&(Y(e)&&e.isValid()||Dt(e).isValid())?It({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vn.toNow=function(e){return this.to(Dt(),e)},vn.get=function(e){return j(this[e=$(e)])?this[e]():this},vn.invalidAt=function(){return p(this).overflow},vn.isAfter=function(e,t){var n=Y(e)?e:Dt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?R(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):j(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",R(n,"Z")):R(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},vn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",s="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",s="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=s+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(vn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),vn.toJSON=function(){return this.isValid()?this.toISOString():null},vn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},vn.unix=function(){return Math.floor(this.valueOf()/1e3)},vn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},vn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},vn.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},vn.isLocal=function(){return!!this.isValid()&&!this._isUTC},vn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},vn.isUtc=Nt,vn.isUTC=Nt,vn.zoneAbbr=function(){return this._isUTC?"UTC":""},vn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},vn.dates=k("dates accessor is deprecated. Use date instead.",cn),vn.months=k("months accessor is deprecated. Use month instead",xe),vn.years=k("years accessor is deprecated. Use year instead",Oe),vn.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),vn.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e,t={};return g(t,this),(t=kt(t))._a?(e=t._isUTC?h(t._a):Dt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,s=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(r=0;r0):this._isDSTShifted=!1,this._isDSTShifted}));var Mn=x.prototype;function gn(e,t,n,r){var s=dt(),a=h().set(r,t);return s[n](a,e)}function Ln(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return gn(e,t,n,"month");var r,s=[];for(r=0;r<12;r++)s[r]=gn(e,r,n,"month");return s}function Yn(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var s,a=dt(),o=e?a._week.dow:0,i=[];if(null!=n)return gn(t,(n+o)%7,r,"day");for(s=0;s<7;s++)i[s]=gn(t,(s+o)%7,r,"day");return i}Mn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return j(r)?r.call(t,n):r},Mn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(C).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},Mn.invalidDate=function(){return this._invalidDate},Mn.ordinal=function(e){return this._ordinal.replace("%d",e)},Mn.preparse=yn,Mn.postformat=yn,Mn.relativeTime=function(e,t,n,r){var s=this._relativeTime[n];return j(s)?s(e,t,n,r):s.replace(/%d/i,e)},Mn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return j(n)?n(t):n.replace(/%s/i,t)},Mn.set=function(e){var t,n;for(n in e)i(e,n)&&(j(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Mn.eras=function(e,t){var n,r,a,o=this._eras||dt("en")._eras;for(n=0,r=o.length;n=0)return d[r]},Mn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?s(e.since).year():s(e.since).year()+(t-e.offset)*n},Mn.erasAbbrRegex=function(e){return i(this,"_erasAbbrRegex")||on.call(this),e?this._erasAbbrRegex:this._erasRegex},Mn.erasNameRegex=function(e){return i(this,"_erasNameRegex")||on.call(this),e?this._erasNameRegex:this._erasRegex},Mn.erasNarrowRegex=function(e){return i(this,"_erasNarrowRegex")||on.call(this),e?this._erasNarrowRegex:this._erasRegex},Mn.months=function(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||we).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone},Mn.monthsShort=function(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[we.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Mn.monthsParse=function(e,t,n){var r,s,a;if(this._monthsParseExact)return je.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(s=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},Mn.monthsRegex=function(e){return this._monthsParseExact?(i(this,"_monthsRegex")||He.call(this),e?this._monthsStrictRegex:this._monthsRegex):(i(this,"_monthsRegex")||(this._monthsRegex=Te),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Mn.monthsShortRegex=function(e){return this._monthsParseExact?(i(this,"_monthsRegex")||He.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(i(this,"_monthsShortRegex")||(this._monthsShortRegex=De),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Mn.week=function(e){return Fe(e,this._week.dow,this._week.doy).week},Mn.firstDayOfYear=function(){return this._week.doy},Mn.firstDayOfWeek=function(){return this._week.dow},Mn.weekdays=function(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?We(n,this._week.dow):e?n[e.day()]:n},Mn.weekdaysMin=function(e){return!0===e?We(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Mn.weekdaysShort=function(e){return!0===e?We(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Mn.weekdaysParse=function(e,t,n){var r,s,a;if(this._weekdaysParseExact)return Be.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(s=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},Mn.weekdaysRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(i(this,"_weekdaysRegex")||(this._weekdaysRegex=Je),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Mn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(i(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ue),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Mn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(i(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ve),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Mn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Mn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ot("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===B(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),s.lang=k("moment.lang is deprecated. Use moment.locale instead.",ot),s.langData=k("moment.langData is deprecated. Use moment.localeData instead.",dt);var bn=Math.abs;function kn(e,t,n,r){var s=It(t,n);return e._milliseconds+=r*s._milliseconds,e._days+=r*s._days,e._months+=r*s._months,e._bubble()}function wn(e){return e<0?Math.floor(e):Math.ceil(e)}function Dn(e){return 4800*e/146097}function Tn(e){return 146097*e/4800}function jn(e){return function(){return this.as(e)}}var Sn=jn("ms"),xn=jn("s"),Hn=jn("m"),Cn=jn("h"),On=jn("d"),Pn=jn("w"),An=jn("M"),En=jn("Q"),Rn=jn("y");function Fn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Nn=Fn("milliseconds"),Wn=Fn("seconds"),$n=Fn("minutes"),In=Fn("hours"),zn=Fn("days"),Jn=Fn("months"),Un=Fn("years"),Vn=Math.round,Bn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gn(e,t,n,r,s){return s.relativeTime(t||1,!!n,e,r)}var qn=Math.abs;function Kn(e){return(e>0)-(e<0)||+e}function Zn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,s,a,o,i,d=qn(this._milliseconds)/1e3,l=qn(this._days),u=qn(this._months),c=this.asSeconds();return c?(e=V(d/60),t=V(e/60),d%=60,e%=60,n=V(u/12),u%=12,r=d?d.toFixed(3).replace(/\.?0+$/,""):"",s=c<0?"-":"",a=Kn(this._months)!==Kn(c)?"-":"",o=Kn(this._days)!==Kn(c)?"-":"",i=Kn(this._milliseconds)!==Kn(c)?"-":"",s+"P"+(n?a+n+"Y":"")+(u?a+u+"M":"")+(l?o+l+"D":"")+(t||e||d?"T":"")+(t?i+t+"H":"")+(e?i+e+"M":"")+(d?i+r+"S":"")):"P0D"}var Xn=Ht.prototype;return Xn.isValid=function(){return this._isValid},Xn.abs=function(){var e=this._data;return this._milliseconds=bn(this._milliseconds),this._days=bn(this._days),this._months=bn(this._months),e.milliseconds=bn(e.milliseconds),e.seconds=bn(e.seconds),e.minutes=bn(e.minutes),e.hours=bn(e.hours),e.months=bn(e.months),e.years=bn(e.years),this},Xn.add=function(e,t){return kn(this,e,t,1)},Xn.subtract=function(e,t){return kn(this,e,t,-1)},Xn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=$(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Dn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Tn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Xn.asMilliseconds=Sn,Xn.asSeconds=xn,Xn.asMinutes=Hn,Xn.asHours=Cn,Xn.asDays=On,Xn.asWeeks=Pn,Xn.asMonths=An,Xn.asQuarters=En,Xn.asYears=Rn,Xn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*B(this._months/12):NaN},Xn._bubble=function(){var e,t,n,r,s,a=this._milliseconds,o=this._days,i=this._months,d=this._data;return a>=0&&o>=0&&i>=0||a<=0&&o<=0&&i<=0||(a+=864e5*wn(Tn(i)+o),o=0,i=0),d.milliseconds=a%1e3,e=V(a/1e3),d.seconds=e%60,t=V(e/60),d.minutes=t%60,n=V(t/60),d.hours=n%24,o+=V(n/24),s=V(Dn(o)),i+=s,o-=wn(Tn(s)),r=V(i/12),i%=12,d.days=o,d.months=i,d.years=r,this},Xn.clone=function(){return It(this)},Xn.get=function(e){return e=$(e),this.isValid()?this[e+"s"]():NaN},Xn.milliseconds=Nn,Xn.seconds=Wn,Xn.minutes=$n,Xn.hours=In,Xn.days=zn,Xn.weeks=function(){return V(this.days()/7)},Xn.months=Jn,Xn.years=Un,Xn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,s=!1,a=Bn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(s=e),"object"==typeof t&&(a=Object.assign({},Bn,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),n=this.localeData(),r=function(e,t,n,r){var s=It(e).abs(),a=Vn(s.as("s")),o=Vn(s.as("m")),i=Vn(s.as("h")),d=Vn(s.as("d")),l=Vn(s.as("M")),u=Vn(s.as("w")),c=Vn(s.as("y")),m=a<=n.ss&&["s",a]||a0,m[4]=r,Gn.apply(null,m)}(this,!s,a,n),s&&(r=n.pastFuture(+this,r)),n.postformat(r)},Xn.toISOString=Zn,Xn.toString=Zn,Xn.toJSON=Zn,Xn.locale=Qt,Xn.localeData=tn,Xn.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Zn),Xn.lang=en,E("X",0,0,"unix"),E("x",0,0,"valueOf"),he("x",ue),he("X",/[+-]?\d+(\.\d{1,3})?/),Me("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Me("x",(function(e,t,n){n._d=new Date(B(e))})), +e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n("./node_modules/moment/moment.js"))},"./node_modules/moment/moment.js":function(e,t,n){(function(e){e.exports=function(){"use strict";var t,r;function s(){return t.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(i(e,t))return!1;return!0}function l(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function m(e,t){var n,r=[];for(n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+r}s.suppressDeprecationWarnings=!1,s.deprecationHandler=null,w=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)i(e,t)&&n.push(t);return n};var C=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,O=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},A={};function E(e,t,n,r){var s=r;"string"==typeof r&&(s=function(){return this[r]()}),e&&(A[e]=s),t&&(A[t[0]]=function(){return H(s.apply(this,arguments),t[1],t[2])}),n&&(A[n]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function R(e,t){return e.isValid()?(t=F(t,e.localeData()),P[t]=P[t]||function(e){var t,n,r,s=e.match(C);for(t=0,n=s.length;t=0&&O.test(e);)e=e.replace(O,r),O.lastIndex=0,n-=1;return e}var N={};function W(e,t){var n=e.toLowerCase();N[n]=N[n+"s"]=N[t]=e}function $(e){return"string"==typeof e?N[e]||N[e.toLowerCase()]:void 0}function I(e){var t,n,r={};for(n in e)i(e,n)&&(t=$(n))&&(r[t]=e[n]);return r}var z={};function J(e,t){z[e]=t}function U(e){return e%4==0&&e%100!=0||e%400==0}function V(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function B(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=V(t)),n}function G(e,t){return function(n){return null!=n?(K(this,e,n),s.updateOffset(this,t),this):q(this,e)}}function q(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function K(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&U(e.year())&&1===e.month()&&29===e.date()?(n=B(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ye(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Z,X=/\d/,Q=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ne=/[+-]?\d{6}/,re=/\d\d?/,se=/\d\d\d\d?/,ae=/\d\d\d\d\d\d?/,oe=/\d{1,3}/,ie=/\d{1,4}/,de=/[+-]?\d{1,6}/,le=/\d+/,ue=/[+-]?\d+/,ce=/Z|[+-]\d\d:?\d\d/gi,me=/Z|[+-]\d\d(?::?\d\d)?/gi,_e=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function he(e,t,n){Z[e]=j(t)?t:function(e,r){return e&&n?n:t}}function pe(e,t){return i(Z,e)?Z[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,s){return t||n||r||s}))))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Z={};var ve,ye={};function ge(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),u(t)&&(r=function(e,n){n[t]=B(e)}),n=0;n68?1900:2e3)};var Oe=G("FullYear",!0);function Pe(e,t,n,r,s,a,o){var i;return e<100&&e>=0?(i=new Date(e+400,t,n,r,s,a,o),isFinite(i.getFullYear())&&i.setFullYear(e)):i=new Date(e,t,n,r,s,a,o),i}function Ae(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ee(e,t,n){var r=7+t-n;return-(7+Ae(e,0,r).getUTCDay()-t)%7+r-1}function Re(e,t,n,r,s){var a,o,i=1+7*(t-1)+(7+n-r)%7+Ee(e,r,s);return i<=0?o=Ce(a=e-1)+i:i>Ce(e)?(a=e+1,o=i-Ce(e)):(a=e,o=i),{year:a,dayOfYear:o}}function Fe(e,t,n){var r,s,a=Ee(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?r=o+Ne(s=e.year()-1,t,n):o>Ne(e.year(),t,n)?(r=o-Ne(e.year(),t,n),s=e.year()+1):(s=e.year(),r=o),{week:r,year:s}}function Ne(e,t,n){var r=Ee(e,t,n),s=Ee(e+1,t,n);return(Ce(e)-r+s)/7}function We(e,t){return e.slice(t,7).concat(e.slice(0,t))}E("w",["ww",2],"wo","week"),E("W",["WW",2],"Wo","isoWeek"),W("week","w"),W("isoWeek","W"),J("week",5),J("isoWeek",5),he("w",re),he("ww",re,Q),he("W",re),he("WW",re,Q),Me(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=B(e)})),E("d",0,"do","day"),E("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),E("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),E("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),E("e",0,0,"weekday"),E("E",0,0,"isoWeekday"),W("day","d"),W("weekday","e"),W("isoWeekday","E"),J("day",11),J("weekday",11),J("isoWeekday",11),he("d",re),he("e",re),he("E",re),he("dd",(function(e,t){return t.weekdaysMinRegex(e)})),he("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),he("dddd",(function(e,t){return t.weekdaysRegex(e)})),Me(["dd","ddd","dddd"],(function(e,t,n,r){var s=n._locale.weekdaysParse(e,r,n._strict);null!=s?t.d=s:p(n).invalidWeekday=e})),Me(["d","e","E"],(function(e,t,n,r){t[r]=B(e)}));var $e="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ie="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Je=_e,Ue=_e,Ve=_e;function Be(e,t,n){var r,s,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(s=ve.call(this._weekdaysParse,o))?s:null:"ddd"===t?-1!==(s=ve.call(this._shortWeekdaysParse,o))?s:null:-1!==(s=ve.call(this._minWeekdaysParse,o))?s:null:"dddd"===t?-1!==(s=ve.call(this._weekdaysParse,o))||-1!==(s=ve.call(this._shortWeekdaysParse,o))||-1!==(s=ve.call(this._minWeekdaysParse,o))?s:null:"ddd"===t?-1!==(s=ve.call(this._shortWeekdaysParse,o))||-1!==(s=ve.call(this._weekdaysParse,o))||-1!==(s=ve.call(this._minWeekdaysParse,o))?s:null:-1!==(s=ve.call(this._minWeekdaysParse,o))||-1!==(s=ve.call(this._weekdaysParse,o))||-1!==(s=ve.call(this._shortWeekdaysParse,o))?s:null}function Ge(){function e(e,t){return t.length-e.length}var t,n,r,s,a,o=[],i=[],d=[],l=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=fe(this.weekdaysMin(n,"")),s=fe(this.weekdaysShort(n,"")),a=fe(this.weekdays(n,"")),o.push(r),i.push(s),d.push(a),l.push(r),l.push(s),l.push(a);o.sort(e),i.sort(e),d.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function qe(){return this.hours()%12||12}function Ke(e,t){E(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ze(e,t){return t._meridiemParse}E("H",["HH",2],0,"hour"),E("h",["hh",2],0,qe),E("k",["kk",2],0,(function(){return this.hours()||24})),E("hmm",0,0,(function(){return""+qe.apply(this)+H(this.minutes(),2)})),E("hmmss",0,0,(function(){return""+qe.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)})),E("Hmm",0,0,(function(){return""+this.hours()+H(this.minutes(),2)})),E("Hmmss",0,0,(function(){return""+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)})),Ke("a",!0),Ke("A",!1),W("hour","h"),J("hour",13),he("a",Ze),he("A",Ze),he("H",re),he("h",re),he("k",re),he("HH",re,Q),he("hh",re,Q),he("kk",re,Q),he("hmm",se),he("hmmss",ae),he("Hmm",se),he("Hmmss",ae),ge(["H","HH"],3),ge(["k","kk"],(function(e,t,n){var r=B(e);t[3]=24===r?0:r})),ge(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ge(["h","hh"],(function(e,t,n){t[3]=B(e),p(n).bigHour=!0})),ge("hmm",(function(e,t,n){var r=e.length-2;t[3]=B(e.substr(0,r)),t[4]=B(e.substr(r)),p(n).bigHour=!0})),ge("hmmss",(function(e,t,n){var r=e.length-4,s=e.length-2;t[3]=B(e.substr(0,r)),t[4]=B(e.substr(r,2)),t[5]=B(e.substr(s)),p(n).bigHour=!0})),ge("Hmm",(function(e,t,n){var r=e.length-2;t[3]=B(e.substr(0,r)),t[4]=B(e.substr(r))})),ge("Hmmss",(function(e,t,n){var r=e.length-4,s=e.length-2;t[3]=B(e.substr(0,r)),t[4]=B(e.substr(r,2)),t[5]=B(e.substr(s))}));var Xe,Qe=G("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:be,monthsShort:ke,week:{dow:0,doy:6},weekdays:$e,weekdaysMin:ze,weekdaysShort:Ie,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function rt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(r=at(s.slice(0,t).join("-")))return r;if(n&&n.length>=t&&rt(s,n)>=t-1)break;t--}a++}return Xe}(e)}function lt(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Ye(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,p(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),p(e)._overflowWeeks&&-1===t&&(t=7),p(e)._overflowWeekday&&-1===t&&(t=8),p(e).overflow=t),e}var ut=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ct=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mt=/Z|[+-]\d\d(?::?\d\d)?/,_t=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ht=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],pt=/^\/?Date\((-?\d+)/i,ft=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,vt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function yt(e){var t,n,r,s,a,o,i=e._i,d=ut.exec(i)||ct.exec(i);if(d){for(p(e).iso=!0,t=0,n=_t.length;t7)&&(d=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,l=Fe(Dt(),a,o),n=Lt(t.gg,e._a[0],l.year),r=Lt(t.w,l.week),null!=t.d?((s=t.d)<0||s>6)&&(d=!0):null!=t.e?(s=t.e+a,(t.e<0||t.e>6)&&(d=!0)):s=a),r<1||r>Ne(n,a,o)?p(e)._overflowWeeks=!0:null!=d?p(e)._overflowWeekday=!0:(i=Re(n,r,s,a,o),e._a[0]=i.year,e._dayOfYear=i.dayOfYear)}(e),null!=e._dayOfYear&&(o=Lt(e._a[0],r[0]),(e._dayOfYear>Ce(o)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Ae(o,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=i[t]=r[t];for(;t<7;t++)e._a[t]=i[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Ae:Pe).apply(null,i),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(p(e).weekdayMismatch=!0)}}function bt(e){if(e._f!==s.ISO_8601)if(e._f!==s.RFC_2822){e._a=[],p(e).empty=!0;var t,n,r,a,o,i,d=""+e._i,l=d.length,u=0;for(r=F(e._f,e._locale).match(C)||[],t=0;t0&&p(e).unusedInput.push(o),d=d.slice(d.indexOf(n)+n.length),u+=n.length),A[a]?(n?p(e).empty=!1:p(e).unusedTokens.push(a),Le(a,n,e)):e._strict&&!n&&p(e).unusedTokens.push(a);p(e).charsLeftOver=l-u,d.length>0&&p(e).unusedInput.push(d),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(i=p(e).era)&&(e._a[0]=e._locale.erasConvertYear(i,e._a[0])),Yt(e),lt(e)}else Mt(e);else yt(e)}function kt(e){var t=e._i,n=e._f;return e._locale=e._locale||dt(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),Y(t)?new L(lt(t)):(c(t)?e._d=t:a(n)?function(e){var t,n,r,s,a,o,i=!1;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(s=0;sthis?this:e:v()}));function St(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Dt();for(n=t[0],r=1;r=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function sn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function on(){var e,t,n=[],r=[],s=[],a=[],o=this.eras();for(e=0,t=o.length;e(a=Ne(e,r,s))&&(t=a),un.call(this,e,t,n,r,s))}function un(e,t,n,r,s){var a=Re(e,t,n,r,s),o=Ae(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}E("N",0,0,"eraAbbr"),E("NN",0,0,"eraAbbr"),E("NNN",0,0,"eraAbbr"),E("NNNN",0,0,"eraName"),E("NNNNN",0,0,"eraNarrow"),E("y",["y",1],"yo","eraYear"),E("y",["yy",2],0,"eraYear"),E("y",["yyy",3],0,"eraYear"),E("y",["yyyy",4],0,"eraYear"),he("N",an),he("NN",an),he("NNN",an),he("NNNN",(function(e,t){return t.erasNameRegex(e)})),he("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ge(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var s=n._locale.erasParse(e,r,n._strict);s?p(n).era=s:p(n).invalidEra=e})),he("y",le),he("yy",le),he("yyy",le),he("yyyy",le),he("yo",(function(e,t){return t._eraYearOrdinalRegex||le})),ge(["y","yy","yyy","yyyy"],0),ge(["yo"],(function(e,t,n,r){var s;n._locale._eraYearOrdinalRegex&&(s=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,s):t[0]=parseInt(e,10)})),E(0,["gg",2],0,(function(){return this.weekYear()%100})),E(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),dn("gggg","weekYear"),dn("ggggg","weekYear"),dn("GGGG","isoWeekYear"),dn("GGGGG","isoWeekYear"),W("weekYear","gg"),W("isoWeekYear","GG"),J("weekYear",1),J("isoWeekYear",1),he("G",ue),he("g",ue),he("GG",re,Q),he("gg",re,Q),he("GGGG",ie,te),he("gggg",ie,te),he("GGGGG",de,ne),he("ggggg",de,ne),Me(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=B(e)})),Me(["gg","GG"],(function(e,t,n,r){t[r]=s.parseTwoDigitYear(e)})),E("Q",0,"Qo","quarter"),W("quarter","Q"),J("quarter",7),he("Q",X),ge("Q",(function(e,t){t[1]=3*(B(e)-1)})),E("D",["DD",2],"Do","date"),W("date","D"),J("date",9),he("D",re),he("DD",re,Q),he("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ge(["D","DD"],2),ge("Do",(function(e,t){t[2]=B(e.match(re)[0])}));var cn=G("Date",!0);E("DDD",["DDDD",3],"DDDo","dayOfYear"),W("dayOfYear","DDD"),J("dayOfYear",4),he("DDD",oe),he("DDDD",ee),ge(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=B(e)})),E("m",["mm",2],0,"minute"),W("minute","m"),J("minute",14),he("m",re),he("mm",re,Q),ge(["m","mm"],4);var mn=G("Minutes",!1);E("s",["ss",2],0,"second"),W("second","s"),J("second",15),he("s",re),he("ss",re,Q),ge(["s","ss"],5);var _n,hn,pn=G("Seconds",!1);for(E("S",0,0,(function(){return~~(this.millisecond()/100)})),E(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),E(0,["SSS",3],0,"millisecond"),E(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),E(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),E(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),E(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),E(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),E(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),W("millisecond","ms"),J("millisecond",16),he("S",oe,X),he("SS",oe,Q),he("SSS",oe,ee),_n="SSSS";_n.length<=9;_n+="S")he(_n,le);function fn(e,t){t[6]=B(1e3*("0."+e))}for(_n="S";_n.length<=9;_n+="S")ge(_n,fn);hn=G("Milliseconds",!1),E("z",0,0,"zoneAbbr"),E("zz",0,0,"zoneName");var vn=L.prototype;function yn(e){return e}vn.add=Bt,vn.calendar=function(e,t){1===arguments.length&&(Kt(arguments[0])?(e=arguments[0],t=void 0):Zt(arguments[0])&&(t=arguments[0],e=void 0));var n=e||Dt(),r=Rt(n,this).startOf("day"),a=s.calendarFormat(this,r)||"sameElse",o=t&&(j(t[a])?t[a].call(this,n):t[a]);return this.format(o||this.localeData().calendar(a,this,Dt(n)))},vn.clone=function(){return new L(this)},vn.diff=function(e,t,n){var r,s,a;if(!this.isValid())return NaN;if(!(r=Rt(e,this)).isValid())return NaN;switch(s=6e4*(r.utcOffset()-this.utcOffset()),t=$(t)){case"year":a=Xt(this,r)/12;break;case"month":a=Xt(this,r);break;case"quarter":a=Xt(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-s)/864e5;break;case"week":a=(this-r-s)/6048e5;break;default:a=this-r}return n?a:V(a)},vn.endOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?sn:rn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}return this._d.setTime(t),s.updateOffset(this,!0),this},vn.format=function(e){e||(e=this.isUtc()?s.defaultFormatUtc:s.defaultFormat);var t=R(this,e);return this.localeData().postformat(t)},vn.from=function(e,t){return this.isValid()&&(Y(e)&&e.isValid()||Dt(e).isValid())?It({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vn.fromNow=function(e){return this.from(Dt(),e)},vn.to=function(e,t){return this.isValid()&&(Y(e)&&e.isValid()||Dt(e).isValid())?It({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vn.toNow=function(e){return this.to(Dt(),e)},vn.get=function(e){return j(this[e=$(e)])?this[e]():this},vn.invalidAt=function(){return p(this).overflow},vn.isAfter=function(e,t){var n=Y(e)?e:Dt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?R(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):j(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",R(n,"Z")):R(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},vn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",s="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",s="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=s+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(vn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),vn.toJSON=function(){return this.isValid()?this.toISOString():null},vn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},vn.unix=function(){return Math.floor(this.valueOf()/1e3)},vn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},vn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},vn.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},vn.isLocal=function(){return!!this.isValid()&&!this._isUTC},vn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},vn.isUtc=Nt,vn.isUTC=Nt,vn.zoneAbbr=function(){return this._isUTC?"UTC":""},vn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},vn.dates=k("dates accessor is deprecated. Use date instead.",cn),vn.months=k("months accessor is deprecated. Use month instead",xe),vn.years=k("years accessor is deprecated. Use year instead",Oe),vn.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),vn.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e,t={};return M(t,this),(t=kt(t))._a?(e=t._isUTC?h(t._a):Dt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,s=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(r=0;r0):this._isDSTShifted=!1,this._isDSTShifted}));var gn=x.prototype;function Mn(e,t,n,r){var s=dt(),a=h().set(r,t);return s[n](a,e)}function Ln(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return Mn(e,t,n,"month");var r,s=[];for(r=0;r<12;r++)s[r]=Mn(e,r,n,"month");return s}function Yn(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var s,a=dt(),o=e?a._week.dow:0,i=[];if(null!=n)return Mn(t,(n+o)%7,r,"day");for(s=0;s<7;s++)i[s]=Mn(t,(s+o)%7,r,"day");return i}gn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return j(r)?r.call(t,n):r},gn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(C).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},gn.invalidDate=function(){return this._invalidDate},gn.ordinal=function(e){return this._ordinal.replace("%d",e)},gn.preparse=yn,gn.postformat=yn,gn.relativeTime=function(e,t,n,r){var s=this._relativeTime[n];return j(s)?s(e,t,n,r):s.replace(/%d/i,e)},gn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return j(n)?n(t):n.replace(/%s/i,t)},gn.set=function(e){var t,n;for(n in e)i(e,n)&&(j(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},gn.eras=function(e,t){var n,r,a,o=this._eras||dt("en")._eras;for(n=0,r=o.length;n=0)return d[r]},gn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?s(e.since).year():s(e.since).year()+(t-e.offset)*n},gn.erasAbbrRegex=function(e){return i(this,"_erasAbbrRegex")||on.call(this),e?this._erasAbbrRegex:this._erasRegex},gn.erasNameRegex=function(e){return i(this,"_erasNameRegex")||on.call(this),e?this._erasNameRegex:this._erasRegex},gn.erasNarrowRegex=function(e){return i(this,"_erasNarrowRegex")||on.call(this),e?this._erasNarrowRegex:this._erasRegex},gn.months=function(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||we).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone},gn.monthsShort=function(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[we.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},gn.monthsParse=function(e,t,n){var r,s,a;if(this._monthsParseExact)return je.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(s=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},gn.monthsRegex=function(e){return this._monthsParseExact?(i(this,"_monthsRegex")||He.call(this),e?this._monthsStrictRegex:this._monthsRegex):(i(this,"_monthsRegex")||(this._monthsRegex=Te),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},gn.monthsShortRegex=function(e){return this._monthsParseExact?(i(this,"_monthsRegex")||He.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(i(this,"_monthsShortRegex")||(this._monthsShortRegex=De),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},gn.week=function(e){return Fe(e,this._week.dow,this._week.doy).week},gn.firstDayOfYear=function(){return this._week.doy},gn.firstDayOfWeek=function(){return this._week.dow},gn.weekdays=function(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?We(n,this._week.dow):e?n[e.day()]:n},gn.weekdaysMin=function(e){return!0===e?We(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},gn.weekdaysShort=function(e){return!0===e?We(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},gn.weekdaysParse=function(e,t,n){var r,s,a;if(this._weekdaysParseExact)return Be.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(s=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},gn.weekdaysRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(i(this,"_weekdaysRegex")||(this._weekdaysRegex=Je),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},gn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(i(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ue),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},gn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(i(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ve),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},gn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},gn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ot("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===B(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),s.lang=k("moment.lang is deprecated. Use moment.locale instead.",ot),s.langData=k("moment.langData is deprecated. Use moment.localeData instead.",dt);var bn=Math.abs;function kn(e,t,n,r){var s=It(t,n);return e._milliseconds+=r*s._milliseconds,e._days+=r*s._days,e._months+=r*s._months,e._bubble()}function wn(e){return e<0?Math.floor(e):Math.ceil(e)}function Dn(e){return 4800*e/146097}function Tn(e){return 146097*e/4800}function jn(e){return function(){return this.as(e)}}var Sn=jn("ms"),xn=jn("s"),Hn=jn("m"),Cn=jn("h"),On=jn("d"),Pn=jn("w"),An=jn("M"),En=jn("Q"),Rn=jn("y");function Fn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Nn=Fn("milliseconds"),Wn=Fn("seconds"),$n=Fn("minutes"),In=Fn("hours"),zn=Fn("days"),Jn=Fn("months"),Un=Fn("years"),Vn=Math.round,Bn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gn(e,t,n,r,s){return s.relativeTime(t||1,!!n,e,r)}var qn=Math.abs;function Kn(e){return(e>0)-(e<0)||+e}function Zn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,s,a,o,i,d=qn(this._milliseconds)/1e3,l=qn(this._days),u=qn(this._months),c=this.asSeconds();return c?(e=V(d/60),t=V(e/60),d%=60,e%=60,n=V(u/12),u%=12,r=d?d.toFixed(3).replace(/\.?0+$/,""):"",s=c<0?"-":"",a=Kn(this._months)!==Kn(c)?"-":"",o=Kn(this._days)!==Kn(c)?"-":"",i=Kn(this._milliseconds)!==Kn(c)?"-":"",s+"P"+(n?a+n+"Y":"")+(u?a+u+"M":"")+(l?o+l+"D":"")+(t||e||d?"T":"")+(t?i+t+"H":"")+(e?i+e+"M":"")+(d?i+r+"S":"")):"P0D"}var Xn=Ht.prototype;return Xn.isValid=function(){return this._isValid},Xn.abs=function(){var e=this._data;return this._milliseconds=bn(this._milliseconds),this._days=bn(this._days),this._months=bn(this._months),e.milliseconds=bn(e.milliseconds),e.seconds=bn(e.seconds),e.minutes=bn(e.minutes),e.hours=bn(e.hours),e.months=bn(e.months),e.years=bn(e.years),this},Xn.add=function(e,t){return kn(this,e,t,1)},Xn.subtract=function(e,t){return kn(this,e,t,-1)},Xn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=$(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Dn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Tn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Xn.asMilliseconds=Sn,Xn.asSeconds=xn,Xn.asMinutes=Hn,Xn.asHours=Cn,Xn.asDays=On,Xn.asWeeks=Pn,Xn.asMonths=An,Xn.asQuarters=En,Xn.asYears=Rn,Xn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*B(this._months/12):NaN},Xn._bubble=function(){var e,t,n,r,s,a=this._milliseconds,o=this._days,i=this._months,d=this._data;return a>=0&&o>=0&&i>=0||a<=0&&o<=0&&i<=0||(a+=864e5*wn(Tn(i)+o),o=0,i=0),d.milliseconds=a%1e3,e=V(a/1e3),d.seconds=e%60,t=V(e/60),d.minutes=t%60,n=V(t/60),d.hours=n%24,o+=V(n/24),s=V(Dn(o)),i+=s,o-=wn(Tn(s)),r=V(i/12),i%=12,d.days=o,d.months=i,d.years=r,this},Xn.clone=function(){return It(this)},Xn.get=function(e){return e=$(e),this.isValid()?this[e+"s"]():NaN},Xn.milliseconds=Nn,Xn.seconds=Wn,Xn.minutes=$n,Xn.hours=In,Xn.days=zn,Xn.weeks=function(){return V(this.days()/7)},Xn.months=Jn,Xn.years=Un,Xn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,s=!1,a=Bn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(s=e),"object"==typeof t&&(a=Object.assign({},Bn,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),n=this.localeData(),r=function(e,t,n,r){var s=It(e).abs(),a=Vn(s.as("s")),o=Vn(s.as("m")),i=Vn(s.as("h")),d=Vn(s.as("d")),l=Vn(s.as("M")),u=Vn(s.as("w")),c=Vn(s.as("y")),m=a<=n.ss&&["s",a]||a0,m[4]=r,Gn.apply(null,m)}(this,!s,a,n),s&&(r=n.pastFuture(+this,r)),n.postformat(r)},Xn.toISOString=Zn,Xn.toString=Zn,Xn.toJSON=Zn,Xn.locale=Qt,Xn.localeData=tn,Xn.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Zn),Xn.lang=en,E("X",0,0,"unix"),E("x",0,0,"valueOf"),he("x",ue),he("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ge("x",(function(e,t,n){n._d=new Date(B(e))})), //! moment.js -s.version="2.25.3",t=Dt,s.fn=vn,s.min=function(){var e=[].slice.call(arguments,0);return St("isBefore",e)},s.max=function(){var e=[].slice.call(arguments,0);return St("isAfter",e)},s.now=function(){return Date.now?Date.now():+new Date},s.utc=h,s.unix=function(e){return Dt(1e3*e)},s.months=function(e,t){return Ln(e,t,"months")},s.isDate=c,s.locale=ot,s.invalid=v,s.duration=It,s.isMoment=Y,s.weekdays=function(e,t,n){return Yn(e,t,n,"weekdays")},s.parseZone=function(){return Dt.apply(null,arguments).parseZone()},s.localeData=dt,s.isDuration=Ct,s.monthsShort=function(e,t){return Ln(e,t,"monthsShort")},s.weekdaysMin=function(e,t,n){return Yn(e,t,n,"weekdaysMin")},s.defineLocale=it,s.updateLocale=function(e,t){if(null!=t){var n,r,s=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(S(tt[e]._config,t)):(null!=(r=at(e))&&(s=r._config),t=S(s,t),null==r&&(t.abbr=e),(n=new x(t)).parentLocale=tt[e],tt[e]=n),ot(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===ot()&&ot(e)):null!=tt[e]&&delete tt[e]);return tt[e]},s.locales=function(){return w(tt)},s.weekdaysShort=function(e,t,n){return Yn(e,t,n,"weekdaysShort")},s.normalizeUnits=$,s.relativeTimeRounding=function(e){return void 0===e?Vn:"function"==typeof e&&(Vn=e,!0)},s.relativeTimeThreshold=function(e,t){return void 0!==Bn[e]&&(void 0===t?Bn[e]:(Bn[e]=t,"s"===e&&(Bn.ss=t-1),!0))},s.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},s.prototype=vn,s.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},s}()}).call(this,n("./node_modules/webpack/buildin/module.js")(e))},"./node_modules/process/browser.js":function(e,t){var n,r,s=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var d,l=[],u=!1,c=-1;function m(){u&&d&&(u=!1,d.length?l=d.concat(l):c=-1,l.length&&_())}function _(){if(!u){var e=i(m);u=!0;for(var t=l.length;t;){for(d=l,l=[];++c1)for(var n=1;n=0;--s){var a=this.tryEntries[s],o=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var i=n.call(a,"catchLoc"),d=n.call(a,"finallyLoc");if(i&&d){if(this.prev=0;--r){var s=this.tryEntries[r];if(s.tryLoc<=this.prev&&n.call(s,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var s=r.arg;L(n)}return s}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:b(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},"./node_modules/rematrix/dist/rematrix.es.js":function(e,t,n){"use strict"; +s.version="2.25.3",t=Dt,s.fn=vn,s.min=function(){var e=[].slice.call(arguments,0);return St("isBefore",e)},s.max=function(){var e=[].slice.call(arguments,0);return St("isAfter",e)},s.now=function(){return Date.now?Date.now():+new Date},s.utc=h,s.unix=function(e){return Dt(1e3*e)},s.months=function(e,t){return Ln(e,t,"months")},s.isDate=c,s.locale=ot,s.invalid=v,s.duration=It,s.isMoment=Y,s.weekdays=function(e,t,n){return Yn(e,t,n,"weekdays")},s.parseZone=function(){return Dt.apply(null,arguments).parseZone()},s.localeData=dt,s.isDuration=Ct,s.monthsShort=function(e,t){return Ln(e,t,"monthsShort")},s.weekdaysMin=function(e,t,n){return Yn(e,t,n,"weekdaysMin")},s.defineLocale=it,s.updateLocale=function(e,t){if(null!=t){var n,r,s=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(S(tt[e]._config,t)):(null!=(r=at(e))&&(s=r._config),t=S(s,t),null==r&&(t.abbr=e),(n=new x(t)).parentLocale=tt[e],tt[e]=n),ot(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===ot()&&ot(e)):null!=tt[e]&&delete tt[e]);return tt[e]},s.locales=function(){return w(tt)},s.weekdaysShort=function(e,t,n){return Yn(e,t,n,"weekdaysShort")},s.normalizeUnits=$,s.relativeTimeRounding=function(e){return void 0===e?Vn:"function"==typeof e&&(Vn=e,!0)},s.relativeTimeThreshold=function(e,t){return void 0!==Bn[e]&&(void 0===t?Bn[e]:(Bn[e]=t,"s"===e&&(Bn.ss=t-1),!0))},s.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},s.prototype=vn,s.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},s}()}).call(this,n("./node_modules/webpack/buildin/module.js")(e))},"./node_modules/process/browser.js":function(e,t){var n,r,s=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var d,l=[],u=!1,c=-1;function m(){u&&d&&(u=!1,d.length?l=d.concat(l):c=-1,l.length&&_())}function _(){if(!u){var e=i(m);u=!0;for(var t=l.length;t;){for(d=l,l=[];++c1)for(var n=1;n=0;--s){var a=this.tryEntries[s],o=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var i=n.call(a,"catchLoc"),d=n.call(a,"finallyLoc");if(i&&d){if(this.prev=0;--r){var s=this.tryEntries[r];if(s.tryLoc<=this.prev&&n.call(s,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var s=r.arg;L(n)}return s}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:b(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},"./node_modules/rematrix/dist/rematrix.es.js":function(e,t,n){"use strict"; /*! @license Rematrix v0.7.0 Copyright 2020 Julian Lloyd. @@ -287,27 +287,27 @@ s.version="2.25.3",t=Dt,s.fn=vn,s.min=function(){var e=[].slice.call(arguments,0 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -function r(e){if(e&&e.constructor===Array){var t=e.filter((function(e){return"number"==typeof e})).filter((function(e){return!isNaN(e)}));if(6===e.length&&6===t.length){var n=a();return n[0]=t[0],n[1]=t[1],n[4]=t[2],n[5]=t[3],n[12]=t[4],n[13]=t[5],n}if(16===e.length&&16===t.length)return e}throw new TypeError("Expected a `number[]` with length 6 or 16.")}function s(e){if("string"==typeof e){var t=e.match(/matrix(3d)?\(([^)]+)\)/);if(t)return r(t[2].split(", ").map(parseFloat))}throw new TypeError("Expected a string containing `matrix()` or `matrix3d()")}function a(){for(var e=[],t=0;t<16;t++)t%5==0?e.push(1):e.push(0);return e}function o(e){var t=r(e),n=t[0]*t[5]-t[4]*t[1],s=t[0]*t[6]-t[4]*t[2],a=t[0]*t[7]-t[4]*t[3],o=t[1]*t[6]-t[5]*t[2],i=t[1]*t[7]-t[5]*t[3],d=t[2]*t[7]-t[6]*t[3],l=t[10]*t[15]-t[14]*t[11],u=t[9]*t[15]-t[13]*t[11],c=t[9]*t[14]-t[13]*t[10],m=t[8]*t[15]-t[12]*t[11],_=t[8]*t[14]-t[12]*t[10],h=t[8]*t[13]-t[12]*t[9],p=1/(n*l-s*u+a*c+o*m-i*_+d*h);if(isNaN(p)||p===1/0)throw new Error("Inverse determinant attempted to divide by zero.");return[(t[5]*l-t[6]*u+t[7]*c)*p,(-t[1]*l+t[2]*u-t[3]*c)*p,(t[13]*d-t[14]*i+t[15]*o)*p,(-t[9]*d+t[10]*i-t[11]*o)*p,(-t[4]*l+t[6]*m-t[7]*_)*p,(t[0]*l-t[2]*m+t[3]*_)*p,(-t[12]*d+t[14]*a-t[15]*s)*p,(t[8]*d-t[10]*a+t[11]*s)*p,(t[4]*u-t[5]*m+t[7]*h)*p,(-t[0]*u+t[1]*m-t[3]*h)*p,(t[12]*i-t[13]*a+t[15]*n)*p,(-t[8]*i+t[9]*a-t[11]*n)*p,(-t[4]*c+t[5]*_-t[6]*h)*p,(t[0]*c-t[1]*_+t[2]*h)*p,(-t[12]*o+t[13]*s-t[14]*n)*p,(t[8]*o-t[9]*s+t[10]*n)*p]}function i(e,t){for(var n=r(e),s=r(t),a=[],o=0;o<4;o++)for(var i=[n[o],n[o+4],n[o+8],n[o+12]],d=0;d<4;d++){var l=4*d,u=[s[l],s[l+1],s[l+2],s[l+3]],c=i[0]*u[0]+i[1]*u[1]+i[2]*u[2]+i[3]*u[3];a[o+l]=c}return a}function d(e){var t=a();return t[11]=-1/e,t}function l(e){return m(e)}function u(e){var t=Math.PI/180*e,n=a();return n[5]=n[10]=Math.cos(t),n[6]=n[9]=Math.sin(t),n[9]*=-1,n}function c(e){var t=Math.PI/180*e,n=a();return n[0]=n[10]=Math.cos(t),n[2]=n[8]=Math.sin(t),n[2]*=-1,n}function m(e){var t=Math.PI/180*e,n=a();return n[0]=n[5]=Math.cos(t),n[1]=n[4]=Math.sin(t),n[4]*=-1,n}function _(e,t){var n=a();return n[0]=e,n[5]="number"==typeof t?t:e,n}function h(e){var t=a();return t[0]=e,t}function p(e){var t=a();return t[5]=e,t}function f(e){var t=a();return t[10]=e,t}function v(e,t){var n=Math.PI/180*e,r=a();if(r[4]=Math.tan(n),t){var s=Math.PI/180*t;r[1]=Math.tan(s)}return r}function y(e){var t=Math.PI/180*e,n=a();return n[4]=Math.tan(t),n}function M(e){var t=Math.PI/180*e,n=a();return n[1]=Math.tan(t),n}function g(e){return"matrix3d("+r(e).join(", ")+")"}function L(e,t){var n=a();return n[12]=e,t&&(n[13]=t),n}function Y(e,t,n){var r=a();return void 0!==e&&void 0!==t&&void 0!==n&&(r[12]=e,r[13]=t,r[14]=n),r}function b(e){var t=a();return t[12]=e,t}function k(e){var t=a();return t[13]=e,t}function w(e){var t=a();return t[14]=e,t}n.r(t),n.d(t,"format",(function(){return r})),n.d(t,"fromString",(function(){return s})),n.d(t,"identity",(function(){return a})),n.d(t,"inverse",(function(){return o})),n.d(t,"multiply",(function(){return i})),n.d(t,"perspective",(function(){return d})),n.d(t,"rotate",(function(){return l})),n.d(t,"rotateX",(function(){return u})),n.d(t,"rotateY",(function(){return c})),n.d(t,"rotateZ",(function(){return m})),n.d(t,"scale",(function(){return _})),n.d(t,"scaleX",(function(){return h})),n.d(t,"scaleY",(function(){return p})),n.d(t,"scaleZ",(function(){return f})),n.d(t,"skew",(function(){return v})),n.d(t,"skewX",(function(){return y})),n.d(t,"skewY",(function(){return M})),n.d(t,"toString",(function(){return g})),n.d(t,"translate",(function(){return L})),n.d(t,"translate3d",(function(){return Y})),n.d(t,"translateX",(function(){return b})),n.d(t,"translateY",(function(){return k})),n.d(t,"translateZ",(function(){return w}))},"./node_modules/setimmediate/setImmediate.js":function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,s,a,o,i,d=1,l={},u=!1,c=e.document,m=Object.getPrototypeOf&&Object.getPrototypeOf(e);m=m&&m.setTimeout?m:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((a=new MessageChannel).port1.onmessage=function(e){h(e.data)},r=function(e){a.port2.postMessage(e)}):c&&"onreadystatechange"in c.createElement("script")?(s=c.documentElement,r=function(e){var t=c.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,s.removeChild(t),t=null},s.appendChild(t)}):r=function(e){setTimeout(h,0,e)}:(o="setImmediate$"+Math.random()+"$",i=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&h(+t.data.slice(o.length))},e.addEventListener?e.addEventListener("message",i,!1):e.attachEvent("onmessage",i),r=function(t){e.postMessage(o+t,"*")}),m.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n("./node_modules/setimmediate/setImmediate.js"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/vue-hot-reload-api/dist/index.js":function(e,t){var n,r,s=Object.create(null);"undefined"!=typeof window&&(window.__VUE_HOT_MAP__=s);var a=!1,o="beforeCreate";function i(e,t){if(t.functional){var n=t.render;t.render=function(t,r){var a=s[e].instances;return r&&a.indexOf(r.parent)<0&&a.push(r.parent),n(t,r)}}else d(t,o,(function(){var t=s[e];t.Ctor||(t.Ctor=this.constructor),t.instances.push(this)})),d(t,"beforeDestroy",(function(){var t=s[e].instances;t.splice(t.indexOf(this),1)}))}function d(e,t,n){var r=e[t];e[t]=r?Array.isArray(r)?r.concat(n):[r,n]:[n]}function l(e){return function(t,n){try{e(t,n)}catch(e){console.error(e),console.warn("Something went wrong during Vue component hot-reload. Full reload required.")}}}function u(e,t){for(var n in e)n in t||delete e[n];for(var r in t)e[r]=t[r]}t.install=function(e,s){a||(a=!0,n=e.__esModule?e.default:e,r=n.version.split(".").map(Number),s,n.config._lifecycleHooks.indexOf("init")>-1&&(o="init"),t.compatible=r[0]>=2,t.compatible||console.warn("[HMR] You are using a version of vue-hot-reload-api that is only compatible with Vue.js core ^2.0.0."))},t.createRecord=function(e,t){if(!s[e]){var n=null;"function"==typeof t&&(t=(n=t).options),i(e,t),s[e]={Ctor:n,options:t,instances:[]}}},t.isRecorded=function(e){return void 0!==s[e]},t.rerender=l((function(e,t){var n=s[e];if(t){if("function"==typeof t&&(t=t.options),n.Ctor)n.Ctor.options.render=t.render,n.Ctor.options.staticRenderFns=t.staticRenderFns,n.instances.slice().forEach((function(e){e.$options.render=t.render,e.$options.staticRenderFns=t.staticRenderFns,e._staticTrees&&(e._staticTrees=[]),Array.isArray(n.Ctor.options.cached)&&(n.Ctor.options.cached=[]),Array.isArray(e.$options.cached)&&(e.$options.cached=[]);var r=function(e){if(!e._u)return;var t=e._u;return e._u=function(e){try{return t(e,!0)}catch(n){return t(e,null,!0)}},function(){e._u=t}}(e);e.$forceUpdate(),e.$nextTick(r)}));else if(n.options.render=t.render,n.options.staticRenderFns=t.staticRenderFns,n.options.functional){if(Object.keys(t).length>2)u(n.options,t);else{var r=n.options._injectStyles;if(r){var a=t.render;n.options.render=function(e,t){return r.call(t),a(e,t)}}}n.options._Ctor=null,Array.isArray(n.options.cached)&&(n.options.cached=[]),n.instances.slice().forEach((function(e){e.$forceUpdate()}))}}else n.instances.slice().forEach((function(e){e.$forceUpdate()}))})),t.reload=l((function(e,t){var n=s[e];if(t)if("function"==typeof t&&(t=t.options),i(e,t),n.Ctor){r[1]<2&&(n.Ctor.extendOptions=t);var a=n.Ctor.super.extend(t);a.options._Ctor=n.options._Ctor,n.Ctor.options=a.options,n.Ctor.cid=a.cid,n.Ctor.prototype=a.prototype,a.release&&a.release()}else u(n.options,t);n.instances.slice().forEach((function(e){e.$vnode&&e.$vnode.context?e.$vnode.context.$forceUpdate():console.warn("Root or manually mounted instance modified. Full reload required.")}))}))},"./node_modules/vue-loader/lib/runtime/componentNormalizer.js":function(e,t,n){"use strict";function r(e,t,n,r,s,a,o,i){var d,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),o?(d=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=d):s&&(d=i?function(){s.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:s),d)if(l.functional){l._injectStyles=d;var u=l.render;l.render=function(e,t){return d.call(t),u(e,t)}}else{var c=l.beforeCreate;l.beforeCreate=c?[].concat(c,d):[d]}return{exports:e,options:l}}n.d(t,"a",(function(){return r}))},"./node_modules/vue-router/dist/vue-router.esm.js":function(e,t,n){"use strict"; +function r(e){if(e&&e.constructor===Array){var t=e.filter((function(e){return"number"==typeof e})).filter((function(e){return!isNaN(e)}));if(6===e.length&&6===t.length){var n=a();return n[0]=t[0],n[1]=t[1],n[4]=t[2],n[5]=t[3],n[12]=t[4],n[13]=t[5],n}if(16===e.length&&16===t.length)return e}throw new TypeError("Expected a `number[]` with length 6 or 16.")}function s(e){if("string"==typeof e){var t=e.match(/matrix(3d)?\(([^)]+)\)/);if(t)return r(t[2].split(", ").map(parseFloat))}throw new TypeError("Expected a string containing `matrix()` or `matrix3d()")}function a(){for(var e=[],t=0;t<16;t++)t%5==0?e.push(1):e.push(0);return e}function o(e){var t=r(e),n=t[0]*t[5]-t[4]*t[1],s=t[0]*t[6]-t[4]*t[2],a=t[0]*t[7]-t[4]*t[3],o=t[1]*t[6]-t[5]*t[2],i=t[1]*t[7]-t[5]*t[3],d=t[2]*t[7]-t[6]*t[3],l=t[10]*t[15]-t[14]*t[11],u=t[9]*t[15]-t[13]*t[11],c=t[9]*t[14]-t[13]*t[10],m=t[8]*t[15]-t[12]*t[11],_=t[8]*t[14]-t[12]*t[10],h=t[8]*t[13]-t[12]*t[9],p=1/(n*l-s*u+a*c+o*m-i*_+d*h);if(isNaN(p)||p===1/0)throw new Error("Inverse determinant attempted to divide by zero.");return[(t[5]*l-t[6]*u+t[7]*c)*p,(-t[1]*l+t[2]*u-t[3]*c)*p,(t[13]*d-t[14]*i+t[15]*o)*p,(-t[9]*d+t[10]*i-t[11]*o)*p,(-t[4]*l+t[6]*m-t[7]*_)*p,(t[0]*l-t[2]*m+t[3]*_)*p,(-t[12]*d+t[14]*a-t[15]*s)*p,(t[8]*d-t[10]*a+t[11]*s)*p,(t[4]*u-t[5]*m+t[7]*h)*p,(-t[0]*u+t[1]*m-t[3]*h)*p,(t[12]*i-t[13]*a+t[15]*n)*p,(-t[8]*i+t[9]*a-t[11]*n)*p,(-t[4]*c+t[5]*_-t[6]*h)*p,(t[0]*c-t[1]*_+t[2]*h)*p,(-t[12]*o+t[13]*s-t[14]*n)*p,(t[8]*o-t[9]*s+t[10]*n)*p]}function i(e,t){for(var n=r(e),s=r(t),a=[],o=0;o<4;o++)for(var i=[n[o],n[o+4],n[o+8],n[o+12]],d=0;d<4;d++){var l=4*d,u=[s[l],s[l+1],s[l+2],s[l+3]],c=i[0]*u[0]+i[1]*u[1]+i[2]*u[2]+i[3]*u[3];a[o+l]=c}return a}function d(e){var t=a();return t[11]=-1/e,t}function l(e){return m(e)}function u(e){var t=Math.PI/180*e,n=a();return n[5]=n[10]=Math.cos(t),n[6]=n[9]=Math.sin(t),n[9]*=-1,n}function c(e){var t=Math.PI/180*e,n=a();return n[0]=n[10]=Math.cos(t),n[2]=n[8]=Math.sin(t),n[2]*=-1,n}function m(e){var t=Math.PI/180*e,n=a();return n[0]=n[5]=Math.cos(t),n[1]=n[4]=Math.sin(t),n[4]*=-1,n}function _(e,t){var n=a();return n[0]=e,n[5]="number"==typeof t?t:e,n}function h(e){var t=a();return t[0]=e,t}function p(e){var t=a();return t[5]=e,t}function f(e){var t=a();return t[10]=e,t}function v(e,t){var n=Math.PI/180*e,r=a();if(r[4]=Math.tan(n),t){var s=Math.PI/180*t;r[1]=Math.tan(s)}return r}function y(e){var t=Math.PI/180*e,n=a();return n[4]=Math.tan(t),n}function g(e){var t=Math.PI/180*e,n=a();return n[1]=Math.tan(t),n}function M(e){return"matrix3d("+r(e).join(", ")+")"}function L(e,t){var n=a();return n[12]=e,t&&(n[13]=t),n}function Y(e,t,n){var r=a();return void 0!==e&&void 0!==t&&void 0!==n&&(r[12]=e,r[13]=t,r[14]=n),r}function b(e){var t=a();return t[12]=e,t}function k(e){var t=a();return t[13]=e,t}function w(e){var t=a();return t[14]=e,t}n.r(t),n.d(t,"format",(function(){return r})),n.d(t,"fromString",(function(){return s})),n.d(t,"identity",(function(){return a})),n.d(t,"inverse",(function(){return o})),n.d(t,"multiply",(function(){return i})),n.d(t,"perspective",(function(){return d})),n.d(t,"rotate",(function(){return l})),n.d(t,"rotateX",(function(){return u})),n.d(t,"rotateY",(function(){return c})),n.d(t,"rotateZ",(function(){return m})),n.d(t,"scale",(function(){return _})),n.d(t,"scaleX",(function(){return h})),n.d(t,"scaleY",(function(){return p})),n.d(t,"scaleZ",(function(){return f})),n.d(t,"skew",(function(){return v})),n.d(t,"skewX",(function(){return y})),n.d(t,"skewY",(function(){return g})),n.d(t,"toString",(function(){return M})),n.d(t,"translate",(function(){return L})),n.d(t,"translate3d",(function(){return Y})),n.d(t,"translateX",(function(){return b})),n.d(t,"translateY",(function(){return k})),n.d(t,"translateZ",(function(){return w}))},"./node_modules/setimmediate/setImmediate.js":function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,s,a,o,i,d=1,l={},u=!1,c=e.document,m=Object.getPrototypeOf&&Object.getPrototypeOf(e);m=m&&m.setTimeout?m:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((a=new MessageChannel).port1.onmessage=function(e){h(e.data)},r=function(e){a.port2.postMessage(e)}):c&&"onreadystatechange"in c.createElement("script")?(s=c.documentElement,r=function(e){var t=c.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,s.removeChild(t),t=null},s.appendChild(t)}):r=function(e){setTimeout(h,0,e)}:(o="setImmediate$"+Math.random()+"$",i=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&h(+t.data.slice(o.length))},e.addEventListener?e.addEventListener("message",i,!1):e.attachEvent("onmessage",i),r=function(t){e.postMessage(o+t,"*")}),m.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n("./node_modules/setimmediate/setImmediate.js"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/vue-hot-reload-api/dist/index.js":function(e,t){var n,r,s=Object.create(null);"undefined"!=typeof window&&(window.__VUE_HOT_MAP__=s);var a=!1,o="beforeCreate";function i(e,t){if(t.functional){var n=t.render;t.render=function(t,r){var a=s[e].instances;return r&&a.indexOf(r.parent)<0&&a.push(r.parent),n(t,r)}}else d(t,o,(function(){var t=s[e];t.Ctor||(t.Ctor=this.constructor),t.instances.push(this)})),d(t,"beforeDestroy",(function(){var t=s[e].instances;t.splice(t.indexOf(this),1)}))}function d(e,t,n){var r=e[t];e[t]=r?Array.isArray(r)?r.concat(n):[r,n]:[n]}function l(e){return function(t,n){try{e(t,n)}catch(e){console.error(e),console.warn("Something went wrong during Vue component hot-reload. Full reload required.")}}}function u(e,t){for(var n in e)n in t||delete e[n];for(var r in t)e[r]=t[r]}t.install=function(e,s){a||(a=!0,n=e.__esModule?e.default:e,r=n.version.split(".").map(Number),s,n.config._lifecycleHooks.indexOf("init")>-1&&(o="init"),t.compatible=r[0]>=2,t.compatible||console.warn("[HMR] You are using a version of vue-hot-reload-api that is only compatible with Vue.js core ^2.0.0."))},t.createRecord=function(e,t){if(!s[e]){var n=null;"function"==typeof t&&(t=(n=t).options),i(e,t),s[e]={Ctor:n,options:t,instances:[]}}},t.isRecorded=function(e){return void 0!==s[e]},t.rerender=l((function(e,t){var n=s[e];if(t){if("function"==typeof t&&(t=t.options),n.Ctor)n.Ctor.options.render=t.render,n.Ctor.options.staticRenderFns=t.staticRenderFns,n.instances.slice().forEach((function(e){e.$options.render=t.render,e.$options.staticRenderFns=t.staticRenderFns,e._staticTrees&&(e._staticTrees=[]),Array.isArray(n.Ctor.options.cached)&&(n.Ctor.options.cached=[]),Array.isArray(e.$options.cached)&&(e.$options.cached=[]);var r=function(e){if(!e._u)return;var t=e._u;return e._u=function(e){try{return t(e,!0)}catch(n){return t(e,null,!0)}},function(){e._u=t}}(e);e.$forceUpdate(),e.$nextTick(r)}));else if(n.options.render=t.render,n.options.staticRenderFns=t.staticRenderFns,n.options.functional){if(Object.keys(t).length>2)u(n.options,t);else{var r=n.options._injectStyles;if(r){var a=t.render;n.options.render=function(e,t){return r.call(t),a(e,t)}}}n.options._Ctor=null,Array.isArray(n.options.cached)&&(n.options.cached=[]),n.instances.slice().forEach((function(e){e.$forceUpdate()}))}}else n.instances.slice().forEach((function(e){e.$forceUpdate()}))})),t.reload=l((function(e,t){var n=s[e];if(t)if("function"==typeof t&&(t=t.options),i(e,t),n.Ctor){r[1]<2&&(n.Ctor.extendOptions=t);var a=n.Ctor.super.extend(t);a.options._Ctor=n.options._Ctor,n.Ctor.options=a.options,n.Ctor.cid=a.cid,n.Ctor.prototype=a.prototype,a.release&&a.release()}else u(n.options,t);n.instances.slice().forEach((function(e){e.$vnode&&e.$vnode.context?e.$vnode.context.$forceUpdate():console.warn("Root or manually mounted instance modified. Full reload required.")}))}))},"./node_modules/vue-loader/lib/runtime/componentNormalizer.js":function(e,t,n){"use strict";function r(e,t,n,r,s,a,o,i){var d,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),o?(d=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=d):s&&(d=i?function(){s.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:s),d)if(l.functional){l._injectStyles=d;var u=l.render;l.render=function(e,t){return d.call(t),u(e,t)}}else{var c=l.beforeCreate;l.beforeCreate=c?[].concat(c,d):[d]}return{exports:e,options:l}}n.d(t,"a",(function(){return r}))},"./node_modules/vue-router/dist/vue-router.esm.js":function(e,t,n){"use strict"; /*! * vue-router v3.1.6 * (c) 2020 Evan You * @license MIT - */function r(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function s(e,t){return t instanceof e||t&&(t.name===e.name||t._name===e._name)}function a(e,t){for(var n in t)e[n]=t[n];return e}var o={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var n=t.props,r=t.children,s=t.parent,o=t.data;o.routerView=!0;for(var d=s.$createElement,l=n.name,u=s.$route,c=s._routerViewCache||(s._routerViewCache={}),m=0,_=!1;s&&s._routerRoot!==s;){var h=s.$vnode?s.$vnode.data:{};h.routerView&&m++,h.keepAlive&&s._directInactive&&s._inactive&&(_=!0),s=s.$parent}if(o.routerViewDepth=m,_){var p=c[l],f=p&&p.component;return f?(p.configProps&&i(f,o,p.route,p.configProps),d(f,o,r)):d()}var v=u.matched[m],y=v&&v.components[l];if(!v||!y)return c[l]=null,d();c[l]={component:y},o.registerRouteInstance=function(e,t){var n=v.instances[l];(t&&n!==e||!t&&n===e)&&(v.instances[l]=t)},(o.hook||(o.hook={})).prepatch=function(e,t){v.instances[l]=t.componentInstance},o.hook.init=function(e){e.data.keepAlive&&e.componentInstance&&e.componentInstance!==v.instances[l]&&(v.instances[l]=e.componentInstance)};var M=v.props&&v.props[l];return M&&(a(c[l],{route:u,configProps:M}),i(y,o,u,M)),d(y,o,r)}};function i(e,t,n,r){var s=t.props=function(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0;default:0}}(n,r);if(s){s=t.props=a({},s);var o=t.attrs=t.attrs||{};for(var i in s)e.props&&i in e.props||(o[i]=s[i],delete s[i])}}var d=/[!'()*]/g,l=function(e){return"%"+e.charCodeAt(0).toString(16)},u=/%2C/g,c=function(e){return encodeURIComponent(e).replace(d,l).replace(u,",")},m=decodeURIComponent;function _(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),r=m(n.shift()),s=n.length>0?m(n.join("=")):null;void 0===t[r]?t[r]=s:Array.isArray(t[r])?t[r].push(s):t[r]=[t[r],s]})),t):t}function h(e){var t=e?Object.keys(e).map((function(t){var n=e[t];if(void 0===n)return"";if(null===n)return c(t);if(Array.isArray(n)){var r=[];return n.forEach((function(e){void 0!==e&&(null===e?r.push(c(t)):r.push(c(t)+"="+c(e)))})),r.join("&")}return c(t)+"="+c(n)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var p=/\/?$/;function f(e,t,n,r){var s=r&&r.options.stringifyQuery,a=t.query||{};try{a=v(a)}catch(e){}var o={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:a,params:t.params||{},fullPath:g(t,s),matched:e?M(e):[]};return n&&(o.redirectedFrom=g(n,s)),Object.freeze(o)}function v(e){if(Array.isArray(e))return e.map(v);if(e&&"object"==typeof e){var t={};for(var n in e)t[n]=v(e[n]);return t}return e}var y=f(null,{path:"/"});function M(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function g(e,t){var n=e.path,r=e.query;void 0===r&&(r={});var s=e.hash;return void 0===s&&(s=""),(n||"/")+(t||h)(r)+s}function L(e,t){return t===y?e===t:!!t&&(e.path&&t.path?e.path.replace(p,"")===t.path.replace(p,"")&&e.hash===t.hash&&Y(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&Y(e.query,t.query)&&Y(e.params,t.params)))}function Y(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every((function(n){var r=e[n],s=t[n];return"object"==typeof r&&"object"==typeof s?Y(r,s):String(r)===String(s)}))}function b(e,t,n){var r=e.charAt(0);if("/"===r)return e;if("?"===r||"#"===r)return t+e;var s=t.split("/");n&&s[s.length-1]||s.pop();for(var a=e.replace(/^\//,"").split("/"),o=0;o=0&&(t=e.slice(r),e=e.slice(0,r));var s=e.indexOf("?");return s>=0&&(n=e.slice(s+1),e=e.slice(0,s)),{path:e,query:n,hash:t}}(s.path||""),u=t&&t.path||"/",c=l.path?b(l.path,u,n||s.append):u,m=function(e,t,n){void 0===t&&(t={});var r,s=n||_;try{r=s(e||"")}catch(e){r={}}for(var a in t)r[a]=t[a];return r}(l.query,s.query,r&&r.options.parseQuery),h=s.hash||l.hash;return h&&"#"!==h.charAt(0)&&(h="#"+h),{_normalized:!0,path:c,query:m,hash:h}}var J,U=function(){},V={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:[String,Array],default:"click"}},render:function(e){var t=this,n=this.$router,r=this.$route,s=n.resolve(this.to,r,this.append),o=s.location,i=s.route,d=s.href,l={},u=n.options.linkActiveClass,c=n.options.linkExactActiveClass,m=null==u?"router-link-active":u,_=null==c?"router-link-exact-active":c,h=null==this.activeClass?m:this.activeClass,v=null==this.exactActiveClass?_:this.exactActiveClass,y=i.redirectedFrom?f(null,z(i.redirectedFrom),null,n):i;l[v]=L(r,y),l[h]=this.exact?l[v]:function(e,t){return 0===e.path.replace(p,"/").indexOf(t.path.replace(p,"/"))&&(!t.hash||e.hash===t.hash)&&function(e,t){for(var n in t)if(!(n in e))return!1;return!0}(e.query,t.query)}(r,y);var M=function(e){B(e)&&(t.replace?n.replace(o,U):n.push(o,U))},g={click:B};Array.isArray(this.event)?this.event.forEach((function(e){g[e]=M})):g[this.event]=M;var Y={class:l},b=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:d,route:i,navigate:M,isActive:l[h],isExactActive:l[v]});if(b){if(1===b.length)return b[0];if(b.length>1||!b.length)return 0===b.length?e():e("span",{},b)}if("a"===this.tag)Y.on=g,Y.attrs={href:d};else{var k=function e(t){var n;if(t)for(var r=0;r-1&&(i.params[m]=n.params[m]);return i.path=I(u.path,i.params),d(u,i,o)}if(i.path){i.params={};for(var _=0;_=e.length?n():e[s]?t(e[s],(function(){r(s+1)})):r(s+1)};r(0)}function ye(e){return function(t,n,s){var a=!1,o=0,i=null;Me(e,(function(e,t,n,d){if("function"==typeof e&&void 0===e.cid){a=!0,o++;var l,u=Ye((function(t){var r;((r=t).__esModule||Le&&"Module"===r[Symbol.toStringTag])&&(t=t.default),e.resolved="function"==typeof t?t:J.extend(t),n.components[d]=t,--o<=0&&s()})),c=Ye((function(e){var t="Failed to resolve async component "+d+": "+e;i||(i=r(e)?e:new Error(t),s(i))}));try{l=e(u,c)}catch(e){c(e)}if(l)if("function"==typeof l.then)l.then(u,c);else{var m=l.component;m&&"function"==typeof m.then&&m.then(u,c)}}})),a||s()}}function Me(e,t){return ge(e.map((function(e){return Object.keys(e.components).map((function(n){return t(e.components[n],e.instances[n],e,n)}))})))}function ge(e){return Array.prototype.concat.apply([],e)}var Le="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Ye(e){var t=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!t)return t=!0,e.apply(this,n)}}var be=function(e){function t(t){e.call(this),this.name=this._name="NavigationDuplicated",this.message='Navigating to current location ("'+t.fullPath+'") is not allowed',Object.defineProperty(this,"stack",{value:(new e).stack,writable:!0,configurable:!0})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(Error);be._name="NavigationDuplicated";var ke=function(e,t){this.router=e,this.base=function(e){if(!e)if(G){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else e="/";"/"!==e.charAt(0)&&(e="/"+e);return e.replace(/\/$/,"")}(t),this.current=y,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function we(e,t,n,r){var s=Me(e,(function(e,r,s,a){var o=function(e,t){"function"!=typeof e&&(e=J.extend(e));return e.options[t]}(e,t);if(o)return Array.isArray(o)?o.map((function(e){return n(e,r,s,a)})):n(o,r,s,a)}));return ge(r?s.reverse():s)}function De(e,t){if(t)return function(){return e.apply(t,arguments)}}ke.prototype.listen=function(e){this.cb=e},ke.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},ke.prototype.onError=function(e){this.errorCbs.push(e)},ke.prototype.transitionTo=function(e,t,n){var r=this,s=this.router.match(e,this.current);this.confirmTransition(s,(function(){r.updateRoute(s),t&&t(s),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach((function(e){e(s)})))}),(function(e){n&&n(e),e&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach((function(t){t(e)})))}))},ke.prototype.confirmTransition=function(e,t,n){var a=this,o=this.current,i=function(e){!s(be,e)&&r(e)&&(a.errorCbs.length?a.errorCbs.forEach((function(t){t(e)})):console.error(e)),n&&n(e)};if(L(e,o)&&e.matched.length===o.matched.length)return this.ensureURL(),i(new be(e));var d=function(e,t){var n,r=Math.max(e.length,t.length);for(n=0;n-1?decodeURI(e.slice(0,r))+e.slice(r):decodeURI(e)}else e=decodeURI(e.slice(0,n))+e.slice(n);return e}function Ce(e){var t=window.location.href,n=t.indexOf("#");return(n>=0?t.slice(0,n):t)+"#"+e}function Oe(e){he?pe(Ce(e)):window.location.hash=e}function Pe(e){he?fe(Ce(e)):window.location.replace(Ce(e))}var Ae=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var r=this;this.transitionTo(e,(function(e){r.stack=r.stack.slice(0,r.index+1).concat(e),r.index++,t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var r=this;this.transitionTo(e,(function(e){r.stack=r.stack.slice(0,r.index).concat(e),t&&t(e)}),n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){t.index=n,t.updateRoute(r)}),(function(e){s(be,e)&&(t.index=n)}))}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(ke),Ee=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Z(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!he&&!1!==e.fallback,this.fallback&&(t="hash"),G||(t="abstract"),this.mode=t,t){case"history":this.history=new Te(this,e.base);break;case"hash":this.history=new Se(this,e.base,this.fallback);break;case"abstract":this.history=new Ae(this,e.base);break;default:0}},Re={currentRoute:{configurable:!0}};function Fe(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}Ee.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},Re.currentRoute.get=function(){return this.history&&this.history.current},Ee.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",(function(){var n=t.apps.indexOf(e);n>-1&&t.apps.splice(n,1),t.app===e&&(t.app=t.apps[0]||null)})),!this.app){this.app=e;var n=this.history;if(n instanceof Te)n.transitionTo(n.getCurrentLocation());else if(n instanceof Se){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},Ee.prototype.beforeEach=function(e){return Fe(this.beforeHooks,e)},Ee.prototype.beforeResolve=function(e){return Fe(this.resolveHooks,e)},Ee.prototype.afterEach=function(e){return Fe(this.afterHooks,e)},Ee.prototype.onReady=function(e,t){this.history.onReady(e,t)},Ee.prototype.onError=function(e){this.history.onError(e)},Ee.prototype.push=function(e,t,n){var r=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise((function(t,n){r.history.push(e,t,n)}));this.history.push(e,t,n)},Ee.prototype.replace=function(e,t,n){var r=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise((function(t,n){r.history.replace(e,t,n)}));this.history.replace(e,t,n)},Ee.prototype.go=function(e){this.history.go(e)},Ee.prototype.back=function(){this.go(-1)},Ee.prototype.forward=function(){this.go(1)},Ee.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map((function(e){return Object.keys(e.components).map((function(t){return e.components[t]}))}))):[]},Ee.prototype.resolve=function(e,t,n){var r=z(e,t=t||this.history.current,n,this),s=this.match(r,t),a=s.redirectedFrom||s.fullPath;return{location:r,route:s,href:function(e,t,n){var r="hash"===n?"#"+t:t;return e?k(e+"/"+r):r}(this.history.base,a,this.mode),normalizedTo:r,resolved:s}},Ee.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==y&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Ee.prototype,Re),Ee.install=function e(t){if(!e.installed||J!==t){e.installed=!0,J=t;var n=function(e){return void 0!==e},r=function(e,t){var r=e.$options._parentVnode;n(r)&&n(r=r.data)&&n(r=r.registerRouteInstance)&&r(e,t)};t.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",o),t.component("RouterLink",V);var s=t.config.optionMergeStrategies;s.beforeRouteEnter=s.beforeRouteLeave=s.beforeRouteUpdate=s.created}},Ee.version="3.1.6",G&&window.Vue&&window.Vue.use(Ee),t.a=Ee},"./node_modules/vue/dist/vue.esm.js":function(e,t,n){"use strict";n.r(t),function(e,n){ + */function r(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function s(e,t){return t instanceof e||t&&(t.name===e.name||t._name===e._name)}function a(e,t){for(var n in t)e[n]=t[n];return e}var o={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var n=t.props,r=t.children,s=t.parent,o=t.data;o.routerView=!0;for(var d=s.$createElement,l=n.name,u=s.$route,c=s._routerViewCache||(s._routerViewCache={}),m=0,_=!1;s&&s._routerRoot!==s;){var h=s.$vnode?s.$vnode.data:{};h.routerView&&m++,h.keepAlive&&s._directInactive&&s._inactive&&(_=!0),s=s.$parent}if(o.routerViewDepth=m,_){var p=c[l],f=p&&p.component;return f?(p.configProps&&i(f,o,p.route,p.configProps),d(f,o,r)):d()}var v=u.matched[m],y=v&&v.components[l];if(!v||!y)return c[l]=null,d();c[l]={component:y},o.registerRouteInstance=function(e,t){var n=v.instances[l];(t&&n!==e||!t&&n===e)&&(v.instances[l]=t)},(o.hook||(o.hook={})).prepatch=function(e,t){v.instances[l]=t.componentInstance},o.hook.init=function(e){e.data.keepAlive&&e.componentInstance&&e.componentInstance!==v.instances[l]&&(v.instances[l]=e.componentInstance)};var g=v.props&&v.props[l];return g&&(a(c[l],{route:u,configProps:g}),i(y,o,u,g)),d(y,o,r)}};function i(e,t,n,r){var s=t.props=function(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0;default:0}}(n,r);if(s){s=t.props=a({},s);var o=t.attrs=t.attrs||{};for(var i in s)e.props&&i in e.props||(o[i]=s[i],delete s[i])}}var d=/[!'()*]/g,l=function(e){return"%"+e.charCodeAt(0).toString(16)},u=/%2C/g,c=function(e){return encodeURIComponent(e).replace(d,l).replace(u,",")},m=decodeURIComponent;function _(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),r=m(n.shift()),s=n.length>0?m(n.join("=")):null;void 0===t[r]?t[r]=s:Array.isArray(t[r])?t[r].push(s):t[r]=[t[r],s]})),t):t}function h(e){var t=e?Object.keys(e).map((function(t){var n=e[t];if(void 0===n)return"";if(null===n)return c(t);if(Array.isArray(n)){var r=[];return n.forEach((function(e){void 0!==e&&(null===e?r.push(c(t)):r.push(c(t)+"="+c(e)))})),r.join("&")}return c(t)+"="+c(n)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var p=/\/?$/;function f(e,t,n,r){var s=r&&r.options.stringifyQuery,a=t.query||{};try{a=v(a)}catch(e){}var o={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:a,params:t.params||{},fullPath:M(t,s),matched:e?g(e):[]};return n&&(o.redirectedFrom=M(n,s)),Object.freeze(o)}function v(e){if(Array.isArray(e))return e.map(v);if(e&&"object"==typeof e){var t={};for(var n in e)t[n]=v(e[n]);return t}return e}var y=f(null,{path:"/"});function g(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function M(e,t){var n=e.path,r=e.query;void 0===r&&(r={});var s=e.hash;return void 0===s&&(s=""),(n||"/")+(t||h)(r)+s}function L(e,t){return t===y?e===t:!!t&&(e.path&&t.path?e.path.replace(p,"")===t.path.replace(p,"")&&e.hash===t.hash&&Y(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&Y(e.query,t.query)&&Y(e.params,t.params)))}function Y(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every((function(n){var r=e[n],s=t[n];return"object"==typeof r&&"object"==typeof s?Y(r,s):String(r)===String(s)}))}function b(e,t,n){var r=e.charAt(0);if("/"===r)return e;if("?"===r||"#"===r)return t+e;var s=t.split("/");n&&s[s.length-1]||s.pop();for(var a=e.replace(/^\//,"").split("/"),o=0;o=0&&(t=e.slice(r),e=e.slice(0,r));var s=e.indexOf("?");return s>=0&&(n=e.slice(s+1),e=e.slice(0,s)),{path:e,query:n,hash:t}}(s.path||""),u=t&&t.path||"/",c=l.path?b(l.path,u,n||s.append):u,m=function(e,t,n){void 0===t&&(t={});var r,s=n||_;try{r=s(e||"")}catch(e){r={}}for(var a in t)r[a]=t[a];return r}(l.query,s.query,r&&r.options.parseQuery),h=s.hash||l.hash;return h&&"#"!==h.charAt(0)&&(h="#"+h),{_normalized:!0,path:c,query:m,hash:h}}var J,U=function(){},V={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:[String,Array],default:"click"}},render:function(e){var t=this,n=this.$router,r=this.$route,s=n.resolve(this.to,r,this.append),o=s.location,i=s.route,d=s.href,l={},u=n.options.linkActiveClass,c=n.options.linkExactActiveClass,m=null==u?"router-link-active":u,_=null==c?"router-link-exact-active":c,h=null==this.activeClass?m:this.activeClass,v=null==this.exactActiveClass?_:this.exactActiveClass,y=i.redirectedFrom?f(null,z(i.redirectedFrom),null,n):i;l[v]=L(r,y),l[h]=this.exact?l[v]:function(e,t){return 0===e.path.replace(p,"/").indexOf(t.path.replace(p,"/"))&&(!t.hash||e.hash===t.hash)&&function(e,t){for(var n in t)if(!(n in e))return!1;return!0}(e.query,t.query)}(r,y);var g=function(e){B(e)&&(t.replace?n.replace(o,U):n.push(o,U))},M={click:B};Array.isArray(this.event)?this.event.forEach((function(e){M[e]=g})):M[this.event]=g;var Y={class:l},b=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:d,route:i,navigate:g,isActive:l[h],isExactActive:l[v]});if(b){if(1===b.length)return b[0];if(b.length>1||!b.length)return 0===b.length?e():e("span",{},b)}if("a"===this.tag)Y.on=M,Y.attrs={href:d};else{var k=function e(t){var n;if(t)for(var r=0;r-1&&(i.params[m]=n.params[m]);return i.path=I(u.path,i.params),d(u,i,o)}if(i.path){i.params={};for(var _=0;_=e.length?n():e[s]?t(e[s],(function(){r(s+1)})):r(s+1)};r(0)}function ye(e){return function(t,n,s){var a=!1,o=0,i=null;ge(e,(function(e,t,n,d){if("function"==typeof e&&void 0===e.cid){a=!0,o++;var l,u=Ye((function(t){var r;((r=t).__esModule||Le&&"Module"===r[Symbol.toStringTag])&&(t=t.default),e.resolved="function"==typeof t?t:J.extend(t),n.components[d]=t,--o<=0&&s()})),c=Ye((function(e){var t="Failed to resolve async component "+d+": "+e;i||(i=r(e)?e:new Error(t),s(i))}));try{l=e(u,c)}catch(e){c(e)}if(l)if("function"==typeof l.then)l.then(u,c);else{var m=l.component;m&&"function"==typeof m.then&&m.then(u,c)}}})),a||s()}}function ge(e,t){return Me(e.map((function(e){return Object.keys(e.components).map((function(n){return t(e.components[n],e.instances[n],e,n)}))})))}function Me(e){return Array.prototype.concat.apply([],e)}var Le="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Ye(e){var t=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!t)return t=!0,e.apply(this,n)}}var be=function(e){function t(t){e.call(this),this.name=this._name="NavigationDuplicated",this.message='Navigating to current location ("'+t.fullPath+'") is not allowed',Object.defineProperty(this,"stack",{value:(new e).stack,writable:!0,configurable:!0})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(Error);be._name="NavigationDuplicated";var ke=function(e,t){this.router=e,this.base=function(e){if(!e)if(G){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else e="/";"/"!==e.charAt(0)&&(e="/"+e);return e.replace(/\/$/,"")}(t),this.current=y,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function we(e,t,n,r){var s=ge(e,(function(e,r,s,a){var o=function(e,t){"function"!=typeof e&&(e=J.extend(e));return e.options[t]}(e,t);if(o)return Array.isArray(o)?o.map((function(e){return n(e,r,s,a)})):n(o,r,s,a)}));return Me(r?s.reverse():s)}function De(e,t){if(t)return function(){return e.apply(t,arguments)}}ke.prototype.listen=function(e){this.cb=e},ke.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},ke.prototype.onError=function(e){this.errorCbs.push(e)},ke.prototype.transitionTo=function(e,t,n){var r=this,s=this.router.match(e,this.current);this.confirmTransition(s,(function(){r.updateRoute(s),t&&t(s),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach((function(e){e(s)})))}),(function(e){n&&n(e),e&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach((function(t){t(e)})))}))},ke.prototype.confirmTransition=function(e,t,n){var a=this,o=this.current,i=function(e){!s(be,e)&&r(e)&&(a.errorCbs.length?a.errorCbs.forEach((function(t){t(e)})):console.error(e)),n&&n(e)};if(L(e,o)&&e.matched.length===o.matched.length)return this.ensureURL(),i(new be(e));var d=function(e,t){var n,r=Math.max(e.length,t.length);for(n=0;n-1?decodeURI(e.slice(0,r))+e.slice(r):decodeURI(e)}else e=decodeURI(e.slice(0,n))+e.slice(n);return e}function Ce(e){var t=window.location.href,n=t.indexOf("#");return(n>=0?t.slice(0,n):t)+"#"+e}function Oe(e){he?pe(Ce(e)):window.location.hash=e}function Pe(e){he?fe(Ce(e)):window.location.replace(Ce(e))}var Ae=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var r=this;this.transitionTo(e,(function(e){r.stack=r.stack.slice(0,r.index+1).concat(e),r.index++,t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var r=this;this.transitionTo(e,(function(e){r.stack=r.stack.slice(0,r.index).concat(e),t&&t(e)}),n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){t.index=n,t.updateRoute(r)}),(function(e){s(be,e)&&(t.index=n)}))}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(ke),Ee=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Z(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!he&&!1!==e.fallback,this.fallback&&(t="hash"),G||(t="abstract"),this.mode=t,t){case"history":this.history=new Te(this,e.base);break;case"hash":this.history=new Se(this,e.base,this.fallback);break;case"abstract":this.history=new Ae(this,e.base);break;default:0}},Re={currentRoute:{configurable:!0}};function Fe(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}Ee.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},Re.currentRoute.get=function(){return this.history&&this.history.current},Ee.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",(function(){var n=t.apps.indexOf(e);n>-1&&t.apps.splice(n,1),t.app===e&&(t.app=t.apps[0]||null)})),!this.app){this.app=e;var n=this.history;if(n instanceof Te)n.transitionTo(n.getCurrentLocation());else if(n instanceof Se){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},Ee.prototype.beforeEach=function(e){return Fe(this.beforeHooks,e)},Ee.prototype.beforeResolve=function(e){return Fe(this.resolveHooks,e)},Ee.prototype.afterEach=function(e){return Fe(this.afterHooks,e)},Ee.prototype.onReady=function(e,t){this.history.onReady(e,t)},Ee.prototype.onError=function(e){this.history.onError(e)},Ee.prototype.push=function(e,t,n){var r=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise((function(t,n){r.history.push(e,t,n)}));this.history.push(e,t,n)},Ee.prototype.replace=function(e,t,n){var r=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise((function(t,n){r.history.replace(e,t,n)}));this.history.replace(e,t,n)},Ee.prototype.go=function(e){this.history.go(e)},Ee.prototype.back=function(){this.go(-1)},Ee.prototype.forward=function(){this.go(1)},Ee.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map((function(e){return Object.keys(e.components).map((function(t){return e.components[t]}))}))):[]},Ee.prototype.resolve=function(e,t,n){var r=z(e,t=t||this.history.current,n,this),s=this.match(r,t),a=s.redirectedFrom||s.fullPath;return{location:r,route:s,href:function(e,t,n){var r="hash"===n?"#"+t:t;return e?k(e+"/"+r):r}(this.history.base,a,this.mode),normalizedTo:r,resolved:s}},Ee.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==y&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Ee.prototype,Re),Ee.install=function e(t){if(!e.installed||J!==t){e.installed=!0,J=t;var n=function(e){return void 0!==e},r=function(e,t){var r=e.$options._parentVnode;n(r)&&n(r=r.data)&&n(r=r.registerRouteInstance)&&r(e,t)};t.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",o),t.component("RouterLink",V);var s=t.config.optionMergeStrategies;s.beforeRouteEnter=s.beforeRouteLeave=s.beforeRouteUpdate=s.created}},Ee.version="3.1.6",G&&window.Vue&&window.Vue.use(Ee),t.a=Ee},"./node_modules/vue/dist/vue.esm.js":function(e,t,n){"use strict";n.r(t),function(e,n){ /*! * Vue.js v2.6.11 * (c) 2014-2019 Evan You * Released under the MIT License. */ -var r=Object.freeze({});function s(e){return null==e}function a(e){return null!=e}function o(e){return!0===e}function i(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function d(e){return null!==e&&"object"==typeof e}var l=Object.prototype.toString;function u(e){return"[object Object]"===l.call(e)}function c(e){return"[object RegExp]"===l.call(e)}function m(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function _(e){return a(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function h(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function p(e){var t=parseFloat(e);return isNaN(t)?e:t}function f(e,t){for(var n=Object.create(null),r=e.split(","),s=0;s-1)return e.splice(n,1)}}var g=Object.prototype.hasOwnProperty;function L(e,t){return g.call(e,t)}function Y(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var b=/-(\w)/g,k=Y((function(e){return e.replace(b,(function(e,t){return t?t.toUpperCase():""}))})),w=Y((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),D=/\B([A-Z])/g,T=Y((function(e){return e.replace(D,"-$1").toLowerCase()}));var j=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function S(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function x(e,t){for(var n in t)e[n]=t[n];return e}function H(e){for(var t={},n=0;n0,Q=K&&K.indexOf("edge/")>0,ee=(K&&K.indexOf("android"),K&&/iphone|ipad|ipod|ios/.test(K)||"ios"===q),te=(K&&/chrome\/\d+/.test(K),K&&/phantomjs/.test(K),K&&K.match(/firefox\/(\d+)/)),ne={}.watch,re=!1;if(B)try{var se={};Object.defineProperty(se,"passive",{get:function(){re=!0}}),window.addEventListener("test-passive",null,se)}catch(e){}var ae=function(){return void 0===U&&(U=!B&&!G&&void 0!==e&&(e.process&&"server"===e.process.env.VUE_ENV)),U},oe=B&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ie(e){return"function"==typeof e&&/native code/.test(e.toString())}var de,le="undefined"!=typeof Symbol&&ie(Symbol)&&"undefined"!=typeof Reflect&&ie(Reflect.ownKeys);de="undefined"!=typeof Set&&ie(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ue=C,ce=0,me=function(){this.id=ce++,this.subs=[]};me.prototype.addSub=function(e){this.subs.push(e)},me.prototype.removeSub=function(e){M(this.subs,e)},me.prototype.depend=function(){me.target&&me.target.addDep(this)},me.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(a&&!L(s,"default"))o=!1;else if(""===o||o===T(e)){var d=ze(String,s.type);(d<0||i0&&(mt((d=e(d,(n||"")+"_"+r))[0])&&mt(u)&&(c[l]=Me(u.text+d[0].text),d.shift()),c.push.apply(c,d)):i(d)?mt(u)?c[l]=Me(u.text+d):""!==d&&c.push(Me(d)):mt(d)&&mt(u)?c[l]=Me(u.text+d.text):(o(t._isVList)&&a(d.tag)&&s(d.key)&&a(n)&&(d.key="__vlist"+n+"_"+r+"__"),c.push(d)));return c}(e):void 0}function mt(e){return a(e)&&a(e.text)&&!1===e.isComment}function _t(e,t){if(e){for(var n=Object.create(null),r=le?Reflect.ownKeys(e):Object.keys(e),s=0;s0,o=e?!!e.$stable:!a,i=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(o&&n&&n!==r&&i===n.$key&&!a&&!n.$hasNormal)return n;for(var d in s={},e)e[d]&&"$"!==d[0]&&(s[d]=vt(t,d,e[d]))}else s={};for(var l in t)l in s||(s[l]=yt(t,l));return e&&Object.isExtensible(e)&&(e._normalized=s),z(s,"$stable",o),z(s,"$key",i),z(s,"$hasNormal",a),s}function vt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:ct(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function yt(e,t){return function(){return e[t]}}function Mt(e,t){var n,r,s,o,i;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,s=e.length;rdocument.createEvent("Event").timeStamp&&(un=function(){return cn.now()})}function mn(){var e,t;for(ln=un(),on=!0,nn.sort((function(e,t){return e.id-t.id})),dn=0;dndn&&nn[n].id>e.id;)n--;nn.splice(n+1,0,e)}else nn.push(e);an||(an=!0,rt(mn))}}(this)},hn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||d(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Je(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},hn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},hn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},hn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||M(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var pn={enumerable:!0,configurable:!0,get:C,set:C};function fn(e,t,n){pn.get=function(){return this[t][n]},pn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,pn)}function vn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},s=e.$options._propKeys=[];e.$parent&&we(!1);var a=function(a){s.push(a);var o=We(a,t,n,e);je(r,a,o),a in e||fn(e,"_props",a)};for(var o in t)a(o);we(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?C:j(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;u(t=e._data="function"==typeof t?function(e,t){he();try{return e.call(t,t)}catch(e){return Je(e,t,"data()"),{}}finally{pe()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,s=(e.$options.methods,n.length);for(;s--;){var a=n[s];0,r&&L(r,a)||I(a)||fn(e,"_data",a)}Te(t,!0)}(e):Te(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=ae();for(var s in t){var a=t[s],o="function"==typeof a?a:a.get;0,r||(n[s]=new hn(e,o||C,C,yn)),s in e||Mn(e,s,a)}}(e,t.computed),t.watch&&t.watch!==ne&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var s=0;s-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!c(e)&&e.test(t)}function Sn(e,t){var n=e.cache,r=e.keys,s=e._vnode;for(var a in n){var o=n[a];if(o){var i=Tn(o.componentOptions);i&&!t(i)&&xn(n,a,r,s)}}}function xn(e,t,n,r){var s=e[t];!s||r&&s.tag===r.tag||s.componentInstance.$destroy(),e[t]=null,M(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=bn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var s=r.componentOptions;n.propsData=s.propsData,n._parentListeners=s.listeners,n._renderChildren=s.children,n._componentTag=s.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Fe(kn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Kt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,s=n&&n.context;e.$slots=ht(t._renderChildren,s),e.$scopedSlots=r,e._c=function(t,n,r,s){return $t(e,t,n,r,s,!1)},e.$createElement=function(t,n,r,s){return $t(e,t,n,r,s,!0)};var a=n&&n.data;je(e,"$attrs",a&&a.attrs||r,null,!0),je(e,"$listeners",t._parentListeners||r,null,!0)}(t),tn(t,"beforeCreate"),function(e){var t=_t(e.$options.inject,e);t&&(we(!1),Object.keys(t).forEach((function(n){je(e,n,t[n])})),we(!0))}(t),vn(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),tn(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(wn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Se,e.prototype.$delete=xe,e.prototype.$watch=function(e,t,n){if(u(t))return Yn(this,e,t,n);(n=n||{}).user=!0;var r=new hn(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){Je(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(wn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var s=0,a=e.length;s1?S(n):n;for(var r=S(arguments,1),s='event handler for "'+e+'"',a=0,o=n.length;aparseInt(this.max)&&xn(o,i[0],i,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return W}};Object.defineProperty(e,"config",t),e.util={warn:ue,extend:x,mergeOptions:Fe,defineReactive:je},e.set=Se,e.delete=xe,e.nextTick=rt,e.observable=function(e){return Te(e),e},e.options=Object.create(null),F.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,x(e.options.components,Cn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=S(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Fe(this.options,e),this}}(e),Dn(e),function(e){F.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}(wn),Object.defineProperty(wn.prototype,"$isServer",{get:ae}),Object.defineProperty(wn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(wn,"FunctionalRenderContext",{value:Pt}),wn.version="2.6.11";var On=f("style,class"),Pn=f("input,textarea,option,select,progress"),An=function(e,t,n){return"value"===n&&Pn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},En=f("contenteditable,draggable,spellcheck"),Rn=f("events,caret,typing,plaintext-only"),Fn=f("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Nn="http://www.w3.org/1999/xlink",Wn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},$n=function(e){return Wn(e)?e.slice(6,e.length):""},In=function(e){return null==e||!1===e};function zn(e){for(var t=e.data,n=e,r=e;a(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Jn(r.data,t));for(;a(n=n.parent);)n&&n.data&&(t=Jn(t,n.data));return function(e,t){if(a(e)||a(t))return Un(e,Vn(t));return""}(t.staticClass,t.class)}function Jn(e,t){return{staticClass:Un(e.staticClass,t.staticClass),class:a(e.class)?[e.class,t.class]:t.class}}function Un(e,t){return e?t?e+" "+t:e:t||""}function Vn(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,s=e.length;r-1?vr(e,t,n):Fn(t)?In(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):En(t)?e.setAttribute(t,function(e,t){return In(t)||"false"===t?"false":"contenteditable"===e&&Rn(t)?t:"true"}(t,n)):Wn(t)?In(n)?e.removeAttributeNS(Nn,$n(t)):e.setAttributeNS(Nn,t,n):vr(e,t,n)}function vr(e,t,n){if(In(n))e.removeAttribute(t);else{if(Z&&!X&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var yr={create:pr,update:pr};function Mr(e,t){var n=t.elm,r=t.data,o=e.data;if(!(s(r.staticClass)&&s(r.class)&&(s(o)||s(o.staticClass)&&s(o.class)))){var i=zn(t),d=n._transitionClasses;a(d)&&(i=Un(i,Vn(d))),i!==n._prevClass&&(n.setAttribute("class",i),n._prevClass=i)}}var gr,Lr,Yr,br,kr,wr,Dr={create:Mr,update:Mr},Tr=/[\w).+\-_$\]]/;function jr(e){var t,n,r,s,a,o=!1,i=!1,d=!1,l=!1,u=0,c=0,m=0,_=0;for(r=0;r=0&&" "===(p=e.charAt(h));h--);p&&Tr.test(p)||(l=!0)}}else void 0===s?(_=r+1,s=e.slice(0,r).trim()):f();function f(){(a||(a=[])).push(e.slice(_,r).trim()),_=r+1}if(void 0===s?s=e.slice(0,r).trim():0!==_&&f(),a)for(r=0;r-1?{exp:e.slice(0,br),key:'"'+e.slice(br+1)+'"'}:{exp:e,key:null};Lr=e,br=kr=wr=0;for(;!Ur();)Vr(Yr=Jr())?Gr(Yr):91===Yr&&Br(Yr);return{exp:e.slice(0,kr),key:e.slice(kr+1,wr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Jr(){return Lr.charCodeAt(++br)}function Ur(){return br>=gr}function Vr(e){return 34===e||39===e}function Br(e){var t=1;for(kr=br;!Ur();)if(Vr(e=Jr()))Gr(e);else if(91===e&&t++,93===e&&t--,0===t){wr=br;break}}function Gr(e){for(var t=e;!Ur()&&(e=Jr())!==t;);}var qr;function Kr(e,t,n){var r=qr;return function s(){var a=t.apply(null,arguments);null!==a&&Qr(e,s,n,r)}}var Zr=qe&&!(te&&Number(te[1])<=53);function Xr(e,t,n,r){if(Zr){var s=ln,a=t;t=a._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=s||e.timeStamp<=0||e.target.ownerDocument!==document)return a.apply(this,arguments)}}qr.addEventListener(e,t,re?{capture:n,passive:r}:n)}function Qr(e,t,n,r){(r||qr).removeEventListener(e,t._wrapper||t,n)}function es(e,t){if(!s(e.data.on)||!s(t.data.on)){var n=t.data.on||{},r=e.data.on||{};qr=t.elm,function(e){if(a(e.__r)){var t=Z?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}a(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(n),dt(n,r,Xr,Qr,Kr,t.context),qr=void 0}}var ts,ns={create:es,update:es};function rs(e,t){if(!s(e.data.domProps)||!s(t.data.domProps)){var n,r,o=t.elm,i=e.data.domProps||{},d=t.data.domProps||{};for(n in a(d.__ob__)&&(d=t.data.domProps=x({},d)),i)n in d||(o[n]="");for(n in d){if(r=d[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===i[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;var l=s(r)?"":String(r);ss(o,l)&&(o.value=l)}else if("innerHTML"===n&&qn(o.tagName)&&s(o.innerHTML)){(ts=ts||document.createElement("div")).innerHTML=""+r+"";for(var u=ts.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;u.firstChild;)o.appendChild(u.firstChild)}else if(r!==i[n])try{o[n]=r}catch(e){}}}}function ss(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(a(r)){if(r.number)return p(n)!==p(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var as={create:rs,update:rs},os=Y((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function is(e){var t=ds(e.style);return e.staticStyle?x(e.staticStyle,t):t}function ds(e){return Array.isArray(e)?H(e):"string"==typeof e?os(e):e}var ls,us=/^--/,cs=/\s*!important$/,ms=function(e,t,n){if(us.test(t))e.style.setProperty(t,n);else if(cs.test(n))e.style.setProperty(T(t),n.replace(cs,""),"important");else{var r=hs(t);if(Array.isArray(n))for(var s=0,a=n.length;s-1?t.split(vs).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Ms(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(vs).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function gs(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&x(t,Ls(e.name||"v")),x(t,e),t}return"string"==typeof e?Ls(e):void 0}}var Ls=Y((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Ys=B&&!X,bs="transition",ks="transitionend",ws="animation",Ds="animationend";Ys&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(bs="WebkitTransition",ks="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ws="WebkitAnimation",Ds="webkitAnimationEnd"));var Ts=B?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function js(e){Ts((function(){Ts(e)}))}function Ss(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),ys(e,t))}function xs(e,t){e._transitionClasses&&M(e._transitionClasses,t),Ms(e,t)}function Hs(e,t,n){var r=Os(e,t),s=r.type,a=r.timeout,o=r.propCount;if(!s)return n();var i="transition"===s?ks:Ds,d=0,l=function(){e.removeEventListener(i,u),n()},u=function(t){t.target===e&&++d>=o&&l()};setTimeout((function(){d0&&(n="transition",u=o,c=a.length):"animation"===t?l>0&&(n="animation",u=l,c=d.length):c=(n=(u=Math.max(o,l))>0?o>l?"transition":"animation":null)?"transition"===n?a.length:d.length:0,{type:n,timeout:u,propCount:c,hasTransform:"transition"===n&&Cs.test(r[bs+"Property"])}}function Ps(e,t){for(;e.length1}function Ws(e,t){!0!==t.data.show&&Es(t)}var $s=function(e){var t,n,r={},d=e.modules,l=e.nodeOps;for(t=0;th?M(e,s(n[v+1])?null:n[v+1].elm,n,_,v,r):_>v&&L(t,m,h)}(m,f,v,n,u):a(v)?(a(e.text)&&l.setTextContent(m,""),M(m,null,v,0,v.length-1,n)):a(f)?L(f,0,f.length-1):a(e.text)&&l.setTextContent(m,""):e.text!==t.text&&l.setTextContent(m,t.text),a(h)&&a(_=h.hook)&&a(_=_.postpatch)&&_(e,t)}}}function w(e,t,n){if(o(n)&&a(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r-1,o.selected!==a&&(o.selected=a);else if(A(Vs(o),r))return void(e.selectedIndex!==i&&(e.selectedIndex=i));s||(e.selectedIndex=-1)}}function Us(e,t){return t.every((function(t){return!A(t,e)}))}function Vs(e){return"_value"in e?e._value:e.value}function Bs(e){e.target.composing=!0}function Gs(e){e.target.composing&&(e.target.composing=!1,qs(e.target,"input"))}function qs(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Ks(e){return!e.componentInstance||e.data&&e.data.transition?e:Ks(e.componentInstance._vnode)}var Zs={model:Is,show:{bind:function(e,t,n){var r=t.value,s=(n=Ks(n)).data&&n.data.transition,a=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&s?(n.data.show=!0,Es(n,(function(){e.style.display=a}))):e.style.display=r?a:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Ks(n)).data&&n.data.transition?(n.data.show=!0,r?Es(n,(function(){e.style.display=e.__vOriginalDisplay})):Rs(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,s){s||(e.style.display=e.__vOriginalDisplay)}}},Xs={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Qs(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Qs(Vt(t.children)):e}function ea(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var s=n._parentListeners;for(var a in s)t[k(a)]=s[a];return t}function ta(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var na=function(e){return e.tag||Ut(e)},ra=function(e){return"show"===e.name},sa={name:"transition",props:Xs,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(na)).length){0;var r=this.mode;0;var s=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return s;var a=Qs(s);if(!a)return s;if(this._leaving)return ta(e,s);var o="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?o+"comment":o+a.tag:i(a.key)?0===String(a.key).indexOf(o)?a.key:o+a.key:a.key;var d=(a.data||(a.data={})).transition=ea(this),l=this._vnode,u=Qs(l);if(a.data.directives&&a.data.directives.some(ra)&&(a.data.show=!0),u&&u.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(a,u)&&!Ut(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var c=u.data.transition=x({},d);if("out-in"===r)return this._leaving=!0,lt(c,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),ta(e,s);if("in-out"===r){if(Ut(a))return l;var m,_=function(){m()};lt(d,"afterEnter",_),lt(d,"enterCancelled",_),lt(c,"delayLeave",(function(e){m=e}))}}return s}}},aa=x({tag:String,moveClass:String},Xs);function oa(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function ia(e){e.data.newPos=e.elm.getBoundingClientRect()}function da(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,s=t.top-n.top;if(r||s){e.data.moved=!0;var a=e.elm.style;a.transform=a.WebkitTransform="translate("+r+"px,"+s+"px)",a.transitionDuration="0s"}}delete aa.mode;var la={Transition:sa,TransitionGroup:{props:aa,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var s=Xt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,s(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,s=this.$slots.default||[],a=this.children=[],o=ea(this),i=0;i-1?Xn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Xn[e]=/HTMLUnknownElement/.test(t.toString())},x(wn.options.directives,Zs),x(wn.options.components,la),wn.prototype.__patch__=B?$s:C,wn.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=ye),tn(e,"beforeMount"),r=function(){e._update(e._render(),n)},new hn(e,r,C,{before:function(){e._isMounted&&!e._isDestroyed&&tn(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,tn(e,"mounted")),e}(this,e=e&&B?er(e):void 0,t)},B&&setTimeout((function(){W.devtools&&oe&&oe.emit("init",wn)}),0);var ua=/\{\{((?:.|\r?\n)+?)\}\}/g,ca=/[-.*+?^${}()|[\]\/\\]/g,ma=Y((function(e){var t=e[0].replace(ca,"\\$&"),n=e[1].replace(ca,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}));var _a={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Nr(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Fr(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var ha,pa={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Nr(e,"style");n&&(e.staticStyle=JSON.stringify(os(n)));var r=Fr(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},fa=function(e){return(ha=ha||document.createElement("div")).innerHTML=e,ha.textContent},va=f("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),ya=f("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Ma=f("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),ga=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,La=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ya="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+$.source+"]*",ba="((?:"+Ya+"\\:)?"+Ya+")",ka=new RegExp("^<"+ba),wa=/^\s*(\/?)>/,Da=new RegExp("^<\\/"+ba+"[^>]*>"),Ta=/^]+>/i,ja=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Oa=/&(?:lt|gt|quot|amp|#39);/g,Pa=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Aa=f("pre,textarea",!0),Ea=function(e,t){return e&&Aa(e)&&"\n"===t[0]};function Ra(e,t){var n=t?Pa:Oa;return e.replace(n,(function(e){return Ca[e]}))}var Fa,Na,Wa,$a,Ia,za,Ja,Ua,Va=/^@|^v-on:/,Ba=/^v-|^@|^:|^#/,Ga=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,qa=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ka=/^\(|\)$/g,Za=/^\[.*\]$/,Xa=/:(.*)$/,Qa=/^:|^\.|^v-bind:/,eo=/\.[^.\]]+(?=[^\]]*$)/g,to=/^v-slot(:|$)|^#/,no=/[\r\n]/,ro=/\s+/g,so=Y(fa);function ao(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:_o(t),rawAttrsMap:{},parent:n,children:[]}}function oo(e,t){Fa=t.warn||xr,za=t.isPreTag||O,Ja=t.mustUseProp||O,Ua=t.getTagNamespace||O;var n=t.isReservedTag||O;(function(e){return!!e.component||!n(e.tag)}),Wa=Hr(t.modules,"transformNode"),$a=Hr(t.modules,"preTransformNode"),Ia=Hr(t.modules,"postTransformNode"),Na=t.delimiters;var r,s,a=[],o=!1!==t.preserveWhitespace,i=t.whitespace,d=!1,l=!1;function u(e){if(c(e),d||e.processed||(e=io(e,t)),a.length||e===r||r.if&&(e.elseif||e.else)&&uo(r,{exp:e.elseif,block:e}),s&&!e.forbidden)if(e.elseif||e.else)o=e,(i=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(s.children))&&i.if&&uo(i,{exp:o.elseif,block:o});else{if(e.slotScope){var n=e.slotTarget||'"default"';(s.scopedSlots||(s.scopedSlots={}))[n]=e}s.children.push(e),e.parent=s}var o,i;e.children=e.children.filter((function(e){return!e.slotScope})),c(e),e.pre&&(d=!1),za(e.tag)&&(l=!1);for(var u=0;u]*>)","i")),m=e.replace(c,(function(e,n,r){return l=r.length,xa(u)||"noscript"===u||(n=n.replace(//g,"$1").replace(//g,"$1")),Ea(u,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""}));d+=e.length-m.length,e=m,D(u,d-l,d)}else{var _=e.indexOf("<");if(0===_){if(ja.test(e)){var h=e.indexOf("--\x3e");if(h>=0){t.shouldKeepComment&&t.comment(e.substring(4,h),d,d+h+3),b(h+3);continue}}if(Sa.test(e)){var p=e.indexOf("]>");if(p>=0){b(p+2);continue}}var f=e.match(Ta);if(f){b(f[0].length);continue}var v=e.match(Da);if(v){var y=d;b(v[0].length),D(v[1],y,d);continue}var M=k();if(M){w(M),Ea(M.tagName,e)&&b(1);continue}}var g=void 0,L=void 0,Y=void 0;if(_>=0){for(L=e.slice(_);!(Da.test(L)||ka.test(L)||ja.test(L)||Sa.test(L)||(Y=L.indexOf("<",1))<0);)_+=Y,L=e.slice(_);g=e.substring(0,_)}_<0&&(g=e),g&&b(g.length),t.chars&&g&&t.chars(g,d-g.length,d)}if(e===n){t.chars&&t.chars(e);break}}function b(t){d+=t,e=e.substring(t)}function k(){var t=e.match(ka);if(t){var n,r,s={tagName:t[1],attrs:[],start:d};for(b(t[0].length);!(n=e.match(wa))&&(r=e.match(La)||e.match(ga));)r.start=d,b(r[0].length),r.end=d,s.attrs.push(r);if(n)return s.unarySlash=n[1],b(n[0].length),s.end=d,s}}function w(e){var n=e.tagName,d=e.unarySlash;a&&("p"===r&&Ma(n)&&D(r),i(n)&&r===n&&D(n));for(var l=o(n)||!!d,u=e.attrs.length,c=new Array(u),m=0;m=0&&s[o].lowerCasedTag!==i;o--);else o=0;if(o>=0){for(var l=s.length-1;l>=o;l--)t.end&&t.end(s[l].tag,n,a);s.length=o,r=o&&s[o-1].tag}else"br"===i?t.start&&t.start(e,[],!0,n,a):"p"===i&&(t.start&&t.start(e,[],!1,n,a),t.end&&t.end(e,n,a))}D()}(e,{warn:Fa,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,n,o,i,c){var m=s&&s.ns||Ua(e);Z&&"svg"===m&&(n=function(e){for(var t=[],n=0;nd&&(i.push(a=e.slice(d,s)),o.push(JSON.stringify(a)));var l=jr(r[1].trim());o.push("_s("+l+")"),i.push({"@binding":l}),d=s+r[0].length}return d-1"+("true"===a?":("+t+")":":_q("+t+","+a+")")),Rr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+a+"):("+o+");if(Array.isArray($$a)){var $$v="+(r?"_n("+s+")":s)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+zr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+zr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+zr(t,"$$c")+"}",null,!0)}(e,r,s);else if("input"===a&&"radio"===o)!function(e,t,n){var r=n&&n.number,s=Fr(e,"value")||"null";Cr(e,"checked","_q("+t+","+(s=r?"_n("+s+")":s)+")"),Rr(e,"change",zr(t,s),null,!0)}(e,r,s);else if("input"===a||"textarea"===a)!function(e,t,n){var r=e.attrsMap.type;0;var s=n||{},a=s.lazy,o=s.number,i=s.trim,d=!a&&"range"!==r,l=a?"change":"range"===r?"__r":"input",u="$event.target.value";i&&(u="$event.target.value.trim()");o&&(u="_n("+u+")");var c=zr(t,u);d&&(c="if($event.target.composing)return;"+c);Cr(e,"value","("+t+")"),Rr(e,l,c,null,!0),(i||o)&&Rr(e,"blur","$forceUpdate()")}(e,r,s);else{if(!W.isReservedTag(a))return Ir(e,r,s),!1}return!0},text:function(e,t){t.value&&Cr(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Cr(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:va,mustUseProp:An,canBeLeftOpenTag:ya,isReservedTag:Kn,getTagNamespace:Zn,staticKeys:function(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}(vo)},Lo=Y((function(e){return f("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));function Yo(e,t){e&&(yo=Lo(t.staticKeys||""),Mo=t.isReservedTag||O,function e(t){if(t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||v(e.tag)||!Mo(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(yo)))}(t),1===t.type){if(!Mo(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n|^function(?:\s+[\w$]+)?\s*\(/,ko=/\([^)]*?\);*$/,wo=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Do={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},To={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},jo=function(e){return"if("+e+")return null;"},So={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:jo("$event.target !== $event.currentTarget"),ctrl:jo("!$event.ctrlKey"),shift:jo("!$event.shiftKey"),alt:jo("!$event.altKey"),meta:jo("!$event.metaKey"),left:jo("'button' in $event && $event.button !== 0"),middle:jo("'button' in $event && $event.button !== 1"),right:jo("'button' in $event && $event.button !== 2")};function xo(e,t){var n=t?"nativeOn:":"on:",r="",s="";for(var a in e){var o=Ho(e[a]);e[a]&&e[a].dynamic?s+=a+","+o+",":r+='"'+a+'":'+o+","}return r="{"+r.slice(0,-1)+"}",s?n+"_d("+r+",["+s.slice(0,-1)+"])":n+r}function Ho(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return Ho(e)})).join(",")+"]";var t=wo.test(e.value),n=bo.test(e.value),r=wo.test(e.value.replace(ko,""));if(e.modifiers){var s="",a="",o=[];for(var i in e.modifiers)if(So[i])a+=So[i],Do[i]&&o.push(i);else if("exact"===i){var d=e.modifiers;a+=jo(["ctrl","shift","alt","meta"].filter((function(e){return!d[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else o.push(i);return o.length&&(s+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Co).join("&&")+")return null;"}(o)),a&&(s+=a),"function($event){"+s+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Co(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Do[e],r=To[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Oo={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:C},Po=function(e){this.options=e,this.warn=e.warn||xr,this.transforms=Hr(e.modules,"transformCode"),this.dataGenFns=Hr(e.modules,"genData"),this.directives=x(x({},Oo),e.directives);var t=e.isReservedTag||O;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Ao(e,t){var n=new Po(t);return{render:"with(this){return "+(e?Eo(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Eo(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Ro(e,t);if(e.once&&!e.onceProcessed)return Fo(e,t);if(e.for&&!e.forProcessed)return Wo(e,t);if(e.if&&!e.ifProcessed)return No(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=Jo(e,t),s="_t("+n+(r?","+r:""),a=e.attrs||e.dynamicAttrs?Bo((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:k(e.name),value:e.value,dynamic:e.dynamic}}))):null,o=e.attrsMap["v-bind"];!a&&!o||r||(s+=",null");a&&(s+=","+a);o&&(s+=(a?"":",null")+","+o);return s+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:Jo(t,n,!0);return"_c("+e+","+$o(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=$o(e,t));var s=e.inlineTemplate?null:Jo(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(s?","+s:"")+")"}for(var a=0;a>>0}(o):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var a=function(e,t){var n=e.children[0];0;if(n&&1===n.type){var r=Ao(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map((function(e){return"function(){"+e+"}"})).join(",")+"]}"}}(e,t);a&&(n+=a+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+Bo(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Io(e){return 1===e.type&&("slot"===e.tag||e.children.some(Io))}function zo(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return No(e,t,zo,"null");if(e.for&&!e.forProcessed)return Wo(e,t,zo);var r="_empty_"===e.slotScope?"":String(e.slotScope),s="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(Jo(e,t)||"undefined")+":undefined":Jo(e,t)||"undefined":Eo(e,t))+"}",a=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+s+a+"}"}function Jo(e,t,n,r,s){var a=e.children;if(a.length){var o=a[0];if(1===a.length&&o.for&&"template"!==o.tag&&"slot"!==o.tag){var i=n?t.maybeComponent(o)?",1":",0":"";return""+(r||Eo)(o,t)+i}var d=n?function(e,t){for(var n=0,r=0;r':'
',Xo.innerHTML.indexOf(" ")>0}var ni=!!B&&ti(!1),ri=!!B&&ti(!0),si=Y((function(e){var t=er(e);return t&&t.innerHTML})),ai=wn.prototype.$mount;wn.prototype.$mount=function(e,t){if((e=e&&er(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=si(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){0;var s=ei(r,{outputSourceRange:!1,shouldDecodeNewlines:ni,shouldDecodeNewlinesForHref:ri,delimiters:n.delimiters,comments:n.comments},this),a=s.render,o=s.staticRenderFns;n.render=a,n.staticRenderFns=o}}return ai.call(this,e,t)},wn.compile=ei,t.default=wn}.call(this,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/timers-browserify/main.js").setImmediate)},"./node_modules/vuex/dist/vuex.esm.js":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u})),n.d(t,"c",(function(){return Y})),n.d(t,"d",(function(){return L}));var r=("undefined"!=typeof window?window:void 0!==e?e:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function s(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function a(e){return null!==e&&"object"==typeof e}var o=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"==typeof n?n():n)||{}},i={namespaced:{configurable:!0}};i.namespaced.get=function(){return!!this._rawModule.namespaced},o.prototype.addChild=function(e,t){this._children[e]=t},o.prototype.removeChild=function(e){delete this._children[e]},o.prototype.getChild=function(e){return this._children[e]},o.prototype.hasChild=function(e){return e in this._children},o.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},o.prototype.forEachChild=function(e){s(this._children,e)},o.prototype.forEachGetter=function(e){this._rawModule.getters&&s(this._rawModule.getters,e)},o.prototype.forEachAction=function(e){this._rawModule.actions&&s(this._rawModule.actions,e)},o.prototype.forEachMutation=function(e){this._rawModule.mutations&&s(this._rawModule.mutations,e)},Object.defineProperties(o.prototype,i);var d=function(e){this.register([],e,!1)};d.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},d.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")}),"")},d.prototype.update=function(e){!function e(t,n,r){0;if(n.update(r),r.modules)for(var s in r.modules){if(!n.getChild(s))return void 0;e(t.concat(s),n.getChild(s),r.modules[s])}}([],this.root,e)},d.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var a=new o(t,n);0===e.length?this.root=a:this.get(e.slice(0,-1)).addChild(e[e.length-1],a);t.modules&&s(t.modules,(function(t,s){r.register(e.concat(s),t,n)}))},d.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];t.getChild(n).runtime&&t.removeChild(n)},d.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return t.hasChild(n)};var l;var u=function(e){var t=this;void 0===e&&(e={}),!l&&"undefined"!=typeof window&&window.Vue&&y(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var s=e.strict;void 0===s&&(s=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new d(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new l,this._makeLocalGettersCache=Object.create(null);var a=this,o=this.dispatch,i=this.commit;this.dispatch=function(e,t){return o.call(a,e,t)},this.commit=function(e,t,n){return i.call(a,e,t,n)},this.strict=s;var u=this._modules.root.state;p(this,u,[],this._modules.root),h(this,u),n.forEach((function(e){return e(t)})),(void 0!==e.devtools?e.devtools:l.config.devtools)&&function(e){r&&(e._devtoolHook=r,r.emit("vuex:init",e),r.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){r.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){r.emit("vuex:action",e,t)}),{prepend:!0}))}(this)},c={state:{configurable:!0}};function m(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function _(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;p(e,n,[],e._modules.root,!0),h(e,n,t)}function h(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var a=e._wrappedGetters,o={};s(a,(function(t,n){o[n]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var i=l.config.silent;l.config.silent=!0,e._vm=new l({data:{$$state:t},computed:o}),l.config.silent=i,e.strict&&function(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),l.nextTick((function(){return r.$destroy()})))}function p(e,t,n,r,s){var a=!n.length,o=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[o],e._modulesNamespaceMap[o]=r),!a&&!s){var i=f(t,n.slice(0,-1)),d=n[n.length-1];e._withCommit((function(){l.set(i,d,r.state)}))}var u=r.context=function(e,t,n){var r=""===t,s={dispatch:r?e.dispatch:function(n,r,s){var a=v(n,r,s),o=a.payload,i=a.options,d=a.type;return i&&i.root||(d=t+d),e.dispatch(d,o)},commit:r?e.commit:function(n,r,s){var a=v(n,r,s),o=a.payload,i=a.options,d=a.type;i&&i.root||(d=t+d),e.commit(d,o,i)}};return Object.defineProperties(s,{getters:{get:r?function(){return e.getters}:function(){return function(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(s){if(s.slice(0,r)===t){var a=s.slice(r);Object.defineProperty(n,a,{get:function(){return e.getters[s]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}(e,t)}},state:{get:function(){return f(e.state,n)}}}),s}(e,o,n);r.forEachMutation((function(t,n){!function(e,t,n,r){(e._mutations[t]||(e._mutations[t]=[])).push((function(t){n.call(e,r.state,t)}))}(e,o+n,t,u)})),r.forEachAction((function(t,n){var r=t.root?n:o+n,s=t.handler||t;!function(e,t,n,r){(e._actions[t]||(e._actions[t]=[])).push((function(t){var s,a=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return(s=a)&&"function"==typeof s.then||(a=Promise.resolve(a)),e._devtoolHook?a.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):a}))}(e,r,s,u)})),r.forEachGetter((function(t,n){!function(e,t,n,r){if(e._wrappedGetters[t])return void 0;e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)}}(e,o+n,t,u)})),r.forEachChild((function(r,a){p(e,t,n.concat(a),r,s)}))}function f(e,t){return t.reduce((function(e,t){return e[t]}),e)}function v(e,t,n){return a(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function y(e){l&&e===l|| +var r=Object.freeze({});function s(e){return null==e}function a(e){return null!=e}function o(e){return!0===e}function i(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function d(e){return null!==e&&"object"==typeof e}var l=Object.prototype.toString;function u(e){return"[object Object]"===l.call(e)}function c(e){return"[object RegExp]"===l.call(e)}function m(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function _(e){return a(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function h(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function p(e){var t=parseFloat(e);return isNaN(t)?e:t}function f(e,t){for(var n=Object.create(null),r=e.split(","),s=0;s-1)return e.splice(n,1)}}var M=Object.prototype.hasOwnProperty;function L(e,t){return M.call(e,t)}function Y(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var b=/-(\w)/g,k=Y((function(e){return e.replace(b,(function(e,t){return t?t.toUpperCase():""}))})),w=Y((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),D=/\B([A-Z])/g,T=Y((function(e){return e.replace(D,"-$1").toLowerCase()}));var j=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function S(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function x(e,t){for(var n in t)e[n]=t[n];return e}function H(e){for(var t={},n=0;n0,Q=K&&K.indexOf("edge/")>0,ee=(K&&K.indexOf("android"),K&&/iphone|ipad|ipod|ios/.test(K)||"ios"===q),te=(K&&/chrome\/\d+/.test(K),K&&/phantomjs/.test(K),K&&K.match(/firefox\/(\d+)/)),ne={}.watch,re=!1;if(B)try{var se={};Object.defineProperty(se,"passive",{get:function(){re=!0}}),window.addEventListener("test-passive",null,se)}catch(e){}var ae=function(){return void 0===U&&(U=!B&&!G&&void 0!==e&&(e.process&&"server"===e.process.env.VUE_ENV)),U},oe=B&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ie(e){return"function"==typeof e&&/native code/.test(e.toString())}var de,le="undefined"!=typeof Symbol&&ie(Symbol)&&"undefined"!=typeof Reflect&&ie(Reflect.ownKeys);de="undefined"!=typeof Set&&ie(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ue=C,ce=0,me=function(){this.id=ce++,this.subs=[]};me.prototype.addSub=function(e){this.subs.push(e)},me.prototype.removeSub=function(e){g(this.subs,e)},me.prototype.depend=function(){me.target&&me.target.addDep(this)},me.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(a&&!L(s,"default"))o=!1;else if(""===o||o===T(e)){var d=ze(String,s.type);(d<0||i0&&(mt((d=e(d,(n||"")+"_"+r))[0])&&mt(u)&&(c[l]=ge(u.text+d[0].text),d.shift()),c.push.apply(c,d)):i(d)?mt(u)?c[l]=ge(u.text+d):""!==d&&c.push(ge(d)):mt(d)&&mt(u)?c[l]=ge(u.text+d.text):(o(t._isVList)&&a(d.tag)&&s(d.key)&&a(n)&&(d.key="__vlist"+n+"_"+r+"__"),c.push(d)));return c}(e):void 0}function mt(e){return a(e)&&a(e.text)&&!1===e.isComment}function _t(e,t){if(e){for(var n=Object.create(null),r=le?Reflect.ownKeys(e):Object.keys(e),s=0;s0,o=e?!!e.$stable:!a,i=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(o&&n&&n!==r&&i===n.$key&&!a&&!n.$hasNormal)return n;for(var d in s={},e)e[d]&&"$"!==d[0]&&(s[d]=vt(t,d,e[d]))}else s={};for(var l in t)l in s||(s[l]=yt(t,l));return e&&Object.isExtensible(e)&&(e._normalized=s),z(s,"$stable",o),z(s,"$key",i),z(s,"$hasNormal",a),s}function vt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:ct(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function yt(e,t){return function(){return e[t]}}function gt(e,t){var n,r,s,o,i;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,s=e.length;rdocument.createEvent("Event").timeStamp&&(un=function(){return cn.now()})}function mn(){var e,t;for(ln=un(),on=!0,nn.sort((function(e,t){return e.id-t.id})),dn=0;dndn&&nn[n].id>e.id;)n--;nn.splice(n+1,0,e)}else nn.push(e);an||(an=!0,rt(mn))}}(this)},hn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||d(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Je(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},hn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},hn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},hn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var pn={enumerable:!0,configurable:!0,get:C,set:C};function fn(e,t,n){pn.get=function(){return this[t][n]},pn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,pn)}function vn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},s=e.$options._propKeys=[];e.$parent&&we(!1);var a=function(a){s.push(a);var o=We(a,t,n,e);je(r,a,o),a in e||fn(e,"_props",a)};for(var o in t)a(o);we(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?C:j(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;u(t=e._data="function"==typeof t?function(e,t){he();try{return e.call(t,t)}catch(e){return Je(e,t,"data()"),{}}finally{pe()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,s=(e.$options.methods,n.length);for(;s--;){var a=n[s];0,r&&L(r,a)||I(a)||fn(e,"_data",a)}Te(t,!0)}(e):Te(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=ae();for(var s in t){var a=t[s],o="function"==typeof a?a:a.get;0,r||(n[s]=new hn(e,o||C,C,yn)),s in e||gn(e,s,a)}}(e,t.computed),t.watch&&t.watch!==ne&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var s=0;s-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!c(e)&&e.test(t)}function Sn(e,t){var n=e.cache,r=e.keys,s=e._vnode;for(var a in n){var o=n[a];if(o){var i=Tn(o.componentOptions);i&&!t(i)&&xn(n,a,r,s)}}}function xn(e,t,n,r){var s=e[t];!s||r&&s.tag===r.tag||s.componentInstance.$destroy(),e[t]=null,g(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=bn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var s=r.componentOptions;n.propsData=s.propsData,n._parentListeners=s.listeners,n._renderChildren=s.children,n._componentTag=s.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Fe(kn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Kt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,s=n&&n.context;e.$slots=ht(t._renderChildren,s),e.$scopedSlots=r,e._c=function(t,n,r,s){return $t(e,t,n,r,s,!1)},e.$createElement=function(t,n,r,s){return $t(e,t,n,r,s,!0)};var a=n&&n.data;je(e,"$attrs",a&&a.attrs||r,null,!0),je(e,"$listeners",t._parentListeners||r,null,!0)}(t),tn(t,"beforeCreate"),function(e){var t=_t(e.$options.inject,e);t&&(we(!1),Object.keys(t).forEach((function(n){je(e,n,t[n])})),we(!0))}(t),vn(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),tn(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(wn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Se,e.prototype.$delete=xe,e.prototype.$watch=function(e,t,n){if(u(t))return Yn(this,e,t,n);(n=n||{}).user=!0;var r=new hn(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){Je(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(wn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var s=0,a=e.length;s1?S(n):n;for(var r=S(arguments,1),s='event handler for "'+e+'"',a=0,o=n.length;aparseInt(this.max)&&xn(o,i[0],i,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return W}};Object.defineProperty(e,"config",t),e.util={warn:ue,extend:x,mergeOptions:Fe,defineReactive:je},e.set=Se,e.delete=xe,e.nextTick=rt,e.observable=function(e){return Te(e),e},e.options=Object.create(null),F.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,x(e.options.components,Cn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=S(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Fe(this.options,e),this}}(e),Dn(e),function(e){F.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}(wn),Object.defineProperty(wn.prototype,"$isServer",{get:ae}),Object.defineProperty(wn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(wn,"FunctionalRenderContext",{value:Pt}),wn.version="2.6.11";var On=f("style,class"),Pn=f("input,textarea,option,select,progress"),An=function(e,t,n){return"value"===n&&Pn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},En=f("contenteditable,draggable,spellcheck"),Rn=f("events,caret,typing,plaintext-only"),Fn=f("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Nn="http://www.w3.org/1999/xlink",Wn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},$n=function(e){return Wn(e)?e.slice(6,e.length):""},In=function(e){return null==e||!1===e};function zn(e){for(var t=e.data,n=e,r=e;a(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Jn(r.data,t));for(;a(n=n.parent);)n&&n.data&&(t=Jn(t,n.data));return function(e,t){if(a(e)||a(t))return Un(e,Vn(t));return""}(t.staticClass,t.class)}function Jn(e,t){return{staticClass:Un(e.staticClass,t.staticClass),class:a(e.class)?[e.class,t.class]:t.class}}function Un(e,t){return e?t?e+" "+t:e:t||""}function Vn(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,s=e.length;r-1?vr(e,t,n):Fn(t)?In(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):En(t)?e.setAttribute(t,function(e,t){return In(t)||"false"===t?"false":"contenteditable"===e&&Rn(t)?t:"true"}(t,n)):Wn(t)?In(n)?e.removeAttributeNS(Nn,$n(t)):e.setAttributeNS(Nn,t,n):vr(e,t,n)}function vr(e,t,n){if(In(n))e.removeAttribute(t);else{if(Z&&!X&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var yr={create:pr,update:pr};function gr(e,t){var n=t.elm,r=t.data,o=e.data;if(!(s(r.staticClass)&&s(r.class)&&(s(o)||s(o.staticClass)&&s(o.class)))){var i=zn(t),d=n._transitionClasses;a(d)&&(i=Un(i,Vn(d))),i!==n._prevClass&&(n.setAttribute("class",i),n._prevClass=i)}}var Mr,Lr,Yr,br,kr,wr,Dr={create:gr,update:gr},Tr=/[\w).+\-_$\]]/;function jr(e){var t,n,r,s,a,o=!1,i=!1,d=!1,l=!1,u=0,c=0,m=0,_=0;for(r=0;r=0&&" "===(p=e.charAt(h));h--);p&&Tr.test(p)||(l=!0)}}else void 0===s?(_=r+1,s=e.slice(0,r).trim()):f();function f(){(a||(a=[])).push(e.slice(_,r).trim()),_=r+1}if(void 0===s?s=e.slice(0,r).trim():0!==_&&f(),a)for(r=0;r-1?{exp:e.slice(0,br),key:'"'+e.slice(br+1)+'"'}:{exp:e,key:null};Lr=e,br=kr=wr=0;for(;!Ur();)Vr(Yr=Jr())?Gr(Yr):91===Yr&&Br(Yr);return{exp:e.slice(0,kr),key:e.slice(kr+1,wr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Jr(){return Lr.charCodeAt(++br)}function Ur(){return br>=Mr}function Vr(e){return 34===e||39===e}function Br(e){var t=1;for(kr=br;!Ur();)if(Vr(e=Jr()))Gr(e);else if(91===e&&t++,93===e&&t--,0===t){wr=br;break}}function Gr(e){for(var t=e;!Ur()&&(e=Jr())!==t;);}var qr;function Kr(e,t,n){var r=qr;return function s(){var a=t.apply(null,arguments);null!==a&&Qr(e,s,n,r)}}var Zr=qe&&!(te&&Number(te[1])<=53);function Xr(e,t,n,r){if(Zr){var s=ln,a=t;t=a._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=s||e.timeStamp<=0||e.target.ownerDocument!==document)return a.apply(this,arguments)}}qr.addEventListener(e,t,re?{capture:n,passive:r}:n)}function Qr(e,t,n,r){(r||qr).removeEventListener(e,t._wrapper||t,n)}function es(e,t){if(!s(e.data.on)||!s(t.data.on)){var n=t.data.on||{},r=e.data.on||{};qr=t.elm,function(e){if(a(e.__r)){var t=Z?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}a(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(n),dt(n,r,Xr,Qr,Kr,t.context),qr=void 0}}var ts,ns={create:es,update:es};function rs(e,t){if(!s(e.data.domProps)||!s(t.data.domProps)){var n,r,o=t.elm,i=e.data.domProps||{},d=t.data.domProps||{};for(n in a(d.__ob__)&&(d=t.data.domProps=x({},d)),i)n in d||(o[n]="");for(n in d){if(r=d[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===i[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;var l=s(r)?"":String(r);ss(o,l)&&(o.value=l)}else if("innerHTML"===n&&qn(o.tagName)&&s(o.innerHTML)){(ts=ts||document.createElement("div")).innerHTML=""+r+"";for(var u=ts.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;u.firstChild;)o.appendChild(u.firstChild)}else if(r!==i[n])try{o[n]=r}catch(e){}}}}function ss(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(a(r)){if(r.number)return p(n)!==p(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var as={create:rs,update:rs},os=Y((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function is(e){var t=ds(e.style);return e.staticStyle?x(e.staticStyle,t):t}function ds(e){return Array.isArray(e)?H(e):"string"==typeof e?os(e):e}var ls,us=/^--/,cs=/\s*!important$/,ms=function(e,t,n){if(us.test(t))e.style.setProperty(t,n);else if(cs.test(n))e.style.setProperty(T(t),n.replace(cs,""),"important");else{var r=hs(t);if(Array.isArray(n))for(var s=0,a=n.length;s-1?t.split(vs).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function gs(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(vs).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Ms(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&x(t,Ls(e.name||"v")),x(t,e),t}return"string"==typeof e?Ls(e):void 0}}var Ls=Y((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Ys=B&&!X,bs="transition",ks="transitionend",ws="animation",Ds="animationend";Ys&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(bs="WebkitTransition",ks="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ws="WebkitAnimation",Ds="webkitAnimationEnd"));var Ts=B?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function js(e){Ts((function(){Ts(e)}))}function Ss(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),ys(e,t))}function xs(e,t){e._transitionClasses&&g(e._transitionClasses,t),gs(e,t)}function Hs(e,t,n){var r=Os(e,t),s=r.type,a=r.timeout,o=r.propCount;if(!s)return n();var i="transition"===s?ks:Ds,d=0,l=function(){e.removeEventListener(i,u),n()},u=function(t){t.target===e&&++d>=o&&l()};setTimeout((function(){d0&&(n="transition",u=o,c=a.length):"animation"===t?l>0&&(n="animation",u=l,c=d.length):c=(n=(u=Math.max(o,l))>0?o>l?"transition":"animation":null)?"transition"===n?a.length:d.length:0,{type:n,timeout:u,propCount:c,hasTransform:"transition"===n&&Cs.test(r[bs+"Property"])}}function Ps(e,t){for(;e.length1}function Ws(e,t){!0!==t.data.show&&Es(t)}var $s=function(e){var t,n,r={},d=e.modules,l=e.nodeOps;for(t=0;th?g(e,s(n[v+1])?null:n[v+1].elm,n,_,v,r):_>v&&L(t,m,h)}(m,f,v,n,u):a(v)?(a(e.text)&&l.setTextContent(m,""),g(m,null,v,0,v.length-1,n)):a(f)?L(f,0,f.length-1):a(e.text)&&l.setTextContent(m,""):e.text!==t.text&&l.setTextContent(m,t.text),a(h)&&a(_=h.hook)&&a(_=_.postpatch)&&_(e,t)}}}function w(e,t,n){if(o(n)&&a(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r-1,o.selected!==a&&(o.selected=a);else if(A(Vs(o),r))return void(e.selectedIndex!==i&&(e.selectedIndex=i));s||(e.selectedIndex=-1)}}function Us(e,t){return t.every((function(t){return!A(t,e)}))}function Vs(e){return"_value"in e?e._value:e.value}function Bs(e){e.target.composing=!0}function Gs(e){e.target.composing&&(e.target.composing=!1,qs(e.target,"input"))}function qs(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Ks(e){return!e.componentInstance||e.data&&e.data.transition?e:Ks(e.componentInstance._vnode)}var Zs={model:Is,show:{bind:function(e,t,n){var r=t.value,s=(n=Ks(n)).data&&n.data.transition,a=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&s?(n.data.show=!0,Es(n,(function(){e.style.display=a}))):e.style.display=r?a:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Ks(n)).data&&n.data.transition?(n.data.show=!0,r?Es(n,(function(){e.style.display=e.__vOriginalDisplay})):Rs(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,s){s||(e.style.display=e.__vOriginalDisplay)}}},Xs={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Qs(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Qs(Vt(t.children)):e}function ea(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var s=n._parentListeners;for(var a in s)t[k(a)]=s[a];return t}function ta(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var na=function(e){return e.tag||Ut(e)},ra=function(e){return"show"===e.name},sa={name:"transition",props:Xs,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(na)).length){0;var r=this.mode;0;var s=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return s;var a=Qs(s);if(!a)return s;if(this._leaving)return ta(e,s);var o="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?o+"comment":o+a.tag:i(a.key)?0===String(a.key).indexOf(o)?a.key:o+a.key:a.key;var d=(a.data||(a.data={})).transition=ea(this),l=this._vnode,u=Qs(l);if(a.data.directives&&a.data.directives.some(ra)&&(a.data.show=!0),u&&u.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(a,u)&&!Ut(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var c=u.data.transition=x({},d);if("out-in"===r)return this._leaving=!0,lt(c,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),ta(e,s);if("in-out"===r){if(Ut(a))return l;var m,_=function(){m()};lt(d,"afterEnter",_),lt(d,"enterCancelled",_),lt(c,"delayLeave",(function(e){m=e}))}}return s}}},aa=x({tag:String,moveClass:String},Xs);function oa(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function ia(e){e.data.newPos=e.elm.getBoundingClientRect()}function da(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,s=t.top-n.top;if(r||s){e.data.moved=!0;var a=e.elm.style;a.transform=a.WebkitTransform="translate("+r+"px,"+s+"px)",a.transitionDuration="0s"}}delete aa.mode;var la={Transition:sa,TransitionGroup:{props:aa,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var s=Xt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,s(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,s=this.$slots.default||[],a=this.children=[],o=ea(this),i=0;i-1?Xn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Xn[e]=/HTMLUnknownElement/.test(t.toString())},x(wn.options.directives,Zs),x(wn.options.components,la),wn.prototype.__patch__=B?$s:C,wn.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=ye),tn(e,"beforeMount"),r=function(){e._update(e._render(),n)},new hn(e,r,C,{before:function(){e._isMounted&&!e._isDestroyed&&tn(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,tn(e,"mounted")),e}(this,e=e&&B?er(e):void 0,t)},B&&setTimeout((function(){W.devtools&&oe&&oe.emit("init",wn)}),0);var ua=/\{\{((?:.|\r?\n)+?)\}\}/g,ca=/[-.*+?^${}()|[\]\/\\]/g,ma=Y((function(e){var t=e[0].replace(ca,"\\$&"),n=e[1].replace(ca,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}));var _a={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Nr(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Fr(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var ha,pa={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Nr(e,"style");n&&(e.staticStyle=JSON.stringify(os(n)));var r=Fr(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},fa=function(e){return(ha=ha||document.createElement("div")).innerHTML=e,ha.textContent},va=f("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),ya=f("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ga=f("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Ma=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,La=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ya="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+$.source+"]*",ba="((?:"+Ya+"\\:)?"+Ya+")",ka=new RegExp("^<"+ba),wa=/^\s*(\/?)>/,Da=new RegExp("^<\\/"+ba+"[^>]*>"),Ta=/^]+>/i,ja=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Oa=/&(?:lt|gt|quot|amp|#39);/g,Pa=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Aa=f("pre,textarea",!0),Ea=function(e,t){return e&&Aa(e)&&"\n"===t[0]};function Ra(e,t){var n=t?Pa:Oa;return e.replace(n,(function(e){return Ca[e]}))}var Fa,Na,Wa,$a,Ia,za,Ja,Ua,Va=/^@|^v-on:/,Ba=/^v-|^@|^:|^#/,Ga=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,qa=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ka=/^\(|\)$/g,Za=/^\[.*\]$/,Xa=/:(.*)$/,Qa=/^:|^\.|^v-bind:/,eo=/\.[^.\]]+(?=[^\]]*$)/g,to=/^v-slot(:|$)|^#/,no=/[\r\n]/,ro=/\s+/g,so=Y(fa);function ao(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:_o(t),rawAttrsMap:{},parent:n,children:[]}}function oo(e,t){Fa=t.warn||xr,za=t.isPreTag||O,Ja=t.mustUseProp||O,Ua=t.getTagNamespace||O;var n=t.isReservedTag||O;(function(e){return!!e.component||!n(e.tag)}),Wa=Hr(t.modules,"transformNode"),$a=Hr(t.modules,"preTransformNode"),Ia=Hr(t.modules,"postTransformNode"),Na=t.delimiters;var r,s,a=[],o=!1!==t.preserveWhitespace,i=t.whitespace,d=!1,l=!1;function u(e){if(c(e),d||e.processed||(e=io(e,t)),a.length||e===r||r.if&&(e.elseif||e.else)&&uo(r,{exp:e.elseif,block:e}),s&&!e.forbidden)if(e.elseif||e.else)o=e,(i=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(s.children))&&i.if&&uo(i,{exp:o.elseif,block:o});else{if(e.slotScope){var n=e.slotTarget||'"default"';(s.scopedSlots||(s.scopedSlots={}))[n]=e}s.children.push(e),e.parent=s}var o,i;e.children=e.children.filter((function(e){return!e.slotScope})),c(e),e.pre&&(d=!1),za(e.tag)&&(l=!1);for(var u=0;u]*>)","i")),m=e.replace(c,(function(e,n,r){return l=r.length,xa(u)||"noscript"===u||(n=n.replace(//g,"$1").replace(//g,"$1")),Ea(u,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""}));d+=e.length-m.length,e=m,D(u,d-l,d)}else{var _=e.indexOf("<");if(0===_){if(ja.test(e)){var h=e.indexOf("--\x3e");if(h>=0){t.shouldKeepComment&&t.comment(e.substring(4,h),d,d+h+3),b(h+3);continue}}if(Sa.test(e)){var p=e.indexOf("]>");if(p>=0){b(p+2);continue}}var f=e.match(Ta);if(f){b(f[0].length);continue}var v=e.match(Da);if(v){var y=d;b(v[0].length),D(v[1],y,d);continue}var g=k();if(g){w(g),Ea(g.tagName,e)&&b(1);continue}}var M=void 0,L=void 0,Y=void 0;if(_>=0){for(L=e.slice(_);!(Da.test(L)||ka.test(L)||ja.test(L)||Sa.test(L)||(Y=L.indexOf("<",1))<0);)_+=Y,L=e.slice(_);M=e.substring(0,_)}_<0&&(M=e),M&&b(M.length),t.chars&&M&&t.chars(M,d-M.length,d)}if(e===n){t.chars&&t.chars(e);break}}function b(t){d+=t,e=e.substring(t)}function k(){var t=e.match(ka);if(t){var n,r,s={tagName:t[1],attrs:[],start:d};for(b(t[0].length);!(n=e.match(wa))&&(r=e.match(La)||e.match(Ma));)r.start=d,b(r[0].length),r.end=d,s.attrs.push(r);if(n)return s.unarySlash=n[1],b(n[0].length),s.end=d,s}}function w(e){var n=e.tagName,d=e.unarySlash;a&&("p"===r&&ga(n)&&D(r),i(n)&&r===n&&D(n));for(var l=o(n)||!!d,u=e.attrs.length,c=new Array(u),m=0;m=0&&s[o].lowerCasedTag!==i;o--);else o=0;if(o>=0){for(var l=s.length-1;l>=o;l--)t.end&&t.end(s[l].tag,n,a);s.length=o,r=o&&s[o-1].tag}else"br"===i?t.start&&t.start(e,[],!0,n,a):"p"===i&&(t.start&&t.start(e,[],!1,n,a),t.end&&t.end(e,n,a))}D()}(e,{warn:Fa,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,n,o,i,c){var m=s&&s.ns||Ua(e);Z&&"svg"===m&&(n=function(e){for(var t=[],n=0;nd&&(i.push(a=e.slice(d,s)),o.push(JSON.stringify(a)));var l=jr(r[1].trim());o.push("_s("+l+")"),i.push({"@binding":l}),d=s+r[0].length}return d-1"+("true"===a?":("+t+")":":_q("+t+","+a+")")),Rr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+a+"):("+o+");if(Array.isArray($$a)){var $$v="+(r?"_n("+s+")":s)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+zr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+zr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+zr(t,"$$c")+"}",null,!0)}(e,r,s);else if("input"===a&&"radio"===o)!function(e,t,n){var r=n&&n.number,s=Fr(e,"value")||"null";Cr(e,"checked","_q("+t+","+(s=r?"_n("+s+")":s)+")"),Rr(e,"change",zr(t,s),null,!0)}(e,r,s);else if("input"===a||"textarea"===a)!function(e,t,n){var r=e.attrsMap.type;0;var s=n||{},a=s.lazy,o=s.number,i=s.trim,d=!a&&"range"!==r,l=a?"change":"range"===r?"__r":"input",u="$event.target.value";i&&(u="$event.target.value.trim()");o&&(u="_n("+u+")");var c=zr(t,u);d&&(c="if($event.target.composing)return;"+c);Cr(e,"value","("+t+")"),Rr(e,l,c,null,!0),(i||o)&&Rr(e,"blur","$forceUpdate()")}(e,r,s);else{if(!W.isReservedTag(a))return Ir(e,r,s),!1}return!0},text:function(e,t){t.value&&Cr(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Cr(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:va,mustUseProp:An,canBeLeftOpenTag:ya,isReservedTag:Kn,getTagNamespace:Zn,staticKeys:function(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}(vo)},Lo=Y((function(e){return f("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));function Yo(e,t){e&&(yo=Lo(t.staticKeys||""),go=t.isReservedTag||O,function e(t){if(t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||v(e.tag)||!go(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(yo)))}(t),1===t.type){if(!go(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n|^function(?:\s+[\w$]+)?\s*\(/,ko=/\([^)]*?\);*$/,wo=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Do={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},To={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},jo=function(e){return"if("+e+")return null;"},So={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:jo("$event.target !== $event.currentTarget"),ctrl:jo("!$event.ctrlKey"),shift:jo("!$event.shiftKey"),alt:jo("!$event.altKey"),meta:jo("!$event.metaKey"),left:jo("'button' in $event && $event.button !== 0"),middle:jo("'button' in $event && $event.button !== 1"),right:jo("'button' in $event && $event.button !== 2")};function xo(e,t){var n=t?"nativeOn:":"on:",r="",s="";for(var a in e){var o=Ho(e[a]);e[a]&&e[a].dynamic?s+=a+","+o+",":r+='"'+a+'":'+o+","}return r="{"+r.slice(0,-1)+"}",s?n+"_d("+r+",["+s.slice(0,-1)+"])":n+r}function Ho(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return Ho(e)})).join(",")+"]";var t=wo.test(e.value),n=bo.test(e.value),r=wo.test(e.value.replace(ko,""));if(e.modifiers){var s="",a="",o=[];for(var i in e.modifiers)if(So[i])a+=So[i],Do[i]&&o.push(i);else if("exact"===i){var d=e.modifiers;a+=jo(["ctrl","shift","alt","meta"].filter((function(e){return!d[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else o.push(i);return o.length&&(s+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Co).join("&&")+")return null;"}(o)),a&&(s+=a),"function($event){"+s+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Co(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Do[e],r=To[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Oo={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:C},Po=function(e){this.options=e,this.warn=e.warn||xr,this.transforms=Hr(e.modules,"transformCode"),this.dataGenFns=Hr(e.modules,"genData"),this.directives=x(x({},Oo),e.directives);var t=e.isReservedTag||O;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Ao(e,t){var n=new Po(t);return{render:"with(this){return "+(e?Eo(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Eo(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Ro(e,t);if(e.once&&!e.onceProcessed)return Fo(e,t);if(e.for&&!e.forProcessed)return Wo(e,t);if(e.if&&!e.ifProcessed)return No(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=Jo(e,t),s="_t("+n+(r?","+r:""),a=e.attrs||e.dynamicAttrs?Bo((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:k(e.name),value:e.value,dynamic:e.dynamic}}))):null,o=e.attrsMap["v-bind"];!a&&!o||r||(s+=",null");a&&(s+=","+a);o&&(s+=(a?"":",null")+","+o);return s+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:Jo(t,n,!0);return"_c("+e+","+$o(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=$o(e,t));var s=e.inlineTemplate?null:Jo(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(s?","+s:"")+")"}for(var a=0;a>>0}(o):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var a=function(e,t){var n=e.children[0];0;if(n&&1===n.type){var r=Ao(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map((function(e){return"function(){"+e+"}"})).join(",")+"]}"}}(e,t);a&&(n+=a+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+Bo(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Io(e){return 1===e.type&&("slot"===e.tag||e.children.some(Io))}function zo(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return No(e,t,zo,"null");if(e.for&&!e.forProcessed)return Wo(e,t,zo);var r="_empty_"===e.slotScope?"":String(e.slotScope),s="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(Jo(e,t)||"undefined")+":undefined":Jo(e,t)||"undefined":Eo(e,t))+"}",a=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+s+a+"}"}function Jo(e,t,n,r,s){var a=e.children;if(a.length){var o=a[0];if(1===a.length&&o.for&&"template"!==o.tag&&"slot"!==o.tag){var i=n?t.maybeComponent(o)?",1":",0":"";return""+(r||Eo)(o,t)+i}var d=n?function(e,t){for(var n=0,r=0;r':'
',Xo.innerHTML.indexOf(" ")>0}var ni=!!B&&ti(!1),ri=!!B&&ti(!0),si=Y((function(e){var t=er(e);return t&&t.innerHTML})),ai=wn.prototype.$mount;wn.prototype.$mount=function(e,t){if((e=e&&er(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=si(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){0;var s=ei(r,{outputSourceRange:!1,shouldDecodeNewlines:ni,shouldDecodeNewlinesForHref:ri,delimiters:n.delimiters,comments:n.comments},this),a=s.render,o=s.staticRenderFns;n.render=a,n.staticRenderFns=o}}return ai.call(this,e,t)},wn.compile=ei,t.default=wn}.call(this,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/timers-browserify/main.js").setImmediate)},"./node_modules/vuex/dist/vuex.esm.js":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u})),n.d(t,"c",(function(){return Y})),n.d(t,"d",(function(){return L}));var r=("undefined"!=typeof window?window:void 0!==e?e:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function s(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function a(e){return null!==e&&"object"==typeof e}var o=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"==typeof n?n():n)||{}},i={namespaced:{configurable:!0}};i.namespaced.get=function(){return!!this._rawModule.namespaced},o.prototype.addChild=function(e,t){this._children[e]=t},o.prototype.removeChild=function(e){delete this._children[e]},o.prototype.getChild=function(e){return this._children[e]},o.prototype.hasChild=function(e){return e in this._children},o.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},o.prototype.forEachChild=function(e){s(this._children,e)},o.prototype.forEachGetter=function(e){this._rawModule.getters&&s(this._rawModule.getters,e)},o.prototype.forEachAction=function(e){this._rawModule.actions&&s(this._rawModule.actions,e)},o.prototype.forEachMutation=function(e){this._rawModule.mutations&&s(this._rawModule.mutations,e)},Object.defineProperties(o.prototype,i);var d=function(e){this.register([],e,!1)};d.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},d.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")}),"")},d.prototype.update=function(e){!function e(t,n,r){0;if(n.update(r),r.modules)for(var s in r.modules){if(!n.getChild(s))return void 0;e(t.concat(s),n.getChild(s),r.modules[s])}}([],this.root,e)},d.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var a=new o(t,n);0===e.length?this.root=a:this.get(e.slice(0,-1)).addChild(e[e.length-1],a);t.modules&&s(t.modules,(function(t,s){r.register(e.concat(s),t,n)}))},d.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];t.getChild(n).runtime&&t.removeChild(n)},d.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return t.hasChild(n)};var l;var u=function(e){var t=this;void 0===e&&(e={}),!l&&"undefined"!=typeof window&&window.Vue&&y(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var s=e.strict;void 0===s&&(s=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new d(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new l,this._makeLocalGettersCache=Object.create(null);var a=this,o=this.dispatch,i=this.commit;this.dispatch=function(e,t){return o.call(a,e,t)},this.commit=function(e,t,n){return i.call(a,e,t,n)},this.strict=s;var u=this._modules.root.state;p(this,u,[],this._modules.root),h(this,u),n.forEach((function(e){return e(t)})),(void 0!==e.devtools?e.devtools:l.config.devtools)&&function(e){r&&(e._devtoolHook=r,r.emit("vuex:init",e),r.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){r.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){r.emit("vuex:action",e,t)}),{prepend:!0}))}(this)},c={state:{configurable:!0}};function m(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function _(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;p(e,n,[],e._modules.root,!0),h(e,n,t)}function h(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var a=e._wrappedGetters,o={};s(a,(function(t,n){o[n]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var i=l.config.silent;l.config.silent=!0,e._vm=new l({data:{$$state:t},computed:o}),l.config.silent=i,e.strict&&function(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),l.nextTick((function(){return r.$destroy()})))}function p(e,t,n,r,s){var a=!n.length,o=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[o],e._modulesNamespaceMap[o]=r),!a&&!s){var i=f(t,n.slice(0,-1)),d=n[n.length-1];e._withCommit((function(){l.set(i,d,r.state)}))}var u=r.context=function(e,t,n){var r=""===t,s={dispatch:r?e.dispatch:function(n,r,s){var a=v(n,r,s),o=a.payload,i=a.options,d=a.type;return i&&i.root||(d=t+d),e.dispatch(d,o)},commit:r?e.commit:function(n,r,s){var a=v(n,r,s),o=a.payload,i=a.options,d=a.type;i&&i.root||(d=t+d),e.commit(d,o,i)}};return Object.defineProperties(s,{getters:{get:r?function(){return e.getters}:function(){return function(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(s){if(s.slice(0,r)===t){var a=s.slice(r);Object.defineProperty(n,a,{get:function(){return e.getters[s]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}(e,t)}},state:{get:function(){return f(e.state,n)}}}),s}(e,o,n);r.forEachMutation((function(t,n){!function(e,t,n,r){(e._mutations[t]||(e._mutations[t]=[])).push((function(t){n.call(e,r.state,t)}))}(e,o+n,t,u)})),r.forEachAction((function(t,n){var r=t.root?n:o+n,s=t.handler||t;!function(e,t,n,r){(e._actions[t]||(e._actions[t]=[])).push((function(t){var s,a=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return(s=a)&&"function"==typeof s.then||(a=Promise.resolve(a)),e._devtoolHook?a.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):a}))}(e,r,s,u)})),r.forEachGetter((function(t,n){!function(e,t,n,r){if(e._wrappedGetters[t])return void 0;e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)}}(e,o+n,t,u)})),r.forEachChild((function(r,a){p(e,t,n.concat(a),r,s)}))}function f(e,t){return t.reduce((function(e,t){return e[t]}),e)}function v(e,t,n){return a(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function y(e){l&&e===l|| /*! * vuex v3.4.0 * (c) 2020 Evan You * @license MIT */ -function(e){if(Number(e.version.split(".")[0])>=2)e.mixin({beforeCreate:n});else{var t=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[n].concat(e.init):n,t.call(this,e)}}function n(){var e=this.$options;e.store?this.$store="function"==typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}(l=e)}c.state.get=function(){return this._vm._data.$$state},c.state.set=function(e){0},u.prototype.commit=function(e,t,n){var r=this,s=v(e,t,n),a=s.type,o=s.payload,i=(s.options,{type:a,payload:o}),d=this._mutations[a];d&&(this._withCommit((function(){d.forEach((function(e){e(o)}))})),this._subscribers.slice().forEach((function(e){return e(i,r.state)})))},u.prototype.dispatch=function(e,t){var n=this,r=v(e,t),s=r.type,a=r.payload,o={type:s,payload:a},i=this._actions[s];if(i){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(o,n.state)}))}catch(e){0}var d=i.length>1?Promise.all(i.map((function(e){return e(a)}))):i[0](a);return new Promise((function(e,t){d.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(o,n.state)}))}catch(e){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(o,n.state,e)}))}catch(e){0}t(e)}))}))}},u.prototype.subscribe=function(e,t){return m(e,this._subscribers,t)},u.prototype.subscribeAction=function(e,t){return m("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},u.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},u.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},u.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),p(this,this.state,e,this._modules.get(e),n.preserveState),h(this,this.state)},u.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=f(t.state,e.slice(0,-1));l.delete(n,e[e.length-1])})),_(this)},u.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},u.prototype.hotUpdate=function(e){this._modules.update(e),_(this,!0)},u.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(u.prototype,c);var M=k((function(e,t){var n={};return b(t).forEach((function(t){var r=t.key,s=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=w(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"==typeof s?s.call(this,t,n):t[s]},n[r].vuex=!0})),n})),g=k((function(e,t){var n={};return b(t).forEach((function(t){var r=t.key,s=t.val;n[r]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=this.$store.commit;if(e){var a=w(this.$store,"mapMutations",e);if(!a)return;r=a.context.commit}return"function"==typeof s?s.apply(this,[r].concat(t)):r.apply(this.$store,[s].concat(t))}})),n})),L=k((function(e,t){var n={};return b(t).forEach((function(t){var r=t.key,s=t.val;s=e+s,n[r]=function(){if(!e||w(this.$store,"mapGetters",e))return this.$store.getters[s]},n[r].vuex=!0})),n})),Y=k((function(e,t){var n={};return b(t).forEach((function(t){var r=t.key,s=t.val;n[r]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var a=w(this.$store,"mapActions",e);if(!a)return;r=a.context.dispatch}return"function"==typeof s?s.apply(this,[r].concat(t)):r.apply(this.$store,[s].concat(t))}})),n}));function b(e){return function(e){return Array.isArray(e)||a(e)}(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function k(e){return function(t,n){return"string"!=typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function w(e,t,n){return e._modulesNamespaceMap[n]}var D={Store:u,install:y,version:"3.4.0",mapState:M,mapMutations:g,mapGetters:L,mapActions:Y,createNamespacedHelpers:function(e){return{mapState:M.bind(null,e),mapGetters:L.bind(null,e),mapMutations:g.bind(null,e),mapActions:Y.bind(null,e)}}};t.b=D}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/webpack/buildin/global.js":function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},"./node_modules/webpack/buildin/module.js":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"./resources/scripts/applications/home/app.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/app.vue?vue&type=template&id=bc5a19e4&"),s=n("./resources/scripts/applications/home/app.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("bc5a19e4")?i.reload("bc5a19e4",o.options):i.createRecord("bc5a19e4",o.options),e.hot.accept("./resources/scripts/applications/home/app.vue?vue&type=template&id=bc5a19e4&",function(e){r=n("./resources/scripts/applications/home/app.vue?vue&type=template&id=bc5a19e4&"),i.rerender("bc5a19e4",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/app.vue",t.a=o.exports},"./resources/scripts/applications/home/app.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/components/Header.vue"),s=n("./resources/scripts/applications/shared/components/Notification.vue"),a=n("./node_modules/vuex/dist/vuex.esm.js"),o=n("./resources/scripts/applications/shared/components/Loading/Loading.vue"),i=n("./resources/scripts/applications/shared/components/TopNavbar.vue"),d=n("./resources/scripts/applications/home/ws/websocket.service.ts"),l={name:"App",components:{Header:r.a,Notification:s.a,Loading:o.a,TopNavbar:i.a},created(){var e=this;return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,regeneratorRuntime.awrap(e.getUser());case 2:return t.sent,t.next=5,regeneratorRuntime.awrap(d.a.getInstance());case 5:return e.ws=t.sent,e.ws.on(d.a.Events.CONNECTION_ONLINE,t=>{console.log("User Online: "+JSON.stringify(t,null,2)),e.notify({message:t.name+" is online!",level:"success"})}),e.ws.on(d.a.Events.CONNECTION_OFFLINE,t=>{e.notify({message:t.name+" disconnected",level:"warning"})}),e.ws.on(d.a.Events.INCOMING_CALL,e.onIncomingCall.bind(e)),e.loading=!1,t.abrupt("return",!0);case 11:case"end":return t.stop()}}),null,null,null,Promise)},data:()=>({appName:"Seepur",loading:!0,ws:null}),computed:{...Object(a.d)(["notifications"])},methods:{onIncomingCall(e){this.notify({message:"New call from "+e.child.name,level:"success"}),this.$router.replace({path:"/call/"+e.callId})},onNotificationClose(e){this.dismissNotification(e.id)},...Object(a.c)(["dismissNotification","getUser","notify"])}};t.a=l},"./resources/scripts/applications/home/app.vue?vue&type=template&id=bc5a19e4&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app"},[n("TopNavbar",{attrs:{ws:this.ws}}),e._v(" "),e.loading?n("div",{staticClass:"loading"},[n("Loading")],1):n("div",{},[n("div",{staticClass:"notifications"},e._l(e.notifications,(function(t){return n("Notification",{key:t.id,attrs:{notification:t},on:{onClose:function(n){return e.onNotificationClose(t)}}})})),1),e._v(" "),n("div",{staticClass:"app-content m-t-xs is-fullheight"},[n("div",{staticClass:"application"},[n("router-view")],1)])])],1)},s=[];r._withStripped=!0},"./resources/scripts/applications/home/components/AddConnectionModal.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/components/AddConnectionModal.vue?vue&type=template&id=1e8c8cf4&"),s=n("./resources/scripts/applications/home/components/AddConnectionModal.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("1e8c8cf4")?i.reload("1e8c8cf4",o.options):i.createRecord("1e8c8cf4",o.options),e.hot.accept("./resources/scripts/applications/home/components/AddConnectionModal.vue?vue&type=template&id=1e8c8cf4&",function(e){r=n("./resources/scripts/applications/home/components/AddConnectionModal.vue?vue&type=template&id=1e8c8cf4&"),i.rerender("1e8c8cf4",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/components/AddConnectionModal.vue",t.a=o.exports},"./resources/scripts/applications/home/components/AddConnectionModal.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/shared/components/Modal/Modal.vue"),s=n("./node_modules/vuex/dist/vuex.esm.js"),a={name:"AddConnectionModal",props:["isActive","childName"],components:{Modal:r.a},methods:{close(){this.reset(),this.$emit("dismiss")},reset(){this.email="",this.isParent=!1},addConnection(){var e;e=this.email,/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)?(this.$emit("createNewConnection",{email:this.email,is_parent:this.isParent}),this.reset()):this.notify({message:"Please provide a valid email",level:"warning"})},...Object(s.c)(["notify"])},data:()=>({email:"",isParent:!1})};t.a=a},"./resources/scripts/applications/home/components/AddConnectionModal.vue?vue&type=template&id=1e8c8cf4&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{title:"Add Connection to "+e.childName,isActive:e.isActive,acceptText:"Add",rejectText:"Cancel"},on:{accept:function(t){return e.addConnection()},close:function(t){return e.close()}}},[n("div",{staticClass:"field"},[n("label",{staticClass:"label"},[e._v("Connection Email")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"}],staticClass:"input",attrs:{type:"email",placeholder:"name@zmail.com"},domProps:{value:e.email},on:{input:function(t){t.target.composing||(e.email=t.target.value)}}})]),e._v(" "),n("div",{staticClass:"field"},[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.isParent,expression:"isParent"}],staticClass:"checkbox",attrs:{type:"checkbox","aria-label":"isParent"},domProps:{checked:Array.isArray(e.isParent)?e._i(e.isParent,null)>-1:e.isParent},on:{change:function(t){var n=e.isParent,r=t.target,s=!!r.checked;if(Array.isArray(n)){var a=e._i(n,null);r.checked?a<0&&(e.isParent=n.concat([null])):a>-1&&(e.isParent=n.slice(0,a).concat(n.slice(a+1)))}else e.isParent=s}}}),e._v("\n Is this a parent? "+e._s(e.isParent?"Yes":"No")+"\n ")])])])},s=[];r._withStripped=!0},"./resources/scripts/applications/home/components/AvatarBadge.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/components/AvatarBadge.vue?vue&type=template&id=dc48fd58&"),s=n("./resources/scripts/applications/home/components/AvatarBadge.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("dc48fd58")?i.reload("dc48fd58",o.options):i.createRecord("dc48fd58",o.options),e.hot.accept("./resources/scripts/applications/home/components/AvatarBadge.vue?vue&type=template&id=dc48fd58&",function(e){r=n("./resources/scripts/applications/home/components/AvatarBadge.vue?vue&type=template&id=dc48fd58&"),i.rerender("dc48fd58",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/components/AvatarBadge.vue",t.a=o.exports},"./resources/scripts/applications/home/components/AvatarBadge.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r={name:"AvatarBadge",props:["img","text","isLink"],created(){},methods:{onClick(){this.$emit("onClick")}}};t.a=r},"./resources/scripts/applications/home/components/AvatarBadge.vue?vue&type=template&id=dc48fd58&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["has-text-centered","p-t-sm",{"has-pointer":!!e.isLink}],on:{click:function(t){return e.onClick()}}},[n("div",{staticClass:"avatar-badge-image"},[n("figure",{staticClass:"image is-48x48"},[n("img",{staticClass:"is-rounded is-avatar",attrs:{src:e.img,alt:"Placeholder image"}})])]),e._v(" "),n("div",{},[e._v(e._s(e.text))])])},s=[];r._withStripped=!0},"./resources/scripts/applications/home/components/Child_Card.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/components/Child_Card.vue?vue&type=template&id=018cd559&"),s=n("./resources/scripts/applications/home/components/Child_Card.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("018cd559")?i.reload("018cd559",o.options):i.createRecord("018cd559",o.options),e.hot.accept("./resources/scripts/applications/home/components/Child_Card.vue?vue&type=template&id=018cd559&",function(e){r=n("./resources/scripts/applications/home/components/Child_Card.vue?vue&type=template&id=018cd559&"),i.rerender("018cd559",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/components/Child_Card.vue",t.a=o.exports},"./resources/scripts/applications/home/components/Child_Card.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r=n("./node_modules/moment/moment.js"),s=n.n(r);var a={name:"ChildCard",props:["child"],methods:{goToChild(e){this.$router.push({path:"/child/"+e.id})}},created(){this.childAge=s()().diff(this.child.dob,"years")},data:()=>({childAge:void 0})};t.a=a},"./resources/scripts/applications/home/components/Child_Card.vue?vue&type=template&id=018cd559&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("article",{staticClass:"media has-pointer",on:{click:function(t){return e.goToChild(e.child)}}},[n("div",{staticClass:"media-left"},[n("figure",{staticClass:"image is-48x48"},[n("img",{staticClass:"is-rounded is-avatar",attrs:{src:e.child.avatar,alt:e.child.name}})])]),e._v(" "),n("div",{staticClass:"media-content"},[n("div",{staticClass:"content"},[n("p",{},[e._v(e._s(e.child.name))])])])])},s=[];r._withStripped=!0},"./resources/scripts/applications/home/components/ConfigureNewCallModal.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/components/ConfigureNewCallModal.vue?vue&type=template&id=07d8e6bf&"),s=n("./resources/scripts/applications/home/components/ConfigureNewCallModal.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("07d8e6bf")?i.reload("07d8e6bf",o.options):i.createRecord("07d8e6bf",o.options),e.hot.accept("./resources/scripts/applications/home/components/ConfigureNewCallModal.vue?vue&type=template&id=07d8e6bf&",function(e){r=n("./resources/scripts/applications/home/components/ConfigureNewCallModal.vue?vue&type=template&id=07d8e6bf&"),i.rerender("07d8e6bf",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/components/ConfigureNewCallModal.vue",t.a=o.exports},"./resources/scripts/applications/home/components/ConfigureNewCallModal.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/shared/components/Modal/Modal.vue"),s=n("./resources/scripts/applications/home/components/AvatarBadge.vue"),a=n("./node_modules/vuex/dist/vuex.esm.js"),o={name:"ConfigureNewCallModal",props:["isActive"],components:{Modal:r.a,AvatarBadge:s.a},computed:{...Object(a.d)(["user"])},methods:{close(){this.reset(),this.$emit("dismiss")},onChildSelected(e){this.child_id=e.id,this.connection_options=e.connections},onConnectionSelected(e){this.connection_id=e.id},reset(){this.connection_id="",this.child_id=!1},validate(){if(!this.child_id||!this.connection_id)return!1;const e=this.user.connections.children;for(const t of e)for(const e of t.connections)if(e.id===this.connection_id)return!0;return!1},createCall(){this.validate()?(this.$emit("newCall",{connection_id:this.connection_id,child_id:this.child_id}),this.reset()):this.notify({message:"Please select a child and a user",level:"warning"})},...Object(a.c)(["notify"])},data:()=>({connection_id:null,child_id:null,connection_options:[]})};t.a=o},"./resources/scripts/applications/home/components/ConfigureNewCallModal.vue?vue&type=template&id=07d8e6bf&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{title:"New Call",isActive:e.isActive,acceptText:"Call",rejectText:"Cancel"},on:{accept:function(t){return e.createCall()},close:function(t){return e.close()}}},[n("div",{staticClass:"columns"},[n("div",{staticClass:"column"},[e._v("\n Select Child:\n "),n("div",{staticClass:"card"},[n("div",{staticClass:"card-content"},e._l(e.user.connections.children,(function(t){return n("avatar-badge",{key:t.id,style:e.child_id===t.id?"background-color:rgba(56, 181, 187, 0.19); border-radius:15px;":"",attrs:{img:t.avatar,text:t.name,isLink:!0},on:{onClick:function(n){return e.onChildSelected(t)}}})})),1)])]),e._v(" "),n("div",{staticClass:"column"},[e._v("\n Select Connection:\n "),n("div",{staticClass:"card"},[n("div",{staticClass:"card-content"},e._l(e.connection_options,(function(t){return n("avatar-badge",{key:t.id,style:e.connection_id===t.id?"background-color:rgba(56, 181, 187, 0.19); border-radius:15px":"",attrs:{img:t.avatar,text:t.name,isLink:!0},on:{onClick:function(n){return e.onConnectionSelected(t)}}})})),1)])])])])},s=[];r._withStripped=!0},"./resources/scripts/applications/home/components/Header.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/components/Header.vue?vue&type=template&id=28cdad73&"),s=n("./resources/scripts/applications/home/components/Header.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("28cdad73")?i.reload("28cdad73",o.options):i.createRecord("28cdad73",o.options),e.hot.accept("./resources/scripts/applications/home/components/Header.vue?vue&type=template&id=28cdad73&",function(e){r=n("./resources/scripts/applications/home/components/Header.vue?vue&type=template&id=28cdad73&"),i.rerender("28cdad73",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/components/Header.vue",t.a=o.exports},"./resources/scripts/applications/home/components/Header.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";t.a={name:"Header",props:["appName"]}},"./resources/scripts/applications/home/components/Header.vue?vue&type=template&id=28cdad73&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this.$createElement,t=this._self._c||e;return t("section",{staticClass:"hero is-small is-primary hero-bg-landing01"},[t("div",{staticClass:"hero-body"},[t("div",{staticClass:"container"},[t("h1",{staticClass:"title"},[this._v(this._s(this.appName))])])])])},s=[];r._withStripped=!0},"./resources/scripts/applications/home/components/ProfileHeader.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/components/ProfileHeader.vue?vue&type=template&id=602be2a0&"),s=n("./resources/scripts/applications/home/components/ProfileHeader.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("602be2a0")?i.reload("602be2a0",o.options):i.createRecord("602be2a0",o.options),e.hot.accept("./resources/scripts/applications/home/components/ProfileHeader.vue?vue&type=template&id=602be2a0&",function(e){r=n("./resources/scripts/applications/home/components/ProfileHeader.vue?vue&type=template&id=602be2a0&"),i.rerender("602be2a0",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/components/ProfileHeader.vue",t.a=o.exports},"./resources/scripts/applications/home/components/ProfileHeader.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r={name:"ProfileHeader",props:["title","background"],computed:{style(){return`background-image: url('${this.background||"/images/clouds-bg.svg"}');\n background-size: cover;\n background-position: ${this.background?"center":"top center"}`}}};t.a=r},"./resources/scripts/applications/home/components/ProfileHeader.vue?vue&type=template&id=602be2a0&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("section",{staticClass:"hero is-small p-t-xl p-b-xl",style:this.style},[this._m(0)])},s=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"hero-body"},[t("div",{staticClass:"container"})])}];r._withStripped=!0},"./resources/scripts/applications/home/components/child_avatar.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/components/child_avatar.vue?vue&type=template&id=e580f2bc&"),s=n("./resources/scripts/applications/home/components/child_avatar.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("e580f2bc")?i.reload("e580f2bc",o.options):i.createRecord("e580f2bc",o.options),e.hot.accept("./resources/scripts/applications/home/components/child_avatar.vue?vue&type=template&id=e580f2bc&",function(e){r=n("./resources/scripts/applications/home/components/child_avatar.vue?vue&type=template&id=e580f2bc&"),i.rerender("e580f2bc",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/components/child_avatar.vue",t.a=o.exports},"./resources/scripts/applications/home/components/child_avatar.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r={name:"ChildAvatar",props:["child"],created(){}};t.a=r},"./resources/scripts/applications/home/components/child_avatar.vue?vue&type=template&id=e580f2bc&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"chiled-avatar has-text-centered"},[t("div",{staticClass:"avatar-badge-image"},[t("figure",{staticClass:"image is-48x48"},[t("img",{staticClass:"is-rounded is-avatar",attrs:{src:this.child.avatar,alt:"Placeholder image"}})])]),this._v(" "),t("div",{staticClass:"chiled-avatar-name"},[this._v(this._s(this.child.name))])])},s=[];r._withStripped=!0},"./resources/scripts/applications/home/components/flipbook/flipbook.cjs.js":function(e,t,n){"use strict"; +function(e){if(Number(e.version.split(".")[0])>=2)e.mixin({beforeCreate:n});else{var t=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[n].concat(e.init):n,t.call(this,e)}}function n(){var e=this.$options;e.store?this.$store="function"==typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}(l=e)}c.state.get=function(){return this._vm._data.$$state},c.state.set=function(e){0},u.prototype.commit=function(e,t,n){var r=this,s=v(e,t,n),a=s.type,o=s.payload,i=(s.options,{type:a,payload:o}),d=this._mutations[a];d&&(this._withCommit((function(){d.forEach((function(e){e(o)}))})),this._subscribers.slice().forEach((function(e){return e(i,r.state)})))},u.prototype.dispatch=function(e,t){var n=this,r=v(e,t),s=r.type,a=r.payload,o={type:s,payload:a},i=this._actions[s];if(i){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(o,n.state)}))}catch(e){0}var d=i.length>1?Promise.all(i.map((function(e){return e(a)}))):i[0](a);return new Promise((function(e,t){d.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(o,n.state)}))}catch(e){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(o,n.state,e)}))}catch(e){0}t(e)}))}))}},u.prototype.subscribe=function(e,t){return m(e,this._subscribers,t)},u.prototype.subscribeAction=function(e,t){return m("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},u.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},u.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},u.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),p(this,this.state,e,this._modules.get(e),n.preserveState),h(this,this.state)},u.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=f(t.state,e.slice(0,-1));l.delete(n,e[e.length-1])})),_(this)},u.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},u.prototype.hotUpdate=function(e){this._modules.update(e),_(this,!0)},u.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(u.prototype,c);var g=k((function(e,t){var n={};return b(t).forEach((function(t){var r=t.key,s=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=w(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"==typeof s?s.call(this,t,n):t[s]},n[r].vuex=!0})),n})),M=k((function(e,t){var n={};return b(t).forEach((function(t){var r=t.key,s=t.val;n[r]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=this.$store.commit;if(e){var a=w(this.$store,"mapMutations",e);if(!a)return;r=a.context.commit}return"function"==typeof s?s.apply(this,[r].concat(t)):r.apply(this.$store,[s].concat(t))}})),n})),L=k((function(e,t){var n={};return b(t).forEach((function(t){var r=t.key,s=t.val;s=e+s,n[r]=function(){if(!e||w(this.$store,"mapGetters",e))return this.$store.getters[s]},n[r].vuex=!0})),n})),Y=k((function(e,t){var n={};return b(t).forEach((function(t){var r=t.key,s=t.val;n[r]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var a=w(this.$store,"mapActions",e);if(!a)return;r=a.context.dispatch}return"function"==typeof s?s.apply(this,[r].concat(t)):r.apply(this.$store,[s].concat(t))}})),n}));function b(e){return function(e){return Array.isArray(e)||a(e)}(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function k(e){return function(t,n){return"string"!=typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function w(e,t,n){return e._modulesNamespaceMap[n]}var D={Store:u,install:y,version:"3.4.0",mapState:g,mapMutations:M,mapGetters:L,mapActions:Y,createNamespacedHelpers:function(e){return{mapState:g.bind(null,e),mapGetters:L.bind(null,e),mapMutations:M.bind(null,e),mapActions:Y.bind(null,e)}}};t.b=D}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/webpack/buildin/global.js":function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},"./node_modules/webpack/buildin/module.js":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"./resources/scripts/applications/home/app.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/app.vue?vue&type=template&id=bc5a19e4&"),s=n("./resources/scripts/applications/home/app.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("bc5a19e4")?i.reload("bc5a19e4",o.options):i.createRecord("bc5a19e4",o.options),e.hot.accept("./resources/scripts/applications/home/app.vue?vue&type=template&id=bc5a19e4&",function(e){r=n("./resources/scripts/applications/home/app.vue?vue&type=template&id=bc5a19e4&"),i.rerender("bc5a19e4",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/app.vue",t.a=o.exports},"./resources/scripts/applications/home/app.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/components/Header.vue"),s=n("./resources/scripts/applications/shared/components/Notification.vue"),a=n("./node_modules/vuex/dist/vuex.esm.js"),o=n("./resources/scripts/applications/shared/components/Loading/Loading.vue"),i=n("./resources/scripts/applications/shared/components/TopNavbar.vue"),d=n("./resources/scripts/applications/home/ws/websocket.service.ts"),l={name:"App",components:{Header:r.a,Notification:s.a,Loading:o.a,TopNavbar:i.a},created(){var e=this;return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,regeneratorRuntime.awrap(e.getUser());case 2:return t.sent,t.next=5,regeneratorRuntime.awrap(d.a.getInstance());case 5:return e.ws=t.sent,e.ws.on(d.a.Events.CONNECTION_ONLINE,t=>{console.log("User Online: "+JSON.stringify(t,null,2)),e.notify({message:t.name+" is online!",level:"success"})}),e.ws.on(d.a.Events.CONNECTION_OFFLINE,t=>{e.notify({message:t.name+" disconnected",level:"warning"})}),e.ws.on(d.a.Events.INCOMING_CALL,e.onIncomingCall.bind(e)),e.loading=!1,t.abrupt("return",!0);case 11:case"end":return t.stop()}}),null,null,null,Promise)},data:()=>({appName:"Seepur",loading:!0,ws:null}),computed:{...Object(a.d)(["notifications"])},methods:{onIncomingCall(e){this.notify({message:"New call from "+e.child.name,level:"success"}),this.$router.replace({path:"/call/"+e.callId})},onNotificationClose(e){this.dismissNotification(e.id)},...Object(a.c)(["dismissNotification","getUser","notify"])}};t.a=l},"./resources/scripts/applications/home/app.vue?vue&type=template&id=bc5a19e4&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app"},[n("TopNavbar",{attrs:{ws:this.ws}}),e._v(" "),e.loading?n("div",{staticClass:"loading"},[n("Loading")],1):n("div",{},[n("div",{staticClass:"notifications"},e._l(e.notifications,(function(t){return n("Notification",{key:t.id,attrs:{notification:t},on:{onClose:function(n){return e.onNotificationClose(t)}}})})),1),e._v(" "),n("div",{staticClass:"app-content m-t-xs is-fullheight"},[n("div",{staticClass:"application"},[n("router-view")],1)])])],1)},s=[];r._withStripped=!0},"./resources/scripts/applications/home/components/AddConnectionModal.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/components/AddConnectionModal.vue?vue&type=template&id=1e8c8cf4&"),s=n("./resources/scripts/applications/home/components/AddConnectionModal.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("1e8c8cf4")?i.reload("1e8c8cf4",o.options):i.createRecord("1e8c8cf4",o.options),e.hot.accept("./resources/scripts/applications/home/components/AddConnectionModal.vue?vue&type=template&id=1e8c8cf4&",function(e){r=n("./resources/scripts/applications/home/components/AddConnectionModal.vue?vue&type=template&id=1e8c8cf4&"),i.rerender("1e8c8cf4",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/components/AddConnectionModal.vue",t.a=o.exports},"./resources/scripts/applications/home/components/AddConnectionModal.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/shared/components/Modal/Modal.vue"),s=n("./node_modules/vuex/dist/vuex.esm.js"),a={name:"AddConnectionModal",props:["isActive","childName"],components:{Modal:r.a},methods:{close(){this.reset(),this.$emit("dismiss")},reset(){this.email="",this.isParent=!1},addConnection(){var e;e=this.email,/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)?(this.$emit("createNewConnection",{email:this.email,is_parent:this.isParent}),this.reset()):this.notify({message:"Please provide a valid email",level:"warning"})},...Object(s.c)(["notify"])},data:()=>({email:"",isParent:!1})};t.a=a},"./resources/scripts/applications/home/components/AddConnectionModal.vue?vue&type=template&id=1e8c8cf4&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{title:"Add Connection to "+e.childName,isActive:e.isActive,acceptText:"Add",rejectText:"Cancel"},on:{accept:function(t){return e.addConnection()},close:function(t){return e.close()}}},[n("div",{staticClass:"field"},[n("label",{staticClass:"label"},[e._v("Connection Email")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"}],staticClass:"input",attrs:{type:"email",placeholder:"name@zmail.com"},domProps:{value:e.email},on:{input:function(t){t.target.composing||(e.email=t.target.value)}}})]),e._v(" "),n("div",{staticClass:"field"},[n("label",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.isParent,expression:"isParent"}],staticClass:"checkbox",attrs:{type:"checkbox","aria-label":"isParent"},domProps:{checked:Array.isArray(e.isParent)?e._i(e.isParent,null)>-1:e.isParent},on:{change:function(t){var n=e.isParent,r=t.target,s=!!r.checked;if(Array.isArray(n)){var a=e._i(n,null);r.checked?a<0&&(e.isParent=n.concat([null])):a>-1&&(e.isParent=n.slice(0,a).concat(n.slice(a+1)))}else e.isParent=s}}}),e._v("\n Is this a parent? "+e._s(e.isParent?"Yes":"No")+"\n ")])])])},s=[];r._withStripped=!0},"./resources/scripts/applications/home/components/AvatarBadge.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/components/AvatarBadge.vue?vue&type=template&id=dc48fd58&"),s=n("./resources/scripts/applications/home/components/AvatarBadge.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("dc48fd58")?i.reload("dc48fd58",o.options):i.createRecord("dc48fd58",o.options),e.hot.accept("./resources/scripts/applications/home/components/AvatarBadge.vue?vue&type=template&id=dc48fd58&",function(e){r=n("./resources/scripts/applications/home/components/AvatarBadge.vue?vue&type=template&id=dc48fd58&"),i.rerender("dc48fd58",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/components/AvatarBadge.vue",t.a=o.exports},"./resources/scripts/applications/home/components/AvatarBadge.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r={name:"AvatarBadge",props:["img","text","isLink"],created(){},methods:{onClick(){this.$emit("onClick")}}};t.a=r},"./resources/scripts/applications/home/components/AvatarBadge.vue?vue&type=template&id=dc48fd58&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["has-text-centered","p-t-sm",{"has-pointer":!!e.isLink}],on:{click:function(t){return e.onClick()}}},[n("div",{staticClass:"avatar-badge-image"},[n("figure",{staticClass:"image is-48x48"},[n("img",{staticClass:"is-rounded is-avatar",attrs:{src:e.img,alt:"Placeholder image"}})])]),e._v(" "),n("div",{},[e._v(e._s(e.text))])])},s=[];r._withStripped=!0},"./resources/scripts/applications/home/components/Child_Card.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/components/Child_Card.vue?vue&type=template&id=018cd559&"),s=n("./resources/scripts/applications/home/components/Child_Card.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("018cd559")?i.reload("018cd559",o.options):i.createRecord("018cd559",o.options),e.hot.accept("./resources/scripts/applications/home/components/Child_Card.vue?vue&type=template&id=018cd559&",function(e){r=n("./resources/scripts/applications/home/components/Child_Card.vue?vue&type=template&id=018cd559&"),i.rerender("018cd559",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/components/Child_Card.vue",t.a=o.exports},"./resources/scripts/applications/home/components/Child_Card.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r=n("./node_modules/moment/moment.js"),s=n.n(r);var a={name:"ChildCard",props:["child"],methods:{goToChild(e){this.$router.push({path:"/child/"+e.id})}},created(){this.childAge=s()().diff(this.child.dob,"years")},data:()=>({childAge:void 0})};t.a=a},"./resources/scripts/applications/home/components/Child_Card.vue?vue&type=template&id=018cd559&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("article",{staticClass:"media has-pointer",on:{click:function(t){return e.goToChild(e.child)}}},[n("div",{staticClass:"media-left"},[n("figure",{staticClass:"image is-48x48"},[n("img",{staticClass:"is-rounded is-avatar",attrs:{src:e.child.avatar,alt:e.child.name}})])]),e._v(" "),n("div",{staticClass:"media-content"},[n("div",{staticClass:"content"},[n("p",{},[e._v(e._s(e.child.name))])])])])},s=[];r._withStripped=!0},"./resources/scripts/applications/home/components/ConfigureNewCallModal.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/components/ConfigureNewCallModal.vue?vue&type=template&id=07d8e6bf&"),s=n("./resources/scripts/applications/home/components/ConfigureNewCallModal.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("07d8e6bf")?i.reload("07d8e6bf",o.options):i.createRecord("07d8e6bf",o.options),e.hot.accept("./resources/scripts/applications/home/components/ConfigureNewCallModal.vue?vue&type=template&id=07d8e6bf&",function(e){r=n("./resources/scripts/applications/home/components/ConfigureNewCallModal.vue?vue&type=template&id=07d8e6bf&"),i.rerender("07d8e6bf",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/components/ConfigureNewCallModal.vue",t.a=o.exports},"./resources/scripts/applications/home/components/ConfigureNewCallModal.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/shared/components/Modal/Modal.vue"),s=n("./resources/scripts/applications/home/components/AvatarBadge.vue"),a=n("./node_modules/vuex/dist/vuex.esm.js"),o={name:"ConfigureNewCallModal",props:["isActive"],components:{Modal:r.a,AvatarBadge:s.a},computed:{...Object(a.d)(["user"])},methods:{close(){this.reset(),this.$emit("dismiss")},onChildSelected(e){this.child_id=e.id,this.connection_options=e.connections},onConnectionSelected(e){this.connection_id=e.id},reset(){this.connection_id="",this.child_id=!1},validate(){if(!this.child_id||!this.connection_id)return!1;const e=this.user.connections.children;for(const t of e)for(const e of t.connections)if(e.id===this.connection_id)return!0;return!1},createCall(){this.validate()?(this.$emit("newCall",{connection_id:this.connection_id,child_id:this.child_id}),this.reset()):this.notify({message:"Please select a child and a user",level:"warning"})},...Object(a.c)(["notify"])},data:()=>({connection_id:null,child_id:null,connection_options:[]})};t.a=o},"./resources/scripts/applications/home/components/ConfigureNewCallModal.vue?vue&type=template&id=07d8e6bf&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{attrs:{title:"New Call",isActive:e.isActive,acceptText:"Call",rejectText:"Cancel"},on:{accept:function(t){return e.createCall()},close:function(t){return e.close()}}},[n("div",{staticClass:"columns"},[n("div",{staticClass:"column"},[e._v("\n Select Child:\n "),n("div",{staticClass:"card"},[n("div",{staticClass:"card-content"},e._l(e.user.connections.children,(function(t){return n("avatar-badge",{key:t.id,style:e.child_id===t.id?"background-color:rgba(56, 181, 187, 0.19); border-radius:15px;":"",attrs:{img:t.avatar,text:t.name,isLink:!0},on:{onClick:function(n){return e.onChildSelected(t)}}})})),1)])]),e._v(" "),n("div",{staticClass:"column"},[e._v("\n Select Connection:\n "),n("div",{staticClass:"card"},[n("div",{staticClass:"card-content"},e._l(e.connection_options,(function(t){return n("avatar-badge",{key:t.id,style:e.connection_id===t.id?"background-color:rgba(56, 181, 187, 0.19); border-radius:15px":"",attrs:{img:t.avatar,text:t.name,isLink:!0},on:{onClick:function(n){return e.onConnectionSelected(t)}}})})),1)])])])])},s=[];r._withStripped=!0},"./resources/scripts/applications/home/components/Header.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/components/Header.vue?vue&type=template&id=28cdad73&"),s=n("./resources/scripts/applications/home/components/Header.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("28cdad73")?i.reload("28cdad73",o.options):i.createRecord("28cdad73",o.options),e.hot.accept("./resources/scripts/applications/home/components/Header.vue?vue&type=template&id=28cdad73&",function(e){r=n("./resources/scripts/applications/home/components/Header.vue?vue&type=template&id=28cdad73&"),i.rerender("28cdad73",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/components/Header.vue",t.a=o.exports},"./resources/scripts/applications/home/components/Header.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";t.a={name:"Header",props:["appName"]}},"./resources/scripts/applications/home/components/Header.vue?vue&type=template&id=28cdad73&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this.$createElement,t=this._self._c||e;return t("section",{staticClass:"hero is-small is-primary hero-bg-landing01"},[t("div",{staticClass:"hero-body"},[t("div",{staticClass:"container"},[t("h1",{staticClass:"title"},[this._v(this._s(this.appName))])])])])},s=[];r._withStripped=!0},"./resources/scripts/applications/home/components/ProfileHeader.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/components/ProfileHeader.vue?vue&type=template&id=602be2a0&"),s=n("./resources/scripts/applications/home/components/ProfileHeader.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("602be2a0")?i.reload("602be2a0",o.options):i.createRecord("602be2a0",o.options),e.hot.accept("./resources/scripts/applications/home/components/ProfileHeader.vue?vue&type=template&id=602be2a0&",function(e){r=n("./resources/scripts/applications/home/components/ProfileHeader.vue?vue&type=template&id=602be2a0&"),i.rerender("602be2a0",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/components/ProfileHeader.vue",t.a=o.exports},"./resources/scripts/applications/home/components/ProfileHeader.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r={name:"ProfileHeader",props:["title","background"],computed:{style(){const e=`\n background-image: url('${this.background}');\n background-size: cover;\n background-position: center\n `;return this.background?e:"\n background-image: url(\"/images/cloudgroup.png\"), url('/images/sun+clouds.svg');\n background-size: contain, cover;\n background-position: center top, center right;\n background-repeat: repeat, no-repeat;\n "}}};t.a=r},"./resources/scripts/applications/home/components/ProfileHeader.vue?vue&type=template&id=602be2a0&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this.$createElement;return(this._self._c||e)("section",{staticClass:"hero is-small p-t-xl p-b-xl is-light",style:this.style},[this._m(0)])},s=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"hero-body"},[t("div",{staticClass:"container"})])}];r._withStripped=!0},"./resources/scripts/applications/home/components/child_avatar.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/components/child_avatar.vue?vue&type=template&id=e580f2bc&"),s=n("./resources/scripts/applications/home/components/child_avatar.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("e580f2bc")?i.reload("e580f2bc",o.options):i.createRecord("e580f2bc",o.options),e.hot.accept("./resources/scripts/applications/home/components/child_avatar.vue?vue&type=template&id=e580f2bc&",function(e){r=n("./resources/scripts/applications/home/components/child_avatar.vue?vue&type=template&id=e580f2bc&"),i.rerender("e580f2bc",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/components/child_avatar.vue",t.a=o.exports},"./resources/scripts/applications/home/components/child_avatar.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r={name:"ChildAvatar",props:["child"],created(){}};t.a=r},"./resources/scripts/applications/home/components/child_avatar.vue?vue&type=template&id=e580f2bc&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"chiled-avatar has-text-centered"},[t("div",{staticClass:"avatar-badge-image"},[t("figure",{staticClass:"image is-48x48"},[t("img",{staticClass:"is-rounded is-avatar",attrs:{src:this.child.avatar,alt:"Placeholder image"}})])]),this._v(" "),t("div",{staticClass:"chiled-avatar-name"},[this._v(this._s(this.child.name))])])},s=[];r._withStripped=!0},"./resources/scripts/applications/home/components/flipbook/flipbook.cjs.js":function(e,t,n){"use strict"; /*! * @license * flipbook-vue v0.8.1 * Copyright © 2020 Takeshi Sone. * Released under the MIT License. - */var r,s,a,o,i=n("./node_modules/rematrix/dist/rematrix.es.js"),d=function(){function e(e){e?e.m?this.m=[].concat(e.m):this.m=[].concat(e):this.m=i.identity()}return e.prototype.clone=function(){return new e(this)},e.prototype.multiply=function(e){return this.m=i.multiply(this.m,e)},e.prototype.perspective=function(e){return this.multiply(i.perspective(e))},e.prototype.transformX=function(e){return(e*this.m[0]+this.m[12])/(e*this.m[3]+this.m[15])},e.prototype.translate=function(e,t){return this.multiply(i.translate(e,t))},e.prototype.translate3d=function(e,t,n){return this.multiply(i.translate3d(e,t,n))},e.prototype.rotateY=function(e){return this.multiply(i.rotateY(e))},e.prototype.toString=function(){return i.toString(this.m)},e}();s=function(e){return Math.pow(e,2)},o=function(e){return 1-s(1-e)},a=function(e){return e<.5?s(2*e)/2:.5+o(2*(e-.5))/2},r=/Trident/.test(navigator.userAgent);var l={props:{enabled:{type:Boolean,required:!0},pages:{type:Array,required:!0},pagesHiRes:{type:Array,default:function(){return[]}},flipDuration:{type:Number,default:1e3},zoomDuration:{type:Number,default:500},zooms:{type:Array,default:function(){return[1,2,4]}},perspective:{type:Number,default:2400},nPolygons:{type:Number,default:10},ambient:{type:Number,default:.4},gloss:{type:Number,default:.6},swipeMin:{type:Number,default:3},singlePage:{type:Boolean,default:!1},forwardDirection:{validator:function(e){return"right"===e||"left"===e},default:"right"},centering:{type:Boolean,default:!0},startPage:{type:Number,default:null}},data:function(){return{viewWidth:0,viewHeight:0,imageWidth:null,imageHeight:null,displayedPages:1,nImageLoad:0,nImageLoadTrigger:0,imageLoadCallback:null,currentPage:0,firstPage:0,secondPage:1,zoomIndex:0,zoom:1,zooming:!1,touchStartX:null,touchStartY:null,maxMove:0,activeCursor:null,hasTouchEvents:!1,hasPointerEvents:!1,minX:Infinity,maxX:-Infinity,preloadedImages:{},flip:{progress:0,direction:null,frontImage:null,backImage:null,auto:!1,opacity:1},currentCenterOffset:null,animatingCenter:!1,startScrollLeft:0,startScrollTop:0,scrollLeft:0,scrollTop:0}},computed:{canFlipLeft:function(){return"left"===this.forwardDirection?this.canGoForward:this.canGoBack},canFlipRight:function(){return"right"===this.forwardDirection?this.canGoForward:this.canGoBack},canZoomIn:function(){return!this.zooming&&this.zoomIndex0},numPages:function(){return null===this.pages[0]?this.pages.length-1:this.pages.length},page:function(){return null!==this.pages[0]?this.currentPage+1:Math.max(1,this.currentPage)},zooms_:function(){return this.zooms||[1]},canGoForward:function(){return!this.flip.direction&&this.currentPage=this.displayedPages&&!(1===this.displayedPages&&!this.pageUrl(this.firstPage-1))},leftPage:function(){return"right"===this.forwardDirection||1===this.displayedPages?this.firstPage:this.secondPage},rightPage:function(){return"left"===this.forwardDirection?this.firstPage:this.secondPage},showLeftPage:function(){return this.pageUrl(this.leftPage)},showRightPage:function(){return this.pageUrl(this.rightPage)&&2===this.displayedPages},cursor:function(){return this.activeCursor?this.activeCursor:r?"auto":this.canZoomIn?"zoom-in":this.canZoomOut?"zoom-out":"grab"},pageScale:function(){var e,t,n;return(e=(t=this.viewWidth/this.displayedPages/this.imageWidth)<(n=this.viewHeight/this.imageHeight)?t:n)<1?e:1},pageWidth:function(){return Math.round(this.imageWidth*this.pageScale)},pageHeight:function(){return Math.round(this.imageHeight*this.pageScale)},xMargin:function(){return(this.viewWidth-this.pageWidth*this.displayedPages)/2},yMargin:function(){return(this.viewHeight-this.pageHeight)/2},polygonWidth:function(){var e;return e=this.pageWidth/this.nPolygons,(e=Math.ceil(e+1/this.zoom))+"px"},polygonHeight:function(){return this.pageHeight+"px"},polygonBgSize:function(){return this.pageWidth+"px "+this.pageHeight+"px"},polygonArray:function(){return this.makePolygonArray("front").concat(this.makePolygonArray("back"))},boundingLeft:function(){var e;return 1===this.displayedPages?this.xMargin:(e=this.pageUrl(this.leftPage)?this.xMargin:this.viewWidth/2)this.maxX?e:this.maxX},centerOffset:function(){var e;return e=this.centering?Math.round(this.viewWidth/2-(this.boundingLeft+this.boundingRight)/2):0,null===this.currentCenterOffset&&null!==this.imageWidth&&(this.currentCenterOffset=e),e},centerOffsetSmoothed:function(){return Math.round(this.currentCenterOffset)},dragToScroll:function(){return!this.hasTouchEvents},scrollLeftMin:function(){var e;return(e=(this.boundingRight-this.boundingLeft)*this.zoom)this.viewHeight&&!this.singlePage?2:1,2===this.displayedPages&&(this.currentPage&=-2),this.fixFirstPage(),this.minX=Infinity,this.maxX=-Infinity,console.log("Flipbook resized")},fixFirstPage:function(){if(1===this.displayedPages&&0===this.currentPage&&this.pages.length&&!this.pageUrl(0))return this.currentPage++},pageUrl:function(e,t){var n;return void 0===t&&(t=!1),t&&this.zoom>1&&!this.zooming&&(n=this.pagesHiRes[e])?n:this.pages[e]||null},flipLeft:function(){if(this.canFlipLeft)return this.flipStart("left",!0)},flipRight:function(){if(this.canFlipRight)return this.flipStart("right",!0)},makePolygonArray:function(e){var t,n,r,s,a,o,i,l,u,c,m,_,h,p,f,v,y,M,g,L,Y,b,k,w,D,T,j;if(!this.flip.direction)return[];for(v=this.flip.progress,a=this.flip.direction,1===this.displayedPages&&a!==this.forwardDirection&&(v=1-v,a=this.forwardDirection),this.flip.opacity=1===this.displayedPages&&v>.7?1-(v-.7)/.3:1,t=(i="front"===e?this.flip.frontImage:this.flip.backImage)&&"url('"+i+"')",f=this.pageWidth/this.nPolygons,p=this.xMargin,m=!1,1===this.displayedPages?"right"===this.forwardDirection?"back"===e&&(m=!0,p=this.xMargin-this.pageWidth):"left"===a?"back"===e?p=this.pageWidth-this.xMargin:m=!0:"front"===e?p=this.pageWidth-this.xMargin:m=!0:"left"===a?"back"===e?p=this.viewWidth/2:m=!0:"front"===e?p=this.viewWidth/2:m=!0,(_=new d).translate(this.viewWidth/2),_.perspective(this.perspective),_.translate(-this.viewWidth/2),_.translate(p,this.yMargin),h=0,v>.5&&(h=2*-(v-.5)*180),"left"===a&&(h=-h),"back"===e&&(h+=180),h&&(m&&_.translate(this.pageWidth),_.rotateY(h),m&&_.translate(-this.pageWidth)),0===(k=v<.5?2*v*Math.PI:(1-2*(v-.5))*Math.PI)&&(k=1e-9),g=this.pageWidth/k,M=0,b=(r=k/this.nPolygons)/2/Math.PI*180,s=r/Math.PI*180,m&&(b=-k/Math.PI*180+s/2),"back"===e&&(b=-b,s=-s),this.minX=Infinity,this.maxX=-Infinity,Y=[],o=l=0,L=this.nPolygons;0<=L?lL;o=0<=L?++l:--l)n=o/(this.nPolygons-1)*100+"% 0px",c=_.clone(),y=m?k-M:M,w=Math.sin(y)*g,m&&(w=this.pageWidth-w),j=(1-Math.cos(y))*g,"back"===e&&(j=-j),c.translate3d(w,0,j),c.rotateY(-b),D=c.transformX(0),T=c.transformX(f),this.maxX=Math.max(Math.max(D,T),this.maxX),this.minX=Math.min(Math.min(D,T),this.minX),u=this.computeLighting(h-b,s),M+=r,b+=s,Y.push([e+o,t,u,n,c.toString(),Math.abs(Math.round(j))]);return Y},computeLighting:function(e,t){var n,s,a,o,i;return a=[],o=[-.5,-.25,0,.25,.5],this.ambient<1&&(n=1-this.ambient,s=o.map((function(r){return(1-Math.cos((e-t*r)/180*Math.PI))*n})),a.push("linear-gradient(to right,\n rgba(0, 0, 0, "+s[0]+"),\n rgba(0, 0, 0, "+s[1]+") 25%,\n rgba(0, 0, 0, "+s[2]+") 50%,\n rgba(0, 0, 0, "+s[3]+") 75%,\n rgba(0, 0, 0, "+s[4]+"))")),this.gloss>0&&!r&&(30,200,i=o.map((function(n){return Math.max(Math.pow(Math.cos((e+30-t*n)/180*Math.PI),200),Math.pow(Math.cos((e-30-t*n)/180*Math.PI),200))})),a.push("linear-gradient(to right,\n rgba(255, 255, 255, "+i[0]*this.gloss+"),\n rgba(255, 255, 255, "+i[1]*this.gloss+") 25%,\n rgba(255, 255, 255, "+i[2]*this.gloss+") 50%,\n rgba(255, 255, 255, "+i[3]*this.gloss+") 75%,\n rgba(255, 255, 255, "+i[4]*this.gloss+"))")),a.join(",")},flipStart:function(e,t){var n=this;return e!==this.forwardDirection?1===this.displayedPages?(this.flip.frontImage=this.pageUrl(this.currentPage-1),this.flip.backImage=null):(this.flip.frontImage=this.pageUrl(this.firstPage),this.flip.backImage=this.pageUrl(this.currentPage-this.displayedPages+1)):1===this.displayedPages?(this.flip.frontImage=this.pageUrl(this.currentPage),this.flip.backImage=null):(this.flip.frontImage=this.pageUrl(this.secondPage),this.flip.backImage=this.pageUrl(this.currentPage+this.displayedPages)),this.flip.direction=e,this.flip.progress=0,requestAnimationFrame((function(){return requestAnimationFrame((function(){if(n.flip.direction!==n.forwardDirection?2===n.displayedPages&&(n.firstPage=n.currentPage-n.displayedPages):1===n.displayedPages?n.firstPage=n.currentPage+n.displayedPages:n.secondPage=n.currentPage+1+n.displayedPages,t)return n.flipAuto(!0)}))}))},flipAuto:function(e){var t,n,r,s,o=this;return s=Date.now(),n=this.flipDuration*(1-this.flip.progress),r=this.flip.progress,this.flip.auto=!0,this.$emit("flip-"+this.flip.direction+"-start",this.page),(t=function(){return requestAnimationFrame((function(){var i,d;return d=Date.now()-s,(i=r+d/n)>1&&(i=1),o.flip.progress=e?a(i):i,i<1?t():(o.flip.direction!==o.forwardDirection?o.currentPage-=o.displayedPages:o.currentPage+=o.displayedPages,o.$emit("flip-"+o.flip.direction+"-end",o.page),1===o.displayedPages&&o.flip.direction===o.forwardDirection?o.flip.direction=null:o.onImageLoad(1,(function(){return o.flip.direction=null})),o.flip.auto=!1)}))})()},flipRevert:function(){var e,t,n,r,s=this;return r=Date.now(),t=this.flipDuration*this.flip.progress,n=this.flip.progress,this.flip.auto=!0,(e=function(){return requestAnimationFrame((function(){var a,o;return o=Date.now()-r,(a=n-n*o/t)<0&&(a=0),s.flip.progress=a,a>0?e():(s.firstPage=s.currentPage,s.secondPage=s.currentPage+1,1===s.displayedPages&&s.flip.direction!==s.forwardDirection?s.flip.direction=null:s.onImageLoad(1,(function(){return s.flip.direction=null})),s.flip.auto=!1)}))})()},onImageLoad:function(e,t){return this.nImageLoad=0,this.nImageLoadTrigger=e,this.imageLoadCallback=t},didLoadImage:function(e){if(null===this.imageWidth&&(this.imageWidth=(e.target||e.path[0]).naturalWidth,this.imageHeight=(e.target||e.path[0]).naturalHeight),this.imageLoadCallback)return++this.nImageLoad>=this.nImageLoadTrigger?(this.imageLoadCallback(),this.imageLoadCallback=null):void 0},zoomIn:function(){if(this.canZoomIn)return this.zoomIndex+=1,this.zoomTo(this.zooms_[this.zoomIndex])},zoomOut:function(){if(this.canZoomOut)return this.zoomIndex-=1,this.zoomTo(this.zooms_[this.zoomIndex])},zoomTo:function(e,t,n){var s,o,i,d,l,u,c,m,_,h=this;if(l=this.zoom,o=e,_=this.$refs.viewport,u=_.scrollLeft,c=_.scrollTop,t||(t=_.clientWidth/2),n||(n=_.clientHeight/2),i=(t+u)/l*o-t,d=(n+c)/l*o-n,m=Date.now(),this.zooming=!0,this.$emit("zoom-start",e),(s=function(){return requestAnimationFrame((function(){var t,n;return((t=(n=Date.now()-m)/h.zoomDuration)>1||r)&&(t=1),t=a(t),h.zoom=l+(o-l)*t,h.scrollLeft=u+(i-u)*t,h.scrollTop=c+(d-c)*t,n1)return this.preloadImages(!0)},zoomAt:function(e){var t,n,r;return t=this.$refs.viewport.getBoundingClientRect(),n=e.pageX-t.left,r=e.pageY-t.top,this.zoomIndex=(this.zoomIndex+1)%this.zooms_.length,this.zoomTo(this.zooms_[this.zoomIndex],n,r)},swipeStart:function(e){},swipeMove:function(e){var t,n;if(null!=this.touchStartX)if(t=e.pageX-this.touchStartX,n=e.pageY-this.touchStartY,this.maxMove=Math.max(this.maxMove,Math.abs(t)),this.maxMove=Math.max(this.maxMove,Math.abs(n)),this.zoom>1)this.dragToScroll&&this.dragScroll(t,n);else if(!(Math.abs(n)>Math.abs(t)))return this.activeCursor="grabbing",t>0?(null===this.flip.direction&&this.canFlipLeft&&t>=this.swipeMin&&this.flipStart("left",!1),"left"===this.flip.direction&&(this.flip.progress=t/this.pageWidth,this.flip.progress>1&&(this.flip.progress=1))):(null===this.flip.direction&&this.canFlipRight&&t<=-this.swipeMin&&this.flipStart("right",!1),"right"===this.flip.direction&&(this.flip.progress=-t/this.pageWidth,this.flip.progress>1&&(this.flip.progress=1))),!0},swipeEnd:function(e){if(null!=this.touchStartX)return this.maxMove1/4?this.flipAuto(!1):this.flipRevert()),this.touchStartX=null,this.activeCursor=null},onTouchStart:function(e){return this.hasTouchEvents=!0,this.swipeStart(e.changedTouches[0])},onTouchMove:function(e){if(this.swipeMove(e.changedTouches[0])&&e.cancelable)return e.preventDefault()},onTouchEnd:function(e){return this.swipeEnd(e.changedTouches[0])},onPointerDown:function(e){if(this.hasPointerEvents=!0,!(this.hasTouchEvents||e.which&&1!==e.which)){this.swipeStart(e);try{return e.target.setPointerCapture(e.pointerId)}catch(e){}}},onPointerMove:function(e){if(!this.hasTouchEvents)return this.swipeMove(e)},onPointerUp:function(e){if(!this.hasTouchEvents){this.swipeEnd(e);try{return e.target.releasePointerCapture(e.pointerId)}catch(e){}}},onMouseDown:function(e){if(!(this.hasTouchEvents||this.hasPointerEvents||e.which&&1!==e.which))return this.swipeStart(e)},onMouseMove:function(e){if(!this.hasTouchEvents&&!this.hasPointerEvents)return this.swipeMove(e)},onMouseUp:function(e){if(!this.hasTouchEvents&&!this.hasPointerEvents)return this.swipeEnd(e)},dragScroll:function(e,t){return this.scrollLeft=this.startScrollLeft-e,this.scrollTop=this.startScrollTop-t},onWheel:function(e){if(this.zoom>1&&this.dragToScroll&&(this.scrollLeft=this.$refs.viewport.scrollLeft+e.deltaX,this.scrollTop=this.$refs.viewport.scrollTop+e.deltaY,e.cancelable))return e.preventDefault()},preloadImages:function(e){var t,n,r,s,a,o,i,d,l;for(void 0===e&&(e=!1),Object.keys(this.preloadedImages).length>=10&&(this.preloadedImages={}),t=r=a=this.currentPage-3,o=this.currentPage+3;a<=o?r<=o:r>=o;t=a<=o?++r:--r)(l=this.pageUrl(t))&&(this.preloadedImages[l]||((n=new Image).src=l,this.preloadedImages[l]=n));if(e)for(t=s=i=this.currentPage,d=this.currentPage+this.displayedPages;i<=d?sd;t=i<=d?++s:--s)(l=this.pagesHiRes[t])&&(this.preloadedImages[l]||((n=new Image).src=l,this.preloadedImages[l]=n))},goToPage:function(e){if(null!==e&&e!==this.page)return null===this.pages[0]?2===this.displayedPages&&1===e?this.currentPage=0:this.currentPage=e:this.currentPage=e-1,this.minX=Infinity,this.maxX=-Infinity,this.currentCenterOffset=this.centerOffset}},watch:{currentPage:function(){return this.firstPage=this.currentPage,this.secondPage=this.currentPage+1,this.preloadImages()},centerOffset:function(){var e,t=this;if(!this.animatingCenter)return e=function(){return requestAnimationFrame((function(){var n;return.1,n=t.centerOffset-t.currentCenterOffset,Math.abs(n)<.5?(t.currentCenterOffset=t.centerOffset,t.animatingCenter=!1):(t.currentCenterOffset+=.1*n,e())}))},this.animatingCenter=!0,e()},scrollLeftLimited:function(e){var t=this;return r?requestAnimationFrame((function(){return t.$refs.viewport.scrollLeft=e})):this.$refs.viewport.scrollLeft=e},scrollTopLimited:function(e){var t=this;return r?requestAnimationFrame((function(){return t.$refs.viewport.scrollTop=e})):this.$refs.viewport.scrollTop=e},pages:function(e,t){if(this.fixFirstPage(),!(null!=t?t.length:void 0)&&(null!=e?e.length:void 0)&&this.startPage>1&&null===e[0])return this.currentPage++},startPage:function(e){return this.goToPage(e)}}};var u,c="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var m={};var _=function(e,t,n,r,s,a,o,i,d,l){"boolean"!=typeof o&&(d=i,i=o,o=!1);var u,c="function"==typeof n?n.options:n;if(e&&e.render&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,s&&(c.functional=!0)),r&&(c._scopeId=r),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,d(e)),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=u):t&&(u=o?function(e){t.call(this,l(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,i(e))}),u)if(c.functional){var m=c.render;c.render=function(e,t){return u.call(t),m(e,t)}}else{var _=c.beforeCreate;c.beforeCreate=_?[].concat(_,u):[u]}return n}({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._t("default",null,null,{canFlipLeft:e.canFlipLeft,canFlipRight:e.canFlipRight,canZoomIn:e.canZoomIn,canZoomOut:e.canZoomOut,page:e.page,numPages:e.numPages,flipLeft:e.flipLeft,flipRight:e.flipRight,zoomIn:e.zoomIn,zoomOut:e.zoomOut}),e._v(" "),n("div",{ref:"viewport",staticClass:"viewport",class:{zoom:e.zooming||e.zoom>1,"drag-to-scroll":e.dragToScroll},style:{cursor:"grabbing"==e.cursor?"grabbing":"auto"},on:{touchmove:e.onTouchMove,pointermove:e.onPointerMove,mousemove:e.onMouseMove,touchend:e.onTouchEnd,touchcancel:e.onTouchEnd,pointerup:e.onPointerUp,pointercancel:e.onPointerUp,mouseup:e.onMouseUp,wheel:e.onWheel}},[n("div",{staticClass:"book-container",style:{transform:"scale("+e.zoom+")"}},[n("div",{style:{transform:"translateX("+e.centerOffsetSmoothed+"px)"}},[e.showLeftPage?n("img",{staticClass:"page fixed",style:{width:e.pageWidth+"px",height:e.pageHeight+"px",left:e.xMargin+"px",top:e.yMargin+"px"},attrs:{src:e.pageUrl(e.leftPage,!0)},on:{load:function(t){return e.didLoadImage(t)}}}):e._e(),e._v(" "),e.showRightPage?n("img",{staticClass:"page fixed",style:{width:e.pageWidth+"px",height:e.pageHeight+"px",left:e.viewWidth/2+"px",top:e.yMargin+"px"},attrs:{src:e.pageUrl(e.rightPage,!0)},on:{load:function(t){return e.didLoadImage(t)}}}):e._e(),e._v(" "),n("div",{style:{opacity:e.flip.opacity}},e._l(e.polygonArray,(function(t){var r=t[0],s=t[1],a=t[2],o=t[3],i=t[4],d=t[5];return n("div",{key:r,staticClass:"polygon",class:{blank:!s},style:{backgroundImage:s,backgroundSize:e.polygonBgSize,backgroundPosition:o,width:e.polygonWidth,height:e.polygonHeight,transform:i,zIndex:d}},[n("div",{directives:[{name:"show",rawName:"v-show",value:a.length,expression:"lighting.length"}],staticClass:"lighting",style:{backgroundImage:a}})])})),0),e._v(" "),n("div",{staticClass:"bounding-box",style:{left:e.boundingLeft+"px",top:e.yMargin+"px",width:e.boundingRight-e.boundingLeft+"px",height:e.pageHeight+"px",cursor:e.cursor},on:{touchstart:e.onTouchStart,pointerdown:e.onPointerDown,mousedown:e.onMouseDown}})])])])],2)},staticRenderFns:[]},(function(e){e&&e("data-v-1b72a150_0",{source:".viewport[data-v-1b72a150]{-webkit-overflow-scrolling:touch;width:100%;height:100%}.viewport.zoom[data-v-1b72a150]{overflow:scroll}.viewport.zoom.drag-to-scroll[data-v-1b72a150]{overflow:hidden}.book-container[data-v-1b72a150]{position:relative;width:100%;height:100%;transform-origin:top left;-webkit-user-select:none;-ms-user-select:none;user-select:none}.click-to-flip[data-v-1b72a150]{position:absolute;width:50%;height:100%;top:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.click-to-flip.left[data-v-1b72a150]{left:0}.click-to-flip.right[data-v-1b72a150]{right:0}.bounding-box[data-v-1b72a150]{position:absolute;-webkit-user-select:none;-ms-user-select:none;user-select:none}.page[data-v-1b72a150]{position:absolute;-webkit-backface-visibility:hidden;backface-visibility:hidden;box-shadow:0 0 15px -4px rgba(0,0,0,.75)}.polygon[data-v-1b72a150]{position:absolute;top:0;left:0;background-repeat:no-repeat;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-origin:center left}.polygon.blank[data-v-1b72a150]{background-color:#ddd}.polygon .lighting[data-v-1b72a150]{width:100%;height:100%}",map:void 0,media:void 0})}),l,"data-v-1b72a150",!1,void 0,!1,(function(e){return function(e,t){return function(e,t){var n=c?t.media||"default":e,r=m[n]||(m[n]={ids:new Set,styles:[]});if(!r.ids.has(e)){r.ids.add(e);var s=t.source;if(t.map&&(s+="\n/*# sourceURL="+t.map.sources[0]+" */",s+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),r.element||(r.element=document.createElement("style"),r.element.type="text/css",t.media&&r.element.setAttribute("media",t.media),void 0===u&&(u=document.head||document.getElementsByTagName("head")[0]),u.appendChild(r.element)),"styleSheet"in r.element)r.styles.push(s),r.element.styleSheet.cssText=r.styles.filter(Boolean).join("\n");else{var a=r.ids.size-1,o=document.createTextNode(s),i=r.element.childNodes;i[a]&&r.element.removeChild(i[a]),i.length?r.element.insertBefore(o,i[a]):r.element.appendChild(o)}}}(e,t)}}),void 0,void 0);e.exports=_},"./resources/scripts/applications/home/main.vue":function(e,t,n){"use strict";n.r(t);n("./node_modules/regenerator-runtime/runtime.js");var r=n("./node_modules/vue/dist/vue.esm.js"),s=n("./node_modules/vuex/dist/vuex.esm.js"),a=n("./resources/scripts/applications/home/app.vue"),o=n("./node_modules/vue-router/dist/vue-router.esm.js"),i=n("./resources/scripts/applications/home/views/home.vue"),d=n("./resources/scripts/applications/home/views/settings.vue"),l=n("./resources/scripts/applications/home/views/call.vue"),u=n("./resources/scripts/applications/home/views/child_profile.vue"),c=n("./resources/scripts/applications/home/views/call_views/Lobby.vue"),m=n("./resources/scripts/applications/home/views/call_views/Book.vue");r.default.use(o.a);const _=[{path:"/",component:i.a,name:"root"},{path:"/settings",component:d.a},{path:"/call/:id",component:l.a,children:[{path:"",component:c.a,name:"lobby"},{path:"book",component:m.a,name:"book"}]},{path:"/child/:id",component:u.a},{path:"*",redirect:{name:"root"}}];var h=new o.a({routes:_,mode:"history"}),p=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),f=Object(p.a)(h,void 0,void 0,!1,null,null,null),v=n("./node_modules/vue-hot-reload-api/dist/index.js");v.install(n("./node_modules/vue/dist/vue.esm.js")),v.compatible&&(e.hot.accept(),v.isRecorded("1c72787c")?v.reload("1c72787c",f.options):v.createRecord("1c72787c",f.options)),f.options.__file="resources/scripts/applications/home/router/router.vue";var y=f.exports,M=n("./resources/scripts/applications/services/index.ts");r.default.use(s.b);var g=new s.a({strict:!0,state:{inCall:!1,user:{name:"loading...",is_admin:!1,id:null,books:[]},notifications:[]},getters:{user:e=>e.user,notifications:e=>e.notifications,inCall:e=>e.inCall},mutations:{setUser(e,t){e.user=t},notify(e,t){const n=Math.ceil(1e3*Math.random());e.notifications.push({...t,id:n});const r=this.dispatch;setTimeout(()=>{r("dismissNotification",n)},5e3)},dismissNotification(e,t){e.notifications=e.notifications.filter(e=>e.id!=t)},callEnded(e){e.inCall=!1},callStarted(e){e.inCall=!0}},actions:{getUser(e,t){return regeneratorRuntime.async((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,regeneratorRuntime.awrap(M.a.ApiService.getUser(t));case 2:return n=r.sent,e.commit("setUser",n),r.abrupt("return",n);case 5:case"end":return r.stop()}}),null,null,null,Promise);var n},notify(e,t){e.commit("notify",t)},dismissNotification(e,t){e.commit("dismissNotification",t)},callEnded(e){e.commit("callEnded")},callStarted(e){e.commit("callStarted")}}});r.default.use(s.b);var L=new r.default({router:y,store:g,render:e=>e(a.a)}).$mount("#app"),Y=Object(p.a)(L,void 0,void 0,!1,null,null,null),b=n("./node_modules/vue-hot-reload-api/dist/index.js");b.install(n("./node_modules/vue/dist/vue.esm.js")),b.compatible&&(e.hot.accept(),b.isRecorded("550f4f9c")?b.reload("550f4f9c",Y.options):b.createRecord("550f4f9c",Y.options)),Y.options.__file="resources/scripts/applications/home/main.vue";t.default=Y.exports},"./resources/scripts/applications/home/views/call.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/views/call.vue?vue&type=template&id=2e42c802&"),s=n("./resources/scripts/applications/home/views/call.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("2e42c802")?i.reload("2e42c802",o.options):i.createRecord("2e42c802",o.options),e.hot.accept("./resources/scripts/applications/home/views/call.vue?vue&type=template&id=2e42c802&",function(e){r=n("./resources/scripts/applications/home/views/call.vue?vue&type=template&id=2e42c802&"),i.rerender("2e42c802",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/views/call.vue",t.a=o.exports},"./resources/scripts/applications/home/views/call.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/shared/components/Loading/Loading.vue"),s=n("./resources/scripts/applications/home/ws/call.manager.ts"),a=n("./resources/scripts/applications/home/ws/websocket.service.ts"),o=n("./resources/scripts/applications/home/views/call_views/VideoStrip.vue"),i=n("./node_modules/vuex/dist/vuex.esm.js"),d={components:{Loading:r.a,VideoStrip:o.a},name:"Call",created(){var e,t,n,r=this;return regeneratorRuntime.async((function(o){for(;;)switch(o.prev=o.next){case 0:return r.loading=!0,o.prev=1,e=Number(r.$route.params.id),o.next=5,regeneratorRuntime.awrap(a.a.getInstance());case 5:return t=o.sent,r.callManager=t.callManager,r.callManager.on(s.a.CLOSE,r.endCall),o.next=10,regeneratorRuntime.awrap(r.callManager.connectToCall(r.user.id,{video:!0,audio:!0},e));case 10:if(n=o.sent,r.callManager.on(s.a.CALL_HOST_CHANGED,r.onRemoteHostChanged),n){o.next=16;break}return r.notify({message:"Can find this call...",level:"danger"}),r.$router.push({path:"/"}),o.abrupt("return",!1);case 16:return r.callStarted(),o.next=19,regeneratorRuntime.awrap(r.callManager.getUserMedia());case 19:r.localStream=o.sent,r.remoteStream=r.callManager.getRemoteStream(),r.notify({message:"Connected!",level:"success"}),o.next=28;break;case 24:o.prev=24,o.t0=o.catch(1),console.error(o.t0),r.notify({message:o.t0.message,level:"danger"});case 28:r.loading=!1;case 29:case"end":return o.stop()}}),null,null,[[1,24]],Promise)},beforeDestroy(){var e=this;return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:return console.log("destroyed"),e.callManager.close(),e.callEnded(),t.abrupt("return",!0);case 4:case"end":return t.stop()}}),null,null,null,Promise)},methods:{setupCall:()=>regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",!0);case 1:case"end":return e.stop()}}),null,null,null,Promise),endCall(e){this.notify({message:`Call #${e} Ended`}),this.$router.replace({path:"/"})},onRemoteHostChanged(e){console.log("-----------"),console.log(e),this.peer=this.callManager.peer},changeHost(){this.callManager.changeHost()},...Object(i.c)(["notify","callStarted","callEnded"])},computed:{...Object(i.d)(["user","inCall"])},watch:{$route(e,t){const n=e.path.split("/").length,r=t.path.split("/").length;this.stateTransitionName=n({loading:!0,localStream:null,remoteStream:null,callManager:null,stateTransitionName:"slide-left"}),beforeCreate:()=>{}};t.a=d},"./resources/scripts/applications/home/views/call.vue?vue&type=template&id=2e42c802&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"is-fullwidth"},[this.loading?t("div",[t("Loading")],1):t("div",{staticClass:"columns"},[t("VideoStrip",{staticClass:"column is-2",attrs:{localStream:this.localStream,remoteStream:this.remoteStream,remotePoster:this.callManager.peer.avatar}}),this._v(" "),t("transition",{attrs:{name:this.stateTransitionName}},[t("router-view",{staticClass:"column"})],1)],1)])},s=[];r._withStripped=!0},"./resources/scripts/applications/home/views/call_views/Book.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/views/call_views/Book.vue?vue&type=template&id=39118a17&"),s=n("./resources/scripts/applications/home/views/call_views/Book.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("39118a17")?i.reload("39118a17",o.options):i.createRecord("39118a17",o.options),e.hot.accept("./resources/scripts/applications/home/views/call_views/Book.vue?vue&type=template&id=39118a17&",function(e){r=n("./resources/scripts/applications/home/views/call_views/Book.vue?vue&type=template&id=39118a17&"),i.rerender("39118a17",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/views/call_views/Book.vue",t.a=o.exports},"./resources/scripts/applications/home/views/call_views/Book.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/components/flipbook/flipbook.cjs.js"),s=n.n(r),a=n("./resources/scripts/applications/shared/components/Loading/Loading.vue"),o=n("./resources/scripts/applications/home/ws/call.manager.ts"),i=n("./resources/scripts/applications/home/ws/websocket.service.ts"),d=n("./node_modules/vuex/dist/vuex.esm.js"),l={name:"CallBook",components:{Flipbook:s.a,Loading:a.a},created(){var e,t=this;return regeneratorRuntime.async((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,regeneratorRuntime.awrap(i.a.getInstance());case 2:return e=n.sent,t.callManager=e.callManager,t.callManager.on(o.a.ACTION_BOOK_FLIP,t.onRemoteFlip.bind(t)),t.loading=!1,n.abrupt("return",!0);case 7:case"end":return n.stop()}}),null,null,null,Promise)},destroyed(){this.callManager.removeListener(o.a.ACTION_BOOK_FLIP,this.onRemoteFlip.bind(this))},data:()=>({loading:!0,localStream:null,remoteStream:null,flipbookRef:!1,callManager:{isHost:!1}}),computed:{canFlipLeft(){return this.flipbookRef&&this.$refs.flipbook.canFlipLeft},canFlipRight(){return this.flipbookRef&&this.$refs.flipbook.canFlipRight},createPages(){const e=[null];for(let t=1;t({callManager:{books:[]}}),methods:{goToBook(e,t,n){(n||this.callManager.isHost)&&(this.callManager.selectBook(t,n),this.$router.replace({name:"book"}))},remoteBookSelected({bookId:e}){for(let t=0;t!!e||n.id===t.user.id,t.isParent),n.next=15;break;case 13:t.notify({message:"Sorry, Child not found!",level:"danger"}),t.$router.push({path:"/"});case 15:return n.abrupt("return",!0);case 16:case"end":return n.stop()}}),null,null,null,Promise)},data:()=>({loading:!0,child:null,isParent:!1,inEditMode:!1,showCoverModal:!1,showAddConnectionModal:!1,childCoverModalImage:null}),methods:{onDeleteClicked(){this.notify({message:"Delete button clicked. Still not working"})},goToUserProfile(e){this.user.id===e.id?this.$router.push({path:"/"}):this.$router.push({path:"/user/"+e.id})},addConnection(e){var t,n=this;return regeneratorRuntime.async((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,n.loading=!0,r.next=4,regeneratorRuntime.awrap(a.a.ApiService.createConnection({...e,child_id:n.child.id}));case 4:if(409!==(t=r.sent).code){r.next=11;break}return n.loading=!1,n.showAddConnectionModal=!1,r.abrupt("return",n.notify({message:t.message,level:"warning"}));case 11:if(0===t.code){r.next=15;break}return n.loading=!1,n.showAddConnectionModal=!1,r.abrupt("return",n.notify({message:t.message,level:"danger"}));case 15:n.notify({message:`Awesome!\n${t.data.user.name} is connected to ${n.child.name}`,level:"success"}),t.data.is_parent?n.child.parents.push(t.data.user):n.child.connections.push(t.data.user),console.log(t),r.next=23;break;case 20:r.prev=20,r.t0=r.catch(0),console.error(r.t0);case 23:return n.loading=!1,n.showAddConnectionModal=!1,r.abrupt("return",!0);case 26:case"end":return r.stop()}}),null,null,[[0,20]],Promise)},changeCover(){var e=this;return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.childCoverModalImage){t.next=12;break}return e.loading=!0,t.prev=2,t.next=5,regeneratorRuntime.awrap(a.a.ApiService.updateChildCover(e.child.id,e.childCoverModalImage));case 5:e.child.profile_cover=t.sent,t.next=11;break;case 8:t.prev=8,t.t0=t.catch(2),console.error(t.t0);case 11:e.loading=!1;case 12:e.showCoverModal=!1,e.this.childCoverModalImage=null;case 14:case"end":return t.stop()}}),null,null,[[2,8]],Promise)},togleEditMode(){this.inEditMode=!this.inEditMode,this.inEditMode&&(this.showCoverModal=!0)},...Object(r.c)(["getUser","getConnections","notify"])},computed:{age(){const e=m()().diff(this.child.dob,"years"),t=m()().diff(this.child.dob,"months")%12;let n="a new boarn!";return!e&&!t||(n="",e&&(n+=e+" years"),e&&t&&(n+=" and"),t&&(n+=` ${t} months`),n+=" old"),""+n},...Object(r.d)(["user","connections"])}};t.a=h},"./resources/scripts/applications/home/views/child_profile.vue?vue&type=template&id=5e105c92&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container is-fullwidth"},[e.loading?n("div",{staticClass:"loading"},[n("Loading")],1):n("div",{},[n("Modal",{attrs:{title:"Change Cover",isActive:e.showCoverModal,acceptText:"Change",rejectText:"Cancel"},on:{accept:function(t){return e.changeCover()},close:function(t){e.showCoverModal=!1}}},[n("ProfileHeader",{attrs:{title:e.child.name,background:e.childCoverModalImage?e.childCoverModalImage:e.child.profile_cover}}),e._v(" "),n("file-select",{attrs:{accept:"image/*",lable:"Select Cover:"},model:{value:e.childCoverModalImage,callback:function(t){e.childCoverModalImage=t},expression:"childCoverModalImage"}})],1),e._v(" "),n("AddConnectionModal",{attrs:{isActive:e.showAddConnectionModal,childName:e.child.name},on:{createNewConnection:function(t){return e.addConnection(t)},dismiss:function(t){e.showAddConnectionModal=!1}}}),e._v(" "),n("ProfileHeader",{attrs:{title:e.child.name,background:e.child.profile_cover}}),e._v(" "),n("div",{staticClass:"columns is-fullheight m-t-md"},[n("div",{staticClass:"column is-2"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-image p-md"},[n("figure",{staticClass:"image is-1by1"},[n("img",{staticClass:"is-rounded is-avatar",attrs:{src:e.child.avatar}})])]),e._v(" "),n("div",{staticClass:"card-content"},[n("div",{staticClass:"content"},[n("p",[e._v("Hi!")]),e._v(" "),n("p",[e._v("Im "+e._s(e.age))]),e._v(" "),n("br")])]),e._v(" "),e.isParent?n("footer",{staticClass:"card-footer"},[n("a",{staticClass:"card-footer-item",on:{click:function(t){return e.togleEditMode()}}},[e._v(e._s(e.inEditMode?"Cancel":"Edit"))]),e._v(" "),n("a",{staticClass:"card-footer-item is-danger",on:{click:function(t){return e.onDeleteClicked()}}},[e._v("Delete")])]):e._e()])]),e._v(" "),n("div",{staticClass:"column"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-content"},[n("nav",{staticClass:"level"},[n("div",{staticClass:"level-left"},[n("div",{staticClass:"level-item"},[n("h1",{staticClass:"title"},[e._v(e._s(e.child.name.split(" ")[0]+"'s Room"))])])])]),e._v(" "),n("nav",{staticClass:"level"},[e._m(0),e._v(" "),n("div",{staticClass:"level-right"},[e.isParent?n("div",{staticClass:"level-item"},[n("button",{staticClass:"button",on:{click:function(t){e.showAddConnectionModal=!0}}},[n("i",{staticClass:"fa fa-fw fa-plus"}),e._v(" Add Connection\n ")])]):e._e()])]),e._v(" "),n("div",{staticClass:"parents"},[n("div",{staticClass:"is-flex"},e._l(e.child.parents,(function(t){return n("AvatarBadge",{key:t.id,staticClass:"column",attrs:{img:t.avatar,text:t.name,isLink:e.user.id===t.id},on:{onClick:function(n){return e.goToUserProfile(t)}}})})),1)]),e._v(" "),e._m(1),e._v(" "),n("div",{staticClass:"columns"},e._l(e.child.connections,(function(t){return n("AvatarBadge",{key:t.id,staticClass:"column",attrs:{img:t.avatar,text:t.name,isLink:e.user.id===t.id},on:{onClick:function(n){return e.goToUserProfile(t)}}})})),1)])])])])],1)])},s=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"level-left"},[t("div",{staticClass:"level-item"},[t("h1",{staticClass:"subtitle"},[this._v("Parents")])])])},function(){var e=this.$createElement,t=this._self._c||e;return t("nav",{staticClass:"level"},[t("div",{staticClass:"level-left"},[t("div",{staticClass:"level-item"},[t("h1",{staticClass:"subtitle"},[this._v("Connections")])])])])}];r._withStripped=!0},"./resources/scripts/applications/home/views/home.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/views/home.vue?vue&type=template&id=1b921a03&"),s=n("./resources/scripts/applications/home/views/home.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("1b921a03")?i.reload("1b921a03",o.options):i.createRecord("1b921a03",o.options),e.hot.accept("./resources/scripts/applications/home/views/home.vue?vue&type=template&id=1b921a03&",function(e){r=n("./resources/scripts/applications/home/views/home.vue?vue&type=template&id=1b921a03&"),i.rerender("1b921a03",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/views/home.vue",t.a=o.exports},"./resources/scripts/applications/home/views/home.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r=n("./node_modules/vuex/dist/vuex.esm.js"),s=n("./resources/scripts/applications/home/components/Child_Card.vue"),a=n("./resources/scripts/applications/services/index.ts"),o=n("./resources/scripts/applications/shared/components/Loading/Loading.vue"),i=n("./resources/scripts/applications/home/components/ProfileHeader.vue"),d=n("./resources/scripts/applications/home/components/AddConnectionModal.vue"),l=n("./resources/scripts/applications/home/components/ConfigureNewCallModal.vue"),u=n("./resources/scripts/applications/shared/components/FileSelect/FileSelect.vue"),c=n("./resources/scripts/applications/home/components/AvatarBadge.vue"),m=n("./node_modules/moment/moment.js"),_=n.n(m),h=n("./resources/scripts/applications/shared/components/Modal/Modal.vue"),p={name:"Home",components:{Loading:o.a,ProfileHeader:i.a,Modal:h.a,FileSelect:u.a,AvatarBadge:c.a,AddConnectionModal:d.a,ConfigureNewCallModal:l.a,ChildCard:s.a},beforeCreate(){},created(){var e=this;return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!1,t.abrupt("return",!0);case 2:case"end":return t.stop()}}),null,null,null,Promise)},data:()=>({loading:!0,child:null,isParent:!1,inEditMode:!1,showCoverModal:!1,showCreateCallModal:!1,showAddConnectionModal:!1,childCoverModalImage:null,addMenuOpen:!1}),methods:{onAddClicked(e){this.notify({message:`Add ${e} button clicked. Still not working`}),this.addMenuOpen=!1},onDeleteClicked(){this.notify({message:"Delete button clicked. Still not working"})},goChildProfile(e){this.$router.push({path:"/child/"+e.id})},makeCall(e){var t,n=this;return regeneratorRuntime.async((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,regeneratorRuntime.awrap(a.a.ApiService.createCall(e));case 3:t=r.sent,n.notify({message:"Connecting..."}),n.$router.push({path:"/call/"+t.data.id}),r.next=11;break;case 8:r.prev=8,r.t0=r.catch(0),console.error(r.t0);case 11:return r.abrupt("return",!0);case 12:case"end":return r.stop()}}),null,null,[[0,8]],Promise)},changeCover(){var e=this;return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.childCoverModalImage){t.next=12;break}return e.loading=!0,t.prev=2,t.next=5,regeneratorRuntime.awrap(a.a.ApiService.updateChildCover(e.child.id,e.childCoverModalImage));case 5:e.child.profile_cover=t.sent,t.next=11;break;case 8:t.prev=8,t.t0=t.catch(2),console.error(t.t0);case 11:e.loading=!1;case 12:e.showCoverModal=!1,e.this.childCoverModalImage=null;case 14:case"end":return t.stop()}}),null,null,[[2,8]],Promise)},togleEditMode(){this.inEditMode=!this.inEditMode,this.inEditMode&&(this.showCoverModal=!0)},...Object(r.c)(["getUser","notify"])},computed:{age(){const e=_()().diff(this.child.dob,"years"),t=_()().diff(this.child.dob,"months")%12;let n="a new boarn!";return!e&&!t||(n="",e&&(n+=e+" years"),e&&t&&(n+=" and"),t&&(n+=` ${t} months`),n+=" old"),""+n},...Object(r.d)(["user"])}};t.a=p},"./resources/scripts/applications/home/views/home.vue?vue&type=template&id=1b921a03&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container is-fullwidth"},[e.loading?n("div",{staticClass:"loading"},[n("Loading")],1):n("div",{},[n("Modal",{attrs:{title:"Change Cover",isActive:e.showCoverModal,acceptText:"Change",rejectText:"Cancel"},on:{accept:function(t){return e.changeCover()},close:function(t){e.showCoverModal=!1}}},[n("ProfileHeader",{attrs:{title:e.user.name,background:e.childCoverModalImage?e.childCoverModalImage:e.user.profile_cover}}),e._v(" "),n("file-select",{attrs:{accept:"image/*",lable:"Select Cover:"},model:{value:e.childCoverModalImage,callback:function(t){e.childCoverModalImage=t},expression:"childCoverModalImage"}})],1),e._v(" "),n("ConfigureNewCallModal",{attrs:{isActive:e.showCreateCallModal},on:{newCall:function(t){return e.makeCall(t)},dismiss:function(t){e.showCreateCallModal=!1}}}),e._v(" "),n("ProfileHeader",{attrs:{title:e.user.name,background:e.user.profile_cover}}),e._v(" "),n("div",{staticClass:"columns is-fullheight m-t-md"},[n("div",{staticClass:"column is-2"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-image p-md"},[n("figure",{staticClass:"image is-1by1"},[n("img",{staticClass:"is-rounded is-avatar",attrs:{src:e.user.avatar}})])]),e._v(" "),n("div",{staticClass:"card-content"},[e.user.connections.children.concat(e.user.connections.connections).length?n("div",[n("p",{staticClass:"card-header-title"},[e._v("Connections")]),e._v(" "),e._l(e.user.connections.children.concat(e.user.connections.connections),(function(e){return n("ChildCard",{key:e.id,attrs:{child:e}})})),e._v(" "),n("br")],2):e._e()])])]),e._v(" "),n("div",{staticClass:"column"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-content"},[n("nav",{staticClass:"level"},[n("div",{staticClass:"level-left"},[n("div",{staticClass:"level-item"},[n("h1",{staticClass:"title"},[e._v(e._s(e.user.name.split(" ")[0]+"'s Room"))])])]),e._v(" "),n("div",{staticClass:"level-right"},[n("div",{staticClass:"level-item"},[n("div",{class:"dropdown "+(e.addMenuOpen?"is-active":"")},[n("div",{staticClass:"dropdown-trigger"},[n("button",{staticClass:"button",attrs:{"aria-haspopup":"true","aria-controls":"dropdown-menu"},on:{click:function(t){e.addMenuOpen=!e.addMenuOpen}}},[n("span",[e._v("Add")]),e._v(" "),n("span",{staticClass:"icon is-small"},[n("i",{class:"fa fa-angle-"+(e.addMenuOpen?"up":"down"),attrs:{"aria-hidden":"true"}})])])]),e._v(" "),n("div",{staticClass:"dropdown-menu",attrs:{id:"dropdown-menu",role:"menu"}},[n("div",{staticClass:"dropdown-content"},[n("a",{staticClass:"dropdown-item",on:{click:function(t){return e.onAddClicked("book")}}},[n("i",{staticClass:"fa fa-fw fa-book"}),e._v(" Add a book\n ")]),e._v(" "),n("a",{staticClass:"dropdown-item",on:{click:function(t){return e.onAddClicked("slideshow")}}},[n("i",{staticClass:"fa fa-fw fa-photo"}),e._v(" New slideshow\n ")]),e._v(" "),n("a",{staticClass:"dropdown-item",on:{click:function(t){return e.onAddClicked("puzzle")}}},[n("i",{staticClass:"fa fa-fw fa-puzzle-piece"}),e._v(" Create a puzzle\n ")]),e._v(" "),n("hr",{staticClass:"dropdown-divider"}),e._v(" "),n("a",{staticClass:"dropdown-item",on:{click:function(t){return e.onAddClicked("child")}}},[n("i",{staticClass:"fa fa-fw fa-child"}),e._v(" Add a child\n ")])])])]),e._v(" "),n("button",{staticClass:"button is-success m-l-md",on:{click:function(t){e.showCreateCallModal=!0}}},[n("i",{staticClass:"fa fa-fw fa-phone"}),e._v(" Call\n ")])])])]),e._v(" "),n("div",{staticClass:"Books"},[e._m(0),e._v(" "),n("div",{staticClass:"is-flex m-b-md is-justify-centered"},e._l(e.user.books,(function(t){return n("div",{key:t.id,staticClass:"book-thumb m-l-md"},[n("div",{staticClass:"book-cover"},[n("figure",{staticClass:"image is-2by3 m-a"},[n("img",{attrs:{src:"/u/books/"+t.id+"/thumbnail"}})])]),e._v(" "),n("div",{staticClass:"book-text"},[n("div",[e._v(e._s(t.title))])])])})),0)])])])])])],1)])},s=[function(){var e=this.$createElement,t=this._self._c||e;return t("h2",{staticClass:"subtitle"},[t("i",{staticClass:"fa fa-fw fa-book"}),this._v(" My Books\n ")])}];r._withStripped=!0},"./resources/scripts/applications/home/views/settings.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/views/settings.vue?vue&type=template&id=f4fa8d72&"),s=n("./resources/scripts/applications/home/views/settings.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("f4fa8d72")?i.reload("f4fa8d72",o.options):i.createRecord("f4fa8d72",o.options),e.hot.accept("./resources/scripts/applications/home/views/settings.vue?vue&type=template&id=f4fa8d72&",function(e){r=n("./resources/scripts/applications/home/views/settings.vue?vue&type=template&id=f4fa8d72&"),i.rerender("f4fa8d72",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/views/settings.vue",t.a=o.exports},"./resources/scripts/applications/home/views/settings.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r=n("./node_modules/vuex/dist/vuex.esm.js"),s=n("./resources/scripts/applications/shared/components/Modal/Modal.vue"),a=n("./resources/scripts/applications/home/components/Child_Card.vue"),o=n("./resources/scripts/applications/services/index.ts"),i=n("./resources/scripts/applications/shared/components/FileSelect/FileSelect.vue"),d=n("./resources/scripts/applications/shared/components/Loading/Loading.vue"),l={components:{Modal:s.a,FileSelect:i.a,ChildCard:a.a,Loading:d.a},name:"Settings",beforeCreate:()=>regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",!0);case 1:case"end":return e.stop()}}),null,null,null,Promise),created(){var e=this;return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.user){t.next=9;break}return t.prev=1,t.next=4,regeneratorRuntime.awrap(e.getUser());case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(1),console.error("Failed to fetch user");case 9:return e.loading=!1,t.abrupt("return",!0);case 11:case"end":return t.stop()}}),null,null,[[1,6]],Promise)},methods:{addChild(){var e,t,n=this;return regeneratorRuntime.async((function(r){for(;;)switch(r.prev=r.next){case 0:return n.childValidation.enableInput=!1,e={name:n.childValidation.name,dob:n.childValidation.dob,avatar:n.childValidation.avatar},console.log(e),r.next=5,regeneratorRuntime.awrap(o.a.ApiService.createChild(e.name,e.dob,e.avatar));case 5:return t=r.sent,e.avatar&&console.log(e.avatar.length),n.childValidation.name=null,n.childValidation.dob=null,n.childValidation.avatar=null,n.childValidation.enableInput=!0,n.enableChildModel=!1,r.next=14,regeneratorRuntime.awrap(n.getUser());case 14:return n.notify({message:`Yay!, ${t.name} was cretated`,level:"success"}),r.abrupt("return",!0);case 16:case"end":return r.stop()}}),null,null,null,Promise)},...Object(r.c)(["getUser","notify"])},computed:{...Object(r.d)(["user"])},data:()=>({loading:!0,childValidation:{enableInput:!0,name:null,dob:null,avatar:null},enableChildModel:!1})};t.a=l},"./resources/scripts/applications/home/views/settings.vue?vue&type=template&id=f4fa8d72&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container is-fullwidth"},[e.loading?n("div",{staticClass:"loading"},[n("Loading")],1):n("div",{},[n("Modal",{attrs:{title:"Add A child",isActive:e.enableChildModel,acceptText:"Add",rejectText:"Cancel"},on:{accept:function(t){return e.addChild()},close:function(t){e.enableChildModel=!1}}},[n("form",{staticClass:"form register",attrs:{id:"form-register"}},[n("div",{staticClass:"field"},[n("label",{staticClass:"label"},[e._v("Name")]),e._v(" "),n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.childValidation.name,expression:"childValidation.name"}],class:["input"],attrs:{required:"true",name:"name",type:"text",placeholder:"John Snow",disabled:!e.childValidation.enableInput},domProps:{value:e.childValidation.name},on:{input:function(t){t.target.composing||e.$set(e.childValidation,"name",t.target.value)}}}),e._v(" "),n("span",{staticClass:"icon is-small is-left"},[n("i",{staticClass:"fa fa-id-card"})])]),e._v(" "),n("p",{staticClass:"help is-danger"},[e._v(e._s(""))])]),e._v(" "),n("div",{staticClass:"field"},[n("label",{staticClass:"label"},[e._v("Birthday")]),e._v(" "),n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.childValidation.dob,expression:"childValidation.dob"}],class:["input"],attrs:{required:"true",name:"dob",type:"date",disabled:!e.childValidation.enableInput},domProps:{value:e.childValidation.dob},on:{input:function(t){t.target.composing||e.$set(e.childValidation,"dob",t.target.value)}}}),e._v(" "),n("span",{staticClass:"icon is-small is-left"},[n("i",{staticClass:"fa fa-gift"})])]),e._v(" "),n("p",{staticClass:"help is-danger"},[e._v(e._s(""))])]),e._v(" "),n("file-select",{attrs:{accept:"image/*",lable:"Upload Avatar:"},model:{value:e.childValidation.avatar,callback:function(t){e.$set(e.childValidation,"avatar",t)},expression:"childValidation.avatar"}})],1)]),e._v(" "),n("div",{staticClass:"has-text-centered"},[n("h3",{staticClass:"title"},[e._v("Settings")]),e._v(" "),n("h4",{staticClass:"subtitle"},[e._v(e._s(e.user.name))])]),e._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-3"},[n("figure",{staticClass:"image is-128x128 m-auto"},[n("img",{staticClass:"is-rounded is-avatar",attrs:{src:e.user.avatar}})]),e._v(" "),n("div",{staticClass:"card m-t-lg"},[e._m(0),e._v(" "),n("div",{staticClass:"card-content"},e._l(e.user.connections.children,(function(e){return n("ChildCard",{key:e.id,attrs:{child:e}})})),1),e._v(" "),n("footer",{staticClass:"card-footer"},[n("a",{staticClass:"card-footer-item",attrs:{enabled:e.childValidation.enableInput},on:{click:function(t){e.enableChildModel=!0}}},[e._v("Add a New Child")])])])]),e._v(" "),n("div",{staticClass:"column"},[n("form",{staticClass:"form"},[n("div",{staticClass:"field"},[n("label",{staticClass:"label"},[e._v("Name")]),e._v(" "),n("div",{staticClass:"control"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.user.name,expression:"user.name"}],staticClass:"input",attrs:{disabled:!e.childValidation.enableInput,type:"text",placeholder:"Text input"},domProps:{value:e.user.name},on:{input:function(t){t.target.composing||e.$set(e.user,"name",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"field"},[n("label",{staticClass:"label"},[e._v("Email")]),e._v(" "),n("div",{staticClass:"control"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.user.email,expression:"user.email"}],staticClass:"input",attrs:{type:"email",placeholder:"Text input"},domProps:{value:e.user.email},on:{input:function(t){t.target.composing||e.$set(e.user,"email",t.target.value)}}})])])])])])],1)])},s=[function(){var e=this.$createElement,t=this._self._c||e;return t("header",{staticClass:"card-header"},[t("p",{staticClass:"card-header-title"},[this._v("My Children")])])}];r._withStripped=!0},"./resources/scripts/applications/home/ws/call.manager.ts":function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o}));var r=n("./node_modules/events/events.js");let s=null;class a{constructor(e){this.ws=e,this.emitter=new r.EventEmitter,this.peer={avatar:""},this.isHost=!1,this.books=[],this.currentActivity=null,this.inCall=!1,this.peerId=null,this.pc=null,this.remoteStream=new MediaStream}connectToCall(e,t,n){var r=this;return function(){var s,a;return regeneratorRuntime.async((function(o){for(;;)switch(o.prev=o.next){case 0:if(!r.inCall){o.next=2;break}throw new Error("Already connected to call");case 2:return r.callId=n,r.userId=e,console.log("connecting to call"),o.next=7,regeneratorRuntime.awrap(r.getUserMedia(t));case 7:return r.signalingChannel=r.ws.subscribe("call:"+r.callId),s=r.signalingChannel,a=r,o.abrupt("return",new Promise((e,t)=>{s.on("close",a.close.bind(a)),s.on("call:start",a.onCallStart.bind(a)),s.on("call:standby",a.onCallStandby.bind(a)),s.on("wrtc:sdp:offer",a.onRemoteOffer.bind(a)),s.on("wrtc:sdp:answer",a.onRemoteAnswer.bind(a)),s.on("wrtc:ice",a.onRemoteIce.bind(a)),s.on("book:action:flip-page",a.onActionBookFlip.bind(a)),s.on("call:host:changed",a.onRemoteHostChanged.bind(a)),s.on("call:view:lobby",a.onRemoteViewLobby.bind(a)),s.on("call:view:book",a.onRemoteViewBook.bind(a)),s.on("error",t=>{console.error(t),e(!1)}),s.on("ready",()=>{console.log("in Ready"),a.inCall=!0,e(!0)})}));case 11:case"end":return o.stop()}}),null,null,null,Promise)}()}on(e,t){this.emitter.on(e,t)}removeListener(e,t){this.emitter.removeListener(e,t)}emit(e,t){this.emitter.emit(e,t)}send(e,t){console.log("Sending event: "+e),this.signalingChannel.emit(e,{userId:this.userId,peerId:this.peerId,...t})}onCallStart(e){var t,n=this;return regeneratorRuntime.async((function(r){for(;;)switch(r.prev=r.next){case 0:return console.log("onCallStart"),console.log(e),n.peerId=e.peerId,n.books=e.books,n.isHost=n.userId===e.hostId,n.pc=new RTCPeerConnection({iceServers:e.iceServers}),n.child=e.child,e.users.forEach(e=>{e.id===n.peerId&&(n.peer=e)}),n.emit(o.CALL_HOST_CHANGED,{hostId:e.hostId}),console.log("Created PeerConnection"),console.log("adding tracks to pc"),n.localStream.getTracks().forEach(e=>n.pc.addTrack(e,n.localStream)),n.setupPeerConnectionListeners(),r.next=15,regeneratorRuntime.awrap(n.pc.createOffer());case 15:return t=r.sent,r.next=18,regeneratorRuntime.awrap(n.pc.setLocalDescription(t));case 18:return console.log("Local description Set",t.sdp),n.send("wrtc:sdp:offer",{sdp:t}),r.abrupt("return",!0);case 21:case"end":return r.stop()}}),null,null,null,Promise)}onCallStandby(e){var t=this;return regeneratorRuntime.async((function(n){for(;;)switch(n.prev=n.next){case 0:return console.log("onCallStandby"),console.log(e),t.peerId=e.peerId,t.books=e.books,t.isHost=t.userId===e.hostId,t.pc=new RTCPeerConnection({iceServers:e.iceServers}),t.child=e.child,e.users.forEach(e=>{e.id===t.peerId&&(t.peer=e)}),t.emit(o.CALL_HOST_CHANGED,{hostId:e.hostId}),console.log("Created PeerConnection"),console.log("adding tracks to pc"),t.localStream.getTracks().forEach(e=>t.pc.addTrack(e,t.localStream)),t.setupPeerConnectionListeners(),n.abrupt("return",!0);case 14:case"end":return n.stop()}}),null,null,null,Promise)}selectBook(e,t){this.currentActivity=this.books[e],console.log("-------\x3e Selected Book ",e,"bookId:",this.currentActivity.id),t||this.send("call:view:book",{bookId:this.currentActivity.id})}backToLobby(){console.log("-------\x3e backToLobby"),this.emitter.removeAllListeners(o.ACTION_BOOK_FLIP),this.send("call:view:lobby",{})}setupPeerConnectionListeners(){this.pc.addEventListener("icecandidate",this.onLocalIce.bind(this)),this.pc.addEventListener("connectionstatechange",e=>{console.log("PC Connection state: "+this.pc.connectionState)}),this.pc.addEventListener("iceconnectionstatechange",e=>{console.log("iceconnectionstatechange"),console.log(this.pc.iceConnectionState)}),this.pc.addEventListener("track",e=>regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:console.log("On remote track!"),this.remoteStream.addTrack(e.track);case 2:case"end":return t.stop()}}),null,this,null,Promise)),this.pc.addEventListener("icegatheringstatechange",e=>{console.log("icegatheringstatechange",this.pc.iceGatheringState)})}onLocalIce(e){e.candidate&&(console.log("Sending candidate"),this.send("wrtc:ice",{ice:e.candidate}))}onRemoteOffer(e){var t,n,r=this;return regeneratorRuntime.async((function(s){for(;;)switch(s.prev=s.next){case 0:return t=new RTCSessionDescription(e.sdp),s.next=3,regeneratorRuntime.awrap(r.pc.setRemoteDescription(t));case 3:return console.log("Remote offer Set",t.sdp),s.next=6,regeneratorRuntime.awrap(r.pc.createAnswer());case 6:return n=s.sent,r.send("wrtc:sdp:answer",{sdp:n}),s.next=10,regeneratorRuntime.awrap(r.pc.setLocalDescription(n));case 10:return console.log("Local answer Set",n.sdp),s.abrupt("return",!0);case 12:case"end":return s.stop()}}),null,null,null,Promise)}onRemoteAnswer(e){var t,n=this;return regeneratorRuntime.async((function(r){for(;;)switch(r.prev=r.next){case 0:return t=new RTCSessionDescription(e.sdp),r.next=3,regeneratorRuntime.awrap(n.pc.setRemoteDescription(t));case 3:return console.log("Remote answer Set",t.sdp),r.abrupt("return",!0);case 5:case"end":return r.stop()}}),null,null,null,Promise)}onRemoteIce(e){var t,n=this;return regeneratorRuntime.async((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.ice,r.next=3,regeneratorRuntime.awrap(n.pc.addIceCandidate(t));case 3:return r.abrupt("return",!0);case 4:case"end":return r.stop()}}),null,null,null,Promise)}getUserMedia(e={video:!0,audio:!0}){var t=this;return regeneratorRuntime.async((function(n){for(;;)switch(n.prev=n.next){case 0:if(!t.localStream){n.next=2;break}return n.abrupt("return",t.localStream);case 2:return n.next=4,regeneratorRuntime.awrap(navigator.mediaDevices.getUserMedia(e));case 4:return t.localStream=n.sent,n.abrupt("return",t.localStream);case 6:case"end":return n.stop()}}),null,null,null,Promise)}getRemoteStream(){return this.remoteStream}onActionBookFlip(e){this.emit(o.ACTION_BOOK_FLIP,e)}changeHost(){this.send("call:host:changed",{})}onRemoteHostChanged(e){this.isHost=this.userId===e.hostId,this.emit(o.CALL_HOST_CHANGED,e)}onRemoteViewLobby(e){this.emitter.removeAllListeners(o.ACTION_BOOK_FLIP),this.emit(o.CALL_VIEW_LOBBY,null)}onRemoteViewBook(e){this.emit(o.CALL_VIEW_BOOK,e)}close(){this.inCall&&(console.log("Closing..."),this.emit(o.CLOSE,this.callId),this.signalingChannel&&this.signalingChannel.close(),this.signalingChannel=null,this.pc&&this.pc.close(),this.localStream&&this.localStream.getTracks().forEach(e=>e.stop()),this.localStream=null,this.remoteStream=null,this.emitter.removeAllListeners(),this.inCall=!1,s=null)}}var o;!function(e){e.CLOSE="CLOSE",e.REMOTE_STREAM="REMOTE_STREAM",e.ACTION_BOOK_FLIP="ACTION_BOOK_FLIP",e.CALL_HOST_CHANGED="CALL_HOST_CHANGED",e.CALL_VIEW_LOBBY="CALL_VIEW_LOBBY",e.CALL_VIEW_BOOK="CALL_VIEW_BOOK"}(o||(o={}))},"./resources/scripts/applications/home/ws/websocket.service.ts":function(e,t,n){"use strict";var r=n("./node_modules/@adonisjs/websocket-client/dist/Ws.browser.js"),s=n.n(r);let a=null;class o{constructor(e){this.ws=e,this.subscription=null}connect(){var e=this;return function(){var t,n;return regeneratorRuntime.async((function(r){for(;;)switch(r.prev=r.next){case 0:return e.subscription=e.ws.subscribe("user_channel"),t=e.subscription,n=e,r.abrupt("return",new Promise((e,r)=>{t.on("error",()=>{e(!1)}),t.on("ready",()=>{e(!0)}),t.on("close",n.close)}));case 4:case"end":return r.stop()}}),null,null,null,Promise)}()}on(e,t){this.subscription&&this.subscription.on(e,t)}static getInstance(e){return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:if(!a){t.next=2;break}return t.abrupt("return",a);case 2:return a=new o(e),t.abrupt("return",a);case 4:case"end":return t.stop()}}),null,null,null,Promise)}close(){this.subscription.close(),a=null}}var i=n("./node_modules/events/events.js"),d=n("./resources/scripts/applications/home/ws/call.manager.ts");let l=null;var u;!function(e){e[e.NEW_CONNECTION=0]="NEW_CONNECTION",e[e.CONNECTION_ONLINE=1]="CONNECTION_ONLINE",e[e.CONNECTION_OFFLINE=2]="CONNECTION_OFFLINE",e[e.INCOMING_CALL=3]="INCOMING_CALL"}(u||(u={}));let c=(()=>{class e{constructor(e,t){this.ws=e,this.userChannelService=t,this.emitter=new i.EventEmitter,this.userChannelService.on("new:connection",this.onUserNewConnection.bind(this)),this.userChannelService.on("connection:online",this.onUserConnectionOnline.bind(this)),this.userChannelService.on("connection:offline",this.onUserConnectionOffline.bind(this)),this.userChannelService.on("call:incoming",this.onIncomingCall.bind(this)),this.callManager=new d.b(this)}on(e,t){this.emitter.on(e,t)}removeListener(e,t){this.emitter.removeListener(e,t)}subscribe(e){const t=this.ws.subscribe(e);return console.log(t),t}onIncomingCall(e){this.emitter.emit(u.INCOMING_CALL,e)}onUserNewConnection(e){this.emitter.emit(u.NEW_CONNECTION,e)}onUserConnectionOnline(e){this.emitter.emit(u.CONNECTION_ONLINE,e)}onUserConnectionOffline(e){this.emitter.emit(u.CONNECTION_OFFLINE,e)}static getInstance(){return new Promise((t,n)=>{if(l)return t(l);const r=s()("",{path:"connect"});r.connect(),r.on("open",()=>{var n,s;return regeneratorRuntime.async((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,regeneratorRuntime.awrap(o.getInstance(r));case 2:return n=a.sent,a.next=5,regeneratorRuntime.awrap(n.connect());case 5:s=a.sent,console.log("Connected to user socket:",s),l=new e(r,n),t(l);case 9:case"end":return a.stop()}}),null,null,null,Promise)}),r.on("error",e=>{console.log(e),n(new Error("Failed to connect"))}),r.on("close",e=>{console.log("Socket Closed")})})}}return e.Events=u,e})();t.a=c},"./resources/scripts/applications/services/index.ts":function(e,t,n){"use strict";const r={ApiService:class{static getUser(e){return regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,regeneratorRuntime.awrap(fetch("/api/v1/client/user/"));case 3:return e.abrupt("return",e.sent.json());case 6:return e.prev=6,e.t0=e.catch(0),console.error("getUser ERROR: "+e.t0.message),e.abrupt("return",e.t0);case 10:case"end":return e.stop()}}),null,null,[[0,6]],Promise)}static getAllUsers(){return regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,regeneratorRuntime.awrap(fetch("/api/v1/admin/users"));case 3:return e.abrupt("return",e.sent.json());case 6:return e.prev=6,e.t0=e.catch(0),console.error("getAllUsers ERROR: "+e.t0.message),e.abrupt("return",e.t0);case 10:case"end":return e.stop()}}),null,null,[[0,6]],Promise)}static getChild(e){return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,regeneratorRuntime.awrap(fetch("/api/v1/client/child/"+e));case 3:return t.abrupt("return",t.sent.json());case 6:return t.prev=6,t.t0=t.catch(0),console.error("getChild ERROR: "+t.t0.message),t.abrupt("return",t.t0);case 10:case"end":return t.stop()}}),null,null,[[0,6]],Promise)}static createConnection(e){return regeneratorRuntime.async((function(n){for(;;)switch(n.prev=n.next){case 0:return t={method:"POST",body:JSON.stringify(e),headers:{"Content-Type":"application/json"}},n.prev=1,n.next=4,regeneratorRuntime.awrap(fetch("/api/v1/client/connections/create",t));case 4:return n.abrupt("return",n.sent.json());case 7:return n.prev=7,n.t0=n.catch(1),console.error("createConnection ERROR: "+n.t0.message),n.abrupt("return",n.t0);case 11:case"end":return n.stop()}}),null,null,[[1,7]],Promise);var t}static updateChildCover(e,t){return regeneratorRuntime.async((function(s){for(;;)switch(s.prev=s.next){case 0:return n={method:"POST",body:JSON.stringify({profile_cover:t}),headers:{"Content-Type":"application/json"}},s.prev=1,s.next=4,regeneratorRuntime.awrap(fetch(`/api/v1/client/child/${e}/profile/cover`,n));case 4:return r=s.sent,console.log(r),s.abrupt("return",r.json());case 9:return s.prev=9,s.t0=s.catch(1),console.error("updateChildCover ERROR: "+s.t0.message),s.abrupt("return",!1);case 13:case"end":return s.stop()}}),null,null,[[1,9]],Promise);var n,r}static createCall(e){return regeneratorRuntime.async((function(r){for(;;)switch(r.prev=r.next){case 0:return t={method:"POST",body:JSON.stringify(e),headers:{"Content-Type":"application/json"}},r.prev=1,r.next=4,regeneratorRuntime.awrap(fetch("/api/v1/client/call/create",t));case 4:return n=r.sent,r.abrupt("return",n.json());case 8:return r.prev=8,r.t0=r.catch(1),console.error("createCall ERROR: "+r.t0.message),r.abrupt("return",!1);case 12:case"end":return r.stop()}}),null,null,[[1,8]],Promise);var t,n}static createChild(e,t,n){return regeneratorRuntime.async((function(a){for(;;)switch(a.prev=a.next){case 0:return r={method:"POST",body:JSON.stringify({name:e,dob:t,avatar:n}),headers:{"Content-Type":"application/json"}},a.prev=1,a.next=4,regeneratorRuntime.awrap(fetch("/api/v1/client/child/",r));case 4:return s=a.sent,console.log(s),a.abrupt("return",s.json());case 9:return a.prev=9,a.t0=a.catch(1),console.error("createChild ERROR: "+a.t0.message),a.abrupt("return",!1);case 13:case"end":return a.stop()}}),null,null,[[1,9]],Promise);var r,s}}};t.a=r},"./resources/scripts/applications/shared/components/FileSelect/FileSelect.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/shared/components/FileSelect/FileSelect.vue?vue&type=template&id=46c93e93&"),s=n("./resources/scripts/applications/shared/components/FileSelect/FileSelect.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("46c93e93")?i.reload("46c93e93",o.options):i.createRecord("46c93e93",o.options),e.hot.accept("./resources/scripts/applications/shared/components/FileSelect/FileSelect.vue?vue&type=template&id=46c93e93&",function(e){r=n("./resources/scripts/applications/shared/components/FileSelect/FileSelect.vue?vue&type=template&id=46c93e93&"),i.rerender("46c93e93",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/shared/components/FileSelect/FileSelect.vue",t.a=o.exports},"./resources/scripts/applications/shared/components/FileSelect/FileSelect.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";const r=e=>new Promise((t,n)=>{const r=new FileReader;r.readAsDataURL(e),r.onload=()=>t(r.result),r.onerror=e=>n(e)});var s={props:["accept","lable"],data:()=>({filename:null}),created(){this.filename=null},methods:{handleFileChange(e){var t=this;return regeneratorRuntime.async((function(n){for(;;)switch(n.prev=n.next){case 0:return n.t0=t,n.next=3,regeneratorRuntime.awrap(r(e.target.files[0]));case 3:n.t1=n.sent,n.t0.$emit.call(n.t0,"input",n.t1),t.filename=e.target.files[0];case 6:case"end":return n.stop()}}),null,null,null,Promise)}}};t.a=s},"./resources/scripts/applications/shared/components/FileSelect/FileSelect.vue?vue&type=template&id=46c93e93&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"field"},[n("label",{staticClass:"label"},[e._v(e._s(e.lable))]),e._v(" "),n("div",{staticClass:"control"},[n("label",{staticClass:"button"},[e._v("\n Select File\n "),e._v(" "),n("input",{staticClass:"is-hidden",attrs:{type:"file",accept:e.accept},on:{change:e.handleFileChange}})]),e._v(" "),e.filename?n("span",[e._v(e._s(e.filename.name))]):e._e()])])},s=[];r._withStripped=!0},"./resources/scripts/applications/shared/components/Loading/Loading.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/shared/components/Loading/Loading.vue?vue&type=template&id=c18e6166&"),s=n("./resources/scripts/applications/shared/components/Loading/Loading.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("c18e6166")?i.reload("c18e6166",o.options):i.createRecord("c18e6166",o.options),e.hot.accept("./resources/scripts/applications/shared/components/Loading/Loading.vue?vue&type=template&id=c18e6166&",function(e){r=n("./resources/scripts/applications/shared/components/Loading/Loading.vue?vue&type=template&id=c18e6166&"),i.rerender("c18e6166",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/shared/components/Loading/Loading.vue",t.a=o.exports},"./resources/scripts/applications/shared/components/Loading/Loading.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";t.a={}},"./resources/scripts/applications/shared/components/Loading/Loading.vue?vue&type=template&id=c18e6166&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this.$createElement;this._self._c;return this._m(0)},s=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"wrapper is-fullheight"},[t("div",{staticClass:"css-loader"},[t("div",{staticClass:"dot"}),this._v(" "),t("div",{staticClass:"dot delay-1"}),this._v(" "),t("div",{staticClass:"dot delay-2"})])])}];r._withStripped=!0},"./resources/scripts/applications/shared/components/Modal/Modal.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/shared/components/Modal/Modal.vue?vue&type=template&id=1625ddaf&"),s=n("./resources/scripts/applications/shared/components/Modal/Modal.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("1625ddaf")?i.reload("1625ddaf",o.options):i.createRecord("1625ddaf",o.options),e.hot.accept("./resources/scripts/applications/shared/components/Modal/Modal.vue?vue&type=template&id=1625ddaf&",function(e){r=n("./resources/scripts/applications/shared/components/Modal/Modal.vue?vue&type=template&id=1625ddaf&"),i.rerender("1625ddaf",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/shared/components/Modal/Modal.vue",t.a=o.exports},"./resources/scripts/applications/shared/components/Modal/Modal.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r={props:["title","isActive","acceptText","rejectText"],data(){return{showTitle:!!this.title,showButtons:this.acceptText||this.rejectText}},methods:{close(){this.$emit("close")}}};t.a=r},"./resources/scripts/applications/shared/components/Modal/Modal.vue?vue&type=template&id=1625ddaf&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[e.isActive?n("div",{class:["modal",{"is-active":!!e.isActive}]},[n("div",{staticClass:"modal-background",on:{click:function(t){return e.close()}}}),e._v(" "),n("div",{staticClass:"modal-card"},[e.showTitle?n("header",{staticClass:"modal-card-head"},[n("p",{staticClass:"modal-card-title"},[e._v(e._s(e.title))]),e._v(" "),n("button",{staticClass:"delete",attrs:{"aria-label":"close"},on:{click:function(t){return e.close()}}})]):e._e(),e._v(" "),n("section",{staticClass:"modal-card-body"},[e._t("default")],2),e._v(" "),e.showButtons?n("footer",{staticClass:"modal-card-foot"},[e.acceptText?n("button",{staticClass:"button is-success",on:{click:function(t){return e.$emit("accept")}}},[e._v(e._s(e.acceptText))]):e._e(),e._v(" "),e.rejectText?n("button",{staticClass:"button",on:{click:function(t){return e.close()}}},[e._v(e._s(e.rejectText))]):e._e()]):e._e()])]):e._e()])},s=[];r._withStripped=!0},"./resources/scripts/applications/shared/components/Notification.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/shared/components/Notification.vue?vue&type=template&id=7fc5b0d2&"),s=n("./resources/scripts/applications/shared/components/Notification.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("7fc5b0d2")?i.reload("7fc5b0d2",o.options):i.createRecord("7fc5b0d2",o.options),e.hot.accept("./resources/scripts/applications/shared/components/Notification.vue?vue&type=template&id=7fc5b0d2&",function(e){r=n("./resources/scripts/applications/shared/components/Notification.vue?vue&type=template&id=7fc5b0d2&"),i.rerender("7fc5b0d2",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/shared/components/Notification.vue",t.a=o.exports},"./resources/scripts/applications/shared/components/Notification.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r={name:"Notification",props:["notification"],mounted(){this.ready=!0},data:()=>({ready:!1}),methods:{close(){this.$emit("onClose")}}};t.a=r},"./resources/scripts/applications/shared/components/Notification.vue?vue&type=template&id=7fc5b0d2&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[e.ready?n("div",{class:["notification","is-light","is-"+(e.notification.level||"info")]},[n("button",{staticClass:"delete",on:{click:function(t){return e.close()}}}),e._v("\n "+e._s(e.notification.message)+"\n ")]):e._e()])},s=[];r._withStripped=!0},"./resources/scripts/applications/shared/components/TopNavbar.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/shared/components/TopNavbar.vue?vue&type=template&id=ff71a66e&"),s=n("./resources/scripts/applications/shared/components/TopNavbar.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("ff71a66e")?i.reload("ff71a66e",o.options):i.createRecord("ff71a66e",o.options),e.hot.accept("./resources/scripts/applications/shared/components/TopNavbar.vue?vue&type=template&id=ff71a66e&",function(e){r=n("./resources/scripts/applications/shared/components/TopNavbar.vue?vue&type=template&id=ff71a66e&"),i.rerender("ff71a66e",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/shared/components/TopNavbar.vue",t.a=o.exports},"./resources/scripts/applications/shared/components/TopNavbar.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r=n("./node_modules/vuex/dist/vuex.esm.js"),s=n("./resources/scripts/applications/home/ws/call.manager.ts"),a={name:"TobNavbar",props:["ws"],components:{Modal:n("./resources/scripts/applications/shared/components/Modal/Modal.vue").a},watch:{ws(e,t){null!=e&&(this.callManager=this.ws.callManager)}},created:()=>regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),null,null,null,Promise),updated(){this.inCall||(this.subscribedToLobbyEvents=!1)},data:()=>({showConfirmEndCall:!1,showMenu:!1,subscribedToLobbyEvents:!1,callManager:null}),computed:{host(){return this.inCall?(this.subscribedToLobbyEvents||(console.log("TopNav subscribe to back_to_lobby"),this.subscribedToLobbyEvents=!0,this.callManager.on(s.a.CALL_VIEW_LOBBY,this.remoteBackToLobby.bind(this))),this.callManager.isHost?this.user:this.callManager.peer):null},...Object(r.d)(["user","inCall"])},methods:{onConfirmedEndCall(){this.showConfirmEndCall=!1,this.$router.replace({path:"/"})},changeHost(){this.callManager.changeHost()},backToLobby(e){this.callManager.backToLobby(),this.$router.replace({path:"/call/"+this.callManager.callId})},remoteBackToLobby(e){this.$router.replace({path:"/call/"+this.callManager.callId})},...Object(r.c)([])}};t.a=a},"./resources/scripts/applications/shared/components/TopNavbar.vue?vue&type=template&id=ff71a66e&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("Modal",{attrs:{title:"Are You Sure?",isActive:e.showConfirmEndCall,acceptText:"End",rejectText:"Cancel"},on:{accept:function(t){return e.onConfirmedEndCall()},close:function(t){e.showConfirmEndCall=!1}}},[n("p",[e._v("End Call?")])]),e._v(" "),n("nav",{staticClass:"navbar",attrs:{role:"navigation","aria-label":"main navigation"}},[n("div",{staticClass:"navbar-brand"},[e.inCall?e._e():n("router-link",{staticClass:"navbar-item",attrs:{to:"/",exact:""}},[n("strong",[e._v("Seepur")])]),e._v(" "),n("a",{staticClass:"navbar-burger burger",attrs:{id:"menu-button",role:"button","aria-label":"menu","aria-expanded":"false","data-target":"navbarBasicExample"},on:{click:function(t){e.showMenu=!e.showMenu}}},[n("span",{attrs:{"aria-hidden":"true"}}),e._v(" "),n("span",{attrs:{"aria-hidden":"true"}}),e._v(" "),n("span",{attrs:{"aria-hidden":"true"}})])],1),e._v(" "),n("div",{class:["navbar-menu",{"is-active":e.showMenu}],attrs:{id:"nav-menu"}},[n("div",{staticClass:"navbar-start"},[e.inCall?e._e():n("router-link",{staticClass:"navbar-item",attrs:{"active-class":"is-active",to:"/",exact:""}},[e._v("Home")]),e._v(" "),e.inCall?e._e():n("router-link",{staticClass:"navbar-item",attrs:{"active-class":"is-active",to:"/about",exact:""}},[e._v("About")]),e._v(" "),e.inCall?n("div",{staticClass:"navbar-item"},[n("div",{staticClass:"field is-grouped"},[n("p",{staticClass:"control"},[e.inCall?n("button",{staticClass:"button is-danger",on:{click:function(t){e.showConfirmEndCall=!0}}},[n("i",{staticClass:"fa fa-fw fa-times-circle-o"}),e._v(" End Call\n ")]):e._e()]),e._v(" "),n("p",{staticClass:"control"},[e.inCall&&"book"===e.$route.name?n("button",{staticClass:"button is-info",attrs:{append:"",replace:"",disabled:!e.callManager.isHost},on:{click:function(t){return e.backToLobby(!0)}}},[n("i",{staticClass:"fa fa-fw fa-arrow-circle-o-left"}),e._v(" Back\n ")]):e._e()])])]):e._e()],1),e._v(" "),n("div",{staticClass:"navbar-end"},[e.inCall?e._e():n("div",{staticClass:"navbar-item has-dropdown is-hoverable is-dark"},[n("a",{staticClass:"navbar-link"},[e._v(e._s(e.user.name))]),e._v(" "),n("div",{staticClass:"navbar-dropdown"},[n("router-link",{staticClass:"navbar-item",attrs:{"active-class":"is-active",to:"/settings",exact:""}},[e._v("Settings")]),e._v(" "),n("a",{staticClass:"navbar-item",attrs:{href:"/logout"}},[e._v("Logout")]),e._v(" "),e.user.is_admin?n("hr",{staticClass:"navbar-divider"}):e._e(),e._v(" "),e.user.is_admin?n("a",{staticClass:"navbar-item",attrs:{href:"/admin/"}},[e._v("Admin Settigns")]):e._e()],1)]),e._v(" "),e.inCall?n("div",{staticClass:"navbar-item"},[n("p",{staticClass:"control"},[n("button",{staticClass:"button",on:{click:function(t){return e.changeHost()}}},[n("i",{staticClass:"fa fa-fw fa-refresh"}),e._v(" Change Host\n ")])])]):e._e(),e._v(" "),e.inCall?n("div",{staticClass:"navbar-item"},[e._v("Current Host: "+e._s(e.host.name))]):e._e()])])])],1)},s=[];r._withStripped=!0}}); \ No newline at end of file + */var r,s,a,o,i=n("./node_modules/rematrix/dist/rematrix.es.js"),d=function(){function e(e){e?e.m?this.m=[].concat(e.m):this.m=[].concat(e):this.m=i.identity()}return e.prototype.clone=function(){return new e(this)},e.prototype.multiply=function(e){return this.m=i.multiply(this.m,e)},e.prototype.perspective=function(e){return this.multiply(i.perspective(e))},e.prototype.transformX=function(e){return(e*this.m[0]+this.m[12])/(e*this.m[3]+this.m[15])},e.prototype.translate=function(e,t){return this.multiply(i.translate(e,t))},e.prototype.translate3d=function(e,t,n){return this.multiply(i.translate3d(e,t,n))},e.prototype.rotateY=function(e){return this.multiply(i.rotateY(e))},e.prototype.toString=function(){return i.toString(this.m)},e}();s=function(e){return Math.pow(e,2)},o=function(e){return 1-s(1-e)},a=function(e){return e<.5?s(2*e)/2:.5+o(2*(e-.5))/2},r=/Trident/.test(navigator.userAgent);var l={props:{enabled:{type:Boolean,required:!0},pages:{type:Array,required:!0},pagesHiRes:{type:Array,default:function(){return[]}},flipDuration:{type:Number,default:1e3},zoomDuration:{type:Number,default:500},zooms:{type:Array,default:function(){return[1,2,4]}},perspective:{type:Number,default:2400},nPolygons:{type:Number,default:10},ambient:{type:Number,default:.4},gloss:{type:Number,default:.6},swipeMin:{type:Number,default:3},singlePage:{type:Boolean,default:!1},forwardDirection:{validator:function(e){return"right"===e||"left"===e},default:"right"},centering:{type:Boolean,default:!0},startPage:{type:Number,default:null}},data:function(){return{viewWidth:0,viewHeight:0,imageWidth:null,imageHeight:null,displayedPages:1,nImageLoad:0,nImageLoadTrigger:0,imageLoadCallback:null,currentPage:0,firstPage:0,secondPage:1,zoomIndex:0,zoom:1,zooming:!1,touchStartX:null,touchStartY:null,maxMove:0,activeCursor:null,hasTouchEvents:!1,hasPointerEvents:!1,minX:Infinity,maxX:-Infinity,preloadedImages:{},flip:{progress:0,direction:null,frontImage:null,backImage:null,auto:!1,opacity:1},currentCenterOffset:null,animatingCenter:!1,startScrollLeft:0,startScrollTop:0,scrollLeft:0,scrollTop:0}},computed:{canFlipLeft:function(){return"left"===this.forwardDirection?this.canGoForward:this.canGoBack},canFlipRight:function(){return"right"===this.forwardDirection?this.canGoForward:this.canGoBack},canZoomIn:function(){return!this.zooming&&this.zoomIndex0},numPages:function(){return null===this.pages[0]?this.pages.length-1:this.pages.length},page:function(){return null!==this.pages[0]?this.currentPage+1:Math.max(1,this.currentPage)},zooms_:function(){return this.zooms||[1]},canGoForward:function(){return!this.flip.direction&&this.currentPage=this.displayedPages&&!(1===this.displayedPages&&!this.pageUrl(this.firstPage-1))},leftPage:function(){return"right"===this.forwardDirection||1===this.displayedPages?this.firstPage:this.secondPage},rightPage:function(){return"left"===this.forwardDirection?this.firstPage:this.secondPage},showLeftPage:function(){return this.pageUrl(this.leftPage)},showRightPage:function(){return this.pageUrl(this.rightPage)&&2===this.displayedPages},cursor:function(){return this.activeCursor?this.activeCursor:r?"auto":this.canZoomIn?"zoom-in":this.canZoomOut?"zoom-out":"grab"},pageScale:function(){var e,t,n;return(e=(t=this.viewWidth/this.displayedPages/this.imageWidth)<(n=this.viewHeight/this.imageHeight)?t:n)<1?e:1},pageWidth:function(){return Math.round(this.imageWidth*this.pageScale)},pageHeight:function(){return Math.round(this.imageHeight*this.pageScale)},xMargin:function(){return(this.viewWidth-this.pageWidth*this.displayedPages)/2},yMargin:function(){return(this.viewHeight-this.pageHeight)/2},polygonWidth:function(){var e;return e=this.pageWidth/this.nPolygons,(e=Math.ceil(e+1/this.zoom))+"px"},polygonHeight:function(){return this.pageHeight+"px"},polygonBgSize:function(){return this.pageWidth+"px "+this.pageHeight+"px"},polygonArray:function(){return this.makePolygonArray("front").concat(this.makePolygonArray("back"))},boundingLeft:function(){var e;return 1===this.displayedPages?this.xMargin:(e=this.pageUrl(this.leftPage)?this.xMargin:this.viewWidth/2)this.maxX?e:this.maxX},centerOffset:function(){var e;return e=this.centering?Math.round(this.viewWidth/2-(this.boundingLeft+this.boundingRight)/2):0,null===this.currentCenterOffset&&null!==this.imageWidth&&(this.currentCenterOffset=e),e},centerOffsetSmoothed:function(){return Math.round(this.currentCenterOffset)},dragToScroll:function(){return!this.hasTouchEvents},scrollLeftMin:function(){var e;return(e=(this.boundingRight-this.boundingLeft)*this.zoom)this.viewHeight&&!this.singlePage?2:1,2===this.displayedPages&&(this.currentPage&=-2),this.fixFirstPage(),this.minX=Infinity,this.maxX=-Infinity,console.log("Flipbook resized")},fixFirstPage:function(){if(1===this.displayedPages&&0===this.currentPage&&this.pages.length&&!this.pageUrl(0))return this.currentPage++},pageUrl:function(e,t){var n;return void 0===t&&(t=!1),t&&this.zoom>1&&!this.zooming&&(n=this.pagesHiRes[e])?n:this.pages[e]||null},flipLeft:function(){if(this.canFlipLeft)return this.flipStart("left",!0)},flipRight:function(){if(this.canFlipRight)return this.flipStart("right",!0)},makePolygonArray:function(e){var t,n,r,s,a,o,i,l,u,c,m,_,h,p,f,v,y,g,M,L,Y,b,k,w,D,T,j;if(!this.flip.direction)return[];for(v=this.flip.progress,a=this.flip.direction,1===this.displayedPages&&a!==this.forwardDirection&&(v=1-v,a=this.forwardDirection),this.flip.opacity=1===this.displayedPages&&v>.7?1-(v-.7)/.3:1,t=(i="front"===e?this.flip.frontImage:this.flip.backImage)&&"url('"+i+"')",f=this.pageWidth/this.nPolygons,p=this.xMargin,m=!1,1===this.displayedPages?"right"===this.forwardDirection?"back"===e&&(m=!0,p=this.xMargin-this.pageWidth):"left"===a?"back"===e?p=this.pageWidth-this.xMargin:m=!0:"front"===e?p=this.pageWidth-this.xMargin:m=!0:"left"===a?"back"===e?p=this.viewWidth/2:m=!0:"front"===e?p=this.viewWidth/2:m=!0,(_=new d).translate(this.viewWidth/2),_.perspective(this.perspective),_.translate(-this.viewWidth/2),_.translate(p,this.yMargin),h=0,v>.5&&(h=2*-(v-.5)*180),"left"===a&&(h=-h),"back"===e&&(h+=180),h&&(m&&_.translate(this.pageWidth),_.rotateY(h),m&&_.translate(-this.pageWidth)),0===(k=v<.5?2*v*Math.PI:(1-2*(v-.5))*Math.PI)&&(k=1e-9),M=this.pageWidth/k,g=0,b=(r=k/this.nPolygons)/2/Math.PI*180,s=r/Math.PI*180,m&&(b=-k/Math.PI*180+s/2),"back"===e&&(b=-b,s=-s),this.minX=Infinity,this.maxX=-Infinity,Y=[],o=l=0,L=this.nPolygons;0<=L?lL;o=0<=L?++l:--l)n=o/(this.nPolygons-1)*100+"% 0px",c=_.clone(),y=m?k-g:g,w=Math.sin(y)*M,m&&(w=this.pageWidth-w),j=(1-Math.cos(y))*M,"back"===e&&(j=-j),c.translate3d(w,0,j),c.rotateY(-b),D=c.transformX(0),T=c.transformX(f),this.maxX=Math.max(Math.max(D,T),this.maxX),this.minX=Math.min(Math.min(D,T),this.minX),u=this.computeLighting(h-b,s),g+=r,b+=s,Y.push([e+o,t,u,n,c.toString(),Math.abs(Math.round(j))]);return Y},computeLighting:function(e,t){var n,s,a,o,i;return a=[],o=[-.5,-.25,0,.25,.5],this.ambient<1&&(n=1-this.ambient,s=o.map((function(r){return(1-Math.cos((e-t*r)/180*Math.PI))*n})),a.push("linear-gradient(to right,\n rgba(0, 0, 0, "+s[0]+"),\n rgba(0, 0, 0, "+s[1]+") 25%,\n rgba(0, 0, 0, "+s[2]+") 50%,\n rgba(0, 0, 0, "+s[3]+") 75%,\n rgba(0, 0, 0, "+s[4]+"))")),this.gloss>0&&!r&&(30,200,i=o.map((function(n){return Math.max(Math.pow(Math.cos((e+30-t*n)/180*Math.PI),200),Math.pow(Math.cos((e-30-t*n)/180*Math.PI),200))})),a.push("linear-gradient(to right,\n rgba(255, 255, 255, "+i[0]*this.gloss+"),\n rgba(255, 255, 255, "+i[1]*this.gloss+") 25%,\n rgba(255, 255, 255, "+i[2]*this.gloss+") 50%,\n rgba(255, 255, 255, "+i[3]*this.gloss+") 75%,\n rgba(255, 255, 255, "+i[4]*this.gloss+"))")),a.join(",")},flipStart:function(e,t){var n=this;return e!==this.forwardDirection?1===this.displayedPages?(this.flip.frontImage=this.pageUrl(this.currentPage-1),this.flip.backImage=null):(this.flip.frontImage=this.pageUrl(this.firstPage),this.flip.backImage=this.pageUrl(this.currentPage-this.displayedPages+1)):1===this.displayedPages?(this.flip.frontImage=this.pageUrl(this.currentPage),this.flip.backImage=null):(this.flip.frontImage=this.pageUrl(this.secondPage),this.flip.backImage=this.pageUrl(this.currentPage+this.displayedPages)),this.flip.direction=e,this.flip.progress=0,requestAnimationFrame((function(){return requestAnimationFrame((function(){if(n.flip.direction!==n.forwardDirection?2===n.displayedPages&&(n.firstPage=n.currentPage-n.displayedPages):1===n.displayedPages?n.firstPage=n.currentPage+n.displayedPages:n.secondPage=n.currentPage+1+n.displayedPages,t)return n.flipAuto(!0)}))}))},flipAuto:function(e){var t,n,r,s,o=this;return s=Date.now(),n=this.flipDuration*(1-this.flip.progress),r=this.flip.progress,this.flip.auto=!0,this.$emit("flip-"+this.flip.direction+"-start",this.page),(t=function(){return requestAnimationFrame((function(){var i,d;return d=Date.now()-s,(i=r+d/n)>1&&(i=1),o.flip.progress=e?a(i):i,i<1?t():(o.flip.direction!==o.forwardDirection?o.currentPage-=o.displayedPages:o.currentPage+=o.displayedPages,o.$emit("flip-"+o.flip.direction+"-end",o.page),1===o.displayedPages&&o.flip.direction===o.forwardDirection?o.flip.direction=null:o.onImageLoad(1,(function(){return o.flip.direction=null})),o.flip.auto=!1)}))})()},flipRevert:function(){var e,t,n,r,s=this;return r=Date.now(),t=this.flipDuration*this.flip.progress,n=this.flip.progress,this.flip.auto=!0,(e=function(){return requestAnimationFrame((function(){var a,o;return o=Date.now()-r,(a=n-n*o/t)<0&&(a=0),s.flip.progress=a,a>0?e():(s.firstPage=s.currentPage,s.secondPage=s.currentPage+1,1===s.displayedPages&&s.flip.direction!==s.forwardDirection?s.flip.direction=null:s.onImageLoad(1,(function(){return s.flip.direction=null})),s.flip.auto=!1)}))})()},onImageLoad:function(e,t){return this.nImageLoad=0,this.nImageLoadTrigger=e,this.imageLoadCallback=t},didLoadImage:function(e){if(null===this.imageWidth&&(this.imageWidth=(e.target||e.path[0]).naturalWidth,this.imageHeight=(e.target||e.path[0]).naturalHeight),this.imageLoadCallback)return++this.nImageLoad>=this.nImageLoadTrigger?(this.imageLoadCallback(),this.imageLoadCallback=null):void 0},zoomIn:function(){if(this.canZoomIn)return this.zoomIndex+=1,this.zoomTo(this.zooms_[this.zoomIndex])},zoomOut:function(){if(this.canZoomOut)return this.zoomIndex-=1,this.zoomTo(this.zooms_[this.zoomIndex])},zoomTo:function(e,t,n){var s,o,i,d,l,u,c,m,_,h=this;if(l=this.zoom,o=e,_=this.$refs.viewport,u=_.scrollLeft,c=_.scrollTop,t||(t=_.clientWidth/2),n||(n=_.clientHeight/2),i=(t+u)/l*o-t,d=(n+c)/l*o-n,m=Date.now(),this.zooming=!0,this.$emit("zoom-start",e),(s=function(){return requestAnimationFrame((function(){var t,n;return((t=(n=Date.now()-m)/h.zoomDuration)>1||r)&&(t=1),t=a(t),h.zoom=l+(o-l)*t,h.scrollLeft=u+(i-u)*t,h.scrollTop=c+(d-c)*t,n1)return this.preloadImages(!0)},zoomAt:function(e){var t,n,r;return t=this.$refs.viewport.getBoundingClientRect(),n=e.pageX-t.left,r=e.pageY-t.top,this.zoomIndex=(this.zoomIndex+1)%this.zooms_.length,this.zoomTo(this.zooms_[this.zoomIndex],n,r)},swipeStart:function(e){},swipeMove:function(e){var t,n;if(null!=this.touchStartX)if(t=e.pageX-this.touchStartX,n=e.pageY-this.touchStartY,this.maxMove=Math.max(this.maxMove,Math.abs(t)),this.maxMove=Math.max(this.maxMove,Math.abs(n)),this.zoom>1)this.dragToScroll&&this.dragScroll(t,n);else if(!(Math.abs(n)>Math.abs(t)))return this.activeCursor="grabbing",t>0?(null===this.flip.direction&&this.canFlipLeft&&t>=this.swipeMin&&this.flipStart("left",!1),"left"===this.flip.direction&&(this.flip.progress=t/this.pageWidth,this.flip.progress>1&&(this.flip.progress=1))):(null===this.flip.direction&&this.canFlipRight&&t<=-this.swipeMin&&this.flipStart("right",!1),"right"===this.flip.direction&&(this.flip.progress=-t/this.pageWidth,this.flip.progress>1&&(this.flip.progress=1))),!0},swipeEnd:function(e){if(null!=this.touchStartX)return this.maxMove1/4?this.flipAuto(!1):this.flipRevert()),this.touchStartX=null,this.activeCursor=null},onTouchStart:function(e){return this.hasTouchEvents=!0,this.swipeStart(e.changedTouches[0])},onTouchMove:function(e){if(this.swipeMove(e.changedTouches[0])&&e.cancelable)return e.preventDefault()},onTouchEnd:function(e){return this.swipeEnd(e.changedTouches[0])},onPointerDown:function(e){if(this.hasPointerEvents=!0,!(this.hasTouchEvents||e.which&&1!==e.which)){this.swipeStart(e);try{return e.target.setPointerCapture(e.pointerId)}catch(e){}}},onPointerMove:function(e){if(!this.hasTouchEvents)return this.swipeMove(e)},onPointerUp:function(e){if(!this.hasTouchEvents){this.swipeEnd(e);try{return e.target.releasePointerCapture(e.pointerId)}catch(e){}}},onMouseDown:function(e){if(!(this.hasTouchEvents||this.hasPointerEvents||e.which&&1!==e.which))return this.swipeStart(e)},onMouseMove:function(e){if(!this.hasTouchEvents&&!this.hasPointerEvents)return this.swipeMove(e)},onMouseUp:function(e){if(!this.hasTouchEvents&&!this.hasPointerEvents)return this.swipeEnd(e)},dragScroll:function(e,t){return this.scrollLeft=this.startScrollLeft-e,this.scrollTop=this.startScrollTop-t},onWheel:function(e){if(this.zoom>1&&this.dragToScroll&&(this.scrollLeft=this.$refs.viewport.scrollLeft+e.deltaX,this.scrollTop=this.$refs.viewport.scrollTop+e.deltaY,e.cancelable))return e.preventDefault()},preloadImages:function(e){var t,n,r,s,a,o,i,d,l;for(void 0===e&&(e=!1),Object.keys(this.preloadedImages).length>=10&&(this.preloadedImages={}),t=r=a=this.currentPage-3,o=this.currentPage+3;a<=o?r<=o:r>=o;t=a<=o?++r:--r)(l=this.pageUrl(t))&&(this.preloadedImages[l]||((n=new Image).src=l,this.preloadedImages[l]=n));if(e)for(t=s=i=this.currentPage,d=this.currentPage+this.displayedPages;i<=d?sd;t=i<=d?++s:--s)(l=this.pagesHiRes[t])&&(this.preloadedImages[l]||((n=new Image).src=l,this.preloadedImages[l]=n))},goToPage:function(e){if(null!==e&&e!==this.page)return null===this.pages[0]?2===this.displayedPages&&1===e?this.currentPage=0:this.currentPage=e:this.currentPage=e-1,this.minX=Infinity,this.maxX=-Infinity,this.currentCenterOffset=this.centerOffset}},watch:{currentPage:function(){return this.firstPage=this.currentPage,this.secondPage=this.currentPage+1,this.preloadImages()},centerOffset:function(){var e,t=this;if(!this.animatingCenter)return e=function(){return requestAnimationFrame((function(){var n;return.1,n=t.centerOffset-t.currentCenterOffset,Math.abs(n)<.5?(t.currentCenterOffset=t.centerOffset,t.animatingCenter=!1):(t.currentCenterOffset+=.1*n,e())}))},this.animatingCenter=!0,e()},scrollLeftLimited:function(e){var t=this;return r?requestAnimationFrame((function(){return t.$refs.viewport.scrollLeft=e})):this.$refs.viewport.scrollLeft=e},scrollTopLimited:function(e){var t=this;return r?requestAnimationFrame((function(){return t.$refs.viewport.scrollTop=e})):this.$refs.viewport.scrollTop=e},pages:function(e,t){if(this.fixFirstPage(),!(null!=t?t.length:void 0)&&(null!=e?e.length:void 0)&&this.startPage>1&&null===e[0])return this.currentPage++},startPage:function(e){return this.goToPage(e)}}};var u,c="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var m={};var _=function(e,t,n,r,s,a,o,i,d,l){"boolean"!=typeof o&&(d=i,i=o,o=!1);var u,c="function"==typeof n?n.options:n;if(e&&e.render&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,s&&(c.functional=!0)),r&&(c._scopeId=r),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,d(e)),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=u):t&&(u=o?function(e){t.call(this,l(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,i(e))}),u)if(c.functional){var m=c.render;c.render=function(e,t){return u.call(t),m(e,t)}}else{var _=c.beforeCreate;c.beforeCreate=_?[].concat(_,u):[u]}return n}({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._t("default",null,null,{canFlipLeft:e.canFlipLeft,canFlipRight:e.canFlipRight,canZoomIn:e.canZoomIn,canZoomOut:e.canZoomOut,page:e.page,numPages:e.numPages,flipLeft:e.flipLeft,flipRight:e.flipRight,zoomIn:e.zoomIn,zoomOut:e.zoomOut}),e._v(" "),n("div",{ref:"viewport",staticClass:"viewport",class:{zoom:e.zooming||e.zoom>1,"drag-to-scroll":e.dragToScroll},style:{cursor:"grabbing"==e.cursor?"grabbing":"auto"},on:{touchmove:e.onTouchMove,pointermove:e.onPointerMove,mousemove:e.onMouseMove,touchend:e.onTouchEnd,touchcancel:e.onTouchEnd,pointerup:e.onPointerUp,pointercancel:e.onPointerUp,mouseup:e.onMouseUp,wheel:e.onWheel}},[n("div",{staticClass:"book-container",style:{transform:"scale("+e.zoom+")"}},[n("div",{style:{transform:"translateX("+e.centerOffsetSmoothed+"px)"}},[e.showLeftPage?n("img",{staticClass:"page fixed",style:{width:e.pageWidth+"px",height:e.pageHeight+"px",left:e.xMargin+"px",top:e.yMargin+"px"},attrs:{src:e.pageUrl(e.leftPage,!0)},on:{load:function(t){return e.didLoadImage(t)}}}):e._e(),e._v(" "),e.showRightPage?n("img",{staticClass:"page fixed",style:{width:e.pageWidth+"px",height:e.pageHeight+"px",left:e.viewWidth/2+"px",top:e.yMargin+"px"},attrs:{src:e.pageUrl(e.rightPage,!0)},on:{load:function(t){return e.didLoadImage(t)}}}):e._e(),e._v(" "),n("div",{style:{opacity:e.flip.opacity}},e._l(e.polygonArray,(function(t){var r=t[0],s=t[1],a=t[2],o=t[3],i=t[4],d=t[5];return n("div",{key:r,staticClass:"polygon",class:{blank:!s},style:{backgroundImage:s,backgroundSize:e.polygonBgSize,backgroundPosition:o,width:e.polygonWidth,height:e.polygonHeight,transform:i,zIndex:d}},[n("div",{directives:[{name:"show",rawName:"v-show",value:a.length,expression:"lighting.length"}],staticClass:"lighting",style:{backgroundImage:a}})])})),0),e._v(" "),n("div",{staticClass:"bounding-box",style:{left:e.boundingLeft+"px",top:e.yMargin+"px",width:e.boundingRight-e.boundingLeft+"px",height:e.pageHeight+"px",cursor:e.cursor},on:{touchstart:e.onTouchStart,pointerdown:e.onPointerDown,mousedown:e.onMouseDown}})])])])],2)},staticRenderFns:[]},(function(e){e&&e("data-v-1b72a150_0",{source:".viewport[data-v-1b72a150]{-webkit-overflow-scrolling:touch;width:100%;height:100%}.viewport.zoom[data-v-1b72a150]{overflow:scroll}.viewport.zoom.drag-to-scroll[data-v-1b72a150]{overflow:hidden}.book-container[data-v-1b72a150]{position:relative;width:100%;height:100%;transform-origin:top left;-webkit-user-select:none;-ms-user-select:none;user-select:none}.click-to-flip[data-v-1b72a150]{position:absolute;width:50%;height:100%;top:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.click-to-flip.left[data-v-1b72a150]{left:0}.click-to-flip.right[data-v-1b72a150]{right:0}.bounding-box[data-v-1b72a150]{position:absolute;-webkit-user-select:none;-ms-user-select:none;user-select:none}.page[data-v-1b72a150]{position:absolute;-webkit-backface-visibility:hidden;backface-visibility:hidden;box-shadow:0 0 15px -4px rgba(0,0,0,.75)}.polygon[data-v-1b72a150]{position:absolute;top:0;left:0;background-repeat:no-repeat;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-origin:center left}.polygon.blank[data-v-1b72a150]{background-color:#ddd}.polygon .lighting[data-v-1b72a150]{width:100%;height:100%}",map:void 0,media:void 0})}),l,"data-v-1b72a150",!1,void 0,!1,(function(e){return function(e,t){return function(e,t){var n=c?t.media||"default":e,r=m[n]||(m[n]={ids:new Set,styles:[]});if(!r.ids.has(e)){r.ids.add(e);var s=t.source;if(t.map&&(s+="\n/*# sourceURL="+t.map.sources[0]+" */",s+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),r.element||(r.element=document.createElement("style"),r.element.type="text/css",t.media&&r.element.setAttribute("media",t.media),void 0===u&&(u=document.head||document.getElementsByTagName("head")[0]),u.appendChild(r.element)),"styleSheet"in r.element)r.styles.push(s),r.element.styleSheet.cssText=r.styles.filter(Boolean).join("\n");else{var a=r.ids.size-1,o=document.createTextNode(s),i=r.element.childNodes;i[a]&&r.element.removeChild(i[a]),i.length?r.element.insertBefore(o,i[a]):r.element.appendChild(o)}}}(e,t)}}),void 0,void 0);e.exports=_},"./resources/scripts/applications/home/main.vue":function(e,t,n){"use strict";n.r(t);n("./node_modules/regenerator-runtime/runtime.js");var r=n("./node_modules/vue/dist/vue.esm.js"),s=n("./node_modules/vuex/dist/vuex.esm.js"),a=n("./resources/scripts/applications/home/app.vue"),o=n("./node_modules/vue-router/dist/vue-router.esm.js"),i=n("./resources/scripts/applications/home/views/home.vue"),d=n("./resources/scripts/applications/home/views/settings.vue"),l=n("./resources/scripts/applications/home/views/call.vue"),u=n("./resources/scripts/applications/home/views/child_profile.vue"),c=n("./resources/scripts/applications/home/views/call_views/Lobby.vue"),m=n("./resources/scripts/applications/home/views/call_views/Book.vue");r.default.use(o.a);const _=[{path:"/",component:i.a,name:"root"},{path:"/settings",component:d.a},{path:"/call/:id",component:l.a,children:[{path:"",component:c.a,name:"lobby"},{path:"book",component:m.a,name:"book"}]},{path:"/child/:id",component:u.a},{path:"*",redirect:{name:"root"}}];var h=new o.a({routes:_,mode:"history"}),p=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),f=Object(p.a)(h,void 0,void 0,!1,null,null,null),v=n("./node_modules/vue-hot-reload-api/dist/index.js");v.install(n("./node_modules/vue/dist/vue.esm.js")),v.compatible&&(e.hot.accept(),v.isRecorded("1c72787c")?v.reload("1c72787c",f.options):v.createRecord("1c72787c",f.options)),f.options.__file="resources/scripts/applications/home/router/router.vue";var y=f.exports,g=n("./resources/scripts/applications/services/index.ts");r.default.use(s.b);var M=new s.a({strict:!0,state:{inCall:!1,user:{name:"loading...",is_admin:!1,id:null,books:[]},notifications:[]},getters:{user:e=>e.user,notifications:e=>e.notifications,inCall:e=>e.inCall},mutations:{setUser(e,t){e.user=t},notify(e,t){const n=Math.ceil(1e3*Math.random());e.notifications.push({...t,id:n});const r=this.dispatch;setTimeout(()=>{r("dismissNotification",n)},5e3)},dismissNotification(e,t){e.notifications=e.notifications.filter(e=>e.id!=t)},callEnded(e){e.inCall=!1},callStarted(e){e.inCall=!0}},actions:{getUser(e,t){return regeneratorRuntime.async((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,regeneratorRuntime.awrap(g.a.ApiService.getUser(t));case 2:return n=r.sent,e.commit("setUser",n),r.abrupt("return",n);case 5:case"end":return r.stop()}}),null,null,null,Promise);var n},notify(e,t){e.commit("notify",t)},dismissNotification(e,t){e.commit("dismissNotification",t)},callEnded(e){e.commit("callEnded")},callStarted(e){e.commit("callStarted")}}});r.default.use(s.b);var L=new r.default({router:y,store:M,render:e=>e(a.a)}).$mount("#app"),Y=Object(p.a)(L,void 0,void 0,!1,null,null,null),b=n("./node_modules/vue-hot-reload-api/dist/index.js");b.install(n("./node_modules/vue/dist/vue.esm.js")),b.compatible&&(e.hot.accept(),b.isRecorded("550f4f9c")?b.reload("550f4f9c",Y.options):b.createRecord("550f4f9c",Y.options)),Y.options.__file="resources/scripts/applications/home/main.vue";t.default=Y.exports},"./resources/scripts/applications/home/views/call.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/views/call.vue?vue&type=template&id=2e42c802&"),s=n("./resources/scripts/applications/home/views/call.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("2e42c802")?i.reload("2e42c802",o.options):i.createRecord("2e42c802",o.options),e.hot.accept("./resources/scripts/applications/home/views/call.vue?vue&type=template&id=2e42c802&",function(e){r=n("./resources/scripts/applications/home/views/call.vue?vue&type=template&id=2e42c802&"),i.rerender("2e42c802",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/views/call.vue",t.a=o.exports},"./resources/scripts/applications/home/views/call.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/shared/components/Loading/Loading.vue"),s=n("./resources/scripts/applications/home/ws/call.manager.ts"),a=n("./resources/scripts/applications/home/ws/websocket.service.ts"),o=n("./resources/scripts/applications/home/views/call_views/VideoStrip.vue"),i=n("./node_modules/vuex/dist/vuex.esm.js"),d={components:{Loading:r.a,VideoStrip:o.a},name:"Call",created(){var e,t,n,r=this;return regeneratorRuntime.async((function(o){for(;;)switch(o.prev=o.next){case 0:return r.loading=!0,o.prev=1,e=Number(r.$route.params.id),o.next=5,regeneratorRuntime.awrap(a.a.getInstance());case 5:return t=o.sent,r.callManager=t.callManager,r.callManager.on(s.a.CLOSE,r.endCall),o.next=10,regeneratorRuntime.awrap(r.callManager.connectToCall(r.user.id,{video:!0,audio:!0},e));case 10:if(n=o.sent,r.callManager.on(s.a.CALL_HOST_CHANGED,r.onRemoteHostChanged),n){o.next=16;break}return r.notify({message:"Can find this call...",level:"danger"}),r.$router.push({path:"/"}),o.abrupt("return",!1);case 16:return r.callStarted(),o.next=19,regeneratorRuntime.awrap(r.callManager.getUserMedia());case 19:r.localStream=o.sent,r.remoteStream=r.callManager.getRemoteStream(),r.notify({message:"Connected!",level:"success"}),o.next=28;break;case 24:o.prev=24,o.t0=o.catch(1),console.error(o.t0),r.notify({message:o.t0.message,level:"danger"});case 28:r.loading=!1;case 29:case"end":return o.stop()}}),null,null,[[1,24]],Promise)},beforeDestroy(){var e=this;return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:return console.log("destroyed"),e.callManager.close(),e.callEnded(),t.abrupt("return",!0);case 4:case"end":return t.stop()}}),null,null,null,Promise)},methods:{setupCall:()=>regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",!0);case 1:case"end":return e.stop()}}),null,null,null,Promise),endCall(e){this.notify({message:`Call #${e} Ended`}),this.$router.replace({path:"/"})},onRemoteHostChanged(e){console.log("-----------"),console.log(e),this.peer=this.callManager.peer},changeHost(){this.callManager.changeHost()},...Object(i.c)(["notify","callStarted","callEnded"])},computed:{...Object(i.d)(["user","inCall"])},watch:{$route(e,t){const n=e.path.split("/").length,r=t.path.split("/").length;this.stateTransitionName=n({loading:!0,localStream:null,remoteStream:null,callManager:null,stateTransitionName:"slide-left"}),beforeCreate:()=>{}};t.a=d},"./resources/scripts/applications/home/views/call.vue?vue&type=template&id=2e42c802&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"is-fullwidth"},[this.loading?t("div",[t("Loading")],1):t("div",{staticClass:"columns"},[t("VideoStrip",{staticClass:"column is-2",attrs:{localStream:this.localStream,remoteStream:this.remoteStream,remotePoster:this.callManager.peer.avatar}}),this._v(" "),t("transition",{attrs:{name:this.stateTransitionName}},[t("router-view",{staticClass:"column"})],1)],1)])},s=[];r._withStripped=!0},"./resources/scripts/applications/home/views/call_views/Book.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/views/call_views/Book.vue?vue&type=template&id=39118a17&"),s=n("./resources/scripts/applications/home/views/call_views/Book.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("39118a17")?i.reload("39118a17",o.options):i.createRecord("39118a17",o.options),e.hot.accept("./resources/scripts/applications/home/views/call_views/Book.vue?vue&type=template&id=39118a17&",function(e){r=n("./resources/scripts/applications/home/views/call_views/Book.vue?vue&type=template&id=39118a17&"),i.rerender("39118a17",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/views/call_views/Book.vue",t.a=o.exports},"./resources/scripts/applications/home/views/call_views/Book.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/components/flipbook/flipbook.cjs.js"),s=n.n(r),a=n("./resources/scripts/applications/shared/components/Loading/Loading.vue"),o=n("./resources/scripts/applications/home/ws/call.manager.ts"),i=n("./resources/scripts/applications/home/ws/websocket.service.ts"),d=n("./node_modules/vuex/dist/vuex.esm.js"),l={name:"CallBook",components:{Flipbook:s.a,Loading:a.a},created(){var e,t=this;return regeneratorRuntime.async((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,regeneratorRuntime.awrap(i.a.getInstance());case 2:return e=n.sent,t.callManager=e.callManager,t.callManager.on(o.a.ACTION_BOOK_FLIP,t.onRemoteFlip.bind(t)),t.loading=!1,n.abrupt("return",!0);case 7:case"end":return n.stop()}}),null,null,null,Promise)},destroyed(){this.callManager.removeListener(o.a.ACTION_BOOK_FLIP,this.onRemoteFlip.bind(this))},data:()=>({loading:!0,localStream:null,remoteStream:null,flipbookRef:!1,callManager:{isHost:!1}}),computed:{canFlipLeft(){return this.flipbookRef&&this.$refs.flipbook.canFlipLeft},canFlipRight(){return this.flipbookRef&&this.$refs.flipbook.canFlipRight},createPages(){const e=[null];for(let t=1;t({callManager:{books:[]}}),methods:{goToBook(e,t,n){(n||this.callManager.isHost)&&(this.callManager.selectBook(t,n),this.$router.replace({name:"book"}))},remoteBookSelected({bookId:e}){for(let t=0;t!!e||n.id===t.user.id,t.isParent),n.next=15;break;case 13:t.notify({message:"Sorry, Child not found!",level:"danger"}),t.$router.push({path:"/"});case 15:return n.abrupt("return",!0);case 16:case"end":return n.stop()}}),null,null,null,Promise)},data:()=>({loading:!0,child:null,isParent:!1,inEditMode:!1,showCoverModal:!1,showAddConnectionModal:!1,childCoverModalImage:null}),methods:{onDeleteClicked(){this.notify({message:"Delete button clicked. Still not working"})},goToUserProfile(e){this.user.id===e.id?this.$router.push({path:"/"}):this.$router.push({path:"/user/"+e.id})},addConnection(e){var t,n=this;return regeneratorRuntime.async((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,n.loading=!0,r.next=4,regeneratorRuntime.awrap(a.a.ApiService.createConnection({...e,child_id:n.child.id}));case 4:if(409!==(t=r.sent).code){r.next=11;break}return n.loading=!1,n.showAddConnectionModal=!1,r.abrupt("return",n.notify({message:t.message,level:"warning"}));case 11:if(0===t.code){r.next=15;break}return n.loading=!1,n.showAddConnectionModal=!1,r.abrupt("return",n.notify({message:t.message,level:"danger"}));case 15:n.notify({message:`Awesome!\n${t.data.user.name} is connected to ${n.child.name}`,level:"success"}),t.data.is_parent?n.child.parents.push(t.data.user):n.child.connections.push(t.data.user),console.log(t),r.next=23;break;case 20:r.prev=20,r.t0=r.catch(0),console.error(r.t0);case 23:return n.loading=!1,n.showAddConnectionModal=!1,r.abrupt("return",!0);case 26:case"end":return r.stop()}}),null,null,[[0,20]],Promise)},changeCover(){var e=this;return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.childCoverModalImage){t.next=12;break}return e.loading=!0,t.prev=2,t.next=5,regeneratorRuntime.awrap(a.a.ApiService.updateChildCover(e.child.id,e.childCoverModalImage));case 5:e.child.profile_cover=t.sent,t.next=11;break;case 8:t.prev=8,t.t0=t.catch(2),console.error(t.t0);case 11:e.loading=!1;case 12:e.showCoverModal=!1,e.this.childCoverModalImage=null;case 14:case"end":return t.stop()}}),null,null,[[2,8]],Promise)},togleEditMode(){this.inEditMode=!this.inEditMode,this.inEditMode&&(this.showCoverModal=!0)},...Object(r.c)(["getUser","getConnections","notify"])},computed:{age(){const e=m()().diff(this.child.dob,"years"),t=m()().diff(this.child.dob,"months")%12;let n="a new boarn!";return!e&&!t||(n="",e&&(n+=e+" years"),e&&t&&(n+=" and"),t&&(n+=` ${t} months`),n+=" old"),""+n},...Object(r.d)(["user","connections"])}};t.a=h},"./resources/scripts/applications/home/views/child_profile.vue?vue&type=template&id=5e105c92&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container is-fullwidth"},[e.loading?n("div",{staticClass:"loading"},[n("Loading")],1):n("div",{},[n("Modal",{attrs:{title:"Change Cover",isActive:e.showCoverModal,acceptText:"Change",rejectText:"Cancel"},on:{accept:function(t){return e.changeCover()},close:function(t){e.showCoverModal=!1}}},[n("ProfileHeader",{attrs:{title:e.child.name,background:e.childCoverModalImage?e.childCoverModalImage:e.child.profile_cover}}),e._v(" "),n("file-select",{attrs:{accept:"image/*",lable:"Select Cover:"},model:{value:e.childCoverModalImage,callback:function(t){e.childCoverModalImage=t},expression:"childCoverModalImage"}})],1),e._v(" "),n("AddConnectionModal",{attrs:{isActive:e.showAddConnectionModal,childName:e.child.name},on:{createNewConnection:function(t){return e.addConnection(t)},dismiss:function(t){e.showAddConnectionModal=!1}}}),e._v(" "),n("ProfileHeader",{attrs:{title:e.child.name,background:e.child.profile_cover}}),e._v(" "),n("div",{staticClass:"columns is-fullheight m-t-md"},[n("div",{staticClass:"column is-2"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-image p-md"},[n("figure",{staticClass:"image is-1by1"},[n("img",{staticClass:"is-rounded is-avatar",attrs:{src:e.child.avatar}})])]),e._v(" "),n("div",{staticClass:"card-content"},[n("div",{staticClass:"content"},[n("p",[e._v("Hi!")]),e._v(" "),n("p",[e._v("Im "+e._s(e.age))]),e._v(" "),n("br")])]),e._v(" "),e.isParent?n("footer",{staticClass:"card-footer"},[n("a",{staticClass:"card-footer-item",on:{click:function(t){return e.togleEditMode()}}},[e._v(e._s(e.inEditMode?"Cancel":"Edit"))]),e._v(" "),n("a",{staticClass:"card-footer-item is-danger",on:{click:function(t){return e.onDeleteClicked()}}},[e._v("Delete")])]):e._e()])]),e._v(" "),n("div",{staticClass:"column"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-content"},[n("nav",{staticClass:"level"},[n("div",{staticClass:"level-left"},[n("div",{staticClass:"level-item"},[n("h1",{staticClass:"title"},[e._v(e._s(e.child.name.split(" ")[0]+"'s Room"))])])])]),e._v(" "),n("nav",{staticClass:"level"},[e._m(0),e._v(" "),n("div",{staticClass:"level-right"},[e.isParent?n("div",{staticClass:"level-item"},[n("button",{staticClass:"button",on:{click:function(t){e.showAddConnectionModal=!0}}},[n("i",{staticClass:"fa fa-fw fa-plus"}),e._v(" Add Connection\n ")])]):e._e()])]),e._v(" "),n("div",{staticClass:"parents"},[n("div",{staticClass:"is-flex"},e._l(e.child.parents,(function(t){return n("AvatarBadge",{key:t.id,staticClass:"column",attrs:{img:t.avatar,text:t.name,isLink:e.user.id===t.id},on:{onClick:function(n){return e.goToUserProfile(t)}}})})),1)]),e._v(" "),e._m(1),e._v(" "),n("div",{staticClass:"columns"},e._l(e.child.connections,(function(t){return n("AvatarBadge",{key:t.id,staticClass:"column",attrs:{img:t.avatar,text:t.name,isLink:e.user.id===t.id},on:{onClick:function(n){return e.goToUserProfile(t)}}})})),1)])])])])],1)])},s=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"level-left"},[t("div",{staticClass:"level-item"},[t("h1",{staticClass:"subtitle"},[this._v("Parents")])])])},function(){var e=this.$createElement,t=this._self._c||e;return t("nav",{staticClass:"level"},[t("div",{staticClass:"level-left"},[t("div",{staticClass:"level-item"},[t("h1",{staticClass:"subtitle"},[this._v("Connections")])])])])}];r._withStripped=!0},"./resources/scripts/applications/home/views/home.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/views/home.vue?vue&type=template&id=1b921a03&"),s=n("./resources/scripts/applications/home/views/home.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("1b921a03")?i.reload("1b921a03",o.options):i.createRecord("1b921a03",o.options),e.hot.accept("./resources/scripts/applications/home/views/home.vue?vue&type=template&id=1b921a03&",function(e){r=n("./resources/scripts/applications/home/views/home.vue?vue&type=template&id=1b921a03&"),i.rerender("1b921a03",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/views/home.vue",t.a=o.exports},"./resources/scripts/applications/home/views/home.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r=n("./node_modules/vuex/dist/vuex.esm.js"),s=n("./resources/scripts/applications/home/components/Child_Card.vue"),a=n("./resources/scripts/applications/services/index.ts"),o=n("./resources/scripts/applications/shared/components/Loading/Loading.vue"),i=n("./resources/scripts/applications/home/components/ProfileHeader.vue"),d=n("./resources/scripts/applications/home/components/AddConnectionModal.vue"),l=n("./resources/scripts/applications/home/components/ConfigureNewCallModal.vue"),u=n("./resources/scripts/applications/shared/components/FileSelect/FileSelect.vue"),c=n("./resources/scripts/applications/home/components/AvatarBadge.vue"),m=n("./node_modules/moment/moment.js"),_=n.n(m),h=n("./resources/scripts/applications/shared/components/Modal/Modal.vue"),p={name:"Home",components:{Loading:o.a,ProfileHeader:i.a,Modal:h.a,FileSelect:u.a,AvatarBadge:c.a,AddConnectionModal:d.a,ConfigureNewCallModal:l.a,ChildCard:s.a},beforeCreate(){},created(){var e=this;return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!1,t.abrupt("return",!0);case 2:case"end":return t.stop()}}),null,null,null,Promise)},data:()=>({loading:!0,child:null,isParent:!1,inEditMode:!1,showCoverModal:!1,showCreateCallModal:!1,showAddConnectionModal:!1,childCoverModalImage:null,addMenuOpen:!1}),methods:{onAddClicked(e){this.notify({message:`Add ${e} button clicked. Still not working`}),this.addMenuOpen=!1},onDeleteClicked(){this.notify({message:"Delete button clicked. Still not working"})},goChildProfile(e){this.$router.push({path:"/child/"+e.id})},makeCall(e){var t,n=this;return regeneratorRuntime.async((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,regeneratorRuntime.awrap(a.a.ApiService.createCall(e));case 3:t=r.sent,n.notify({message:"Connecting..."}),n.$router.push({path:"/call/"+t.data.id}),r.next=11;break;case 8:r.prev=8,r.t0=r.catch(0),console.error(r.t0);case 11:return r.abrupt("return",!0);case 12:case"end":return r.stop()}}),null,null,[[0,8]],Promise)},changeCover(){var e=this;return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.childCoverModalImage){t.next=12;break}return e.loading=!0,t.prev=2,t.next=5,regeneratorRuntime.awrap(a.a.ApiService.updateChildCover(e.child.id,e.childCoverModalImage));case 5:e.child.profile_cover=t.sent,t.next=11;break;case 8:t.prev=8,t.t0=t.catch(2),console.error(t.t0);case 11:e.loading=!1;case 12:e.showCoverModal=!1,e.this.childCoverModalImage=null;case 14:case"end":return t.stop()}}),null,null,[[2,8]],Promise)},togleEditMode(){this.inEditMode=!this.inEditMode,this.inEditMode&&(this.showCoverModal=!0)},...Object(r.c)(["getUser","notify"])},computed:{age(){const e=_()().diff(this.child.dob,"years"),t=_()().diff(this.child.dob,"months")%12;let n="a new boarn!";return!e&&!t||(n="",e&&(n+=e+" years"),e&&t&&(n+=" and"),t&&(n+=` ${t} months`),n+=" old"),""+n},...Object(r.d)(["user"])}};t.a=p},"./resources/scripts/applications/home/views/home.vue?vue&type=template&id=1b921a03&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container is-fullwidth"},[e.loading?n("div",{staticClass:"loading"},[n("Loading")],1):n("div",{},[n("Modal",{attrs:{title:"Change Cover",isActive:e.showCoverModal,acceptText:"Change",rejectText:"Cancel"},on:{accept:function(t){return e.changeCover()},close:function(t){e.showCoverModal=!1}}},[n("ProfileHeader",{attrs:{title:e.user.name,background:e.childCoverModalImage?e.childCoverModalImage:e.user.profile_cover}}),e._v(" "),n("file-select",{attrs:{accept:"image/*",lable:"Select Cover:"},model:{value:e.childCoverModalImage,callback:function(t){e.childCoverModalImage=t},expression:"childCoverModalImage"}})],1),e._v(" "),n("ConfigureNewCallModal",{attrs:{isActive:e.showCreateCallModal},on:{newCall:function(t){return e.makeCall(t)},dismiss:function(t){e.showCreateCallModal=!1}}}),e._v(" "),n("ProfileHeader",{attrs:{title:e.user.name,background:e.user.profile_cover}}),e._v(" "),n("div",{staticClass:"columns is-fullheight m-t-md"},[n("div",{staticClass:"column is-2"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-image p-md"},[n("figure",{staticClass:"image is-1by1"},[n("img",{staticClass:"is-rounded is-avatar",attrs:{src:e.user.avatar}})])]),e._v(" "),n("div",{staticClass:"card-content"},[e.user.connections.children.concat(e.user.connections.connections).length?n("div",[n("p",{staticClass:"card-header-title"},[e._v("Connections")]),e._v(" "),e._l(e.user.connections.children.concat(e.user.connections.connections),(function(e){return n("ChildCard",{key:e.id,attrs:{child:e}})})),e._v(" "),n("br")],2):e._e()])])]),e._v(" "),n("div",{staticClass:"column"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-content"},[n("nav",{staticClass:"level"},[n("div",{staticClass:"level-left"},[n("div",{staticClass:"level-item"},[n("h1",{staticClass:"title"},[e._v(e._s(e.user.name.split(" ")[0]+"'s Room"))])])]),e._v(" "),n("div",{staticClass:"level-right"},[n("div",{staticClass:"level-item"},[n("div",{class:"dropdown "+(e.addMenuOpen?"is-active":"")},[n("div",{staticClass:"dropdown-trigger"},[n("button",{staticClass:"button",attrs:{"aria-haspopup":"true","aria-controls":"dropdown-menu"},on:{click:function(t){e.addMenuOpen=!e.addMenuOpen}}},[n("span",[e._v("Add")]),e._v(" "),n("span",{staticClass:"icon is-small"},[n("i",{class:"fa fa-angle-"+(e.addMenuOpen?"up":"down"),attrs:{"aria-hidden":"true"}})])])]),e._v(" "),n("div",{staticClass:"dropdown-menu",attrs:{id:"dropdown-menu",role:"menu"}},[n("div",{staticClass:"dropdown-content"},[n("a",{staticClass:"dropdown-item",on:{click:function(t){return e.onAddClicked("book")}}},[n("i",{staticClass:"fa fa-fw fa-book"}),e._v(" Add a book\n ")]),e._v(" "),n("a",{staticClass:"dropdown-item",on:{click:function(t){return e.onAddClicked("slideshow")}}},[n("i",{staticClass:"fa fa-fw fa-photo"}),e._v(" New slideshow\n ")]),e._v(" "),n("a",{staticClass:"dropdown-item",on:{click:function(t){return e.onAddClicked("puzzle")}}},[n("i",{staticClass:"fa fa-fw fa-puzzle-piece"}),e._v(" Create a puzzle\n ")]),e._v(" "),n("hr",{staticClass:"dropdown-divider"}),e._v(" "),n("a",{staticClass:"dropdown-item",on:{click:function(t){return e.onAddClicked("child")}}},[n("i",{staticClass:"fa fa-fw fa-child"}),e._v(" Add a child\n ")])])])]),e._v(" "),n("button",{staticClass:"button is-success m-l-md",on:{click:function(t){e.showCreateCallModal=!0}}},[n("i",{staticClass:"fa fa-fw fa-phone"}),e._v(" Call\n ")])])])]),e._v(" "),n("div",{staticClass:"Books"},[e._m(0),e._v(" "),n("div",{staticClass:"is-flex m-b-md is-justify-centered"},e._l(e.user.books,(function(t){return n("div",{key:t.id,staticClass:"book-thumb m-l-md"},[n("div",{staticClass:"book-cover"},[n("figure",{staticClass:"image is-2by3 m-a"},[n("img",{attrs:{src:"/u/books/"+t.id+"/thumbnail"}})])]),e._v(" "),n("div",{staticClass:"book-text"},[n("div",[e._v(e._s(t.title))])])])})),0)])])])])])],1)])},s=[function(){var e=this.$createElement,t=this._self._c||e;return t("h2",{staticClass:"subtitle"},[t("i",{staticClass:"fa fa-fw fa-book"}),this._v(" My Books\n ")])}];r._withStripped=!0},"./resources/scripts/applications/home/views/settings.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/views/settings.vue?vue&type=template&id=f4fa8d72&"),s=n("./resources/scripts/applications/home/views/settings.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("f4fa8d72")?i.reload("f4fa8d72",o.options):i.createRecord("f4fa8d72",o.options),e.hot.accept("./resources/scripts/applications/home/views/settings.vue?vue&type=template&id=f4fa8d72&",function(e){r=n("./resources/scripts/applications/home/views/settings.vue?vue&type=template&id=f4fa8d72&"),i.rerender("f4fa8d72",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/home/views/settings.vue",t.a=o.exports},"./resources/scripts/applications/home/views/settings.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r=n("./node_modules/vuex/dist/vuex.esm.js"),s=n("./resources/scripts/applications/shared/components/Modal/Modal.vue"),a=n("./resources/scripts/applications/home/components/Child_Card.vue"),o=n("./resources/scripts/applications/services/index.ts"),i=n("./resources/scripts/applications/shared/components/FileSelect/FileSelect.vue"),d=n("./resources/scripts/applications/shared/components/Loading/Loading.vue"),l={components:{Modal:s.a,FileSelect:i.a,ChildCard:a.a,Loading:d.a},name:"Settings",beforeCreate:()=>regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",!0);case 1:case"end":return e.stop()}}),null,null,null,Promise),created(){var e=this;return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.user){t.next=9;break}return t.prev=1,t.next=4,regeneratorRuntime.awrap(e.getUser());case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(1),console.error("Failed to fetch user");case 9:return e.loading=!1,t.abrupt("return",!0);case 11:case"end":return t.stop()}}),null,null,[[1,6]],Promise)},methods:{addChild(){var e,t,n=this;return regeneratorRuntime.async((function(r){for(;;)switch(r.prev=r.next){case 0:return n.childValidation.enableInput=!1,e={name:n.childValidation.name,dob:n.childValidation.dob,avatar:n.childValidation.avatar},console.log(e),r.next=5,regeneratorRuntime.awrap(o.a.ApiService.createChild(e.name,e.dob,e.avatar));case 5:return t=r.sent,e.avatar&&console.log(e.avatar.length),n.childValidation.name=null,n.childValidation.dob=null,n.childValidation.avatar=null,n.childValidation.enableInput=!0,n.enableChildModel=!1,r.next=14,regeneratorRuntime.awrap(n.getUser());case 14:return n.notify({message:`Yay!, ${t.name} was cretated`,level:"success"}),r.abrupt("return",!0);case 16:case"end":return r.stop()}}),null,null,null,Promise)},...Object(r.c)(["getUser","notify"])},computed:{...Object(r.d)(["user"])},data:()=>({loading:!0,childValidation:{enableInput:!0,name:null,dob:null,avatar:null},enableChildModel:!1})};t.a=l},"./resources/scripts/applications/home/views/settings.vue?vue&type=template&id=f4fa8d72&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container is-fullwidth"},[e.loading?n("div",{staticClass:"loading"},[n("Loading")],1):n("div",{},[n("Modal",{attrs:{title:"Add A child",isActive:e.enableChildModel,acceptText:"Add",rejectText:"Cancel"},on:{accept:function(t){return e.addChild()},close:function(t){e.enableChildModel=!1}}},[n("form",{staticClass:"form register",attrs:{id:"form-register"}},[n("div",{staticClass:"field"},[n("label",{staticClass:"label"},[e._v("Name")]),e._v(" "),n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.childValidation.name,expression:"childValidation.name"}],class:["input"],attrs:{required:"true",name:"name",type:"text",placeholder:"John Snow",disabled:!e.childValidation.enableInput},domProps:{value:e.childValidation.name},on:{input:function(t){t.target.composing||e.$set(e.childValidation,"name",t.target.value)}}}),e._v(" "),n("span",{staticClass:"icon is-small is-left"},[n("i",{staticClass:"fa fa-id-card"})])]),e._v(" "),n("p",{staticClass:"help is-danger"},[e._v(e._s(""))])]),e._v(" "),n("div",{staticClass:"field"},[n("label",{staticClass:"label"},[e._v("Birthday")]),e._v(" "),n("div",{staticClass:"control has-icons-left"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.childValidation.dob,expression:"childValidation.dob"}],class:["input"],attrs:{required:"true",name:"dob",type:"date",disabled:!e.childValidation.enableInput},domProps:{value:e.childValidation.dob},on:{input:function(t){t.target.composing||e.$set(e.childValidation,"dob",t.target.value)}}}),e._v(" "),n("span",{staticClass:"icon is-small is-left"},[n("i",{staticClass:"fa fa-gift"})])]),e._v(" "),n("p",{staticClass:"help is-danger"},[e._v(e._s(""))])]),e._v(" "),n("file-select",{attrs:{accept:"image/*",lable:"Upload Avatar:"},model:{value:e.childValidation.avatar,callback:function(t){e.$set(e.childValidation,"avatar",t)},expression:"childValidation.avatar"}})],1)]),e._v(" "),n("div",{staticClass:"has-text-centered"},[n("h3",{staticClass:"title"},[e._v("Settings")]),e._v(" "),n("h4",{staticClass:"subtitle"},[e._v(e._s(e.user.name))])]),e._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-3"},[n("figure",{staticClass:"image is-128x128 m-auto"},[n("img",{staticClass:"is-rounded is-avatar",attrs:{src:e.user.avatar}})]),e._v(" "),n("div",{staticClass:"card m-t-lg"},[e._m(0),e._v(" "),n("div",{staticClass:"card-content"},e._l(e.user.connections.children,(function(e){return n("ChildCard",{key:e.id,attrs:{child:e}})})),1),e._v(" "),n("footer",{staticClass:"card-footer"},[n("a",{staticClass:"card-footer-item",attrs:{enabled:e.childValidation.enableInput},on:{click:function(t){e.enableChildModel=!0}}},[e._v("Add a New Child")])])])]),e._v(" "),n("div",{staticClass:"column"},[n("form",{staticClass:"form"},[n("div",{staticClass:"field"},[n("label",{staticClass:"label"},[e._v("Name")]),e._v(" "),n("div",{staticClass:"control"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.user.name,expression:"user.name"}],staticClass:"input",attrs:{disabled:!e.childValidation.enableInput,type:"text",placeholder:"Text input"},domProps:{value:e.user.name},on:{input:function(t){t.target.composing||e.$set(e.user,"name",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"field"},[n("label",{staticClass:"label"},[e._v("Email")]),e._v(" "),n("div",{staticClass:"control"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.user.email,expression:"user.email"}],staticClass:"input",attrs:{type:"email",placeholder:"Text input"},domProps:{value:e.user.email},on:{input:function(t){t.target.composing||e.$set(e.user,"email",t.target.value)}}})])])])])])],1)])},s=[function(){var e=this.$createElement,t=this._self._c||e;return t("header",{staticClass:"card-header"},[t("p",{staticClass:"card-header-title"},[this._v("My Children")])])}];r._withStripped=!0},"./resources/scripts/applications/home/ws/call.manager.ts":function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o}));var r=n("./node_modules/events/events.js");let s=null;class a{constructor(e){this.ws=e,this.emitter=new r.EventEmitter,this.peer={avatar:""},this.isHost=!1,this.books=[],this.currentActivity=null,this.inCall=!1,this.peerId=null,this.pc=null,this.remoteStream=new MediaStream}connectToCall(e,t,n){var r=this;return function(){var s,a;return regeneratorRuntime.async((function(o){for(;;)switch(o.prev=o.next){case 0:if(!r.inCall){o.next=2;break}throw new Error("Already connected to call");case 2:return r.callId=n,r.userId=e,console.log("connecting to call"),o.next=7,regeneratorRuntime.awrap(r.getUserMedia(t));case 7:return r.signalingChannel=r.ws.subscribe("call:"+r.callId),s=r.signalingChannel,a=r,o.abrupt("return",new Promise((e,t)=>{s.on("close",a.close.bind(a)),s.on("call:start",a.onCallStart.bind(a)),s.on("call:standby",a.onCallStandby.bind(a)),s.on("wrtc:sdp:offer",a.onRemoteOffer.bind(a)),s.on("wrtc:sdp:answer",a.onRemoteAnswer.bind(a)),s.on("wrtc:ice",a.onRemoteIce.bind(a)),s.on("book:action:flip-page",a.onActionBookFlip.bind(a)),s.on("call:host:changed",a.onRemoteHostChanged.bind(a)),s.on("call:view:lobby",a.onRemoteViewLobby.bind(a)),s.on("call:view:book",a.onRemoteViewBook.bind(a)),s.on("error",t=>{console.error(t),e(!1)}),s.on("ready",()=>{console.log("in Ready"),a.inCall=!0,e(!0)})}));case 11:case"end":return o.stop()}}),null,null,null,Promise)}()}on(e,t){this.emitter.on(e,t)}removeListener(e,t){this.emitter.removeListener(e,t)}emit(e,t){this.emitter.emit(e,t)}send(e,t){console.log("Sending event: "+e),this.signalingChannel.emit(e,{userId:this.userId,peerId:this.peerId,...t})}onCallStart(e){var t,n=this;return regeneratorRuntime.async((function(r){for(;;)switch(r.prev=r.next){case 0:return console.log("onCallStart"),console.log(e),n.peerId=e.peerId,n.books=e.books,n.isHost=n.userId===e.hostId,n.pc=new RTCPeerConnection({iceServers:e.iceServers}),n.child=e.child,e.users.forEach(e=>{e.id===n.peerId&&(n.peer=e)}),n.emit(o.CALL_HOST_CHANGED,{hostId:e.hostId}),console.log("Created PeerConnection"),console.log("adding tracks to pc"),n.localStream.getTracks().forEach(e=>n.pc.addTrack(e,n.localStream)),n.setupPeerConnectionListeners(),r.next=15,regeneratorRuntime.awrap(n.pc.createOffer());case 15:return t=r.sent,r.next=18,regeneratorRuntime.awrap(n.pc.setLocalDescription(t));case 18:return console.log("Local description Set",t.sdp),n.send("wrtc:sdp:offer",{sdp:t}),r.abrupt("return",!0);case 21:case"end":return r.stop()}}),null,null,null,Promise)}onCallStandby(e){var t=this;return regeneratorRuntime.async((function(n){for(;;)switch(n.prev=n.next){case 0:return console.log("onCallStandby"),console.log(e),t.peerId=e.peerId,t.books=e.books,t.isHost=t.userId===e.hostId,t.pc=new RTCPeerConnection({iceServers:e.iceServers}),t.child=e.child,e.users.forEach(e=>{e.id===t.peerId&&(t.peer=e)}),t.emit(o.CALL_HOST_CHANGED,{hostId:e.hostId}),console.log("Created PeerConnection"),console.log("adding tracks to pc"),t.localStream.getTracks().forEach(e=>t.pc.addTrack(e,t.localStream)),t.setupPeerConnectionListeners(),n.abrupt("return",!0);case 14:case"end":return n.stop()}}),null,null,null,Promise)}selectBook(e,t){this.currentActivity=this.books[e],console.log("-------\x3e Selected Book ",e,"bookId:",this.currentActivity.id),t||this.send("call:view:book",{bookId:this.currentActivity.id})}backToLobby(){console.log("-------\x3e backToLobby"),this.emitter.removeAllListeners(o.ACTION_BOOK_FLIP),this.send("call:view:lobby",{})}setupPeerConnectionListeners(){this.pc.addEventListener("icecandidate",this.onLocalIce.bind(this)),this.pc.addEventListener("connectionstatechange",e=>{console.log("PC Connection state: "+this.pc.connectionState)}),this.pc.addEventListener("iceconnectionstatechange",e=>{console.log("iceconnectionstatechange"),console.log(this.pc.iceConnectionState)}),this.pc.addEventListener("track",e=>regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:console.log("On remote track!"),this.remoteStream.addTrack(e.track);case 2:case"end":return t.stop()}}),null,this,null,Promise)),this.pc.addEventListener("icegatheringstatechange",e=>{console.log("icegatheringstatechange",this.pc.iceGatheringState)})}onLocalIce(e){e.candidate&&(console.log("Sending candidate"),this.send("wrtc:ice",{ice:e.candidate}))}onRemoteOffer(e){var t,n,r=this;return regeneratorRuntime.async((function(s){for(;;)switch(s.prev=s.next){case 0:return t=new RTCSessionDescription(e.sdp),s.next=3,regeneratorRuntime.awrap(r.pc.setRemoteDescription(t));case 3:return console.log("Remote offer Set",t.sdp),s.next=6,regeneratorRuntime.awrap(r.pc.createAnswer());case 6:return n=s.sent,r.send("wrtc:sdp:answer",{sdp:n}),s.next=10,regeneratorRuntime.awrap(r.pc.setLocalDescription(n));case 10:return console.log("Local answer Set",n.sdp),s.abrupt("return",!0);case 12:case"end":return s.stop()}}),null,null,null,Promise)}onRemoteAnswer(e){var t,n=this;return regeneratorRuntime.async((function(r){for(;;)switch(r.prev=r.next){case 0:return t=new RTCSessionDescription(e.sdp),r.next=3,regeneratorRuntime.awrap(n.pc.setRemoteDescription(t));case 3:return console.log("Remote answer Set",t.sdp),r.abrupt("return",!0);case 5:case"end":return r.stop()}}),null,null,null,Promise)}onRemoteIce(e){var t,n=this;return regeneratorRuntime.async((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.ice,r.next=3,regeneratorRuntime.awrap(n.pc.addIceCandidate(t));case 3:return r.abrupt("return",!0);case 4:case"end":return r.stop()}}),null,null,null,Promise)}getUserMedia(e={video:!0,audio:!0}){var t=this;return regeneratorRuntime.async((function(n){for(;;)switch(n.prev=n.next){case 0:if(!t.localStream){n.next=2;break}return n.abrupt("return",t.localStream);case 2:return n.next=4,regeneratorRuntime.awrap(navigator.mediaDevices.getUserMedia(e));case 4:return t.localStream=n.sent,n.abrupt("return",t.localStream);case 6:case"end":return n.stop()}}),null,null,null,Promise)}getRemoteStream(){return this.remoteStream}onActionBookFlip(e){this.emit(o.ACTION_BOOK_FLIP,e)}changeHost(){this.send("call:host:changed",{})}onRemoteHostChanged(e){this.isHost=this.userId===e.hostId,this.emit(o.CALL_HOST_CHANGED,e)}onRemoteViewLobby(e){this.emitter.removeAllListeners(o.ACTION_BOOK_FLIP),this.emit(o.CALL_VIEW_LOBBY,null)}onRemoteViewBook(e){this.emit(o.CALL_VIEW_BOOK,e)}close(){this.inCall&&(console.log("Closing..."),this.emit(o.CLOSE,this.callId),this.signalingChannel&&this.signalingChannel.close(),this.signalingChannel=null,this.pc&&this.pc.close(),this.localStream&&this.localStream.getTracks().forEach(e=>e.stop()),this.localStream=null,this.remoteStream=null,this.emitter.removeAllListeners(),this.inCall=!1,s=null)}}var o;!function(e){e.CLOSE="CLOSE",e.REMOTE_STREAM="REMOTE_STREAM",e.ACTION_BOOK_FLIP="ACTION_BOOK_FLIP",e.CALL_HOST_CHANGED="CALL_HOST_CHANGED",e.CALL_VIEW_LOBBY="CALL_VIEW_LOBBY",e.CALL_VIEW_BOOK="CALL_VIEW_BOOK"}(o||(o={}))},"./resources/scripts/applications/home/ws/websocket.service.ts":function(e,t,n){"use strict";var r=n("./node_modules/@adonisjs/websocket-client/dist/Ws.browser.js"),s=n.n(r);let a=null;class o{constructor(e){this.ws=e,this.subscription=null}connect(){var e=this;return function(){var t,n;return regeneratorRuntime.async((function(r){for(;;)switch(r.prev=r.next){case 0:return e.subscription=e.ws.subscribe("user_channel"),t=e.subscription,n=e,r.abrupt("return",new Promise((e,r)=>{t.on("error",()=>{e(!1)}),t.on("ready",()=>{e(!0)}),t.on("close",n.close)}));case 4:case"end":return r.stop()}}),null,null,null,Promise)}()}on(e,t){this.subscription&&this.subscription.on(e,t)}static getInstance(e){return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:if(!a){t.next=2;break}return t.abrupt("return",a);case 2:return a=new o(e),t.abrupt("return",a);case 4:case"end":return t.stop()}}),null,null,null,Promise)}close(){this.subscription.close(),a=null}}var i=n("./node_modules/events/events.js"),d=n("./resources/scripts/applications/home/ws/call.manager.ts");let l=null;var u;!function(e){e[e.NEW_CONNECTION=0]="NEW_CONNECTION",e[e.CONNECTION_ONLINE=1]="CONNECTION_ONLINE",e[e.CONNECTION_OFFLINE=2]="CONNECTION_OFFLINE",e[e.INCOMING_CALL=3]="INCOMING_CALL"}(u||(u={}));let c=(()=>{class e{constructor(e,t){this.ws=e,this.userChannelService=t,this.emitter=new i.EventEmitter,this.userChannelService.on("new:connection",this.onUserNewConnection.bind(this)),this.userChannelService.on("connection:online",this.onUserConnectionOnline.bind(this)),this.userChannelService.on("connection:offline",this.onUserConnectionOffline.bind(this)),this.userChannelService.on("call:incoming",this.onIncomingCall.bind(this)),this.callManager=new d.b(this)}on(e,t){this.emitter.on(e,t)}removeListener(e,t){this.emitter.removeListener(e,t)}subscribe(e){const t=this.ws.subscribe(e);return console.log(t),t}onIncomingCall(e){this.emitter.emit(u.INCOMING_CALL,e)}onUserNewConnection(e){this.emitter.emit(u.NEW_CONNECTION,e)}onUserConnectionOnline(e){this.emitter.emit(u.CONNECTION_ONLINE,e)}onUserConnectionOffline(e){this.emitter.emit(u.CONNECTION_OFFLINE,e)}static getInstance(){return new Promise((t,n)=>{if(l)return t(l);const r=s()("",{path:"connect"});r.connect(),r.on("open",()=>{var n,s;return regeneratorRuntime.async((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,regeneratorRuntime.awrap(o.getInstance(r));case 2:return n=a.sent,a.next=5,regeneratorRuntime.awrap(n.connect());case 5:s=a.sent,console.log("Connected to user socket:",s),l=new e(r,n),t(l);case 9:case"end":return a.stop()}}),null,null,null,Promise)}),r.on("error",e=>{console.log(e),n(new Error("Failed to connect"))}),r.on("close",e=>{console.log("Socket Closed")})})}}return e.Events=u,e})();t.a=c},"./resources/scripts/applications/services/index.ts":function(e,t,n){"use strict";const r={ApiService:class{static getUser(e){return regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,regeneratorRuntime.awrap(fetch("/api/v1/client/user/"));case 3:return e.abrupt("return",e.sent.json());case 6:return e.prev=6,e.t0=e.catch(0),console.error("getUser ERROR: "+e.t0.message),e.abrupt("return",e.t0);case 10:case"end":return e.stop()}}),null,null,[[0,6]],Promise)}static getAllUsers(){return regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,regeneratorRuntime.awrap(fetch("/api/v1/admin/users"));case 3:return e.abrupt("return",e.sent.json());case 6:return e.prev=6,e.t0=e.catch(0),console.error("getAllUsers ERROR: "+e.t0.message),e.abrupt("return",e.t0);case 10:case"end":return e.stop()}}),null,null,[[0,6]],Promise)}static getChild(e){return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,regeneratorRuntime.awrap(fetch("/api/v1/client/child/"+e));case 3:return t.abrupt("return",t.sent.json());case 6:return t.prev=6,t.t0=t.catch(0),console.error("getChild ERROR: "+t.t0.message),t.abrupt("return",t.t0);case 10:case"end":return t.stop()}}),null,null,[[0,6]],Promise)}static createConnection(e){return regeneratorRuntime.async((function(n){for(;;)switch(n.prev=n.next){case 0:return t={method:"POST",body:JSON.stringify(e),headers:{"Content-Type":"application/json"}},n.prev=1,n.next=4,regeneratorRuntime.awrap(fetch("/api/v1/client/connections/create",t));case 4:return n.abrupt("return",n.sent.json());case 7:return n.prev=7,n.t0=n.catch(1),console.error("createConnection ERROR: "+n.t0.message),n.abrupt("return",n.t0);case 11:case"end":return n.stop()}}),null,null,[[1,7]],Promise);var t}static updateChildCover(e,t){return regeneratorRuntime.async((function(s){for(;;)switch(s.prev=s.next){case 0:return n={method:"POST",body:JSON.stringify({profile_cover:t}),headers:{"Content-Type":"application/json"}},s.prev=1,s.next=4,regeneratorRuntime.awrap(fetch(`/api/v1/client/child/${e}/profile/cover`,n));case 4:return r=s.sent,console.log(r),s.abrupt("return",r.json());case 9:return s.prev=9,s.t0=s.catch(1),console.error("updateChildCover ERROR: "+s.t0.message),s.abrupt("return",!1);case 13:case"end":return s.stop()}}),null,null,[[1,9]],Promise);var n,r}static createCall(e){return regeneratorRuntime.async((function(r){for(;;)switch(r.prev=r.next){case 0:return t={method:"POST",body:JSON.stringify(e),headers:{"Content-Type":"application/json"}},r.prev=1,r.next=4,regeneratorRuntime.awrap(fetch("/api/v1/client/call/create",t));case 4:return n=r.sent,r.abrupt("return",n.json());case 8:return r.prev=8,r.t0=r.catch(1),console.error("createCall ERROR: "+r.t0.message),r.abrupt("return",!1);case 12:case"end":return r.stop()}}),null,null,[[1,8]],Promise);var t,n}static createChild(e,t,n){return regeneratorRuntime.async((function(a){for(;;)switch(a.prev=a.next){case 0:return r={method:"POST",body:JSON.stringify({name:e,dob:t,avatar:n}),headers:{"Content-Type":"application/json"}},a.prev=1,a.next=4,regeneratorRuntime.awrap(fetch("/api/v1/client/child/",r));case 4:return s=a.sent,console.log(s),a.abrupt("return",s.json());case 9:return a.prev=9,a.t0=a.catch(1),console.error("createChild ERROR: "+a.t0.message),a.abrupt("return",!1);case 13:case"end":return a.stop()}}),null,null,[[1,9]],Promise);var r,s}}};t.a=r},"./resources/scripts/applications/shared/components/FileSelect/FileSelect.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/shared/components/FileSelect/FileSelect.vue?vue&type=template&id=46c93e93&"),s=n("./resources/scripts/applications/shared/components/FileSelect/FileSelect.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("46c93e93")?i.reload("46c93e93",o.options):i.createRecord("46c93e93",o.options),e.hot.accept("./resources/scripts/applications/shared/components/FileSelect/FileSelect.vue?vue&type=template&id=46c93e93&",function(e){r=n("./resources/scripts/applications/shared/components/FileSelect/FileSelect.vue?vue&type=template&id=46c93e93&"),i.rerender("46c93e93",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/shared/components/FileSelect/FileSelect.vue",t.a=o.exports},"./resources/scripts/applications/shared/components/FileSelect/FileSelect.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";const r=e=>new Promise((t,n)=>{const r=new FileReader;r.readAsDataURL(e),r.onload=()=>t(r.result),r.onerror=e=>n(e)});var s={props:["accept","lable"],data:()=>({filename:null}),created(){this.filename=null},methods:{handleFileChange(e){var t=this;return regeneratorRuntime.async((function(n){for(;;)switch(n.prev=n.next){case 0:return n.t0=t,n.next=3,regeneratorRuntime.awrap(r(e.target.files[0]));case 3:n.t1=n.sent,n.t0.$emit.call(n.t0,"input",n.t1),t.filename=e.target.files[0];case 6:case"end":return n.stop()}}),null,null,null,Promise)}}};t.a=s},"./resources/scripts/applications/shared/components/FileSelect/FileSelect.vue?vue&type=template&id=46c93e93&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"field"},[n("label",{staticClass:"label"},[e._v(e._s(e.lable))]),e._v(" "),n("div",{staticClass:"control"},[n("label",{staticClass:"button"},[e._v("\n Select File\n "),e._v(" "),n("input",{staticClass:"is-hidden",attrs:{type:"file",accept:e.accept},on:{change:e.handleFileChange}})]),e._v(" "),e.filename?n("span",[e._v(e._s(e.filename.name))]):e._e()])])},s=[];r._withStripped=!0},"./resources/scripts/applications/shared/components/Loading/Loading.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/shared/components/Loading/Loading.vue?vue&type=template&id=c18e6166&"),s=n("./resources/scripts/applications/shared/components/Loading/Loading.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("c18e6166")?i.reload("c18e6166",o.options):i.createRecord("c18e6166",o.options),e.hot.accept("./resources/scripts/applications/shared/components/Loading/Loading.vue?vue&type=template&id=c18e6166&",function(e){r=n("./resources/scripts/applications/shared/components/Loading/Loading.vue?vue&type=template&id=c18e6166&"),i.rerender("c18e6166",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/shared/components/Loading/Loading.vue",t.a=o.exports},"./resources/scripts/applications/shared/components/Loading/Loading.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";t.a={}},"./resources/scripts/applications/shared/components/Loading/Loading.vue?vue&type=template&id=c18e6166&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this.$createElement;this._self._c;return this._m(0)},s=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"wrapper is-fullheight"},[t("div",{staticClass:"css-loader"},[t("div",{staticClass:"dot"}),this._v(" "),t("div",{staticClass:"dot delay-1"}),this._v(" "),t("div",{staticClass:"dot delay-2"})])])}];r._withStripped=!0},"./resources/scripts/applications/shared/components/Modal/Modal.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/shared/components/Modal/Modal.vue?vue&type=template&id=1625ddaf&"),s=n("./resources/scripts/applications/shared/components/Modal/Modal.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("1625ddaf")?i.reload("1625ddaf",o.options):i.createRecord("1625ddaf",o.options),e.hot.accept("./resources/scripts/applications/shared/components/Modal/Modal.vue?vue&type=template&id=1625ddaf&",function(e){r=n("./resources/scripts/applications/shared/components/Modal/Modal.vue?vue&type=template&id=1625ddaf&"),i.rerender("1625ddaf",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/shared/components/Modal/Modal.vue",t.a=o.exports},"./resources/scripts/applications/shared/components/Modal/Modal.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r={props:["title","isActive","acceptText","rejectText"],data(){return{showTitle:!!this.title,showButtons:this.acceptText||this.rejectText}},methods:{close(){this.$emit("close")}}};t.a=r},"./resources/scripts/applications/shared/components/Modal/Modal.vue?vue&type=template&id=1625ddaf&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[e.isActive?n("div",{class:["modal",{"is-active":!!e.isActive}]},[n("div",{staticClass:"modal-background",on:{click:function(t){return e.close()}}}),e._v(" "),n("div",{staticClass:"modal-card"},[e.showTitle?n("header",{staticClass:"modal-card-head"},[n("p",{staticClass:"modal-card-title"},[e._v(e._s(e.title))]),e._v(" "),n("button",{staticClass:"delete",attrs:{"aria-label":"close"},on:{click:function(t){return e.close()}}})]):e._e(),e._v(" "),n("section",{staticClass:"modal-card-body"},[e._t("default")],2),e._v(" "),e.showButtons?n("footer",{staticClass:"modal-card-foot"},[e.acceptText?n("button",{staticClass:"button is-success",on:{click:function(t){return e.$emit("accept")}}},[e._v(e._s(e.acceptText))]):e._e(),e._v(" "),e.rejectText?n("button",{staticClass:"button",on:{click:function(t){return e.close()}}},[e._v(e._s(e.rejectText))]):e._e()]):e._e()])]):e._e()])},s=[];r._withStripped=!0},"./resources/scripts/applications/shared/components/Notification.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/shared/components/Notification.vue?vue&type=template&id=7fc5b0d2&"),s=n("./resources/scripts/applications/shared/components/Notification.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("7fc5b0d2")?i.reload("7fc5b0d2",o.options):i.createRecord("7fc5b0d2",o.options),e.hot.accept("./resources/scripts/applications/shared/components/Notification.vue?vue&type=template&id=7fc5b0d2&",function(e){r=n("./resources/scripts/applications/shared/components/Notification.vue?vue&type=template&id=7fc5b0d2&"),i.rerender("7fc5b0d2",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/shared/components/Notification.vue",t.a=o.exports},"./resources/scripts/applications/shared/components/Notification.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r={name:"Notification",props:["notification"],mounted(){this.ready=!0},data:()=>({ready:!1}),methods:{close(){this.$emit("onClose")}}};t.a=r},"./resources/scripts/applications/shared/components/Notification.vue?vue&type=template&id=7fc5b0d2&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[e.ready?n("div",{class:["notification","is-light","is-"+(e.notification.level||"info")]},[n("button",{staticClass:"delete",on:{click:function(t){return e.close()}}}),e._v("\n "+e._s(e.notification.message)+"\n ")]):e._e()])},s=[];r._withStripped=!0},"./resources/scripts/applications/shared/components/TopNavbar.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/shared/components/TopNavbar.vue?vue&type=template&id=ff71a66e&"),s=n("./resources/scripts/applications/shared/components/TopNavbar.vue?vue&type=script&lang=ts&"),a=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),o=Object(a.a)(s.a,r.render,r.staticRenderFns,!1,null,null,null),i=n("./node_modules/vue-hot-reload-api/dist/index.js");i.install(n("./node_modules/vue/dist/vue.esm.js")),i.compatible&&(e.hot.accept(),i.isRecorded("ff71a66e")?i.reload("ff71a66e",o.options):i.createRecord("ff71a66e",o.options),e.hot.accept("./resources/scripts/applications/shared/components/TopNavbar.vue?vue&type=template&id=ff71a66e&",function(e){r=n("./resources/scripts/applications/shared/components/TopNavbar.vue?vue&type=template&id=ff71a66e&"),i.rerender("ff71a66e",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),o.options.__file="resources/scripts/applications/shared/components/TopNavbar.vue",t.a=o.exports},"./resources/scripts/applications/shared/components/TopNavbar.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r=n("./node_modules/vuex/dist/vuex.esm.js"),s=n("./resources/scripts/applications/home/ws/call.manager.ts"),a={name:"TobNavbar",props:["ws"],components:{Modal:n("./resources/scripts/applications/shared/components/Modal/Modal.vue").a},watch:{ws(e,t){null!=e&&(this.callManager=this.ws.callManager)}},created:()=>regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),null,null,null,Promise),updated(){this.inCall||(this.subscribedToLobbyEvents=!1)},data:()=>({showConfirmEndCall:!1,showMenu:!1,subscribedToLobbyEvents:!1,callManager:null}),computed:{host(){return this.inCall?(this.subscribedToLobbyEvents||(console.log("TopNav subscribe to back_to_lobby"),this.subscribedToLobbyEvents=!0,this.callManager.on(s.a.CALL_VIEW_LOBBY,this.remoteBackToLobby.bind(this))),this.callManager.isHost?this.user:this.callManager.peer):null},...Object(r.d)(["user","inCall"])},methods:{onConfirmedEndCall(){this.showConfirmEndCall=!1,this.$router.replace({path:"/"})},changeHost(){this.callManager.changeHost()},backToLobby(e){this.callManager.backToLobby(),this.$router.replace({path:"/call/"+this.callManager.callId})},remoteBackToLobby(e){this.$router.replace({path:"/call/"+this.callManager.callId})},...Object(r.c)([])}};t.a=a},"./resources/scripts/applications/shared/components/TopNavbar.vue?vue&type=template&id=ff71a66e&":function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return s}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("Modal",{attrs:{title:"Are You Sure?",isActive:e.showConfirmEndCall,acceptText:"End",rejectText:"Cancel"},on:{accept:function(t){return e.onConfirmedEndCall()},close:function(t){e.showConfirmEndCall=!1}}},[n("p",[e._v("End Call?")])]),e._v(" "),n("nav",{staticClass:"navbar",attrs:{role:"navigation","aria-label":"main navigation"}},[n("div",{staticClass:"navbar-brand"},[e.inCall?e._e():n("router-link",{staticClass:"navbar-item",attrs:{to:"/",exact:""}},[n("strong",[e._v("Seepur")])]),e._v(" "),n("a",{staticClass:"navbar-burger burger",attrs:{id:"menu-button",role:"button","aria-label":"menu","aria-expanded":"false","data-target":"navbarBasicExample"},on:{click:function(t){e.showMenu=!e.showMenu}}},[n("span",{attrs:{"aria-hidden":"true"}}),e._v(" "),n("span",{attrs:{"aria-hidden":"true"}}),e._v(" "),n("span",{attrs:{"aria-hidden":"true"}})])],1),e._v(" "),n("div",{class:["navbar-menu",{"is-active":e.showMenu}],attrs:{id:"nav-menu"}},[n("div",{staticClass:"navbar-start"},[e.inCall?e._e():n("router-link",{staticClass:"navbar-item",attrs:{"active-class":"is-active",to:"/",exact:""}},[e._v("Home")]),e._v(" "),e.inCall?e._e():n("router-link",{staticClass:"navbar-item",attrs:{"active-class":"is-active",to:"/about",exact:""}},[e._v("About")]),e._v(" "),e.inCall?n("div",{staticClass:"navbar-item"},[n("div",{staticClass:"field is-grouped"},[n("p",{staticClass:"control"},[e.inCall?n("button",{staticClass:"button is-danger",on:{click:function(t){e.showConfirmEndCall=!0}}},[n("i",{staticClass:"fa fa-fw fa-times-circle-o"}),e._v(" End Call\n ")]):e._e()]),e._v(" "),n("p",{staticClass:"control"},[e.inCall&&"book"===e.$route.name?n("button",{staticClass:"button is-info",attrs:{append:"",replace:"",disabled:!e.callManager.isHost},on:{click:function(t){return e.backToLobby(!0)}}},[n("i",{staticClass:"fa fa-fw fa-arrow-circle-o-left"}),e._v(" Back\n ")]):e._e()])])]):e._e()],1),e._v(" "),n("div",{staticClass:"navbar-end"},[e.inCall?e._e():n("div",{staticClass:"navbar-item has-dropdown is-hoverable is-dark"},[n("a",{staticClass:"navbar-link"},[e._v(e._s(e.user.name))]),e._v(" "),n("div",{staticClass:"navbar-dropdown"},[n("router-link",{staticClass:"navbar-item",attrs:{"active-class":"is-active",to:"/settings",exact:""}},[e._v("Settings")]),e._v(" "),n("a",{staticClass:"navbar-item",attrs:{href:"/logout"}},[e._v("Logout")]),e._v(" "),e.user.is_admin?n("hr",{staticClass:"navbar-divider"}):e._e(),e._v(" "),e.user.is_admin?n("a",{staticClass:"navbar-item",attrs:{href:"/admin/"}},[e._v("Admin Settigns")]):e._e()],1)]),e._v(" "),e.inCall?n("div",{staticClass:"navbar-item"},[n("p",{staticClass:"control"},[n("button",{staticClass:"button",on:{click:function(t){return e.changeHost()}}},[n("i",{staticClass:"fa fa-fw fa-refresh"}),e._v(" Change Host\n ")])])]):e._e(),e._v(" "),e.inCall?n("div",{staticClass:"navbar-item"},[e._v("Current Host: "+e._s(e.host.name))]):e._e()])])])],1)},s=[];r._withStripped=!0}}); \ No newline at end of file diff --git a/public/scripts/components/navbar/app.bundle.js b/public/scripts/components/navbar/app.bundle.js index 185e5e5..cef643b 100644 --- a/public/scripts/components/navbar/app.bundle.js +++ b/public/scripts/components/navbar/app.bundle.js @@ -1 +1 @@ -!function(e){var n=window.webpackHotUpdate;window.webpackHotUpdate=function(e,r){!function(e,n){if(!_[e]||!O[e])return;for(var r in O[e]=!1,n)Object.prototype.hasOwnProperty.call(n,r)&&(h[r]=n[r]);0==--b&&0===m&&E()}(e,r),n&&n(e,r)};var r,t=!0,o="b0d6b8a28b7f7035a674",c={},i=[],d=[];function a(e){var n=H[e];if(!n)return k;var t=function(t){return n.hot.active?(H[t]?-1===H[t].parents.indexOf(e)&&H[t].parents.push(e):(i=[e],r=t),-1===n.children.indexOf(t)&&n.children.push(t)):(console.warn("[HMR] unexpected require("+t+") from disposed module "+e),i=[]),k(t)},o=function(e){return{configurable:!0,enumerable:!0,get:function(){return k[e]},set:function(n){k[e]=n}}};for(var c in k)Object.prototype.hasOwnProperty.call(k,c)&&"e"!==c&&"t"!==c&&Object.defineProperty(t,c,o(c));return t.e=function(e){return"ready"===l&&p("prepare"),m++,k.e(e).then(n,(function(e){throw n(),e}));function n(){m--,"prepare"===l&&(w[e]||D(e),0===m&&0===b&&E())}},t.t=function(e,n){return 1&n&&(e=t(e)),k.t(e,-2&n)},t}function s(n){var t={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:r!==n,active:!0,accept:function(e,n){if(void 0===e)t._selfAccepted=!0;else if("function"==typeof e)t._selfAccepted=e;else if("object"==typeof e)for(var r=0;r=0&&t._disposeHandlers.splice(n,1)},invalidate:function(){switch(this._selfInvalidated=!0,l){case"idle":(h={})[n]=e[n],p("ready");break;case"ready":x(n);break;case"prepare":case"check":case"dispose":case"apply":(y=y||[]).push(n)}},check:j,apply:I,status:function(e){if(!e)return l;u.push(e)},addStatusHandler:function(e){u.push(e)},removeStatusHandler:function(e){var n=u.indexOf(e);n>=0&&u.splice(n,1)},data:c[n]};return r=void 0,t}var u=[],l="idle";function p(e){l=e;for(var n=0;n0;){var o=t.pop(),c=o.id,i=o.chain;if((u=H[c])&&(!u.hot._selfAccepted||u.hot._selfInvalidated)){if(u.hot._selfDeclined)return{type:"self-declined",chain:i,moduleId:c};if(u.hot._main)return{type:"unaccepted",chain:i,moduleId:c};for(var d=0;d ")),E.type){case"self-declined":t.onDeclined&&t.onDeclined(E),t.ignoreDeclined||(I=new Error("Aborted because of self decline: "+E.moduleId+A));break;case"declined":t.onDeclined&&t.onDeclined(E),t.ignoreDeclined||(I=new Error("Aborted because of declined dependency: "+E.moduleId+" in "+E.parentId+A));break;case"unaccepted":t.onUnaccepted&&t.onUnaccepted(E),t.ignoreUnaccepted||(I=new Error("Aborted because "+l+" is not accepted"+A));break;case"accepted":t.onAccepted&&t.onAccepted(E),x=!0;break;case"disposed":t.onDisposed&&t.onDisposed(E),M=!0;break;default:throw new Error("Unexception type "+E.type)}if(I)return p("abort"),Promise.reject(I);if(x)for(l in O[l]=h[l],b(w,E.outdatedModules),E.outdatedDependencies)Object.prototype.hasOwnProperty.call(E.outdatedDependencies,l)&&(m[l]||(m[l]=[]),b(m[l],E.outdatedDependencies[l]));M&&(b(w,[E.moduleId]),O[l]=j)}var S,U=[];for(a=0;a0;)if(l=R.pop(),u=H[l]){var T={},C=u.hot._disposeHandlers;for(s=0;s=0&&B.parents.splice(S,1))}}for(l in m)if(Object.prototype.hasOwnProperty.call(m,l)&&(u=H[l]))for(L=m[l],s=0;s=0&&u.children.splice(S,1);p("apply"),void 0!==v&&(o=v,v=void 0);for(l in h=void 0,O)Object.prototype.hasOwnProperty.call(O,l)&&(e[l]=O[l]);var N=null;for(l in m)if(Object.prototype.hasOwnProperty.call(m,l)&&(u=H[l])){L=m[l];var X=[];for(a=0;a{n.classList.toggle("is-active")}}()}))}}); \ No newline at end of file +!function(e){var n=window.webpackHotUpdate;window.webpackHotUpdate=function(e,r){!function(e,n){if(!_[e]||!O[e])return;for(var r in O[e]=!1,n)Object.prototype.hasOwnProperty.call(n,r)&&(h[r]=n[r]);0==--b&&0===m&&E()}(e,r),n&&n(e,r)};var r,t=!0,o="ccde1d191124182f52be",c={},i=[],d=[];function a(e){var n=H[e];if(!n)return k;var t=function(t){return n.hot.active?(H[t]?-1===H[t].parents.indexOf(e)&&H[t].parents.push(e):(i=[e],r=t),-1===n.children.indexOf(t)&&n.children.push(t)):(console.warn("[HMR] unexpected require("+t+") from disposed module "+e),i=[]),k(t)},o=function(e){return{configurable:!0,enumerable:!0,get:function(){return k[e]},set:function(n){k[e]=n}}};for(var c in k)Object.prototype.hasOwnProperty.call(k,c)&&"e"!==c&&"t"!==c&&Object.defineProperty(t,c,o(c));return t.e=function(e){return"ready"===l&&p("prepare"),m++,k.e(e).then(n,(function(e){throw n(),e}));function n(){m--,"prepare"===l&&(w[e]||D(e),0===m&&0===b&&E())}},t.t=function(e,n){return 1&n&&(e=t(e)),k.t(e,-2&n)},t}function s(n){var t={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:r!==n,active:!0,accept:function(e,n){if(void 0===e)t._selfAccepted=!0;else if("function"==typeof e)t._selfAccepted=e;else if("object"==typeof e)for(var r=0;r=0&&t._disposeHandlers.splice(n,1)},invalidate:function(){switch(this._selfInvalidated=!0,l){case"idle":(h={})[n]=e[n],p("ready");break;case"ready":x(n);break;case"prepare":case"check":case"dispose":case"apply":(y=y||[]).push(n)}},check:j,apply:I,status:function(e){if(!e)return l;u.push(e)},addStatusHandler:function(e){u.push(e)},removeStatusHandler:function(e){var n=u.indexOf(e);n>=0&&u.splice(n,1)},data:c[n]};return r=void 0,t}var u=[],l="idle";function p(e){l=e;for(var n=0;n0;){var o=t.pop(),c=o.id,i=o.chain;if((u=H[c])&&(!u.hot._selfAccepted||u.hot._selfInvalidated)){if(u.hot._selfDeclined)return{type:"self-declined",chain:i,moduleId:c};if(u.hot._main)return{type:"unaccepted",chain:i,moduleId:c};for(var d=0;d ")),E.type){case"self-declined":t.onDeclined&&t.onDeclined(E),t.ignoreDeclined||(I=new Error("Aborted because of self decline: "+E.moduleId+A));break;case"declined":t.onDeclined&&t.onDeclined(E),t.ignoreDeclined||(I=new Error("Aborted because of declined dependency: "+E.moduleId+" in "+E.parentId+A));break;case"unaccepted":t.onUnaccepted&&t.onUnaccepted(E),t.ignoreUnaccepted||(I=new Error("Aborted because "+l+" is not accepted"+A));break;case"accepted":t.onAccepted&&t.onAccepted(E),x=!0;break;case"disposed":t.onDisposed&&t.onDisposed(E),M=!0;break;default:throw new Error("Unexception type "+E.type)}if(I)return p("abort"),Promise.reject(I);if(x)for(l in O[l]=h[l],b(w,E.outdatedModules),E.outdatedDependencies)Object.prototype.hasOwnProperty.call(E.outdatedDependencies,l)&&(m[l]||(m[l]=[]),b(m[l],E.outdatedDependencies[l]));M&&(b(w,[E.moduleId]),O[l]=j)}var S,U=[];for(a=0;a0;)if(l=R.pop(),u=H[l]){var T={},C=u.hot._disposeHandlers;for(s=0;s=0&&B.parents.splice(S,1))}}for(l in m)if(Object.prototype.hasOwnProperty.call(m,l)&&(u=H[l]))for(L=m[l],s=0;s=0&&u.children.splice(S,1);p("apply"),void 0!==v&&(o=v,v=void 0);for(l in h=void 0,O)Object.prototype.hasOwnProperty.call(O,l)&&(e[l]=O[l]);var N=null;for(l in m)if(Object.prototype.hasOwnProperty.call(m,l)&&(u=H[l])){L=m[l];var X=[];for(a=0;a{n.classList.toggle("is-active")}}()}))}}); \ No newline at end of file diff --git a/public/scripts/views/register/app.bundle.js b/public/scripts/views/register/app.bundle.js index 92921a2..e785486 100644 --- a/public/scripts/views/register/app.bundle.js +++ b/public/scripts/views/register/app.bundle.js @@ -1 +1 @@ -!function(e){var n=window.webpackHotUpdate;window.webpackHotUpdate=function(e,r){!function(e,n){if(!O[e]||!w[e])return;for(var r in w[e]=!1,n)Object.prototype.hasOwnProperty.call(n,r)&&(h[r]=n[r]);0==--m&&0===b&&D()}(e,r),n&&n(e,r)};var r,t=!0,o="b0d6b8a28b7f7035a674",i={},c=[],d=[];function a(e){var n=k[e];if(!n)return H;var t=function(t){return n.hot.active?(k[t]?-1===k[t].parents.indexOf(e)&&k[t].parents.push(e):(c=[e],r=t),-1===n.children.indexOf(t)&&n.children.push(t)):(console.warn("[HMR] unexpected require("+t+") from disposed module "+e),c=[]),H(t)},o=function(e){return{configurable:!0,enumerable:!0,get:function(){return H[e]},set:function(n){H[e]=n}}};for(var i in H)Object.prototype.hasOwnProperty.call(H,i)&&"e"!==i&&"t"!==i&&Object.defineProperty(t,i,o(i));return t.e=function(e){return"ready"===u&&p("prepare"),b++,H.e(e).then(n,(function(e){throw n(),e}));function n(){b--,"prepare"===u&&(g[e]||j(e),0===b&&0===m&&D())}},t.t=function(e,n){return 1&n&&(e=t(e)),H.t(e,-2&n)},t}function s(n){var t={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:r!==n,active:!0,accept:function(e,n){if(void 0===e)t._selfAccepted=!0;else if("function"==typeof e)t._selfAccepted=e;else if("object"==typeof e)for(var r=0;r=0&&t._disposeHandlers.splice(n,1)},invalidate:function(){switch(this._selfInvalidated=!0,u){case"idle":(h={})[n]=e[n],p("ready");break;case"ready":P(n);break;case"prepare":case"check":case"dispose":case"apply":(y=y||[]).push(n)}},check:E,apply:I,status:function(e){if(!e)return u;l.push(e)},addStatusHandler:function(e){l.push(e)},removeStatusHandler:function(e){var n=l.indexOf(e);n>=0&&l.splice(n,1)},data:i[n]};return r=void 0,t}var l=[],u="idle";function p(e){u=e;for(var n=0;n0;){var o=t.pop(),i=o.id,c=o.chain;if((l=k[i])&&(!l.hot._selfAccepted||l.hot._selfInvalidated)){if(l.hot._selfDeclined)return{type:"self-declined",chain:c,moduleId:i};if(l.hot._main)return{type:"unaccepted",chain:c,moduleId:i};for(var d=0;d ")),D.type){case"self-declined":t.onDeclined&&t.onDeclined(D),t.ignoreDeclined||(I=new Error("Aborted because of self decline: "+D.moduleId+A));break;case"declined":t.onDeclined&&t.onDeclined(D),t.ignoreDeclined||(I=new Error("Aborted because of declined dependency: "+D.moduleId+" in "+D.parentId+A));break;case"unaccepted":t.onUnaccepted&&t.onUnaccepted(D),t.ignoreUnaccepted||(I=new Error("Aborted because "+u+" is not accepted"+A));break;case"accepted":t.onAccepted&&t.onAccepted(D),P=!0;break;case"disposed":t.onDisposed&&t.onDisposed(D),M=!0;break;default:throw new Error("Unexception type "+D.type)}if(I)return p("abort"),Promise.reject(I);if(P)for(u in w[u]=h[u],m(g,D.outdatedModules),D.outdatedDependencies)Object.prototype.hasOwnProperty.call(D.outdatedDependencies,u)&&(b[u]||(b[u]=[]),m(b[u],D.outdatedDependencies[u]));M&&(m(g,[D.moduleId]),w[u]=E)}var S,U=[];for(a=0;a0;)if(u=L.pop(),l=k[u]){var R={},T=l.hot._disposeHandlers;for(s=0;s=0&&C.parents.splice(S,1))}}for(u in b)if(Object.prototype.hasOwnProperty.call(b,u)&&(l=k[u]))for(B=b[u],s=0;s=0&&l.children.splice(S,1);p("apply"),void 0!==v&&(o=v,v=void 0);for(u in h=void 0,w)Object.prototype.hasOwnProperty.call(w,u)&&(e[u]=w[u]);var N=null;for(u in b)if(Object.prototype.hasOwnProperty.call(b,u)&&(l=k[u])){B=b[u];var X=[];for(a=0;a{let e=!1,n=!1;const r=document.getElementById("form-register"),t=document.getElementById("txt-register-password"),o=document.getElementById("txt-register-confirm-password"),i=document.getElementById("chk-register-terms"),c=document.getElementById("btn-register-submit");function d(){e=r.checkValidity()&&n&&i.checked,c.disabled=!e,i.value=i.checked?"on":""}t&&o&&i||alert("Something Went wrong"),r.oninput=e=>{n=t.value===o.value&&!!t.value.trim().length,d()},d()})}}); \ No newline at end of file +!function(e){var n=window.webpackHotUpdate;window.webpackHotUpdate=function(e,r){!function(e,n){if(!O[e]||!w[e])return;for(var r in w[e]=!1,n)Object.prototype.hasOwnProperty.call(n,r)&&(h[r]=n[r]);0==--m&&0===b&&D()}(e,r),n&&n(e,r)};var r,t=!0,o="ccde1d191124182f52be",i={},c=[],d=[];function a(e){var n=k[e];if(!n)return H;var t=function(t){return n.hot.active?(k[t]?-1===k[t].parents.indexOf(e)&&k[t].parents.push(e):(c=[e],r=t),-1===n.children.indexOf(t)&&n.children.push(t)):(console.warn("[HMR] unexpected require("+t+") from disposed module "+e),c=[]),H(t)},o=function(e){return{configurable:!0,enumerable:!0,get:function(){return H[e]},set:function(n){H[e]=n}}};for(var i in H)Object.prototype.hasOwnProperty.call(H,i)&&"e"!==i&&"t"!==i&&Object.defineProperty(t,i,o(i));return t.e=function(e){return"ready"===u&&p("prepare"),b++,H.e(e).then(n,(function(e){throw n(),e}));function n(){b--,"prepare"===u&&(g[e]||j(e),0===b&&0===m&&D())}},t.t=function(e,n){return 1&n&&(e=t(e)),H.t(e,-2&n)},t}function s(n){var t={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:r!==n,active:!0,accept:function(e,n){if(void 0===e)t._selfAccepted=!0;else if("function"==typeof e)t._selfAccepted=e;else if("object"==typeof e)for(var r=0;r=0&&t._disposeHandlers.splice(n,1)},invalidate:function(){switch(this._selfInvalidated=!0,u){case"idle":(h={})[n]=e[n],p("ready");break;case"ready":P(n);break;case"prepare":case"check":case"dispose":case"apply":(y=y||[]).push(n)}},check:E,apply:I,status:function(e){if(!e)return u;l.push(e)},addStatusHandler:function(e){l.push(e)},removeStatusHandler:function(e){var n=l.indexOf(e);n>=0&&l.splice(n,1)},data:i[n]};return r=void 0,t}var l=[],u="idle";function p(e){u=e;for(var n=0;n0;){var o=t.pop(),i=o.id,c=o.chain;if((l=k[i])&&(!l.hot._selfAccepted||l.hot._selfInvalidated)){if(l.hot._selfDeclined)return{type:"self-declined",chain:c,moduleId:i};if(l.hot._main)return{type:"unaccepted",chain:c,moduleId:i};for(var d=0;d ")),D.type){case"self-declined":t.onDeclined&&t.onDeclined(D),t.ignoreDeclined||(I=new Error("Aborted because of self decline: "+D.moduleId+A));break;case"declined":t.onDeclined&&t.onDeclined(D),t.ignoreDeclined||(I=new Error("Aborted because of declined dependency: "+D.moduleId+" in "+D.parentId+A));break;case"unaccepted":t.onUnaccepted&&t.onUnaccepted(D),t.ignoreUnaccepted||(I=new Error("Aborted because "+u+" is not accepted"+A));break;case"accepted":t.onAccepted&&t.onAccepted(D),P=!0;break;case"disposed":t.onDisposed&&t.onDisposed(D),M=!0;break;default:throw new Error("Unexception type "+D.type)}if(I)return p("abort"),Promise.reject(I);if(P)for(u in w[u]=h[u],m(g,D.outdatedModules),D.outdatedDependencies)Object.prototype.hasOwnProperty.call(D.outdatedDependencies,u)&&(b[u]||(b[u]=[]),m(b[u],D.outdatedDependencies[u]));M&&(m(g,[D.moduleId]),w[u]=E)}var S,U=[];for(a=0;a0;)if(u=L.pop(),l=k[u]){var R={},T=l.hot._disposeHandlers;for(s=0;s=0&&C.parents.splice(S,1))}}for(u in b)if(Object.prototype.hasOwnProperty.call(b,u)&&(l=k[u]))for(B=b[u],s=0;s=0&&l.children.splice(S,1);p("apply"),void 0!==v&&(o=v,v=void 0);for(u in h=void 0,w)Object.prototype.hasOwnProperty.call(w,u)&&(e[u]=w[u]);var N=null;for(u in b)if(Object.prototype.hasOwnProperty.call(b,u)&&(l=k[u])){B=b[u];var X=[];for(a=0;a{let e=!1,n=!1;const r=document.getElementById("form-register"),t=document.getElementById("txt-register-password"),o=document.getElementById("txt-register-confirm-password"),i=document.getElementById("chk-register-terms"),c=document.getElementById("btn-register-submit");function d(){e=r.checkValidity()&&n&&i.checked,c.disabled=!e,i.value=i.checked?"on":""}t&&o&&i||alert("Something Went wrong"),r.oninput=e=>{n=t.value===o.value&&!!t.value.trim().length,d()},d()})}}); \ No newline at end of file diff --git a/resources/scripts/applications/home/components/ProfileHeader.vue b/resources/scripts/applications/home/components/ProfileHeader.vue index fef852f..ad7384d 100644 --- a/resources/scripts/applications/home/components/ProfileHeader.vue +++ b/resources/scripts/applications/home/components/ProfileHeader.vue @@ -1,5 +1,5 @@