You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
15 KiB
2 lines
15 KiB
12 months ago
|
!function(e){var t=window.webpackHotUpdate;window.webpackHotUpdate=function(e,r){!function(e,t){if(!C[e]||!P[e])return;for(var r in P[e]=!1,t)Object.prototype.hasOwnProperty.call(t,r)&&(m[r]=t[r]);0==--y&&0===g&&x()}(e,r),t&&t(e,r)};var r,i=!0,n="2e26d545062ed4cdf574",s=1e4,o={},c=[],a=[];function u(e){var t=j[e];if(!t)return D;var i=function(i){return t.hot.active?(j[i]?-1===j[i].parents.indexOf(e)&&j[i].parents.push(e):(c=[e],r=i),-1===t.children.indexOf(i)&&t.children.push(i)):(console.warn("[HMR] unexpected require("+i+") from disposed module "+e),c=[]),D(i)},n=function(e){return{configurable:!0,enumerable:!0,get:function(){return D[e]},set:function(t){D[e]=t}}};for(var s in D)Object.prototype.hasOwnProperty.call(D,s)&&"e"!==s&&"t"!==s&&Object.defineProperty(i,s,n(s));return i.e=function(e){return"ready"===p&&h("prepare"),g++,D.e(e).then(t,(function(e){throw t(),e}));function t(){g--,"prepare"===p&&(_[e]||w(e),0===g&&0===y&&x())}},i.t=function(e,t){return 1&t&&(e=i(e)),D.t(e,-2&t)},i}function d(e){var t={_acceptedDependencies:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_disposeHandlers:[],_main:r!==e,active:!0,accept:function(e,r){if(void 0===e)t._selfAccepted=!0;else if("function"==typeof e)t._selfAccepted=e;else if("object"==typeof e)for(var i=0;i<e.length;i++)t._acceptedDependencies[e[i]]=r||function(){};else t._acceptedDependencies[e]=r||function(){}},decline:function(e){if(void 0===e)t._selfDeclined=!0;else if("object"==typeof e)for(var r=0;r<e.length;r++)t._declinedDependencies[e[r]]=!0;else t._declinedDependencies[e]=!0},dispose:function(e){t._disposeHandlers.push(e)},addDisposeHandler:function(e){t._disposeHandlers.push(e)},removeDisposeHandler:function(e){var r=t._disposeHandlers.indexOf(e);r>=0&&t._disposeHandlers.splice(r,1)},check:b,apply:O,status:function(e){if(!e)return p;l.push(e)},addStatusHandler:function(e){l.push(e)},removeStatusHandler:function(e){var t=l.indexOf(e);t>=0&&l.splice(t,1)},data:o[e]};return r=void 0,t}var l=[],p="idle";function h(e){p=e;for(var t=0;t<l.length;t++)l[t].call(null,e)}var f,m,v,y=0,g=0,_={},P={},C={};function E(e){return+e+""===e?+e:e}function b(e){if("idle"!==p)throw new Error("check() is only allowed in idle status");return i=e,h("check"),(t=s,t=t||1e4,new Promise((function(e,r){if("undefined"==typeof XMLHttpRequest)return r(new Error("No browser support"));try{var i=new XMLHttpRequest,s=D.p+""+n+".hot-update.json";i.open("GET",s,!0),i.timeout=t,i.send(null)}catch(e){return r(e)}i.onreadystatechange=function(){if(4===i.readyState)if(0===i.status)r(new Error("Manifest request to "+s+" timed out."));else if(404===i.status)e();else if(200!==i.status&&304!==i.status)r(new Error("Manifest request to "+s+" failed."));else{try{var t=JSON.parse(i.responseText)}catch(e){return void r(e)}e(t)}}}))).then((function(e){if(!e)return h("idle"),null;P={},_={},C=e.c,v=e.h,h("prepare");var t=new Promise((function(e,t){f={resolve:e,reject:t}}));m={};return w(0),"prepare"===p&&0===g&&0===y&&x(),t}));var t}function w(e){C[e]?(P[e]=!0,y++,function(e){var t=document.createElement("script");t.charset="utf-8",t.src=D.p+""+e+"."+n+".hot-update.js",document.head.appendChild(t)}(e)):_[e]=!0}function x(){h("ready");var e=f;if(f=null,e)if(i)Promise.resolve().then((function(){return O(i)})).then((function(t){e.resolve(t)}),(function(t){e.reject(t)}));else{var t=[];for(var r in m)Object.prototype.hasOwnProperty.call(m,r)&&t.push(E(r));e.resolve(t)}}function O(t){if("ready"!==p)throw new Error("apply() is only allowed in ready status");var r,i,s,a,u;function d(e){for(var t=[e],r={},i=t.map((function(e){return{chain:[e],id:e}}));i.length>0;){var n=i.pop(),s=n.id,o=n.chain;if((a=j[s])&&!a.hot._selfAccepted){if(a.hot._selfDeclined)return{type:"self-declined",chain:o,moduleId:s};if(a.hot._main)return{type:"unaccepted",chain:o,moduleId:s};for(var c=0;c<a.parents.length;c++){var u=a.parents[c],d=j[u];if(d){if(d.hot._declinedDependencies[s])return{type:"declined",chain:o.concat([u]),moduleId:s,parentId:u};-1===t.indexOf(u)&&(d.hot._acceptedDependencies[s]?(r[u]||(r[u]=[]),l(r[u],[s])):(del
|
||
|
//# sourceMappingURL=customPrimitive.js.map
|