vue-sfc-compiler/compiler/dist/core/pages-router.js

1 line
24 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

!function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return 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,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=77)}([function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n,e){var r=e(21)("wks"),o=e(22),i=e(0).Symbol,c="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=c&&i[t]||(c?i:o)("Symbol."+t))}).store=r},function(t,n,e){var r=e(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){t.exports=!e(10)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(2),o=e(29),i=e(18),c=Object.defineProperty;n.f=e(3)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return c(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n){var e=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=e)},function(t,n,e){var r=e(5),o=e(23);t.exports=e(3)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(0),o=e(7),i=e(9),c=e(22)("src"),u=e(42),a=(""+u).split("toString");e(6).inspectSource=function(t){return u.call(t)},(t.exports=function(t,n,e,u){var s="function"==typeof e;s&&(i(e,"name")||o(e,"name",n)),t[n]!==e&&(s&&(i(e,c)||o(e,c,t[n]?""+t[n]:a.join(String(n)))),t===r?t[n]=e:u?t[n]?t[n]=e:o(t,n,e):(delete t[n],o(t,n,e)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[c]||u.call(this)})},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(14);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){t.exports={}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){var r=e(0),o=e(6),i=e(7),c=e(8),u=e(11),a=function(t,n,e){var s,f,p,l,v=t&a.F,h=t&a.G,d=t&a.S,y=t&a.P,_=t&a.B,m=h?r:d?r[n]||(r[n]={}):(r[n]||{}).prototype,g=h?o:o[n]||(o[n]={}),x=g.prototype||(g.prototype={});for(s in h&&(e=n),e)p=((f=!v&&m&&void 0!==m[s])?m:e)[s],l=_&&f?u(p,r):y&&"function"==typeof p?u(Function.call,p):p,m&&c(m,s,p,t&a.U),g[s]!=p&&i(g,s,l),y&&x[s]!=p&&(x[s]=p)};r.core=o,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,n,e){var r=e(60),o=e(25);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(4),o=e(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,e){var r=e(4);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n){t.exports=!1},function(t,n,e){var r=e(12),o=e(1)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var n,e,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?e:i?r(n):"Object"==(c=r(n))&&"function"==typeof n.callee?"Arguments":c}},function(t,n,e){var r=e(6),o=e(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(19)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){var r=e(5).f,o=e(9),i=e(1)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(37),o=e(28);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){var r=e(21)("keys"),o=e(22);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){t.exports=!e(3)&&!e(10)(function(){return 7!=Object.defineProperty(e(17)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(31),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r,o,i,c=e(11),u=e(49),a=e(33),s=e(17),f=e(0),p=f.process,l=f.setImmediate,v=f.clearImmediate,h=f.MessageChannel,d=f.Dispatch,y=0,_={},m=function(){var t=+this;if(_.hasOwnProperty(t)){var n=_[t];delete _[t],n()}},g=function(t){m.call(t.data)};l&&v||(l=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return _[++y]=function(){u("function"==typeof t?t:Function(t),n)},r(y),y},v=function(t){delete _[t]},"process"==e(12)(p)?r=function(t){p.nextTick(c(m,t,1))}:d&&d.now?r=function(t){d.now(c(m,t,1))}:h?(i=(o=new h).port2,o.port1.onmessage=g,r=c(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",g,!1)):r="onreadystatechange"in s("script")?function(t){a.appendChild(s("script")).onreadystatechange=function(){a.removeChild(this),m.call(t)}}:function(t){setTimeout(c(m,t,1),0)}),t.exports={set:l,clear:v}},function(t,n,e){var r=e(0).document;t.exports=r&&r.documentElement},function(t,n,e){"use strict";var r=e(14);function o(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r}),this.resolve=r(n),this.reject=r(e)}t.exports.f=function(t){return new o(t)}},function(t,n,e){"use strict";var r=e(58),o=e(59),i=e(13),c=e(16);t.exports=e(61)(Array,"Array",function(t,n){this._t=c(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?e:"values"==n?t[e]:[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,n,e){var r=e(2),o=e(63),i=e(28),c=e(27)("IE_PROTO"),u=function(){},a=function(){var t,n=e(17)("iframe"),r=i.length;for(n.style.display="none",e(33).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};t.exports=Object.create||function(t,n){var e;return null!==t?(u.prototype=r(t),e=new u,u.prototype=null,e[c]=t):e=a(),void 0===n?e:o(e,n)}},function(t,n,e){var r=e(9),o=e(16),i=e(64)(!1),c=e(27)("IE_PROTO");t.exports=function(t,n){var e,u=o(t),a=0,s=[];for(e in u)e!=c&&r(u,e)&&s.push(e);for(;n.length>a;)r(u,e=n[a++])&&(~i(s,e)||s.push(e));return s}},function(t,n,e){var r=e(25);t.exports=function(t){return Object(r(t))}},function(t,n,e){var r=e(73),o=e(23),i=e(16),c=e(18),u=e(9),a=e(29),s=Object.getOwnPropertyDescriptor;n.f=e(3)?s:function(t,n){if(t=i(t),n=c(n,!0),a)try{return s(t,n)}catch(t){}if(u(t,n))return o(!r.f.call(t,n),t[n])}},function(t,n,e){var r=e(5).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||e(3)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},function(t,n,e){"use strict";var r,o,i,c,u=e(19),a=e(0),s=e(11),f=e(20),p=e(15),l=e(4),v=e(14),h=e(43),d=e(44),y=e(48),_=e(32).set,m=e(50)(),g=e(34),x=e(51),b=e(52),S=e(53),w=a.TypeError,O=a.process,j=O&&O.versions,P=j&&j.v8||"",E=a.Promise,T="process"==f(O),L=function(){},M=o=g.f,N=!!function(){try{var t=E.resolve(1),n=(t.constructor={})[e(1)("species")]=function(t){t(L,L)};return(T||"function"==typeof PromiseRejectionEvent)&&t.then(L)instanceof n&&0!==P.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(t){}}(),C=function(t){var n;return!(!l(t)||"function"!=typeof(n=t.then))&&n},I=function(t,n){if(!t._n){t._n=!0;var e=t._c;m(function(){for(var r=t._v,o=1==t._s,i=0,c=function(n){var e,i,c,u=o?n.ok:n.fail,a=n.resolve,s=n.reject,f=n.domain;try{u?(o||(2==t._h&&F(t),t._h=1),!0===u?e=r:(f&&f.enter(),e=u(r),f&&(f.exit(),c=!0)),e===n.promise?s(w("Promise-chain cycle")):(i=C(e))?i.call(e,a,s):a(e)):s(r)}catch(t){f&&!c&&f.exit(),s(t)}};e.length>i;)c(e[i++]);t._c=[],t._n=!1,n&&!t._h&&A(t)})}},A=function(t){_.call(a,function(){var n,e,r,o=t._v,i=k(t);if(i&&(n=x(function(){T?O.emit("unhandledRejection",o,t):(e=a.onunhandledrejection)?e({promise:t,reason:o}):(r=a.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=T||k(t)?2:1),t._a=void 0,i&&n.e)throw n.v})},k=function(t){return 1!==t._h&&0===(t._a||t._c).length},F=function(t){_.call(a,function(){var n;T?O.emit("rejectionHandled",t):(n=a.onrejectionhandled)&&n({promise:t,reason:t._v})})},R=function(t){var n=this;n._d||(n._d=!0,(n=n._w||n)._v=t,n._s=2,n._a||(n._a=n._c.slice()),I(n,!0))},V=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw w("Promise can't be resolved itself");(n=C(t))?m(function(){var r={_w:e,_d:!1};try{n.call(t,s(V,r,1),s(R,r,1))}catch(t){R.call(r,t)}}):(e._v=t,e._s=1,I(e,!1))}catch(t){R.call({_w:e,_d:!1},t)}}};N||(E=function(t){h(this,E,"Promise","_h"),v(t),r.call(this);try{t(s(V,this,1),s(R,this,1))}catch(t){R.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=e(54)(E.prototype,{then:function(t,n){var e=M(y(this,E));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=T?O.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&I(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=s(V,t,1),this.reject=s(R,t,1)},g.f=M=function(t){return t===E||t===c?new i(t):o(t)}),p(p.G+p.W+p.F*!N,{Promise:E}),e(24)(E,"Promise"),e(55)("Promise"),c=e(6).Promise,p(p.S+p.F*!N,"Promise",{reject:function(t){var n=M(this);return(0,n.reject)(t),n.promise}}),p(p.S+p.F*(u||!N),"Promise",{resolve:function(t){return S(u&&this===c?E:this,t)}}),p(p.S+p.F*!(N&&e(56)(function(t){E.all(t).catch(L)})),"Promise",{all:function(t){var n=this,e=M(n),r=e.resolve,o=e.reject,i=x(function(){var e=[],i=0,c=1;d(t,!1,function(t){var u=i++,a=!1;e.push(void 0),c++,n.resolve(t).then(function(t){a||(a=!0,e[u]=t,--c||r(e))},o)}),--c||r(e)});return i.e&&o(i.v),e.promise},race:function(t){var n=this,e=M(n),r=e.reject,o=x(function(){d(t,!1,function(t){n.resolve(t).then(e.resolve,r)})});return o.e&&r(o.v),e.promise}})},function(t,n,e){t.exports=e(21)("native-function-to-string",Function.toString)},function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}},function(t,n,e){var r=e(11),o=e(45),i=e(46),c=e(2),u=e(30),a=e(47),s={},f={};(n=t.exports=function(t,n,e,p,l){var v,h,d,y,_=l?function(){return t}:a(t),m=r(e,p,n?2:1),g=0;if("function"!=typeof _)throw TypeError(t+" is not iterable!");if(i(_)){for(v=u(t.length);v>g;g++)if((y=n?m(c(h=t[g])[0],h[1]):m(t[g]))===s||y===f)return y}else for(d=_.call(t);!(h=d.next()).done;)if((y=o(d,m,h.value,n))===s||y===f)return y}).BREAK=s,n.RETURN=f},function(t,n,e){var r=e(2);t.exports=function(t,n,e,o){try{return o?n(r(e)[0],e[1]):n(e)}catch(n){var i=t.return;throw void 0!==i&&r(i.call(t)),n}}},function(t,n,e){var r=e(13),o=e(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,n,e){var r=e(20),o=e(1)("iterator"),i=e(13);t.exports=e(6).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,n,e){var r=e(2),o=e(14),i=e(1)("species");t.exports=function(t,n){var e,c=r(t).constructor;return void 0===c||null==(e=r(c)[i])?n:o(e)}},function(t,n){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},function(t,n,e){var r=e(0),o=e(32).set,i=r.MutationObserver||r.WebKitMutationObserver,c=r.process,u=r.Promise,a="process"==e(12)(c);t.exports=function(){var t,n,e,s=function(){var r,o;for(a&&(r=c.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?e():n=void 0,r}}n=void 0,r&&r.enter()};if(a)e=function(){c.nextTick(s)};else if(!i||r.navigator&&r.navigator.standalone)if(u&&u.resolve){var f=u.resolve(void 0);e=function(){f.then(s)}}else e=function(){o.call(r,s)};else{var p=!0,l=document.createTextNode("");new i(s).observe(l,{characterData:!0}),e=function(){l.data=p=!p}}return function(r){var o={fn:r,next:void 0};n&&(n.next=o),t||(t=o,e()),n=o}}},function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,n,e){var r=e(0).navigator;t.exports=r&&r.userAgent||""},function(t,n,e){var r=e(2),o=e(4),i=e(34);t.exports=function(t,n){if(r(t),o(n)&&n.constructor===t)return n;var e=i.f(t);return(0,e.resolve)(n),e.promise}},function(t,n,e){var r=e(8);t.exports=function(t,n,e){for(var o in n)r(t,o,n[o],e);return t}},function(t,n,e){"use strict";var r=e(0),o=e(5),i=e(3),c=e(1)("species");t.exports=function(t){var n=r[t];i&&n&&!n[c]&&o.f(n,c,{configurable:!0,get:function(){return this}})}},function(t,n,e){var r=e(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var e=!1;try{var i=[7],c=i[r]();c.next=function(){return{done:e=!0}},i[r]=function(){return c},t(i)}catch(t){}return e}},function(t,n,e){for(var r=e(35),o=e(26),i=e(8),c=e(0),u=e(7),a=e(13),s=e(1),f=s("iterator"),p=s("toStringTag"),l=a.Array,v={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(v),d=0;d<h.length;d++){var y,_=h[d],m=v[_],g=c[_],x=g&&g.prototype;if(x&&(x[f]||u(x,f,l),x[p]||u(x,p,_),a[_]=l,m))for(y in r)x[y]||i(x,y,r[y],!0)}},function(t,n,e){var r=e(1)("unscopables"),o=Array.prototype;null==o[r]&&e(7)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){var r=e(12);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){"use strict";var r=e(19),o=e(15),i=e(8),c=e(7),u=e(13),a=e(62),s=e(24),f=e(66),p=e(1)("iterator"),l=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,n,e,h,d,y,_){a(e,n,h);var m,g,x,b=function(t){if(!l&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},S=n+" Iterator",w="values"==d,O=!1,j=t.prototype,P=j[p]||j["@@iterator"]||d&&j[d],E=P||b(d),T=d?w?b("entries"):E:void 0,L="Array"==n&&j.entries||P;if(L&&(x=f(L.call(new t)))!==Object.prototype&&x.next&&(s(x,S,!0),r||"function"==typeof x[p]||c(x,p,v)),w&&P&&"values"!==P.name&&(O=!0,E=function(){return P.call(this)}),r&&!_||!l&&!O&&j[p]||c(j,p,E),u[n]=E,u[S]=v,d)if(m={values:w?E:b("values"),keys:y?E:b("keys"),entries:T},_)for(g in m)g in j||i(j,g,m[g]);else o(o.P+o.F*(l||O),n,m);return m}},function(t,n,e){"use strict";var r=e(36),o=e(23),i=e(24),c={};e(7)(c,e(1)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(c,{next:o(1,e)}),i(t,n+" Iterator")}},function(t,n,e){var r=e(5),o=e(2),i=e(26);t.exports=e(3)?Object.defineProperties:function(t,n){o(t);for(var e,c=i(n),u=c.length,a=0;u>a;)r.f(t,e=c[a++],n[e]);return t}},function(t,n,e){var r=e(16),o=e(30),i=e(65);t.exports=function(t){return function(n,e,c){var u,a=r(n),s=o(a.length),f=i(c,s);if(t&&e!=e){for(;s>f;)if((u=a[f++])!=u)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===e)return t||f||0;return!t&&-1}}},function(t,n,e){var r=e(31),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=r(t))<0?o(t+n,0):i(t,n)}},function(t,n,e){var r=e(9),o=e(38),i=e(27)("IE_PROTO"),c=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},function(t,n,e){"use strict";var r=e(20),o={};o[e(1)("toStringTag")]="z",o+""!="[object z]"&&e(8)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,n,e){var r=e(38),o=e(26);e(69)("keys",function(){return function(t){return o(r(t))}})},function(t,n,e){var r=e(15),o=e(6),i=e(10);t.exports=function(t,n){var e=(o.Object||{})[t]||Object[t],c={};c[t]=n(e),r(r.S+r.F*i(function(){e(1)}),"Object",c)}},function(t,n,e){"use strict";var r=e(0),o=e(9),i=e(12),c=e(71),u=e(18),a=e(10),s=e(74).f,f=e(39).f,p=e(5).f,l=e(75).trim,v=r.Number,h=v,d=v.prototype,y="Number"==i(e(36)(d)),_="trim"in String.prototype,m=function(t){var n=u(t,!1);if("string"==typeof n&&n.length>2){var e,r,o,i=(n=_?n.trim():l(n,3)).charCodeAt(0);if(43===i||45===i){if(88===(e=n.charCodeAt(2))||120===e)return NaN}else if(48===i){switch(n.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+n}for(var c,a=n.slice(2),s=0,f=a.length;s<f;s++)if((c=a.charCodeAt(s))<48||c>o)return NaN;return parseInt(a,r)}}return+n};if(!v(" 0o1")||!v("0b1")||v("+0x1")){v=function(t){var n=arguments.length<1?0:t,e=this;return e instanceof v&&(y?a(function(){d.valueOf.call(e)}):"Number"!=i(e))?c(new h(m(n)),e,v):m(n)};for(var g,x=e(3)?s(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),b=0;x.length>b;b++)o(h,g=x[b])&&!o(v,g)&&p(v,g,f(h,g));v.prototype=d,d.constructor=v,e(8)(r,"Number",v)}},function(t,n,e){var r=e(4),o=e(72).set;t.exports=function(t,n,e){var i,c=n.constructor;return c!==e&&"function"==typeof c&&(i=c.prototype)!==e.prototype&&r(i)&&o&&o(t,i),t}},function(t,n,e){var r=e(4),o=e(2),i=function(t,n){if(o(t),!r(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{(r=e(11)(Function.call,e(39).f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return i(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:i}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,e){var r=e(37),o=e(28).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n,e){var r=e(15),o=e(25),i=e(10),c=e(76),u="["+c+"]",a=RegExp("^"+u+u+"*"),s=RegExp(u+u+"*$"),f=function(t,n,e){var o={},u=i(function(){return!!c[t]()||"…"!="…"[t]()}),a=o[t]=u?n(p):c[t];e&&(o[e]=a),r(r.P+r.F*u,"String",o)},p=f.trim=function(t,n){return t=String(o(t)),1&n&&(t=t.replace(a,"")),2&n&&(t=t.replace(s,"")),t};t.exports=f},function(t,n){t.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},function(t,n,e){"use strict";e.r(n);var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"pages"},[e("div",{staticClass:"pages-list"},[t.pages.error?t._t("error",[t._v(t._s(t.pages.error))]):t.pages.data?t._t("list",[t._l(t.pages.data,function(n,r){return[t.activePage!=r?e("button",{on:{click:function(n){return t.showPage(r)}}},[t._v(t._s(n.name))]):e("p",[t._v(t._s(n.name))])]})]):t._t("loader",[t._v("Loading...")])],2),e("div",{staticClass:"active-page"},[t.activePage?e("div",[e("keep-alive",[e(t.activeComponent,{tag:"div"})],1)],1):t._e()])])};r._withStripped=!0;e(40),e(41),e(57),e(35),e(67),e(68),e(70);var o=function(){var t=this.$createElement;return(this._self._c||t)("p",[this._v("Loading...")])};o._withStripped=!0;function i(t,n,e,r,o,i,c,u){var a,s="function"==typeof t?t.options:t;if(n&&(s.render=n,s.staticRenderFns=e,s._compiled=!0),r&&(s.functional=!0),i&&(s._scopeId="data-v-"+i),c?(a=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(c)},s._ssrRegister=a):o&&(a=u?function(){o.call(this,this.$root.$options.shadowRoot)}:o),a)if(s.functional){s._injectStyles=a;var f=s.render;s.render=function(t,n){return a.call(n),f(t,n)}}else{var p=s.beforeCreate;s.beforeCreate=p?[].concat(p,a):[a]}return{exports:t,options:s}}var c=i({},o,[],!1,null,null,null);c.options.__file="src/core/components/loader.vue";var u=c.exports,a=function(){var t=this.$createElement;return(this._self._c||t)("p",{staticStyle:{color:"red"}},[this._v("Can't load module")])};a._withStripped=!0;var s=i({},a,[],!1,null,null,null);s.options.__file="src/core/components/error.vue";var f=s.exports,p=i({name:"pages-router",data:function(){return{pages:{error:null,data:null},activePage:null}},props:{loader:{type:Object,default:function(){return u}},error:{type:Object,default:function(){return f}},prefix:{type:String,default:"page-"},retry:{type:Boolean,default:!1},source:{required:!0},timeout:{type:Number,default:5e3},title:{type:String,default:"Router"}},created:function(){var t=this;this.source.then(function(n){t.pages.data=n;var e=function(){t.showPage(window.location.hash.length>0?window.location.hash.substr(2):Object.keys(t.pages.data)[0])};t.$nextTick(e),window.onhashchange=e}).catch(function(n){t.pages.error=n})},computed:{activeComponent:function(){return this.prefix+this.activePage}},methods:{showPage:function(t){var n=this,e=this.prefix+t;if(!(t in this.pages.data))return console.error("Module not found: ".concat(t)),void(this.$options.components[e]=this.error);var r=this.pages.data[t];e in this.$options.components||(this.$options.components[e]=function(){return{component:new Promise(function(t,o){var i=function(){return e in Vue.options.components},c=function(){return i()?t(Vue.options.components[e]):o()};if(i()||!n.retry&&document.querySelector('script[src="'.concat(r.src,'"]')))c();else{var u=function(t){return function(e){n.retry&&document.head.removeChild(e.target),t()}},a=document.createElement("script");a.type="text/javascript",a.async=!0,a.src=r.src,null!=r.integrity&&(a.integrity=r.integrity),a.addEventListener("load",u(c)),a.addEventListener("error",u(o)),a.addEventListener("abort",u(o)),document.head.appendChild(a)}}),loading:n.loader,error:n.error,timeout:n.timeout}}),document.title="".concat(this.title," - ").concat(r.name),window.history.pushState({},document.title,"/#/"+t),this.activePage=t}}},r,[],!1,null,null,null);p.options.__file="src/core/pages-router.vue";var l=p.exports;Vue.component((l.options||l).name,l)}]);