-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpolyfills-es2015.ba02764ba3b4d8724bb3.js
1 lines (1 loc) · 57.7 KB
/
polyfills-es2015.ba02764ba3b4d8724bb3.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{2:function(t,e,n){t.exports=n("hN/g")},"49sm":function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},H7XF:function(t,e,n){"use strict";e.byteLength=function(t){var e=l(t),n=e[1];return 3*(e[0]+n)/4-n},e.toByteArray=function(t){var e,n,r=l(t),s=r[0],a=r[1],c=new i(function(t,e,n){return 3*(e+n)/4-n}(0,s,a)),u=0,h=a>0?s-4:s;for(n=0;n<h;n+=4)e=o[t.charCodeAt(n)]<<18|o[t.charCodeAt(n+1)]<<12|o[t.charCodeAt(n+2)]<<6|o[t.charCodeAt(n+3)],c[u++]=e>>16&255,c[u++]=e>>8&255,c[u++]=255&e;return 2===a&&(e=o[t.charCodeAt(n)]<<2|o[t.charCodeAt(n+1)]>>4,c[u++]=255&e),1===a&&(e=o[t.charCodeAt(n)]<<10|o[t.charCodeAt(n+1)]<<4|o[t.charCodeAt(n+2)]>>2,c[u++]=e>>8&255,c[u++]=255&e),c},e.fromByteArray=function(t){for(var e,n=t.length,o=n%3,i=[],s=0,a=n-o;s<a;s+=16383)i.push(u(t,s,s+16383>a?a:s+16383));return 1===o?i.push(r[(e=t[n-1])>>2]+r[e<<4&63]+"=="):2===o&&i.push(r[(e=(t[n-2]<<8)+t[n-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),i.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,c=s.length;a<c;++a)r[a]=s[a],o[s.charCodeAt(a)]=a;function l(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function u(t,e,n){for(var o,i=[],s=e;s<n;s+=3)i.push(r[(o=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]))>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},"hN/g":function(t,e,n){"use strict";n.r(e),n("pDpN"),window.global=window,global.Buffer=global.Buffer||n("tjlA").Buffer,window.process={version:""}},"kVK+":function(t,e){e.read=function(t,e,n,r,o){var i,s,a=8*o-r-1,c=(1<<a)-1,l=c>>1,u=-7,h=n?o-1:0,f=n?-1:1,p=t[e+h];for(h+=f,i=p&(1<<-u)-1,p>>=-u,u+=a;u>0;i=256*i+t[e+h],h+=f,u-=8);for(s=i&(1<<-u)-1,i>>=-u,u+=r;u>0;s=256*s+t[e+h],h+=f,u-=8);if(0===i)i=1-l;else{if(i===c)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,r),i-=l}return(p?-1:1)*s*Math.pow(2,i-r)},e.write=function(t,e,n,r,o,i){var s,a,c,l=8*i-o-1,u=(1<<l)-1,h=u>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,d=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=u):(s=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-s))<1&&(s--,c*=2),(e+=s+h>=1?f/c:f*Math.pow(2,1-h))*c>=2&&(s++,c/=2),s+h>=u?(a=0,s=u):s+h>=1?(a=(e*c-1)*Math.pow(2,o),s+=h):(a=e*Math.pow(2,h-1)*Math.pow(2,o),s=0));o>=8;t[n+p]=255&a,p+=d,a/=256,o-=8);for(s=s<<o|a,l+=o;l>0;t[n+p]=255&s,p+=d,s/=256,l-=8);t[n+p-d]|=128*g}},pDpN:function(t,e,n){var r,o;void 0===(o="function"==typeof(r=function(){"use strict";!function(t){const e=t.performance;function n(t){e&&e.mark&&e.mark(t)}function r(t,n){e&&e.measure&&e.measure(t,n)}n("Zone");const o=t.__Zone_symbol_prefix||"__zone_symbol__";function i(t){return o+t}const s=!0===t[i("forceDuplicateZoneCheck")];if(t.Zone){if(s||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}class a{constructor(t,e){this._parent=t,this._name=e?e.name||"unnamed":"<root>",this._properties=e&&e.properties||{},this._zoneDelegate=new l(this,this._parent&&this._parent._zoneDelegate,e)}static assertZonePatched(){if(t.Promise!==D.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=a.current;for(;t.parent;)t=t.parent;return t}static get current(){return C.zone}static get currentTask(){return O}static __load_patch(e,o){if(D.hasOwnProperty(e)){if(s)throw Error("Already loaded patch: "+e)}else if(!t["__Zone_disable_"+e]){const i="Zone:"+e;n(i),D[e]=o(t,a,Z),r(i,i)}}get parent(){return this._parent}get name(){return this._name}get(t){const e=this.getZoneWith(t);if(e)return e._properties[t]}getZoneWith(t){let e=this;for(;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}}run(t,e,n,r){C={parent:C,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{C=C.parent}}runGuarded(t,e=null,n,r){C={parent:C,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{C=C.parent}}runTask(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||v).name+"; Execution: "+this.name+")");if(t.state===k&&(t.type===R||t.type===A))return;const r=t.state!=T;r&&t._transitionTo(T,b),t.runCount++;const o=O;O=t,C={parent:C,zone:this};try{t.type==A&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{t.state!==k&&t.state!==S&&(t.type==R||t.data&&t.data.isPeriodic?r&&t._transitionTo(b,T):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(k,T,k))),C=C.parent,O=o}}scheduleTask(t){if(t.zone&&t.zone!==this){let e=this;for(;e;){if(e===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);e=e.parent}}t._transitionTo(w,k);const e=[];t._zoneDelegates=e,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(n){throw t._transitionTo(S,w,k),this._zoneDelegate.handleError(this,n),n}return t._zoneDelegates===e&&this._updateTaskCount(t,1),t.state==w&&t._transitionTo(b,w),t}scheduleMicroTask(t,e,n,r){return this.scheduleTask(new u(P,t,e,n,r,void 0))}scheduleMacroTask(t,e,n,r,o){return this.scheduleTask(new u(A,t,e,n,r,o))}scheduleEventTask(t,e,n,r,o){return this.scheduleTask(new u(R,t,e,n,r,o))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||v).name+"; Execution: "+this.name+")");t._transitionTo(E,b,T);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(S,E),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(k,E),t.runCount=0,t}_updateTaskCount(t,e){const n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(let r=0;r<n.length;r++)n[r]._updateTaskCount(t.type,e)}}a.__symbol__=i;const c={name:"",onHasTask:(t,e,n,r)=>t.hasTask(n,r),onScheduleTask:(t,e,n,r)=>t.scheduleTask(n,r),onInvokeTask:(t,e,n,r,o,i)=>t.invokeTask(n,r,o,i),onCancelTask:(t,e,n,r)=>t.cancelTask(n,r)};class l{constructor(t,e,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=e,this._forkZS=n&&(n&&n.onFork?n:e._forkZS),this._forkDlgt=n&&(n.onFork?e:e._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:e._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:e._interceptZS),this._interceptDlgt=n&&(n.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:e._invokeZS),this._invokeDlgt=n&&(n.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:e._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:e._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:e._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:e._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const r=n&&n.onHasTask;(r||e&&e._hasTaskZS)&&(this._hasTaskZS=r?n:c,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,n.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}fork(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new a(t,e)}intercept(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e}invoke(t,e,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,r,o):e.apply(n,r)}handleError(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)}scheduleTask(t,e){let n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e),n||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=P)throw new Error("Task is missing scheduleFn.");_(e)}return n}invokeTask(t,e,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,r):e.callback.apply(n,r)}cancelTask(t,e){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n}hasTask(t,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(n){this.handleError(t,n)}}_updateTaskCount(t,e){const n=this._taskCounts,r=n[t],o=n[t]=r+e;if(o<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=o||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})}}class u{constructor(e,n,r,o,i,s){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=e,this.source=n,this.data=o,this.scheduleFn=i,this.cancelFn=s,!r)throw new Error("callback is not defined");this.callback=r;const a=this;this.invoke=e===R&&o&&o.useG?u.invokeTask:function(){return u.invokeTask.call(t,a,this,arguments)}}static invokeTask(t,e,n){t||(t=this),I++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==I&&m(),I--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(k,w)}_transitionTo(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${t}', expecting state '${e}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=t,t==k&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const h=i("setTimeout"),f=i("Promise"),p=i("then");let d,g=[],y=!1;function _(e){if(0===I&&0===g.length)if(d||t[f]&&(d=t[f].resolve(0)),d){let t=d[p];t||(t=d.then),t.call(d,m)}else t[h](m,0);e&&g.push(e)}function m(){if(!y){for(y=!0;g.length;){const e=g;g=[];for(let n=0;n<e.length;n++){const r=e[n];try{r.zone.runTask(r,null,null)}catch(t){Z.onUnhandledError(t)}}}Z.microtaskDrainDone(),y=!1}}const v={name:"NO ZONE"},k="notScheduled",w="scheduling",b="scheduled",T="running",E="canceling",S="unknown",P="microTask",A="macroTask",R="eventTask",D={},Z={symbol:i,currentZoneFrame:()=>C,onUnhandledError:z,microtaskDrainDone:z,scheduleMicroTask:_,showUncaughtError:()=>!a[i("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:z,patchMethod:()=>z,bindArguments:()=>[],patchThen:()=>z,patchMacroTask:()=>z,setNativePromise:t=>{t&&"function"==typeof t.resolve&&(d=t.resolve(0))},patchEventPrototype:()=>z,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>z,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>z,wrapWithCurrentZone:()=>z,filterProperties:()=>[],attachOriginToPatched:()=>z,_redefineProperty:()=>z,patchCallbacks:()=>z};let C={parent:null,zone:new a(null,null)},O=null,I=0;function z(){}r("Zone","Zone"),t.Zone=a}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",(t,e,n)=>{const r=Object.getOwnPropertyDescriptor,o=Object.defineProperty,i=n.symbol,s=[],a=!0===t[i("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],c=i("Promise"),l=i("then");n.onUnhandledError=t=>{if(n.showUncaughtError()){const e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},n.microtaskDrainDone=()=>{for(;s.length;){const e=s.shift();try{e.zone.runGuarded(()=>{throw e})}catch(t){h(t)}}};const u=i("unhandledPromiseRejectionHandler");function h(t){n.onUnhandledError(t);try{const n=e[u];"function"==typeof n&&n.call(this,t)}catch(r){}}function f(t){return t&&t.then}function p(t){return t}function d(t){return A.reject(t)}const g=i("state"),y=i("value"),_=i("finally"),m=i("parentPromiseValue"),v=i("parentPromiseState");function k(t,e){return n=>{try{b(t,e,n)}catch(r){b(t,!1,r)}}}const w=i("currentTaskTrace");function b(t,r,i){const c=function(){let t=!1;return function(e){return function(){t||(t=!0,e.apply(null,arguments))}}}();if(t===i)throw new TypeError("Promise resolved with itself");if(null===t[g]){let h=null;try{"object"!=typeof i&&"function"!=typeof i||(h=i&&i.then)}catch(u){return c(()=>{b(t,!1,u)})(),t}if(!1!==r&&i instanceof A&&i.hasOwnProperty(g)&&i.hasOwnProperty(y)&&null!==i[g])E(i),b(t,i[g],i[y]);else if(!1!==r&&"function"==typeof h)try{h.call(i,c(k(t,r)),c(k(t,!1)))}catch(u){c(()=>{b(t,!1,u)})()}else{t[g]=r;const c=t[y];if(t[y]=i,t[_]===_&&!0===r&&(t[g]=t[v],t[y]=t[m]),!1===r&&i instanceof Error){const t=e.currentTask&&e.currentTask.data&&e.currentTask.data.__creationTrace__;t&&o(i,w,{configurable:!0,enumerable:!1,writable:!0,value:t})}for(let e=0;e<c.length;)S(t,c[e++],c[e++],c[e++],c[e++]);if(0==c.length&&0==r){t[g]=0;let r=i;if(!a)try{throw new Error("Uncaught (in promise): "+((l=i)&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l))+(i&&i.stack?"\n"+i.stack:""))}catch(u){r=u}r.rejection=i,r.promise=t,r.zone=e.current,r.task=e.currentTask,s.push(r),n.scheduleMicroTask()}}}var l;return t}const T=i("rejectionHandledHandler");function E(t){if(0===t[g]){try{const n=e[T];n&&"function"==typeof n&&n.call(this,{rejection:t[y],promise:t})}catch(n){}t[g]=!1;for(let e=0;e<s.length;e++)t===s[e].promise&&s.splice(e,1)}}function S(t,e,n,r,o){E(t);const i=t[g],s=i?"function"==typeof r?r:p:"function"==typeof o?o:d;e.scheduleMicroTask("Promise.then",()=>{try{const r=t[y],o=!!n&&_===n[_];o&&(n[m]=r,n[v]=i);const a=e.run(s,void 0,o&&s!==d&&s!==p?[]:[r]);b(n,!0,a)}catch(r){b(n,!1,r)}},n)}const P=function(){};class A{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(t){return b(new this(null),!0,t)}static reject(t){return b(new this(null),!1,t)}static race(t){let e,n,r=new this((t,r)=>{e=t,n=r});function o(t){e(t)}function i(t){n(t)}for(let s of t)f(s)||(s=this.resolve(s)),s.then(o,i);return r}static all(t){return A.allWithCallback(t)}static allSettled(t){return(this&&this.prototype instanceof A?this:A).allWithCallback(t,{thenCallback:t=>({status:"fulfilled",value:t}),errorCallback:t=>({status:"rejected",reason:t})})}static allWithCallback(t,e){let n,r,o=new this((t,e)=>{n=t,r=e}),i=2,s=0;const a=[];for(let l of t){f(l)||(l=this.resolve(l));const t=s;try{l.then(r=>{a[t]=e?e.thenCallback(r):r,i--,0===i&&n(a)},o=>{e?(a[t]=e.errorCallback(o),i--,0===i&&n(a)):r(o)})}catch(c){r(c)}i++,s++}return i-=2,0===i&&n(a),o}constructor(t){const e=this;if(!(e instanceof A))throw new Error("Must be an instanceof Promise.");e[g]=null,e[y]=[];try{t&&t(k(e,!0),k(e,!1))}catch(n){b(e,!1,n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return A}then(t,n){let r=this.constructor[Symbol.species];r&&"function"==typeof r||(r=this.constructor||A);const o=new r(P),i=e.current;return null==this[g]?this[y].push(i,o,t,n):S(this,i,o,t,n),o}catch(t){return this.then(null,t)}finally(t){let n=this.constructor[Symbol.species];n&&"function"==typeof n||(n=A);const r=new n(P);r[_]=_;const o=e.current;return null==this[g]?this[y].push(o,r,t,t):S(this,o,r,t,t),r}}A.resolve=A.resolve,A.reject=A.reject,A.race=A.race,A.all=A.all;const R=t[c]=t.Promise,D=e.__symbol__("ZoneAwarePromise");let Z=r(t,"Promise");Z&&!Z.configurable||(Z&&delete Z.writable,Z&&delete Z.value,Z||(Z={configurable:!0,enumerable:!0}),Z.get=function(){return t[D]?t[D]:t[c]},Z.set=function(e){e===A?t[D]=e:(t[c]=e,e.prototype[l]||O(e),n.setNativePromise(e))},o(t,"Promise",Z)),t.Promise=A;const C=i("thenPatched");function O(t){const e=t.prototype,n=r(e,"then");if(n&&(!1===n.writable||!n.configurable))return;const o=e.then;e[l]=o,t.prototype.then=function(t,e){return new A((t,e)=>{o.call(this,t,e)}).then(t,e)},t[C]=!0}if(n.patchThen=O,R){O(R);const e=t.fetch;"function"==typeof e&&(t[n.symbol("fetch")]=e,t.fetch=(I=e,function(){let t=I.apply(this,arguments);if(t instanceof A)return t;let e=t.constructor;return e[C]||O(e),t}))}var I;return Promise[e.__symbol__("uncaughtPromiseErrors")]=s,A});const t=Object.getOwnPropertyDescriptor,e=Object.defineProperty,n=Object.getPrototypeOf,r=Object.create,o=Array.prototype.slice,i=Zone.__symbol__("addEventListener"),s=Zone.__symbol__("removeEventListener"),a=Zone.__symbol__("");function c(t,e){return Zone.current.wrap(t,e)}function l(t,e,n,r,o){return Zone.current.scheduleMacroTask(t,e,n,r,o)}const u=Zone.__symbol__,h="undefined"!=typeof window,f=h?window:void 0,p=h&&f||"object"==typeof self&&self||global,d=[null];function g(t,e){for(let n=t.length-1;n>=0;n--)"function"==typeof t[n]&&(t[n]=c(t[n],e+"_"+n));return t}function y(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}const _="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,m=!("nw"in p)&&void 0!==p.process&&"[object process]"==={}.toString.call(p.process),v=!m&&!_&&!(!h||!f.HTMLElement),k=void 0!==p.process&&"[object process]"==={}.toString.call(p.process)&&!_&&!(!h||!f.HTMLElement),w={},b=function(t){if(!(t=t||p.event))return;let e=w[t.type];e||(e=w[t.type]=u("ON_PROPERTY"+t.type));const n=this||t.target||p,r=n[e];let o;if(v&&n===f&&"error"===t.type){const e=t;o=r&&r.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===o&&t.preventDefault()}else o=r&&r.apply(this,arguments),null==o||o||t.preventDefault();return o};function T(n,r,o){let i=t(n,r);if(!i&&o&&t(o,r)&&(i={enumerable:!0,configurable:!0}),!i||!i.configurable)return;const s=u("on"+r+"patched");if(n.hasOwnProperty(s)&&n[s])return;delete i.writable,delete i.value;const a=i.get,c=i.set,l=r.substr(2);let h=w[l];h||(h=w[l]=u("ON_PROPERTY"+l)),i.set=function(t){let e=this;e||n!==p||(e=p),e&&(e[h]&&e.removeEventListener(l,b),c&&c.apply(e,d),"function"==typeof t?(e[h]=t,e.addEventListener(l,b,!1)):e[h]=null)},i.get=function(){let t=this;if(t||n!==p||(t=p),!t)return null;const e=t[h];if(e)return e;if(a){let e=a&&a.call(this);if(e)return i.set.call(this,e),"function"==typeof t.removeAttribute&&t.removeAttribute(r),e}return null},e(n,r,i),n[s]=!0}function E(t,e,n){if(e)for(let r=0;r<e.length;r++)T(t,"on"+e[r],n);else{const e=[];for(const n in t)"on"==n.substr(0,2)&&e.push(n);for(let r=0;r<e.length;r++)T(t,e[r],n)}}const S=u("originalInstance");function P(t){const n=p[t];if(!n)return;p[u(t)]=n,p[t]=function(){const e=g(arguments,t);switch(e.length){case 0:this[S]=new n;break;case 1:this[S]=new n(e[0]);break;case 2:this[S]=new n(e[0],e[1]);break;case 3:this[S]=new n(e[0],e[1],e[2]);break;case 4:this[S]=new n(e[0],e[1],e[2],e[3]);break;default:throw new Error("Arg list too long.")}},D(p[t],n);const r=new n((function(){}));let o;for(o in r)"XMLHttpRequest"===t&&"responseBlob"===o||function(n){"function"==typeof r[n]?p[t].prototype[n]=function(){return this[S][n].apply(this[S],arguments)}:e(p[t].prototype,n,{set:function(e){"function"==typeof e?(this[S][n]=c(e,t+"."+n),D(this[S][n],e)):this[S][n]=e},get:function(){return this[S][n]}})}(o);for(o in n)"prototype"!==o&&n.hasOwnProperty(o)&&(p[t][o]=n[o])}function A(e,r,o){let i=e;for(;i&&!i.hasOwnProperty(r);)i=n(i);!i&&e[r]&&(i=e);const s=u(r);let a=null;if(i&&!(a=i[s])&&(a=i[s]=i[r],y(i&&t(i,r)))){const t=o(a,s,r);i[r]=function(){return t(this,arguments)},D(i[r],a)}return a}function R(t,e,n){let r=null;function o(t){const e=t.data;return e.args[e.cbIdx]=function(){t.invoke.apply(this,arguments)},r.apply(e.target,e.args),t}r=A(t,e,t=>function(e,r){const i=n(e,r);return i.cbIdx>=0&&"function"==typeof r[i.cbIdx]?l(i.name,r[i.cbIdx],i,o):t.apply(e,r)})}function D(t,e){t[u("OriginalDelegate")]=e}let Z=!1,C=!1;function O(){try{const t=f.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch(t){}return!1}function I(){if(Z)return C;Z=!0;try{const t=f.navigator.userAgent;-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(C=!0)}catch(t){}return C}Zone.__load_patch("toString",t=>{const e=Function.prototype.toString,n=u("OriginalDelegate"),r=u("Promise"),o=u("Error"),i=function(){if("function"==typeof this){const i=this[n];if(i)return"function"==typeof i?e.call(i):Object.prototype.toString.call(i);if(this===Promise){const n=t[r];if(n)return e.call(n)}if(this===Error){const n=t[o];if(n)return e.call(n)}}return e.call(this)};i[n]=e,Function.prototype.toString=i;const s=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":s.call(this)}});let z=!1;if("undefined"!=typeof window)try{const t=Object.defineProperty({},"passive",{get:function(){z=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(at){z=!1}const B={useG:!0},L={},M={},j=new RegExp("^"+a+"(\\w+)(true|false)$"),U=u("propagationStopped");function x(t,e){const n=(e?e(t):t)+"false",r=(e?e(t):t)+"true",o=a+n,i=a+r;L[t]={},L[t].false=o,L[t].true=i}function N(t,e,r){const o=r&&r.add||"addEventListener",i=r&&r.rm||"removeEventListener",s=r&&r.listeners||"eventListeners",c=r&&r.rmAll||"removeAllListeners",l=u(o),h="."+o+":",f=function(t,e,n){if(t.isRemoved)return;const r=t.callback;"object"==typeof r&&r.handleEvent&&(t.callback=t=>r.handleEvent(t),t.originalDelegate=r),t.invoke(t,e,[n]);const o=t.options;o&&"object"==typeof o&&o.once&&e[i].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,o)},p=function(e){if(!(e=e||t.event))return;const n=this||e.target||t,r=n[L[e.type].false];if(r)if(1===r.length)f(r[0],n,e);else{const t=r.slice();for(let r=0;r<t.length&&(!e||!0!==e[U]);r++)f(t[r],n,e)}},d=function(e){if(!(e=e||t.event))return;const n=this||e.target||t,r=n[L[e.type].true];if(r)if(1===r.length)f(r[0],n,e);else{const t=r.slice();for(let r=0;r<t.length&&(!e||!0!==e[U]);r++)f(t[r],n,e)}};function g(e,r){if(!e)return!1;let f=!0;r&&void 0!==r.useG&&(f=r.useG);const g=r&&r.vh;let y=!0;r&&void 0!==r.chkDup&&(y=r.chkDup);let _=!1;r&&void 0!==r.rt&&(_=r.rt);let v=e;for(;v&&!v.hasOwnProperty(o);)v=n(v);if(!v&&e[o]&&(v=e),!v)return!1;if(v[l])return!1;const k=r&&r.eventNameToString,w={},b=v[l]=v[o],T=v[u(i)]=v[i],E=v[u(s)]=v[s],S=v[u(c)]=v[c];let P;function A(t,e){return!z&&"object"==typeof t&&t?!!t.capture:z&&e?"boolean"==typeof t?{capture:t,passive:!0}:t?"object"==typeof t&&!1!==t.passive?Object.assign(Object.assign({},t),{passive:!0}):t:{passive:!0}:t}r&&r.prepend&&(P=v[u(r.prepend)]=v[r.prepend]);const R=f?function(t){if(!w.isExisting)return b.call(w.target,w.eventName,w.capture?d:p,w.options)}:function(t){return b.call(w.target,w.eventName,t.invoke,w.options)},Z=f?function(t){if(!t.isRemoved){const e=L[t.eventName];let n;e&&(n=e[t.capture?"true":"false"]);const r=n&&t.target[n];if(r)for(let o=0;o<r.length;o++)if(r[o]===t){r.splice(o,1),t.isRemoved=!0,0===r.length&&(t.allRemoved=!0,t.target[n]=null);break}}if(t.allRemoved)return T.call(t.target,t.eventName,t.capture?d:p,t.options)}:function(t){return T.call(t.target,t.eventName,t.invoke,t.options)},C=r&&r.diff?r.diff:function(t,e){const n=typeof e;return"function"===n&&t.callback===e||"object"===n&&t.originalDelegate===e},O=Zone[u("BLACK_LISTED_EVENTS")],I=t[u("PASSIVE_EVENTS")],U=function(e,n,o,i,s=!1,a=!1){return function(){const c=this||t;let l=arguments[0];r&&r.transferEventName&&(l=r.transferEventName(l));let u=arguments[1];if(!u)return e.apply(this,arguments);if(m&&"uncaughtException"===l)return e.apply(this,arguments);let h=!1;if("function"!=typeof u){if(!u.handleEvent)return e.apply(this,arguments);h=!0}if(g&&!g(e,u,c,arguments))return;const p=z&&!!I&&-1!==I.indexOf(l),d=A(arguments[2],p);if(O)for(let t=0;t<O.length;t++)if(l===O[t])return p?e.call(c,l,u,d):e.apply(this,arguments);const _=!!d&&("boolean"==typeof d||d.capture),v=!(!d||"object"!=typeof d)&&d.once,b=Zone.current;let T=L[l];T||(x(l,k),T=L[l]);const E=T[_?"true":"false"];let S,P=c[E],R=!1;if(P){if(R=!0,y)for(let t=0;t<P.length;t++)if(C(P[t],u))return}else P=c[E]=[];const D=c.constructor.name,Z=M[D];Z&&(S=Z[l]),S||(S=D+n+(k?k(l):l)),w.options=d,v&&(w.options.once=!1),w.target=c,w.capture=_,w.eventName=l,w.isExisting=R;const j=f?B:void 0;j&&(j.taskData=w);const U=b.scheduleEventTask(S,u,j,o,i);return w.target=null,j&&(j.taskData=null),v&&(d.once=!0),(z||"boolean"!=typeof U.options)&&(U.options=d),U.target=c,U.capture=_,U.eventName=l,h&&(U.originalDelegate=u),a?P.unshift(U):P.push(U),s?c:void 0}};return v[o]=U(b,h,R,Z,_),P&&(v.prependListener=U(P,".prependListener:",(function(t){return P.call(w.target,w.eventName,t.invoke,w.options)}),Z,_,!0)),v[i]=function(){const e=this||t;let n=arguments[0];r&&r.transferEventName&&(n=r.transferEventName(n));const o=arguments[2],i=!!o&&("boolean"==typeof o||o.capture),s=arguments[1];if(!s)return T.apply(this,arguments);if(g&&!g(T,s,e,arguments))return;const c=L[n];let l;c&&(l=c[i?"true":"false"]);const u=l&&e[l];if(u)for(let t=0;t<u.length;t++){const r=u[t];if(C(r,s))return u.splice(t,1),r.isRemoved=!0,0===u.length&&(r.allRemoved=!0,e[l]=null,"string"==typeof n)&&(e[a+"ON_PROPERTY"+n]=null),r.zone.cancelTask(r),_?e:void 0}return T.apply(this,arguments)},v[s]=function(){const e=this||t;let n=arguments[0];r&&r.transferEventName&&(n=r.transferEventName(n));const o=[],i=Y(e,k?k(n):n);for(let t=0;t<i.length;t++){const e=i[t];o.push(e.originalDelegate?e.originalDelegate:e.callback)}return o},v[c]=function(){const e=this||t;let n=arguments[0];if(n){r&&r.transferEventName&&(n=r.transferEventName(n));const t=L[n];if(t){const r=e[t.false],o=e[t.true];if(r){const t=r.slice();for(let e=0;e<t.length;e++){const r=t[e];this[i].call(this,n,r.originalDelegate?r.originalDelegate:r.callback,r.options)}}if(o){const t=o.slice();for(let e=0;e<t.length;e++){const r=t[e];this[i].call(this,n,r.originalDelegate?r.originalDelegate:r.callback,r.options)}}}}else{const t=Object.keys(e);for(let e=0;e<t.length;e++){const n=j.exec(t[e]);let r=n&&n[1];r&&"removeListener"!==r&&this[c].call(this,r)}this[c].call(this,"removeListener")}if(_)return this},D(v[o],b),D(v[i],T),S&&D(v[c],S),E&&D(v[s],E),!0}let y=[];for(let n=0;n<e.length;n++)y[n]=g(e[n],r);return y}function Y(t,e){if(!e){const n=[];for(let r in t){const o=j.exec(r);let i=o&&o[1];if(i&&(!e||i===e)){const e=t[r];if(e)for(let t=0;t<e.length;t++)n.push(e[t])}}return n}let n=L[e];n||(x(e),n=L[e]);const r=t[n.false],o=t[n.true];return r?o?r.concat(o):r.slice():o?o.slice():[]}function F(t,e){const n=t.Event;n&&n.prototype&&e.patchMethod(n.prototype,"stopImmediatePropagation",t=>function(e,n){e[U]=!0,t&&t.apply(e,n)})}function H(t,e,n,r,o){const i=Zone.__symbol__(r);if(e[i])return;const s=e[i]=e[r];e[r]=function(i,a,c){return a&&a.prototype&&o.forEach((function(e){const o=`${n}.${r}::`+e,i=a.prototype;if(i.hasOwnProperty(e)){const n=t.ObjectGetOwnPropertyDescriptor(i,e);n&&n.value?(n.value=t.wrapWithCurrentZone(n.value,o),t._redefineProperty(a.prototype,e,n)):i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],o))}else i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],o))})),s.call(e,i,a,c)},t.attachOriginToPatched(e[r],s)}const G=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],q=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],W=["load"],V=["blur","error","focus","load","resize","scroll","messageerror"],X=["bounce","finish","start"],$=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],J=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],K=["close","error","open","message"],Q=["error","message"],tt=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],G,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function et(t,e,n){if(!n||0===n.length)return e;const r=n.filter(e=>e.target===t);if(!r||0===r.length)return e;const o=r[0].ignoreProperties;return e.filter(t=>-1===o.indexOf(t))}function nt(t,e,n,r){t&&E(t,et(t,e,n),r)}function rt(t,e){if(m&&!k)return;if(Zone[t.symbol("patchEvents")])return;const r="undefined"!=typeof WebSocket,o=e.__Zone_ignore_on_properties;if(v){const t=window,e=O?[{target:t,ignoreProperties:["error"]}]:[];nt(t,tt.concat(["messageerror"]),o?o.concat(e):o,n(t)),nt(Document.prototype,tt,o),void 0!==t.SVGElement&&nt(t.SVGElement.prototype,tt,o),nt(Element.prototype,tt,o),nt(HTMLElement.prototype,tt,o),nt(HTMLMediaElement.prototype,q,o),nt(HTMLFrameSetElement.prototype,G.concat(V),o),nt(HTMLBodyElement.prototype,G.concat(V),o),nt(HTMLFrameElement.prototype,W,o),nt(HTMLIFrameElement.prototype,W,o);const r=t.HTMLMarqueeElement;r&&nt(r.prototype,X,o);const i=t.Worker;i&&nt(i.prototype,Q,o)}const i=e.XMLHttpRequest;i&&nt(i.prototype,$,o);const s=e.XMLHttpRequestEventTarget;s&&nt(s&&s.prototype,$,o),"undefined"!=typeof IDBIndex&&(nt(IDBIndex.prototype,J,o),nt(IDBRequest.prototype,J,o),nt(IDBOpenDBRequest.prototype,J,o),nt(IDBDatabase.prototype,J,o),nt(IDBTransaction.prototype,J,o),nt(IDBCursor.prototype,J,o)),r&&nt(WebSocket.prototype,K,o)}Zone.__load_patch("util",(n,i,s)=>{s.patchOnProperties=E,s.patchMethod=A,s.bindArguments=g,s.patchMacroTask=R;const l=i.__symbol__("BLACK_LISTED_EVENTS"),u=i.__symbol__("UNPATCHED_EVENTS");n[u]&&(n[l]=n[u]),n[l]&&(i[l]=i[u]=n[l]),s.patchEventPrototype=F,s.patchEventTarget=N,s.isIEOrEdge=I,s.ObjectDefineProperty=e,s.ObjectGetOwnPropertyDescriptor=t,s.ObjectCreate=r,s.ArraySlice=o,s.patchClass=P,s.wrapWithCurrentZone=c,s.filterProperties=et,s.attachOriginToPatched=D,s._redefineProperty=Object.defineProperty,s.patchCallbacks=H,s.getGlobalObjects=()=>({globalSources:M,zoneSymbolEventNames:L,eventNames:tt,isBrowser:v,isMix:k,isNode:m,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:a,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"})});const ot=u("zoneTask");function it(t,e,n,r){let o=null,i=null;n+=r;const s={};function a(e){const n=e.data;return n.args[0]=function(){try{e.invoke.apply(this,arguments)}finally{e.data&&e.data.isPeriodic||("number"==typeof n.handleId?delete s[n.handleId]:n.handleId&&(n.handleId[ot]=null))}},n.handleId=o.apply(t,n.args),e}function c(t){return i(t.data.handleId)}o=A(t,e+=r,n=>function(o,i){if("function"==typeof i[0]){const t=l(e,i[0],{isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},a,c);if(!t)return t;const n=t.data.handleId;return"number"==typeof n?s[n]=t:n&&(n[ot]=t),n&&n.ref&&n.unref&&"function"==typeof n.ref&&"function"==typeof n.unref&&(t.ref=n.ref.bind(n),t.unref=n.unref.bind(n)),"number"==typeof n||n?n:t}return n.apply(t,i)}),i=A(t,n,e=>function(n,r){const o=r[0];let i;"number"==typeof o?i=s[o]:(i=o&&o[ot],i||(i=o)),i&&"string"==typeof i.type?"notScheduled"!==i.state&&(i.cancelFn&&i.data.isPeriodic||0===i.runCount)&&("number"==typeof o?delete s[o]:o&&(o[ot]=null),i.zone.cancelTask(i)):e.apply(t,r)})}function st(t,e){if(Zone[e.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:r,TRUE_STR:o,FALSE_STR:i,ZONE_SYMBOL_PREFIX:s}=e.getGlobalObjects();for(let c=0;c<n.length;c++){const t=n[c],e=s+(t+i),a=s+(t+o);r[t]={},r[t][i]=e,r[t][o]=a}const a=t.EventTarget;return a&&a.prototype?(e.patchEventTarget(t,[a&&a.prototype]),!0):void 0}Zone.__load_patch("legacy",t=>{const e=t[Zone.__symbol__("legacyPatch")];e&&e()}),Zone.__load_patch("timers",t=>{it(t,"set","clear","Timeout"),it(t,"set","clear","Interval"),it(t,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",t=>{it(t,"request","cancel","AnimationFrame"),it(t,"mozRequest","mozCancel","AnimationFrame"),it(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(t,e)=>{const n=["alert","prompt","confirm"];for(let r=0;r<n.length;r++)A(t,n[r],(n,r,o)=>function(r,i){return e.current.run(n,t,i,o)})}),Zone.__load_patch("EventTarget",(t,e,n)=>{!function(t,e){e.patchEventPrototype(t,e)}(t,n),st(t,n);const r=t.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(t,[r.prototype]),P("MutationObserver"),P("WebKitMutationObserver"),P("IntersectionObserver"),P("FileReader")}),Zone.__load_patch("on_property",(t,e,n)=>{rt(n,t)}),Zone.__load_patch("customElements",(t,e,n)=>{!function(t,e){const{isBrowser:n,isMix:r}=e.getGlobalObjects();(n||r)&&t.customElements&&"customElements"in t&&e.patchCallbacks(e,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,n)}),Zone.__load_patch("XHR",(t,e)=>{!function(t){const f=t.XMLHttpRequest;if(!f)return;const p=f.prototype;let d=p[i],g=p[s];if(!d){const e=t.XMLHttpRequestEventTarget;if(e){const t=e.prototype;d=t[i],g=t[s]}}function y(t){const r=t.data,c=r.target;c[a]=!1,c[h]=!1;const l=c[o];d||(d=c[i],g=c[s]),l&&g.call(c,"readystatechange",l);const u=c[o]=()=>{if(c.readyState===c.DONE)if(!r.aborted&&c[a]&&"scheduled"===t.state){const n=c[e.__symbol__("loadfalse")];if(n&&n.length>0){const o=t.invoke;t.invoke=function(){const n=c[e.__symbol__("loadfalse")];for(let e=0;e<n.length;e++)n[e]===t&&n.splice(e,1);r.aborted||"scheduled"!==t.state||o.call(t)},n.push(t)}else t.invoke()}else r.aborted||!1!==c[a]||(c[h]=!0)};return d.call(c,"readystatechange",u),c[n]||(c[n]=t),b.apply(c,r.args),c[a]=!0,t}function _(){}function m(t){const e=t.data;return e.aborted=!0,T.apply(e.target,e.args)}const v=A(p,"open",()=>function(t,e){return t[r]=0==e[2],t[c]=e[1],v.apply(t,e)}),k=u("fetchTaskAborting"),w=u("fetchTaskScheduling"),b=A(p,"send",()=>function(t,n){if(!0===e.current[w])return b.apply(t,n);if(t[r])return b.apply(t,n);{const e={target:t,url:t[c],isPeriodic:!1,args:n,aborted:!1},r=l("XMLHttpRequest.send",_,e,y,m);t&&!0===t[h]&&!e.aborted&&"scheduled"===r.state&&r.invoke()}}),T=A(p,"abort",()=>function(t,r){const o=t[n];if(o&&"string"==typeof o.type){if(null==o.cancelFn||o.data&&o.data.aborted)return;o.zone.cancelTask(o)}else if(!0===e.current[k])return T.apply(t,r)})}(t);const n=u("xhrTask"),r=u("xhrSync"),o=u("xhrListener"),a=u("xhrScheduled"),c=u("xhrURL"),h=u("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function(e,n){const r=e.constructor.name;for(let o=0;o<n.length;o++){const i=n[o],s=e[i];if(s){if(!y(t(e,i)))continue;e[i]=(t=>{const e=function(){return t.apply(this,g(arguments,r+"."+i))};return D(e,t),e})(s)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(t,e)=>{function n(e){return function(n){Y(t,e).forEach(r=>{const o=t.PromiseRejectionEvent;if(o){const t=new o(e,{promise:n.promise,reason:n.rejection});r.invoke(t)}})}}t.PromiseRejectionEvent&&(e[u("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),e[u("rejectionHandledHandler")]=n("rejectionhandled"))})})?r.call(e,n,e,t):r)||(t.exports=o)},tjlA:function(t,e,n){"use strict";var r=n("H7XF"),o=n("kVK+"),i=n("49sm");function s(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(t,e){if(s()<e)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=c.prototype:(null===t&&(t=new c(e)),t.length=e),t}function c(t,e,n){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return h(this,t)}return l(this,t,e,n)}function l(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r),c.TYPED_ARRAY_SUPPORT?(t=e).__proto__=c.prototype:t=f(t,e),t}(t,e,n,r):"string"==typeof e?function(t,e,n){if("string"==typeof n&&""!==n||(n="utf8"),!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|d(e,n),o=(t=a(t,r)).write(e,n);return o!==r&&(t=t.slice(0,o)),t}(t,e,n):function(t,e){if(c.isBuffer(e)){var n=0|p(e.length);return 0===(t=a(t,n)).length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(r=e.length)!=r?a(t,0):f(t,e);if("Buffer"===e.type&&i(e.data))return f(t,e.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function u(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function h(t,e){if(u(e),t=a(t,e<0?0:0|p(e)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function f(t,e){var n=e.length<0?0:0|p(e.length);t=a(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function p(t){if(t>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function d(t,e){if(c.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return U(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return x(t).length;default:if(r)return U(t).length;e=(""+e).toLowerCase(),r=!0}}function g(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return D(this,e,n);case"utf8":case"utf-8":return P(this,e,n);case"ascii":return A(this,e,n);case"latin1":case"binary":return R(this,e,n);case"base64":return S(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Z(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function y(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function _(t,e,n,r,o){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof e&&(e=c.from(e,r)),c.isBuffer(e))return 0===e.length?-1:m(t,e,n,r,o);if("number"==typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):m(t,[e],n,r,o);throw new TypeError("val must be string, number or Buffer")}function m(t,e,n,r,o){var i,s=1,a=t.length,c=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;s=2,a/=2,c/=2,n/=2}function l(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(o){var u=-1;for(i=n;i<a;i++)if(l(t,i)===l(e,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===c)return u*s}else-1!==u&&(i-=i-u),u=-1}else for(n+c>a&&(n=a-c),i=n;i>=0;i--){for(var h=!0,f=0;f<c;f++)if(l(t,i+f)!==l(e,f)){h=!1;break}if(h)return i}return-1}function v(t,e,n,r){n=Number(n)||0;var o=t.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=e.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var s=0;s<r;++s){var a=parseInt(e.substr(2*s,2),16);if(isNaN(a))return s;t[n+s]=a}return s}function k(t,e,n,r){return N(U(e,t.length-n),t,n,r)}function w(t,e,n,r){return N(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function b(t,e,n,r){return w(t,e,n,r)}function T(t,e,n,r){return N(x(e),t,n,r)}function E(t,e,n,r){return N(function(t,e){for(var n,r,o=[],i=0;i<t.length&&!((e-=2)<0);++i)r=(n=t.charCodeAt(i))>>8,o.push(n%256),o.push(r);return o}(e,t.length-n),t,n,r)}function S(t,e,n){return r.fromByteArray(0===e&&n===t.length?t:t.slice(e,n))}function P(t,e,n){n=Math.min(t.length,n);for(var r=[],o=e;o<n;){var i,s,a,c,l=t[o],u=null,h=l>239?4:l>223?3:l>191?2:1;if(o+h<=n)switch(h){case 1:l<128&&(u=l);break;case 2:128==(192&(i=t[o+1]))&&(c=(31&l)<<6|63&i)>127&&(u=c);break;case 3:s=t[o+2],128==(192&(i=t[o+1]))&&128==(192&s)&&(c=(15&l)<<12|(63&i)<<6|63&s)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:s=t[o+2],a=t[o+3],128==(192&(i=t[o+1]))&&128==(192&s)&&128==(192&a)&&(c=(15&l)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&c<1114112&&(u=c)}null===u?(u=65533,h=1):u>65535&&(r.push((u-=65536)>>>10&1023|55296),u=56320|1023&u),r.push(u),o+=h}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);for(var n="",r=0;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=4096));return n}(r)}function A(t,e,n){var r="";n=Math.min(t.length,n);for(var o=e;o<n;++o)r+=String.fromCharCode(127&t[o]);return r}function R(t,e,n){var r="";n=Math.min(t.length,n);for(var o=e;o<n;++o)r+=String.fromCharCode(t[o]);return r}function D(t,e,n){var r,o=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>o)&&(n=o);for(var i="",s=e;s<n;++s)i+=(r=t[s])<16?"0"+r.toString(16):r.toString(16);return i}function Z(t,e,n){for(var r=t.slice(e,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function C(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function O(t,e,n,r,o,i){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function I(t,e,n,r){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-n,2);o<i;++o)t[n+o]=(e&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function z(t,e,n,r){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-n,4);o<i;++o)t[n+o]=e>>>8*(r?o:3-o)&255}function B(t,e,n,r,o,i){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(t,e,n,r,i){return i||B(t,0,n,4),o.write(t,e,n,r,23,4),n+4}function M(t,e,n,r,i){return i||B(t,0,n,8),o.write(t,e,n,r,52,8),n+8}e.Buffer=c,e.SlowBuffer=function(t){return+t!=t&&(t=0),c.alloc(+t)},e.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==global.TYPED_ARRAY_SUPPORT?global.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}(),e.kMaxLength=s(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,n){return l(null,t,e,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,n){return function(t,e,n,r){return u(e),e<=0?a(null,e):void 0!==n?"string"==typeof r?a(null,e).fill(n,r):a(null,e).fill(n):a(null,e)}(0,t,e,n)},c.allocUnsafe=function(t){return h(null,t)},c.allocUnsafeSlow=function(t){return h(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,o=0,i=Math.min(n,r);o<i;++o)if(t[o]!==e[o]){n=t[o],r=e[o];break}return n<r?-1:r<n?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,e){if(!i(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=c.allocUnsafe(e),o=0;for(n=0;n<t.length;++n){var s=t[n];if(!c.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(r,o),o+=s.length}return r},c.byteLength=d,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)y(this,e,e+1);return this},c.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},c.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},c.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?P(this,0,t):g.apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},c.prototype.compare=function(t,e,n,r,o){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),e<0||n>t.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&e>=n)return 0;if(r>=o)return-1;if(e>=n)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(r>>>=0),s=(n>>>=0)-(e>>>=0),a=Math.min(i,s),l=this.slice(r,o),u=t.slice(e,n),h=0;h<a;++h)if(l[h]!==u[h]){i=l[h],s=u[h];break}return i<s?-1:s<i?1:0},c.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},c.prototype.indexOf=function(t,e,n){return _(this,t,e,n,!0)},c.prototype.lastIndexOf=function(t,e,n){return _(this,t,e,n,!1)},c.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-e;if((void 0===n||n>o)&&(n=o),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return v(this,t,e,n);case"utf8":case"utf-8":return k(this,t,e,n);case"ascii":return w(this,t,e,n);case"latin1":case"binary":return b(this,t,e,n);case"base64":return T(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,t,e,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},c.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t),c.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=c.prototype;else{var o=e-t;n=new c(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+t]}return n},c.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||C(t,e,this.length);for(var r=this[t],o=1,i=0;++i<e&&(o*=256);)r+=this[t+i]*o;return r},c.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||C(t,e,this.length);for(var r=this[t+--e],o=1;e>0&&(o*=256);)r+=this[t+--e]*o;return r},c.prototype.readUInt8=function(t,e){return e||C(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||C(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||C(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||C(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||C(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||C(t,e,this.length);for(var r=this[t],o=1,i=0;++i<e&&(o*=256);)r+=this[t+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*e)),r},c.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||C(t,e,this.length);for(var r=e,o=1,i=this[t+--r];r>0&&(o*=256);)i+=this[t+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},c.prototype.readInt8=function(t,e){return e||C(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||C(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){e||C(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return e||C(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||C(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||C(t,4,this.length),o.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||C(t,4,this.length),o.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||C(t,8,this.length),o.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||C(t,8,this.length),o.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,n,r){t=+t,e|=0,n|=0,r||O(this,t,e,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[e]=255&t;++i<n&&(o*=256);)this[e+i]=t/o&255;return e+n},c.prototype.writeUIntBE=function(t,e,n,r){t=+t,e|=0,n|=0,r||O(this,t,e,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+n},c.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):I(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):I(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):z(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):z(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);O(this,t,e,n,o-1,-o)}var i=0,s=1,a=0;for(this[e]=255&t;++i<n&&(s*=256);)t<0&&0===a&&0!==this[e+i-1]&&(a=1),this[e+i]=(t/s>>0)-a&255;return e+n},c.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);O(this,t,e,n,o-1,-o)}var i=n-1,s=1,a=0;for(this[e+i]=255&t;--i>=0&&(s*=256);)t<0&&0===a&&0!==this[e+i+1]&&(a=1),this[e+i]=(t/s>>0)-a&255;return e+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):I(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):I(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):z(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||O(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):z(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,n){return L(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return L(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return M(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return M(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var o,i=r-n;if(this===t&&n<e&&e<r)for(o=i-1;o>=0;--o)t[o+e]=this[o+n];else if(i<1e3||!c.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)t[o+e]=this[o+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+i),e);return i},c.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var i;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(i=e;i<n;++i)this[i]=t;else{var s=c.isBuffer(t)?t:U(new c(t,r).toString()),a=s.length;for(i=0;i<n-e;++i)this[i+e]=s[i%a]}return this};var j=/[^+\/0-9A-Za-z-_]/g;function U(t,e){var n;e=e||1/0;for(var r=t.length,o=null,i=[],s=0;s<r;++s){if((n=t.charCodeAt(s))>55295&&n<57344){if(!o){if(n>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(s+1===r){(e-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(e-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((e-=1)<0)break;i.push(n)}else if(n<2048){if((e-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function x(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(j,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function N(t,e,n,r){for(var o=0;o<r&&!(o+n>=e.length||o>=t.length);++o)e[o+n]=t[o];return o}}},[[2,0]]]);