-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbundle.js
1 lines (1 loc) · 13.1 KB
/
bundle.js
1
!function(e){function t(e){delete installedChunks[e]}function n(e){var t=document.getElementsByTagName("head")[0],n=document.createElement("script");n.type="text/javascript",n.charset="utf-8",n.src=f.p+""+e+"."+g+".hot-update.js",t.appendChild(n)}function r(){return new Promise(function(e,t){if("undefined"==typeof XMLHttpRequest)return t(new Error("No browser support"));try{var n=new XMLHttpRequest,r=f.p+""+g+".hot-update.json";n.open("GET",r,!0),n.timeout=1e4,n.send(null)}catch(o){return t(o)}n.onreadystatechange=function(){if(4===n.readyState)if(0===n.status)t(new Error("Manifest request to "+r+" timed out."));else if(404===n.status)e();else if(200!==n.status&&304!==n.status)t(new Error("Manifest request to "+r+" failed."));else{try{var o=JSON.parse(n.responseText)}catch(i){return void t(i)}e(o)}}})}function o(e){var t=I[e];if(!t)return f;var n=function(n){return t.hot.active?(I[n]?I[n].parents.indexOf(e)<0&&I[n].parents.push(e):x=[e],t.children.indexOf(n)<0&&t.children.push(n)):(console.warn("[HMR] unexpected require("+n+") from disposed module "+e),x=[]),b=!1,f(n)};for(var r in f)Object.prototype.hasOwnProperty.call(f,r)&&Object.defineProperty(n,r,function(e){return{configurable:!0,enumerable:!0,get:function(){return f[e]},set:function(t){f[e]=t}}}(r));return Object.defineProperty(n,"e",{enumerable:!0,value:function(e){function t(){j--,"prepare"===H&&(D[e]||l(e),0===j&&0===L&&u())}return"ready"===H&&s("prepare"),j++,f.e(e).then(t,function(e){throw t(),e})}}),n}function i(e){var t={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_disposeHandlers:[],_main:b,active:!0,accept:function(e,n){if("undefined"==typeof e)t._selfAccepted=!0;else if("function"==typeof e)t._selfAccepted=e;else if("object"==typeof e)for(var r=0;r<e.length;r++)t._acceptedDependencies[e[r]]=n||function(){};else t._acceptedDependencies[e]=n||function(){}},decline:function(e){if("undefined"==typeof e)t._selfDeclined=!0;else if("object"==typeof e)for(var n=0;n<e.length;n++)t._declinedDependencies[e[n]]=!0;else t._declinedDependencies[e]=!0},dispose:function(e){t._disposeHandlers.push(e)},addDisposeHandler:function(e){t._disposeHandlers.push(e)},removeDisposeHandler:function(e){var n=t._disposeHandlers.indexOf(e);n>=0&&t._disposeHandlers.splice(n,1)},check:a,apply:p,status:function(e){return e?void O.push(e):H},addStatusHandler:function(e){O.push(e)},removeStatusHandler:function(e){var t=O.indexOf(e);t>=0&&O.splice(t,1)},data:w[e]};return b=!0,t}function s(e){H=e;for(var t=0;t<O.length;t++)O[t].call(null,e)}function c(e){var t=+e+""===e;return t?+e:e}function a(e){if("idle"!==H)throw new Error("check() is only allowed in idle status");return _=e,s("check"),r().then(function(e){if(!e)return s("idle"),null;M={},D={},k=e.c,m=e.h,s("prepare");var t=new Promise(function(e,t){v={resolve:e,reject:t}});y={};var n=0;return l(n),"prepare"===H&&0===j&&0===L&&u(),t})}function d(e,t){if(k[e]&&M[e]){M[e]=!1;for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(y[n]=t[n]);0===--L&&0===j&&u()}}function l(e){k[e]?(M[e]=!0,L++,n(e)):D[e]=!0}function u(){s("ready");var e=v;if(v=null,e)if(_)p(_).then(function(t){e.resolve(t)},function(t){e.reject(t)});else{var t=[];for(var n in y)Object.prototype.hasOwnProperty.call(y,n)&&t.push(c(n));e.resolve(t)}}function p(n){function r(e){for(var t=[e],n={},r=t.slice().map(function(e){return{chain:[e],id:e}});r.length>0;){var i=r.pop(),s=i.id,c=i.chain;if(l=I[s],l&&!l.hot._selfAccepted){if(l.hot._selfDeclined)return{type:"self-declined",chain:c,moduleId:s};if(l.hot._main)return{type:"unaccepted",chain:c,moduleId:s};for(var a=0;a<l.parents.length;a++){var d=l.parents[a],u=I[d];if(u){if(u.hot._declinedDependencies[s])return{type:"declined",chain:c.concat([d]),moduleId:s,parentId:d};t.indexOf(d)>=0||(u.hot._acceptedDependencies[s]?(n[d]||(n[d]=[]),o(n[d],[s])):(delete n[d],t.push(d),r.push({chain:c.concat([d]),id:d})))}}}}return{type:"accepted",moduleId:e,outdatedModules:t,outdatedDependencies:n}}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];e.indexOf(r)<0&&e.push(r)}}if("ready"!==H)throw new Error("apply() is only allowed in ready status");n=n||{};var i,a,d,l,u,p={},h=[],v={};for(var _ in y)if(Object.prototype.hasOwnProperty.call(y,_)){u=c(_);var b;b=y[_]?r(u):{type:"disposed",moduleId:_};var E=!1,O=!1,L=!1,j="";switch(b.chain&&(j="\nUpdate propagation: "+b.chain.join(" -> ")),b.type){case"self-declined":n.onDeclined&&n.onDeclined(b),n.ignoreDeclined||(E=new Error("Aborted because of self decline: "+b.moduleId+j));break;case"declined":n.onDeclined&&n.onDeclined(b),n.ignoreDeclined||(E=new Error("Aborted because of declined dependency: "+b.moduleId+" in "+b.parentId+j));break;case"unaccepted":n.onUnaccepted&&n.onUnaccepted(b),n.ignoreUnaccepted||(E=new Error("Aborted because "+u+" is not accepted"+j));break;case"accepted":n.onAccepted&&n.onAccepted(b),O=!0;break;case"disposed":n.onDisposed&&n.onDisposed(b),L=!0;break;default:throw new Error("Unexception type "+b.type)}if(E)return s("abort"),Promise.reject(E);if(O){v[u]=y[u],o(h,b.outdatedModules);for(u in b.outdatedDependencies)Object.prototype.hasOwnProperty.call(b.outdatedDependencies,u)&&(p[u]||(p[u]=[]),o(p[u],b.outdatedDependencies[u]))}L&&(o(h,[b.moduleId]),v[u]=function(){console.warn("[HMR] unexpected require("+b.moduleId+") to disposed module")})}var D=[];for(a=0;a<h.length;a++)u=h[a],I[u]&&I[u].hot._selfAccepted&&D.push({module:u,errorHandler:I[u].hot._selfAccepted});s("dispose"),Object.keys(k).forEach(function(e){k[e]===!1&&t(e)});for(var M,P=h.slice();P.length>0;)if(u=P.pop(),l=I[u]){var R={},A=l.hot._disposeHandlers;for(d=0;d<A.length;d++)(i=A[d])(R);for(w[u]=R,l.hot.active=!1,delete I[u],d=0;d<l.children.length;d++){var U=I[l.children[d]];U&&(M=U.parents.indexOf(u),M>=0&&U.parents.splice(M,1))}}var C,N;for(u in p)if(Object.prototype.hasOwnProperty.call(p,u))for(l=I[u],N=p[u],d=0;d<N.length;d++)C=N[d],M=l.children.indexOf(C),M>=0&&l.children.splice(M,1);s("apply"),g=m;for(u in v)Object.prototype.hasOwnProperty.call(v,u)&&(e[u]=v[u]);var T=null;for(u in p)if(Object.prototype.hasOwnProperty.call(p,u)){l=I[u],N=p[u];var q=[];for(a=0;a<N.length;a++)C=N[a],i=l.hot._acceptedDependencies[C],q.indexOf(i)>=0||q.push(i);for(a=0;a<q.length;a++){i=q[a];try{i(N)}catch(S){n.onErrored&&n.onErrored({type:"accept-errored",moduleId:u,dependencyId:N[a],error:S}),n.ignoreErrored||T||(T=S)}}}for(a=0;a<D.length;a++){var W=D[a];u=W.module,x=[u];try{f(u)}catch(S){if("function"==typeof W.errorHandler)try{W.errorHandler(S)}catch(V){n.onErrored&&n.onErrored({type:"self-accept-error-handler-errored",moduleId:u,error:V,orginalError:S}),n.ignoreErrored||T||(T=V),T||(T=S)}else n.onErrored&&n.onErrored({type:"self-accept-errored",moduleId:u,error:S}),n.ignoreErrored||T||(T=S)}}return T?(s("fail"),Promise.reject(T)):(s("idle"),Promise.resolve(h))}function f(t){if(I[t])return I[t].exports;var n=I[t]={i:t,l:!1,exports:{},hot:i(t),parents:(E=x,x=[],E),children:[]};return e[t].call(n.exports,n,n.exports,o(t)),n.l=!0,n.exports}var h=this.webpackHotUpdate;this.webpackHotUpdate=function(e,t){d(e,t),h&&h(e,t)};var v,y,m,_=!0,g="bc3bfcb3617aa05521a2",w={},b=!0,x=[],E=[],O=[],H="idle",L=0,j=0,D={},M={},k={},I={};return f.m=e,f.c=I,f.i=function(e){return e},f.d=function(e,t,n){Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},f.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return f.d(t,"a",t),t},f.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},f.p="",f.h=function(){return g},o(6)(f.s=6)}([function(e,t,n){var r,o=function(){return r.indexOf(n.h())>=0},i=function c(){e.hot.check().then(function(t){return t?e.hot.apply({ignoreUnaccepted:!0,ignoreDeclined:!0,ignoreErrored:!0,onUnaccepted:function(e){console.warn("Ignored an update to unaccepted module "+e.chain.join(" -> "))},onDeclined:function(e){console.warn("Ignored an update to declined module "+e.chain.join(" -> "))},onErrored:function(e){console.warn("Ignored an error while updating module "+e.moduleId+" ("+e.type+")")}}).then(function(e){o()||c(),n(5)(t,e),o()&&console.log("[HMR] App is up to date.")}):(console.warn("[HMR] Cannot find update. Need to do a full reload!"),void console.warn("[HMR] (Probably because of restarting the webpack-dev-server)"))})["catch"](function(t){var n=e.hot.status();["abort","fail"].indexOf(n)>=0?(console.warn("[HMR] Cannot check for update. Need to do a full reload!"),console.warn("[HMR] "+t.stack||t.message)):console.warn("[HMR] Update check failed: "+t.stack||t.message)})},s=n(4);s.on("webpackHotUpdate",function(t){if(r=t,!o()){var n=e.hot.status();"idle"===n?(console.log("[HMR] Checking for updates on the server..."),i()):["abort","fail"].indexOf(n)>=0&&console.warn("[HMR] Cannot apply update as a previous update "+n+"ed. Need to do a full reload!")}}),console.log("[HMR] Waiting for update signal from WDS...")},function(e,t,n){"use strict";var r=n(3),o=(n.n(r),new Vue({el:"#app",data:{loading:!1,userInfo:null,message:"Hello Vue.js!"},created:function(){(new WOW).init(),$.ajax({type:"get",url:"assets/resume.json",success:function(e){o.userInfo=e,o.loading=!0}})},compiled:function(){}}))},function(e,t){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function o(e){return"number"==typeof e}function i(e){return"object"==typeof e&&null!==e}function s(e){return void 0===e}e.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if(!o(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,n,o,c,a,d;if(this._events||(this._events={}),"error"===e&&(!this._events.error||i(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;var l=new Error('Uncaught, unspecified "error" event. ('+t+")");throw l.context=t,l}if(n=this._events[e],s(n))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:c=Array.prototype.slice.call(arguments,1),n.apply(this,c)}else if(i(n))for(c=Array.prototype.slice.call(arguments,1),d=n.slice(),o=d.length,a=0;a<o;a++)d[a].apply(this,c);return!0},n.prototype.addListener=function(e,t){var o;if(!r(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,r(t.listener)?t.listener:t),this._events[e]?i(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,i(this._events[e])&&!this._events[e].warned&&(o=s(this._maxListeners)?n.defaultMaxListeners:this._maxListeners,o&&o>0&&this._events[e].length>o&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace())),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function n(){this.removeListener(e,n),o||(o=!0,t.apply(this,arguments))}if(!r(t))throw TypeError("listener must be a function");var o=!1;return n.listener=t,this.on(e,n),this},n.prototype.removeListener=function(e,t){var n,o,s,c;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],s=n.length,o=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(i(n)){for(c=s;c-- >0;)if(n[c]===t||n[c].listener&&n[c].listener===t){o=c;break}if(o<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(o,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],r(n))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},function(e,t){},function(e,t,n){var r=n(2);e.exports=new r},function(e,t){e.exports=function(e,t){var n=e.filter(function(e){return t&&t.indexOf(e)<0});if(n.length>0&&(console.warn("[HMR] The following modules couldn't be hot updated: (They would need a full reload!)"),n.forEach(function(e){console.warn("[HMR] - "+e)})),t&&0!==t.length){console.log("[HMR] Updated modules:"),t.forEach(function(e){console.log("[HMR] - "+e)});var r=t.every(function(e){return"number"==typeof e});r&&console.log("[HMR] Consider using the NamedModulesPlugin for module names.")}else console.log("[HMR] Nothing hot updated.")}},function(e,t,n){n(0),e.exports=n(1)}]);