mirror of https://github.com/ghostfolio/ghostfolio
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.
7 lines
2.8 KiB
7 lines
2.8 KiB
'use strict';
|
|
/**
|
|
* @license Angular
|
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
* License: MIT
|
|
*/
|
|
import{Observable as c,Subscriber as s,Subscription as j}from"rxjs";function a(h){h.__load_patch("rxjs",(x,n,b)=>{let _=n.__symbol__,f="rxjs.Subscriber.next",z="rxjs.Subscriber.error",y="rxjs.Subscriber.complete",l=Object.defineProperties,g=function(){let r=c.prototype,u=_("_subscribe"),i=r[u]=r._subscribe;l(c.prototype,{_zone:{value:null,writable:!0,configurable:!0},_zoneSource:{value:null,writable:!0,configurable:!0},_zoneSubscribe:{value:null,writable:!0,configurable:!0},source:{configurable:!0,get:function(){return this._zoneSource},set:function(t){this._zone=n.current,this._zoneSource=t}},_subscribe:{configurable:!0,get:function(){if(this._zoneSubscribe)return this._zoneSubscribe;if(this.constructor===c)return i;let t=Object.getPrototypeOf(this);return t&&t._subscribe},set:function(t){this._zone=n.current,t?this._zoneSubscribe=function(){if(this._zone&&this._zone!==n.current){let e=this._zone.run(t,this,arguments);if(typeof e=="function"){let o=this._zone;return function(){return o!==n.current?o.run(e,this,arguments):e.apply(this,arguments)}}else return e}else return t.apply(this,arguments)}:this._zoneSubscribe=t}},subjectFactory:{get:function(){return this._zoneSubjectFactory},set:function(t){let e=this._zone;this._zoneSubjectFactory=function(){return e&&e!==n.current?e.run(t,this,arguments):t.apply(this,arguments)}}}})};b.patchMethod(c.prototype,"lift",r=>(u,i)=>{let t=r.apply(u,i);return t.operator&&(t.operator._zone=n.current,b.patchMethod(t.operator,"call",e=>(o,p)=>o._zone&&o._zone!==n.current?o._zone.run(e,o,p):e.apply(o,p))),t});let m=function(){l(j.prototype,{_zone:{value:null,writable:!0,configurable:!0},_zoneUnsubscribe:{value:null,writable:!0,configurable:!0},_unsubscribe:{get:function(){if(this._zoneUnsubscribe||this._zoneUnsubscribeCleared)return this._zoneUnsubscribe;let r=Object.getPrototypeOf(this);return r&&r._unsubscribe},set:function(r){this._zone=n.current,r?(this._zoneUnsubscribeCleared=!1,this._zoneUnsubscribe=function(){return this._zone&&this._zone!==n.current?this._zone.run(r,this,arguments):r.apply(this,arguments)}):(this._zoneUnsubscribe=r,this._zoneUnsubscribeCleared=!0)}}})},S=function(){let r=s.prototype.next,u=s.prototype.error,i=s.prototype.complete;Object.defineProperty(s.prototype,"destination",{configurable:!0,get:function(){return this._zoneDestination},set:function(t){this._zone=n.current,this._zoneDestination=t}}),s.prototype.next=function(){let t=n.current,e=this._zone;return e&&e!==t?e.run(r,this,arguments,f):r.apply(this,arguments)},s.prototype.error=function(){let t=n.current,e=this._zone;return e&&e!==t?e.run(u,this,arguments,z):u.apply(this,arguments)},s.prototype.complete=function(){let t=n.current,e=this._zone;return e&&e!==t?e.run(i,this,arguments,y):i.call(this)}};g(),m(),S()})}a(Zone);
|
|
|