(t,e,n,r)
| 1 | !function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=17)}([function(t,e){t.exports=function(t,e,n,r){var i,o=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(i=t,o=t.default);var s="function"==typeof o?o.options:o;if(e&&(s.render=e.render,s.staticRenderFns=e.staticRenderFns),n&&(s._scopeId=n),r){var c=Object.create(s.computed||null);Object.keys(r).forEach(function(t){var e=r[t];c[t]=function(){return e}}),s.computed=c}return{esModule:i,exports:o,options:s}}},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAA/CAQAAAAvBtIMAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQffAQYWGTpyEN1eAAAB4UlEQVRYw6XWO0scURTA8f/MLX2AhcYHBDZoCoUhIOKqjWRNmU8Qa7ewSGNlJ/gRRAxp9zOIrzaBFd2VRSsLjWjcys9g4d3x7u69c1/T3HNO8eOcOTB3kvUSO6zQYJtbgBr+j8j2+cEIs8zxlxfIaHkjKRUZfeU3MwDrAch1Hq9S40sII7Ib5pmU2RRl6rR9hxLZM+csMiHz8RBGZNCmzgofwhmRAbS5YonRUEa0yAAeaYYzAuIZAQrTYDmEEW9HHCM6QQwj3kOFWWLMhxFqEsqI7jRnLn0Y0VuQzJMPI/pL/owG8We0iC9jQLqYso0xIgXdnPcyBYiRWexlChFXxoK4MVbEhXFA7IwTojAXlJVPumQckZz5r2OcESOzQNMD6WIWGJfFCT57IQozxDcSWRxM/RB51X/nZ07AnySIOMh/AeCUTQ9ES5yxwZ0zYibAESkiHJFiouaC2AiwrtiwEYWwjmMgqiphQYxd3KtEIeJKFCDuhPHFaokTPWHoxEBU9YQW8SU0iHGQfyaiDwkhepAwoms7WuLYTiidGIiqnciRGEIicQQk8QQkWuKIKg+uRGc7a+yFE29IhV98DCcgZY0DPsUQkLLLdBwBKaVYAlKOZXTIRhgBImswwDBHbIUS8Ar1bBgUcCrDPwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxNi0wOS0xN1QxNToyMToyOSswODowMIkTQX8AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTUtMDEtMDZUMjI6MjU6NTgrMDg6MDBFEpKAAAAATXRFWHRzb2Z0d2FyZQBJbWFnZU1hZ2ljayA3LjAuMS02IFExNiB4ODZfNjQgMjAxNi0wOS0xNyBodHRwOi8vd3d3LmltYWdlbWFnaWNrLm9yZ93ZpU4AAAAYdEVYdFRodW1iOjpEb2N1bWVudDo6UGFnZXMAMaf/uy8AAAAYdEVYdFRodW1iOjpJbWFnZTo6SGVpZ2h0ADYzMFHz7nYAAAAXdEVYdFRodW1iOjpJbWFnZTo6V2lkdGgAMzQwi4jqBwAAABl0RVh0VGh1bWI6Ok1pbWV0eXBlAGltYWdlL3BuZz+yVk4AAAAXdEVYdFRodW1iOjpNVGltZQAxNDIwNTU0MzU4CHkbIgAAABJ0RVh0VGh1bWI6OlNpemUANy4wMktCCuVslAAAAF90RVh0VGh1bWI6OlVSSQBmaWxlOi8vL2hvbWUvd3d3cm9vdC9zaXRlL3d3dy5lYXN5aWNvbi5uZXQvY2RuLWltZy5lYXN5aWNvbi5jbi9zcmMvMTE4MzYvMTE4MzYwMC5wbmePYpVhAAAAAElFTkSuQmCC"},function(t,e,n){n(56);var r=n(0)(n(22),n(46),null,null);t.exports=r.exports},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e];n[2]?t.push("@media "+n[2]+"{"+n[1]+"}"):t.push(n[1])}return t.join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(t,e,n){function r(t){for(var e=0;e<t.length;e++){var n=t[e],r=u[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(o(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],i=0;i<n.parts.length;i++)a.push(o(n.parts[i]));u[n.id]={id:n.id,refs:1,parts:a}}}}function i(){var t=document.createElement("style");return t.type="text/css",f.appendChild(t),t}function o(t){var e,n,r=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]');if(r){if(h)return v;r.parentNode.removeChild(r)}if(m){var o=d++;r=p||(p=i()),e=a.bind(null,r,o,!1),n=a.bind(null,r,o,!0)}else r=i(),e=s.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}function a(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=_(e,i);else{var o=document.createTextNode(i),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function s(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var l=n(59),u={},f=c&&(document.head||document.getElementsByTagName("head")[0]),p=null,d=0,h=!1,v=function(){},m="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,n){h=n;var i=l(t,e);return r(i),function(e){for(var n=[],o=0;o<i.length;o++){var a=i[o],s=u[a.id];s.refs--,n.push(s)}e?(i=l(t,e),r(i)):i=[];for(var o=0;o<n.length;o++){var s=n[o];if(0===s.refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete u[s.id]}}}};var _=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e,n){"use strict";function r(t){r.installed||(r.installed=!0,t.component("scroller",a.default))}Object.defineProperty(e,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=n(38),a=function(t){return t&&t.__esModule?t:{default:t}}(o),s={install:r,Scroller:a.default};void 0!==("undefined"==typeof window?"undefined":i(window))&&window.Vue&&window.Vue.use(s),e.default=s},function(t,e,n){var r=n(0)(null,n(49),null,null);t.exports=r.exports},function(t,e,n){n(57);var r=n(0)(n(18),n(48),null,null);t.exports=r.exports},function(t,e,n){var r=n(0)(n(19),n(50),null,null);t.exports=r.exports},function(t,e,n){n(54);var r=n(0)(null,n(44),null,null);t.exports=r.exports},function(t,e,n){var r=n(0)(n(20),n(41),null,null);t.exports=r.exports},function(t,e,n){var r=n(0)(n(21),n(51),null,null);t.exports=r.exports},function(t,e,n){var r=n(0)(n(23),n(40),null,null);t.exports=r.exports},function(t,e,n){n(55);var r=n(0)(n(24),n(45),null,null);t.exports=r.exports},function(t,e,n){n(53);var r=n(0)(n(25),n(43),null,null);t.exports=r.exports},function(t,e,n){"use strict";function r(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}}function i(t,e,n){void 0===e&&(e={});var r,i=n||o;try{r=i(t||"")}catch(t){r={}}for(var a in e){var s=e[a];r[a]=Array.isArray(s)?s.slice():s}return r}function o(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=Ot(n.shift()),i=n.length>0?Ot(n.join("=")):null;void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]}),e):e}function a(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return $t(e);if(Array.isArray(n)){var r=[];return n.slice().forEach(function(t){void 0!==t&&(null===t?r.push($t(e)):r.push($t(e)+"="+$t(t)))}),r.join("&")}return $t(e)+"="+$t(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}function s(t,e,n,r){var i=r&&r.options.stringifyQuery,o={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:e.query||{},params:e.params||{},fullPath:l(e,i),matched:t?c(t):[]};return n&&(o.redirectedFrom=l(n,i)),Object.freeze(o)}function c(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function l(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var i=t.hash;void 0===i&&(i="");var o=e||a;return(n||"/")+o(r)+i}function u(t,e){return e===Et?t===e:!!e&&(t.path&&e.path?t.path.replace(Mt,"")===e.path.replace(Mt,"")&&t.hash===e.hash&&f(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&f(t.query,e.query)&&f(t.params,e.params)))}function f(t,e){void 0===t&&(t={}),void 0===e&&(e={});var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(n){return String(t[n])===String(e[n])})}function p(t,e){return 0===t.path.replace(Mt,"/").indexOf(e.path.replace(Mt,"/"))&&(!e.hash||t.hash===e.hash)&&d(t.query,e.query)}function d(t,e){for(var n in e)if(!(n in t))return!1;return!0}function h(t){if(!(t.metaKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){if(/\b_blank\b/i.test(t.currentTarget.getAttribute("target")))return}return t.preventDefault&&t.preventDefault(),!0}}function v(t){if(t)for(var e,n=0;n<t.length;n++){if(e=t[n],"a"===e.tag)return e;if(e.children&&(e=v(e.children)))return e}}function m(t){if(!m.installed){m.installed=!0,kt=t,Object.defineProperty(t.prototype,"$router",{get:function(){return this.$root._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this.$root._route}});var e=function(t){return void 0!==t},n=function(t,n){var r=t.$options._parentVnode;e(r)&&e(r=r.data)&&e(r=r.registerRouteInstance)&&r(t,n)};t.mixin({beforeCreate:function(){e(this.$options.router)&&(this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)),n(this,this)},destroyed:function(){n(this)}}),t.component("router-view",Tt),t.component("router-link",Rt);var r=t.config.optionMergeStrategies;r.beforeRouteEnter=r.beforeRouteLeave=r.created}}function _(t,e,n){var r=t.charAt(0);if("/"===r)return t;if("?"===r||"#"===r)return e+t;var i=e.split("/");n&&i[i.length-1]||i.pop();for(var o=t.replace(/^\//,"").split("/"),a=0;a<o.length;a++){var s=o[a];".."===s?i.pop():"."!==s&&i.push(s)}return""!==i[0]&&i.unshift(""),i.join("/")}function g(t){var e="",n="",r=t.indexOf("#");r>=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}function y(t){return t.replace(/\/\//g,"/")}function b(t,e,n){var r=e||Object.create(null),i=n||Object.create(null);return t.forEach(function(t){w(r,i,t)}),{pathMap:r,nameMap:i}}function w(t,e,n,r,i){var o=n.path,a=n.name,s={path:x(o,r),components:n.components||{default:n.component},instances:{},name:a,parent:r,matchAs:i,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{},props:null==n.props?{}:n.components?n.props:{default:n.props}};if(n.children&&n.children.forEach(function(n){var r=i?y(i+"/"+n.path):void 0;w(t,e,n,s,r)}),void 0!==n.alias)if(Array.isArray(n.alias))n.alias.forEach(function(i){var o={path:i,children:n.children};w(t,e,o,r,s.path)});else{var c={path:n.alias,children:n.children};w(t,e,c,r,s.path)}t[s.path]||(t[s.path]=s),a&&(e[a]||(e[a]=s))}function x(t,e){return t=t.replace(/\/$/,""),"/"===t[0]?t:null==e?t:y(e.path+"/"+t)}function A(t,e){for(var n,r=[],i=0,o=0,a="",s=e&&e.delimiter||"/";null!=(n=Ut.exec(t));){var c=n[0],l=n[1],u=n.index;if(a+=t.slice(o,u),o=u+c.length,l)a+=l[1];else{var f=t[o],p=n[2],d=n[3],h=n[4],v=n[5],m=n[6],_=n[7];a&&(r.push(a),a="");var g=null!=p&&null!=f&&f!==p,y="+"===m||"*"===m,b="?"===m||"*"===m,w=n[2]||s,x=h||v;r.push({name:d||i++,prefix:p||"",delimiter:w,optional:b,repeat:y,partial:g,asterisk:!!_,pattern:x?O(x):_?".*":"[^"+$(w)+"]+?"})}}return o<t.length&&(a+=t.substr(o)),a&&r.push(a),r}function C(t,e){return S(A(t,e))}function k(t){return encodeURI(t).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function T(t){return encodeURI(t).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function S(t){for(var e=new Array(t.length),n=0;n<t.length;n++)"object"==typeof t[n]&&(e[n]=new RegExp("^(?:"+t[n].pattern+")$"));return function(n,r){for(var i="",o=n||{},a=r||{},s=a.pretty?k:encodeURIComponent,c=0;c<t.length;c++){var l=t[c];if("string"!=typeof l){var u,f=o[l.name];if(null==f){if(l.optional){l.partial&&(i+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(Nt(f)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(u=s(f[p]),!e[c].test(u))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(u)+"`");i+=(0===p?l.prefix:l.delimiter)+u}}else{if(u=l.asterisk?T(f):s(f),!e[c].test(u))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+u+'"');i+=l.prefix+u}}else i+=l}return i}}function $(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function O(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function M(t,e){return t.keys=e,t}function E(t){return t.sensitive?"":"i"}function L(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return M(t,e)}function I(t,e,n){for(var r=[],i=0;i<t.length;i++)r.push(j(t[i],e,n).source);return M(new RegExp("(?:"+r.join("|")+")",E(n)),e)}function R(t,e,n){return D(A(t,n),e,n)}function D(t,e,n){Nt(e)||(n=e||n,e=[]),n=n||{};for(var r=n.strict,i=!1!==n.end,o="",a=0;a<t.length;a++){var s=t[a];if("string"==typeof s)o+=$(s);else{var c=$(s.prefix),l="(?:"+s.pattern+")";e.push(s),s.repeat&&(l+="(?:"+c+l+")*"),l=s.optional?s.partial?c+"("+l+")?":"(?:"+c+"("+l+"))?":c+"("+l+")",o+=l}}var u=$(n.delimiter||"/"),f=o.slice(-u.length)===u;return r||(o=(f?o.slice(0,-u.length):o)+"(?:"+u+"(?=$))?"),o+=i?"$":r&&f?"":"(?="+u+"|$)",M(new RegExp("^"+o,E(n)),e)}function j(t,e,n){return Nt(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?L(t,e):Nt(t)?I(t,e,n):R(t,e,n)}function N(t){var e,n,r=Vt[t];return r?(e=r.keys,n=r.regexp):(e=[],n=Pt(t,e),Vt[t]={keys:e,regexp:n}),{keys:e,regexp:n}}function P(t,e,n){try{return(Yt[t]||(Yt[t]=Pt.compile(t)))(e||{},{pretty:!0})}catch(t){return""}}function z(t,e,n,r){var o="string"==typeof t?{path:t}:t;if(o.name||o._normalized)return o;if(!o.path&&o.params&&e){o=B({},o),o._normalized=!0;var a=B(B({},e.params),o.params);if(e.name)o.name=e.name,o.params=a;else if(e.matched){var s=e.matched[e.matched.length-1].path;o.path=P(s,a,"path "+e.path)}return o}var c=g(o.path||""),l=e&&e.path||"/",u=c.path?_(c.path,l,n||o.append):e&&e.path||"/",f=i(c.query,o.query,r&&r.options.parseQuery),p=o.hash||c.hash;return p&&"#"!==p.charAt(0)&&(p="#"+p),{_normalized:!0,path:u,query:f,hash:p}}function B(t,e){for(var n in e)t[n]=e[n];return t}function F(t,e){function n(t){b(t,l,u)}function r(t,n,r){var i=z(t,n,!1,e),o=i.name;if(o){var s=u[o],c=N(s.path).keys.filter(function(t){return!t.optional}).map(function(t){return t.name});if("object"!=typeof i.params&&(i.params={}),n&&"object"==typeof n.params)for(var f in n.params)!(f in i.params)&&c.indexOf(f)>-1&&(i.params[f]=n.params[f]);if(s)return i.path=P(s.path,i.params,'named route "'+o+'"'),a(s,i,r)}else if(i.path){i.params={};for(var p in l)if(H(p,i.params,i.path))return a(l[p],i,r)}return a(null,i)}function i(t,n){var i=t.redirect,o="function"==typeof i?i(s(t,n,null,e)):i;if("string"==typeof o&&(o={path:o}),!o||"object"!=typeof o)return a(null,n);var c=o,l=c.name,f=c.path,p=n.query,d=n.hash,h=n.params;if(p=c.hasOwnProperty("query")?c.query:p,d=c.hasOwnProperty("hash")?c.hash:d,h=c.hasOwnProperty("params")?c.params:h,l){u[l];return r({_normalized:!0,name:l,query:p,hash:d,params:h},void 0,n)}if(f){var v=U(f,t);return r({_normalized:!0,path:P(v,h,'redirect route with path "'+v+'"'),query:p,hash:d},void 0,n)}return a(null,n)}function o(t,e,n){var i=P(n,e.params,'aliased route with path "'+n+'"'),o=r({_normalized:!0,path:i});if(o){var s=o.matched,c=s[s.length-1];return e.params=o.params,a(c,e)}return a(null,e)}function a(t,n,r){return t&&t.redirect?i(t,r||n):t&&t.matchAs?o(t,n,t.matchAs):s(t,n,r,e)}var c=b(t),l=c.pathMap,u=c.nameMap;return{match:r,addRoutes:n}}function H(t,e,n){var r=N(t),i=r.regexp,o=r.keys,a=n.match(i);if(!a)return!1;if(!e)return!0;for(var s=1,c=a.length;s<c;++s){var l=o[s-1],u="string"==typeof a[s]?decodeURIComponent(a[s]):a[s];l&&(e[l.name]=u)}return!0}function U(t,e){return _(t,e.parent?e.parent.path:"/",!0)}function V(){window.addEventListener("popstate",function(t){W(),t.state&&t.state.key&&tt(t.state.key)})}function Y(t,e,n,r){if(t.app){var i=t.options.scrollBehavior;i&&t.app.$nextTick(function(){var t=Z(),o=i(e,n,r?t:null);if(o){var a="object"==typeof o;if(a&&"string"==typeof o.selector){var s=document.querySelector(o.selector);s?t=q(s):Q(o)&&(t=X(o))}else a&&Q(o)&&(t=X(o));t&&window.scrollTo(t.x,t.y)}})}}function W(){var t=K();t&&(Wt[t]={x:window.pageXOffset,y:window.pageYOffset})}function Z(){var t=K();if(t)return Wt[t]}function q(t){var e=document.documentElement,n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return{x:r.left-n.left,y:r.top-n.top}}function Q(t){return J(t.x)||J(t.y)}function X(t){return{x:J(t.x)?t.x:window.pageXOffset,y:J(t.y)?t.y:window.pageYOffset}}function J(t){return"number"==typeof t}function G(){return qt.now().toFixed(3)}function K(){return Qt}function tt(t){Qt=t}function et(t,e){W();var n=window.history;try{e?n.replaceState({key:Qt},"",t):(Qt=G(),n.pushState({key:Qt},"",t))}catch(n){window.location[e?"replace":"assign"](t)}}function nt(t){et(t,!0)}function rt(t,e,n){var r=function(i){i>=t.length?n():t[i]?e(t[i],function(){r(i+1)}):r(i+1)};r(0)}function it(t){if(!t)if(Dt){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/"}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function ot(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n<r&&t[n]===e[n];n++);return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}function at(t,e,n,r){var i=vt(t,function(t,r,i,o){var a=st(t,e);if(a)return Array.isArray(a)?a.map(function(t){return n(t,r,i,o)}):n(a,r,i,o)});return mt(r?i.reverse():i)}function st(t,e){return"function"!=typeof t&&(t=kt.extend(t)),t.options[e]}function ct(t){return at(t,"beforeRouteLeave",ut,!0)}function lt(t){return at(t,"beforeRouteUpdate",ut)}function ut(t,e){return function(){return t.apply(e,arguments)}}function ft(t,e,n){return at(t,"beforeRouteEnter",function(t,r,i,o){return pt(t,i,o,e,n)})}function pt(t,e,n,r,i){return function(o,a,s){return t(o,a,function(t){s(t),"function"==typeof t&&r.push(function(){dt(t,e.instances,n,i)})})}}function dt(t,e,n,r){e[n]?t(e[n]):r()&&setTimeout(function(){dt(t,e,n,r)},16)}function ht(t){var e,n=0,r=null;return vt(t,function(t,i,o,a){if("function"==typeof t&&void 0===t.cid){n++;var s,c=_t(function(r){t.resolved="function"==typeof r?r:kt.extend(r),o.components[a]=r,--n<=0&&e&&e()}),l=_t(function(t){var n="Failed to resolve async component "+a+": "+t;r||(r=t instanceof Error?t:new Error(n),e&&e(r))});try{s=t(c,l)}catch(t){l(t)}if(s)if("function"==typeof s.then)s.then(c,l);else{var u=s.component;u&&"function"==typeof u.then&&u.then(c,l)}}}),function(t,i,o){r?o(r):n<=0?o():e=o}}function vt(t,e){return mt(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function mt(t){return Array.prototype.concat.apply([],t)}function _t(t){var e=!1;return function(){if(!e)return e=!0,t.apply(this,arguments)}}function gt(t){var e=window.location.pathname;return t&&0===e.indexOf(t)&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}function yt(t){var e=gt(t);if(!/^\/#/.test(e))return window.location.replace(y(t+"/#"+e)),!0}function bt(){var t=wt();return"/"===t.charAt(0)||(At("/"+t),!1)}function wt(){var t=window.location.href,e=t.indexOf("#");return-1===e?"":t.slice(e+1)}function xt(t){window.location.hash=t}function At(t){var e=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,e>=0?e:0)+"#"+t)}function Ct(t,e,n){var r="hash"===n?"#"+e:e;return t?y(t+"/"+r):r}Object.defineProperty(e,"__esModule",{value:!0});var kt,Tt={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,i=e.children,o=e.parent,a=e.data;a.routerView=!0;for(var s=n.name,c=o.$route,l=o._routerViewCache||(o._routerViewCache={}),u=0,f=!1;o;)o.$vnode&&o.$vnode.data.routerView&&u++,o._inactive&&(f=!0),o=o.$parent;if(a.routerViewDepth=u,f)return t(l[s],a,i);var p=c.matched[u];if(!p)return l[s]=null,t();var d=l[s]=p.components[s];return a.registerRouteInstance=function(t,e){p.instances[s]!==t&&(p.instances[s]=e)},a.props=r(c,p.props&&p.props[s]),t(d,a,i)}},St=function(t){return"%"+t.charCodeAt(0).toString(16)},$t=function(t){return encodeURIComponent(t).replace(/[!'()*]/g,St).replace(/%2C/g,",")},Ot=decodeURIComponent,Mt=/\/?$/,Et=s(null,{path:"/"}),Lt=[String,Object],It=[String,Array],Rt={name:"router-link",props:{to:{type:Lt,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:{type:String,default:"router-link-active"},event:{type:It,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,i=n.resolve(this.to,r,this.append),o=i.location,a=i.route,c=i.href,l={},f=n.options.linkActiveClass,d=null==f?this.activeClass:f,m=o.path?s(null,o,null,n):a;l[d]=this.exact?u(r,m):p(r,m);var _=function(t){h(t)&&(e.replace?n.replace(o):n.push(o))},g={click:h};Array.isArray(this.event)?this.event.forEach(function(t){g[t]=_}):g[this.event]=_;var y={class:l};if("a"===this.tag)y.on=g,y.attrs={href:c};else{var b=v(this.$slots.default);if(b){b.isStatic=!1;var w=kt.util.extend;(b.data=w({},b.data)).on=g;(b.data.attrs=w({},b.data.attrs)).href=c}else y.on=g}return t(this.tag,y,this.$slots.default)}},Dt="undefined"!=typeof window,jt=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},Nt=jt,Pt=j,zt=A,Bt=C,Ft=S,Ht=D,Ut=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");Pt.parse=zt,Pt.compile=Bt,Pt.tokensToFunction=Ft,Pt.tokensToRegExp=Ht;var Vt=Object.create(null),Yt=Object.create(null),Wt=Object.create(null),Zt=Dt&&function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)}(),qt=Dt&&window.performance&&window.performance.now?window.performance:Date,Qt=G(),Xt=function(t,e){this.router=t,this.base=it(e),this.current=Et,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};Xt.prototype.listen=function(t){this.cb=t},Xt.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Xt.prototype.onError=function(t){this.errorCbs.push(t)},Xt.prototype.transitionTo=function(t,e,n){var r=this,i=this.router.match(t,this.current);this.confirmTransition(i,function(){r.updateRoute(i),e&&e(i),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(i)}))},function(t){n&&n(t),t&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach(function(e){e(t)}))})},Xt.prototype.confirmTransition=function(t,e,n){var r=this,i=this.current,o=function(t){t instanceof Error&&r.errorCbs.forEach(function(e){e(t)}),n&&n(t)};if(u(t,i)&&t.matched.length===i.matched.length)return this.ensureURL(),o();var a=ot(this.current.matched,t.matched),s=a.updated,c=a.deactivated,l=a.activated,f=[].concat(ct(c),this.router.beforeHooks,lt(s),l.map(function(t){return t.beforeEnter}),ht(l));this.pending=t;var p=function(e,n){if(r.pending!==t)return o();try{e(t,i,function(t){!1===t||t instanceof Error?(r.ensureURL(!0),o(t)):"string"==typeof t||"object"==typeof t?(o(),"object"==typeof t&&t.replace?r.replace(t):r.push(t)):n(t)})}catch(t){o(t)}};rt(f,p,function(){var n=[];rt(ft(l,n,function(){return r.current===t}),p,function(){if(r.pending!==t)return o();r.pending=null,e(t),r.router.app&&r.router.app.$nextTick(function(){n.forEach(function(t){t()})})})})},Xt.prototype.updateRoute=function(t){var e=this.current;this.current=t,this.cb&&this.cb(t),this.router.afterHooks.forEach(function(n){n&&n(t,e)})};var Jt=function(t){function e(e,n){var r=this;t.call(this,e,n);var i=e.options.scrollBehavior;i&&V(),window.addEventListener("popstate",function(t){r.transitionTo(gt(r.base),function(t){i&&Y(e,t,r.current,!0)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,function(t){et(y(r.base+t.fullPath)),Y(r.router,t,o,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,function(t){nt(y(r.base+t.fullPath)),Y(r.router,t,o,!1),e&&e(t)},n)},e.prototype.ensureURL=function(t){if(gt(this.base)!==this.current.fullPath){var e=y(this.base+this.current.fullPath);t?et(e):nt(e)}},e.prototype.getCurrentLocation=function(){return gt(this.base)},e}(Xt),Gt=function(t){function e(e,n,r){t.call(this,e,n),r&&yt(this.base)||bt()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;window.addEventListener("hashchange",function(){bt()&&t.transitionTo(wt(),function(t){At(t.fullPath)})})},e.prototype.push=function(t,e,n){this.transitionTo(t,function(t){xt(t.fullPath),e&&e(t)},n)},e.prototype.replace=function(t,e,n){this.transitionTo(t,function(t){At(t.fullPath),e&&e(t)},n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;wt()!==e&&(t?xt(e):At(e))},e.prototype.getCurrentLocation=function(){return wt()},e}(Xt),Kt=function(t){function e(e,n){t.call(this,e,n),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,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){e.index=n,e.updateRoute(r)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Xt),te=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.afterHooks=[],this.matcher=F(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Zt,this.fallback&&(e="hash"),Dt||(e="abstract"),this.mode=e,e){case"history":this.history=new Jt(this,t.base);break;case"hash":this.history=new Gt(this,t.base,this.fallback);break;case"abstract":this.history=new Kt(this,t.base)}},ee={currentRoute:{}};te.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},ee.currentRoute.get=function(){return this.history&&this.history.current},te.prototype.init=function(t){var e=this;if(this.apps.push(t),!this.app){this.app=t;var n=this.history;if(n instanceof Jt)n.transitionTo(n.getCurrentLocation());else if(n instanceof Gt){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},te.prototype.beforeEach=function(t){this.beforeHooks.push(t)},te.prototype.afterEach=function(t){this.afterHooks.push(t)},te.prototype.onReady=function(t,e){this.history.onReady(t,e)},te.prototype.onError=function(t){this.history.onError(t)},te.prototype.push=function(t,e,n){this.history.push(t,e,n)},te.prototype.replace=function(t,e,n){this.history.replace(t,e,n)},te.prototype.go=function(t){this.history.go(t)},te.prototype.back=function(){this.go(-1)},te.prototype.forward=function(){this.go(1)},te.prototype.getMatchedComponents=function(t){var e=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]})})):[]},te.prototype.resolve=function(t,e,n){var r=z(t,e||this.history.current,n,this),i=this.match(r,e),o=i.redirectedFrom||i.fullPath;return{location:r,route:i,href:Ct(this.history.base,o,this.mode),normalizedTo:r,resolved:i}},te.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==Et&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(te.prototype,ee),te.install=m,te.version="2.4.0",Dt&&window.Vue&&window.Vue.use(te),e.default=te},function(t,e,n){"use strict";(function(e){/*! |
| 2 | * Vue.js v2.2.6 |
| 3 | * (c) 2014-2017 Evan You |
| 4 | * Released under the MIT License. |
no test coverage detected