vendor: 4,505 bytes, line 1
1function d(r){return typeof r=="function"}function M(r){let t=r(o=>{Error.call(o),o.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Se=M(r=>function(t){r(this),this.message=t?"".concat(t.length," errors occurred during unsubscription:\n").concat(t.map((o,n)=>"".concat(n+1,") ").concat(o.toString())).join("\n ")):"",this.name="UnsubscriptionError",this.errors=t});function C(r,e){if(r){let t=r.indexOf(e);0<=t&&r.splice(t,1)}}var I=class r{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let i of t)i.remove(this);else t.remove(this);let{initialTeardown:o}=this;if(d(o))try{o()}catch(i){e=i instanceof Se?i.errors:[i]}let{_finalizers:n}=this;if(n){this._finalizers=null;for(let i of n)try{Hr(i)}catch(s){e=e!=null?e:[],s instanceof Se?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Se(e)}}add(e){var t;if(e&&e!==this)if(this.closed)Hr(e);else{if(e instanceof r){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(e)}}_hasParent(e){let{_parentage:t}=this;return t===e||Array.isArray(t)&&t.includes(e)}_addParent(e){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e}_removeParent(e){let{_parentage:t}=this;t===e?this._parentage=null:Array.isArray(t)&&C(t,e)}remove(e){let{_finalizers:t}=this;t&&C(t,e),e instanceof r&&e._removeParent(this)}};I.EMPTY=(()=>{let r=new I;return r.closed=!0,r})();var cr=I.EMPTY;function Re(r){return r instanceof I||r&&"closed"in r&&d(r.remove)&&d(r.add)&&d(r.unsubscribe)}function Hr(r){d(r)?r():r.unsubscribe()}var N={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var xe={setTimeout(r,e,...t){let{delegate:o}=xe;return o!=null&&o.setTimeout?o.setTimeout(r,e,...t):setTimeout(r,e,...t)},clearTimeout(r){let{delegate:e}=xe;return((e==null?void 0:e.clearTimeout)||clearTimeout)(r)},delegate:void 0};function Me(r){xe.setTimeout(()=>{let{onUnhandledError:e}=N;if(e)e(r);else throw r})}function S(){}var Qr=pr("C",void 0,void 0);function Xr(r){return pr("E",void 0,r)}function et(r){return pr("N",r,void 0)}function pr(r,e,t){return{kind:r,value:e,error:t}}var te=null;function be(r){if(N.useDeprecatedSynchronousErrorHandling){let e=!te;if(e&&(te={errorThrown:!1,error:null}),r(),e){let{errorThrown:t,error:o}=te;if(te=null,t)throw o}}else r()}function rt(r){N.useDeprecatedSynchronousErrorHandling&&te&&(te.errorThrown=!0,te.error=r)}var H=class extends I{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Re(e)&&e.add(this)):this.destination=Rt}static create(e,t,o){return new Y(e,t,o)}next(e){this.isStopped?ar(et(e),this):this._next(e)}error(e){this.isStopped?ar(Xr(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?ar(Qr,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Pt=Function.prototype.bind;function lr(r,e){return Pt.call(r,e)}var dr=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(o){ke(o)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(o){ke(o)}else ke(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){ke(t)}}},Y=class extends H{constructor(e,t,o){super();let n;if(d(e)||!e)n={next:e!=null?e:void 0,error:t!=null?t:void 0,complete:o!=null?o:void 0};else{let i;this&&N.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),n={next:e.next&&lr(e.next,i),error:e.error&&lr(e.error,i),complete:e.complete&&lr(e.complete,i)}):n=e}this.destination=new dr(n)}};function ke(r){N.useDeprecatedSynchronousErrorHandling?rt(r):Me(r)}function Ct(r){throw r}function ar(r,e){let{onStoppedNotification:t}=N;t&&xe.setTimeout(()=>t(r,e))}var Rt={closed:!0,next:S,error:Ct,complete:S};var oe=typeof Symbol=="function"&&Symbol.observable||"@@observable";function E(r){return r}function ge(...r){return hr(r)}function hr(r){return r.length===0?E:r.length===1?r[0]:function(t){return r.reduce((o,n)=>n(o),t)}}var h=(()=>
1{class r{constructor(t){t&&(this._subscribe=t)}lift(t){let o=new r;return o.source=this,o.operator=t,o}subscribe(t,o,n){let i=kt(t)?t:new Y(t,o,n);return be(()=>{let{operator:s,source:f}=this;i.add(s?s.call(i,f):f?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(o){t.error(o)}}forEach(t,o){return o=tt(o),new o((n,i)=>{let s=new Y({next:f=>{try{t(f)}catch(m){i(m),s.unsubscribe()}},error:i,complete:n});this.subscribe(s)})}_subscribe(t){var o;return(o=this.source)===null||o===void 0?void 0:o.subscribe(t)}[oe](){return this}pipe(...t){return hr(t)(this)}toPromise(t){return t=tt(t),new t((o,n)=>{let i;this.subscribe(s=>i=s,s=>n(s),()=>o(i))})}}return r.create=e=>new r(e),r})();function tt(r){var e;return(e=r!=null?r:N.Promise)!==null&&e!==void 0?e:Promise}function Mt(r){return r&&d(r.next)&&d(r.error)&&d(r.complete)}function kt(r){return r&&r instanceof H||Mt(r)&&Re(r)}function xr(r){return d(r==null?void 0:r.lift)}function u(r){return e=>{if(xr(e))return e.lift(function(t){try{return r(t,this)}catch(o){this.error(o)}});throw new TypeError("Unable to lift unknown Observable type")}}function c(r,e,t,o,n){return new ne(r,e,t,o,n)}var ne=class extends H{constructor(e,t,o,n,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(f){try{t(f)}catch(m){e.error(m)}}:super._next,this._error=n?function(f){try{n(f)}catch(m){e.error(m)}finally{this.unsubscribe()}}:super._error,this._complete=o?function(){try{o()}catch(f){e.error(f)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function br(){return u((r,e)=>{let t=null;r._refCount++;let o=c(e,void 0,void 0,void 0,()=>{if(!r||r._refCount<=0||0<--r._refCount){t=null;return}let n=r._connection,i=t;t=null,n&&(!i||n===i)&&n.unsubscribe(),e.unsubscribe()});r.subscribe(o),o.closed||(t=r.connect())})}var B=class extends h{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,xr(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e==null||e.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new I;let t=this.getSubject();e.add(this.source.subscribe(c(t,void 0,()=>{this._teardown(),t.complete()},o=>{this._teardown(),t.error(o)},()=>this._teardown()))),e.closed&&(this._connection=null,e=I.EMPTY)}return e}refCount(){return br()(this)}};var yr={now(){return(yr.delegate||performance).now()},delegate:void 0};var K={schedule(r){let e=requestAnimationFrame,t=cancelAnimationFrame,{delegate:o}=K;o&&(e=o.requestAnimationFrame,t=o.cancelAnimationFrame);let n=e(i=>{t=void 0,r(i)});return new I(()=>t==null?void 0:t(n))},requestAnimationFrame(...r){let{delegate:e}=K;return((e==null?void 0:e.requestAnimationFrame)||requestAnimationFrame)(...r)},cancelAnimationFrame(...r){let{delegate:e}=K;return((e==null?void 0:e.cancelAnimationFrame)||cancelAnimationFrame)(...r)},delegate:void 0};function Lt(r){return r?ot(r):Vt}function ot(r){return new h(e=>{let t=r||yr,o=t.now(),n=0,i=()=>{e.closed||(n=K.requestAnimationFrame(s=>{n=0;let f=t.now();e.next({timestamp:r?f:s,elapsed:f-o}),i()}))};return i(),()=>{n&&K.cancelAnimationFrame(n)}})}var Vt=ot();var vr=M(r=>function(){r(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var g=(()=>{class r extends h{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let o=new Le(this,this);return o.operator=t,o}_throwIfClosed(){if(this.closed)throw new vr}next(t){be(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let o of this.currentObservers)o.next(t)}})}error(t){be(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:o}=this;for(;o.length;)o.shift().error(t)}})}complete(){be(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:o,isStopped:n,observers:i}=this;return o||n?cr:(this.currentObservers=null,i.push(t),new I(()=>{this.currentObservers=null,C(i,t)}))}_checkFinalizedStatuses(t){let{hasError:o,thrownError:n,isStopped:i}=this;o?t.error(n):i&&t.complete()}asObservable(){let t=new h;return t.source=this,t}}return r.create=(e,t)=>
1new Le(e,t),r})(),Le=class extends g{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,o;(o=(t=this.destination)===null||t===void 0?void 0:t.next)===null||o===void 0||o.call(t,e)}error(e){var t,o;(o=(t=this.destination)===null||t===void 0?void 0:t.error)===null||o===void 0||o.call(t,e)}complete(){var e,t;(t=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||t===void 0||t.call(e)}_subscribe(e){var t,o;return(o=(t=this.source)===null||t===void 0?void 0:t.subscribe(e))!==null&&o!==void 0?o:cr}};var Ee=class extends g{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){let{hasError:e,thrownError:t,_value:o}=this;if(e)throw t;return this._throwIfClosed(),o}next(e){super.next(this._value=e)}};var ie={now(){return(ie.delegate||Date).now()},delegate:void 0};var se=class extends g{constructor(e=1/0,t=1/0,o=ie){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=o,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,t)}next(e){let{isStopped:t,_buffer:o,_infiniteTimeWindow:n,_timestampProvider:i,_windowTime:s}=this;t||(o.push(e),!n&&o.push(i.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:o,_buffer:n}=this,i=n.slice();for(let s=0;s<i.length&&!e.closed;s+=o?1:2)e.next(i[s]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:o,_infiniteTimeWindow:n}=this,i=(n?1:2)*e;if(e<1/0&&i<o.length&&o.splice(0,o.length-i),!n){let s=t.now(),f=0;for(let m=1;m<o.length&&o[m]<=s;m+=2)f=m;f&&o.splice(0,f+1)}}};var fe=class extends g{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(e){let{hasError:t,_hasValue:o,_value:n,thrownError:i,isStopped:s,_isComplete:f}=this;t?e.error(i):(s||f)&&(o&&e.next(n),e.complete())}next(e){this.isStopped||(this._value=e,this._hasValue=!0)}complete(){let{_hasValue:e,_value:t,_isComplete:o}=this;o||(this._isComplete=!0,e&&super.next(t),super.complete())}};var Ve=class extends I{constructor(e,t){super()}schedule(e,t=0){return this}};var Oe={setInterval(r,e,...t){let{delegate:o}=Oe;return o!=null&&o.setInterval?o.setInterval(r,e,...t):setInterval(r,e,...t)},clearInterval(r){let{delegate:e}=Oe;return((e==null?void 0:e.clearInterval)||clearInterval)(r)},delegate:void 0};var U=class extends Ve{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var o;if(this.closed)return this;this.state=e;let n=this.id,i=this.scheduler;return n!=null&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=(o=this.id)!==null&&o!==void 0?o:this.requestAsyncId(i,this.id,t),this}requestAsyncId(e,t,o=0){return Oe.setInterval(e.flush.bind(e,this),o)}recycleAsyncId(e,t,o=0){if(o!=null&&this.delay===o&&this.pending===!1)return t;t!=null&&Oe.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let o=this._execute(e,t);if(o)return o;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let o=!1,n;try{this.work(e)}catch(i){o=!0,n=i||new Error("Scheduled action threw falsy error")}if(o)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){let{id:e,scheduler:t}=this,{actions:o}=t;this.work=this.state=this.scheduler=null,this.pending=!1,C(o,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}};var Wt=1,wr,_r={};function nt(r){return r in _r?(delete _r[r],!0):!1}var it={setImmediate(r){let e=Wt++;return _r[e]=!0,wr||(wr=Promise.resolve()),wr.then(()=>nt(e)&&r()),e},clearImmediate(r){nt(r)}};var{setImmediate:Nt,clearImmediate:Ut}=it,Ie={setImmediate(...r){let{delegate:e}=Ie;return((e==null?void 0:e.setImmediate)||Nt)(...r)},clearImmediate(r){let{delegate:e}=Ie;return((e==null?void 0:e.clearImmediate)||Ut)(r)},delegate:void 0};var We=class extends U{constructor(e,t){super(e,t),this.scheduler
1=e,this.work=t}requestAsyncId(e,t,o=0){return o!==null&&o>0?super.requestAsyncId(e,t,o):(e.actions.push(this),e._scheduled||(e._scheduled=Ie.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,t,o=0){var n;if(o!=null?o>0:this.delay>0)return super.recycleAsyncId(e,t,o);let{actions:i}=e;t!=null&&((n=i[i.length-1])===null||n===void 0?void 0:n.id)!==t&&(Ie.clearImmediate(t),e._scheduled===t&&(e._scheduled=void 0))}};var me=class r{constructor(e,t=r.now){this.schedulerActionCtor=e,this.now=t}schedule(e,t=0,o){return new this.schedulerActionCtor(this,e).schedule(o,t)}};me.now=ie.now;var q=class extends me{constructor(e,t=me.now){super(e,t),this.actions=[],this._active=!1}flush(e){let{actions:t}=this;if(this._active){t.push(e);return}let o;this._active=!0;do if(o=e.execute(e.state,e.delay))break;while(e=t.shift());if(this._active=!1,o){for(;e=t.shift();)e.unsubscribe();throw o}}};var Ne=class extends q{flush(e){this._active=!0;let t=this._scheduled;this._scheduled=void 0;let{actions:o}=this,n;e=e||o.shift();do if(n=e.execute(e.state,e.delay))break;while((e=o[0])&&e.id===t&&o.shift());if(this._active=!1,n){for(;(e=o[0])&&e.id===t&&o.shift();)e.unsubscribe();throw n}}};var st=new Ne(We),qt=st;var A=new q(U),Ae=A;var Ue=class extends U{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,o=0){return o!=null&&o>0||o==null&&this.delay>0?super.requestAsyncId(e,t,o):(e.flush(this),0)}};var qe=class extends q{};var ft=new qe(Ue),Dt=ft;var De=class extends U{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,o=0){return o!==null&&o>0?super.requestAsyncId(e,t,o):(e.actions.push(this),e._scheduled||(e._scheduled=K.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,t,o=0){var n;if(o!=null?o>0:this.delay>0)return super.recycleAsyncId(e,t,o);let{actions:i}=e;t!=null&&t===e._scheduled&&((n=i[i.length-1])===null||n===void 0?void 0:n.id)!==t&&(K.cancelAnimationFrame(t),e._scheduled=void 0)}};var ze=class extends q{flush(e){this._active=!0;let t;e?t=e.id:(t=this._scheduled,this._scheduled=void 0);let{actions:o}=this,n;e=e||o.shift();do if(n=e.execute(e.state,e.delay))break;while((e=o[0])&&e.id===t&&o.shift());if(this._active=!1,n){for(;(e=o[0])&&e.id===t&&o.shift();)e.unsubscribe();throw n}}};var mt=new ze(De),zt=mt;var Yt=(()=>{class r extends q{constructor(t=Ye,o=1/0){super(t,()=>this.frame),this.maxFrames=o,this.frame=0,this.index=-1}flush(){let{actions:t,maxFrames:o}=this,n,i;for(;(i=t[0])&&i.delay<=o&&(t.shift(),this.frame=i.delay,!(n=i.execute(i.state,i.delay))););if(n){for(;i=t.shift();)i.unsubscribe();throw n}}}return r.frameTimeFactor=10,r})(),Ye=class r extends U{constructor(e,t,o=e.index+=1){super(e,t),this.scheduler=e,this.work=t,this.index=o,this.active=!0,this.index=e.index=o}schedule(e,t=0){if(Number.isFinite(t)){if(!this.id)return super.schedule(e,t);this.active=!1;let o=new r(this.scheduler,this.work);return this.add(o),o.schedule(e,t)}else return I.EMPTY}requestAsyncId(e,t,o=0){this.delay=e.frame+o;let{actions:n}=e;return n.push(this),n.sort(r.sortActions),1}recycleAsyncId(e,t,o=0){}_execute(e,t){if(this.active===!0)return super._execute(e,t)}static sortActions(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>
1t.index?1:-1:e.delay>t.delay?1:-1}};var T=new h(r=>r.complete());function Gt(r){return r?$t(r):T}function $t(r){return new h(e=>r.schedule(()=>e.complete()))}function Q(r){return r&&d(r.schedule)}function Sr(r){return r[r.length-1]}function G(r){return d(Sr(r))?r.pop():void 0}function j(r){return Q(Sr(r))?r.pop():void 0}function Ge(r,e){return typeof Sr(r)=="number"?r.pop():e}var gr=function(r,e){return gr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n])},gr(r,e)};function Of(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");gr(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}function If(r,e,t,o){var n=arguments.length,i=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,o);else for(var f=r.length-1;f>=0;f--)(s=r[f])&&(i=(n<3?s(i):n>3?s(e,t,i):s(e,t))||i);return n>3&&i&&Object.defineProperty(e,t,i),i}function ct(r,e,t,o){function n(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function f(a){try{p(o.next(a))}catch(x){s(x)}}function m(a){try{p(o.throw(a))}catch(x){s(x)}}function p(a){a.done?i(a.value):n(a.value).then(f,m)}p((o=o.apply(r,e||[])).next())})}function ut(r){var e=typeof Symbol=="function"&&Symbol.iterator,t=e&&r[e],o=0;if(t)return t.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&o>=r.length&&(r=void 0),{value:r&&r[o++],done:!r}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function ue(r){return this instanceof ue?(this.v=r,this):new ue(r)}function pt(r,e,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=t.apply(r,e||[]),n,i=[];return n=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),f("next"),f("throw"),f("return",s),n[Symbol.asyncIterator]=function(){return this},n;function s(v){return function(b){return Promise.resolve(b).then(v,x)}}function f(v,b){o[v]&&(n[v]=function(y){return new Promise(function(_,O){i.push([v,y,_,O])>1||m(v,y)})},b&&(n[v]=b(n[v])))}function m(v,b){try{p(o[v](b))}catch(y){w(i[0][3],y)}}function p(v){v.value instanceof ue?Promise.resolve(v.value.v).then(a,x):w(i[0][2],v)}function a(v){m("next",v)}function x(v){m("throw",v)}function w(v,b){v(b),i.shift(),i.length&&m(i[0][0],i[0][1])}}function lt(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=r[Symbol.asyncIterator],t;return e?e.call(r):(r=typeof ut=="function"?ut(r):r[Symbol.iterator](),t={},o("next"),o("throw"),o("return"),t[Symbol.asyncIterator]=function(){return this},t);function o(i){t[i]=r[i]&&function(s){return new Promise(function(f,m){s=r[i](s),n(f,m,s.done,s.value)})}}function n(i,s,f,m){Promise.resolve(m).then(function(p){i({value:p,done:f})},s)}}var ye=r=>r&&typeof r.length=="number"&&typeof r!="function";function $e(r){return d(r==null?void 0:r.then)}function Be(r){return d(r[oe])}function Ke(r){return Symbol.asyncIterator&&d(r==null?void 0:r[Symbol.asyncIterator])}function Je(r){return new TypeError("You provided ".concat(r!==null&&typeof r=="object"?"an invalid object":"'".concat(r,"'")," where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable."))}function Bt(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ze=Bt();function He(r){return d(r==null?void 0:r[Ze])}function Qe(r){return pt(this,arguments,function*(){let t=r.getReader();try{for(;;){let{value:o,done:n}=yield ue(t.read());if(n)return yield ue(void 0);yield yield ue(o)}}finally{t.releaseLock()}})}function Xe(r){return d(r==null?void 0:r.getReader)}function l(r){if(r instanceof h)return r;if(r!=null){if(Be(r))return Kt(r);if(ye(r))return Jt(r);if($e(r))return Zt(r);if(Ke(r))return at(r);if(He(r))return Ht(r);if(Xe(r))return Qt(r)}throw Je(r)}function Kt(r){return new h(e=>{let t=r[oe]();if(d(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Jt(r){return new h(e=>{for(let t=0;t<r.length&&!e.closed;t++)e.next(r[t]);e.complete()})}function Zt(r){return new h(e=>{r.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,Me)})}function Ht(r){return new h(e=>{for(let t of r)if(e.next(t),e.closed)return;e.complete()})}function at(r){return new h(e=>{Xt(r,e).catch(t=>e.error(t))})}function Qt(r){return at(Qe(r))}function Xt(r,e){var t,o,n,i;return ct(this,void 0,void 0,function*(){try{for(t=lt(r);o=yield t.next(),!o.done;){let s=o.value;if(e.next(s),e.closed)return}}catch(s){n={error:s}}finally{try{o&&!o.done&&(i=t.return)&&(yield i.call(t))}finally{if(n)throw n.error}}e.complete()})}
1function F(r,e,t,o=0,n=!1){let i=e.schedule(function(){t(),n?r.add(this.schedule(null,o)):this.unsubscribe()},o);if(r.add(i),!n)return i}function ce(r,e=0){return u((t,o)=>{t.subscribe(c(o,n=>F(o,r,()=>o.next(n),e),()=>F(o,r,()=>o.complete(),e),n=>F(o,r,()=>o.error(n),e)))})}function pe(r,e=0){return u((t,o)=>{o.add(r.schedule(()=>t.subscribe(o),e))})}function dt(r,e){return l(r).pipe(pe(e),ce(e))}function ht(r,e){return l(r).pipe(pe(e),ce(e))}function xt(r,e){return new h(t=>{let o=0;return e.schedule(function(){o===r.length?t.complete():(t.next(r[o++]),t.closed||this.schedule())})})}function er(r,e){return new h(t=>{let o;return F(t,e,()=>{o=r[Ze](),F(t,e,()=>{let n,i;try{({value:n,done:i}=o.next())}catch(s){t.error(s);return}i?t.complete():t.next(n)},0,!0)}),()=>d(o==null?void 0:o.return)&&o.return()})}function rr(r,e){if(!r)throw new Error("Iterable cannot be null");return new h(t=>{F(t,e,()=>{let o=r[Symbol.asyncIterator]();F(t,e,()=>{o.next().then(n=>{n.done?t.complete():t.next(n.value)})},0,!0)})})}function bt(r,e){return rr(Qe(r),e)}function Er(r,e){if(r!=null){if(Be(r))return dt(r,e);if(ye(r))return xt(r,e);if($e(r))return ht(r,e);if(Ke(r))return rr(r,e);if(He(r))return er(r,e);if(Xe(r))return bt(r,e)}throw Je(r)}function R(r,e){return e?Er(r,e):l(r)}function Fe(...r){let e=j(r);return R(r,e)}function Or(r,e){let t=d(r)?r:()=>r,o=n=>n.error(t());return new h(e?n=>e.schedule(o,0,n):o)}var yt=function(r){return r.NEXT="N",r.ERROR="E",r.COMPLETE="C",r}(yt||{}),J=class r{constructor(e,t,o){this.kind=e,this.value=t,this.error=o,this.hasValue=e==="N"}observe(e){return Ir(this,e)}do(e,t,o){let{kind:n,value:i,error:s}=this;return n==="N"?e==null?void 0:e(i):n==="E"?t==null?void 0:t(s):o==null?void 0:o()}accept(e,t,o){var n;return d((n=e)===null||n===void 0?void 0:n.next)?this.observe(e):this.do(e,t,o)}toObservable(){let{kind:e,value:t,error:o}=this,n=e==="N"?Fe(t):e==="E"?Or(()=>o):e==="C"?T:0;if(!n)throw new TypeError("Unexpected notification kind ".concat(e));return n}static createNext(e){return new r("N",e)}static createError(e){return new r("E",void 0,e)}static createComplete(){return r.completeNotification}};J.completeNotification=new J("C");function Ir(r,e){var t,o,n;let{kind:i,value:s,error:f}=r;if(typeof i!="string")throw new TypeError('Invalid notification, missing "kind"');i==="N"?(t=e.next)===null||t===void 0||t.call(e,s):i==="E"?(o=e.error)===null||o===void 0||o.call(e,f):(n=e.complete)===null||n===void 0||n.call(e)}function eo(r){return!!r&&(r instanceof h||d(r.lift)&&d(r.subscribe))}var L=M(r=>function(){r(this),this.name="EmptyError",this.message="no elements in sequence"});function ro(r,e){let t=typeof e=="object";return new Promise((o,n)=>{let i=!1,s;r.subscribe({next:f=>{s=f,i=!0},error:n,complete:()=>{i?o(s):t?o(e.defaultValue):n(new L)}})})}function to(r,e){let t=typeof e=="object";return new Promise((o,n)=>{let i=new Y({next:s=>{o(s),i.unsubscribe()},error:n,complete:()=>{t?o(e.defaultValue):n(new L)}});r.subscribe(i)})}var tr=M(r=>function(){r(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"});var Ar=M(r=>function(t){r(this),this.name="NotFoundError",this.message=t});var Fr=M(r=>function(t){r(this),this.name="SequenceError",this.message=t});function ve(r){return r instanceof Date&&!isNaN(r)}var vt=M(r=>function(t=null){r(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t});function Tr(r,e){let{first:t,each:o,with:n=oo,scheduler:i=e!=null?e:A,meta:s=null}=ve(r)?{first:r}:typeof r=="number"?{each:r}:r;if(t==null&&o==null)throw new TypeError("No timeout provided.");return u((f,m)=>{let p,a,x=null,w=0,v=b=>{a=F(m,i,()=>{try{p.unsubscribe(),l(n({meta:s,lastValue:x,seen:w})).subscribe(m)}catch(y){m.error(y)}},b)};p=f.subscribe(c(m,b=>{a==null||a.unsubscribe(),w++,m.next(x=b),o>0&&v(o)},void 0,void 0,()=>{a!=null&&a.closed||a==null||a.unsubscribe(),x=null})),!w&&v(t!=null?typeof t=="number"?t:+t-i.now():o)})}function oo(r){throw new vt(r)}function V(r,e){return u((t,o)=>{let n=0;t.subscribe(c(o,i=>{o.next(r.call(e,i,n++))}))})}var{isArray:no}=Array;
1function io(r,e){return no(e)?r(...e):r(e)}function k(r){return V(e=>io(r,e))}function we(r,e,t,o){if(t)if(Q(t))o=t;else return function(...n){return we(r,e,o).apply(this,n).pipe(k(t))};return o?function(...n){return we(r,e).apply(this,n).pipe(pe(o),ce(o))}:function(...n){let i=new fe,s=!0;return new h(f=>{let m=i.subscribe(f);if(s){s=!1;let p=!1,a=!1;e.apply(this,[...n,(...x)=>{if(r){let w=x.shift();if(w!=null){i.error(w);return}}i.next(1<x.length?x:x[0]),a=!0,p&&i.complete()}]),a&&i.complete(),p=!0}return m})}}function so(r,e,t){return we(!1,r,e,t)}function fo(r,e,t){return we(!0,r,e,t)}var{isArray:mo}=Array,{getPrototypeOf:uo,prototype:co,keys:po}=Object;function or(r){if(r.length===1){let e=r[0];if(mo(e))return{args:e,keys:null};if(lo(e)){let t=po(e);return{args:t.map(o=>e[o]),keys:t}}}return{args:r,keys:null}}function lo(r){return r&&typeof r=="object"&&uo(r)===co}function nr(r,e){return r.reduce((t,o,n)=>(t[o]=e[n],t),{})}function jr(...r){let e=j(r),t=G(r),{args:o,keys:n}=or(r);if(o.length===0)return R([],e);let i=new h(Pr(o,e,n?s=>nr(n,s):E));return t?i.pipe(k(t)):i}function Pr(r,e,t=E){return o=>{wt(e,()=>{let{length:n}=r,i=new Array(n),s=n,f=n;for(let m=0;m<n;m++)wt(e,()=>{let p=R(r[m],e),a=!1;p.subscribe(c(o,x=>{i[m]=x,a||(a=!0,f--),f||o.next(t(i.slice()))},()=>{--s||o.complete()}))},o)},o)}}function wt(r,e,t){r?F(t,r,e):e()}function _e(r,e,t,o,n,i,s,f){let m=[],p=0,a=0,x=!1,w=()=>{x&&!m.length&&!p&&e.complete()},v=y=>p<o?b(y):m.push(y),b=y=>{i&&e.next(y),p++;let _=!1;l(t(y,a++)).subscribe(c(e,O=>{n==null||n(O),i?v(O):e.next(O)},()=>{_=!0},void 0,()=>{if(_)try{for(p--;m.length&&p<o;){let O=m.shift();s?F(e,s,()=>b(O)):b(O)}w()}catch(O){e.error(O)}}))};return r.subscribe(c(e,v,()=>{x=!0,w()})),()=>{f==null||f()}}function P(r,e,t=1/0){return d(e)?P((o,n)=>V((i,s)=>e(o,i,n,s))(l(r(o,n))),t):(typeof e=="number"&&(t=e),u((o,n)=>_e(o,n,r,t)))}function le(r=1/0){return P(E,r)}function Te(){return le(1)}function X(...r){return Te()(R(r,j(r)))}function ae(r){return new h(e=>{l(r()).subscribe(e)})}var ao={connector:()=>new g,resetOnDisconnect:!0};function ho(r,e=ao){let t=null,{connector:o,resetOnDisconnect:n=!0}=e,i=o(),s=new h(f=>i.subscribe(f));return s.connect=()=>((!t||t.closed)&&(t=ae(()=>r).subscribe(i),n&&t.add(()=>i=o())),t),s}function xo(...r){let e=G(r),{args:t,keys:o}=or(r),n=new h(i=>{let{length:s}=t;
1if(!s){i.complete();return}let f=new Array(s),m=s,p=s;for(let a=0;a<s;a++){let x=!1;l(t[a]).subscribe(c(i,w=>{x||(x=!0,p--),f[a]=w},()=>m--,void 0,()=>{(!m||!x)&&(p||i.next(o?nr(o,f):f),i.complete())}))}});return e?n.pipe(k(e)):n}var bo=["addListener","removeListener"],yo=["addEventListener","removeEventListener"],vo=["on","off"];function Cr(r,e,t,o){if(d(t)&&(o=t,t=void 0),o)return Cr(r,e,t).pipe(k(o));let[n,i]=So(r)?yo.map(s=>f=>r[s](e,f,t)):wo(r)?bo.map(_t(r,e)):_o(r)?vo.map(_t(r,e)):[];if(!n&&ye(r))return P(s=>Cr(s,e,t))(l(r));if(!n)throw new TypeError("Invalid event target");return new h(s=>{let f=(...m)=>s.next(1<m.length?m:m[0]);return n(f),()=>i(f)})}function _t(r,e){return t=>o=>r[t](e,o)}function wo(r){return d(r.addListener)&&d(r.removeListener)}function _o(r){return d(r.on)&&d(r.off)}function So(r){return d(r.addEventListener)&&d(r.removeEventListener)}function St(r,e,t){return t?St(r,e).pipe(k(t)):new h(o=>{let n=(...s)=>o.next(s.length===1?s[0]:s),i=r(n);return d(e)?()=>e(n,i):void 0})}function go(r,e,t,o,n){let i,s;arguments.length===1?{initialState:s,condition:e,iterate:t,resultSelector:i=E,scheduler:n}=r:(s=r,!o||Q(o)?(i=E,n=o):i=o);function*f(){for(let m=s;!e||e(m);m=t(m))yield i(m)}return ae(n?()=>er(f(),n):f)}function Eo(r,e,t){return ae(()=>r()?e:t)}function W(r=0,e,t=Ae){let o=-1;return e!=null&&(Q(e)?t=e:o=e),new h(n=>{let i=ve(r)?+r-t.now():r;i<0&&(i=0);let s=0;return t.schedule(function(){n.closed||(n.next(s++),0<=o?this.schedule(void 0,o):n.complete())},i)})}function Rr(r=0,e=A){return r<0&&(r=0),W(r,r,e)}function Oo(...r){let e=j(r),t=Ge(r,1/0),o=r;return o.length?o.length===1?l(o[0]):le(t)(R(o,e)):T}var gt=new h(S);function Io(){return gt}var{isArray:Ao}=Array;function $(r){return r.length===1&&Ao(r[0])?r[0]:r}function Mr(...r){let e=$(r);return new h(t=>{let o=0,n=()=>{if(o<e.length){let i;try{i=l(e[o++])}catch(f){n();return}let s=new ne(t,void 0,S,S);i.subscribe(s),s.add(n)}else t.complete()};n()})}function Fo(r,e){return R(Object.entries(r),e)}function Et(r,e){return(t,o)=>!r.call(e,t,o)}function D(r,e){return u((t,o)=>{let n=0;t.subscribe(c(o,i=>r.call(e,i,n++)&&o.next(i)))})}function To(r,e,t){return[D(e,t)(l(r)),D(Et(e,t))(l(r))]}function jo(...r){return r=$(r),r.length===1?l(r[0]):new h(kr(r))}function kr(r){return e=>{let t=[];for(let o=0;t&&!e.closed&&o<r.length;o++)t.push(l(r[o]).subscribe(c(e,n=>{if(t){for(let i=0;i<t.length;i++)i!==o&&t[i].unsubscribe();t=null}e.next(n)})))}}function Po(r,e,t){if(e==null&&(e=r,r=0),e<=0)return T;let o=e+r;return new h(t?n=>{let i=r;return t.schedule(function(){i<o?(n.next(i++),this.schedule()):n.complete()})}:n=>{let i=r;for(;i<o&&!n.closed;)n.next(i++);n.complete()})}function Co(r,e){return new h(t=>{let o=r(),n=e(o);return(n?l(n):T).subscribe(t),()=>{o&&o.unsubscribe()}})}function je(...r){let e=G(r),t=$(r);return t.length?new h(o=>{let n=t.map(()=>[]),i=t.map(()=>!1);o.add(()=>{n=i=null});for(let s=0;!o.closed&&s<t.length;s++)l(t[s]).subscribe(c(o,f=>{if(n[s].push(f),n.every(m=>m.length)){let m=n.map(p=>p.shift());o.next(e?e(...m):m),n.some((p,a)=>!p.length&&i[a])&&o.complete()}},()=>{i[s]=!0,!n[s].length&&o.complete()}));return()=>{n=i=null}}):T}function Lr(r){return u((e,t)=>{let o=!1,n=null,i=null,s=!1,f=()=>{if(i==null||i.unsubscribe(),i=null,o){o=!1;let p=n;n=null,t.next(p)}s&&t.complete()},m=()=>{i=null,s&&t.complete()};e.subscribe(c(t,p=>{o=!0,n=p,i||l(r(p)).subscribe(i=c(t,f,m))},()=>{s=!0,(!o||!i||i.closed)&&t.complete()}))})}function Ro(r,e=A){return Lr(()=>W(r,e))}function Mo(r){return u((e,t)=>{let o=[];return e.subscribe(c(t,n=>o.push(n),()=>{t.next(o),t.complete()})),l(r).subscribe(c(t,()=>{let n=o;o=[],t.next(n)},S)),()=>{o=null}})}function ko(r,e=null){return e=e!=null?e:r,u((t,o)=>{let n=[],i=0;t.subscribe(c(o,s=>{let f=null;i++%e===0&&n.push([]);for(let m of n)m.push(s),r<=m.length&&(f=f!=null?f:[],f.push(m));if(f)for(let m of f)C(n,m),o.next(m)},()=>{for(let s of n)o.next(s);o.complete()},void 0,()=>{n=null}))})}function Lo(r,...e){var t,o;let n=(t=j(e))!==null&&t!==void 0?t:A,i=(o=e[0])!==null&&o!==void 0?o:null,s=e[1]||1/0;return u((f,m)=>{let p=[],a=!1,x=b=>{let{buffer:y,subs:_}=b;_.unsubscribe(),C(p,b),m.next(y),a&&w()},w=()=>
1{if(p){let b=new I;m.add(b);let _={buffer:[],subs:b};p.push(_),F(b,n,()=>x(_),r)}};i!==null&&i>=0?F(m,n,w,i,!0):a=!0,w();let v=c(m,b=>{let y=p.slice();for(let _ of y){let{buffer:O}=_;O.push(b),s<=O.length&&x(_)}},()=>{for(;p!=null&&p.length;)m.next(p.shift().buffer);v==null||v.unsubscribe(),m.complete(),m.unsubscribe()},void 0,()=>p=null);f.subscribe(v)})}function Vo(r,e){return u((t,o)=>{let n=[];l(r).subscribe(c(o,i=>{let s=[];n.push(s);let f=new I,m=()=>{C(n,s),o.next(s),f.unsubscribe()};f.add(l(e(i)).subscribe(c(o,m,S)))},S)),t.subscribe(c(o,i=>{for(let s of n)s.push(i)},()=>{for(;n.length>0;)o.next(n.shift());o.complete()}))})}function Wo(r){return u((e,t)=>{let o=null,n=null,i=()=>{n==null||n.unsubscribe();let s=o;o=[],s&&t.next(s),l(r()).subscribe(n=c(t,i,S))};i(),e.subscribe(c(t,s=>o==null?void 0:o.push(s),()=>{o&&t.next(o),t.complete()},void 0,()=>o=n=null))})}function Ot(r){return u((e,t)=>{let o=null,n=!1,i;o=e.subscribe(c(t,void 0,void 0,s=>{i=l(r(s,Ot(r)(e))),o?(o.unsubscribe(),o=null,i.subscribe(t)):n=!0})),n&&(o.unsubscribe(),o=null,i.subscribe(t))})}function ir(r,e,t,o,n){return(i,s)=>{let f=t,m=e,p=0;i.subscribe(c(s,a=>{let x=p++;m=f?r(m,a,x):(f=!0,a),o&&s.next(m)},n&&(()=>{f&&s.next(m),s.complete()})))}}function Z(r,e){return u(ir(r,e,arguments.length>=2,!1,!0))}var No=(r,e)=>(r.push(e),r);function Vr(){return u((r,e)=>{Z(No,[])(r).subscribe(e)})}function sr(r,e){return ge(Vr(),P(t=>r(t)),e?k(e):E)}function Wr(r){return sr(jr,r)}var Uo=Wr;function Nr(...r){let e=G(r);return e?ge(Nr(...r),k(e)):u((t,o)=>{Pr([t,...$(r)])(o)})}function qo(...r){return Nr(...r)}function fr(r,e){return d(e)?P(r,e,1):P(r,1)}function Do(r,e){return d(e)?fr(()=>r,e):fr(()=>r)}function It(...r){let e=j(r);return u((t,o)=>{Te()(R([t,...r],e)).subscribe(o)})}function zo(...r){return It(...r)}function At(r){return new h(e=>r.subscribe(e))}var Yo={connector:()=>new g};function Pe(r,e=Yo){let{connector:t}=e;return u((o,n)=>{let i=t();l(r(At(i))).subscribe(n),n.add(o.subscribe(i))})}function Go(r){return Z((e,t,o)=>!r||r(t,o)?e+1:e,0)}function $o(r){return u((e,t)=>{let o=!1,n=null,i=null,s=()=>{if(i==null||i.unsubscribe(),i=null,o){o=!1;let f=n;n=null,t.next(f)}};e.subscribe(c(t,f=>{i==null||i.unsubscribe(),o=!0,n=f,i=c(t,s,S),l(r(f)).subscribe(i)},()=>{s(),t.complete()},void 0,()=>{n=i=null}))})}function Bo(r,e=A){return u((t,o)=>{let n=null,i=null,s=null,f=()=>{if(n){n.unsubscribe(),n=null;let p=i;i=null,o.next(p)}};function m(){let p=s+r,a=e.now();if(a<p){n=this.schedule(void 0,p-a),o.add(n);return}f()}t.subscribe(c(o,p=>{i=p,s=e.now(),n||(n=e.schedule(m,r),o.add(n))},()=>{f(),o.complete()},void 0,()=>{i=n=null}))})}function de(r){return u((e,t)=>{let o=!1;e.subscribe(c(t,n=>{o=!0,t.next(n)},()=>{o||t.next(r),t.complete()}))})}function ee(r){return r<=0?()=>T:u((e,t)=>{let o=0;e.subscribe(c(t,n=>{++o<=r&&(t.next(n),r<=o&&t.complete())}))})}function Ur(){return u((r,e)=>{r.subscribe(c(e,S))})}function qr(r){return V(()=>r)}function mr(r,e){return e?t=>X(e.pipe(ee(1),Ur()),t.pipe(mr(r))):P((t,o)=>l(r(t,o)).pipe(ee(1),qr(t)))}function Ko(r,e=A){let t=W(r,e);return mr(()=>t)}function Jo(){return u((r,e)=>{r.subscribe(c(e,t=>Ir(t,e)))})}function Zo(r,e){return u((t,o)=>{let n=new Set;t.subscribe(c(o,i=>{let s=r?r(i):i;n.has(s)||(n.add(s),o.next(i))})),e&&l(e).subscribe(c(o,()=>n.clear(),S))})}function Dr(r,e=E){return r=r!=null?r:Ho,u((t,o)=>{let n,i=!0;t.subscribe(c(o,s=>{let f=e(s);(i||!r(n,f))&&(i=!1,n=f,o.next(s))}))})}function Ho(r,e){return r===e}function Qo(r,e){return Dr((t,o)=>e?e(t[r],o[r]):t[r]===o[r])}function he(r=Xo){return u((e,t)=>{let o=!1;e.subscribe(c(t,n=>{o=!0,t.next(n)},()=>o?t.complete():t.error(r())))})}function Xo(){return new L}function en(r,e){if(r<0)throw new tr;let t=arguments.length>=2;return o=>o.pipe(D((n,i)=>i===r),ee(1),t?de(e):he(()=>new tr))}function rn(...r){return e=>X(e,Fe(...r))}function tn(r,e){return u((t,o)=>{let n=0;t.subscribe(c(o,i=>{r.call(e,i,n++,t)||(o.next(!1),o.complete())},()=>{o.next(!0),o.complete()}))})}function ur(r,e){return e?t=>t.pipe(ur((o,n)=>l(r(o,n)).pipe(V((i,s)=>e(o,i,n,s))))):u((t,o)=>{let n=0,i=null,s=!1;t.subscribe(c(o,f=>{i||(i=c(o,void 0,()=>
1{i=null,s&&o.complete()}),l(r(f,n++)).subscribe(i))},()=>{s=!0,!i&&o.complete()}))})}function zr(){return ur(E)}var on=zr;function nn(r,e=1/0,t){return e=(e||0)<1?1/0:e,u((o,n)=>_e(o,n,r,e,void 0,!0,t))}function sn(r){return u((e,t)=>{try{e.subscribe(t)}finally{t.add(r)}})}function fn(r,e){return u(Yr(r,e,"value"))}function Yr(r,e,t){let o=t==="index";return(n,i)=>{let s=0;n.subscribe(c(i,f=>{let m=s++;r.call(e,f,m,n)&&(i.next(o?m:f),i.complete())},()=>{i.next(o?-1:void 0),i.complete()}))}}function mn(r,e){return u(Yr(r,e,"index"))}function un(r,e){let t=arguments.length>=2;return o=>o.pipe(r?D((n,i)=>r(n,i,o)):E,ee(1),t?de(e):he(()=>new L))}function cn(r,e,t,o){return u((n,i)=>{let s;!e||typeof e=="function"?s=e:{duration:t,element:s,connector:o}=e;let f=new Map,m=b=>{f.forEach(b),b(i)},p=b=>m(y=>y.error(b)),a=0,x=!1,w=new ne(i,b=>{try{let y=r(b),_=f.get(y);if(!_){f.set(y,_=o?o():new g);let O=v(y,_);if(i.next(O),t){let z=c(_,()=>{_.complete(),z==null||z.unsubscribe()},void 0,void 0,()=>f.delete(y));w.add(l(t(O)).subscribe(z))}}_.next(s?s(b):b)}catch(y){p(y)}},()=>m(b=>b.complete()),p,()=>f.clear(),()=>(x=!0,a===0));n.subscribe(w);function v(b,y){let _=new h(O=>{a++;let z=y.subscribe(O);return()=>{z.unsubscribe(),--a===0&&x&&w.unsubscribe()}});return _.key=b,_}})}function pn(){return u((r,e)=>{r.subscribe(c(e,()=>{e.next(!1),e.complete()},()=>{e.next(!0),e.complete()}))})}function Gr(r){return r<=0?()=>T:u((e,t)=>{let o=[];e.subscribe(c(t,n=>{o.push(n),r<o.length&&o.shift()},()=>{for(let n of o)t.next(n);t.complete()},void 0,()=>{o=null}))})}function ln(r,e){let t=arguments.length>=2;return o=>o.pipe(r?D((n,i)=>r(n,i,o)):E,Gr(1),t?de(e):he(()=>new L))}function an(){return u((r,e)=>{r.subscribe(c(e,t=>{e.next(J.createNext(t))},()=>{e.next(J.createComplete()),e.complete()},t=>{e.next(J.createError(t)),e.complete()}))})}function dn(r){return Z(d(r)?(e,t)=>r(e,t)>0?e:t:(e,t)=>e>t?e:t)}var hn=P;function xn(r,e,t=1/0){return d(e)?P(()=>r,e,t):(typeof e=="number"&&(t=e),P(()=>r,t))}function bn(r,e,t=1/0){return u((o,n)=>{let i=e;return _e(o,n,(s,f)=>r(i,s,f),t,s=>{i=s},!1,void 0,()=>i=null)})}function Ft(...r){let e=j(r),t=Ge(r,1/0);return u((o,n)=>{le(t)(R([o,...r],e)).subscribe(n)})}function yn(...r){return Ft(...r)}function vn(r){return Z(d(r)?(e,t)=>r(e,t)<0?e:t:(e,t)=>e<t?e:t)}function Ce(r,e){let t=d(r)?r:()=>r;return d(e)?Pe(e,{connector:t}):o=>new B(o,t)}function wn(...r){let e=$(r);return t=>Mr(t,...e)}function _n(){return u((r,e)=>{let t,o=!1;r.subscribe(c(e,n=>{let i=t;t=n,o&&e.next([i,n]),o=!0}))})}function Sn(...r){let e=r.length;if(e===0)throw new Error("list of properties cannot be empty.");return V(t=>{let o=t;for(let n=0;n<e;n++){let i=o==null?void 0:o[r[n]];if(typeof i<"u")o=i;else return}return o})}function gn(r){return r?e=>Pe(r)(e):e=>Ce(new g)(e)}function En(r){return e=>{let t=new Ee(r);return new B(e,()=>t)}}function On(){return r=>{let e=new fe;return new B(r,()=>e)}}function In(r,e,t,o){t&&!d(t)&&(o=t);let n=d(t)?t:void 0;return i=>Ce(new se(r,e,o),n)(i)}function An(...r){return r.length?u((e,t)=>{kr([e,...r])(t)}):E}function Fn(r){let e=1/0,t;return r!=null&&(typeof r=="object"?{count:e=1/0,delay:t}=r:e=r),e<=0?()=>T:u((o,n)=>{let i=0,s,f=()=>{if(s==null||s.unsubscribe(),s=null,t!=null){let p=typeof t=="number"?W(t):l(t(i)),a=c(n,()=>{a.unsubscribe(),m()});p.subscribe(a)}else m()},m=()=>{let p=!1;s=o.subscribe(c(n,void 0,()=>{++i<e?s?f():p=!0:n.complete()})),p&&f()};m()})}function Tn(r){return u((e,t)=>{let o,n=!1,i,s=!1,f=!1,m=()=>f&&s&&(t.complete(),!0),p=()=>(i||(i=new g,l(r(i)).subscribe(c(t,()=>{o?a():n=!0},()=>{s=!0,m()}))),i),a=()=>{f=!1,o=e.subscribe(c(t,void 0,()=>{f=!0,!m()&&p().next()})),n&&(o.unsubscribe(),o=null,n=!1,a())};a()})}function jn(r=1/0){let e;r&&typeof r=="object"?e=r:e={count:r};let{count:t=1/0,delay:o,resetOnSuccess:n=!1}=e;return t<=0?E:u((i,s)=>{let f=0,m,p=()=>{let a=!1;m=i.subscribe(c(s,x=>{n&&(f=0),s.next(x)},void 0,x=>{if(f++<t){let w=()=>{m?(m.unsubscribe(),m=null,p()):a=!0};if(o!=null){let v=typeof o=="number"?W(o):l(o(x,f)),b=c(s,()=>{b.unsubscribe(),w()},()=>{s.complete()});v.subscribe(b)}else w()}else s.error(x)})),a&&(m.unsubscribe(),m=null,p())};p()})}function Pn(r){return u((e,t)=>{let o,n=!1,i,s=()=>{o=e.subscribe(c(t,void 0,void 0,f=>{i||(i=new g,l(r(i)).subscribe(c(t,()=>o?s():n=!0))),i&&i.next(f)})),n&&(o.unsubscribe(),o=null,n=!1,s())};s()})}function $r(r){return u((e,t)=>{let o=!1,n=null;e.subscribe(c(t,i=>{o=!0,n=i})),l(r).subscribe(c(t,()=>{if(o){o=!1;let i=n;n=null,t.next(i)}},S))})}function Cn(r,e=A){return $r(Rr(r,e))}function Rn(r,e){return u(ir(r,e,arguments.length>=2,!0))}function Mn(r,e=(t,o)=>t===o){return u((t,o)=>{let n=Tt(),i=Tt(),s=m=>{o.next(m),o.complete()},f=(m,p)=>{let a=c(o,x=>{let{buffer:w,complete:v}=p;w.length===0?v?s(!1):m.buffer.push(x):!e(x,w.shift())&&s(!1)},()=>{m.complete=!0;let{complete:x,buffer:w}=p;x&&s(w.length===0),a==null||a.unsubscribe()});return a};t.subscribe(f(n,i)),l(r).subscribe(f(i,n))})}function Tt(){return{buffer:[],complete:!1}}function Kr(r={}){let{connector:e=()=>new g,resetOnError:t=!0,resetOnComplete:o=!0,resetOnRefCountZero:n=!0}=r;return i=>{let s,f,m,p=0,a=!1,x=!1,w=()=>
1{f==null||f.unsubscribe(),f=void 0},v=()=>{w(),s=m=void 0,a=x=!1},b=()=>{let y=s;v(),y==null||y.unsubscribe()};return u((y,_)=>{p++,!x&&!a&&w();let O=m=m!=null?m:e();_.add(()=>{p--,p===0&&!x&&!a&&(f=Br(b,n))}),O.subscribe(_),!s&&p>0&&(s=new Y({next:z=>O.next(z),error:z=>{x=!0,w(),f=Br(v,t,z),O.error(z)},complete:()=>{a=!0,w(),f=Br(v,o),O.complete()}}),l(y).subscribe(s))})(i)}}function Br(r,e,...t){if(e===!0){r();return}if(e===!1)return;let o=new Y({next:()=>{o.unsubscribe(),r()}});return l(e(...t)).subscribe(o)}function kn(r,e,t){let o,n=!1;return r&&typeof r=="object"?{bufferSize:o=1/0,windowTime:e=1/0,refCount:n=!1,scheduler:t}=r:o=r!=null?r:1/0,Kr({connector:()=>new se(o,e,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:n})}function Ln(r){return u((e,t)=>{let o=!1,n,i=!1,s=0;e.subscribe(c(t,f=>{i=!0,(!r||r(f,s++,e))&&(o&&t.error(new Fr("Too many matching values")),o=!0,n=f)},()=>{o?(t.next(n),t.complete()):t.error(i?new Ar("No matching values"):new L)}))})}function Vn(r){return D((e,t)=>r<=t)}function Wn(r){return r<=0?E:u((e,t)=>{let o=new Array(r),n=0;return e.subscribe(c(t,i=>{let s=n++;if(s<r)o[s]=i;else{let f=s%r,m=o[f];o[f]=i,t.next(m)}})),()=>{o=null}})}function Nn(r){return u((e,t)=>{let o=!1,n=c(t,()=>{n==null||n.unsubscribe(),o=!0},S);l(r).subscribe(n),e.subscribe(c(t,i=>o&&t.next(i)))})}function Un(r){return u((e,t)=>{let o=!1,n=0;e.subscribe(c(t,i=>(o||(o=!r(i,n++)))&&t.next(i)))})}function qn(...r){let e=j(r);return u((t,o)=>{(e?X(r,t,e):X(r,t)).subscribe(o)})}function re(r,e){return u((t,o)=>{let n=null,i=0,s=!1,f=()=>s&&!n&&o.complete();t.subscribe(c(o,m=>{n==null||n.unsubscribe();let p=0,a=i++;l(r(m,a)).subscribe(n=c(o,x=>o.next(e?e(m,x,a,p++):x),()=>{n=null,f()}))},()=>{s=!0,f()}))})}function Dn(){return re(E)}function zn(r,e){return d(e)?re(()=>r,e):re(()=>r)}function Yn(r,e){return u((t,o)=>{let n=e;return re((i,s)=>r(n,i,s),(i,s)=>(n=s,s))(t).subscribe(o),()=>{n=null}})}function Gn(r){return u((e,t)=>{l(r).subscribe(c(t,()=>t.complete(),S)),!t.closed&&e.subscribe(t)})}function $n(r,e=!1){return u((t,o)=>{let n=0;t.subscribe(c(o,i=>{let s=r(i,n++);(s||e)&&o.next(i),!s&&o.complete()}))})}function Bn(r,e,t){let o=d(r)||e||t?{next:r,error:e,complete:t}:r;return o?u((n,i)=>{var s;(s=o.subscribe)===null||s===void 0||s.call(o);let f=!0;n.subscribe(c(i,m=>{var p;(p=o.next)===null||p===void 0||p.call(o,m),i.next(m)},()=>{var m;f=!1,(m=o.complete)===null||m===void 0||m.call(o),i.complete()},m=>{var p;f=!1,(p=o.error)===null||p===void 0||p.call(o,m),i.error(m)},()=>{var m,p;f&&((m=o.unsubscribe)===null||m===void 0||m.call(o)),(p=o.finalize)===null||p===void 0||p.call(o)}))}):E}function Jr(r,e){return u((t,o)=>{let{leading:n=!0,trailing:i=!1}=e!=null?e:{},s=!1,f=null,m=null,p=!1,a=()=>{m==null||m.unsubscribe(),m=null,i&&(v(),p&&o.complete())},x=()=>{m=null,p&&o.complete()},w=b=>m=l(r(b)).subscribe(c(o,a,x)),v=()=>{if(s){s=!1;let b=f;f=null,o.next(b),!p&&w(b)}};t.subscribe(c(o,b=>{s=!0,f=b,!(m&&!m.closed)&&(n?v():w(b))},()=>{p=!0,!(i&&s&&m&&!m.closed)&&o.complete()}))})}function Kn(r,e=A,t){let o=W(r,e);return Jr(()=>o,t)}function Jn(r=A){return u((e,t)=>{let o=r.now();e.subscribe(c(t,n=>{let i=r.now(),s=i-o;o=i,t.next(new Zr(n,s))}))})}var Zr=class{constructor(e,t){this.value=e,this.interval=t}};function Zn(r,e,t){let o,n,i;if(t=t!=null?t:Ae,ve(r)?o=r:typeof r=="number"&&(n=r),e)i=()=>e;else throw new TypeError("No observable provided to switch to");if(o==null&&n==null)throw new TypeError("No timeout provided.");return Tr({first:o,each:n,scheduler:t,with:i})}function Hn(r=ie){return V(e=>({value:e,timestamp:r.now()}))}function Qn(r){return u((e,t)=>{let o=new g;t.next(o.asObservable());let n=i=>{o.error(i),t.error(i)};return e.subscribe(c(t,i=>o==null?void 0:o.next(i),()=>{o.complete(),t.complete()},n)),l(r).subscribe(c(t,()=>{o.complete(),t.next(o=new g)},S,n)),()=>{o==null||o.unsubscribe(),o=null}})}function Xn(r,e=0){let t=e>0?e:r;return u((o,n)=>{let i=[new g],s=[],f=0;n.next(i[0].asObservable()),o.subscribe(c(n,m=>{for(let a of i)a.next(m);let p=f-r+1;if(p>=0&&p%t===0&&i.shift().complete(),++f%t===0){let a=new g;i.push(a),n.next(a.asObservable())}},()=>{for(;i.length>0;)i.shift().complete();n.complete()},m=>{for(;i.length>0;)i.shift().error(m);n.error(m)},()=>{s=null,i=null}))})}function ei(r,...e){var t,o;let n=(t=j(e))!==null&&t!==void 0?t:A,i=(o=e[0])!==null&&o!==void 0?o:null,s=e[1]||1/0;return u((f,m)=>{let p=[],a=!1,x=y=>{let{window:_,subs:O}=y;_.complete(),O.unsubscribe(),C(p,y),a&&w()},w=()=>
1{if(p){let y=new I;m.add(y);let _=new g,O={window:_,subs:y,seen:0};p.push(O),m.next(_.asObservable()),F(y,n,()=>x(O),r)}};i!==null&&i>=0?F(m,n,w,i,!0):a=!0,w();let v=y=>p.slice().forEach(y),b=y=>{v(({window:_})=>y(_)),y(m),m.unsubscribe()};return f.subscribe(c(m,y=>{v(_=>{_.window.next(y),s<=++_.seen&&x(_)})},()=>b(y=>y.complete()),y=>b(_=>_.error(y)))),()=>{p=null}})}function ri(r,e){return u((t,o)=>{let n=[],i=s=>{for(;0<n.length;)n.shift().error(s);o.error(s)};l(r).subscribe(c(o,s=>{let f=new g;n.push(f);let m=new I,p=()=>{C(n,f),f.complete(),m.unsubscribe()},a;try{a=l(e(s))}catch(x){i(x);return}o.next(f.asObservable()),m.add(a.subscribe(c(o,p,S,i)))},S)),t.subscribe(c(o,s=>{let f=n.slice();for(let m of f)m.next(s)},()=>{for(;0<n.length;)n.shift().complete();o.complete()},i,()=>{for(;0<n.length;)n.shift().unsubscribe()}))})}function ti(r){return u((e,t)=>{let o,n,i=f=>{o.error(f),t.error(f)},s=()=>{n==null||n.unsubscribe(),o==null||o.complete(),o=new g,t.next(o.asObservable());let f;try{f=l(r())}catch(m){i(m);return}f.subscribe(n=c(t,s,s,i))};s(),e.subscribe(c(t,f=>o.next(f),()=>{o.complete(),t.complete()},i,()=>{n==null||n.unsubscribe(),o=null}))})}function oi(...r){let e=G(r);return u((t,o)=>{let n=r.length,i=new Array(n),s=r.map(()=>!1),f=!1;for(let m=0;m<n;m++)l(r[m]).subscribe(c(o,p=>{i[m]=p,!f&&!s[m]&&(s[m]=!0,(f=s.every(E))&&(s=null))},S));t.subscribe(c(o,m=>{if(f){let p=[m,...i];o.next(e?e(...p):p)}}))})}function ni(r){return sr(je,r)}function jt(...r){return u((e,t)=>{je(e,...r).subscribe(t)})}function ii(...r){return jt(...r)}export{Se as a,I as b,N as c,S as d,H as e,oe as f,E as g,ge as h,h as i,br as j,B as k,Lt as l,vr as m,g as n,Ee as o,se as p,fe as q,me as r,st as s,qt as t,A as u,Ae as v,ft as w,Dt as x,mt as y,zt as z,Yt as A,Ye as B,T as C,Gt as D,Of as E,If as F,ce as G,pe as H,Er as I,R as J,Fe as K,Or as L,yt as M,J as N,eo as O,L as P,ro as Q,to as R,tr as S,Ar as T,Fr as U,vt as V,Tr as W,V as X,so as Y,fo as Z,jr as _,P as $,le as aa,Te as ba,X as ca,ae as da,ho as ea,xo as fa,Cr as ga,St as ha,go as ia,Eo as ja,W as ka,Rr as la,Oo as ma,gt as na,Io as oa,Mr as pa,Fo as qa,D as ra,To as sa,jo as ta,Po as ua,Co as va,je as wa,Lr as xa,Ro as ya,Mo as za,ko as Aa,Lo as Ba,Vo as Ca,Wo as Da,Ot as Ea,Z as Fa,Vr as Ga,Wr as Ha,Uo as Ia,qo as Ja,fr as Ka,Do as La,zo as Ma,Pe as Na,Go as Oa,$o as Pa,Bo as Qa,de as Ra,ee as Sa,Ur as Ta,qr as Ua,mr as Va,Ko as Wa,Jo as Xa,Zo as Ya,Dr as Za,Qo as _a,he as $a,en as ab,rn as bb,tn as cb,ur as db,zr as eb,on as fb,nn as gb,sn as hb,fn as ib,mn as jb,un as kb,cn as lb,pn as mb,Gr as nb,ln as ob,an as pb,dn as qb,hn as rb,xn as sb,bn as tb,yn as ub,vn as vb,Ce as wb,wn as xb,_n as yb,Sn as zb,gn as Ab,En as Bb,On as Cb,In as Db,An as Eb,Fn as Fb,Tn as Gb,jn as Hb,Pn as Ib,$r as Jb,Cn as Kb,Rn as Lb,Mn as Mb,Kr as Nb,kn as Ob,Ln as Pb,Vn as Qb,Wn as Rb,Nn as Sb,Un as Tb,qn as Ub,re as Vb,Dn as Wb,zn as Xb,Yn as Yb,Gn as Zb,$n as _b,Bn as $b,Jr as ac,Kn as bc,Jn as cc,Zn as dc,Hn as ec,Qn as fc,Xn as gc,ei as hc,ri as ic,ti as jc,oi as kc,ni as lc,ii as mc};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.