q2-tecton-platform 1.61.0 → 1.62.0

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.
Files changed (98) hide show
  1. package/dist/bundle-report.json +1 -1
  2. package/dist/esm/actions/actionRequiredSetup.js +7 -2
  3. package/dist/esm/actions/authorizeTransactionWithMfaSetup.js +4 -1
  4. package/dist/esm/actions/clearCacheSetup.js +7 -4
  5. package/dist/esm/actions/clearParamsSetup.js +4 -1
  6. package/dist/esm/actions/closeOverpanelSetup.js +6 -3
  7. package/dist/esm/actions/index.js +51 -48
  8. package/dist/esm/actions/keepAliveSetup.js +4 -1
  9. package/dist/esm/actions/loadingModalSetup.js +4 -1
  10. package/dist/esm/actions/logToServerSetup.js +6 -3
  11. package/dist/esm/actions/manageChangesSetup.js +4 -1
  12. package/dist/esm/actions/navigateToSetup.js +8 -5
  13. package/dist/esm/actions/openURLSetup.js +4 -1
  14. package/dist/esm/actions/printWindowSetup.js +4 -1
  15. package/dist/esm/actions/refetchAccountsSetup.js +4 -1
  16. package/dist/esm/actions/scrollToSetup.js +7 -4
  17. package/dist/esm/actions/scrollToTopSetup.js +4 -1
  18. package/dist/esm/actions/sendAlertSetup.js +4 -1
  19. package/dist/esm/actions/setParamsSetup.js +6 -3
  20. package/dist/esm/actions/setTitleSetup.js +6 -3
  21. package/dist/esm/actions/showActionSheetSetup.js +4 -1
  22. package/dist/esm/actions/showModalSetup.js +4 -1
  23. package/dist/esm/actions/showOverpanelSetup.js +10 -7
  24. package/dist/esm/actions/t.d.ts.map +1 -1
  25. package/dist/esm/actions/t.js +18 -7
  26. package/dist/esm/actions/verifyMFASetup.js +4 -1
  27. package/dist/esm/index.js +5 -1
  28. package/dist/esm/outlets/index.js +9 -6
  29. package/dist/esm/outlets/platform-outlet.d.ts.map +1 -1
  30. package/dist/esm/outlets/platform-outlet.js +84 -50
  31. package/dist/esm/private-helpers/assetPathResolvers.js +11 -6
  32. package/dist/esm/private-helpers/cdnOverrideSetup.js +4 -1
  33. package/dist/esm/private-helpers/contextResolver.js +7 -2
  34. package/dist/esm/private-helpers/getApplicationModules.js +5 -1
  35. package/dist/esm/private-helpers/getAuthPayload.js +4 -1
  36. package/dist/esm/private-helpers/getModuleParams.js +4 -1
  37. package/dist/esm/private-helpers/index.js +22 -19
  38. package/dist/esm/private-helpers/mobileSDKCapabilities.js +4 -1
  39. package/dist/esm/private-helpers/platformCapabilities.js +4 -1
  40. package/dist/esm/private-helpers/resolveFeature.d.ts +2 -2
  41. package/dist/esm/private-helpers/resolveFeature.d.ts.map +1 -1
  42. package/dist/esm/private-helpers/resolveFeature.js +39 -28
  43. package/dist/esm/private-helpers/resolveMenu.js +23 -18
  44. package/dist/esm/private-helpers/resolveTabs.js +21 -16
  45. package/dist/esm/private-helpers/setupRegisterOutlet.js +7 -3
  46. package/dist/esm/setup/application-modules.js +11 -5
  47. package/dist/esm/setup/default-capabilities.js +4 -1
  48. package/dist/esm/setup/dynamic-capabilities.js +4 -1
  49. package/dist/esm/setup/index.d.ts +1 -1
  50. package/dist/esm/setup/index.d.ts.map +1 -1
  51. package/dist/esm/setup/index.js +32 -25
  52. package/dist/esm/setup/styles.d.ts.map +1 -1
  53. package/dist/esm/setup/styles.js +22 -11
  54. package/dist/esm/sources/cacheClearedSetup.js +7 -4
  55. package/dist/esm/sources/canUserSetup.js +4 -1
  56. package/dist/esm/sources/getAuthTokenSetup.js +4 -1
  57. package/dist/esm/sources/getFeatureConfigSetup.js +6 -3
  58. package/dist/esm/sources/getGlobalScriptsSetup.js +4 -1
  59. package/dist/esm/sources/getPendoInfoSetup.js +4 -1
  60. package/dist/esm/sources/getPlatformDimensionsSetup.js +9 -6
  61. package/dist/esm/sources/getPlatformInfoSetup.js +4 -1
  62. package/dist/esm/sources/getVersionInfoSetup.js +4 -1
  63. package/dist/esm/sources/index.js +44 -41
  64. package/dist/esm/sources/isNavigableSetup.js +6 -3
  65. package/dist/esm/sources/platformCssPropertiesChangedSetup.d.ts.map +1 -1
  66. package/dist/esm/sources/platformCssPropertiesChangedSetup.js +22 -12
  67. package/dist/esm/sources/platformEventNotificationSetup.js +7 -4
  68. package/dist/esm/sources/platformScrollChangedSetup.js +12 -9
  69. package/dist/esm/sources/promptForMFASetup.js +6 -3
  70. package/dist/esm/sources/refetchRequiredSetup.js +7 -4
  71. package/dist/esm/sources/requestExtensionDataSetup.js +6 -3
  72. package/dist/esm/sources/requestPlatformDataSetup.js +15 -8
  73. package/dist/esm/sources/setupModuleParams.js +10 -7
  74. package/dist/esm/sources/takePictureSetup.js +4 -1
  75. package/dist/esm/sources/tectonCacheSetup.js +4 -1
  76. package/dist/esm/types/alerts.js +5 -2
  77. package/dist/esm/types/config.d.ts +6 -6
  78. package/dist/esm/types/config.d.ts.map +1 -1
  79. package/dist/esm/types/config.js +2 -1
  80. package/dist/esm/types/index.d.ts +3 -3
  81. package/dist/esm/types/index.d.ts.map +1 -1
  82. package/dist/esm/types/index.js +2 -1
  83. package/dist/esm/types/pendo.js +2 -1
  84. package/dist/esm/types/utility.js +2 -1
  85. package/dist/esm/utility/dimensions-helpers.d.ts +1 -1
  86. package/dist/esm/utility/dimensions-helpers.d.ts.map +1 -1
  87. package/dist/esm/utility/dimensions-helpers.js +7 -2
  88. package/dist/esm/utility/filterPublicOverpanels.js +4 -1
  89. package/dist/esm/utility/getNavigationData.js +6 -3
  90. package/dist/esm/utility/message-bus.d.ts +4 -2
  91. package/dist/esm/utility/message-bus.d.ts.map +1 -1
  92. package/dist/esm/utility/message-bus.js +10 -5
  93. package/dist/esm/utility/showActionSheet.js +4 -2
  94. package/dist/esm/utility/validateActionParameters.js +4 -1
  95. package/dist/esm/utility/windowHelpers.js +7 -2
  96. package/dist/umd/q2-tecton-platform.js +1 -2
  97. package/package.json +14 -10
  98. package/dist/umd/q2-tecton-platform.js.LICENSE.txt +0 -14
