(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{144:function(t,e,n){t.exports=n(145)},145:function(t,e,n){"use strict";n.r(e),function(t){var e=n(21),r=(n(62),n(52),n(10),n(88),n(58),n(60),n(61),n(6),n(5),n(11),n(27),n(115),n(154),n(162),n(164),n(0)),o=n(137),c=n(94),f=n(2),l=n(40),h=n(80);r.a.component(h.a.name,h.a),r.a.component("NLink",h.a),t.fetch||(t.fetch=o.a);var d,m,x=[],v=window.__NUXT__||{};Object.assign(r.a.config,{silent:!0,performance:!1});var y=r.a.config.errorHandler||console.error;function w(t,e,n){var r=function(component){var t=function(component,t){if(!component||!component.options||!component.options[t])return{};var option=component.options[t];if("function"==typeof option){for(var e=arguments.length,n=new Array(e>2?e-2:0),r=2;r1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"components";return Array.prototype.concat.apply([],t.matched.map((function(t,r){return Object.keys(t[n]).map((function(o){return e&&e.push(r),t[n][o]}))})))}function w(t){return y(t,arguments.length>1&&void 0!==arguments[1]&&arguments[1],"instances")}function _(t,e){return Array.prototype.concat.apply([],t.matched.map((function(t,n){return Object.keys(t.components).reduce((function(r,o){return t.components[o]?r.push(e(t.components[o],t.instances[o],t,o,n)):delete t.components[o],r}),[])})))}function C(t,e){return Promise.all(_(t,(function(t,n,r,o){return regeneratorRuntime.async((function(c){for(;;)switch(c.prev=c.next){case 0:if("function"!=typeof t||t.options){c.next=4;break}return c.next=3,regeneratorRuntime.awrap(t());case 3:t=c.sent;case 4:return r.components[o]=t=v(t),c.abrupt("return","function"==typeof e?e(t,n,r,o):t);case 6:case"end":return c.stop()}}))})))}function $(t){return regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,regeneratorRuntime.awrap(C(t));case 4:return e.abrupt("return",h({},t,{meta:y(t).map((function(e,n){return h({},e.options.meta,{},(t.matched[n]||{}).meta)}))}));case 5:case"end":return e.stop()}}))}function k(t,e){var n,c,f,l;return regeneratorRuntime.async((function(h){for(;;)switch(h.prev=h.next){case 0:return t.context||(t.context={isStatic:!1,isDev:!1,isHMR:!1,app:t,payload:e.payload,error:e.error,base:"/",env:{}},e.req&&(t.context.req=e.req),e.res&&(t.context.res=e.res),e.ssrContext&&(t.context.ssrContext=e.ssrContext),t.context.redirect=function(e,path,n){if(e){t.context._redirected=!0;var r=Object(o.a)(path);if("number"==typeof e||"undefined"!==r&&"object"!==r||(n=path||{},path=e,r=Object(o.a)(path),e=302),"object"===r&&(path=t.router.resolve(path).route.fullPath),!/(^[.]{1,2}\/)|(^\/(?!\/))/.test(path))throw path=L(path,n),window.location.replace(path),new Error("ERR_REDIRECT");t.context.next({path:path,query:n,status:e})}},t.context.nuxtState=window.__NUXT__),h.next=3,regeneratorRuntime.awrap(Promise.all([$(e.route),$(e.from)]));case 3:n=h.sent,c=Object(r.a)(n,2),f=c[0],l=c[1],e.route&&(t.context.route=f),e.from&&(t.context.from=l),t.context.next=e.next,t.context._redirected=!1,t.context._errored=!1,t.context.isHMR=!1,t.context.params=t.context.route.params||{},t.context.query=t.context.route.query||{};case 15:case"end":return h.stop()}}))}function O(t,e){return!t.length||e._redirected||e._errored?Promise.resolve():j(t[0],e).then((function(){return O(t.slice(1),e)}))}function j(t,e){var n;return(n=2===t.length?new Promise((function(n){t(e,(function(t,data){t&&e.error(t),n(data=data||{})}))})):t(e))&&n instanceof Promise&&"function"==typeof n.then?n:Promise.resolve(n)}function R(base,t){var path=decodeURI(window.location.pathname);return"hash"===t?window.location.hash.replace(/^#\//,""):(base&&0===path.indexOf(base)&&(path=path.slice(base.length)),(path||"/")+window.location.search+window.location.hash)}function E(t,e){return function(t){for(var e=new Array(t.length),i=0;i1)return this.nuxtChildKey||Object(x.b)(this.$route.matched[0].path)(this.$route.params);var t=Object(O.a)(this.$route.matched,1)[0];if(!t)return this.$route.path;var e=t.components.default;if(e&&e.options){var n=e.options;if(n.key)return"function"==typeof n.key?n.key(this.$route):n.key}return/\/$/.test(t.path)?this.$route.path:this.$route.path.replace(/\/$/,"")}},beforeCreate:function(){o.a.util.defineReactive(this,"nuxt",this.$root.$options.nuxt)},render:function(t){var e=this;return this.nuxt.err?this.errorFromNuxtError?(this.$nextTick((function(){return e.errorFromNuxtError=!1})),t("div",{},[t("h2","An error occured while showing the error page"),t("p","Unfortunately an error occured and while showing the error page another error occured"),t("p","Error details: ".concat(this.errorFromNuxtError.toString())),t("nuxt-link",{props:{to:"/"}},"Go back to home")])):(this.displayingNuxtError=!0,this.$nextTick((function(){return e.displayingNuxtError=!1})),t(k,{props:{error:this.nuxt.err}})):t("NuxtChild",{key:this.routerViewKey,props:this.$props})}},R=(n(62),{name:"NuxtLoading",data:function(){return{percent:0,show:!1,canSucceed:!0,reversed:!1,skipTimerCount:0,rtl:!1,throttle:200,duration:5e3,continuous:!1}},computed:{left:function(){return!(!this.continuous&&!this.rtl)&&(this.rtl?this.reversed?"0px":"auto":this.reversed?"auto":"0px")}},beforeDestroy:function(){this.clear()},methods:{clear:function(){clearInterval(this._timer),clearTimeout(this._throttle),this._timer=null},start:function(){var t=this;return this.clear(),this.percent=0,this.reversed=!1,this.skipTimerCount=0,this.canSucceed=!0,this.throttle?this._throttle=setTimeout((function(){return t.startTimer()}),this.throttle):this.startTimer(),this},set:function(t){return this.show=!0,this.canSucceed=!0,this.percent=Math.min(100,Math.max(0,Math.floor(t))),this},get:function(){return this.percent},increase:function(t){return this.percent=Math.min(100,Math.floor(this.percent+t)),this},decrease:function(t){return this.percent=Math.max(0,Math.floor(this.percent-t)),this},pause:function(){return clearInterval(this._timer),this},resume:function(){return this.startTimer(),this},finish:function(){return this.percent=this.reversed?0:100,this.hide(),this},hide:function(){var t=this;return this.clear(),setTimeout((function(){t.show=!1,t.$nextTick((function(){t.percent=0,t.reversed=!1}))}),500),this},fail:function(){return this.canSucceed=!1,this},startTimer:function(){var t=this;this.show||(this.show=!0),void 0===this._cut&&(this._cut=1e4/Math.floor(this.duration)),this._timer=setInterval((function(){t.skipTimerCount>0?t.skipTimerCount--:(t.reversed?t.decrease(t._cut):t.increase(t._cut),t.continuous&&(t.percent>=100?(t.skipTimerCount=1,t.reversed=!t.reversed):t.percent<=0&&(t.skipTimerCount=1,t.reversed=!t.reversed)))}),100)}},render:function(t){var e=t(!1);return this.show&&(e=t("div",{staticClass:"nuxt-progress",class:{"nuxt-progress-notransition":this.skipTimerCount>0,"nuxt-progress-failed":!this.canSucceed},style:{width:this.percent+"%",left:this.left}})),e}}),E=(n(176),Object($.a)(R,void 0,void 0,!1,null,null,null).exports),T=(n(178),n(99)),S=n.n(T),P=n(236),A=n(237),N=n(239),D=Object($.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("v-app",[e("v-container",{attrs:{"fill-height":""}},[e("nuxt")],1),this._v(" "),e("v-footer",{attrs:{fixed:!0,app:""}},[e("span",[this._v("© 2019")])])],1)}),[],!1,null,null,null),L=D.exports;S()(D,{VApp:P.a,VContainer:A.a,VFooter:N.a});var I={_default:L},M={head:{titleTemplate:"%s - selfi-game",title:"selfi-game",meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"},{hid:"description",name:"description",content:"SelfiPrint X Game"}],link:[{rel:"icon",type:"image/x-icon",href:"/favicon.ico"},{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family=Noto+Sans:400,700"},{rel:"stylesheet",type:"text/css",href:"https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900&display=swap"},{rel:"stylesheet",type:"text/css",href:"https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css"}],style:[],script:[]},render:function(t,e){var n=t("NuxtLoading",{ref:"loading"}),r=t(this.layout||"nuxt"),o=t("div",{domProps:{id:"__layout"},key:this.layoutName},[r]),c=t("transition",{props:{name:"layout",mode:"out-in"},on:{beforeEnter:function(t){window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")}))}}},[o]);return t("div",{domProps:{id:"__nuxt"}},[n,c])},data:function(){return{isOnline:!0,layout:null,layoutName:""}},beforeCreate:function(){o.a.util.defineReactive(this,"nuxt",this.$options.nuxt)},created:function(){o.a.prototype.$nuxt=this,window.$nuxt=this,this.refreshOnlineStatus(),window.addEventListener("online",this.refreshOnlineStatus),window.addEventListener("offline",this.refreshOnlineStatus),this.error=this.nuxt.error,this.context=this.$options.context},mounted:function(){this.$loading=this.$refs.loading},watch:{"nuxt.err":"errorChanged"},computed:{isOffline:function(){return!this.isOnline}},methods:{refreshOnlineStatus:function(){void 0===window.navigator.onLine?this.isOnline=!0:this.isOnline=window.navigator.onLine},refresh:function(){var t,e,n=this;return regeneratorRuntime.async((function(r){for(;;)switch(r.prev=r.next){case 0:if((t=Object(x.f)(this.$route)).length){r.next=3;break}return r.abrupt("return");case 3:return this.$loading.start(),e=t.map((function(t){var p=[];return t.$options.fetch&&p.push(Object(x.m)(t.$options.fetch,n.context)),t.$options.asyncData&&p.push(Object(x.m)(t.$options.asyncData,n.context).then((function(e){for(var n in e)o.a.set(t.$data,n,e[n])}))),Promise.all(p)})),r.prev=5,r.next=8,regeneratorRuntime.awrap(Promise.all(e));case 8:r.next=15;break;case 10:r.prev=10,r.t0=r.catch(5),this.$loading.fail(),Object(x.i)(r.t0),this.error(r.t0);case 15:this.$loading.finish();case 16:case"end":return r.stop()}}),null,this,[[5,10]])},errorChanged:function(){this.nuxt.err&&this.$loading&&(this.$loading.fail&&this.$loading.fail(),this.$loading.finish&&this.$loading.finish())},setLayout:function(t){return t&&I["_"+t]||(t="default"),this.layoutName=t,this.layout=I["_"+t],this.layout},loadLayout:function(t){return t&&I["_"+t]||(t="default"),Promise.resolve(I["_"+t])}},components:{NuxtLoading:E}},U=n(238),B={theme:{themes:{light:{primary:"#FD0088",accent:"#EEA2CC",secondary:"#EEA2CC",info:"#AAAAAA",warning:"#FCFF00",error:"#E30606",success:"#4CAF50"}}}};o.a.use(U.a,{});for(var F=function(t){var e="function"==typeof B?B(t):B;e.icons=e.icons||{},e.icons.iconfont="mdi";var n=new U.a(e);t.app.vuetify=n,t.$vuetify=n.framework},z=(n(52),n(56)),K=n.n(z),J={setBaseURL:function(t){this.defaults.baseURL=t},setHeader:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",r=!0,o=!1,c=void 0;try{for(var f,l=(Array.isArray(n)?n:[n])[Symbol.iterator]();!(r=(f=l.next()).done);r=!0){var h=f.value;if(!e)return void delete this.defaults.headers[h][t];this.defaults.headers[h][t]=e}}catch(t){o=!0,c=t}finally{try{r||null==l.return||l.return()}finally{if(o)throw c}}},setToken:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",r=t?(e?e+" ":"")+t:null;this.setHeader("Authorization",r,n)},onRequest:function(t){this.interceptors.request.use((function(e){return t(e)||e}))},onResponse:function(t){this.interceptors.response.use((function(e){return t(e)||e}))},onRequestError:function(t){this.interceptors.request.use(void 0,(function(e){return t(e)||Promise.reject(e)}))},onResponseError:function(t){this.interceptors.response.use(void 0,(function(e){return t(e)||Promise.reject(e)}))},onError:function(t){this.onRequestError(t),this.onResponseError(t)}},H=function(){var t=V[Q];J["$"+t]=function(){return this[t].apply(this,arguments).then((function(t){return t&&t.data}))}},Q=0,V=["request","delete","get","head","options","post","put","patch"];Q has been deprecated and will be removed in Nuxt 3, please use instead")),d.a.render(t,e)}})),o.a.component(y.name,y),o.a.component("NChild",y),o.a.component(j.name,j),o.a.use(c.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});var Z={name:"page",mode:"out-in",appear:!1,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"};function tt(t){var e,n,r,c,path,f;return regeneratorRuntime.async((function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,regeneratorRuntime.awrap(new m.a(v));case 2:return e=l.sent,n=Y({router:e,nuxt:{defaultTransition:Z,transitions:[Z],setTransitions:function(t){return Array.isArray(t)||(t=[t]),t=t.map((function(t){return t=t?"string"==typeof t?Object.assign({},Z,{name:t}):Object.assign({},Z,t):Z})),this.$options.nuxt.transitions=t,t},err:null,dateErr:null,error:function(e){e=e||null,n.context._errored=Boolean(e),e=e?Object(x.l)(e):null;var r=this.nuxt||this.$options.nuxt;return r.dateErr=Date.now(),r.err=e,t&&(t.nuxt.error=e),e}}},M),r=t?t.next:function(t){return n.router.push(t)},t?c=e.resolve(t.url).route:(path=Object(x.d)(e.options.base),c=e.resolve(path).route),l.next=8,regeneratorRuntime.awrap(Object(x.p)(n,{route:c,next:r,error:n.nuxt.error.bind(n),payload:t?t.payload:void 0,req:t?t.req:void 0,res:t?t.res:void 0,beforeRenderFns:t?t.beforeRenderFns:void 0,ssrContext:t}));case 8:if(f=function(t,e){if(!t)throw new Error("inject(key, value) has no key provided");if(void 0===e)throw new Error("inject(key, value) has no value provided");n[t="$"+t]=e;var r="__nuxt_"+t+"_installed__";o.a[r]||(o.a[r]=!0,o.a.use((function(){o.a.prototype.hasOwnProperty(t)||Object.defineProperty(o.a.prototype,t,{get:function(){return this.$root.$options[t]}})})))},"function"!=typeof F){l.next=12;break}return l.next=12,regeneratorRuntime.awrap(F(n.context,f));case 12:if("function"!=typeof X){l.next=15;break}return l.next=15,regeneratorRuntime.awrap(X(n.context,f));case 15:if("function"!=typeof G.a){l.next=18;break}return l.next=18,regeneratorRuntime.awrap(Object(G.a)(n.context,f));case 18:l.next=21;break;case 21:return l.abrupt("return",{app:n,router:e});case 22:case"end":return l.stop()}}))}},76:function(t,e,n){var content=n(175);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(25).default)("7891058d",content,!0,{sourceMap:!1})},77:function(t,e,n){var content=n(177);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(25).default)("5b425f4d",content,!0,{sourceMap:!1})},80:function(t,e,n){"use strict";n(5),n(52),n(10),n(6),n(60),n(61);var r=n(0),o=window.requestIdleCallback||function(t){var e=Date.now();return setTimeout((function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})}),1)},c=window.cancelIdleCallback||function(t){clearTimeout(t)},f=window.IntersectionObserver&&new window.IntersectionObserver((function(t){t.forEach((function(t){var e=t.intersectionRatio,link=t.target;e<=0||link.__prefetch()}))}));e.a={name:"NuxtLink",extends:r.a.component("RouterLink"),props:{prefetch:{type:Boolean,default:!0},noPrefetch:{type:Boolean,default:!1}},mounted:function(){this.prefetch&&!this.noPrefetch&&(this.handleId=o(this.observe,{timeout:2e3}))},beforeDestroy:function(){c(this.handleId),this.__observed&&(f.unobserve(this.$el),delete this.$el.__prefetch)},methods:{observe:function(){f&&this.shouldPrefetch()&&(this.$el.__prefetch=this.prefetchLink.bind(this),f.observe(this.$el),this.__observed=!0)},shouldPrefetch:function(){return this.getPrefetchComponents().length>0},canPrefetch:function(){var t=navigator.connection;return!(this.$nuxt.isOffline||t&&((t.effectiveType||"").includes("2g")||t.saveData))},getPrefetchComponents:function(){return this.$router.resolve(this.to,this.$route,this.append).resolved.matched.map((function(t){return t.components.default})).filter((function(t){return"function"==typeof t&&!t.options&&!t.__prefetched}))},prefetchLink:function(){if(this.canPrefetch()){f.unobserve(this.$el);var t=this.getPrefetchComponents(),e=!0,n=!1,r=void 0;try{for(var o,c=t[Symbol.iterator]();!(e=(o=c.next()).done);e=!0){var l=o.value,h=l();h instanceof Promise&&h.catch((function(){})),l.__prefetched=!0}}catch(t){n=!0,r=t}finally{try{e||null==c.return||c.return()}finally{if(n)throw r}}}}}}},81:function(t,e,n){"use strict";var r=n(79),o=(n(223),n(226),n(230),n(228),{dev:{apiKey:"AIzaSyDvfMwzUkm9gzwQoZ9nLAkEOqz5s1olASw",authDomain:"selfiprint-test.firebaseapp.com",databaseURL:"https://selfiprint-test.firebaseio.com",projectId:"selfiprint-test",storageBucket:"selfiprint-test.appspot.com",messagingSenderId:"435305008972",appId:"1:435305008972:web:d20160ee5931a31f"},production:{apiKey:"AIzaSyA0aribayqF34riliy-44A7WYcDkp1KiLE",authDomain:"selfiprint-x.firebaseapp.com",databaseURL:"https://selfiprint-x.firebaseio.com",projectId:"selfiprint-x",storageBucket:"selfiprint-x.appspot.com",messagingSenderId:"226459401511",appId:"1:226459401511:web:6dddc21c6a680f496a3d02"}}),c=o.dev;r.apps.length||r.initializeApp(c);e.a=r},94:function(t,e,n){"use strict";e.a={}}},[[144,5,1,6]]]);