(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{168:function(e,t,n){"use strict";n(65),n(44),n(60),n(10),n(24),n(45),n(32),n(9),n(56),n(47),n(41);var r=n(0);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,l=!0,f=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){f=!0,o=e},f:function(){try{l||null==n.return||n.return()}finally{if(f)throw o}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i0},canPrefetch:function(){var e=navigator.connection;return!(this.$nuxt.isOffline||e&&((e.effectiveType||"").includes("2g")||e.saveData))},getPrefetchComponents:function(){return this.$router.resolve(this.to,this.$route,this.append).resolved.matched.map((function(e){return e.components.default})).filter((function(e){return"function"==typeof e&&!e.options&&!e.__prefetched}))},prefetchLink:function(){if(this.canPrefetch()){d.unobserve(this.$el);var e,t=o(this.getPrefetchComponents());try{for(t.s();!(e=t.n()).done;){var n=e.value,r=n();r instanceof Promise&&r.catch((function(){})),n.__prefetched=!0}}catch(e){t.e(e)}finally{t.f()}}}}}},229:function(e,t,n){"use strict";var r={};r.reqAuth=n(381),r.reqAuth=r.reqAuth.default||r.reqAuth,r.reqSub=n(382),r.reqSub=r.reqSub.default||r.reqSub,r.setAuth=n(355),r.setAuth=r.setAuth.default||r.setAuth,t.a=r},232:function(e,t,n){var r=n(574);function o(){return(o=r(regeneratorRuntime.mark((function e(){var t,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(!1 in navigator)){e.next=2;break}throw new Error("serviceWorker is not supported in current browser!");case 2:return e.next=4,n.e(32).then(n.bind(null,603));case 4:return t=e.sent,r=t.Workbox,o=new r("/sw.js",{scope:"/"}),e.next=9,o.register();case 9:return e.abrupt("return",o);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}n(70),window.$workbox=function(){return o.apply(this,arguments)}().catch((function(e){}))},328:function(e,t,n){var content=n(507);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(17).default)("52c366c7",content,!0,{sourceMap:!1})},329:function(e,t,n){var content=n(511);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(17).default)("3191d5ad",content,!0,{sourceMap:!1})},334:function(e,t,n){var content=n(567);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(17).default)("6270154f",content,!0,{sourceMap:!1})},335:function(e,t,n){var content=n(571);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(17).default)("2e4f3053",content,!0,{sourceMap:!1})},354:function(e,t,n){"use strict";var r=n(21),o=(n(70),n(24),n(0)),c=n(4),l=window.__NUXT__;function f(){if(!this._hydrated)return this.$fetch()}function d(){if((e=this).$vnode&&e.$vnode.elm&&e.$vnode.elm.dataset&&e.$vnode.elm.dataset.fetchKey){var e;this._hydrated=!0,this._fetchKey=this.$vnode.elm.dataset.fetchKey;var data=l.fetch[this._fetchKey];if(data&&data._error)this.$fetchState.error=data._error;else for(var t in data)o.default.set(this.$data,t,data[t])}}function m(){var e=this;return this._fetchPromise||(this._fetchPromise=h.call(this).then((function(){delete e._fetchPromise}))),this._fetchPromise}function h(){return _.apply(this,arguments)}function _(){return(_=Object(r.a)(regeneratorRuntime.mark((function e(){var t,n,r,o=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.$nuxt.nbFetching++,this.$fetchState.pending=!0,this.$fetchState.error=null,this._hydrated=!1,t=null,n=Date.now(),e.prev=6,e.next=9,this.$options.fetch.call(this);case 9:e.next=15;break;case 11:e.prev=11,e.t0=e.catch(6),t=Object(c.p)(e.t0);case 15:if(!((r=this._fetchDelay-(Date.now()-n))>0)){e.next=19;break}return e.next=19,new Promise((function(e){return setTimeout(e,r)}));case 19:this.$fetchState.error=t,this.$fetchState.pending=!1,this.$fetchState.timestamp=Date.now(),this.$nextTick((function(){return o.$nuxt.nbFetching--}));case 23:case"end":return e.stop()}}),e,this,[[6,11]])})))).apply(this,arguments)}t.a={beforeCreate:function(){Object(c.l)(this)&&(this._fetchDelay="number"==typeof this.$options.fetchDelay?this.$options.fetchDelay:200,o.default.util.defineReactive(this,"$fetchState",{pending:!1,error:null,timestamp:Date.now()}),this.$fetch=m.bind(this),Object(c.a)(this,"created",d),Object(c.a)(this,"beforeMount",f))}}},355:function(e,t,n){"use strict";n.r(t);var r=n(340),o=n.n(r);t.default=function(e){var t=e.app,n=e.store,r=t.$cookies.get("shepherd_auth"),c=o.a.decode(r);!n.state.user.loggedIn&&c?(t.$logRocket.identify(c.id,{email:c.email}),n.commit("user/logIn",c)):n.state.user.loggedIn&&!c&&n.commit("user/logOut",c)}},364:function(e,t,n){e.exports=n(365)},365:function(e,t,n){"use strict";n.r(t),function(e){n(45),n(9),n(56);var t=n(20),r=n(21),o=(n(258),n(373),n(376),n(378),n(70),n(32),n(10),n(11),n(65),n(44),n(60),n(47),n(24),n(41),n(0)),c=n(339),l=n(229),f=n(4),d=n(69),m=n(354),h=n(168);function _(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i2?t-2:0),r=2;r=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i1&&void 0!==arguments[1]?arguments[1]:[],r=e.$children||[],o=_(r);try{for(o.s();!(t=o.n()).done;){var c=t.value;c.$fetch?n.push(c):c.$children&&O(c,n)}}catch(e){o.e(e)}finally{o.f()}return n}function C(e,t){if(t||!e.options.__hasNuxtData){var n=e.options._originDataFn||e.options.data||function(){return{}};e.options._originDataFn=n,e.options.data=function(){var data=n.call(this,this);return this.$ssrContext&&(t=this.$ssrContext.asyncData[e.cid]),h(h({},data),t)},e.options.__hasNuxtData=!0,e._Ctor&&e._Ctor.options&&(e._Ctor.options.data=e.options.data)}}function k(e){return e.options&&e._Ctor===e||(e.options?(e._Ctor=e,e.extendOptions=e.options):(e=f.default.extend(e))._Ctor=e,!e.options.name&&e.options.__file&&(e.options.name=e.options.__file)),e}function P(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"components";return Array.prototype.concat.apply([],e.matched.map((function(e,r){return Object.keys(e[n]).map((function(o){return t&&t.push(r),e[n][o]}))})))}function j(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return P(e,t,"instances")}function E(e,t){return Array.prototype.concat.apply([],e.matched.map((function(e,n){return Object.keys(e.components).reduce((function(r,o){return e.components[o]?r.push(t(e.components[o],e.instances[o],e,o,n)):delete e.components[o],r}),[])})))}function S(e,t){return Promise.all(E(e,function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(n,r,o,c){var l,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!=typeof n||n.options){e.next=11;break}return e.prev=1,e.next=4,n();case 4:n=e.sent,e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(1),e.t0&&"ChunkLoadError"===e.t0.name&&"undefined"!=typeof window&&window.sessionStorage&&(l=Date.now(),(!(f=parseInt(window.sessionStorage.getItem("nuxt-reload")))||f+6e4=10.0.0",npm_package_name:"PetCareTools.App",npm_package_private:"true",npm_package_readmeFilename:"README.md",npm_package_scripts_build_prod:"cross-env ENVIRONMENT=prod nuxt generate ",npm_package_scripts_build_stage:"cross-env ENVIRONMENT=stage nuxt generate ",npm_package_scripts_deploy_prod:"npm run build-prod && echo y | gcloud app deploy app.prod.yaml --project petcaretools-web",npm_package_scripts_deploy_stage:"npm run build-stage && echo y | gcloud app deploy app.yaml --project shepherd-nuxt",npm_package_scripts_dev:"cross-env ENVIRONMENT=dev nuxt",npm_package_scripts_express:"cross-env ENVIRONMENT=dev node server",npm_package_scripts_start:"cross-env ENVIRONMENT=dev nuxt start",npm_package_version:"1.0.0",NPM_PREFIX_NPM_CLI_JS:"C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js",NUMBER_OF_PROCESSORS:"12",NVM_HOME:"C:\\Users\\Luke\\AppData\\Roaming\\nvm",NVM_SYMLINK:"C:\\Program Files\\nodejs",OneDrive:"C:\\Users\\Luke\\OneDrive",OPENSSL_ia32cap:":~0x20000000",OS:"Windows_NT",Path:"C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\npm-lifecycle\\node-gyp-bin;C:\\_dev\\shepherd\\client\\node_modules\\.bin;C:\\Users\\Luke\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\npm-lifecycle\\node-gyp-bin;C:\\_dev\\shepherd\\client\\node_modules\\.bin;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\ProgramData\\Anaconda3;C:\\ProgramData\\Anaconda3\\Library\\mingw-w64\\bin;C:\\ProgramData\\Anaconda3\\Library\\usr\\bin;C:\\ProgramData\\Anaconda3\\Library\\bin;C:\\ProgramData\\Anaconda3\\Scripts;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\iCLS\\;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\iCLS\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\Microsoft VS Code\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files\\IDM Computer Solutions\\UltraEdit;C:\\Program Files\\dotnet\\;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn\\;C:\\Go\\bin;C:\\Program Files\\Redis\\;C:\\WINDOWS\\system3;C:\\Program Files\\nodejs\\;C:\\Program Files\\MySQL\\MySQL Shell 8.0\\bin\\;C:\\Users\\Luke\\AppData\\Local\\Programs\\Python\\Python37\\Scripts\\;C:\\Users\\Luke\\AppData\\Local\\Programs\\Python\\Python37\\;c:\\Users\\Luke\\AppData\\Local\\Programs\\Python\\Python36\\Scripts\\;c:\\Users\\Luke\\AppData\\Local\\Programs\\Python\\Python36\\;C:\\Users\\Luke\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\JetBrains\\IntelliJ IDEA 2018.3.5\\bin;C:\\Users\\Luke\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\Luke\\go\\bin;C:\\Users\\Luke\\AppData\\Local\\Google\\Cloud SDK\\google-cloud-sdk\\bin;C:\\Program Files\\Docker Toolbox;C:\\Users\\Luke\\AppData\\Roaming\\nvm;C:\\Program Files\\nodejs;C:\\Users\\Luke\\AppData\\Local\\Programs\\Fiddler;C:\\Users\\Luke\\AppData\\Local\\Yarn\\bin;C:\\Users\\Luke\\.dotnet\\tools;C:\\Users\\Luke\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\JetBrains\\IntelliJ IDEA 2019.1.4\\bin;;C:\\Program Files\\heroku\\bin;C:\\_dev\\smartbe-cms\\api\\webdrivers\\;C:\\Users\\Luke\\AppData\\Roaming\\npm;C:\\Users\\Luke\\.dotnet\\tools",PATHEXT:".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JSE;.WSF;.WSH;.MSC",PIEDMONT_DEBUG:"False",PROCESSOR_ARCHITECTURE:"AMD64",PROCESSOR_IDENTIFIER:"Intel64 Family 6 Model 158 Stepping 10, GenuineIntel",PROCESSOR_LEVEL:"6",PROCESSOR_REVISION:"9e0a",ProgramData:"C:\\ProgramData",ProgramFiles:"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)",ProgramW6432:"C:\\Program Files",PROMPT:"$P$G",PSModulePath:";C:\\Users\\Luke\\AppData\\Local\\Google\\Cloud SDK\\google-cloud-sdk\\platform\\PowerShell",PUBLIC:"C:\\Users\\Public",QUANDL_API_KEY:"o_EtNQZJJqxYkxt_624U",SERVER_GQL_ENDPOINT:"/graphql",SESSIONNAME:"Console",SHEPHERD_CLIENT_URL:"https://portal.petcaretools.app",SHEPHERD_SERVER_URL:"https://api.petcaretools.app",STRIPE_PLAN_NAME:"Basic - Monthly",SystemDrive:"C:",SystemRoot:"C:\\WINDOWS",TEMP:"C:\\Users\\Luke\\AppData\\Local\\Temp",TMP:"C:\\Users\\Luke\\AppData\\Local\\Temp",USERDOMAIN:"LAPTOP-LUKE",USERDOMAIN_ROAMINGPROFILE:"LAPTOP-LUKE",USERNAME:"Luke",USERPROFILE:"C:\\Users\\Luke",VBOX_MSI_INSTALL_PATH:"C:\\Program Files\\Oracle\\VirtualBox\\",VS150COMCOMNTOOLS:"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\Tools\\",VS160COMCOMNTOOLS:"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\Common7\\Tools\\",VUE_APP_STRIPE_API_KEY:"pk_live_WvmPrYGXyzYBqxs07z4Z2yjY00gG8naRex",windir:"C:\\WINDOWS",_applied:"true",_prog:"node"}},n.req&&(t.context.req=n.req),n.res&&(t.context.res=n.res),n.ssrContext&&(t.context.ssrContext=n.ssrContext),t.context.redirect=function(e,path,n){if(e){t.context._redirected=!0;var o=Object(r.a)(path);if("number"==typeof e||"undefined"!==o&&"object"!==o||(n=path||{},path=e,o=Object(r.a)(path),e=302),"object"===o&&(path=t.router.resolve(path).route.fullPath),!/(^[.]{1,2}\/)|(^\/(?!\/))/.test(path))throw path=Object(d.d)(path,n),window.location.replace(path),new Error("ERR_REDIRECT");t.context.next({path:path,query:n,status:e})}},t.context.nuxtState=window.__NUXT__),e.next=3,Promise.all([A(n.route),A(n.from)]);case 3:o=e.sent,c=Object(l.a)(o,2),f=c[0],m=c[1],n.route&&(t.context.route=f),n.from&&(t.context.from=m),t.context.next=n.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 e.stop()}}),e)})))).apply(this,arguments)}function T(e,t){return!e.length||t._redirected||t._errored?Promise.resolve():D(e[0],t).then((function(){return T(e.slice(1),t)}))}function D(e,t){var n;return(n=2===e.length?new Promise((function(n){e(t,(function(e,data){e&&t.error(e),n(data=data||{})}))})):e(t))&&n instanceof Promise&&"function"==typeof n.then?n:Promise.resolve(n)}function L(base,e){if("hash"===e)return window.location.hash.replace(/^#\//,"");base=decodeURI(base).slice(0,-1);var path=decodeURI(window.location.pathname);base&&path.startsWith(base)&&(path=path.slice(base.length));var t=(path||"/")+window.location.search+window.location.hash;return Object(d.c)(t)}function N(e,t){return function(e,t){for(var n=new Array(e.length),i=0;i1&&void 0!==arguments[1]?arguments[1]:C,n=arguments.length>2?arguments[2]:void 0;return r.call(this,e,t,n)};var o=n.resolve.bind(n);return n.resolve=function(e,t,n){return"string"==typeof e&&(e=Object(y.c)(e)),o(e,t,n)},n}var j={name:"NuxtChild",functional:!0,props:{nuxtChildKey:{type:String,default:""},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0}},render:function(e,t){var n=t.parent,data=t.data,r=t.props,o=n.$createElement;data.nuxtChild=!0;for(var c=n,l=n.$nuxt.nuxt.transitions,f=n.$nuxt.nuxt.defaultTransition,d=0;n;)n.$vnode&&n.$vnode.data.nuxtChild&&d++,n=n.$parent;data.nuxtChildDepth=d;var m=l[d]||f,h={};E.forEach((function(e){void 0!==m[e]&&(h[e]=m[e])}));var _={};S.forEach((function(e){"function"==typeof m[e]&&(_[e]=m[e].bind(c))}));var v=_.beforeEnter;if(_.beforeEnter=function(e){if(window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")})),v)return v.call(c,e)},!1===m.css){var y=_.leave;(!y||y.length<2)&&(_.leave=function(e,t){y&&y.call(c,e),c.$nextTick(t)})}var x=o("routerView",data);return r.keepAlive&&(x=o("keep-alive",{props:r.keepAliveProps},[x])),o("transition",{props:h,on:_},[x])}},E=["name","mode","appear","css","type","duration","enterClass","leaveClass","appearClass","enterActiveClass","enterActiveClass","leaveActiveClass","appearActiveClass","enterToClass","leaveToClass","appearToClass"],S=["beforeEnter","enter","afterEnter","enterCancelled","beforeLeave","leave","afterLeave","leaveCancelled","beforeAppear","appear","afterAppear","appearCancelled"],A={layout:"empty",props:{error:{type:Object,default:null}},head:function(){return{title:404===this.error.statusCode?this.pageNotFound:this.otherError}},data:function(){return{pageNotFound:"404 Not Found",otherError:"An error occurred"}}},$=(n(506),n(39)),R=n(59),I=n.n(R),T=n(608),D=Object($.a)(A,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-app",{attrs:{dark:""}},[404===e.error.statusCode?n("h1",[e._v("\n "+e._s(e.pageNotFound)+"\n ")]):n("h1",[e._v("\n "+e._s(e.otherError)+"\n ")]),e._v(" "),n("NuxtLink",{attrs:{to:"/"}},[e._v("\n Home page\n ")])],1)}),[],!1,null,"fe76af36",null),L=D.exports;I()(D,{VApp:T.a});var N=n(18),M=(n(80),n(81),{name:"Nuxt",components:{NuxtChild:j,NuxtError:L},props:{nuxtChildKey:{type:String,default:void 0},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0},name:{type:String,default:"default"}},errorCaptured:function(e){this.displayingNuxtError&&(this.errorFromNuxtError=e,this.$forceUpdate())},computed:{routerViewKey:function(){if(void 0!==this.nuxtChildKey||this.$route.matched.length>1)return this.nuxtChildKey||Object(x.c)(this.$route.matched[0].path)(this.$route.params);var e=Object(N.a)(this.$route.matched,1)[0];if(!e)return this.$route.path;var t=e.components.default;if(t&&t.options){var n=t.options;if(n.key)return"function"==typeof n.key?n.key(this.$route):n.key}return/\/$/.test(e.path)?this.$route.path:this.$route.path.replace(/\/$/,"")}},beforeCreate:function(){c.default.util.defineReactive(this,"nuxt",this.$root.$options.nuxt)},render:function(e){var t=this;return this.nuxt.err?this.errorFromNuxtError?(this.$nextTick((function(){return t.errorFromNuxtError=!1})),e("div",{},[e("h2","An error occurred while showing the error page"),e("p","Unfortunately an error occurred and while showing the error page another error occurred"),e("p","Error details: ".concat(this.errorFromNuxtError.toString())),e("nuxt-link",{props:{to:"/"}},"Go back to home")])):(this.displayingNuxtError=!0,this.$nextTick((function(){return t.displayingNuxtError=!1})),e(L,{props:{error:this.nuxt.err}})):e("NuxtChild",{key:this.routerViewKey,props:this.$props})}}),F=(n(45),n(56),n(47),n(41),{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 e=this;return this.clear(),this.percent=0,this.reversed=!1,this.skipTimerCount=0,this.canSucceed=!0,this.throttle?this._throttle=setTimeout((function(){return e.startTimer()}),this.throttle):this.startTimer(),this},set:function(e){return this.show=!0,this.canSucceed=!0,this.percent=Math.min(100,Math.max(0,Math.floor(e))),this},get:function(){return this.percent},increase:function(e){return this.percent=Math.min(100,Math.floor(this.percent+e)),this},decrease:function(e){return this.percent=Math.max(0,Math.floor(this.percent-e)),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 e=this;return this.clear(),setTimeout((function(){e.show=!1,e.$nextTick((function(){e.percent=0,e.reversed=!1}))}),500),this},fail:function(e){return this.canSucceed=!1,this},startTimer:function(){var e=this;this.show||(this.show=!0),void 0===this._cut&&(this._cut=1e4/Math.floor(this.duration)),this._timer=setInterval((function(){e.skipTimerCount>0?e.skipTimerCount--:(e.reversed?e.decrease(e._cut):e.increase(e._cut),e.continuous&&(e.percent>=100||e.percent<=0)&&(e.skipTimerCount=1,e.reversed=!e.reversed))}),100)}},render:function(e){var t=e(!1);return this.show&&(t=e("div",{staticClass:"nuxt-progress",class:{"nuxt-progress-notransition":this.skipTimerCount>0,"nuxt-progress-failed":!this.canSucceed},style:{width:this.percent+"%",left:this.left}})),t}}),U=(n(510),Object($.a)(F,undefined,undefined,!1,null,null,null).exports),V=(n(512),{data:function(){return{clipped:!1,drawer:!1,fixed:!1,items:[{icon:"mdi-apps",title:"Welcome",to:"/"},{icon:"mdi-chart-bubble",title:"Inspire",to:"/inspire"},{icon:"mdi-chart-bubble",title:"Login",to:"/login"}],miniVariant:!1,right:!0,rightDrawer:!1,title:"Vuetify.js"}}}),B=n(615),W=n(609),H=n(237),K=n(616),G=n(617),J=n(610),X=n(221),Q=n(222),Y=n(121),z=n(223),Z=n(40),ee=n(611),te=n(612),ne=n(129),re=Object($.a)(V,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-app",[n("v-navigation-drawer",{attrs:{"mini-variant":e.miniVariant,clipped:e.clipped,fixed:"",app:""},model:{value:e.drawer,callback:function(t){e.drawer=t},expression:"drawer"}},[n("v-list",e._l(e.items,(function(t,i){return n("v-list-item",{key:i,attrs:{to:t.to,router:"",exact:""}},[n("v-list-item-action",[n("v-icon",[e._v(e._s(t.icon))])],1),e._v(" "),n("v-list-item-content",[n("v-list-item-title",{domProps:{textContent:e._s(t.title)}})],1)],1)})),1)],1),e._v(" "),n("v-app-bar",{attrs:{"clipped-left":e.clipped,fixed:"",app:""}},[n("v-app-bar-nav-icon",{on:{click:function(t){t.stopPropagation(),e.drawer=!e.drawer}}}),e._v(" "),n("v-btn",{attrs:{icon:""},on:{click:function(t){t.stopPropagation(),e.miniVariant=!e.miniVariant}}},[n("v-icon",[e._v("mdi-"+e._s("chevron-"+(e.miniVariant?"right":"left")))])],1),e._v(" "),n("v-btn",{attrs:{icon:""},on:{click:function(t){t.stopPropagation(),e.clipped=!e.clipped}}},[n("v-icon",[e._v("mdi-application")])],1),e._v(" "),n("v-btn",{attrs:{icon:""},on:{click:function(t){t.stopPropagation(),e.fixed=!e.fixed}}},[n("v-icon",[e._v("mdi-minus")])],1),e._v(" "),n("v-toolbar-title",{domProps:{textContent:e._s(e.title)}}),e._v(" "),n("v-spacer"),e._v(" "),n("v-btn",{attrs:{icon:""},on:{click:function(t){t.stopPropagation(),e.rightDrawer=!e.rightDrawer}}},[n("v-icon",[e._v("mdi-menu")])],1)],1),e._v(" "),n("v-content",[n("v-container",[n("nuxt")],1)],1),e._v(" "),n("v-navigation-drawer",{attrs:{right:e.right,temporary:"",fixed:""},model:{value:e.rightDrawer,callback:function(t){e.rightDrawer=t},expression:"rightDrawer"}},[n("v-list",[n("v-list-item",{nativeOn:{click:function(t){e.right=!e.right}}},[n("v-list-item-action",[n("v-icon",{attrs:{light:""}},[e._v("\n mdi-repeat\n ")])],1),e._v(" "),n("v-list-item-title",[e._v("Switch drawer (click me)")])],1)],1)],1),e._v(" "),n("v-footer",{attrs:{fixed:e.fixed,app:""}},[n("span",[e._v("© 2019")])])],1)}),[],!1,null,null,null),oe=re.exports;I()(re,{VApp:T.a,VAppBar:B.a,VAppBarNavIcon:W.a,VBtn:H.a,VContainer:K.a,VContent:G.a,VFooter:J.a,VIcon:X.a,VList:Q.a,VListItem:Y.a,VListItemAction:z.a,VListItemContent:Z.a,VListItemTitle:Z.c,VNavigationDrawer:ee.a,VSpacer:te.a,VToolbarTitle:ne.b});var ie={data:function(){return{links:[{icon:"mdi-apps",title:"Welcome",to:"/"},{icon:"mdi-account",title:"My Account",to:"/user/me"},{icon:"mdi-folder-account",title:"My Clients",to:"/client"},{icon:"mdi-map-clock",title:"My Appointments",to:"/appointment"},{icon:"mdi-finance",title:"Charts",to:"/stats"}]}}},ae=n(613),se=n(614),ce=Object($.a)(ie,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-footer",{attrs:{color:"blue-grey lighten-1",padless:""}},[n("v-row",{attrs:{justify:"center","no-gutters":""}},[e._l(e.links,(function(link){return n("v-btn",{key:link.to,staticClass:"my-2",attrs:{to:link.to,color:"white",text:"",rounded:""}},[e._v("\n "+e._s(link.title)+"\n ")])})),e._v(" "),n("v-col",{staticClass:"blue-grey lighten-2 py-4 text-center pr-12 pr-sm-0 white--text",attrs:{cols:"12"}},[e._v("\n "+e._s((new Date).getFullYear())+" — "),n("strong",[e._v("petcaretools.app")]),e._v(" "),n("nuxt-link",{staticClass:"ml-2",attrs:{to:"/privacy"}},[e._v("Privacy")]),e._v(" |\n "),n("nuxt-link",{attrs:{to:"/terms"}},[e._v("Terms")])],1)],2)],1)}),[],!1,null,null,null),ue=ce.exports;I()(ce,{VBtn:H.a,VCol:ae.a,VFooter:J.a,VRow:se.a});var pe={data:function(){return{drawer:!1,showInstallButton:!1,deferredInstallPrompt:null,item:1,items:[{icon:"mdi-apps",title:"Welcome",to:"/"},{icon:"mdi-account",title:"My Account",to:"/user/me"},{icon:"mdi-folder-account",title:"My Clients",to:"/client"},{icon:"mdi-map-clock",title:"My Appointments",to:"/appointment"},{icon:"mdi-finance",title:"Charts",to:"/stats"}]}},beforeMount:function(){var e=this;window.addEventListener("beforeinstallprompt",(function(t){console.log("beforeinstallprompt: PWA install available"),e.showInstallButton=!0,e.deferredInstallPrompt=t}))},methods:{logout:function(){var e=this;this.$gAuth.signOut().then((function(){e.$cookies.remove("shepherd_auth",{path:"/",domain:"petcaretools.app"}),e.$store.commit("user/logOut"),e.$router.push("/user/login")}))},promptInstall:function(){this.deferredInstallPrompt.prompt();var e=this;this.showInstallButton=!1,this.deferredPrompt.userChoice.then((function(t){"accepted"===t.outcome?console.log("User accepted the A2HS prompt"):console.log("User dismissed the A2HS prompt"),e.deferredPrompt=null}))}}},le=(n(566),n(224)),fe=n(602),de=Object($.a)(pe,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("v-navigation-drawer",{attrs:{color:"primary lighten-1",clipped:"",temporary:e.$vuetify.breakpoint.smAndDown,permanent:e.$vuetify.breakpoint.mdAndUp,"expand-on-hover":e.$vuetify.breakpoint.mdAndUp,app:"",dark:""},model:{value:e.drawer,callback:function(t){e.drawer=t},expression:"drawer"}},[r("v-list",{attrs:{nav:""}},e._l(e.items,(function(t,i){return r("v-list-item",{key:i,attrs:{to:t.to,nuxt:"",router:"",exact:""}},[r("v-list-item-action",[r("v-icon",{},[e._v(e._s(t.icon))])],1),e._v(" "),r("v-list-item-content",[r("v-list-item-title",{domProps:{textContent:e._s(t.title)}})],1)],1)})),1),e._v(" "),e.showInstallButton?[r("v-divider",{staticClass:"mx-2"}),e._v(" "),r("v-list",{attrs:{nav:""}},[r("v-list-item",{staticClass:"install-list-item",on:{click:e.promptInstall}},[r("v-list-item-action",[r("v-icon",[e._v("mdi-cellphone-arrow-down")])],1),e._v(" "),r("v-list-item-content",[r("v-list-item-title",[e._v("Install App")])],1)],1)],1)]:e._e()],2),e._v(" "),r("v-app-bar",{attrs:{color:"primary",dark:"",fixed:"",app:"","clipped-left":""}},[r("v-app-bar-nav-icon",{staticClass:"d-md-none",on:{click:function(t){e.drawer=!e.drawer}}}),e._v(" "),r("v-toolbar-title",[r("v-avatar",{staticClass:"mr-3",attrs:{tile:"",size:"30px"}},[r("img",{attrs:{src:n(565),alt:"petcaretools.app - logo"}})]),e._v(" "),r("div",{staticClass:"d-none d-sm-inline-block",staticStyle:{"vertical-align":"bottom"}},[r("span",[e._v("PetCareTools")]),r("span",{staticClass:"font-weight-light"},[e._v(".App")])])],1),e._v(" "),r("v-spacer"),e._v(" "),e.$store.state.user.loggedIn?r("div",[r("span",{staticClass:"mr-4 d-none d-md-inline "},[e._v(e._s(e.$store.state.user.email))]),e._v(" "),r("v-btn",{attrs:{text:""},on:{click:e.logout}},[r("span",[e._v("Logout")]),e._v(" "),r("v-icon",{attrs:{right:""}},[e._v("mdi-logout")])],1)],1):e._e(),e._v(" "),e.$store.state.user.loggedIn||"user-login"===e.$route.name?e._e():r("div",[r("v-btn",{staticClass:"success",attrs:{to:"/user/login"}},[r("span",[e._v("Login")]),e._v(" "),r("v-icon",{attrs:{right:""}},[e._v("mdi-login")])],1)],1)],1)],1)}),[],!1,null,null,null),me=de.exports;I()(de,{VAppBar:B.a,VAppBarNavIcon:W.a,VAvatar:le.a,VBtn:H.a,VDivider:fe.a,VIcon:X.a,VList:Q.a,VListItem:Y.a,VListItemAction:z.a,VListItemContent:Z.a,VListItemTitle:Z.c,VNavigationDrawer:ee.a,VSpacer:te.a,VToolbarTitle:ne.b});var he={},_e={components:{NavBar:me,Footer:ue,HubSpotChat:Object($.a)(he,(function(){var e=this.$createElement;return(this._self._c||e)("div")}),[],!1,null,null,null).exports}},ge=(n(570),Object($.a)(_e,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-app",[n("NavBar"),e._v(" "),n("v-content",{staticClass:"blue-grey lighten-5 background"},[n("nuxt")],1),e._v(" "),n("Footer"),e._v(" "),n("hub-spot-chat")],1)}),[],!1,null,"629fd7a7",null)),ve=ge.exports;function be(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ye(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ye(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function ye(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i0},isPreview:function(){return Boolean(this.$options.previewData)}},methods:{refreshOnlineStatus:function(){void 0===window.navigator.onLine?this.isOnline=!0:this.isOnline=window.navigator.onLine},refresh:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((n=Object(x.h)(e.$route)).length){t.next=3;break}return t.abrupt("return");case 3:return e.$loading.start(),r=n.map((function(t){var p=[];if(t.$options.fetch&&t.$options.fetch.length&&p.push(Object(x.q)(t.$options.fetch,e.context)),t.$fetch)p.push(t.$fetch());else{var n,r=be(Object(x.e)(t.$vnode.componentInstance));try{for(r.s();!(n=r.n()).done;){var component=n.value;p.push(component.$fetch())}}catch(e){r.e(e)}finally{r.f()}}return t.$options.asyncData&&p.push(Object(x.q)(t.$options.asyncData,e.context).then((function(e){for(var n in e)c.default.set(t.$data,n,e[n])}))),Promise.all(p)})),t.prev=5,t.next=8,Promise.all(r);case 8:t.next=15;break;case 10:t.prev=10,t.t0=t.catch(5),e.$loading.fail(t.t0),Object(x.k)(t.t0),e.error(t.t0);case 15:e.$loading.finish();case 16:case"end":return t.stop()}}),t,null,[[5,10]])})))()},errorChanged:function(){if(this.nuxt.err){this.$loading&&(this.$loading.fail&&this.$loading.fail(this.nuxt.err),this.$loading.finish&&this.$loading.finish());var e=(L.options||L).layout;"function"==typeof e&&(e=e(this.context)),this.setLayout(e)}},setLayout:function(e){return e&&xe["_"+e]||(e="default"),this.layoutName=e,this.layout=xe["_"+e],this.layout},loadLayout:function(e){return e&&xe["_"+e]||(e="default"),Promise.resolve(xe["_"+e])}},components:{NuxtLoading:U}};n(61),n(44);function Oe(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Ce(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ce(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function Ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i2&&void 0!==arguments[2]?arguments[2]:{},r=n.isProperty,o=void 0!==r&&r;if(!t.length||o&&1===t.length)return e;var c=t.shift();return e.modules[c]=e.modules[c]||{},e.modules[c].namespaced=!0,e.modules[c].modules=e.modules[c].modules||{},Ae(e.modules[c],t,{isProperty:o})}function $e(e,t,n){t&&("state"===n?e.state=t||e.state:e[n]=Object.assign({},e[n],t))}var Re=n(232),Ie=n.n(Re),Te=function(e,t){return De.apply(this,arguments)};function De(){return(De=Object(r.a)(regeneratorRuntime.mark((function e(t,n){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r={"64x64":"/_nuxt/icons/icon_64.722b7c.png","120x120":"/_nuxt/icons/icon_120.722b7c.png","144x144":"/_nuxt/icons/icon_144.722b7c.png","152x152":"/_nuxt/icons/icon_152.722b7c.png","192x192":"/_nuxt/icons/icon_192.722b7c.png","384x384":"/_nuxt/icons/icon_384.722b7c.png","512x512":"/_nuxt/icons/icon_512.722b7c.png"},n("icon",(function(e){return r[e+"x"+e]||""}));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Le=n(127),Ne={iconfont:"md",theme:{themes:{light:{}}}};c.default.use(Le.a,{});var Me=function(e){var t="function"==typeof Ne?Ne(e):Ne;t.icons=t.icons||{},t.icons.iconfont="mdi";var n=new Le.a(t);e.app.vuetify=n,e.$vuetify=n.framework},Fe=n(166),Ue=n.n(Fe),Ve=n(343),qe=n.n(Ve),Be="ouyxdk/petcaretoolsapp",We=function(e,t){e.app;var n=e.store;(Ue.a.init(Be),n)&&qe()(Ue.a)(n);t("logRocket",Ue.a)},He=n(344),Ke=n.n(He),Ge=function(e,t){var n=e.req,r=e.res,o=!0;t("cookies",Ke()(n,r,o))},Je=n(233),Xe=(n(575),n(167)),Qe=n(103),Ye=n.n(Qe),ze=(n(593),n(228));function Ze(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}c.default.use(Je.a);var et=function(e,t){var n,c={clients:{}},l=e.app,f=(e.beforeNuxtRender,e.req,"apollo-token"),d={expires:7,path:"/",secure:!1},m=f,h=d;(n={httpEndpoint:"https://api.petcaretools.app/graphql",httpLinkOptions:{credentials:"include"}}).validateToken||(n.validateToken=function(){return!0});var _=n.cache?n.cache:new ze.InMemoryCache(n.inMemoryCacheOptions?n.inMemoryCacheOptions:void 0);_.restore(window.__NUXT__?window.__NUXT__.apollo.defaultClient:null),n.getAuth||(n.getAuth=function(){var e;return(e=Ye.a.get(m,h))&&n.validateToken(e)?"Bearer "+e:""}),n.ssr=!1,n.cache=_,n.tokenName=m,n.cookieAttributes=h;var v=Object(Xe.createApolloClient)(function(e){for(var i=1;i1&&void 0!==o[1]?o[1]:O.defaultClient,"number"==typeof(r=o.length>2&&void 0!==o[2]?o[2]:d)&&(r={expires:r}),t?Ye.a.set(f,t,r):Ye.a.remove(f,r),n.wsClient&&Object(Xe.restartWebsockets)(n.wsClient),e.prev=5,e.next=8,n.resetStore();case 8:e.next=13;break;case 10:e.prev=10,e.t0=e.catch(5),console.log("%cError on cache reset (setToken)","color: orange;",e.t0.message);case 13:case"end":return e.stop()}}),e,null,[[5,10]])}))),function(e){return x.apply(this,arguments)}),onLogout:(y=Object(r.a)(regeneratorRuntime.mark((function e(){var t,n=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:O.defaultClient,Ye.a.remove(f,d),t.wsClient&&Object(Xe.restartWebsockets)(t.wsClient),e.prev=3,e.next=6,t.resetStore();case 6:e.next=11;break;case 8:e.prev=8,e.t0=e.catch(3),console.log("%cError on cache reset (logout)","color: orange;",e.t0.message);case 11:case"end":return e.stop()}}),e,null,[[3,8]])}))),function(){return y.apply(this,arguments)}),getToken:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;return Ye.a.get(e,d)}})},tt=n(170),nt=n(171),ot=n(350);function it(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function at(e){for(var i=1;i=new Date(n)},params:["startDate","endDate"],message:"Appointment end can not be before the start."});var st=n(351),ct=n(352),ut=n.n(ct);c.default.use(st.a),c.default.use(ut.a);var pt=n(353),lt={clientId:"162330926079-dcalmjsop5beb2smgu8vvftjvhjdf6ln.apps.googleusercontent.com",scope:"https://www.googleapis.com/auth/calendar.events",discoveryDocs:"https://www.googleapis.com/discovery/v1/apis/calendar/v3/rest"};function ft(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function mt(e){for(var i=1;i has been deprecated and will be removed in Nuxt 3, please use instead")),_.a.render(e,t)}})),c.default.component(j.name,j),c.default.component("NChild",j),c.default.component(M.name,M),Object.defineProperty(c.default.prototype,"$nuxt",{get:function(){var e=this.$root.$options.$nuxt;return e||"undefined"==typeof window?e:window.$nuxt},configurable:!0}),c.default.use(f.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});var ht={name:"page",mode:"out-in",appear:!1,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"},_t=l.a.Store.prototype.registerModule;function gt(path,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=Array.isArray(path)?!!path.reduce((function(e,path){return e&&e[path]}),this.state):path in this.state;return _t.call(this,path,e,mt({preserveState:n},t))}function vt(e){return bt.apply(this,arguments)}function bt(){return(bt=Object(r.a)(regeneratorRuntime.mark((function e(t){var n,o,l,f,d,m,path,h,_=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h=function(e,t){if(!e)throw new Error("inject(key, value) has no key provided");if(void 0===t)throw new Error("inject('".concat(e,"', value) has no value provided"));f[e="$"+e]=t,f.context[e]||(f.context[e]=t),l[e]=f[e];var n="__nuxt_"+e+"_installed__";c.default[n]||(c.default[n]=!0,c.default.use((function(){Object.prototype.hasOwnProperty.call(c.default.prototype,e)||Object.defineProperty(c.default.prototype,e,{get:function(){return this.$root.$options[e]}})})))},n=_.length>1&&void 0!==_[1]?_[1]:{},e.next=4,P(0,n);case 4:return o=e.sent,(l=je(t)).$router=o,l.registerModule=gt,f=mt({head:{titleTemplate:"PetCareTools.App",meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"},{hid:"description",name:"description",content:"PetCareTools help you organize your pet care service. It assists with invoicing, record keeping, and integrates directly with your google calendar to stay on track."},{hid:"mobile-web-app-capable",name:"mobile-web-app-capable",content:"yes"},{hid:"apple-mobile-web-app-title",name:"apple-mobile-web-app-title",content:"PetCareTools.App"},{hid:"author",name:"author",content:"Experience Driven Inc."},{hid:"theme-color",name:"theme-color",content:"#1976d2"},{hid:"og:type",name:"og:type",property:"og:type",content:"website"},{hid:"og:title",name:"og:title",property:"og:title",content:"PetCareTools.App"},{hid:"og:site_name",name:"og:site_name",property:"og:site_name",content:"PetCareTools.App"},{hid:"og:description",name:"og:description",property:"og:description",content:"PetCareTools help you organize your pet care service. It assists with invoicing, record keeping, and integrates directly with your google calendar to stay on track."}],link:[{rel:"icon",type:"image/x-icon",href:"/favicon.ico"},{rel:"stylesheet",type:"text/css",href:"https://cdn.jsdelivr.net/npm/v-stripe-elements@v1.2.0/dist/v-stripe-elements.min.css"},{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"},{rel:"manifest",href:"/_nuxt/manifest.d080985e.json"},{rel:"shortcut icon",href:"/_nuxt/icons/icon_64.722b7c.png"},{rel:"apple-touch-icon",href:"/_nuxt/icons/icon_512.722b7c.png",sizes:"512x512"}],script:[{src:"//js.hs-scripts.com/7867480.js",async:!0,defer:!0}],style:[],title:"PetCareTools.App",htmlAttrs:{lang:"en"}},store:l,router:o,nuxt:{defaultTransition:ht,transitions:[ht],setTransitions:function(e){return Array.isArray(e)||(e=[e]),e=e.map((function(e){return e=e?"string"==typeof e?Object.assign({},ht,{name:e}):Object.assign({},ht,e):ht})),this.$options.nuxt.transitions=e,e},err:null,dateErr:null,error:function(e){e=e||null,f.context._errored=Boolean(e),e=e?Object(x.p)(e):null;var n=f.nuxt;return this&&(n=this.nuxt||this.$options.nuxt),n.dateErr=Date.now(),n.err=e,t&&(t.nuxt.error=e),e}}},we),l.app=f,d=t?t.next:function(e){return f.router.push(e)},t?m=o.resolve(t.url).route:(path=Object(x.f)(o.options.base,o.options.mode),m=o.resolve(path).route),e.next=14,Object(x.t)(f,{store:l,route:m,next:d,error:f.nuxt.error.bind(f),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 14:if(h("config",n),window.__NUXT__&&window.__NUXT__.state&&l.replaceState(window.__NUXT__.state),f.context.enablePreview=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};f.previewData=Object.assign({},e),h("preview",e)},"function"!=typeof Ie.a){e.next=20;break}return e.next=20,Ie()(f.context,h);case 20:return e.next=23,Te(f.context,h);case 23:return e.next=26,Me(f.context);case 26:return e.next=29,We(f.context,h);case 29:return e.next=32,Ge(f.context,h);case 32:return e.next=35,et(f.context,h);case 35:e.next=38;break;case 38:e.next=41;break;case 41:e.next=44;break;case 44:return f.context.enablePreview=function(){console.warn("You cannot call enablePreview() outside a plugin.")},e.next=47,new Promise((function(e,t){var n=o.resolve(f.context.route.fullPath).route;if(!n.matched.length)return e();o.replace(n,e,(function(n){if(!n._isRouter)return t(n);if(2!==n.type)return e();var c=o.afterEach(function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(n,r){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=3,Object(x.j)(n);case 3:f.context.route=t.sent,f.context.params=n.params||{},f.context.query=n.query||{},c(),e();case 8:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}())}))}));case 47:return e.abrupt("return",{store:l,app:f,router:o});case 48:case"end":return e.stop()}}),e)})))).apply(this,arguments)}}},[[364,27,7,28]]]);