@@ -1,2 +1 @@
1
- /*! For license information please see q2-tecton-platform.js.LICENSE.txt */
2
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["q2-tecton-platform"]=e():t["q2-tecton-platform"]=e()}(self,()=>(()=>{var t={46:(t,e,n)=>{"use strict";n.d(e,{I:()=>o,w:()=>i});var r=n(8183),i=new r.c(function(t){return t.complete()});function o(t){return t?function(t){return new r.c(function(e){return t.schedule(function(){return e.complete()})})}(t):i}},163:(t,e,n)=>{"use strict";function r(t,e){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=t,n.thisArg=e,n}n.d(e,{A:()=>r})},403:(t,e,n)=>{"use strict";n.d(e,{g:()=>s,T:()=>o});var r=n(5785),i=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return r.C6(e,t),e.prototype.schedule=function(e,n){return void 0===n&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,r):e.flush(this)},e}(n(5389).R),o=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.C6(e,t),e}(n(4274).q))(i),s=o},506:(t,e,n)=>{"use strict";n.d(e,{O4:()=>c});var r=n(5785),i=n(7371),o=n(5090),s=n(7372),u=n(7779);function c(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){if(!(0,i.c)(t[0]))return t[0];t=t[0]}return(0,o.c)(t,void 0).lift(new a)}var a=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new l(t))},t}(),l=function(t){function e(e){var n=t.call(this,e)||this;return n.hasFirst=!1,n.observables=[],n.subscriptions=[],n}return r.C6(e,t),e.prototype._next=function(t){this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(var n=0;n<e&&!this.hasFirst;n++){var r=t[n],i=(0,u.F)(this,r,void 0,n);this.subscriptions&&this.subscriptions.push(i),this.add(i)}this.observables=null}},e.prototype.notifyNext=function(t,e,n){if(!this.hasFirst){this.hasFirst=!0;for(var r=0;r<this.subscriptions.length;r++)if(r!==n){var i=this.subscriptions[r];i.unsubscribe(),this.remove(i)}this.subscriptions=null}this.destination.next(e)},e}(s.E)},568:(t,e,n)=>{"use strict";function r(t){setTimeout(function(){throw t},0)}n.d(e,{T:()=>r})},572:(t,e,n)=>{"use strict";n.d(e,{m:()=>l});var r=n(5785),i=n(2521),o=n(403),s=n(8252),u=n(1842),c=n(9776),a=n(6024),l=function(t){function e(e,n,r){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY);var i=t.call(this)||this;return i.scheduler=r,i._events=[],i._infiniteTimeWindow=!1,i._bufferSize=e<1?1:e,i._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(i._infiniteTimeWindow=!0,i.next=i.nextInfiniteTimeWindow):i.next=i.nextTimeWindow,i}return r.C6(e,t),e.prototype.nextInfiniteTimeWindow=function(e){if(!this.isStopped){var n=this._events;n.push(e),n.length>this._bufferSize&&n.shift()}t.prototype.next.call(this,e)},e.prototype.nextTimeWindow=function(e){this.isStopped||(this._events.push(new h(this._getNow(),e)),this._trimBufferThenGetEvents()),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=r.length;if(this.closed)throw new c.P;if(this.isStopped||this.hasError?e=s.y.EMPTY:(this.observers.push(t),e=new a.Y(this,t)),i&&t.add(t=new u.YZ(t,i)),n)for(var l=0;l<o&&!t.closed;l++)t.next(r[l]);else for(l=0;l<o&&!t.closed;l++)t.next(r[l].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e},e.prototype._getNow=function(){return(this.scheduler||o.g).now()},e.prototype._trimBufferThenGetEvents=function(){for(var t=this._getNow(),e=this._bufferSize,n=this._windowTime,r=this._events,i=r.length,o=0;o<i&&!(t-r[o].time<n);)o++;return i>e&&(o=Math.max(o,i-e)),o>0&&r.splice(0,o),r},e}(i.B7),h=function(){return function(t,e){this.time=t,this.value=e}}()},659:(t,e,n)=>{"use strict";n.d(e,{c:()=>l});var r=n(8183),i=n(8252),o=n(2013),s=n(7339),u=n(7214),c=n(3155),a=n(4276);function l(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.s]}(t))return function(t,e){return new r.c(function(n){var r=new i.y;return r.add(e.schedule(function(){var i=t[o.s]();r.add(i.subscribe({next:function(t){r.add(e.schedule(function(){return n.next(t)}))},error:function(t){r.add(e.schedule(function(){return n.error(t)}))},complete:function(){r.add(e.schedule(function(){return n.complete()}))}}))})),r})}(t,e);if((0,c.y)(t))return function(t,e){return new r.c(function(n){var r=new i.y;return r.add(e.schedule(function(){return t.then(function(t){r.add(e.schedule(function(){n.next(t),r.add(e.schedule(function(){return n.complete()}))}))},function(t){r.add(e.schedule(function(){return n.error(t)}))})})),r})}(t,e);if((0,a.X)(t))return(0,s.V)(t,e);if(function(t){return t&&"function"==typeof t[u.lJ]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new r.c(function(n){var r,o=new i.y;return o.add(function(){r&&"function"==typeof r.return&&r.return()}),o.add(e.schedule(function(){r=t[u.lJ](),o.add(e.schedule(function(){if(!n.closed){var t,e;try{var i=r.next();t=i.value,e=i.done}catch(t){return void n.error(t)}e?n.complete():(n.next(t),this.schedule())}}))})),o})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}},668:(t,e,n)=>{"use strict";n.d(e,{K:()=>i});var r=n(1520);function i(){return(0,r.U)(1)}},739:(t,e,n)=>{"use strict";n.d(e,{E:()=>i,b:()=>o});var r=n(5389),i=new(n(4274).q)(r.R),o=i},936:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(2471),i=n(7799),o=n(3488),s=n(7566),u=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var e;if(!this.closed){var n=this,u=n._parentOrParents,a=n._ctorUnsubscribe,l=n._unsubscribe,h=n._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,u instanceof t)u.remove(this);else if(null!==u)for(var f=0;f<u.length;++f)u[f].remove(this);if(o.isFunction(l)){a&&(this._unsubscribe=void 0);try{l.call(this)}catch(t){e=t instanceof s.UnsubscriptionError?c(t.errors):[t]}}if(r.isArray(h)){f=-1;for(var p=h.length;++f<p;){var d=h[f];if(i.isObject(d))try{d.unsubscribe()}catch(t){e=e||[],t instanceof s.UnsubscriptionError?e=e.concat(c(t.errors)):e.push(t)}}}if(e)throw new s.UnsubscriptionError(e)}},t.prototype.add=function(e){var n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var r=n;(n=new t)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var i=n._parentOrParents;if(null===i)n._parentOrParents=this;else if(i instanceof t){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.EMPTY=((e=new t).closed=!0,e),t}();function c(t){return t.reduce(function(t,e){return t.concat(e instanceof s.UnsubscriptionError?e.errors:e)},[])}e.Subscription=u},1506:(t,e,n)=>{"use strict";n.d(e,{v:()=>r});var r=function(t){return function(e){for(var n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()}}},1515:(t,e,n)=>{"use strict";n.d(e,{k:()=>r});var r=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}()},1520:(t,e,n)=>{"use strict";n.d(e,{U:()=>o});var r=n(9377),i=n(8958);function o(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),(0,r.ZZ)(i.D,t)}},1571:(t,e,n)=>{"use strict";n.r(e),n.d(e,{audit:()=>o,auditTime:()=>l,buffer:()=>h,bufferCount:()=>b,bufferTime:()=>w,bufferToggle:()=>I,bufferWhen:()=>M,catchError:()=>k,combineAll:()=>q,combineLatest:()=>z,concat:()=>W,concatAll:()=>H.K,concatMap:()=>Y,concatMapTo:()=>G,count:()=>Z,debounce:()=>Q,debounceTime:()=>nt,defaultIfEmpty:()=>st.U,delay:()=>at,delayWhen:()=>dt,dematerialize:()=>gt,distinct:()=>_t,distinctUntilChanged:()=>Et.F,distinctUntilKeyChanged:()=>Nt,elementAt:()=>At,endWith:()=>Mt,every:()=>Rt,exhaust:()=>$t,exhaustMap:()=>Bt,expand:()=>Ut,filter:()=>Ot.p,finalize:()=>Jt,find:()=>Zt,findIndex:()=>Qt,first:()=>te.$,flatMap:()=>J.qI,groupBy:()=>ee.$,ignoreElements:()=>ne,isEmpty:()=>oe,last:()=>de,map:()=>qt.T,mapTo:()=>be,materialize:()=>me,max:()=>Ne,merge:()=>Oe,mergeAll:()=>Pe.U,mergeMap:()=>J.ZZ,mergeMapTo:()=>Ie,mergeScan:()=>Ae,min:()=>Re,multicast:()=>ke,observeOn:()=>Fe.QE,onErrorResumeNext:()=>De,pairwise:()=>Le.J,partition:()=>Ue,pluck:()=>We,publish:()=>Je,publishBehavior:()=>Ge,publishLast:()=>Ke,publishReplay:()=>Qe,race:()=>en,reduce:()=>Ee,refCount:()=>bn.B,repeat:()=>nn,repeatWhen:()=>sn,retry:()=>an,retryWhen:()=>fn,sample:()=>vn,sampleTime:()=>gn,scan:()=>xe,sequenceEqual:()=>Sn,share:()=>On,shareReplay:()=>Pn,single:()=>In,skip:()=>Mn,skipLast:()=>kn,skipUntil:()=>Dn,skipWhile:()=>Ln,startWith:()=>Wn,subscribeOn:()=>Gn,switchAll:()=>tr,switchMap:()=>Kn,switchMapTo:()=>er,take:()=>It.s,takeLast:()=>le,takeUntil:()=>nr,takeWhile:()=>or,tap:()=>lr,throttle:()=>dr,throttleTime:()=>yr,throwIfEmpty:()=>Pt.v,timeInterval:()=>_r,timeout:()=>Pr,timeoutWith:()=>Er,timestamp:()=>Ir,toArray:()=>Mr,window:()=>Rr,windowCount:()=>$r,windowTime:()=>qr,windowToggle:()=>Jr,windowWhen:()=>Zr,withLatestFrom:()=>Qr,zip:()=>ri,zipAll:()=>ii});var r=n(5785),i=n(4137);function o(t){return function(e){return e.lift(new s(t))}}var s=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.durationSelector))},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.durationSelector=n,r.hasValue=!1,r}return r.C6(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=void 0;try{e=(0,this.durationSelector)(t)}catch(t){return this.destination.error(t)}var n=(0,i.tS)(e,new i.zA(this));!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}},e.prototype.clearThrottle=function(){var t=this,e=t.value,n=t.hasValue,r=t.throttled;r&&(this.remove(r),this.throttled=void 0,r.unsubscribe()),n&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))},e.prototype.notifyNext=function(){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(i.gn),c=n(739),a=n(5662);function l(t,e){return void 0===e&&(e=c.b),o(function(){return(0,a.O)(t,e)})}function h(t){return function(e){return e.lift(new f(t))}}var f=function(){function t(t){this.closingNotifier=t}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.closingNotifier))},t}(),p=function(t){function e(e,n){var r=t.call(this,e)||this;return r.buffer=[],r.add((0,i.tS)(n,new i.zA(r))),r}return r.C6(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype.notifyNext=function(){var t=this.buffer;this.buffer=[],this.destination.next(t)},e}(i.gn),d=n(8243);function b(t,e){return void 0===e&&(e=null),function(n){return n.lift(new v(t,e))}}var v=function(){function t(t,e){this.bufferSize=t,this.startBufferEvery=e,this.subscriberClass=e&&t!==e?m:y}return t.prototype.call=function(t,e){return e.subscribe(new this.subscriberClass(t,this.bufferSize,this.startBufferEvery))},t}(),y=function(t){function e(e,n){var r=t.call(this,e)||this;return r.bufferSize=n,r.buffer=[],r}return r.C6(e,t),e.prototype._next=function(t){var e=this.buffer;e.push(t),e.length==this.bufferSize&&(this.destination.next(e),this.buffer=[])},e.prototype._complete=function(){var e=this.buffer;e.length>0&&this.destination.next(e),t.prototype._complete.call(this)},e}(d.v),m=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.bufferSize=n,i.startBufferEvery=r,i.buffers=[],i.count=0,i}return r.C6(e,t),e.prototype._next=function(t){var e=this,n=e.bufferSize,r=e.startBufferEvery,i=e.buffers,o=e.count;this.count++,o%r===0&&i.push([]);for(var s=i.length;s--;){var u=i[s];u.push(t),u.length===n&&(i.splice(s,1),this.destination.next(u))}},e.prototype._complete=function(){for(var e=this.buffers,n=this.destination;e.length>0;){var r=e.shift();r.length>0&&n.next(r)}t.prototype._complete.call(this)},e}(d.v),g=n(1931);function w(t){var e=arguments.length,n=c.b;(0,g.m)(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var r=null;e>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return e>=3&&(i=arguments[2]),function(e){return e.lift(new x(t,r,i,n))}}var x=function(){function t(t,e,n,r){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new S(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),_=function(){return function(){this.buffer=[]}}(),S=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;s.bufferTimeSpan=n,s.bufferCreationInterval=r,s.maxBufferSize=i,s.scheduler=o,s.contexts=[];var u=s.openContext();if(s.timespanOnly=null==r||r<0,s.timespanOnly){var c={subscriber:s,context:u,bufferTimeSpan:n};s.add(u.closeAction=o.schedule(C,n,c))}else{var a={subscriber:s,context:u},l={bufferTimeSpan:n,bufferCreationInterval:r,subscriber:s,scheduler:o};s.add(u.closeAction=o.schedule(N,n,a)),s.add(o.schedule(E,r,l))}return s}return r.C6(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,r=n.length,i=0;i<r;i++){var o=n[i],s=o.buffer;s.push(t),s.length==this.maxBufferSize&&(e=o)}e&&this.onBufferFull(e)},e.prototype._error=function(e){this.contexts.length=0,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts,n=this.destination;e.length>0;){var r=e.shift();n.next(r.buffer)}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan,r={subscriber:this,context:t,bufferTimeSpan:n};this.add(t.closeAction=this.scheduler.schedule(C,n,r))}},e.prototype.openContext=function(){var t=new _;return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)},e}(d.v);function C(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function E(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,r=t.subscriber,i=t.scheduler,o=r.openContext();r.closed||(r.add(o.closeAction=i.schedule(N,n,{subscriber:r,context:o})),this.schedule(t,e))}function N(t){var e=t.subscriber,n=t.context;e.closeContext(n)}var T=n(8252),O=n(7779),P=n(7372);function I(t,e){return function(n){return n.lift(new A(t,e))}}var A=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new j(t,this.openings,this.closingSelector))},t}(),j=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.closingSelector=r,i.contexts=[],i.add((0,O.F)(i,n)),i}return r.C6(e,t),e.prototype._next=function(t){for(var e=this.contexts,n=e.length,r=0;r<n;r++)e[r].buffer.push(t)},e.prototype._error=function(e){for(var n=this.contexts;n.length>0;){var r=n.shift();r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts;e.length>0;){var n=e.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e){t?this.closeBuffer(t):this.openBuffer(e)},e.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},e.prototype.openBuffer=function(t){try{var e=this.closingSelector.call(this,t);e&&this.trySubscribe(e)}catch(t){this._error(t)}},e.prototype.closeBuffer=function(t){var e=this.contexts;if(e&&t){var n=t.buffer,r=t.subscription;this.destination.next(n),e.splice(e.indexOf(t),1),this.remove(r),r.unsubscribe()}},e.prototype.trySubscribe=function(t){var e=this.contexts,n=new T.y,r={buffer:[],subscription:n};e.push(r);var i=(0,O.F)(this,t,r);!i||i.closed?this.closeBuffer(r):(i.context=r,this.add(i),n.add(i))},e}(P.E);function M(t){return function(e){return e.lift(new R(t))}}var R=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new V(t,this.closingSelector))},t}(),V=function(t){function e(e,n){var r=t.call(this,e)||this;return r.closingSelector=n,r.subscribing=!1,r.openBuffer(),r}return r.C6(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype._complete=function(){var e=this.buffer;e&&this.destination.next(e),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.buffer=void 0,this.subscribing=!1},e.prototype.notifyNext=function(){this.openBuffer()},e.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},e.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe());var e,n=this.buffer;this.buffer&&this.destination.next(n),this.buffer=[];try{e=(0,this.closingSelector)()}catch(t){return this.error(t)}t=new T.y,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add((0,i.tS)(e,new i.zA(this))),this.subscribing=!1},e}(i.gn);function k(t){return function(e){var n=new $(t),r=e.lift(n);return n.caught=r}}var $=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new F(t,this.selector,this.caught))},t}(),F=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.selector=n,i.caught=r,i}return r.C6(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(e){return void t.prototype.error.call(this,e)}this._unsubscribeAndRecycle();var r=new i.zA(this);this.add(r);var o=(0,i.tS)(n,r);o!==r&&this.add(o)}},e}(i.gn),D=n(9489);function q(t){return function(e){return e.lift(new D.ZS(t))}}var B=n(7371),L=n(4147);function z(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=null;return"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&(0,B.c)(t[0])&&(t=t[0].slice()),function(e){return e.lift.call((0,L.H)([e].concat(t)),new D.ZS(n))}}var U=n(7403);function W(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(U.x.apply(void 0,[e].concat(t)))}}var H=n(668),J=n(9377);function Y(t,e){return(0,J.ZZ)(t,e,1)}function G(t,e){return Y(function(){return t},e)}function Z(t){return function(e){return e.lift(new K(t,e))}}var K=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new X(t,this.predicate,this.source))},t}(),X=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.source=r,i.count=0,i.index=0,i}return r.C6(e,t),e.prototype._next=function(t){this.predicate?this._tryPredicate(t):this.count++},e.prototype._tryPredicate=function(t){var e;try{e=this.predicate(t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e&&this.count++},e.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},e}(d.v);function Q(t){return function(e){return e.lift(new tt(t))}}var tt=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new et(t,this.durationSelector))},t}(),et=function(t){function e(e,n){var r=t.call(this,e)||this;return r.durationSelector=n,r.hasValue=!1,r}return r.C6(e,t),e.prototype._next=function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.emitValue(),this.destination.complete()},e.prototype._tryNext=function(t,e){var n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),(n=(0,i.tS)(e,new i.zA(this)))&&!n.closed&&this.add(this.durationSubscription=n)},e.prototype.notifyNext=function(){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){if(this.hasValue){var e=this.value,n=this.durationSubscription;n&&(this.durationSubscription=void 0,n.unsubscribe(),this.remove(n)),this.value=void 0,this.hasValue=!1,t.prototype._next.call(this,e)}},e}(i.gn);function nt(t,e){return void 0===e&&(e=c.b),function(n){return n.lift(new rt(t,e))}}var rt=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new it(t,this.dueTime,this.scheduler))},t}(),it=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.dueTime=n,i.scheduler=r,i.debouncedSubscription=null,i.lastValue=null,i.hasValue=!1,i}return r.C6(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(ot,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(d.v);function ot(t){t.debouncedNext()}var st=n(3620);function ut(t){return t instanceof Date&&!isNaN(+t)}var ct=n(5594);function at(t,e){void 0===e&&(e=c.b);var n=ut(t)?+t-e.now():Math.abs(t);return function(t){return t.lift(new lt(n,e))}}var lt=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new ht(t,this.delay,this.scheduler))},t}(),ht=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.delay=n,i.scheduler=r,i.queue=[],i.active=!1,i.errored=!1,i}return r.C6(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,r=t.scheduler,i=t.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.destination.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new ft(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(ct.E.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(ct.E.createComplete()),this.unsubscribe()},e}(d.v),ft=function(){return function(t,e){this.time=t,this.notification=e}}(),pt=n(8183);function dt(t,e){return e?function(n){return new yt(n,e).lift(new bt(t))}:function(e){return e.lift(new bt(t))}}var bt=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new vt(t,this.delayDurationSelector))},t}(),vt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.delayDurationSelector=n,r.completed=!1,r.delayNotifierSubscriptions=[],r.index=0,r}return r.C6(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(t),this.removeSubscription(i),this.tryComplete()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){var e=this.removeSubscription(t);e&&this.destination.next(e),this.tryComplete()},e.prototype._next=function(t){var e=this.index++;try{var n=this.delayDurationSelector(t,e);n&&this.tryDelay(n,t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.completed=!0,this.tryComplete(),this.unsubscribe()},e.prototype.removeSubscription=function(t){t.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(t);return-1!==e&&this.delayNotifierSubscriptions.splice(e,1),t.outerValue},e.prototype.tryDelay=function(t,e){var n=(0,O.F)(this,t,e);n&&!n.closed&&(this.destination.add(n),this.delayNotifierSubscriptions.push(n))},e.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},e}(P.E),yt=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subscriptionDelay=n,r}return r.C6(e,t),e.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new mt(t,this.source))},e}(pt.c),mt=function(t){function e(e,n){var r=t.call(this)||this;return r.parent=e,r.source=n,r.sourceSubscribed=!1,r}return r.C6(e,t),e.prototype._next=function(t){this.subscribeToSource()},e.prototype._error=function(t){this.unsubscribe(),this.parent.error(t)},e.prototype._complete=function(){this.unsubscribe(),this.subscribeToSource()},e.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},e}(d.v);function gt(){return function(t){return t.lift(new wt)}}var wt=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new xt(t))},t}(),xt=function(t){function e(e){return t.call(this,e)||this}return r.C6(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(d.v);function _t(t,e){return function(n){return n.lift(new St(t,e))}}var St=function(){function t(t,e){this.keySelector=t,this.flushes=e}return t.prototype.call=function(t,e){return e.subscribe(new Ct(t,this.keySelector,this.flushes))},t}(),Ct=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.keySelector=n,o.values=new Set,r&&o.add((0,i.tS)(r,new i.zA(o))),o}return r.C6(e,t),e.prototype.notifyNext=function(){this.values.clear()},e.prototype.notifyError=function(t){this._error(t)},e.prototype._next=function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)},e.prototype._useKeySelector=function(t){var e,n=this.destination;try{e=this.keySelector(t)}catch(t){return void n.error(t)}this._finalizeNext(e,t)},e.prototype._finalizeNext=function(t,e){var n=this.values;n.has(t)||(n.add(t),this.destination.next(e))},e}(i.gn),Et=n(9919);function Nt(t,e){return(0,Et.F)(function(n,r){return e?e(n[t],r[t]):n[t]===r[t]})}var Tt=n(1515),Ot=n(7377),Pt=n(9471),It=n(3860);function At(t,e){if(t<0)throw new Tt.k;var n=arguments.length>=2;return function(r){return r.pipe((0,Ot.p)(function(e,n){return n===t}),(0,It.s)(1),n?(0,st.U)(e):(0,Pt.v)(function(){return new Tt.k}))}}var jt=n(3550);function Mt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return(0,U.x)(e,jt.of.apply(void 0,t))}}function Rt(t,e){return function(n){return n.lift(new Vt(t,e,n))}}var Vt=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new kt(t,this.predicate,this.thisArg,this.source))},t}(),kt=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=r,o.source=i,o.index=0,o.thisArg=r||o,o}return r.C6(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(d.v);function $t(){return function(t){return t.lift(new Ft)}}var Ft=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Dt(t))},t}(),Dt=function(t){function e(e){var n=t.call(this,e)||this;return n.hasCompleted=!1,n.hasSubscription=!1,n}return r.C6(e,t),e.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add((0,i.tS)(t,new i.zA(this))))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyComplete=function(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(i.gn),qt=n(5693);function Bt(t,e){return e?function(n){return n.pipe(Bt(function(n,r){return(0,L.H)(t(n,r)).pipe((0,qt.T)(function(t,i){return e(n,t,r,i)}))}))}:function(e){return e.lift(new Lt(t))}}var Lt=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new zt(t,this.project))},t}(),zt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.hasSubscription=!1,r.hasCompleted=!1,r.index=0,r}return r.C6(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this.hasSubscription=!0,this._innerSub(e)},e.prototype._innerSub=function(t){var e=new i.zA(this),n=this.destination;n.add(e);var r=(0,i.tS)(t,e);r!==e&&n.add(r)},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(i.gn);function Ut(t,e,n){return void 0===e&&(e=Number.POSITIVE_INFINITY),e=(e||0)<1?Number.POSITIVE_INFINITY:e,function(r){return r.lift(new Wt(t,e,n))}}var Wt=function(){function t(t,e,n){this.project=t,this.concurrent=e,this.scheduler=n}return t.prototype.call=function(t,e){return e.subscribe(new Ht(t,this.project,this.concurrent,this.scheduler))},t}(),Ht=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.project=n,o.concurrent=r,o.scheduler=i,o.index=0,o.active=0,o.hasCompleted=!1,r<Number.POSITIVE_INFINITY&&(o.buffer=[]),o}return r.C6(e,t),e.dispatch=function(t){var e=t.subscriber,n=t.result,r=t.value,i=t.index;e.subscribeToProjection(n,r,i)},e.prototype._next=function(t){var n=this.destination;if(n.closed)this._complete();else{var r=this.index++;if(this.active<this.concurrent){n.next(t);try{var i=(0,this.project)(t,r);if(this.scheduler){var o={subscriber:this,result:i,value:t,index:r};this.destination.add(this.scheduler.schedule(e.dispatch,0,o))}else this.subscribeToProjection(i,t,r)}catch(t){n.error(t)}}else this.buffer.push(t)}},e.prototype.subscribeToProjection=function(t,e,n){this.active++,this.destination.add((0,i.tS)(t,new i.zA(this)))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t){this._next(t)},e.prototype.notifyComplete=function(){var t=this.buffer;this.active--,t&&t.length>0&&this._next(t.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(i.gn);function Jt(t){return function(e){return e.lift(new Yt(t))}}var Yt=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new Gt(t,this.callback))},t}(),Gt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new T.y(n)),r}return r.C6(e,t),e}(d.v);function Zt(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return function(n){return n.lift(new Kt(t,n,!1,e))}}var Kt=function(){function t(t,e,n,r){this.predicate=t,this.source=e,this.yieldIndex=n,this.thisArg=r}return t.prototype.call=function(t,e){return e.subscribe(new Xt(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}(),Xt=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;return s.predicate=n,s.source=r,s.yieldIndex=i,s.thisArg=o,s.index=0,s}return r.C6(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete(),this.unsubscribe()},e.prototype._next=function(t){var e=this.predicate,n=this.thisArg,r=this.index++;try{e.call(n||this,t,r,this.source)&&this.notifyComplete(this.yieldIndex?r:t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(d.v);function Qt(t,e){return function(n){return n.lift(new Kt(t,n,!0,e))}}var te=n(4517),ee=n(8229);function ne(){return function(t){return t.lift(new re)}}var re=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new ie(t))},t}(),ie=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.C6(e,t),e.prototype._next=function(t){},e}(d.v);function oe(){return function(t){return t.lift(new se)}}var se=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new ue(t))},t}(),ue=function(t){function e(e){return t.call(this,e)||this}return r.C6(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(d.v),ce=n(7649),ae=n(46);function le(t){return function(e){return 0===t?(0,ae.I)():e.lift(new he(t))}}var he=function(){function t(t){if(this.total=t,this.total<0)throw new Tt.k}return t.prototype.call=function(t,e){return e.subscribe(new fe(t,this.total))},t}(),fe=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.ring=new Array,r.count=0,r}return r.C6(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length<n?e.push(t):e[r%n]=t},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i<n;i++){var o=e++%n;t.next(r[o])}t.complete()},e}(d.v),pe=n(8958);function de(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?(0,Ot.p)(function(e,n){return t(e,n,r)}):pe.D,le(1),n?(0,st.U)(e):(0,Pt.v)(function(){return new ce.G}))}}function be(t){return function(e){return e.lift(new ve(t))}}var ve=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new ye(t,this.value))},t}(),ye=function(t){function e(e,n){var r=t.call(this,e)||this;return r.value=n,r}return r.C6(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(d.v);function me(){return function(t){return t.lift(new ge)}}var ge=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new we(t))},t}(),we=function(t){function e(e){return t.call(this,e)||this}return r.C6(e,t),e.prototype._next=function(t){this.destination.next(ct.E.createNext(t))},e.prototype._error=function(t){var e=this.destination;e.next(ct.E.createError(t)),e.complete()},e.prototype._complete=function(){var t=this.destination;t.next(ct.E.createComplete()),t.complete()},e}(d.v);function xe(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new _e(t,e,n))}}var _e=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new Se(t,this.accumulator,this.seed,this.hasSeed))},t}(),Se=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return r.C6(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(d.v),Ce=n(5020);function Ee(t,e){return arguments.length>=2?function(n){return(0,Ce.F)(xe(t,e),le(1),(0,st.U)(e))(n)}:function(e){return(0,Ce.F)(xe(function(e,n,r){return t(e,n,r+1)}),le(1))(e)}}function Ne(t){return Ee("function"==typeof t?function(e,n){return t(e,n)>0?e:n}:function(t,e){return t>e?t:e})}var Te=n(2151);function Oe(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(Te.h.apply(void 0,[e].concat(t)))}}var Pe=n(1520);function Ie(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?(0,J.ZZ)(function(){return t},e,n):("number"==typeof e&&(n=e),(0,J.ZZ)(function(){return t},n))}function Ae(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(r){return r.lift(new je(t,e,n))}}var je=function(){function t(t,e,n){this.accumulator=t,this.seed=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new Me(t,this.accumulator,this.seed,this.concurrent))},t}(),Me=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.accumulator=n,o.acc=r,o.concurrent=i,o.hasValue=!1,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return r.C6(e,t),e.prototype._next=function(t){if(this.active<this.concurrent){var e=this.index++,n=this.destination,r=void 0;try{r=(0,this.accumulator)(this.acc,t,e)}catch(t){return n.error(t)}this.active++,this._innerSub(r)}else this.buffer.push(t)},e.prototype._innerSub=function(t){var e=new i.zA(this),n=this.destination;n.add(e);var r=(0,i.tS)(t,e);r!==e&&n.add(r)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete()),this.unsubscribe()},e.prototype.notifyNext=function(t){var e=this.destination;this.acc=t,this.hasValue=!0,e.next(t)},e.prototype.notifyComplete=function(){var t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(i.gn);function Re(t){return Ee("function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t<e?t:e})}var Ve=n(5308);function ke(t,e){return function(n){var r;if(r="function"==typeof t?t:function(){return t},"function"==typeof e)return n.lift(new $e(r,e));var i=Object.create(n,Ve.f);return i.source=n,i.subjectFactory=r,i}}var $e=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),i=n(r).subscribe(t);return i.add(e.subscribe(r)),i},t}(),Fe=n(1842);function De(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&(0,B.c)(t[0])&&(t=t[0]),function(e){return e.lift(new qe(t))}}var qe=function(){function t(t){this.nextSources=t}return t.prototype.call=function(t,e){return e.subscribe(new Be(t,this.nextSources))},t}(),Be=function(t){function e(e,n){var r=t.call(this,e)||this;return r.destination=e,r.nextSources=n,r}return r.C6(e,t),e.prototype.notifyError=function(){this.subscribeToNextSource()},e.prototype.notifyComplete=function(){this.subscribeToNextSource()},e.prototype._error=function(t){this.subscribeToNextSource(),this.unsubscribe()},e.prototype._complete=function(){this.subscribeToNextSource(),this.unsubscribe()},e.prototype.subscribeToNextSource=function(){var t=this.nextSources.shift();if(t){var e=new i.zA(this),n=this.destination;n.add(e);var r=(0,i.tS)(t,e);r!==e&&n.add(r)}else this.destination.complete()},e}(i.gn),Le=n(9143),ze=n(163);function Ue(t,e){return function(n){return[(0,Ot.p)(t,e)(n),(0,Ot.p)((0,ze.A)(t,e))(n)]}}function We(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t.length;if(0===n)throw new Error("list of properties cannot be empty.");return function(e){return(0,qt.T)(function(t,e){return function(n){for(var r=n,i=0;i<e;i++){var o=null!=r?r[t[i]]:void 0;if(void 0===o)return;r=o}return r}}(t,n))(e)}}var He=n(2521);function Je(t){return t?ke(function(){return new He.B7},t):ke(new He.B7)}var Ye=n(1891);function Ge(t){return function(e){return ke(new Ye.t(t))(e)}}var Ze=n(6885);function Ke(){return function(t){return ke(new Ze.h)(t)}}var Xe=n(572);function Qe(t,e,n,r){n&&"function"!=typeof n&&(r=n);var i="function"==typeof n?n:void 0,o=new Xe.m(t,e,r);return function(t){return ke(function(){return o},i)(t)}}var tn=n(506);function en(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return 1===t.length&&(0,B.c)(t[0])&&(t=t[0]),e.lift.call(tn.O4.apply(void 0,[e].concat(t)))}}function nn(t){return void 0===t&&(t=-1),function(e){return 0===t?(0,ae.I)():t<0?e.lift(new rn(-1,e)):e.lift(new rn(t-1,e))}}var rn=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new on(t,this.count,this.source))},t}(),on=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.count=n,i.source=r,i}return r.C6(e,t),e.prototype.complete=function(){if(!this.isStopped){var e=this.source,n=this.count;if(0===n)return t.prototype.complete.call(this);n>-1&&(this.count=n-1),e.subscribe(this._unsubscribeAndRecycle())}},e}(d.v);function sn(t){return function(e){return e.lift(new un(t))}}var un=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new cn(t,this.notifier,e))},t}(),cn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.notifier=n,i.source=r,i.sourceIsBeingSubscribedTo=!0,i}return r.C6(e,t),e.prototype.notifyNext=function(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return t.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next(void 0)}},e.prototype._unsubscribe=function(){var t=this.notifications,e=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0},e.prototype._unsubscribeAndRecycle=function(){var e=this._unsubscribe;return this._unsubscribe=null,t.prototype._unsubscribeAndRecycle.call(this),this._unsubscribe=e,this},e.prototype.subscribeToRetries=function(){var e;this.notifications=new He.B7;try{e=(0,this.notifier)(this.notifications)}catch(e){return t.prototype.complete.call(this)}this.retries=e,this.retriesSubscription=(0,i.tS)(e,new i.zA(this))},e}(i.gn);function an(t){return void 0===t&&(t=-1),function(e){return e.lift(new ln(t,e))}}var ln=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new hn(t,this.count,this.source))},t}(),hn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.count=n,i.source=r,i}return r.C6(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.source,r=this.count;if(0===r)return t.prototype.error.call(this,e);r>-1&&(this.count=r-1),n.subscribe(this._unsubscribeAndRecycle())}},e}(d.v);function fn(t){return function(e){return e.lift(new pn(t,e))}}var pn=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new dn(t,this.notifier,this.source))},t}(),dn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.notifier=n,i.source=r,i}return r.C6(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.errors,r=this.retries,o=this.retriesSubscription;if(r)this.errors=void 0,this.retriesSubscription=void 0;else{n=new He.B7;try{r=(0,this.notifier)(n)}catch(e){return t.prototype.error.call(this,e)}o=(0,i.tS)(r,new i.zA(this))}this._unsubscribeAndRecycle(),this.errors=n,this.retries=r,this.retriesSubscription=o,n.next(e)}},e.prototype._unsubscribe=function(){var t=this.errors,e=this.retriesSubscription;t&&(t.unsubscribe(),this.errors=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0},e.prototype.notifyNext=function(){var t=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=t,this.source.subscribe(this)},e}(i.gn),bn=n(6991);function vn(t){return function(e){return e.lift(new yn(t))}}var yn=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new mn(t),r=e.subscribe(n);return r.add((0,i.tS)(this.notifier,new i.zA(n))),r},t}(),mn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasValue=!1,e}return r.C6(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(i.gn);function gn(t,e){return void 0===e&&(e=c.b),function(n){return n.lift(new wn(t,e))}}var wn=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new xn(t,this.period,this.scheduler))},t}(),xn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.period=n,i.scheduler=r,i.hasValue=!1,i.add(r.schedule(_n,n,{subscriber:i,period:n})),i}return r.C6(e,t),e.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},e}(d.v);function _n(t){var e=t.subscriber,n=t.period;e.notifyNext(),this.schedule(t,n)}function Sn(t,e){return function(n){return n.lift(new Cn(t,e))}}var Cn=function(){function t(t,e){this.compareTo=t,this.comparator=e}return t.prototype.call=function(t,e){return e.subscribe(new En(t,this.compareTo,this.comparator))},t}(),En=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.compareTo=n,i.comparator=r,i._a=[],i._b=[],i._oneComplete=!1,i.destination.add(n.subscribe(new Nn(e,i))),i}return r.C6(e,t),e.prototype._next=function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())},e.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()},e.prototype.checkValues=function(){for(var t=this,e=t._a,n=t._b,r=t.comparator;e.length>0&&n.length>0;){var i=e.shift(),o=n.shift(),s=!1;try{s=r?r(i,o):i===o}catch(t){this.destination.error(t)}s||this.emit(!1)}},e.prototype.emit=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},e.prototype.completeB=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},e}(d.v),Nn=function(t){function e(e,n){var r=t.call(this,e)||this;return r.parent=n,r}return r.C6(e,t),e.prototype._next=function(t){this.parent.nextB(t)},e.prototype._error=function(t){this.parent.error(t),this.unsubscribe()},e.prototype._complete=function(){this.parent.completeB(),this.unsubscribe()},e}(d.v);function Tn(){return new He.B7}function On(){return function(t){return(0,bn.B)()(ke(Tn)(t))}}function Pn(t,e,n){var r;return r=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},function(t){return t.lift(function(t){var e,n,r=t.bufferSize,i=void 0===r?Number.POSITIVE_INFINITY:r,o=t.windowTime,s=void 0===o?Number.POSITIVE_INFINITY:o,u=t.refCount,c=t.scheduler,a=0,l=!1,h=!1;return function(t){var r;a++,!e||l?(l=!1,e=new Xe.m(i,s,c),r=e.subscribe(this),n=t.subscribe({next:function(t){e.next(t)},error:function(t){l=!0,e.error(t)},complete:function(){h=!0,n=void 0,e.complete()}}),h&&(n=void 0)):r=e.subscribe(this),this.add(function(){a--,r.unsubscribe(),r=void 0,n&&!h&&u&&0===a&&(n.unsubscribe(),n=void 0,e=void 0)})}}(r))}}function In(t){return function(e){return e.lift(new An(t,e))}}var An=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new jn(t,this.predicate,this.source))},t}(),jn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.source=r,i.seenValue=!1,i.index=0,i}return r.C6(e,t),e.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},e.prototype._next=function(t){var e=this.index++;this.predicate?this.tryNext(t,e):this.applySingleValue(t)},e.prototype.tryNext=function(t,e){try{this.predicate(t,e,this.source)&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new ce.G)},e}(d.v);function Mn(t){return function(e){return e.lift(new Rn(t))}}var Rn=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new Vn(t,this.total))},t}(),Vn=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.C6(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(d.v);function kn(t){return function(e){return e.lift(new $n(t))}}var $n=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new Tt.k}return t.prototype.call=function(t,e){return 0===this._skipCount?e.subscribe(new d.v(t)):e.subscribe(new Fn(t,this._skipCount))},t}(),Fn=function(t){function e(e,n){var r=t.call(this,e)||this;return r._skipCount=n,r._count=0,r._ring=new Array(n),r}return r.C6(e,t),e.prototype._next=function(t){var e=this._skipCount,n=this._count++;if(n<e)this._ring[n]=t;else{var r=n%e,i=this._ring,o=i[r];i[r]=t,this.destination.next(o)}},e}(d.v);function Dn(t){return function(e){return e.lift(new qn(t))}}var qn=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new Bn(t,this.notifier))},t}(),Bn=function(t){function e(e,n){var r=t.call(this,e)||this;r.hasValue=!1;var o=new i.zA(r);r.add(o),r.innerSubscription=o;var s=(0,i.tS)(n,o);return s!==o&&(r.add(s),r.innerSubscription=s),r}return r.C6(e,t),e.prototype._next=function(e){this.hasValue&&t.prototype._next.call(this,e)},e.prototype.notifyNext=function(){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()},e.prototype.notifyComplete=function(){},e}(i.gn);function Ln(t){return function(e){return e.lift(new zn(t))}}var zn=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new Un(t,this.predicate))},t}(),Un=function(t){function e(e,n){var r=t.call(this,e)||this;return r.predicate=n,r.skipping=!0,r.index=0,r}return r.C6(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(d.v);function Wn(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return(0,g.m)(n)?(t.pop(),function(e){return(0,U.x)(t,e,n)}):function(e){return(0,U.x)(t,e)}}var Hn=n(7474),Jn=n(6381),Yn=function(t){function e(e,n,r){void 0===n&&(n=0),void 0===r&&(r=Hn.I);var i=t.call(this)||this;return i.source=e,i.delayTime=n,i.scheduler=r,(!(0,Jn.k)(n)||n<0)&&(i.delayTime=0),r&&"function"==typeof r.schedule||(i.scheduler=Hn.I),i}return r.C6(e,t),e.create=function(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=Hn.I),new e(t,n,r)},e.dispatch=function(t){var e=t.source,n=t.subscriber;return this.add(e.subscribe(n))},e.prototype._subscribe=function(t){var n=this.delayTime,r=this.source;return this.scheduler.schedule(e.dispatch,n,{source:r,subscriber:t})},e}(pt.c);function Gn(t,e){return void 0===e&&(e=0),function(n){return n.lift(new Zn(t,e))}}var Zn=function(){function t(t,e){this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return new Yn(e,this.delay,this.scheduler).subscribe(t)},t}();function Kn(t,e){return"function"==typeof e?function(n){return n.pipe(Kn(function(n,r){return(0,L.H)(t(n,r)).pipe((0,qt.T)(function(t,i){return e(n,t,r,i)}))}))}:function(e){return e.lift(new Xn(t))}}var Xn=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Qn(t,this.project))},t}(),Qn=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.index=0,r}return r.C6(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e)},e.prototype._innerSub=function(t){var e=this.innerSubscription;e&&e.unsubscribe();var n=new i.zA(this),r=this.destination;r.add(n),this.innerSubscription=(0,i.tS)(t,n),this.innerSubscription!==n&&r.add(this.innerSubscription)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=void 0},e.prototype.notifyComplete=function(){this.innerSubscription=void 0,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t){this.destination.next(t)},e}(i.gn);function tr(){return Kn(pe.D)}function er(t,e){return e?Kn(function(){return t},e):Kn(function(){return t})}function nr(t){return function(e){return e.lift(new rr(t))}}var rr=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new ir(t),r=(0,i.tS)(this.notifier,new i.zA(n));return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n},t}(),ir=function(t){function e(e){var n=t.call(this,e)||this;return n.seenValue=!1,n}return r.C6(e,t),e.prototype.notifyNext=function(){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(i.gn);function or(t,e){return void 0===e&&(e=!1),function(n){return n.lift(new sr(t,e))}}var sr=function(){function t(t,e){this.predicate=t,this.inclusive=e}return t.prototype.call=function(t,e){return e.subscribe(new ur(t,this.predicate,this.inclusive))},t}(),ur=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.inclusive=r,i.index=0,i}return r.C6(e,t),e.prototype._next=function(t){var e,n=this.destination;try{e=this.predicate(t,this.index++)}catch(t){return void n.error(t)}this.nextOrComplete(t,e)},e.prototype.nextOrComplete=function(t,e){var n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())},e}(d.v),cr=n(5980),ar=n(8764);function lr(t,e,n){return function(r){return r.lift(new hr(t,e,n))}}var hr=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new fr(t,this.nextOrObserver,this.error,this.complete))},t}(),fr=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o._tapNext=cr.l,o._tapError=cr.l,o._tapComplete=cr.l,o._tapError=r||cr.l,o._tapComplete=i||cr.l,(0,ar.T)(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||cr.l,o._tapError=n.error||cr.l,o._tapComplete=n.complete||cr.l),o}return r.C6(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(d.v),pr={leading:!0,trailing:!1};function dr(t,e){return void 0===e&&(e=pr),function(n){return n.lift(new br(t,!!e.leading,!!e.trailing))}}var br=function(){function t(t,e,n){this.durationSelector=t,this.leading=e,this.trailing=n}return t.prototype.call=function(t,e){return e.subscribe(new vr(t,this.durationSelector,this.leading,this.trailing))},t}(),vr=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.destination=e,o.durationSelector=n,o._leading=r,o._trailing=i,o._hasValue=!1,o}return r.C6(e,t),e.prototype._next=function(t){this._hasValue=!0,this._sendValue=t,this._throttled||(this._leading?this.send():this.throttle(t))},e.prototype.send=function(){var t=this._hasValue,e=this._sendValue;t&&(this.destination.next(e),this.throttle(e)),this._hasValue=!1,this._sendValue=void 0},e.prototype.throttle=function(t){var e=this.tryDurationSelector(t);e&&this.add(this._throttled=(0,i.tS)(e,new i.zA(this)))},e.prototype.tryDurationSelector=function(t){try{return this.durationSelector(t)}catch(t){return this.destination.error(t),null}},e.prototype.throttlingDone=function(){var t=this._throttled,e=this._trailing;t&&t.unsubscribe(),this._throttled=void 0,e&&this.send()},e.prototype.notifyNext=function(){this.throttlingDone()},e.prototype.notifyComplete=function(){this.throttlingDone()},e}(i.gn);function yr(t,e,n){return void 0===e&&(e=c.b),void 0===n&&(n=pr),function(r){return r.lift(new mr(t,e,n.leading,n.trailing))}}var mr=function(){function t(t,e,n,r){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=r}return t.prototype.call=function(t,e){return e.subscribe(new gr(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),gr=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;return s.duration=n,s.scheduler=r,s.leading=i,s.trailing=o,s._hasTrailingValue=!1,s._trailingValue=null,s}return r.C6(e,t),e.prototype._next=function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(wr,this.duration,{subscriber:this})),this.leading?this.destination.next(t):this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0))},e.prototype._complete=function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()},e.prototype.clearThrottle=function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)},e}(d.v);function wr(t){t.subscriber.clearThrottle()}var xr=n(2791);function _r(t){return void 0===t&&(t=c.b),function(e){return(0,xr.v)(function(){return e.pipe(xe(function(e,n){var r=e.current;return{value:n,current:t.now(),last:r}},{current:t.now(),value:void 0,last:void 0}),(0,qt.T)(function(t){var e=t.current,n=t.last,r=t.value;return new Sr(r,e-n)}))})}}var Sr=function(){return function(t,e){this.value=t,this.interval=e}}(),Cr=n(7103);function Er(t,e,n){return void 0===n&&(n=c.b),function(r){var i=ut(t),o=i?+t-n.now():Math.abs(t);return r.lift(new Nr(o,i,e,n))}}var Nr=function(){function t(t,e,n,r){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new Tr(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},t}(),Tr=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;return s.absoluteTimeout=n,s.waitFor=r,s.withObservable=i,s.scheduler=o,s.scheduleTimeout(),s}return r.C6(e,t),e.dispatchTimeout=function(t){var e=t.withObservable;t._unsubscribeAndRecycle(),t.add((0,i.tS)(e,new i.zA(t)))},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=void 0,this.scheduler=null,this.withObservable=null},e}(i.gn),Or=n(7517);function Pr(t,e){return void 0===e&&(e=c.b),Er(t,(0,Or.$)(new Cr.M),e)}function Ir(t){return void 0===t&&(t=c.b),(0,qt.T)(function(e){return new Ar(e,t.now())})}var Ar=function(){return function(t,e){this.value=t,this.timestamp=e}}();function jr(t,e,n){return 0===n?[e]:(t.push(e),t)}function Mr(){return Ee(jr,[])}function Rr(t){return function(e){return e.lift(new Vr(t))}}var Vr=function(){function t(t){this.windowBoundaries=t}return t.prototype.call=function(t,e){var n=new kr(t),r=e.subscribe(n);return r.closed||n.add((0,i.tS)(this.windowBoundaries,new i.zA(n))),r},t}(),kr=function(t){function e(e){var n=t.call(this,e)||this;return n.window=new He.B7,e.next(n.window),n}return r.C6(e,t),e.prototype.notifyNext=function(){this.openWindow()},e.prototype.notifyError=function(t){this._error(t)},e.prototype.notifyComplete=function(){this._complete()},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t)},e.prototype._complete=function(){this.window.complete(),this.destination.complete()},e.prototype._unsubscribe=function(){this.window=null},e.prototype.openWindow=function(){var t=this.window;t&&t.complete();var e=this.destination,n=this.window=new He.B7;e.next(n)},e}(i.gn);function $r(t,e){return void 0===e&&(e=0),function(n){return n.lift(new Fr(t,e))}}var Fr=function(){function t(t,e){this.windowSize=t,this.startWindowEvery=e}return t.prototype.call=function(t,e){return e.subscribe(new Dr(t,this.windowSize,this.startWindowEvery))},t}(),Dr=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.destination=e,i.windowSize=n,i.startWindowEvery=r,i.windows=[new He.B7],i.count=0,e.next(i.windows[0]),i}return r.C6(e,t),e.prototype._next=function(t){for(var e=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,n=this.destination,r=this.windowSize,i=this.windows,o=i.length,s=0;s<o&&!this.closed;s++)i[s].next(t);var u=this.count-r+1;if(u>=0&&u%e===0&&!this.closed&&i.shift().complete(),++this.count%e===0&&!this.closed){var c=new He.B7;i.push(c),n.next(c)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(d.v);function qr(t){var e=c.b,n=null,r=Number.POSITIVE_INFINITY;return(0,g.m)(arguments[3])&&(e=arguments[3]),(0,g.m)(arguments[2])?e=arguments[2]:(0,Jn.k)(arguments[2])&&(r=Number(arguments[2])),(0,g.m)(arguments[1])?e=arguments[1]:(0,Jn.k)(arguments[1])&&(n=Number(arguments[1])),function(i){return i.lift(new Br(t,n,r,e))}}var Br=function(){function t(t,e,n,r){this.windowTimeSpan=t,this.windowCreationInterval=e,this.maxWindowSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new zr(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),Lr=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._numberOfNextedValues=0,e}return r.C6(e,t),e.prototype.next=function(e){this._numberOfNextedValues++,t.prototype.next.call(this,e)},Object.defineProperty(e.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),e}(He.B7),zr=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;s.destination=e,s.windowTimeSpan=n,s.windowCreationInterval=r,s.maxWindowSize=i,s.scheduler=o,s.windows=[];var u=s.openWindow();if(null!==r&&r>=0){var c={subscriber:s,window:u,context:null},a={windowTimeSpan:n,windowCreationInterval:r,subscriber:s,scheduler:o};s.add(o.schedule(Hr,n,c)),s.add(o.schedule(Wr,r,a))}else{var l={subscriber:s,window:u,windowTimeSpan:n};s.add(o.schedule(Ur,n,l))}return s}return r.C6(e,t),e.prototype._next=function(t){for(var e=this.windows,n=e.length,r=0;r<n;r++){var i=e[r];i.closed||(i.next(t),i.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(i))}},e.prototype._error=function(t){for(var e=this.windows;e.length>0;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){for(var t=this.windows;t.length>0;){var e=t.shift();e.closed||e.complete()}this.destination.complete()},e.prototype.openWindow=function(){var t=new Lr;return this.windows.push(t),this.destination.next(t),t},e.prototype.closeWindow=function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)},e}(d.v);function Ur(t){var e=t.subscriber,n=t.windowTimeSpan,r=t.window;r&&e.closeWindow(r),t.window=e.openWindow(),this.schedule(t,n)}function Wr(t){var e=t.windowTimeSpan,n=t.subscriber,r=t.scheduler,i=t.windowCreationInterval,o=n.openWindow(),s=this,u={action:s,subscription:null},c={subscriber:n,window:o,context:u};u.subscription=r.schedule(Hr,e,c),s.add(u.subscription),s.schedule(t,i)}function Hr(t){var e=t.subscriber,n=t.window,r=t.context;r&&r.action&&r.subscription&&r.action.remove(r.subscription),e.closeWindow(n)}function Jr(t,e){return function(n){return n.lift(new Yr(t,e))}}var Yr=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new Gr(t,this.openings,this.closingSelector))},t}(),Gr=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.openings=n,i.closingSelector=r,i.contexts=[],i.add(i.openSubscription=(0,O.F)(i,n,n)),i}return r.C6(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,r=0;r<n;r++)e[r].window.next(t)},e.prototype._error=function(e){var n=this.contexts;if(this.contexts=null,n)for(var r=n.length,i=-1;++i<r;){var o=n[i];o.window.error(e),o.subscription.unsubscribe()}t.prototype._error.call(this,e)},e.prototype._complete=function(){var e=this.contexts;if(this.contexts=null,e)for(var n=e.length,r=-1;++r<n;){var i=e[r];i.window.complete(),i.subscription.unsubscribe()}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.contexts;if(this.contexts=null,t)for(var e=t.length,n=-1;++n<e;){var r=t[n];r.window.unsubscribe(),r.subscription.unsubscribe()}},e.prototype.notifyNext=function(t,e,n,r,i){if(t===this.openings){var o=void 0;try{o=(0,this.closingSelector)(e)}catch(t){return this.error(t)}var s=new He.B7,u=new T.y,c={window:s,subscription:u};this.contexts.push(c);var a=(0,O.F)(this,o,c);a.closed?this.closeWindow(this.contexts.length-1):(a.context=c,u.add(a)),this.destination.next(s)}else this.closeWindow(this.contexts.indexOf(t))},e.prototype.notifyError=function(t){this.error(t)},e.prototype.notifyComplete=function(t){t!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(t.context))},e.prototype.closeWindow=function(t){if(-1!==t){var e=this.contexts,n=e[t],r=n.window,i=n.subscription;e.splice(t,1),r.complete(),i.unsubscribe()}},e}(P.E);function Zr(t){return function(e){return e.lift(new Kr(t))}}var Kr=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Xr(t,this.closingSelector))},t}(),Xr=function(t){function e(e,n){var r=t.call(this,e)||this;return r.destination=e,r.closingSelector=n,r.openWindow(),r}return r.C6(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.openWindow(i)},e.prototype.notifyError=function(t){this._error(t)},e.prototype.notifyComplete=function(t){this.openWindow(t)},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t),this.unsubscribeClosingNotification()},e.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},e.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},e.prototype.openWindow=function(t){void 0===t&&(t=null),t&&(this.remove(t),t.unsubscribe());var e=this.window;e&&e.complete();var n,r=this.window=new He.B7;this.destination.next(r);try{n=(0,this.closingSelector)()}catch(t){return this.destination.error(t),void this.window.error(t)}this.add(this.closingNotification=(0,O.F)(this,n))},e}(P.E);function Qr(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n;"function"==typeof t[t.length-1]&&(n=t.pop());var r=t;return e.lift(new ti(r,n))}}var ti=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new ei(t,this.observables,this.project))},t}(),ei=function(t){function e(e,n,r){var i=t.call(this,e)||this;i.observables=n,i.project=r,i.toRespond=[];var o=n.length;i.values=new Array(o);for(var s=0;s<o;s++)i.toRespond.push(s);for(s=0;s<o;s++){var u=n[s];i.add((0,O.F)(i,u,void 0,s))}return i}return r.C6(e,t),e.prototype.notifyNext=function(t,e,n){this.values[n]=e;var r=this.toRespond;if(r.length>0){var i=r.indexOf(n);-1!==i&&r.splice(i,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(P.E),ni=n(8272);function ri(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(ni.yU.apply(void 0,[e].concat(t)))}}function ii(t){return function(e){return e.lift(new ni.ee(t))}}},1604:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(8575);e.skip=function(t){return function(e){return e.lift(new s(t))}};var s=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.total))},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return i(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(o.Subscriber)},1842:(t,e,n)=>{"use strict";n.d(e,{QE:()=>s,YZ:()=>c});var r=n(5785),i=n(8243),o=n(5594);function s(t,e){return void 0===e&&(e=0),function(n){return n.lift(new u(t,e))}}var u=function(){function t(t,e){void 0===e&&(e=0),this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.scheduler,this.delay))},t}(),c=function(t){function e(e,n,r){void 0===r&&(r=0);var i=t.call(this,e)||this;return i.scheduler=n,i.delay=r,i}return r.C6(e,t),e.dispatch=function(t){var e=t.notification,n=t.destination;e.observe(n),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new a(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(o.E.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(o.E.createError(t)),this.unsubscribe()},e.prototype._complete=function(){this.scheduleMessage(o.E.createComplete()),this.unsubscribe()},e}(i.v),a=function(){return function(t,e){this.notification=t,this.destination=e}}()},1891:(t,e,n)=>{"use strict";n.d(e,{t:()=>s});var r=n(5785),i=n(2521),o=n(9776),s=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return r.C6(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new o.P;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(i.B7)},1908:(t,e,n)=>{"use strict";n.d(e,{_:()=>r});var r=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=function(){return Date.now()},t}()},1931:(t,e,n)=>{"use strict";function r(t){return t&&"function"==typeof t.schedule}n.d(e,{m:()=>r})},2013:(t,e,n)=>{"use strict";n.d(e,{s:()=>r});var r=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}()},2151:(t,e,n)=>{"use strict";n.d(e,{h:()=>u});var r=n(8183),i=n(1931),o=n(1520),s=n(5090);function u(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,u=null,c=t[t.length-1];return(0,i.m)(c)?(u=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof c&&(n=t.pop()),null===u&&1===t.length&&t[0]instanceof r.c?t[0]:(0,o.U)(n)((0,s.c)(t,u))}},2347:(t,e,n)=>{"use strict";n.d(e,{$:()=>i});var r=!1,i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){t&&(new Error).stack,r=t},get useDeprecatedSynchronousErrorHandling(){return r}}},2450:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var r=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}()},2471:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isArray=Array.isArray||function(t){return t&&"number"==typeof t.length}},2521:(t,e,n)=>{"use strict";n.d(e,{B7:()=>h,PJ:()=>l});var r=n(5785),i=n(8183),o=n(8243),s=n(8252),u=n(9776),c=n(6024),a=n(3992),l=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return r.C6(e,t),e}(o.v),h=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return r.C6(e,t),e.prototype[a.D]=function(){return new l(this)},e.prototype.lift=function(t){var e=new f(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new u.P;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].next(t)},e.prototype.error=function(t){if(this.closed)throw new u.P;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new u.P;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new u.P;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new u.P;return this.hasError?(t.error(this.thrownError),s.y.EMPTY):this.isStopped?(t.complete(),s.y.EMPTY):(this.observers.push(t),new c.Y(this,t))},e.prototype.asObservable=function(){var t=new i.c;return t.source=this,t},e.create=function(t,e){return new f(t,e)},e}(i.c),f=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return r.C6(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):s.y.EMPTY},e}(h)},2791:(t,e,n)=>{"use strict";n.d(e,{v:()=>s});var r=n(8183),i=n(4147),o=n(46);function s(t){return new r.c(function(e){var n;try{n=t()}catch(t){return void e.error(t)}return(n?(0,i.H)(n):(0,o.I)()).subscribe(e)})}},3155:(t,e,n)=>{"use strict";function r(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,{y:()=>r})},3163:(t,e,n)=>{"use strict";function r(t){return null!==t&&"object"==typeof t}n.d(e,{G:()=>r})},3488:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isFunction=function(t){return"function"==typeof t}},3550:(t,e,n)=>{"use strict";n.d(e,{of:()=>s});var r=n(1931),i=n(5090),o=n(7339);function s(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return(0,r.m)(n)?(t.pop(),(0,o.V)(t,n)):(0,i.c)(t)}},3585:(t,e,n)=>{"use strict";n.d(e,{i:()=>l});var r=n(1506),i=n(568),o=n(7214),s=n(2013),u=n(4276),c=n(3155),a=n(3163),l=function(t){if(t&&"function"==typeof t[s.s])return l=t,function(t){var e=l[s.s]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if((0,u.X)(t))return(0,r.v)(t);if((0,c.y)(t))return n=t,function(t){return n.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,i.T),t};if(t&&"function"==typeof t[o.lJ])return e=t,function(t){for(var n=e[o.lJ]();;){var r=void 0;try{r=n.next()}catch(e){return t.error(e),t}if(r.done){t.complete();break}if(t.next(r.value),t.closed)break}return"function"==typeof n.return&&t.add(function(){n.return&&n.return()}),t};var e,n,l,h=(0,a.G)(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+h+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},3620:(t,e,n)=>{"use strict";n.d(e,{U:()=>o});var r=n(5785),i=n(8243);function o(t){return void 0===t&&(t=null),function(e){return e.lift(new s(t))}}var s=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.defaultValue))},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.defaultValue=n,r.isEmpty=!0,r}return r.C6(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(i.v)},3860:(t,e,n)=>{"use strict";n.d(e,{s:()=>u});var r=n(5785),i=n(8243),o=n(1515),s=n(46);function u(t){return function(e){return 0===t?(0,s.I)():e.lift(new c(t))}}var c=function(){function t(t){if(this.total=t,this.total<0)throw new o.k}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.total))},t}(),a=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.C6(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(i.v)},3992:(t,e,n)=>{"use strict";n.d(e,{D:()=>r});var r=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}()},4137:(t,e,n)=>{"use strict";n.d(e,{gn:()=>c,tS:()=>a,zA:()=>u});var r=n(5785),i=n(8243),o=n(8183),s=n(3585),u=function(t){function e(e){var n=t.call(this)||this;return n.parent=e,n}return r.C6(e,t),e.prototype._next=function(t){this.parent.notifyNext(t)},e.prototype._error=function(t){this.parent.notifyError(t),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(),this.unsubscribe()},e}(i.v),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.C6(e,t),e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.destination.complete()},e}(i.v);function a(t,e){if(!e.closed){if(t instanceof o.c)return t.subscribe(e);var n;try{n=(0,s.i)(t)(e)}catch(t){e.error(t)}return n}}},4147:(t,e,n)=>{"use strict";n.d(e,{H:()=>s});var r=n(8183),i=n(3585),o=n(659);function s(t,e){return e?(0,o.c)(t,e):t instanceof r.c?t:new r.c((0,i.i)(t))}},4274:(t,e,n)=>{"use strict";n.d(e,{q:()=>o});var r=n(5785),i=n(1908),o=function(t){function e(n,r){void 0===r&&(r=i._.now);var o=t.call(this,n,function(){return e.delegate&&e.delegate!==o?e.delegate.now():r()})||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return r.C6(e,t),e.prototype.schedule=function(n,r,i){return void 0===r&&(r=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,r,i):t.prototype.schedule.call(this,n,r,i)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(i._)},4276:(t,e,n)=>{"use strict";n.d(e,{X:()=>r});var r=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},4517:(t,e,n)=>{"use strict";n.d(e,{$:()=>a});var r=n(7649),i=n(7377),o=n(3860),s=n(3620),u=n(9471),c=n(8958);function a(t,e){var n=arguments.length>=2;return function(a){return a.pipe(t?(0,i.p)(function(e,n){return t(e,n,a)}):c.D,(0,o.s)(1),n?(0,s.U)(e):(0,u.v)(function(){return new r.G}))}}},5020:(t,e,n)=>{"use strict";n.d(e,{F:()=>i,m:()=>o});var r=n(8958);function i(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o(t)}function o(t){return 0===t.length?r.D:1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}}},5090:(t,e,n)=>{"use strict";n.d(e,{c:()=>s});var r=n(8183),i=n(1506),o=n(7339);function s(t,e){return e?(0,o.V)(t,e):new r.c((0,i.v)(t))}},5255:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=!1;e.config={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){var e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else n&&console.log("RxJS: Back to a better error behavior. Thank you. <3");n=t},get useDeprecatedSynchronousErrorHandling(){return n}}},5308:(t,e,n)=>{"use strict";n.d(e,{G:()=>c,f:()=>a});var r=n(5785),i=n(2521),o=n(8183),s=n(8252),u=n(6991),c=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return r.C6(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new s.y).add(this.source.subscribe(new l(this.getSubject(),this))),t.closed&&(this._connection=null,t=s.y.EMPTY)),t},e.prototype.refCount=function(){return(0,u.B)()(this)},e}(o.c),a=function(){var t=c.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}}(),l=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.C6(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(i.PJ)},5350:(t,e,n)=>{"use strict";n.d(e,{H:()=>i});var r=n(8243);function i(t){for(;t;){var e=t,n=e.closed,i=e.destination,o=e.isStopped;if(n||o)return!1;t=i&&i instanceof r.v?i:null}return!0}},5389:(t,e,n)=>{"use strict";n.d(e,{R:()=>i});var r=n(5785),i=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r.pending=!1,r}return r.C6(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(t){n=!0,r=!!t&&t||new Error(t)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(function(t){function e(e,n){return t.call(this)||this}return r.C6(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(n(8252).y))},5594:(t,e,n)=>{"use strict";n.d(e,{E:()=>u,I:()=>r});var r,i=n(46),o=n(3550),s=n(7517);r||(r={});var u=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return(0,o.of)(this.value);case"E":return(0,s.$)(this.error);case"C":return(0,i.I)()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}()},5662:(t,e,n)=>{"use strict";n.d(e,{O:()=>u});var r=n(8183),i=n(739),o=n(6381),s=n(1931);function u(t,e,n){void 0===t&&(t=0);var u=-1;return(0,o.k)(e)?u=Number(e)<1?1:Number(e):(0,s.m)(e)&&(n=e),(0,s.m)(n)||(n=i.b),new r.c(function(e){var r=(0,o.k)(t)?t:+t-n.now();return n.schedule(c,r,{index:0,period:u,subscriber:e})})}function c(t){var e=t.index,n=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}},5693:(t,e,n)=>{"use strict";n.d(e,{T:()=>o});var r=n(5785),i=n(8243);function o(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new s(t,e))}}var s=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project,this.thisArg))},t}(),u=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.project=n,i.count=0,i.thisArg=r||i,i}return r.C6(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.v)},5785:(t,e,n)=>{"use strict";n.d(e,{C6:()=>i});var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}},5980:(t,e,n)=>{"use strict";function r(){}n.d(e,{l:()=>r})},5987:(t,e,n)=>{"use strict";n.d(e,{I:()=>o});var r=n(2347),i=n(568),o={closed:!0,next:function(t){},error:function(t){if(r.$.useDeprecatedSynchronousErrorHandling)throw t;(0,i.T)(t)},complete:function(){}}},6024:(t,e,n)=>{"use strict";n.d(e,{Y:()=>i});var r=n(5785),i=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return r.C6(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(n(8252).y)},6381:(t,e,n)=>{"use strict";n.d(e,{k:()=>i});var r=n(7371);function i(t){return!(0,r.c)(t)&&t-parseFloat(t)+1>=0}},6885:(t,e,n)=>{"use strict";n.d(e,{h:()=>s});var r=n(5785),i=n(2521),o=n(8252),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.value=null,e.hasNext=!1,e.hasCompleted=!1,e}return r.C6(e,t),e.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),o.y.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),o.y.EMPTY):t.prototype._subscribe.call(this,e)},e.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},e.prototype.error=function(e){this.hasCompleted||t.prototype.error.call(this,e)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},e}(i.B7)},6991:(t,e,n)=>{"use strict";n.d(e,{B:()=>o});var r=n(5785),i=n(8243);function o(){return function(t){return t.lift(new s(t))}}var s=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new u(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.C6(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(i.v)},7103:(t,e,n)=>{"use strict";n.d(e,{M:()=>r});var r=function(){function t(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return t.prototype=Object.create(Error.prototype),t}()},7214:(t,e,n)=>{"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,{lJ:()=>i});var i=r()},7339:(t,e,n)=>{"use strict";n.d(e,{V:()=>o});var r=n(8183),i=n(8252);function o(t,e){return new r.c(function(n){var r=new i.y,o=0;return r.add(e.schedule(function(){o!==t.length?(n.next(t[o++]),n.closed||r.add(this.schedule())):n.complete()})),r})}},7371:(t,e,n)=>{"use strict";n.d(e,{c:()=>r});var r=function(){return Array.isArray||function(t){return t&&"number"==typeof t.length}}()},7372:(t,e,n)=>{"use strict";n.d(e,{E:()=>i});var r=n(5785),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.C6(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(n(8243).v)},7377:(t,e,n)=>{"use strict";n.d(e,{p:()=>o});var r=n(5785),i=n(8243);function o(t,e){return function(n){return n.lift(new s(t,e))}}var s=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.predicate,this.thisArg))},t}(),u=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=r,i.count=0,i}return r.C6(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(i.v)},7403:(t,e,n)=>{"use strict";n.d(e,{x:()=>o});var r=n(3550),i=n(668);function o(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return(0,i.K)()(r.of.apply(void 0,t))}},7474:(t,e,n)=>{"use strict";n.d(e,{I:()=>l,$:()=>a});var r=n(5785),i=1,o=function(){return Promise.resolve()}(),s={};function u(t){return t in s&&(delete s[t],!0)}var c=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return r.C6(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=(c=e.flush.bind(e,null),a=i++,s[a]=!0,o.then(function(){return u(a)&&c()}),a)));var c,a},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(u(n),e.scheduled=void 0)},e}(n(5389).R),a=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.C6(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=n.shift()));if(this.active=!1,e){for(;++r<i&&(t=n.shift());)t.unsubscribe();throw e}},e}(n(4274).q))(c),l=a},7517:(t,e,n)=>{"use strict";n.d(e,{$:()=>i});var r=n(8183);function i(t,e){return e?new r.c(function(n){return e.schedule(o,0,{error:t,subscriber:n})}):new r.c(function(e){return e.error(t)})}function o(t){var e=t.error;t.subscriber.error(e)}},7566:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}();e.UnsubscriptionError=n},7649:(t,e,n)=>{"use strict";n.d(e,{G:()=>r});var r=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}()},7758:(t,e,n)=>{var r;self,r=()=>(()=>{"use strict";var t={466:()=>{!function(t){function e(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}"function"!=typeof t.CustomEvent&&(e.prototype=t.Event.prototype,t.CustomEvent=e)}(window)}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};function o(t){return(t.charAt(0)+t.slice(1).replace(/([A-Z])/g,"-$&")).toLowerCase()}r.r(i),r.d(i,{createSetupElement:()=>f,generateCustomElementWrapper:()=>h,makeGenericEffectsDriver:()=>d});var s=1e3;const u=n(7828),c=n(8256);function a(t,e,n,r,i){var o=e.replace(/-([a-z])/gi,function(t,e){return e.toUpperCase()});t[o]=r.map(function(t){var e=t.get(o),r=n;return e&&e.reflectAs&&n&&(r=e.reflectAs(n)),e&&e.reflectAs===Boolean&&(r=""===n),i&&(i[o]=r),r}).withDefault(n)}const l=n(1571);function h(t,e){var n,r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{useShadowDOM:!0},l=i.useShadowDOM?c.Maybe.just(function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=!!window.HTMLTemplateElement;return e=r?function(t){var e=document.createElement("template");return e.innerHTML="<style>".concat(t,'</style><div class="root"></div>'),e.content}(n):function(t){var e=document.createDocumentFragment(),n=document.createElement("style");n.appendChild(document.createTextNode(t));var r=document.createElement("div");return r.className="root",e.appendChild(n),e.appendChild(r),e}(n),function(t){if(t.shadowRoot)return t.shadowRoot.querySelector("div");t.attachShadow?t.attachShadow({mode:"open"}):Object.assign(t,{shadowRoot:t});var i=document.importNode(e,!0);r||(i.querySelector("style").sheet.cssText=n);var o=t.shadowRoot;return o.appendChild(i),o.querySelector("div")}}(t,i.css)):c.Maybe.nothing(),h=Array.isArray(i.props)?c.Maybe.just((n=i.props,{fnHashByName:r=n.reduce(function(t,e){return t.set(e.name,e),t},new Map),hooks:{init:function(t){t.__innerProps$=new u.BehaviorSubject({})},connectedCallback:function(t){var e,n,i,o,s,u=t.__innerProps$.getValue(),l=Object.assign({},u);t.constructor.observedAttributes.forEach(function(e){null!==t.getAttribute(e)&&a(t,e,t.getAttribute(e),c.Maybe.just(r),l)}),e=u,n=l,i=!0,o=Object.keys(e),s=Object.keys(n),o.length===s.length&&(o.forEach(function(t){n.hasOwnProperty(t)&&e[t]===n[t]||(i=!1)}),i)||t.__innerProps$.next(l)},classSetup:function(t){Object.assign(t,{observedAttributes:n.filter(function(t){return t.reflectAs}).map(function(t){return t.name}).map(o)}),n.forEach(function(e){Object.defineProperty(t.prototype,e.name,{get:function(){return this.__innerProps$.getValue()[e.name]},set:function(n){if(this.__innerProps$.getValue()[e.name]!==n){var r=o(e.name),i=t.observedAttributes.includes(r);i&&(!0===n?this.setAttribute(r,""):n||0===n||""===n?this.setAttribute(r,String(n)):this.removeAttribute(r)),!this.__attached&&i&&!1!==n||(this.__innerProps$.getValue()[e.name]=n,this.__innerProps$.next(this.__innerProps$.getValue()))}}})})}}})):c.Maybe.nothing(),f=function(){var t=Reflect.construct(HTMLElement,[],f);return i.prototypeExtensions&&Object.keys(i.prototypeExtensions).forEach(function(e){t[e]||(t[e]=i.prototypeExtensions[e])}),t.__onTeardown=[],t.__onAttached=[],t.__guid=s++,h.map(function(e){return(0,e.hooks.init)(t)}),l.map(function(e){return e(t)}).map(function(n){var r=c.Maybe.maybe(t.__innerProps$).map(function(n){return e(t,n)}).withDefaultFn(function(){return e(t)});p(t,n,r),t.__shadowAppBooted=!0}),t};return function(t){try{Object.defineProperty(t,"is",{value:name,writable:!1}),Object.defineProperty(t,"localName",{value:name,writable:!1})}catch(t){}}(f),f.prototype=Object.create(HTMLElement.prototype,{component:{writable:!0,enumerable:!0},constructor:{value:f},connectedCallback:{writable:!0,value:function(){var t=this;this.dataset.guid="".concat(this.__guid),i.useShadowDOM&&this.__shadowAppBooted||(l.map(function(e){return e(t)}).alt(c.Maybe.just(this)).map(function(n){var r=c.Maybe.maybe(t.__innerProps$).map(function(n){return e(t,n)}).withDefaultFn(function(){return e(t)});p(t,n,r)}),this.__shadowAppBooted=!0),h.map(function(e){(0,e.hooks.connectedCallback)(t)}),this.__attached=!0,this.__onAttached.forEach(function(e){return e.call(t)})}},disconnectedCallback:{writable:!0,value:function(){var t=this;this.__onTeardown.reverse().forEach(function(e){return e.call(t)}),this.__onTeardown=[],this.__onAttached=[],this.__attached=!1,this.__shadowAppBooted=!1}},attributeChangedCallback:{writable:!0,value:function(t,e,n){e!==n&&this.__attached&&a(this,t,n,h.map(function(t){return t.fnHashByName}))}}}),h.map(function(t){return(0,t.hooks.classSetup)(f)}),f}function f(t){return function(e){return function(n){var r=function(){window.customElements.get(n)||window.customElements.define(n,t(n,e))};window.customElements?r():(0,u.interval)(5).pipe((0,l.filter)(function(){return!!window.customElements}),(0,l.take)(1)).toPromise().then(function(){r()})}}}function p(t,e,n){var r=document.createElement("div");e.appendChild(r);var i=n.DOM$.subscribe(function(t){e.replaceChild(t,e.firstChild)}),o=n.settled$.subscribe(function(e){t.settled=e,e&&t.dispatchEvent(new CustomEvent("settled"))}),s=n.teardown$.subscribe(function(e){t.__onTeardown.push(e)});t.__onTeardown.push(function(){[i,o,s].forEach(function(t){return t.unsubscribe()})})}function d(t){return function(e){e.subscribe({next:function(e){e(t)},error:function(){},complete:function(){}})}}return r(466),i})(),t.exports=r()},7779:(t,e,n)=>{"use strict";n.d(e,{F:()=>u});var r=n(5785),i=function(t){function e(e,n,r){var i=t.call(this)||this;return i.parent=e,i.outerValue=n,i.outerIndex=r,i.index=0,i}return r.C6(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(n(8243).v),o=n(3585),s=n(8183);function u(t,e,n,r,u){if(void 0===u&&(u=new i(t,n,r)),!u.closed)return e instanceof s.c?e.subscribe(u):(0,o.i)(e)(u)}},7799:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=function(t){return null!==t&&"object"==typeof t}},7828:(t,e,n)=>{"use strict";n.r(e),n.d(e,{ArgumentOutOfRangeError:()=>I.k,AsyncSubject:()=>l.h,BehaviorSubject:()=>c.t,ConnectableObservable:()=>i.G,EMPTY:()=>G.w,EmptyError:()=>A.G,GroupedObservable:()=>o.k,NEVER:()=>lt,Notification:()=>E.E,NotificationKind:()=>E.I,ObjectUnsubscribedError:()=>j.P,Observable:()=>r.c,ReplaySubject:()=>a.m,Scheduler:()=>_._,Subject:()=>u.B7,Subscriber:()=>C.v,Subscription:()=>S.y,TimeoutError:()=>R.M,UnsubscriptionError:()=>M.Z,VirtualAction:()=>x,VirtualTimeScheduler:()=>w,animationFrame:()=>g,animationFrameScheduler:()=>m,asap:()=>h.I,asapScheduler:()=>h.$,async:()=>f.b,asyncScheduler:()=>f.E,bindCallback:()=>D,bindNodeCallback:()=>L,combineLatest:()=>H.zV,concat:()=>J.x,config:()=>Ot.$,defer:()=>Y.v,empty:()=>G.I,forkJoin:()=>X,from:()=>K.H,fromEvent:()=>tt.R,fromEventPattern:()=>nt,generate:()=>rt,identity:()=>O.D,iif:()=>ot,interval:()=>ut,isObservable:()=>P,merge:()=>at.h,never:()=>ht,noop:()=>T.l,observable:()=>s.s,of:()=>ft.of,onErrorResumeNext:()=>pt,pairs:()=>dt,partition:()=>gt,pipe:()=>N.F,queue:()=>p.g,queueScheduler:()=>p.T,race:()=>wt.O4,range:()=>xt,scheduled:()=>Tt.c,throwError:()=>St.$,timer:()=>Ct.O,using:()=>Et,zip:()=>Nt.yU});var r=n(8183),i=n(5308),o=n(8229),s=n(2013),u=n(2521),c=n(1891),a=n(572),l=n(6885),h=n(7474),f=n(739),p=n(403),d=n(5785),b=n(5389),v=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return d.C6(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(function(){return e.flush(null)})))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(cancelAnimationFrame(n),e.scheduled=void 0)},e}(b.R),y=n(4274),m=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d.C6(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=n.shift()));if(this.active=!1,e){for(;++r<i&&(t=n.shift());)t.unsubscribe();throw e}},e}(y.q))(v),g=m,w=function(t){function e(e,n){void 0===e&&(e=x),void 0===n&&(n=Number.POSITIVE_INFINITY);var r=t.call(this,e,function(){return r.frame})||this;return r.maxFrames=n,r.frame=0,r.index=-1,r}return d.C6(e,t),e.prototype.flush=function(){for(var t,e,n=this.actions,r=this.maxFrames;(e=n[0])&&e.delay<=r&&(n.shift(),this.frame=e.delay,!(t=e.execute(e.state,e.delay))););if(t){for(;e=n.shift();)e.unsubscribe();throw t}},e.frameTimeFactor=10,e}(y.q),x=function(t){function e(e,n,r){void 0===r&&(r=e.index+=1);var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i.index=r,i.active=!0,i.index=e.index=r,i}return d.C6(e,t),e.prototype.schedule=function(n,r){if(void 0===r&&(r=0),!this.id)return t.prototype.schedule.call(this,n,r);this.active=!1;var i=new e(this.scheduler,this.work);return this.add(i),i.schedule(n,r)},e.prototype.requestAsyncId=function(t,n,r){void 0===r&&(r=0),this.delay=t.frame+r;var i=t.actions;return i.push(this),i.sort(e.sortActions),!0},e.prototype.recycleAsyncId=function(t,e,n){void 0===n&&(n=0)},e.prototype._execute=function(e,n){if(!0===this.active)return t.prototype._execute.call(this,e,n)},e.sortActions=function(t,e){return t.delay===e.delay?t.index===e.index?0:t.index>e.index?1:-1:t.delay>e.delay?1:-1},e}(b.R),_=n(1908),S=n(8252),C=n(8243),E=n(5594),N=n(5020),T=n(5980),O=n(8958);function P(t){return!!t&&(t instanceof r.c||"function"==typeof t.lift&&"function"==typeof t.subscribe)}var I=n(1515),A=n(7649),j=n(9776),M=n(2450),R=n(7103),V=n(5693),k=n(5350),$=n(7371),F=n(1931);function D(t,e,n){if(e){if(!(0,F.m)(e))return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return D(t,n).apply(void 0,r).pipe((0,V.T)(function(t){return(0,$.c)(t)?e.apply(void 0,t):e(t)}))};n=e}return function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var o,s=this,u={context:s,subject:o,callbackFunc:t,scheduler:n};return new r.c(function(r){if(n){var i={args:e,subscriber:r,params:u};return n.schedule(q,0,i)}if(!o){o=new l.h;try{t.apply(s,e.concat([function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];o.next(t.length<=1?t[0]:t),o.complete()}]))}catch(t){(0,k.H)(o)?o.error(t):console.warn(t)}}return o.subscribe(r)})}}function q(t){var e=this,n=t.args,r=t.subscriber,i=t.params,o=i.callbackFunc,s=i.context,u=i.scheduler,c=i.subject;if(!c){c=i.subject=new l.h;try{o.apply(s,n.concat([function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t.length<=1?t[0]:t;e.add(u.schedule(B,0,{value:r,subject:c}))}]))}catch(t){c.error(t)}}this.add(c.subscribe(r))}function B(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function L(t,e,n){if(e){if(!(0,F.m)(e))return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return L(t,n).apply(void 0,r).pipe((0,V.T)(function(t){return(0,$.c)(t)?e.apply(void 0,t):e(t)}))};n=e}return function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var o={subject:void 0,args:e,callbackFunc:t,scheduler:n,context:this};return new r.c(function(r){var i=o.context,s=o.subject;if(n)return n.schedule(z,0,{params:o,subscriber:r,context:i});if(!s){s=o.subject=new l.h;try{t.apply(i,e.concat([function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t.shift();n?s.error(n):(s.next(t.length<=1?t[0]:t),s.complete())}]))}catch(t){(0,k.H)(s)?s.error(t):console.warn(t)}}return s.subscribe(r)})}}function z(t){var e=this,n=t.params,r=t.subscriber,i=t.context,o=n.callbackFunc,s=n.args,u=n.scheduler,c=n.subject;if(!c){c=n.subject=new l.h;try{o.apply(i,s.concat([function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t.shift();if(r)e.add(u.schedule(W,0,{err:r,subject:c}));else{var i=t.length<=1?t[0]:t;e.add(u.schedule(U,0,{value:i,subject:c}))}}]))}catch(t){this.add(u.schedule(W,0,{err:t,subject:c}))}}this.add(c.subscribe(r))}function U(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function W(t){var e=t.err;t.subject.error(e)}var H=n(9489),J=n(7403),Y=n(2791),G=n(46),Z=n(3163),K=n(4147);function X(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){var n=t[0];if((0,$.c)(n))return Q(n,null);if((0,Z.G)(n)&&Object.getPrototypeOf(n)===Object.prototype){var r=Object.keys(n);return Q(r.map(function(t){return n[t]}),r)}}if("function"==typeof t[t.length-1]){var i=t.pop();return Q(t=1===t.length&&(0,$.c)(t[0])?t[0]:t,null).pipe((0,V.T)(function(t){return i.apply(void 0,t)}))}return Q(t,null)}function Q(t,e){return new r.c(function(n){var r=t.length;if(0!==r)for(var i=new Array(r),o=0,s=0,u=function(u){var c=(0,K.H)(t[u]),a=!1;n.add(c.subscribe({next:function(t){a||(a=!0,s++),i[u]=t},error:function(t){return n.error(t)},complete:function(){++o!==r&&a||(s===r&&n.next(e?e.reduce(function(t,e,n){return t[e]=i[n],t},{}):i),n.complete())}}))},c=0;c<r;c++)u(c);else n.complete()})}var tt=n(9883),et=n(8764);function nt(t,e,n){return n?nt(t,e).pipe((0,V.T)(function(t){return(0,$.c)(t)?n.apply(void 0,t):n(t)})):new r.c(function(n){var r,i=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return n.next(1===t.length?t[0]:t)};try{r=t(i)}catch(t){return void n.error(t)}if((0,et.T)(e))return function(){return e(i,r)}})}function rt(t,e,n,i,o){var s,u;if(1==arguments.length){var c=t;u=c.initialState,e=c.condition,n=c.iterate,s=c.resultSelector||O.D,o=c.scheduler}else void 0===i||(0,F.m)(i)?(u=t,s=O.D,o=i):(u=t,s=i);return new r.c(function(t){var r=u;if(o)return o.schedule(it,0,{subscriber:t,iterate:n,condition:e,resultSelector:s,state:r});for(;;){if(e){var i=void 0;try{i=e(r)}catch(e){return void t.error(e)}if(!i){t.complete();break}}var c=void 0;try{c=s(r)}catch(e){return void t.error(e)}if(t.next(c),t.closed)break;try{r=n(r)}catch(e){return void t.error(e)}}})}function it(t){var e=t.subscriber,n=t.condition;if(!e.closed){if(t.needIterate)try{t.state=t.iterate(t.state)}catch(t){return void e.error(t)}else t.needIterate=!0;if(n){var r=void 0;try{r=n(t.state)}catch(t){return void e.error(t)}if(!r)return void e.complete();if(e.closed)return}var i;try{i=t.resultSelector(t.state)}catch(t){return void e.error(t)}if(!e.closed&&(e.next(i),!e.closed))return this.schedule(t)}}function ot(t,e,n){return void 0===e&&(e=G.w),void 0===n&&(n=G.w),(0,Y.v)(function(){return t()?e:n})}var st=n(6381);function ut(t,e){return void 0===t&&(t=0),void 0===e&&(e=f.b),(!(0,st.k)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=f.b),new r.c(function(n){return n.add(e.schedule(ct,t,{subscriber:n,counter:0,period:t})),n})}function ct(t){var e=t.subscriber,n=t.counter,r=t.period;e.next(n),this.schedule({subscriber:e,counter:n+1,period:r},r)}var at=n(2151),lt=new r.c(T.l);function ht(){return lt}var ft=n(3550);function pt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(0===t.length)return G.w;var n=t[0],i=t.slice(1);return 1===t.length&&(0,$.c)(n)?pt.apply(void 0,n):new r.c(function(t){var e=function(){return t.add(pt.apply(void 0,i).subscribe(t))};return(0,K.H)(n).subscribe({next:function(e){t.next(e)},error:e,complete:e})})}function dt(t,e){return e?new r.c(function(n){var r=Object.keys(t),i=new S.y;return i.add(e.schedule(bt,0,{keys:r,index:0,subscriber:n,subscription:i,obj:t})),i}):new r.c(function(e){for(var n=Object.keys(t),r=0;r<n.length&&!e.closed;r++){var i=n[r];t.hasOwnProperty(i)&&e.next([i,t[i]])}e.complete()})}function bt(t){var e=t.keys,n=t.index,r=t.subscriber,i=t.subscription,o=t.obj;if(!r.closed)if(n<e.length){var s=e[n];r.next([s,o[s]]),i.add(this.schedule({keys:e,index:n+1,subscriber:r,subscription:i,obj:o}))}else r.complete()}var vt=n(163),yt=n(3585),mt=n(7377);function gt(t,e,n){return[(0,mt.p)(e,n)(new r.c((0,yt.i)(t))),(0,mt.p)((0,vt.A)(e,n))(new r.c((0,yt.i)(t)))]}var wt=n(506);function xt(t,e,n){return void 0===t&&(t=0),new r.c(function(r){void 0===e&&(e=t,t=0);var i=0,o=t;if(n)return n.schedule(_t,0,{index:i,count:e,start:t,subscriber:r});for(;;){if(i++>=e){r.complete();break}if(r.next(o++),r.closed)break}})}function _t(t){var e=t.start,n=t.index,r=t.count,i=t.subscriber;n>=r?i.complete():(i.next(e),i.closed||(t.index=n+1,t.start=e+1,this.schedule(t)))}var St=n(7517),Ct=n(5662);function Et(t,e){return new r.c(function(n){var r,i;try{r=t()}catch(t){return void n.error(t)}try{i=e(r)}catch(t){return void n.error(t)}var o=(i?(0,K.H)(i):G.w).subscribe(n);return function(){o.unsubscribe(),r&&r.unsubscribe()}})}var Nt=n(8272),Tt=n(659),Ot=n(2347)},8183:(t,e,n)=>{"use strict";n.d(e,{c:()=>l});var r=n(5350),i=n(8243),o=n(3992),s=n(5987),u=n(2013),c=n(5020),a=n(2347),l=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,u=function(t,e,n){if(t){if(t instanceof i.v)return t;if(t[o.D])return t[o.D]()}return t||e||n?new i.v(t,e,n):new i.v(s.I)}(t,e,n);if(r?u.add(r.call(u,this.source)):u.add(this.source||a.$.useDeprecatedSynchronousErrorHandling&&!u.syncErrorThrowable?this._subscribe(u):this._trySubscribe(u)),a.$.useDeprecatedSynchronousErrorHandling&&u.syncErrorThrowable&&(u.syncErrorThrowable=!1,u.syncErrorThrown))throw u.syncErrorValue;return u},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){a.$.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),(0,r.H)(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=h(e))(function(e,r){var i;i=n.subscribe(function(e){try{t(e)}catch(t){r(t),i&&i.unsubscribe()}},r,e)})},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[u.s]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:(0,c.m)(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=h(t))(function(t,n){var r;e.subscribe(function(t){return r=t},function(t){return n(t)},function(){return t(r)})})},t.create=function(e){return new t(e)},t}();function h(t){if(t||(t=a.$.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},8229:(t,e,n)=>{"use strict";n.d(e,{$:()=>c,k:()=>f});var r=n(5785),i=n(8243),o=n(8252),s=n(8183),u=n(2521);function c(t,e,n,r){return function(i){return i.lift(new a(t,e,n,r))}}var a=function(){function t(t,e,n,r){this.keySelector=t,this.elementSelector=e,this.durationSelector=n,this.subjectSelector=r}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},t}(),l=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;return s.keySelector=n,s.elementSelector=r,s.durationSelector=i,s.subjectSelector=o,s.groups=null,s.attemptedToUnsubscribe=!1,s.count=0,s}return r.C6(e,t),e.prototype._next=function(t){var e;try{e=this.keySelector(t)}catch(t){return void this.error(t)}this._group(t,e)},e.prototype._group=function(t,e){var n=this.groups;n||(n=this.groups=new Map);var r,i=n.get(e);if(this.elementSelector)try{r=this.elementSelector(t)}catch(t){this.error(t)}else r=t;if(!i){i=this.subjectSelector?this.subjectSelector():new u.B7,n.set(e,i);var o=new f(e,i,this);if(this.destination.next(o),this.durationSelector){var s=void 0;try{s=this.durationSelector(new f(e,i))}catch(t){return void this.error(t)}this.add(s.subscribe(new h(e,i,this)))}}i.closed||i.next(r)},e.prototype._error=function(t){var e=this.groups;e&&(e.forEach(function(e,n){e.error(t)}),e.clear()),this.destination.error(t)},e.prototype._complete=function(){var t=this.groups;t&&(t.forEach(function(t,e){t.complete()}),t.clear()),this.destination.complete()},e.prototype.removeGroup=function(t){this.groups.delete(t)},e.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&t.prototype.unsubscribe.call(this))},e}(i.v),h=function(t){function e(e,n,r){var i=t.call(this,n)||this;return i.key=e,i.group=n,i.parent=r,i}return r.C6(e,t),e.prototype._next=function(t){this.complete()},e.prototype._unsubscribe=function(){var t=this.parent,e=this.key;this.key=this.parent=null,t&&t.removeGroup(e)},e}(i.v),f=function(t){function e(e,n,r){var i=t.call(this)||this;return i.key=e,i.groupSubject=n,i.refCountSubscription=r,i}return r.C6(e,t),e.prototype._subscribe=function(t){var e=new o.y,n=this.refCountSubscription,r=this.groupSubject;return n&&!n.closed&&e.add(new p(n)),e.add(r.subscribe(t)),e},e}(s.c),p=function(t){function e(e){var n=t.call(this)||this;return n.parent=e,e.count++,n}return r.C6(e,t),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(t.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(o.y)},8243:(t,e,n)=>{"use strict";n.d(e,{v:()=>l});var r=n(5785),i=n(8764),o=n(5987),s=n(8252),u=n(3992),c=n(2347),a=n(568),l=function(t){function e(n,r,i){var s=t.call(this)||this;switch(s.syncErrorValue=null,s.syncErrorThrown=!1,s.syncErrorThrowable=!1,s.isStopped=!1,arguments.length){case 0:s.destination=o.I;break;case 1:if(!n){s.destination=o.I;break}if("object"==typeof n){n instanceof e?(s.syncErrorThrowable=n.syncErrorThrowable,s.destination=n,n.add(s)):(s.syncErrorThrowable=!0,s.destination=new h(s,n));break}default:s.syncErrorThrowable=!0,s.destination=new h(s,n,r,i)}return s}return r.C6(e,t),e.prototype[u.D]=function(){return this},e.create=function(t,n,r){var i=new e(t,n,r);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this},e}(s.y),h=function(t){function e(e,n,r,s){var u,c=t.call(this)||this;c._parentSubscriber=e;var a=c;return(0,i.T)(n)?u=n:n&&(u=n.next,r=n.error,s=n.complete,n!==o.I&&(a=Object.create(n),(0,i.T)(a.unsubscribe)&&c.add(a.unsubscribe.bind(a)),a.unsubscribe=c.unsubscribe.bind(c))),c._context=a,c._next=u,c._error=r,c._complete=s,c}return r.C6(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;c.$.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=c.$.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):(0,a.T)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;(0,a.T)(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};c.$.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){if(this.unsubscribe(),c.$.useDeprecatedSynchronousErrorHandling)throw t;(0,a.T)(t)}},e.prototype.__tryOrSetError=function(t,e,n){if(!c.$.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(e){return c.$.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=e,t.syncErrorThrown=!0,!0):((0,a.T)(e),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(l)},8252:(t,e,n)=>{"use strict";n.d(e,{y:()=>u});var r=n(7371),i=n(3163),o=n(8764),s=n(2450),u=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var e;if(!this.closed){var n=this,u=n._parentOrParents,a=n._ctorUnsubscribe,l=n._unsubscribe,h=n._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,u instanceof t)u.remove(this);else if(null!==u)for(var f=0;f<u.length;++f)u[f].remove(this);if((0,o.T)(l)){a&&(this._unsubscribe=void 0);try{l.call(this)}catch(t){e=t instanceof s.Z?c(t.errors):[t]}}if((0,r.c)(h)){f=-1;for(var p=h.length;++f<p;){var d=h[f];if((0,i.G)(d))try{d.unsubscribe()}catch(t){e=e||[],t instanceof s.Z?e=e.concat(c(t.errors)):e.push(t)}}}if(e)throw new s.Z(e)}},t.prototype.add=function(e){var n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var r=n;(n=new t)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var i=n._parentOrParents;if(null===i)n._parentOrParents=this;else if(i instanceof t){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.EMPTY=((e=new t).closed=!0,e),t}();function c(t){return t.reduce(function(t,e){return t.concat(e instanceof s.Z?e.errors:e)},[])}},8256:(t,e,n)=>{"use strict";n.r(e),n.d(e,{Maybe:()=>r});class r{constructor(t){this.value=t}static just(t){if(null==t)throw new TypeError("Value passed to just must exist!");return new r(t)}static nothing(){return new r}static maybe(t){return null==t?r.nothing():r.just(t)}static join(t){return t.withDefault(r.nothing())}static sequence(t){return t.reduce((t,e)=>t.bind(t=>e.map(e=>t.concat(e))),r.just([]))}static traverse(t,e){return r.sequence(e).map(e=>e.map(t))}static justMap(t,e){return e.reduce((e,n)=>{const r=t(n);return void 0!==r.value?e.concat(r.value):e},[])}static filterSomethings(t){return t.reduce((t,e)=>(e.value&&t.push(e.value),t),[])}static lift(t){return e=>e.map(t)}static lift2(t){return(e,n)=>r.sequence([e,n]).map(e=>t(e[0],e[1]))}static lift3(t){return(e,n,i)=>r.sequence([e,n,i]).map(e=>t(e[0],e[1],e[2]))}static toPromise(t){return t.hasSomething?Promise.resolve(t.value):Promise.reject()}map(t){return void 0!==this.value?r.maybe(t(this.value)):r.nothing()}asyncMap(t){return void 0!==this.value?t(this.value).then(t=>{if(null==t)throw"Promise Conversion from a Maybe.Nothing";return t}):Promise.reject()}alt(t){return void 0!==this.value?this:t}altMap(t){return void 0!==this.value?this:t()}ap(t){return t.bind(t=>this.map(t))}bind(t){return r.join(this.map(t))}withDefault(t){return void 0!==this.value?this.value:t}withDefaultFn(t){return void 0!==this.value?this.value:t()}get hasNothing(){return void 0===this.value}get hasSomething(){return!this.hasNothing}unsafeElse(t){this.hasNothing&&t()}}r.of=r.maybe},8272:(t,e,n)=>{"use strict";n.d(e,{ee:()=>l,yU:()=>a});var r=n(5785),i=n(5090),o=n(7371),s=n(8243),u=n(7214),c=n(4137);function a(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return"function"==typeof n&&t.pop(),(0,i.c)(t,void 0).lift(new l(n))}var l=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.resultSelector))},t}(),h=function(t){function e(e,n,r){void 0===r&&(r=Object.create(null));var i=t.call(this,e)||this;return i.resultSelector=n,i.iterators=[],i.active=0,i.resultSelector="function"==typeof n?n:void 0,i}return r.C6(e,t),e.prototype._next=function(t){var e=this.iterators;(0,o.c)(t)?e.push(new p(t)):"function"==typeof t[u.lJ]?e.push(new f(t[u.lJ]())):e.push(new d(this.destination,this,t))},e.prototype._complete=function(){var t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(var n=0;n<e;n++){var r=t[n];r.stillUnsubscribed?this.destination.add(r.subscribe()):this.active--}}else this.destination.complete()},e.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,n=this.destination,r=0;r<e;r++)if("function"==typeof(s=t[r]).hasValue&&!s.hasValue())return;var i=!1,o=[];for(r=0;r<e;r++){var s,u=(s=t[r]).next();if(s.hasCompleted()&&(i=!0),u.done)return void n.complete();o.push(u.value)}this.resultSelector?this._tryresultSelector(o):n.next(o),i&&n.complete()},e.prototype._tryresultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(s.v),f=function(){function t(t){this.iterator=t,this.nextResult=t.next()}return t.prototype.hasValue=function(){return!0},t.prototype.next=function(){var t=this.nextResult;return this.nextResult=this.iterator.next(),t},t.prototype.hasCompleted=function(){var t=this.nextResult;return Boolean(t&&t.done)},t}(),p=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[u.lJ]=function(){return this},t.prototype.next=function(t){var e=this.index++,n=this.array;return e<this.length?{value:n[e],done:!1}:{value:null,done:!0}},t.prototype.hasValue=function(){return this.array.length>this.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),d=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.parent=n,i.observable=r,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return r.C6(e,t),e.prototype[u.lJ]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t){this.buffer.push(t),this.parent.checkIterators()},e.prototype.subscribe=function(){return(0,c.tS)(this.observable,new c.zA(this))},e}(c.gn)},8527:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(5255),i=n(9212);e.empty={closed:!0,next:function(t){},error:function(t){if(r.config.useDeprecatedSynchronousErrorHandling)throw t;i.hostReportError(t)},complete:function(){}}},8575:function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0});var o=n(3488),s=n(8527),u=n(936),c=n(9132),a=n(5255),l=n(9212),h=function(t){function e(n,r,i){var o=t.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=s.empty;break;case 1:if(!n){o.destination=s.empty;break}if("object"==typeof n){n instanceof e?(o.syncErrorThrowable=n.syncErrorThrowable,o.destination=n,n.add(o)):(o.syncErrorThrowable=!0,o.destination=new f(o,n));break}default:o.syncErrorThrowable=!0,o.destination=new f(o,n,r,i)}return o}return i(e,t),e.prototype[c.rxSubscriber]=function(){return this},e.create=function(t,n,r){var i=new e(t,n,r);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this},e}(u.Subscription);e.Subscriber=h;var f=function(t){function e(e,n,r,i){var u,c=t.call(this)||this;c._parentSubscriber=e;var a=c;return o.isFunction(n)?u=n:n&&(u=n.next,r=n.error,i=n.complete,n!==s.empty&&(a=Object.create(n),o.isFunction(a.unsubscribe)&&c.add(a.unsubscribe.bind(a)),a.unsubscribe=c.unsubscribe.bind(c))),c._context=a,c._next=u,c._error=r,c._complete=i,c}return i(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;a.config.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=a.config.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):l.hostReportError(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;l.hostReportError(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};a.config.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){if(this.unsubscribe(),a.config.useDeprecatedSynchronousErrorHandling)throw t;l.hostReportError(t)}},e.prototype.__tryOrSetError=function(t,e,n){if(!a.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(e){return a.config.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=e,t.syncErrorThrown=!0,!0):(l.hostReportError(e),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(h);e.SafeSubscriber=f},8764:(t,e,n)=>{"use strict";function r(t){return"function"==typeof t}n.d(e,{T:()=>r})},8958:(t,e,n)=>{"use strict";function r(t){return t}n.d(e,{D:()=>r})},9132:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.rxSubscriber="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),e.$$rxSubscriber=e.rxSubscriber},9143:(t,e,n)=>{"use strict";n.d(e,{J:()=>o});var r=n(5785),i=n(8243);function o(){return function(t){return t.lift(new s)}}var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new u(t))},t}(),u=function(t){function e(e){var n=t.call(this,e)||this;return n.hasPrev=!1,n}return r.C6(e,t),e.prototype._next=function(t){var e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)},e}(i.v)},9212:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hostReportError=function(t){setTimeout(function(){throw t},0)}},9377:(t,e,n)=>{"use strict";n.d(e,{ZZ:()=>u,qI:()=>l});var r=n(5785),i=n(5693),o=n(4147),s=n(4137);function u(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(r){return r.pipe(u(function(n,r){return(0,o.H)(t(n,r)).pipe((0,i.T)(function(t,i){return e(n,t,r,i)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new c(t,n))})}var c=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.concurrent))},t}(),a=function(t){function e(e,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var i=t.call(this,e)||this;return i.project=n,i.concurrent=r,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return r.C6(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(e)},e.prototype._innerSub=function(t){var e=new s.zA(this),n=this.destination;n.add(e);var r=(0,s.tS)(t,e);r!==e&&n.add(r)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyComplete=function(){var t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(s.gn),l=u},9471:(t,e,n)=>{"use strict";n.d(e,{v:()=>s});var r=n(5785),i=n(7649),o=n(8243);function s(t){return void 0===t&&(t=a),function(e){return e.lift(new u(t))}}var u=function(){function t(t){this.errorFactory=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.errorFactory))},t}(),c=function(t){function e(e,n){var r=t.call(this,e)||this;return r.errorFactory=n,r.hasValue=!1,r}return r.C6(e,t),e.prototype._next=function(t){this.hasValue=!0,this.destination.next(t)},e.prototype._complete=function(){if(this.hasValue)return this.destination.complete();var t=void 0;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)},e}(o.v);function a(){return new i.G}},9489:(t,e,n)=>{"use strict";n.d(e,{ZS:()=>h,zV:()=>l});var r=n(5785),i=n(1931),o=n(7371),s=n(7372),u=n(7779),c=n(5090),a={};function l(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=void 0,r=void 0;return(0,i.m)(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&(0,o.c)(t[0])&&(t=t[0]),(0,c.c)(t,r).lift(new h(n))}var h=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new f(t,this.resultSelector))},t}(),f=function(t){function e(e,n){var r=t.call(this,e)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return r.C6(e,t),e.prototype._next=function(t){this.values.push(a),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add((0,u.F)(this,r,void 0,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n){var r=this.values,i=r[n],o=this.toRespond?i===a?--this.toRespond:this.toRespond:0;r[n]=e,0===o&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(s.E)},9776:(t,e,n)=>{"use strict";n.d(e,{P:()=>r});var r=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},9883:(t,e,n)=>{"use strict";n.d(e,{R:()=>u});var r=n(8183),i=n(7371),o=n(8764),s=n(5693);function u(t,e,n,a){return(0,o.T)(n)&&(a=n,n=void 0),a?u(t,e,n).pipe((0,s.T)(function(t){return(0,i.c)(t)?a.apply(void 0,t):a(t)})):new r.c(function(r){c(t,e,function(t){arguments.length>1?r.next(Array.prototype.slice.call(arguments)):r.next(t)},r,n)})}function c(t,e,n,r,i){var o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){var s=t;t.addEventListener(e,n,i),o=function(){return s.removeEventListener(e,n,i)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){var u=t;t.on(e,n),o=function(){return u.off(e,n)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){var a=t;t.addListener(e,n),o=function(){return a.removeListener(e,n)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var l=0,h=t.length;l<h;l++)c(t[l],e,n,r,i)}r.add(o)}},9919:(t,e,n)=>{"use strict";n.d(e,{F:()=>o});var r=n(5785),i=n(8243);function o(t,e){return function(n){return n.lift(new s(t,e))}}var s=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.compare,this.keySelector))},t}(),u=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.keySelector=r,i.hasKey=!1,"function"==typeof n&&(i.compare=n),i}return r.C6(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(t){return this.destination.error(t)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,e)}catch(t){return this.destination.error(t)}else this.hasKey=!0;r||(this.key=e,this.destination.next(t))},e}(i.v)}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r].call(o.exports,o,o.exports,n),o.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};return(()=>{"use strict";function t(e,n){Object.keys(n).forEach(r=>{if(!Array.isArray(n[r])&&!Array.isArray(e[r])&&e.hasOwnProperty(r)&&"object"==typeof n[r])return t(e[r],n[r]);e[r]=n[r]})}n.r(r),n.d(r,{init:()=>rt});var e=n(9883),i=n(7377),o=n(5693),s=n(3860),u=n(8256);function c(t,e,n,r,i=null,o="success"){const s=window.isTestingTecton?window:t;null==s||s.postMessage({tectonic:!0,value:r.withDefault(""),status:o,type:e,protocol:n,guid:i},"*")}function a(t,e){c(window.parent,t,"MESSAGE",e)}function l(t,e){c(window,t,"BROADCAST",e),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(t){case"platformScrollChanged":case"platformSizeChanged":let{value:i}=Object.assign({},e);i=Object.assign(JSON.parse(i),{outletOffset:n.getBoundingClientRect().top}),c(r.contentWindow,t,"BROADCAST",new u.Maybe(JSON.stringify(i)));break;default:c(r.contentWindow,t,"BROADCAST",e)}})}class h{constructor(){this.messageNum=0,this.firehose$=(0,e.R)(window,"message").pipe((0,i.p)(t=>t.data.tectonic))}onMessage(t,e="MESSAGE",n=null){return function(t,e,n,r=null){return e.pipe((0,i.p)(e=>e.data.type===t&&(!r||e.data.guid===r)&&e.data.protocol===n),(0,o.T)(e=>{const n=e.data.value&&JSON.parse(e.data.value),r=e.source||(window.parent.location.origin===e.origin?window.parent:window.location.origin===e.origin?window:null);return"success"===e.data.status?{status:"success",value:n,sender:r,type:t,guid:e.data.guid}:{status:"error",message:n.message,sender:r,type:t,guid:e.data.guid}}))}(t,this.firehose$,e,n).pipe((0,o.T)(f))}sendRequest(t,e,n){const r=this.getNextMessageNumber();c(window.isTectonPlatform?window:window.parent,t,"REQUEST",e,r,"success");const i=[];return i.push(this.onMessage(t,"RESPONSE",r).pipe((0,s.s)(1)).toPromise()),n&&n.timeout&&i.push(new Promise((i,o)=>{setTimeout(()=>{o({status:"error",message:`The request ${e} has timed out`,sender:window,type:t,guid:r})},n.timeout)})),Promise.race(i)}sendResponse(t,e){return this.onMessage(t,"REQUEST").subscribe(t=>Promise.resolve().then(()=>{if("success"===t.status)return e(t.value,t.sender);throw Error("Don't send Error Message as Request!")}).then(e=>{if(null!==e)return p(t.sender,t.type,e,t.guid,"success")}).catch(e=>p(t.sender,t.type,{message:e.message},t.guid,"error")))}getNextMessageNumber(){const t=this.messageNum+1;return this.messageNum=t,t}}function f(t){if("success"===t.status)return t;throw t}function p(t,e,n,r=null,i){c(t,e,"RESPONSE",u.Maybe.maybe(n).map(JSON.stringify),r,i)}class d extends h{constructor(t,e){super(),this.domains=new Set,this.configSubscription=t.subscribe(this.getConfigDomains.bind(this)),this.firehose$=this.firehose$.pipe((0,i.p)(t=>e||this.domains.has(t.origin)))}teardown(){this.configSubscription.unsubscribe()}getConfigDomains(t){let e=Array(window.location.origin.toString());const n=Object.keys(t.features).map(n=>{const r=t.features[n].additionalDomains;return r&&r.length>0&&(e=e.concat(r)),Object.keys(t.features[n].modules).map(e=>{const r=t.features[n].modules[e].url;try{return new URL(r,window.location.href).origin}catch(t){return""}})}),r=e.concat(...n);this.domains=function(t){return new Set(t.filter(t=>""!==t))}(r)}}var b=n(1891);function v(t,e={}){return Object.keys(e).filter(e=>{const n=e.lastIndexOf(".");return e.slice(0,n).startsWith(t)}).reduce((t,n)=>{const r=n.lastIndexOf(".");return t[n.substring(r+1)]=e[n],t},Object.create({}))}function y(t,e,n=[]){for(const[r,i]of Object.entries(e)){const e=[...n,r];if(r===t)return e.reverse();if("object"==typeof i&&Object.keys(i).length>0){const n=y(t,i,e);if(n.length>0)return n}}return[]}function m(t,e){if(!t||"string"!=typeof t)return[];const[n,r]=t.split("::");if(!n||!r)return[];const i=e[n];return i?y(r,i).map(t=>`${n}::${t}`):[]}function g(t,e,n,r,i,o,s,c,a,l,h,f={}){return function(t,e,n){return u.Maybe.sequence([t,e]).map(()=>{const t=n.withDefault("");return""!==t?Promise.resolve(u.Maybe.just(t)):Promise.resolve(u.Maybe.nothing())}).withDefaultFn(()=>Promise.resolve(u.Maybe.nothing()))}(r,i,s).then(async e=>{const n=await function(t,e){return Promise.all(e.map(async e=>{const n=await t(e.featureName),r=n.modules[e.moduleName],i=n.additionalDomains,o=n.allowDirectives;return Object.assign(Object.assign(Object.assign({},e),r),{additionalDomains:i,allowDirectives:o})}))}(t.dynamicConfigFetch,o),r=e.map(t=>m(t,f)).bind(t=>w(n,t,c)),i=u.Maybe.maybe(n[0]);return e.map(()=>r).altMap(()=>u.Maybe.just(i)).bind(t=>t)}).then(async t=>t.map(t=>{var r,i,o,s;const u=`${n}.${t.featureName}.${t.moduleName}`,c=(null===(i=null===(r=a.features[l])||void 0===r?void 0:r.modules[h])||void 0===i?void 0:i.requiredUserCapabilities)||[],f=(null===(s=null===(o=a.features[t.featureName])||void 0===o?void 0:o.modules[t.moduleName])||void 0===s?void 0:s.requiredUserCapabilities)||[],p=[...new Set([...c,...f])];return{moduleId:u,initialParams:v(u,e.getValue().currentParams),featureName:t.featureName,url:t.url,minHeight:t.meta.type.minHeight||"",tabLabelOverride:t.tabLabelOverride,formPostAuth:!!t.formPostAuth,loadingOptions:t.loadingOptions,additionalDomains:t.additionalDomains,allowDirectives:t.allowDirectives,requiredUserCapabilities:p,rightsEnabled:t.rightsEnabled}}))}function w(t,e,n){return u.Maybe.maybe(t.find(t=>{const r=n.map(e=>{var n;return null===(n=t.additionalContextRequirements)||void 0===n?void 0:n.includes(e)}).withDefault(!0);return t.meta.type.context===e[0]&&r})).altMap(()=>0===e.length&&u.Maybe.nothing()||w(t,e.slice(1),n))}async function x(t,e){const n=t.length%3==1?"outlet":"module",r=t[0],i=t.length<5;let o,s,u,c,a;if("tectonOverpanel"===r)o=_({path:t.slice(2),outletModuloVal:2}),s=(await e(t[1])).configuredOverpanels[t[2]];else{const r="outlet"===n?t.slice(-3,-2)[0]:t.slice(-2,-1)[0],i="outlet"===n?t.slice(-2,-1)[0]:t.slice(-1)[0],u="outlet"===n?-1:3;o=_({path:t.slice(u),outletModuloVal:0}),s=await e(r,i)}return"outlet"===n?(i?(u=s.featureName,c=s.moduleName):(u=t[t.length-3],c=t[t.length-2]),a=t[t.length-1],o=o.slice(0,-2),{pathType:n,featureName:u,moduleName:c,outletName:a,configPath:o,pathOrigin:r,treeFromRoot:s}):(i?(u=s.featureName,c=s.moduleName):(u=t[t.length-2],c=t[t.length-1]),{pathType:n,featureName:u,moduleName:c,configPath:o,pathOrigin:r,treeFromRoot:s})}function _({path:t,outletModuloVal:e}){const n=e+2;return t.reduce((t,r,i)=>{if(i%3===e)return t.concat(["configuredOutlets",r]);if(i%3===n&&2!==i){const e=t[t.length-1];return t[t.length-1]=`${e}-${r}`,t}return t.concat(r)},[])}function S(t,e){return t.reduce((t,e)=>{if(Array.isArray(t)){const[n,r]=e.split("-");return t[0].hasOwnProperty("tabLabel")||t[0].hasOwnProperty("menuItemLabel")?function(t,e){let n=-1;const r=t.find(t=>(n=t.modules.findIndex(e),-1!==n));if(r)return r.modules[n]}(t,C(n,r)):t.find(C(n,r))}return t[e]},e)}function C(t,e){return n=>n.featureName===t&&n.moduleName===e}function E(t,e,n){const r=t.getValue();return u.Maybe.maybe(r.features[e]).map(t=>{const r=Object.keys(t.modules).find(e=>t.modules[e].primary),i=t.modules[n]||t.modules[r],o=`${e}.${i.meta.moduleName}`;return{navigable:!!i.navigable,legacy:!!t.legacy,key:t.legacy?t.legacyRouteName:o}})}function N(t,e,n,r,i){!function(t,e,n,r){if(e.actionRequired&&e.removeActionRequired){n.add("actionRequired");const i=t.onMessage("actionRequired").subscribe(t=>{e.actionRequired(t.value.uuid,t.value.title,t.value.message)});r.push(()=>i.unsubscribe())}}(t,n,r,i),function(t,e,n,r){if(e.authorizeTransactionWithMfa){n.add("authorizeTransactionWithMfa");const i=t.sendResponse("authorizeTransactionWithMfa",async t=>e.authorizeTransactionWithMfa(t));r.push(()=>i.unsubscribe())}}(t,n,r,i),function(t,e,n,r){if(e.clearCacheByPrefix){n.add("clearCache"),n.add("cacheCleared");const i=t.sendResponse("clearCache",function(t){return t.routePrefixes.forEach(function(t){e.clearCacheByPrefix(t),l("cacheCleared",u.Maybe.just(JSON.stringify({cleared:t})))}),Promise.resolve()});r.push(()=>i.unsubscribe())}}(t,n,r,i),function(t,e,n,r){if(e.clearParams){n.add("clearParams");const i=t.onMessage("clearParams").subscribe(t=>{e.clearParams(t.value.moduleId)});r.push(()=>i.unsubscribe())}}(t,n,r,i),function(t,e,n,r){if(e.closeOverpanel){n.add("closeOverpanel");const i=t.onMessage("closeOverpanel").pipe((0,o.T)(t=>t.value)).subscribe(e.closeOverpanel);r.push(()=>i.unsubscribe())}}(t,n,r,i),function(t,e,n,r){if(e.keepAlive){n.add("keepAlive");const i=t.onMessage("keepAlive").subscribe(e.keepAlive);r.push(()=>i.unsubscribe())}}(t,n,r,i),function(t,e,n,r){if(e.showLoadingModal){n.add("showLoadingModal");const i=t.onMessage("showLoadingModal").subscribe(t=>{e.showLoadingModal(t.value.title)});r.push(()=>i.unsubscribe())}if(e.clearLoadingModal){n.add("clearLoadingModal");const i=t.onMessage("clearLoadingModal").subscribe(()=>{e.clearLoadingModal()});r.push(()=>i.unsubscribe())}}(t,n,r,i),function(t,e,n,r,i){if(n.logToServer){r.add("logToServer");const e=t.onMessage("logToServer").subscribe(async t=>{const e=await x(t.value.moduleId.split("."),n.dynamicConfigFetch).then(t=>t.featureName);n.logToServer(e,t.value.message,t.value.level||"info")});i.push(()=>e.unsubscribe())}}(t,0,n,r,i),function(t,e,n,r){if(e.manageChanges){n.add("manageChanges");const i=t.sendResponse("manageChanges",t=>e.manageChanges(t.changeData));r.push(()=>i.unsubscribe())}}(t,n,r,i),function(t,e,n,r,i){if(n.navigateTo){r.add("navigateTo");const o=t.onMessage("navigateTo").subscribe(async t=>{const{moduleName:r,urlParams:i,queryParams:o,moduleId:s}=t.value;let{featureName:u}=t.value;!u&&s&&(u=await x(s.split("."),n.dynamicConfigFetch).then(t=>t.featureName));const c=E(e,u,r);c.map(t=>{if(t.navigable)if(t.legacy)n.navigateTo(!0,t.key,i,o);else{const r=e.getValue().features[u],i=`tectonRoute.${t.key}`;o&&n.updateParams&&n.updateParams(i,o,r.modules[t.key.split(".")[1]].meta.params),n.navigateTo(!1,t.key)}}),c.hasNothing&&n.navigateTo(!0,u,i,o)});i.push(()=>o.unsubscribe())}}(t,e,n,r,i),function(t,e,n,r){if(e.openURL){n.add("openURL");const i=t.onMessage("openURL").subscribe(t=>{const{url:n,options:r}=t.value;e.openURL(n,r)});r.push(()=>i.unsubscribe())}}(t,n,r,i),function(t,e){const n=t.onMessage("printWindow").subscribe(()=>{var t;!0===(null===(t=window.Tecton)||void 0===t?void 0:t.inMobileApp)?console.info("printWindow does not support e-banking mobile app environment."):(document.body.focus(),window.print())});e.push(()=>n.unsubscribe())}(t,i),function(t,e,n,r){if(e.refetchAccountsNotification&&e.clearCacheByPrefix&&e.clearTransferCache){n.add("refetchAccountsNotification");const i=t.onMessage("refetchAccountsNotification").subscribe(()=>{e.clearCacheByPrefix("mobilews/account"),e.clearTransferCache(),e.refetchAccountsNotification()});r.push(()=>i.unsubscribe())}}(t,n,r,i),function(t,e,n,r){if(e.actionRequired&&e.removeActionRequired){n.add("removeActionRequired");const i=t.onMessage("removeActionRequired").subscribe(t=>{e.removeActionRequired(t.value.uuid)});r.push(()=>i.unsubscribe())}}(t,n,r,i),function(t,e,n,r){n.add("scrollTo");const i=t.onMessage("scrollTo").subscribe(t=>{var n,r;const i=(null===(r=null===(n=null==e?void 0:e.getSurroundingOffsets)||void 0===n?void 0:n.call(e))||void 0===r?void 0:r.top)||0,o=t.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:i,top:i}))):window.scrollTo(o)});r.push(()=>i.unsubscribe())}(t,n,r,i),function(t,e,n){e.add("scrollToTop");const r=t.onMessage("scrollToTop").subscribe(()=>{window.scrollTo(0,0)});n.push(()=>r.unsubscribe())}(t,r,i),function(t,e,n,r){if(e.sendAlert||e.showAlert){n.add("sendAlert"),n.add("sendAlertWithResponse");const i=t.sendResponse("sendAlert",t=>(e.sendAlert||e.showAlert)(t).then(t=>({actionName:t}))),o=t.onMessage("sendAlert").subscribe(t=>{(e.sendAlert||e.showAlert)(t.value)});r.push(()=>{i.unsubscribe(),o.unsubscribe()})}}(t,n,r,i),function(t,e,n,r,i){if(n.updateParams){r.add("setParams");const e=t.onMessage("setParams").subscribe(async t=>{const{moduleId:e,params:r}=t.value,i=await x(e.split("."),n.dynamicConfigFetch),o=await n.dynamicConfigFetch(i.featureName).then(t=>t.modules[i.moduleName].meta.params);n.updateParams(e,r,o)});i.push(()=>e.unsubscribe())}}(t,0,n,r,i),function(t,e,n,r,i){if(e.setOverpanelTitle||e.setPageTitle){e.setOverpanelTitle&&r.add("setOverpanelTitle"),e.setPageTitle&&r.add("setPageTitle");const n=t.onMessage("setTitle").subscribe(async t=>{"tectonOverpanel"===await x(t.value.moduleId.split("."),e.dynamicConfigFetch).then(t=>t.pathOrigin)&&e.setOverpanelTitle?e.setOverpanelTitle(t.value.title):e.setPageTitle&&e.setPageTitle(t.value.title)});i.push(()=>n.unsubscribe())}}(t,n,0,r,i),function(t,e,n,r){const i=e.getCurrentLanguage(),o=new b.t(i);e.languageChanged&&(n.add("languageChanged"),e.languageChanged(t=>{o.next(t)}));const s=o.subscribe((t="en-US")=>{l("streamLanguage",u.Maybe.just(JSON.stringify({langKey:t})))}),c=t.sendResponse("getCurrentLanguage",()=>Promise.resolve({langKey:o.getValue()}));r.push(()=>{[s,c].forEach(t=>t.unsubscribe())})}(t,n,r,i),function(t,e,n,r,i){if(n.showActionSheet){r.add("showActionSheet");const e=t.sendResponse("showActionSheet",t=>n.showActionSheet(t).then(t=>t));i.push(()=>e.unsubscribe())}}(t,0,n,r,i),function(t,e,n,r){if(e.showModal){n.add("sendModal");const i=t.sendResponse("sendModal",t=>e.showModal(t).then(t=>({actionName:t})));r.push(()=>i.unsubscribe())}}(t,n,r,i),function(t,e,n,r,i){if(n.showOverpanel){r.add("showOverpanel");const o=t.sendResponse("showOverpanel",async t=>{var r,i,o,s,u,c,a,l,h;try{let f,p,d,b=[];if(n.getPlatformOverpanels&&(b=await n.getPlatformOverpanels()),t.useRouteConfig){const[e,r]=t.overpanelPath.split(".");p=await n.dynamicConfigFetch(e,r),d=t.overpanelPath,f=await n.dynamicConfigFetch(p.featureName)}else if(b.includes(t.overpanelPath))p={moduleName:t.overpanelPath},d=t.overpanelPath,f={legacyOverpanelName:t.overpanelPath,legacy:!0};else{const r=(h=e.value,Object.entries(h.features).reduce((t,[e,n])=>{const r=n.configuredOverpanels;return r&&Object.entries(r).filter(([t,e])=>!0===e.public).forEach(([n,r])=>{r.featureName||(r.featureName=e),t[n]=r}),t},{}))[t.overpanelPath];let i;r?(p=r,d=`${r.featureName}.${t.overpanelPath}`,f=await n.dynamicConfigFetch(r.featureName)):(i=await x(t.moduleId.split("."),n.dynamicConfigFetch),p=await n.dynamicConfigFetch(i.featureName).then(e=>{var n;const r=null===(n=e.configuredOverpanels)||void 0===n?void 0:n[t.overpanelPath];if(!r)throw new Error(`Overpanel ${t.overpanelPath} not found.`);return r}),d=`${i.featureName}.${t.overpanelPath}`,f=await n.dynamicConfigFetch(p.featureName))}if(f.legacy&&!f.legacyOverpanelName)throw new Error("Tried to call a legacy overpanel, but config is missing a legacyOverpanelName");if(t.params&&n.updateParams&&!f.legacy){const e=null===(o=null===(i=null===(r=f.modules)||void 0===r?void 0:r[p.moduleName])||void 0===i?void 0:i.meta)||void 0===o?void 0:o.params;e&&(function(t,e){if(null==t||"{}"===JSON.stringify(t))return!0;if(void 0===e)throw new Error(`params for action are not configured, yet ${JSON.stringify(t)} was passed to action`);const n=[];if(Object.keys(t).forEach(t=>{e[t]||n.push(t)}),n.length>0)throw new Error(`The following parameter(s) passed to action is/are not configured for the action: [${n.join(", ")}]`)}(t.params,e),n.updateParams(`tectonOverpanel.${d}`,t.params,e))}const v=f.legacy?t.params?JSON.stringify(t.params):"":d,y=f.legacy?f.legacyOverpanelName:void 0,m="options"in p&&p.options||{},g=(null===(s=t.options)||void 0===s?void 0:s.size)||m.size,w=(null===(u=t.options)||void 0===u?void 0:u.height)||m.height,_=(null===(c=t.options)||void 0===c?void 0:c.fullWidth)||m.fullWidth,S=(null===(a=t.options)||void 0===a?void 0:a.isBlocking)||m.isBlocking,[,,C]=t.moduleId.split("."),E=(null===(l=t.options)||void 0===l?void 0:l.testId)||m.testId||C;return n.showOverpanel(v,!!_,y,g,w,E,!!S)}catch(t){return Promise.reject(t)}});i.push(()=>o.unsubscribe())}}(t,e,n,r,i),function(t,e,n,r){if(e.verifyMFA){n.add("verifyMFA");const i=t.sendResponse("verifyMFA",async t=>e.verifyMFA(t));r.push(()=>i.unsubscribe())}}(t,n,r,i)}const T={scrollY:0,innerHeight:0,innerWidth:0};function O(t,e){var n,r,i,o,s,u,c,a;if(!e)return console.warn("No platform root found. Returning zeroed dimensions."),T;const l=e instanceof HTMLElement;return l&&!e.isConnected?(console.warn("Platform root is no longer connected to the DOM. Returning zeroed dimensions."),T):Object.assign({scrollY:null!==(n=l?e.scrollTop:e.scrollY)&&void 0!==n?n:0,innerHeight:null!==(r=l?e.offsetHeight:e.innerHeight)&&void 0!==r?r:0,innerWidth:null!==(i=l?e.offsetWidth:e.innerWidth)&&void 0!==i?i:0,orientationType:null!==(s=null===(o=null===screen||void 0===screen?void 0:screen.orientation)||void 0===o?void 0:o.type)&&void 0!==s?s:"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==t?void 0:t.getSurroundingOffsets)||void 0===a?void 0:a.call(t))}function P(t,e){const n=function(t){return!!t.dataType}(e)?function(t,e,n,r={}){const[i,o="default"]=e.split("::");if(!i)throw new Error(`Invalid dataType format: '${e}'. Expected 'category::type'.`);const s=t.getRequestURLMap?t.getRequestURLMap():{};if(!s[i])throw new Error(`No URL map found for category '${i}'.`);const u=s[i][o]||s[i].default;if(!u)throw new Error(`No URL resolver found for category '${i}' and type '${o}'.`);return("string"==typeof u?Promise.resolve(u):u).then(t=>`${t}${n.map(t=>`/${t}`).withDefault("")}${function(t){const e=Object.keys(t).map(e=>`${e}=${t[e]}`).join("&");return e&&"?".concat(e)||""}(r)}`)}(t,e.dataType,u.Maybe.maybe(e.dataId),e.params):Promise.resolve(e.route);return n.then(n=>e.body&&e.isFormData?t.sendFormDataRequest(n,e.method,function(t){if("object"!=typeof t||null===t)throw new Error("Invalid parameter. Expected JSON.");return Object.keys(t).reduce((e,n)=>(e.append(n,t[n]),e),new FormData)}(JSON.parse(e.body))):(t.sendRequest||t.requestPlatformData)(n,e.method,e.body))}const I="q2.tectonCache";function A(t,e){return`${t}.${e}`}var j;!function(t){t.PlatformCssPropertiesChanged="platformCssPropertiesChanged",t.CallMethod="callMethod"}(j||(j={}));const M=j;var R;!function(t){t.streamCssProperties="streamCssProperties",t.streamPlatformDimensions="platformSizeChanged"}(R||(R={}));const V=R;var k=n(1604);function $(t,e,n,r,i,o){!function(t,e,n){e.refetchRequired&&(n.add("cacheCleared"),e.refetchRequired(t=>{l("cacheCleared",u.Maybe.just(JSON.stringify({cleared:t})))}))}(0,e,i),function(t,e,n,r){if(e.getCapabilities){n.add("canUser");const i=t.sendResponse("canUser",({capabilities:t})=>Promise.resolve({allowed:Object.values(e.getCapabilities(...t)).every(Boolean)}));r.push(()=>i.unsubscribe())}}(t,e,i,o),function(t,e,n,r,i){if(n.getFeatureConfig){r.add("getFeatureConfig");const e=t.sendResponse("getFeatureConfig",async({moduleId:t})=>{const e=await x(t.split("."),n.dynamicConfigFetch),r=await n.dynamicConfigFetch(e.featureName).then(t=>t.configuredSystemVariables||[]);return r.length?n.getFeatureConfig(r).then(t=>({config:t})):Promise.resolve({config:{}})});i.push(()=>e.unsubscribe())}}(t,0,e,i,o),function(t,e,n,r){if(e.getPendoInfo){n.add("getPendoInfo");const i=t.sendResponse("getPendoInfo",()=>Promise.resolve(e.getPendoInfo()));r.push(()=>i.unsubscribe())}}(t,e,i,o),function(t,e,n,r){if(e.getPlatformInfo){n.add("platformInfo");const i=t.sendResponse("platformInfo",t=>e.getPlatformInfo(t));r.push(()=>i.unsubscribe())}}(t,e,i,o),function(t,e,n,r){n.add("getPlatformDimensions");const i=t.sendResponse("getPlatformDimensions",t=>{var n,r,i,o,s;let c;const a=null==t?void 0:t.selector;if(a){const t=document.querySelector(a);t?c=t.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===(i=null===screen||void 0===screen?void 0:screen.orientation)||void 0===i?void 0:i.angle)&&void 0!==o?o:0})}else{const t=null===(s=e.getPlatformRootSelector)||void 0===s?void 0:s.call(e),n=t?document.querySelector(t):window;c=O(e,n)}return l("platformScrollChanged",u.Maybe.just(JSON.stringify(c))),Promise.resolve(c)});r.push(()=>i.unsubscribe())}(t,e,i,o),function(t,e,n,r){if(e.getVersionInfo){n.add("getPlatformInfo");const i=t.sendResponse("getPlatformInfo",()=>{const t=e.getVersionInfo();return Promise.resolve(Object.assign(Object.assign({},t),{TECTON_PLATFORM_VERSION:"1.61.0"}))});r.push(()=>{i.unsubscribe()})}}(t,e,i,o),function(t,e,n,r){if(e.getAuthToken){n.add("authToken");const i=t.sendResponse("authToken",()=>e.getAuthToken());r.push(()=>i.unsubscribe())}}(t,e,i,o),function(t,e,n,r){if(e.getGlobalScripts){n.add("getGlobalScripts");const i=t.sendResponse("getGlobalScripts",()=>e.getGlobalScripts());r.push(()=>i.unsubscribe())}}(t,e,i,o),function(t,e,n,r,i){if(n.isUUXPath&&n.navigateTo){r.add("isNavigable");const o=t.sendResponse("isNavigable",({featureName:t,moduleName:r})=>{const i=E(e,t,r).map(t=>t.navigable).withDefaultFn(()=>n.isUUXPath(t));return Promise.resolve({navigable:i})});i.push(()=>o.unsubscribe())}}(t,r,e,i,o),function(t,e,n,r){var i;function o(){l("platformScrollChanged",u.Maybe.just(JSON.stringify(O(e,p))))}function s(){l("platformSizeChanged",u.Maybe.just(JSON.stringify(O(e,p))))}let c;n.add("platformScrollChanged");const a=()=>{if(c=t.sendResponse("getPlatformScroll",()=>Promise.resolve(O(e,p))),null==p||p.addEventListener("scroll",o),p instanceof HTMLElement){const t=new ResizeObserver(s);t.observe(p),r.push(()=>t.disconnect())}else null==p||p.addEventListener("resize",s)},h=null===(i=e.getPlatformRootSelector)||void 0===i?void 0:i.call(e);let f,p=h?document.querySelector(h):window;p?a():h&&(f=new MutationObserver(()=>{p=document.querySelector(h),p&&(a(),f.disconnect())}),f.observe(document.body,{childList:!0,subtree:!0})),r.push(()=>{null==f||f.disconnect(),null==c||c.unsubscribe(),null==p||p.removeEventListener("scroll",o),null==p||p.removeEventListener("resize",s)})}(t,e,i,o),function(t,e,n,r){if(e.promptForMFA){n.add("promptForMFA");const i=t.sendResponse("promptForMFA",async t=>{const n=await x(t.moduleId.split("."),e.dynamicConfigFetch).then(t=>t.featureName);return e.promptForMFA(n,t)});r.push(()=>i.unsubscribe())}}(t,e,i,o),function(t,e,n){e.refetchRequired&&(n.add("refetchRequired"),e.refetchRequired(t=>{l(`refetchRequired::${t}`,u.Maybe.nothing())}))}(0,e,i),function(t,e,n,r,i){if("function"!=typeof n.requestExtensionData)return;r.add("requestExtensionData");const o=t.sendResponse("requestExtensionData",async t=>{const{moduleId:e,route:r,body:i}=t;let{featureName:o}=t;return!o&&e&&(o=await x(e.split("."),n.dynamicConfigFetch).then(t=>t.featureName)),n.requestExtensionData(o,{route:r,body:i||{}})});i.push(()=>o.unsubscribe())}(t,0,e,i,o),function(t,e,n,r){if(e.sendRequest||e.requestPlatformData){n.add("requestPlatformData"),n.add("requestPlatformData-v2"),e.sendFormDataRequest&&n.add("requestPlatformData-formdata");const i=t.sendResponse("requestPlatformData",t=>P(e,t).then(function(e){return 200<=e.status&&e.status<300?{data:"GET"===t.method?e.response.data:e.response,status:"success"}:{data:{message:e.statusText},status:"error"}})),o=t.sendResponse("requestPlatformData-v2",t=>P(e,t));r.push(()=>{i.unsubscribe(),o.unsubscribe()})}}(t,e,i,o),function(t,e){const n=t.subscribe(t=>{var e;(e=Object.assign(Object.assign({},t.changedParams),t.currentParams),Object.keys(e).reduce((t,e)=>{const n=e.split(".").slice(0,-1).join(".");return-1===t.indexOf(n)&&t.push(n),t},[])).forEach(e=>{const n=v(e,t.changedParams),r=v(e,t.currentParams);l("streamParams::"+e,u.Maybe.just(JSON.stringify({changedParams:n,currentParams:r})))})});e.push(()=>n.unsubscribe())}(n,o),function(t,e,n,r){if(e.takePicture){n.add("takePicture");const i=t.sendResponse("takePicture",({overlayText:t,helpText:n})=>e.takePicture({overlayText:t,helpText:n}).then(t=>({picture:t})));r.push(()=>i.unsubscribe())}}(t,e,i,o),function(t,e,n,r){if(!e.registerLogoffHook||!function(){const t=!!sessionStorage.getItem,e=!!sessionStorage.setItem,n=!!sessionStorage.removeItem;return t&&e&&n}())return;n.add("tectonCache"),e.registerLogoffHook(()=>{sessionStorage.removeItem(I)});const i=t.sendResponse("getCache",t=>{const e=A(t.moduleId,t.key),n=JSON.parse(sessionStorage.getItem(I)||"{}")[e]||{};return Promise.resolve(n)});r.push(()=>i.unsubscribe());const o=t.sendResponse("setCache",t=>{const e=A(t.moduleId,t.key);let n={};return"string"==typeof sessionStorage.getItem(I)&&(n=JSON.parse(sessionStorage.getItem(I))),n[e]=t.data,sessionStorage.setItem(I,JSON.stringify(n)),Promise.resolve()});r.push(()=>o.unsubscribe())}(t,e,i,o),function(t,e,n){if(!t.cssPropertiesChanged)return;e.add(M.PlatformCssPropertiesChanged);const r=new b.t([]),i=r.pipe((0,k.skip)(1)).subscribe(t=>{l(V.streamCssProperties,u.Maybe.just(JSON.stringify(t)))});t.cssPropertiesChanged(t=>{r.next(t)}),n.push(()=>{i.unsubscribe()})}(e,i,o),function(t,e){t.platformEventNotification&&(e.add("platformEventNotification"),t.platformEventNotification(t=>{l(`platformEventNotification::${t.name}`,u.Maybe.maybe(t.data).map(JSON.stringify))}))}(e,i)}var F=n(7758),D=n(2151),q=n(9919),B=n(4517);const L="[iFrameSizer]",z=[{name:"name",reflectAs:String},{name:"minHeight",reflectAs:String},{name:"overpanel",reflectAs:Boolean},{name:"baseClass",reflectAs:String}],U=(0,F.createSetupElement)(function(t,{messageBus:e,props:n,moduleId:r,tectonOutletAdaptor:s,resize:u}){return(0,F.generateCustomElementWrapper)(t,(t,n)=>{const c=new b.t(document.createElement("div")),a=new b.t(!1),l=n.pipe((0,o.T)(t=>t.name),(0,i.p)(t=>!!t),(0,o.T)(t=>`${r?`${r}.`:""}${t}`),(0,q.F)(),(0,B.$)()).subscribe(r=>{const i=s(e,r,t,n,u),o=i.DOM$.subscribe(c),l=i.settled$.subscribe(a),f=i.teardown$.subscribe(h),p=i.effect$.subscribe(e=>{t.__attached?e():t.__onAttached.push(e)});i.teardown$.next(()=>{o.unsubscribe(),l.unsubscribe(),f.unsubscribe(),p.unsubscribe()})}),h=new b.t(()=>{l.unsubscribe(),c.complete(),c.next(null)});return{DOM$:c,settled$:a,teardown$:h}},{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"===t?'\n :host {\n position: relative;\n display: block;\n height: 100%;\n }\n .loading-wrapper:not([hidden]) {\n align-items: flex-start;\n }\n .loading-wrapper .q2-row {\n flex: 1;\n text-align: center;\n }\n q2-loading[type="spinner"] {\n display: inline-block;\n margin-top: 20px;\n }\n ':""}\n `})});function W(t){const e=[];if(t&&t.loaders){const n=t.loaders.reduce((t,e)=>e.row>t?e.row:t,0);for(let t=0;t<n;t++)e.push([]);for(const n of t.loaders){const t=document.createElement("q2-loading");t.setAttribute("shape",n.shape),t.setAttribute("type",n.type),t.className="q2-col",n.classList&&t.classList.add(...n.classList),n.style&&t.setAttribute("style",n.style),n.modifiers&&t.setAttribute("modifiers",n.modifiers),n.counts&&t.setAttribute("counts",n.counts),n.ariaLabel&&t.setAttribute("ariaLabel",n.ariaLabel),e[n.row-1].push(t)}}else{const t=document.createElement("q2-loading");e.push([]),t.classList.add("mrg(a)"),e[0].push(t)}return e}function H(t){const e=t.getAttribute("base-class");return e?null==e?void 0:e.replace(/\s/g,"%7C"):""}var J=n(9489),Y=n(9143);function G(t,e){const n=new URL(t,window.location.toString()),r=Object.keys(e).map(t=>`${t}=${e[t]}`).join("&"),i=n.search?`${n.search}&${r}`:`?${r}`;return n.search=i,n.href}const Z=[{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 K(t,n,r,s){return function(c,l,h,f){const p=document.createElement("div"),d=new b.t(p),y=new b.t(!1),g=new b.t(()=>{}),w=function(){return{loaderWrapper:h.shadowRoot.querySelector("div[slot='loading-wrapper']"),iframeEl:h.shadowRoot.querySelector("iframe"),minHeight:f.getValue().minHeight}};let x;const _=function(){return x},S=function(t,e,n){return t.onMessage("setFetching").pipe((0,i.p)(t=>t.value.moduleId===e())).subscribe(t=>{const{loaderWrapper:e,iframeEl:r,minHeight:i="0px"}=n();if(e&&r){const{fetching:n}=t.value;e.hidden=!n,r.hidden=n,e.style.minHeight=n?i:"0px"}})}(c,_,w),C=function(t,e,n){return t.sendResponse("requestOutletInfo",({moduleId:t})=>{if(t!==e())return null;const{iframeEl:r}=n(),i=null==r?void 0:r.getBoundingClientRect();return i&&Object.values(i.toJSON()).find(t=>0!==t)?Promise.resolve(i):null})}(c,_,w),E=new b.t(()=>{S.unsubscribe(),C.unsubscribe(),d.complete(),d.next(null)}),N=f.pipe((0,o.T)(t=>t.configTree),(0,i.p)(t=>!!t),(0,q.F)()),T=new b.t(!1),O=f.pipe((0,o.T)(t=>t.overpanel),(0,i.p)(t=>"boolean"==typeof t),(0,q.F)()).subscribe(T),P=f.pipe((0,o.T)(t=>t.routeName),(0,i.p)(t=>!!t),(0,q.F)()),I=P.pipe((0,o.T)(t=>`${l}.${t}`),(0,Y.J)()).subscribe(([t])=>{a("clearParams",u.Maybe.just(JSON.stringify({moduleId:t})))}),A=(0,J.zV)(N,T,P).subscribe(([p,b,S])=>{const C=t.getValue(),N=C.features[p.featureName];if(!N)throw new Error(`Could not find the config for this feature=${p.featureName}`);const T=N.modules[p.moduleName],P=f.getValue();if(function(t,e,n,r){var i,o,s,u;const c=e.isMFA,a=!1!==t.rightsEnabled,l="Application::Unauthenticated"===(null===(o=null===(i=t.meta)||void 0===i?void 0:i.type)||void 0===o?void 0:o.context);return!(!c&&!l)||!!a&&function(t,e){const{outletContext:n,moduleContext:r,resolvedContext:i,additionalContext:o,additionalContextRequirements:s}=t;if((null==s?void 0:s.length)&&o&&!s.includes(o.toString()))return!1;if("None"===r||"None"===n)return!0;const u=m(r,e);return 0!==u.length&&u.includes(i||n)}({additionalContext:n.additionalContext,additionalContextRequirements:t.additionalContextRequirements,contextValue:n.contextValue,moduleContext:(null===(u=null===(s=t.meta)||void 0===s?void 0:s.type)||void 0===u?void 0:u.context)||"None",outletContext:n.context||"None",resolvedContext:n.resolvedType},r)}(T,N,P,s)){x=`${l}.${S}`;const t=P.minHeight,s=C.features[p.featureName],f=!!s.modules[p.moduleName].formPostAuth,m=s.modules[p.moduleName].url,N=s.additionalDomains,j=s.allowDirectives,M=function(t,e,n,r,i,o,s){let u=G(o&&s.buildIframeURL?s.buildIframeURL(t):t,Object.assign(Object.assign({"tct-id":e,"tct-ctxid":n.contextValue||"","tct-ctxname":n.contextId||""},v(e,i.currentParams)),{"tct-maxHeight":r.style.maxHeight,"tct-maxWidth":r.style.maxWidth,"tct-baseClass":H(r),"tct-outlet-name":r.name||""}));return function(t){const e=t.getAttribute("beta");return""===e||"true"===e}(r)&&(u=G(u,{"tct-beta":"true"})),u}(m,x,P,h,n.getValue(),f,r);if(!b){const t=function(t,n,r){const s=(0,e.R)(window,"message").pipe((0,i.p)(t=>"string"==typeof t.data&&t.data.includes("iFrameSizer")),(0,o.T)(t=>{const e=t.data.substr(L.length).split(":"),[n,r]=e;return{value:{moduleId:n,height:r}}})),u=t.onMessage("resizeIframe");return(0,D.h)(s,u).pipe((0,i.p)(t=>t.value.moduleId===n()),(0,q.F)((t,e)=>t.value.height===e.value.height)).subscribe(t=>{const{height:e}=t.value,{iframeEl:n}=r();n&&n.style.setProperty("height",`${e}px`)})}(c,_,w);E.next(()=>{t.unsubscribe()})}const R=function(t,e,n){return t.onMessage("setTitle").pipe((0,i.p)(t=>t.value.moduleId===e())).subscribe(t=>{const{iframeEl:e}=n();e.title=t.value.title})}(c,_,w);E.next(()=>{R.unsubscribe()});const V=function(t,e,n,r,i,o,s,u,c,a){const l=document.createElement("div");l.className="outlet-wrapper";const h=document.createElement("slot");h.name="loading-wrapper";const f=[],p=document.createElement("iframe");if(u){const r=document.createElement("form");n.forEach(function(t){const e=document.createElement("input");e.name=t.key,e.setAttribute("value",t.value),r.appendChild(e)}),r.hidden=!0,r.method="post",r.action=t,r.target=e,r.enctype="multipart/form-data",p.name=e,l.appendChild(r),f.push(function(){r.submit(),l.removeChild(r)})}else p.src=t;return p.title=r,p.dataset.moduleId=e,p.style.maxHeight=i,p.style.maxWidth=o,p.setAttribute("test-id","outletIframe"),p.allow=function(t=[],e=["geolocation","camera"],n){let r=["'self'",`${new URL(n).origin}`];return t&&t.length>0&&(r=[...r,...t]),e.reduce(function(t,e){return t+`${e} ${r.join(" ")}; `},"")}(c,a,t),l.appendChild(p),f.push(()=>{p.contentWindow&&p.contentWindow.postMessage(`${L}${e}:0:false:false:32:true:true:null:documentElementOffset`,"*")}),p.onload=function(){f.forEach(t=>{t()}),p.onload=function(){}},s?l.classList.add("scrollable"):(p.style.setProperty("overflow-y","hidden"),p.scrolling="no"),p.hidden=!0,l.appendChild(h),l}(M,x,r.getAuthPayload?r.getAuthPayload():[],`${p.featureName}-${p.moduleName}`,h.style.maxHeight,h.style.maxWidth,b,f,N,j),k=function(t,e){var n;const r=document.createElement("div");r.style.minHeight=e||"0px",r.slot="loading-wrapper",r.classList.add("loading-wrapper"),r.setAttribute("data-tecton-module","");const i=t.loadingOptions?W(t.loadingOptions):W();if(null===(n=t.loadingOptions)||void 0===n?void 0:n.outlet){const e=t.loadingOptions.outlet;e.style&&r.setAttribute("style",e.style),e.classList&&r.classList.add(...e.classList)}for(const t of i){const e=document.createElement("div");e.className="q2-row";for(const n of t)e.appendChild(n);r.appendChild(e)}return r}(T,t);d.next(V),g.next(()=>{const t=h.shadowRoot.querySelector(".loading-wrapper");t?h.shadowRoot.replaceChild(k,t):h.shadowRoot.appendChild(k),y.next(!0)}),E.next(()=>{O.unsubscribe(),A.unsubscribe(),I.unsubscribe(),a("clearParams",u.Maybe.just(JSON.stringify({moduleId:x})))})}});return{DOM$:d,settled$:y,teardown$:E,effect$:g}}}const X=`${window.location.origin}${window.location.pathname.replace(/\/uux\.aspx/i,"")}`;function Q(t){return/^http/.test(t)?t:`${window.location.origin}/${t}`}function tt(t,e,n,r,i,o,s={}){!function(t,e,n,r){if(e.getMobileSDKCapabilities){n.add("getMobileSDKCapabilities");const i=t.sendResponse("getMobileSDKCapabilities",()=>Promise.resolve(e.getMobileSDKCapabilities()));r.push(()=>i.unsubscribe())}}(t,e,i,o),function(t,e,n){const r=t.sendResponse("getInitialParams",t=>Promise.resolve({params:v(t.moduleId,e.getValue().currentParams)}));n.push(()=>r.unsubscribe())}(t,n,o),function(t,e,n,r,i){let o;const s=t.sendResponse("getCustomerAssetPath",({subPath:t})=>Promise.resolve({path:Q(n.getCustomerSpecificAssetPath(t))}));n.getCustomLanguageURL&&(e.add("getCustomLanguageURL"),o=t.sendResponse("getCustomLanguageURL",async({moduleId:t,langKey:e})=>{const r=await x(t.split("."),n.dynamicConfigFetch);return Promise.resolve({path:Q(n.getCustomLanguageURL(`${e}_${r.featureName}.json`))})}));const u=t.sendResponse("getBaseAssetPath",({subPath:t})=>Promise.resolve({path:Q(n.getBaseAssetPath(t))})),c=t.sendResponse("getNgamBaseUrl",()=>Promise.resolve({ngamBase:X}));i.push(()=>{s.unsubscribe(),u.unsubscribe(),c.unsubscribe(),o&&o.unsubscribe()})}(t,i,e,0,o),function(t,e,n,r,i,o){const s=e.sendResponse("resolveFeature",async e=>{const i=await x(e.outletPath.split("."),t.dynamicConfigFetch),s=S(i.configPath,i.treeFromRoot),c=(await t.dynamicConfigFetch(i.featureName)).modules[i.moduleName].meta.outlets[i.outletName],a="None"===c.context?u.Maybe.nothing():u.Maybe.just(c.context),l=e.contextValue?u.Maybe.just(e.contextValue):u.Maybe.nothing(),h=e.resolvedType?u.Maybe.just(e.resolvedType):u.Maybe.nothing(),f=e.additionalContext?u.Maybe.just(e.additionalContext):u.Maybe.nothing(),p=s.configuredOutlets[i.outletName],d=n.getValue();return g(t,r,e.outletPath,a,l,p,h,f,d,i.featureName,i.moduleName,o).then(t=>t.withDefault({moduleId:"",featureName:"",initialParams:{},url:"",minHeight:"",formPostAuth:!1,loadingOptions:{loaders:[{type:"spinner",shape:"half-circle",row:1}]}}))});i.push(()=>s.unsubscribe())}(e,t,r,n,o,s),function(t,e,n,r,i,o){const s=e.sendResponse("resolveTabs",async e=>{const i=await x(e.outletPath.split("."),t.dynamicConfigFetch),s=S(i.configPath,i.treeFromRoot),c=t.dynamicConfigFetch(i.featureName),a=await c,l=(await c.then(t=>t.modules[i.moduleName])).meta.outlets[i.outletName],h="None"===l.context?u.Maybe.nothing():u.Maybe.just(l.context),f=e.contextValue?u.Maybe.just(e.contextValue):u.Maybe.nothing(),p=e.resolvedType?u.Maybe.just(e.resolvedType):u.Maybe.nothing(),d=e.additionalContext?u.Maybe.just(e.additionalContext):u.Maybe.nothing(),b=s.configuredOutlets[i.outletName],v=n.getValue();return function(t,e,n,r,i,o,s,c,a,l,h,f,p,d){return Promise.all(c.map(c=>g(t,e,n,r,i,c.modules||[],o,s,a,l,h,f).then(t=>t.map(t=>({tabLabel:c.tabLabel,tab:t}))).catch(()=>u.Maybe.nothing()))).then(t=>u.Maybe.filterSomethings(t)).then(t=>t.map(t=>({tabLabel:t.tabLabel,tabLabelOverride:t.tab.tabLabelOverride,moduleId:t.tab.moduleId,initialParams:t.tab.initialParams,url:t.tab.url,minHeight:t.tab.minHeight,formPostAuth:t.tab.formPostAuth,loadingOptions:t.tab.loadingOptions,additionalDomains:p,allowDirectives:d,requiredUserCapabilities:t.tab.requiredUserCapabilities,rightsEnabled:t.tab.rightsEnabled})))}(t,r,e.outletPath,h,f,p,d,b,v,i.featureName,i.moduleName,o,a.additionalDomains,a.allowDirectives).then(t=>({resolvedTabs:t}))});i.push(()=>s.unsubscribe())}(e,t,r,n,o,s),function(t,e,n,r,i,o){const s=e.sendResponse("resolveMenu",async e=>{const i=await x(e.outletPath.split("."),t.dynamicConfigFetch),s=S(i.configPath,i.treeFromRoot),c=(await t.dynamicConfigFetch(i.featureName).then(t=>t.modules[i.moduleName])).meta.outlets[i.outletName];if(!c)throw new Error(`${i.outletName} contextual menu outlet not found in config`);const a="None"===c.context?u.Maybe.nothing():u.Maybe.just(c.context),l=e.contextValue?u.Maybe.just(e.contextValue):u.Maybe.nothing(),h=e.resolvedType?u.Maybe.just(e.resolvedType):u.Maybe.nothing(),f=e.additionalContext?u.Maybe.just(e.additionalContext):u.Maybe.nothing(),p=s.configuredOutlets[i.outletName],d=n.getValue();return!1===d.features[i.featureName].modules[i.moduleName].rightsEnabled?new Promise(t=>{t({resolvedMenuItems:[]})}):function(t,e,n,r,i,o,s,c,a,l,h,f){return Promise.all(c.map(c=>g(t,e,n,r,i,c.modules||[],o,s,a,l,h,f).then(e=>e.asyncMap(async e=>{const n=await x(e.moduleId.split("."),t.dynamicConfigFetch),r=i.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(t=>u.Maybe.filterSomethings(t))}(t,r,e.outletPath,a,l,h,f,p,d,i.featureName,i.moduleName,o).then(t=>({resolvedMenuItems:t}))});i.push(()=>s.unsubscribe())}(e,t,r,n,o,s),function(t,e,n){const r=t.sendResponse("getPlatformCapabilities",()=>{const t=Array.from(e);return Promise.resolve({capabilities:t})});n.push(()=>r.unsubscribe())}(t,i,o),function(t,e,n){const r=t.sendResponse("getAuthPayload",()=>Promise.resolve(e.getAuthPayload()));n.push(()=>r.unsubscribe())}(t,e,o),function(t,e,n,r){if(e.cdnOverride){n.add("cdnOverride");const i=t.sendResponse("cdnOverride",()=>e.cdnOverride().then(t=>({path:t})));r.push(()=>i.unsubscribe())}}(t,e,i,o)}const et="Authenticated",nt="Unauthenticated";function rt(e,n,r={},i){window.isTectonPlatform=!0;const o=new b.t({changedParams:{},currentParams:{}});let s;it(e),window.isTestingTecton||(null==i?void 0:i.testing)?(s=window.tectonConfig$||new b.t(null),s.next(e),window.tectonConfig$=s):s=new b.t(e);const c=new d(s,window.isTestingTecton),a=new Set,h=[c.teardown.bind(c)];function f(t){const[r,i]=t.split(".");try{return Promise.resolve(e.features[r].configuredOverpanels[i])}catch(t){return n.dynamicConfigFetch(r,i)}}return function(t){t.add("resizeIframe"),t.add("requestOutletInfo")}(a),function(t,e,n,r){if(e.setupDynamicPlatformAPI){e.setupDynamicPlatformAPI().forEach(t=>n.add(t));const i=t.sendResponse("executeDynamicPlatformAPI",({functionName:t,args:n})=>e.executeDynamicPlatformAPI(t,n));r.push(()=>i.unsubscribe())}}(c,n,a,h),N(c,s,n,a,h),$(c,n,o,s,a,h),function(t,e,n,r){if(!e.getCurrentTheme)return void n.add("ThemesNotSupported");n.add("getCurrentTheme");const i=new b.t({path:Q(e.getCustomerSpecificAssetPath(`${e.getCurrentTheme()}-props.css`))});e.themeChanged&&(n.add("themeChanged"),e.themeChanged(t=>{i.next({path:Q(e.getCustomerSpecificAssetPath(`${t}-props.css`))})}));const o=i.subscribe(t=>{l("themeChanged",u.Maybe.maybe(t).map(JSON.stringify))}),s=t.sendResponse("getCurrentTheme",()=>Promise.resolve(i.getValue()));r.push(()=>{o.unsubscribe(),s.unsubscribe()})}(c,n,a,h),tt(c,n,o,s,a,h,r),function(t,e,n,r,i={}){U({messageBus:t,moduleId:"",props:Z,tectonOutletAdaptor:K(e,n,r,i)})("tecton-platform-outlet")}(c,s,o,n,r),{tectonParamsChanged(t){o.next(t)},updateConfig(e){const n=s.getValue();t(n,e),it(n),s.next(n)},replaceConfig(t){it(t),s.next(t)},verifyConfig(){if(!n.getCapabilities)return void console.error("getCapabilities must be implemented on platform to verify config.");const t=t=>{var e,r;return!(null==t?void 0:t.length)||Object.values(null!==(r=null===(e=n.getCapabilities)||void 0===e?void 0:e.call(n,...null!=t?t:[]))&&void 0!==r?r:{}).every(Boolean)},e=s.getValue(),r=e.features;for(const e in r){if(!r.hasOwnProperty(e))continue;const n=r[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)}}it(e),s.next(e)},configLookup:function(t,e){const n=s.getValue();if(!e){const e=n.features[t];if(!e)throw new Error(`No config found, please check if the extension(${t}) is running correctly.`);return e}if(!n.features[t])throw new Error(`Please check if the extension(${t}) is running correctly.`);const r=n.features[t].modules[e].routeConfig||{featureName:t,moduleName:e},i=n.features[t].modules[e].rightsEnabled;return void 0!==i&&(r.rightsEnabled=i),r},configForRoute(t){const[e,n]=t.split(".");return s.getValue().features[e].modules[n].routeConfig||{featureName:e,moduleName:n}},configForOverpanel:f,overpanelOverrideLookup(t){var e,n,r,i,o,u,c,a,l;const h=s.getValue(),p=(h.overpanelOverrides||[]).find(e=>e.overpanelName===t),{featureName:d="",overpanelName:b=""}=null!==(e=null==p?void 0:p.override)&&void 0!==e?e:{},v=`${d}.${b}`,y=null===(n=h.features)||void 0===n?void 0:n[d],m=[{condition:!p,message:`No overpanel override found for ${t}.`},{condition:!d||!b,message:`Invalid overpanel override configuration for ${t}.`},{condition:!y,message:`Feature ${d} not found in config.`},{condition:!1===(null==y?void 0:y.rightsEnabled),message:`Feature ${d} is not enabled for this user.`},{condition:!(null===(r=null==y?void 0:y.configuredOverpanels)||void 0===r?void 0:r[b]),message:`Override overpanel ${b} not found in config.`},{condition:!1===(null===(c=null===(i=null==y?void 0:y.modules)||void 0===i?void 0:i[null===(u=null===(o=null==y?void 0:y.configuredOverpanels)||void 0===o?void 0:o[b])||void 0===u?void 0:u.moduleName])||void 0===c?void 0:c.rightsEnabled),message:`The module ${null===(l=null===(a=null==y?void 0:y.configuredOverpanels)||void 0===a?void 0:a[b])||void 0===l?void 0:l.moduleName} for feature ${d} is not enabled for this user.`}];for(const{condition:t,message:e}of m)if(t)return Promise.resolve({override:!1,message:e});return f(v).then(t=>{const e={override:!0,overpanelId:v,overpanelConfig:t};return(null==p?void 0:p.contextInfo)&&(e.contextInfo=p.contextInfo),Promise.resolve(e)})},updateApplicationModules(t){!function(t,e=!1){const n=function(t){var e,n,r;const i={};for(const[o,s]of Object.entries(t.features))for(const[t,u]of Object.entries(s.modules)){const s=null!==(r=null===(n=null===(e=null==u?void 0:u.meta)||void 0===e?void 0:e.type)||void 0===n?void 0:n.context)&&void 0!==r?r:void 0;if(s&&s.toLowerCase().startsWith("Application::".toLowerCase())){const e=s.split("::")[1].toLowerCase(),n={featureName:o,moduleName:t,rightsEnabled:u.rightsEnabled};i[e]?i[e].push(n):i[e]=[n]}}return i}(t),r=e?et:nt,i=n[r.toLowerCase()];null==i||i.forEach(t=>{const{featureName:e,moduleName:n,rightsEnabled:i}=t,o=`${e}.${n}`,s=`TectonApplicationModule.${o}`;document.getElementById(s)||!1===i||function({authContext:t,outletId:e,modulePath:n,featureName:r,moduleName:i}){const o=window.isTestingTecton?document.createElement("object"):document.createElement("tecton-platform-outlet");o.name=`Tecton${t}ApplicationModule`,o.id=e,o.routeName=n,o.configTree={featureName:r,moduleName:i},o.tabIndex=-1,o.setAttribute("style","width:0; height:0; visibility: hidden; overflow: hidden;"),document.body.appendChild(o)}({authContext:r,outletId:s,modulePath:o,featureName:e,moduleName:n})}),e||function(t){const e=document.getElementsByName(`Tecton${t}ApplicationModule`);null==e||e.forEach(function(t){var e;null===(e=t.parentNode)||void 0===e||e.removeChild(t)})}(et)}(e,t)},teardown(){h.forEach(t=>t())}}}function it(t){Object.keys(t.features).forEach(function(e){const n=t.features[e],r=n.configuredOverpanels;r&&Object.keys(r).forEach(function(t){r[t].featureName||(r[t].featureName=e)});try{Object.keys(n.modules).forEach(function(t){n.modules[t].routeConfig||(n.modules[t].routeConfig={featureName:e,moduleName:t,configuredOutlets:{}}),Object.assign(n.modules[t].meta,{featureName:e,moduleName:t});let r=n.modules[t].url;if(r){if(r.startsWith("./")){const t=window.location.pathname.split("/").filter(t=>t),e=t[t.length-1];e&&e.includes(".")&&t.pop();const n=t.length>0?t.join("/"):"";r=r.replace("./",`${window.location.origin}/${n?`${n}/`:""}`)}r=r.replace("{featureName}",e),r=r.replace("{moduleName}",t),n.modules[t].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 t.features[e]}})}})(),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:()=>a});var r=n(3002),s=n(3878),o=n(6702),i=n(9132),u=n(7007);function a(e,t,n=1/0){return(0,u.T)(t)?a((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 a=!1,c=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(a){a=!1;const e=c;c=null,r.next(e),!d&&p(e)}};n.subscribe((0,s._)(r,e=>{a=!0,c=e,(!l||l.closed)&&(i?m():p(e))},()=>{d=!0,(!(u&&a&&l)||l.closed)&&r.complete()}))})}},287:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=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())}}},338:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=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.62.0"}))});r.push(()=>{s.unsubscribe()})}}},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})},409:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getApplicationModules=void 0,t.getApplicationModules=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}},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),a=n(2464),c=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,c.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,a._)(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)}},632:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=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())}}},693:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){if(t.getGlobalScripts){n.add("getGlobalScripts");const s=e.sendResponse("getGlobalScripts",()=>t.getGlobalScripts());r.push(()=>s.unsubscribe())}}},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),a=n(8918),c=n(616),l=n(2464),d=n(3873);function f(...e){const t=(0,a.lI)(e),n=(0,a.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,c.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,a=s;for(let c=0;c<s;c++)p(t,()=>{const s=(0,o.H)(e[c],t);let d=!1;s.subscribe((0,l._)(r,e=>{i[c]=e,d||(d=!0,a--),a||r.next(n(i.slice()))},()=>{--u||r.complete()}))},r)},r)}}function p(e,t,n){e?(0,d.N)(n,e,t):t()}},818:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){if(t.getMobileSDKCapabilities){n.add("getMobileSDKCapabilities");const s=e.sendResponse("getMobileSDKCapabilities",()=>Promise.resolve(t.getMobileSDKCapabilities()));r.push(()=>s.unsubscribe())}}},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 a=()=>{if(s){s.unsubscribe(),s=null;const e=i;i=null,r.next(e)}};function c(){const n=u+e,o=t.now();if(o<n)return s=this.schedule(void 0,n-o),void r.add(s);a()}n.subscribe((0,o._)(r,n=>{i=n,u=t.now(),s||(s=t.schedule(c,e),r.add(s))},()=>{a(),r.complete()},void 0,()=>{i=s=null}))})}},881:(e,t,n)=>{"use strict";n.d(t,{O:()=>u,w:()=>a});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(a(e))}function a(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)})))}}},884:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPlatformRoot=t.getDimensions=void 0;const n={scrollY:0,innerHeight:0,innerWidth:0};t.getDimensions=function(e,t){var r,s,o,i,u,a,c,l;if(!t)return console.warn("No platform root found. Returning zeroed dimensions."),n;const d=t instanceof HTMLElement;return d&&!t.isConnected?(console.warn("Platform root is no longer connected to the DOM. Returning zeroed dimensions."),n):Object.assign({scrollY:null!==(r=d?t.scrollTop:t.scrollY)&&void 0!==r?r:0,innerHeight:null!==(s=d?t.offsetHeight:t.innerHeight)&&void 0!==s?s:0,innerWidth:null!==(o=d?t.offsetWidth:t.innerWidth)&&void 0!==o?o:0,orientationType:null!==(u=null===(i=null===screen||void 0===screen?void 0:screen.orientation)||void 0===i?void 0:i.type)&&void 0!==u?u:"landscape-primary",orientationAngle:null!==(c=null===(a=null===screen||void 0===screen?void 0:screen.orientation)||void 0===a?void 0:a.angle)&&void 0!==c?c:0},null===(l=null==e?void 0:e.getSurroundingOffsets)||void 0===l?void 0:l.call(e))},t.getPlatformRoot=function(e){var t;const n=null===(t=null==e?void 0:e.getPlatformRootSelector)||void 0===t?void 0:t.call(e);return n?document.querySelector(n):window}},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)}},942:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ifRelativePrependOrigin=t.setupPathResolvers=t.NGAM_BASE=void 0;const r=n(1870);function s(e){return/^http/.test(e)?e:`${window.location.origin}/${e}`}t.NGAM_BASE=`${window.location.origin}${window.location.pathname.replace(/\/uux\.aspx/i,"")}`,t.setupPathResolvers=function(e,n,o,i,u){let a;const c=e.sendResponse("getCustomerAssetPath",({subPath:e})=>Promise.resolve({path:s(o.getCustomerSpecificAssetPath(e))}));o.getCustomLanguageURL&&(n.add("getCustomLanguageURL"),a=e.sendResponse("getCustomLanguageURL",async({moduleId:e,langKey:t})=>{const n=await(0,r.getPathResolutionInfo)(e.split("."),o.dynamicConfigFetch);return Promise.resolve({path:s(o.getCustomLanguageURL(`${t}_${n.featureName}.json`))})}));const l=e.sendResponse("getBaseAssetPath",({subPath:e})=>Promise.resolve({path:s(o.getBaseAssetPath(e))})),d=e.sendResponse("getNgamBaseUrl",()=>Promise.resolve({ngamBase:t.NGAM_BASE}));u.push(()=>{c.unsubscribe(),l.unsubscribe(),d.unsubscribe(),a&&a.unsubscribe()})},t.ifRelativePrependOrigin=s},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)))})}},1075:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1950);t.default=function(e,t,n,s){if(t.closeOverpanel){n.add("closeOverpanel");const o=e.onMessage("closeOverpanel").pipe((0,r.map)(e=>e.value)).subscribe(t.closeOverpanel);s.push(()=>o.unsubscribe())}}},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()})}},1088:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveDataURL=t.platformDataRequest=t.isDataRequest=void 0;const r=n(755),s=n(6214);function o(e){return!!e.dataType}function i(e,t){return(o(t)?u(e,t.dataType,r.Maybe.maybe(t.dataId),t.params):Promise.resolve(t.route)).then(n=>t.body&&t.isFormData?e.sendFormDataRequest(n,t.method,(0,s.JSONToFormData)(JSON.parse(t.body))):(e.sendRequest||e.requestPlatformData)(n,t.method,t.body))}function u(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)}`)}t.default=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=>i(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=>i(t,e));r.push(()=>{s.unsubscribe(),o.unsubscribe()})}},t.isDataRequest=o,t.platformDataRequest=i,t.resolveDataURL=u},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:()=>a,Ij:()=>r,gV:()=>c});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 a{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){return c(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 a("N",e)}static createError(e){return new a("E",void 0,e)}static createComplete(){return a.completeNotification}}function c(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)}a.completeNotification=new a("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))}},1480:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=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())}}},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 a=e=>{s.error(e),n.error(e)},c=()=>{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 a(e)}t.subscribe(u=(0,o._)(n,c,c,a))};c(),t.subscribe((0,o._)(n,e=>s.next(e),()=>{s.complete(),n.complete()},a,()=>{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=[],a=0;s.next(i[0].asObservable()),t.subscribe((0,o._)(s,t=>{for(const e of i)e.next(t);const o=a-e+1;if(o>=0&&o%n===0&&i.shift().complete(),++a%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)}})}},1736:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1870),s=n(8757),o=n(8219);t.default=function(e,t,n,i,u){if(n.showOverpanel){i.add("showOverpanel");const a=e.sendResponse("showOverpanel",async e=>{var i,u,a,c,l,d,f,h;try{let p,m,b,v=[];if(n.getPlatformOverpanels&&(v=await n.getPlatformOverpanels()),e.useRouteConfig){const[t,r]=e.overpanelPath.split(".");m=await n.dynamicConfigFetch(t,r),b=e.overpanelPath,p=await n.dynamicConfigFetch(m.featureName)}else if(v.includes(e.overpanelPath))m={moduleName:e.overpanelPath},b=e.overpanelPath,p={legacyOverpanelName:e.overpanelPath,legacy:!0};else{const s=(0,o.default)(t.value)[e.overpanelPath];let i;s?(m=s,b=`${s.featureName}.${e.overpanelPath}`,p=await n.dynamicConfigFetch(s.featureName)):(i=await(0,r.getPathResolutionInfo)(e.moduleId.split("."),n.dynamicConfigFetch),m=await n.dynamicConfigFetch(i.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}),b=`${i.featureName}.${e.overpanelPath}`,p=await n.dynamicConfigFetch(m.featureName))}if(p.legacy&&!p.legacyOverpanelName)throw new Error("Tried to call a legacy overpanel, but config is missing a legacyOverpanelName");if(e.params&&n.updateParams&&!p.legacy){const t=null===(a=null===(u=null===(i=p.modules)||void 0===i?void 0:i[m.moduleName])||void 0===u?void 0:u.meta)||void 0===a?void 0:a.params;t&&((0,s.default)(e.params,t),n.updateParams(`tectonOverpanel.${b}`,e.params,t))}const g=p.legacy?e.params?JSON.stringify(e.params):"":b,y=p.legacy?p.legacyOverpanelName:void 0,w="options"in m&&m.options||{},_=(null===(c=e.options)||void 0===c?void 0:c.size)||w.size,x=(null===(l=e.options)||void 0===l?void 0:l.height)||w.height,P=(null===(d=e.options)||void 0===d?void 0:d.fullWidth)||w.fullWidth,O=(null===(f=e.options)||void 0===f?void 0:f.isBlocking)||w.isBlocking,[,,N]=e.moduleId.split("."),T=(null===(h=e.options)||void 0===h?void 0:h.testId)||w.testId||N;return n.showOverpanel(g,!!P,y,_,x,T,!!O)}catch(e){return Promise.reject(e)}});u.push(()=>a.unsubscribe())}}},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})}},1870:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matchModulebyFeatureName=t.findModuleInArrayConfig=t.resolveTectonPath=t.generateTectonConfigPathFromModuleId=t.getPathResolutionInfo=t.getTypeValueIfContextual=t.resolveFeature=void 0;const r=n(755),s=n(3264),o=n(8084);function i(e,t,n,i,c,l,d,f,h,p,m,b={}){return u(i,c,d).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,l),s=t.map(e=>(0,o.getContextHierarchyPath)(e,b)).bind(e=>a(n,e,f)),i=r.Maybe.maybe(n[0]);return t.map(()=>s).altMap(()=>r.Maybe.just(i)).bind(e=>e)}).then(async e=>e.map(e=>{var r,o,i,u;const a=`${n}.${e.featureName}.${e.moduleName}`,c=(null===(o=null===(r=h.features[p])||void 0===r?void 0:r.modules[m])||void 0===o?void 0:o.requiredUserCapabilities)||[],l=(null===(u=null===(i=h.features[e.featureName])||void 0===i?void 0:i.modules[e.moduleName])||void 0===u?void 0:u.requiredUserCapabilities)||[],d=[...new Set([...c,...l])];return{moduleId:a,initialParams:(0,s.default)(a,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:d,rightsEnabled:e.rightsEnabled}}))}function u(e,t,n){return r.Maybe.sequence([e,t]).map(()=>{const e=n.withDefault("");return""!==e?Promise.resolve(r.Maybe.just(e)):Promise.resolve(r.Maybe.nothing())}).withDefaultFn(()=>Promise.resolve(r.Maybe.nothing()))}function a(e,t,n){return r.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&&r.Maybe.nothing()||a(e,t.slice(1),n))}async function c(e,t){const n=e.length%3==1?"outlet":"module",r=e[0],s=e.length<5;let o,i,u,a,c;if("tectonOverpanel"===r)o=l({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=l({path:e.slice(u),outletModuloVal:0}),i=await t(r,s)}return"outlet"===n?(s?(u=i.featureName,a=i.moduleName):(u=e[e.length-3],a=e[e.length-2]),c=e[e.length-1],o=o.slice(0,-2),{pathType:n,featureName:u,moduleName:a,outletName:c,configPath:o,pathOrigin:r,treeFromRoot:i}):(s?(u=i.featureName,a=i.moduleName):(u=e[e.length-2],a=e[e.length-1]),{pathType:n,featureName:u,moduleName:a,configPath:o,pathOrigin:r,treeFromRoot:i})}function l({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 d(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")?f(e,h(n,r)):e.find(h(n,r))}return e[t]},t)}function f(e,t){let n=-1;const r=e.find(e=>(n=e.modules.findIndex(t),-1!==n));if(r)return r.modules[n]}function h(e,t){return n=>n.featureName===e&&n.moduleName===t}t.default=function(e,t,n,s,o,u){const a=t.sendResponse("resolveFeature",async t=>{const o=await c(t.outletPath.split("."),e.dynamicConfigFetch),a=d(o.configPath,o.treeFromRoot),l=(await e.dynamicConfigFetch(o.featureName)).modules[o.moduleName].meta.outlets[o.outletName],f="None"===l.context?r.Maybe.nothing():r.Maybe.just(l.context),h=t.contextValue?r.Maybe.just(t.contextValue):r.Maybe.nothing(),p=t.resolvedType?r.Maybe.just(t.resolvedType):r.Maybe.nothing(),m=t.additionalContext?r.Maybe.just(t.additionalContext):r.Maybe.nothing(),b=a.configuredOutlets[o.outletName],v=n.getValue();return i(e,s,t.outletPath,f,h,b,p,m,v,o.featureName,o.moduleName,u).then(e=>e.withDefault({moduleId:"",featureName:"",initialParams:{},url:"",minHeight:"",formPostAuth:!1,loadingOptions:{loaders:[{type:"spinner",shape:"half-circle",row:1}]}}))});o.push(()=>a.unsubscribe())},t.resolveFeature=i,t.getTypeValueIfContextual=u,t.getPathResolutionInfo=c,t.generateTectonConfigPathFromModuleId=l,t.resolveTectonPath=d,t.findModuleInArrayConfig=f,t.matchModulebyFeatureName=h},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:()=>Ae,NotFoundError:()=>Q.m,Notification:()=>W.Eg,NotificationKind:()=>W.Ij,ObjectUnsubscribedError:()=>ee.P,Observable:()=>r.c,ReplaySubject:()=>p.m,Scheduler:()=>U._,SequenceError:()=>te.I,Subject:()=>f.B,Subscriber:()=>B.vU,Subscription:()=>u.yU,TimeoutError:()=>ne.M,UnsubscriptionError:()=>re.Z,VirtualAction:()=>D,VirtualTimeScheduler:()=>F,animationFrame:()=>q,animationFrameScheduler:()=>k,animationFrames:()=>c,asap:()=>C,asapScheduler:()=>S,async:()=>E.b,asyncScheduler:()=>E.E,audit:()=>Je.s,auditTime:()=>Ke.Z,bindCallback:()=>ce,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:()=>at.N,connectable:()=>be,count:()=>ct.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:()=>_t.S,exhaust:()=>xt.B,exhaustAll:()=>Pt.C,exhaustMap:()=>Ot.p,expand:()=>Nt.f,filter:()=>ke.p,finalize:()=>Tt.j,find:()=>Mt.I,findIndex:()=>St.S,first:()=>Ct.$,firstValueFrom:()=>Y._,flatMap:()=>Ft.q,forkJoin:()=>xe,from:()=>Pe.H,fromEvent:()=>Oe.R,fromEventPattern:()=>Ne,generate:()=>Me,groupBy:()=>Et.$,identity:()=>V.D,ignoreElements:()=>At.w,iif:()=>Se,interval:()=>Ce.Y,isEmpty:()=>jt.I,isObservable:()=>K,last:()=>It.H,lastValueFrom:()=>G,map:()=>Rt.T,mapTo:()=>$t.u,materialize:()=>Lt.O,max:()=>kt.T,merge:()=>Ee.h,mergeAll:()=>qt.U,mergeMap:()=>Dt.Z,mergeMapTo:()=>Ut.C,mergeScan:()=>Bt.i,mergeWith:()=>Wt.X,min:()=>Ht.j,multicast:()=>zt.f,never:()=>je,noop:()=>z.l,observable:()=>o.s,observeOn:()=>ue.Q,of:()=>Ie.of,onErrorResumeNext:()=>Re.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:()=>R,queueScheduler:()=>I,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:()=>an.q,scan:()=>cn.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:()=>_n.K,switchScan:()=>xn.m,take:()=>Pn.s,takeLast:()=>On.o,takeUntil:()=>Nn.Q,takeWhile:()=>Tn.v,tap:()=>Mn.M,throttle:()=>Sn.n,throttleTime:()=>Cn.c,throwError:()=>Ue.$,throwIfEmpty:()=>En.v,timeInterval:()=>An.f,timeout:()=>ne.w,timeoutWith:()=>jn.o,timer:()=>Be.O,timestamp:()=>In.v,toArray:()=>Rn.$,using:()=>We,window:()=>$n.x,windowCount:()=>Ln.k,windowTime:()=>kn.s,windowToggle:()=>qn.J,windowWhen:()=>Fn.p,withLatestFrom:()=>Dn.E,zip:()=>He.y,zipAll:()=>Un.x,zipWith:()=>Bn.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 a={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:r}=a;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}=a;return((null==t?void 0:t.requestAnimationFrame)||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:t}=a;return((null==t?void 0:t.cancelAnimationFrame)||cancelAnimationFrame)(...e)},delegate:void 0};function c(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=a.requestAnimationFrame(i=>{s=0;const u=n.now();t.next({timestamp:e?u:i,elapsed:u-r}),o()}))};return o(),()=>{s&&a.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 _={setImmediate(e){const t=g++;return y[t]=!0,v||(v=Promise.resolve()),v.then(()=>w(t)&&e()),t},clearImmediate(e){w(e)}},{setImmediate:x,clearImmediate:P}=_,O={setImmediate(...e){const{delegate:t}=O;return((null==t?void 0:t.setImmediate)||x)(...e)},clearImmediate(e){const{delegate:t}=O;return((null==t?void 0:t.clearImmediate)||P)(e)},delegate:void 0};class N 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=O.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&&(O.clearImmediate(t),e._scheduled===t&&(e._scheduled=void 0))}}var T=n(9771);class M extends T.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 M(N),C=S;var E=n(5260);class A 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 j extends T.q{}const I=new j(A),R=I;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=a.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&&(a.cancelAnimationFrame(t),e._scheduled=void 0)}}class L extends T.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 k=new L($),q=k;class F extends T.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),B=n(6968),W=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 ae(e,t,n,s){if(n){if(!(0,se.m)(n))return function(...r){return ae(e,t,s).apply(this,r).pipe((0,ie.I)(n))};s=n}return s?function(...n){return ae(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 ce(e,t,n){return ae(!1,e,t,n)}function le(e,t,n){return ae(!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),_e=n(616);function xe(...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,_e.e)(s,r):r),e.complete())}))}});return t?o.pipe((0,ie.I)(t)):o}var Pe=n(7348),Oe=n(2774);function Ne(e,t,n){return n?Ne(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 Te=n(1079);function Me(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,Te.S)(u(),s):u)}function Se(e,t,n){return pe(()=>e()?t:n)}var Ce=n(837),Ee=n(2786);const Ae=new r.c(z.l);function je(){return Ae}var Ie=n(1169),Re=n(2421);function $e(e,t){return(0,Pe.H)(Object.entries(e),t)}var Le=n(6410),ke=n(9732);function qe(e,t,n){return[(0,ke.p)(t,n)((0,he.Tg)(e)),(0,ke.p)((0,Le.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),Be=n(6231);function We(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),at=n(5017),ct=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),_t=n(3995),xt=n(9158),Pt=n(931),Ot=n(3210),Nt=n(3458),Tt=n(1724),Mt=n(3685),St=n(4417),Ct=n(6418),Et=n(8722),At=n(5853),jt=n(6681),It=n(3938),Rt=n(3002),$t=n(831),Lt=n(9237),kt=n(7170),qt=n(4677),Ft=n(51),Dt=n(108),Ut=n(7309),Bt=n(8361),Wt=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),an=n(609),cn=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),_n=n(9187),xn=n(203),Pn=n(5697),On=n(2173),Nn=n(57),Tn=n(6592),Mn=n(1205),Sn=n(238),Cn=n(2891),En=n(2998),An=n(6726),jn=n(5815),In=n(5128),Rn=n(7594),$n=n(7302),Ln=n(1571),kn=n(4563),qn=n(5062),Fn=n(1530),Dn=n(5601),Un=n(4476),Bn=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)})}},2140:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(755),s=n(6317),o=n(884);t.default=function(e,t,n,i){var u;function a(){(0,s.sendBroadcast)("platformScrollChanged",r.Maybe.just(JSON.stringify((0,o.getDimensions)(t,p))))}function c(){(0,s.sendBroadcast)("platformSizeChanged",r.Maybe.just(JSON.stringify((0,o.getDimensions)(t,p))))}let l;n.add("platformScrollChanged");const d=()=>{if(l=e.sendResponse("getPlatformScroll",()=>Promise.resolve((0,o.getDimensions)(t,p))),null==p||p.addEventListener("scroll",a),p instanceof HTMLElement){const e=new ResizeObserver(c);e.observe(p),i.push(()=>null==e?void 0:e.disconnect())}else null==p||p.addEventListener("resize",c)},f=null===(u=t.getPlatformRootSelector)||void 0===u?void 0:u.call(t);let h,p=f?document.querySelector(f):window;p?d():f&&(h=new MutationObserver(()=>{p=document.querySelector(f),p&&(d(),null==h||h.disconnect())}),h.observe(document.body,{childList:!0,subtree:!0})),i.push(()=>{null==h||h.disconnect(),null==l||l.unsubscribe(),null==p||p.removeEventListener("scroll",a),null==p||p.removeEventListener("resize",c)})}},2162:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6317),s=n(1950),o=n(755);t.default=function(e,t,n,i){const u=t.getCurrentLanguage(),a=new s.BehaviorSubject(u);let c=!0;t.languageChanged&&(n.add("languageChanged"),t.languageChanged(e=>{c&&a.next(e)}));const l=a.subscribe((e="en-US")=>{(0,r.sendBroadcast)("streamLanguage",o.Maybe.just(JSON.stringify({langKey:e})))}),d=e.sendResponse("getCurrentLanguage",()=>Promise.resolve({langKey:a.getValue()}));i.push(()=>{c=!1,[l,d].forEach(e=>e.unsubscribe()),a.complete()})}},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:()=>a});var r=n(6857),s=n(3918),o=n(2464),i=n(151),u=n(3878);function a(...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 a=new o.H(e,void 0,i.l,i.l);s.subscribe(a),a.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})},2523:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1870);t.default=function(e,t,n,s,o){if(n.updateParams){s.add("setParams");const t=e.onMessage("setParams").subscribe(async e=>{const{moduleId:t,params:s}=e.value,o=await(0,r.getPathResolutionInfo)(t.split("."),n.dynamicConfigFetch),i=await n.dynamicConfigFetch(o.featureName).then(e=>e.modules[o.moduleName].meta.params);n.updateParams(t,s,i)});o.push(()=>t.unsubscribe())}}},2539:(e,t,n)=>{"use strict";n.r(t),n.d(t,{_sendMessage:()=>a,default:()=>d,sendBroadcast:()=>l,sendMessage:()=>c});var r=n(5011),s=n(2774),o=n(9732),i=n(3002),u=n(755);function a(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 c(e,t){a(window.parent,e,"MESSAGE",t)}function l(e,t){a(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}),a(r.contentWindow,e,"BROADCAST",new u.Maybe(JSON.stringify(s)));break;default:a(r.contentWindow,e,"BROADCAST",t)}})}class d{constructor(){this.messageNum=0,this.firehose$=(0,s.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 s=this.getNextMessageNumber();a(window.isTectonPlatform?window:window.parent,e,"REQUEST",t,s,"success");const o=[];return o.push((0,r._)(this.onMessage(e,"RESPONSE",s))),n&&n.timeout&&o.push(new Promise((r,o)=>{setTimeout(()=>{o({status:"error",message:`The request ${t} has timed out`,sender:window,type:e,guid:s})},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){a(e,t,"RESPONSE",u.Maybe.maybe(n).map(JSON.stringify),r,s)}},2548:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const r=n(8831),s=n(6317),o=n(1950),i=n(2938),u=n(3139),a=n(5939),c=n(7826),l=n(8088),d=n(5956),f=n(1480),h=n(7066);function p(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]}})}t.init=function(e,t,n={},m){window.isTectonPlatform=!0;const b=new o.BehaviorSubject({changedParams:{},currentParams:{}});let v;p(e),window.isTestingTecton||(null==m?void 0:m.testing)?(v=window.tectonConfig$||new o.BehaviorSubject(null),v.next(e),window.tectonConfig$=v):v=new o.BehaviorSubject(e);const g=new s.default(v,window.isTestingTecton),y=new Set,w=[g.teardown.bind(g)];function _(n){const[r,s]=n.split(".");try{return Promise.resolve(e.features[r].configuredOverpanels[s])}catch(e){return t.dynamicConfigFetch(r,s)}}return(0,d.default)(y),(0,f.default)(g,t,y,w),(0,i.default)(g,v,t,y,w),(0,u.default)(g,t,b,v,y,w),(0,l.default)(g,t,y,w),(0,c.default)(g,t,b,v,y,w,n),(0,a.default)(g,v,b,t,n),{tectonParamsChanged(e){b.next(e)},updateConfig(e){const t=v.getValue();(0,r.default)(t,e),p(t),v.next(t)},replaceConfig(e){p(e),v.next(e)},verifyConfig(){if(!t.getCapabilities)return void console.error("getCapabilities must be implemented on platform to verify config.");const e=e=>{var n,r;return!(null==e?void 0:e.length)||Object.values(null!==(r=null===(n=t.getCapabilities)||void 0===n?void 0:n.call(t,...null!=e?e:[]))&&void 0!==r?r:{}).every(Boolean)},n=v.getValue(),r=n.features;for(const t in r){if(!r.hasOwnProperty(t))continue;const n=r[t];n.rightsEnabled=e(n.requiredUserCapabilities);for(const t in n.modules){if(!n.modules||!n.modules.hasOwnProperty(t))continue;const r=n.modules[t];r.rightsEnabled=n.rightsEnabled&&e(r.requiredUserCapabilities)}}p(n),v.next(n)},configLookup:function(e,t){const n=v.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 v.getValue().features[t].modules[n].routeConfig||{featureName:t,moduleName:n}},configForOverpanel:_,overpanelOverrideLookup(e){var t,n,r,s,o,i,u,a,c;const l=v.getValue(),d=(l.overpanelOverrides||[]).find(t=>t.overpanelName===e),{featureName:f="",overpanelName:h=""}=null!==(t=null==d?void 0:d.override)&&void 0!==t?t:{},p=`${f}.${h}`,m=null===(n=l.features)||void 0===n?void 0:n[f],b=[{condition:!d,message:`No overpanel override found for ${e}.`},{condition:!f||!h,message:`Invalid overpanel override configuration for ${e}.`},{condition:!m,message:`Feature ${f} not found in config.`},{condition:!1===(null==m?void 0:m.rightsEnabled),message:`Feature ${f} is not enabled for this user.`},{condition:!(null===(r=null==m?void 0:m.configuredOverpanels)||void 0===r?void 0:r[h]),message:`Override overpanel ${h} not found in config.`},{condition:!1===(null===(u=null===(s=null==m?void 0:m.modules)||void 0===s?void 0:s[null===(i=null===(o=null==m?void 0:m.configuredOverpanels)||void 0===o?void 0:o[h])||void 0===i?void 0:i.moduleName])||void 0===u?void 0:u.rightsEnabled),message:`The module ${null===(c=null===(a=null==m?void 0:m.configuredOverpanels)||void 0===a?void 0:a[h])||void 0===c?void 0:c.moduleName} for feature ${f} is not enabled for this user.`}];for(const{condition:e,message:t}of b)if(e)return Promise.resolve({override:!1,message:t});return _(p).then(e=>{const t={override:!0,overpanelId:p,overpanelConfig:e};return(null==d?void 0:d.contextInfo)&&(t.contextInfo=d.contextInfo),Promise.resolve(t)})},updateApplicationModules(t){(0,h.default)(e,t)},teardown(){w.forEach(e=>e()),b.complete(),v.complete()}}}},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)}}},2587:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(755);t.default=function(e,t,n){const s=e.getValue();return r.Maybe.maybe(s.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}})}},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,a=!1;const c=()=>a&&!i&&s.complete();n.subscribe((0,o._)(s,n=>{null==i||i.unsubscribe();let a=0;const l=u++;(0,r.Tg)(e(n,l)).subscribe(i=(0,o._)(s,e=>s.next(t?t(n,e,l,a++):e),()=>{i=null,c()}))},()=>{a=!0,c()}))})}},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))})}},2747:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=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())}}},2769:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1870);t.default=function(e,t,n,s){if(t.promptForMFA){n.add("promptForMFA");const o=e.sendResponse("promptForMFA",async e=>{const n=await(0,r.getPathResolutionInfo)(e.moduleId.split("."),t.dynamicConfigFetch).then(e=>e.featureName);return t.promptForMFA(n,e)});s.push(()=>o.unsubscribe())}}},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),a=n(5194);const c=["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,a.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)?c.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:()=>a});var r=n(4677),s=n(3878),o=n(6751),i=n(8918),u=n(7348);function a(...e){const t=(0,i.lI)(e),n=(0,i.R0)(e,1/0),a=e;return a.length?1===a.length?(0,s.Tg)(a[0]):(0,r.U)(n)((0,u.H)(a,t)):o.w}},2813:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=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())}}},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)}},2904:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1870);t.default=function(e,t,n,s,o){if("function"!=typeof n.requestExtensionData)return;s.add("requestExtensionData");const i=e.sendResponse("requestExtensionData",async e=>{const{moduleId:t,route:s,body:o}=e;let{featureName:i}=e;return!i&&t&&(i=await(0,r.getPathResolutionInfo)(t.split("."),n.dynamicConfigFetch).then(e=>e.featureName)),n.requestExtensionData(i,{route:s,body:o||{}})});o.push(()=>i.unsubscribe())}},2934:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeActionRequired=t.actionRequired=void 0,t.actionRequired=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())}},t.removeActionRequired=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())}}},2938:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2934),s=n(4258),o=n(5564),i=n(4220),u=n(1075),a=n(7579),c=n(5420),l=n(5301),d=n(2813),f=n(7189),h=n(7318),p=n(4288),m=n(632),b=n(4087),v=n(7304),g=n(7853),y=n(2523),w=n(5197),_=n(2162),x=n(2747),P=n(287),O=n(1736),N=n(4766);t.default=function(e,t,n,T,M){(0,r.actionRequired)(e,n,T,M),(0,s.default)(e,n,T,M),(0,o.default)(e,n,T,M),(0,i.default)(e,n,T,M),(0,u.default)(e,n,T,M),(0,a.default)(e,n,T,M),(0,c.default)(e,n,T,M),(0,l.default)(e,t,n,T,M),(0,d.default)(e,n,T,M),(0,f.default)(e,t,n,T,M),(0,h.default)(e,n,T,M),(0,p.default)(e,M),(0,m.default)(e,n,T,M),(0,r.removeActionRequired)(e,n,T,M),(0,b.default)(e,n,T,M),(0,v.default)(e,T,M),(0,g.default)(e,n,T,M),(0,y.default)(e,t,n,T,M),(0,w.default)(e,n,t,T,M),(0,_.default)(e,n,T,M),(0,x.default)(e,t,n,T,M),(0,P.default)(e,n,T,M),(0,O.default)(e,t,n,T,M),(0,N.default)(e,n,T,M)}},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:()=>a});var r=n(3422),s=n(386),o=n(2512),i=n(6702),u=n(2464);function a(e){return(0,i.N)((t,n)=>{let i,a=!1,c=!1,l=0;t.subscribe((0,u._)(n,r=>{c=!0,e&&!e(r,l++,t)||(a&&n.error(new s.I("Too many matching values")),a=!0,i=r)},()=>{a?(n.next(i),n.complete()):n.error(c?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"})},3139:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(8052),s=n(8385),o=n(7558),i=n(7804),u=n(8715),a=n(8040),c=n(338),l=n(5495),d=n(693),f=n(8937),h=n(2140),p=n(2769),m=n(7076),b=n(2904),v=n(1088),g=n(4052),y=n(4683),w=n(4877),_=n(4205),x=n(9284);t.default=function(e,t,n,P,O,N){(0,r.default)(e,t,O),(0,s.default)(e,t,O,N),(0,o.default)(e,P,t,O,N),(0,i.default)(e,t,O,N),(0,u.default)(e,t,O,N),(0,a.default)(e,t,O,N),(0,c.default)(e,t,O,N),(0,l.default)(e,t,O,N),(0,d.default)(e,t,O,N),(0,f.default)(e,P,t,O,N),(0,h.default)(e,t,O,N),(0,p.default)(e,t,O,N),(0,m.default)(e,t,O),(0,b.default)(e,P,t,O,N),(0,v.default)(e,t,O,N),(0,g.default)(n,N),(0,y.default)(e,t,O,N),(0,w.default)(e,t,O,N),(0,_.default)(t,O,N),(0,x.default)(t,O)}},3164:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{default:()=>s}),function(e){e.PlatformCssPropertiesChanged="platformCssPropertiesChanged",e.CallMethod="callMethod"}(r||(r={}));const s=r},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),a=n(3873);function c(e,t){if(!e)throw new Error("Iterable cannot be null");return new i.c(n=>{(0,a.N)(n,t,()=>{const r=e[Symbol.asyncIterator]();(0,a.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 c(e,t);if((0,h.x)(e))return(0,u.S)(e,t);if((0,b.U)(e))return function(e,t){return c((0,b.C)(e),t)}(e,t)}throw(0,m.L)(e)}},3193:(e,t,n)=>{"use strict";n.d(t,{q:()=>a});var r=n(6781),s=n(5194),o=n(2571),i=n(108),u=n(7594);function a(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()}))})}},3264:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(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({}))}},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,a=!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)):a=!0})),a&&(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:()=>a,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{c(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)c(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 a(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 c(e){(0,r.T)(e)?e():e.unsubscribe()}},3746:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{default:()=>s}),function(e){e.streamCssProperties="streamCssProperties",e.streamPlatformDimensions="platformSizeChanged"}(r||(r={}));const s=r},3773:(e,t,n)=>{"use strict";n.d(t,{s:()=>a});var r=n(3078),s=n(9732),o=n(2998),i=n(8981),u=n(5697);function a(e,t){if(e<0)throw new r.k;const n=arguments.length>=2;return a=>a.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),a=n(1801),c=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,a.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,c.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:()=>c});var r=n(3422),s=n(9732),o=n(2173),i=n(2998),u=n(8981),a=n(6781);function c(e,t){const n=arguments.length>=2;return c=>c.pipe(e?(0,s.p)((t,n)=>e(t,n,c)):a.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()}))})}},4052:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6317),s=n(755),o=n(3264);t.default=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=(0,o.default)(t,e.changedParams),i=(0,o.default)(t,e.currentParams);(0,r.sendBroadcast)("streamParams::"+t,s.Maybe.just(JSON.stringify({changedParams:n,currentParams:i})))})});t.push(()=>n.unsubscribe())}},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)}},4087:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6317),s=n(755);t.default=function(e,t,n,o){n.add("scrollTo");const i=e.onMessage("scrollTo").subscribe(e=>{var n,o;const i=(null===(o=null===(n=null==t?void 0:t.getSurroundingOffsets)||void 0===n?void 0:n.call(t))||void 0===o?void 0:o.top)||0,u=e.value;u.behavior=u.behavior||"smooth",!0===u.initialize?(0,r.sendBroadcast)("platformScrollChanged",s.Maybe.just(JSON.stringify({scrollY:0,innerHeight:window.innerHeight,innerWidth:window.innerWidth,outletOffset:i,top:i}))):window.scrollTo(u)});o.push(()=>i.unsubscribe())}},4205:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6317),s=n(755),o=n(3164),i=n(3746),u=n(1950);t.default=function(e,t,n){if(!e.cssPropertiesChanged)return;t.add(o.default.PlatformCssPropertiesChanged);const a=new u.BehaviorSubject([]);let c=!0;const l=a.pipe((0,u.skip)(1)).subscribe(e=>{(0,r.sendBroadcast)(i.default.streamCssProperties,s.Maybe.just(JSON.stringify(e)))});e.cssPropertiesChanged(e=>{c&&a.next(e)}),n.push(()=>{c=!1,l.unsubscribe(),a.complete()})}},4220:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=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())}}},4258:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=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())}}},4288:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=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())}},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),a=n(1276),c=n(8918),l=n(3873);function d(e,...t){var n,d;const f=null!==(n=(0,c.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 c=e=>{const{window:t,subs:n}=e;t.complete(),n.unsubscribe(),(0,a.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,()=>c(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&&c(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)}},4683:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=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())}}},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)}},4766:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=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())}}},4840:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadTectonPlatformOutlet=t.tectonPlatformOutletObservedAttrs=t.createLoadingWrapper=t.buildIframeSrc=t.shouldDisplayOutlet=void 0;const r=n(9484),s=n(2539),o=n(1950),i=n(7337),u=n(755),a=n(3264),c=n(8084);function l(e,t,n,r){var s,o,i,u;const a=t.isMFA,l=!1!==e.rightsEnabled,d="Application::Unauthenticated"===(null===(o=null===(s=e.meta)||void 0===s?void 0:s.type)||void 0===o?void 0:o.context);return!(!a&&!d)||!!l&&(0,c.validateContext)({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)}function d(e,t,n,s,o,u,c){const l=u&&c.buildIframeURL?c.buildIframeURL(e):e;let d=(0,i.default)(l,Object.assign(Object.assign({"tct-id":t,"tct-ctxid":n.contextValue||"","tct-ctxname":n.contextId||""},(0,a.default)(t,o.currentParams)),{"tct-maxHeight":s.style.maxHeight,"tct-maxWidth":s.style.maxWidth,"tct-baseClass":(0,r.getBaseClass)(s),"tct-outlet-name":s.name||""}));return(0,r.isBeta)(s)&&(d=(0,i.default)(d,{"tct-beta":"true"})),d}function f(e,t){var n,s,o;const i=document.createElement("div");i.slot="loading-wrapper",i.classList.add("loading-wrapper"),i.setAttribute("data-tecton-module","");const u=e.loadingOptions?(0,r.buildLoaders)(e.loadingOptions):(0,r.buildLoaders)();if(null===(n=e.loadingOptions)||void 0===n?void 0:n.outlet){const t=e.loadingOptions.outlet;t.style&&i.setAttribute("style",t.style),t.classList&&i.classList.add(...t.classList)}const a=null===(o=null===(s=u[0])||void 0===s?void 0:s[0])||void 0===o?void 0:o.getAttribute("type");null!==a&&"spinner"!==a||i.classList.add("spinner-loader"),i.style.minHeight=t||"0px";for(const e of u){const t=document.createElement("div");t.className="q2-row";for(const n of e)t.appendChild(n);i.appendChild(t)}return i}t.shouldDisplayOutlet=l,t.buildIframeSrc=d,t.createLoadingWrapper=f,t.tectonPlatformOutletObservedAttrs=[{name:"additionalContext",reflectAs:String},{name:"configTree"},{name:"context",reflectAs:String},{name:"contextId",reflectAs:String},{name:"contextValue",reflectAs:String},{name:"resolvedType",reflectAs:String},{name:"routeName"}],t.loadTectonPlatformOutlet=function(e,t,n,i){return function(a,c,h,p){const m=document.createElement("div"),b=new o.BehaviorSubject(m),v=new o.BehaviorSubject(!1),g=new o.BehaviorSubject(()=>{}),y=function(){return{loaderWrapper:h.shadowRoot.querySelector("div[slot='loading-wrapper']"),iframeEl:h.shadowRoot.querySelector("iframe"),minHeight:p.getValue().minHeight}};let w,_;const x=function(){return w},P=(0,r.setupOutletIFrameLoading)(a,x,y,function(){return _},function(){return h.shadowRoot}),O=(0,r.setupOutletInfo)(a,x,y),N=new o.Subscription;N.add(P),N.add(O),N.add(()=>{b.next(null),b.complete(),g.next(()=>{}),g.complete(),v.complete()});const T=new o.BehaviorSubject(()=>{T.complete(),N.unsubscribe()}),M=p.pipe((0,o.map)(e=>e.configTree),(0,o.filter)(e=>!!e),(0,o.distinctUntilChanged)()),S=new o.BehaviorSubject(!1),C=p.pipe((0,o.map)(e=>e.overpanel),(0,o.filter)(e=>"boolean"==typeof e),(0,o.distinctUntilChanged)()).subscribe(S);N.add(C),N.add(()=>{S.complete()});const E=p.pipe((0,o.map)(e=>e.routeName),(0,o.filter)(e=>!!e),(0,o.distinctUntilChanged)()),A=E.pipe((0,o.map)(e=>`${c}.${e}`),(0,o.pairwise)()).subscribe(([e])=>{(0,s.sendMessage)("clearParams",u.Maybe.just(JSON.stringify({moduleId:e})))});N.add(A);const j=(0,o.combineLatest)(M,S,E).subscribe(([o,m,P])=>{const O=e.getValue(),T=O.features[o.featureName];if(!T)throw new Error(`Could not find the config for this feature=${o.featureName}`);const M=T.modules[o.moduleName],S=p.getValue();if(l(M,T,S,i)){w=`${c}.${P}`,_=M.loadingOptions;const e=S.minHeight,i=O.features[o.featureName],l=!!i.modules[o.moduleName].formPostAuth,p=i.modules[o.moduleName].url,T=i.additionalDomains,C=i.allowDirectives,E=d(p,w,S,h,t.getValue(),l,n);if(!m){const e=(0,r.setupOutletIFrameResizer)(a,x,y);N.add(e)}const A=(0,r.setupOutletSetTitleListener)(a,x,y);N.add(A);const{element:j,cleanup:I}=(0,r.setupOutletIFrameWrapper)(E,w,n.getAuthPayload?n.getAuthPayload():[],`${o.featureName}-${o.moduleName}`,h.style.maxHeight,h.style.maxWidth,m,l,T,C),R=f(M,e);b.next(j),g.next(()=>{const e=h.shadowRoot.querySelector(".loading-wrapper");e?h.shadowRoot.replaceChild(R,e):h.shadowRoot.appendChild(R),v.next(!0)}),N.add(()=>{I(),(0,s.sendMessage)("clearParams",u.Maybe.just(JSON.stringify({moduleId:w})))})}});return N.add(j),{DOM$:b,settled$:v,teardown$:T,effect$:g}}}},4877:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n="q2.tectonCache";function r(e,t){return`${e}.${t}`}t.default=function(e,t,s,o){if(!t.registerLogoffHook||!function(){const e=!!sessionStorage.getItem,t=!!sessionStorage.setItem,n=!!sessionStorage.removeItem;return e&&t&&n}())return;s.add("tectonCache"),t.registerLogoffHook(()=>{sessionStorage.removeItem(n)});const i=e.sendResponse("getCache",e=>{const t=r(e.moduleId,e.key),s=JSON.parse(sessionStorage.getItem(n)||"{}")[t]||{};return Promise.resolve(s)});o.push(()=>i.unsubscribe());const u=e.sendResponse("setCache",e=>{const t=r(e.moduleId,e.key);let s={};return"string"==typeof sessionStorage.getItem(n)&&(s=JSON.parse(sessionStorage.getItem(n))),s[t]=e.data,sessionStorage.setItem(n,JSON.stringify(s)),Promise.resolve()});o.push(()=>u.unsubscribe())}},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:()=>a});var r=n(7290),s=n(3878),o=n(6702),i=n(6857);const u={connector:()=>new r.B};function a(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),a=n(151),c=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,c.o)(l,n),n.complete(),f.unsubscribe()},a.l,d)))},a.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))}},5197:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1870);t.default=function(e,t,n,s,o){if(t.setOverpanelTitle||t.setPageTitle){t.setOverpanelTitle&&s.add("setOverpanelTitle"),t.setPageTitle&&s.add("setPageTitle");const n=e.onMessage("setTitle").subscribe(async e=>{"tectonOverpanel"===await(0,r.getPathResolutionInfo)(e.value.moduleId.split("."),t.dynamicConfigFetch).then(e=>e.pathOrigin)&&t.setOverpanelTitle?t.setOverpanelTitle(e.value.title):t.setPageTitle&&t.setPageTitle(e.value.title)});o.push(()=>n.unsubscribe())}}},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}})}},5301:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1870);t.default=function(e,t,n,s,o){if(n.logToServer){s.add("logToServer");const t=e.onMessage("logToServer").subscribe(async e=>{const t=await(0,r.getPathResolutionInfo)(e.value.moduleId.split("."),n.dynamicConfigFetch).then(e=>e.featureName);n.logToServer(t,e.value.message,e.value.level||"info")});o.push(()=>t.unsubscribe())}}},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}},5341:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){const r=e.sendResponse("getPlatformCapabilities",()=>{const e=Array.from(t);return Promise.resolve({capabilities:e})});n.push(()=>r.unsubscribe())}},5349:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveMenuItems=void 0;const r=n(755),s=n(1870);function o(e,t,n,o,i,u,a,c,l,d,f,h){return Promise.all(c.map(c=>(0,s.resolveFeature)(e,t,n,o,i,c.modules||[],u,a,l,d,f,h).then(t=>t.asyncMap(async t=>{const n=await(0,s.getPathResolutionInfo)(t.moduleId.split("."),e.dynamicConfigFetch),r=i.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(r.Maybe.just).catch(()=>r.Maybe.nothing()))).then(e=>r.Maybe.filterSomethings(e))}t.default=function(e,t,n,i,u,a){const c=t.sendResponse("resolveMenu",async t=>{const u=await(0,s.getPathResolutionInfo)(t.outletPath.split("."),e.dynamicConfigFetch),c=(0,s.resolveTectonPath)(u.configPath,u.treeFromRoot),l=(await e.dynamicConfigFetch(u.featureName).then(e=>e.modules[u.moduleName])).meta.outlets[u.outletName];if(!l)throw new Error(`${u.outletName} contextual menu outlet not found in config`);const d="None"===l.context?r.Maybe.nothing():r.Maybe.just(l.context),f=t.contextValue?r.Maybe.just(t.contextValue):r.Maybe.nothing(),h=t.resolvedType?r.Maybe.just(t.resolvedType):r.Maybe.nothing(),p=t.additionalContext?r.Maybe.just(t.additionalContext):r.Maybe.nothing(),m=c.configuredOutlets[u.outletName],b=n.getValue();return!1===b.features[u.featureName].modules[u.moduleName].rightsEnabled?new Promise(e=>{e({resolvedMenuItems:[]})}):o(e,i,t.outletPath,d,f,h,p,m,b,u.featureName,u.moduleName,a).then(e=>({resolvedMenuItems:e}))});u.push(()=>c.unsubscribe())},t.resolveMenuItems=o},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)})}},5420:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=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())}}},5495:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){if(t.getAuthToken){n.add("authToken");const s=e.sendResponse("authToken",()=>t.getAuthToken());r.push(()=>s.unsubscribe())}}},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)}}},5564:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6317),s=n(755);t.default=function(e,t,n,o){if(t.clearCacheByPrefix){n.add("clearCache"),n.add("cacheCleared");const i=e.sendResponse("clearCache",function(e){return e.routePrefixes.forEach(function(e){t.clearCacheByPrefix(e),(0,r.sendBroadcast)("cacheCleared",s.Maybe.just(JSON.stringify({cleared:e})))}),Promise.resolve()});o.push(()=>i.unsubscribe())}}},5601:(e,t,n)=>{"use strict";n.d(t,{E:()=>c});var r=n(6702),s=n(2464),o=n(3878),i=n(6781),u=n(151),a=n(8918);function c(...e){const t=(0,a.ms)(e);return(0,r.N)((n,r)=>{const a=e.length,c=new Array(a);let l=e.map(()=>!1),d=!1;for(let t=0;t<a;t++)(0,o.Tg)(e[t]).subscribe((0,s._)(r,e=>{c[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,...c];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{a(r.next(e))}catch(e){o(e)}}function u(e){try{a(r.throw(e))}catch(e){o(e)}}function a(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(i,u)}a((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||a(e,t)})},t&&(r[e]=t(r[e])))}function a(e,t){try{(n=o[e](t)).value instanceof s?Promise.resolve(n.value.v).then(c,l):d(i[0][2],n)}catch(e){d(i[0][3],e)}var n}function c(e){a("next",e)}function l(e){a("throw",e)}function d(e,t){e(t),i.shift(),i.length&&a(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,a;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(a=()=>t,null==i&&null==u)throw new TypeError("No timeout provided.");return(0,o.w)({first:i,each:u,scheduler:n,with:a})}},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:()=>c});var r=n(6857),s=n(3878),o=n(3918),i=n(6751),u=n(2464),a=n(8918);function c(...e){const t=(0,a.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:c=!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=a(v,c))}),g.subscribe(i),!s&&f>0&&(s=new o.Ms({next:e=>g.next(e),error:e=>{p=!0,m(),l=a(b,n,e),g.error(e)},complete:()=>{h=!0,m(),l=a(b,u),g.complete()}}),(0,r.Tg)(e).subscribe(s))})(e)}}function a(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)}},5939:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(4840),s=n(9484);t.default=function(e,t,n,o,i={}){(0,s.setupTectonElement)({messageBus:e,moduleId:"",props:r.tectonPlatformOutletObservedAttrs,tectonOutletAdaptor:(0,r.loadTectonPlatformOutlet)(t,n,o,i)})("tecton-platform-outlet")}},5956:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.add("resizeIframe"),e.add("requestOutletInfo")}},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),a=n(8918),c=n(3873);function l(e,...t){var n,l;const d=null!==(n=(0,a.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 a=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,c.N)(t,d,()=>a(o),e)}};null!==f&&f>=0?(0,c.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&&a(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))}},6214:(e,t,n)=>{"use strict";function r(e){if(!(e instanceof FormData))throw new Error("Invalid parameter. Expected FormData.");return Array.from(e.entries()).reduce((e,[t,n])=>(e[t]=n,e),{})}function s(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)}n.r(t),n.d(t,{JSONToFormData:()=>s,formDataToJSON:()=>r})},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)))}},6317:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sendBroadcast=t.sendMessage=t.default=void 0;const r=n(2539);Object.defineProperty(t,"sendMessage",{enumerable:!0,get:function(){return r.sendMessage}}),Object.defineProperty(t,"sendBroadcast",{enumerable:!0,get:function(){return r.sendBroadcast}});const s=n(1950);class o extends r.default{constructor(e,t){super(),this.domains=new Set,this.configSubscription=e.subscribe(this.getConfigDomains.bind(this)),this.firehose$=this.firehose$.pipe((0,s.filter)(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)}}t.default=o},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,a=!1;const c=()=>{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?c():a=!0))),u&&u.next(t)})),a&&(o.unsubscribe(),o=null,a=!1,c())};c()})}},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,{$:()=>c});var r=n(3422),s=n(9732),o=n(5697),i=n(8981),u=n(2998),a=n(6781);function c(e,t){const n=arguments.length>=2;return c=>c.pipe(e?(0,s.p)((t,n)=>e(t,n,c)):a.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()}))})}},6623:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupRegisterOutlet=void 0;const r=n(3264);t.setupRegisterOutlet=function(e,t,n){const s=e.sendResponse("getInitialParams",e=>Promise.resolve({params:(0,r.default)(e.moduleId,t.getValue().currentParams)}));n.push(()=>s.unsubscribe())}},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:()=>a});var r=n(6751),s=n(6702),o=n(2464),i=n(3878),u=n(6231);function a(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,a=0;const c=()=>{if(null==s||s.unsubscribe(),s=null,null!=t){const e="number"==typeof t?(0,u.O)(t):(0,i.Tg)(t(a)),n=(0,o._)(r,()=>{n.unsubscribe(),l()});e.subscribe(n)}else l()},l=()=>{let t=!1;s=e.subscribe((0,o._)(r,void 0,()=>{++a<n?s?c():t=!0:r.complete()})),t&&c()};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:()=>c});var r=n(6280),s=n(5697),o=n(5853),i=n(831),u=n(108),a=n(3878);function c(e,t){return t?n=>(0,r.x)(t.pipe((0,s.s)(1),(0,o.w)()),n.pipe(c(e))):(0,u.Z)((t,n)=>(0,a.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())})}},6856:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){const r=e.sendResponse("getAuthPayload",()=>Promise.resolve(t.getAuthPayload()));n.push(()=>r.unsubscribe())}},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),a=n(7007),c=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,a.T)(e.next)&&(0,a.T)(e.error)&&(0,a.T)(e.complete)}(i)&&(0,s.Uv)(i)?e:new r.Ms(e,t,n);var i;return(0,c.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 a=c("C",void 0,void 0);function c(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 c("N",e,void 0)}(e),this):this._next(e)}error(e){this.isStopped?g(c("E",void 0,e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?g(a,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:()=>c});var r=n(772),s=n(6702),o=n(3918),i=n(5194),u=n(2571),a=n(8918);function c(...e){const t=(0,a.ms)(e);return t?(0,u.F)(c(...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:()=>a.H,bufferWhen:()=>c.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:()=>_.U,debounce:()=>x.s,debounceTime:()=>P.B,defaultIfEmpty:()=>O.U,delay:()=>N.c,delayWhen:()=>T.o,dematerialize:()=>M.Z,distinct:()=>S.d,distinctUntilChanged:()=>C.F,distinctUntilKeyChanged:()=>E.w,elementAt:()=>A.s,endWith:()=>j.q,every:()=>I.S,exhaust:()=>R.B,exhaustAll:()=>$.C,exhaustMap:()=>L.p,expand:()=>k.f,filter:()=>q.p,finalize:()=>F.j,find:()=>D.I,findIndex:()=>U.S,first:()=>B.$,flatMap:()=>Q.q,groupBy:()=>W.$,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:()=>ae.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:()=>Oe.B,repeat:()=>we.u,repeatWhen:()=>_e.Y,retry:()=>xe.L,retryWhen:()=>Pe.l,sample:()=>Ne.X,sampleTime:()=>Te.q,scan:()=>Me.S,sequenceEqual:()=>Se.m,share:()=>Ce.u,shareReplay:()=>Ee.t,single:()=>Ae.J,skip:()=>je.i,skipLast:()=>Ie.G,skipUntil:()=>Re.U,skipWhile:()=>$e.j,startWith:()=>Le.Z,subscribeOn:()=>ke._,switchAll:()=>qe.w,switchMap:()=>Fe.n,switchMapTo:()=>De.K,switchScan:()=>Ue.m,take:()=>Be.s,takeLast:()=>We.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:()=>at.x,zipWith:()=>ct.O});var r=n(7895),s=n(6114),o=n(5296),i=n(8501),u=n(6077),a=n(8812),c=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),_=n(4755),x=n(9013),P=n(848),O=n(8981),N=n(8631),T=n(6807),M=n(9500),S=n(1374),C=n(2950),E=n(1885),A=n(3773),j=n(1457),I=n(3995),R=n(9158),$=n(931),L=n(3210),k=n(3458),q=n(9732),F=n(1724),D=n(3685),U=n(4417),B=n(6418),W=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),ae=n(6770),ce=n(6410);function le(e,t){return n=>[(0,q.p)(e,t)(n),(0,q.p)((0,ce.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),_e=n(7429),xe=n(8170),Pe=n(6358),Oe=n(6850),Ne=n(2700),Te=n(609),Me=n(9388),Se=n(8327),Ce=n(5927),Ee=n(1860),Ae=n(2994),je=n(7893),Ie=n(7121),Re=n(3941),$e=n(7716),Le=n(6428),ke=n(5761),qe=n(7391),Fe=n(2590),De=n(9187),Ue=n(203),Be=n(5697),We=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),at=n(4476),ct=n(8923)},7066:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.teardownApplicationModules=t.appendApplicationModule=void 0;const r=n(409),s="Authenticated";function o({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)}function i(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)})}t.default=function(e,t=!1){const n=(0,r.getApplicationModules)(e),u=t?s:"Unauthenticated",a=n[u.toLowerCase()];null==a||a.forEach(e=>{const{featureName:t,moduleName:n,rightsEnabled:r}=e,s=`${t}.${n}`,i=`TectonApplicationModule.${s}`;document.getElementById(i)||!1===r||o({authContext:u,outletId:i,modulePath:s,featureName:t,moduleName:n})}),t||i(s)},t.appendApplicationModule=o,t.teardownApplicationModules=i},7076:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(755),s=n(6317);t.default=function(e,t,n){t.refetchRequired&&(n.add("refetchRequired"),t.refetchRequired(e=>{(0,s.sendBroadcast)(`refetchRequired::${e}`,r.Maybe.nothing())}))}},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)}},7189:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2587),s=n(1870);t.default=function(e,t,n,o,i){if(n.navigateTo){o.add("navigateTo");const u=e.onMessage("navigateTo").subscribe(async e=>{const{moduleName:o,urlParams:i,queryParams:u,moduleId:a}=e.value;let{featureName:c}=e.value;!c&&a&&(c=await(0,s.getPathResolutionInfo)(a.split("."),n.dynamicConfigFetch).then(e=>e.featureName));const l=(0,r.default)(t,c,o);l.map(e=>{if(e.navigable)if(e.legacy)n.navigateTo(!0,e.key,i,u);else{const r=t.getValue().features[c],s=`tectonRoute.${e.key}`;u&&n.updateParams&&n.updateParams(s,u,r.modules[e.key.split(".")[1]].meta.params),n.navigateTo(!1,e.key)}}),l.hasNothing&&n.navigateTo(!0,c,i,u)});i.push(()=>u.unsubscribe())}}},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:()=>a});var r=n(6857),s=n(3713),o=n(2965),i=n(1276),u=n(9442);class a 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 c(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}}a.create=(e,t)=>new c(e,t);class c extends a{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:()=>a});var r=n(7290),s=n(6702),o=n(2464),i=n(151),u=n(3878);function a(e){return(0,s.N)((t,n)=>{let s=new r.B;n.next(s.asObservable());const a=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()},a)),(0,u.Tg)(e).subscribe((0,o._)(n,()=>{s.complete(),n.next(s=new r.B)},i.l,a)),()=>{null==s||s.unsubscribe(),s=null}})}},7304:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){t.add("scrollToTop");const r=e.onMessage("scrollToTop").subscribe(()=>{window.scrollTo(0,0)});n.push(()=>r.unsubscribe())}},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))}},7318:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=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())}}},7337:(e,t,n)=>{"use strict";function r(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}n.r(t),n.d(t,{default:()=>r})},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,a=!1,c=!1,l=!1;const d=()=>l&&c&&(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():a=!0},()=>{c=!0,d()}))),u).next()})),a&&(o.unsubscribe(),o=null,a=!1,f())};f()})}},7558:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1870);t.default=function(e,t,n,s,o){if(n.getFeatureConfig){s.add("getFeatureConfig");const t=e.sendResponse("getFeatureConfig",async({moduleId:e})=>{const t=await(0,r.getPathResolutionInfo)(e.split("."),n.dynamicConfigFetch),s=await n.dynamicConfigFetch(t.featureName).then(e=>e.configuredSystemVariables||[]);return s.length?n.getFeatureConfig(s).then(e=>({config:e})):Promise.resolve({config:{}})});o.push(()=>t.unsubscribe())}}},7579:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){if(t.keepAlive){n.add("keepAlive");const s=e.onMessage("keepAlive").subscribe(t.keepAlive);r.push(()=>s.unsubscribe())}}},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])}},7804:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){if(t.getPendoInfo){n.add("getPendoInfo");const s=e.sendResponse("getPendoInfo",()=>Promise.resolve(t.getPendoInfo()));r.push(()=>s.unsubscribe())}}},7826:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6623),s=n(942),o=n(1870),i=n(8450),u=n(5349),a=n(5341),c=n(6856),l=n(8672),d=n(818);t.default=function(e,t,n,f,h,p,m={}){(0,d.default)(e,t,h,p),(0,r.setupRegisterOutlet)(e,n,p),(0,s.setupPathResolvers)(e,h,t,f,p),(0,o.default)(t,e,f,n,p,m),(0,i.default)(t,e,f,n,p,m),(0,u.default)(t,e,f,n,p,m),(0,a.default)(e,h,p),(0,c.default)(e,t,p),(0,l.default)(e,t,h,p)}},7853:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=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()})}}},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,a=!1;const c=()=>{if(null==u||u.unsubscribe(),u=null,r){r=!1;const e=i;i=null,n.next(e)}a&&n.complete()},l=()=>{u=null,a&&n.complete()};t.subscribe((0,o._)(n,t=>{r=!0,i=t,u||(0,s.Tg)(e(t)).subscribe(u=(0,o._)(n,c,l))},()=>{a=!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 a=n,c=t,l=0;i.subscribe((0,r._)(u,t=>{const n=l++;c=a?e(c,t,n):(a=!0,t),s&&u.next(c)},o&&(()=>{a&&u.next(c),u.complete()})))}}},8040:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6317),s=n(755),o=n(884);t.default=function(e,t,n,i){n.add("getPlatformDimensions");const u=e.sendResponse("getPlatformDimensions",e=>{var n,i,u,a,c;let l;const d=null==e?void 0:e.selector;if(d){const e=document.querySelector(d);e?l=e.getBoundingClientRect():(console.warn(`No platform element found matching the selector "${d}". Returning zeroed dimensions.`),l={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0,orientationType:null!==(i=null===(n=null===screen||void 0===screen?void 0:screen.orientation)||void 0===n?void 0:n.type)&&void 0!==i?i:"landscape-primary",orientationAngle:null!==(a=null===(u=null===screen||void 0===screen?void 0:screen.orientation)||void 0===u?void 0:u.angle)&&void 0!==a?a:0})}else{const e=null===(c=t.getPlatformRootSelector)||void 0===c?void 0:c.call(t),n=e?document.querySelector(e):window;l=(0,o.getDimensions)(t,n)}return(0,r.sendBroadcast)("platformScrollChanged",s.Maybe.just(JSON.stringify(l))),Promise.resolve(l)});i.push(()=>u.unsubscribe())}},8052:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(755),s=n(6317);t.default=function(e,t,n){t.refetchRequired&&(n.add("cacheCleared"),t.refetchRequired(e=>{(0,s.sendBroadcast)("cacheCleared",r.Maybe.just(JSON.stringify({cleared:e})))}))}},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})}},8084:(e,t)=>{"use strict";function n(e,t,r=[]){for(const[s,o]of Object.entries(t)){const t=[...r,s];if(s===e)return t.reverse();if("object"==typeof o&&Object.keys(o).length>0){const r=n(e,o,t);if(r.length>0)return r}}return[]}function r(e,t){if(!e||"string"!=typeof e)return[];const[r,s]=e.split("::");if(!r||!s)return[];const o=t[r];return o?n(s,o).map(e=>`${r}::${e}`):[]}Object.defineProperty(t,"__esModule",{value:!0}),t.validateContext=t.getContextHierarchyPath=void 0,t.getContextHierarchyPath=r,t.validateContext=function(e,t){const{outletContext:n,moduleContext:s,resolvedContext:o,additionalContext:i,additionalContextRequirements:u}=e;if((null==u?void 0:u.length)&&i&&!u.includes(i.toString()))return!1;if("None"===s||"None"===n)return!0;const a=r(s,t);return 0!==a.length&&a.includes(o||n)}},8088:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6317),s=n(1950),o=n(755),i=n(942);t.default=function(e,t,n,u){if(!t.getCurrentTheme)return void n.add("ThemesNotSupported");n.add("getCurrentTheme");const a=new s.BehaviorSubject({path:(0,i.ifRelativePrependOrigin)(t.getCustomerSpecificAssetPath(`${t.getCurrentTheme()}-props.css`))});let c=!0;t.themeChanged&&(n.add("themeChanged"),t.themeChanged(e=>{c&&a.next({path:(0,i.ifRelativePrependOrigin)(t.getCustomerSpecificAssetPath(`${e}-props.css`))})}));const l=a.subscribe(e=>{(0,r.sendBroadcast)("themeChanged",o.Maybe.maybe(e).map(JSON.stringify))}),d=e.sendResponse("getCurrentTheme",()=>Promise.resolve(a.getValue()));u.push(()=>{c=!1,l.unsubscribe(),d.unsubscribe(),a.complete()})}},8170:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(6702),s=n(2464),o=n(6781),i=n(6231),u=n(3878);function a(e=1/0){let t;t=e&&"object"==typeof e?e:{count:e};const{count:n=1/0,delay:a,resetOnSuccess:c=!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=>{c&&(o=0),t.next(e)},void 0,e=>{if(o++<n){const n=()=>{r?(r.unsubscribe(),r=null,l()):d=!0};if(null!=a){const r="number"==typeof a?(0,i.O)(a):(0,u.Tg)(a(e,o)),c=(0,s._)(t,()=>{c.unsubscribe(),n()},()=>{t.complete()});r.subscribe(c)}else n()}else t.error(e)})),d&&(r.unsubscribe(),r=null,l())};l()})}},8219:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.entries(e.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},{})}},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 a=()=>{null==u||u.unsubscribe();const t=r;r=[],t&&n.next(t),(0,i.Tg)(e()).subscribe(u=(0,o._)(n,a,s.l))};a(),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},a=e=>{r.next(e),r.complete()},c=(e,n)=>{const o=(0,s._)(r,r=>{const{buffer:s,complete:o}=n;0===s.length?o?a(!1):e.buffer.push(r):!t(r,s.shift())&&a(!1)},()=>{e.complete=!0;const{complete:t,buffer:r}=n;t&&a(0===r.length),null==o||o.unsubscribe()});return o};n.subscribe(c(i,u)),(0,o.Tg)(e).subscribe(c(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)})}},8385:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=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(Boolean)}));r.push(()=>s.unsubscribe())}}},8450:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveTabs=void 0;const r=n(1870),s=n(755);function o(e,t,n,o,i,u,a,c,l,d,f,h,p,m){return Promise.all(c.map(c=>(0,r.resolveFeature)(e,t,n,o,i,c.modules||[],u,a,l,d,f,h).then(e=>e.map(e=>({tabLabel:c.tabLabel,tab:e}))).catch(()=>s.Maybe.nothing()))).then(e=>s.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:p,allowDirectives:m,requiredUserCapabilities:e.tab.requiredUserCapabilities,rightsEnabled:e.tab.rightsEnabled})))}t.default=function(e,t,n,i,u,a){const c=t.sendResponse("resolveTabs",async t=>{const u=await(0,r.getPathResolutionInfo)(t.outletPath.split("."),e.dynamicConfigFetch),c=(0,r.resolveTectonPath)(u.configPath,u.treeFromRoot),l=e.dynamicConfigFetch(u.featureName),d=await l,f=(await l.then(e=>e.modules[u.moduleName])).meta.outlets[u.outletName],h="None"===f.context?s.Maybe.nothing():s.Maybe.just(f.context),p=t.contextValue?s.Maybe.just(t.contextValue):s.Maybe.nothing(),m=t.resolvedType?s.Maybe.just(t.resolvedType):s.Maybe.nothing(),b=t.additionalContext?s.Maybe.just(t.additionalContext):s.Maybe.nothing(),v=c.configuredOutlets[u.outletName],g=n.getValue();return o(e,i,t.outletPath,h,p,m,b,v,g,u.featureName,u.moduleName,a,d.additionalDomains,d.allowDirectives).then(e=>({resolvedTabs:e}))});u.push(()=>c.unsubscribe())},t.resolveTabs=o},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)}},8672:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=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())}}},8715:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){if(t.getPlatformInfo){n.add("platformInfo");const s=e.sendResponse("platformInfo",e=>t.getPlatformInfo(e));r.push(()=>s.unsubscribe())}}},8722:(e,t,n)=>{"use strict";n.d(t,{$:()=>a});var r=n(6857),s=n(3878),o=n(7290),i=n(6702),u=n(2464);function a(e,t,n,a){return(0,i.N)((i,c)=>{let l;t&&"function"!=typeof t?({duration:n,element:l,connector:a}=t):l=t;const d=new Map,f=e=>{d.forEach(e),e(c)},h=e=>f(t=>t.error(e));let p=0,m=!1;const b=new u.H(c,t=>{try{const i=e(t);let f=d.get(i);if(!f){d.set(i,f=a?a():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(c.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)})}},8757:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=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(", ")}]`);return!0}},8812:(e,t,n)=>{"use strict";n.d(t,{H:()=>c});var r=n(3713),s=n(6702),o=n(3878),i=n(2464),u=n(151),a=n(1276);function c(e,t){return(0,s.N)((n,s)=>{const c=[];(0,o.Tg)(e).subscribe((0,i._)(s,e=>{const n=[];c.push(n);const l=new r.yU;l.add((0,o.Tg)(t(e)).subscribe((0,i._)(s,()=>{(0,a.o)(c,n),s.next(n),l.unsubscribe()},u.l)))},u.l)),n.subscribe((0,i._)(s,e=>{for(const t of c)t.push(e)},()=>{for(;c.length>0;)s.next(c.shift());s.complete()}))})}},8831:(e,t,n)=>{"use strict";function r(e,t){Object.keys(t).forEach(n=>{if(!Array.isArray(t[n])&&!Array.isArray(e[n])&&e.hasOwnProperty(n)&&"object"==typeof t[n])return r(e[n],t[n]);e[n]=t[n]})}n.r(t),n.d(t,{default:()=>r})},8918:(e,t,n)=>{"use strict";n.d(t,{R0:()=>a,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 a(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)}},8937:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2587);t.default=function(e,t,n,s,o){if(n.isUUXPath&&n.navigateTo){s.add("isNavigable");const i=e.sendResponse("isNavigable",({featureName:e,moduleName:s})=>{const o=(0,r.default)(t,e,s).map(e=>e.navigable).withDefaultFn(()=>n.isUUXPath(e));return Promise.resolve({navigable:o})});o.push(()=>i.unsubscribe())}}},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,a=null;const c=()=>{if(null==a||a.unsubscribe(),a=null,r){r=!1;const e=u;u=null,n.next(e)}};t.subscribe((0,o._)(n,t=>{null==a||a.unsubscribe(),r=!0,u=t,a=(0,o._)(n,c,s.l),(0,i.Tg)(e(t)).subscribe(a)},()=>{c(),n.complete()},void 0,()=>{u=a=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,a,c,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=>{a&&t.next(e),f++;let l=!1;(0,r.Tg)(n(e,h++)).subscribe((0,o._)(t,e=>{null==u||u(e),a?b(e):t.next(e)},()=>{l=!0},void 0,()=>{if(l)try{for(f--;d.length&&f<i;){const e=d.shift();c?(0,s.N)(t,c,()=>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},9284:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(755),s=n(6317);t.default=function(e,t){e.platformEventNotification&&(t.add("platformEventNotification"),e.platformEventNotification(e=>{(0,s.sendBroadcast)(`platformEventNotification::${e.name}`,r.Maybe.maybe(e.data).map(JSON.stringify))}))}},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)}},9484:(e,t,n)=>{"use strict";n.r(t),n.d(t,{buildLoaders:()=>v,createLoadingWrapperElement:()=>g,getBaseClass:()=>P,isBeta:()=>O,makeTectonElement:()=>p,setupOutletIFrameLoading:()=>w,setupOutletIFrameResizer:()=>x,setupOutletIFrameWrapper:()=>b,setupOutletInfo:()=>y,setupOutletSetTitleListener:()=>_,setupTectonElement:()=>m});var r=n(9576),s=n(5524),o=n(3713),i=n(2774),u=n(2786),a=n(2950),c=n(9732),l=n(6418),d=n(3002);const f="[iFrameSizer]",h=[{name:"name",reflectAs:String},{name:"minHeight",reflectAs:String},{name:"overpanel",reflectAs:Boolean},{name:"baseClass",reflectAs:String}];function p(e,{messageBus:t,props:n,moduleId:i,tectonOutletAdaptor:u,resize:f}){return(0,r.generateCustomElementWrapper)(e,(e,n)=>{const r=new s.t(document.createElement("div")),h=new s.t(!1),p=new o.yU,m=n.pipe((0,d.T)(e=>e.name),(0,c.p)(e=>!!e),(0,d.T)(e=>`${i?`${i}.`:""}${e}`),(0,a.F)(),(0,l.$)()).subscribe(s=>{const o=u(t,s,e,n,f),i=o.DOM$.subscribe(r);p.add(i);const a=o.settled$.subscribe(h);p.add(a);const c=o.teardown$.subscribe(b);p.add(c);const l=o.effect$.subscribe(t=>{e.__attached?t():e.__onAttached.push(t)});p.add(l)});p.add(m);const b=new s.t(()=>{r.next(null),r.complete(),h.complete(),b.complete(),p.unsubscribe()});return{DOM$:r,settled$:h,teardown$:b}},{useShadowDOM:!0,props:h.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 .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 }\n q2-loading:not([type="skeleton"]) {\n display: inline-block;\n margin-top: 20px;\n }\n ':""}\n `})}const m=(0,r.createSetupElement)(p);function b(e,t,n,r,s,o,i,u,a,c){const l=document.createElement("div");l.className="outlet-wrapper";const d=document.createElement("slot");d.name="loading-wrapper";const h=[],p=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",p.name=t,l.appendChild(r),h.push(function(){r.submit(),l.removeChild(r)})}else p.src=e;return p.title=r,p.dataset.moduleId=t,p.style.maxHeight=s,p.style.maxWidth=o,p.setAttribute("test-id","outletIframe"),p.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(" ")}; `},"")}(a,c,e),l.appendChild(p),h.push(()=>{p.contentWindow&&p.contentWindow.postMessage(`${f}${t}:0:false:false:32:true:true:null:documentElementOffset`,"*")}),p.onload=function(){h.forEach(e=>{e()}),p.onload=function(){}},i?l.classList.add("scrollable"):(p.style.setProperty("overflow-y","hidden"),p.scrolling="no"),p.hidden=!0,l.appendChild(d),{element:l,cleanup:()=>{if(p.contentWindow)try{p.contentWindow.stop()}catch(e){}p.src="about:blank",p.onload=null,p.parentNode&&p.parentNode.removeChild(p)}}}function v(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 g(e,t){const n=document.createElement("div");n.slot="loading-wrapper",n.classList.add("loading-wrapper"),n.setAttribute("data-tecton-module","");const r=e?v(e):v();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 y(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})}function w(e,t,n,r,s){let o=!1;return e.onMessage("setFetching").pipe((0,c.p)(e=>e.value.moduleId===t())).subscribe(e=>{const{loaderWrapper:t,iframeEl:i,minHeight:u="0px"}=n();if(t&&i){const{fetching:n}=e.value,a=r?r():void 0;if(!1===n){if(t.hidden=!0,i.hidden=!1,t.style.minHeight="0px",o&&s){const e=s();if(e){const n=g(a,u);n.hidden=!0,e.replaceChild(n,t)}o=!1}}else if(!0===n)t.hidden=!1,i.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=g(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,e.replaceChild(r,t),i.hidden=!0,o=!0}}}})}function _(e,t,n){return e.onMessage("setTitle").pipe((0,c.p)(e=>e.value.moduleId===t())).subscribe(e=>{const{iframeEl:t}=n();t.title=e.value.title})}function x(e,t,n,r){const s=(0,i.R)(window,"message").pipe((0,c.p)(e=>"string"==typeof e.data&&e.data.includes("iFrameSizer")),(0,d.T)(e=>{const t=e.data.substr(f.length).split(":"),[n,r]=t;return{value:{moduleId:n,height:r}}})),o=e.onMessage("resizeIframe");return(0,u.h)(s,o).pipe((0,c.p)(e=>e.value.moduleId===t()),(0,a.F)((e,t)=>e.value.height===t.value.height)).subscribe(e=>{const{height:t}=e.value,{iframeEl:s}=n();s&&(s.style.setProperty("height",`${t}px`),r&&r())})}function P(e){const t=e.getAttribute("base-class");return t?null==t?void 0:t.replace(/\s/g,"%7C"):""}function O(e){const t=e.getAttribute("beta");return""===t||"true"===t}},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),a=n(755);function c(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?a.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)):a.Maybe.nothing(),d=Array.isArray(s.props)?a.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)&&c(e,t,e.getAttribute(t),a.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()))}}})})}}})):a.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=a.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(a.Maybe.just(this)).map(function(n){var r=a.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&&c(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.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:()=>a});var r=n(6857),s=n(3713),o=n(6850),i=n(2464),u=n(6702);class a 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.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},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";var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.init=void 0;var t=n(2548);Object.defineProperty(e,"init",{enumerable:!0,get:function(){return t.init}})})(),r})());