diff --git a/.gitignore b/.gitignore index 585b363..90f3fd9 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,6 @@ database/*.sqlite # VSCode & Webstorm history directories .history .idea + +#@sagi +helper-junk/ diff --git a/package.json b/package.json index dd300e4..cf04688 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,12 @@ "description": "A shared story time experience", "main": "server.js", "scripts": { - "css-build": "node_modules/.bin/node-sass --omit-source-map-url resources/sass/main.scss public/style.css", - "css-watch": "npm run css-build -- --watch", + "build:css": "node_modules/.bin/node-sass --omit-source-map-url resources/sass/main.scss public/style.css", + "build:applications": "node_modules/.bin/webpack --mode production", + "watch:css": "npm run build:css -- --watch", + "watch:applications": "node_modules/.bin/webpack --watch", "migrate": "node_modules/.bin/adonis migration:run -f", - "build": "npm run migrate && npm run css-build", + "build": "npm run migrate && npm run build:css && npm run build:applications", "start": "npm run migrate && node server.js", "test": "node ace test" }, @@ -33,12 +35,25 @@ "@adonisjs/validator": "^5.0.6", "bulma": "^0.8.0", "fork-awesome": "^1.1.7", - "sqlite3": "^4.1.1" + "sqlite3": "^4.1.1", + "typescript": "^3.7.5", + "vue": "^2.6.11" }, "devDependencies": { - "node-sass": "^4.13.0" + "@babel/core": "^7.8.3", + "babel-loader": "^8.0.6", + "babel-preset-env": "^1.7.0", + "babel-preset-stage-2": "^6.24.1", + "css-loader": "^3.4.2", + "node-sass": "^4.13.0", + "ts-loader": "^6.2.1", + "vue-loader": "^15.8.3", + "vue-style-loader": "^4.1.2", + "vue-template-compiler": "^2.6.11", + "webpack": "^4.41.5", + "webpack-cli": "^3.3.10" }, "autoload": { "App": "./app" } -} \ No newline at end of file +} diff --git a/public/scripts/applications/home/home.bundle.js b/public/scripts/applications/home/home.bundle.js new file mode 100644 index 0000000..2d0732c --- /dev/null +++ b/public/scripts/applications/home/home.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="d302f62f0ef8d4e1d540",o={},a=[],s=[];function c(e){var t=A[e];if(!t)return S;var r=function(r){return t.hot.active?(A[r]?-1===A[r].parents.indexOf(e)&&A[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=[]),S(r)},i=function(e){return{configurable:!0,enumerable:!0,get:function(){return S[e]},set:function(t){S[e]=t}}};for(var o in S)Object.prototype.hasOwnProperty.call(S,o)&&"e"!==o&&"t"!==o&&Object.defineProperty(r,o,i(o));return r.e=function(e){return"ready"===f&&d("prepare"),y++,S.e(e).then(t,(function(e){throw t(),e}));function t(){y--,"prepare"===f&&(g[e]||x(e),0===y&&0===m&&C())}},r.t=function(e,t){return 1&t&&(e=r(e)),S.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:$,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/story-time.bundle.js b/public/scripts/applications/story-time/story-time.bundle.js new file mode 100644 index 0000000..fcba504 --- /dev/null +++ b/public/scripts/applications/story-time/story-time.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="d302f62f0ef8d4e1d540",o={},a=[],s=[];function c(e){var t=S[e];if(!t)return A;var r=function(r){return t.hot.active?(S[r]?-1===S[r].parents.indexOf(e)&&S[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"===f&&d("prepare"),y++,A.e(e).then(t,(function(e){throw t(),e}));function t(){y--,"prepare"===f&&(g[e]||x(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:$,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=S[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=S[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=S[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=S[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)})),S=/\B([A-Z])/g,A=$((function(e){return e.replace(S,"-$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===A(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)}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||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=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=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 Ae(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),Sn(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,Sr={create:_r,update:_r},Ar=/[\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&&Ar.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(A(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",Si="animationend";$i&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(xi="WebkitTransition",Ci="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ki="WebkitAnimation",Si="webkitAnimationEnd"));var Ai=J?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Oi(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=Di(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s="transition"===i?Ci:Si,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),So=/^\s*(\/?)>/,Ao=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,S(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(Ao);if(y){var g=c;x(y[0].length),S(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);!(Ao.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(So))&&(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)&&S(r),s(n)&&r===n&&S(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))}S()}(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$]*])*$/,Sa={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"]},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],Sa[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=Sa[e],r=Aa[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/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}))},"./resources/scripts/applications/story-time/app.ts?vue&type=script&lang=ts&":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/story-time/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:"Story Time",menu:o}}};t.a=a},"./resources/scripts/applications/story-time/app.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/story-time/app.vue?vue&type=template&id=107265d8&"),i=n("./resources/scripts/applications/story-time/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("107265d8")?s.reload("107265d8",a.options):s.createRecord("107265d8",a.options),e.hot.accept("./resources/scripts/applications/story-time/app.vue?vue&type=template&id=107265d8&",function(e){r=n("./resources/scripts/applications/story-time/app.vue?vue&type=template&id=107265d8&"),s.rerender("107265d8",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),a.options.__file="resources/scripts/applications/story-time/app.vue",t.a=a.exports},"./resources/scripts/applications/story-time/app.vue?vue&type=template&id=107265d8&":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:{username:"sagi"}}),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:"Test",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/story-time/components/Header.ts?vue&type=script&lang=ts&":function(e,t,n){"use strict";t.a={name:"Header",props:["username"]}},"./resources/scripts/applications/story-time/components/Header.vue":function(e,t,n){"use strict";var r=n("./resources/scripts/applications/story-time/components/Header.vue?vue&type=template&id=e5bef60e&"),i=n("./resources/scripts/applications/story-time/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("e5bef60e")?s.reload("e5bef60e",a.options):s.createRecord("e5bef60e",a.options),e.hot.accept("./resources/scripts/applications/story-time/components/Header.vue?vue&type=template&id=e5bef60e&",function(e){r=n("./resources/scripts/applications/story-time/components/Header.vue?vue&type=template&id=e5bef60e&"),s.rerender("e5bef60e",{render:r.render,staticRenderFns:r.staticRenderFns})}.bind(this))),a.options.__file="resources/scripts/applications/story-time/components/Header.vue",t.a=a.exports},"./resources/scripts/applications/story-time/components/Header.vue?vue&type=template&id=e5bef60e&":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.username)+" Story Time")]),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/story-time/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/story-time/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("84d29354")?s.reload("84d29354",a.options):s.createRecord("84d29354",a.options)),a.options.__file="resources/scripts/applications/story-time/main.vue";t.default=a.exports}}); \ No newline at end of file diff --git a/public/scripts/components/navbar.js b/public/scripts/components/navbar.js new file mode 100644 index 0000000..acabd10 --- /dev/null +++ b/public/scripts/components/navbar.js @@ -0,0 +1,11 @@ +"use strict"; +document.addEventListener("DOMContentLoaded", function () { + (function Navbar() { + var menuButton = document.getElementById('menu-button'); + var navMenu = document.getElementById('nav-menu'); + menuButton.onclick = function (event) { + navMenu.classList.toggle('is-active'); + }; + })(); +}); +//# sourceMappingURL=navbar.js.map \ No newline at end of file diff --git a/public/scripts/components/navbar.js.map b/public/scripts/components/navbar.js.map new file mode 100644 index 0000000..0c96d33 --- /dev/null +++ b/public/scripts/components/navbar.js.map @@ -0,0 +1 @@ +{"version":3,"file":"navbar.js","sourceRoot":"","sources":["../../../resources/scripts/components/navbar.ts"],"names":[],"mappings":";AACA,QAAQ,CAAC,gBAAgB,CAAC,kBAAkB,EAAE;IAC5C,CAAC,SAAS,MAAM;QACd,IAAM,UAAU,GAAsB,QAAQ,CAAC,cAAc,CAAC,aAAa,CAAsB,CAAC;QAClG,IAAM,OAAO,GAAmB,QAAQ,CAAC,cAAc,CAAC,UAAU,CAAmB,CAAC;QAEtF,UAAU,CAAC,OAAO,GAAG,UAAC,KAAK;YACzB,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;QACxC,CAAC,CAAA;IAGH,CAAC,CAAC,EAAE,CAAC;AAEP,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/public/style.css b/public/style.css index e863acb..3ed8beb 100644 --- a/public/style.css +++ b/public/style.css @@ -6871,3 +6871,25 @@ label.panel-block { .p-l-xxl { padding-left: 8rem; } + +.app .columns { + margin-bottom: 0px !important; + max-height: calc(100vh - 12.25rem); + height: calc(100vh - 12.25rem); } + +.sidebar { + flex-direction: column; } + +.is-sidebar { + border-right: thin #ccc solid; + max-width: 5em; + width: 5em; + transform: translate(15%, 0); } + +.sidebar-menu { + position: absolute; + bottom: 0px; } + +.sideway-letter { + transform: rotate(-90deg); + margin: -.8em auto; } diff --git a/resources/sass/main.scss b/resources/sass/main.scss index 3a491f6..1dfddc0 100644 --- a/resources/sass/main.scss +++ b/resources/sass/main.scss @@ -172,4 +172,42 @@ $positions: ( padding-#{$posValue}: sizeValue($sizeKey, $sizeValue); } } -} \ No newline at end of file +} +.app { + .columns{ + margin-bottom: 0px !important; + max-height: calc(100vh - 12.25rem); + height: calc(100vh - 12.25rem); + } +} +.app-content{ + // height: 100vh; +} +.sidebar{ + // margin: auto; + flex-direction: column; + // color: $beige-lighter; +} +.is-sidebar { + border-right: thin #ccc solid; + max-width: 5em; + width: 5em; + transform: translate(15%, 0); + // background-color: rgba(0, 0, 0, .3); + // background-color:rgba(127, 88, 145, 0.7); +} +.sidebar-menu{ + position: absolute; + bottom: 0px; +} +.sideway-text{ + // transform: translate(0, -50%); + // display: inline; + // margin: 0 0; +} +.sideway-letter{ + // width: 50%; + // height: 2em; + transform: rotate(-90deg); + margin: -.8em auto; +} diff --git a/resources/scripts/applications/home/app.ts b/resources/scripts/applications/home/app.ts new file mode 100644 index 0000000..b3d9e42 --- /dev/null +++ b/resources/scripts/applications/home/app.ts @@ -0,0 +1,43 @@ +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: "Home", + menu + }) +}; diff --git a/resources/scripts/applications/home/app.vue b/resources/scripts/applications/home/app.vue new file mode 100644 index 0000000..9166adf --- /dev/null +++ b/resources/scripts/applications/home/app.vue @@ -0,0 +1,61 @@ + + + diff --git a/resources/scripts/applications/home/main.vue b/resources/scripts/applications/home/main.vue new file mode 100644 index 0000000..9c43a7b --- /dev/null +++ b/resources/scripts/applications/home/main.vue @@ -0,0 +1,14 @@ +// import Vue from 'vue'; +// import App from './app.vue'; + +// new Vue({ +// render: h => h(App) +// }).$mount('#app') + + diff --git a/resources/scripts/applications/shared/components/SideBar/SideBar.ts b/resources/scripts/applications/shared/components/SideBar/SideBar.ts new file mode 100644 index 0000000..b4fc15f --- /dev/null +++ b/resources/scripts/applications/shared/components/SideBar/SideBar.ts @@ -0,0 +1,15 @@ +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 new file mode 100644 index 0000000..0cbfd4a --- /dev/null +++ b/resources/scripts/applications/shared/components/SideBar/SideBar.vue @@ -0,0 +1,19 @@ + + diff --git a/resources/scripts/applications/story-time/main.vue b/resources/scripts/applications/story-time/main.vue new file mode 100644 index 0000000..a311ff5 --- /dev/null +++ b/resources/scripts/applications/story-time/main.vue @@ -0,0 +1,16 @@ +// import Vue from 'vue'; +// import App from './app.vue'; + +// new Vue({ +// render: h => h(App) +// }).$mount('#app') + + diff --git a/resources/scripts/components/navbar.ts b/resources/scripts/components/navbar.ts new file mode 100644 index 0000000..89aa2c8 --- /dev/null +++ b/resources/scripts/components/navbar.ts @@ -0,0 +1,14 @@ + +document.addEventListener("DOMContentLoaded", function () { + (function Navbar() { + const menuButton: HTMLAnchorElement = document.getElementById('menu-button') as HTMLAnchorElement; + const navMenu: HTMLDivElement = document.getElementById('nav-menu') as HTMLDivElement; + + menuButton.onclick = (event) => { + navMenu.classList.toggle('is-active'); + } + + + })(); + //.... +}); diff --git a/resources/views/applications/story-time/app.edge b/resources/views/applications/story-time/app.edge new file mode 100644 index 0000000..65c9fc7 --- /dev/null +++ b/resources/views/applications/story-time/app.edge @@ -0,0 +1,10 @@ + +@layout('layouts.application'); + + +@section('content') +
+ Loading... +
+{{ script('scripts/applications/story-time/story-time.bundle.js') }} +@endsection diff --git a/resources/views/components/nav/nav.edge b/resources/views/components/nav/nav.edge index 31195df..4205e75 100644 --- a/resources/views/components/nav/nav.edge +++ b/resources/views/components/nav/nav.edge @@ -1,36 +1,37 @@ +{{ script('scripts/components/navbar.js') }} \ No newline at end of file + diff --git a/resources/views/home.edge b/resources/views/home.edge index 248bf35..fe03b3e 100644 --- a/resources/views/home.edge +++ b/resources/views/home.edge @@ -1,10 +1,9 @@ -@layout('layouts.main') +@layout('layouts.application'); -@section('page-title') -Seepur | Home -@endsection @section('content') -

{{auth.user.name}}

-

{{auth.user.email}}

-@endsection \ No newline at end of file +
+ Loading... +
+{{ script('scripts/applications/home/home.bundle.js') }} +@endsection diff --git a/resources/views/layouts/application.edge b/resources/views/layouts/application.edge new file mode 100644 index 0000000..e03e380 --- /dev/null +++ b/resources/views/layouts/application.edge @@ -0,0 +1,25 @@ + + + + + + + @include('partials.SEO.meta') + + + @!section('page-title') + + {{ style('style') }} + @!section('scripts') + + + + @!component('components.nav.nav', isLanding = false, auth=auth) + + @!section('hero') +
+ @!section('content') +
+ @include('partials.footer') + + diff --git a/resources/views/layouts/landing.edge b/resources/views/layouts/landing.edge index 4f10c31..68d0f64 100644 --- a/resources/views/layouts/landing.edge +++ b/resources/views/layouts/landing.edge @@ -40,8 +40,8 @@

{{ getErrorFor('name') ? getErrorFor('name') : '' }}

- - + +
@@ -49,11 +49,11 @@ - +

{{ getErrorFor('email') ? getErrorFor('email') : '' }}

- +
@@ -88,17 +88,10 @@
- + -
-
-

- Seepur | The source code is licensed - MIT. Made with by friends and family. For all the savtot out there -

-
-
+ @include('partials.footer') - \ No newline at end of file + diff --git a/resources/views/layouts/main.edge b/resources/views/layouts/main.edge index 8565279..4189df6 100644 --- a/resources/views/layouts/main.edge +++ b/resources/views/layouts/main.edge @@ -23,5 +23,6 @@ + @include('partials.footer') - \ No newline at end of file + diff --git a/resources/views/partials/footer.edge b/resources/views/partials/footer.edge new file mode 100644 index 0000000..4d53cac --- /dev/null +++ b/resources/views/partials/footer.edge @@ -0,0 +1,8 @@ + diff --git a/start/routes.js b/start/routes.js index 6cfe037..e24963b 100644 --- a/start/routes.js +++ b/start/routes.js @@ -27,3 +27,12 @@ Route.get('/login', 'AuthController.loginIndex').as('login'); Route.post('/register', 'AuthController.register').validator('Register'); Route.post('/login', 'AuthController.login').validator('Login'); +/* +/ Applications +*/ + +Route + .get( + '/applications/story-time', + ({view}) => view.render('applications.story-time.app')) + .middleware(['auth']); diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..9995aa6 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,17 @@ +{ + "compilerOptions": { + "module": "es2015", + "moduleResolution": "node", + "target": "es5", + "sourceMap": true, + "allowJs": true, + "experimentalDecorators": true + }, + "include": [ + "resources/scripts/applications/story-time/app.ts" + ], + "exclude": [ + "node_modules", + "**/*.spec.ts" + ] +} diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 0000000..a5ed71a --- /dev/null +++ b/webpack.config.js @@ -0,0 +1,99 @@ +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: { + 'story-time': './resources/scripts/applications/story-time/main.vue', + 'home': './resources/scripts/applications/home/main.vue', + // App2: './App2/main.js' + }, + // output: { + // filename: '[name].js', + // // Folder where the output of webpack's result go. + // path: resolve('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'} +}