q2-tecton-platform 1.63.0 → 1.63.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["q2-tecton-platform"]=t():e["q2-tecton-platform"]=t()}(self,()=>(()=>{var e={4:(e,t,n)=>{"use strict";n.d(t,{X:()=>s});var r=n(2124);function s(...e){return(0,r.h)(...e)}},51:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});const r=n(108).Z},57:(e,t,n)=>{"use strict";n.d(t,{Q:()=>u});var r=n(6702),s=n(2464),o=n(3878),i=n(151);function u(e){return(0,r.N)((t,n)=>{(0,o.Tg)(e).subscribe((0,s._)(n,()=>n.complete(),i.l)),!n.closed&&t.subscribe(n)})}},108:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(3002),s=n(3878),o=n(6702),i=n(9132),u=n(7007);function c(e,t,n=1/0){return(0,u.T)(t)?c((n,o)=>(0,r.T)((e,r)=>t(n,e,o,r))((0,s.Tg)(e(n,o))),n):("number"==typeof t&&(n=t),(0,o.N)((t,r)=>(0,i.h)(t,r,e,n)))}},111:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var r=n(7036),s=n(9817);function o(){return e=>{const t=new r.h;return new s.G(e,()=>t)}}},151:(e,t,n)=>{"use strict";function r(){}n.d(t,{l:()=>r})},203:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});var r=n(2590),s=n(6702);function o(e,t){return(0,s.N)((n,s)=>{let o=t;return(0,r.n)((t,n)=>e(o,t,n),(e,t)=>(o=t,t))(n).subscribe(s),()=>{o=null}})}},238:(e,t,n)=>{"use strict";n.d(t,{n:()=>i});var r=n(6702),s=n(2464),o=n(3878);function i(e,t){return(0,r.N)((n,r)=>{const{leading:i=!0,trailing:u=!1}=null!=t?t:{};let c=!1,a=null,l=null,d=!1;const f=()=>{null==l||l.unsubscribe(),l=null,u&&(m(),d&&r.complete())},h=()=>{l=null,d&&r.complete()},p=t=>l=(0,o.Tg)(e(t)).subscribe((0,s._)(r,f,h)),m=()=>{if(c){c=!1;const e=a;a=null,r.next(e),!d&&p(e)}};n.subscribe((0,s._)(r,e=>{c=!0,a=e,(!l||l.closed)&&(i?m():p(e))},()=>{d=!0,(!(u&&c&&l)||l.closed)&&r.complete()}))})}},386:(e,t,n)=>{"use strict";n.d(t,{I:()=>r});const r=(0,n(7653).L)(e=>function(t){e(this),this.name="SequenceError",this.message=t})},478:(e,t,n)=>{"use strict";n.d(t,{v:()=>s});var r=n(7026);function s(...e){return(0,r.z)(...e)}},591:(e,t,n)=>{"use strict";n.d(t,{M:()=>l,w:()=>d});var r=n(5260),s=n(2011),o=n(6702),i=n(3878),u=n(7653),c=n(2464),a=n(3873);const l=(0,u.L)(e=>function(t=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t});function d(e,t){const{first:n,each:u,with:l=f,scheduler:d=(null!=t?t:r.E),meta:h=null}=(0,s.v)(e)?{first:e}:"number"==typeof e?{each:e}:e;if(null==n&&null==u)throw new TypeError("No timeout provided.");return(0,o.N)((e,t)=>{let r,s,o=null,f=0;const p=e=>{s=(0,a.N)(t,d,()=>{try{r.unsubscribe(),(0,i.Tg)(l({meta:h,lastValue:o,seen:f})).subscribe(t)}catch(e){t.error(e)}},e)};r=e.subscribe((0,c._)(t,e=>{null==s||s.unsubscribe(),f++,t.next(o=e),u>0&&p(u)},void 0,void 0,()=>{(null==s?void 0:s.closed)||null==s||s.unsubscribe(),o=null})),!f&&p(null!=n?"number"==typeof n?n:+n-d.now():u)})}function f(e){throw new l(e)}},609:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});var r=n(5260),s=n(2700),o=n(837);function i(e,t=r.E){return(0,s.X)((0,o.Y)(e,t))}},616:(e,t,n)=>{"use strict";function r(e,t){return e.reduce((e,n,r)=>(e[n]=t[r],e),{})}n.d(t,{e:()=>r})},626:(e,t,n)=>{"use strict";n.d(t,{$:()=>s});var r=n(9878);function s(...e){return(0,r.x)(...e)}},755:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Maybe:()=>r});class r{constructor(e){this.value=e}static just(e){if(null==e)throw new TypeError("Value passed to just must exist!");return new r(e)}static nothing(){return new r}static maybe(e){return null==e?r.nothing():r.just(e)}static join(e){return e.withDefault(r.nothing())}static sequence(e){return e.reduce((e,t)=>e.bind(e=>t.map(t=>e.concat(t))),r.just([]))}static traverse(e,t){return r.sequence(t).map(t=>t.map(e))}static justMap(e,t){return t.reduce((t,n)=>{const r=e(n);return void 0!==r.value?t.concat(r.value):t},[])}static filterSomethings(e){return e.reduce((e,t)=>(t.value&&e.push(t.value),e),[])}static lift(e){return t=>t.map(e)}static lift2(e){return(t,n)=>r.sequence([t,n]).map(t=>e(t[0],t[1]))}static lift3(e){return(t,n,s)=>r.sequence([t,n,s]).map(t=>e(t[0],t[1],t[2]))}static toPromise(e){return e.hasSomething?Promise.resolve(e.value):Promise.reject()}map(e){return void 0!==this.value?r.maybe(e(this.value)):r.nothing()}asyncMap(e){return void 0!==this.value?e(this.value).then(e=>{if(null==e)throw"Promise Conversion from a Maybe.Nothing";return e}):Promise.reject()}alt(e){return void 0!==this.value?this:e}altMap(e){return void 0!==this.value?this:e()}ap(e){return e.bind(e=>this.map(e))}bind(e){return r.join(this.map(e))}withDefault(e){return void 0!==this.value?this.value:e}withDefaultFn(e){return void 0!==this.value?this.value:e()}get hasNothing(){return void 0===this.value}get hasSomething(){return!this.hasNothing}unsafeElse(e){this.hasNothing&&e()}}r.of=r.maybe},772:(e,t,n)=>{"use strict";n.d(t,{P:()=>h,z:()=>f});var r=n(6857),s=n(6569),o=n(7348),i=n(6781),u=n(5194),c=n(8918),a=n(616),l=n(2464),d=n(3873);function f(...e){const t=(0,c.lI)(e),n=(0,c.ms)(e),{args:l,keys:d}=(0,s.D)(e);if(0===l.length)return(0,o.H)([],t);const f=new r.c(h(l,t,d?e=>(0,a.e)(d,e):i.D));return n?f.pipe((0,u.I)(n)):f}function h(e,t,n=i.D){return r=>{p(t,()=>{const{length:s}=e,i=new Array(s);let u=s,c=s;for(let a=0;a<s;a++)p(t,()=>{const s=(0,o.H)(e[a],t);let d=!1;s.subscribe((0,l._)(r,e=>{i[a]=e,d||(d=!0,c--),c||r.next(n(i.slice()))},()=>{--u||r.complete()}))},r)},r)}}function p(e,t,n){e?(0,d.N)(n,e,t):t()}},831:(e,t,n)=>{"use strict";n.d(t,{u:()=>s});var r=n(3002);function s(e){return(0,r.T)(()=>e)}},837:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(5260),s=n(6231);function o(e=0,t=r.E){return e<0&&(e=0),(0,s.O)(e,e,t)}},848:(e,t,n)=>{"use strict";n.d(t,{B:()=>i});var r=n(5260),s=n(6702),o=n(2464);function i(e,t=r.E){return(0,s.N)((n,r)=>{let s=null,i=null,u=null;const c=()=>{if(s){s.unsubscribe(),s=null;const e=i;i=null,r.next(e)}};function a(){const n=u+e,o=t.now();if(o<n)return s=this.schedule(void 0,n-o),void r.add(s);c()}n.subscribe((0,o._)(r,n=>{i=n,u=t.now(),s||(s=t.schedule(a,e),r.add(s))},()=>{c(),r.complete()},void 0,()=>{i=s=null}))})}},881:(e,t,n)=>{"use strict";n.d(t,{O:()=>u,w:()=>c});var r=n(6857),s=n(3878),o=n(3918),i=n(2464);function u(...e){return 1===(e=(0,o.K)(e)).length?(0,s.Tg)(e[0]):new r.c(c(e))}function c(e){return t=>{let n=[];for(let r=0;n&&!t.closed&&r<e.length;r++)n.push((0,s.Tg)(e[r]).subscribe((0,i._)(t,e=>{if(n){for(let e=0;e<n.length;e++)e!==r&&n[e].unsubscribe();n=null}t.next(e)})))}}},931:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var r=n(3210),s=n(6781);function o(){return(0,r.p)(s.D)}},963:(e,t,n)=>{"use strict";n.d(t,{y:()=>o});var r=n(5917),s=n(6702);function o(...e){return(0,s.N)((t,n)=>{(0,r.y)(t,...e).subscribe(n)})}},1013:(e,t,n)=>{"use strict";n.d(t,{Q:()=>i});var r=n(3873),s=n(6702),o=n(2464);function i(e,t=0){return(0,s.N)((n,s)=>{n.subscribe((0,o._)(s,n=>(0,r.N)(s,e,()=>s.next(n),t),()=>(0,r.N)(s,e,()=>s.complete(),t),n=>(0,r.N)(s,e,()=>s.error(n),t)))})}},1079:(e,t,n)=>{"use strict";n.d(t,{S:()=>u});var r=n(6857),s=n(9553),o=n(7007),i=n(3873);function u(e,t){return new r.c(n=>{let r;return(0,i.N)(n,t,()=>{r=e[s.l](),(0,i.N)(n,t,()=>{let e,t;try{({value:e,done:t}=r.next())}catch(e){return void n.error(e)}t?n.complete():n.next(e)},0,!0)}),()=>(0,o.T)(null==r?void 0:r.return)&&r.return()})}},1169:(e,t,n)=>{"use strict";n.d(t,{of:()=>o});var r=n(8918),s=n(7348);function o(...e){const t=(0,r.lI)(e);return(0,s.H)(e,t)}},1205:(e,t,n)=>{"use strict";n.d(t,{M:()=>u});var r=n(7007),s=n(6702),o=n(2464),i=n(6781);function u(e,t,n){const u=(0,r.T)(e)||t||n?{next:e,error:t,complete:n}:e;return u?(0,s.N)((e,t)=>{var n;null===(n=u.subscribe)||void 0===n||n.call(u);let r=!0;e.subscribe((0,o._)(t,e=>{var n;null===(n=u.next)||void 0===n||n.call(u,e),t.next(e)},()=>{var e;r=!1,null===(e=u.complete)||void 0===e||e.call(u),t.complete()},e=>{var n;r=!1,null===(n=u.error)||void 0===n||n.call(u,e),t.error(e)},()=>{var e,t;r&&(null===(e=u.unsubscribe)||void 0===e||e.call(u)),null===(t=u.finalize)||void 0===t||t.call(u)}))}):i.D}},1227:(e,t,n)=>{"use strict";n.d(t,{Eg:()=>c,Ij:()=>r,gV:()=>a});var r,s=n(6751),o=n(1169),i=n(7618),u=n(7007);!function(e){e.NEXT="N",e.ERROR="E",e.COMPLETE="C"}(r||(r={}));class c{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){return a(this,e)}do(e,t,n){const{kind:r,value:s,error:o}=this;return"N"===r?null==e?void 0:e(s):"E"===r?null==t?void 0:t(o):null==n?void 0:n()}accept(e,t,n){var r;return(0,u.T)(null===(r=e)||void 0===r?void 0:r.next)?this.observe(e):this.do(e,t,n)}toObservable(){const{kind:e,value:t,error:n}=this,r="N"===e?(0,o.of)(t):"E"===e?(0,i.$)(()=>n):"C"===e?s.w:0;if(!r)throw new TypeError(`Unexpected notification kind ${e}`);return r}static createNext(e){return new c("N",e)}static createError(e){return new c("E",void 0,e)}static createComplete(){return c.completeNotification}}function a(e,t){var n,r,s;const{kind:o,value:i,error:u}=e;if("string"!=typeof o)throw new TypeError('Invalid notification, missing "kind"');"N"===o?null===(n=t.next)||void 0===n||n.call(t,i):"E"===o?null===(r=t.error)||void 0===r||r.call(t,u):null===(s=t.complete)||void 0===s||s.call(t)}c.completeNotification=new c("C")},1276:(e,t,n)=>{"use strict";function r(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}n.d(t,{o:()=>r})},1374:(e,t,n)=>{"use strict";n.d(t,{d:()=>u});var r=n(6702),s=n(2464),o=n(151),i=n(3878);function u(e,t){return(0,r.N)((n,r)=>{const u=new Set;n.subscribe((0,s._)(r,t=>{const n=e?e(t):t;u.has(n)||(u.add(n),r.next(t))})),t&&(0,i.Tg)(t).subscribe((0,s._)(r,()=>u.clear(),o.l))})}},1457:(e,t,n)=>{"use strict";n.d(t,{q:()=>o});var r=n(6280),s=n(1169);function o(...e){return t=>(0,r.x)(t,(0,s.of)(...e))}},1530:(e,t,n)=>{"use strict";n.d(t,{p:()=>u});var r=n(7290),s=n(6702),o=n(2464),i=n(3878);function u(e){return(0,s.N)((t,n)=>{let s,u;const c=e=>{s.error(e),n.error(e)},a=()=>{let t;null==u||u.unsubscribe(),null==s||s.complete(),s=new r.B,n.next(s.asObservable());try{t=(0,i.Tg)(e())}catch(e){return void c(e)}t.subscribe(u=(0,o._)(n,a,a,c))};a(),t.subscribe((0,o._)(n,e=>s.next(e),()=>{s.complete(),n.complete()},c,()=>{null==u||u.unsubscribe(),s=null}))})}},1571:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});var r=n(7290),s=n(6702),o=n(2464);function i(e,t=0){const n=t>0?t:e;return(0,s.N)((t,s)=>{let i=[new r.B],u=[],c=0;s.next(i[0].asObservable()),t.subscribe((0,o._)(s,t=>{for(const e of i)e.next(t);const o=c-e+1;if(o>=0&&o%n===0&&i.shift().complete(),++c%n===0){const e=new r.B;i.push(e),s.next(e.asObservable())}},()=>{for(;i.length>0;)i.shift().complete();s.complete()},e=>{for(;i.length>0;)i.shift().error(e);s.error(e)},()=>{u=null,i=null}))})}},1655:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(772),s=n(3193);function o(e){return(0,s.q)(r.z,e)}},1724:(e,t,n)=>{"use strict";n.d(t,{j:()=>s});var r=n(6702);function s(e){return(0,r.N)((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}},1801:(e,t,n)=>{"use strict";n.d(t,{T:()=>s});var r=n(7007);function s(e){return Symbol.asyncIterator&&(0,r.T)(null==e?void 0:e[Symbol.asyncIterator])}},1860:(e,t,n)=>{"use strict";n.d(t,{t:()=>o});var r=n(7947),s=n(5927);function o(e,t,n){let o,i=!1;return e&&"object"==typeof e?({bufferSize:o=1/0,windowTime:t=1/0,refCount:i=!1,scheduler:n}=e):o=null!=e?e:1/0,(0,s.u)({connector:()=>new r.m(o,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}},1885:(e,t,n)=>{"use strict";n.d(t,{w:()=>s});var r=n(2950);function s(e,t){return(0,r.F)((n,r)=>t?t(n[e],r[e]):n[e]===r[e])}},1897:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});const r={now:()=>(r.delegate||Date).now(),delegate:void 0}},1940:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var r=n(7985),s=n(6702);function o(e,t){return(0,s.N)((0,r.S)(e,t,arguments.length>=2,!1,!0))}},1950:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ArgumentOutOfRangeError:()=>X.k,AsyncSubject:()=>m.h,BehaviorSubject:()=>h.t,ConnectableObservable:()=>s.G,EMPTY:()=>ve.w,EmptyError:()=>Z.G,NEVER:()=>Me,NotFoundError:()=>Q.m,Notification:()=>B.Eg,NotificationKind:()=>B.Ij,ObjectUnsubscribedError:()=>ee.P,Observable:()=>r.c,ReplaySubject:()=>p.m,Scheduler:()=>U._,SequenceError:()=>te.I,Subject:()=>f.B,Subscriber:()=>W.vU,Subscription:()=>u.yU,TimeoutError:()=>ne.M,UnsubscriptionError:()=>re.Z,VirtualAction:()=>D,VirtualTimeScheduler:()=>F,animationFrame:()=>q,animationFrameScheduler:()=>L,animationFrames:()=>a,asap:()=>O,asapScheduler:()=>S,async:()=>A.b,asyncScheduler:()=>A.E,audit:()=>Je.s,auditTime:()=>Ke.Z,bindCallback:()=>ae,bindNodeCallback:()=>le,buffer:()=>Ze.r,bufferCount:()=>Ge.S,bufferTime:()=>Ye.w,bufferToggle:()=>Xe.H,bufferWhen:()=>Qe.n,catchError:()=>et.W,combineAll:()=>tt.p,combineLatest:()=>de.z,combineLatestAll:()=>nt.A,combineLatestWith:()=>rt.v,concat:()=>fe.x,concatAll:()=>st.K,concatMap:()=>ot.H,concatMapTo:()=>it.S,concatWith:()=>ut.$,config:()=>Ve.$,connect:()=>ct.N,connectable:()=>be,count:()=>at.U,debounce:()=>lt.s,debounceTime:()=>dt.B,defaultIfEmpty:()=>ft.U,defer:()=>pe,delay:()=>ht.c,delayWhen:()=>pt.o,dematerialize:()=>mt.Z,distinct:()=>bt.d,distinctUntilChanged:()=>vt.F,distinctUntilKeyChanged:()=>gt.w,elementAt:()=>yt.s,empty:()=>ve.I,endWith:()=>wt.q,every:()=>xt.S,exhaust:()=>Nt.B,exhaustAll:()=>Tt.C,exhaustMap:()=>_t.p,expand:()=>Ct.f,filter:()=>Le.p,finalize:()=>Et.j,find:()=>Pt.I,findIndex:()=>St.S,first:()=>Ot.$,firstValueFrom:()=>Y._,flatMap:()=>Ft.q,forkJoin:()=>Ne,from:()=>Te.H,fromEvent:()=>_e.R,fromEventPattern:()=>Ce,generate:()=>Pe,groupBy:()=>At.$,identity:()=>V.D,ignoreElements:()=>Mt.w,iif:()=>Se,interval:()=>Oe.Y,isEmpty:()=>It.I,isObservable:()=>K,last:()=>Rt.H,lastValueFrom:()=>G,map:()=>jt.T,mapTo:()=>$t.u,materialize:()=>kt.O,max:()=>Lt.T,merge:()=>Ae.h,mergeAll:()=>qt.U,mergeMap:()=>Dt.Z,mergeMapTo:()=>Ut.C,mergeScan:()=>Wt.i,mergeWith:()=>Bt.X,min:()=>Ht.j,multicast:()=>zt.f,never:()=>Ie,noop:()=>z.l,observable:()=>o.s,observeOn:()=>ue.Q,of:()=>Re.of,onErrorResumeNext:()=>je.g,onErrorResumeNextWith:()=>Vt.w,pairs:()=>$e,pairwise:()=>Jt.J,partition:()=>qe,pipe:()=>H.F,pluck:()=>Kt.E,publish:()=>Zt.m,publishBehavior:()=>Gt.K,publishLast:()=>Yt.k,publishReplay:()=>Xt.H,queue:()=>j,queueScheduler:()=>R,race:()=>Fe.O,raceWith:()=>Qt.w,range:()=>De,reduce:()=>en.T,refCount:()=>on.B,repeat:()=>tn.u,repeatWhen:()=>nn.Y,retry:()=>rn.L,retryWhen:()=>sn.l,sample:()=>un.X,sampleTime:()=>cn.q,scan:()=>an.S,scheduled:()=>ze.c,sequenceEqual:()=>ln.m,share:()=>dn.u,shareReplay:()=>fn.t,single:()=>hn.J,skip:()=>pn.i,skipLast:()=>mn.G,skipUntil:()=>bn.U,skipWhile:()=>vn.j,startWith:()=>gn.Z,subscribeOn:()=>oe._,switchAll:()=>yn.w,switchMap:()=>wn.n,switchMapTo:()=>xn.K,switchScan:()=>Nn.m,take:()=>Tn.s,takeLast:()=>_n.o,takeUntil:()=>Cn.Q,takeWhile:()=>En.v,tap:()=>Pn.M,throttle:()=>Sn.n,throttleTime:()=>On.c,throwError:()=>Ue.$,throwIfEmpty:()=>An.v,timeInterval:()=>Mn.f,timeout:()=>ne.w,timeoutWith:()=>In.o,timer:()=>We.O,timestamp:()=>Rn.v,toArray:()=>jn.$,using:()=>Be,window:()=>$n.x,windowCount:()=>kn.k,windowTime:()=>Ln.s,windowToggle:()=>qn.J,windowWhen:()=>Fn.p,withLatestFrom:()=>Dn.E,zip:()=>He.y,zipAll:()=>Un.x,zipWith:()=>Wn.O});var r=n(6857),s=n(9817),o=n(9774);const i={now:()=>(i.delegate||performance).now(),delegate:void 0};var u=n(3713);const c={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:r}=c;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);const s=t(t=>{n=void 0,e(t)});return new u.yU(()=>null==n?void 0:n(s))},requestAnimationFrame(...e){const{delegate:t}=c;return((null==t?void 0:t.requestAnimationFrame)||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:t}=c;return((null==t?void 0:t.cancelAnimationFrame)||cancelAnimationFrame)(...e)},delegate:void 0};function a(e){return e?l(e):d}function l(e){return new r.c(t=>{const n=e||i,r=n.now();let s=0;const o=()=>{t.closed||(s=c.requestAnimationFrame(i=>{s=0;const u=n.now();t.next({timestamp:e?u:i,elapsed:u-r}),o()}))};return o(),()=>{s&&c.cancelAnimationFrame(s)}})}const d=l();var f=n(7290),h=n(5524),p=n(7947),m=n(7036),b=n(7078);let v,g=1;const y={};function w(e){return e in y&&(delete y[e],!0)}const x={setImmediate(e){const t=g++;return y[t]=!0,v||(v=Promise.resolve()),v.then(()=>w(t)&&e()),t},clearImmediate(e){w(e)}},{setImmediate:N,clearImmediate:T}=x,_={setImmediate(...e){const{delegate:t}=_;return((null==t?void 0:t.setImmediate)||N)(...e)},clearImmediate(e){const{delegate:t}=_;return((null==t?void 0:t.clearImmediate)||T)(e)},delegate:void 0};class C extends b.R{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e._scheduled||(e._scheduled=_.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,t,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(e,t,n);const{actions:s}=e;null!=t&&(null===(r=s[s.length-1])||void 0===r?void 0:r.id)!==t&&(_.clearImmediate(t),e._scheduled===t&&(e._scheduled=void 0))}}var E=n(9771);class P extends E.q{flush(e){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let r;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}}}const S=new P(C),O=S;var A=n(5260);class M extends b.R{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,n=0){return null!=n&&n>0||null==n&&this.delay>0?super.requestAsyncId(e,t,n):(e.flush(this),0)}}class I extends E.q{}const R=new I(M),j=R;class $ extends b.R{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e._scheduled||(e._scheduled=c.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,t,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(e,t,n);const{actions:s}=e;null!=t&&t===e._scheduled&&(null===(r=s[s.length-1])||void 0===r?void 0:r.id)!==t&&(c.cancelAnimationFrame(t),e._scheduled=void 0)}}class k extends E.q{flush(e){let t;this._active=!0,e?t=e.id:(t=this._scheduled,this._scheduled=void 0);const{actions:n}=this;let r;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}}}const L=new k($),q=L;class F extends E.q{constructor(e=D,t=1/0){super(e,()=>this.frame),this.maxFrames=t,this.frame=0,this.index=-1}flush(){const{actions:e,maxFrames:t}=this;let n,r;for(;(r=e[0])&&r.delay<=t&&(e.shift(),this.frame=r.delay,!(n=r.execute(r.state,r.delay))););if(n){for(;r=e.shift();)r.unsubscribe();throw n}}}F.frameTimeFactor=10;class D extends b.R{constructor(e,t,n=(e.index+=1)){super(e,t),this.scheduler=e,this.work=t,this.index=n,this.active=!0,this.index=e.index=n}schedule(e,t=0){if(Number.isFinite(t)){if(!this.id)return super.schedule(e,t);this.active=!1;const n=new D(this.scheduler,this.work);return this.add(n),n.schedule(e,t)}return u.yU.EMPTY}requestAsyncId(e,t,n=0){this.delay=e.frame+n;const{actions:r}=e;return r.push(this),r.sort(D.sortActions),1}recycleAsyncId(e,t,n=0){}_execute(e,t){if(!0===this.active)return super._execute(e,t)}static sortActions(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1}}var U=n(5159),W=n(6968),B=n(1227),H=n(2571),z=n(151),V=n(6781),J=n(7007);function K(e){return!!e&&(e instanceof r.c||(0,J.T)(e.lift)&&(0,J.T)(e.subscribe))}var Z=n(3422);function G(e,t){const n="object"==typeof t;return new Promise((r,s)=>{let o,i=!1;e.subscribe({next:e=>{o=e,i=!0},error:s,complete:()=>{i?r(o):n?r(t.defaultValue):s(new Z.G)}})})}var Y=n(5011),X=n(3078),Q=n(2512),ee=n(2965),te=n(386),ne=n(591),re=n(3479),se=n(6486),oe=n(5761),ie=n(5194),ue=n(1013);function ce(e,t,n,s){if(n){if(!(0,se.m)(n))return function(...r){return ce(e,t,s).apply(this,r).pipe((0,ie.I)(n))};s=n}return s?function(...n){return ce(e,t).apply(this,n).pipe((0,oe._)(s),(0,ue.Q)(s))}:function(...n){const s=new m.h;let o=!0;return new r.c(r=>{const i=s.subscribe(r);if(o){o=!1;let r=!1,i=!1;t.apply(this,[...n,(...t)=>{if(e){const e=t.shift();if(null!=e)return void s.error(e)}s.next(1<t.length?t:t[0]),i=!0,r&&s.complete()}]),i&&s.complete(),r=!0}return i})}}function ae(e,t,n){return ce(!1,e,t,n)}function le(e,t,n){return ce(!0,e,t,n)}var de=n(772),fe=n(6280),he=n(3878);function pe(e){return new r.c(t=>{(0,he.Tg)(e()).subscribe(t)})}const me={connector:()=>new f.B,resetOnDisconnect:!0};function be(e,t=me){let n=null;const{connector:s,resetOnDisconnect:o=!0}=t;let i=s();const u=new r.c(e=>i.subscribe(e));return u.connect=()=>(n&&!n.closed||(n=pe(()=>e).subscribe(i),o&&n.add(()=>i=s())),n),u}var ve=n(6751),ge=n(6569),ye=n(8918),we=n(2464),xe=n(616);function Ne(...e){const t=(0,ye.ms)(e),{args:n,keys:s}=(0,ge.D)(e),o=new r.c(e=>{const{length:t}=n;if(!t)return void e.complete();const r=new Array(t);let o=t,i=t;for(let u=0;u<t;u++){let t=!1;(0,he.Tg)(n[u]).subscribe((0,we._)(e,e=>{t||(t=!0,i--),r[u]=e},()=>o--,void 0,()=>{o&&t||(i||e.next(s?(0,xe.e)(s,r):r),e.complete())}))}});return t?o.pipe((0,ie.I)(t)):o}var Te=n(7348),_e=n(2774);function Ce(e,t,n){return n?Ce(e,t).pipe((0,ie.I)(n)):new r.c(n=>{const r=(...e)=>n.next(1===e.length?e[0]:e),s=e(r);return(0,J.T)(t)?()=>t(r,s):void 0})}var Ee=n(1079);function Pe(e,t,n,r,s){let o,i;function*u(){for(let e=i;!t||t(e);e=n(e))yield o(e)}return 1===arguments.length?({initialState:i,condition:t,iterate:n,resultSelector:o=V.D,scheduler:s}=e):(i=e,!r||(0,se.m)(r)?(o=V.D,s=r):o=r),pe(s?()=>(0,Ee.S)(u(),s):u)}function Se(e,t,n){return pe(()=>e()?t:n)}var Oe=n(837),Ae=n(2786);const Me=new r.c(z.l);function Ie(){return Me}var Re=n(1169),je=n(2421);function $e(e,t){return(0,Te.H)(Object.entries(e),t)}var ke=n(6410),Le=n(9732);function qe(e,t,n){return[(0,Le.p)(t,n)((0,he.Tg)(e)),(0,Le.p)((0,ke.A)(t,n))((0,he.Tg)(e))]}var Fe=n(881);function De(e,t,n){if(null==t&&(t=e,e=0),t<=0)return ve.w;const s=t+e;return new r.c(n?t=>{let r=e;return n.schedule(function(){r<s?(t.next(r++),this.schedule()):t.complete()})}:t=>{let n=e;for(;n<s&&!t.closed;)t.next(n++);t.complete()})}var Ue=n(7618),We=n(6231);function Be(e,t){return new r.c(n=>{const r=e(),s=t(r);return(s?(0,he.Tg)(s):ve.w).subscribe(n),()=>{r&&r.unsubscribe()}})}var He=n(5917),ze=n(3172),Ve=n(3834),Je=n(7895),Ke=n(6114),Ze=n(5296),Ge=n(8501),Ye=n(6077),Xe=n(8812),Qe=n(8236),et=n(3285),tt=n(3290),nt=n(1655),rt=n(478),st=n(6643),ot=n(2106),it=n(4079),ut=n(626),ct=n(5017),at=n(4755),lt=n(9013),dt=n(848),ft=n(8981),ht=n(8631),pt=n(6807),mt=n(9500),bt=n(1374),vt=n(2950),gt=n(1885),yt=n(3773),wt=n(1457),xt=n(3995),Nt=n(9158),Tt=n(931),_t=n(3210),Ct=n(3458),Et=n(1724),Pt=n(3685),St=n(4417),Ot=n(6418),At=n(8722),Mt=n(5853),It=n(6681),Rt=n(3938),jt=n(3002),$t=n(831),kt=n(9237),Lt=n(7170),qt=n(4677),Ft=n(51),Dt=n(108),Ut=n(7309),Wt=n(8361),Bt=n(4),Ht=n(2668),zt=n(9066),Vt=n(2939),Jt=n(6770),Kt=n(8053),Zt=n(5199),Gt=n(6261),Yt=n(111),Xt=n(9532),Qt=n(5319),en=n(1940),tn=n(6661),nn=n(7429),rn=n(8170),sn=n(6358),on=n(6850),un=n(2700),cn=n(609),an=n(9388),ln=n(8327),dn=n(5927),fn=n(1860),hn=n(2994),pn=n(7893),mn=n(7121),bn=n(3941),vn=n(7716),gn=n(6428),yn=n(7391),wn=n(2590),xn=n(9187),Nn=n(203),Tn=n(5697),_n=n(2173),Cn=n(57),En=n(6592),Pn=n(1205),Sn=n(238),On=n(2891),An=n(2998),Mn=n(6726),In=n(5815),Rn=n(5128),jn=n(7594),$n=n(7302),kn=n(1571),Ln=n(4563),qn=n(5062),Fn=n(1530),Dn=n(5601),Un=n(4476),Wn=n(8923)},2011:(e,t,n)=>{"use strict";function r(e){return e instanceof Date&&!isNaN(e)}n.d(t,{v:()=>r})},2106:(e,t,n)=>{"use strict";n.d(t,{H:()=>o});var r=n(108),s=n(7007);function o(e,t){return(0,s.T)(t)?(0,r.Z)(e,t,1):(0,r.Z)(e,1)}},2124:(e,t,n)=>{"use strict";n.d(t,{h:()=>u});var r=n(6702),s=n(4677),o=n(8918),i=n(7348);function u(...e){const t=(0,o.lI)(e),n=(0,o.R0)(e,1/0);return(0,r.N)((r,o)=>{(0,s.U)(n)((0,i.H)([r,...e],t)).subscribe(o)})}},2173:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(6751),s=n(6702),o=n(2464);function i(e){return e<=0?()=>r.w:(0,s.N)((t,n)=>{let r=[];t.subscribe((0,o._)(n,t=>{r.push(t),e<r.length&&r.shift()},()=>{for(const e of r)n.next(e);n.complete()},void 0,()=>{r=null}))})}},2421:(e,t,n)=>{"use strict";n.d(t,{g:()=>c});var r=n(6857),s=n(3918),o=n(2464),i=n(151),u=n(3878);function c(...e){const t=(0,s.K)(e);return new r.c(e=>{let n=0;const r=()=>{if(n<t.length){let s;try{s=(0,u.Tg)(t[n++])}catch(e){return void r()}const c=new o.H(e,void 0,i.l,i.l);s.subscribe(c),c.add(r)}else e.complete()};r()})}},2464:(e,t,n)=>{"use strict";n.d(t,{H:()=>o,_:()=>s});var r=n(6968);function s(e,t,n,r,s){return new o(e,t,n,r,s)}class o extends r.vU{constructor(e,t,n,r,s,o){super(e),this.onFinalize=s,this.shouldUnsubscribe=o,this._next=t?function(n){try{t(n)}catch(t){e.error(t)}}:super._next,this._error=r?function(t){try{r(t)}catch(t){e.error(t)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(t){e.error(t)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}}}},2468:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,U:()=>i});var r=n(5608),s=n(7007);function o(e){return(0,r.AQ)(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:e,done:n}=yield(0,r.N3)(t.read());if(n)return yield(0,r.N3)(void 0);yield yield(0,r.N3)(e)}}finally{t.releaseLock()}})}function i(e){return(0,s.T)(null==e?void 0:e.getReader)}},2512:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});const r=(0,n(7653).L)(e=>function(t){e(this),this.name="NotFoundError",this.message=t})},2571:(e,t,n)=>{"use strict";n.d(t,{F:()=>s,m:()=>o});var r=n(6781);function s(...e){return o(e)}function o(e){return 0===e.length?r.D:1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}}},2590:(e,t,n)=>{"use strict";n.d(t,{n:()=>i});var r=n(3878),s=n(6702),o=n(2464);function i(e,t){return(0,s.N)((n,s)=>{let i=null,u=0,c=!1;const a=()=>c&&!i&&s.complete();n.subscribe((0,o._)(s,n=>{null==i||i.unsubscribe();let c=0;const l=u++;(0,r.Tg)(e(n,l)).subscribe(i=(0,o._)(s,e=>s.next(t?t(n,e,l,c++):e),()=>{i=null,a()}))},()=>{c=!0,a()}))})}},2668:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});var r=n(1940),s=n(7007);function o(e){return(0,r.T)((0,s.T)(e)?(t,n)=>e(t,n)<0?t:n:(e,t)=>e<t?e:t)}},2700:(e,t,n)=>{"use strict";n.d(t,{X:()=>u});var r=n(3878),s=n(6702),o=n(151),i=n(2464);function u(e){return(0,s.N)((t,n)=>{let s=!1,u=null;t.subscribe((0,i._)(n,e=>{s=!0,u=e})),(0,r.Tg)(e).subscribe((0,i._)(n,()=>{if(s){s=!1;const e=u;u=null,n.next(e)}},o.l))})}},2774:(e,t,n)=>{"use strict";n.d(t,{R:()=>f});var r=n(3878),s=n(6857),o=n(108),i=n(9257),u=n(7007),c=n(5194);const a=["addListener","removeListener"],l=["addEventListener","removeEventListener"],d=["on","off"];function f(e,t,n,p){if((0,u.T)(n)&&(p=n,n=void 0),p)return f(e,t,n).pipe((0,c.I)(p));const[m,b]=function(e){return(0,u.T)(e.addEventListener)&&(0,u.T)(e.removeEventListener)}(e)?l.map(r=>s=>e[r](t,s,n)):function(e){return(0,u.T)(e.addListener)&&(0,u.T)(e.removeListener)}(e)?a.map(h(e,t)):function(e){return(0,u.T)(e.on)&&(0,u.T)(e.off)}(e)?d.map(h(e,t)):[];if(!m&&(0,i.X)(e))return(0,o.Z)(e=>f(e,t,n))((0,r.Tg)(e));if(!m)throw new TypeError("Invalid event target");return new s.c(e=>{const t=(...t)=>e.next(1<t.length?t:t[0]);return m(t),()=>b(t)})}function h(e,t){return n=>r=>e[n](t,r)}},2786:(e,t,n)=>{"use strict";n.d(t,{h:()=>c});var r=n(4677),s=n(3878),o=n(6751),i=n(8918),u=n(7348);function c(...e){const t=(0,i.lI)(e),n=(0,i.R0)(e,1/0),c=e;return c.length?1===c.length?(0,s.Tg)(c[0]):(0,r.U)(n)((0,u.H)(c,t)):o.w}},2891:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(5260),s=n(238),o=n(6231);function i(e,t=r.E,n){const i=(0,o.O)(e,t);return(0,s.n)(()=>i,n)}},2939:(e,t,n)=>{"use strict";n.d(t,{g:()=>i,w:()=>o});var r=n(3918),s=n(2421);function o(...e){const t=(0,r.K)(e);return e=>(0,s.g)(e,...t)}const i=o},2950:(e,t,n)=>{"use strict";n.d(t,{F:()=>i});var r=n(6781),s=n(6702),o=n(2464);function i(e,t=r.D){return e=null!=e?e:u,(0,s.N)((n,r)=>{let s,i=!0;n.subscribe((0,o._)(r,n=>{const o=t(n);!i&&e(s,o)||(i=!1,s=o,r.next(n))}))})}function u(e,t){return e===t}},2965:(e,t,n)=>{"use strict";n.d(t,{P:()=>r});const r=(0,n(7653).L)(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"})},2994:(e,t,n)=>{"use strict";n.d(t,{J:()=>c});var r=n(3422),s=n(386),o=n(2512),i=n(6702),u=n(2464);function c(e){return(0,i.N)((t,n)=>{let i,c=!1,a=!1,l=0;t.subscribe((0,u._)(n,r=>{a=!0,e&&!e(r,l++,t)||(c&&n.error(new s.I("Too many matching values")),c=!0,i=r)},()=>{c?(n.next(i),n.complete()):n.error(a?new o.m("No matching values"):new r.G)}))})}},2998:(e,t,n)=>{"use strict";n.d(t,{v:()=>i});var r=n(3422),s=n(6702),o=n(2464);function i(e=u){return(0,s.N)((t,n)=>{let r=!1;t.subscribe((0,o._)(n,e=>{r=!0,n.next(e)},()=>r?n.complete():n.error(e())))})}function u(){return new r.G}},3002:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var r=n(6702),s=n(2464);function o(e,t){return(0,r.N)((n,r)=>{let o=0;n.subscribe((0,s._)(r,n=>{r.next(e.call(t,n,o++))}))})}},3078:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});const r=(0,n(7653).L)(e=>function(){e(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"})},3172:(e,t,n)=>{"use strict";n.d(t,{c:()=>v});var r=n(3878),s=n(1013),o=n(5761),i=n(6857),u=n(1079),c=n(3873);function a(e,t){if(!e)throw new Error("Iterable cannot be null");return new i.c(n=>{(0,c.N)(n,t,()=>{const r=e[Symbol.asyncIterator]();(0,c.N)(n,t,()=>{r.next().then(e=>{e.done?n.complete():n.next(e.value)})},0,!0)})})}var l=n(5703),d=n(9178),f=n(9257),h=n(7773),p=n(1801),m=n(6919),b=n(2468);function v(e,t){if(null!=e){if((0,l.l)(e))return function(e,t){return(0,r.Tg)(e).pipe((0,o._)(t),(0,s.Q)(t))}(e,t);if((0,f.X)(e))return function(e,t){return new i.c(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if((0,d.y)(e))return function(e,t){return(0,r.Tg)(e).pipe((0,o._)(t),(0,s.Q)(t))}(e,t);if((0,p.T)(e))return a(e,t);if((0,h.x)(e))return(0,u.S)(e,t);if((0,b.U)(e))return function(e,t){return a((0,b.C)(e),t)}(e,t)}throw(0,m.L)(e)}},3193:(e,t,n)=>{"use strict";n.d(t,{q:()=>c});var r=n(6781),s=n(5194),o=n(2571),i=n(108),u=n(7594);function c(e,t){return(0,o.F)((0,u.$)(),(0,i.Z)(t=>e(t)),t?(0,s.I)(t):r.D)}},3210:(e,t,n)=>{"use strict";n.d(t,{p:()=>u});var r=n(3002),s=n(3878),o=n(6702),i=n(2464);function u(e,t){return t?n=>n.pipe(u((n,o)=>(0,s.Tg)(e(n,o)).pipe((0,r.T)((e,r)=>t(n,e,o,r))))):(0,o.N)((t,n)=>{let r=0,o=null,u=!1;t.subscribe((0,i._)(n,t=>{o||(o=(0,i._)(n,void 0,()=>{o=null,u&&n.complete()}),(0,s.Tg)(e(t,r++)).subscribe(o))},()=>{u=!0,!o&&n.complete()}))})}},3285:(e,t,n)=>{"use strict";n.d(t,{W:()=>i});var r=n(3878),s=n(2464),o=n(6702);function i(e){return(0,o.N)((t,n)=>{let o,u=null,c=!1;u=t.subscribe((0,s._)(n,void 0,void 0,s=>{o=(0,r.Tg)(e(s,i(e)(t))),u?(u.unsubscribe(),u=null,o.subscribe(n)):c=!0})),c&&(u.unsubscribe(),u=null,o.subscribe(n))})}},3290:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});const r=n(1655).A},3422:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});const r=(0,n(7653).L)(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"})},3458:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});var r=n(6702),s=n(9132);function o(e,t=1/0,n){return t=(t||0)<1?1/0:t,(0,r.N)((r,o)=>(0,s.h)(r,o,e,t,void 0,!0,n))}},3479:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=(0,n(7653).L)(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t})},3685:(e,t,n)=>{"use strict";n.d(t,{I:()=>o,k:()=>i});var r=n(6702),s=n(2464);function o(e,t){return(0,r.N)(i(e,t,"value"))}function i(e,t,n){const r="index"===n;return(n,o)=>{let i=0;n.subscribe((0,s._)(o,s=>{const u=i++;e.call(t,s,u,n)&&(o.next(r?u:s),o.complete())},()=>{o.next(r?-1:void 0),o.complete()}))}}},3713:(e,t,n)=>{"use strict";n.d(t,{Kn:()=>u,Uv:()=>c,yU:()=>i});var r=n(7007),s=n(3479),o=n(1276);class i{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const e of t)e.remove(this);else t.remove(this);const{initialTeardown:n}=this;if((0,r.T)(n))try{n()}catch(t){e=t instanceof s.Z?t.errors:[t]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const t of o)try{a(t)}catch(t){e=null!=e?e:[],t instanceof s.Z?e=[...e,...t.errors]:e.push(t)}}if(e)throw new s.Z(e)}}add(e){var t;if(e&&e!==this)if(this.closed)a(e);else{if(e instanceof i){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(e)}}_hasParent(e){const{_parentage:t}=this;return t===e||Array.isArray(t)&&t.includes(e)}_addParent(e){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e}_removeParent(e){const{_parentage:t}=this;t===e?this._parentage=null:Array.isArray(t)&&(0,o.o)(t,e)}remove(e){const{_finalizers:t}=this;t&&(0,o.o)(t,e),e instanceof i&&e._removeParent(this)}}i.EMPTY=(()=>{const e=new i;return e.closed=!0,e})();const u=i.EMPTY;function c(e){return e instanceof i||e&&"closed"in e&&(0,r.T)(e.remove)&&(0,r.T)(e.add)&&(0,r.T)(e.unsubscribe)}function a(e){(0,r.T)(e)?e():e.unsubscribe()}},3773:(e,t,n)=>{"use strict";n.d(t,{s:()=>c});var r=n(3078),s=n(9732),o=n(2998),i=n(8981),u=n(5697);function c(e,t){if(e<0)throw new r.k;const n=arguments.length>=2;return c=>c.pipe((0,s.p)((t,n)=>n===e),(0,u.s)(1),n?(0,i.U)(t):(0,o.v)(()=>new r.k))}},3834:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});const r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3873:(e,t,n)=>{"use strict";function r(e,t,n,r=0,s=!1){const o=t.schedule(function(){n(),s?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!s)return o}n.d(t,{N:()=>r})},3878:(e,t,n)=>{"use strict";n.d(t,{Tg:()=>m});var r=n(5608),s=n(9257),o=n(9178),i=n(6857),u=n(5703),c=n(1801),a=n(6919),l=n(7773),d=n(2468),f=n(7007),h=n(5390),p=n(9774);function m(e){if(e instanceof i.c)return e;if(null!=e){if((0,u.l)(e))return v=e,new i.c(e=>{const t=v[p.s]();if((0,f.T)(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")});if((0,s.X)(e))return m=e,new i.c(e=>{for(let t=0;t<m.length&&!e.closed;t++)e.next(m[t]);e.complete()});if((0,o.y)(e))return r=e,new i.c(e=>{r.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,h.m)});if((0,c.T)(e))return b(e);if((0,l.x)(e))return n=e,new i.c(e=>{for(const t of n)if(e.next(t),e.closed)return;e.complete()});if((0,d.U)(e))return t=e,b((0,d.C)(t))}var t,n,r,m,v;throw(0,a.L)(e)}function b(e){return new i.c(t=>{(function(e,t){var n,s,o,i;return(0,r.sH)(this,void 0,void 0,function*(){try{for(n=(0,r.xN)(e);!(s=yield n.next()).done;){const e=s.value;if(t.next(e),t.closed)return}}catch(e){o={error:e}}finally{try{s&&!s.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(e=>t.error(e))})}},3918:(e,t,n)=>{"use strict";n.d(t,{K:()=>s});const{isArray:r}=Array;function s(e){return 1===e.length&&r(e[0])?e[0]:e}},3938:(e,t,n)=>{"use strict";n.d(t,{H:()=>a});var r=n(3422),s=n(9732),o=n(2173),i=n(2998),u=n(8981),c=n(6781);function a(e,t){const n=arguments.length>=2;return a=>a.pipe(e?(0,s.p)((t,n)=>e(t,n,a)):c.D,(0,o.o)(1),n?(0,u.U)(t):(0,i.v)(()=>new r.G))}},3941:(e,t,n)=>{"use strict";n.d(t,{U:()=>u});var r=n(6702),s=n(2464),o=n(3878),i=n(151);function u(e){return(0,r.N)((t,n)=>{let r=!1;const u=(0,s._)(n,()=>{null==u||u.unsubscribe(),r=!0},i.l);(0,o.Tg)(e).subscribe(u),t.subscribe((0,s._)(n,e=>r&&n.next(e)))})}},3995:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var r=n(6702),s=n(2464);function o(e,t){return(0,r.N)((n,r)=>{let o=0;n.subscribe((0,s._)(r,s=>{e.call(t,s,o++,n)||(r.next(!1),r.complete())},()=>{r.next(!0),r.complete()}))})}},4079:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var r=n(2106),s=n(7007);function o(e,t){return(0,s.T)(t)?(0,r.H)(()=>e,t):(0,r.H)(()=>e)}},4417:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var r=n(6702),s=n(3685);function o(e,t){return(0,r.N)((0,s.k)(e,t,"index"))}},4476:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});var r=n(5917),s=n(3193);function o(e){return(0,s.q)(r.y,e)}},4563:(e,t,n)=>{"use strict";n.d(t,{s:()=>d});var r=n(7290),s=n(5260),o=n(3713),i=n(6702),u=n(2464),c=n(1276),a=n(8918),l=n(3873);function d(e,...t){var n,d;const f=null!==(n=(0,a.lI)(t))&&void 0!==n?n:s.E,h=null!==(d=t[0])&&void 0!==d?d:null,p=t[1]||1/0;return(0,i.N)((t,n)=>{let s=[],i=!1;const a=e=>{const{window:t,subs:n}=e;t.complete(),n.unsubscribe(),(0,c.o)(s,e),i&&d()},d=()=>{if(s){const t=new o.yU;n.add(t);const i=new r.B,u={window:i,subs:t,seen:0};s.push(u),n.next(i.asObservable()),(0,l.N)(t,f,()=>a(u),e)}};null!==h&&h>=0?(0,l.N)(n,f,d,h,!0):i=!0,d();const m=e=>s.slice().forEach(e),b=e=>{m(({window:t})=>e(t)),e(n),n.unsubscribe()};return t.subscribe((0,u._)(n,e=>{m(t=>{t.window.next(e),p<=++t.seen&&a(t)})},()=>b(e=>e.complete()),e=>b(t=>t.error(e)))),()=>{s=null}})}},4677:(e,t,n)=>{"use strict";n.d(t,{U:()=>o});var r=n(108),s=n(6781);function o(e=1/0){return(0,r.Z)(s.D,e)}},4755:(e,t,n)=>{"use strict";n.d(t,{U:()=>s});var r=n(1940);function s(e){return(0,r.T)((t,n,r)=>!e||e(n,r)?t+1:t,0)}},5011:(e,t,n)=>{"use strict";n.d(t,{_:()=>o});var r=n(3422),s=n(6968);function o(e,t){const n="object"==typeof t;return new Promise((o,i)=>{const u=new s.Ms({next:e=>{o(e),u.unsubscribe()},error:i,complete:()=>{n?o(t.defaultValue):i(new r.G)}});e.subscribe(u)})}},5017:(e,t,n)=>{"use strict";n.d(t,{N:()=>c});var r=n(7290),s=n(3878),o=n(6702),i=n(6857);const u={connector:()=>new r.B};function c(e,t=u){const{connector:n}=t;return(0,o.N)((t,r)=>{const o=n();var u;(0,s.Tg)(e((u=o,new i.c(e=>u.subscribe(e))))).subscribe(r),r.add(t.subscribe(o))})}},5062:(e,t,n)=>{"use strict";n.d(t,{J:()=>l});var r=n(7290),s=n(3713),o=n(6702),i=n(3878),u=n(2464),c=n(151),a=n(1276);function l(e,t){return(0,o.N)((n,o)=>{const l=[],d=e=>{for(;0<l.length;)l.shift().error(e);o.error(e)};(0,i.Tg)(e).subscribe((0,u._)(o,e=>{const n=new r.B;l.push(n);const f=new s.yU;let h;try{h=(0,i.Tg)(t(e))}catch(e){return void d(e)}o.next(n.asObservable()),f.add(h.subscribe((0,u._)(o,()=>{(0,a.o)(l,n),n.complete(),f.unsubscribe()},c.l,d)))},c.l)),n.subscribe((0,u._)(o,e=>{const t=l.slice();for(const n of t)n.next(e)},()=>{for(;0<l.length;)l.shift().complete();o.complete()},d,()=>{for(;0<l.length;)l.shift().unsubscribe()}))})}},5128:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var r=n(1897),s=n(3002);function o(e=r.U){return(0,s.T)(t=>({value:t,timestamp:e.now()}))}},5159:(e,t,n)=>{"use strict";n.d(t,{_:()=>s});var r=n(1897);class s{constructor(e,t=s.now){this.schedulerActionCtor=e,this.now=t}schedule(e,t=0,n){return new this.schedulerActionCtor(this,e).schedule(n,t)}}s.now=r.U.now},5194:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});var r=n(3002);const{isArray:s}=Array;function o(e){return(0,r.T)(t=>function(e,t){return s(t)?e(...t):e(t)}(e,t))}},5199:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var r=n(7290),s=n(9066),o=n(5017);function i(e){return e?t=>(0,o.N)(e)(t):e=>(0,s.f)(new r.B)(e)}},5260:(e,t,n)=>{"use strict";n.d(t,{E:()=>s,b:()=>o});var r=n(7078);const s=new(n(9771).q)(r.R),o=s},5296:(e,t,n)=>{"use strict";n.d(t,{r:()=>u});var r=n(6702),s=n(151),o=n(2464),i=n(3878);function u(e){return(0,r.N)((t,n)=>{let r=[];return t.subscribe((0,o._)(n,e=>r.push(e),()=>{n.next(r),n.complete()})),(0,i.Tg)(e).subscribe((0,o._)(n,()=>{const e=r;r=[],n.next(e)},s.l)),()=>{r=null}})}},5319:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(881),s=n(6702),o=n(6781);function i(...e){return e.length?(0,s.N)((t,n)=>{(0,r.w)([t,...e])(n)}):o.D}},5390:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});var r=n(3834),s=n(7262);function o(e){s.f.setTimeout(()=>{const{onUnhandledError:t}=r.$;if(!t)throw e;t(e)})}},5524:(e,t,n)=>{"use strict";n.d(t,{t:()=>s});var r=n(7290);class s extends r.B{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){const{hasError:e,thrownError:t,_value:n}=this;if(e)throw t;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}}},5601:(e,t,n)=>{"use strict";n.d(t,{E:()=>a});var r=n(6702),s=n(2464),o=n(3878),i=n(6781),u=n(151),c=n(8918);function a(...e){const t=(0,c.ms)(e);return(0,r.N)((n,r)=>{const c=e.length,a=new Array(c);let l=e.map(()=>!1),d=!1;for(let t=0;t<c;t++)(0,o.Tg)(e[t]).subscribe((0,s._)(r,e=>{a[t]=e,d||l[t]||(l[t]=!0,(d=l.every(i.D))&&(l=null))},u.l));n.subscribe((0,s._)(r,e=>{if(d){const n=[e,...a];r.next(t?t(...n):n)}}))})}},5608:(e,t,n)=>{"use strict";function r(e,t,n,r){return new(n||(n=Promise))(function(s,o){function i(e){try{c(r.next(e))}catch(e){o(e)}}function u(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,u)}c((r=r.apply(e,t||[])).next())})}function s(e){return this instanceof s?(this.v=e,this):new s(e)}function o(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),u("next"),u("throw"),u("return",function(e){return function(t){return Promise.resolve(t).then(e,l)}}),r[Symbol.asyncIterator]=function(){return this},r;function u(e,t){o[e]&&(r[e]=function(t){return new Promise(function(n,r){i.push([e,t,n,r])>1||c(e,t)})},t&&(r[e]=t(r[e])))}function c(e,t){try{(n=o[e](t)).value instanceof s?Promise.resolve(n.value.v).then(a,l):d(i[0][2],n)}catch(e){d(i[0][3],e)}var n}function a(e){c("next",e)}function l(e){c("throw",e)}function d(e,t){e(t),i.shift(),i.length&&c(i[0][0],i[0][1])}}function i(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,s){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}(r,s,(t=e[n](t)).done,t.value)})}}}n.d(t,{AQ:()=>o,N3:()=>s,sH:()=>r,xN:()=>i}),Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError},5697:(e,t,n)=>{"use strict";n.d(t,{s:()=>i});var r=n(6751),s=n(6702),o=n(2464);function i(e){return e<=0?()=>r.w:(0,s.N)((t,n)=>{let r=0;t.subscribe((0,o._)(n,t=>{++r<=e&&(n.next(t),e<=r&&n.complete())}))})}},5703:(e,t,n)=>{"use strict";n.d(t,{l:()=>o});var r=n(9774),s=n(7007);function o(e){return(0,s.T)(e[r.s])}},5761:(e,t,n)=>{"use strict";n.d(t,{_:()=>s});var r=n(6702);function s(e,t=0){return(0,r.N)((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}},5815:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(5260),s=n(2011),o=n(591);function i(e,t,n){let i,u,c;if(n=null!=n?n:r.b,(0,s.v)(e)?i=e:"number"==typeof e&&(u=e),!t)throw new TypeError("No observable provided to switch to");if(c=()=>t,null==i&&null==u)throw new TypeError("No timeout provided.");return(0,o.w)({first:i,each:u,scheduler:n,with:c})}},5853:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(6702),s=n(2464),o=n(151);function i(){return(0,r.N)((e,t)=>{e.subscribe((0,s._)(t,o.l))})}},5917:(e,t,n)=>{"use strict";n.d(t,{y:()=>a});var r=n(6857),s=n(3878),o=n(3918),i=n(6751),u=n(2464),c=n(8918);function a(...e){const t=(0,c.ms)(e),n=(0,o.K)(e);return n.length?new r.c(e=>{let r=n.map(()=>[]),o=n.map(()=>!1);e.add(()=>{r=o=null});for(let i=0;!e.closed&&i<n.length;i++)(0,s.Tg)(n[i]).subscribe((0,u._)(e,n=>{if(r[i].push(n),r.every(e=>e.length)){const n=r.map(e=>e.shift());e.next(t?t(...n):n),r.some((e,t)=>!e.length&&o[t])&&e.complete()}},()=>{o[i]=!0,!r[i].length&&e.complete()}));return()=>{r=o=null}}):i.w}},5927:(e,t,n)=>{"use strict";n.d(t,{u:()=>u});var r=n(3878),s=n(7290),o=n(6968),i=n(6702);function u(e={}){const{connector:t=()=>new s.B,resetOnError:n=!0,resetOnComplete:u=!0,resetOnRefCountZero:a=!0}=e;return e=>{let s,l,d,f=0,h=!1,p=!1;const m=()=>{null==l||l.unsubscribe(),l=void 0},b=()=>{m(),s=d=void 0,h=p=!1},v=()=>{const e=s;b(),null==e||e.unsubscribe()};return(0,i.N)((e,i)=>{f++,p||h||m();const g=d=null!=d?d:t();i.add(()=>{f--,0!==f||p||h||(l=c(v,a))}),g.subscribe(i),!s&&f>0&&(s=new o.Ms({next:e=>g.next(e),error:e=>{p=!0,m(),l=c(b,n,e),g.error(e)},complete:()=>{h=!0,m(),l=c(b,u),g.complete()}}),(0,r.Tg)(e).subscribe(s))})(e)}}function c(e,t,...n){if(!0===t)return void e();if(!1===t)return;const s=new o.Ms({next:()=>{s.unsubscribe(),e()}});return(0,r.Tg)(t(...n)).subscribe(s)}},6077:(e,t,n)=>{"use strict";n.d(t,{w:()=>l});var r=n(3713),s=n(6702),o=n(2464),i=n(1276),u=n(5260),c=n(8918),a=n(3873);function l(e,...t){var n,l;const d=null!==(n=(0,c.lI)(t))&&void 0!==n?n:u.E,f=null!==(l=t[0])&&void 0!==l?l:null,h=t[1]||1/0;return(0,s.N)((t,n)=>{let s=[],u=!1;const c=e=>{const{buffer:t,subs:r}=e;r.unsubscribe(),(0,i.o)(s,e),n.next(t),u&&l()},l=()=>{if(s){const t=new r.yU;n.add(t);const o={buffer:[],subs:t};s.push(o),(0,a.N)(t,d,()=>c(o),e)}};null!==f&&f>=0?(0,a.N)(n,d,l,f,!0):u=!0,l();const p=(0,o._)(n,e=>{const t=s.slice();for(const n of t){const{buffer:t}=n;t.push(e),h<=t.length&&c(n)}},()=>{for(;null==s?void 0:s.length;)n.next(s.shift().buffer);null==p||p.unsubscribe(),n.complete(),n.unsubscribe()},void 0,()=>s=null);t.subscribe(p)})}},6114:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(5260),s=n(7895),o=n(6231);function i(e,t=r.E){return(0,s.s)(()=>(0,o.O)(e,t))}},6231:(e,t,n)=>{"use strict";n.d(t,{O:()=>u});var r=n(6857),s=n(5260),o=n(6486),i=n(2011);function u(e=0,t,n=s.b){let u=-1;return null!=t&&((0,o.m)(t)?n=t:u=t),new r.c(t=>{let r=(0,i.v)(e)?+e-n.now():e;r<0&&(r=0);let s=0;return n.schedule(function(){t.closed||(t.next(s++),0<=u?this.schedule(void 0,u):t.complete())},r)})}},6261:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});var r=n(5524),s=n(9817);function o(e){return t=>{const n=new r.t(e);return new s.G(t,()=>n)}}},6280:(e,t,n)=>{"use strict";n.d(t,{x:()=>i});var r=n(6643),s=n(8918),o=n(7348);function i(...e){return(0,r.K)()((0,o.H)(e,(0,s.lI)(e)))}},6358:(e,t,n)=>{"use strict";n.d(t,{l:()=>u});var r=n(3878),s=n(7290),o=n(6702),i=n(2464);function u(e){return(0,o.N)((t,n)=>{let o,u,c=!1;const a=()=>{o=t.subscribe((0,i._)(n,void 0,void 0,t=>{u||(u=new s.B,(0,r.Tg)(e(u)).subscribe((0,i._)(n,()=>o?a():c=!0))),u&&u.next(t)})),c&&(o.unsubscribe(),o=null,c=!1,a())};a()})}},6410:(e,t,n)=>{"use strict";function r(e,t){return(n,r)=>!e.call(t,n,r)}n.d(t,{A:()=>r})},6418:(e,t,n)=>{"use strict";n.d(t,{$:()=>a});var r=n(3422),s=n(9732),o=n(5697),i=n(8981),u=n(2998),c=n(6781);function a(e,t){const n=arguments.length>=2;return a=>a.pipe(e?(0,s.p)((t,n)=>e(t,n,a)):c.D,(0,o.s)(1),n?(0,i.U)(t):(0,u.v)(()=>new r.G))}},6428:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(6280),s=n(8918),o=n(6702);function i(...e){const t=(0,s.lI)(e);return(0,o.N)((n,s)=>{(t?(0,r.x)(e,n,t):(0,r.x)(e,n)).subscribe(s)})}},6486:(e,t,n)=>{"use strict";n.d(t,{m:()=>s});var r=n(7007);function s(e){return e&&(0,r.T)(e.schedule)}},6569:(e,t,n)=>{"use strict";n.d(t,{D:()=>u});const{isArray:r}=Array,{getPrototypeOf:s,prototype:o,keys:i}=Object;function u(e){if(1===e.length){const n=e[0];if(r(n))return{args:n,keys:null};if((t=n)&&"object"==typeof t&&s(t)===o){const e=i(n);return{args:e.map(e=>n[e]),keys:e}}}var t;return{args:e,keys:null}}},6592:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var r=n(6702),s=n(2464);function o(e,t=!1){return(0,r.N)((n,r)=>{let o=0;n.subscribe((0,s._)(r,n=>{const s=e(n,o++);(s||t)&&r.next(n),!s&&r.complete()}))})}},6643:(e,t,n)=>{"use strict";n.d(t,{K:()=>s});var r=n(4677);function s(){return(0,r.U)(1)}},6661:(e,t,n)=>{"use strict";n.d(t,{u:()=>c});var r=n(6751),s=n(6702),o=n(2464),i=n(3878),u=n(6231);function c(e){let t,n=1/0;return null!=e&&("object"==typeof e?({count:n=1/0,delay:t}=e):n=e),n<=0?()=>r.w:(0,s.N)((e,r)=>{let s,c=0;const a=()=>{if(null==s||s.unsubscribe(),s=null,null!=t){const e="number"==typeof t?(0,u.O)(t):(0,i.Tg)(t(c)),n=(0,o._)(r,()=>{n.unsubscribe(),l()});e.subscribe(n)}else l()},l=()=>{let t=!1;s=e.subscribe((0,o._)(r,void 0,()=>{++c<n?s?a():t=!0:r.complete()})),t&&a()};l()})}},6681:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});var r=n(6702),s=n(2464);function o(){return(0,r.N)((e,t)=>{e.subscribe((0,s._)(t,()=>{t.next(!1),t.complete()},()=>{t.next(!0),t.complete()}))})}},6702:(e,t,n)=>{"use strict";n.d(t,{N:()=>o,S:()=>s});var r=n(7007);function s(e){return(0,r.T)(null==e?void 0:e.lift)}function o(e){return t=>{if(s(t))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw new TypeError("Unable to lift unknown Observable type")}}},6726:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});var r=n(5260),s=n(6702),o=n(2464);function i(e=r.E){return(0,s.N)((t,n)=>{let r=e.now();t.subscribe((0,o._)(n,t=>{const s=e.now(),o=s-r;r=s,n.next(new u(t,o))}))})}class u{constructor(e,t){this.value=e,this.interval=t}}},6751:(e,t,n)=>{"use strict";n.d(t,{I:()=>o,w:()=>s});var r=n(6857);const s=new r.c(e=>e.complete());function o(e){return e?function(e){return new r.c(t=>e.schedule(()=>t.complete()))}(e):s}},6770:(e,t,n)=>{"use strict";n.d(t,{J:()=>o});var r=n(6702),s=n(2464);function o(){return(0,r.N)((e,t)=>{let n,r=!1;e.subscribe((0,s._)(t,e=>{const s=n;n=e,r&&t.next([s,e]),r=!0}))})}},6781:(e,t,n)=>{"use strict";function r(e){return e}n.d(t,{D:()=>r})},6807:(e,t,n)=>{"use strict";n.d(t,{o:()=>a});var r=n(6280),s=n(5697),o=n(5853),i=n(831),u=n(108),c=n(3878);function a(e,t){return t?n=>(0,r.x)(t.pipe((0,s.s)(1),(0,o.w)()),n.pipe(a(e))):(0,u.Z)((t,n)=>(0,c.Tg)(e(t,n)).pipe((0,s.s)(1),(0,i.u)(t)))}},6850:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});var r=n(6702),s=n(2464);function o(){return(0,r.N)((e,t)=>{let n=null;e._refCount++;const r=(0,s._)(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const r=e._connection,s=n;n=null,!r||s&&r!==s||r.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}},6857:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(6968),s=n(3713),o=n(9774),i=n(2571),u=n(3834),c=n(7007),a=n(9442);class l{constructor(e){e&&(this._subscribe=e)}lift(e){const t=new l;return t.source=this,t.operator=e,t}subscribe(e,t,n){const o=(i=e)&&i instanceof r.vU||function(e){return e&&(0,c.T)(e.next)&&(0,c.T)(e.error)&&(0,c.T)(e.complete)}(i)&&(0,s.Uv)(i)?e:new r.Ms(e,t,n);var i;return(0,a.Y)(()=>{const{operator:e,source:t}=this;o.add(e?e.call(o,t):t?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(t){e.error(t)}}forEach(e,t){return new(t=d(t))((t,n)=>{const s=new r.Ms({next:t=>{try{e(t)}catch(e){n(e),s.unsubscribe()}},error:n,complete:t});this.subscribe(s)})}_subscribe(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)}[o.s](){return this}pipe(...e){return(0,i.m)(e)(this)}toPromise(e){return new(e=d(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}function d(e){var t;return null!==(t=null!=e?e:u.$.Promise)&&void 0!==t?t:Promise}l.create=e=>new l(e)},6919:(e,t,n)=>{"use strict";function r(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}n.d(t,{L:()=>r})},6968:(e,t,n)=>{"use strict";n.d(t,{Ms:()=>b,vU:()=>f});var r=n(7007),s=n(3713),o=n(3834),i=n(5390),u=n(151);const c=a("C",void 0,void 0);function a(e,t,n){return{kind:e,value:t,error:n}}var l=n(7262),d=n(9442);class f extends s.yU{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,(0,s.Uv)(e)&&e.add(this)):this.destination=y}static create(e,t,n){return new b(e,t,n)}next(e){this.isStopped?g(function(e){return a("N",e,void 0)}(e),this):this._next(e)}error(e){this.isStopped?g(a("E",void 0,e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?g(c,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()}}}const h=Function.prototype.bind;function p(e,t){return h.call(e,t)}class m{constructor(e){this.partialObserver=e}next(e){const{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(e){v(e)}}error(e){const{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(e){v(e)}else v(e)}complete(){const{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(e){v(e)}}}class b extends f{constructor(e,t,n){let s;if(super(),(0,r.T)(e)||!e)s={next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0};else{let t;this&&o.$.useDeprecatedNextContext?(t=Object.create(e),t.unsubscribe=()=>this.unsubscribe(),s={next:e.next&&p(e.next,t),error:e.error&&p(e.error,t),complete:e.complete&&p(e.complete,t)}):s=e}this.destination=new m(s)}}function v(e){o.$.useDeprecatedSynchronousErrorHandling?(0,d.l)(e):(0,i.m)(e)}function g(e,t){const{onStoppedNotification:n}=o.$;n&&l.f.setTimeout(()=>n(e,t))}const y={closed:!0,next:u.l,error:function(e){throw e},complete:u.l}},7007:(e,t,n)=>{"use strict";function r(e){return"function"==typeof e}n.d(t,{T:()=>r})},7026:(e,t,n)=>{"use strict";n.d(t,{z:()=>a});var r=n(772),s=n(6702),o=n(3918),i=n(5194),u=n(2571),c=n(8918);function a(...e){const t=(0,c.ms)(e);return t?(0,u.F)(a(...e),(0,i.I)(t)):(0,s.N)((t,n)=>{(0,r.P)([t,...(0,o.K)(e)])(n)})}},7036:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var r=n(7290);class s extends r.B{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(e){const{hasError:t,_hasValue:n,_value:r,thrownError:s,isStopped:o,_isComplete:i}=this;t?e.error(s):(o||i)&&(n&&e.next(r),e.complete())}next(e){this.isStopped||(this._value=e,this._hasValue=!0)}complete(){const{_hasValue:e,_value:t,_isComplete:n}=this;n||(this._isComplete=!0,e&&super.next(t),super.complete())}}},7037:(e,t,n)=>{"use strict";n.r(t),n.d(t,{audit:()=>r.s,auditTime:()=>s.Z,buffer:()=>o.r,bufferCount:()=>i.S,bufferTime:()=>u.w,bufferToggle:()=>c.H,bufferWhen:()=>a.n,catchError:()=>l.W,combineAll:()=>d.p,combineLatest:()=>h.z,combineLatestAll:()=>f.A,combineLatestWith:()=>p.v,concat:()=>m.x,concatAll:()=>b.K,concatMap:()=>v.H,concatMapTo:()=>g.S,concatWith:()=>y.$,connect:()=>w.N,count:()=>x.U,debounce:()=>N.s,debounceTime:()=>T.B,defaultIfEmpty:()=>_.U,delay:()=>C.c,delayWhen:()=>E.o,dematerialize:()=>P.Z,distinct:()=>S.d,distinctUntilChanged:()=>O.F,distinctUntilKeyChanged:()=>A.w,elementAt:()=>M.s,endWith:()=>I.q,every:()=>R.S,exhaust:()=>j.B,exhaustAll:()=>$.C,exhaustMap:()=>k.p,expand:()=>L.f,filter:()=>q.p,finalize:()=>F.j,find:()=>D.I,findIndex:()=>U.S,first:()=>W.$,flatMap:()=>Q.q,groupBy:()=>B.$,ignoreElements:()=>H.w,isEmpty:()=>z.I,last:()=>V.H,map:()=>J.T,mapTo:()=>K.u,materialize:()=>Z.O,max:()=>G.T,merge:()=>Y.h,mergeAll:()=>X.U,mergeMap:()=>ee.Z,mergeMapTo:()=>te.C,mergeScan:()=>ne.i,mergeWith:()=>re.X,min:()=>se.j,multicast:()=>oe.f,observeOn:()=>ie.Q,onErrorResumeNext:()=>ue.g,pairwise:()=>ce.J,partition:()=>le,pluck:()=>de.E,publish:()=>fe.m,publishBehavior:()=>he.K,publishLast:()=>pe.k,publishReplay:()=>me.H,race:()=>ge,raceWith:()=>ve.w,reduce:()=>ye.T,refCount:()=>_e.B,repeat:()=>we.u,repeatWhen:()=>xe.Y,retry:()=>Ne.L,retryWhen:()=>Te.l,sample:()=>Ce.X,sampleTime:()=>Ee.q,scan:()=>Pe.S,sequenceEqual:()=>Se.m,share:()=>Oe.u,shareReplay:()=>Ae.t,single:()=>Me.J,skip:()=>Ie.i,skipLast:()=>Re.G,skipUntil:()=>je.U,skipWhile:()=>$e.j,startWith:()=>ke.Z,subscribeOn:()=>Le._,switchAll:()=>qe.w,switchMap:()=>Fe.n,switchMapTo:()=>De.K,switchScan:()=>Ue.m,take:()=>We.s,takeLast:()=>Be.o,takeUntil:()=>He.Q,takeWhile:()=>ze.v,tap:()=>Ve.M,throttle:()=>Je.n,throttleTime:()=>Ke.c,throwIfEmpty:()=>Ze.v,timeInterval:()=>Ge.f,timeout:()=>Ye.w,timeoutWith:()=>Xe.o,timestamp:()=>Qe.v,toArray:()=>et.$,window:()=>tt.x,windowCount:()=>nt.k,windowTime:()=>rt.s,windowToggle:()=>st.J,windowWhen:()=>ot.p,withLatestFrom:()=>it.E,zip:()=>ut.y,zipAll:()=>ct.x,zipWith:()=>at.O});var r=n(7895),s=n(6114),o=n(5296),i=n(8501),u=n(6077),c=n(8812),a=n(8236),l=n(3285),d=n(3290),f=n(1655),h=n(7026),p=n(478),m=n(9878),b=n(6643),v=n(2106),g=n(4079),y=n(626),w=n(5017),x=n(4755),N=n(9013),T=n(848),_=n(8981),C=n(8631),E=n(6807),P=n(9500),S=n(1374),O=n(2950),A=n(1885),M=n(3773),I=n(1457),R=n(3995),j=n(9158),$=n(931),k=n(3210),L=n(3458),q=n(9732),F=n(1724),D=n(3685),U=n(4417),W=n(6418),B=n(8722),H=n(5853),z=n(6681),V=n(3938),J=n(3002),K=n(831),Z=n(9237),G=n(7170),Y=n(2124),X=n(4677),Q=n(51),ee=n(108),te=n(7309),ne=n(8361),re=n(4),se=n(2668),oe=n(9066),ie=n(1013),ue=n(2939),ce=n(6770),ae=n(6410);function le(e,t){return n=>[(0,q.p)(e,t)(n),(0,q.p)((0,ae.A)(e,t))(n)]}var de=n(8053),fe=n(5199),he=n(6261),pe=n(111),me=n(9532),be=n(3918),ve=n(5319);function ge(...e){return(0,ve.w)(...(0,be.K)(e))}var ye=n(1940),we=n(6661),xe=n(7429),Ne=n(8170),Te=n(6358),_e=n(6850),Ce=n(2700),Ee=n(609),Pe=n(9388),Se=n(8327),Oe=n(5927),Ae=n(1860),Me=n(2994),Ie=n(7893),Re=n(7121),je=n(3941),$e=n(7716),ke=n(6428),Le=n(5761),qe=n(7391),Fe=n(2590),De=n(9187),Ue=n(203),We=n(5697),Be=n(2173),He=n(57),ze=n(6592),Ve=n(1205),Je=n(238),Ke=n(2891),Ze=n(2998),Ge=n(6726),Ye=n(591),Xe=n(5815),Qe=n(5128),et=n(7594),tt=n(7302),nt=n(1571),rt=n(4563),st=n(5062),ot=n(1530),it=n(5601),ut=n(963),ct=n(4476),at=n(8923)},7078:(e,t,n)=>{"use strict";n.d(t,{R:()=>u});var r=n(3713);class s extends r.yU{constructor(e,t){super()}schedule(e,t=0){return this}}const o={setInterval(e,t,...n){const{delegate:r}=o;return(null==r?void 0:r.setInterval)?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=o;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0};var i=n(1276);class u extends s{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var n;if(this.closed)return this;this.state=e;const r=this.id,s=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(s,r,t)),this.pending=!0,this.delay=t,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(s,this.id,t),this}requestAsyncId(e,t,n=0){return o.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return t;null!=t&&o.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n,r=!1;try{this.work(e)}catch(e){r=!0,n=e||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){const{id:e,scheduler:t}=this,{actions:n}=t;this.work=this.state=this.scheduler=null,this.pending=!1,(0,i.o)(n,this),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}}},7121:(e,t,n)=>{"use strict";n.d(t,{G:()=>i});var r=n(6781),s=n(6702),o=n(2464);function i(e){return e<=0?r.D:(0,s.N)((t,n)=>{let r=new Array(e),s=0;return t.subscribe((0,o._)(n,t=>{const o=s++;if(o<e)r[o]=t;else{const s=o%e,i=r[s];r[s]=t,n.next(i)}})),()=>{r=null}})}},7170:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var r=n(1940),s=n(7007);function o(e){return(0,r.T)((0,s.T)(e)?(t,n)=>e(t,n)>0?t:n:(e,t)=>e>t?e:t)}},7262:(e,t,n)=>{"use strict";n.d(t,{f:()=>r});const r={setTimeout(e,t,...n){const{delegate:s}=r;return(null==s?void 0:s.setTimeout)?s.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=r;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0}},7290:(e,t,n)=>{"use strict";n.d(t,{B:()=>c});var r=n(6857),s=n(3713),o=n(2965),i=n(1276),u=n(9442);class c extends r.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const t=new a(this,this);return t.operator=e,t}_throwIfClosed(){if(this.closed)throw new o.P}next(e){(0,u.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const t of this.currentObservers)t.next(e)}})}error(e){(0,u.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:t}=this;for(;t.length;)t.shift().error(e)}})}complete(){(0,u.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:t,isStopped:n,observers:r}=this;return t||n?s.Kn:(this.currentObservers=null,r.push(e),new s.yU(()=>{this.currentObservers=null,(0,i.o)(r,e)}))}_checkFinalizedStatuses(e){const{hasError:t,thrownError:n,isStopped:r}=this;t?e.error(n):r&&e.complete()}asObservable(){const e=new r.c;return e.source=this,e}}c.create=(e,t)=>new a(e,t);class a extends c{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)}error(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)}complete(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)}_subscribe(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:s.Kn}}},7302:(e,t,n)=>{"use strict";n.d(t,{x:()=>c});var r=n(7290),s=n(6702),o=n(2464),i=n(151),u=n(3878);function c(e){return(0,s.N)((t,n)=>{let s=new r.B;n.next(s.asObservable());const c=e=>{s.error(e),n.error(e)};return t.subscribe((0,o._)(n,e=>null==s?void 0:s.next(e),()=>{s.complete(),n.complete()},c)),(0,u.Tg)(e).subscribe((0,o._)(n,()=>{s.complete(),n.next(s=new r.B)},i.l,c)),()=>{null==s||s.unsubscribe(),s=null}})}},7309:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var r=n(108),s=n(7007);function o(e,t,n=1/0){return(0,s.T)(t)?(0,r.Z)(()=>e,t,n):("number"==typeof t&&(n=t),(0,r.Z)(()=>e,n))}},7348:(e,t,n)=>{"use strict";n.d(t,{H:()=>o});var r=n(3172),s=n(3878);function o(e,t){return t?(0,r.c)(e,t):(0,s.Tg)(e)}},7391:(e,t,n)=>{"use strict";n.d(t,{w:()=>o});var r=n(2590),s=n(6781);function o(){return(0,r.n)(s.D)}},7429:(e,t,n)=>{"use strict";n.d(t,{Y:()=>u});var r=n(3878),s=n(7290),o=n(6702),i=n(2464);function u(e){return(0,o.N)((t,n)=>{let o,u,c=!1,a=!1,l=!1;const d=()=>l&&a&&(n.complete(),!0),f=()=>{l=!1,o=t.subscribe((0,i._)(n,void 0,()=>{l=!0,!d()&&(u||(u=new s.B,(0,r.Tg)(e(u)).subscribe((0,i._)(n,()=>{o?f():c=!0},()=>{a=!0,d()}))),u).next()})),c&&(o.unsubscribe(),o=null,c=!1,f())};f()})}},7594:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});var r=n(1940),s=n(6702);const o=(e,t)=>(e.push(t),e);function i(){return(0,s.N)((e,t)=>{(0,r.T)(o,[])(e).subscribe(t)})}},7618:(e,t,n)=>{"use strict";n.d(t,{$:()=>o});var r=n(6857),s=n(7007);function o(e,t){const n=(0,s.T)(e)?e:()=>e,o=e=>e.error(n());return new r.c(t?e=>t.schedule(o,0,e):o)}},7653:(e,t,n)=>{"use strict";function r(e){const t=e(e=>{Error.call(e),e.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}n.d(t,{L:()=>r})},7716:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});var r=n(6702),s=n(2464);function o(e){return(0,r.N)((t,n)=>{let r=!1,o=0;t.subscribe((0,s._)(n,t=>(r||(r=!e(t,o++)))&&n.next(t)))})}},7773:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});var r=n(9553),s=n(7007);function o(e){return(0,s.T)(null==e?void 0:e[r.l])}},7893:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var r=n(9732);function s(e){return(0,r.p)((t,n)=>e<=n)}},7895:(e,t,n)=>{"use strict";n.d(t,{s:()=>i});var r=n(6702),s=n(3878),o=n(2464);function i(e){return(0,r.N)((t,n)=>{let r=!1,i=null,u=null,c=!1;const a=()=>{if(null==u||u.unsubscribe(),u=null,r){r=!1;const e=i;i=null,n.next(e)}c&&n.complete()},l=()=>{u=null,c&&n.complete()};t.subscribe((0,o._)(n,t=>{r=!0,i=t,u||(0,s.Tg)(e(t)).subscribe(u=(0,o._)(n,a,l))},()=>{c=!0,(!r||!u||u.closed)&&n.complete()}))})}},7947:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});var r=n(7290),s=n(1897);class o extends r.B{constructor(e=1/0,t=1/0,n=s.U){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,t)}next(e){const{isStopped:t,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:s,_windowTime:o}=this;t||(n.push(e),!r&&n.push(s.now()+o)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:r}=this,s=r.slice();for(let t=0;t<s.length&&!e.closed;t+=n?1:2)e.next(s[t]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){const{_bufferSize:e,_timestampProvider:t,_buffer:n,_infiniteTimeWindow:r}=this,s=(r?1:2)*e;if(e<1/0&&s<n.length&&n.splice(0,n.length-s),!r){const e=t.now();let r=0;for(let t=1;t<n.length&&n[t]<=e;t+=2)r=t;r&&n.splice(0,r+1)}}}},7985:(e,t,n)=>{"use strict";n.d(t,{S:()=>s});var r=n(2464);function s(e,t,n,s,o){return(i,u)=>{let c=n,a=t,l=0;i.subscribe((0,r._)(u,t=>{const n=l++;a=c?e(a,t,n):(c=!0,t),s&&u.next(a)},o&&(()=>{c&&u.next(a),u.complete()})))}}},8053:(e,t,n)=>{"use strict";n.d(t,{E:()=>s});var r=n(3002);function s(...e){const t=e.length;if(0===t)throw new Error("list of properties cannot be empty.");return(0,r.T)(n=>{let r=n;for(let n=0;n<t;n++){const t=null==r?void 0:r[e[n]];if(void 0===t)return;r=t}return r})}},8170:(e,t,n)=>{"use strict";n.d(t,{L:()=>c});var r=n(6702),s=n(2464),o=n(6781),i=n(6231),u=n(3878);function c(e=1/0){let t;t=e&&"object"==typeof e?e:{count:e};const{count:n=1/0,delay:c,resetOnSuccess:a=!1}=t;return n<=0?o.D:(0,r.N)((e,t)=>{let r,o=0;const l=()=>{let d=!1;r=e.subscribe((0,s._)(t,e=>{a&&(o=0),t.next(e)},void 0,e=>{if(o++<n){const n=()=>{r?(r.unsubscribe(),r=null,l()):d=!0};if(null!=c){const r="number"==typeof c?(0,i.O)(c):(0,u.Tg)(c(e,o)),a=(0,s._)(t,()=>{a.unsubscribe(),n()},()=>{t.complete()});r.subscribe(a)}else n()}else t.error(e)})),d&&(r.unsubscribe(),r=null,l())};l()})}},8236:(e,t,n)=>{"use strict";n.d(t,{n:()=>u});var r=n(6702),s=n(151),o=n(2464),i=n(3878);function u(e){return(0,r.N)((t,n)=>{let r=null,u=null;const c=()=>{null==u||u.unsubscribe();const t=r;r=[],t&&n.next(t),(0,i.Tg)(e()).subscribe(u=(0,o._)(n,c,s.l))};c(),t.subscribe((0,o._)(n,e=>null==r?void 0:r.push(e),()=>{r&&n.next(r),n.complete()},void 0,()=>r=u=null))})}},8327:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var r=n(6702),s=n(2464),o=n(3878);function i(e,t=(e,t)=>e===t){return(0,r.N)((n,r)=>{const i={buffer:[],complete:!1},u={buffer:[],complete:!1},c=e=>{r.next(e),r.complete()},a=(e,n)=>{const o=(0,s._)(r,r=>{const{buffer:s,complete:o}=n;0===s.length?o?c(!1):e.buffer.push(r):!t(r,s.shift())&&c(!1)},()=>{e.complete=!0;const{complete:t,buffer:r}=n;t&&c(0===r.length),null==o||o.unsubscribe()});return o};n.subscribe(a(i,u)),(0,o.Tg)(e).subscribe(a(u,i))})}},8361:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});var r=n(6702),s=n(9132);function o(e,t,n=1/0){return(0,r.N)((r,o)=>{let i=t;return(0,s.h)(r,o,(t,n)=>e(i,t,n),n,e=>{i=e},!1,void 0,()=>i=null)})}},8501:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(6702),s=n(2464),o=n(1276);function i(e,t=null){return t=null!=t?t:e,(0,r.N)((n,r)=>{let i=[],u=0;n.subscribe((0,s._)(r,n=>{let s=null;u++%t===0&&i.push([]);for(const t of i)t.push(n),e<=t.length&&(s=null!=s?s:[],s.push(t));if(s)for(const e of s)(0,o.o)(i,e),r.next(e)},()=>{for(const e of i)r.next(e);r.complete()},void 0,()=>{i=null}))})}},8631:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(5260),s=n(6807),o=n(6231);function i(e,t=r.E){const n=(0,o.O)(e,t);return(0,s.o)(()=>n)}},8722:(e,t,n)=>{"use strict";n.d(t,{$:()=>c});var r=n(6857),s=n(3878),o=n(7290),i=n(6702),u=n(2464);function c(e,t,n,c){return(0,i.N)((i,a)=>{let l;t&&"function"!=typeof t?({duration:n,element:l,connector:c}=t):l=t;const d=new Map,f=e=>{d.forEach(e),e(a)},h=e=>f(t=>t.error(e));let p=0,m=!1;const b=new u.H(a,t=>{try{const i=e(t);let f=d.get(i);if(!f){d.set(i,f=c?c():new o.B);const e=function(e,t){const n=new r.c(e=>{p++;const n=t.subscribe(e);return()=>{n.unsubscribe(),0===--p&&m&&b.unsubscribe()}});return n.key=e,n}(i,f);if(a.next(e),n){const t=(0,u._)(f,()=>{f.complete(),null==t||t.unsubscribe()},void 0,void 0,()=>d.delete(i));b.add((0,s.Tg)(n(e)).subscribe(t))}}f.next(l?l(t):t)}catch(e){h(e)}},()=>f(e=>e.complete()),h,()=>d.clear(),()=>(m=!0,0===p));i.subscribe(b)})}},8812:(e,t,n)=>{"use strict";n.d(t,{H:()=>a});var r=n(3713),s=n(6702),o=n(3878),i=n(2464),u=n(151),c=n(1276);function a(e,t){return(0,s.N)((n,s)=>{const a=[];(0,o.Tg)(e).subscribe((0,i._)(s,e=>{const n=[];a.push(n);const l=new r.yU;l.add((0,o.Tg)(t(e)).subscribe((0,i._)(s,()=>{(0,c.o)(a,n),s.next(n),l.unsubscribe()},u.l)))},u.l)),n.subscribe((0,i._)(s,e=>{for(const t of a)t.push(e)},()=>{for(;a.length>0;)s.next(a.shift());s.complete()}))})}},8918:(e,t,n)=>{"use strict";n.d(t,{R0:()=>c,lI:()=>u,ms:()=>i});var r=n(7007),s=n(6486);function o(e){return e[e.length-1]}function i(e){return(0,r.T)(o(e))?e.pop():void 0}function u(e){return(0,s.m)(o(e))?e.pop():void 0}function c(e,t){return"number"==typeof o(e)?e.pop():t}},8923:(e,t,n)=>{"use strict";n.d(t,{O:()=>s});var r=n(963);function s(...e){return(0,r.y)(...e)}},8981:(e,t,n)=>{"use strict";n.d(t,{U:()=>o});var r=n(6702),s=n(2464);function o(e){return(0,r.N)((t,n)=>{let r=!1;t.subscribe((0,s._)(n,e=>{r=!0,n.next(e)},()=>{r||n.next(e),n.complete()}))})}},9013:(e,t,n)=>{"use strict";n.d(t,{s:()=>u});var r=n(6702),s=n(151),o=n(2464),i=n(3878);function u(e){return(0,r.N)((t,n)=>{let r=!1,u=null,c=null;const a=()=>{if(null==c||c.unsubscribe(),c=null,r){r=!1;const e=u;u=null,n.next(e)}};t.subscribe((0,o._)(n,t=>{null==c||c.unsubscribe(),r=!0,u=t,c=(0,o._)(n,a,s.l),(0,i.Tg)(e(t)).subscribe(c)},()=>{a(),n.complete()},void 0,()=>{u=c=null}))})}},9066:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});var r=n(9817),s=n(7007),o=n(5017);function i(e,t){const n=(0,s.T)(e)?e:()=>e;return(0,s.T)(t)?(0,o.N)(t,{connector:n}):e=>new r.G(e,n)}},9132:(e,t,n)=>{"use strict";n.d(t,{h:()=>i});var r=n(3878),s=n(3873),o=n(2464);function i(e,t,n,i,u,c,a,l){const d=[];let f=0,h=0,p=!1;const m=()=>{!p||d.length||f||t.complete()},b=e=>f<i?v(e):d.push(e),v=e=>{c&&t.next(e),f++;let l=!1;(0,r.Tg)(n(e,h++)).subscribe((0,o._)(t,e=>{null==u||u(e),c?b(e):t.next(e)},()=>{l=!0},void 0,()=>{if(l)try{for(f--;d.length&&f<i;){const e=d.shift();a?(0,s.N)(t,a,()=>v(e)):v(e)}m()}catch(e){t.error(e)}}))};return e.subscribe((0,o._)(t,b,()=>{p=!0,m()})),()=>{null==l||l()}}},9158:(e,t,n)=>{"use strict";n.d(t,{B:()=>r});const r=n(931).C},9178:(e,t,n)=>{"use strict";n.d(t,{y:()=>s});var r=n(7007);function s(e){return(0,r.T)(null==e?void 0:e.then)}},9187:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});var r=n(2590),s=n(7007);function o(e,t){return(0,s.T)(t)?(0,r.n)(()=>e,t):(0,r.n)(()=>e)}},9237:(e,t,n)=>{"use strict";n.d(t,{O:()=>i});var r=n(1227),s=n(6702),o=n(2464);function i(){return(0,s.N)((e,t)=>{e.subscribe((0,o._)(t,e=>{t.next(r.Eg.createNext(e))},()=>{t.next(r.Eg.createComplete()),t.complete()},e=>{t.next(r.Eg.createError(e)),t.complete()}))})}},9257:(e,t,n)=>{"use strict";n.d(t,{X:()=>r});const r=e=>e&&"number"==typeof e.length&&"function"!=typeof e},9388:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var r=n(6702),s=n(7985);function o(e,t){return(0,r.N)((0,s.S)(e,t,arguments.length>=2,!0))}},9442:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o,l:()=>i});var r=n(3834);let s=null;function o(e){if(r.$.useDeprecatedSynchronousErrorHandling){const t=!s;if(t&&(s={errorThrown:!1,error:null}),e(),t){const{errorThrown:e,error:t}=s;if(s=null,e)throw t}}else e()}function i(e){r.$.useDeprecatedSynchronousErrorHandling&&s&&(s.errorThrown=!0,s.error=e)}},9500:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1227),s=n(6702),o=n(2464);function i(){return(0,s.N)((e,t)=>{e.subscribe((0,o._)(t,e=>(0,r.gV)(e,t)))})}},9532:(e,t,n)=>{"use strict";n.d(t,{H:()=>i});var r=n(7947),s=n(9066),o=n(7007);function i(e,t,n,i){n&&!(0,o.T)(n)&&(i=n);const u=(0,o.T)(n)?n:void 0;return n=>(0,s.f)(new r.m(e,t,i),u)(n)}},9553:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});const r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},9576:(e,t,n)=>{var r;self,r=()=>(()=>{"use strict";var e={842:()=>{!function(e){function t(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}"function"!=typeof e.CustomEvent&&(t.prototype=e.Event.prototype,e.CustomEvent=t)}(window)}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};function o(e){return(e.charAt(0)+e.slice(1).replace(/([A-Z])/g,"-$&")).toLowerCase()}r.r(s),r.d(s,{createSetupElement:()=>f,generateCustomElementWrapper:()=>d,makeGenericEffectsDriver:()=>p});var i=1e3;const u=n(1950),c=n(755);function a(e,t,n,r,s){var o=t.replace(/-([a-z])/gi,function(e,t){return t.toUpperCase()});e[o]=r.map(function(e){var t=e.get(o),r=n;return t&&t.reflectAs&&n&&(r=t.reflectAs(n)),t&&t.reflectAs===Boolean&&(r=""===n),s&&(s[o]=r),r}).withDefault(n)}const l=n(7037);function d(e,t){var n,r,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{useShadowDOM:!0},l=s.useShadowDOM?c.Maybe.just(function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=!!window.HTMLTemplateElement;return t=r?function(e){var t=document.createElement("template");return t.innerHTML="<style>".concat(e,'</style><div class="root"></div>'),t.content}(n):function(e){var t=document.createDocumentFragment(),n=document.createElement("style");n.appendChild(document.createTextNode(e));var r=document.createElement("div");return r.className="root",t.appendChild(n),t.appendChild(r),t}(n),function(e){if(e.shadowRoot)return e.shadowRoot.querySelector("div");e.attachShadow?e.attachShadow({mode:"open"}):Object.assign(e,{shadowRoot:e});var s=document.importNode(t,!0);r||(s.querySelector("style").sheet.cssText=n);var o=e.shadowRoot;return o.appendChild(s),o.querySelector("div")}}(e,s.css)):c.Maybe.nothing(),d=Array.isArray(s.props)?c.Maybe.just((n=s.props,{fnHashByName:r=n.reduce(function(e,t){return e.set(t.name,t),e},new Map),hooks:{init:function(e){e.__innerProps$=new u.BehaviorSubject({})},connectedCallback:function(e){var t,n,s,o,i,u=e.__innerProps$.getValue(),l=Object.assign({},u);e.constructor.observedAttributes.forEach(function(t){null!==e.getAttribute(t)&&a(e,t,e.getAttribute(t),c.Maybe.just(r),l)}),t=u,n=l,s=!0,o=Object.keys(t),i=Object.keys(n),o.length===i.length&&(o.forEach(function(e){n.hasOwnProperty(e)&&t[e]===n[e]||(s=!1)}),s)||e.__innerProps$.next(l)},classSetup:function(e){Object.assign(e,{observedAttributes:n.filter(function(e){return e.reflectAs}).map(function(e){return e.name}).map(o)}),n.forEach(function(t){Object.defineProperty(e.prototype,t.name,{get:function(){return this.__innerProps$.getValue()[t.name]},set:function(n){if(this.__innerProps$.getValue()[t.name]!==n){var r=o(t.name),s=e.observedAttributes.includes(r);s&&(!0===n?this.setAttribute(r,""):n||0===n||""===n?this.setAttribute(r,String(n)):this.removeAttribute(r)),!this.__attached&&s&&!1!==n||(this.__innerProps$.getValue()[t.name]=n,this.__innerProps$.next(this.__innerProps$.getValue()))}}})})}}})):c.Maybe.nothing(),f=function(){var e=Reflect.construct(HTMLElement,[],f);return s.prototypeExtensions&&Object.keys(s.prototypeExtensions).forEach(function(t){e[t]||(e[t]=s.prototypeExtensions[t])}),e.__onTeardown=[],e.__onAttached=[],e.__guid=i++,d.map(function(t){return(0,t.hooks.init)(e)}),l.map(function(t){return t(e)}).map(function(n){var r=c.Maybe.maybe(e.__innerProps$).map(function(n){return t(e,n)}).withDefaultFn(function(){return t(e)});h(e,n,r),e.__shadowAppBooted=!0}),e};return function(e){try{Object.defineProperty(e,"is",{value:name,writable:!1}),Object.defineProperty(e,"localName",{value:name,writable:!1})}catch(e){}}(f),f.prototype=Object.create(HTMLElement.prototype,{component:{writable:!0,enumerable:!0},constructor:{value:f},connectedCallback:{writable:!0,value:function(){var e=this;this.dataset.guid="".concat(this.__guid),s.useShadowDOM&&this.__shadowAppBooted||(l.map(function(t){return t(e)}).alt(c.Maybe.just(this)).map(function(n){var r=c.Maybe.maybe(e.__innerProps$).map(function(n){return t(e,n)}).withDefaultFn(function(){return t(e)});h(e,n,r)}),this.__shadowAppBooted=!0),d.map(function(t){(0,t.hooks.connectedCallback)(e)}),this.__attached=!0,this.__onAttached.forEach(function(t){return t.call(e)})}},disconnectedCallback:{writable:!0,value:function(){var e=this;this.__onTeardown.reverse().forEach(function(t){return t.call(e)}),this.__innerProps$&&(this.__innerProps$.complete(),this.__innerProps$=void 0),this.__onTeardown=[],this.__onAttached=[],this.__attached=!1,this.__shadowAppBooted=!1}},attributeChangedCallback:{writable:!0,value:function(e,t,n){t!==n&&this.__attached&&a(this,e,n,d.map(function(e){return e.fnHashByName}))}}}),d.map(function(e){return(0,e.hooks.classSetup)(f)}),f}function f(e){return function(t){return function(n){var r=function(){window.customElements.get(n)||window.customElements.define(n,e(n,t))};window.customElements?r():(0,u.interval)(5).pipe((0,l.filter)(function(){return!!window.customElements}),(0,l.take)(1)).toPromise().then(function(){r()})}}}function h(e,t,n){var r=document.createElement("div");t.appendChild(r);var s=n.DOM$.subscribe(function(e){t.firstChild&&t.isConnected&&t.replaceChild(e,t.firstChild)}),o=n.settled$.subscribe(function(t){e.settled=t,t&&e.dispatchEvent(new CustomEvent("settled"))}),i=n.teardown$.subscribe(function(t){e.__onTeardown.push(t)});e.__onTeardown.push(function(){n.DOM$.complete(),n.settled$.complete(),n.teardown$.complete(),[s,o,i].forEach(function(e){return e.unsubscribe()})})}function p(e){return function(t){t.subscribe({next:function(t){t(e)},error:function(){},complete:function(){}})}}return r(842),s})(),e.exports=r()},9732:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});var r=n(6702),s=n(2464);function o(e,t){return(0,r.N)((n,r)=>{let o=0;n.subscribe((0,s._)(r,n=>e.call(t,n,o++)&&r.next(n)))})}},9771:(e,t,n)=>{"use strict";n.d(t,{q:()=>s});var r=n(5159);class s extends r._{constructor(e,t=r._.now){super(e,t),this.actions=[],this._active=!1}flush(e){const{actions:t}=this;if(this._active)return void t.push(e);let n;this._active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}},9774:(e,t,n)=>{"use strict";n.d(t,{s:()=>r});const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},9817:(e,t,n)=>{"use strict";n.d(t,{G:()=>c});var r=n(6857),s=n(3713),o=n(6850),i=n(2464),u=n(6702);class c extends r.c{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,(0,u.S)(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:e}=this;this._subject=this._connection=null,null==e||e.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new s.yU;const t=this.getSubject();e.add(this.source.subscribe((0,i._)(t,void 0,()=>{this._teardown(),t.complete()},e=>{this._teardown(),t.error(e)},()=>this._teardown()))),e.closed&&(this._connection=null,e=s.yU.EMPTY)}return e}refCount(){return(0,o.B)()(this)}}},9878:(e,t,n)=>{"use strict";n.d(t,{x:()=>u});var r=n(6702),s=n(6643),o=n(8918),i=n(7348);function u(...e){const t=(0,o.lI)(e);return(0,r.N)((n,r)=>{(0,s.K)()((0,i.H)([n,...e],t)).subscribe(r)})}}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{"use strict";function e(t,n){Object.keys(n).forEach(r=>{if(!Array.isArray(n[r])&&!Array.isArray(t[r])&&t.hasOwnProperty(r)&&"object"==typeof n[r])return e(t[r],n[r]);t[r]=n[r]})}n.r(r),n.d(r,{init:()=>ie});var t=n(2774),s=n(5011),o=n(9732),i=n(3002),u=n(755);function c(e,t,n,r,s=null,o="success"){const i=window.isTestingTecton?window:e;null==i||i.postMessage({tectonic:!0,value:r.withDefault(""),status:o,type:t,protocol:n,guid:s},"*")}function a(e,t){c(window.parent,e,"MESSAGE",t)}function l(e,t){c(window,e,"BROADCAST",t),window.isTestingTecton||Array.prototype.slice.call(document.querySelectorAll("tecton-platform-outlet, tecton-outlet, tecton-tab-pane")).forEach(n=>{const r=n.shadowRoot&&n.shadowRoot.querySelector("iframe");if(null==r?void 0:r.contentWindow)switch(e){case"platformScrollChanged":case"platformSizeChanged":let{value:s}=Object.assign({},t);s=Object.assign(JSON.parse(s),{outletOffset:n.getBoundingClientRect().top}),c(r.contentWindow,e,"BROADCAST",new u.Maybe(JSON.stringify(s)));break;default:c(r.contentWindow,e,"BROADCAST",t)}})}class d{constructor(){this.messageNum=0,this.firehose$=(0,t.R)(window,"message").pipe((0,o.p)(e=>e.data.tectonic))}onMessage(e,t="MESSAGE",n=null){return function(e,t,n,r=null){return t.pipe((0,o.p)(t=>t.data.type===e&&(!r||t.data.guid===r)&&t.data.protocol===n),(0,i.T)(t=>{const n=t.data.value&&JSON.parse(t.data.value),r=t.source||(window.parent.location.origin===t.origin?window.parent:window.location.origin===t.origin?window:null);return"success"===t.data.status?{status:"success",value:n,sender:r,type:e,guid:t.data.guid}:{status:"error",message:n.message,sender:r,type:e,guid:t.data.guid}}))}(e,this.firehose$,t,n).pipe((0,i.T)(f))}sendRequest(e,t,n){const r=this.getNextMessageNumber();c(window.isTectonPlatform?window:window.parent,e,"REQUEST",t,r,"success");const o=[];return o.push((0,s._)(this.onMessage(e,"RESPONSE",r))),n&&n.timeout&&o.push(new Promise((s,o)=>{setTimeout(()=>{o({status:"error",message:`The request ${t} has timed out`,sender:window,type:e,guid:r})},n.timeout)})),Promise.race(o)}sendResponse(e,t){return this.onMessage(e,"REQUEST").subscribe(e=>Promise.resolve().then(()=>{if("success"===e.status)return t(e.value,e.sender);throw Error("Don't send Error Message as Request!")}).then(t=>{if(null!==t)return h(e.sender,e.type,t,e.guid,"success")}).catch(t=>h(e.sender,e.type,{message:t.message},e.guid,"error")))}getNextMessageNumber(){const e=this.messageNum+1;return this.messageNum=e,e}}function f(e){if("success"===e.status)return e;throw e}function h(e,t,n,r=null,s){c(e,t,"RESPONSE",u.Maybe.maybe(n).map(JSON.stringify),r,s)}class p extends d{constructor(e,t){super(),this.domains=new Set,this.configSubscription=e.subscribe(this.getConfigDomains.bind(this)),this.firehose$=this.firehose$.pipe((0,o.p)(e=>t||this.domains.has(e.origin)))}teardown(){this.configSubscription.unsubscribe()}getConfigDomains(e){let t=Array(window.location.origin.toString());const n=Object.keys(e.features).map(n=>{const r=e.features[n].additionalDomains;return r&&r.length>0&&(t=t.concat(r)),Object.keys(e.features[n].modules).map(t=>{const r=e.features[n].modules[t].url;try{return new URL(r,window.location.href).origin}catch(e){return""}})}),r=t.concat(...n);this.domains=function(e){return new Set(e.filter(e=>""!==e))}(r)}}var m=n(5524);function b(e,t={}){return Object.keys(t).filter(t=>{const n=t.lastIndexOf(".");return t.slice(0,n).startsWith(e)}).reduce((e,n)=>{const r=n.lastIndexOf(".");return e[n.substring(r+1)]=t[n],e},Object.create({}))}function v(e,t,n=[]){for(const[r,s]of Object.entries(t)){const t=[...n,r];if(r===e)return t.reverse();if("object"==typeof s&&Object.keys(s).length>0){const n=v(e,s,t);if(n.length>0)return n}}return[]}function g(e,t){if(!e||"string"!=typeof e)return[];const[n,r]=e.split("::");if(!n||!r)return[];const s=t[n];return s?v(r,s).map(e=>`${n}::${e}`):[]}function y(e,t,n,r,s,o,i,c,a,l,d,f={}){return function(e,t,n){return u.Maybe.sequence([e,t]).map(()=>{const e=n.withDefault("");return""!==e?Promise.resolve(u.Maybe.just(e)):Promise.resolve(u.Maybe.nothing())}).withDefaultFn(()=>Promise.resolve(u.Maybe.nothing()))}(r,s,i).then(async t=>{const n=await function(e,t){return Promise.all(t.map(async t=>{const n=await e(t.featureName),r=n.modules[t.moduleName],s=n.additionalDomains,o=n.allowDirectives;return Object.assign(Object.assign(Object.assign({},t),r),{additionalDomains:s,allowDirectives:o})}))}(e.dynamicConfigFetch,o),r=t.map(e=>g(e,f)).bind(e=>w(n,e,c)),s=u.Maybe.maybe(n[0]);return t.map(()=>r).altMap(()=>u.Maybe.just(s)).bind(e=>e)}).then(async e=>e.map(e=>{var r,s,o,i;const u=`${n}.${e.featureName}.${e.moduleName}`,c=(null===(s=null===(r=a.features[l])||void 0===r?void 0:r.modules[d])||void 0===s?void 0:s.requiredUserCapabilities)||[],f=(null===(i=null===(o=a.features[e.featureName])||void 0===o?void 0:o.modules[e.moduleName])||void 0===i?void 0:i.requiredUserCapabilities)||[],h=[...new Set([...c,...f])];return{moduleId:u,initialParams:b(u,t.getValue().currentParams),featureName:e.featureName,url:e.url,minHeight:e.meta.type.minHeight||"",tabLabelOverride:e.tabLabelOverride,formPostAuth:!!e.formPostAuth,loadingOptions:e.loadingOptions,additionalDomains:e.additionalDomains,allowDirectives:e.allowDirectives,requiredUserCapabilities:h,rightsEnabled:e.rightsEnabled}}))}function w(e,t,n){return u.Maybe.maybe(e.find(e=>{const r=n.map(t=>{var n;return null===(n=e.additionalContextRequirements)||void 0===n?void 0:n.includes(t)}).withDefault(!0);return e.meta.type.context===t[0]&&r})).altMap(()=>0===t.length&&u.Maybe.nothing()||w(e,t.slice(1),n))}async function x(e,t){const n=e.length%3==1?"outlet":"module",r=e[0],s=e.length<5;let o,i,u,c,a;if("tectonOverpanel"===r)o=N({path:e.slice(2),outletModuloVal:2}),i=(await t(e[1])).configuredOverpanels[e[2]];else{const r="outlet"===n?e.slice(-3,-2)[0]:e.slice(-2,-1)[0],s="outlet"===n?e.slice(-2,-1)[0]:e.slice(-1)[0],u="outlet"===n?-1:3;o=N({path:e.slice(u),outletModuloVal:0}),i=await t(r,s)}return"outlet"===n?(s?(u=i.featureName,c=i.moduleName):(u=e[e.length-3],c=e[e.length-2]),a=e[e.length-1],o=o.slice(0,-2),{pathType:n,featureName:u,moduleName:c,outletName:a,configPath:o,pathOrigin:r,treeFromRoot:i}):(s?(u=i.featureName,c=i.moduleName):(u=e[e.length-2],c=e[e.length-1]),{pathType:n,featureName:u,moduleName:c,configPath:o,pathOrigin:r,treeFromRoot:i})}function N({path:e,outletModuloVal:t}){const n=t+2;return e.reduce((e,r,s)=>{if(s%3===t)return e.concat(["configuredOutlets",r]);if(s%3===n&&2!==s){const t=e[e.length-1];return e[e.length-1]=`${t}-${r}`,e}return e.concat(r)},[])}function T(e,t){return e.reduce((e,t)=>{if(Array.isArray(e)){const[n,r]=t.split("-");return e[0].hasOwnProperty("tabLabel")||e[0].hasOwnProperty("menuItemLabel")?function(e,t){let n=-1;const r=e.find(e=>(n=e.modules.findIndex(t),-1!==n));if(r)return r.modules[n]}(e,_(n,r)):e.find(_(n,r))}return e[t]},t)}function _(e,t){return n=>n.featureName===e&&n.moduleName===t}function C(e,t,n){const r=e.getValue();return u.Maybe.maybe(r.features[t]).map(e=>{const r=Object.keys(e.modules).find(t=>e.modules[t].primary),s=e.modules[n]||e.modules[r],o=`${t}.${s.meta.moduleName}`;return{navigable:!!s.navigable,legacy:!!e.legacy,key:e.legacy?e.legacyRouteName:o}})}function E(e,t,n,r,s){!function(e,t,n,r){if(t.actionRequired&&t.removeActionRequired){n.add("actionRequired");const s=e.onMessage("actionRequired").subscribe(e=>{t.actionRequired(e.value.uuid,e.value.title,e.value.message)});r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){if(t.authorizeTransactionWithMfa){n.add("authorizeTransactionWithMfa");const s=e.sendResponse("authorizeTransactionWithMfa",async e=>t.authorizeTransactionWithMfa(e));r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){if(t.clearCacheByPrefix){n.add("clearCache"),n.add("cacheCleared");const s=e.sendResponse("clearCache",function(e){return e.routePrefixes.forEach(function(e){t.clearCacheByPrefix(e),l("cacheCleared",u.Maybe.just(JSON.stringify({cleared:e})))}),Promise.resolve()});r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){if(t.clearParams){n.add("clearParams");const s=e.onMessage("clearParams").subscribe(e=>{t.clearParams(e.value.moduleId)});r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){if(t.closeOverpanel){n.add("closeOverpanel");const s=e.onMessage("closeOverpanel").pipe((0,i.T)(e=>e.value)).subscribe(t.closeOverpanel);r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){if(t.keepAlive){n.add("keepAlive");const s=e.onMessage("keepAlive").subscribe(t.keepAlive);r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){if(t.showLoadingModal){n.add("showLoadingModal");const s=e.onMessage("showLoadingModal").subscribe(e=>{t.showLoadingModal(e.value.title)});r.push(()=>s.unsubscribe())}if(t.clearLoadingModal){n.add("clearLoadingModal");const s=e.onMessage("clearLoadingModal").subscribe(()=>{t.clearLoadingModal()});r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r,s){if(n.logToServer){r.add("logToServer");const t=e.onMessage("logToServer").subscribe(async e=>{const t=await x(e.value.moduleId.split("."),n.dynamicConfigFetch).then(e=>e.featureName);n.logToServer(t,e.value.message,e.value.level||"info")});s.push(()=>t.unsubscribe())}}(e,0,n,r,s),function(e,t,n,r){if(t.manageChanges){n.add("manageChanges");const s=e.sendResponse("manageChanges",e=>t.manageChanges(e.changeData));r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r,s){if(n.navigateTo){r.add("navigateTo");const o=e.onMessage("navigateTo").subscribe(async e=>{const{moduleName:r,urlParams:s,queryParams:o,moduleId:i}=e.value;let{featureName:u}=e.value;!u&&i&&(u=await x(i.split("."),n.dynamicConfigFetch).then(e=>e.featureName));const c=C(t,u,r);c.map(e=>{if(e.navigable)if(e.legacy)n.navigateTo(!0,e.key,s,o);else{const r=t.getValue().features[u],s=`tectonRoute.${e.key}`;o&&n.updateParams&&n.updateParams(s,o,r.modules[e.key.split(".")[1]].meta.params),n.navigateTo(!1,e.key)}}),c.hasNothing&&n.navigateTo(!0,u,s,o)});s.push(()=>o.unsubscribe())}}(e,t,n,r,s),function(e,t,n,r){if(t.openURL){n.add("openURL");const s=e.onMessage("openURL").subscribe(e=>{const{url:n,options:r}=e.value;t.openURL(n,r)});r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t){const n=e.onMessage("printWindow").subscribe(()=>{var e;!0===(null===(e=window.Tecton)||void 0===e?void 0:e.inMobileApp)?console.info("printWindow does not support e-banking mobile app environment."):(document.body.focus(),window.print())});t.push(()=>n.unsubscribe())}(e,s),function(e,t,n,r){if(t.refetchAccountsNotification&&t.clearCacheByPrefix&&t.clearTransferCache){n.add("refetchAccountsNotification");const s=e.onMessage("refetchAccountsNotification").subscribe(()=>{t.clearCacheByPrefix("mobilews/account"),t.clearTransferCache(),t.refetchAccountsNotification()});r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){if(t.actionRequired&&t.removeActionRequired){n.add("removeActionRequired");const s=e.onMessage("removeActionRequired").subscribe(e=>{t.removeActionRequired(e.value.uuid)});r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){n.add("scrollTo");const s=e.onMessage("scrollTo").subscribe(e=>{var n,r;const s=(null===(r=null===(n=null==t?void 0:t.getSurroundingOffsets)||void 0===n?void 0:n.call(t))||void 0===r?void 0:r.top)||0,o=e.value;o.behavior=o.behavior||"smooth",!0===o.initialize?l("platformScrollChanged",u.Maybe.just(JSON.stringify({scrollY:0,innerHeight:window.innerHeight,innerWidth:window.innerWidth,outletOffset:s,top:s}))):window.scrollTo(o)});r.push(()=>s.unsubscribe())}(e,n,r,s),function(e,t,n){t.add("scrollToTop");const r=e.onMessage("scrollToTop").subscribe(()=>{window.scrollTo(0,0)});n.push(()=>r.unsubscribe())}(e,r,s),function(e,t,n,r){if(t.sendAlert||t.showAlert){n.add("sendAlert"),n.add("sendAlertWithResponse");const s=e.sendResponse("sendAlert",e=>(t.sendAlert||t.showAlert)(e).then(e=>({actionName:e}))),o=e.onMessage("sendAlert").subscribe(e=>{(t.sendAlert||t.showAlert)(e.value)});r.push(()=>{s.unsubscribe(),o.unsubscribe()})}}(e,n,r,s),function(e,t,n,r,s){if(n.updateParams){r.add("setParams");const t=e.onMessage("setParams").subscribe(async e=>{const{moduleId:t,params:r}=e.value,s=await x(t.split("."),n.dynamicConfigFetch),o=await n.dynamicConfigFetch(s.featureName).then(e=>e.modules[s.moduleName].meta.params);n.updateParams(t,r,o)});s.push(()=>t.unsubscribe())}}(e,0,n,r,s),function(e,t,n,r,s){if(t.setOverpanelTitle||t.setPageTitle){t.setOverpanelTitle&&r.add("setOverpanelTitle"),t.setPageTitle&&r.add("setPageTitle");const n=e.onMessage("setTitle").subscribe(async e=>{"tectonOverpanel"===await x(e.value.moduleId.split("."),t.dynamicConfigFetch).then(e=>e.pathOrigin)&&t.setOverpanelTitle?t.setOverpanelTitle(e.value.title):t.setPageTitle&&t.setPageTitle(e.value.title)});s.push(()=>n.unsubscribe())}}(e,n,0,r,s),function(e,t,n,r){const s=t.getCurrentLanguage(),o=new m.t(s);let i=!0;t.languageChanged&&(n.add("languageChanged"),t.languageChanged(e=>{i&&o.next(e)}));const c=o.subscribe((e="en-US")=>{l("streamLanguage",u.Maybe.just(JSON.stringify({langKey:e})))}),a=e.sendResponse("getCurrentLanguage",()=>Promise.resolve({langKey:o.getValue()}));r.push(()=>{i=!1,[c,a].forEach(e=>e.unsubscribe()),o.complete()})}(e,n,r,s),function(e,t,n,r,s){if(n.showActionSheet){r.add("showActionSheet");const t=e.sendResponse("showActionSheet",e=>n.showActionSheet(e).then(e=>e));s.push(()=>t.unsubscribe())}}(e,0,n,r,s),function(e,t,n,r){if(t.showModal){n.add("sendModal");const s=e.sendResponse("sendModal",e=>t.showModal(e).then(e=>({actionName:e})));r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r,s){if(n.showOverpanel){r.add("showOverpanel");const o=e.sendResponse("showOverpanel",async e=>{var r,s,o,i,u,c,a,l,d;try{let f,h,p,m=[];if(n.getPlatformOverpanels&&(m=await n.getPlatformOverpanels()),e.useRouteConfig){const[t,r]=e.overpanelPath.split(".");h=await n.dynamicConfigFetch(t,r),p=e.overpanelPath,f=await n.dynamicConfigFetch(h.featureName)}else if(m.includes(e.overpanelPath))h={moduleName:e.overpanelPath},p=e.overpanelPath,f={legacyOverpanelName:e.overpanelPath,legacy:!0};else{const r=(d=t.value,Object.entries(d.features).reduce((e,[t,n])=>{const r=n.configuredOverpanels;return r&&Object.entries(r).filter(([e,t])=>!0===t.public).forEach(([n,r])=>{r.featureName||(r.featureName=t),e[n]=r}),e},{}))[e.overpanelPath];let s;r?(h=r,p=`${r.featureName}.${e.overpanelPath}`,f=await n.dynamicConfigFetch(r.featureName)):(s=await x(e.moduleId.split("."),n.dynamicConfigFetch),h=await n.dynamicConfigFetch(s.featureName).then(t=>{var n;const r=null===(n=t.configuredOverpanels)||void 0===n?void 0:n[e.overpanelPath];if(!r)throw new Error(`Overpanel ${e.overpanelPath} not found.`);return r}),p=`${s.featureName}.${e.overpanelPath}`,f=await n.dynamicConfigFetch(h.featureName))}if(f.legacy&&!f.legacyOverpanelName)throw new Error("Tried to call a legacy overpanel, but config is missing a legacyOverpanelName");if(e.params&&n.updateParams&&!f.legacy){const t=null===(o=null===(s=null===(r=f.modules)||void 0===r?void 0:r[h.moduleName])||void 0===s?void 0:s.meta)||void 0===o?void 0:o.params;t&&(function(e,t){if(null==e||"{}"===JSON.stringify(e))return!0;if(void 0===t)throw new Error(`params for action are not configured, yet ${JSON.stringify(e)} was passed to action`);const n=[];if(Object.keys(e).forEach(e=>{t[e]||n.push(e)}),n.length>0)throw new Error(`The following parameter(s) passed to action is/are not configured for the action: [${n.join(", ")}]`)}(e.params,t),n.updateParams(`tectonOverpanel.${p}`,e.params,t))}const b=f.legacy?e.params?JSON.stringify(e.params):"":p,v=f.legacy?f.legacyOverpanelName:void 0,g="options"in h&&h.options||{},y=(null===(i=e.options)||void 0===i?void 0:i.size)||g.size,w=(null===(u=e.options)||void 0===u?void 0:u.height)||g.height,N=(null===(c=e.options)||void 0===c?void 0:c.fullWidth)||g.fullWidth,T=(null===(a=e.options)||void 0===a?void 0:a.isBlocking)||g.isBlocking,[,,_]=e.moduleId.split("."),C=(null===(l=e.options)||void 0===l?void 0:l.testId)||g.testId||_;return n.showOverpanel(b,!!N,v,y,w,C,!!T)}catch(e){return Promise.reject(e)}});s.push(()=>o.unsubscribe())}}(e,t,n,r,s),function(e,t,n,r){if(t.verifyMFA){n.add("verifyMFA");const s=e.sendResponse("verifyMFA",async e=>t.verifyMFA(e));r.push(()=>s.unsubscribe())}}(e,n,r,s)}const P=e=>Array.isArray(e)?e.length>0:Boolean(e),S={scrollY:0,innerHeight:0,innerWidth:0};function O(e,t){var n,r,s,o,i,u,c,a;if(!t)return console.warn("No platform root found. Returning zeroed dimensions."),S;const l=t instanceof HTMLElement;return l&&!t.isConnected?(console.warn("Platform root is no longer connected to the DOM. Returning zeroed dimensions."),S):Object.assign({scrollY:null!==(n=l?t.scrollTop:t.scrollY)&&void 0!==n?n:0,innerHeight:null!==(r=l?t.offsetHeight:t.innerHeight)&&void 0!==r?r:0,innerWidth:null!==(s=l?t.offsetWidth:t.innerWidth)&&void 0!==s?s:0,orientationType:null!==(i=null===(o=null===screen||void 0===screen?void 0:screen.orientation)||void 0===o?void 0:o.type)&&void 0!==i?i:"landscape-primary",orientationAngle:null!==(c=null===(u=null===screen||void 0===screen?void 0:screen.orientation)||void 0===u?void 0:u.angle)&&void 0!==c?c:0},null===(a=null==e?void 0:e.getSurroundingOffsets)||void 0===a?void 0:a.call(e))}function A(e,t){const n=function(e){return!!e.dataType}(t)?function(e,t,n,r={}){const[s,o="default"]=t.split("::");if(!s)throw new Error(`Invalid dataType format: '${t}'. Expected 'category::type'.`);const i=e.getRequestURLMap?e.getRequestURLMap():{};if(!i[s])throw new Error(`No URL map found for category '${s}'.`);const u=i[s][o]||i[s].default;if(!u)throw new Error(`No URL resolver found for category '${s}' and type '${o}'.`);return("string"==typeof u?Promise.resolve(u):u).then(e=>`${e}${n.map(e=>`/${e}`).withDefault("")}${function(e){const t=Object.keys(e).map(t=>`${t}=${e[t]}`).join("&");return t&&"?".concat(t)||""}(r)}`)}(e,t.dataType,u.Maybe.maybe(t.dataId),t.params):Promise.resolve(t.route);return n.then(n=>t.body&&t.isFormData?e.sendFormDataRequest(n,t.method,function(e){if("object"!=typeof e||null===e)throw new Error("Invalid parameter. Expected JSON.");return Object.keys(e).reduce((t,n)=>(t.append(n,e[n]),t),new FormData)}(JSON.parse(t.body))):(e.sendRequest||e.requestPlatformData)(n,t.method,t.body))}const M="q2.tectonCache";function I(e,t){return`${e}.${t}`}var R;!function(e){e.PlatformCssPropertiesChanged="platformCssPropertiesChanged",e.CallMethod="callMethod"}(R||(R={}));const j=R;var $;!function(e){e.streamCssProperties="streamCssProperties",e.streamPlatformDimensions="platformSizeChanged"}($||($={}));const k=$;var L=n(7893);function q(e,t,n,r,s,o){!function(e,t,n){t.refetchRequired&&(n.add("cacheCleared"),t.refetchRequired(e=>{l("cacheCleared",u.Maybe.just(JSON.stringify({cleared:e})))}))}(0,t,s),function(e,t,n,r){if(t.getCapabilities){n.add("canUser");const s=e.sendResponse("canUser",({capabilities:e})=>Promise.resolve({allowed:Object.values(t.getCapabilities(...e)).every(P)}));r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n,r,s){if(n.getFeatureConfig){r.add("getFeatureConfig");const t=e.sendResponse("getFeatureConfig",async({moduleId:e})=>{const t=await x(e.split("."),n.dynamicConfigFetch),r=await n.dynamicConfigFetch(t.featureName).then(e=>e.configuredSystemVariables||[]);return r.length?n.getFeatureConfig(r).then(e=>({config:e})):Promise.resolve({config:{}})});s.push(()=>t.unsubscribe())}}(e,0,t,s,o),function(e,t,n,r){if(t.getPendoInfo){n.add("getPendoInfo");const s=e.sendResponse("getPendoInfo",()=>Promise.resolve(t.getPendoInfo()));r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n,r){if(t.getPlatformInfo){n.add("platformInfo");const s=e.sendResponse("platformInfo",e=>t.getPlatformInfo(e));r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n,r){n.add("getPlatformDimensions");const s=e.sendResponse("getPlatformDimensions",e=>{var n,r,s,o,i;let c;const a=null==e?void 0:e.selector;if(a){const e=document.querySelector(a);e?c=e.getBoundingClientRect():(console.warn(`No platform element found matching the selector "${a}". Returning zeroed dimensions.`),c={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0,orientationType:null!==(r=null===(n=null===screen||void 0===screen?void 0:screen.orientation)||void 0===n?void 0:n.type)&&void 0!==r?r:"landscape-primary",orientationAngle:null!==(o=null===(s=null===screen||void 0===screen?void 0:screen.orientation)||void 0===s?void 0:s.angle)&&void 0!==o?o:0})}else{const e=null===(i=t.getPlatformRootSelector)||void 0===i?void 0:i.call(t),n=e?document.querySelector(e):window;c=O(t,n)}return l("platformScrollChanged",u.Maybe.just(JSON.stringify(c))),Promise.resolve(c)});r.push(()=>s.unsubscribe())}(e,t,s,o),function(e,t,n,r){if(t.getVersionInfo){n.add("getPlatformInfo");const s=e.sendResponse("getPlatformInfo",()=>{const e=t.getVersionInfo();return Promise.resolve(Object.assign(Object.assign({},e),{TECTON_PLATFORM_VERSION:"1.63.0"}))});r.push(()=>{s.unsubscribe()})}}(e,t,s,o),function(e,t,n,r){if(t.getAuthToken){n.add("authToken");const s=e.sendResponse("authToken",()=>t.getAuthToken());r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n,r){if(t.getGlobalScripts){n.add("getGlobalScripts");const s=e.sendResponse("getGlobalScripts",()=>t.getGlobalScripts());r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n,r,s){if(n.isUUXPath&&n.navigateTo){r.add("isNavigable");const o=e.sendResponse("isNavigable",({featureName:e,moduleName:r})=>{const s=C(t,e,r).map(e=>e.navigable).withDefaultFn(()=>n.isUUXPath(e));return Promise.resolve({navigable:s})});s.push(()=>o.unsubscribe())}}(e,r,t,s,o),function(e,t,n,r){var s;function o(){l("platformScrollChanged",u.Maybe.just(JSON.stringify(O(t,h))))}function i(){l("platformSizeChanged",u.Maybe.just(JSON.stringify(O(t,h))))}let c;n.add("platformScrollChanged");const a=()=>{if(c=e.sendResponse("getPlatformScroll",()=>Promise.resolve(O(t,h))),null==h||h.addEventListener("scroll",o),h instanceof HTMLElement){const e=new ResizeObserver(i);e.observe(h),r.push(()=>null==e?void 0:e.disconnect())}else null==h||h.addEventListener("resize",i)},d=null===(s=t.getPlatformRootSelector)||void 0===s?void 0:s.call(t);let f,h=d?document.querySelector(d):window;h?a():d&&(f=new MutationObserver(()=>{h=document.querySelector(d),h&&(a(),null==f||f.disconnect())}),f.observe(document.body,{childList:!0,subtree:!0})),r.push(()=>{null==f||f.disconnect(),null==c||c.unsubscribe(),null==h||h.removeEventListener("scroll",o),null==h||h.removeEventListener("resize",i)})}(e,t,s,o),function(e,t,n,r){if(t.promptForMFA){n.add("promptForMFA");const s=e.sendResponse("promptForMFA",async e=>{const n=await x(e.moduleId.split("."),t.dynamicConfigFetch).then(e=>e.featureName);return t.promptForMFA(n,e)});r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n){t.refetchRequired&&(n.add("refetchRequired"),t.refetchRequired(e=>{l(`refetchRequired::${e}`,u.Maybe.nothing())}))}(0,t,s),function(e,t,n,r,s){if("function"!=typeof n.requestExtensionData)return;r.add("requestExtensionData");const o=e.sendResponse("requestExtensionData",async e=>{const{moduleId:t,route:r,body:s}=e;let{featureName:o}=e;return!o&&t&&(o=await x(t.split("."),n.dynamicConfigFetch).then(e=>e.featureName)),n.requestExtensionData(o,{route:r,body:s||{}})});s.push(()=>o.unsubscribe())}(e,0,t,s,o),function(e,t,n,r){if(t.sendRequest||t.requestPlatformData){n.add("requestPlatformData"),n.add("requestPlatformData-v2"),t.sendFormDataRequest&&n.add("requestPlatformData-formdata");const s=e.sendResponse("requestPlatformData",e=>A(t,e).then(function(t){return 200<=t.status&&t.status<300?{data:"GET"===e.method?t.response.data:t.response,status:"success"}:{data:{message:t.statusText},status:"error"}})),o=e.sendResponse("requestPlatformData-v2",e=>A(t,e));r.push(()=>{s.unsubscribe(),o.unsubscribe()})}}(e,t,s,o),function(e,t){const n=e.subscribe(e=>{var t;(t=Object.assign(Object.assign({},e.changedParams),e.currentParams),Object.keys(t).reduce((e,t)=>{const n=t.split(".").slice(0,-1).join(".");return-1===e.indexOf(n)&&e.push(n),e},[])).forEach(t=>{const n=b(t,e.changedParams),r=b(t,e.currentParams);l("streamParams::"+t,u.Maybe.just(JSON.stringify({changedParams:n,currentParams:r})))})});t.push(()=>n.unsubscribe())}(n,o),function(e,t,n,r){if(t.takePicture){n.add("takePicture");const s=e.sendResponse("takePicture",({overlayText:e,helpText:n})=>t.takePicture({overlayText:e,helpText:n}).then(e=>({picture:e})));r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n,r){if(!t.registerLogoffHook||!function(){const e=!!sessionStorage.getItem,t=!!sessionStorage.setItem,n=!!sessionStorage.removeItem;return e&&t&&n}())return;n.add("tectonCache"),t.registerLogoffHook(()=>{sessionStorage.removeItem(M)});const s=e.sendResponse("getCache",e=>{const t=I(e.moduleId,e.key),n=JSON.parse(sessionStorage.getItem(M)||"{}")[t]||{};return Promise.resolve(n)});r.push(()=>s.unsubscribe());const o=e.sendResponse("setCache",e=>{const t=I(e.moduleId,e.key);let n={};return"string"==typeof sessionStorage.getItem(M)&&(n=JSON.parse(sessionStorage.getItem(M))),n[t]=e.data,sessionStorage.setItem(M,JSON.stringify(n)),Promise.resolve()});r.push(()=>o.unsubscribe())}(e,t,s,o),function(e,t,n){if(!e.cssPropertiesChanged)return;t.add(j.PlatformCssPropertiesChanged);const r=new m.t([]);let s=!0;const o=r.pipe((0,L.i)(1)).subscribe(e=>{l(k.streamCssProperties,u.Maybe.just(JSON.stringify(e)))});e.cssPropertiesChanged(e=>{s&&r.next(e)}),n.push(()=>{s=!1,o.unsubscribe(),r.complete()})}(t,s,o),function(e,t){e.platformEventNotification&&(t.add("platformEventNotification"),e.platformEventNotification(e=>{l(`platformEventNotification::${e.name}`,u.Maybe.maybe(e.data).map(JSON.stringify))}))}(t,s)}var F=n(9576),D=n(3713),U=n(2786),W=n(2950),B=n(6418);const H="[iFrameSizer]",z=[{name:"name",reflectAs:String},{name:"minHeight",reflectAs:String},{name:"overpanel",reflectAs:Boolean},{name:"baseClass",reflectAs:String}],V=(0,F.createSetupElement)(function(e,{messageBus:t,props:n,moduleId:r,tectonOutletAdaptor:s,resize:u}){return(0,F.generateCustomElementWrapper)(e,(e,n)=>{const c=new m.t(document.createElement("div")),a=new m.t(!1),l=new D.yU,d=n.pipe((0,i.T)(e=>e.name),(0,o.p)(e=>!!e),(0,i.T)(e=>`${r?`${r}.`:""}${e}`),(0,W.F)(),(0,B.$)()).subscribe(r=>{const o=s(t,r,e,n,u),i=o.DOM$.subscribe(c);l.add(i);const d=o.settled$.subscribe(a);l.add(d);const h=o.teardown$.subscribe(f);l.add(h);const p=o.effect$.subscribe(t=>{e.__attached?t():e.__onAttached.push(t)});l.add(p)});l.add(d);const f=new m.t(()=>{c.next(null),c.complete(),a.complete(),f.complete(),l.unsubscribe()});return{DOM$:c,settled$:a,teardown$:f}},{useShadowDOM:!0,props:z.concat(n),css:`\n .root {\n height: 100%;\n width: 100%;\n }\n .outlet-wrapper {\n line-height: 0;\n font-size: 0;\n }\n .outlet-wrapper.scrollable {\n height: 100%;\n }\n .loading-wrapper {\n height: 44px;\n width: 100%;\n align-items: center;\n justify-content: center;\n }\n .loading-wrapper:not([hidden]) {\n display: flex;\n }\n .loading-wrapper,\n .outlet-wrapper.scrollable iframe {\n height: 100%;\n }\n .outlet-wrapper iframe {\n width: 100%;\n height: auto;\n border: none;\n }\n .outlet-wrapper iframe:not([hidden]) {\n display: inline-block;\n }\n ${"tecton-platform-outlet"===e?'\n :host {\n position: relative;\n display: block;\n height: 100%;\n }\n .outlet-wrapper {\n min-height: calc(var(--tct-loading-spinner-size, var(--app-scale-12x, 60px)) + 2px);\n }\n .loading-wrapper {\n position: absolute;\n top: 0;\n }\n .loading-wrapper:not([hidden]) {\n align-items: flex-start;\n overflow: hidden;\n }\n .loading-wrapper.spinner-loader:not([hidden]) {\n align-items: center;\n }\n .loading-wrapper .q2-row {\n flex: 1;\n text-align: center;\n line-height: 1;\n }\n q2-loading:not([type="skeleton"]) {\n display: inline-block;\n }\n ':""}\n `})});function J(e){const t=[];if(e&&e.loaders){const n=e.loaders.reduce((e,t)=>t.row>e?t.row:e,0);for(let e=0;e<n;e++)t.push([]);for(const n of e.loaders){const e=document.createElement("q2-loading");e.setAttribute("shape",n.shape),e.setAttribute("type",n.type),e.className="q2-col",n.classList&&e.classList.add(...n.classList),n.style&&e.setAttribute("style",n.style),n.modifiers&&e.setAttribute("modifiers",n.modifiers),n.counts&&e.setAttribute("counts",n.counts),n.ariaLabel&&e.setAttribute("ariaLabel",n.ariaLabel),t[n.row-1].push(e)}}else{const e=document.createElement("q2-loading");t.push([]),e.classList.add("mrg(a)"),t[0].push(e)}return t}function K(e,t){const n=document.createElement("div");n.slot="loading-wrapper",n.classList.add("loading-wrapper"),n.setAttribute("data-tecton-module","");const r=e?J(e):J();if(null==e?void 0:e.outlet){const t=e.outlet;t.style&&n.setAttribute("style",t.style),t.classList&&n.classList.add(...t.classList)}n.style.minHeight=t||"0px";for(const e of r){const t=document.createElement("div");t.className="q2-row";for(const n of e)t.appendChild(n);n.appendChild(t)}return n}function Z(e){const t=e.getAttribute("base-class");return t?null==t?void 0:t.replace(/\s/g,"%7C"):""}var G=n(6770),Y=n(772);function X(e,t){const n=new URL(e,window.location.toString()),r=Object.keys(t).map(e=>`${e}=${t[e]}`).join("&"),s=n.search?`${n.search}&${r}`:`?${r}`;return n.search=s,n.href}const Q=[{name:"additionalContext",reflectAs:String},{name:"configTree"},{name:"context",reflectAs:String},{name:"contextId",reflectAs:String},{name:"contextValue",reflectAs:String},{name:"resolvedType",reflectAs:String},{name:"routeName"}];function ee(e,n,r,s){return function(c,l,d,f){const h=document.createElement("div"),p=new m.t(h),v=new m.t(!1),y=new m.t(()=>{}),w=function(){return{loaderWrapper:d.shadowRoot.querySelector("div[slot='loading-wrapper']"),iframeEl:d.shadowRoot.querySelector("iframe"),minHeight:f.getValue().minHeight}};let x,N;const T=function(){return x},_=function(e,t,n,r,s){let i=!1;return e.onMessage("setFetching").pipe((0,o.p)(e=>e.value.moduleId===t())).subscribe(e=>{const{loaderWrapper:t,iframeEl:o,minHeight:u="0px"}=n();if(t&&o){const{fetching:n}=e.value,c=r?r():void 0;if(!1===n){if(t.hidden=!0,o.hidden=!1,t.style.minHeight="0px",i&&s){const e=s();if(e&&t&&t.parentNode===e){const n=K(c,u);n.hidden=!0,e.replaceChild(n,t)}i=!1}}else if(!0===n)t.hidden=!1,o.hidden=!0,t.style.minHeight=u;else if(function(e){return"object"==typeof e&&null!==e}(n)&&s){const e=s();if(e){const r=K(n.loaders&&n.loaders.length>0?n:void 0,u);n.outlet&&(n.outlet.style&&(r.setAttribute("style",n.outlet.style),r.style.minHeight=u),n.outlet.classList&&r.classList.add(...n.outlet.classList)),r.hidden=!1,t&&t.parentNode===e&&(e.replaceChild(r,t),o.hidden=!0,i=!0)}}}})}(c,T,w,function(){return N},function(){return d.shadowRoot}),C=function(e,t,n){return e.sendResponse("requestOutletInfo",({moduleId:e})=>{if(e!==t())return null;const{iframeEl:r}=n(),s=null==r?void 0:r.getBoundingClientRect();return s&&Object.values(s.toJSON()).find(e=>0!==e)?Promise.resolve(s):null})}(c,T,w),E=new D.yU;E.add(_),E.add(C),E.add(()=>{p.next(null),p.complete(),y.next(()=>{}),y.complete(),v.complete()});const P=new m.t(()=>{P.complete(),E.unsubscribe()}),S=f.pipe((0,i.T)(e=>e.configTree),(0,o.p)(e=>!!e),(0,W.F)()),O=new m.t(!1),A=f.pipe((0,i.T)(e=>e.overpanel),(0,o.p)(e=>"boolean"==typeof e),(0,W.F)()).subscribe(O);E.add(A),E.add(()=>{O.complete()});const M=f.pipe((0,i.T)(e=>e.routeName),(0,o.p)(e=>!!e),(0,W.F)()),I=M.pipe((0,i.T)(e=>`${l}.${e}`),(0,G.J)()).subscribe(([e])=>{a("clearParams",u.Maybe.just(JSON.stringify({moduleId:e})))});E.add(I);const R=(0,Y.z)(S,O,M).subscribe(([h,m,_])=>{const C=e.getValue(),P=C.features[h.featureName];if(!P)throw new Error(`Could not find the config for this feature=${h.featureName}`);const S=P.modules[h.moduleName],O=f.getValue();if(function(e,t,n,r){var s,o,i,u;const c=t.isMFA,a=!1!==e.rightsEnabled,l="Application::Unauthenticated"===(null===(o=null===(s=e.meta)||void 0===s?void 0:s.type)||void 0===o?void 0:o.context);return!(!c&&!l)||!!a&&function(e,t){const{outletContext:n,moduleContext:r,resolvedContext:s,additionalContext:o,additionalContextRequirements:i}=e;if((null==i?void 0:i.length)&&o&&!i.includes(o.toString()))return!1;if("None"===r||"None"===n)return!0;const u=g(r,t);return 0!==u.length&&u.includes(s||n)}({additionalContext:n.additionalContext,additionalContextRequirements:e.additionalContextRequirements,contextValue:n.contextValue,moduleContext:(null===(u=null===(i=e.meta)||void 0===i?void 0:i.type)||void 0===u?void 0:u.context)||"None",outletContext:n.context||"None",resolvedContext:n.resolvedType},r)}(S,P,O,s)){x=`${l}.${_}`,N=S.loadingOptions;const e=O.minHeight,s=C.features[h.featureName],f=!!s.modules[h.moduleName].formPostAuth,g=s.modules[h.moduleName].url,P=s.additionalDomains,A=s.allowDirectives,M=function(e,t,n,r,s,o,i){let u=X(o&&i.buildIframeURL?i.buildIframeURL(e):e,Object.assign(Object.assign({"tct-id":t,"tct-ctxid":n.contextValue||"","tct-ctxname":n.contextId||""},b(t,s.currentParams)),{"tct-maxHeight":r.style.maxHeight,"tct-maxWidth":r.style.maxWidth,"tct-baseClass":Z(r),"tct-outlet-name":r.name||""}));return function(e){const t=e.getAttribute("beta");return""===t||"true"===t}(r)&&(u=X(u,{"tct-beta":"true"})),u}(g,x,O,d,n.getValue(),f,r);if(!m){const e=function(e,n,r){const s=(0,t.R)(window,"message").pipe((0,o.p)(e=>"string"==typeof e.data&&e.data.includes("iFrameSizer")),(0,i.T)(e=>{const t=e.data.substr(H.length).split(":"),[n,r]=t;return{value:{moduleId:n,height:r}}})),u=e.onMessage("resizeIframe");return(0,U.h)(s,u).pipe((0,o.p)(e=>e.value.moduleId===n()),(0,W.F)((e,t)=>e.value.height===t.value.height)).subscribe(e=>{const{height:t}=e.value,{iframeEl:n}=r();n&&n.style.setProperty("height",`${t}px`)})}(c,T,w);E.add(e)}const I=function(e,t,n){return e.onMessage("setTitle").pipe((0,o.p)(e=>e.value.moduleId===t())).subscribe(e=>{const{iframeEl:t}=n();t.title=e.value.title})}(c,T,w);E.add(I);const{element:R,cleanup:j}=function(e,t,n,r,s,o,i,u,c,a){const l=document.createElement("div");l.className="outlet-wrapper";const d=document.createElement("slot");d.name="loading-wrapper";const f=[],h=document.createElement("iframe");if(u){const r=document.createElement("form");n.forEach(function(e){const t=document.createElement("input");t.name=e.key,t.setAttribute("value",e.value),r.appendChild(t)}),r.hidden=!0,r.method="post",r.action=e,r.target=t,r.enctype="multipart/form-data",h.name=t,l.appendChild(r),f.push(function(){r.submit(),l.removeChild(r)})}else h.src=e;return h.title=r,h.dataset.moduleId=t,h.style.maxHeight=s,h.style.maxWidth=o,h.setAttribute("test-id","outletIframe"),h.allow=function(e=[],t=["geolocation","camera"],n){let r=["'self'",`${new URL(n).origin}`];return e&&e.length>0&&(r=[...r,...e]),t.reduce(function(e,t){return e+`${t} ${r.join(" ")}; `},"")}(c,a,e),l.appendChild(h),f.push(()=>{h.contentWindow&&h.contentWindow.postMessage(`${H}${t}:0:false:false:32:true:true:null:documentElementOffset`,"*")}),h.onload=function(){f.forEach(e=>{e()}),h.onload=function(){}},i?l.classList.add("scrollable"):(h.style.setProperty("overflow-y","hidden"),h.scrolling="no"),h.hidden=!0,l.appendChild(d),{element:l,cleanup:()=>{if(h.contentWindow)try{h.contentWindow.stop()}catch(e){}h.src="about:blank",h.onload=null,h.parentNode&&h.parentNode.removeChild(h)}}}(M,x,r.getAuthPayload?r.getAuthPayload():[],`${h.featureName}-${h.moduleName}`,d.style.maxHeight,d.style.maxWidth,m,f,P,A),$=function(e,t){var n,r,s;const o=document.createElement("div");o.slot="loading-wrapper",o.classList.add("loading-wrapper"),o.setAttribute("data-tecton-module","");const i=e.loadingOptions?J(e.loadingOptions):J();if(null===(n=e.loadingOptions)||void 0===n?void 0:n.outlet){const t=e.loadingOptions.outlet;t.style&&o.setAttribute("style",t.style),t.classList&&o.classList.add(...t.classList)}const u=null===(s=null===(r=i[0])||void 0===r?void 0:r[0])||void 0===s?void 0:s.getAttribute("type");null!==u&&"spinner"!==u||o.classList.add("spinner-loader"),o.style.minHeight=t||"0px";for(const e of i){const t=document.createElement("div");t.className="q2-row";for(const n of e)t.appendChild(n);o.appendChild(t)}return o}(S,e);p.next(R),y.next(()=>{const e=d.shadowRoot;if(!e)return;const t=e.querySelector(".loading-wrapper");t&&t.parentNode===e?e.replaceChild($,t):t||e.appendChild($),v.next(!0)}),E.add(()=>{j(),a("clearParams",u.Maybe.just(JSON.stringify({moduleId:x})))})}});return E.add(R),{DOM$:p,settled$:v,teardown$:P,effect$:y}}}const te=`${window.location.origin}${window.location.pathname.replace(/\/uux\.aspx/i,"")}`;function ne(e){return/^http/.test(e)?e:`${window.location.origin}/${e}`}function re(e,t,n,r,s,o,i={}){!function(e,t,n,r){if(t.getMobileSDKCapabilities){n.add("getMobileSDKCapabilities");const s=e.sendResponse("getMobileSDKCapabilities",()=>Promise.resolve(t.getMobileSDKCapabilities()));r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n){const r=e.sendResponse("getInitialParams",e=>Promise.resolve({params:b(e.moduleId,t.getValue().currentParams)}));n.push(()=>r.unsubscribe())}(e,n,o),function(e,t,n,r,s){let o;const i=e.sendResponse("getCustomerAssetPath",({subPath:e})=>Promise.resolve({path:ne(n.getCustomerSpecificAssetPath(e))}));n.getCustomLanguageURL&&(t.add("getCustomLanguageURL"),o=e.sendResponse("getCustomLanguageURL",async({moduleId:e,langKey:t})=>{const r=await x(e.split("."),n.dynamicConfigFetch);return Promise.resolve({path:ne(n.getCustomLanguageURL(`${t}_${r.featureName}.json`))})}));const u=e.sendResponse("getBaseAssetPath",({subPath:e})=>Promise.resolve({path:ne(n.getBaseAssetPath(e))})),c=e.sendResponse("getNgamBaseUrl",()=>Promise.resolve({ngamBase:te}));s.push(()=>{i.unsubscribe(),u.unsubscribe(),c.unsubscribe(),o&&o.unsubscribe()})}(e,s,t,0,o),function(e,t,n,r,s,o){const i=t.sendResponse("resolveFeature",async t=>{const s=await x(t.outletPath.split("."),e.dynamicConfigFetch),i=T(s.configPath,s.treeFromRoot),c=(await e.dynamicConfigFetch(s.featureName)).modules[s.moduleName].meta.outlets[s.outletName],a="None"===c.context?u.Maybe.nothing():u.Maybe.just(c.context),l=t.contextValue?u.Maybe.just(t.contextValue):u.Maybe.nothing(),d=t.resolvedType?u.Maybe.just(t.resolvedType):u.Maybe.nothing(),f=t.additionalContext?u.Maybe.just(t.additionalContext):u.Maybe.nothing(),h=i.configuredOutlets[s.outletName],p=n.getValue();return y(e,r,t.outletPath,a,l,h,d,f,p,s.featureName,s.moduleName,o).then(e=>e.withDefault({moduleId:"",featureName:"",initialParams:{},url:"",minHeight:"",formPostAuth:!1,loadingOptions:{loaders:[{type:"spinner",shape:"half-circle",row:1}]}}))});s.push(()=>i.unsubscribe())}(t,e,r,n,o,i),function(e,t,n,r,s,o){const i=t.sendResponse("resolveTabs",async t=>{const s=await x(t.outletPath.split("."),e.dynamicConfigFetch),i=T(s.configPath,s.treeFromRoot),c=e.dynamicConfigFetch(s.featureName),a=await c,l=(await c.then(e=>e.modules[s.moduleName])).meta.outlets[s.outletName],d="None"===l.context?u.Maybe.nothing():u.Maybe.just(l.context),f=t.contextValue?u.Maybe.just(t.contextValue):u.Maybe.nothing(),h=t.resolvedType?u.Maybe.just(t.resolvedType):u.Maybe.nothing(),p=t.additionalContext?u.Maybe.just(t.additionalContext):u.Maybe.nothing(),m=i.configuredOutlets[s.outletName],b=n.getValue();return function(e,t,n,r,s,o,i,c,a,l,d,f,h,p){return Promise.all(c.map(c=>y(e,t,n,r,s,c.modules||[],o,i,a,l,d,f).then(e=>e.map(e=>({tabLabel:c.tabLabel,tab:e}))).catch(()=>u.Maybe.nothing()))).then(e=>u.Maybe.filterSomethings(e)).then(e=>e.map(e=>({tabLabel:e.tabLabel,tabLabelOverride:e.tab.tabLabelOverride,moduleId:e.tab.moduleId,initialParams:e.tab.initialParams,url:e.tab.url,minHeight:e.tab.minHeight,formPostAuth:e.tab.formPostAuth,loadingOptions:e.tab.loadingOptions,additionalDomains:h,allowDirectives:p,requiredUserCapabilities:e.tab.requiredUserCapabilities,rightsEnabled:e.tab.rightsEnabled})))}(e,r,t.outletPath,d,f,h,p,m,b,s.featureName,s.moduleName,o,a.additionalDomains,a.allowDirectives).then(e=>({resolvedTabs:e}))});s.push(()=>i.unsubscribe())}(t,e,r,n,o,i),function(e,t,n,r,s,o){const i=t.sendResponse("resolveMenu",async t=>{const s=await x(t.outletPath.split("."),e.dynamicConfigFetch),i=T(s.configPath,s.treeFromRoot),c=(await e.dynamicConfigFetch(s.featureName).then(e=>e.modules[s.moduleName])).meta.outlets[s.outletName];if(!c)throw new Error(`${s.outletName} contextual menu outlet not found in config`);const a="None"===c.context?u.Maybe.nothing():u.Maybe.just(c.context),l=t.contextValue?u.Maybe.just(t.contextValue):u.Maybe.nothing(),d=t.resolvedType?u.Maybe.just(t.resolvedType):u.Maybe.nothing(),f=t.additionalContext?u.Maybe.just(t.additionalContext):u.Maybe.nothing(),h=i.configuredOutlets[s.outletName],p=n.getValue();return!1===p.features[s.featureName].modules[s.moduleName].rightsEnabled?new Promise(e=>{e({resolvedMenuItems:[]})}):function(e,t,n,r,s,o,i,c,a,l,d,f){return Promise.all(c.map(c=>y(e,t,n,r,s,c.modules||[],o,i,a,l,d,f).then(t=>t.asyncMap(async t=>{const n=await x(t.moduleId.split("."),e.dynamicConfigFetch),r=s.withDefault("-1"),o={itemLabel:c.itemLabel,action:c.action,featureName:n.featureName,moduleName:n.moduleName,contextIdParamName:c.contextIdParamName};return"-1"!==r&&(o["tct-ctxid"]=r),o})).then(u.Maybe.just).catch(()=>u.Maybe.nothing()))).then(e=>u.Maybe.filterSomethings(e))}(e,r,t.outletPath,a,l,d,f,h,p,s.featureName,s.moduleName,o).then(e=>({resolvedMenuItems:e}))});s.push(()=>i.unsubscribe())}(t,e,r,n,o,i),function(e,t,n){const r=e.sendResponse("getPlatformCapabilities",()=>{const e=Array.from(t);return Promise.resolve({capabilities:e})});n.push(()=>r.unsubscribe())}(e,s,o),function(e,t,n){const r=e.sendResponse("getAuthPayload",()=>Promise.resolve(t.getAuthPayload()));n.push(()=>r.unsubscribe())}(e,t,o),function(e,t,n,r){if(t.cdnOverride){n.add("cdnOverride");const s=e.sendResponse("cdnOverride",()=>t.cdnOverride().then(e=>({path:e})));r.push(()=>s.unsubscribe())}}(e,t,s,o)}const se="Authenticated",oe="Unauthenticated";function ie(t,n,r={},s){window.isTectonPlatform=!0;const o=new m.t({changedParams:{},currentParams:{}});let i;ue(t),window.isTestingTecton||(null==s?void 0:s.testing)?(i=window.tectonConfig$||new m.t(null),i.next(t),window.tectonConfig$=i):i=new m.t(t);const c=new p(i,window.isTestingTecton),a=new Set,d=[c.teardown.bind(c)];function f(e){const[r,s]=e.split(".");try{return Promise.resolve(t.features[r].configuredOverpanels[s])}catch(e){return n.dynamicConfigFetch(r,s)}}return function(e){e.add("resizeIframe"),e.add("requestOutletInfo")}(a),function(e,t,n,r){if(t.setupDynamicPlatformAPI){t.setupDynamicPlatformAPI().forEach(e=>n.add(e));const s=e.sendResponse("executeDynamicPlatformAPI",({functionName:e,args:n})=>t.executeDynamicPlatformAPI(e,n));r.push(()=>s.unsubscribe())}}(c,n,a,d),E(c,i,n,a,d),q(c,n,o,i,a,d),function(e,t,n,r){if(!t.getCurrentTheme)return void n.add("ThemesNotSupported");n.add("getCurrentTheme");const s=new m.t({path:ne(t.getCustomerSpecificAssetPath(`${t.getCurrentTheme()}-props.css`))});let o=!0;t.themeChanged&&(n.add("themeChanged"),t.themeChanged(e=>{o&&s.next({path:ne(t.getCustomerSpecificAssetPath(`${e}-props.css`))})}));const i=s.subscribe(e=>{l("themeChanged",u.Maybe.maybe(e).map(JSON.stringify))}),c=e.sendResponse("getCurrentTheme",()=>Promise.resolve(s.getValue()));r.push(()=>{o=!1,i.unsubscribe(),c.unsubscribe(),s.complete()})}(c,n,a,d),re(c,n,o,i,a,d,r),function(e,t,n,r,s={}){V({messageBus:e,moduleId:"",props:Q,tectonOutletAdaptor:ee(t,n,r,s)})("tecton-platform-outlet")}(c,i,o,n,r),{tectonParamsChanged(e){o.next(e)},updateConfig(t){const n=i.getValue();e(n,t),ue(n),i.next(n)},replaceConfig(e){ue(e),i.next(e)},verifyConfig(){if(!n.getCapabilities)return void console.error("getCapabilities must be implemented on platform to verify config.");const e=e=>Array.isArray(e)?e.length>0:Boolean(e),t=t=>{var r,s;return!(null==t?void 0:t.length)||Object.values(null!==(s=null===(r=n.getCapabilities)||void 0===r?void 0:r.call(n,...null!=t?t:[]))&&void 0!==s?s:{}).every(e)},r=i.getValue(),s=r.features;for(const e in s){if(!s.hasOwnProperty(e))continue;const n=s[e];n.rightsEnabled=t(n.requiredUserCapabilities);for(const e in n.modules){if(!n.modules||!n.modules.hasOwnProperty(e))continue;const r=n.modules[e];r.rightsEnabled=n.rightsEnabled&&t(r.requiredUserCapabilities)}}ue(r),i.next(r)},configLookup:function(e,t){const n=i.getValue();if(!t){const t=n.features[e];if(!t)throw new Error(`No config found, please check if the extension(${e}) is running correctly.`);return t}if(!n.features[e])throw new Error(`Please check if the extension(${e}) is running correctly.`);const r=n.features[e].modules[t].routeConfig||{featureName:e,moduleName:t},s=n.features[e].modules[t].rightsEnabled;return void 0!==s&&(r.rightsEnabled=s),r},configForRoute(e){const[t,n]=e.split(".");return i.getValue().features[t].modules[n].routeConfig||{featureName:t,moduleName:n}},configForOverpanel:f,overpanelOverrideLookup(e){var t,n,r,s,o,u,c,a,l;const d=i.getValue(),h=(d.overpanelOverrides||[]).find(t=>t.overpanelName===e),{featureName:p="",overpanelName:m=""}=null!==(t=null==h?void 0:h.override)&&void 0!==t?t:{},b=`${p}.${m}`,v=null===(n=d.features)||void 0===n?void 0:n[p],g=[{condition:!h,message:`No overpanel override found for ${e}.`},{condition:!p||!m,message:`Invalid overpanel override configuration for ${e}.`},{condition:!v,message:`Feature ${p} not found in config.`},{condition:!1===(null==v?void 0:v.rightsEnabled),message:`Feature ${p} is not enabled for this user.`},{condition:!(null===(r=null==v?void 0:v.configuredOverpanels)||void 0===r?void 0:r[m]),message:`Override overpanel ${m} not found in config.`},{condition:!1===(null===(c=null===(s=null==v?void 0:v.modules)||void 0===s?void 0:s[null===(u=null===(o=null==v?void 0:v.configuredOverpanels)||void 0===o?void 0:o[m])||void 0===u?void 0:u.moduleName])||void 0===c?void 0:c.rightsEnabled),message:`The module ${null===(l=null===(a=null==v?void 0:v.configuredOverpanels)||void 0===a?void 0:a[m])||void 0===l?void 0:l.moduleName} for feature ${p} is not enabled for this user.`}];for(const{condition:e,message:t}of g)if(e)return Promise.resolve({override:!1,message:t});return f(b).then(e=>{const t={override:!0,overpanelId:b,overpanelConfig:e};return(null==h?void 0:h.contextInfo)&&(t.contextInfo=h.contextInfo),Promise.resolve(t)})},updateApplicationModules(e){!function(e,t=!1){const n=function(e){var t,n,r;const s={};for(const[o,i]of Object.entries(e.features))for(const[e,u]of Object.entries(i.modules)){const i=null!==(r=null===(n=null===(t=null==u?void 0:u.meta)||void 0===t?void 0:t.type)||void 0===n?void 0:n.context)&&void 0!==r?r:void 0;if(i&&i.toLowerCase().startsWith("Application::".toLowerCase())){const t=i.split("::")[1].toLowerCase(),n={featureName:o,moduleName:e,rightsEnabled:u.rightsEnabled};s[t]?s[t].push(n):s[t]=[n]}}return s}(e),r=t?se:oe,s=n[r.toLowerCase()];null==s||s.forEach(e=>{const{featureName:t,moduleName:n,rightsEnabled:s}=e,o=`${t}.${n}`,i=`TectonApplicationModule.${o}`;document.getElementById(i)||!1===s||function({authContext:e,outletId:t,modulePath:n,featureName:r,moduleName:s}){const o=window.isTestingTecton?document.createElement("object"):document.createElement("tecton-platform-outlet");o.name=`Tecton${e}ApplicationModule`,o.id=t,o.routeName=n,o.configTree={featureName:r,moduleName:s},o.tabIndex=-1,o.setAttribute("style","width:0; height:0; visibility: hidden; overflow: hidden;"),document.body.appendChild(o)}({authContext:r,outletId:i,modulePath:o,featureName:t,moduleName:n})}),t||function(e){const t=document.getElementsByName(`Tecton${e}ApplicationModule`);null==t||t.forEach(function(e){var t;null===(t=e.parentNode)||void 0===t||t.removeChild(e)})}(se)}(t,e)},teardown(){d.forEach(e=>e()),o.complete(),i.complete()}}}function ue(e){Object.keys(e.features).forEach(function(t){const n=e.features[t],r=n.configuredOverpanels;r&&Object.keys(r).forEach(function(e){r[e].featureName||(r[e].featureName=t)});try{Object.keys(n.modules).forEach(function(e){n.modules[e].routeConfig||(n.modules[e].routeConfig={featureName:t,moduleName:e,configuredOutlets:{}}),Object.assign(n.modules[e].meta,{featureName:t,moduleName:e});let r=n.modules[e].url;if(r){if(r.startsWith("./")){const e=window.location.pathname.split("/").filter(e=>e),t=e[e.length-1];t&&t.includes(".")&&e.pop();const n=e.length>0?e.join("/"):"";r=r.replace("./",`${window.location.origin}/${n?`${n}/`:""}`)}r=r.replace("{featureName}",t),r=r.replace("{moduleName}",e),n.modules[e].url=r}})}catch(r){n.modules?console.error(`Config for ${n.routeName} is malformed. It returned ${r}.`):console.error(`Config for ${n.routeName} contains no modules`),console.error(`Removing ${n.routeName} from config.`),delete e.features[t]}})}})(),r})());
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["q2-tecton-platform"]=t():e["q2-tecton-platform"]=t()}(self,()=>(()=>{var e={4:(e,t,n)=>{"use strict";n.d(t,{X:()=>s});var r=n(2124);function s(...e){return(0,r.h)(...e)}},51:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});const r=n(108).Z},57:(e,t,n)=>{"use strict";n.d(t,{Q:()=>u});var r=n(6702),s=n(2464),o=n(3878),i=n(151);function u(e){return(0,r.N)((t,n)=>{(0,o.Tg)(e).subscribe((0,s._)(n,()=>n.complete(),i.l)),!n.closed&&t.subscribe(n)})}},108:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(3002),s=n(3878),o=n(6702),i=n(9132),u=n(7007);function c(e,t,n=1/0){return(0,u.T)(t)?c((n,o)=>(0,r.T)((e,r)=>t(n,e,o,r))((0,s.Tg)(e(n,o))),n):("number"==typeof t&&(n=t),(0,o.N)((t,r)=>(0,i.h)(t,r,e,n)))}},111:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var r=n(7036),s=n(9817);function o(){return e=>{const t=new r.h;return new s.G(e,()=>t)}}},151:(e,t,n)=>{"use strict";function r(){}n.d(t,{l:()=>r})},203:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});var r=n(2590),s=n(6702);function o(e,t){return(0,s.N)((n,s)=>{let o=t;return(0,r.n)((t,n)=>e(o,t,n),(e,t)=>(o=t,t))(n).subscribe(s),()=>{o=null}})}},238:(e,t,n)=>{"use strict";n.d(t,{n:()=>i});var r=n(6702),s=n(2464),o=n(3878);function i(e,t){return(0,r.N)((n,r)=>{const{leading:i=!0,trailing:u=!1}=null!=t?t:{};let c=!1,a=null,l=null,d=!1;const f=()=>{null==l||l.unsubscribe(),l=null,u&&(m(),d&&r.complete())},h=()=>{l=null,d&&r.complete()},p=t=>l=(0,o.Tg)(e(t)).subscribe((0,s._)(r,f,h)),m=()=>{if(c){c=!1;const e=a;a=null,r.next(e),!d&&p(e)}};n.subscribe((0,s._)(r,e=>{c=!0,a=e,(!l||l.closed)&&(i?m():p(e))},()=>{d=!0,(!(u&&c&&l)||l.closed)&&r.complete()}))})}},386:(e,t,n)=>{"use strict";n.d(t,{I:()=>r});const r=(0,n(7653).L)(e=>function(t){e(this),this.name="SequenceError",this.message=t})},478:(e,t,n)=>{"use strict";n.d(t,{v:()=>s});var r=n(7026);function s(...e){return(0,r.z)(...e)}},591:(e,t,n)=>{"use strict";n.d(t,{M:()=>l,w:()=>d});var r=n(5260),s=n(2011),o=n(6702),i=n(3878),u=n(7653),c=n(2464),a=n(3873);const l=(0,u.L)(e=>function(t=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t});function d(e,t){const{first:n,each:u,with:l=f,scheduler:d=(null!=t?t:r.E),meta:h=null}=(0,s.v)(e)?{first:e}:"number"==typeof e?{each:e}:e;if(null==n&&null==u)throw new TypeError("No timeout provided.");return(0,o.N)((e,t)=>{let r,s,o=null,f=0;const p=e=>{s=(0,a.N)(t,d,()=>{try{r.unsubscribe(),(0,i.Tg)(l({meta:h,lastValue:o,seen:f})).subscribe(t)}catch(e){t.error(e)}},e)};r=e.subscribe((0,c._)(t,e=>{null==s||s.unsubscribe(),f++,t.next(o=e),u>0&&p(u)},void 0,void 0,()=>{(null==s?void 0:s.closed)||null==s||s.unsubscribe(),o=null})),!f&&p(null!=n?"number"==typeof n?n:+n-d.now():u)})}function f(e){throw new l(e)}},609:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});var r=n(5260),s=n(2700),o=n(837);function i(e,t=r.E){return(0,s.X)((0,o.Y)(e,t))}},616:(e,t,n)=>{"use strict";function r(e,t){return e.reduce((e,n,r)=>(e[n]=t[r],e),{})}n.d(t,{e:()=>r})},626:(e,t,n)=>{"use strict";n.d(t,{$:()=>s});var r=n(9878);function s(...e){return(0,r.x)(...e)}},755:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Maybe:()=>r});class r{constructor(e){this.value=e}static just(e){if(null==e)throw new TypeError("Value passed to just must exist!");return new r(e)}static nothing(){return new r}static maybe(e){return null==e?r.nothing():r.just(e)}static join(e){return e.withDefault(r.nothing())}static sequence(e){return e.reduce((e,t)=>e.bind(e=>t.map(t=>e.concat(t))),r.just([]))}static traverse(e,t){return r.sequence(t).map(t=>t.map(e))}static justMap(e,t){return t.reduce((t,n)=>{const r=e(n);return void 0!==r.value?t.concat(r.value):t},[])}static filterSomethings(e){return e.reduce((e,t)=>(t.value&&e.push(t.value),e),[])}static lift(e){return t=>t.map(e)}static lift2(e){return(t,n)=>r.sequence([t,n]).map(t=>e(t[0],t[1]))}static lift3(e){return(t,n,s)=>r.sequence([t,n,s]).map(t=>e(t[0],t[1],t[2]))}static toPromise(e){return e.hasSomething?Promise.resolve(e.value):Promise.reject()}map(e){return void 0!==this.value?r.maybe(e(this.value)):r.nothing()}asyncMap(e){return void 0!==this.value?e(this.value).then(e=>{if(null==e)throw"Promise Conversion from a Maybe.Nothing";return e}):Promise.reject()}alt(e){return void 0!==this.value?this:e}altMap(e){return void 0!==this.value?this:e()}ap(e){return e.bind(e=>this.map(e))}bind(e){return r.join(this.map(e))}withDefault(e){return void 0!==this.value?this.value:e}withDefaultFn(e){return void 0!==this.value?this.value:e()}get hasNothing(){return void 0===this.value}get hasSomething(){return!this.hasNothing}unsafeElse(e){this.hasNothing&&e()}}r.of=r.maybe},772:(e,t,n)=>{"use strict";n.d(t,{P:()=>h,z:()=>f});var r=n(6857),s=n(6569),o=n(7348),i=n(6781),u=n(5194),c=n(8918),a=n(616),l=n(2464),d=n(3873);function f(...e){const t=(0,c.lI)(e),n=(0,c.ms)(e),{args:l,keys:d}=(0,s.D)(e);if(0===l.length)return(0,o.H)([],t);const f=new r.c(h(l,t,d?e=>(0,a.e)(d,e):i.D));return n?f.pipe((0,u.I)(n)):f}function h(e,t,n=i.D){return r=>{p(t,()=>{const{length:s}=e,i=new Array(s);let u=s,c=s;for(let a=0;a<s;a++)p(t,()=>{const s=(0,o.H)(e[a],t);let d=!1;s.subscribe((0,l._)(r,e=>{i[a]=e,d||(d=!0,c--),c||r.next(n(i.slice()))},()=>{--u||r.complete()}))},r)},r)}}function p(e,t,n){e?(0,d.N)(n,e,t):t()}},831:(e,t,n)=>{"use strict";n.d(t,{u:()=>s});var r=n(3002);function s(e){return(0,r.T)(()=>e)}},837:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(5260),s=n(6231);function o(e=0,t=r.E){return e<0&&(e=0),(0,s.O)(e,e,t)}},848:(e,t,n)=>{"use strict";n.d(t,{B:()=>i});var r=n(5260),s=n(6702),o=n(2464);function i(e,t=r.E){return(0,s.N)((n,r)=>{let s=null,i=null,u=null;const c=()=>{if(s){s.unsubscribe(),s=null;const e=i;i=null,r.next(e)}};function a(){const n=u+e,o=t.now();if(o<n)return s=this.schedule(void 0,n-o),void r.add(s);c()}n.subscribe((0,o._)(r,n=>{i=n,u=t.now(),s||(s=t.schedule(a,e),r.add(s))},()=>{c(),r.complete()},void 0,()=>{i=s=null}))})}},881:(e,t,n)=>{"use strict";n.d(t,{O:()=>u,w:()=>c});var r=n(6857),s=n(3878),o=n(3918),i=n(2464);function u(...e){return 1===(e=(0,o.K)(e)).length?(0,s.Tg)(e[0]):new r.c(c(e))}function c(e){return t=>{let n=[];for(let r=0;n&&!t.closed&&r<e.length;r++)n.push((0,s.Tg)(e[r]).subscribe((0,i._)(t,e=>{if(n){for(let e=0;e<n.length;e++)e!==r&&n[e].unsubscribe();n=null}t.next(e)})))}}},931:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var r=n(3210),s=n(6781);function o(){return(0,r.p)(s.D)}},963:(e,t,n)=>{"use strict";n.d(t,{y:()=>o});var r=n(5917),s=n(6702);function o(...e){return(0,s.N)((t,n)=>{(0,r.y)(t,...e).subscribe(n)})}},1013:(e,t,n)=>{"use strict";n.d(t,{Q:()=>i});var r=n(3873),s=n(6702),o=n(2464);function i(e,t=0){return(0,s.N)((n,s)=>{n.subscribe((0,o._)(s,n=>(0,r.N)(s,e,()=>s.next(n),t),()=>(0,r.N)(s,e,()=>s.complete(),t),n=>(0,r.N)(s,e,()=>s.error(n),t)))})}},1079:(e,t,n)=>{"use strict";n.d(t,{S:()=>u});var r=n(6857),s=n(9553),o=n(7007),i=n(3873);function u(e,t){return new r.c(n=>{let r;return(0,i.N)(n,t,()=>{r=e[s.l](),(0,i.N)(n,t,()=>{let e,t;try{({value:e,done:t}=r.next())}catch(e){return void n.error(e)}t?n.complete():n.next(e)},0,!0)}),()=>(0,o.T)(null==r?void 0:r.return)&&r.return()})}},1169:(e,t,n)=>{"use strict";n.d(t,{of:()=>o});var r=n(8918),s=n(7348);function o(...e){const t=(0,r.lI)(e);return(0,s.H)(e,t)}},1205:(e,t,n)=>{"use strict";n.d(t,{M:()=>u});var r=n(7007),s=n(6702),o=n(2464),i=n(6781);function u(e,t,n){const u=(0,r.T)(e)||t||n?{next:e,error:t,complete:n}:e;return u?(0,s.N)((e,t)=>{var n;null===(n=u.subscribe)||void 0===n||n.call(u);let r=!0;e.subscribe((0,o._)(t,e=>{var n;null===(n=u.next)||void 0===n||n.call(u,e),t.next(e)},()=>{var e;r=!1,null===(e=u.complete)||void 0===e||e.call(u),t.complete()},e=>{var n;r=!1,null===(n=u.error)||void 0===n||n.call(u,e),t.error(e)},()=>{var e,t;r&&(null===(e=u.unsubscribe)||void 0===e||e.call(u)),null===(t=u.finalize)||void 0===t||t.call(u)}))}):i.D}},1227:(e,t,n)=>{"use strict";n.d(t,{Eg:()=>c,Ij:()=>r,gV:()=>a});var r,s=n(6751),o=n(1169),i=n(7618),u=n(7007);!function(e){e.NEXT="N",e.ERROR="E",e.COMPLETE="C"}(r||(r={}));class c{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){return a(this,e)}do(e,t,n){const{kind:r,value:s,error:o}=this;return"N"===r?null==e?void 0:e(s):"E"===r?null==t?void 0:t(o):null==n?void 0:n()}accept(e,t,n){var r;return(0,u.T)(null===(r=e)||void 0===r?void 0:r.next)?this.observe(e):this.do(e,t,n)}toObservable(){const{kind:e,value:t,error:n}=this,r="N"===e?(0,o.of)(t):"E"===e?(0,i.$)(()=>n):"C"===e?s.w:0;if(!r)throw new TypeError(`Unexpected notification kind ${e}`);return r}static createNext(e){return new c("N",e)}static createError(e){return new c("E",void 0,e)}static createComplete(){return c.completeNotification}}function a(e,t){var n,r,s;const{kind:o,value:i,error:u}=e;if("string"!=typeof o)throw new TypeError('Invalid notification, missing "kind"');"N"===o?null===(n=t.next)||void 0===n||n.call(t,i):"E"===o?null===(r=t.error)||void 0===r||r.call(t,u):null===(s=t.complete)||void 0===s||s.call(t)}c.completeNotification=new c("C")},1276:(e,t,n)=>{"use strict";function r(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}n.d(t,{o:()=>r})},1374:(e,t,n)=>{"use strict";n.d(t,{d:()=>u});var r=n(6702),s=n(2464),o=n(151),i=n(3878);function u(e,t){return(0,r.N)((n,r)=>{const u=new Set;n.subscribe((0,s._)(r,t=>{const n=e?e(t):t;u.has(n)||(u.add(n),r.next(t))})),t&&(0,i.Tg)(t).subscribe((0,s._)(r,()=>u.clear(),o.l))})}},1457:(e,t,n)=>{"use strict";n.d(t,{q:()=>o});var r=n(6280),s=n(1169);function o(...e){return t=>(0,r.x)(t,(0,s.of)(...e))}},1530:(e,t,n)=>{"use strict";n.d(t,{p:()=>u});var r=n(7290),s=n(6702),o=n(2464),i=n(3878);function u(e){return(0,s.N)((t,n)=>{let s,u;const c=e=>{s.error(e),n.error(e)},a=()=>{let t;null==u||u.unsubscribe(),null==s||s.complete(),s=new r.B,n.next(s.asObservable());try{t=(0,i.Tg)(e())}catch(e){return void c(e)}t.subscribe(u=(0,o._)(n,a,a,c))};a(),t.subscribe((0,o._)(n,e=>s.next(e),()=>{s.complete(),n.complete()},c,()=>{null==u||u.unsubscribe(),s=null}))})}},1571:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});var r=n(7290),s=n(6702),o=n(2464);function i(e,t=0){const n=t>0?t:e;return(0,s.N)((t,s)=>{let i=[new r.B],u=[],c=0;s.next(i[0].asObservable()),t.subscribe((0,o._)(s,t=>{for(const e of i)e.next(t);const o=c-e+1;if(o>=0&&o%n===0&&i.shift().complete(),++c%n===0){const e=new r.B;i.push(e),s.next(e.asObservable())}},()=>{for(;i.length>0;)i.shift().complete();s.complete()},e=>{for(;i.length>0;)i.shift().error(e);s.error(e)},()=>{u=null,i=null}))})}},1655:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(772),s=n(3193);function o(e){return(0,s.q)(r.z,e)}},1724:(e,t,n)=>{"use strict";n.d(t,{j:()=>s});var r=n(6702);function s(e){return(0,r.N)((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}},1801:(e,t,n)=>{"use strict";n.d(t,{T:()=>s});var r=n(7007);function s(e){return Symbol.asyncIterator&&(0,r.T)(null==e?void 0:e[Symbol.asyncIterator])}},1860:(e,t,n)=>{"use strict";n.d(t,{t:()=>o});var r=n(7947),s=n(5927);function o(e,t,n){let o,i=!1;return e&&"object"==typeof e?({bufferSize:o=1/0,windowTime:t=1/0,refCount:i=!1,scheduler:n}=e):o=null!=e?e:1/0,(0,s.u)({connector:()=>new r.m(o,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}},1885:(e,t,n)=>{"use strict";n.d(t,{w:()=>s});var r=n(2950);function s(e,t){return(0,r.F)((n,r)=>t?t(n[e],r[e]):n[e]===r[e])}},1897:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});const r={now:()=>(r.delegate||Date).now(),delegate:void 0}},1940:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var r=n(7985),s=n(6702);function o(e,t){return(0,s.N)((0,r.S)(e,t,arguments.length>=2,!1,!0))}},1950:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ArgumentOutOfRangeError:()=>X.k,AsyncSubject:()=>m.h,BehaviorSubject:()=>h.t,ConnectableObservable:()=>s.G,EMPTY:()=>ve.w,EmptyError:()=>Z.G,NEVER:()=>Me,NotFoundError:()=>Q.m,Notification:()=>B.Eg,NotificationKind:()=>B.Ij,ObjectUnsubscribedError:()=>ee.P,Observable:()=>r.c,ReplaySubject:()=>p.m,Scheduler:()=>U._,SequenceError:()=>te.I,Subject:()=>f.B,Subscriber:()=>W.vU,Subscription:()=>u.yU,TimeoutError:()=>ne.M,UnsubscriptionError:()=>re.Z,VirtualAction:()=>D,VirtualTimeScheduler:()=>F,animationFrame:()=>q,animationFrameScheduler:()=>L,animationFrames:()=>a,asap:()=>O,asapScheduler:()=>S,async:()=>A.b,asyncScheduler:()=>A.E,audit:()=>Je.s,auditTime:()=>Ke.Z,bindCallback:()=>ae,bindNodeCallback:()=>le,buffer:()=>Ze.r,bufferCount:()=>Ge.S,bufferTime:()=>Ye.w,bufferToggle:()=>Xe.H,bufferWhen:()=>Qe.n,catchError:()=>et.W,combineAll:()=>tt.p,combineLatest:()=>de.z,combineLatestAll:()=>nt.A,combineLatestWith:()=>rt.v,concat:()=>fe.x,concatAll:()=>st.K,concatMap:()=>ot.H,concatMapTo:()=>it.S,concatWith:()=>ut.$,config:()=>Ve.$,connect:()=>ct.N,connectable:()=>be,count:()=>at.U,debounce:()=>lt.s,debounceTime:()=>dt.B,defaultIfEmpty:()=>ft.U,defer:()=>pe,delay:()=>ht.c,delayWhen:()=>pt.o,dematerialize:()=>mt.Z,distinct:()=>bt.d,distinctUntilChanged:()=>vt.F,distinctUntilKeyChanged:()=>gt.w,elementAt:()=>yt.s,empty:()=>ve.I,endWith:()=>wt.q,every:()=>xt.S,exhaust:()=>Nt.B,exhaustAll:()=>Tt.C,exhaustMap:()=>_t.p,expand:()=>Ct.f,filter:()=>Le.p,finalize:()=>Et.j,find:()=>Pt.I,findIndex:()=>St.S,first:()=>Ot.$,firstValueFrom:()=>Y._,flatMap:()=>Ft.q,forkJoin:()=>Ne,from:()=>Te.H,fromEvent:()=>_e.R,fromEventPattern:()=>Ce,generate:()=>Pe,groupBy:()=>At.$,identity:()=>V.D,ignoreElements:()=>Mt.w,iif:()=>Se,interval:()=>Oe.Y,isEmpty:()=>It.I,isObservable:()=>K,last:()=>Rt.H,lastValueFrom:()=>G,map:()=>jt.T,mapTo:()=>$t.u,materialize:()=>kt.O,max:()=>Lt.T,merge:()=>Ae.h,mergeAll:()=>qt.U,mergeMap:()=>Dt.Z,mergeMapTo:()=>Ut.C,mergeScan:()=>Wt.i,mergeWith:()=>Bt.X,min:()=>Ht.j,multicast:()=>zt.f,never:()=>Ie,noop:()=>z.l,observable:()=>o.s,observeOn:()=>ue.Q,of:()=>Re.of,onErrorResumeNext:()=>je.g,onErrorResumeNextWith:()=>Vt.w,pairs:()=>$e,pairwise:()=>Jt.J,partition:()=>qe,pipe:()=>H.F,pluck:()=>Kt.E,publish:()=>Zt.m,publishBehavior:()=>Gt.K,publishLast:()=>Yt.k,publishReplay:()=>Xt.H,queue:()=>j,queueScheduler:()=>R,race:()=>Fe.O,raceWith:()=>Qt.w,range:()=>De,reduce:()=>en.T,refCount:()=>on.B,repeat:()=>tn.u,repeatWhen:()=>nn.Y,retry:()=>rn.L,retryWhen:()=>sn.l,sample:()=>un.X,sampleTime:()=>cn.q,scan:()=>an.S,scheduled:()=>ze.c,sequenceEqual:()=>ln.m,share:()=>dn.u,shareReplay:()=>fn.t,single:()=>hn.J,skip:()=>pn.i,skipLast:()=>mn.G,skipUntil:()=>bn.U,skipWhile:()=>vn.j,startWith:()=>gn.Z,subscribeOn:()=>oe._,switchAll:()=>yn.w,switchMap:()=>wn.n,switchMapTo:()=>xn.K,switchScan:()=>Nn.m,take:()=>Tn.s,takeLast:()=>_n.o,takeUntil:()=>Cn.Q,takeWhile:()=>En.v,tap:()=>Pn.M,throttle:()=>Sn.n,throttleTime:()=>On.c,throwError:()=>Ue.$,throwIfEmpty:()=>An.v,timeInterval:()=>Mn.f,timeout:()=>ne.w,timeoutWith:()=>In.o,timer:()=>We.O,timestamp:()=>Rn.v,toArray:()=>jn.$,using:()=>Be,window:()=>$n.x,windowCount:()=>kn.k,windowTime:()=>Ln.s,windowToggle:()=>qn.J,windowWhen:()=>Fn.p,withLatestFrom:()=>Dn.E,zip:()=>He.y,zipAll:()=>Un.x,zipWith:()=>Wn.O});var r=n(6857),s=n(9817),o=n(9774);const i={now:()=>(i.delegate||performance).now(),delegate:void 0};var u=n(3713);const c={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:r}=c;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);const s=t(t=>{n=void 0,e(t)});return new u.yU(()=>null==n?void 0:n(s))},requestAnimationFrame(...e){const{delegate:t}=c;return((null==t?void 0:t.requestAnimationFrame)||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:t}=c;return((null==t?void 0:t.cancelAnimationFrame)||cancelAnimationFrame)(...e)},delegate:void 0};function a(e){return e?l(e):d}function l(e){return new r.c(t=>{const n=e||i,r=n.now();let s=0;const o=()=>{t.closed||(s=c.requestAnimationFrame(i=>{s=0;const u=n.now();t.next({timestamp:e?u:i,elapsed:u-r}),o()}))};return o(),()=>{s&&c.cancelAnimationFrame(s)}})}const d=l();var f=n(7290),h=n(5524),p=n(7947),m=n(7036),b=n(7078);let v,g=1;const y={};function w(e){return e in y&&(delete y[e],!0)}const x={setImmediate(e){const t=g++;return y[t]=!0,v||(v=Promise.resolve()),v.then(()=>w(t)&&e()),t},clearImmediate(e){w(e)}},{setImmediate:N,clearImmediate:T}=x,_={setImmediate(...e){const{delegate:t}=_;return((null==t?void 0:t.setImmediate)||N)(...e)},clearImmediate(e){const{delegate:t}=_;return((null==t?void 0:t.clearImmediate)||T)(e)},delegate:void 0};class C extends b.R{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e._scheduled||(e._scheduled=_.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,t,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(e,t,n);const{actions:s}=e;null!=t&&(null===(r=s[s.length-1])||void 0===r?void 0:r.id)!==t&&(_.clearImmediate(t),e._scheduled===t&&(e._scheduled=void 0))}}var E=n(9771);class P extends E.q{flush(e){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let r;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}}}const S=new P(C),O=S;var A=n(5260);class M extends b.R{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,n=0){return null!=n&&n>0||null==n&&this.delay>0?super.requestAsyncId(e,t,n):(e.flush(this),0)}}class I extends E.q{}const R=new I(M),j=R;class $ extends b.R{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e._scheduled||(e._scheduled=c.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,t,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(e,t,n);const{actions:s}=e;null!=t&&t===e._scheduled&&(null===(r=s[s.length-1])||void 0===r?void 0:r.id)!==t&&(c.cancelAnimationFrame(t),e._scheduled=void 0)}}class k extends E.q{flush(e){let t;this._active=!0,e?t=e.id:(t=this._scheduled,this._scheduled=void 0);const{actions:n}=this;let r;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}}}const L=new k($),q=L;class F extends E.q{constructor(e=D,t=1/0){super(e,()=>this.frame),this.maxFrames=t,this.frame=0,this.index=-1}flush(){const{actions:e,maxFrames:t}=this;let n,r;for(;(r=e[0])&&r.delay<=t&&(e.shift(),this.frame=r.delay,!(n=r.execute(r.state,r.delay))););if(n){for(;r=e.shift();)r.unsubscribe();throw n}}}F.frameTimeFactor=10;class D extends b.R{constructor(e,t,n=(e.index+=1)){super(e,t),this.scheduler=e,this.work=t,this.index=n,this.active=!0,this.index=e.index=n}schedule(e,t=0){if(Number.isFinite(t)){if(!this.id)return super.schedule(e,t);this.active=!1;const n=new D(this.scheduler,this.work);return this.add(n),n.schedule(e,t)}return u.yU.EMPTY}requestAsyncId(e,t,n=0){this.delay=e.frame+n;const{actions:r}=e;return r.push(this),r.sort(D.sortActions),1}recycleAsyncId(e,t,n=0){}_execute(e,t){if(!0===this.active)return super._execute(e,t)}static sortActions(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1}}var U=n(5159),W=n(6968),B=n(1227),H=n(2571),z=n(151),V=n(6781),J=n(7007);function K(e){return!!e&&(e instanceof r.c||(0,J.T)(e.lift)&&(0,J.T)(e.subscribe))}var Z=n(3422);function G(e,t){const n="object"==typeof t;return new Promise((r,s)=>{let o,i=!1;e.subscribe({next:e=>{o=e,i=!0},error:s,complete:()=>{i?r(o):n?r(t.defaultValue):s(new Z.G)}})})}var Y=n(5011),X=n(3078),Q=n(2512),ee=n(2965),te=n(386),ne=n(591),re=n(3479),se=n(6486),oe=n(5761),ie=n(5194),ue=n(1013);function ce(e,t,n,s){if(n){if(!(0,se.m)(n))return function(...r){return ce(e,t,s).apply(this,r).pipe((0,ie.I)(n))};s=n}return s?function(...n){return ce(e,t).apply(this,n).pipe((0,oe._)(s),(0,ue.Q)(s))}:function(...n){const s=new m.h;let o=!0;return new r.c(r=>{const i=s.subscribe(r);if(o){o=!1;let r=!1,i=!1;t.apply(this,[...n,(...t)=>{if(e){const e=t.shift();if(null!=e)return void s.error(e)}s.next(1<t.length?t:t[0]),i=!0,r&&s.complete()}]),i&&s.complete(),r=!0}return i})}}function ae(e,t,n){return ce(!1,e,t,n)}function le(e,t,n){return ce(!0,e,t,n)}var de=n(772),fe=n(6280),he=n(3878);function pe(e){return new r.c(t=>{(0,he.Tg)(e()).subscribe(t)})}const me={connector:()=>new f.B,resetOnDisconnect:!0};function be(e,t=me){let n=null;const{connector:s,resetOnDisconnect:o=!0}=t;let i=s();const u=new r.c(e=>i.subscribe(e));return u.connect=()=>(n&&!n.closed||(n=pe(()=>e).subscribe(i),o&&n.add(()=>i=s())),n),u}var ve=n(6751),ge=n(6569),ye=n(8918),we=n(2464),xe=n(616);function Ne(...e){const t=(0,ye.ms)(e),{args:n,keys:s}=(0,ge.D)(e),o=new r.c(e=>{const{length:t}=n;if(!t)return void e.complete();const r=new Array(t);let o=t,i=t;for(let u=0;u<t;u++){let t=!1;(0,he.Tg)(n[u]).subscribe((0,we._)(e,e=>{t||(t=!0,i--),r[u]=e},()=>o--,void 0,()=>{o&&t||(i||e.next(s?(0,xe.e)(s,r):r),e.complete())}))}});return t?o.pipe((0,ie.I)(t)):o}var Te=n(7348),_e=n(2774);function Ce(e,t,n){return n?Ce(e,t).pipe((0,ie.I)(n)):new r.c(n=>{const r=(...e)=>n.next(1===e.length?e[0]:e),s=e(r);return(0,J.T)(t)?()=>t(r,s):void 0})}var Ee=n(1079);function Pe(e,t,n,r,s){let o,i;function*u(){for(let e=i;!t||t(e);e=n(e))yield o(e)}return 1===arguments.length?({initialState:i,condition:t,iterate:n,resultSelector:o=V.D,scheduler:s}=e):(i=e,!r||(0,se.m)(r)?(o=V.D,s=r):o=r),pe(s?()=>(0,Ee.S)(u(),s):u)}function Se(e,t,n){return pe(()=>e()?t:n)}var Oe=n(837),Ae=n(2786);const Me=new r.c(z.l);function Ie(){return Me}var Re=n(1169),je=n(2421);function $e(e,t){return(0,Te.H)(Object.entries(e),t)}var ke=n(6410),Le=n(9732);function qe(e,t,n){return[(0,Le.p)(t,n)((0,he.Tg)(e)),(0,Le.p)((0,ke.A)(t,n))((0,he.Tg)(e))]}var Fe=n(881);function De(e,t,n){if(null==t&&(t=e,e=0),t<=0)return ve.w;const s=t+e;return new r.c(n?t=>{let r=e;return n.schedule(function(){r<s?(t.next(r++),this.schedule()):t.complete()})}:t=>{let n=e;for(;n<s&&!t.closed;)t.next(n++);t.complete()})}var Ue=n(7618),We=n(6231);function Be(e,t){return new r.c(n=>{const r=e(),s=t(r);return(s?(0,he.Tg)(s):ve.w).subscribe(n),()=>{r&&r.unsubscribe()}})}var He=n(5917),ze=n(3172),Ve=n(3834),Je=n(7895),Ke=n(6114),Ze=n(5296),Ge=n(8501),Ye=n(6077),Xe=n(8812),Qe=n(8236),et=n(3285),tt=n(3290),nt=n(1655),rt=n(478),st=n(6643),ot=n(2106),it=n(4079),ut=n(626),ct=n(5017),at=n(4755),lt=n(9013),dt=n(848),ft=n(8981),ht=n(8631),pt=n(6807),mt=n(9500),bt=n(1374),vt=n(2950),gt=n(1885),yt=n(3773),wt=n(1457),xt=n(3995),Nt=n(9158),Tt=n(931),_t=n(3210),Ct=n(3458),Et=n(1724),Pt=n(3685),St=n(4417),Ot=n(6418),At=n(8722),Mt=n(5853),It=n(6681),Rt=n(3938),jt=n(3002),$t=n(831),kt=n(9237),Lt=n(7170),qt=n(4677),Ft=n(51),Dt=n(108),Ut=n(7309),Wt=n(8361),Bt=n(4),Ht=n(2668),zt=n(9066),Vt=n(2939),Jt=n(6770),Kt=n(8053),Zt=n(5199),Gt=n(6261),Yt=n(111),Xt=n(9532),Qt=n(5319),en=n(1940),tn=n(6661),nn=n(7429),rn=n(8170),sn=n(6358),on=n(6850),un=n(2700),cn=n(609),an=n(9388),ln=n(8327),dn=n(5927),fn=n(1860),hn=n(2994),pn=n(7893),mn=n(7121),bn=n(3941),vn=n(7716),gn=n(6428),yn=n(7391),wn=n(2590),xn=n(9187),Nn=n(203),Tn=n(5697),_n=n(2173),Cn=n(57),En=n(6592),Pn=n(1205),Sn=n(238),On=n(2891),An=n(2998),Mn=n(6726),In=n(5815),Rn=n(5128),jn=n(7594),$n=n(7302),kn=n(1571),Ln=n(4563),qn=n(5062),Fn=n(1530),Dn=n(5601),Un=n(4476),Wn=n(8923)},2011:(e,t,n)=>{"use strict";function r(e){return e instanceof Date&&!isNaN(e)}n.d(t,{v:()=>r})},2106:(e,t,n)=>{"use strict";n.d(t,{H:()=>o});var r=n(108),s=n(7007);function o(e,t){return(0,s.T)(t)?(0,r.Z)(e,t,1):(0,r.Z)(e,1)}},2124:(e,t,n)=>{"use strict";n.d(t,{h:()=>u});var r=n(6702),s=n(4677),o=n(8918),i=n(7348);function u(...e){const t=(0,o.lI)(e),n=(0,o.R0)(e,1/0);return(0,r.N)((r,o)=>{(0,s.U)(n)((0,i.H)([r,...e],t)).subscribe(o)})}},2173:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(6751),s=n(6702),o=n(2464);function i(e){return e<=0?()=>r.w:(0,s.N)((t,n)=>{let r=[];t.subscribe((0,o._)(n,t=>{r.push(t),e<r.length&&r.shift()},()=>{for(const e of r)n.next(e);n.complete()},void 0,()=>{r=null}))})}},2421:(e,t,n)=>{"use strict";n.d(t,{g:()=>c});var r=n(6857),s=n(3918),o=n(2464),i=n(151),u=n(3878);function c(...e){const t=(0,s.K)(e);return new r.c(e=>{let n=0;const r=()=>{if(n<t.length){let s;try{s=(0,u.Tg)(t[n++])}catch(e){return void r()}const c=new o.H(e,void 0,i.l,i.l);s.subscribe(c),c.add(r)}else e.complete()};r()})}},2464:(e,t,n)=>{"use strict";n.d(t,{H:()=>o,_:()=>s});var r=n(6968);function s(e,t,n,r,s){return new o(e,t,n,r,s)}class o extends r.vU{constructor(e,t,n,r,s,o){super(e),this.onFinalize=s,this.shouldUnsubscribe=o,this._next=t?function(n){try{t(n)}catch(t){e.error(t)}}:super._next,this._error=r?function(t){try{r(t)}catch(t){e.error(t)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(t){e.error(t)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}}}},2468:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,U:()=>i});var r=n(5608),s=n(7007);function o(e){return(0,r.AQ)(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:e,done:n}=yield(0,r.N3)(t.read());if(n)return yield(0,r.N3)(void 0);yield yield(0,r.N3)(e)}}finally{t.releaseLock()}})}function i(e){return(0,s.T)(null==e?void 0:e.getReader)}},2512:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});const r=(0,n(7653).L)(e=>function(t){e(this),this.name="NotFoundError",this.message=t})},2571:(e,t,n)=>{"use strict";n.d(t,{F:()=>s,m:()=>o});var r=n(6781);function s(...e){return o(e)}function o(e){return 0===e.length?r.D:1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}}},2590:(e,t,n)=>{"use strict";n.d(t,{n:()=>i});var r=n(3878),s=n(6702),o=n(2464);function i(e,t){return(0,s.N)((n,s)=>{let i=null,u=0,c=!1;const a=()=>c&&!i&&s.complete();n.subscribe((0,o._)(s,n=>{null==i||i.unsubscribe();let c=0;const l=u++;(0,r.Tg)(e(n,l)).subscribe(i=(0,o._)(s,e=>s.next(t?t(n,e,l,c++):e),()=>{i=null,a()}))},()=>{c=!0,a()}))})}},2668:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});var r=n(1940),s=n(7007);function o(e){return(0,r.T)((0,s.T)(e)?(t,n)=>e(t,n)<0?t:n:(e,t)=>e<t?e:t)}},2700:(e,t,n)=>{"use strict";n.d(t,{X:()=>u});var r=n(3878),s=n(6702),o=n(151),i=n(2464);function u(e){return(0,s.N)((t,n)=>{let s=!1,u=null;t.subscribe((0,i._)(n,e=>{s=!0,u=e})),(0,r.Tg)(e).subscribe((0,i._)(n,()=>{if(s){s=!1;const e=u;u=null,n.next(e)}},o.l))})}},2774:(e,t,n)=>{"use strict";n.d(t,{R:()=>f});var r=n(3878),s=n(6857),o=n(108),i=n(9257),u=n(7007),c=n(5194);const a=["addListener","removeListener"],l=["addEventListener","removeEventListener"],d=["on","off"];function f(e,t,n,p){if((0,u.T)(n)&&(p=n,n=void 0),p)return f(e,t,n).pipe((0,c.I)(p));const[m,b]=function(e){return(0,u.T)(e.addEventListener)&&(0,u.T)(e.removeEventListener)}(e)?l.map(r=>s=>e[r](t,s,n)):function(e){return(0,u.T)(e.addListener)&&(0,u.T)(e.removeListener)}(e)?a.map(h(e,t)):function(e){return(0,u.T)(e.on)&&(0,u.T)(e.off)}(e)?d.map(h(e,t)):[];if(!m&&(0,i.X)(e))return(0,o.Z)(e=>f(e,t,n))((0,r.Tg)(e));if(!m)throw new TypeError("Invalid event target");return new s.c(e=>{const t=(...t)=>e.next(1<t.length?t:t[0]);return m(t),()=>b(t)})}function h(e,t){return n=>r=>e[n](t,r)}},2786:(e,t,n)=>{"use strict";n.d(t,{h:()=>c});var r=n(4677),s=n(3878),o=n(6751),i=n(8918),u=n(7348);function c(...e){const t=(0,i.lI)(e),n=(0,i.R0)(e,1/0),c=e;return c.length?1===c.length?(0,s.Tg)(c[0]):(0,r.U)(n)((0,u.H)(c,t)):o.w}},2891:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(5260),s=n(238),o=n(6231);function i(e,t=r.E,n){const i=(0,o.O)(e,t);return(0,s.n)(()=>i,n)}},2939:(e,t,n)=>{"use strict";n.d(t,{g:()=>i,w:()=>o});var r=n(3918),s=n(2421);function o(...e){const t=(0,r.K)(e);return e=>(0,s.g)(e,...t)}const i=o},2950:(e,t,n)=>{"use strict";n.d(t,{F:()=>i});var r=n(6781),s=n(6702),o=n(2464);function i(e,t=r.D){return e=null!=e?e:u,(0,s.N)((n,r)=>{let s,i=!0;n.subscribe((0,o._)(r,n=>{const o=t(n);!i&&e(s,o)||(i=!1,s=o,r.next(n))}))})}function u(e,t){return e===t}},2965:(e,t,n)=>{"use strict";n.d(t,{P:()=>r});const r=(0,n(7653).L)(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"})},2994:(e,t,n)=>{"use strict";n.d(t,{J:()=>c});var r=n(3422),s=n(386),o=n(2512),i=n(6702),u=n(2464);function c(e){return(0,i.N)((t,n)=>{let i,c=!1,a=!1,l=0;t.subscribe((0,u._)(n,r=>{a=!0,e&&!e(r,l++,t)||(c&&n.error(new s.I("Too many matching values")),c=!0,i=r)},()=>{c?(n.next(i),n.complete()):n.error(a?new o.m("No matching values"):new r.G)}))})}},2998:(e,t,n)=>{"use strict";n.d(t,{v:()=>i});var r=n(3422),s=n(6702),o=n(2464);function i(e=u){return(0,s.N)((t,n)=>{let r=!1;t.subscribe((0,o._)(n,e=>{r=!0,n.next(e)},()=>r?n.complete():n.error(e())))})}function u(){return new r.G}},3002:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var r=n(6702),s=n(2464);function o(e,t){return(0,r.N)((n,r)=>{let o=0;n.subscribe((0,s._)(r,n=>{r.next(e.call(t,n,o++))}))})}},3078:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});const r=(0,n(7653).L)(e=>function(){e(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"})},3172:(e,t,n)=>{"use strict";n.d(t,{c:()=>v});var r=n(3878),s=n(1013),o=n(5761),i=n(6857),u=n(1079),c=n(3873);function a(e,t){if(!e)throw new Error("Iterable cannot be null");return new i.c(n=>{(0,c.N)(n,t,()=>{const r=e[Symbol.asyncIterator]();(0,c.N)(n,t,()=>{r.next().then(e=>{e.done?n.complete():n.next(e.value)})},0,!0)})})}var l=n(5703),d=n(9178),f=n(9257),h=n(7773),p=n(1801),m=n(6919),b=n(2468);function v(e,t){if(null!=e){if((0,l.l)(e))return function(e,t){return(0,r.Tg)(e).pipe((0,o._)(t),(0,s.Q)(t))}(e,t);if((0,f.X)(e))return function(e,t){return new i.c(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if((0,d.y)(e))return function(e,t){return(0,r.Tg)(e).pipe((0,o._)(t),(0,s.Q)(t))}(e,t);if((0,p.T)(e))return a(e,t);if((0,h.x)(e))return(0,u.S)(e,t);if((0,b.U)(e))return function(e,t){return a((0,b.C)(e),t)}(e,t)}throw(0,m.L)(e)}},3193:(e,t,n)=>{"use strict";n.d(t,{q:()=>c});var r=n(6781),s=n(5194),o=n(2571),i=n(108),u=n(7594);function c(e,t){return(0,o.F)((0,u.$)(),(0,i.Z)(t=>e(t)),t?(0,s.I)(t):r.D)}},3210:(e,t,n)=>{"use strict";n.d(t,{p:()=>u});var r=n(3002),s=n(3878),o=n(6702),i=n(2464);function u(e,t){return t?n=>n.pipe(u((n,o)=>(0,s.Tg)(e(n,o)).pipe((0,r.T)((e,r)=>t(n,e,o,r))))):(0,o.N)((t,n)=>{let r=0,o=null,u=!1;t.subscribe((0,i._)(n,t=>{o||(o=(0,i._)(n,void 0,()=>{o=null,u&&n.complete()}),(0,s.Tg)(e(t,r++)).subscribe(o))},()=>{u=!0,!o&&n.complete()}))})}},3285:(e,t,n)=>{"use strict";n.d(t,{W:()=>i});var r=n(3878),s=n(2464),o=n(6702);function i(e){return(0,o.N)((t,n)=>{let o,u=null,c=!1;u=t.subscribe((0,s._)(n,void 0,void 0,s=>{o=(0,r.Tg)(e(s,i(e)(t))),u?(u.unsubscribe(),u=null,o.subscribe(n)):c=!0})),c&&(u.unsubscribe(),u=null,o.subscribe(n))})}},3290:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});const r=n(1655).A},3422:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});const r=(0,n(7653).L)(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"})},3458:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});var r=n(6702),s=n(9132);function o(e,t=1/0,n){return t=(t||0)<1?1/0:t,(0,r.N)((r,o)=>(0,s.h)(r,o,e,t,void 0,!0,n))}},3479:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=(0,n(7653).L)(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t})},3685:(e,t,n)=>{"use strict";n.d(t,{I:()=>o,k:()=>i});var r=n(6702),s=n(2464);function o(e,t){return(0,r.N)(i(e,t,"value"))}function i(e,t,n){const r="index"===n;return(n,o)=>{let i=0;n.subscribe((0,s._)(o,s=>{const u=i++;e.call(t,s,u,n)&&(o.next(r?u:s),o.complete())},()=>{o.next(r?-1:void 0),o.complete()}))}}},3713:(e,t,n)=>{"use strict";n.d(t,{Kn:()=>u,Uv:()=>c,yU:()=>i});var r=n(7007),s=n(3479),o=n(1276);class i{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const e of t)e.remove(this);else t.remove(this);const{initialTeardown:n}=this;if((0,r.T)(n))try{n()}catch(t){e=t instanceof s.Z?t.errors:[t]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const t of o)try{a(t)}catch(t){e=null!=e?e:[],t instanceof s.Z?e=[...e,...t.errors]:e.push(t)}}if(e)throw new s.Z(e)}}add(e){var t;if(e&&e!==this)if(this.closed)a(e);else{if(e instanceof i){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(e)}}_hasParent(e){const{_parentage:t}=this;return t===e||Array.isArray(t)&&t.includes(e)}_addParent(e){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e}_removeParent(e){const{_parentage:t}=this;t===e?this._parentage=null:Array.isArray(t)&&(0,o.o)(t,e)}remove(e){const{_finalizers:t}=this;t&&(0,o.o)(t,e),e instanceof i&&e._removeParent(this)}}i.EMPTY=(()=>{const e=new i;return e.closed=!0,e})();const u=i.EMPTY;function c(e){return e instanceof i||e&&"closed"in e&&(0,r.T)(e.remove)&&(0,r.T)(e.add)&&(0,r.T)(e.unsubscribe)}function a(e){(0,r.T)(e)?e():e.unsubscribe()}},3773:(e,t,n)=>{"use strict";n.d(t,{s:()=>c});var r=n(3078),s=n(9732),o=n(2998),i=n(8981),u=n(5697);function c(e,t){if(e<0)throw new r.k;const n=arguments.length>=2;return c=>c.pipe((0,s.p)((t,n)=>n===e),(0,u.s)(1),n?(0,i.U)(t):(0,o.v)(()=>new r.k))}},3834:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});const r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3873:(e,t,n)=>{"use strict";function r(e,t,n,r=0,s=!1){const o=t.schedule(function(){n(),s?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!s)return o}n.d(t,{N:()=>r})},3878:(e,t,n)=>{"use strict";n.d(t,{Tg:()=>m});var r=n(5608),s=n(9257),o=n(9178),i=n(6857),u=n(5703),c=n(1801),a=n(6919),l=n(7773),d=n(2468),f=n(7007),h=n(5390),p=n(9774);function m(e){if(e instanceof i.c)return e;if(null!=e){if((0,u.l)(e))return v=e,new i.c(e=>{const t=v[p.s]();if((0,f.T)(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")});if((0,s.X)(e))return m=e,new i.c(e=>{for(let t=0;t<m.length&&!e.closed;t++)e.next(m[t]);e.complete()});if((0,o.y)(e))return r=e,new i.c(e=>{r.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,h.m)});if((0,c.T)(e))return b(e);if((0,l.x)(e))return n=e,new i.c(e=>{for(const t of n)if(e.next(t),e.closed)return;e.complete()});if((0,d.U)(e))return t=e,b((0,d.C)(t))}var t,n,r,m,v;throw(0,a.L)(e)}function b(e){return new i.c(t=>{(function(e,t){var n,s,o,i;return(0,r.sH)(this,void 0,void 0,function*(){try{for(n=(0,r.xN)(e);!(s=yield n.next()).done;){const e=s.value;if(t.next(e),t.closed)return}}catch(e){o={error:e}}finally{try{s&&!s.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(e=>t.error(e))})}},3918:(e,t,n)=>{"use strict";n.d(t,{K:()=>s});const{isArray:r}=Array;function s(e){return 1===e.length&&r(e[0])?e[0]:e}},3938:(e,t,n)=>{"use strict";n.d(t,{H:()=>a});var r=n(3422),s=n(9732),o=n(2173),i=n(2998),u=n(8981),c=n(6781);function a(e,t){const n=arguments.length>=2;return a=>a.pipe(e?(0,s.p)((t,n)=>e(t,n,a)):c.D,(0,o.o)(1),n?(0,u.U)(t):(0,i.v)(()=>new r.G))}},3941:(e,t,n)=>{"use strict";n.d(t,{U:()=>u});var r=n(6702),s=n(2464),o=n(3878),i=n(151);function u(e){return(0,r.N)((t,n)=>{let r=!1;const u=(0,s._)(n,()=>{null==u||u.unsubscribe(),r=!0},i.l);(0,o.Tg)(e).subscribe(u),t.subscribe((0,s._)(n,e=>r&&n.next(e)))})}},3995:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var r=n(6702),s=n(2464);function o(e,t){return(0,r.N)((n,r)=>{let o=0;n.subscribe((0,s._)(r,s=>{e.call(t,s,o++,n)||(r.next(!1),r.complete())},()=>{r.next(!0),r.complete()}))})}},4079:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var r=n(2106),s=n(7007);function o(e,t){return(0,s.T)(t)?(0,r.H)(()=>e,t):(0,r.H)(()=>e)}},4417:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var r=n(6702),s=n(3685);function o(e,t){return(0,r.N)((0,s.k)(e,t,"index"))}},4476:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});var r=n(5917),s=n(3193);function o(e){return(0,s.q)(r.y,e)}},4563:(e,t,n)=>{"use strict";n.d(t,{s:()=>d});var r=n(7290),s=n(5260),o=n(3713),i=n(6702),u=n(2464),c=n(1276),a=n(8918),l=n(3873);function d(e,...t){var n,d;const f=null!==(n=(0,a.lI)(t))&&void 0!==n?n:s.E,h=null!==(d=t[0])&&void 0!==d?d:null,p=t[1]||1/0;return(0,i.N)((t,n)=>{let s=[],i=!1;const a=e=>{const{window:t,subs:n}=e;t.complete(),n.unsubscribe(),(0,c.o)(s,e),i&&d()},d=()=>{if(s){const t=new o.yU;n.add(t);const i=new r.B,u={window:i,subs:t,seen:0};s.push(u),n.next(i.asObservable()),(0,l.N)(t,f,()=>a(u),e)}};null!==h&&h>=0?(0,l.N)(n,f,d,h,!0):i=!0,d();const m=e=>s.slice().forEach(e),b=e=>{m(({window:t})=>e(t)),e(n),n.unsubscribe()};return t.subscribe((0,u._)(n,e=>{m(t=>{t.window.next(e),p<=++t.seen&&a(t)})},()=>b(e=>e.complete()),e=>b(t=>t.error(e)))),()=>{s=null}})}},4677:(e,t,n)=>{"use strict";n.d(t,{U:()=>o});var r=n(108),s=n(6781);function o(e=1/0){return(0,r.Z)(s.D,e)}},4755:(e,t,n)=>{"use strict";n.d(t,{U:()=>s});var r=n(1940);function s(e){return(0,r.T)((t,n,r)=>!e||e(n,r)?t+1:t,0)}},5011:(e,t,n)=>{"use strict";n.d(t,{_:()=>o});var r=n(3422),s=n(6968);function o(e,t){const n="object"==typeof t;return new Promise((o,i)=>{const u=new s.Ms({next:e=>{o(e),u.unsubscribe()},error:i,complete:()=>{n?o(t.defaultValue):i(new r.G)}});e.subscribe(u)})}},5017:(e,t,n)=>{"use strict";n.d(t,{N:()=>c});var r=n(7290),s=n(3878),o=n(6702),i=n(6857);const u={connector:()=>new r.B};function c(e,t=u){const{connector:n}=t;return(0,o.N)((t,r)=>{const o=n();var u;(0,s.Tg)(e((u=o,new i.c(e=>u.subscribe(e))))).subscribe(r),r.add(t.subscribe(o))})}},5062:(e,t,n)=>{"use strict";n.d(t,{J:()=>l});var r=n(7290),s=n(3713),o=n(6702),i=n(3878),u=n(2464),c=n(151),a=n(1276);function l(e,t){return(0,o.N)((n,o)=>{const l=[],d=e=>{for(;0<l.length;)l.shift().error(e);o.error(e)};(0,i.Tg)(e).subscribe((0,u._)(o,e=>{const n=new r.B;l.push(n);const f=new s.yU;let h;try{h=(0,i.Tg)(t(e))}catch(e){return void d(e)}o.next(n.asObservable()),f.add(h.subscribe((0,u._)(o,()=>{(0,a.o)(l,n),n.complete(),f.unsubscribe()},c.l,d)))},c.l)),n.subscribe((0,u._)(o,e=>{const t=l.slice();for(const n of t)n.next(e)},()=>{for(;0<l.length;)l.shift().complete();o.complete()},d,()=>{for(;0<l.length;)l.shift().unsubscribe()}))})}},5128:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var r=n(1897),s=n(3002);function o(e=r.U){return(0,s.T)(t=>({value:t,timestamp:e.now()}))}},5159:(e,t,n)=>{"use strict";n.d(t,{_:()=>s});var r=n(1897);class s{constructor(e,t=s.now){this.schedulerActionCtor=e,this.now=t}schedule(e,t=0,n){return new this.schedulerActionCtor(this,e).schedule(n,t)}}s.now=r.U.now},5194:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});var r=n(3002);const{isArray:s}=Array;function o(e){return(0,r.T)(t=>function(e,t){return s(t)?e(...t):e(t)}(e,t))}},5199:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var r=n(7290),s=n(9066),o=n(5017);function i(e){return e?t=>(0,o.N)(e)(t):e=>(0,s.f)(new r.B)(e)}},5260:(e,t,n)=>{"use strict";n.d(t,{E:()=>s,b:()=>o});var r=n(7078);const s=new(n(9771).q)(r.R),o=s},5296:(e,t,n)=>{"use strict";n.d(t,{r:()=>u});var r=n(6702),s=n(151),o=n(2464),i=n(3878);function u(e){return(0,r.N)((t,n)=>{let r=[];return t.subscribe((0,o._)(n,e=>r.push(e),()=>{n.next(r),n.complete()})),(0,i.Tg)(e).subscribe((0,o._)(n,()=>{const e=r;r=[],n.next(e)},s.l)),()=>{r=null}})}},5319:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(881),s=n(6702),o=n(6781);function i(...e){return e.length?(0,s.N)((t,n)=>{(0,r.w)([t,...e])(n)}):o.D}},5390:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});var r=n(3834),s=n(7262);function o(e){s.f.setTimeout(()=>{const{onUnhandledError:t}=r.$;if(!t)throw e;t(e)})}},5524:(e,t,n)=>{"use strict";n.d(t,{t:()=>s});var r=n(7290);class s extends r.B{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){const{hasError:e,thrownError:t,_value:n}=this;if(e)throw t;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}}},5601:(e,t,n)=>{"use strict";n.d(t,{E:()=>a});var r=n(6702),s=n(2464),o=n(3878),i=n(6781),u=n(151),c=n(8918);function a(...e){const t=(0,c.ms)(e);return(0,r.N)((n,r)=>{const c=e.length,a=new Array(c);let l=e.map(()=>!1),d=!1;for(let t=0;t<c;t++)(0,o.Tg)(e[t]).subscribe((0,s._)(r,e=>{a[t]=e,d||l[t]||(l[t]=!0,(d=l.every(i.D))&&(l=null))},u.l));n.subscribe((0,s._)(r,e=>{if(d){const n=[e,...a];r.next(t?t(...n):n)}}))})}},5608:(e,t,n)=>{"use strict";function r(e,t,n,r){return new(n||(n=Promise))(function(s,o){function i(e){try{c(r.next(e))}catch(e){o(e)}}function u(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,u)}c((r=r.apply(e,t||[])).next())})}function s(e){return this instanceof s?(this.v=e,this):new s(e)}function o(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),u("next"),u("throw"),u("return",function(e){return function(t){return Promise.resolve(t).then(e,l)}}),r[Symbol.asyncIterator]=function(){return this},r;function u(e,t){o[e]&&(r[e]=function(t){return new Promise(function(n,r){i.push([e,t,n,r])>1||c(e,t)})},t&&(r[e]=t(r[e])))}function c(e,t){try{(n=o[e](t)).value instanceof s?Promise.resolve(n.value.v).then(a,l):d(i[0][2],n)}catch(e){d(i[0][3],e)}var n}function a(e){c("next",e)}function l(e){c("throw",e)}function d(e,t){e(t),i.shift(),i.length&&c(i[0][0],i[0][1])}}function i(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,s){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}(r,s,(t=e[n](t)).done,t.value)})}}}n.d(t,{AQ:()=>o,N3:()=>s,sH:()=>r,xN:()=>i}),Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError},5697:(e,t,n)=>{"use strict";n.d(t,{s:()=>i});var r=n(6751),s=n(6702),o=n(2464);function i(e){return e<=0?()=>r.w:(0,s.N)((t,n)=>{let r=0;t.subscribe((0,o._)(n,t=>{++r<=e&&(n.next(t),e<=r&&n.complete())}))})}},5703:(e,t,n)=>{"use strict";n.d(t,{l:()=>o});var r=n(9774),s=n(7007);function o(e){return(0,s.T)(e[r.s])}},5761:(e,t,n)=>{"use strict";n.d(t,{_:()=>s});var r=n(6702);function s(e,t=0){return(0,r.N)((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}},5815:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(5260),s=n(2011),o=n(591);function i(e,t,n){let i,u,c;if(n=null!=n?n:r.b,(0,s.v)(e)?i=e:"number"==typeof e&&(u=e),!t)throw new TypeError("No observable provided to switch to");if(c=()=>t,null==i&&null==u)throw new TypeError("No timeout provided.");return(0,o.w)({first:i,each:u,scheduler:n,with:c})}},5853:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(6702),s=n(2464),o=n(151);function i(){return(0,r.N)((e,t)=>{e.subscribe((0,s._)(t,o.l))})}},5917:(e,t,n)=>{"use strict";n.d(t,{y:()=>a});var r=n(6857),s=n(3878),o=n(3918),i=n(6751),u=n(2464),c=n(8918);function a(...e){const t=(0,c.ms)(e),n=(0,o.K)(e);return n.length?new r.c(e=>{let r=n.map(()=>[]),o=n.map(()=>!1);e.add(()=>{r=o=null});for(let i=0;!e.closed&&i<n.length;i++)(0,s.Tg)(n[i]).subscribe((0,u._)(e,n=>{if(r[i].push(n),r.every(e=>e.length)){const n=r.map(e=>e.shift());e.next(t?t(...n):n),r.some((e,t)=>!e.length&&o[t])&&e.complete()}},()=>{o[i]=!0,!r[i].length&&e.complete()}));return()=>{r=o=null}}):i.w}},5927:(e,t,n)=>{"use strict";n.d(t,{u:()=>u});var r=n(3878),s=n(7290),o=n(6968),i=n(6702);function u(e={}){const{connector:t=()=>new s.B,resetOnError:n=!0,resetOnComplete:u=!0,resetOnRefCountZero:a=!0}=e;return e=>{let s,l,d,f=0,h=!1,p=!1;const m=()=>{null==l||l.unsubscribe(),l=void 0},b=()=>{m(),s=d=void 0,h=p=!1},v=()=>{const e=s;b(),null==e||e.unsubscribe()};return(0,i.N)((e,i)=>{f++,p||h||m();const g=d=null!=d?d:t();i.add(()=>{f--,0!==f||p||h||(l=c(v,a))}),g.subscribe(i),!s&&f>0&&(s=new o.Ms({next:e=>g.next(e),error:e=>{p=!0,m(),l=c(b,n,e),g.error(e)},complete:()=>{h=!0,m(),l=c(b,u),g.complete()}}),(0,r.Tg)(e).subscribe(s))})(e)}}function c(e,t,...n){if(!0===t)return void e();if(!1===t)return;const s=new o.Ms({next:()=>{s.unsubscribe(),e()}});return(0,r.Tg)(t(...n)).subscribe(s)}},6077:(e,t,n)=>{"use strict";n.d(t,{w:()=>l});var r=n(3713),s=n(6702),o=n(2464),i=n(1276),u=n(5260),c=n(8918),a=n(3873);function l(e,...t){var n,l;const d=null!==(n=(0,c.lI)(t))&&void 0!==n?n:u.E,f=null!==(l=t[0])&&void 0!==l?l:null,h=t[1]||1/0;return(0,s.N)((t,n)=>{let s=[],u=!1;const c=e=>{const{buffer:t,subs:r}=e;r.unsubscribe(),(0,i.o)(s,e),n.next(t),u&&l()},l=()=>{if(s){const t=new r.yU;n.add(t);const o={buffer:[],subs:t};s.push(o),(0,a.N)(t,d,()=>c(o),e)}};null!==f&&f>=0?(0,a.N)(n,d,l,f,!0):u=!0,l();const p=(0,o._)(n,e=>{const t=s.slice();for(const n of t){const{buffer:t}=n;t.push(e),h<=t.length&&c(n)}},()=>{for(;null==s?void 0:s.length;)n.next(s.shift().buffer);null==p||p.unsubscribe(),n.complete(),n.unsubscribe()},void 0,()=>s=null);t.subscribe(p)})}},6114:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(5260),s=n(7895),o=n(6231);function i(e,t=r.E){return(0,s.s)(()=>(0,o.O)(e,t))}},6231:(e,t,n)=>{"use strict";n.d(t,{O:()=>u});var r=n(6857),s=n(5260),o=n(6486),i=n(2011);function u(e=0,t,n=s.b){let u=-1;return null!=t&&((0,o.m)(t)?n=t:u=t),new r.c(t=>{let r=(0,i.v)(e)?+e-n.now():e;r<0&&(r=0);let s=0;return n.schedule(function(){t.closed||(t.next(s++),0<=u?this.schedule(void 0,u):t.complete())},r)})}},6261:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});var r=n(5524),s=n(9817);function o(e){return t=>{const n=new r.t(e);return new s.G(t,()=>n)}}},6280:(e,t,n)=>{"use strict";n.d(t,{x:()=>i});var r=n(6643),s=n(8918),o=n(7348);function i(...e){return(0,r.K)()((0,o.H)(e,(0,s.lI)(e)))}},6358:(e,t,n)=>{"use strict";n.d(t,{l:()=>u});var r=n(3878),s=n(7290),o=n(6702),i=n(2464);function u(e){return(0,o.N)((t,n)=>{let o,u,c=!1;const a=()=>{o=t.subscribe((0,i._)(n,void 0,void 0,t=>{u||(u=new s.B,(0,r.Tg)(e(u)).subscribe((0,i._)(n,()=>o?a():c=!0))),u&&u.next(t)})),c&&(o.unsubscribe(),o=null,c=!1,a())};a()})}},6410:(e,t,n)=>{"use strict";function r(e,t){return(n,r)=>!e.call(t,n,r)}n.d(t,{A:()=>r})},6418:(e,t,n)=>{"use strict";n.d(t,{$:()=>a});var r=n(3422),s=n(9732),o=n(5697),i=n(8981),u=n(2998),c=n(6781);function a(e,t){const n=arguments.length>=2;return a=>a.pipe(e?(0,s.p)((t,n)=>e(t,n,a)):c.D,(0,o.s)(1),n?(0,i.U)(t):(0,u.v)(()=>new r.G))}},6428:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(6280),s=n(8918),o=n(6702);function i(...e){const t=(0,s.lI)(e);return(0,o.N)((n,s)=>{(t?(0,r.x)(e,n,t):(0,r.x)(e,n)).subscribe(s)})}},6486:(e,t,n)=>{"use strict";n.d(t,{m:()=>s});var r=n(7007);function s(e){return e&&(0,r.T)(e.schedule)}},6569:(e,t,n)=>{"use strict";n.d(t,{D:()=>u});const{isArray:r}=Array,{getPrototypeOf:s,prototype:o,keys:i}=Object;function u(e){if(1===e.length){const n=e[0];if(r(n))return{args:n,keys:null};if((t=n)&&"object"==typeof t&&s(t)===o){const e=i(n);return{args:e.map(e=>n[e]),keys:e}}}var t;return{args:e,keys:null}}},6592:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var r=n(6702),s=n(2464);function o(e,t=!1){return(0,r.N)((n,r)=>{let o=0;n.subscribe((0,s._)(r,n=>{const s=e(n,o++);(s||t)&&r.next(n),!s&&r.complete()}))})}},6643:(e,t,n)=>{"use strict";n.d(t,{K:()=>s});var r=n(4677);function s(){return(0,r.U)(1)}},6661:(e,t,n)=>{"use strict";n.d(t,{u:()=>c});var r=n(6751),s=n(6702),o=n(2464),i=n(3878),u=n(6231);function c(e){let t,n=1/0;return null!=e&&("object"==typeof e?({count:n=1/0,delay:t}=e):n=e),n<=0?()=>r.w:(0,s.N)((e,r)=>{let s,c=0;const a=()=>{if(null==s||s.unsubscribe(),s=null,null!=t){const e="number"==typeof t?(0,u.O)(t):(0,i.Tg)(t(c)),n=(0,o._)(r,()=>{n.unsubscribe(),l()});e.subscribe(n)}else l()},l=()=>{let t=!1;s=e.subscribe((0,o._)(r,void 0,()=>{++c<n?s?a():t=!0:r.complete()})),t&&a()};l()})}},6681:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});var r=n(6702),s=n(2464);function o(){return(0,r.N)((e,t)=>{e.subscribe((0,s._)(t,()=>{t.next(!1),t.complete()},()=>{t.next(!0),t.complete()}))})}},6702:(e,t,n)=>{"use strict";n.d(t,{N:()=>o,S:()=>s});var r=n(7007);function s(e){return(0,r.T)(null==e?void 0:e.lift)}function o(e){return t=>{if(s(t))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw new TypeError("Unable to lift unknown Observable type")}}},6726:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});var r=n(5260),s=n(6702),o=n(2464);function i(e=r.E){return(0,s.N)((t,n)=>{let r=e.now();t.subscribe((0,o._)(n,t=>{const s=e.now(),o=s-r;r=s,n.next(new u(t,o))}))})}class u{constructor(e,t){this.value=e,this.interval=t}}},6751:(e,t,n)=>{"use strict";n.d(t,{I:()=>o,w:()=>s});var r=n(6857);const s=new r.c(e=>e.complete());function o(e){return e?function(e){return new r.c(t=>e.schedule(()=>t.complete()))}(e):s}},6770:(e,t,n)=>{"use strict";n.d(t,{J:()=>o});var r=n(6702),s=n(2464);function o(){return(0,r.N)((e,t)=>{let n,r=!1;e.subscribe((0,s._)(t,e=>{const s=n;n=e,r&&t.next([s,e]),r=!0}))})}},6781:(e,t,n)=>{"use strict";function r(e){return e}n.d(t,{D:()=>r})},6807:(e,t,n)=>{"use strict";n.d(t,{o:()=>a});var r=n(6280),s=n(5697),o=n(5853),i=n(831),u=n(108),c=n(3878);function a(e,t){return t?n=>(0,r.x)(t.pipe((0,s.s)(1),(0,o.w)()),n.pipe(a(e))):(0,u.Z)((t,n)=>(0,c.Tg)(e(t,n)).pipe((0,s.s)(1),(0,i.u)(t)))}},6850:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});var r=n(6702),s=n(2464);function o(){return(0,r.N)((e,t)=>{let n=null;e._refCount++;const r=(0,s._)(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const r=e._connection,s=n;n=null,!r||s&&r!==s||r.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}},6857:(e,t,n)=>{"use strict";n.d(t,{c:()=>l});var r=n(6968),s=n(3713),o=n(9774),i=n(2571),u=n(3834),c=n(7007),a=n(9442);class l{constructor(e){e&&(this._subscribe=e)}lift(e){const t=new l;return t.source=this,t.operator=e,t}subscribe(e,t,n){const o=(i=e)&&i instanceof r.vU||function(e){return e&&(0,c.T)(e.next)&&(0,c.T)(e.error)&&(0,c.T)(e.complete)}(i)&&(0,s.Uv)(i)?e:new r.Ms(e,t,n);var i;return(0,a.Y)(()=>{const{operator:e,source:t}=this;o.add(e?e.call(o,t):t?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(t){e.error(t)}}forEach(e,t){return new(t=d(t))((t,n)=>{const s=new r.Ms({next:t=>{try{e(t)}catch(e){n(e),s.unsubscribe()}},error:n,complete:t});this.subscribe(s)})}_subscribe(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)}[o.s](){return this}pipe(...e){return(0,i.m)(e)(this)}toPromise(e){return new(e=d(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}function d(e){var t;return null!==(t=null!=e?e:u.$.Promise)&&void 0!==t?t:Promise}l.create=e=>new l(e)},6919:(e,t,n)=>{"use strict";function r(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}n.d(t,{L:()=>r})},6968:(e,t,n)=>{"use strict";n.d(t,{Ms:()=>b,vU:()=>f});var r=n(7007),s=n(3713),o=n(3834),i=n(5390),u=n(151);const c=a("C",void 0,void 0);function a(e,t,n){return{kind:e,value:t,error:n}}var l=n(7262),d=n(9442);class f extends s.yU{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,(0,s.Uv)(e)&&e.add(this)):this.destination=y}static create(e,t,n){return new b(e,t,n)}next(e){this.isStopped?g(function(e){return a("N",e,void 0)}(e),this):this._next(e)}error(e){this.isStopped?g(a("E",void 0,e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?g(c,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()}}}const h=Function.prototype.bind;function p(e,t){return h.call(e,t)}class m{constructor(e){this.partialObserver=e}next(e){const{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(e){v(e)}}error(e){const{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(e){v(e)}else v(e)}complete(){const{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(e){v(e)}}}class b extends f{constructor(e,t,n){let s;if(super(),(0,r.T)(e)||!e)s={next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0};else{let t;this&&o.$.useDeprecatedNextContext?(t=Object.create(e),t.unsubscribe=()=>this.unsubscribe(),s={next:e.next&&p(e.next,t),error:e.error&&p(e.error,t),complete:e.complete&&p(e.complete,t)}):s=e}this.destination=new m(s)}}function v(e){o.$.useDeprecatedSynchronousErrorHandling?(0,d.l)(e):(0,i.m)(e)}function g(e,t){const{onStoppedNotification:n}=o.$;n&&l.f.setTimeout(()=>n(e,t))}const y={closed:!0,next:u.l,error:function(e){throw e},complete:u.l}},7007:(e,t,n)=>{"use strict";function r(e){return"function"==typeof e}n.d(t,{T:()=>r})},7026:(e,t,n)=>{"use strict";n.d(t,{z:()=>a});var r=n(772),s=n(6702),o=n(3918),i=n(5194),u=n(2571),c=n(8918);function a(...e){const t=(0,c.ms)(e);return t?(0,u.F)(a(...e),(0,i.I)(t)):(0,s.N)((t,n)=>{(0,r.P)([t,...(0,o.K)(e)])(n)})}},7036:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var r=n(7290);class s extends r.B{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(e){const{hasError:t,_hasValue:n,_value:r,thrownError:s,isStopped:o,_isComplete:i}=this;t?e.error(s):(o||i)&&(n&&e.next(r),e.complete())}next(e){this.isStopped||(this._value=e,this._hasValue=!0)}complete(){const{_hasValue:e,_value:t,_isComplete:n}=this;n||(this._isComplete=!0,e&&super.next(t),super.complete())}}},7037:(e,t,n)=>{"use strict";n.r(t),n.d(t,{audit:()=>r.s,auditTime:()=>s.Z,buffer:()=>o.r,bufferCount:()=>i.S,bufferTime:()=>u.w,bufferToggle:()=>c.H,bufferWhen:()=>a.n,catchError:()=>l.W,combineAll:()=>d.p,combineLatest:()=>h.z,combineLatestAll:()=>f.A,combineLatestWith:()=>p.v,concat:()=>m.x,concatAll:()=>b.K,concatMap:()=>v.H,concatMapTo:()=>g.S,concatWith:()=>y.$,connect:()=>w.N,count:()=>x.U,debounce:()=>N.s,debounceTime:()=>T.B,defaultIfEmpty:()=>_.U,delay:()=>C.c,delayWhen:()=>E.o,dematerialize:()=>P.Z,distinct:()=>S.d,distinctUntilChanged:()=>O.F,distinctUntilKeyChanged:()=>A.w,elementAt:()=>M.s,endWith:()=>I.q,every:()=>R.S,exhaust:()=>j.B,exhaustAll:()=>$.C,exhaustMap:()=>k.p,expand:()=>L.f,filter:()=>q.p,finalize:()=>F.j,find:()=>D.I,findIndex:()=>U.S,first:()=>W.$,flatMap:()=>Q.q,groupBy:()=>B.$,ignoreElements:()=>H.w,isEmpty:()=>z.I,last:()=>V.H,map:()=>J.T,mapTo:()=>K.u,materialize:()=>Z.O,max:()=>G.T,merge:()=>Y.h,mergeAll:()=>X.U,mergeMap:()=>ee.Z,mergeMapTo:()=>te.C,mergeScan:()=>ne.i,mergeWith:()=>re.X,min:()=>se.j,multicast:()=>oe.f,observeOn:()=>ie.Q,onErrorResumeNext:()=>ue.g,pairwise:()=>ce.J,partition:()=>le,pluck:()=>de.E,publish:()=>fe.m,publishBehavior:()=>he.K,publishLast:()=>pe.k,publishReplay:()=>me.H,race:()=>ge,raceWith:()=>ve.w,reduce:()=>ye.T,refCount:()=>_e.B,repeat:()=>we.u,repeatWhen:()=>xe.Y,retry:()=>Ne.L,retryWhen:()=>Te.l,sample:()=>Ce.X,sampleTime:()=>Ee.q,scan:()=>Pe.S,sequenceEqual:()=>Se.m,share:()=>Oe.u,shareReplay:()=>Ae.t,single:()=>Me.J,skip:()=>Ie.i,skipLast:()=>Re.G,skipUntil:()=>je.U,skipWhile:()=>$e.j,startWith:()=>ke.Z,subscribeOn:()=>Le._,switchAll:()=>qe.w,switchMap:()=>Fe.n,switchMapTo:()=>De.K,switchScan:()=>Ue.m,take:()=>We.s,takeLast:()=>Be.o,takeUntil:()=>He.Q,takeWhile:()=>ze.v,tap:()=>Ve.M,throttle:()=>Je.n,throttleTime:()=>Ke.c,throwIfEmpty:()=>Ze.v,timeInterval:()=>Ge.f,timeout:()=>Ye.w,timeoutWith:()=>Xe.o,timestamp:()=>Qe.v,toArray:()=>et.$,window:()=>tt.x,windowCount:()=>nt.k,windowTime:()=>rt.s,windowToggle:()=>st.J,windowWhen:()=>ot.p,withLatestFrom:()=>it.E,zip:()=>ut.y,zipAll:()=>ct.x,zipWith:()=>at.O});var r=n(7895),s=n(6114),o=n(5296),i=n(8501),u=n(6077),c=n(8812),a=n(8236),l=n(3285),d=n(3290),f=n(1655),h=n(7026),p=n(478),m=n(9878),b=n(6643),v=n(2106),g=n(4079),y=n(626),w=n(5017),x=n(4755),N=n(9013),T=n(848),_=n(8981),C=n(8631),E=n(6807),P=n(9500),S=n(1374),O=n(2950),A=n(1885),M=n(3773),I=n(1457),R=n(3995),j=n(9158),$=n(931),k=n(3210),L=n(3458),q=n(9732),F=n(1724),D=n(3685),U=n(4417),W=n(6418),B=n(8722),H=n(5853),z=n(6681),V=n(3938),J=n(3002),K=n(831),Z=n(9237),G=n(7170),Y=n(2124),X=n(4677),Q=n(51),ee=n(108),te=n(7309),ne=n(8361),re=n(4),se=n(2668),oe=n(9066),ie=n(1013),ue=n(2939),ce=n(6770),ae=n(6410);function le(e,t){return n=>[(0,q.p)(e,t)(n),(0,q.p)((0,ae.A)(e,t))(n)]}var de=n(8053),fe=n(5199),he=n(6261),pe=n(111),me=n(9532),be=n(3918),ve=n(5319);function ge(...e){return(0,ve.w)(...(0,be.K)(e))}var ye=n(1940),we=n(6661),xe=n(7429),Ne=n(8170),Te=n(6358),_e=n(6850),Ce=n(2700),Ee=n(609),Pe=n(9388),Se=n(8327),Oe=n(5927),Ae=n(1860),Me=n(2994),Ie=n(7893),Re=n(7121),je=n(3941),$e=n(7716),ke=n(6428),Le=n(5761),qe=n(7391),Fe=n(2590),De=n(9187),Ue=n(203),We=n(5697),Be=n(2173),He=n(57),ze=n(6592),Ve=n(1205),Je=n(238),Ke=n(2891),Ze=n(2998),Ge=n(6726),Ye=n(591),Xe=n(5815),Qe=n(5128),et=n(7594),tt=n(7302),nt=n(1571),rt=n(4563),st=n(5062),ot=n(1530),it=n(5601),ut=n(963),ct=n(4476),at=n(8923)},7078:(e,t,n)=>{"use strict";n.d(t,{R:()=>u});var r=n(3713);class s extends r.yU{constructor(e,t){super()}schedule(e,t=0){return this}}const o={setInterval(e,t,...n){const{delegate:r}=o;return(null==r?void 0:r.setInterval)?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=o;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0};var i=n(1276);class u extends s{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var n;if(this.closed)return this;this.state=e;const r=this.id,s=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(s,r,t)),this.pending=!0,this.delay=t,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(s,this.id,t),this}requestAsyncId(e,t,n=0){return o.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return t;null!=t&&o.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n,r=!1;try{this.work(e)}catch(e){r=!0,n=e||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){const{id:e,scheduler:t}=this,{actions:n}=t;this.work=this.state=this.scheduler=null,this.pending=!1,(0,i.o)(n,this),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}}},7121:(e,t,n)=>{"use strict";n.d(t,{G:()=>i});var r=n(6781),s=n(6702),o=n(2464);function i(e){return e<=0?r.D:(0,s.N)((t,n)=>{let r=new Array(e),s=0;return t.subscribe((0,o._)(n,t=>{const o=s++;if(o<e)r[o]=t;else{const s=o%e,i=r[s];r[s]=t,n.next(i)}})),()=>{r=null}})}},7170:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var r=n(1940),s=n(7007);function o(e){return(0,r.T)((0,s.T)(e)?(t,n)=>e(t,n)>0?t:n:(e,t)=>e>t?e:t)}},7262:(e,t,n)=>{"use strict";n.d(t,{f:()=>r});const r={setTimeout(e,t,...n){const{delegate:s}=r;return(null==s?void 0:s.setTimeout)?s.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=r;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0}},7290:(e,t,n)=>{"use strict";n.d(t,{B:()=>c});var r=n(6857),s=n(3713),o=n(2965),i=n(1276),u=n(9442);class c extends r.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const t=new a(this,this);return t.operator=e,t}_throwIfClosed(){if(this.closed)throw new o.P}next(e){(0,u.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const t of this.currentObservers)t.next(e)}})}error(e){(0,u.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:t}=this;for(;t.length;)t.shift().error(e)}})}complete(){(0,u.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:t,isStopped:n,observers:r}=this;return t||n?s.Kn:(this.currentObservers=null,r.push(e),new s.yU(()=>{this.currentObservers=null,(0,i.o)(r,e)}))}_checkFinalizedStatuses(e){const{hasError:t,thrownError:n,isStopped:r}=this;t?e.error(n):r&&e.complete()}asObservable(){const e=new r.c;return e.source=this,e}}c.create=(e,t)=>new a(e,t);class a extends c{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)}error(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)}complete(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)}_subscribe(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:s.Kn}}},7302:(e,t,n)=>{"use strict";n.d(t,{x:()=>c});var r=n(7290),s=n(6702),o=n(2464),i=n(151),u=n(3878);function c(e){return(0,s.N)((t,n)=>{let s=new r.B;n.next(s.asObservable());const c=e=>{s.error(e),n.error(e)};return t.subscribe((0,o._)(n,e=>null==s?void 0:s.next(e),()=>{s.complete(),n.complete()},c)),(0,u.Tg)(e).subscribe((0,o._)(n,()=>{s.complete(),n.next(s=new r.B)},i.l,c)),()=>{null==s||s.unsubscribe(),s=null}})}},7309:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var r=n(108),s=n(7007);function o(e,t,n=1/0){return(0,s.T)(t)?(0,r.Z)(()=>e,t,n):("number"==typeof t&&(n=t),(0,r.Z)(()=>e,n))}},7348:(e,t,n)=>{"use strict";n.d(t,{H:()=>o});var r=n(3172),s=n(3878);function o(e,t){return t?(0,r.c)(e,t):(0,s.Tg)(e)}},7391:(e,t,n)=>{"use strict";n.d(t,{w:()=>o});var r=n(2590),s=n(6781);function o(){return(0,r.n)(s.D)}},7429:(e,t,n)=>{"use strict";n.d(t,{Y:()=>u});var r=n(3878),s=n(7290),o=n(6702),i=n(2464);function u(e){return(0,o.N)((t,n)=>{let o,u,c=!1,a=!1,l=!1;const d=()=>l&&a&&(n.complete(),!0),f=()=>{l=!1,o=t.subscribe((0,i._)(n,void 0,()=>{l=!0,!d()&&(u||(u=new s.B,(0,r.Tg)(e(u)).subscribe((0,i._)(n,()=>{o?f():c=!0},()=>{a=!0,d()}))),u).next()})),c&&(o.unsubscribe(),o=null,c=!1,f())};f()})}},7594:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});var r=n(1940),s=n(6702);const o=(e,t)=>(e.push(t),e);function i(){return(0,s.N)((e,t)=>{(0,r.T)(o,[])(e).subscribe(t)})}},7618:(e,t,n)=>{"use strict";n.d(t,{$:()=>o});var r=n(6857),s=n(7007);function o(e,t){const n=(0,s.T)(e)?e:()=>e,o=e=>e.error(n());return new r.c(t?e=>t.schedule(o,0,e):o)}},7653:(e,t,n)=>{"use strict";function r(e){const t=e(e=>{Error.call(e),e.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}n.d(t,{L:()=>r})},7716:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});var r=n(6702),s=n(2464);function o(e){return(0,r.N)((t,n)=>{let r=!1,o=0;t.subscribe((0,s._)(n,t=>(r||(r=!e(t,o++)))&&n.next(t)))})}},7773:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});var r=n(9553),s=n(7007);function o(e){return(0,s.T)(null==e?void 0:e[r.l])}},7893:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var r=n(9732);function s(e){return(0,r.p)((t,n)=>e<=n)}},7895:(e,t,n)=>{"use strict";n.d(t,{s:()=>i});var r=n(6702),s=n(3878),o=n(2464);function i(e){return(0,r.N)((t,n)=>{let r=!1,i=null,u=null,c=!1;const a=()=>{if(null==u||u.unsubscribe(),u=null,r){r=!1;const e=i;i=null,n.next(e)}c&&n.complete()},l=()=>{u=null,c&&n.complete()};t.subscribe((0,o._)(n,t=>{r=!0,i=t,u||(0,s.Tg)(e(t)).subscribe(u=(0,o._)(n,a,l))},()=>{c=!0,(!r||!u||u.closed)&&n.complete()}))})}},7947:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});var r=n(7290),s=n(1897);class o extends r.B{constructor(e=1/0,t=1/0,n=s.U){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,t)}next(e){const{isStopped:t,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:s,_windowTime:o}=this;t||(n.push(e),!r&&n.push(s.now()+o)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:r}=this,s=r.slice();for(let t=0;t<s.length&&!e.closed;t+=n?1:2)e.next(s[t]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){const{_bufferSize:e,_timestampProvider:t,_buffer:n,_infiniteTimeWindow:r}=this,s=(r?1:2)*e;if(e<1/0&&s<n.length&&n.splice(0,n.length-s),!r){const e=t.now();let r=0;for(let t=1;t<n.length&&n[t]<=e;t+=2)r=t;r&&n.splice(0,r+1)}}}},7985:(e,t,n)=>{"use strict";n.d(t,{S:()=>s});var r=n(2464);function s(e,t,n,s,o){return(i,u)=>{let c=n,a=t,l=0;i.subscribe((0,r._)(u,t=>{const n=l++;a=c?e(a,t,n):(c=!0,t),s&&u.next(a)},o&&(()=>{c&&u.next(a),u.complete()})))}}},8053:(e,t,n)=>{"use strict";n.d(t,{E:()=>s});var r=n(3002);function s(...e){const t=e.length;if(0===t)throw new Error("list of properties cannot be empty.");return(0,r.T)(n=>{let r=n;for(let n=0;n<t;n++){const t=null==r?void 0:r[e[n]];if(void 0===t)return;r=t}return r})}},8170:(e,t,n)=>{"use strict";n.d(t,{L:()=>c});var r=n(6702),s=n(2464),o=n(6781),i=n(6231),u=n(3878);function c(e=1/0){let t;t=e&&"object"==typeof e?e:{count:e};const{count:n=1/0,delay:c,resetOnSuccess:a=!1}=t;return n<=0?o.D:(0,r.N)((e,t)=>{let r,o=0;const l=()=>{let d=!1;r=e.subscribe((0,s._)(t,e=>{a&&(o=0),t.next(e)},void 0,e=>{if(o++<n){const n=()=>{r?(r.unsubscribe(),r=null,l()):d=!0};if(null!=c){const r="number"==typeof c?(0,i.O)(c):(0,u.Tg)(c(e,o)),a=(0,s._)(t,()=>{a.unsubscribe(),n()},()=>{t.complete()});r.subscribe(a)}else n()}else t.error(e)})),d&&(r.unsubscribe(),r=null,l())};l()})}},8236:(e,t,n)=>{"use strict";n.d(t,{n:()=>u});var r=n(6702),s=n(151),o=n(2464),i=n(3878);function u(e){return(0,r.N)((t,n)=>{let r=null,u=null;const c=()=>{null==u||u.unsubscribe();const t=r;r=[],t&&n.next(t),(0,i.Tg)(e()).subscribe(u=(0,o._)(n,c,s.l))};c(),t.subscribe((0,o._)(n,e=>null==r?void 0:r.push(e),()=>{r&&n.next(r),n.complete()},void 0,()=>r=u=null))})}},8327:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var r=n(6702),s=n(2464),o=n(3878);function i(e,t=(e,t)=>e===t){return(0,r.N)((n,r)=>{const i={buffer:[],complete:!1},u={buffer:[],complete:!1},c=e=>{r.next(e),r.complete()},a=(e,n)=>{const o=(0,s._)(r,r=>{const{buffer:s,complete:o}=n;0===s.length?o?c(!1):e.buffer.push(r):!t(r,s.shift())&&c(!1)},()=>{e.complete=!0;const{complete:t,buffer:r}=n;t&&c(0===r.length),null==o||o.unsubscribe()});return o};n.subscribe(a(i,u)),(0,o.Tg)(e).subscribe(a(u,i))})}},8361:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});var r=n(6702),s=n(9132);function o(e,t,n=1/0){return(0,r.N)((r,o)=>{let i=t;return(0,s.h)(r,o,(t,n)=>e(i,t,n),n,e=>{i=e},!1,void 0,()=>i=null)})}},8501:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(6702),s=n(2464),o=n(1276);function i(e,t=null){return t=null!=t?t:e,(0,r.N)((n,r)=>{let i=[],u=0;n.subscribe((0,s._)(r,n=>{let s=null;u++%t===0&&i.push([]);for(const t of i)t.push(n),e<=t.length&&(s=null!=s?s:[],s.push(t));if(s)for(const e of s)(0,o.o)(i,e),r.next(e)},()=>{for(const e of i)r.next(e);r.complete()},void 0,()=>{i=null}))})}},8631:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(5260),s=n(6807),o=n(6231);function i(e,t=r.E){const n=(0,o.O)(e,t);return(0,s.o)(()=>n)}},8722:(e,t,n)=>{"use strict";n.d(t,{$:()=>c});var r=n(6857),s=n(3878),o=n(7290),i=n(6702),u=n(2464);function c(e,t,n,c){return(0,i.N)((i,a)=>{let l;t&&"function"!=typeof t?({duration:n,element:l,connector:c}=t):l=t;const d=new Map,f=e=>{d.forEach(e),e(a)},h=e=>f(t=>t.error(e));let p=0,m=!1;const b=new u.H(a,t=>{try{const i=e(t);let f=d.get(i);if(!f){d.set(i,f=c?c():new o.B);const e=function(e,t){const n=new r.c(e=>{p++;const n=t.subscribe(e);return()=>{n.unsubscribe(),0===--p&&m&&b.unsubscribe()}});return n.key=e,n}(i,f);if(a.next(e),n){const t=(0,u._)(f,()=>{f.complete(),null==t||t.unsubscribe()},void 0,void 0,()=>d.delete(i));b.add((0,s.Tg)(n(e)).subscribe(t))}}f.next(l?l(t):t)}catch(e){h(e)}},()=>f(e=>e.complete()),h,()=>d.clear(),()=>(m=!0,0===p));i.subscribe(b)})}},8812:(e,t,n)=>{"use strict";n.d(t,{H:()=>a});var r=n(3713),s=n(6702),o=n(3878),i=n(2464),u=n(151),c=n(1276);function a(e,t){return(0,s.N)((n,s)=>{const a=[];(0,o.Tg)(e).subscribe((0,i._)(s,e=>{const n=[];a.push(n);const l=new r.yU;l.add((0,o.Tg)(t(e)).subscribe((0,i._)(s,()=>{(0,c.o)(a,n),s.next(n),l.unsubscribe()},u.l)))},u.l)),n.subscribe((0,i._)(s,e=>{for(const t of a)t.push(e)},()=>{for(;a.length>0;)s.next(a.shift());s.complete()}))})}},8918:(e,t,n)=>{"use strict";n.d(t,{R0:()=>c,lI:()=>u,ms:()=>i});var r=n(7007),s=n(6486);function o(e){return e[e.length-1]}function i(e){return(0,r.T)(o(e))?e.pop():void 0}function u(e){return(0,s.m)(o(e))?e.pop():void 0}function c(e,t){return"number"==typeof o(e)?e.pop():t}},8923:(e,t,n)=>{"use strict";n.d(t,{O:()=>s});var r=n(963);function s(...e){return(0,r.y)(...e)}},8981:(e,t,n)=>{"use strict";n.d(t,{U:()=>o});var r=n(6702),s=n(2464);function o(e){return(0,r.N)((t,n)=>{let r=!1;t.subscribe((0,s._)(n,e=>{r=!0,n.next(e)},()=>{r||n.next(e),n.complete()}))})}},9013:(e,t,n)=>{"use strict";n.d(t,{s:()=>u});var r=n(6702),s=n(151),o=n(2464),i=n(3878);function u(e){return(0,r.N)((t,n)=>{let r=!1,u=null,c=null;const a=()=>{if(null==c||c.unsubscribe(),c=null,r){r=!1;const e=u;u=null,n.next(e)}};t.subscribe((0,o._)(n,t=>{null==c||c.unsubscribe(),r=!0,u=t,c=(0,o._)(n,a,s.l),(0,i.Tg)(e(t)).subscribe(c)},()=>{a(),n.complete()},void 0,()=>{u=c=null}))})}},9066:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});var r=n(9817),s=n(7007),o=n(5017);function i(e,t){const n=(0,s.T)(e)?e:()=>e;return(0,s.T)(t)?(0,o.N)(t,{connector:n}):e=>new r.G(e,n)}},9132:(e,t,n)=>{"use strict";n.d(t,{h:()=>i});var r=n(3878),s=n(3873),o=n(2464);function i(e,t,n,i,u,c,a,l){const d=[];let f=0,h=0,p=!1;const m=()=>{!p||d.length||f||t.complete()},b=e=>f<i?v(e):d.push(e),v=e=>{c&&t.next(e),f++;let l=!1;(0,r.Tg)(n(e,h++)).subscribe((0,o._)(t,e=>{null==u||u(e),c?b(e):t.next(e)},()=>{l=!0},void 0,()=>{if(l)try{for(f--;d.length&&f<i;){const e=d.shift();a?(0,s.N)(t,a,()=>v(e)):v(e)}m()}catch(e){t.error(e)}}))};return e.subscribe((0,o._)(t,b,()=>{p=!0,m()})),()=>{null==l||l()}}},9158:(e,t,n)=>{"use strict";n.d(t,{B:()=>r});const r=n(931).C},9178:(e,t,n)=>{"use strict";n.d(t,{y:()=>s});var r=n(7007);function s(e){return(0,r.T)(null==e?void 0:e.then)}},9187:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});var r=n(2590),s=n(7007);function o(e,t){return(0,s.T)(t)?(0,r.n)(()=>e,t):(0,r.n)(()=>e)}},9237:(e,t,n)=>{"use strict";n.d(t,{O:()=>i});var r=n(1227),s=n(6702),o=n(2464);function i(){return(0,s.N)((e,t)=>{e.subscribe((0,o._)(t,e=>{t.next(r.Eg.createNext(e))},()=>{t.next(r.Eg.createComplete()),t.complete()},e=>{t.next(r.Eg.createError(e)),t.complete()}))})}},9257:(e,t,n)=>{"use strict";n.d(t,{X:()=>r});const r=e=>e&&"number"==typeof e.length&&"function"!=typeof e},9388:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var r=n(6702),s=n(7985);function o(e,t){return(0,r.N)((0,s.S)(e,t,arguments.length>=2,!0))}},9442:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o,l:()=>i});var r=n(3834);let s=null;function o(e){if(r.$.useDeprecatedSynchronousErrorHandling){const t=!s;if(t&&(s={errorThrown:!1,error:null}),e(),t){const{errorThrown:e,error:t}=s;if(s=null,e)throw t}}else e()}function i(e){r.$.useDeprecatedSynchronousErrorHandling&&s&&(s.errorThrown=!0,s.error=e)}},9500:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(1227),s=n(6702),o=n(2464);function i(){return(0,s.N)((e,t)=>{e.subscribe((0,o._)(t,e=>(0,r.gV)(e,t)))})}},9532:(e,t,n)=>{"use strict";n.d(t,{H:()=>i});var r=n(7947),s=n(9066),o=n(7007);function i(e,t,n,i){n&&!(0,o.T)(n)&&(i=n);const u=(0,o.T)(n)?n:void 0;return n=>(0,s.f)(new r.m(e,t,i),u)(n)}},9553:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});const r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},9576:(e,t,n)=>{var r;self,r=()=>(()=>{"use strict";var e={842:()=>{!function(e){function t(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}"function"!=typeof e.CustomEvent&&(t.prototype=e.Event.prototype,e.CustomEvent=t)}(window)}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};function o(e){return(e.charAt(0)+e.slice(1).replace(/([A-Z])/g,"-$&")).toLowerCase()}r.r(s),r.d(s,{createSetupElement:()=>f,generateCustomElementWrapper:()=>d,makeGenericEffectsDriver:()=>p});var i=1e3;const u=n(1950),c=n(755);function a(e,t,n,r,s){var o=t.replace(/-([a-z])/gi,function(e,t){return t.toUpperCase()});e[o]=r.map(function(e){var t=e.get(o),r=n;return t&&t.reflectAs&&n&&(r=t.reflectAs(n)),t&&t.reflectAs===Boolean&&(r=""===n),s&&(s[o]=r),r}).withDefault(n)}const l=n(7037);function d(e,t){var n,r,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{useShadowDOM:!0},l=s.useShadowDOM?c.Maybe.just(function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=!!window.HTMLTemplateElement;return t=r?function(e){var t=document.createElement("template");return t.innerHTML="<style>".concat(e,'</style><div class="root"></div>'),t.content}(n):function(e){var t=document.createDocumentFragment(),n=document.createElement("style");n.appendChild(document.createTextNode(e));var r=document.createElement("div");return r.className="root",t.appendChild(n),t.appendChild(r),t}(n),function(e){if(e.shadowRoot)return e.shadowRoot.querySelector("div");e.attachShadow?e.attachShadow({mode:"open"}):Object.assign(e,{shadowRoot:e});var s=document.importNode(t,!0);r||(s.querySelector("style").sheet.cssText=n);var o=e.shadowRoot;return o.appendChild(s),o.querySelector("div")}}(e,s.css)):c.Maybe.nothing(),d=Array.isArray(s.props)?c.Maybe.just((n=s.props,{fnHashByName:r=n.reduce(function(e,t){return e.set(t.name,t),e},new Map),hooks:{init:function(e){e.__innerProps$=new u.BehaviorSubject({})},connectedCallback:function(e){var t,n,s,o,i,u=e.__innerProps$.getValue(),l=Object.assign({},u);e.constructor.observedAttributes.forEach(function(t){null!==e.getAttribute(t)&&a(e,t,e.getAttribute(t),c.Maybe.just(r),l)}),t=u,n=l,s=!0,o=Object.keys(t),i=Object.keys(n),o.length===i.length&&(o.forEach(function(e){n.hasOwnProperty(e)&&t[e]===n[e]||(s=!1)}),s)||e.__innerProps$.next(l)},classSetup:function(e){Object.assign(e,{observedAttributes:n.filter(function(e){return e.reflectAs}).map(function(e){return e.name}).map(o)}),n.forEach(function(t){Object.defineProperty(e.prototype,t.name,{get:function(){return this.__innerProps$.getValue()[t.name]},set:function(n){if(this.__innerProps$.getValue()[t.name]!==n){var r=o(t.name),s=e.observedAttributes.includes(r);s&&(!0===n?this.setAttribute(r,""):n||0===n||""===n?this.setAttribute(r,String(n)):this.removeAttribute(r)),!this.__attached&&s&&!1!==n||(this.__innerProps$.getValue()[t.name]=n,this.__innerProps$.next(this.__innerProps$.getValue()))}}})})}}})):c.Maybe.nothing(),f=function(){var e=Reflect.construct(HTMLElement,[],f);return s.prototypeExtensions&&Object.keys(s.prototypeExtensions).forEach(function(t){e[t]||(e[t]=s.prototypeExtensions[t])}),e.__onTeardown=[],e.__onAttached=[],e.__guid=i++,d.map(function(t){return(0,t.hooks.init)(e)}),l.map(function(t){return t(e)}).map(function(n){var r=c.Maybe.maybe(e.__innerProps$).map(function(n){return t(e,n)}).withDefaultFn(function(){return t(e)});h(e,n,r),e.__shadowAppBooted=!0}),e};return function(e){try{Object.defineProperty(e,"is",{value:name,writable:!1}),Object.defineProperty(e,"localName",{value:name,writable:!1})}catch(e){}}(f),f.prototype=Object.create(HTMLElement.prototype,{component:{writable:!0,enumerable:!0},constructor:{value:f},connectedCallback:{writable:!0,value:function(){var e=this;this.dataset.guid="".concat(this.__guid),s.useShadowDOM&&this.__shadowAppBooted||(l.map(function(t){return t(e)}).alt(c.Maybe.just(this)).map(function(n){var r=c.Maybe.maybe(e.__innerProps$).map(function(n){return t(e,n)}).withDefaultFn(function(){return t(e)});h(e,n,r)}),this.__shadowAppBooted=!0),d.map(function(t){(0,t.hooks.connectedCallback)(e)}),this.__attached=!0,this.__onAttached.forEach(function(t){return t.call(e)})}},disconnectedCallback:{writable:!0,value:function(){var e=this;this.__onTeardown.reverse().forEach(function(t){return t.call(e)}),this.__innerProps$&&(this.__innerProps$.complete(),this.__innerProps$=void 0),this.__onTeardown=[],this.__onAttached=[],this.__attached=!1,this.__shadowAppBooted=!1}},attributeChangedCallback:{writable:!0,value:function(e,t,n){t!==n&&this.__attached&&a(this,e,n,d.map(function(e){return e.fnHashByName}))}}}),d.map(function(e){return(0,e.hooks.classSetup)(f)}),f}function f(e){return function(t){return function(n){var r=function(){window.customElements.get(n)||window.customElements.define(n,e(n,t))};window.customElements?r():(0,u.interval)(5).pipe((0,l.filter)(function(){return!!window.customElements}),(0,l.take)(1)).toPromise().then(function(){r()})}}}function h(e,t,n){var r=document.createElement("div");t.appendChild(r);var s=n.DOM$.subscribe(function(e){t.firstChild&&t.isConnected&&t.replaceChild(e,t.firstChild)}),o=n.settled$.subscribe(function(t){e.settled=t,t&&e.dispatchEvent(new CustomEvent("settled"))}),i=n.teardown$.subscribe(function(t){e.__onTeardown.push(t)});e.__onTeardown.push(function(){n.DOM$.complete(),n.settled$.complete(),n.teardown$.complete(),[s,o,i].forEach(function(e){return e.unsubscribe()})})}function p(e){return function(t){t.subscribe({next:function(t){t(e)},error:function(){},complete:function(){}})}}return r(842),s})(),e.exports=r()},9732:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});var r=n(6702),s=n(2464);function o(e,t){return(0,r.N)((n,r)=>{let o=0;n.subscribe((0,s._)(r,n=>e.call(t,n,o++)&&r.next(n)))})}},9771:(e,t,n)=>{"use strict";n.d(t,{q:()=>s});var r=n(5159);class s extends r._{constructor(e,t=r._.now){super(e,t),this.actions=[],this._active=!1}flush(e){const{actions:t}=this;if(this._active)return void t.push(e);let n;this._active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}},9774:(e,t,n)=>{"use strict";n.d(t,{s:()=>r});const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},9817:(e,t,n)=>{"use strict";n.d(t,{G:()=>c});var r=n(6857),s=n(3713),o=n(6850),i=n(2464),u=n(6702);class c extends r.c{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,(0,u.S)(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:e}=this;this._subject=this._connection=null,null==e||e.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new s.yU;const t=this.getSubject();e.add(this.source.subscribe((0,i._)(t,void 0,()=>{this._teardown(),t.complete()},e=>{this._teardown(),t.error(e)},()=>this._teardown()))),e.closed&&(this._connection=null,e=s.yU.EMPTY)}return e}refCount(){return(0,o.B)()(this)}}},9878:(e,t,n)=>{"use strict";n.d(t,{x:()=>u});var r=n(6702),s=n(6643),o=n(8918),i=n(7348);function u(...e){const t=(0,o.lI)(e);return(0,r.N)((n,r)=>{(0,s.K)()((0,i.H)([n,...e],t)).subscribe(r)})}}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{"use strict";function e(t,n){Object.keys(n).forEach(r=>{if(!Array.isArray(n[r])&&!Array.isArray(t[r])&&t.hasOwnProperty(r)&&"object"==typeof n[r])return e(t[r],n[r]);t[r]=n[r]})}n.r(r),n.d(r,{init:()=>ie});var t=n(2774),s=n(5011),o=n(9732),i=n(3002),u=n(755);function c(e,t,n,r,s=null,o="success"){const i=window.isTestingTecton?window:e;null==i||i.postMessage({tectonic:!0,value:r.withDefault(""),status:o,type:t,protocol:n,guid:s},"*")}function a(e,t){c(window.parent,e,"MESSAGE",t)}function l(e,t){c(window,e,"BROADCAST",t),window.isTestingTecton||Array.prototype.slice.call(document.querySelectorAll("tecton-platform-outlet, tecton-outlet, tecton-tab-pane")).forEach(n=>{const r=n.shadowRoot&&n.shadowRoot.querySelector("iframe");if(null==r?void 0:r.contentWindow)switch(e){case"platformScrollChanged":case"platformSizeChanged":let{value:s}=Object.assign({},t);s=Object.assign(JSON.parse(s),{outletOffset:n.getBoundingClientRect().top}),c(r.contentWindow,e,"BROADCAST",new u.Maybe(JSON.stringify(s)));break;default:c(r.contentWindow,e,"BROADCAST",t)}})}class d{constructor(){this.messageNum=0,this.firehose$=(0,t.R)(window,"message").pipe((0,o.p)(e=>e.data.tectonic))}onMessage(e,t="MESSAGE",n=null){return function(e,t,n,r=null){return t.pipe((0,o.p)(t=>t.data.type===e&&(!r||t.data.guid===r)&&t.data.protocol===n),(0,i.T)(t=>{const n=t.data.value&&JSON.parse(t.data.value),r=t.source||(window.parent.location.origin===t.origin?window.parent:window.location.origin===t.origin?window:null);return"success"===t.data.status?{status:"success",value:n,sender:r,type:e,guid:t.data.guid}:{status:"error",message:n.message,sender:r,type:e,guid:t.data.guid}}))}(e,this.firehose$,t,n).pipe((0,i.T)(f))}sendRequest(e,t,n){const r=this.getNextMessageNumber();c(window.isTectonPlatform?window:window.parent,e,"REQUEST",t,r,"success");const o=[];return o.push((0,s._)(this.onMessage(e,"RESPONSE",r))),n&&n.timeout&&o.push(new Promise((s,o)=>{setTimeout(()=>{o({status:"error",message:`The request ${t} has timed out`,sender:window,type:e,guid:r})},n.timeout)})),Promise.race(o)}sendResponse(e,t){return this.onMessage(e,"REQUEST").subscribe(e=>Promise.resolve().then(()=>{if("success"===e.status)return t(e.value,e.sender);throw Error("Don't send Error Message as Request!")}).then(t=>{if(null!==t)return h(e.sender,e.type,t,e.guid,"success")}).catch(t=>h(e.sender,e.type,{message:t.message},e.guid,"error")))}getNextMessageNumber(){const e=this.messageNum+1;return this.messageNum=e,e}}function f(e){if("success"===e.status)return e;throw e}function h(e,t,n,r=null,s){c(e,t,"RESPONSE",u.Maybe.maybe(n).map(JSON.stringify),r,s)}class p extends d{constructor(e,t){super(),this.domains=new Set,this.configSubscription=e.subscribe(this.getConfigDomains.bind(this)),this.firehose$=this.firehose$.pipe((0,o.p)(e=>t||this.domains.has(e.origin)))}teardown(){this.configSubscription.unsubscribe()}getConfigDomains(e){let t=Array(window.location.origin.toString());const n=Object.keys(e.features).map(n=>{const r=e.features[n].additionalDomains;return r&&r.length>0&&(t=t.concat(r)),Object.keys(e.features[n].modules).map(t=>{const r=e.features[n].modules[t].url;try{return new URL(r,window.location.href).origin}catch(e){return""}})}),r=t.concat(...n);this.domains=function(e){return new Set(e.filter(e=>""!==e))}(r)}}var m=n(5524);function b(e,t={}){return Object.keys(t).filter(t=>{const n=t.lastIndexOf(".");return t.slice(0,n).startsWith(e)}).reduce((e,n)=>{const r=n.lastIndexOf(".");return e[n.substring(r+1)]=t[n],e},Object.create({}))}function v(e,t,n=[]){for(const[r,s]of Object.entries(t)){const t=[...n,r];if(r===e)return t.reverse();if("object"==typeof s&&Object.keys(s).length>0){const n=v(e,s,t);if(n.length>0)return n}}return[]}function g(e,t){if(!e||"string"!=typeof e)return[];const[n,r]=e.split("::");if(!n||!r)return[];const s=t[n];return s?v(r,s).map(e=>`${n}::${e}`):[]}function y(e,t,n,r,s,o,i,c,a,l,d,f={}){return function(e,t,n){return u.Maybe.sequence([e,t]).map(()=>{const e=n.withDefault("");return""!==e?Promise.resolve(u.Maybe.just(e)):Promise.resolve(u.Maybe.nothing())}).withDefaultFn(()=>Promise.resolve(u.Maybe.nothing()))}(r,s,i).then(async t=>{const n=await function(e,t){return Promise.all(t.map(async t=>{const n=await e(t.featureName),r=n.modules[t.moduleName],s=n.additionalDomains,o=n.allowDirectives;return Object.assign(Object.assign(Object.assign({},t),r),{additionalDomains:s,allowDirectives:o})}))}(e.dynamicConfigFetch,o),r=t.map(e=>g(e,f)).bind(e=>w(n,e,c)),s=u.Maybe.maybe(n[0]);return t.map(()=>r).altMap(()=>u.Maybe.just(s)).bind(e=>e)}).then(async e=>e.map(e=>{var r,s,o,i;const u=`${n}.${e.featureName}.${e.moduleName}`,c=(null===(s=null===(r=a.features[l])||void 0===r?void 0:r.modules[d])||void 0===s?void 0:s.requiredUserCapabilities)||[],f=(null===(i=null===(o=a.features[e.featureName])||void 0===o?void 0:o.modules[e.moduleName])||void 0===i?void 0:i.requiredUserCapabilities)||[],h=[...new Set([...c,...f])];return{moduleId:u,initialParams:b(u,t.getValue().currentParams),featureName:e.featureName,url:e.url,minHeight:e.meta.type.minHeight||"",tabLabelOverride:e.tabLabelOverride,formPostAuth:!!e.formPostAuth,loadingOptions:e.loadingOptions,additionalDomains:e.additionalDomains,allowDirectives:e.allowDirectives,requiredUserCapabilities:h,rightsEnabled:e.rightsEnabled}}))}function w(e,t,n){return u.Maybe.maybe(e.find(e=>{const r=n.map(t=>{var n;return null===(n=e.additionalContextRequirements)||void 0===n?void 0:n.includes(t)}).withDefault(!0);return e.meta.type.context===t[0]&&r})).altMap(()=>0===t.length&&u.Maybe.nothing()||w(e,t.slice(1),n))}async function x(e,t){const n=e.length%3==1?"outlet":"module",r=e[0],s=e.length<5;let o,i,u,c,a;if("tectonOverpanel"===r)o=N({path:e.slice(2),outletModuloVal:2}),i=(await t(e[1])).configuredOverpanels[e[2]];else{const r="outlet"===n?e.slice(-3,-2)[0]:e.slice(-2,-1)[0],s="outlet"===n?e.slice(-2,-1)[0]:e.slice(-1)[0],u="outlet"===n?-1:3;o=N({path:e.slice(u),outletModuloVal:0}),i=await t(r,s)}return"outlet"===n?(s?(u=i.featureName,c=i.moduleName):(u=e[e.length-3],c=e[e.length-2]),a=e[e.length-1],o=o.slice(0,-2),{pathType:n,featureName:u,moduleName:c,outletName:a,configPath:o,pathOrigin:r,treeFromRoot:i}):(s?(u=i.featureName,c=i.moduleName):(u=e[e.length-2],c=e[e.length-1]),{pathType:n,featureName:u,moduleName:c,configPath:o,pathOrigin:r,treeFromRoot:i})}function N({path:e,outletModuloVal:t}){const n=t+2;return e.reduce((e,r,s)=>{if(s%3===t)return e.concat(["configuredOutlets",r]);if(s%3===n&&2!==s){const t=e[e.length-1];return e[e.length-1]=`${t}-${r}`,e}return e.concat(r)},[])}function T(e,t){return e.reduce((e,t)=>{if(Array.isArray(e)){const[n,r]=t.split("-");return e[0].hasOwnProperty("tabLabel")||e[0].hasOwnProperty("menuItemLabel")?function(e,t){let n=-1;const r=e.find(e=>(n=e.modules.findIndex(t),-1!==n));if(r)return r.modules[n]}(e,_(n,r)):e.find(_(n,r))}return e[t]},t)}function _(e,t){return n=>n.featureName===e&&n.moduleName===t}function C(e,t,n){const r=e.getValue();return u.Maybe.maybe(r.features[t]).map(e=>{const r=Object.keys(e.modules).find(t=>e.modules[t].primary),s=e.modules[n]||e.modules[r],o=`${t}.${s.meta.moduleName}`;return{navigable:!!s.navigable,legacy:!!e.legacy,key:e.legacy?e.legacyRouteName:o}})}function E(e,t,n,r,s){!function(e,t,n,r){if(t.actionRequired&&t.removeActionRequired){n.add("actionRequired");const s=e.onMessage("actionRequired").subscribe(e=>{t.actionRequired(e.value.uuid,e.value.title,e.value.message)});r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){if(t.authorizeTransactionWithMfa){n.add("authorizeTransactionWithMfa");const s=e.sendResponse("authorizeTransactionWithMfa",async e=>t.authorizeTransactionWithMfa(e));r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){if(t.clearCacheByPrefix){n.add("clearCache"),n.add("cacheCleared");const s=e.sendResponse("clearCache",function(e){return e.routePrefixes.forEach(function(e){t.clearCacheByPrefix(e),l("cacheCleared",u.Maybe.just(JSON.stringify({cleared:e})))}),Promise.resolve()});r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){if(t.clearParams){n.add("clearParams");const s=e.onMessage("clearParams").subscribe(e=>{t.clearParams(e.value.moduleId)});r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){if(t.closeOverpanel){n.add("closeOverpanel");const s=e.onMessage("closeOverpanel").pipe((0,i.T)(e=>e.value)).subscribe(t.closeOverpanel);r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){if(t.keepAlive){n.add("keepAlive");const s=e.onMessage("keepAlive").subscribe(t.keepAlive);r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){if(t.showLoadingModal){n.add("showLoadingModal");const s=e.onMessage("showLoadingModal").subscribe(e=>{t.showLoadingModal(e.value.title)});r.push(()=>s.unsubscribe())}if(t.clearLoadingModal){n.add("clearLoadingModal");const s=e.onMessage("clearLoadingModal").subscribe(()=>{t.clearLoadingModal()});r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r,s){if(n.logToServer){r.add("logToServer");const t=e.onMessage("logToServer").subscribe(async e=>{const t=await x(e.value.moduleId.split("."),n.dynamicConfigFetch).then(e=>e.featureName);n.logToServer(t,e.value.message,e.value.level||"info")});s.push(()=>t.unsubscribe())}}(e,0,n,r,s),function(e,t,n,r){if(t.manageChanges){n.add("manageChanges");const s=e.sendResponse("manageChanges",e=>t.manageChanges(e.changeData));r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r,s){if(n.navigateTo){r.add("navigateTo");const o=e.onMessage("navigateTo").subscribe(async e=>{const{moduleName:r,urlParams:s,queryParams:o,moduleId:i}=e.value;let{featureName:u}=e.value;!u&&i&&(u=await x(i.split("."),n.dynamicConfigFetch).then(e=>e.featureName));const c=C(t,u,r);c.map(e=>{if(e.navigable)if(e.legacy)n.navigateTo(!0,e.key,s,o);else{const r=t.getValue().features[u],s=`tectonRoute.${e.key}`;o&&n.updateParams&&n.updateParams(s,o,r.modules[e.key.split(".")[1]].meta.params),n.navigateTo(!1,e.key)}}),c.hasNothing&&n.navigateTo(!0,u,s,o)});s.push(()=>o.unsubscribe())}}(e,t,n,r,s),function(e,t,n,r){if(t.openURL){n.add("openURL");const s=e.onMessage("openURL").subscribe(e=>{const{url:n,options:r}=e.value;t.openURL(n,r)});r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t){const n=e.onMessage("printWindow").subscribe(()=>{var e;!0===(null===(e=window.Tecton)||void 0===e?void 0:e.inMobileApp)?console.info("printWindow does not support e-banking mobile app environment."):(document.body.focus(),window.print())});t.push(()=>n.unsubscribe())}(e,s),function(e,t,n,r){if(t.refetchAccountsNotification&&t.clearCacheByPrefix&&t.clearTransferCache){n.add("refetchAccountsNotification");const s=e.onMessage("refetchAccountsNotification").subscribe(()=>{t.clearCacheByPrefix("mobilews/account"),t.clearTransferCache(),t.refetchAccountsNotification()});r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){if(t.actionRequired&&t.removeActionRequired){n.add("removeActionRequired");const s=e.onMessage("removeActionRequired").subscribe(e=>{t.removeActionRequired(e.value.uuid)});r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r){n.add("scrollTo");const s=e.onMessage("scrollTo").subscribe(e=>{var n,r;const s=(null===(r=null===(n=null==t?void 0:t.getSurroundingOffsets)||void 0===n?void 0:n.call(t))||void 0===r?void 0:r.top)||0,o=e.value;o.behavior=o.behavior||"smooth",!0===o.initialize?l("platformScrollChanged",u.Maybe.just(JSON.stringify({scrollY:0,innerHeight:window.innerHeight,innerWidth:window.innerWidth,outletOffset:s,top:s}))):window.scrollTo(o)});r.push(()=>s.unsubscribe())}(e,n,r,s),function(e,t,n){t.add("scrollToTop");const r=e.onMessage("scrollToTop").subscribe(()=>{window.scrollTo(0,0)});n.push(()=>r.unsubscribe())}(e,r,s),function(e,t,n,r){if(t.sendAlert||t.showAlert){n.add("sendAlert"),n.add("sendAlertWithResponse");const s=e.sendResponse("sendAlert",e=>(t.sendAlert||t.showAlert)(e).then(e=>({actionName:e}))),o=e.onMessage("sendAlert").subscribe(e=>{(t.sendAlert||t.showAlert)(e.value)});r.push(()=>{s.unsubscribe(),o.unsubscribe()})}}(e,n,r,s),function(e,t,n,r,s){if(n.updateParams){r.add("setParams");const t=e.onMessage("setParams").subscribe(async e=>{const{moduleId:t,params:r}=e.value,s=await x(t.split("."),n.dynamicConfigFetch),o=await n.dynamicConfigFetch(s.featureName).then(e=>e.modules[s.moduleName].meta.params);n.updateParams(t,r,o)});s.push(()=>t.unsubscribe())}}(e,0,n,r,s),function(e,t,n,r,s){if(t.setOverpanelTitle||t.setPageTitle){t.setOverpanelTitle&&r.add("setOverpanelTitle"),t.setPageTitle&&r.add("setPageTitle");const n=e.onMessage("setTitle").subscribe(async e=>{"tectonOverpanel"===await x(e.value.moduleId.split("."),t.dynamicConfigFetch).then(e=>e.pathOrigin)&&t.setOverpanelTitle?t.setOverpanelTitle(e.value.title):t.setPageTitle&&t.setPageTitle(e.value.title)});s.push(()=>n.unsubscribe())}}(e,n,0,r,s),function(e,t,n,r){const s=t.getCurrentLanguage(),o=new m.t(s);let i=!0;t.languageChanged&&(n.add("languageChanged"),t.languageChanged(e=>{i&&o.next(e)}));const c=o.subscribe((e="en-US")=>{l("streamLanguage",u.Maybe.just(JSON.stringify({langKey:e})))}),a=e.sendResponse("getCurrentLanguage",()=>Promise.resolve({langKey:o.getValue()}));r.push(()=>{i=!1,[c,a].forEach(e=>e.unsubscribe()),o.complete()})}(e,n,r,s),function(e,t,n,r,s){if(n.showActionSheet){r.add("showActionSheet");const t=e.sendResponse("showActionSheet",e=>n.showActionSheet(e).then(e=>e));s.push(()=>t.unsubscribe())}}(e,0,n,r,s),function(e,t,n,r){if(t.showModal){n.add("sendModal");const s=e.sendResponse("sendModal",e=>t.showModal(e).then(e=>({actionName:e})));r.push(()=>s.unsubscribe())}}(e,n,r,s),function(e,t,n,r,s){if(n.showOverpanel){r.add("showOverpanel");const o=e.sendResponse("showOverpanel",async e=>{var r,s,o,i,u,c,a,l,d;try{let f,h,p,m=[];if(n.getPlatformOverpanels&&(m=await n.getPlatformOverpanels()),e.useRouteConfig){const[t,r]=e.overpanelPath.split(".");h=await n.dynamicConfigFetch(t,r),p=e.overpanelPath,f=await n.dynamicConfigFetch(h.featureName)}else if(m.includes(e.overpanelPath))h={moduleName:e.overpanelPath},p=e.overpanelPath,f={legacyOverpanelName:e.overpanelPath,legacy:!0};else{const r=(d=t.value,Object.entries(d.features).reduce((e,[t,n])=>{const r=n.configuredOverpanels;return r&&Object.entries(r).filter(([e,t])=>!0===t.public).forEach(([n,r])=>{r.featureName||(r.featureName=t),e[n]=r}),e},{}))[e.overpanelPath];let s;r?(h=r,p=`${r.featureName}.${e.overpanelPath}`,f=await n.dynamicConfigFetch(r.featureName)):(s=await x(e.moduleId.split("."),n.dynamicConfigFetch),h=await n.dynamicConfigFetch(s.featureName).then(t=>{var n;const r=null===(n=t.configuredOverpanels)||void 0===n?void 0:n[e.overpanelPath];if(!r)throw new Error(`Overpanel ${e.overpanelPath} not found.`);return r}),p=`${s.featureName}.${e.overpanelPath}`,f=await n.dynamicConfigFetch(h.featureName))}if(f.legacy&&!f.legacyOverpanelName)throw new Error("Tried to call a legacy overpanel, but config is missing a legacyOverpanelName");if(e.params&&n.updateParams&&!f.legacy){const t=null===(o=null===(s=null===(r=f.modules)||void 0===r?void 0:r[h.moduleName])||void 0===s?void 0:s.meta)||void 0===o?void 0:o.params;t&&(function(e,t){if(null==e||"{}"===JSON.stringify(e))return!0;if(void 0===t)throw new Error(`params for action are not configured, yet ${JSON.stringify(e)} was passed to action`);const n=[];if(Object.keys(e).forEach(e=>{t[e]||n.push(e)}),n.length>0)throw new Error(`The following parameter(s) passed to action is/are not configured for the action: [${n.join(", ")}]`)}(e.params,t),n.updateParams(`tectonOverpanel.${p}`,e.params,t))}const b=f.legacy?e.params?JSON.stringify(e.params):"":p,v=f.legacy?f.legacyOverpanelName:void 0,g="options"in h&&h.options||{},y=(null===(i=e.options)||void 0===i?void 0:i.size)||g.size,w=(null===(u=e.options)||void 0===u?void 0:u.height)||g.height,N=(null===(c=e.options)||void 0===c?void 0:c.fullWidth)||g.fullWidth,T=(null===(a=e.options)||void 0===a?void 0:a.isBlocking)||g.isBlocking,[,,_]=e.moduleId.split("."),C=(null===(l=e.options)||void 0===l?void 0:l.testId)||g.testId||_;return n.showOverpanel(b,!!N,v,y,w,C,!!T)}catch(e){return Promise.reject(e)}});s.push(()=>o.unsubscribe())}}(e,t,n,r,s),function(e,t,n,r){if(t.verifyMFA){n.add("verifyMFA");const s=e.sendResponse("verifyMFA",async e=>t.verifyMFA(e));r.push(()=>s.unsubscribe())}}(e,n,r,s)}const P=e=>Array.isArray(e)?e.length>0:Boolean(e),S={scrollY:0,innerHeight:0,innerWidth:0};function O(e,t){var n,r,s,o,i,u,c,a;if(!t)return console.warn("No platform root found. Returning zeroed dimensions."),S;const l=t instanceof HTMLElement;return l&&!t.isConnected?(console.warn("Platform root is no longer connected to the DOM. Returning zeroed dimensions."),S):Object.assign({scrollY:null!==(n=l?t.scrollTop:t.scrollY)&&void 0!==n?n:0,innerHeight:null!==(r=l?t.offsetHeight:t.innerHeight)&&void 0!==r?r:0,innerWidth:null!==(s=l?t.offsetWidth:t.innerWidth)&&void 0!==s?s:0,orientationType:null!==(i=null===(o=null===screen||void 0===screen?void 0:screen.orientation)||void 0===o?void 0:o.type)&&void 0!==i?i:"landscape-primary",orientationAngle:null!==(c=null===(u=null===screen||void 0===screen?void 0:screen.orientation)||void 0===u?void 0:u.angle)&&void 0!==c?c:0},null===(a=null==e?void 0:e.getSurroundingOffsets)||void 0===a?void 0:a.call(e))}function A(e,t){const n=function(e){return!!e.dataType}(t)?function(e,t,n,r={}){const[s,o="default"]=t.split("::");if(!s)throw new Error(`Invalid dataType format: '${t}'. Expected 'category::type'.`);const i=e.getRequestURLMap?e.getRequestURLMap():{};if(!i[s])throw new Error(`No URL map found for category '${s}'.`);const u=i[s][o]||i[s].default;if(!u)throw new Error(`No URL resolver found for category '${s}' and type '${o}'.`);return("string"==typeof u?Promise.resolve(u):u).then(e=>`${e}${n.map(e=>`/${e}`).withDefault("")}${function(e){const t=Object.keys(e).map(t=>`${t}=${e[t]}`).join("&");return t&&"?".concat(t)||""}(r)}`)}(e,t.dataType,u.Maybe.maybe(t.dataId),t.params):Promise.resolve(t.route);return n.then(n=>t.body&&t.isFormData?e.sendFormDataRequest(n,t.method,function(e){if("object"!=typeof e||null===e)throw new Error("Invalid parameter. Expected JSON.");return Object.keys(e).reduce((t,n)=>(t.append(n,e[n]),t),new FormData)}(JSON.parse(t.body))):(e.sendRequest||e.requestPlatformData)(n,t.method,t.body))}const M="q2.tectonCache";function I(e,t){return`${e}.${t}`}var R;!function(e){e.PlatformCssPropertiesChanged="platformCssPropertiesChanged",e.CallMethod="callMethod"}(R||(R={}));const j=R;var $;!function(e){e.streamCssProperties="streamCssProperties",e.streamPlatformDimensions="platformSizeChanged"}($||($={}));const k=$;var L=n(7893);function q(e,t,n,r,s,o){!function(e,t,n){t.refetchRequired&&(n.add("cacheCleared"),t.refetchRequired(e=>{l("cacheCleared",u.Maybe.just(JSON.stringify({cleared:e})))}))}(0,t,s),function(e,t,n,r){if(t.getCapabilities){n.add("canUser");const s=e.sendResponse("canUser",({capabilities:e})=>Promise.resolve({allowed:Object.values(t.getCapabilities(...e)).every(P)}));r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n,r,s){if(n.getFeatureConfig){r.add("getFeatureConfig");const t=e.sendResponse("getFeatureConfig",async({moduleId:e})=>{const t=await x(e.split("."),n.dynamicConfigFetch),r=await n.dynamicConfigFetch(t.featureName).then(e=>e.configuredSystemVariables||[]);return r.length?n.getFeatureConfig(r).then(e=>({config:e})):Promise.resolve({config:{}})});s.push(()=>t.unsubscribe())}}(e,0,t,s,o),function(e,t,n,r){if(t.getPendoInfo){n.add("getPendoInfo");const s=e.sendResponse("getPendoInfo",()=>Promise.resolve(t.getPendoInfo()));r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n,r){if(t.getPlatformInfo){n.add("platformInfo");const s=e.sendResponse("platformInfo",e=>t.getPlatformInfo(e));r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n,r){n.add("getPlatformDimensions");const s=e.sendResponse("getPlatformDimensions",e=>{var n,r,s,o,i;let c;const a=null==e?void 0:e.selector;if(a){const e=document.querySelector(a);e?c=e.getBoundingClientRect():(console.warn(`No platform element found matching the selector "${a}". Returning zeroed dimensions.`),c={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0,orientationType:null!==(r=null===(n=null===screen||void 0===screen?void 0:screen.orientation)||void 0===n?void 0:n.type)&&void 0!==r?r:"landscape-primary",orientationAngle:null!==(o=null===(s=null===screen||void 0===screen?void 0:screen.orientation)||void 0===s?void 0:s.angle)&&void 0!==o?o:0})}else{const e=null===(i=t.getPlatformRootSelector)||void 0===i?void 0:i.call(t),n=e?document.querySelector(e):window;c=O(t,n)}return l("platformScrollChanged",u.Maybe.just(JSON.stringify(c))),Promise.resolve(c)});r.push(()=>s.unsubscribe())}(e,t,s,o),function(e,t,n,r){if(t.getVersionInfo){n.add("getPlatformInfo");const s=e.sendResponse("getPlatformInfo",()=>{const e=t.getVersionInfo();return Promise.resolve(Object.assign(Object.assign({},e),{TECTON_PLATFORM_VERSION:"1.63.1"}))});r.push(()=>{s.unsubscribe()})}}(e,t,s,o),function(e,t,n,r){if(t.getAuthToken){n.add("authToken");const s=e.sendResponse("authToken",()=>t.getAuthToken());r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n,r){if(t.getGlobalScripts){n.add("getGlobalScripts");const s=e.sendResponse("getGlobalScripts",()=>t.getGlobalScripts());r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n,r,s){if(n.isUUXPath&&n.navigateTo){r.add("isNavigable");const o=e.sendResponse("isNavigable",({featureName:e,moduleName:r})=>{const s=C(t,e,r).map(e=>e.navigable).withDefaultFn(()=>n.isUUXPath(e));return Promise.resolve({navigable:s})});s.push(()=>o.unsubscribe())}}(e,r,t,s,o),function(e,t,n,r){var s;function o(){l("platformScrollChanged",u.Maybe.just(JSON.stringify(O(t,h))))}function i(){l("platformSizeChanged",u.Maybe.just(JSON.stringify(O(t,h))))}let c;n.add("platformScrollChanged");const a=()=>{if(c=e.sendResponse("getPlatformScroll",()=>Promise.resolve(O(t,h))),null==h||h.addEventListener("scroll",o),h instanceof HTMLElement){const e=new ResizeObserver(i);e.observe(h),r.push(()=>null==e?void 0:e.disconnect())}else null==h||h.addEventListener("resize",i)},d=null===(s=t.getPlatformRootSelector)||void 0===s?void 0:s.call(t);let f,h=d?document.querySelector(d):window;h?a():d&&(f=new MutationObserver(()=>{h=document.querySelector(d),h&&(a(),null==f||f.disconnect())}),f.observe(document.body,{childList:!0,subtree:!0})),r.push(()=>{null==f||f.disconnect(),null==c||c.unsubscribe(),null==h||h.removeEventListener("scroll",o),null==h||h.removeEventListener("resize",i)})}(e,t,s,o),function(e,t,n,r){if(t.promptForMFA){n.add("promptForMFA");const s=e.sendResponse("promptForMFA",async e=>{const n=await x(e.moduleId.split("."),t.dynamicConfigFetch).then(e=>e.featureName);return t.promptForMFA(n,e)});r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n){t.refetchRequired&&(n.add("refetchRequired"),t.refetchRequired(e=>{l(`refetchRequired::${e}`,u.Maybe.nothing())}))}(0,t,s),function(e,t,n,r,s){if("function"!=typeof n.requestExtensionData)return;r.add("requestExtensionData");const o=e.sendResponse("requestExtensionData",async e=>{const{moduleId:t,route:r,body:s}=e;let{featureName:o}=e;return!o&&t&&(o=await x(t.split("."),n.dynamicConfigFetch).then(e=>e.featureName)),n.requestExtensionData(o,{route:r,body:s||{}})});s.push(()=>o.unsubscribe())}(e,0,t,s,o),function(e,t,n,r){if(t.sendRequest||t.requestPlatformData){n.add("requestPlatformData"),n.add("requestPlatformData-v2"),t.sendFormDataRequest&&n.add("requestPlatformData-formdata");const s=e.sendResponse("requestPlatformData",e=>A(t,e).then(function(t){return 200<=t.status&&t.status<300?{data:"GET"===e.method?t.response.data:t.response,status:"success"}:{data:{message:t.statusText},status:"error"}})),o=e.sendResponse("requestPlatformData-v2",e=>A(t,e));r.push(()=>{s.unsubscribe(),o.unsubscribe()})}}(e,t,s,o),function(e,t){const n=e.subscribe(e=>{var t;(t=Object.assign(Object.assign({},e.changedParams),e.currentParams),Object.keys(t).reduce((e,t)=>{const n=t.split(".").slice(0,-1).join(".");return-1===e.indexOf(n)&&e.push(n),e},[])).forEach(t=>{const n=b(t,e.changedParams),r=b(t,e.currentParams);l("streamParams::"+t,u.Maybe.just(JSON.stringify({changedParams:n,currentParams:r})))})});t.push(()=>n.unsubscribe())}(n,o),function(e,t,n,r){if(t.takePicture){n.add("takePicture");const s=e.sendResponse("takePicture",({overlayText:e,helpText:n})=>t.takePicture({overlayText:e,helpText:n}).then(e=>({picture:e})));r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n,r){if(!t.registerLogoffHook||!function(){const e=!!sessionStorage.getItem,t=!!sessionStorage.setItem,n=!!sessionStorage.removeItem;return e&&t&&n}())return;n.add("tectonCache"),t.registerLogoffHook(()=>{sessionStorage.removeItem(M)});const s=e.sendResponse("getCache",e=>{const t=I(e.moduleId,e.key),n=JSON.parse(sessionStorage.getItem(M)||"{}")[t]||{};return Promise.resolve(n)});r.push(()=>s.unsubscribe());const o=e.sendResponse("setCache",e=>{const t=I(e.moduleId,e.key);let n={};return"string"==typeof sessionStorage.getItem(M)&&(n=JSON.parse(sessionStorage.getItem(M))),n[t]=e.data,sessionStorage.setItem(M,JSON.stringify(n)),Promise.resolve()});r.push(()=>o.unsubscribe())}(e,t,s,o),function(e,t,n){if(!e.cssPropertiesChanged)return;t.add(j.PlatformCssPropertiesChanged);const r=new m.t([]);let s=!0;const o=r.pipe((0,L.i)(1)).subscribe(e=>{l(k.streamCssProperties,u.Maybe.just(JSON.stringify(e)))});e.cssPropertiesChanged(e=>{s&&r.next(e)}),n.push(()=>{s=!1,o.unsubscribe(),r.complete()})}(t,s,o),function(e,t){e.platformEventNotification&&(t.add("platformEventNotification"),e.platformEventNotification(e=>{l(`platformEventNotification::${e.name}`,u.Maybe.maybe(e.data).map(JSON.stringify))}))}(t,s)}var F=n(9576),D=n(3713),U=n(2786),W=n(2950),B=n(6418);const H="[iFrameSizer]",z=[{name:"name",reflectAs:String},{name:"minHeight",reflectAs:String},{name:"overpanel",reflectAs:Boolean},{name:"baseClass",reflectAs:String}],V=(0,F.createSetupElement)(function(e,{messageBus:t,props:n,moduleId:r,tectonOutletAdaptor:s,resize:u}){return(0,F.generateCustomElementWrapper)(e,(e,n)=>{const c=new m.t(document.createElement("div")),a=new m.t(!1),l=new D.yU,d=n.pipe((0,i.T)(e=>e.name),(0,o.p)(e=>!!e),(0,i.T)(e=>`${r?`${r}.`:""}${e}`),(0,W.F)(),(0,B.$)()).subscribe(r=>{const o=s(t,r,e,n,u),i=o.DOM$.subscribe(c);l.add(i);const d=o.settled$.subscribe(a);l.add(d);const h=o.teardown$.subscribe(f);l.add(h);const p=o.effect$.subscribe(t=>{e.__attached?t():e.__onAttached.push(t)});l.add(p)});l.add(d);const f=new m.t(()=>{c.next(null),c.complete(),a.complete(),f.complete(),l.unsubscribe()});return{DOM$:c,settled$:a,teardown$:f}},{useShadowDOM:!0,props:z.concat(n),css:`\n .root {\n height: 100%;\n width: 100%;\n }\n .outlet-wrapper {\n line-height: 0;\n font-size: 0;\n }\n .outlet-wrapper.scrollable {\n height: 100%;\n }\n .loading-wrapper {\n height: 44px;\n width: 100%;\n align-items: center;\n justify-content: center;\n }\n .loading-wrapper:not([hidden]) {\n display: flex;\n }\n .loading-wrapper,\n .outlet-wrapper.scrollable iframe {\n height: 100%;\n }\n .outlet-wrapper iframe {\n width: 100%;\n height: auto;\n border: none;\n }\n .outlet-wrapper iframe:not([hidden]) {\n display: inline-block;\n }\n ${"tecton-platform-outlet"===e?'\n :host {\n position: relative;\n display: block;\n height: 100%;\n }\n .outlet-wrapper {\n min-height: calc(var(--tct-loading-spinner-size, var(--app-scale-12x, 60px)) + 2px);\n }\n .loading-wrapper {\n position: absolute;\n top: 0;\n }\n .loading-wrapper:not([hidden]) {\n align-items: flex-start;\n overflow: hidden;\n }\n .loading-wrapper.spinner-loader:not([hidden]) {\n align-items: center;\n }\n .loading-wrapper .q2-row {\n flex: 1;\n text-align: center;\n line-height: 1;\n }\n q2-loading:not([type="skeleton"]) {\n display: inline-block;\n }\n ':""}\n `})});function J(e){const t=[];if(e&&e.loaders){const n=e.loaders.reduce((e,t)=>t.row>e?t.row:e,0);for(let e=0;e<n;e++)t.push([]);for(const n of e.loaders){const e=document.createElement("q2-loading");e.setAttribute("shape",n.shape),e.setAttribute("type",n.type),e.className="q2-col",n.classList&&e.classList.add(...n.classList),n.style&&e.setAttribute("style",n.style),n.modifiers&&e.setAttribute("modifiers",n.modifiers),n.counts&&e.setAttribute("counts",n.counts),n.ariaLabel&&e.setAttribute("ariaLabel",n.ariaLabel),t[n.row-1].push(e)}}else{const e=document.createElement("q2-loading");t.push([]),e.classList.add("mrg(a)"),t[0].push(e)}return t}function K(e,t){const n=document.createElement("div");n.slot="loading-wrapper",n.classList.add("loading-wrapper"),n.setAttribute("data-tecton-module","");const r=e?J(e):J();if(null==e?void 0:e.outlet){const t=e.outlet;t.style&&n.setAttribute("style",t.style),t.classList&&n.classList.add(...t.classList)}n.style.minHeight=t||"0px";for(const e of r){const t=document.createElement("div");t.className="q2-row";for(const n of e)t.appendChild(n);n.appendChild(t)}return n}function Z(e){const t=e.getAttribute("base-class");return t?null==t?void 0:t.replace(/\s/g,"%7C"):""}var G=n(6770),Y=n(772);function X(e,t){const n=new URL(e,window.location.toString()),r=Object.keys(t).map(e=>`${e}=${t[e]}`).join("&"),s=n.search?`${n.search}&${r}`:`?${r}`;return n.search=s,n.href}const Q=[{name:"additionalContext",reflectAs:String},{name:"configTree"},{name:"context",reflectAs:String},{name:"contextId",reflectAs:String},{name:"contextValue",reflectAs:String},{name:"resolvedType",reflectAs:String},{name:"routeName"}];function ee(e,n,r,s){return function(c,l,d,f){const h=document.createElement("div"),p=new m.t(h),v=new m.t(!1),y=new m.t(()=>{}),w=function(){return{loaderWrapper:d.shadowRoot.querySelector("div[slot='loading-wrapper']"),iframeEl:d.shadowRoot.querySelector("iframe"),minHeight:f.getValue().minHeight}};let x,N;const T=function(){return x},_=function(e,t,n,r,s){let i=!1;return e.onMessage("setFetching").pipe((0,o.p)(e=>e.value.moduleId===t())).subscribe(e=>{const{loaderWrapper:t,iframeEl:o,minHeight:u="0px"}=n();if(t&&o){const{fetching:n}=e.value,c=r?r():void 0;if(!1===n){if(t.hidden=!0,o.hidden=!1,t.style.minHeight="0px",i&&s){const e=s();if(e&&t&&t.parentNode===e){const n=K(c,u);n.hidden=!0,e.replaceChild(n,t)}i=!1}}else if(!0===n)t.hidden=!1,o.hidden=!0,t.style.minHeight=u;else if(function(e){return"object"==typeof e&&null!==e}(n)&&s){const e=s();if(e){const r=K(n.loaders&&n.loaders.length>0?n:void 0,u);n.outlet&&(n.outlet.style&&(r.setAttribute("style",n.outlet.style),r.style.minHeight=u),n.outlet.classList&&r.classList.add(...n.outlet.classList)),r.hidden=!1,t&&t.parentNode===e&&(e.replaceChild(r,t),o.hidden=!0,i=!0)}}}})}(c,T,w,function(){return N},function(){return d.shadowRoot}),C=function(e,t,n){return e.sendResponse("requestOutletInfo",({moduleId:e})=>{if(e!==t())return null;const{iframeEl:r}=n(),s=null==r?void 0:r.getBoundingClientRect();return s&&Object.values(s.toJSON()).find(e=>0!==e)?Promise.resolve(s):null})}(c,T,w),E=new D.yU;E.add(_),E.add(C),E.add(()=>{p.next(null),p.complete(),y.next(()=>{}),y.complete(),v.complete()});const P=new m.t(()=>{P.complete(),E.unsubscribe()}),S=f.pipe((0,i.T)(e=>e.configTree),(0,o.p)(e=>!!e),(0,W.F)()),O=new m.t(!1),A=f.pipe((0,i.T)(e=>e.overpanel),(0,o.p)(e=>"boolean"==typeof e),(0,W.F)()).subscribe(O);E.add(A),E.add(()=>{O.complete()});const M=f.pipe((0,i.T)(e=>e.routeName),(0,o.p)(e=>!!e),(0,W.F)()),I=M.pipe((0,i.T)(e=>`${l}.${e}`),(0,G.J)()).subscribe(([e])=>{a("clearParams",u.Maybe.just(JSON.stringify({moduleId:e})))});E.add(I);const R=(0,Y.z)(S,O,M).subscribe(([h,m,_])=>{const C=e.getValue(),P=C.features[h.featureName];if(!P)throw new Error(`Could not find the config for this feature=${h.featureName}`);const S=P.modules[h.moduleName],O=f.getValue();if(function(e,t,n,r){var s,o,i,u;const c=t.isMFA,a=!1!==e.rightsEnabled,l="Application::Unauthenticated"===(null===(o=null===(s=e.meta)||void 0===s?void 0:s.type)||void 0===o?void 0:o.context);return!(!c&&!l)||!!a&&function(e,t){const{outletContext:n,moduleContext:r,resolvedContext:s,additionalContext:o,additionalContextRequirements:i}=e;if((null==i?void 0:i.length)&&o&&!i.includes(o.toString()))return!1;if("None"===r||"None"===n)return!0;const u=g(r,t);return 0!==u.length&&u.includes(s||n)}({additionalContext:n.additionalContext,additionalContextRequirements:e.additionalContextRequirements,contextValue:n.contextValue,moduleContext:(null===(u=null===(i=e.meta)||void 0===i?void 0:i.type)||void 0===u?void 0:u.context)||"None",outletContext:n.context||"None",resolvedContext:n.resolvedType},r)}(S,P,O,s)){x=`${l}.${_}`,N=S.loadingOptions;const e=O.minHeight,s=C.features[h.featureName],f=!!s.modules[h.moduleName].formPostAuth,g=s.modules[h.moduleName].url,P=s.additionalDomains,A=s.allowDirectives,M=function(e,t,n,r,s,o,i){let u=X(o&&i.buildIframeURL?i.buildIframeURL(e):e,Object.assign(Object.assign({"tct-id":t,"tct-ctxid":n.contextValue||"","tct-ctxname":n.contextId||""},b(t,s.currentParams)),{"tct-maxHeight":r.style.maxHeight,"tct-maxWidth":r.style.maxWidth,"tct-baseClass":Z(r),"tct-outlet-name":r.name||""}));return function(e){const t=e.getAttribute("beta");return""===t||"true"===t}(r)&&(u=X(u,{"tct-beta":"true"})),u}(g,x,O,d,n.getValue(),f,r);if(!m){const e=function(e,n,r){const s=(0,t.R)(window,"message").pipe((0,o.p)(e=>"string"==typeof e.data&&e.data.includes("iFrameSizer")),(0,i.T)(e=>{const t=e.data.substr(H.length).split(":"),[n,r]=t;return{value:{moduleId:n,height:r}}})),u=e.onMessage("resizeIframe");return(0,U.h)(s,u).pipe((0,o.p)(e=>e.value.moduleId===n()),(0,W.F)((e,t)=>e.value.height===t.value.height)).subscribe(e=>{const{height:t}=e.value,{iframeEl:n}=r();n&&n.style.setProperty("height",`${t}px`)})}(c,T,w);E.add(e)}const I=function(e,t,n){return e.onMessage("setTitle").pipe((0,o.p)(e=>e.value.moduleId===t())).subscribe(e=>{const{iframeEl:t}=n();t.title=e.value.title})}(c,T,w);E.add(I);const{element:R,cleanup:j}=function(e,t,n,r,s,o,i,u,c,a){const l=document.createElement("div");l.className="outlet-wrapper";const d=document.createElement("slot");d.name="loading-wrapper";const f=[],h=document.createElement("iframe");if(u){const r=document.createElement("form");n.forEach(function(e){const t=document.createElement("input");t.name=e.key,t.setAttribute("value",e.value),r.appendChild(t)}),r.hidden=!0,r.method="post",r.action=e,r.target=t,r.enctype="multipart/form-data",h.name=t,l.appendChild(r),f.push(function(){r.submit(),l.removeChild(r)})}else h.src=e;return h.title=r,h.dataset.moduleId=t,h.style.maxHeight=s,h.style.maxWidth=o,h.setAttribute("test-id","outletIframe"),h.allow=function(e=[],t=["geolocation","camera"],n){let r=["'self'",`${new URL(n).origin}`];return e&&e.length>0&&(r=[...r,...e]),t.reduce(function(e,t){return e+`${t} ${r.join(" ")}; `},"")}(c,a,e),l.appendChild(h),f.push(()=>{h.contentWindow&&h.contentWindow.postMessage(`${H}${t}:0:false:false:32:true:true:null:documentElementOffset`,"*")}),h.onload=function(){f.forEach(e=>{e()}),h.onload=function(){}},i?l.classList.add("scrollable"):(h.style.setProperty("overflow-y","hidden"),h.scrolling="no"),h.hidden=!0,l.appendChild(d),{element:l,cleanup:()=>{if(h.contentWindow)try{h.contentWindow.stop()}catch(e){}h.src="about:blank",h.onload=null,h.parentNode&&h.parentNode.removeChild(h)}}}(M,x,r.getAuthPayload?r.getAuthPayload():[],`${h.featureName}-${h.moduleName}`,d.style.maxHeight,d.style.maxWidth,m,f,P,A),$=function(e,t){var n,r,s;const o=document.createElement("div");o.slot="loading-wrapper",o.classList.add("loading-wrapper"),o.setAttribute("data-tecton-module","");const i=e.loadingOptions?J(e.loadingOptions):J();if(null===(n=e.loadingOptions)||void 0===n?void 0:n.outlet){const t=e.loadingOptions.outlet;t.style&&o.setAttribute("style",t.style),t.classList&&o.classList.add(...t.classList)}const u=null===(s=null===(r=i[0])||void 0===r?void 0:r[0])||void 0===s?void 0:s.getAttribute("type");null!==u&&"spinner"!==u||o.classList.add("spinner-loader"),o.style.minHeight=t||"0px";for(const e of i){const t=document.createElement("div");t.className="q2-row";for(const n of e)t.appendChild(n);o.appendChild(t)}return o}(S,e);p.next(R),y.next(()=>{const e=d.shadowRoot;if(!e)return;const t=e.querySelector(".loading-wrapper");t&&t.parentNode===e?e.replaceChild($,t):t||e.appendChild($),v.next(!0)}),E.add(()=>{j(),a("clearParams",u.Maybe.just(JSON.stringify({moduleId:x})))})}});return E.add(R),{DOM$:p,settled$:v,teardown$:P,effect$:y}}}const te=`${window.location.origin}${window.location.pathname.replace(/\/uux\.aspx/i,"")}`;function ne(e){return/^http/.test(e)?e:`${window.location.origin}/${e}`}function re(e,t,n,r,s,o,i={}){!function(e,t,n,r){if(t.getMobileSDKCapabilities){n.add("getMobileSDKCapabilities");const s=e.sendResponse("getMobileSDKCapabilities",()=>Promise.resolve(t.getMobileSDKCapabilities()));r.push(()=>s.unsubscribe())}}(e,t,s,o),function(e,t,n){const r=e.sendResponse("getInitialParams",e=>Promise.resolve({params:b(e.moduleId,t.getValue().currentParams)}));n.push(()=>r.unsubscribe())}(e,n,o),function(e,t,n,r,s){let o;const i=e.sendResponse("getCustomerAssetPath",({subPath:e})=>Promise.resolve({path:ne(n.getCustomerSpecificAssetPath(e))}));n.getCustomLanguageURL&&(t.add("getCustomLanguageURL"),o=e.sendResponse("getCustomLanguageURL",async({moduleId:e,langKey:t})=>{const r=await x(e.split("."),n.dynamicConfigFetch);return Promise.resolve({path:ne(n.getCustomLanguageURL(`${t}_${r.featureName}.json`))})}));const u=e.sendResponse("getBaseAssetPath",({subPath:e})=>Promise.resolve({path:ne(n.getBaseAssetPath(e))})),c=e.sendResponse("getNgamBaseUrl",()=>Promise.resolve({ngamBase:te}));s.push(()=>{i.unsubscribe(),u.unsubscribe(),c.unsubscribe(),o&&o.unsubscribe()})}(e,s,t,0,o),function(e,t,n,r,s,o){const i=t.sendResponse("resolveFeature",async t=>{const s=await x(t.outletPath.split("."),e.dynamicConfigFetch),i=T(s.configPath,s.treeFromRoot),c=(await e.dynamicConfigFetch(s.featureName)).modules[s.moduleName].meta.outlets[s.outletName],a="None"===c.context?u.Maybe.nothing():u.Maybe.just(c.context),l=t.contextValue?u.Maybe.just(t.contextValue):u.Maybe.nothing(),d=t.resolvedType?u.Maybe.just(t.resolvedType):u.Maybe.nothing(),f=t.additionalContext?u.Maybe.just(t.additionalContext):u.Maybe.nothing(),h=i.configuredOutlets[s.outletName],p=n.getValue();return y(e,r,t.outletPath,a,l,h,d,f,p,s.featureName,s.moduleName,o).then(e=>e.withDefault({moduleId:"",featureName:"",initialParams:{},url:"",minHeight:"",formPostAuth:!1,loadingOptions:{loaders:[{type:"spinner",shape:"half-circle",row:1}]}}))});s.push(()=>i.unsubscribe())}(t,e,r,n,o,i),function(e,t,n,r,s,o){const i=t.sendResponse("resolveTabs",async t=>{const s=await x(t.outletPath.split("."),e.dynamicConfigFetch),i=T(s.configPath,s.treeFromRoot),c=e.dynamicConfigFetch(s.featureName),a=await c,l=(await c.then(e=>e.modules[s.moduleName])).meta.outlets[s.outletName],d="None"===l.context?u.Maybe.nothing():u.Maybe.just(l.context),f=t.contextValue?u.Maybe.just(t.contextValue):u.Maybe.nothing(),h=t.resolvedType?u.Maybe.just(t.resolvedType):u.Maybe.nothing(),p=t.additionalContext?u.Maybe.just(t.additionalContext):u.Maybe.nothing(),m=i.configuredOutlets[s.outletName],b=n.getValue();return function(e,t,n,r,s,o,i,c,a,l,d,f,h,p){return Promise.all(c.map(c=>y(e,t,n,r,s,c.modules||[],o,i,a,l,d,f).then(e=>e.map(e=>({tabLabel:c.tabLabel,tab:e}))).catch(()=>u.Maybe.nothing()))).then(e=>u.Maybe.filterSomethings(e)).then(e=>e.map(e=>({tabLabel:e.tabLabel,tabLabelOverride:e.tab.tabLabelOverride,moduleId:e.tab.moduleId,initialParams:e.tab.initialParams,url:e.tab.url,minHeight:e.tab.minHeight,formPostAuth:e.tab.formPostAuth,loadingOptions:e.tab.loadingOptions,additionalDomains:h,allowDirectives:p,requiredUserCapabilities:e.tab.requiredUserCapabilities,rightsEnabled:e.tab.rightsEnabled})))}(e,r,t.outletPath,d,f,h,p,m,b,s.featureName,s.moduleName,o,a.additionalDomains,a.allowDirectives).then(e=>({resolvedTabs:e}))});s.push(()=>i.unsubscribe())}(t,e,r,n,o,i),function(e,t,n,r,s,o){const i=t.sendResponse("resolveMenu",async t=>{const s=await x(t.outletPath.split("."),e.dynamicConfigFetch),i=T(s.configPath,s.treeFromRoot),c=(await e.dynamicConfigFetch(s.featureName).then(e=>e.modules[s.moduleName])).meta.outlets[s.outletName];if(!c)throw new Error(`${s.outletName} contextual menu outlet not found in config`);const a="None"===c.context?u.Maybe.nothing():u.Maybe.just(c.context),l=t.contextValue?u.Maybe.just(t.contextValue):u.Maybe.nothing(),d=t.resolvedType?u.Maybe.just(t.resolvedType):u.Maybe.nothing(),f=t.additionalContext?u.Maybe.just(t.additionalContext):u.Maybe.nothing(),h=i.configuredOutlets[s.outletName],p=n.getValue();return!1===p.features[s.featureName].modules[s.moduleName].rightsEnabled?new Promise(e=>{e({resolvedMenuItems:[]})}):function(e,t,n,r,s,o,i,c,a,l,d,f){return Promise.all(c.map(c=>y(e,t,n,r,s,c.modules||[],o,i,a,l,d,f).then(t=>t.asyncMap(async t=>{const n=await x(t.moduleId.split("."),e.dynamicConfigFetch),r=s.withDefault("-1"),o={itemLabel:c.itemLabel,action:c.action,featureName:n.featureName,moduleName:n.moduleName,contextIdParamName:c.contextIdParamName};return"-1"!==r&&(o["tct-ctxid"]=r),o})).then(u.Maybe.just).catch(()=>u.Maybe.nothing()))).then(e=>u.Maybe.filterSomethings(e))}(e,r,t.outletPath,a,l,d,f,h,p,s.featureName,s.moduleName,o).then(e=>({resolvedMenuItems:e}))});s.push(()=>i.unsubscribe())}(t,e,r,n,o,i),function(e,t,n){const r=e.sendResponse("getPlatformCapabilities",()=>{const e=Array.from(t);return Promise.resolve({capabilities:e})});n.push(()=>r.unsubscribe())}(e,s,o),function(e,t,n){const r=e.sendResponse("getAuthPayload",()=>Promise.resolve(t.getAuthPayload()));n.push(()=>r.unsubscribe())}(e,t,o),function(e,t,n,r){if(t.cdnOverride){n.add("cdnOverride");const s=e.sendResponse("cdnOverride",()=>t.cdnOverride().then(e=>({path:e})));r.push(()=>s.unsubscribe())}}(e,t,s,o)}const se="Authenticated",oe="Unauthenticated";function ie(t,n,r={},s){window.isTectonPlatform=!0;const o=new m.t({changedParams:{},currentParams:{}});let i;ue(t),window.isTestingTecton||(null==s?void 0:s.testing)?(i=window.tectonConfig$||new m.t(null),i.next(t),window.tectonConfig$=i):i=new m.t(t);const c=new p(i,window.isTestingTecton),a=new Set,d=[c.teardown.bind(c)];function f(e){const[r,s]=e.split(".");try{return Promise.resolve(t.features[r].configuredOverpanels[s])}catch(e){return n.dynamicConfigFetch(r,s)}}return function(e){e.add("resizeIframe"),e.add("requestOutletInfo")}(a),function(e,t,n,r){if(t.setupDynamicPlatformAPI){t.setupDynamicPlatformAPI().forEach(e=>n.add(e));const s=e.sendResponse("executeDynamicPlatformAPI",({functionName:e,args:n})=>t.executeDynamicPlatformAPI(e,n));r.push(()=>s.unsubscribe())}}(c,n,a,d),E(c,i,n,a,d),q(c,n,o,i,a,d),function(e,t,n,r){if(!t.getCurrentTheme)return void n.add("ThemesNotSupported");n.add("getCurrentTheme");const s=new m.t({path:ne(t.getCustomerSpecificAssetPath(`${t.getCurrentTheme()}-props.css`))});let o=!0;t.themeChanged&&(n.add("themeChanged"),t.themeChanged(e=>{o&&s.next({path:ne(t.getCustomerSpecificAssetPath(`${e}-props.css`))})}));const i=s.subscribe(e=>{l("themeChanged",u.Maybe.maybe(e).map(JSON.stringify))}),c=e.sendResponse("getCurrentTheme",()=>Promise.resolve(s.getValue()));r.push(()=>{o=!1,i.unsubscribe(),c.unsubscribe(),s.complete()})}(c,n,a,d),re(c,n,o,i,a,d,r),function(e,t,n,r,s={}){V({messageBus:e,moduleId:"",props:Q,tectonOutletAdaptor:ee(t,n,r,s)})("tecton-platform-outlet")}(c,i,o,n,r),{tectonParamsChanged(e){o.next(e)},updateConfig(t){const n=i.getValue();e(n,t),ue(n),i.next(n)},replaceConfig(e){ue(e),i.next(e)},verifyConfig(){if(!n.getCapabilities)return void console.error("getCapabilities must be implemented on platform to verify config.");const e=e=>Array.isArray(e)?e.length>0:Boolean(e),t=t=>{var r,s;return!(null==t?void 0:t.length)||Object.values(null!==(s=null===(r=n.getCapabilities)||void 0===r?void 0:r.call(n,...null!=t?t:[]))&&void 0!==s?s:{}).every(e)},r=i.getValue(),s=r.features;for(const e in s){if(!s.hasOwnProperty(e))continue;const n=s[e];n.rightsEnabled=t(n.requiredUserCapabilities);for(const e in n.modules){if(!n.modules||!n.modules.hasOwnProperty(e))continue;const r=n.modules[e];r.rightsEnabled=n.rightsEnabled&&t(r.requiredUserCapabilities)}}ue(r),i.next(r)},configLookup:function(e,t){const n=i.getValue();if(!t){const t=n.features[e];if(!t)throw new Error(`No config found, please check if the extension(${e}) is running correctly.`);return t}if(!n.features[e])throw new Error(`Please check if the extension(${e}) is running correctly.`);const r=n.features[e].modules[t].routeConfig||{featureName:e,moduleName:t},s=n.features[e].modules[t].rightsEnabled;return void 0!==s&&(r.rightsEnabled=s),r},configForRoute(e){const[t,n]=e.split(".");return i.getValue().features[t].modules[n].routeConfig||{featureName:t,moduleName:n}},configForOverpanel:f,overpanelOverrideLookup(e){var t,n,r,s,o,u,c,a,l;const d=i.getValue(),h=(d.overpanelOverrides||[]).find(t=>t.overpanelName===e),{featureName:p="",overpanelName:m=""}=null!==(t=null==h?void 0:h.override)&&void 0!==t?t:{},b=`${p}.${m}`,v=null===(n=d.features)||void 0===n?void 0:n[p],g=[{condition:!h,message:`No overpanel override found for ${e}.`},{condition:!p||!m,message:`Invalid overpanel override configuration for ${e}.`},{condition:!v,message:`Feature ${p} not found in config.`},{condition:!1===(null==v?void 0:v.rightsEnabled),message:`Feature ${p} is not enabled for this user.`},{condition:!(null===(r=null==v?void 0:v.configuredOverpanels)||void 0===r?void 0:r[m]),message:`Override overpanel ${m} not found in config.`},{condition:!1===(null===(c=null===(s=null==v?void 0:v.modules)||void 0===s?void 0:s[null===(u=null===(o=null==v?void 0:v.configuredOverpanels)||void 0===o?void 0:o[m])||void 0===u?void 0:u.moduleName])||void 0===c?void 0:c.rightsEnabled),message:`The module ${null===(l=null===(a=null==v?void 0:v.configuredOverpanels)||void 0===a?void 0:a[m])||void 0===l?void 0:l.moduleName} for feature ${p} is not enabled for this user.`}];for(const{condition:e,message:t}of g)if(e)return Promise.resolve({override:!1,message:t});return f(b).then(e=>{const t={override:!0,overpanelId:b,overpanelConfig:e};return(null==h?void 0:h.contextInfo)&&(t.contextInfo=h.contextInfo),Promise.resolve(t)})},updateApplicationModules(e){!function(e,t=!1){const n=function(e){var t,n,r;const s={};for(const[o,i]of Object.entries(e.features))for(const[e,u]of Object.entries(i.modules)){const i=null!==(r=null===(n=null===(t=null==u?void 0:u.meta)||void 0===t?void 0:t.type)||void 0===n?void 0:n.context)&&void 0!==r?r:void 0;if(i&&i.toLowerCase().startsWith("Application::".toLowerCase())){const t=i.split("::")[1].toLowerCase(),n={featureName:o,moduleName:e,rightsEnabled:u.rightsEnabled};s[t]?s[t].push(n):s[t]=[n]}}return s}(e),r=t?se:oe,s=n[r.toLowerCase()];null==s||s.forEach(e=>{const{featureName:t,moduleName:n,rightsEnabled:s}=e,o=`${t}.${n}`,i=`TectonApplicationModule.${o}`;document.getElementById(i)||!1===s||function({authContext:e,outletId:t,modulePath:n,featureName:r,moduleName:s}){const o=window.isTestingTecton?document.createElement("object"):document.createElement("tecton-platform-outlet");o.name=`Tecton${e}ApplicationModule`,o.id=t,o.routeName=n,o.configTree={featureName:r,moduleName:s},o.tabIndex=-1,o.setAttribute("style","width:0; height:0; visibility: hidden; overflow: hidden;"),document.body.appendChild(o)}({authContext:r,outletId:i,modulePath:o,featureName:t,moduleName:n})}),t||function(e){const t=document.getElementsByName(`Tecton${e}ApplicationModule`);null==t||t.forEach(function(e){var t;null===(t=e.parentNode)||void 0===t||t.removeChild(e)})}(se)}(t,e)},teardown(){d.forEach(e=>e()),o.complete(),i.complete()}}}function ue(e){Object.keys(e.features).forEach(function(t){const n=e.features[t],r=n.configuredOverpanels;r&&Object.keys(r).forEach(function(e){r[e].featureName||(r[e].featureName=t)});try{Object.keys(n.modules).forEach(function(e){n.modules[e].routeConfig||(n.modules[e].routeConfig={featureName:t,moduleName:e,configuredOutlets:{}}),Object.assign(n.modules[e].meta,{featureName:t,moduleName:e});let r=n.modules[e].url;if(r){if(r.startsWith("./")){const e=window.location.pathname.split("/").filter(e=>e),t=e[e.length-1];t&&t.includes(".")&&e.pop();const n=e.length>0?e.join("/"):"";r=r.replace("./",`${window.location.origin}/${n?`${n}/`:""}`)}r=r.replace("{featureName}",t),r=r.replace("{moduleName}",e),n.modules[e].url=r}})}catch(r){n.modules?console.error(`Config for ${n.routeName} is malformed. It returned ${r}.`):console.error(`Config for ${n.routeName} contains no modules`),console.error(`Removing ${n.routeName} from config.`),delete e.features[t]}})}})(),r})());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "q2-tecton-platform",
|
|
3
|
-
"version": "1.63.
|
|
3
|
+
"version": "1.63.1",
|
|
4
4
|
"description": "This library is the \"server\" in the \"client/server\" pair of the SDK and Platform. Responsible for booting modules and responding to requests from the SDK.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Q2 Tecton Team",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"copy-webpack-plugin": "^13.0.0",
|
|
36
|
-
"dry-suite": "1.63.
|
|
36
|
+
"dry-suite": "1.63.1",
|
|
37
37
|
"maybe-not": "~1.3.3",
|
|
38
|
-
"q2-tecton-common": "1.63.
|
|
38
|
+
"q2-tecton-common": "1.63.1",
|
|
39
39
|
"resolve-tspaths": "0.8.23",
|
|
40
40
|
"rxjs-tslint": "^0.1.8",
|
|
41
41
|
"sinon": "^9.0.1",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"webpack-dev-server": "5.2.1"
|
|
44
44
|
},
|
|
45
45
|
"packageManager": "pnpm@10.27.0",
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "b2567efcf9c475164d112e41767b8bbf0a5997c0"
|
|
47
47
|
}
|