vendor: 6,863 bytes, lines 1-2
1/*! For license information please see LICENSES */ 2(window.webpackJsonp=window.webpackJsonp||[]).push([[141],{416:function(t,e,r){"use strict";function n(a,b){for(var t in b)a[t]=b[t];return a}var o=/[!'()*]/g,c=function(t){return"%"+t.charCodeAt(0).toString(16)},f=/%2C/g,h=function(t){return encodeURIComponent(t).replace(o,c).replace(f,",")};function l(t){try{return decodeURIComponent(t)}catch(t){0}return t}var d=function(t){return null==t||"object"==typeof t?t:String(t)};function v(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach((function(param){var t=param.replace(/\+/g," ").split("="),r=l(t.shift()),n=t.length>0?l(t.join("=")):null;void 0===e[r]?e[r]=n:Array.isArray(e[r])?e[r].push(n):e[r]=[e[r],n]})),e):e}function y(t){var e=t?Object.keys(t).map((function(e){var r=t[e];if(void 0===r)return"";if(null===r)return h(e);if(Array.isArray(r)){var n=[];return r.forEach((function(t){void 0!==t&&(null===t?n.push(h(e)):n.push(h(e)+"="+h(t)))})),n.join("&")}return h(e)+"="+h(r)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var m=/\/?$/;function w(t,e,r,n){var o=n&&n.options.stringifyQuery,c=e.query||{};try{c=x(c)}catch(t){}var f={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:c,params:e.params||{},fullPath:E(e,o),matched:t?R(t):[]};return r&&(f.redirectedFrom=E(r,o)),Object.freeze(f)}function x(t){if(Array.isArray(t))return t.map(x);if(t&&"object"==typeof t){var e={};for(var r in t)e[r]=x(t[r]);return e}return t}var k=w(null,{path:"/"});function R(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function E(t,e){var path=t.path,r=t.query;void 0===r&&(r={});var n=t.hash;return void 0===n&&(n=""),(path||"/")+(e||y)(r)+n}function C(a,b){return b===k?a===b:!!b&&(a.path&&b.path?a.path.replace(m,"")===b.path.replace(m,"")&&a.hash===b.hash&&A(a.query,b.query):!(!a.name||!b.name)&&(a.name===b.name&&a.hash===b.hash&&A(a.query,b.query)&&A(a.params,b.params)))}function A(a,b){if(void 0===a&&(a={}),void 0===b&&(b={}),!a||!b)return a===b;var t=Object.keys(a).sort(),e=Object.keys(b).sort();return t.length===e.length&&t.every((function(t,i){var r=a[t];if(e[i]!==t)return!1;var n=b[t];return null==r||null==n?r===n:"object"==typeof r&&"object"==typeof n?A(r,n):String(r)===String(n)}))}function O(t){for(var i=0;i<t.matched.length;i++){var e=t.matched[i];for(var r in e.instances){var n=e.instances[r],o=e.enteredCbs[r];if(n&&o){delete e.enteredCbs[r];for(var c=0;c<o.length;c++)n._isBeingDestroyed||o[c](n)}}}}var _={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var r=e.props,o=e.children,c=e.parent,data=e.data;data.routerView=!0;for(var f=c.$createElement,h=r.name,l=c.$route,d=c._routerViewCache||(c._routerViewCache={}),v=0,y=!1;c&&c._routerRoot!==c;){var m=c.$vnode?c.$vnode.data:{};m.routerView&&v++,m.keepAlive&&c._directInactive&&c._inactive&&(y=!0),c=c.$parent}if(data.routerViewDepth=v,y){var w=d[h],x=w&&w.component;return x?(w.configProps&&j(x,data,w.route,w.configProps),f(x,data,o)):f()}var k=l.matched[v],component=k&&k.components[h];if(!k||!component)return d[h]=null,f();d[h]={component:component},data.registerRouteInstance=function(t,e){var r=k.instances[h];(e&&r!==t||!e&&r===t)&&(k.instances[h]=e)},(data.hook||(data.hook={})).prepatch=function(t,e){k.instances[h]=e.componentInstance},data.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==k.instances[h]&&(k.instances[h]=t.componentInstance),O(l)};var R=k.props&&k.props[h];return R&&(n(d[h],{route:l,configProps:R}),j(component,data,l,R)),f(component,data,o)}};function j(component,data,t,e){var r=data.props=function(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}(t,e);if(r){r=data.props=n({},r);var o=data.attrs=data.attrs||{};for(var c in r)component.props&&c in component.props||(o[c]=r[c],delete r[c])}}function S(t,base,e){var r=t.charAt(0);if("/"===r)return t;if("?"===r||"#"===r)return base+t;var n=base.split("/");e&&n[n.length-1]||n.pop();for(var o=t.replace(/^\//,"").split("/"),i=0;i<o.length;i++){var c=o[i];".."===c?n.pop():"."!==c&&n.push(c)}return""!==n[0]&&n.unshift(""),n.join("/")}function $(path){return path.replace(/\/\//g,"/")}var P=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},L=Q,T=B,U=function(t,e){return F(B(t,e),e)},I=F,M=K,V=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function B(t,e){for(var r,n=[],o=0,c=0,path="",f=e&&e.delimiter||"/";null!=(r=V.exec(t));){var h=r[0],l=r[1],d=r.index;if(path+=t.slice(c,d),c=d+h.length,l)path+=l[1];else{var v=t[c],y=r[2],m=r[3],w=r[4],x=r[5],k=r[6],R=r[7];path&&(n.push(path),path="");var E=null!=y&&null!=v&&v!==y,C="+"===k||"*"===k,A="?"===k||"*"===k,O=r[2]||f,pattern=w||x;n.push({name:m||o++,prefix:y||"",delimiter:O,optional:A,repeat:C,partial:E,asterisk:!!R,pattern:pattern?z(pattern):R?".*":"[^"+N(O)+"]+?"})}}return c<t.length&&(path+=t.substr(c)),path&&n.push(path),n}function H(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function F(t,e){for(var r=new Array(t.length),i=0;i<t.length;i++)"object"==typeof t[i]&&(r[i]=new RegExp("^(?:"+t[i].pattern+")$",J(e)));return function(e,n){for(var path="",data=e||{},o=(n||{}).pretty?H:encodeURIComponent,i=0;i<t.length;i++){var c=t[i];if("string"!=typeof c){var f,h=data[c.name];if(null==h){if(c.optional){c.partial&&(path+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(P(h)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var l=0;l<h.length;l++){if(f=o(h[l]),!r[i].test(f))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(f)+"`");path+=(0===l?c.prefix:c.delimiter)+f}}else{if(f=c.asterisk?encodeURI(h).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})):o(h),!r[i].test(f))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+f+'"');path+=c.prefix+f}}else path+=c}return path}}function N(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function z(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function D(t,e){return t.keys=e,t}function J(t){return t&&t.sensitive?"":"i"}function K(t,e,r){P(e)||(r=e||r,e=[]);for(var n=(r=r||{}).strict,o=!1!==r.end,c="",i=0;i<t.length;i++){var f=t[i];if("string"==typeof f)c+=N(f);else{var h=N(f.prefix),l="(?:"+f.pattern+")";e.push(f),f.repeat&&(l+="(?:"+h+l+")*"),c+=l=f.optional?f.partial?h+"("+l+")?":"
2(?:"+h+"("+l+"))?":h+"("+l+")"}}var d=N(r.delimiter||"/"),v=c.slice(-d.length)===d;return n||(c=(v?c.slice(0,-d.length):c)+"(?:"+d+"(?=$))?"),c+=o?"$":n&&v?"":"(?="+d+"|$)",D(new RegExp("^"+c,J(r)),e)}function Q(path,t,e){return P(t)||(e=t||e,t=[]),e=e||{},path instanceof RegExp?function(path,t){var e=path.source.match(/\((?!\?)/g);if(e)for(var i=0;i<e.length;i++)t.push({name:i,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return D(path,t)}(path,t):P(path)?function(path,t,e){for(var r=[],i=0;i<path.length;i++)r.push(Q(path[i],t,e).source);return D(new RegExp("(?:"+r.join("|")+")",J(e)),t)}(path,t,e):function(path,t,e){return K(B(path,e),t,e)}(path,t,e)}L.parse=T,L.compile=U,L.tokensToFunction=I,L.tokensToRegExp=M;var X=Object.create(null);function Y(path,t,e){t=t||{};try{var r=X[path]||(X[path]=L.compile(path));return"string"==typeof t.pathMatch&&(t[0]=t.pathMatch),r(t,{pretty:!0})}catch(t){return""}finally{delete t[0]}}function W(t,e,r,o){var c="string"==typeof t?{path:t}:t;if(c._normalized)return c;if(c.name){var f=(c=n({},t)).params;return f&&"object"==typeof f&&(c.params=n({},f)),c}if(!c.path&&c.params&&e){(c=n({},c))._normalized=!0;var h=n(n({},e.params),c.params);if(e.name)c.name=e.name,c.params=h;else if(e.matched.length){var l=e.matched[e.matched.length-1].path;c.path=Y(l,h,e.path)}else 0;return c}var y=function(path){var t="",e="",r=path.indexOf("#");r>=0&&(t=path.slice(r),path=path.slice(0,r));var n=path.indexOf("?");return n>=0&&(e=path.slice(n+1),path=path.slice(0,n)),{path:path,query:e,hash:t}}(c.path||""),m=e&&e.path||"/",path=y.path?S(y.path,m,r||c.append):m,w=function(t,e,r){void 0===e&&(e={});var n,o=r||v;try{n=o(t||"")}catch(t){n={}}for(var c in e){var f=e[c];n[c]=Array.isArray(f)?f.map(d):d(f)}return n}(y.query,c.query,o&&o.options.parseQuery),x=c.hash||y.hash;return x&&"#"!==x.charAt(0)&&(x="#"+x),{_normalized:!0,path:path,query:w,hash:x}}var G,Z=function(){},tt={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(t){var e=this,r=this.$router,o=this.$route,c=r.resolve(this.to,o,this.append),f=c.location,h=c.route,l=c.href,d={},v=r.options.linkActiveClass,y=r.options.linkExactActiveClass,x=null==v?"router-link-active":v,k=null==y?"router-link-exact-active":y,R=null==this.activeClass?x:this.activeClass,E=null==this.exactActiveClass?k:this.exactActiveClass,A=h.redirectedFrom?w(null,W(h.redirectedFrom),null,r):h;d[E]=C(o,A),d[R]=this.exact?d[E]:function(t,e){return 0===t.path.replace(m,"/").indexOf(e.path.replace(m,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var r in e)if(!(r in t))return!1;return!0}(t.query,e.query)}(o,A);var O=d[E]?this.ariaCurrentValue:null,_=function(t){et(t)&&(e.replace?r.replace(f,Z):r.push(f,Z))},j={click:et};Array.isArray(this.event)?this.event.forEach((function(t){j[t]=_})):j[this.event]=_;var data={class:d},S=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:l,route:h,navigate:_,isActive:d[R],isExactActive:d[E]});if(S){if(1===S.length)return S[0];if(S.length>1||!S.length)return 0===S.length?t():t("span",{},S)}if("a"===this.tag)data.on=j,data.attrs={href:l,"aria-current":O};else{var a=function t(e){var r;if(e)for(var i=0;i<e.length;i++){if("a"===(r=e[i]).tag)return r;if(r.children&&(r=t(r.children)))return r}}(this.$slots.default);if(a){a.isStatic=!1;var $=a.data=n({},a.data);for(var P in $.on=$.on||{},$.on){var L=$.on[P];P in j&&($.on[P]=Array.isArray(L)?L:[L])}for(var T in j)T in $.on?$.on[T].push(j[T]):$.on[T]=_;var U=a.data.attrs=n({},a.data.attrs);U.href=l,U["aria-current"]=O}else data.on=j}return t(this.tag,data,this.$slots.default)}};function et(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}var nt="undefined"!=typeof window;function ot(t,e,r,n){var o=e||[],c=r||Object.create(null),f=n||Object.create(null);t.forEach((function(t){!function t(e,r,n,o,c,f){var path=o.path,h=o.name;0;var l=o.pathToRegexpOptions||{},d=function(path,t,e){e||(path=path.replace(/\/$/,""));if("/"===path[0])return path;if(null==t)return path;return $(t.path+"/"+path)}(path,c,l.strict);"boolean"==typeof o.caseSensitive&&(l.sensitive=o.caseSensitive);var v={path:d,regex:it(d,l),components:o.components||{default:o.component},instances:{},enteredCbs:{},name:h,parent:c,matchAs:f,redirect:o.redirect,beforeEnter:o.beforeEnter,meta:o.meta||{},props:null==o.props?{}:o.components?o.props:{default:o.props}};
2o.children&&o.children.forEach((function(o){var c=f?$(f+"/"+o.path):void 0;t(e,r,n,o,v,c)}));r[v.path]||(e.push(v.path),r[v.path]=v);if(void 0!==o.alias)for(var y=Array.isArray(o.alias)?o.alias:[o.alias],i=0;i<y.length;++i){0;var m={path:y[i],children:o.children};t(e,r,n,m,c,v.path||"/")}h&&(n[h]||(n[h]=v))}(o,c,f,t)}));for(var i=0,h=o.length;i<h;i++)"*"===o[i]&&(o.push(o.splice(i,1)[0]),h--,i--);return{pathList:o,pathMap:c,nameMap:f}}function it(path,t){return L(path,[],t)}function at(t,e){var r=ot(t),n=r.pathList,o=r.pathMap,c=r.nameMap;function f(t,r,f){var h=W(t,r,!1,e),d=h.name;if(d){var v=c[d];if(!v)return l(null,h);var y=v.regex.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}));if("object"!=typeof h.params&&(h.params={}),r&&"object"==typeof r.params)for(var m in r.params)!(m in h.params)&&y.indexOf(m)>-1&&(h.params[m]=r.params[m]);return h.path=Y(v.path,h.params),l(v,h,f)}if(h.path){h.params={};for(var i=0;i<n.length;i++){var path=n[i],w=o[path];if(ut(w.regex,h.path,h.params))return l(w,h,f)}}return l(null,h)}function h(t,r){var n=t.redirect,o="function"==typeof n?n(w(t,r,null,e)):n;if("string"==typeof o&&(o={path:o}),!o||"object"!=typeof o)return l(null,r);var h=o,d=h.name,path=h.path,v=r.query,y=r.hash,m=r.params;if(v=h.hasOwnProperty("query")?h.query:v,y=h.hasOwnProperty("hash")?h.hash:y,m=h.hasOwnProperty("params")?h.params:m,d){c[d];return f({_normalized:!0,name:d,query:v,hash:y,params:m},void 0,r)}if(path){var x=function(path,t){return S(path,t.parent?t.parent.path:"/",!0)}(path,t);return f({_normalized:!0,path:Y(x,m),query:v,hash:y},void 0,r)}return l(null,r)}function l(t,r,n){return t&&t.redirect?h(t,n||r):t&&t.matchAs?function(t,e,r){var n=f({_normalized:!0,path:Y(r,e.params)});if(n){var o=n.matched,c=o[o.length-1];return e.params=n.params,l(c,e)}return l(null,e)}(0,r,t.matchAs):w(t,r,n,e)}return{match:f,addRoutes:function(t){ot(t,n,o,c)}}}function ut(t,path,e){try{path=decodeURI(path)}catch(t){0}var r=path.match(t);if(!r)return!1;if(!e)return!0;for(var i=1,n=r.length;i<n;++i){var o=t.keys[i-1];o&&(e[o.name||"pathMatch"]=r[i])}return!0}var st=nt&&window.performance&&window.performance.now?window.performance:Date;function ct(){return st.now().toFixed(3)}var pt=ct();function ft(){return pt}function ht(t){return pt=t}var lt=Object.create(null);function vt(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.locations.href.replace(t,""),r=n({},window.history.state);return r.key=ft(),window.history.replaceState(r,"",e),window.addEventListener("popstate",gt),function(){window.removeEventListener("popstate",gt)}}function yt(t,e,r,n){if(t.app){var o=t.options.scrollBehavior;o&&t.app.$nextTick((function(){var c=function(){var t=ft();if(t)return lt[t]}(),f=o.call(t,e,r,n?c:null);f&&("function"==typeof f.then?f.then((function(t){Rt(t,c)})).catch((function(t){0})):Rt(f,c))}))}}function mt(){var t=ft();t&&(lt[t]={x:window.pageXOffset,y:window.pageYOffset})}function gt(t){mt(),t.state&&t.state.key&&ht(t.state.key)}function wt(t){return xt(t.x)||xt(t.y)}function bt(t){return{x:xt(t.x)?t.x:window.pageXOffset,y:xt(t.y)?t.y:window.pageYOffset}}function xt(t){return"number"==typeof t}var kt=/^#\d/;function Rt(t,e){var r,n="object"==typeof t;if(n&&"string"==typeof t.selector){var o=kt.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(o){var c=t.offset&&"object"==typeof t.offset?t.offset:{};e=function(t,e){var r=document.documentElement.getBoundingClientRect(),n=t.getBoundingClientRect();return{x:n.left-r.left-e.x,y:n.top-r.top-e.y}}(o,c={x:xt((r=c).x)?r.x:0,y:xt(r.y)?r.y:0})}else wt(t)&&(e=bt(t))}else n&&wt(t)&&(e=bt(t));e&&window.scrollTo(e.x,e.y)}var Et,Ct=nt&&((-1===(Et=window.navigator.userAgent).indexOf("androids 2.")&&-1===Et.indexOf("androids 4.0")||-1===Et.indexOf("mobiles Safari")||-1!==Et.indexOf("Chrome")||-1!==Et.indexOf("Windows phones"))&&window.history&&"function"==typeof window.history.pushState);function At(t,e){mt();var r=window.history;try{if(e){var o=n({},r.state);o.key=ft(),r.replaceState(o,"",t)}else r.pushState({key:ht(ct())},"",t)}catch(r){window.location[e?"replace":"assign"](t)}}function Ot(t){At(t,!0)}function _t(t,e,r){var n=function(o){o>=t.length?r():t[o]?e(t[o],(function(){n(o+1)})):n(o+1)};n(0)}var jt={redirected:2,aborted:4,cancelled:8,duplicated:16};function St(t,e){return Pt(t,e,jt.redirected,'Redirected when going from "'+t.fullPath+'" to "'+function(t){if("string"==typeof t)return t;if("path"in t)return t.path;var e={};return Lt.forEach((function(r){r in t&&(e[r]=t[r])})),JSON.stringify(e,null,2)}(e)+'" via a navigation guard.')}function $t(t,e){return Pt(t,e,jt.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Pt(t,e,r,n){var o=new Error(n);return o._isRouter=!0,o.from=t,o.to=e,o.type=r,o}var Lt=["params","query","hash"];function Tt(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function qt(t,e){return Tt(t)&&t._isRouter&&(null==e||t.type===e)}function Ut(t){return function(e,r,n){var o=!1,c=0,f=null;It(t,(function(t,e,r,h){if("function"==typeof t&&void 0===t.cid){o=!0,c++;var l,d=Bt((function(e){var o;((o=e).__esModule||Vt&&"Module"===o[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:G.extend(e),r.components[h]=e,--c<=0&&n()})),v=Bt((function(t){var e="Failed to resolve async component "+h+": "+t;f||(f=Tt(t)?t:new Error(e),n(f))}));try{l=t(d,v)}catch(t){v(t)}if(l)if("function"==typeof l.then)l.then(d,v);else{var y=l.component;y&&"function"==typeof y.then&&y.then(d,v)}}})),o||n()}}function It(t,e){return Mt(t.map((function(t){return Object.keys(t.components).map((function(r){return e(t.components[r],t.instances[r],t,r)}))})))}function Mt(t){return Array.prototype.concat.apply([],t)}var Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Bt(t){var e=!1;return function(){for(var r=[],n=arguments.length;n--;)r[n]=arguments[n];if(!e)return e=!0,t.apply(this,r)}}var Ht=function(t,base){this.router=t,this.base=function(base){if(!base)if(nt){var t=document.querySelector("base");base=(base=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else base="/";"/"!==base.charAt(0)&&(base="/"+base);return base.replace(/\/$/,"")}(base),this.current=k,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Ft(t,e,r,n){var o=It(t,(function(t,n,o,c){var f=function(t,e){"function"!=typeof t&&(t=G.extend(t));return t.options[e]}(t,e);if(f)return Array.isArray(f)?f.map((function(t){return r(t,n,o,c)})):r(f,n,o,c)}));return Mt(n?o.reverse():o)}function Nt(t,e){if(e)return function(){return t.apply(e,arguments)}}Ht.prototype.listen=function(t){this.cb=t},Ht.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Ht.prototype.onError=function(t){this.errorCbs.push(t)},Ht.prototype.transitionTo=function(t,e,r){var n,o=this;try{n=this.router.match(t,this.current)}
vendor: 9,003 bytes, line 2
2catch(t){throw this.errorCbs.forEach((function(e){e(t)})),t}var c=this.current;this.confirmTransition(n,(function(){o.updateRoute(n),e&&e(n),o.ensureURL(),o.router.afterHooks.forEach((function(t){t&&t(n,c)})),o.ready||(o.ready=!0,o.readyCbs.forEach((function(t){t(n)})))}),(function(t){r&&r(t),t&&!o.ready&&(qt(t,jt.redirected)&&c===k||(o.ready=!0,o.readyErrorCbs.forEach((function(e){e(t)}))))}))},Ht.prototype.confirmTransition=function(t,e,r){var n=this,o=this.current;this.pending=t;var c,f,h=function(t){!qt(t)&&Tt(t)&&(n.errorCbs.length?n.errorCbs.forEach((function(e){e(t)})):console.error(t)),r&&r(t)},l=t.matched.length-1,d=o.matched.length-1;if(C(t,o)&&l===d&&t.matched[l]===o.matched[d])return this.ensureURL(),h(((f=Pt(c=o,t,jt.duplicated,'Avoided redundant navigation to current location: "'+c.fullPath+'".')).name="NavigationDuplicated",f));var v=function(t,e){var i,r=Math.max(t.length,e.length);for(i=0;i<r&&t[i]===e[i];i++);return{updated:e.slice(0,i),activated:e.slice(i),deactivated:t.slice(i)}}(this.current.matched,t.matched),y=v.updated,m=v.deactivated,w=v.activated,x=[].concat(function(t){return Ft(t,"beforeRouteLeave",Nt,!0)}(m),this.router.beforeHooks,function(t){return Ft(t,"beforeRouteUpdate",Nt)}(y),w.map((function(t){return t.beforeEnter})),Ut(w)),k=function(e,r){if(n.pending!==t)return h($t(o,t));try{e(t,o,(function(e){!1===e?(n.ensureURL(!0),h(function(t,e){return Pt(t,e,jt.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}(o,t))):Tt(e)?(n.ensureURL(!0),h(e)):"string"==typeof e||"object"==typeof e&&("string"==typeof e.path||"string"==typeof e.name)?(h(St(o,t)),"object"==typeof e&&e.replace?n.replace(e):n.push(e)):r(e)}))}catch(t){h(t)}};_t(x,k,(function(){_t(function(t){return Ft(t,"beforeRouteEnter",(function(t,e,r,n){return function(t,e,r){return function(n,o,c){return t(n,o,(function(t){"function"==typeof t&&(e.enteredCbs[r]||(e.enteredCbs[r]=[]),e.enteredCbs[r].push(t)),c(t)}))}}(t,r,n)}))}(w).concat(n.router.resolveHooks),k,(function(){if(n.pending!==t)return h($t(o,t));n.pending=null,e(t),n.router.app&&n.router.app.$nextTick((function(){O(t)}))}))}))},Ht.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)},Ht.prototype.setupListeners=function(){},Ht.prototype.teardown=function(){this.listeners.forEach((function(t){t()})),this.listeners=[],this.current=k,this.pending=null};var zt=function(t){function e(e,base){t.call(this,e,base),this._startLocation=Dt(this.base)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,r=e.options.scrollBehavior,n=Ct&&r;n&&this.listeners.push(vt());var o=function(){var r=t.current,o=Dt(t.base);t.current===k&&o===t._startLocation||t.transitionTo(o,(function(t){n&&yt(e,t,r,!0)}))};window.addEventListener("popstate",o),this.listeners.push((function(){window.removeEventListener("popstate",o)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,r){var n=this,o=this.current;this.transitionTo(t,(function(t){At($(n.base+t.fullPath)),yt(n.router,t,o,!1),e&&e(t)}),r)},e.prototype.replace=function(t,e,r){var n=this,o=this.current;this.transitionTo(t,(function(t){Ot($(n.base+t.fullPath)),yt(n.router,t,o,!1),e&&e(t)}),r)},e.prototype.ensureURL=function(t){if(Dt(this.base)!==this.current.fullPath){var e=$(this.base+this.current.fullPath);t?At(e):Ot(e)}},e.prototype.getCurrentLocation=function(){return Dt(this.base)},e}(Ht);function Dt(base){var path=window.location.pathname;return base&&0===path.toLowerCase().indexOf(base.toLowerCase())&&(path=path.slice(base.length)),(path||"/")+window.location.search+window.location.hash}var Jt=function(t){function e(e,base,r){t.call(this,e,base),r&&function(base){var t=Dt(base);if(!/^\/#/.test(t))return window.location.replace($(base+"/#"+t)),!0}(this.base)||Kt()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router.options.scrollBehavior,r=Ct&&e;r&&this.listeners.push(vt());var n=function(){var e=t.current;Kt()&&t.transitionTo(Qt(),(function(n){r&&yt(t.router,n,e,!0),Ct||Wt(n.fullPath)}))},o=Ct?"popstate":"hashchange";window.addEventListener(o,n),this.listeners.push((function(){window.removeEventListener(o,n)}))}},e.prototype.push=function(t,e,r){var n=this,o=this.current;this.transitionTo(t,(function(t){Yt(t.fullPath),yt(n.router,t,o,!1),e&&e(t)}),r)},e.prototype.replace=function(t,e,r){var n=this,o=this.current;this.transitionTo(t,(function(t){Wt(t.fullPath),yt(n.router,t,o,!1),e&&e(t)}),r)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Qt()!==e&&(t?Yt(e):Wt(e))},e.prototype.getCurrentLocation=function(){return Qt()},e}(Ht);function Kt(){var path=Qt();return"/"===path.charAt(0)||(Wt("/"+path),!1)}function Qt(){var t=window.locations.href,e=t.indexOf("#");return e<0?"":t=t.slice(e+1)}function Xt(path){var t=window.locations.href,i=t.indexOf("#");return(i>=0?t.slice(0,i):t)+"#"+path}function Yt(path){Ct?At(Xt(path)):window.location.hash=path}function Wt(path){Ct?Ot(Xt(path)):window.location.replace(Xt(path))}var Gt=function(t){function e(e,base){t.call(this,e,base),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,r){var n=this;this.transitionTo(t,(function(t){n.stack=n.stack.slice(0,n.index+1).concat(t),n.index++,e&&e(t)}),r)},e.prototype.replace=function(t,e,r){var n=this;this.transitionTo(t,(function(t){n.stack=n.stack.slice(0,n.index).concat(t),e&&e(t)}),r)},e.prototype.go=function(t){var e=this,r=this.index+t;if(!(r<0||r>=this.stack.length)){var n=this.stack[r];this.confirmTransition(n,(function(){var t=e.current;e.index=r,e.updateRoute(n),e.router.afterHooks.forEach((function(e){e&&e(n,t)}))}),(function(t){qt(t,jt.duplicated)&&(e.index=r)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Ht),Zt=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=at(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Ct&&!1!==t.fallback,this.fallback&&(e="hash"),nt||(e="abstract"),this.mode=e,e){case"history":this.history=new zt(this,t.base);break;case"hash":this.history=new Jt(this,t.base,this.fallback);break;case"abstract":this.history=new Gt(this,t.base);break;default:0}},te={currentRoute:{configurable:!0}};function ee(t,e){return t.push(e),function(){var i=t.indexOf(e);i>-1&&t.splice(i,1)}}Zt.prototype.match=function(t,e,r){return this.matcher.match(t,e,r)},te.currentRoute.get=function(){return this.history&&this.history.current},Zt.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var r=e.apps.indexOf(t);r>-1&&e.apps.splice(r,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var r=this.history;if(r instanceof zt||r instanceof Jt){var n=function(t){r.setupListeners(),function(t){var n=r.current,o=e.options.scrollBehavior;Ct&&o&&"fullPath"in t&&yt(e,t,n,!1)}(t)};r.transitionTo(r.getCurrentLocation(),n,n)}r.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},Zt.prototype.beforeEach=function(t){return ee(this.beforeHooks,t)},Zt.prototype.beforeResolve=function(t){return ee(this.resolveHooks,t)},Zt.prototype.afterEach=function(t){return ee(this.afterHooks,t)},Zt.prototype.onReady=function(t,e){this.history.onReady(t,e)},Zt.prototype.onError=function(t){this.history.onError(t)},Zt.prototype.push=function(t,e,r){var n=this;if(!e&&!r&&"undefined"!=typeof Promise)return new Promise((function(e,r){n.history.push(t,e,r)}));this.history.push(t,e,r)},Zt.prototype.replace=function(t,e,r){var n=this;if(!e&&!r&&"undefined"!=typeof Promise)return new Promise((function(e,r){n.history.replace(t,e,r)}));this.history.replace(t,e,r)},Zt.prototype.go=function(t){this.history.go(t)},Zt.prototype.back=function(){this.go(-1)},Zt.prototype.forward=function(){this.go(1)},Zt.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},Zt.prototype.resolve=function(t,e,r){var n=W(t,e=e||this.history.current,r,this),o=this.match(n,e),c=o.redirectedFrom||o.fullPath;return{location:n,route:o,href:function(base,t,e){var path="hash"===e?"#"+t:t;return base?$(base+"/"+path):path}(this.history.base,c,this.mode),normalizedTo:n,resolved:o}},Zt.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==k&&this.history.transitionTo(this.history.getCurrentLocation())}
vendor: 1,034 bytes, line 2
2,Object.defineProperties(Zt.prototype,te),Zt.install=function t(e){if(!t.installed||G!==e){t.installed=!0,G=e;var r=function(t){return void 0!==t},n=function(t,e){var i=t.$options._parentVnode;r(i)&&r(i=i.data)&&r(i=i.registerRouteInstance)&&i(t,e)};e.mixin({beforeCreate:function(){r(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,n(this,this)},destroyed:function(){n(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",_),e.component("RouterLink",tt);var o=e.config.optionMergeStrategies;o.beforeRouteEnter=o.beforeRouteLeave=o.beforeRouteUpdate=o.created}},Zt.version="3.4.7",Zt.isNavigationFailure=qt,Zt.NavigationFailureType=jt,nt&&window.Vue&&window.Vue.use(Zt),e.a=Zt}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.