(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{1:function(e,t,n){"use strict";n.d(t,"i",(function(){return h})),n.d(t,"j",(function(){return v})),n.d(t,"a",(function(){return y})),n.d(t,"o",(function(){return x})),n.d(t,"e",(function(){return w})),n.d(t,"f",(function(){return j})),n.d(t,"c",(function(){return _})),n.d(t,"n",(function(){return O})),n.d(t,"h",(function(){return E})),n.d(t,"p",(function(){return C})),n.d(t,"k",(function(){return T})),n.d(t,"m",(function(){return $})),n.d(t,"d",(function(){return P})),n.d(t,"b",(function(){return R})),n.d(t,"g",(function(){return A})),n.d(t,"l",(function(){return D}));n(22),n(14);var r=n(63),o=(n(151),n(355),n(356),n(52)),c=(n(152),n(153),n(319),n(360),n(94),n(13),n(2)),l=(n(96),n(12),n(9),n(19),n(65),n(6)),m=n(3);function d(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 f(e){for(var i=1;i1&&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){return w(e,arguments.length>1&&void 0!==arguments[1]&&arguments[1],"instances")}function _(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 O(e,t){return Promise.all(_(e,function(){var e=Object(c.a)(regeneratorRuntime.mark((function e(n,r,o,c){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!=typeof n||n.options){e.next=4;break}return e.next=3,n();case 3:n=e.sent;case 4:return o.components[c]=n=x(n),e.abrupt("return","function"==typeof t?t(n,r,o,c):n);case 6:case"end":return e.stop()}}),e)})));return function(t,n,r,o){return e.apply(this,arguments)}}()))}function E(e){return k.apply(this,arguments)}function k(){return(k=Object(c.a)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((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,O(t);case 4:return e.abrupt("return",f({},t,{meta:w(t).map((function(e,n){return f({},e.options.meta,{},(t.matched[n]||{}).meta)}))}));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function C(e,t){return S.apply(this,arguments)}function S(){return(S=Object(c.a)(regeneratorRuntime.mark((function e(t,n){var c,l,m,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.context||(t.context={isStatic:!0,isDev:!1,isHMR:!1,app:t,store:t.store,payload:n.payload,error:n.error,base:"/",env:{API_PREFIX:"/api",API_PORT:"443"}},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 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=M(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([E(n.route),E(n.from)]);case 3:c=e.sent,l=Object(r.a)(c,2),m=l[0],d=l[1],n.route&&(t.context.route=m),n.from&&(t.context.from=d),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():$(e[0],t).then((function(){return T(e.slice(1),t)}))}function $(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 P(base,e){var path=decodeURI(window.location.pathname);return"hash"===e?window.location.hash.replace(/^#\//,""):(base&&0===path.indexOf(base)&&(path=path.slice(base.length)),(path||"/")+window.location.search+window.location.hash)}function R(e,t){return function(e){for(var t=new Array(e.length),i=0;i2?t-2:0),r=2;r1)return this.nuxtChildKey||Object(y.b)(this.$route.matched[0].path)(this.$route.params);var e=Object(C.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 occured while showing the error page"),e("p","Unfortunately an error occured and while showing the error page another error occured"),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(k,{props:{error:this.nuxt.err}})):e("NuxtChild",{key:this.routerViewKey,props:this.$props})}},T=(n(96),{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(){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.skipTimerCount=1,e.reversed=!e.reversed):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}}),$=(n(366),Object(E.a)(T,void 0,void 0,!1,null,null,null).exports),P=(n(368),n(373),n(31)),R={data:function(){return{isGDPROpened:!1}},computed:{year:function(){return(new Date).getFullYear()}}},A=(n(375),Object(E.a)(R,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("el-container",{staticClass:"x-row x-align-center-start",attrs:{id:"app"}},[r("el-row",{staticClass:"app-content"},[e._t("default")],2),e._v(" "),r("el-container",{staticClass:"x-row x-align-center-start",attrs:{id:"footer"}},[r("el-row",{staticClass:"app-content",staticStyle:{height:"100%"}},[r("el-divider",{staticClass:"pa-0 ma-0"}),e._v(" "),r("div",{staticClass:"x-row x-align-stretch-stretch",staticStyle:{height:"100%"}},[r("div",{staticClass:"logos x-row x-align-center-center"},[r("img",{attrs:{src:n(321),alt:"Logos"}})]),e._v(" "),r("div",{staticClass:"x-flex x-row x-align-center-center",staticStyle:{position:"relative"}},[r("div",[e._v("\n © "+e._s(e.year)+"\n ")]),e._v(" "),r("div",{staticClass:"x-flex"}),e._v(" "),r("div",[r("el-dialog",{attrs:{title:"Infos RGPD",visible:e.isGDPROpened,width:"800px"},on:{"update:visible":function(t){e.isGDPROpened=t},close:function(t){e.isGDPROpened=!1}}},[e._v("\n Contenu RGPD\n ")]),e._v(" "),r("el-button",{attrs:{type:"text"},on:{click:function(t){e.isGDPROpened=!0}}},[e._v("\n Infos RGPD\n ")])],1)])])],1)],1)],1)}),[],!1,null,"300aa3ed",null).exports),D=n(7);function N(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}var I={computed:function(e){for(var i=1;i"},{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:"frontend"},{hid:"author",name:"author",content:"Florian Bezagu"},{hid:"theme-color",name:"theme-color",content:"#fff"},{hid:"og:type",name:"og:type",property:"og:type",content:"website"},{hid:"og:title",name:"og:title",property:"og:title",content:"frontend"},{hid:"og:site_name",name:"og:site_name",property:"og:site_name",content:"frontend"},{hid:"og:description",name:"og:description",property:"og:description",content:">"}],link:[{rel:"icon",type:"image/x-icon",href:"/favicon.ico"},{rel:"manifest",href:"/_nuxt/manifest.f919c067.json"},{rel:"shortcut icon",href:"/_nuxt/icons/icon_64.5f6a36.png"},{rel:"apple-touch-icon",href:"/_nuxt/icons/icon_512.5f6a36.png",sizes:"512x512"}],style:[],script:[],htmlAttrs:{lang:"en"}},render:function(e,t){var n=e("NuxtLoading",{ref:"loading"}),r=e(this.layout||"nuxt"),o=e("div",{domProps:{id:"__layout"},key:this.layoutName},[r]),c=e("transition",{props:{name:"layout",mode:"out-in"},on:{beforeEnter:function(e){window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")}))}}},[o]);return e("div",{domProps:{id:"__nuxt"}},[n,c])},data:function(){return{isOnline:!0,layout:null,layoutName:""}},beforeCreate:function(){c.default.util.defineReactive(this,"nuxt",this.$options.nuxt)},created:function(){c.default.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:(ae=Object(r.a)(regeneratorRuntime.mark((function e(){var t,n,r=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((t=Object(y.f)(this.$route)).length){e.next=3;break}return e.abrupt("return");case 3:return this.$loading.start(),n=t.map((function(e){var p=[];return e.$options.fetch&&p.push(Object(y.m)(e.$options.fetch,r.context)),e.$options.asyncData&&p.push(Object(y.m)(e.$options.asyncData,r.context).then((function(t){for(var n in t)c.default.set(e.$data,n,t[n])}))),Promise.all(p)})),e.prev=5,e.next=8,Promise.all(n);case 8:e.next=15;break;case 10:e.prev=10,e.t0=e.catch(5),this.$loading.fail(),Object(y.i)(e.t0),this.error(e.t0);case 15:this.$loading.finish();case 16:case"end":return e.stop()}}),e,this,[[5,10]])}))),function(){return ae.apply(this,arguments)}),errorChanged:function(){this.nuxt.err&&this.$loading&&(this.$loading.fail&&this.$loading.fail(),this.$loading.finish&&this.$loading.finish())},setLayout:function(e){return e&&pe["_"+e]||(e="default"),this.layoutName=e,this.layout=pe["_"+e],this.layout},loadLayout:function(e){return e&&pe["_"+e]||(e="default"),Promise.resolve(pe["_"+e])}},components:{NuxtLoading:$}};n(70),n(54),n(151);c.default.use(D.a);var de=["state","getters","actions","mutations"],fe={};(fe=function(e,t){if((e=e.default||e).commit)throw new Error("[nuxt] ".concat(t," should export a method that returns a Vuex instance."));return"function"!=typeof e&&(e=Object.assign({},e)),ve(e,t)}(n(384),"store/index.js")).modules=fe.modules||{},ge(n(385),"assessments.js"),ge(n(386),"companies.js"),ge(n(387),"meetings.js"),ge(n(388),"projects.js"),ge(n(389),"trainingPlans.js"),ge(n(390),"users.js");var he=fe instanceof Function?fe:function(){return new D.a.Store(Object.assign({strict:!1},fe))};function ve(e,t){if(e.state&&"function"!=typeof e.state){console.warn("'state' should be a method that returns an object in ".concat(t));var n=Object.assign({},e.state);e=Object.assign({},e,{state:function(){return n}})}return e}function ge(e,t){e=e.default||e;var n=t.replace(/\.(js|mjs)$/,"").split("/"),r=n[n.length-1],o="store/".concat(t);if(e="state"===r?function(e,t){if("function"!=typeof e){console.warn("".concat(t," should export a method that returns an object"));var n=Object.assign({},e);return function(){return n}}return ve(e,t)}(e,o):ve(e,o),de.includes(r)){var c=r;ye(be(fe,n,{isProperty:!0}),e,c)}else{"index"===r&&(n.pop(),r=n[n.length-1]);var l=be(fe,n),m=!0,d=!1,f=void 0;try{for(var h,v=de[Symbol.iterator]();!(m=(h=v.next()).done);m=!0){var y=h.value;ye(l,e[y],y)}}catch(e){d=!0,f=e}finally{try{m||null==v.return||v.return()}finally{if(d)throw f}}!1===e.namespaced&&delete l.namespaced}}function be(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).isProperty,r=void 0!==n&&n;if(!t.length||r&&1===t.length)return e;var o=t.shift();return e.modules[o]=e.modules[o]||{},e.modules[o].namespaced=!0,e.modules[o].modules=e.modules[o].modules||{},be(e.modules[o],t,{isProperty:r})}function ye(e,t,n){t&&("state"===n?e.state=t||e.state:e[n]=Object.assign({},e[n],t))}function xe(){return(xe=Object(r.a)(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(41).then(n.bind(null,493));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)}window.$workbox=function(){return xe.apply(this,arguments)}().catch((function(e){}));var we=function(e,t){return je.apply(this,arguments)};function je(){return(je=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.5f6a36.png","120x120":"/_nuxt/icons/icon_120.5f6a36.png","144x144":"/_nuxt/icons/icon_144.5f6a36.png","152x152":"/_nuxt/icons/icon_152.5f6a36.png","192x192":"/_nuxt/icons/icon_192.5f6a36.png","384x384":"/_nuxt/icons/icon_384.5f6a36.png","512x512":"/_nuxt/icons/icon_512.5f6a36.png"},n("icon",(function(e){return r[e+"x"+e]||""}));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}for(var _e=n(315),Oe=n.n(_e),Ee={setHeader:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",r=!0,o=!1,c=void 0;try{for(var l,m=(Array.isArray(n)?n:[n])[Symbol.iterator]();!(r=(l=m.next()).done);r=!0){var d=l.value;if(!t)return void delete this.defaults.headers[d][e];this.defaults.headers[d][e]=t}}catch(e){o=!0,c=e}finally{try{r||null==m.return||m.return()}finally{if(o)throw c}}},setToken:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"common",r=e?(t?t+" ":"")+e:null;this.setHeader("Authorization",r,n)},onRequest:function(e){this.interceptors.request.use((function(t){return e(t)||t}))},onResponse:function(e){this.interceptors.response.use((function(t){return e(t)||t}))},onRequestError:function(e){this.interceptors.request.use(void 0,(function(t){return e(t)||Promise.reject(t)}))},onResponseError:function(e){this.interceptors.response.use(void 0,(function(t){return e(t)||Promise.reject(t)}))},onError:function(e){this.onRequestError(e),this.onResponseError(e)}},ke=function(){var e=Se[Ce];Ee["$"+e]=function(){return this[e].apply(this,arguments).then((function(e){return e&&e.data}))}},Ce=0,Se=["request","delete","get","head","options","post","put","patch"];Ce has been deprecated and will be removed in Nuxt 3, please use instead")),h.a.render(e,t)}})),c.default.component(w.name,w),c.default.component("NChild",w),c.default.component(S.name,S),c.default.use(l.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});var Ie={name:"page",mode:"out-in",appear:!0,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"};function qe(e){return Le.apply(this,arguments)}function Le(){return(Le=Object(r.a)(regeneratorRuntime.mark((function e(t){var n,r,o,l,m,path,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new v.a(x);case 2:return n=e.sent,(r=he(t)).$router=n,o=Ne({store:r,router:n,nuxt:{defaultTransition:Ie,transitions:[Ie],setTransitions:function(e){return Array.isArray(e)||(e=[e]),e=e.map((function(e){return e=e?"string"==typeof e?Object.assign({},Ie,{name:e}):Object.assign({},Ie,e):Ie})),this.$options.nuxt.transitions=e,e},err:null,dateErr:null,error:function(e){e=e||null,o.context._errored=Boolean(e),e=e?Object(y.l)(e):null;var n=this.nuxt||this.$options.nuxt;return n.dateErr=Date.now(),n.err=e,t&&(t.nuxt.error=e),e}}},me),r.app=o,l=t?t.next:function(e){return o.router.push(e)},t?m=n.resolve(t.url).route:(path=Object(y.d)(n.options.base),m=n.resolve(path).route),e.next=11,Object(y.p)(o,{store:r,route:m,next:l,error:o.nuxt.error.bind(o),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 11:d=function(e,t){if(!e)throw new Error("inject(key, value) has no key provided");if(void 0===t)throw new Error("inject(key, value) has no value provided");o[e="$"+e]=t,r[e]=o[e];var n="__nuxt_"+e+"_installed__";c.default[n]||(c.default[n]=!0,c.default.use((function(){c.default.prototype.hasOwnProperty(e)||Object.defineProperty(c.default.prototype,e,{get:function(){return this.$root.$options[e]}})})))},window.__NUXT__&&window.__NUXT__.state&&r.replaceState(window.__NUXT__.state),e.next=16;break;case 16:if("function"!=typeof we){e.next=19;break}return e.next=19,we(o.context,d);case 19:if("function"!=typeof Te){e.next=22;break}return e.next=22,Te(o.context,d);case 22:e.next=25;break;case 25:e.next=28;break;case 28:return e.abrupt("return",{store:r,app:o,router:n});case 29:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},88:function(e,t,n){var content=n(365);"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(33).default)("72daabed",content,!0,{sourceMap:!1})},89:function(e,t,n){var content=n(367);"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(33).default)("3191d5ad",content,!0,{sourceMap:!1})},90:function(e,t,n){var content=n(376);"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(33).default)("e99b55c6",content,!0,{sourceMap:!1})},91:function(e,t,n){var content=n(378);"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(33).default)("66744e14",content,!0,{sourceMap:!1})},92:function(e,t,n){var content=n(383);"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(33).default)("2257cc7a",content,!0,{sourceMap:!1})},93:function(e,t,n){"use strict";n(9),n(70),n(14),n(12),n(54),n(64);var r=n(3),o=window.requestIdleCallback||function(e){var t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)},c=window.cancelIdleCallback||function(e){clearTimeout(e)},l=window.IntersectionObserver&&new window.IntersectionObserver((function(e){e.forEach((function(e){var t=e.intersectionRatio,link=e.target;t<=0||link.__prefetch()}))}));t.a={name:"NuxtLink",extends:r.default.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&&(l.unobserve(this.$el),delete this.$el.__prefetch)},methods:{observe:function(){l&&this.shouldPrefetch()&&(this.$el.__prefetch=this.prefetchLink.bind(this),l.observe(this.$el),this.__observed=!0)},shouldPrefetch:function(){return this.getPrefetchComponents().length>0},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()){l.unobserve(this.$el);var e=this.getPrefetchComponents(),t=!0,n=!1,r=void 0;try{for(var o,c=e[Symbol.iterator]();!(t=(o=c.next()).done);t=!0){var m=o.value,d=m();d instanceof Promise&&d.catch((function(){})),m.__prefetched=!0}}catch(e){n=!0,r=e}finally{try{t||null==c.return||c.return()}finally{if(n)throw r}}}}}}}},[[322,39,1,40]]]);