diff --git a/app/Models/User.js b/app/Models/User.js index 645464d..f400f86 100644 --- a/app/Models/User.js +++ b/app/Models/User.js @@ -7,18 +7,26 @@ const Hash = use('Hash') const Model = use('Model') class User extends Model { - static boot () { - super.boot() + static boot() { + super + .boot() - /** - * A hook to hash the user password before saving - * it to the database. - */ - this.addHook('beforeSave', async (userInstance) => { - if (userInstance.dirty.password) { - userInstance.password = await Hash.make(userInstance.password) - } - }) + /** + * A hook to hash the user password before saving + * it to the database. + */ + this.addHook('beforeSave', async (userInstance) => { + if (userInstance.dirty.password) { + userInstance.password = await Hash.make(userInstance.password) + } + }) + } + + publicJSON() { + const u = this.toJSON(); + return { + avatar: u.avatar, email: u.email, name: u.name, isAdmin: false + } } /** @@ -31,7 +39,7 @@ class User extends Model { * * @return {Object} */ - tokens () { + tokens() { return this.hasMany('App/Models/Token') } @@ -42,8 +50,6 @@ class User extends Model { links() { return this.hasMany('App/Models/Link') } - - } module.exports = User diff --git a/database/migrations/1503248427885_user.js b/database/migrations/1503248427885_user.js index 6282365..e963eb2 100644 --- a/database/migrations/1503248427885_user.js +++ b/database/migrations/1503248427885_user.js @@ -4,19 +4,20 @@ const Schema = use('Schema') class UserSchema extends Schema { - up () { + up() { this.create('users', (table) => { - table.increments() - table.string('email', 254).notNullable().unique() - table.string('name').notNullable() - table.string('password', 60).notNullable() - table.string('avatar') - table.timestamps() - }) + table.increments(); + table.string('email', 254).notNullable().unique(); + table.string('name').notNullable(); + table.string('password', 60).notNullable(); + table.string('avatar'); + table.boolean('is_admin').defaultTo(false).notNullable(); + table.timestamps(); + }); } - down () { - this.drop('users') + down() { + this.drop('users'); } } diff --git a/package.json b/package.json index cf04688..fd0c62e 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,8 @@ "fork-awesome": "^1.1.7", "sqlite3": "^4.1.1", "typescript": "^3.7.5", - "vue": "^2.6.11" + "vue": "^2.6.11", + "vue-router": "^3.1.5" }, "devDependencies": { "@babel/core": "^7.8.3", diff --git a/public/scripts/applications/home/app.bundle.js b/public/scripts/applications/home/app.bundle.js new file mode 100644 index 0000000..9181573 --- /dev/null +++ b/public/scripts/applications/home/app.bundle.js @@ -0,0 +1,7 @@ +!function(e){var t=window.webpackHotUpdate;window.webpackHotUpdate=function(e,n){!function(e,t){if(!b[e]||!_[e])return;for(var n in _[e]=!1,t)Object.prototype.hasOwnProperty.call(t,n)&&(v[n]=t[n]);0==--m&&0===y&&C()}(e,n),t&&t(e,n)};var n,r=!0,i="e60d26ed365eed6f0f24",o={},a=[],s=[];function c(e){var t=O[e];if(!t)return A;var r=function(r){return t.hot.active?(O[r]?-1===O[r].parents.indexOf(e)&&O[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=[]),A(r)},i=function(e){return{configurable:!0,enumerable:!0,get:function(){return A[e]},set:function(t){A[e]=t}}};for(var o in A)Object.prototype.hasOwnProperty.call(A,o)&&"e"!==o&&"t"!==o&&Object.defineProperty(r,o,i(o));return r.e=function(e){return"ready"===p&&f("prepare"),y++,A.e(e).then(t,(function(e){throw t(),e}));function t(){y--,"prepare"===p&&(g[e]||$(e),0===y&&0===m&&C())}},r.t=function(e,t){return 1&t&&(e=r(e)),A.t(e,-2&t)},r}function u(e){var t={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_disposeHandlers:[],_main:n!==e,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)},check:x,apply:k,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[e]};return n=void 0,t}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((c=O[o])&&!c.hot._selfAccepted){if(c.hot._selfDeclined)return{type:"self-declined",chain:a,moduleId:o};if(c.hot._main)return{type:"unaccepted",chain:a,moduleId:o};for(var s=0;s ")),$.type){case"self-declined":t.onDeclined&&t.onDeclined($),t.ignoreDeclined||(C=new Error("Aborted because of self decline: "+$.moduleId+T));break;case"declined":t.onDeclined&&t.onDeclined($),t.ignoreDeclined||(C=new Error("Aborted because of declined dependency: "+$.moduleId+" in "+$.parentId+T));break;case"unaccepted":t.onUnaccepted&&t.onUnaccepted($),t.ignoreUnaccepted||(C=new Error("Aborted because "+u+" is not accepted"+T));break;case"accepted":t.onAccepted&&t.onAccepted($),k=!0;break;case"disposed":t.onDisposed&&t.onDisposed($),S=!0;break;default:throw new Error("Unexception type "+$.type)}if(C)return f("abort"),Promise.reject(C);if(k)for(u in g[u]=v[u],d(y,$.outdatedModules),$.outdatedDependencies)Object.prototype.hasOwnProperty.call($.outdatedDependencies,u)&&(m[u]||(m[u]=[]),d(m[u],$.outdatedDependencies[u]));S&&(d(y,[$.moduleId]),g[u]=_)}var j,E=[];for(r=0;r0;)if(u=N.pop(),c=O[u]){var D={},L=c.hot._disposeHandlers;for(s=0;s=0&&P.parents.splice(j,1))}}for(u in m)if(Object.prototype.hasOwnProperty.call(m,u)&&(c=O[u]))for(I=m[u],s=0;s=0&&c.children.splice(j,1);for(u in f("apply"),i=h,g)Object.prototype.hasOwnProperty.call(g,u)&&(e[u]=g[u]);var F=null;for(u in m)if(Object.prototype.hasOwnProperty.call(m,u)&&(c=O[u])){I=m[u];var M=[];for(r=0;r1)for(var n=1;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,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/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 i(e){return null==e}function o(e){return null!=e}function a(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function c(e){return null!==e&&"object"==typeof e}var u=Object.prototype.toString;function l(e){return"[object Object]"===u.call(e)}function p(e){return"[object RegExp]"===u.call(e)}function f(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return o(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function v(e){return null==e?"":Array.isArray(e)||l(e)&&e.toString===u?JSON.stringify(e,null,2):String(e)}function h(e){var t=parseFloat(e);return isNaN(t)?e:t}function m(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function w(e,t){return b.call(e,t)}function x(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var $=/-(\w)/g,C=x((function(e){return e.replace($,(function(e,t){return t?t.toUpperCase():""}))})),k=x((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),O=/\B([A-Z])/g,A=x((function(e){return e.replace(O,"-$1").toLowerCase()}));var S=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 T(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function j(e,t){for(var n in t)e[n]=t[n];return e}function E(e){for(var t={},n=0;n0,Q=G&&G.indexOf("edge/")>0,ee=(G&&G.indexOf("android"),G&&/iphone|ipad|ipod|ios/.test(G)||"ios"===X),te=(G&&/chrome\/\d+/.test(G),G&&/phantomjs/.test(G),G&&G.match(/firefox\/(\d+)/)),ne={}.watch,re=!1;if(J)try{var ie={};Object.defineProperty(ie,"passive",{get:function(){re=!0}}),window.addEventListener("test-passive",null,ie)}catch(e){}var oe=function(){return void 0===V&&(V=!J&&!W&&void 0!==e&&(e.process&&"server"===e.process.env.VUE_ENV)),V},ae=J&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function se(e){return"function"==typeof e&&/native code/.test(e.toString())}var ce,ue="undefined"!=typeof Symbol&&se(Symbol)&&"undefined"!=typeof Reflect&&se(Reflect.ownKeys);ce="undefined"!=typeof Set&&se(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 le=R,pe=0,fe=function(){this.id=pe++,this.subs=[]};fe.prototype.addSub=function(e){this.subs.push(e)},fe.prototype.removeSub=function(e){_(this.subs,e)},fe.prototype.depend=function(){fe.target&&fe.target.addDep(this)},fe.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(o&&!w(i,"default"))a=!1;else if(""===a||a===A(e)){var c=ze(String,i.type);(c<0||s0&&(ft((c=e(c,(n||"")+"_"+r))[0])&&ft(l)&&(p[u]=_e(l.text+c[0].text),c.shift()),p.push.apply(p,c)):s(c)?ft(l)?p[u]=_e(l.text+c):""!==c&&p.push(_e(c)):ft(c)&&ft(l)?p[u]=_e(l.text+c.text):(a(t._isVList)&&o(c.tag)&&i(c.key)&&o(n)&&(c.key="__vlist"+n+"_"+r+"__"),p.push(c)));return p}(e):void 0}function ft(e){return o(e)&&o(e.text)&&!1===e.isComment}function dt(e,t){if(e){for(var n=Object.create(null),r=ue?Reflect.ownKeys(e):Object.keys(e),i=0;i0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==r&&s===n.$key&&!o&&!n.$hasNormal)return n;for(var c in i={},e)e[c]&&"$"!==c[0]&&(i[c]=yt(t,c,e[c]))}else i={};for(var u in t)u in i||(i[u]=gt(t,u));return e&&Object.isExtensible(e)&&(e._normalized=i),z(i,"$stable",a),z(i,"$key",s),z(i,"$hasNormal",o),i}function yt(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]:pt(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 gt(e,t){return function(){return e[t]}}function _t(e,t){var n,r,i,a,s;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,i=e.length;rdocument.createEvent("Event").timeStamp&&(ln=function(){return pn.now()})}function fn(){var e,t;for(un=ln(),sn=!0,nn.sort((function(e,t){return e.id-t.id})),cn=0;cncn&&nn[n].id>e.id;)n--;nn.splice(n+1,0,e)}else nn.push(e);an||(an=!0,rt(fn))}}(this)},vn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||c(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){qe(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},vn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},vn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},vn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||_(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var hn={enumerable:!0,configurable:!0,get:R,set:R};function mn(e,t,n){hn.get=function(){return this[t][n]},hn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,hn)}function yn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[];e.$parent&&ke(!1);var o=function(o){i.push(o);var a=He(o,t,n,e);Se(r,o,a),o in e||mn(e,"_props",o)};for(var a in t)o(a);ke(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?R:S(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;l(t=e._data="function"==typeof t?function(e,t){ve();try{return e.call(t,t)}catch(e){return qe(e,t,"data()"),{}}finally{he()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];0,r&&w(r,o)||B(o)||mn(e,"_data",o)}Ae(t,!0)}(e):Ae(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=oe();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;0,r||(n[i]=new vn(e,a||R,R,gn)),i in e||_n(e,i,o)}}(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 i=0;i-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!p(e)&&e.test(t)}function Tn(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=An(a.componentOptions);s&&!t(s)&&jn(n,o,r,i)}}}function jn(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,_(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=$n++,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 i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Fe(Cn(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&&Gt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,i=n&&n.context;e.$slots=vt(t._renderChildren,i),e.$scopedSlots=r,e._c=function(t,n,r,i){return Ut(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return Ut(e,t,n,r,i,!0)};var o=n&&n.data;Se(e,"$attrs",o&&o.attrs||r,null,!0),Se(e,"$listeners",t._parentListeners||r,null,!0)}(t),tn(t,"beforeCreate"),function(e){var t=dt(e.$options.inject,e);t&&(ke(!1),Object.keys(t).forEach((function(n){Se(e,n,t[n])})),ke(!0))}(t),yn(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)}}(kn),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=Te,e.prototype.$delete=je,e.prototype.$watch=function(e,t,n){if(l(t))return xn(this,e,t,n);(n=n||{}).user=!0;var r=new vn(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){qe(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(kn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,o=e.length;i1?T(n):n;for(var r=T(arguments,1),i='event handler for "'+e+'"',o=0,a=n.length;oparseInt(this.max)&&jn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return H}};Object.defineProperty(e,"config",t),e.util={warn:le,extend:j,mergeOptions:Fe,defineReactive:Se},e.set=Te,e.delete=je,e.nextTick=rt,e.observable=function(e){return Ae(e),e},e.options=Object.create(null),F.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,j(e.options.components,Rn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=T(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),On(e),function(e){F.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&l(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)}(kn),Object.defineProperty(kn.prototype,"$isServer",{get:oe}),Object.defineProperty(kn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(kn,"FunctionalRenderContext",{value:Nt}),kn.version="2.6.11";var In=m("style,class"),Nn=m("input,textarea,option,select,progress"),Dn=function(e,t,n){return"value"===n&&Nn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Ln=m("contenteditable,draggable,spellcheck"),Pn=m("events,caret,typing,plaintext-only"),Fn=m("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"),Mn="http://www.w3.org/1999/xlink",Hn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Un=function(e){return Hn(e)?e.slice(6,e.length):""},Bn=function(e){return null==e||!1===e};function zn(e){for(var t=e.data,n=e,r=e;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=qn(r.data,t));for(;o(n=n.parent);)n&&n.data&&(t=qn(t,n.data));return function(e,t){if(o(e)||o(t))return Vn(e,Kn(t));return""}(t.staticClass,t.class)}function qn(e,t){return{staticClass:Vn(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function Vn(e,t){return e?t?e+" "+t:e:t||""}function Kn(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,i=e.length;r-1?yr(e,t,n):Fn(t)?Bn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Ln(t)?e.setAttribute(t,function(e,t){return Bn(t)||"false"===t?"false":"contenteditable"===e&&Pn(t)?t:"true"}(t,n)):Hn(t)?Bn(n)?e.removeAttributeNS(Mn,Un(t)):e.setAttributeNS(Mn,t,n):yr(e,t,n)}function yr(e,t,n){if(Bn(n))e.removeAttribute(t);else{if(Z&&!Y&&"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 gr={create:hr,update:hr};function _r(e,t){var n=t.elm,r=t.data,a=e.data;if(!(i(r.staticClass)&&i(r.class)&&(i(a)||i(a.staticClass)&&i(a.class)))){var s=zn(t),c=n._transitionClasses;o(c)&&(s=Vn(s,Kn(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var br,wr,xr,$r,Cr,kr,Or={create:_r,update:_r},Ar=/[\w).+\-_$\]]/;function Sr(e){var t,n,r,i,o,a=!1,s=!1,c=!1,u=!1,l=0,p=0,f=0,d=0;for(r=0;r=0&&" "===(h=e.charAt(v));v--);h&&Ar.test(h)||(u=!0)}}else void 0===i?(d=r+1,i=e.slice(0,r).trim()):m();function m(){(o||(o=[])).push(e.slice(d,r).trim()),d=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==d&&m(),o)for(r=0;r-1?{exp:e.slice(0,$r),key:'"'+e.slice($r+1)+'"'}:{exp:e,key:null};wr=e,$r=Cr=kr=0;for(;!Vr();)Kr(xr=qr())?Wr(xr):91===xr&&Jr(xr);return{exp:e.slice(0,Cr),key:e.slice(Cr+1,kr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function qr(){return wr.charCodeAt(++$r)}function Vr(){return $r>=br}function Kr(e){return 34===e||39===e}function Jr(e){var t=1;for(Cr=$r;!Vr();)if(Kr(e=qr()))Wr(e);else if(91===e&&t++,93===e&&t--,0===t){kr=$r;break}}function Wr(e){for(var t=e;!Vr()&&(e=qr())!==t;);}var Xr;function Gr(e,t,n){var r=Xr;return function i(){var o=t.apply(null,arguments);null!==o&&Qr(e,i,n,r)}}var Zr=Xe&&!(te&&Number(te[1])<=53);function Yr(e,t,n,r){if(Zr){var i=un,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Xr.addEventListener(e,t,re?{capture:n,passive:r}:n)}function Qr(e,t,n,r){(r||Xr).removeEventListener(e,t._wrapper||t,n)}function ei(e,t){if(!i(e.data.on)||!i(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Xr=t.elm,function(e){if(o(e.__r)){var t=Z?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}o(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(n),ct(n,r,Yr,Qr,Gr,t.context),Xr=void 0}}var ti,ni={create:ei,update:ei};function ri(e,t){if(!i(e.data.domProps)||!i(t.data.domProps)){var n,r,a=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(n in o(c.__ob__)&&(c=t.data.domProps=j({},c)),s)n in c||(a[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=r;var u=i(r)?"":String(r);ii(a,u)&&(a.value=u)}else if("innerHTML"===n&&Xn(a.tagName)&&i(a.innerHTML)){(ti=ti||document.createElement("div")).innerHTML=""+r+"";for(var l=ti.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(r!==s[n])try{a[n]=r}catch(e){}}}}function ii(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(o(r)){if(r.number)return h(n)!==h(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var oi={create:ri,update:ri},ai=x((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 si(e){var t=ci(e.style);return e.staticStyle?j(e.staticStyle,t):t}function ci(e){return Array.isArray(e)?E(e):"string"==typeof e?ai(e):e}var ui,li=/^--/,pi=/\s*!important$/,fi=function(e,t,n){if(li.test(t))e.style.setProperty(t,n);else if(pi.test(n))e.style.setProperty(A(t),n.replace(pi,""),"important");else{var r=vi(t);if(Array.isArray(n))for(var i=0,o=n.length;i-1?t.split(yi).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 _i(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(yi).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 bi(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&j(t,wi(e.name||"v")),j(t,e),t}return"string"==typeof e?wi(e):void 0}}var wi=x((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"}})),xi=J&&!Y,$i="transition",Ci="transitionend",ki="animation",Oi="animationend";xi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&($i="WebkitTransition",Ci="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ki="WebkitAnimation",Oi="webkitAnimationEnd"));var Ai=J?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Si(e){Ai((function(){Ai(e)}))}function Ti(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),gi(e,t))}function ji(e,t){e._transitionClasses&&_(e._transitionClasses,t),_i(e,t)}function Ei(e,t,n){var r=Ii(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s="transition"===i?Ci:Oi,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout((function(){c0&&(n="transition",l=a,p=o.length):"animation"===t?u>0&&(n="animation",l=u,p=c.length):p=(n=(l=Math.max(a,u))>0?a>u?"transition":"animation":null)?"transition"===n?o.length:c.length:0,{type:n,timeout:l,propCount:p,hasTransform:"transition"===n&&Ri.test(r[$i+"Property"])}}function Ni(e,t){for(;e.length1}function Hi(e,t){!0!==t.data.show&&Li(t)}var Ui=function(e){var t,n,r={},c=e.modules,u=e.nodeOps;for(t=0;tv?_(e,i(n[y+1])?null:n[y+1].elm,n,d,y,r):d>y&&w(t,f,v)}(f,m,y,n,l):o(y)?(o(e.text)&&u.setTextContent(f,""),_(f,null,y,0,y.length-1,n)):o(m)?w(m,0,m.length-1):o(e.text)&&u.setTextContent(f,""):e.text!==t.text&&u.setTextContent(f,t.text),o(v)&&o(d=v.hook)&&o(d=d.postpatch)&&d(e,t)}}}function k(e,t,n){if(a(n)&&o(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r-1,a.selected!==o&&(a.selected=o);else if(D(Ki(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Vi(e,t){return t.every((function(t){return!D(t,e)}))}function Ki(e){return"_value"in e?e._value:e.value}function Ji(e){e.target.composing=!0}function Wi(e){e.target.composing&&(e.target.composing=!1,Xi(e.target,"input"))}function Xi(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Gi(e){return!e.componentInstance||e.data&&e.data.transition?e:Gi(e.componentInstance._vnode)}var Zi={model:Bi,show:{bind:function(e,t,n){var r=t.value,i=(n=Gi(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,Li(n,(function(){e.style.display=o}))):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Gi(n)).data&&n.data.transition?(n.data.show=!0,r?Li(n,(function(){e.style.display=e.__vOriginalDisplay})):Pi(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},Yi={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 Qi(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Qi(Kt(t.children)):e}function eo(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[C(o)]=i[o];return t}function to(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var no=function(e){return e.tag||Vt(e)},ro=function(e){return"show"===e.name},io={name:"transition",props:Yi,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(no)).length){0;var r=this.mode;0;var i=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;var o=Qi(i);if(!o)return i;if(this._leaving)return to(e,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var c=(o.data||(o.data={})).transition=eo(this),u=this._vnode,l=Qi(u);if(o.data.directives&&o.data.directives.some(ro)&&(o.data.show=!0),l&&l.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,l)&&!Vt(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var p=l.data.transition=j({},c);if("out-in"===r)return this._leaving=!0,ut(p,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),to(e,i);if("in-out"===r){if(Vt(o))return u;var f,d=function(){f()};ut(c,"afterEnter",d),ut(c,"enterCancelled",d),ut(p,"delayLeave",(function(e){f=e}))}}return i}}},oo=j({tag:String,moveClass:String},Yi);function ao(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function so(e){e.data.newPos=e.elm.getBoundingClientRect()}function co(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete oo.mode;var uo={Transition:io,TransitionGroup:{props:oo,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Yt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),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,i=this.$slots.default||[],o=this.children=[],a=eo(this),s=0;s-1?Yn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Yn[e]=/HTMLUnknownElement/.test(t.toString())},j(kn.options.directives,Zi),j(kn.options.components,uo),kn.prototype.__patch__=J?Ui:R,kn.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=ge),tn(e,"beforeMount"),r=function(){e._update(e._render(),n)},new vn(e,r,R,{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&&J?er(e):void 0,t)},J&&setTimeout((function(){H.devtools&&ae&&ae.emit("init",kn)}),0);var lo=/\{\{((?:.|\r?\n)+?)\}\}/g,po=/[-.*+?^${}()|[\]\/\\]/g,fo=x((function(e){var t=e[0].replace(po,"\\$&"),n=e[1].replace(po,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}));var vo={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Mr(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 ho,mo={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Mr(e,"style");n&&(e.staticStyle=JSON.stringify(ai(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}},yo=function(e){return(ho=ho||document.createElement("div")).innerHTML=e,ho.textContent},go=m("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),_o=m("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),bo=m("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"),wo=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,xo=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,$o="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+U.source+"]*",Co="((?:"+$o+"\\:)?"+$o+")",ko=new RegExp("^<"+Co),Oo=/^\s*(\/?)>/,Ao=new RegExp("^<\\/"+Co+"[^>]*>"),So=/^]+>/i,To=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},No=/&(?:lt|gt|quot|amp|#39);/g,Do=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Lo=m("pre,textarea",!0),Po=function(e,t){return e&&Lo(e)&&"\n"===t[0]};function Fo(e,t){var n=t?Do:No;return e.replace(n,(function(e){return Io[e]}))}var Mo,Ho,Uo,Bo,zo,qo,Vo,Ko,Jo=/^@|^v-on:/,Wo=/^v-|^@|^:|^#/,Xo=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Go=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Zo=/^\(|\)$/g,Yo=/^\[.*\]$/,Qo=/:(.*)$/,ea=/^:|^\.|^v-bind:/,ta=/\.[^.\]]+(?=[^\]]*$)/g,na=/^v-slot(:|$)|^#/,ra=/[\r\n]/,ia=/\s+/g,oa=x(yo);function aa(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:da(t),rawAttrsMap:{},parent:n,children:[]}}function sa(e,t){Mo=t.warn||jr,qo=t.isPreTag||I,Vo=t.mustUseProp||I,Ko=t.getTagNamespace||I;var n=t.isReservedTag||I;(function(e){return!!e.component||!n(e.tag)}),Uo=Er(t.modules,"transformNode"),Bo=Er(t.modules,"preTransformNode"),zo=Er(t.modules,"postTransformNode"),Ho=t.delimiters;var r,i,o=[],a=!1!==t.preserveWhitespace,s=t.whitespace,c=!1,u=!1;function l(e){if(p(e),c||e.processed||(e=ca(e,t)),o.length||e===r||r.if&&(e.elseif||e.else)&&la(r,{exp:e.elseif,block:e}),i&&!e.forbidden)if(e.elseif||e.else)a=e,(s=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(i.children))&&s.if&&la(s,{exp:a.elseif,block:a});else{if(e.slotScope){var n=e.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[n]=e}i.children.push(e),e.parent=i}var a,s;e.children=e.children.filter((function(e){return!e.slotScope})),p(e),e.pre&&(c=!1),qo(e.tag)&&(u=!1);for(var l=0;l]*>)","i")),f=e.replace(p,(function(e,n,r){return u=r.length,Eo(l)||"noscript"===l||(n=n.replace(//g,"$1").replace(//g,"$1")),Po(l,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""}));c+=e.length-f.length,e=f,O(l,c-u,c)}else{var d=e.indexOf("<");if(0===d){if(To.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),c,c+v+3),$(v+3);continue}}if(jo.test(e)){var h=e.indexOf("]>");if(h>=0){$(h+2);continue}}var m=e.match(So);if(m){$(m[0].length);continue}var y=e.match(Ao);if(y){var g=c;$(y[0].length),O(y[1],g,c);continue}var _=C();if(_){k(_),Po(_.tagName,e)&&$(1);continue}}var b=void 0,w=void 0,x=void 0;if(d>=0){for(w=e.slice(d);!(Ao.test(w)||ko.test(w)||To.test(w)||jo.test(w)||(x=w.indexOf("<",1))<0);)d+=x,w=e.slice(d);b=e.substring(0,d)}d<0&&(b=e),b&&$(b.length),t.chars&&b&&t.chars(b,c-b.length,c)}if(e===n){t.chars&&t.chars(e);break}}function $(t){c+=t,e=e.substring(t)}function C(){var t=e.match(ko);if(t){var n,r,i={tagName:t[1],attrs:[],start:c};for($(t[0].length);!(n=e.match(Oo))&&(r=e.match(xo)||e.match(wo));)r.start=c,$(r[0].length),r.end=c,i.attrs.push(r);if(n)return i.unarySlash=n[1],$(n[0].length),i.end=c,i}}function k(e){var n=e.tagName,c=e.unarySlash;o&&("p"===r&&bo(n)&&O(r),s(n)&&r===n&&O(n));for(var u=a(n)||!!c,l=e.attrs.length,p=new Array(l),f=0;f=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=i.length-1;u>=a;u--)t.end&&t.end(i[u].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}O()}(e,{warn:Mo,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,a,s,p){var f=i&&i.ns||Ko(e);Z&&"svg"===f&&(n=function(e){for(var t=[],n=0;nc&&(s.push(o=e.slice(c,i)),a.push(JSON.stringify(o)));var u=Sr(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+r[0].length}return c-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Pr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$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,i);else if("input"===o&&"radio"===a)!function(e,t,n){var r=n&&n.number,i=Fr(e,"value")||"null";Rr(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),Pr(e,"change",zr(t,i),null,!0)}(e,r,i);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type;0;var i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?"__r":"input",l="$event.target.value";s&&(l="$event.target.value.trim()");a&&(l="_n("+l+")");var p=zr(t,l);c&&(p="if($event.target.composing)return;"+p);Rr(e,"value","("+t+")"),Pr(e,u,p,null,!0),(s||a)&&Pr(e,"blur","$forceUpdate()")}(e,r,i);else{if(!H.isReservedTag(o))return Br(e,r,i),!1}return!0},text:function(e,t){t.value&&Rr(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Rr(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:go,mustUseProp:Dn,canBeLeftOpenTag:_o,isReservedTag:Gn,getTagNamespace:Zn,staticKeys:function(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}(ya)},wa=x((function(e){return m("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));function xa(e,t){e&&(ga=wa(t.staticKeys||""),_a=t.isReservedTag||I,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||y(e.tag)||!_a(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(ga)))}(t),1===t.type){if(!_a(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n|^function(?:\s+[\w$]+)?\s*\(/,Ca=/\([^)]*?\);*$/,ka=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Oa={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Aa={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"]},Sa=function(e){return"if("+e+")return null;"},Ta={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Sa("$event.target !== $event.currentTarget"),ctrl:Sa("!$event.ctrlKey"),shift:Sa("!$event.shiftKey"),alt:Sa("!$event.altKey"),meta:Sa("!$event.metaKey"),left:Sa("'button' in $event && $event.button !== 0"),middle:Sa("'button' in $event && $event.button !== 1"),right:Sa("'button' in $event && $event.button !== 2")};function ja(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var o in e){var a=Ea(e[o]);e[o]&&e[o].dynamic?i+=o+","+a+",":r+='"'+o+'":'+a+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function Ea(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return Ea(e)})).join(",")+"]";var t=ka.test(e.value),n=$a.test(e.value),r=ka.test(e.value.replace(Ca,""));if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(Ta[s])o+=Ta[s],Oa[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;o+=Sa(["ctrl","shift","alt","meta"].filter((function(e){return!c[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else a.push(s);return a.length&&(i+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Ra).join("&&")+")return null;"}(a)),o&&(i+=o),"function($event){"+i+(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 Ra(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Oa[e],r=Aa[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Ia={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:R},Na=function(e){this.options=e,this.warn=e.warn||jr,this.transforms=Er(e.modules,"transformCode"),this.dataGenFns=Er(e.modules,"genData"),this.directives=j(j({},Ia),e.directives);var t=e.isReservedTag||I;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Da(e,t){var n=new Na(t);return{render:"with(this){return "+(e?La(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function La(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Pa(e,t);if(e.once&&!e.onceProcessed)return Fa(e,t);if(e.for&&!e.forProcessed)return Ha(e,t);if(e.if&&!e.ifProcessed)return Ma(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=qa(e,t),i="_t("+n+(r?","+r:""),o=e.attrs||e.dynamicAttrs?Ja((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:C(e.name),value:e.value,dynamic:e.dynamic}}))):null,a=e.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:qa(t,n,!0);return"_c("+e+","+Ua(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=Ua(e,t));var i=e.inlineTemplate?null:qa(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=function(e,t){var n=e.children[0];0;if(n&&1===n.type){var r=Da(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map((function(e){return"function(){"+e+"}"})).join(",")+"]}"}}(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+Ja(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Ba(e){return 1===e.type&&("slot"===e.tag||e.children.some(Ba))}function za(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Ma(e,t,za,"null");if(e.for&&!e.forProcessed)return Ha(e,t,za);var r="_empty_"===e.slotScope?"":String(e.slotScope),i="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(qa(e,t)||"undefined")+":undefined":qa(e,t)||"undefined":La(e,t))+"}",o=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+o+"}"}function qa(e,t,n,r,i){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(r||La)(a,t)+s}var c=n?function(e,t){for(var n=0,r=0;r':'
',Ya.innerHTML.indexOf(" ")>0}var ns=!!J&&ts(!1),rs=!!J&&ts(!0),is=x((function(e){var t=er(e);return t&&t.innerHTML})),os=kn.prototype.$mount;kn.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=is(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 i=es(r,{outputSourceRange:!1,shouldDecodeNewlines:ns,shouldDecodeNewlinesForHref:rs,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return os.call(this,e,t)},kn.compile=es,t.default=kn}.call(this,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/timers-browserify/main.js").setImmediate)},"./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},"./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&"),i=n("./resources/scripts/applications/home/app.vue?vue&type=script&lang=ts&"),o=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),a=Object(o.a)(i.a,r.render,r.staticRenderFns,!1,null,null,null),s=n("./node_modules/vue-hot-reload-api/dist/index.js");s.install(n("./node_modules/vue/dist/vue.esm.js")),s.compatible&&(e.hot.accept(),s.isRecorded("bc5a19e4")?s.reload("bc5a19e4",a.options):s.createRecord("bc5a19e4",a.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&"),s.rerender("bc5a19e4",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),a.options.__file="resources/scripts/applications/home/app.vue",t.a=a.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"),i=n("./resources/scripts/applications/shared/components/SideBar/SideBar.vue"),o=[{href:"/",text:"Home",isRouterLink:!0,icon:"fa fa-home"},{href:"/applications",text:"Applications",isRouterLink:!0,icon:"fa fa-puzzle-piece"},{href:"/settings",isRouterLink:!0,text:"Settings",icon:"fa fa-gears"},{isRouterLink:!1,href:"/logout",text:"Logout",icon:"fa fa-sign-out"}],a={name:"App",components:{SideBar:i.a,Header:r.a},data:function(){return{appName:"Seepur",menu:o}}};t.a=a},"./resources/scripts/applications/home/app.vue?vue&type=template&id=bc5a19e4&":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"app"},[t("Header",{attrs:{appName:this.appName}}),this._v(" "),t("div",{staticClass:"columns m-t-xs"},[t("div",{staticClass:"column is-sidebar"},[t("SideBar",{attrs:{title:this.appName,menu:this.menu,appName:this.appName}})],1),this._v(" "),t("section",{staticClass:"section column app-content"},[t("div",{staticClass:"container"},[t("router-view")],1)])])],1)},i=[];r._withStripped=!0,n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return i}))},"./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&"),i=n("./resources/scripts/applications/home/components/Header.vue?vue&type=script&lang=ts&"),o=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),a=Object(o.a)(i.a,r.render,r.staticRenderFns,!1,null,null,null),s=n("./node_modules/vue-hot-reload-api/dist/index.js");s.install(n("./node_modules/vue/dist/vue.esm.js")),s.compatible&&(e.hot.accept(),s.isRecorded("28cdad73")?s.reload("28cdad73",a.options):s.createRecord("28cdad73",a.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&"),s.rerender("28cdad73",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),a.options.__file="resources/scripts/applications/home/components/Header.vue",t.a=a.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);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))])])])])},i=[];r._withStripped=!0,n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return i}))},"./resources/scripts/applications/home/main.vue":function(e,t,n){"use strict";n.r(t);var r=n("./node_modules/vue/dist/vue.esm.js"),i=n("./resources/scripts/applications/home/app.vue");function o(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function a(e,t){return t instanceof e||t&&(t.name===e.name||t._name===e._name)}function s(e,t){for(var n in t)e[n]=t[n];return e}var c={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var n=t.props,r=t.children,i=t.parent,o=t.data;o.routerView=!0;for(var a=i.$createElement,c=n.name,l=i.$route,p=i._routerViewCache||(i._routerViewCache={}),f=0,d=!1;i&&i._routerRoot!==i;){var v=i.$vnode?i.$vnode.data:{};v.routerView&&f++,v.keepAlive&&i._directInactive&&i._inactive&&(d=!0),i=i.$parent}if(o.routerViewDepth=f,d){var h=p[c],m=h&&h.component;return m?(h.configProps&&u(m,o,h.route,h.configProps),a(m,o,r)):a()}var y=l.matched[f],g=y&&y.components[c];if(!y||!g)return p[c]=null,a();p[c]={component:g},o.registerRouteInstance=function(e,t){var n=y.instances[c];(t&&n!==e||!t&&n===e)&&(y.instances[c]=t)},(o.hook||(o.hook={})).prepatch=function(e,t){y.instances[c]=t.componentInstance},o.hook.init=function(e){e.data.keepAlive&&e.componentInstance&&e.componentInstance!==y.instances[c]&&(y.instances[c]=e.componentInstance)};var _=y.props&&y.props[c];return _&&(s(p[c],{route:l,configProps:_}),u(g,o,l,_)),a(g,o,r)}};function u(e,t,n,r){var i=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(i){i=t.props=s({},i);var o=t.attrs=t.attrs||{};for(var a in i)e.props&&a in e.props||(o[a]=i[a],delete i[a])}}var l=/[!'()*]/g,p=function(e){return"%"+e.charCodeAt(0).toString(16)},f=/%2C/g,d=function(e){return encodeURIComponent(e).replace(l,p).replace(f,",")},v=decodeURIComponent;function h(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),r=v(n.shift()),i=n.length>0?v(n.join("=")):null;void 0===t[r]?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]})),t):t}function m(e){var t=e?Object.keys(e).map((function(t){var n=e[t];if(void 0===n)return"";if(null===n)return d(t);if(Array.isArray(n)){var r=[];return n.forEach((function(e){void 0!==e&&(null===e?r.push(d(t)):r.push(d(t)+"="+d(e)))})),r.join("&")}return d(t)+"="+d(n)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var y=/\/?$/;function g(e,t,n,r){var i=r&&r.options.stringifyQuery,o=t.query||{};try{o=_(o)}catch(e){}var a={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:o,params:t.params||{},fullPath:x(t,i),matched:e?w(e):[]};return n&&(a.redirectedFrom=x(n,i)),Object.freeze(a)}function _(e){if(Array.isArray(e))return e.map(_);if(e&&"object"==typeof e){var t={};for(var n in e)t[n]=_(e[n]);return t}return e}var b=g(null,{path:"/"});function w(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function x(e,t){var n=e.path,r=e.query;void 0===r&&(r={});var i=e.hash;return void 0===i&&(i=""),(n||"/")+(t||m)(r)+i}function $(e,t){return t===b?e===t:!!t&&(e.path&&t.path?e.path.replace(y,"")===t.path.replace(y,"")&&e.hash===t.hash&&C(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&C(e.query,t.query)&&C(e.params,t.params)))}function C(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],i=t[n];return"object"==typeof r&&"object"==typeof i?C(r,i):String(r)===String(i)}))}function k(e,t,n){var r=e.charAt(0);if("/"===r)return e;if("?"===r||"#"===r)return t+e;var i=t.split("/");n&&i[i.length-1]||i.pop();for(var o=e.replace(/^\//,"").split("/"),a=0;a=0&&(t=e.slice(r),e=e.slice(0,r));var i=e.indexOf("?");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{path:e,query:n,hash:t}}(i.path||""),l=t&&t.path||"/",p=u.path?k(u.path,l,n||i.append):l,f=function(e,t,n){void 0===t&&(t={});var r,i=n||h;try{r=i(e||"")}catch(e){r={}}for(var o in t)r[o]=t[o];return r}(u.query,i.query,r&&r.options.parseQuery),d=i.hash||u.hash;return d&&"#"!==d.charAt(0)&&(d="#"+d),{_normalized:!0,path:p,query:f,hash:d}}var K,J=function(){},W={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,i=n.resolve(this.to,r,this.append),o=i.location,a=i.route,c=i.href,u={},l=n.options.linkActiveClass,p=n.options.linkExactActiveClass,f=null==l?"router-link-active":l,d=null==p?"router-link-exact-active":p,v=null==this.activeClass?f:this.activeClass,h=null==this.exactActiveClass?d:this.exactActiveClass,m=a.redirectedFrom?g(null,V(a.redirectedFrom),null,n):a;u[h]=$(r,m),u[v]=this.exact?u[h]:function(e,t){return 0===e.path.replace(y,"/").indexOf(t.path.replace(y,"/"))&&(!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,m);var _=function(e){X(e)&&(t.replace?n.replace(o,J):n.push(o,J))},b={click:X};Array.isArray(this.event)?this.event.forEach((function(e){b[e]=_})):b[this.event]=_;var w={class:u},x=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:c,route:a,navigate:_,isActive:u[v],isExactActive:u[h]});if(x){if(1===x.length)return x[0];if(x.length>1||!x.length)return 0===x.length?e():e("span",{},x)}if("a"===this.tag)w.on=b,w.attrs={href:c};else{var C=function e(t){var n;if(t)for(var r=0;r-1&&(s.params[f]=n.params[f]);return s.path=q(l.path,s.params),c(l,s,a)}if(s.path){s.params={};for(var d=0;d=e.length?n():e[i]?t(e[i],(function(){r(i+1)})):r(i+1)};r(0)}function be(e){return function(t,n,r){var i=!1,a=0,s=null;we(e,(function(e,t,n,c){if("function"==typeof e&&void 0===e.cid){i=!0,a++;var u,l=Ce((function(t){var i;((i=t).__esModule||$e&&"Module"===i[Symbol.toStringTag])&&(t=t.default),e.resolved="function"==typeof t?t:K.extend(t),n.components[c]=t,--a<=0&&r()})),p=Ce((function(e){var t="Failed to resolve async component "+c+": "+e;s||(s=o(e)?e:new Error(t),r(s))}));try{u=e(l,p)}catch(e){p(e)}if(u)if("function"==typeof u.then)u.then(l,p);else{var f=u.component;f&&"function"==typeof f.then&&f.then(l,p)}}})),i||r()}}function we(e,t){return xe(e.map((function(e){return Object.keys(e.components).map((function(n){return t(e.components[n],e.instances[n],e,n)}))})))}function xe(e){return Array.prototype.concat.apply([],e)}var $e="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Ce(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 ke=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);ke._name="NavigationDuplicated";var Oe=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=b,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function Ae(e,t,n,r){var i=we(e,(function(e,r,i,o){var a=function(e,t){"function"!=typeof e&&(e=K.extend(e));return e.options[t]}(e,t);if(a)return Array.isArray(a)?a.map((function(e){return n(e,r,i,o)})):n(a,r,i,o)}));return xe(r?i.reverse():i)}function Se(e,t){if(t)return function(){return e.apply(t,arguments)}}Oe.prototype.listen=function(e){this.cb=e},Oe.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},Oe.prototype.onError=function(e){this.errorCbs.push(e)},Oe.prototype.transitionTo=function(e,t,n){var r=this,i=this.router.match(e,this.current);this.confirmTransition(i,(function(){r.updateRoute(i),t&&t(i),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach((function(e){e(i)})))}),(function(e){n&&n(e),e&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach((function(t){t(e)})))}))},Oe.prototype.confirmTransition=function(e,t,n){var r=this,i=this.current,s=function(e){!a(ke,e)&&o(e)&&(r.errorCbs.length?r.errorCbs.forEach((function(t){t(e)})):console.error(e)),n&&n(e)};if($(e,i)&&e.matched.length===i.matched.length)return this.ensureURL(),s(new ke(e));var c=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 Ne(e){var t=window.location.href,n=t.indexOf("#");return(n>=0?t.slice(0,n):t)+"#"+e}function De(e){me?ye(Ne(e)):window.location.hash=e}function Le(e){me?ge(Ne(e)):window.location.replace(Ne(e))}var Pe=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){a(ke,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}(Oe),Fe=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Q(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!me&&!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 Ee(this,e.base,this.fallback);break;case"abstract":this.history=new Pe(this,e.base);break;default:0}},Me={currentRoute:{configurable:!0}};function He(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}Fe.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},Me.currentRoute.get=function(){return this.history&&this.history.current},Fe.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 Ee){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},Fe.prototype.beforeEach=function(e){return He(this.beforeHooks,e)},Fe.prototype.beforeResolve=function(e){return He(this.resolveHooks,e)},Fe.prototype.afterEach=function(e){return He(this.afterHooks,e)},Fe.prototype.onReady=function(e,t){this.history.onReady(e,t)},Fe.prototype.onError=function(e){this.history.onError(e)},Fe.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)},Fe.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)},Fe.prototype.go=function(e){this.history.go(e)},Fe.prototype.back=function(){this.go(-1)},Fe.prototype.forward=function(){this.go(1)},Fe.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]}))}))):[]},Fe.prototype.resolve=function(e,t,n){var r=V(e,t=t||this.history.current,n,this),i=this.match(r,t),o=i.redirectedFrom||i.fullPath;return{location:r,route:i,href:function(e,t,n){var r="hash"===n?"#"+t:t;return e?O(e+"/"+r):r}(this.history.base,o,this.mode),normalizedTo:r,resolved:i}},Fe.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==b&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Fe.prototype,Me),Fe.install=function e(t){if(!e.installed||K!==t){e.installed=!0,K=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",c),t.component("RouterLink",W);var i=t.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}},Fe.version="3.1.5",G&&window.Vue&&window.Vue.use(Fe);var Ue=Fe,Be=n("./resources/scripts/applications/home/views/home.vue"),ze=n("./resources/scripts/applications/home/views/settings.vue"),qe=n("./resources/scripts/applications/home/views/application.vue");r.default.use(Ue);var Ve=new Ue({routes:[{path:"/",component:Be.a,name:"root"},{path:"/settings",component:ze.a},{path:"/applications",component:qe.a}],mode:"history"}),Ke=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),Je=Object(Ke.a)(Ve,void 0,void 0,!1,null,null,null),We=n("./node_modules/vue-hot-reload-api/dist/index.js");We.install(n("./node_modules/vue/dist/vue.esm.js")),We.compatible&&(e.hot.accept(),We.isRecorded("1c72787c")?We.reload("1c72787c",Je.options):We.createRecord("1c72787c",Je.options)),Je.options.__file="resources/scripts/applications/home/router/router.vue";var Xe=Je.exports,Ge=new r.default({router:Xe,render:function(e){return e(i.a)}}).$mount("#app"),Ze=Object(Ke.a)(Ge,void 0,void 0,!1,null,null,null),Ye=n("./node_modules/vue-hot-reload-api/dist/index.js");Ye.install(n("./node_modules/vue/dist/vue.esm.js")),Ye.compatible&&(e.hot.accept(),Ye.isRecorded("550f4f9c")?Ye.reload("550f4f9c",Ze.options):Ye.createRecord("550f4f9c",Ze.options)),Ze.options.__file="resources/scripts/applications/home/main.vue";t.default=Ze.exports},"./resources/scripts/applications/home/views/application.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/views/application.vue?vue&type=template&id=728b1f48&"),i=n("./resources/scripts/applications/home/views/application.vue?vue&type=script&lang=ts&"),o=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),a=Object(o.a)(i.a,r.render,r.staticRenderFns,!1,null,null,null),s=n("./node_modules/vue-hot-reload-api/dist/index.js");s.install(n("./node_modules/vue/dist/vue.esm.js")),s.compatible&&(e.hot.accept(),s.isRecorded("728b1f48")?s.reload("728b1f48",a.options):s.createRecord("728b1f48",a.options),e.hot.accept("./resources/scripts/applications/home/views/application.vue?vue&type=template&id=728b1f48&",function(e){r=n("./resources/scripts/applications/home/views/application.vue?vue&type=template&id=728b1f48&"),s.rerender("728b1f48",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),a.options.__file="resources/scripts/applications/home/views/application.vue",t.a=a.exports},"./resources/scripts/applications/home/views/application.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r={name:"Applications",beforeCreate:function(){console.log("before create home vue")}};t.a=r},"./resources/scripts/applications/home/views/application.vue?vue&type=template&id=728b1f48&":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this.$createElement;this._self._c;return this._m(0)},i=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"wrapper"},[t("h1",{staticClass:"is-1"},[this._v("Applications!!!")])])}];r._withStripped=!0,n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return i}))},"./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&"),i=n("./resources/scripts/applications/home/views/home.vue?vue&type=script&lang=ts&"),o=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),a=Object(o.a)(i.a,r.render,r.staticRenderFns,!1,null,null,null),s=n("./node_modules/vue-hot-reload-api/dist/index.js");s.install(n("./node_modules/vue/dist/vue.esm.js")),s.compatible&&(e.hot.accept(),s.isRecorded("1b921a03")?s.reload("1b921a03",a.options):s.createRecord("1b921a03",a.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&"),s.rerender("1b921a03",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),a.options.__file="resources/scripts/applications/home/views/home.vue",t.a=a.exports},"./resources/scripts/applications/home/views/home.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r={name:"Home",beforeCreate:function(){console.log("before create home vue")}};t.a=r},"./resources/scripts/applications/home/views/home.vue?vue&type=template&id=1b921a03&":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this.$createElement;this._self._c;return this._m(0)},i=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"wrapper"},[t("h1",{staticClass:"is-1"},[this._v("HOME!!!")])])}];r._withStripped=!0,n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return i}))},"./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&"),i=n("./resources/scripts/applications/home/views/settings.vue?vue&type=script&lang=ts&"),o=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),a=Object(o.a)(i.a,r.render,r.staticRenderFns,!1,null,null,null),s=n("./node_modules/vue-hot-reload-api/dist/index.js");s.install(n("./node_modules/vue/dist/vue.esm.js")),s.compatible&&(e.hot.accept(),s.isRecorded("f4fa8d72")?s.reload("f4fa8d72",a.options):s.createRecord("f4fa8d72",a.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&"),s.rerender("f4fa8d72",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),a.options.__file="resources/scripts/applications/home/views/settings.vue",t.a=a.exports},"./resources/scripts/applications/home/views/settings.vue?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},i=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=0&&t._disposeHandlers.splice(n,1)},check:$,apply:k,status:function(e){if(!e)return f;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[e]};return n=void 0,t}var l=[],f="idle";function d(e){f=e;for(var t=0;t0;){var i=r.pop(),o=i.id,a=i.chain;if((c=A[o])&&!c.hot._selfAccepted){if(c.hot._selfDeclined)return{type:"self-declined",chain:a,moduleId:o};if(c.hot._main)return{type:"unaccepted",chain:a,moduleId:o};for(var s=0;s ")),x.type){case"self-declined":t.onDeclined&&t.onDeclined(x),t.ignoreDeclined||(C=new Error("Aborted because of self decline: "+x.moduleId+T));break;case"declined":t.onDeclined&&t.onDeclined(x),t.ignoreDeclined||(C=new Error("Aborted because of declined dependency: "+x.moduleId+" in "+x.parentId+T));break;case"unaccepted":t.onUnaccepted&&t.onUnaccepted(x),t.ignoreUnaccepted||(C=new Error("Aborted because "+u+" is not accepted"+T));break;case"accepted":t.onAccepted&&t.onAccepted(x),k=!0;break;case"disposed":t.onDisposed&&t.onDisposed(x),O=!0;break;default:throw new Error("Unexception type "+x.type)}if(C)return d("abort"),Promise.reject(C);if(k)for(u in g[u]=v[u],p(y,x.outdatedModules),x.outdatedDependencies)Object.prototype.hasOwnProperty.call(x.outdatedDependencies,u)&&(m[u]||(m[u]=[]),p(m[u],x.outdatedDependencies[u]));O&&(p(y,[x.moduleId]),g[u]=_)}var j,E=[];for(r=0;r0;)if(u=N.pop(),c=A[u]){var M={},F=c.hot._disposeHandlers;for(s=0;s=0&&R.parents.splice(j,1))}}for(u in m)if(Object.prototype.hasOwnProperty.call(m,u)&&(c=A[u]))for(D=m[u],s=0;s=0&&c.children.splice(j,1);for(u in d("apply"),i=h,g)Object.prototype.hasOwnProperty.call(g,u)&&(e[u]=g[u]);var L=null;for(u in m)if(Object.prototype.hasOwnProperty.call(m,u)&&(c=A[u])){D=m[u];var P=[];for(r=0;r1)for(var n=1;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,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 f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},"./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 i(e){return null==e}function o(e){return null!=e}function a(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function c(e){return null!==e&&"object"==typeof e}var u=Object.prototype.toString;function l(e){return"[object Object]"===u.call(e)}function f(e){return"[object RegExp]"===u.call(e)}function d(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return o(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function v(e){return null==e?"":Array.isArray(e)||l(e)&&e.toString===u?JSON.stringify(e,null,2):String(e)}function h(e){var t=parseFloat(e);return isNaN(t)?e:t}function m(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function w(e,t){return b.call(e,t)}function $(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var x=/-(\w)/g,C=$((function(e){return e.replace(x,(function(e,t){return t?t.toUpperCase():""}))})),k=$((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),A=/\B([A-Z])/g,S=$((function(e){return e.replace(A,"-$1").toLowerCase()}));var O=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 T(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function j(e,t){for(var n in t)e[n]=t[n];return e}function E(e){for(var t={},n=0;n0,Q=G&&G.indexOf("edge/")>0,ee=(G&&G.indexOf("android"),G&&/iphone|ipad|ipod|ios/.test(G)||"ios"===X),te=(G&&/chrome\/\d+/.test(G),G&&/phantomjs/.test(G),G&&G.match(/firefox\/(\d+)/)),ne={}.watch,re=!1;if(J)try{var ie={};Object.defineProperty(ie,"passive",{get:function(){re=!0}}),window.addEventListener("test-passive",null,ie)}catch(e){}var oe=function(){return void 0===q&&(q=!J&&!W&&void 0!==e&&(e.process&&"server"===e.process.env.VUE_ENV)),q},ae=J&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function se(e){return"function"==typeof e&&/native code/.test(e.toString())}var ce,ue="undefined"!=typeof Symbol&&se(Symbol)&&"undefined"!=typeof Reflect&&se(Reflect.ownKeys);ce="undefined"!=typeof Set&&se(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 le=I,fe=0,de=function(){this.id=fe++,this.subs=[]};de.prototype.addSub=function(e){this.subs.push(e)},de.prototype.removeSub=function(e){_(this.subs,e)},de.prototype.depend=function(){de.target&&de.target.addDep(this)},de.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(o&&!w(i,"default"))a=!1;else if(""===a||a===S(e)){var c=ze(String,i.type);(c<0||s0&&(dt((c=e(c,(n||"")+"_"+r))[0])&&dt(l)&&(f[u]=_e(l.text+c[0].text),c.shift()),f.push.apply(f,c)):s(c)?dt(l)?f[u]=_e(l.text+c):""!==c&&f.push(_e(c)):dt(c)&&dt(l)?f[u]=_e(l.text+c.text):(a(t._isVList)&&o(c.tag)&&i(c.key)&&o(n)&&(c.key="__vlist"+n+"_"+r+"__"),f.push(c)));return f}(e):void 0}function dt(e){return o(e)&&o(e.text)&&!1===e.isComment}function pt(e,t){if(e){for(var n=Object.create(null),r=ue?Reflect.ownKeys(e):Object.keys(e),i=0;i0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==r&&s===n.$key&&!o&&!n.$hasNormal)return n;for(var c in i={},e)e[c]&&"$"!==c[0]&&(i[c]=yt(t,c,e[c]))}else i={};for(var u in t)u in i||(i[u]=gt(t,u));return e&&Object.isExtensible(e)&&(e._normalized=i),z(i,"$stable",a),z(i,"$key",s),z(i,"$hasNormal",o),i}function yt(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]:ft(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 gt(e,t){return function(){return e[t]}}function _t(e,t){var n,r,i,a,s;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,i=e.length;rdocument.createEvent("Event").timeStamp&&(ln=function(){return fn.now()})}function dn(){var e,t;for(un=ln(),sn=!0,nn.sort((function(e,t){return e.id-t.id})),cn=0;cncn&&nn[n].id>e.id;)n--;nn.splice(n+1,0,e)}else nn.push(e);an||(an=!0,rt(dn))}}(this)},vn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||c(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Ve(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},vn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},vn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},vn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||_(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var hn={enumerable:!0,configurable:!0,get:I,set:I};function mn(e,t,n){hn.get=function(){return this[t][n]},hn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,hn)}function yn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[];e.$parent&&ke(!1);var o=function(o){i.push(o);var a=He(o,t,n,e);Oe(r,o,a),o in e||mn(e,"_props",o)};for(var a in t)o(a);ke(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?I:O(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;l(t=e._data="function"==typeof t?function(e,t){ve();try{return e.call(t,t)}catch(e){return Ve(e,t,"data()"),{}}finally{he()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];0,r&&w(r,o)||U(o)||mn(e,"_data",o)}Se(t,!0)}(e):Se(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=oe();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;0,r||(n[i]=new vn(e,a||I,I,gn)),i in e||_n(e,i,o)}}(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 i=0;i-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!f(e)&&e.test(t)}function Tn(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=Sn(a.componentOptions);s&&!t(s)&&jn(n,o,r,i)}}}function jn(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,_(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=xn++,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 i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Le(Cn(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&&Gt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,i=n&&n.context;e.$slots=vt(t._renderChildren,i),e.$scopedSlots=r,e._c=function(t,n,r,i){return Bt(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return Bt(e,t,n,r,i,!0)};var o=n&&n.data;Oe(e,"$attrs",o&&o.attrs||r,null,!0),Oe(e,"$listeners",t._parentListeners||r,null,!0)}(t),tn(t,"beforeCreate"),function(e){var t=pt(e.$options.inject,e);t&&(ke(!1),Object.keys(t).forEach((function(n){Oe(e,n,t[n])})),ke(!0))}(t),yn(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)}}(kn),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=Te,e.prototype.$delete=je,e.prototype.$watch=function(e,t,n){if(l(t))return $n(this,e,t,n);(n=n||{}).user=!0;var r=new vn(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){Ve(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(kn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,o=e.length;i1?T(n):n;for(var r=T(arguments,1),i='event handler for "'+e+'"',o=0,a=n.length;oparseInt(this.max)&&jn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return H}};Object.defineProperty(e,"config",t),e.util={warn:le,extend:j,mergeOptions:Le,defineReactive:Oe},e.set=Te,e.delete=je,e.nextTick=rt,e.observable=function(e){return Se(e),e},e.options=Object.create(null),L.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,j(e.options.components,In),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=T(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=Le(this.options,e),this}}(e),An(e),function(e){L.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&l(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)}(kn),Object.defineProperty(kn.prototype,"$isServer",{get:oe}),Object.defineProperty(kn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(kn,"FunctionalRenderContext",{value:Nt}),kn.version="2.6.11";var Dn=m("style,class"),Nn=m("input,textarea,option,select,progress"),Mn=function(e,t,n){return"value"===n&&Nn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Fn=m("contenteditable,draggable,spellcheck"),Rn=m("events,caret,typing,plaintext-only"),Ln=m("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"),Pn="http://www.w3.org/1999/xlink",Hn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Bn=function(e){return Hn(e)?e.slice(6,e.length):""},Un=function(e){return null==e||!1===e};function zn(e){for(var t=e.data,n=e,r=e;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Vn(r.data,t));for(;o(n=n.parent);)n&&n.data&&(t=Vn(t,n.data));return function(e,t){if(o(e)||o(t))return qn(e,Kn(t));return""}(t.staticClass,t.class)}function Vn(e,t){return{staticClass:qn(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function qn(e,t){return e?t?e+" "+t:e:t||""}function Kn(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,i=e.length;r-1?yr(e,t,n):Ln(t)?Un(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Fn(t)?e.setAttribute(t,function(e,t){return Un(t)||"false"===t?"false":"contenteditable"===e&&Rn(t)?t:"true"}(t,n)):Hn(t)?Un(n)?e.removeAttributeNS(Pn,Bn(t)):e.setAttributeNS(Pn,t,n):yr(e,t,n)}function yr(e,t,n){if(Un(n))e.removeAttribute(t);else{if(Z&&!Y&&"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 gr={create:hr,update:hr};function _r(e,t){var n=t.elm,r=t.data,a=e.data;if(!(i(r.staticClass)&&i(r.class)&&(i(a)||i(a.staticClass)&&i(a.class)))){var s=zn(t),c=n._transitionClasses;o(c)&&(s=qn(s,Kn(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var br,wr,$r,xr,Cr,kr,Ar={create:_r,update:_r},Sr=/[\w).+\-_$\]]/;function Or(e){var t,n,r,i,o,a=!1,s=!1,c=!1,u=!1,l=0,f=0,d=0,p=0;for(r=0;r=0&&" "===(h=e.charAt(v));v--);h&&Sr.test(h)||(u=!0)}}else void 0===i?(p=r+1,i=e.slice(0,r).trim()):m();function m(){(o||(o=[])).push(e.slice(p,r).trim()),p=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==p&&m(),o)for(r=0;r-1?{exp:e.slice(0,xr),key:'"'+e.slice(xr+1)+'"'}:{exp:e,key:null};wr=e,xr=Cr=kr=0;for(;!qr();)Kr($r=Vr())?Wr($r):91===$r&&Jr($r);return{exp:e.slice(0,Cr),key:e.slice(Cr+1,kr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Vr(){return wr.charCodeAt(++xr)}function qr(){return xr>=br}function Kr(e){return 34===e||39===e}function Jr(e){var t=1;for(Cr=xr;!qr();)if(Kr(e=Vr()))Wr(e);else if(91===e&&t++,93===e&&t--,0===t){kr=xr;break}}function Wr(e){for(var t=e;!qr()&&(e=Vr())!==t;);}var Xr;function Gr(e,t,n){var r=Xr;return function i(){var o=t.apply(null,arguments);null!==o&&Qr(e,i,n,r)}}var Zr=Xe&&!(te&&Number(te[1])<=53);function Yr(e,t,n,r){if(Zr){var i=un,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Xr.addEventListener(e,t,re?{capture:n,passive:r}:n)}function Qr(e,t,n,r){(r||Xr).removeEventListener(e,t._wrapper||t,n)}function ei(e,t){if(!i(e.data.on)||!i(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Xr=t.elm,function(e){if(o(e.__r)){var t=Z?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}o(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(n),ct(n,r,Yr,Qr,Gr,t.context),Xr=void 0}}var ti,ni={create:ei,update:ei};function ri(e,t){if(!i(e.data.domProps)||!i(t.data.domProps)){var n,r,a=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(n in o(c.__ob__)&&(c=t.data.domProps=j({},c)),s)n in c||(a[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=r;var u=i(r)?"":String(r);ii(a,u)&&(a.value=u)}else if("innerHTML"===n&&Xn(a.tagName)&&i(a.innerHTML)){(ti=ti||document.createElement("div")).innerHTML=""+r+"";for(var l=ti.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(r!==s[n])try{a[n]=r}catch(e){}}}}function ii(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(o(r)){if(r.number)return h(n)!==h(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var oi={create:ri,update:ri},ai=$((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 si(e){var t=ci(e.style);return e.staticStyle?j(e.staticStyle,t):t}function ci(e){return Array.isArray(e)?E(e):"string"==typeof e?ai(e):e}var ui,li=/^--/,fi=/\s*!important$/,di=function(e,t,n){if(li.test(t))e.style.setProperty(t,n);else if(fi.test(n))e.style.setProperty(S(t),n.replace(fi,""),"important");else{var r=vi(t);if(Array.isArray(n))for(var i=0,o=n.length;i-1?t.split(yi).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 _i(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(yi).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 bi(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&j(t,wi(e.name||"v")),j(t,e),t}return"string"==typeof e?wi(e):void 0}}var wi=$((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"}})),$i=J&&!Y,xi="transition",Ci="transitionend",ki="animation",Ai="animationend";$i&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(xi="WebkitTransition",Ci="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ki="WebkitAnimation",Ai="webkitAnimationEnd"));var Si=J?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Oi(e){Si((function(){Si(e)}))}function Ti(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),gi(e,t))}function ji(e,t){e._transitionClasses&&_(e._transitionClasses,t),_i(e,t)}function Ei(e,t,n){var r=Di(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s="transition"===i?Ci:Ai,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout((function(){c0&&(n="transition",l=a,f=o.length):"animation"===t?u>0&&(n="animation",l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?"transition":"animation":null)?"transition"===n?o.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:"transition"===n&&Ii.test(r[xi+"Property"])}}function Ni(e,t){for(;e.length1}function Hi(e,t){!0!==t.data.show&&Fi(t)}var Bi=function(e){var t,n,r={},c=e.modules,u=e.nodeOps;for(t=0;tv?_(e,i(n[y+1])?null:n[y+1].elm,n,p,y,r):p>y&&w(t,d,v)}(d,m,y,n,l):o(y)?(o(e.text)&&u.setTextContent(d,""),_(d,null,y,0,y.length-1,n)):o(m)?w(m,0,m.length-1):o(e.text)&&u.setTextContent(d,""):e.text!==t.text&&u.setTextContent(d,t.text),o(v)&&o(p=v.hook)&&o(p=p.postpatch)&&p(e,t)}}}function k(e,t,n){if(a(n)&&o(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r-1,a.selected!==o&&(a.selected=o);else if(M(Ki(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function qi(e,t){return t.every((function(t){return!M(t,e)}))}function Ki(e){return"_value"in e?e._value:e.value}function Ji(e){e.target.composing=!0}function Wi(e){e.target.composing&&(e.target.composing=!1,Xi(e.target,"input"))}function Xi(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Gi(e){return!e.componentInstance||e.data&&e.data.transition?e:Gi(e.componentInstance._vnode)}var Zi={model:Ui,show:{bind:function(e,t,n){var r=t.value,i=(n=Gi(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,Fi(n,(function(){e.style.display=o}))):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Gi(n)).data&&n.data.transition?(n.data.show=!0,r?Fi(n,(function(){e.style.display=e.__vOriginalDisplay})):Ri(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},Yi={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 Qi(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Qi(Kt(t.children)):e}function eo(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[C(o)]=i[o];return t}function to(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var no=function(e){return e.tag||qt(e)},ro=function(e){return"show"===e.name},io={name:"transition",props:Yi,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(no)).length){0;var r=this.mode;0;var i=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;var o=Qi(i);if(!o)return i;if(this._leaving)return to(e,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var c=(o.data||(o.data={})).transition=eo(this),u=this._vnode,l=Qi(u);if(o.data.directives&&o.data.directives.some(ro)&&(o.data.show=!0),l&&l.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,l)&&!qt(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=j({},c);if("out-in"===r)return this._leaving=!0,ut(f,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),to(e,i);if("in-out"===r){if(qt(o))return u;var d,p=function(){d()};ut(c,"afterEnter",p),ut(c,"enterCancelled",p),ut(f,"delayLeave",(function(e){d=e}))}}return i}}},oo=j({tag:String,moveClass:String},Yi);function ao(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function so(e){e.data.newPos=e.elm.getBoundingClientRect()}function co(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete oo.mode;var uo={Transition:io,TransitionGroup:{props:oo,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Yt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),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,i=this.$slots.default||[],o=this.children=[],a=eo(this),s=0;s-1?Yn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Yn[e]=/HTMLUnknownElement/.test(t.toString())},j(kn.options.directives,Zi),j(kn.options.components,uo),kn.prototype.__patch__=J?Bi:I,kn.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=ge),tn(e,"beforeMount"),r=function(){e._update(e._render(),n)},new vn(e,r,I,{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&&J?er(e):void 0,t)},J&&setTimeout((function(){H.devtools&&ae&&ae.emit("init",kn)}),0);var lo=/\{\{((?:.|\r?\n)+?)\}\}/g,fo=/[-.*+?^${}()|[\]\/\\]/g,po=$((function(e){var t=e[0].replace(fo,"\\$&"),n=e[1].replace(fo,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}));var vo={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Pr(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Lr(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 ho,mo={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Pr(e,"style");n&&(e.staticStyle=JSON.stringify(ai(n)));var r=Lr(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}},yo=function(e){return(ho=ho||document.createElement("div")).innerHTML=e,ho.textContent},go=m("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),_o=m("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),bo=m("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"),wo=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,$o=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,xo="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+B.source+"]*",Co="((?:"+xo+"\\:)?"+xo+")",ko=new RegExp("^<"+Co),Ao=/^\s*(\/?)>/,So=new RegExp("^<\\/"+Co+"[^>]*>"),Oo=/^]+>/i,To=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},No=/&(?:lt|gt|quot|amp|#39);/g,Mo=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Fo=m("pre,textarea",!0),Ro=function(e,t){return e&&Fo(e)&&"\n"===t[0]};function Lo(e,t){var n=t?Mo:No;return e.replace(n,(function(e){return Do[e]}))}var Po,Ho,Bo,Uo,zo,Vo,qo,Ko,Jo=/^@|^v-on:/,Wo=/^v-|^@|^:|^#/,Xo=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Go=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Zo=/^\(|\)$/g,Yo=/^\[.*\]$/,Qo=/:(.*)$/,ea=/^:|^\.|^v-bind:/,ta=/\.[^.\]]+(?=[^\]]*$)/g,na=/^v-slot(:|$)|^#/,ra=/[\r\n]/,ia=/\s+/g,oa=$(yo);function aa(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:pa(t),rawAttrsMap:{},parent:n,children:[]}}function sa(e,t){Po=t.warn||jr,Vo=t.isPreTag||D,qo=t.mustUseProp||D,Ko=t.getTagNamespace||D;var n=t.isReservedTag||D;(function(e){return!!e.component||!n(e.tag)}),Bo=Er(t.modules,"transformNode"),Uo=Er(t.modules,"preTransformNode"),zo=Er(t.modules,"postTransformNode"),Ho=t.delimiters;var r,i,o=[],a=!1!==t.preserveWhitespace,s=t.whitespace,c=!1,u=!1;function l(e){if(f(e),c||e.processed||(e=ca(e,t)),o.length||e===r||r.if&&(e.elseif||e.else)&&la(r,{exp:e.elseif,block:e}),i&&!e.forbidden)if(e.elseif||e.else)a=e,(s=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(i.children))&&s.if&&la(s,{exp:a.elseif,block:a});else{if(e.slotScope){var n=e.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[n]=e}i.children.push(e),e.parent=i}var a,s;e.children=e.children.filter((function(e){return!e.slotScope})),f(e),e.pre&&(c=!1),Vo(e.tag)&&(u=!1);for(var l=0;l]*>)","i")),d=e.replace(f,(function(e,n,r){return u=r.length,Eo(l)||"noscript"===l||(n=n.replace(//g,"$1").replace(//g,"$1")),Ro(l,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""}));c+=e.length-d.length,e=d,A(l,c-u,c)}else{var p=e.indexOf("<");if(0===p){if(To.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),c,c+v+3),x(v+3);continue}}if(jo.test(e)){var h=e.indexOf("]>");if(h>=0){x(h+2);continue}}var m=e.match(Oo);if(m){x(m[0].length);continue}var y=e.match(So);if(y){var g=c;x(y[0].length),A(y[1],g,c);continue}var _=C();if(_){k(_),Ro(_.tagName,e)&&x(1);continue}}var b=void 0,w=void 0,$=void 0;if(p>=0){for(w=e.slice(p);!(So.test(w)||ko.test(w)||To.test(w)||jo.test(w)||($=w.indexOf("<",1))<0);)p+=$,w=e.slice(p);b=e.substring(0,p)}p<0&&(b=e),b&&x(b.length),t.chars&&b&&t.chars(b,c-b.length,c)}if(e===n){t.chars&&t.chars(e);break}}function x(t){c+=t,e=e.substring(t)}function C(){var t=e.match(ko);if(t){var n,r,i={tagName:t[1],attrs:[],start:c};for(x(t[0].length);!(n=e.match(Ao))&&(r=e.match($o)||e.match(wo));)r.start=c,x(r[0].length),r.end=c,i.attrs.push(r);if(n)return i.unarySlash=n[1],x(n[0].length),i.end=c,i}}function k(e){var n=e.tagName,c=e.unarySlash;o&&("p"===r&&bo(n)&&A(r),s(n)&&r===n&&A(n));for(var u=a(n)||!!c,l=e.attrs.length,f=new Array(l),d=0;d=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=i.length-1;u>=a;u--)t.end&&t.end(i[u].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}A()}(e,{warn:Po,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,a,s,f){var d=i&&i.ns||Ko(e);Z&&"svg"===d&&(n=function(e){for(var t=[],n=0;nc&&(s.push(o=e.slice(c,i)),a.push(JSON.stringify(o)));var u=Or(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+r[0].length}return c-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Rr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$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,i);else if("input"===o&&"radio"===a)!function(e,t,n){var r=n&&n.number,i=Lr(e,"value")||"null";Ir(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),Rr(e,"change",zr(t,i),null,!0)}(e,r,i);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type;0;var i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?"__r":"input",l="$event.target.value";s&&(l="$event.target.value.trim()");a&&(l="_n("+l+")");var f=zr(t,l);c&&(f="if($event.target.composing)return;"+f);Ir(e,"value","("+t+")"),Rr(e,u,f,null,!0),(s||a)&&Rr(e,"blur","$forceUpdate()")}(e,r,i);else{if(!H.isReservedTag(o))return Ur(e,r,i),!1}return!0},text:function(e,t){t.value&&Ir(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Ir(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:go,mustUseProp:Mn,canBeLeftOpenTag:_o,isReservedTag:Gn,getTagNamespace:Zn,staticKeys:function(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}(ya)},wa=$((function(e){return m("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));function $a(e,t){e&&(ga=wa(t.staticKeys||""),_a=t.isReservedTag||D,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||y(e.tag)||!_a(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(ga)))}(t),1===t.type){if(!_a(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n|^function(?:\s+[\w$]+)?\s*\(/,Ca=/\([^)]*?\);*$/,ka=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Aa={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Sa={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"]},Oa=function(e){return"if("+e+")return null;"},Ta={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Oa("$event.target !== $event.currentTarget"),ctrl:Oa("!$event.ctrlKey"),shift:Oa("!$event.shiftKey"),alt:Oa("!$event.altKey"),meta:Oa("!$event.metaKey"),left:Oa("'button' in $event && $event.button !== 0"),middle:Oa("'button' in $event && $event.button !== 1"),right:Oa("'button' in $event && $event.button !== 2")};function ja(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var o in e){var a=Ea(e[o]);e[o]&&e[o].dynamic?i+=o+","+a+",":r+='"'+o+'":'+a+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function Ea(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return Ea(e)})).join(",")+"]";var t=ka.test(e.value),n=xa.test(e.value),r=ka.test(e.value.replace(Ca,""));if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(Ta[s])o+=Ta[s],Aa[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;o+=Oa(["ctrl","shift","alt","meta"].filter((function(e){return!c[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else a.push(s);return a.length&&(i+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Ia).join("&&")+")return null;"}(a)),o&&(i+=o),"function($event){"+i+(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 Ia(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Aa[e],r=Sa[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Da={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:I},Na=function(e){this.options=e,this.warn=e.warn||jr,this.transforms=Er(e.modules,"transformCode"),this.dataGenFns=Er(e.modules,"genData"),this.directives=j(j({},Da),e.directives);var t=e.isReservedTag||D;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Ma(e,t){var n=new Na(t);return{render:"with(this){return "+(e?Fa(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Fa(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Ra(e,t);if(e.once&&!e.onceProcessed)return La(e,t);if(e.for&&!e.forProcessed)return Ha(e,t);if(e.if&&!e.ifProcessed)return Pa(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=Va(e,t),i="_t("+n+(r?","+r:""),o=e.attrs||e.dynamicAttrs?Ja((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:C(e.name),value:e.value,dynamic:e.dynamic}}))):null,a=e.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:Va(t,n,!0);return"_c("+e+","+Ba(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=Ba(e,t));var i=e.inlineTemplate?null:Va(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=function(e,t){var n=e.children[0];0;if(n&&1===n.type){var r=Ma(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map((function(e){return"function(){"+e+"}"})).join(",")+"]}"}}(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+Ja(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Ua(e){return 1===e.type&&("slot"===e.tag||e.children.some(Ua))}function za(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Pa(e,t,za,"null");if(e.for&&!e.forProcessed)return Ha(e,t,za);var r="_empty_"===e.slotScope?"":String(e.slotScope),i="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(Va(e,t)||"undefined")+":undefined":Va(e,t)||"undefined":Fa(e,t))+"}",o=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+o+"}"}function Va(e,t,n,r,i){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(r||Fa)(a,t)+s}var c=n?function(e,t){for(var n=0,r=0;r':'
',Ya.innerHTML.indexOf(" ")>0}var ns=!!J&&ts(!1),rs=!!J&&ts(!0),is=$((function(e){var t=er(e);return t&&t.innerHTML})),os=kn.prototype.$mount;kn.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=is(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 i=es(r,{outputSourceRange:!1,shouldDecodeNewlines:ns,shouldDecodeNewlinesForHref:rs,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return os.call(this,e,t)},kn.compile=es,t.default=kn}.call(this,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/timers-browserify/main.js").setImmediate)},"./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},"./resources/scripts/applications/home/app.ts?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/home/components/Header.vue"),i=n("./resources/scripts/applications/shared/components/SideBar/SideBar.vue"),o=[{href:"#",text:"Start a session",isActive:!1,icon:"fa fa-bookmark"},{href:"#",text:"Create something",isActive:!0,icon:"fa fa-book"},{href:"/logout",text:"Logout",icon:"fa fa-gears",isActive:!1},{href:"/logout",text:"Logout",icon:"fa fa-sign-out",isActive:!1}],a={name:"app",components:{SideBar:i.a,Header:r.a},data:function(){return{appName:"Home",menu:o}}};t.a=a},"./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&"),i=n("./resources/scripts/applications/home/app.ts?vue&type=script&lang=ts&"),o=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),a=Object(o.a)(i.a,r.render,r.staticRenderFns,!1,null,null,null),s=n("./node_modules/vue-hot-reload-api/dist/index.js");s.install(n("./node_modules/vue/dist/vue.esm.js")),s.compatible&&(e.hot.accept(),s.isRecorded("bc5a19e4")?s.reload("bc5a19e4",a.options):s.createRecord("bc5a19e4",a.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&"),s.rerender("bc5a19e4",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),a.options.__file="resources/scripts/applications/home/app.vue",t.a=a.exports},"./resources/scripts/applications/home/app.vue?vue&type=template&id=bc5a19e4&":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"app"},[t("Header",{attrs:{appName:this.appName}}),this._v(" "),t("div",{staticClass:"columns m-t-xs"},[t("div",{staticClass:"column is-sidebar"},[t("SideBar",{attrs:{title:this.appName,menu:this.menu,selectedItem:"Your Dashboard",appName:this.appName}})],1),this._v(" "),this._m(0)])],1)},i=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"section column app-content"},[n("div",{staticClass:"tile is-ancestor"},[n("div",{staticClass:"tile is-vertical is-8"},[n("div",{staticClass:"tile"},[n("div",{staticClass:"tile is-parent is-vertical"},[n("article",{staticClass:"tile is-child notification is-primary"},[n("p",{staticClass:"title"},[e._v("Vertical...")]),e._v(" "),n("p",{staticClass:"subtitle"},[e._v("Top tile")])]),e._v(" "),n("article",{staticClass:"tile is-child notification is-warning"},[n("p",{staticClass:"title"},[e._v("...tiles")]),e._v(" "),n("p",{staticClass:"subtitle"},[e._v("Bottom tile")])])]),e._v(" "),n("div",{staticClass:"tile is-parent"},[n("article",{staticClass:"tile is-child notification is-info"},[n("p",{staticClass:"title"},[e._v("Middle tile")]),e._v(" "),n("p",{staticClass:"subtitle"},[e._v("With an image")]),e._v(" "),n("figure",{staticClass:"image is-4by3"},[n("img",{attrs:{src:"https://bulma.io/images/placeholders/640x480.png"}})])])])]),e._v(" "),n("div",{staticClass:"tile is-parent"},[n("article",{staticClass:"tile is-child notification is-danger"},[n("p",{staticClass:"title"},[e._v("Wide tile")]),e._v(" "),n("p",{staticClass:"subtitle"},[e._v("Aligned with the right tile")]),e._v(" "),n("div",{staticClass:"content"})])])]),e._v(" "),n("div",{staticClass:"tile is-parent"},[n("article",{staticClass:"tile is-child notification is-success"},[n("div",{staticClass:"content"},[n("p",{staticClass:"title"},[e._v("Tall tile")]),e._v(" "),n("p",{staticClass:"subtitle"},[e._v("With even more content")]),e._v(" "),n("div",{staticClass:"content"})])])])])])}];r._withStripped=!0,n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return i}))},"./resources/scripts/applications/home/components/Header.ts?vue&type=script&lang=ts&":function(e,t,n){"use strict";t.a={name:"Header",props:["appName"]}},"./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&"),i=n("./resources/scripts/applications/home/components/Header.ts?vue&type=script&lang=ts&"),o=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),a=Object(o.a)(i.a,r.render,r.staticRenderFns,!1,null,null,null),s=n("./node_modules/vue-hot-reload-api/dist/index.js");s.install(n("./node_modules/vue/dist/vue.esm.js")),s.compatible&&(e.hot.accept(),s.isRecorded("28cdad73")?s.reload("28cdad73",a.options):s.createRecord("28cdad73",a.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&"),s.rerender("28cdad73",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),a.options.__file="resources/scripts/applications/home/components/Header.vue",t.a=a.exports},"./resources/scripts/applications/home/components/Header.vue?vue&type=template&id=28cdad73&":function(e,t,n){"use strict";n.r(t);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))]),this._v(" "),t("h2",{staticClass:"subtitle"},[this._v("Test")])])])])},i=[];r._withStripped=!0,n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return i}))},"./resources/scripts/applications/home/main.vue":function(e,t,n){"use strict";n.r(t);var r=n("./node_modules/vue/dist/vue.esm.js"),i=n("./resources/scripts/applications/home/app.vue");new r.default({render:e=>e(i.a)}).$mount("#app");var o=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),a=Object(o.a)(void 0,void 0,void 0,!1,null,null,null),s=n("./node_modules/vue-hot-reload-api/dist/index.js");s.install(n("./node_modules/vue/dist/vue.esm.js")),s.compatible&&(e.hot.accept(),s.isRecorded("550f4f9c")?s.reload("550f4f9c",a.options):s.createRecord("550f4f9c",a.options)),a.options.__file="resources/scripts/applications/home/main.vue";t.default=a.exports},"./resources/scripts/applications/shared/components/SideBar/SideBar.ts?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r={components:{SidewayText:n("./resources/scripts/applications/shared/components/SidewayText/SidewayText.vue").a},name:"SideMenu",props:["menu","title","appName","selectedItem"]};t.a=r},"./resources/scripts/applications/shared/components/SideBar/SideBar.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/shared/components/SideBar/SideBar.vue?vue&type=template&id=32f39966&"),i=n("./resources/scripts/applications/shared/components/SideBar/SideBar.ts?vue&type=script&lang=ts&"),o=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),a=Object(o.a)(i.a,r.render,r.staticRenderFns,!1,null,null,null),s=n("./node_modules/vue-hot-reload-api/dist/index.js");s.install(n("./node_modules/vue/dist/vue.esm.js")),s.compatible&&(e.hot.accept(),s.isRecorded("32f39966")?s.reload("32f39966",a.options):s.createRecord("32f39966",a.options),e.hot.accept("./resources/scripts/applications/shared/components/SideBar/SideBar.vue?vue&type=template&id=32f39966&",function(e){r=n("./resources/scripts/applications/shared/components/SideBar/SideBar.vue?vue&type=template&id=32f39966&"),s.rerender("32f39966",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),a.options.__file="resources/scripts/applications/shared/components/SideBar/SideBar.vue",t.a=a.exports},"./resources/scripts/applications/shared/components/SideBar/SideBar.vue?vue&type=template&id=32f39966&":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"sidebar has-text-centered"},[t("div",{staticClass:"has-text-centered"},[t("SidewayText",{attrs:{textSize:"is-size-6",text:this.appName,bold:!0}}),this._v(" "),t("SidewayText",{staticClass:"is-size-6",attrs:{text:this.selectedItem}})],1),this._v(" "),t("aside",{staticClass:"menu is-primary p-xxs sidebar-menu"},[t("ul",{staticClass:"menu-list"},this._l(this.menu,(function(e){return t("li",{staticClass:"m-t-md m-b-md"},[t("a",{class:["button",{"is-active":!!e.isActive}],attrs:{href:e.href}},[t("i",{class:["icon",e.icon]})])])})),0)])])},i=[];r._withStripped=!0,n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return i}))},"./resources/scripts/applications/shared/components/SidewayText/SidewayText.ts?vue&type=script&lang=ts&":function(e,t,n){"use strict";t.a={props:["text","bold","textSize"],data:function(){return{}}}},"./resources/scripts/applications/shared/components/SidewayText/SidewayText.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/shared/components/SidewayText/SidewayText.vue?vue&type=template&id=596842df&"),i=n("./resources/scripts/applications/shared/components/SidewayText/SidewayText.ts?vue&type=script&lang=ts&"),o=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),a=Object(o.a)(i.a,r.render,r.staticRenderFns,!1,null,null,null),s=n("./node_modules/vue-hot-reload-api/dist/index.js");s.install(n("./node_modules/vue/dist/vue.esm.js")),s.compatible&&(e.hot.accept(),s.isRecorded("596842df")?s.reload("596842df",a.options):s.createRecord("596842df",a.options),e.hot.accept("./resources/scripts/applications/shared/components/SidewayText/SidewayText.vue?vue&type=template&id=596842df&",function(e){r=n("./resources/scripts/applications/shared/components/SidewayText/SidewayText.vue?vue&type=template&id=596842df&"),s.rerender("596842df",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),a.options.__file="resources/scripts/applications/shared/components/SidewayText/SidewayText.vue",t.a=a.exports},"./resources/scripts/applications/shared/components/SidewayText/SidewayText.vue?vue&type=template&id=596842df&":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sideway-text m-b-lg m-t-lg"},e._l(e.text.split("").slice().reverse(),(function(t){return n("div",{class:[{"has-text-weight-bold":e.bold},e.textSize,"sideway-letter","has-text-centered"]},[e._v(e._s(" "===t?" ":t))])})),0)},i=[];r._withStripped=!0,n.d(t,"render",(function(){return r})),n.d(t,"staticRenderFns",(function(){return i}))}}); \ No newline at end of file diff --git a/public/scripts/applications/story-time/app.bundle.js b/public/scripts/applications/story-time/app.bundle.js new file mode 100644 index 0000000..42c8f1d --- /dev/null +++ b/public/scripts/applications/story-time/app.bundle.js @@ -0,0 +1,1106 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ function hotDisposeChunk(chunkId) { +/******/ delete installedChunks[chunkId]; +/******/ } +/******/ var parentHotUpdateCallback = window["webpackHotUpdate"]; +/******/ window["webpackHotUpdate"] = // eslint-disable-next-line no-unused-vars +/******/ function webpackHotUpdateCallback(chunkId, moreModules) { +/******/ hotAddUpdateChunk(chunkId, moreModules); +/******/ if (parentHotUpdateCallback) parentHotUpdateCallback(chunkId, moreModules); +/******/ } ; +/******/ +/******/ // eslint-disable-next-line no-unused-vars +/******/ function hotDownloadUpdateChunk(chunkId) { +/******/ var script = document.createElement("script"); +/******/ script.charset = "utf-8"; +/******/ script.src = __webpack_require__.p + "" + chunkId + "." + hotCurrentHash + ".hot-update.js"; +/******/ if (null) script.crossOrigin = null; +/******/ document.head.appendChild(script); +/******/ } +/******/ +/******/ // eslint-disable-next-line no-unused-vars +/******/ function hotDownloadManifest(requestTimeout) { +/******/ requestTimeout = requestTimeout || 10000; +/******/ return new Promise(function(resolve, reject) { +/******/ if (typeof XMLHttpRequest === "undefined") { +/******/ return reject(new Error("No browser support")); +/******/ } +/******/ try { +/******/ var request = new XMLHttpRequest(); +/******/ var requestPath = __webpack_require__.p + "" + hotCurrentHash + ".hot-update.json"; +/******/ request.open("GET", requestPath, true); +/******/ request.timeout = requestTimeout; +/******/ request.send(null); +/******/ } catch (err) { +/******/ return reject(err); +/******/ } +/******/ request.onreadystatechange = function() { +/******/ if (request.readyState !== 4) return; +/******/ if (request.status === 0) { +/******/ // timeout +/******/ reject( +/******/ new Error("Manifest request to " + requestPath + " timed out.") +/******/ ); +/******/ } else if (request.status === 404) { +/******/ // no update available +/******/ resolve(); +/******/ } else if (request.status !== 200 && request.status !== 304) { +/******/ // other failure +/******/ reject(new Error("Manifest request to " + requestPath + " failed.")); +/******/ } else { +/******/ // success +/******/ try { +/******/ var update = JSON.parse(request.responseText); +/******/ } catch (e) { +/******/ reject(e); +/******/ return; +/******/ } +/******/ resolve(update); +/******/ } +/******/ }; +/******/ }); +/******/ } +/******/ +/******/ var hotApplyOnUpdate = true; +/******/ // eslint-disable-next-line no-unused-vars +/******/ var hotCurrentHash = "cf848d1708e40cf29532"; +/******/ var hotRequestTimeout = 10000; +/******/ var hotCurrentModuleData = {}; +/******/ var hotCurrentChildModule; +/******/ // eslint-disable-next-line no-unused-vars +/******/ var hotCurrentParents = []; +/******/ // eslint-disable-next-line no-unused-vars +/******/ var hotCurrentParentsTemp = []; +/******/ +/******/ // eslint-disable-next-line no-unused-vars +/******/ function hotCreateRequire(moduleId) { +/******/ var me = installedModules[moduleId]; +/******/ if (!me) return __webpack_require__; +/******/ var fn = function(request) { +/******/ if (me.hot.active) { +/******/ if (installedModules[request]) { +/******/ if (installedModules[request].parents.indexOf(moduleId) === -1) { +/******/ installedModules[request].parents.push(moduleId); +/******/ } +/******/ } else { +/******/ hotCurrentParents = [moduleId]; +/******/ hotCurrentChildModule = request; +/******/ } +/******/ if (me.children.indexOf(request) === -1) { +/******/ me.children.push(request); +/******/ } +/******/ } else { +/******/ console.warn( +/******/ "[HMR] unexpected require(" + +/******/ request + +/******/ ") from disposed module " + +/******/ moduleId +/******/ ); +/******/ hotCurrentParents = []; +/******/ } +/******/ return __webpack_require__(request); +/******/ }; +/******/ var ObjectFactory = function ObjectFactory(name) { +/******/ return { +/******/ configurable: true, +/******/ enumerable: true, +/******/ get: function() { +/******/ return __webpack_require__[name]; +/******/ }, +/******/ set: function(value) { +/******/ __webpack_require__[name] = value; +/******/ } +/******/ }; +/******/ }; +/******/ for (var name in __webpack_require__) { +/******/ if ( +/******/ Object.prototype.hasOwnProperty.call(__webpack_require__, name) && +/******/ name !== "e" && +/******/ name !== "t" +/******/ ) { +/******/ Object.defineProperty(fn, name, ObjectFactory(name)); +/******/ } +/******/ } +/******/ fn.e = function(chunkId) { +/******/ if (hotStatus === "ready") hotSetStatus("prepare"); +/******/ hotChunksLoading++; +/******/ return __webpack_require__.e(chunkId).then(finishChunkLoading, function(err) { +/******/ finishChunkLoading(); +/******/ throw err; +/******/ }); +/******/ +/******/ function finishChunkLoading() { +/******/ hotChunksLoading--; +/******/ if (hotStatus === "prepare") { +/******/ if (!hotWaitingFilesMap[chunkId]) { +/******/ hotEnsureUpdateChunk(chunkId); +/******/ } +/******/ if (hotChunksLoading === 0 && hotWaitingFiles === 0) { +/******/ hotUpdateDownloaded(); +/******/ } +/******/ } +/******/ } +/******/ }; +/******/ fn.t = function(value, mode) { +/******/ if (mode & 1) value = fn(value); +/******/ return __webpack_require__.t(value, mode & ~1); +/******/ }; +/******/ return fn; +/******/ } +/******/ +/******/ // eslint-disable-next-line no-unused-vars +/******/ function hotCreateModule(moduleId) { +/******/ var hot = { +/******/ // private stuff +/******/ _acceptedDependencies: {}, +/******/ _declinedDependencies: {}, +/******/ _selfAccepted: false, +/******/ _selfDeclined: false, +/******/ _disposeHandlers: [], +/******/ _main: hotCurrentChildModule !== moduleId, +/******/ +/******/ // Module API +/******/ active: true, +/******/ accept: function(dep, callback) { +/******/ if (dep === undefined) hot._selfAccepted = true; +/******/ else if (typeof dep === "function") hot._selfAccepted = dep; +/******/ else if (typeof dep === "object") +/******/ for (var i = 0; i < dep.length; i++) +/******/ hot._acceptedDependencies[dep[i]] = callback || function() {}; +/******/ else hot._acceptedDependencies[dep] = callback || function() {}; +/******/ }, +/******/ decline: function(dep) { +/******/ if (dep === undefined) hot._selfDeclined = true; +/******/ else if (typeof dep === "object") +/******/ for (var i = 0; i < dep.length; i++) +/******/ hot._declinedDependencies[dep[i]] = true; +/******/ else hot._declinedDependencies[dep] = true; +/******/ }, +/******/ dispose: function(callback) { +/******/ hot._disposeHandlers.push(callback); +/******/ }, +/******/ addDisposeHandler: function(callback) { +/******/ hot._disposeHandlers.push(callback); +/******/ }, +/******/ removeDisposeHandler: function(callback) { +/******/ var idx = hot._disposeHandlers.indexOf(callback); +/******/ if (idx >= 0) hot._disposeHandlers.splice(idx, 1); +/******/ }, +/******/ +/******/ // Management API +/******/ check: hotCheck, +/******/ apply: hotApply, +/******/ status: function(l) { +/******/ if (!l) return hotStatus; +/******/ hotStatusHandlers.push(l); +/******/ }, +/******/ addStatusHandler: function(l) { +/******/ hotStatusHandlers.push(l); +/******/ }, +/******/ removeStatusHandler: function(l) { +/******/ var idx = hotStatusHandlers.indexOf(l); +/******/ if (idx >= 0) hotStatusHandlers.splice(idx, 1); +/******/ }, +/******/ +/******/ //inherit from previous dispose call +/******/ data: hotCurrentModuleData[moduleId] +/******/ }; +/******/ hotCurrentChildModule = undefined; +/******/ return hot; +/******/ } +/******/ +/******/ var hotStatusHandlers = []; +/******/ var hotStatus = "idle"; +/******/ +/******/ function hotSetStatus(newStatus) { +/******/ hotStatus = newStatus; +/******/ for (var i = 0; i < hotStatusHandlers.length; i++) +/******/ hotStatusHandlers[i].call(null, newStatus); +/******/ } +/******/ +/******/ // while downloading +/******/ var hotWaitingFiles = 0; +/******/ var hotChunksLoading = 0; +/******/ var hotWaitingFilesMap = {}; +/******/ var hotRequestedFilesMap = {}; +/******/ var hotAvailableFilesMap = {}; +/******/ var hotDeferred; +/******/ +/******/ // The update info +/******/ var hotUpdate, hotUpdateNewHash; +/******/ +/******/ function toModuleId(id) { +/******/ var isNumber = +id + "" === id; +/******/ return isNumber ? +id : id; +/******/ } +/******/ +/******/ function hotCheck(apply) { +/******/ if (hotStatus !== "idle") { +/******/ throw new Error("check() is only allowed in idle status"); +/******/ } +/******/ hotApplyOnUpdate = apply; +/******/ hotSetStatus("check"); +/******/ return hotDownloadManifest(hotRequestTimeout).then(function(update) { +/******/ if (!update) { +/******/ hotSetStatus("idle"); +/******/ return null; +/******/ } +/******/ hotRequestedFilesMap = {}; +/******/ hotWaitingFilesMap = {}; +/******/ hotAvailableFilesMap = update.c; +/******/ hotUpdateNewHash = update.h; +/******/ +/******/ hotSetStatus("prepare"); +/******/ var promise = new Promise(function(resolve, reject) { +/******/ hotDeferred = { +/******/ resolve: resolve, +/******/ reject: reject +/******/ }; +/******/ }); +/******/ hotUpdate = {}; +/******/ var chunkId = "applications/story-time"; +/******/ // eslint-disable-next-line no-lone-blocks +/******/ { +/******/ /*globals chunkId */ +/******/ hotEnsureUpdateChunk(chunkId); +/******/ } +/******/ if ( +/******/ hotStatus === "prepare" && +/******/ hotChunksLoading === 0 && +/******/ hotWaitingFiles === 0 +/******/ ) { +/******/ hotUpdateDownloaded(); +/******/ } +/******/ return promise; +/******/ }); +/******/ } +/******/ +/******/ // eslint-disable-next-line no-unused-vars +/******/ function hotAddUpdateChunk(chunkId, moreModules) { +/******/ if (!hotAvailableFilesMap[chunkId] || !hotRequestedFilesMap[chunkId]) +/******/ return; +/******/ hotRequestedFilesMap[chunkId] = false; +/******/ for (var moduleId in moreModules) { +/******/ if (Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { +/******/ hotUpdate[moduleId] = moreModules[moduleId]; +/******/ } +/******/ } +/******/ if (--hotWaitingFiles === 0 && hotChunksLoading === 0) { +/******/ hotUpdateDownloaded(); +/******/ } +/******/ } +/******/ +/******/ function hotEnsureUpdateChunk(chunkId) { +/******/ if (!hotAvailableFilesMap[chunkId]) { +/******/ hotWaitingFilesMap[chunkId] = true; +/******/ } else { +/******/ hotRequestedFilesMap[chunkId] = true; +/******/ hotWaitingFiles++; +/******/ hotDownloadUpdateChunk(chunkId); +/******/ } +/******/ } +/******/ +/******/ function hotUpdateDownloaded() { +/******/ hotSetStatus("ready"); +/******/ var deferred = hotDeferred; +/******/ hotDeferred = null; +/******/ if (!deferred) return; +/******/ if (hotApplyOnUpdate) { +/******/ // Wrap deferred object in Promise to mark it as a well-handled Promise to +/******/ // avoid triggering uncaught exception warning in Chrome. +/******/ // See https://bugs.chromium.org/p/chromium/issues/detail?id=465666 +/******/ Promise.resolve() +/******/ .then(function() { +/******/ return hotApply(hotApplyOnUpdate); +/******/ }) +/******/ .then( +/******/ function(result) { +/******/ deferred.resolve(result); +/******/ }, +/******/ function(err) { +/******/ deferred.reject(err); +/******/ } +/******/ ); +/******/ } else { +/******/ var outdatedModules = []; +/******/ for (var id in hotUpdate) { +/******/ if (Object.prototype.hasOwnProperty.call(hotUpdate, id)) { +/******/ outdatedModules.push(toModuleId(id)); +/******/ } +/******/ } +/******/ deferred.resolve(outdatedModules); +/******/ } +/******/ } +/******/ +/******/ function hotApply(options) { +/******/ if (hotStatus !== "ready") +/******/ throw new Error("apply() is only allowed in ready status"); +/******/ options = options || {}; +/******/ +/******/ var cb; +/******/ var i; +/******/ var j; +/******/ var module; +/******/ var moduleId; +/******/ +/******/ function getAffectedStuff(updateModuleId) { +/******/ var outdatedModules = [updateModuleId]; +/******/ var outdatedDependencies = {}; +/******/ +/******/ var queue = outdatedModules.map(function(id) { +/******/ return { +/******/ chain: [id], +/******/ id: id +/******/ }; +/******/ }); +/******/ while (queue.length > 0) { +/******/ var queueItem = queue.pop(); +/******/ var moduleId = queueItem.id; +/******/ var chain = queueItem.chain; +/******/ module = installedModules[moduleId]; +/******/ if (!module || module.hot._selfAccepted) continue; +/******/ if (module.hot._selfDeclined) { +/******/ return { +/******/ type: "self-declined", +/******/ chain: chain, +/******/ moduleId: moduleId +/******/ }; +/******/ } +/******/ if (module.hot._main) { +/******/ return { +/******/ type: "unaccepted", +/******/ chain: chain, +/******/ moduleId: moduleId +/******/ }; +/******/ } +/******/ for (var i = 0; i < module.parents.length; i++) { +/******/ var parentId = module.parents[i]; +/******/ var parent = installedModules[parentId]; +/******/ if (!parent) continue; +/******/ if (parent.hot._declinedDependencies[moduleId]) { +/******/ return { +/******/ type: "declined", +/******/ chain: chain.concat([parentId]), +/******/ moduleId: moduleId, +/******/ parentId: parentId +/******/ }; +/******/ } +/******/ if (outdatedModules.indexOf(parentId) !== -1) continue; +/******/ if (parent.hot._acceptedDependencies[moduleId]) { +/******/ if (!outdatedDependencies[parentId]) +/******/ outdatedDependencies[parentId] = []; +/******/ addAllToSet(outdatedDependencies[parentId], [moduleId]); +/******/ continue; +/******/ } +/******/ delete outdatedDependencies[parentId]; +/******/ outdatedModules.push(parentId); +/******/ queue.push({ +/******/ chain: chain.concat([parentId]), +/******/ id: parentId +/******/ }); +/******/ } +/******/ } +/******/ +/******/ return { +/******/ type: "accepted", +/******/ moduleId: updateModuleId, +/******/ outdatedModules: outdatedModules, +/******/ outdatedDependencies: outdatedDependencies +/******/ }; +/******/ } +/******/ +/******/ function addAllToSet(a, b) { +/******/ for (var i = 0; i < b.length; i++) { +/******/ var item = b[i]; +/******/ if (a.indexOf(item) === -1) a.push(item); +/******/ } +/******/ } +/******/ +/******/ // at begin all updates modules are outdated +/******/ // the "outdated" status can propagate to parents if they don't accept the children +/******/ var outdatedDependencies = {}; +/******/ var outdatedModules = []; +/******/ var appliedUpdate = {}; +/******/ +/******/ var warnUnexpectedRequire = function warnUnexpectedRequire() { +/******/ console.warn( +/******/ "[HMR] unexpected require(" + result.moduleId + ") to disposed module" +/******/ ); +/******/ }; +/******/ +/******/ for (var id in hotUpdate) { +/******/ if (Object.prototype.hasOwnProperty.call(hotUpdate, id)) { +/******/ moduleId = toModuleId(id); +/******/ /** @type {TODO} */ +/******/ var result; +/******/ if (hotUpdate[id]) { +/******/ result = getAffectedStuff(moduleId); +/******/ } else { +/******/ result = { +/******/ type: "disposed", +/******/ moduleId: id +/******/ }; +/******/ } +/******/ /** @type {Error|false} */ +/******/ var abortError = false; +/******/ var doApply = false; +/******/ var doDispose = false; +/******/ var chainInfo = ""; +/******/ if (result.chain) { +/******/ chainInfo = "\nUpdate propagation: " + result.chain.join(" -> "); +/******/ } +/******/ switch (result.type) { +/******/ case "self-declined": +/******/ if (options.onDeclined) options.onDeclined(result); +/******/ if (!options.ignoreDeclined) +/******/ abortError = new Error( +/******/ "Aborted because of self decline: " + +/******/ result.moduleId + +/******/ chainInfo +/******/ ); +/******/ break; +/******/ case "declined": +/******/ if (options.onDeclined) options.onDeclined(result); +/******/ if (!options.ignoreDeclined) +/******/ abortError = new Error( +/******/ "Aborted because of declined dependency: " + +/******/ result.moduleId + +/******/ " in " + +/******/ result.parentId + +/******/ chainInfo +/******/ ); +/******/ break; +/******/ case "unaccepted": +/******/ if (options.onUnaccepted) options.onUnaccepted(result); +/******/ if (!options.ignoreUnaccepted) +/******/ abortError = new Error( +/******/ "Aborted because " + moduleId + " is not accepted" + chainInfo +/******/ ); +/******/ break; +/******/ case "accepted": +/******/ if (options.onAccepted) options.onAccepted(result); +/******/ doApply = true; +/******/ break; +/******/ case "disposed": +/******/ if (options.onDisposed) options.onDisposed(result); +/******/ doDispose = true; +/******/ break; +/******/ default: +/******/ throw new Error("Unexception type " + result.type); +/******/ } +/******/ if (abortError) { +/******/ hotSetStatus("abort"); +/******/ return Promise.reject(abortError); +/******/ } +/******/ if (doApply) { +/******/ appliedUpdate[moduleId] = hotUpdate[moduleId]; +/******/ addAllToSet(outdatedModules, result.outdatedModules); +/******/ for (moduleId in result.outdatedDependencies) { +/******/ if ( +/******/ Object.prototype.hasOwnProperty.call( +/******/ result.outdatedDependencies, +/******/ moduleId +/******/ ) +/******/ ) { +/******/ if (!outdatedDependencies[moduleId]) +/******/ outdatedDependencies[moduleId] = []; +/******/ addAllToSet( +/******/ outdatedDependencies[moduleId], +/******/ result.outdatedDependencies[moduleId] +/******/ ); +/******/ } +/******/ } +/******/ } +/******/ if (doDispose) { +/******/ addAllToSet(outdatedModules, [result.moduleId]); +/******/ appliedUpdate[moduleId] = warnUnexpectedRequire; +/******/ } +/******/ } +/******/ } +/******/ +/******/ // Store self accepted outdated modules to require them later by the module system +/******/ var outdatedSelfAcceptedModules = []; +/******/ for (i = 0; i < outdatedModules.length; i++) { +/******/ moduleId = outdatedModules[i]; +/******/ if ( +/******/ installedModules[moduleId] && +/******/ installedModules[moduleId].hot._selfAccepted && +/******/ // removed self-accepted modules should not be required +/******/ appliedUpdate[moduleId] !== warnUnexpectedRequire +/******/ ) { +/******/ outdatedSelfAcceptedModules.push({ +/******/ module: moduleId, +/******/ errorHandler: installedModules[moduleId].hot._selfAccepted +/******/ }); +/******/ } +/******/ } +/******/ +/******/ // Now in "dispose" phase +/******/ hotSetStatus("dispose"); +/******/ Object.keys(hotAvailableFilesMap).forEach(function(chunkId) { +/******/ if (hotAvailableFilesMap[chunkId] === false) { +/******/ hotDisposeChunk(chunkId); +/******/ } +/******/ }); +/******/ +/******/ var idx; +/******/ var queue = outdatedModules.slice(); +/******/ while (queue.length > 0) { +/******/ moduleId = queue.pop(); +/******/ module = installedModules[moduleId]; +/******/ if (!module) continue; +/******/ +/******/ var data = {}; +/******/ +/******/ // Call dispose handlers +/******/ var disposeHandlers = module.hot._disposeHandlers; +/******/ for (j = 0; j < disposeHandlers.length; j++) { +/******/ cb = disposeHandlers[j]; +/******/ cb(data); +/******/ } +/******/ hotCurrentModuleData[moduleId] = data; +/******/ +/******/ // disable module (this disables requires from this module) +/******/ module.hot.active = false; +/******/ +/******/ // remove module from cache +/******/ delete installedModules[moduleId]; +/******/ +/******/ // when disposing there is no need to call dispose handler +/******/ delete outdatedDependencies[moduleId]; +/******/ +/******/ // remove "parents" references from all children +/******/ for (j = 0; j < module.children.length; j++) { +/******/ var child = installedModules[module.children[j]]; +/******/ if (!child) continue; +/******/ idx = child.parents.indexOf(moduleId); +/******/ if (idx >= 0) { +/******/ child.parents.splice(idx, 1); +/******/ } +/******/ } +/******/ } +/******/ +/******/ // remove outdated dependency from module children +/******/ var dependency; +/******/ var moduleOutdatedDependencies; +/******/ for (moduleId in outdatedDependencies) { +/******/ if ( +/******/ Object.prototype.hasOwnProperty.call(outdatedDependencies, moduleId) +/******/ ) { +/******/ module = installedModules[moduleId]; +/******/ if (module) { +/******/ moduleOutdatedDependencies = outdatedDependencies[moduleId]; +/******/ for (j = 0; j < moduleOutdatedDependencies.length; j++) { +/******/ dependency = moduleOutdatedDependencies[j]; +/******/ idx = module.children.indexOf(dependency); +/******/ if (idx >= 0) module.children.splice(idx, 1); +/******/ } +/******/ } +/******/ } +/******/ } +/******/ +/******/ // Now in "apply" phase +/******/ hotSetStatus("apply"); +/******/ +/******/ hotCurrentHash = hotUpdateNewHash; +/******/ +/******/ // insert new code +/******/ for (moduleId in appliedUpdate) { +/******/ if (Object.prototype.hasOwnProperty.call(appliedUpdate, moduleId)) { +/******/ modules[moduleId] = appliedUpdate[moduleId]; +/******/ } +/******/ } +/******/ +/******/ // call accept handlers +/******/ var error = null; +/******/ for (moduleId in outdatedDependencies) { +/******/ if ( +/******/ Object.prototype.hasOwnProperty.call(outdatedDependencies, moduleId) +/******/ ) { +/******/ module = installedModules[moduleId]; +/******/ if (module) { +/******/ moduleOutdatedDependencies = outdatedDependencies[moduleId]; +/******/ var callbacks = []; +/******/ for (i = 0; i < moduleOutdatedDependencies.length; i++) { +/******/ dependency = moduleOutdatedDependencies[i]; +/******/ cb = module.hot._acceptedDependencies[dependency]; +/******/ if (cb) { +/******/ if (callbacks.indexOf(cb) !== -1) continue; +/******/ callbacks.push(cb); +/******/ } +/******/ } +/******/ for (i = 0; i < callbacks.length; i++) { +/******/ cb = callbacks[i]; +/******/ try { +/******/ cb(moduleOutdatedDependencies); +/******/ } catch (err) { +/******/ if (options.onErrored) { +/******/ options.onErrored({ +/******/ type: "accept-errored", +/******/ moduleId: moduleId, +/******/ dependencyId: moduleOutdatedDependencies[i], +/******/ error: err +/******/ }); +/******/ } +/******/ if (!options.ignoreErrored) { +/******/ if (!error) error = err; +/******/ } +/******/ } +/******/ } +/******/ } +/******/ } +/******/ } +/******/ +/******/ // Load self accepted modules +/******/ for (i = 0; i < outdatedSelfAcceptedModules.length; i++) { +/******/ var item = outdatedSelfAcceptedModules[i]; +/******/ moduleId = item.module; +/******/ hotCurrentParents = [moduleId]; +/******/ try { +/******/ __webpack_require__(moduleId); +/******/ } catch (err) { +/******/ if (typeof item.errorHandler === "function") { +/******/ try { +/******/ item.errorHandler(err); +/******/ } catch (err2) { +/******/ if (options.onErrored) { +/******/ options.onErrored({ +/******/ type: "self-accept-error-handler-errored", +/******/ moduleId: moduleId, +/******/ error: err2, +/******/ originalError: err +/******/ }); +/******/ } +/******/ if (!options.ignoreErrored) { +/******/ if (!error) error = err2; +/******/ } +/******/ if (!error) error = err; +/******/ } +/******/ } else { +/******/ if (options.onErrored) { +/******/ options.onErrored({ +/******/ type: "self-accept-errored", +/******/ moduleId: moduleId, +/******/ error: err +/******/ }); +/******/ } +/******/ if (!options.ignoreErrored) { +/******/ if (!error) error = err; +/******/ } +/******/ } +/******/ } +/******/ } +/******/ +/******/ // handle errors in accept handlers and self accepted module load +/******/ if (error) { +/******/ hotSetStatus("fail"); +/******/ return Promise.reject(error); +/******/ } +/******/ +/******/ hotSetStatus("idle"); +/******/ return new Promise(function(resolve) { +/******/ resolve(outdatedModules); +/******/ }); +/******/ } +/******/ +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {}, +/******/ hot: hotCreateModule(moduleId), +/******/ parents: (hotCurrentParentsTemp = hotCurrentParents, hotCurrentParents = [], hotCurrentParentsTemp), +/******/ children: [] +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId)); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ // __webpack_hash__ +/******/ __webpack_require__.h = function() { return hotCurrentHash; }; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return hotCreateRequire("./resources/scripts/applications/story-time/main.vue")(__webpack_require__.s = "./resources/scripts/applications/story-time/main.vue"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/scripts/applications/shared/components/SideBar/SideBar.vue?vue&type=script&lang=ts&": +/*!****************************************************************************************************************************************************************************************************************************!*\ + !*** ./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--1-1!./node_modules/vue-loader/lib??vue-loader-options!./resources/scripts/applications/shared/components/SideBar/SideBar.vue?vue&type=script&lang=ts& ***! + \****************************************************************************************************************************************************************************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue-router */ \"./node_modules/vue-router/dist/vue-router.esm.js\");\n!(function webpackMissingModule() { var e = new Error(\"Cannot find module '../app'\"); e.code = 'MODULE_NOT_FOUND'; throw e; }());\n!(function webpackMissingModule() { var e = new Error(\"Cannot find module '../views/home'\"); e.code = 'MODULE_NOT_FOUND'; throw e; }());\n\n\n\nvar routes = [\n/** Define Application Routes */\n{\n path: '/',\n component: !(function webpackMissingModule() { var e = new Error(\"Cannot find module '../app'\"); e.code = 'MODULE_NOT_FOUND'; throw e; }()),\n children: [{\n path: '',\n component: !(function webpackMissingModule() { var e = new Error(\"Cannot find module '../views/home'\"); e.code = 'MODULE_NOT_FOUND'; throw e; }())\n }, {\n path: 'home',\n component: !(function webpackMissingModule() { var e = new Error(\"Cannot find module '../views/home'\"); e.code = 'MODULE_NOT_FOUND'; throw e; }())\n }]\n}];\nvar AppRouter = new vue_router__WEBPACK_IMPORTED_MODULE_0__[\"default\"]({\n routes: routes\n});\nAppRouter.beforeEach(function (to, from) {\n console.log(to);\n console.log(from);\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (AppRouter);\n\n//# sourceURL=webpack:///./resources/scripts/applications/shared/components/SideBar/SideBar.vue?./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--1-1!./node_modules/vue-loader/lib??vue-loader-options"); + +/***/ }), + +/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js?!./resources/scripts/applications/story-time/app.ts?vue&type=script&lang=ts&": +/*!******************************************************************************************************************************************************!*\ + !*** ./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--1-1!./resources/scripts/applications/story-time/app.ts?vue&type=script&lang=ts& ***! + \******************************************************************************************************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _components_Header__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./components/Header */ \"./resources/scripts/applications/story-time/components/Header.vue\");\n/* harmony import */ var _shared_components_SideBar_SideBar__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../shared/components/SideBar/SideBar */ \"./resources/scripts/applications/shared/components/SideBar/SideBar.vue\");\n\n\nvar menu = [{\n href: '#',\n text: 'Start a session',\n isActive: false,\n icon: 'fa fa-bookmark'\n}, {\n href: '#',\n text: 'Create something',\n isActive: true,\n icon: 'fa fa-book'\n}, {\n href: '/logout',\n text: 'Logout',\n icon: 'fa fa-gears',\n isActive: false\n}, {\n href: '/logout',\n text: 'Logout',\n icon: 'fa fa-sign-out',\n isActive: false\n}];\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"app\",\n components: {\n SideBar: _shared_components_SideBar_SideBar__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n Header: _components_Header__WEBPACK_IMPORTED_MODULE_0__[\"default\"]\n },\n data: function () {\n return {\n appName: \"Story Time\",\n menu: menu\n };\n }\n});\n\n//# sourceURL=webpack:///./resources/scripts/applications/story-time/app.ts?./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--1-1"); + +/***/ }), + +/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js?!./resources/scripts/applications/story-time/components/Header.ts?vue&type=script&lang=ts&": +/*!********************************************************************************************************************************************************************!*\ + !*** ./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--1-1!./resources/scripts/applications/story-time/components/Header.ts?vue&type=script&lang=ts& ***! + \********************************************************************************************************************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"Header\",\n props: ['username']\n});\n\n//# sourceURL=webpack:///./resources/scripts/applications/story-time/components/Header.ts?./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--1-1"); + +/***/ }), + +/***/ "./node_modules/process/browser.js": +/*!*****************************************!*\ + !*** ./node_modules/process/browser.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n//# sourceURL=webpack:///./node_modules/process/browser.js?"); + +/***/ }), + +/***/ "./node_modules/setimmediate/setImmediate.js": +/*!***************************************************!*\ + !*** ./node_modules/setimmediate/setImmediate.js ***! + \***************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("/* WEBPACK VAR INJECTION */(function(global, process) {(function (global, undefined) {\n \"use strict\";\n\n if (global.setImmediate) {\n return;\n }\n\n var nextHandle = 1; // Spec says greater than zero\n var tasksByHandle = {};\n var currentlyRunningATask = false;\n var doc = global.document;\n var registerImmediate;\n\n function setImmediate(callback) {\n // Callback can either be a function or a string\n if (typeof callback !== \"function\") {\n callback = new Function(\"\" + callback);\n }\n // Copy function arguments\n var args = new Array(arguments.length - 1);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i + 1];\n }\n // Store and register the task\n var task = { callback: callback, args: args };\n tasksByHandle[nextHandle] = task;\n registerImmediate(nextHandle);\n return nextHandle++;\n }\n\n function clearImmediate(handle) {\n delete tasksByHandle[handle];\n }\n\n function run(task) {\n var callback = task.callback;\n var args = task.args;\n switch (args.length) {\n case 0:\n callback();\n break;\n case 1:\n callback(args[0]);\n break;\n case 2:\n callback(args[0], args[1]);\n break;\n case 3:\n callback(args[0], args[1], args[2]);\n break;\n default:\n callback.apply(undefined, args);\n break;\n }\n }\n\n function runIfPresent(handle) {\n // From the spec: \"Wait until any invocations of this algorithm started before this one have completed.\"\n // So if we're currently running a task, we'll need to delay this invocation.\n if (currentlyRunningATask) {\n // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a\n // \"too much recursion\" error.\n setTimeout(runIfPresent, 0, handle);\n } else {\n var task = tasksByHandle[handle];\n if (task) {\n currentlyRunningATask = true;\n try {\n run(task);\n } finally {\n clearImmediate(handle);\n currentlyRunningATask = false;\n }\n }\n }\n }\n\n function installNextTickImplementation() {\n registerImmediate = function(handle) {\n process.nextTick(function () { runIfPresent(handle); });\n };\n }\n\n function canUsePostMessage() {\n // The test against `importScripts` prevents this implementation from being installed inside a web worker,\n // where `global.postMessage` means something completely different and can't be used for this purpose.\n if (global.postMessage && !global.importScripts) {\n var postMessageIsAsynchronous = true;\n var oldOnMessage = global.onmessage;\n global.onmessage = function() {\n postMessageIsAsynchronous = false;\n };\n global.postMessage(\"\", \"*\");\n global.onmessage = oldOnMessage;\n return postMessageIsAsynchronous;\n }\n }\n\n function installPostMessageImplementation() {\n // Installs an event handler on `global` for the `message` event: see\n // * https://developer.mozilla.org/en/DOM/window.postMessage\n // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages\n\n var messagePrefix = \"setImmediate$\" + Math.random() + \"$\";\n var onGlobalMessage = function(event) {\n if (event.source === global &&\n typeof event.data === \"string\" &&\n event.data.indexOf(messagePrefix) === 0) {\n runIfPresent(+event.data.slice(messagePrefix.length));\n }\n };\n\n if (global.addEventListener) {\n global.addEventListener(\"message\", onGlobalMessage, false);\n } else {\n global.attachEvent(\"onmessage\", onGlobalMessage);\n }\n\n registerImmediate = function(handle) {\n global.postMessage(messagePrefix + handle, \"*\");\n };\n }\n\n function installMessageChannelImplementation() {\n var channel = new MessageChannel();\n channel.port1.onmessage = function(event) {\n var handle = event.data;\n runIfPresent(handle);\n };\n\n registerImmediate = function(handle) {\n channel.port2.postMessage(handle);\n };\n }\n\n function installReadyStateChangeImplementation() {\n var html = doc.documentElement;\n registerImmediate = function(handle) {\n // Create a diff --git a/resources/scripts/applications/home/components/Header.ts b/resources/scripts/applications/home/components/Header.ts deleted file mode 100644 index 9746bc7..0000000 --- a/resources/scripts/applications/home/components/Header.ts +++ /dev/null @@ -1,4 +0,0 @@ -export default { - name: "Header", - props: ['appName'] -} diff --git a/resources/scripts/applications/home/components/Header.vue b/resources/scripts/applications/home/components/Header.vue index 11a73bb..2db7ae3 100644 --- a/resources/scripts/applications/home/components/Header.vue +++ b/resources/scripts/applications/home/components/Header.vue @@ -3,10 +3,13 @@

{{appName}}

-

Test

- diff --git a/resources/scripts/applications/home/main.vue b/resources/scripts/applications/home/main.vue index 9c43a7b..c2cd1df 100644 --- a/resources/scripts/applications/home/main.vue +++ b/resources/scripts/applications/home/main.vue @@ -1,14 +1,13 @@ -// import Vue from 'vue'; -// import App from './app.vue'; - -// new Vue({ -// render: h => h(App) -// }).$mount('#app') - +export default app; + diff --git a/resources/scripts/applications/home/router/router.vue b/resources/scripts/applications/home/router/router.vue new file mode 100644 index 0000000..8333c9f --- /dev/null +++ b/resources/scripts/applications/home/router/router.vue @@ -0,0 +1,37 @@ + + diff --git a/resources/scripts/applications/home/views/application.vue b/resources/scripts/applications/home/views/application.vue new file mode 100644 index 0000000..4d4aaa5 --- /dev/null +++ b/resources/scripts/applications/home/views/application.vue @@ -0,0 +1,15 @@ + + + + diff --git a/resources/scripts/applications/home/views/home.vue b/resources/scripts/applications/home/views/home.vue new file mode 100644 index 0000000..5d0efc5 --- /dev/null +++ b/resources/scripts/applications/home/views/home.vue @@ -0,0 +1,15 @@ + + + + diff --git a/resources/scripts/applications/home/views/settings.vue b/resources/scripts/applications/home/views/settings.vue new file mode 100644 index 0000000..11271c6 --- /dev/null +++ b/resources/scripts/applications/home/views/settings.vue @@ -0,0 +1,32 @@ + + + + diff --git a/resources/scripts/applications/shared/components/SideBar/SideBar.ts b/resources/scripts/applications/shared/components/SideBar/SideBar.ts deleted file mode 100644 index b4fc15f..0000000 --- a/resources/scripts/applications/shared/components/SideBar/SideBar.ts +++ /dev/null @@ -1,15 +0,0 @@ -import SidewayText from '../SidewayText/SidewayText'; - -export interface IMenuItem { - href: string; - text: string; - icon: string; - isActive: boolean; -} -export default { - components: { - SidewayText - }, - name: "SideMenu", - props: ["menu", "title", "appName", "selectedItem"] -}; diff --git a/resources/scripts/applications/shared/components/SideBar/SideBar.vue b/resources/scripts/applications/shared/components/SideBar/SideBar.vue index 0cbfd4a..894dfbb 100644 --- a/resources/scripts/applications/shared/components/SideBar/SideBar.vue +++ b/resources/scripts/applications/shared/components/SideBar/SideBar.vue @@ -1,14 +1,31 @@ - diff --git a/resources/scripts/applications/shared/components/SidewayText/SidewayText.ts b/resources/scripts/applications/shared/components/SidewayText/SidewayText.ts deleted file mode 100644 index 8187a9d..0000000 --- a/resources/scripts/applications/shared/components/SidewayText/SidewayText.ts +++ /dev/null @@ -1,9 +0,0 @@ -export interface ISidewayText { - class: string; -} -export default { - props: ["text", "bold", "textSize"], - data: () => ({ - - }), -}; diff --git a/resources/scripts/applications/shared/components/SidewayText/SidewayText.vue b/resources/scripts/applications/shared/components/SidewayText/SidewayText.vue index a01c8ad..a83f4b2 100644 --- a/resources/scripts/applications/shared/components/SidewayText/SidewayText.vue +++ b/resources/scripts/applications/shared/components/SidewayText/SidewayText.vue @@ -13,4 +13,13 @@
--> - diff --git a/resources/scripts/applications/story-time/app.ts b/resources/scripts/applications/story-time/app.ts deleted file mode 100644 index 9ac486a..0000000 --- a/resources/scripts/applications/story-time/app.ts +++ /dev/null @@ -1,43 +0,0 @@ -import Header from "./components/Header"; -import { - default as SideBar, - IMenuItem -} from "../shared/components/SideBar/SideBar"; -const menu: IMenuItem[] = [ - { - href: '#', - text: 'Start a session', - isActive: false, - icon: 'fa fa-bookmark' - }, - { - href: '#', - text: 'Create something', - isActive: true, - icon: 'fa fa-book', - }, - { - href: '/logout', - text: 'Logout', - icon: 'fa fa-gears', - isActive: false - }, - { - href: '/logout', - text: 'Logout', - icon: 'fa fa-sign-out', - isActive: false - } -] - -export default { - name: "app", - components: { - SideBar, - Header - }, - data: () => ({ - appName: "Story Time", - menu - }) -}; diff --git a/resources/scripts/applications/story-time/app.vue b/resources/scripts/applications/story-time/app.vue deleted file mode 100644 index 9a183f7..0000000 --- a/resources/scripts/applications/story-time/app.vue +++ /dev/null @@ -1,61 +0,0 @@ - - - diff --git a/resources/scripts/applications/story-time/main.vue b/resources/scripts/applications/story-time/main.vue deleted file mode 100644 index a311ff5..0000000 --- a/resources/scripts/applications/story-time/main.vue +++ /dev/null @@ -1,16 +0,0 @@ -// import Vue from 'vue'; -// import App from './app.vue'; - -// new Vue({ -// render: h => h(App) -// }).$mount('#app') - - diff --git a/resources/scripts/main.ts b/resources/scripts/main.ts new file mode 100644 index 0000000..e69de29 diff --git a/resources/views/home.edge b/resources/views/home.edge index fe03b3e..2327a85 100644 --- a/resources/views/home.edge +++ b/resources/views/home.edge @@ -5,5 +5,5 @@
Loading...
-{{ script('scripts/applications/home/home.bundle.js') }} +{{ script('scripts/applications/home/app.bundle.js') }} @endsection diff --git a/start/kernel.js b/start/kernel.js index b4f2720..ea31acd 100644 --- a/start/kernel.js +++ b/start/kernel.js @@ -12,35 +12,36 @@ const Server = use('Server') | match. | */ -const globalMiddleware = [ - 'Adonis/Middleware/BodyParser', - 'Adonis/Middleware/Session', - 'Adonis/Middleware/Shield', - 'Adonis/Middleware/AuthInit', - 'App/Middleware/ConvertEmptyStringsToNull', -] +const globalMiddleware = + [ + 'Adonis/Middleware/BodyParser', + 'Adonis/Middleware/Session', + 'Adonis/Middleware/Shield', + 'Adonis/Middleware/AuthInit', + 'App/Middleware/ConvertEmptyStringsToNull', + ] -/* -|-------------------------------------------------------------------------- -| Named Middleware -|-------------------------------------------------------------------------- -| -| Named middleware is key/value object to conditionally add middleware on -| specific routes or group of routes. -| -| // define -| { -| auth: 'Adonis/Middleware/Auth' -| } -| -| // use -| Route.get().middleware('auth') -| -*/ -const namedMiddleware = { - auth: 'Adonis/Middleware/Auth', - guest: 'Adonis/Middleware/AllowGuestOnly' -} + /* + |-------------------------------------------------------------------------- + | Named Middleware + |-------------------------------------------------------------------------- + | + | Named middleware is key/value object to conditionally add middleware on + | specific routes or group of routes. + | + | // define + | { + | auth: 'Adonis/Middleware/Auth' + | } + | + | // use + | Route.get().middleware('auth') + | + */ + const namedMiddleware = { + auth: 'Adonis/Middleware/Auth', + guest: 'Adonis/Middleware/AllowGuestOnly' + } /* |-------------------------------------------------------------------------- @@ -52,12 +53,8 @@ const namedMiddleware = { | control over request lifecycle. | */ -const serverMiddleware = [ - 'Adonis/Middleware/Static', - 'Adonis/Middleware/Cors' -] +const serverMiddleware = ['Adonis/Middleware/Static', 'Adonis/Middleware/Cors'] -Server - .registerGlobal(globalMiddleware) - .registerNamed(namedMiddleware) - .use(serverMiddleware) +Server.registerGlobal(globalMiddleware) + .registerNamed(namedMiddleware) + .use(serverMiddleware); diff --git a/start/routes.js b/start/routes.js index e24963b..d23ba3f 100644 --- a/start/routes.js +++ b/start/routes.js @@ -16,7 +16,6 @@ /** @type {typeof import('@adonisjs/framework/src/Route/Manager')} */ const Route = use('Route') -Route.get('/', 'IndexController.index').as('home'); /* / Auth @@ -36,3 +35,18 @@ Route '/applications/story-time', ({view}) => view.render('applications.story-time.app')) .middleware(['auth']); + + +/** Basic APIs */ +Route + .get( + '/users/profile', + ({request, response, auth}) => { + console.log('twergsg'); + const u = auth.user.publicJSON(); + + response.send(u); + // return auth.user; + }) + .middleware(['auth']); +Route.get('/*', 'IndexController.index').as('home'); diff --git a/start/startup_script.js b/start/startup_script.js new file mode 100644 index 0000000..fe7ec9b --- /dev/null +++ b/start/startup_script.js @@ -0,0 +1,10 @@ +const User = use('App/Models/User'); + +export default class StartupScript { + static async run() { + // TODO: Create a new Model AppSettings (has a field for initial run) check + // if there is a app settings; + SettingItems - hasMenySettings + appCatagory - + } +} diff --git a/tsconfig.json b/tsconfig.json index 9995aa6..66421db 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,10 +5,14 @@ "target": "es5", "sourceMap": true, "allowJs": true, + "lib": [ + "dom", + "es2015" + ], "experimentalDecorators": true }, "include": [ - "resources/scripts/applications/story-time/app.ts" + "resources/scripts/main.ts" ], "exclude": [ "node_modules", diff --git a/webpack.config copy.js b/webpack.config copy.js new file mode 100644 index 0000000..e0a699a --- /dev/null +++ b/webpack.config copy.js @@ -0,0 +1,101 @@ +const path = require('path'); +const webpack = require('webpack'); +// const HtmlWebpackPlugin = require('html-webpack-plugin'); +// const CleanWebpackPlugin = require('clean-webpack-plugin'); +// const CopyWebpackPlugin = require('copy-webpack-plugin'); +const {VueLoaderPlugin} = require('vue-loader') +require('babel-loader'); +require('ts-loader'); +const resolve = relativePath => path.resolve(__dirname, '..', relativePath); + +module.exports = { + mode: 'development', + entry: { + 'components': './resources/scripts/components/navbar.ts', + + + // 'applications/story-time': + // './resources/scripts/applications/story-time/main.vue', + 'applications/home': './resources/scripts/applications/home/main.vue', + }, + output: { + filename: 'scripts/[name]/app.bundle.js', + path: path.resolve(__dirname, 'public'), + }, + module: { + rules: [ + { + // vue-loader config to load `.vue` files or single file components. + test: /\.vue$/, + loader: 'vue-loader', + options: { + loaders: { + // https://vue-loader.vuejs.org/guide/scoped-css.html#mixing-local-and-global-styles + css: [ + 'vue-style-loader', { + loader: 'css-loader', + } + ], + ts: [ + 'ts-loader', + ], + js: [ + 'babel-loader', + ], + }, + cacheBusting: true, + }, + }, + { + test: /\.tsx?$/, + use: [ + {loader: 'babel-loader'}, { + loader: 'ts-loader', + options: { + appendTsSuffixTo: [/\.ts\.vue$/], + appendTsxSuffixTo: [/\.tsx\.vue$/] + } + } + ], + exclude: /node_modules/ + }, + { + // This is required for other javascript you are gonna write besides + // vue. + test: /\.js$/, + loader: 'babel-loader', + include: [ + resolve('src'), + resolve('node_modules/webpack-dev-server/client'), + ], + }, + ] + }, + plugins: [ + new webpack.NamedModulesPlugin(), + new VueLoaderPlugin(), + // Exchanges, adds, or removes modules while an application is running, + // without a full reload. + new webpack.HotModuleReplacementPlugin(), + ], + resolve: { + /** + * The compiler-included build of vue which allows to use vue templates + * without pre-compiling them + */ + alias: { + 'vue$': 'vue/dist/vue.esm.js', + }, + extensions: ['*', '.vue', '.js', '.ts', '.json'], + }, + // output: { + // filename: 'scripts/applications/[name]/[name].bundle.js', + // path: path.resolve(__dirname, 'public') + // }, + watchOptions: {aggregateTimeout: 300, poll: 1000}, + // webpack outputs performance related stuff in the browser. + performance: { + hints: false, + }, + node: {fs: 'empty'} +} diff --git a/webpack.config.js b/webpack.config.js index a5ed71a..4c2eba6 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -11,15 +11,17 @@ const resolve = relativePath => path.resolve(__dirname, '..', relativePath); module.exports = { mode: 'development', entry: { - 'story-time': './resources/scripts/applications/story-time/main.vue', - 'home': './resources/scripts/applications/home/main.vue', - // App2: './App2/main.js' + 'components': './resources/scripts/components/navbar.ts', + + + // 'applications/story-time': + // './resources/scripts/applications/story-time/main.vue', + 'applications/home': './resources/scripts/applications/home/main.vue', + }, + output: { + filename: 'scripts/[name]/app.bundle.js', + path: path.resolve(__dirname, 'public'), }, - // output: { - // filename: '[name].js', - // // Folder where the output of webpack's result go. - // path: resolve('public'), - // }, module: { rules: [ { @@ -45,12 +47,12 @@ module.exports = { }, }, { - test: /\.tsx?$/, + test: /\.ts?$/, use: [ {loader: 'babel-loader'}, { loader: 'ts-loader', options: { - appendTsSuffixTo: [/\.ts\.vue$/], + appendTsSuffixTo: [/\.vue$/, /\.ts$/], appendTsxSuffixTo: [/\.tsx\.vue$/] } } @@ -86,10 +88,6 @@ module.exports = { }, extensions: ['*', '.vue', '.js', '.ts', '.json'], }, - output: { - filename: 'scripts/applications/[name]/[name].bundle.js', - path: path.resolve(__dirname, 'public') - }, watchOptions: {aggregateTimeout: 300, poll: 1000}, // webpack outputs performance related stuff in the browser. performance: {