@openmrs/esm-form-builder-app 1.0.2-pre.198 → 1.0.2-pre.204

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 (43) hide show
  1. package/README.md +1 -1
  2. package/dist/258.js +1 -1
  3. package/dist/258.js.map +1 -0
  4. package/dist/267.js +1 -0
  5. package/dist/267.js.map +1 -0
  6. package/dist/301.js +1 -0
  7. package/dist/301.js.map +1 -0
  8. package/dist/377.js +1 -0
  9. package/dist/377.js.map +1 -0
  10. package/dist/537.js +1 -0
  11. package/dist/537.js.map +1 -0
  12. package/dist/574.js +1 -1
  13. package/dist/663.js +1 -1
  14. package/dist/663.js.map +1 -0
  15. package/dist/793.js +1 -1
  16. package/dist/793.js.map +1 -0
  17. package/dist/8.js +1 -0
  18. package/dist/8.js.map +1 -0
  19. package/dist/908.js +1 -1
  20. package/dist/908.js.map +1 -0
  21. package/dist/948.js +2 -0
  22. package/dist/{14.js.LICENSE.txt → 948.js.LICENSE.txt} +10 -15
  23. package/dist/948.js.map +1 -0
  24. package/dist/994.js +1 -0
  25. package/dist/994.js.map +1 -0
  26. package/dist/main.js +1 -1
  27. package/dist/main.js.map +1 -0
  28. package/dist/openmrs-esm-form-builder-app.js +1 -1
  29. package/dist/openmrs-esm-form-builder-app.js.buildmanifest.json +539 -514
  30. package/dist/openmrs-esm-form-builder-app.js.map +1 -0
  31. package/dist/openmrs-esm-form-builder-app.old +1 -1
  32. package/package.json +2 -2
  33. package/src/components/form-renderer/form-renderer.component.tsx +1 -1
  34. package/src/components/interactive-builder/interactive-builder.component.tsx +1 -1
  35. package/src/components/schema-editor/schema-editor.component.tsx +1 -1
  36. package/src/forms.resource.ts +3 -3
  37. package/dist/14.js +0 -2
  38. package/dist/381.js +0 -1
  39. package/dist/383.js +0 -1
  40. package/dist/50.js +0 -1
  41. package/dist/520.js +0 -1
  42. package/dist/579.js +0 -1
  43. package/dist/659.js +0 -1
package/README.md CHANGED
@@ -8,7 +8,7 @@ The Form Builder is a widget used to create OpenMRS form schemas. It enables use
8
8
  * Prerequisites & dependencies are covered here: https://ampath-forms.vercel.app/docs/developer-guide/run-form-engine-in-openmrs3#prerequisites
9
9
 
10
10
  ## Running this code
11
- Under the hood, the Form Builder uses the [OHRI form engine](https://www.npmjs.com/package/@ohri/openmrs-ohri-form-engine-lib) to render a visual representation of your schema. This visual preview gets progressively updated as you build your schema. When done building, you can save your schema to an OpenMRS server. You can also publish your schema to make it available to your frontend.
11
+ Under the hood, the Form Builder uses the [OHRI form engine](https://www.npmjs.com/package/@openmrs/openmrs-form-engine-lib) to render a visual representation of your schema. This visual preview gets progressively updated as you build your schema. When done building, you can save your schema to an OpenMRS server. You can also publish your schema to make it available to your frontend.
12
12
 
13
13
  ## Local development
14
14
 
package/dist/258.js CHANGED
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_openmrs_esm_form_builder_app=self.webpackChunk_openmrs_esm_form_builder_app||[]).push([[258],{14152:(t,r,n)=>{n.d(r,{Hp:()=>b,Lv:()=>h});var e=n(65419),o=n(4436),i=n(28509),u=n(10981),a=n(53970),c=n(57338),s=l("C",void 0,void 0);function l(t,r,n){return{kind:t,value:r,error:n}}var f=n(51285),p=n(89013),h=function(t){var r=function(r){var n=t.call(this)||this;return n.isStopped=!1,r?(n.destination=r,(0,i.Nn)(r)&&r.add(n)):n.destination=_,n};return(0,e.ZT)(r,t),r.create=function(t,r,n){return new b(t,r,n)},r.prototype.next=function(t){this.isStopped?w(function(t){return l("N",t,void 0)}(t),this):this._next(t)},r.prototype.error=function(t){this.isStopped?w(l("E",void 0,t),this):(this.isStopped=!0,this._error(t))},r.prototype.complete=function(){this.isStopped?w(s,this):(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(t){this.destination.next(t)},r.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},r}(i.w0),y=Function.prototype.bind;function d(t,r){return y.call(t,r)}var v=function(){var t=function(t){this.partialObserver=t};return t.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(t){m(t)}},t.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(t){m(t)}else m(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){m(t)}},t}(),b=function(t){var r=function(r,n,e){var i,a,c=t.call(this)||this;return(0,o.m)(r)||!r?i={next:null!=r?r:void 0,error:null!=n?n:void 0,complete:null!=e?e:void 0}:c&&u.v.useDeprecatedNextContext?((a=Object.create(r)).unsubscribe=function(){return c.unsubscribe()},i={next:r.next&&d(r.next,a),error:r.error&&d(r.error,a),complete:r.complete&&d(r.complete,a)}):i=r,c.destination=new v(i),c};return(0,e.ZT)(r,t),r}(h);function m(t){u.v.useDeprecatedSynchronousErrorHandling?(0,p.O)(t):(0,a.h)(t)}function w(t,r){var n=u.v.onStoppedNotification;n&&f.z.setTimeout((function(){return n(t,r)}))}var _={closed:!0,next:c.Z,error:function(t){throw t},complete:c.Z}},28509:(t,r,n)=>{n.d(r,{Lc:()=>s,Nn:()=>l,w0:()=>c});var e=n(65419),o=n(4436),i=n(3537),u=n(82791);function a(t,r){return null!=r&&"undefined"!=typeof Symbol&&r[Symbol.hasInstance]?!!r[Symbol.hasInstance](t):t instanceof r}var c=function(){var t,r=function(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null};return r.prototype.unsubscribe=function(){var t,r,n,u,c;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var l=(0,e.XA)(s),p=l.next();!p.done;p=l.next())p.value.remove(this)}catch(r){t={error:r}}finally{try{p&&!p.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}else s.remove(this);var h=this.initialTeardown;if((0,o.m)(h))try{h()}catch(t){c=a(t,i.B)?t.errors:[t]}var y=this._finalizers;if(y){this._finalizers=null;try{for(var d=(0,e.XA)(y),v=d.next();!v.done;v=d.next()){var b=v.value;try{f(b)}catch(t){c=null!=c?c:[],a(t,i.B)?c=(0,e.ev)((0,e.ev)([],(0,e.CR)(c)),(0,e.CR)(t.errors)):c.push(t)}}}catch(t){n={error:t}}finally{try{v&&!v.done&&(u=d.return)&&u.call(d)}finally{if(n)throw n.error}}}if(c)throw new i.B(c)}},r.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)f(t);else{if(a(t,r)){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},r.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},r.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},r.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&(0,u.P)(r,t)},r.prototype.remove=function(t){var n=this._finalizers;n&&(0,u.P)(n,t),a(t,r)&&t._removeParent(this)},r.EMPTY=((t=new r).closed=!0,t),r}(),s=c.EMPTY;function l(t){return a(t,c)||t&&"closed"in t&&(0,o.m)(t.remove)&&(0,o.m)(t.add)&&(0,o.m)(t.unsubscribe)}function f(t){(0,o.m)(t)?t():t.unsubscribe()}},10981:(t,r,n)=>{n.d(r,{v:()=>e});var e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},11204:(t,r,n)=>{n.d(r,{Q:()=>i,x:()=>o});var e=n(65419);function o(t,r,n,e,o){return new i(t,r,n,e,o)}var i=function(t){var r=function(r,n,e,o,i,u){var a=t.call(this,r)||this;return a.onFinalize=i,a.shouldUnsubscribe=u,a._next=n?function(t){try{n(t)}catch(t){r.error(t)}}:t.prototype._next,a._error=o?function(t){try{o(t)}catch(t){r.error(t)}finally{this.unsubscribe()}}:t.prototype._error,a._complete=e?function(){try{e()}catch(t){r.error(t)}finally{this.unsubscribe()}}:t.prototype._complete,a};return(0,e.ZT)(r,t),r.prototype.unsubscribe=function(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;t.prototype.unsubscribe.call(this),!n&&(null===(r=this.onFinalize)||void 0===r||r.call(this))}},r}(n(14152).Lv)},35258:(t,r,n)=>{n.d(r,{U:()=>i});var e=n(94587),o=n(11204);function i(t,r){return(0,e.e)((function(n,e){var i=0;n.subscribe((0,o.x)(e,(function(n){e.next(t.call(r,n,i++))})))}))}},51285:(t,r,n)=>{n.d(r,{z:()=>o});var e=n(65419),o={setTimeout:function(t,r){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var u=o.delegate;return(null==u?void 0:u.setTimeout)?u.setTimeout.apply(u,(0,e.ev)([t,r],(0,e.CR)(n))):setTimeout.apply(void 0,(0,e.ev)([t,r],(0,e.CR)(n)))},clearTimeout:function(t){var r=o.delegate;return((null==r?void 0:r.clearTimeout)||clearTimeout)(t)},delegate:void 0}},3537:(t,r,n)=>{n.d(r,{B:()=>e});var e=(0,n(23664).d)((function(t){return function(r){t(this),this.message=r?r.length+" errors occurred during unsubscription:\n"+r.map((function(t,r){return r+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=r}}))},82791:(t,r,n)=>{function e(t,r){if(t){var n=t.indexOf(r);0<=n&&t.splice(n,1)}}n.d(r,{P:()=>e})},23664:(t,r,n)=>{function e(t){var r=t((function(t){Error.call(t),t.stack=(new Error).stack}));return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}n.d(r,{d:()=>e})},89013:(t,r,n)=>{n.d(r,{O:()=>u,x:()=>i});var e=n(10981),o=null;function i(t){if(e.v.useDeprecatedSynchronousErrorHandling){var r=!o;if(r&&(o={errorThrown:!1,error:null}),t(),r){var n=o,i=n.errorThrown,u=n.error;if(o=null,i)throw u}}else t()}function u(t){e.v.useDeprecatedSynchronousErrorHandling&&o&&(o.errorThrown=!0,o.error=t)}},4436:(t,r,n)=>{function e(t){return"function"==typeof t}n.d(r,{m:()=>e})},94587:(t,r,n)=>{n.d(r,{A:()=>o,e:()=>i});var e=n(4436);function o(t){return(0,e.m)(null==t?void 0:t.lift)}function i(t){return function(r){if(o(r))return r.lift((function(r){try{return t(r,this)}catch(t){this.error(t)}}));throw new TypeError("Unable to lift unknown Observable type")}}},57338:(t,r,n)=>{function e(){}n.d(r,{Z:()=>e})},53970:(t,r,n)=>{n.d(r,{h:()=>i});var e=n(10981),o=n(51285);function i(t){o.z.setTimeout((function(){var r=e.v.onUnhandledError;if(!r)throw t;r(t)}))}},65419:(t,r,n)=>{function e(t,r){return null!=r&&"undefined"!=typeof Symbol&&r[Symbol.hasInstance]?!!r[Symbol.hasInstance](t):t instanceof r}n.d(r,{CR:()=>s,FC:()=>p,Jh:()=>a,KL:()=>h,XA:()=>c,ZT:()=>i,ev:()=>l,mG:()=>u,qq:()=>f});var o=function(t,r){return o=Object.setPrototypeOf||e({__proto__:[]},Array)&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},o(t,r)};function i(t,r){var n=function(){this.constructor=t};if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");o(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}function u(t,r,n,o){return new(n||(n=Promise))((function(i,u){var a=function(t){try{s(o.next(t))}catch(t){u(t)}},c=function(t){try{s(o.throw(t))}catch(t){u(t)}},s=function(t){var r;t.done?i(t.value):(r=t.value,e(r,n)?r:new n((function(t){t(r)}))).then(a,c)};s((o=o.apply(t,r||[])).next())}))}function a(t,r){var n,e,o,i,u=function(t){return function(r){return a([t,r])}},a=function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(c=0)),c;)try{if(n=1,e&&(o=2&u[0]?e.return:u[0]?e.throw||((o=e.return)&&o.call(e),0):e.next)&&!(o=o.call(e,u[1])).done)return o;switch(e=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return c.label++,{value:u[1],done:!1};case 5:c.label++,e=u[1],u=[0];continue;case 7:u=c.ops.pop(),c.trys.pop();continue;default:if(!((o=(o=c.trys).length>0&&o[o.length-1])||6!==u[0]&&2!==u[0])){c=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){c.label=u[1];break}if(6===u[0]&&c.label<o[1]){c.label=o[1],o=u;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(u);break}o[2]&&c.ops.pop(),c.trys.pop();continue}u=r.call(t,c)}catch(t){u=[6,t],e=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}},c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i}function c(t){var r="function"==typeof Symbol&&Symbol.iterator,n=r&&t[r],e=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&e>=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(t,r){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var e,o,i=n.call(t),u=[];try{for(;(void 0===r||r-- >0)&&!(e=i.next()).done;)u.push(e.value)}catch(t){o={error:t}}finally{try{e&&!e.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function l(t,r,n){if(n||2===arguments.length)for(var e,o=0,i=r.length;o<i;o++)!e&&o in r||(e||(e=Array.prototype.slice.call(r,0,o)),e[o]=r[o]);return t.concat(e||Array.prototype.slice.call(r))}function f(t){return e(this,f)?(this.v=t,this):new f(t)}function p(t,r,n){var o=function(t){p[t]&&(l[t]=function(r){return new Promise((function(n,e){h.push([t,r,n,e])>1||i(t,r)}))})},i=function(t,r){try{u(p[t](r))}catch(t){s(h[0][3],t)}},u=function(t){e(t.value,f)?Promise.resolve(t.value.v).then(a,c):s(h[0][2],t)},a=function(t){i("next",t)},c=function(t){i("throw",t)},s=function(t,r){t(r),h.shift(),h.length&&i(h[0][0],h[0][1])};if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var l,p=n.apply(t,r||[]),h=[];return l={},o("next"),o("throw"),o("return"),l[Symbol.asyncIterator]=function(){return this},l}function h(t){var r=function(r){e[r]=t[r]&&function(e){return new Promise((function(o,i){e=t[r](e),n(o,i,e.done,e.value)}))}},n=function(t,r,n,e){Promise.resolve(e).then((function(r){t({value:r,done:n})}),r)};if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,o=t[Symbol.asyncIterator];return o?o.call(t):(t=c(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e)}Object.create,Object.create}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_form_builder_app=globalThis.webpackChunk_openmrs_esm_form_builder_app||[]).push([[258],{91497:(t,r,n)=>{n.d(r,{Hp:()=>b,Lv:()=>h});var e=n(65419),o=n(4436),i=n(28509),u=n(10981),a=n(53970),c=n(57338),s=l("C",void 0,void 0);function l(t,r,n){return{kind:t,value:r,error:n}}var f=n(51285),p=n(89013),h=function(t){var r=function(r){var n=t.call(this)||this;return n.isStopped=!1,r?(n.destination=r,(0,i.Nn)(r)&&r.add(n)):n.destination=_,n};return(0,e.ZT)(r,t),r.create=function(t,r,n){return new b(t,r,n)},r.prototype.next=function(t){this.isStopped?w(function(t){return l("N",t,void 0)}(t),this):this._next(t)},r.prototype.error=function(t){this.isStopped?w(l("E",void 0,t),this):(this.isStopped=!0,this._error(t))},r.prototype.complete=function(){this.isStopped?w(s,this):(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(t){this.destination.next(t)},r.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},r}(i.w0),y=Function.prototype.bind;function d(t,r){return y.call(t,r)}var v=function(){var t=function(t){this.partialObserver=t};return t.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(t){m(t)}},t.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(t){m(t)}else m(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){m(t)}},t}(),b=function(t){var r=function(r,n,e){var i,a,c=t.call(this)||this;return(0,o.m)(r)||!r?i={next:null!=r?r:void 0,error:null!=n?n:void 0,complete:null!=e?e:void 0}:c&&u.v.useDeprecatedNextContext?((a=Object.create(r)).unsubscribe=function(){return c.unsubscribe()},i={next:r.next&&d(r.next,a),error:r.error&&d(r.error,a),complete:r.complete&&d(r.complete,a)}):i=r,c.destination=new v(i),c};return(0,e.ZT)(r,t),r}(h);function m(t){u.v.useDeprecatedSynchronousErrorHandling?(0,p.O)(t):(0,a.h)(t)}function w(t,r){var n=u.v.onStoppedNotification;n&&f.z.setTimeout((function(){return n(t,r)}))}var _={closed:!0,next:c.Z,error:function(t){throw t},complete:c.Z}},28509:(t,r,n)=>{n.d(r,{Lc:()=>s,Nn:()=>l,w0:()=>c});var e=n(65419),o=n(4436),i=n(3537),u=n(82791);function a(t,r){return null!=r&&"undefined"!=typeof Symbol&&r[Symbol.hasInstance]?!!r[Symbol.hasInstance](t):t instanceof r}var c=function(){var t,r=function(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null};return r.prototype.unsubscribe=function(){var t,r,n,u,c;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var l=(0,e.XA)(s),p=l.next();!p.done;p=l.next())p.value.remove(this)}catch(r){t={error:r}}finally{try{p&&!p.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}else s.remove(this);var h=this.initialTeardown;if((0,o.m)(h))try{h()}catch(t){c=a(t,i.B)?t.errors:[t]}var y=this._finalizers;if(y){this._finalizers=null;try{for(var d=(0,e.XA)(y),v=d.next();!v.done;v=d.next()){var b=v.value;try{f(b)}catch(t){c=null!=c?c:[],a(t,i.B)?c=(0,e.ev)((0,e.ev)([],(0,e.CR)(c)),(0,e.CR)(t.errors)):c.push(t)}}}catch(t){n={error:t}}finally{try{v&&!v.done&&(u=d.return)&&u.call(d)}finally{if(n)throw n.error}}}if(c)throw new i.B(c)}},r.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)f(t);else{if(a(t,r)){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},r.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},r.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},r.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&(0,u.P)(r,t)},r.prototype.remove=function(t){var n=this._finalizers;n&&(0,u.P)(n,t),a(t,r)&&t._removeParent(this)},r.EMPTY=((t=new r).closed=!0,t),r}(),s=c.EMPTY;function l(t){return a(t,c)||t&&"closed"in t&&(0,o.m)(t.remove)&&(0,o.m)(t.add)&&(0,o.m)(t.unsubscribe)}function f(t){(0,o.m)(t)?t():t.unsubscribe()}},10981:(t,r,n)=>{n.d(r,{v:()=>e});var e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},11204:(t,r,n)=>{n.d(r,{Q:()=>i,x:()=>o});var e=n(65419);function o(t,r,n,e,o){return new i(t,r,n,e,o)}var i=function(t){var r=function(r,n,e,o,i,u){var a=t.call(this,r)||this;return a.onFinalize=i,a.shouldUnsubscribe=u,a._next=n?function(t){try{n(t)}catch(t){r.error(t)}}:t.prototype._next,a._error=o?function(t){try{o(t)}catch(t){r.error(t)}finally{this.unsubscribe()}}:t.prototype._error,a._complete=e?function(){try{e()}catch(t){r.error(t)}finally{this.unsubscribe()}}:t.prototype._complete,a};return(0,e.ZT)(r,t),r.prototype.unsubscribe=function(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;t.prototype.unsubscribe.call(this),!n&&(null===(r=this.onFinalize)||void 0===r||r.call(this))}},r}(n(91497).Lv)},35258:(t,r,n)=>{n.d(r,{U:()=>i});var e=n(94587),o=n(11204);function i(t,r){return(0,e.e)((function(n,e){var i=0;n.subscribe((0,o.x)(e,(function(n){e.next(t.call(r,n,i++))})))}))}},51285:(t,r,n)=>{n.d(r,{z:()=>o});var e=n(65419),o={setTimeout:function(t,r){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var u=o.delegate;return(null==u?void 0:u.setTimeout)?u.setTimeout.apply(u,(0,e.ev)([t,r],(0,e.CR)(n))):setTimeout.apply(void 0,(0,e.ev)([t,r],(0,e.CR)(n)))},clearTimeout:function(t){var r=o.delegate;return((null==r?void 0:r.clearTimeout)||clearTimeout)(t)},delegate:void 0}},3537:(t,r,n)=>{n.d(r,{B:()=>e});var e=(0,n(23664).d)((function(t){return function(r){t(this),this.message=r?r.length+" errors occurred during unsubscription:\n"+r.map((function(t,r){return r+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=r}}))},82791:(t,r,n)=>{function e(t,r){if(t){var n=t.indexOf(r);0<=n&&t.splice(n,1)}}n.d(r,{P:()=>e})},23664:(t,r,n)=>{function e(t){var r=t((function(t){Error.call(t),t.stack=(new Error).stack}));return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}n.d(r,{d:()=>e})},89013:(t,r,n)=>{n.d(r,{O:()=>u,x:()=>i});var e=n(10981),o=null;function i(t){if(e.v.useDeprecatedSynchronousErrorHandling){var r=!o;if(r&&(o={errorThrown:!1,error:null}),t(),r){var n=o,i=n.errorThrown,u=n.error;if(o=null,i)throw u}}else t()}function u(t){e.v.useDeprecatedSynchronousErrorHandling&&o&&(o.errorThrown=!0,o.error=t)}},4436:(t,r,n)=>{function e(t){return"function"==typeof t}n.d(r,{m:()=>e})},94587:(t,r,n)=>{n.d(r,{A:()=>o,e:()=>i});var e=n(4436);function o(t){return(0,e.m)(null==t?void 0:t.lift)}function i(t){return function(r){if(o(r))return r.lift((function(r){try{return t(r,this)}catch(t){this.error(t)}}));throw new TypeError("Unable to lift unknown Observable type")}}},57338:(t,r,n)=>{function e(){}n.d(r,{Z:()=>e})},53970:(t,r,n)=>{n.d(r,{h:()=>i});var e=n(10981),o=n(51285);function i(t){o.z.setTimeout((function(){var r=e.v.onUnhandledError;if(!r)throw t;r(t)}))}},65419:(t,r,n)=>{function e(t,r){return null!=r&&"undefined"!=typeof Symbol&&r[Symbol.hasInstance]?!!r[Symbol.hasInstance](t):t instanceof r}n.d(r,{CR:()=>s,FC:()=>p,Jh:()=>a,KL:()=>h,XA:()=>c,ZT:()=>i,ev:()=>l,mG:()=>u,qq:()=>f});var o=function(t,r){return o=Object.setPrototypeOf||e({__proto__:[]},Array)&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},o(t,r)};function i(t,r){var n=function(){this.constructor=t};if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");o(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}function u(t,r,n,o){return new(n||(n=Promise))((function(i,u){var a=function(t){try{s(o.next(t))}catch(t){u(t)}},c=function(t){try{s(o.throw(t))}catch(t){u(t)}},s=function(t){var r;t.done?i(t.value):(r=t.value,e(r,n)?r:new n((function(t){t(r)}))).then(a,c)};s((o=o.apply(t,r||[])).next())}))}function a(t,r){var n,e,o,i,u=function(t){return function(r){return a([t,r])}},a=function(u){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(c=0)),c;)try{if(n=1,e&&(o=2&u[0]?e.return:u[0]?e.throw||((o=e.return)&&o.call(e),0):e.next)&&!(o=o.call(e,u[1])).done)return o;switch(e=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return c.label++,{value:u[1],done:!1};case 5:c.label++,e=u[1],u=[0];continue;case 7:u=c.ops.pop(),c.trys.pop();continue;default:if(!((o=(o=c.trys).length>0&&o[o.length-1])||6!==u[0]&&2!==u[0])){c=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){c.label=u[1];break}if(6===u[0]&&c.label<o[1]){c.label=o[1],o=u;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(u);break}o[2]&&c.ops.pop(),c.trys.pop();continue}u=r.call(t,c)}catch(t){u=[6,t],e=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}},c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i}function c(t){var r="function"==typeof Symbol&&Symbol.iterator,n=r&&t[r],e=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&e>=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(t,r){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var e,o,i=n.call(t),u=[];try{for(;(void 0===r||r-- >0)&&!(e=i.next()).done;)u.push(e.value)}catch(t){o={error:t}}finally{try{e&&!e.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function l(t,r,n){if(n||2===arguments.length)for(var e,o=0,i=r.length;o<i;o++)!e&&o in r||(e||(e=Array.prototype.slice.call(r,0,o)),e[o]=r[o]);return t.concat(e||Array.prototype.slice.call(r))}function f(t){return e(this,f)?(this.v=t,this):new f(t)}function p(t,r,n){var o=function(t){p[t]&&(l[t]=function(r){return new Promise((function(n,e){h.push([t,r,n,e])>1||i(t,r)}))})},i=function(t,r){try{u(p[t](r))}catch(t){s(h[0][3],t)}},u=function(t){e(t.value,f)?Promise.resolve(t.value.v).then(a,c):s(h[0][2],t)},a=function(t){i("next",t)},c=function(t){i("throw",t)},s=function(t,r){t(r),h.shift(),h.length&&i(h[0][0],h[0][1])};if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var l,p=n.apply(t,r||[]),h=[];return l={},o("next"),o("throw"),o("return"),l[Symbol.asyncIterator]=function(){return this},l}function h(t){var r=function(r){e[r]=t[r]&&function(e){return new Promise((function(o,i){e=t[r](e),n(o,i,e.done,e.value)}))}},n=function(t,r,n,e){Promise.resolve(e).then((function(r){t({value:r,done:n})}),r)};if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,o=t[Symbol.asyncIterator];return o?o.call(t):(t=c(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e)}Object.create,Object.create}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"258.js","mappings":"0PAAWA,EAA8CC,EAAmB,SAAKC,OAAWA,GAOrF,SAASD,EAAmBE,EAAMC,EAAOC,GAC5C,MAAO,CACHF,KAAMA,EACNC,MAAOA,EACPC,MAAOA,EAEf,C,0BCJIC,EAAc,SAAUC,G,IAEfD,EAAT,SAAoBE,GAChB,IAAIC,EAAQF,EAAOG,KAAKC,OAASA,KAWjC,OAVAF,EAAMG,WAAY,EACdJ,GACAC,EAAMD,YAAcA,GAChBK,EAAAA,EAAAA,IAAeL,IACfA,EAAYM,IAAIL,IAIpBA,EAAMD,YAAcO,EAEjBN,CACX,EAwDA,OAtEAO,EAAAA,EAAAA,IAAUV,EAAYC,GAetBD,EAAWW,OAAS,SAAUC,EAAMb,EAAOc,GACvC,OAAO,IAAIC,EAAeF,EAAMb,EAAOc,EAC3C,EACAb,EAA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AJtHX,OAAOa,IAAAA,SAAe,SAAM,EAAI5C,GAC3B+B,EAAAA,EAAOa,GAAAA,GAAAA,EAAc,EAAEnE,EAAAA,EAAAA,KAAAA,EAAAA,MAC1BqD,GAAuL,CAAa,EAG9M,oBAEM,QAASgB,QAAAA,GAAAA,MAAAA,SAAqBC,GAC7BnJ,EAAOoJ,CAAyBA,MAAAA,EAAgC3L,KAAO4L,GAAQ,GAAO,E,EAAoB,IAAC,iFAC/G,IAAOF,EAAP,EAAOA,EAAAA,OAAAA,eACV,oG,WAEGG,EAAAA,E,CAlGsBvB,OAAKwB,OA2G8G,a","sources":["webpack://@openmrs/esm-form-builder-app/./node_modules/rxjs/dist/esm5/internal/NotificationFactories.js","webpack://@openmrs/esm-form-builder-app/./node_modules/rxjs/dist/esm5/internal/Subscriber.js","webpack://@openmrs/esm-form-builder-app/./node_modules/rxjs/dist/esm5/internal/Subscription.js","webpack://@openmrs/esm-form-builder-app/./node_modules/rxjs/dist/esm5/internal/config.js","webpack://@openmrs/esm-form-builder-app/./node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js","webpack://@openmrs/esm-form-builder-app/./node_modules/rxjs/dist/esm5/internal/operators/map.js","webpack://@openmrs/esm-form-builder-app/./node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js","webpack://@openmrs/esm-form-builder-app/./node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js","webpack://@openmrs/esm-form-builder-app/./node_modules/rxjs/dist/esm5/internal/util/arrRemove.js","webpack://@openmrs/esm-form-builder-app/./node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js","webpack://@openmrs/esm-form-builder-app/./node_modules/rxjs/dist/esm5/internal/util/errorContext.js","webpack://@openmrs/esm-form-builder-app/./node_modules/rxjs/dist/esm5/internal/util/isFunction.js","webpack://@openmrs/esm-form-builder-app/./node_modules/rxjs/dist/esm5/internal/util/lift.js","webpack://@openmrs/esm-form-builder-app/./node_modules/rxjs/dist/esm5/internal/util/noop.js","webpack://@openmrs/esm-form-builder-app/./node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js","webpack://@openmrs/esm-form-builder-app/./node_modules/tslib/tslib.es6.js"],"names":["COMPLETE_NOTIFICATION","createNotification","undefined","kind","value","error","Subscriber","_super","destination","_this","call","this","isStopped","isSubscription","add","EMPTY_OBSERVER","__extends","create","next","complete","SafeSubscriber","prototype","handleStoppedNotification","nextNotification","_next","err","_error","_complete","unsubscribe","closed","Subscription","_bind","Function","bind","fn","thisArg","ConsumerObserver","partialObserver","handleUnhandledError","observerOrNext","context_1","isFunction","config","Object","captureError","reportUnhandledError","notification","subscriber","onStoppedNotification","timeoutProvider","noop","empty","initialTeardown","_parentage","_finalizers","e_1","_a","e_2","_b","errors","Array","isArray","_parentage_1","__values","_parentage_1_1","done","remove","e_1_1","return","initialFinalizer","e","UnsubscriptionError","_finalizers_1","_finalizers_1_1","finalizer","execFinalizer","__spreadArray","__read","push","e_2_1","teardown","_hasParent","_addParent","parent","includes","_removeParent","arrRemove","EMPTY","EMPTY_SUBSCRIPTION","onUnhandledError","Promise","useDeprecatedSynchronousErrorHandling","useDeprecatedNextContext","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","shouldUnsubscribe","closed_1","map","project","operate","source","index","subscribe","setTimeout","handler","timeout","args","_i","arguments","length","delegate","apply","clearTimeout","handle","createErrorClass","message","i","toString","join","name","arr","item","indexOf","splice","createImpl","ctorFunc","instance","Error","stack","constructor","context","errorContext","cb","isRoot","errorThrown","hasLift","lift","init","liftedSource","TypeError","extendStatics","b","d","__assign","assign","__rest","step","result","resolve","generator","__generator","verb","n","rejected","f","y","op","desc","_","label","pop","t","ops","trys","g","__createBinding","k2","enumerable","get","m","Symbol","o","ar","s","il","q","resume","v","settle","r","fulfill","reject","shift","asyncIterator","p","__makeTemplateObject","cooked","defineProperty","raw","__setModuleDefault","k"],"sourceRoot":""}
package/dist/267.js ADDED
@@ -0,0 +1 @@
1
+ (globalThis.webpackChunk_openmrs_esm_form_builder_app=globalThis.webpackChunk_openmrs_esm_form_builder_app||[]).push([[267],{54267:(e,r,t)=>{"use strict";t.r(r),t.d(r,{backendDependencies:()=>a,importTranslation:()=>i,setupOpenMRS:()=>s});var n=t(81132),o={questionTypes:{_type:n.Type.Array,_description:"Provides information that the processor uses to render a field",_default:["complex-obs","control","encounterDatetime","encounterLocation","encounterProvider","obs","obsGroup","personAttribute","testOrder"]},fieldTypes:{_type:n.Type.Array,_description:"An array of available field types. A question can have only one field type, and the field type determines how the question is rendered.",_default:["date","drug","field-set","file","group","multiCheckbox","number","problem","radio","repeating","select","text","textarea","ui-select-extended"]},patientUuid:{_type:"String",_default:"6e0c17ae-da79-4d48-93d9-396ff82b98d4",_description:"UUID of the test patient whose information gets rendered in a patient banner within the form renderer"}},i=t(23979),a={fhir2:"^1.2.0","webservices.rest":"^2.2.0"};function s(){var e="@openmrs/esm-form-builder-app",r={featureName:"form-builder",moduleName:e};return(0,n.defineConfigSchema)(e,o),(0,n.registerBreadcrumbs)([{path:"".concat(window.spaBase,"/form-builder"),title:"Form Builder",parent:"".concat(window.spaBase,"/home")},{path:"".concat(window.spaBase,"/form-builder/new"),title:"Form Editor",parent:"".concat(window.spaBase,"/form-builder")},{path:"".concat(window.spaBase,"/form-builder/edit/:uuid"),title:"Form Editor",parent:"".concat(window.spaBase,"/form-builder")}]),{pages:[{load:(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(258),t.e(948),t.e(672),t.e(397),t.e(994)]).then(t.bind(t,90055))}),r),route:"form-builder"}],extensions:[{id:"form-builder-app-menu-link",slot:"app-menu-slot",load:(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(672),t.e(397),t.e(301)]).then(t.bind(t,50301))}),r),online:!0,offline:!0}]}}},23979:(e,r,t)=>{var n={"./en.json":[13574,574]};function o(e){if(!t.o(n,e))return Promise.resolve().then((()=>{var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}));var r=n[e],o=r[0];return t.e(r[1]).then((()=>t(o)))}o.keys=()=>Object.keys(n),o.id=23979,e.exports=o}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"267.js","mappings":"8PAEaA,EAAe,CAC1BC,cAAe,CACbC,MAAOC,EAAAA,KAAAA,MACPC,aACE,iEACFC,SAAU,CACR,cACA,UACA,oBACA,oBACA,oBACA,MACA,WACA,kBACA,cAGJC,WAAY,CACVJ,MAAOC,EAAAA,KAAAA,MACPC,aACE,0IACFC,SAAU,CACR,OACA,OACA,YACA,OACA,QACA,gBACA,SACA,UACA,QACA,YACA,SACA,OACA,WACA,uBAGJE,YAAa,CACXL,MAAO,SACPG,SAAU,uCACVD,aACE,0GCrCAI,EAAoBC,EAAAA,OAOpBC,EAAsB,CAC1BC,MAAO,SACP,mBAAoB,UAGtB,SAASC,IACP,IAAMC,EAAa,gCAEbC,EAAU,CACdC,YAAa,eACbF,WAAAA,GAuBF,OApBAG,EAAAA,EAAAA,oBAAmBH,EAAYb,IAE/BiB,EAAAA,EAAAA,qBAAoB,CAClB,CACEC,KAAM,GAAkB,OAAfC,OAAOC,QAAQ,iBACxBC,MAAO,eACPC,OAAQ,GAAkB,OAAfH,OAAOC,QAAQ,UAE5B,CACEF,KAAM,GAAkB,OAAfC,OAAOC,QAAQ,qBACxBC,MAAO,cACPC,OAAQ,GAAkB,OAAfH,OAAOC,QAAQ,kBAE5B,CACEF,KAAM,GAAkB,OAAfC,OAAOC,QAAQ,4BACxBC,MAAO,cACPC,OAAQ,GAAkB,OAAfH,OAAOC,QAAQ,oBAIvB,CACLG,MAAO,CACL,CACEC,MAAMC,EAAAA,EAAAA,oBAAkB,W,OAAM,iF,GAA4BX,GAC1DY,MAAO,iBAGXC,WAAY,CACV,CACEC,GAAI,6BACJC,KAAM,gBACNL,MAAMC,EAAAA,EAAAA,oBACJ,W,OAAM,+D,GACNX,GAEFgB,QAAQ,EACRC,SAAS,IAIjB,C,kBCnEA,IAAIC,EAAM,CACT,YAAa,CACZ,MACA,MAGF,SAASC,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAEJ,EAAKE,GAC9B,OAAOG,QAAQC,UAAUC,MAAK,KAC7B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBP,EAAM,KAEjD,MADAM,EAAEE,KAAO,mBACHF,CAAC,IAIT,IAAIG,EAAMX,EAAIE,GAAMN,EAAKe,EAAI,GAC7B,OAAOR,EAAoBK,EAAEG,EAAI,IAAIJ,MAAK,IAClCJ,EAAoBP,IAE7B,CACAK,EAAoBW,KAAO,IAAOC,OAAOD,KAAKZ,GAC9CC,EAAoBL,GAAK,MACzBkB,EAAOC,QAAUd,C","sources":["webpack://@openmrs/esm-form-builder-app/./src/config-schema.ts","webpack://@openmrs/esm-form-builder-app/./src/index.ts","webpack://@openmrs/esm-form-builder-app/./translations/ lazy nonrecursive .json$"],"names":["configSchema","questionTypes","_type","Type","_description","_default","fieldTypes","patientUuid","importTranslation","require","backendDependencies","fhir2","setupOpenMRS","moduleName","options","featureName","defineConfigSchema","registerBreadcrumbs","path","window","spaBase","title","parent","pages","load","getAsyncLifecycle","route","extensions","id","slot","online","offline","map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","keys","Object","module","exports"],"sourceRoot":""}
package/dist/301.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_form_builder_app=globalThis.webpackChunk_openmrs_esm_form_builder_app||[]).push([[301],{50301:(e,r,a)=>{a.r(r),a.d(r,{default:()=>l});var n=a(81672),o=a.n(n),s=a(81132),i=a(63397),u=(window.getOpenmrsSpaBase,"".concat(window.spaBase).concat("/form-builder"));function l(){var e=(0,i.useTranslation)().t;return o().createElement(s.ConfigurableLink,{to:u},e("formBuilder","Form Builder"))}}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"301.js","mappings":"sOAEaA,GAFUC,OAA0B,kBAEtB,GAAoBC,OAAjBD,OAAOE,SAAmB,OADhC,kBCIT,SAASC,IACtB,IAAM,GAAQC,EAAAA,EAAAA,kBAANC,EACR,OACE,kBAACC,EAAAA,iBAAgBA,CAACC,GAAIR,GACnBM,EAAE,cAAe,gBAGxB,C","sources":["webpack://@openmrs/esm-form-builder-app/./src/constants.ts","webpack://@openmrs/esm-form-builder-app/./src/form-builder-app-menu-link.component.tsx"],"names":["spaBasePath","window","basePath","spaBase","FormBuilderAppMenuLink","useTranslation","t","ConfigurableLink","to"],"sourceRoot":""}
package/dist/377.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_form_builder_app=globalThis.webpackChunk_openmrs_esm_form_builder_app||[]).push([[377],{50377:(n,e,t)=>{t.r(e),t.d(e,{ArgumentOutOfRangeError:()=>Vn,AsyncSubject:()=>F,BehaviorSubject:()=>O,ConnectableObservable:()=>y,EMPTY:()=>cn,EmptyError:()=>zn,NEVER:()=>Ze,NotFoundError:()=>Xn,Notification:()=>Nn,NotificationKind:()=>En,ObjectUnsubscribedError:()=>C,Observable:()=>v,ReplaySubject:()=>Z,Scheduler:()=>H,SequenceError:()=>Bn,Subject:()=>T,Subscriber:()=>r.Lv,Subscription:()=>u.w0,TimeoutError:()=>Yn,UnsubscriptionError:()=>Kn.B,VirtualAction:()=>on,VirtualTimeScheduler:()=>un,animationFrame:()=>rn,animationFrameScheduler:()=>tn,animationFrames:()=>g,asap:()=>J,asapScheduler:()=>D,async:()=>Q,asyncScheduler:()=>K,audit:()=>He,auditTime:()=>Ye,bindCallback:()=>ee,bindNodeCallback:()=>te,buffer:()=>De,bufferCount:()=>Je,bufferTime:()=>Ke,bufferToggle:()=>Qe,bufferWhen:()=>Ge,catchError:()=>$e,combineAll:()=>ot,combineLatest:()=>le,combineLatestAll:()=>it,combineLatestWith:()=>st,concat:()=>pe,concatAll:()=>be,concatMap:()=>lt,concatMapTo:()=>ft,concatWith:()=>vt,config:()=>l.v,connect:()=>dt,connectable:()=>xe,count:()=>bt,debounce:()=>pt,debounceTime:()=>mt,defaultIfEmpty:()=>yt,defer:()=>me,delay:()=>Et,delayWhen:()=>_t,dematerialize:()=>St,distinct:()=>At,distinctUntilChanged:()=>Ct,distinctUntilKeyChanged:()=>Tt,elementAt:()=>Rt,empty:()=>sn,endWith:()=>Zt,every:()=>Ft,exhaust:()=>Nt,exhaustAll:()=>qt,exhaustMap:()=>jt,expand:()=>Pt,filter:()=>We,finalize:()=>Lt,find:()=>Wt,findIndex:()=>Mt,first:()=>Ut,firstValueFrom:()=>Un,flatMap:()=>Jt,forkJoin:()=>we,from:()=>Fn,fromEvent:()=>Se,fromEventPattern:()=>Ce,generate:()=>Ie,groupBy:()=>Vt,identity:()=>o,ignoreElements:()=>wt,iif:()=>Te,interval:()=>Oe,isEmpty:()=>Xt,isObservable:()=>Wn,last:()=>Ht,lastValueFrom:()=>Mn,map:()=>Qn.U,mapTo:()=>gt,materialize:()=>Yt,max:()=>Dt,merge:()=>Re,mergeAll:()=>de,mergeMap:()=>he,mergeMapTo:()=>Kt,mergeScan:()=>Qt,mergeWith:()=>$t,min:()=>nr,multicast:()=>er,never:()=>Fe,noop:()=>Ln.Z,observable:()=>i,observeOn:()=>Tn,of:()=>jn,onErrorResumeNext:()=>Ne,onErrorResumeNextWith:()=>tr,pairs:()=>Pe,pairwise:()=>rr,partition:()=>ze,pipe:()=>c,pluck:()=>ur,publish:()=>ir,publishBehavior:()=>or,publishLast:()=>cr,publishReplay:()=>sr,queue:()=>nn,queueScheduler:()=>$,race:()=>Me,raceWith:()=>lr,range:()=>Ve,reduce:()=>et,refCount:()=>m,repeat:()=>fr,repeatWhen:()=>ar,retry:()=>vr,retryWhen:()=>hr,sample:()=>dr,sampleTime:()=>br,scan:()=>pr,scheduled:()=>Zn,sequenceEqual:()=>mr,share:()=>yr,shareReplay:()=>wr,single:()=>gr,skip:()=>_r,skipLast:()=>Er,skipUntil:()=>Sr,skipWhile:()=>Ar,startWith:()=>Cr,subscribeOn:()=>kn,switchAll:()=>Tr,switchMap:()=>Ir,switchMapTo:()=>kr,switchScan:()=>Or,take:()=>xt,takeLast:()=>Bt,takeUntil:()=>Rr,takeWhile:()=>Zr,tap:()=>Fr,throttle:()=>qr,throttleTime:()=>Nr,throwError:()=>qn,throwIfEmpty:()=>kt,timeInterval:()=>Pr,timeout:()=>Dn,timeoutWith:()=>Wr,timer:()=>ke,timestamp:()=>zr,toArray:()=>rt,using:()=>Xe,window:()=>Mr,windowCount:()=>Ur,windowTime:()=>Vr,windowToggle:()=>Xr,windowWhen:()=>Br,withLatestFrom:()=>Hr,zip:()=>Be,zipAll:()=>Yr,zipWith:()=>Jr});var r=t(91497),u=t(28509),i="function"==typeof Symbol&&Symbol.observable||"@@observable";function o(n){return n}function c(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return s(n)}function s(n){return 0===n.length?o:1===n.length?n[0]:function(e){return n.reduce((function(n,e){return e(n)}),e)}}var l=t(10981),f=t(4436),a=t(89013),v=function(){var n=function(n){n&&(this._subscribe=n)};return n.prototype.lift=function(e){var t=new n;return t.source=this,t.operator=e,t},n.prototype.subscribe=function(n,e,t){var i,o,c,s=this,l=(i=n)&&(o=i,null!=(c=r.Lv)&&"undefined"!=typeof Symbol&&c[Symbol.hasInstance]?c[Symbol.hasInstance](o):o instanceof c)||function(n){return n&&(0,f.m)(n.next)&&(0,f.m)(n.error)&&(0,f.m)(n.complete)}(i)&&(0,u.Nn)(i)?n:new r.Hp(n,e,t);return(0,a.x)((function(){var n=s,e=n.operator,t=n.source;l.add(e?e.call(l,t):t?s._subscribe(l):s._trySubscribe(l))})),l},n.prototype._trySubscribe=function(n){try{return this._subscribe(n)}catch(e){n.error(e)}},n.prototype.forEach=function(n,e){var t=this;return new(e=h(e))((function(e,u){var i=new r.Hp({next:function(e){try{n(e)}catch(n){u(n),i.unsubscribe()}},error:u,complete:e});t.subscribe(i)}))},n.prototype._subscribe=function(n){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(n)},n.prototype[i]=function(){return this},n.prototype.pipe=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return s(n)(this)},n.prototype.toPromise=function(n){var e=this;return new(n=h(n))((function(n,t){var r;e.subscribe((function(n){return r=n}),(function(n){return t(n)}),(function(){return n(r)}))}))},n.create=function(e){return new n(e)},n}();function h(n){var e;return null!==(e=null!=n?n:l.v.Promise)&&void 0!==e?e:Promise}var d=t(65419),b=t(94587),p=t(11204);function m(){return(0,b.e)((function(n,e){var t=null;n._refCount++;var r=(0,p.x)(e,void 0,void 0,void 0,(function(){if(!n||n._refCount<=0||0<--n._refCount)t=null;else{var r=n._connection,u=t;t=null,!r||u&&r!==u||r.unsubscribe(),e.unsubscribe()}}));n.subscribe(r),r.closed||(t=n.connect())}))}var y=function(n){var e=function(e,t){var r=n.call(this)||this;return r.source=e,r.subjectFactory=t,r._subject=null,r._refCount=0,r._connection=null,(0,b.A)(e)&&(r.lift=e.lift),r};return(0,d.ZT)(e,n),e.prototype._subscribe=function(n){return this.getSubject().subscribe(n)},e.prototype.getSubject=function(){var n=this._subject;return n&&!n.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype._teardown=function(){this._refCount=0;var n=this._connection;this._subject=this._connection=null,null==n||n.unsubscribe()},e.prototype.connect=function(){var n=this,e=this._connection;if(!e){e=this._connection=new u.w0;var t=this.getSubject();e.add(this.source.subscribe((0,p.x)(t,void 0,(function(){n._teardown(),t.complete()}),(function(e){n._teardown(),t.error(e)}),(function(){return n._teardown()})))),e.closed&&(this._connection=null,e=u.w0.EMPTY)}return e},e.prototype.refCount=function(){return m()(this)},e}(v),x={now:function(){return(x.delegate||performance).now()},delegate:void 0},w={schedule:function(n){var e=requestAnimationFrame,t=cancelAnimationFrame,r=w.delegate;r&&(e=r.requestAnimationFrame,t=r.cancelAnimationFrame);var i=e((function(e){t=void 0,n(e)}));return new u.w0((function(){return null==t?void 0:t(i)}))},requestAnimationFrame:function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=w.delegate;return((null==t?void 0:t.requestAnimationFrame)||requestAnimationFrame).apply(void 0,(0,d.ev)([],(0,d.CR)(n)))},cancelAnimationFrame:function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=w.delegate;return((null==t?void 0:t.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,(0,d.ev)([],(0,d.CR)(n)))},delegate:void 0};function g(n){return n?_(n):S}function _(n){return new v((function(e){var t=n||x,r=t.now(),u=0,i=function(){e.closed||(u=w.requestAnimationFrame((function(o){u=0;var c=t.now();e.next({timestamp:n?c:o,elapsed:c-r}),i()})))};return i(),function(){u&&w.cancelAnimationFrame(u)}}))}var E,S=_(),A=t(23664),C=(0,A.d)((function(n){return function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),I=t(82791),T=function(n){var e=function(){var e=n.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e};return(0,d.ZT)(e,n),e.prototype.lift=function(n){var e=new k(this,this);return e.operator=n,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new C},e.prototype.next=function(n){var e=this;(0,a.x)((function(){var t,r;if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));try{for(var u=(0,d.XA)(e.currentObservers),i=u.next();!i.done;i=u.next())i.value.next(n)}catch(n){t={error:n}}finally{try{i&&!i.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}}}))},e.prototype.error=function(n){var e=this;(0,a.x)((function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=n;for(var t=e.observers;t.length;)t.shift().error(n)}}))},e.prototype.complete=function(){var n=this;(0,a.x)((function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var e=n.observers;e.length;)e.shift().complete()}}))},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(e){return this._throwIfClosed(),n.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},e.prototype._innerSubscribe=function(n){var e=this,t=this,r=t.hasError,i=t.isStopped,o=t.observers;return r||i?u.Lc:(this.currentObservers=null,o.push(n),new u.w0((function(){e.currentObservers=null,(0,I.P)(o,n)})))},e.prototype._checkFinalizedStatuses=function(n){var e=this,t=e.hasError,r=e.thrownError,u=e.isStopped;t?n.error(r):u&&n.complete()},e.prototype.asObservable=function(){var n=new v;return n.source=this,n},e.create=function(n,e){return new k(n,e)},e}(v),k=function(n){var e=function(e,t){var r=n.call(this)||this;return r.destination=e,r.source=t,r};return(0,d.ZT)(e,n),e.prototype.next=function(n){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===t||t.call(e,n)},e.prototype.error=function(n){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===t||t.call(e,n)},e.prototype.complete=function(){var n,e;null===(e=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===e||e.call(n)},e.prototype._subscribe=function(n){var e,t;return null!==(t=null===(e=this.source)||void 0===e?void 0:e.subscribe(n))&&void 0!==t?t:u.Lc},e}(T),O=function(n){var e=function(e){var t=n.call(this)||this;return t._value=e,t};return(0,d.ZT)(e,n),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),e.prototype._subscribe=function(e){var t=n.prototype._subscribe.call(this,e);return!t.closed&&e.next(this._value),t},e.prototype.getValue=function(){var n=this,e=n.hasError,t=n.thrownError,r=n._value;if(e)throw t;return this._throwIfClosed(),r},e.prototype.next=function(e){n.prototype.next.call(this,this._value=e)},e}(T),R={now:function(){return(R.delegate||Date).now()},delegate:void 0},Z=function(n){var e=function(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=R);var u=n.call(this)||this;return u._bufferSize=e,u._windowTime=t,u._timestampProvider=r,u._buffer=[],u._infiniteTimeWindow=!0,u._infiniteTimeWindow=t===1/0,u._bufferSize=Math.max(1,e),u._windowTime=Math.max(1,t),u};return(0,d.ZT)(e,n),e.prototype.next=function(e){var t=this,r=t.isStopped,u=t._buffer,i=t._infiniteTimeWindow,o=t._timestampProvider,c=t._windowTime;r||(u.push(e),!i&&u.push(o.now()+c)),this._trimBuffer(),n.prototype.next.call(this,e)},e.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(n),t=this._infiniteTimeWindow,r=this._buffer.slice(),u=0;u<r.length&&!n.closed;u+=t?1:2)n.next(r[u]);return this._checkFinalizedStatuses(n),e},e.prototype._trimBuffer=function(){var n=this,e=n._bufferSize,t=n._timestampProvider,r=n._buffer,u=n._infiniteTimeWindow,i=(u?1:2)*e;if(e<1/0&&i<r.length&&r.splice(0,r.length-i),!u){for(var o=t.now(),c=0,s=1;s<r.length&&r[s]<=o;s+=2)c=s;c&&r.splice(0,c+1)}},e}(T),F=function(n){var e=function(){var e=null!==n&&n.apply(this,arguments)||this;return e._value=null,e._hasValue=!1,e._isComplete=!1,e};return(0,d.ZT)(e,n),e.prototype._checkFinalizedStatuses=function(n){var e=this,t=e.hasError,r=e._hasValue,u=e._value,i=e.thrownError,o=e.isStopped,c=e._isComplete;t?n.error(i):(o||c)&&(r&&n.next(u),n.complete())},e.prototype.next=function(n){this.isStopped||(this._value=n,this._hasValue=!0)},e.prototype.complete=function(){var e=this,t=e._hasValue,r=e._value;e._isComplete||(this._isComplete=!0,t&&n.prototype.next.call(this,r),n.prototype.complete.call(this))},e}(T),j=function(n){var e=function(e,t){return n.call(this)||this};return(0,d.ZT)(e,n),e.prototype.schedule=function(n,e){return void 0===e&&(e=0),this},e}(u.w0),q={setInterval:function(n,e){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];var u=q.delegate;return(null==u?void 0:u.setInterval)?u.setInterval.apply(u,(0,d.ev)([n,e],(0,d.CR)(t))):setInterval.apply(void 0,(0,d.ev)([n,e],(0,d.CR)(t)))},clearInterval:function(n){var e=q.delegate;return((null==e?void 0:e.clearInterval)||clearInterval)(n)},delegate:void 0},N=function(n){var e=function(e,t){var r=n.call(this,e,t)||this;return r.scheduler=e,r.work=t,r.pending=!1,r};return(0,d.ZT)(e,n),e.prototype.schedule=function(n,e){var t;if(void 0===e&&(e=0),this.closed)return this;this.state=n;var r=this.id,u=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(u,r,e)),this.pending=!0,this.delay=e,this.id=null!==(t=this.id)&&void 0!==t?t:this.requestAsyncId(u,this.id,e),this},e.prototype.requestAsyncId=function(n,e,t){return void 0===t&&(t=0),q.setInterval(n.flush.bind(n,this),t)},e.prototype.recycleAsyncId=function(n,e,t){if(void 0===t&&(t=0),null!=t&&this.delay===t&&!1===this.pending)return e;null!=e&&q.clearInterval(e)},e.prototype.execute=function(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var t=this._execute(n,e);if(t)return t;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(n,e){var t,r=!1;try{this.work(n)}catch(n){r=!0,t=n||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),t},e.prototype.unsubscribe=function(){if(!this.closed){var e=this.id,t=this.scheduler,r=t.actions;this.work=this.state=this.scheduler=null,this.pending=!1,(0,I.P)(r,this),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,n.prototype.unsubscribe.call(this)}},e}(j),P=1,L={};function W(n){return n in L&&(delete L[n],!0)}var z,M,U=function(n){var e=P++;return L[e]=!0,E||(E=Promise.resolve()),E.then((function(){return W(e)&&n()})),e},V=function(n){W(n)},X={setImmediate:function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=X.delegate;return((null==t?void 0:t.setImmediate)||U).apply(void 0,(0,d.ev)([],(0,d.CR)(n)))},clearImmediate:function(n){var e=X.delegate;return((null==e?void 0:e.clearImmediate)||V)(n)},delegate:void 0},B=function(n){var e=function(e,t){var r=n.call(this,e,t)||this;return r.scheduler=e,r.work=t,r};return(0,d.ZT)(e,n),e.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),null!==r&&r>0?n.prototype.requestAsyncId.call(this,e,t,r):(e.actions.push(this),e._scheduled||(e._scheduled=X.setImmediate(e.flush.bind(e,void 0))))},e.prototype.recycleAsyncId=function(e,t,r){var u;if(void 0===r&&(r=0),null!=r?r>0:this.delay>0)return n.prototype.recycleAsyncId.call(this,e,t,r);var i=e.actions;null!=t&&(null===(u=i[i.length-1])||void 0===u?void 0:u.id)!==t&&(X.clearImmediate(t),e._scheduled=void 0)},e}(N),H=function(){function n(e,t){void 0===t&&(t=n.now),this.schedulerActionCtor=e,this.now=t}return n.prototype.schedule=function(n,e,t){return void 0===e&&(e=0),new this.schedulerActionCtor(this,n).schedule(t,e)},n.now=R.now,n}(),Y=function(n){var e=function(e,t){void 0===t&&(t=H.now);var r=n.call(this,e,t)||this;return r.actions=[],r._active=!1,r};return(0,d.ZT)(e,n),e.prototype.flush=function(n){var e=this.actions;if(this._active)e.push(n);else{var t;this._active=!0;do{if(t=n.execute(n.state,n.delay))break}while(n=e.shift());if(this._active=!1,t){for(;n=e.shift();)n.unsubscribe();throw t}}},e}(H),D=new(z=Y,M=function(){return null!==z&&z.apply(this,arguments)||this},(0,d.ZT)(M,z),M.prototype.flush=function(n){this._active=!0;var e=this._scheduled;this._scheduled=void 0;var t,r=this.actions;n=n||r.shift();do{if(t=n.execute(n.state,n.delay))break}while((n=r[0])&&n.id===e&&r.shift());if(this._active=!1,t){for(;(n=r[0])&&n.id===e&&r.shift();)n.unsubscribe();throw t}},M)(B),J=D,K=new Y(N),Q=K,G=function(n){var e=function(e,t){var r=n.call(this,e,t)||this;return r.scheduler=e,r.work=t,r};return(0,d.ZT)(e,n),e.prototype.schedule=function(e,t){return void 0===t&&(t=0),t>0?n.prototype.schedule.call(this,e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,t){return t>0||this.closed?n.prototype.execute.call(this,e,t):this._execute(e,t)},e.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),null!=r&&r>0||null==r&&this.delay>0?n.prototype.requestAsyncId.call(this,e,t,r):(e.flush(this),0)},e}(N),$=new(function(n){var e=function(){return null!==n&&n.apply(this,arguments)||this};return(0,d.ZT)(e,n),e}(Y))(G),nn=$,en=function(n){var e=function(e,t){var r=n.call(this,e,t)||this;return r.scheduler=e,r.work=t,r};return(0,d.ZT)(e,n),e.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),null!==r&&r>0?n.prototype.requestAsyncId.call(this,e,t,r):(e.actions.push(this),e._scheduled||(e._scheduled=w.requestAnimationFrame((function(){return e.flush(void 0)}))))},e.prototype.recycleAsyncId=function(e,t,r){var u;if(void 0===r&&(r=0),null!=r?r>0:this.delay>0)return n.prototype.recycleAsyncId.call(this,e,t,r);var i=e.actions;null!=t&&(null===(u=i[i.length-1])||void 0===u?void 0:u.id)!==t&&(w.cancelAnimationFrame(t),e._scheduled=void 0)},e}(N),tn=new(function(n){var e=function(){return null!==n&&n.apply(this,arguments)||this};return(0,d.ZT)(e,n),e.prototype.flush=function(n){this._active=!0;var e=this._scheduled;this._scheduled=void 0;var t,r=this.actions;n=n||r.shift();do{if(t=n.execute(n.state,n.delay))break}while((n=r[0])&&n.id===e&&r.shift());if(this._active=!1,t){for(;(n=r[0])&&n.id===e&&r.shift();)n.unsubscribe();throw t}},e}(Y))(en),rn=tn,un=function(n){var e=function(e,t){void 0===e&&(e=on),void 0===t&&(t=1/0);var r=n.call(this,e,(function(){return r.frame}))||this;return r.maxFrames=t,r.frame=0,r.index=-1,r};return(0,d.ZT)(e,n),e.prototype.flush=function(){for(var n,e,t=this.actions,r=this.maxFrames;(e=t[0])&&e.delay<=r&&(t.shift(),this.frame=e.delay,!(n=e.execute(e.state,e.delay))););if(n){for(;e=t.shift();)e.unsubscribe();throw n}},e.frameTimeFactor=10,e}(Y),on=function(n){var e=function(e,t,r){void 0===r&&(r=e.index+=1);var u=n.call(this,e,t)||this;return u.scheduler=e,u.work=t,u.index=r,u.active=!0,u.index=e.index=r,u};return(0,d.ZT)(e,n),e.prototype.schedule=function(t,r){if(void 0===r&&(r=0),Number.isFinite(r)){if(!this.id)return n.prototype.schedule.call(this,t,r);this.active=!1;var i=new e(this.scheduler,this.work);return this.add(i),i.schedule(t,r)}return u.w0.EMPTY},e.prototype.requestAsyncId=function(n,t,r){void 0===r&&(r=0),this.delay=n.frame+r;var u=n.actions;return u.push(this),u.sort(e.sortActions),1},e.prototype.recycleAsyncId=function(n,e,t){void 0===t&&(t=0)},e.prototype._execute=function(e,t){if(!0===this.active)return n.prototype._execute.call(this,e,t)},e.sortActions=function(n,e){return n.delay===e.delay?n.index===e.index?0:n.index>e.index?1:-1:n.delay>e.delay?1:-1},e}(N),cn=new v((function(n){return n.complete()}));function sn(n){return n?function(n){return new v((function(e){return n.schedule((function(){return e.complete()}))}))}(n):cn}function ln(n){return n&&(0,f.m)(n.schedule)}function fn(n){return n[n.length-1]}function an(n){return(0,f.m)(fn(n))?n.pop():void 0}function vn(n){return ln(fn(n))?n.pop():void 0}function hn(n,e){return"number"==typeof fn(n)?n.pop():e}var dn=function(n){return n&&"number"==typeof n.length&&"function"!=typeof n};function bn(n){return(0,f.m)(null==n?void 0:n.then)}function pn(n){return(0,f.m)(n[i])}function mn(n){return Symbol.asyncIterator&&(0,f.m)(null==n?void 0:n[Symbol.asyncIterator])}function yn(n){return new TypeError("You provided "+(null!==n&&"object"==typeof n?"an invalid object":"'"+n+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}var xn="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function wn(n){return(0,f.m)(null==n?void 0:n[xn])}function gn(n){return(0,d.FC)(this,arguments,(function(){var e,t,r;return(0,d.Jh)(this,(function(u){switch(u.label){case 0:e=n.getReader(),u.label=1;case 1:u.trys.push([1,,9,10]),u.label=2;case 2:return[4,(0,d.qq)(e.read())];case 3:return t=u.sent(),r=t.value,t.done?[4,(0,d.qq)(void 0)]:[3,5];case 4:return[2,u.sent()];case 5:return[4,(0,d.qq)(r)];case 6:return[4,u.sent()];case 7:return u.sent(),[3,2];case 8:return[3,10];case 9:return e.releaseLock(),[7];case 10:return[2]}}))}))}function _n(n){return(0,f.m)(null==n?void 0:n.getReader)}var En,Sn=t(53970);function An(n){if(e=n,null!=(t=v)&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t)return n;var e,t,r,u,o,c;if(null!=n){if(pn(n))return c=n,new v((function(n){var e=c[i]();if((0,f.m)(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")}));if(dn(n))return o=n,new v((function(n){for(var e=0;e<o.length&&!n.closed;e++)n.next(o[e]);n.complete()}));if(bn(n))return u=n,new v((function(n){u.then((function(e){n.closed||(n.next(e),n.complete())}),(function(e){return n.error(e)})).then(null,Sn.h)}));if(mn(n))return Cn(n);if(wn(n))return r=n,new v((function(n){var e,t;try{for(var u=(0,d.XA)(r),i=u.next();!i.done;i=u.next()){var o=i.value;if(n.next(o),n.closed)return}}catch(n){e={error:n}}finally{try{i&&!i.done&&(t=u.return)&&t.call(u)}finally{if(e)throw e.error}}n.complete()}));if(_n(n))return Cn(gn(n))}throw yn(n)}function Cn(n){return new v((function(e){(function(n,e){var t,r,u,i;return(0,d.mG)(this,void 0,void 0,(function(){var o,c;return(0,d.Jh)(this,(function(s){switch(s.label){case 0:s.trys.push([0,5,6,11]),t=(0,d.KL)(n),s.label=1;case 1:return[4,t.next()];case 2:if((r=s.sent()).done)return[3,4];if(o=r.value,e.next(o),e.closed)return[2];s.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return c=s.sent(),u={error:c},[3,11];case 6:return s.trys.push([6,,9,10]),r&&!r.done&&(i=t.return)?[4,i.call(t)]:[3,8];case 7:s.sent(),s.label=8;case 8:return[3,10];case 9:if(u)throw u.error;return[7];case 10:return[7];case 11:return e.complete(),[2]}}))}))})(n,e).catch((function(n){return e.error(n)}))}))}function In(n,e,t,r,u){void 0===r&&(r=0),void 0===u&&(u=!1);var i=e.schedule((function(){t(),u?n.add(this.schedule(null,r)):this.unsubscribe()}),r);if(n.add(i),!u)return i}function Tn(n,e){return void 0===e&&(e=0),(0,b.e)((function(t,r){t.subscribe((0,p.x)(r,(function(t){return In(r,n,(function(){return r.next(t)}),e)}),(function(){return In(r,n,(function(){return r.complete()}),e)}),(function(t){return In(r,n,(function(){return r.error(t)}),e)})))}))}function kn(n,e){return void 0===e&&(e=0),(0,b.e)((function(t,r){r.add(n.schedule((function(){return t.subscribe(r)}),e))}))}function On(n,e){return new v((function(t){var r;return In(t,e,(function(){r=n[xn](),In(t,e,(function(){var n,e,u;try{e=(n=r.next()).value,u=n.done}catch(n){return void t.error(n)}u?t.complete():t.next(e)}),0,!0)})),function(){return(0,f.m)(null==r?void 0:r.return)&&r.return()}}))}function Rn(n,e){if(!n)throw new Error("Iterable cannot be null");return new v((function(t){In(t,e,(function(){var r=n[Symbol.asyncIterator]();In(t,e,(function(){r.next().then((function(n){n.done?t.complete():t.next(n.value)}))}),0,!0)}))}))}function Zn(n,e){if(null!=n){if(pn(n))return function(n,e){return An(n).pipe(kn(e),Tn(e))}(n,e);if(dn(n))return function(n,e){return new v((function(t){var r=0;return e.schedule((function(){r===n.length?t.complete():(t.next(n[r++]),t.closed||this.schedule())}))}))}(n,e);if(bn(n))return function(n,e){return An(n).pipe(kn(e),Tn(e))}(n,e);if(mn(n))return Rn(n,e);if(wn(n))return On(n,e);if(_n(n))return function(n,e){return Rn(gn(n),e)}(n,e)}throw yn(n)}function Fn(n,e){return e?Zn(n,e):An(n)}function jn(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=vn(n);return Fn(n,t)}function qn(n,e){var t=(0,f.m)(n)?n:function(){return n},r=function(n){return n.error(t())};return new v(e?function(n){return e.schedule(r,0,n)}:r)}!function(n){n.NEXT="N",n.ERROR="E",n.COMPLETE="C"}(En||(En={}));var Nn=function(){var n=function(n,e,t){this.kind=n,this.value=e,this.error=t,this.hasValue="N"===n};return n.prototype.observe=function(n){return Pn(this,n)},n.prototype.do=function(n,e,t){var r=this,u=r.kind,i=r.value,o=r.error;return"N"===u?null==n?void 0:n(i):"E"===u?null==e?void 0:e(o):null==t?void 0:t()},n.prototype.accept=function(n,e,t){var r;return(0,f.m)(null===(r=n)||void 0===r?void 0:r.next)?this.observe(n):this.do(n,e,t)},n.prototype.toObservable=function(){var n=this,e=n.kind,t=n.value,r=n.error,u="N"===e?jn(t):"E"===e?qn((function(){return r})):"C"===e?cn:0;if(!u)throw new TypeError("Unexpected notification kind "+e);return u},n.createNext=function(e){return new n("N",e)},n.createError=function(e){return new n("E",void 0,e)},n.createComplete=function(){return n.completeNotification},n.completeNotification=new n("C"),n}();function Pn(n,e){var t,r,u,i=n,o=i.kind,c=i.value,s=i.error;if("string"!=typeof o)throw new TypeError('Invalid notification, missing "kind"');"N"===o?null===(t=e.next)||void 0===t||t.call(e,c):"E"===o?null===(r=e.error)||void 0===r||r.call(e,s):null===(u=e.complete)||void 0===u||u.call(e)}var Ln=t(57338);function Wn(n){return!!n&&(e=n,(null!=(t=v)&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t)||(0,f.m)(n.lift)&&(0,f.m)(n.subscribe));var e,t}var zn=(0,A.d)((function(n){return function(){n(this),this.name="EmptyError",this.message="no elements in sequence"}}));function Mn(n,e){var t="object"==typeof e;return new Promise((function(r,u){var i,o=!1;n.subscribe({next:function(n){i=n,o=!0},error:u,complete:function(){o?r(i):t?r(e.defaultValue):u(new zn)}})}))}function Un(n,e){var t="object"==typeof e;return new Promise((function(u,i){var o=new r.Hp({next:function(n){u(n),o.unsubscribe()},error:i,complete:function(){t?u(e.defaultValue):i(new zn)}});n.subscribe(o)}))}var Vn=(0,A.d)((function(n){return function(){n(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})),Xn=(0,A.d)((function(n){return function(e){n(this),this.name="NotFoundError",this.message=e}})),Bn=(0,A.d)((function(n){return function(e){n(this),this.name="SequenceError",this.message=e}}));function Hn(n){return e=n,(null!=(t=Date)&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t)&&!isNaN(n);var e,t}var Yn=(0,A.d)((function(n){return function(e){void 0===e&&(e=null),n(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e}}));function Dn(n,e){var t=Hn(n)?{first:n}:"number"==typeof n?{each:n}:n,r=t.first,u=t.each,i=t.with,o=void 0===i?Jn:i,c=t.scheduler,s=void 0===c?null!=e?e:K:c,l=t.meta,f=void 0===l?null:l;if(null==r&&null==u)throw new TypeError("No timeout provided.");return(0,b.e)((function(n,e){var t,i,c=null,l=0,a=function(n){i=In(e,s,(function(){try{t.unsubscribe(),An(o({meta:f,lastValue:c,seen:l})).subscribe(e)}catch(n){e.error(n)}}),n)};t=n.subscribe((0,p.x)(e,(function(n){null==i||i.unsubscribe(),l++,e.next(c=n),u>0&&a(u)}),void 0,void 0,(function(){(null==i?void 0:i.closed)||null==i||i.unsubscribe(),c=null}))),!l&&a(null!=r?"number"==typeof r?r:+r-s.now():u)}))}function Jn(n){throw new Yn(n)}var Kn=t(3537),Qn=t(35258),Gn=Array.isArray;function $n(n){return(0,Qn.U)((function(e){return function(n,e){return Gn(e)?n.apply(void 0,(0,d.ev)([],(0,d.CR)(e))):n(e)}(n,e)}))}function ne(n,e,t,r){if(t){if(!ln(t))return function(){for(var u=[],i=0;i<arguments.length;i++)u[i]=arguments[i];return ne(n,e,r).apply(this,u).pipe($n(t))};r=t}return r?function(){for(var t=[],u=0;u<arguments.length;u++)t[u]=arguments[u];return ne(n,e).apply(this,t).pipe(kn(r),Tn(r))}:function(){for(var t=this,r=[],u=0;u<arguments.length;u++)r[u]=arguments[u];var i=new F,o=!0;return new v((function(u){var c=i.subscribe(u);if(o){o=!1;var s=!1,l=!1;e.apply(t,(0,d.ev)((0,d.ev)([],(0,d.CR)(r)),[function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(n){var r=e.shift();if(null!=r)return void i.error(r)}i.next(1<e.length?e:e[0]),l=!0,s&&i.complete()}])),l&&i.complete(),s=!0}return c}))}}function ee(n,e,t){return ne(!1,n,e,t)}function te(n,e,t){return ne(!0,n,e,t)}var re=Array.isArray,ue=Object.getPrototypeOf,ie=Object.prototype,oe=Object.keys;function ce(n){if(1===n.length){var e=n[0];if(re(e))return{args:e,keys:null};if((r=e)&&"object"==typeof r&&ue(r)===ie){var t=oe(e);return{args:t.map((function(n){return e[n]})),keys:t}}}var r;return{args:n,keys:null}}function se(n,e){return n.reduce((function(n,t,r){return n[t]=e[r],n}),{})}function le(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=vn(n),r=an(n),u=ce(n),i=u.args,c=u.keys;if(0===i.length)return Fn([],t);var s=new v(fe(i,t,c?function(n){return se(c,n)}:o));return r?s.pipe($n(r)):s}function fe(n,e,t){return void 0===t&&(t=o),function(r){ae(e,(function(){for(var u=n.length,i=new Array(u),o=u,c=u,s=function(u){ae(e,(function(){var s=Fn(n[u],e),l=!1;s.subscribe((0,p.x)(r,(function(n){i[u]=n,l||(l=!0,c--),c||r.next(t(i.slice()))}),(function(){--o||r.complete()})))}),r)},l=0;l<u;l++)s(l)}),r)}}function ae(n,e,t){n?In(t,n,e):e()}function ve(n,e,t,r,u,i,o,c){var s=[],l=0,f=0,a=!1,v=function(){!a||s.length||l||e.complete()},h=function(n){return l<r?d(n):s.push(n)},d=function(n){i&&e.next(n),l++;var c=!1;An(t(n,f++)).subscribe((0,p.x)(e,(function(n){null==u||u(n),i?h(n):e.next(n)}),(function(){c=!0}),void 0,(function(){if(c)try{l--;for(var n=function(){var n=s.shift();o?In(e,o,(function(){return d(n)})):d(n)};s.length&&l<r;)n();v()}catch(n){e.error(n)}})))};return n.subscribe((0,p.x)(e,h,(function(){a=!0,v()}))),function(){null==c||c()}}function he(n,e,t){return void 0===t&&(t=1/0),(0,f.m)(e)?he((function(t,r){return(0,Qn.U)((function(n,u){return e(t,n,r,u)}))(An(n(t,r)))}),t):("number"==typeof e&&(t=e),(0,b.e)((function(e,r){return ve(e,r,n,t)})))}function de(n){return void 0===n&&(n=1/0),he(o,n)}function be(){return de(1)}function pe(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return be()(Fn(n,vn(n)))}function me(n){return new v((function(e){An(n()).subscribe(e)}))}var ye={connector:function(){return new T},resetOnDisconnect:!0};function xe(n,e){void 0===e&&(e=ye);var t=null,r=e.connector,u=e.resetOnDisconnect,i=void 0===u||u,o=r(),c=new v((function(n){return o.subscribe(n)}));return c.connect=function(){return t&&!t.closed||(t=me((function(){return n})).subscribe(o),i&&t.add((function(){return o=r()}))),t},c}function we(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=an(n),r=ce(n),u=r.args,i=r.keys,o=new v((function(n){var e=u.length;if(e)for(var t=new Array(e),r=e,o=e,c=function(e){var c=!1;An(u[e]).subscribe((0,p.x)(n,(function(n){c||(c=!0,o--),t[e]=n}),(function(){return r--}),void 0,(function(){r&&c||(o||n.next(i?se(i,t):t),n.complete())})))},s=0;s<e;s++)c(s);else n.complete()}));return t?o.pipe($n(t)):o}var ge=["addListener","removeListener"],_e=["addEventListener","removeEventListener"],Ee=["on","off"];function Se(n,e,t,r){if((0,f.m)(t)&&(r=t,t=void 0),r)return Se(n,e,t).pipe($n(r));var u=(0,d.CR)(function(n){return(0,f.m)(n.addEventListener)&&(0,f.m)(n.removeEventListener)}(n)?_e.map((function(r){return function(u){return n[r](e,u,t)}})):function(n){return(0,f.m)(n.addListener)&&(0,f.m)(n.removeListener)}(n)?ge.map(Ae(n,e)):function(n){return(0,f.m)(n.on)&&(0,f.m)(n.off)}(n)?Ee.map(Ae(n,e)):[],2),i=u[0],o=u[1];if(!i&&dn(n))return he((function(n){return Se(n,e,t)}))(An(n));if(!i)throw new TypeError("Invalid event target");return new v((function(n){var e=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.next(1<e.length?e:e[0])};return i(e),function(){return o(e)}}))}function Ae(n,e){return function(t){return function(r){return n[t](e,r)}}}function Ce(n,e,t){return t?Ce(n,e).pipe($n(t)):new v((function(t){var r=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return t.next(1===n.length?n[0]:n)},u=n(r);return(0,f.m)(e)?function(){return e(r,u)}:void 0}))}function Ie(n,e,t,r,u){var i,c,s,l,f=function(){var n;return(0,d.Jh)(this,(function(r){switch(r.label){case 0:n=l,r.label=1;case 1:return e&&!e(n)?[3,4]:[4,s(n)];case 2:r.sent(),r.label=3;case 3:return n=t(n),[3,1];case 4:return[2]}}))};return 1===arguments.length?(l=(i=n).initialState,e=i.condition,t=i.iterate,c=i.resultSelector,s=void 0===c?o:c,u=i.scheduler):(l=n,!r||ln(r)?(s=o,u=r):s=r),me(u?function(){return On(f(),u)}:f)}function Te(n,e,t){return me((function(){return n()?e:t}))}function ke(n,e,t){void 0===n&&(n=0),void 0===t&&(t=Q);var r=-1;return null!=e&&(ln(e)?t=e:r=e),new v((function(e){var u=Hn(n)?+n-t.now():n;u<0&&(u=0);var i=0;return t.schedule((function(){e.closed||(e.next(i++),0<=r?this.schedule(void 0,r):e.complete())}),u)}))}function Oe(n,e){return void 0===n&&(n=0),void 0===e&&(e=K),n<0&&(n=0),ke(n,n,e)}function Re(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=vn(n),r=hn(n,1/0),u=n;return u.length?1===u.length?An(u[0]):de(r)(Fn(u,t)):cn}var Ze=new v(Ln.Z);function Fe(){return Ze}var je=Array.isArray;function qe(n){return 1===n.length&&je(n[0])?n[0]:n}function Ne(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=qe(n);return new v((function(n){var e=0,r=function(){if(e<t.length){var u=void 0;try{u=An(t[e++])}catch(n){return void r()}var i=new p.Q(n,void 0,Ln.Z,Ln.Z);u.subscribe(i),i.add(r)}else n.complete()};r()}))}function Pe(n,e){return Fn(Object.entries(n),e)}function Le(n,e){return function(t,r){return!n.call(e,t,r)}}function We(n,e){return(0,b.e)((function(t,r){var u=0;t.subscribe((0,p.x)(r,(function(t){return n.call(e,t,u++)&&r.next(t)})))}))}function ze(n,e,t){return[We(e,t)(An(n)),We(Le(e,t))(An(n))]}function Me(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return 1===(n=qe(n)).length?An(n[0]):new v(Ue(n))}function Ue(n){return function(e){for(var t=[],r=function(r){t.push(An(n[r]).subscribe((0,p.x)(e,(function(n){if(t){for(var u=0;u<t.length;u++)u!==r&&t[u].unsubscribe();t=null}e.next(n)}))))},u=0;t&&!e.closed&&u<n.length;u++)r(u)}}function Ve(n,e,t){if(null==e&&(e=n,n=0),e<=0)return cn;var r=e+n;return new v(t?function(e){var u=n;return t.schedule((function(){u<r?(e.next(u++),this.schedule()):e.complete()}))}:function(e){for(var t=n;t<r&&!e.closed;)e.next(t++);e.complete()})}function Xe(n,e){return new v((function(t){var r=n(),u=e(r);return(u?An(u):cn).subscribe(t),function(){r&&r.unsubscribe()}}))}function Be(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=an(n),r=qe(n);return r.length?new v((function(n){var e=r.map((function(){return[]})),u=r.map((function(){return!1}));n.add((function(){e=u=null}));for(var i=function(i){An(r[i]).subscribe((0,p.x)(n,(function(r){if(e[i].push(r),e.every((function(n){return n.length}))){var o=e.map((function(n){return n.shift()}));n.next(t?t.apply(void 0,(0,d.ev)([],(0,d.CR)(o))):o),e.some((function(n,e){return!n.length&&u[e]}))&&n.complete()}}),(function(){u[i]=!0,!e[i].length&&n.complete()})))},o=0;!n.closed&&o<r.length;o++)i(o);return function(){e=u=null}})):cn}function He(n){return(0,b.e)((function(e,t){var r=!1,u=null,i=null,o=!1,c=function(){if(null==i||i.unsubscribe(),i=null,r){r=!1;var n=u;u=null,t.next(n)}o&&t.complete()},s=function(){i=null,o&&t.complete()};e.subscribe((0,p.x)(t,(function(e){r=!0,u=e,i||An(n(e)).subscribe(i=(0,p.x)(t,c,s))}),(function(){o=!0,(!r||!i||i.closed)&&t.complete()})))}))}function Ye(n,e){return void 0===e&&(e=K),He((function(){return ke(n,e)}))}function De(n){return(0,b.e)((function(e,t){var r=[];return e.subscribe((0,p.x)(t,(function(n){return r.push(n)}),(function(){t.next(r),t.complete()}))),An(n).subscribe((0,p.x)(t,(function(){var n=r;r=[],t.next(n)}),Ln.Z)),function(){r=null}}))}function Je(n,e){return void 0===e&&(e=null),e=null!=e?e:n,(0,b.e)((function(t,r){var u=[],i=0;t.subscribe((0,p.x)(r,(function(t){var o,c,s,l,f=null;i++%e==0&&u.push([]);try{for(var a=(0,d.XA)(u),v=a.next();!v.done;v=a.next())(p=v.value).push(t),n<=p.length&&(f=null!=f?f:[]).push(p)}catch(n){o={error:n}}finally{try{v&&!v.done&&(c=a.return)&&c.call(a)}finally{if(o)throw o.error}}if(f)try{for(var h=(0,d.XA)(f),b=h.next();!b.done;b=h.next()){var p=b.value;(0,I.P)(u,p),r.next(p)}}catch(n){s={error:n}}finally{try{b&&!b.done&&(l=h.return)&&l.call(h)}finally{if(s)throw s.error}}}),(function(){var n,e;try{for(var t=(0,d.XA)(u),i=t.next();!i.done;i=t.next()){var o=i.value;r.next(o)}}catch(e){n={error:e}}finally{try{i&&!i.done&&(e=t.return)&&e.call(t)}finally{if(n)throw n.error}}r.complete()}),void 0,(function(){u=null})))}))}function Ke(n){for(var e,t,r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];var o=null!==(e=vn(r))&&void 0!==e?e:K,c=null!==(t=r[0])&&void 0!==t?t:null,s=r[1]||1/0;return(0,b.e)((function(e,t){var r=[],i=!1,l=function(n){var e=n.buffer;n.subs.unsubscribe(),(0,I.P)(r,n),t.next(e),i&&f()},f=function(){if(r){var e=new u.w0;t.add(e);var i={buffer:[],subs:e};r.push(i),In(e,o,(function(){return l(i)}),n)}};null!==c&&c>=0?In(t,o,f,c,!0):i=!0,f();var a=(0,p.x)(t,(function(n){var e,t,u=r.slice();try{for(var i=(0,d.XA)(u),o=i.next();!o.done;o=i.next()){var c=o.value,f=c.buffer;f.push(n),s<=f.length&&l(c)}}catch(n){e={error:n}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}}),(function(){for(;null==r?void 0:r.length;)t.next(r.shift().buffer);null==a||a.unsubscribe(),t.complete(),t.unsubscribe()}),void 0,(function(){return r=null}));e.subscribe(a)}))}function Qe(n,e){return(0,b.e)((function(t,r){var i=[];An(n).subscribe((0,p.x)(r,(function(n){var t=[];i.push(t);var o=new u.w0;o.add(An(e(n)).subscribe((0,p.x)(r,(function(){(0,I.P)(i,t),r.next(t),o.unsubscribe()}),Ln.Z)))}),Ln.Z)),t.subscribe((0,p.x)(r,(function(n){var e,t;try{for(var r=(0,d.XA)(i),u=r.next();!u.done;u=r.next())u.value.push(n)}catch(n){e={error:n}}finally{try{u&&!u.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}}),(function(){for(;i.length>0;)r.next(i.shift());r.complete()})))}))}function Ge(n){return(0,b.e)((function(e,t){var r=null,u=null,i=function(){null==u||u.unsubscribe();var e=r;r=[],e&&t.next(e),An(n()).subscribe(u=(0,p.x)(t,i,Ln.Z))};i(),e.subscribe((0,p.x)(t,(function(n){return null==r?void 0:r.push(n)}),(function(){r&&t.next(r),t.complete()}),void 0,(function(){return r=u=null})))}))}function $e(n){return(0,b.e)((function(e,t){var r,u=null,i=!1;u=e.subscribe((0,p.x)(t,void 0,void 0,(function(o){r=An(n(o,$e(n)(e))),u?(u.unsubscribe(),u=null,r.subscribe(t)):i=!0}))),i&&(u.unsubscribe(),u=null,r.subscribe(t))}))}function nt(n,e,t,r,u){return function(i,o){var c=t,s=e,l=0;i.subscribe((0,p.x)(o,(function(e){var t=l++;s=c?n(s,e,t):(c=!0,e),r&&o.next(s)}),u&&function(){c&&o.next(s),o.complete()}))}}function et(n,e){return(0,b.e)(nt(n,e,arguments.length>=2,!1,!0))}var tt=function(n,e){return n.push(e),n};function rt(){return(0,b.e)((function(n,e){et(tt,[])(n).subscribe(e)}))}function ut(n,e){return c(rt(),he((function(e){return n(e)})),e?$n(e):o)}function it(n){return ut(le,n)}var ot=it;function ct(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=an(n);return t?c(ct.apply(void 0,(0,d.ev)([],(0,d.CR)(n))),$n(t)):(0,b.e)((function(e,t){fe((0,d.ev)([e],(0,d.CR)(qe(n))))(t)}))}function st(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return ct.apply(void 0,(0,d.ev)([],(0,d.CR)(n)))}function lt(n,e){return(0,f.m)(e)?he(n,e,1):he(n,1)}function ft(n,e){return(0,f.m)(e)?lt((function(){return n}),e):lt((function(){return n}))}function at(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=vn(n);return(0,b.e)((function(e,r){be()(Fn((0,d.ev)([e],(0,d.CR)(n)),t)).subscribe(r)}))}function vt(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return at.apply(void 0,(0,d.ev)([],(0,d.CR)(n)))}var ht={connector:function(){return new T}};function dt(n,e){void 0===e&&(e=ht);var t=e.connector;return(0,b.e)((function(e,r){var u,i=t();An(n((u=i,new v((function(n){return u.subscribe(n)}))))).subscribe(r),r.add(e.subscribe(i))}))}function bt(n){return et((function(e,t,r){return!n||n(t,r)?e+1:e}),0)}function pt(n){return(0,b.e)((function(e,t){var r=!1,u=null,i=null,o=function(){if(null==i||i.unsubscribe(),i=null,r){r=!1;var n=u;u=null,t.next(n)}};e.subscribe((0,p.x)(t,(function(e){null==i||i.unsubscribe(),r=!0,u=e,i=(0,p.x)(t,o,Ln.Z),An(n(e)).subscribe(i)}),(function(){o(),t.complete()}),void 0,(function(){u=i=null})))}))}function mt(n,e){return void 0===e&&(e=K),(0,b.e)((function(t,r){var u=function(){var t=c+n,u=e.now();if(u<t)return i=this.schedule(void 0,t-u),void r.add(i);s()},i=null,o=null,c=null,s=function(){if(i){i.unsubscribe(),i=null;var n=o;o=null,r.next(n)}};t.subscribe((0,p.x)(r,(function(t){o=t,c=e.now(),i||(i=e.schedule(u,n),r.add(i))}),(function(){s(),r.complete()}),void 0,(function(){o=i=null})))}))}function yt(n){return(0,b.e)((function(e,t){var r=!1;e.subscribe((0,p.x)(t,(function(n){r=!0,t.next(n)}),(function(){r||t.next(n),t.complete()})))}))}function xt(n){return n<=0?function(){return cn}:(0,b.e)((function(e,t){var r=0;e.subscribe((0,p.x)(t,(function(e){++r<=n&&(t.next(e),n<=r&&t.complete())})))}))}function wt(){return(0,b.e)((function(n,e){n.subscribe((0,p.x)(e,Ln.Z))}))}function gt(n){return(0,Qn.U)((function(){return n}))}function _t(n,e){return e?function(t){return pe(e.pipe(xt(1),wt()),t.pipe(_t(n)))}:he((function(e,t){return An(n(e,t)).pipe(xt(1),gt(e))}))}function Et(n,e){void 0===e&&(e=K);var t=ke(n,e);return _t((function(){return t}))}function St(){return(0,b.e)((function(n,e){n.subscribe((0,p.x)(e,(function(n){return Pn(n,e)})))}))}function At(n,e){return(0,b.e)((function(t,r){var u=new Set;t.subscribe((0,p.x)(r,(function(e){var t=n?n(e):e;u.has(t)||(u.add(t),r.next(e))}))),e&&An(e).subscribe((0,p.x)(r,(function(){return u.clear()}),Ln.Z))}))}function Ct(n,e){return void 0===e&&(e=o),n=null!=n?n:It,(0,b.e)((function(t,r){var u,i=!0;t.subscribe((0,p.x)(r,(function(t){var o=e(t);!i&&n(u,o)||(i=!1,u=o,r.next(t))})))}))}function It(n,e){return n===e}function Tt(n,e){return Ct((function(t,r){return e?e(t[n],r[n]):t[n]===r[n]}))}function kt(n){return void 0===n&&(n=Ot),(0,b.e)((function(e,t){var r=!1;e.subscribe((0,p.x)(t,(function(n){r=!0,t.next(n)}),(function(){return r?t.complete():t.error(n())})))}))}function Ot(){return new zn}function Rt(n,e){if(n<0)throw new Vn;var t=arguments.length>=2;return function(r){return r.pipe(We((function(e,t){return t===n})),xt(1),t?yt(e):kt((function(){return new Vn})))}}function Zt(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return function(e){return pe(e,jn.apply(void 0,(0,d.ev)([],(0,d.CR)(n))))}}function Ft(n,e){return(0,b.e)((function(t,r){var u=0;t.subscribe((0,p.x)(r,(function(i){n.call(e,i,u++,t)||(r.next(!1),r.complete())}),(function(){r.next(!0),r.complete()})))}))}function jt(n,e){return e?function(t){return t.pipe(jt((function(t,r){return An(n(t,r)).pipe((0,Qn.U)((function(n,u){return e(t,n,r,u)})))})))}:(0,b.e)((function(e,t){var r=0,u=null,i=!1;e.subscribe((0,p.x)(t,(function(e){u||(u=(0,p.x)(t,void 0,(function(){u=null,i&&t.complete()})),An(n(e,r++)).subscribe(u))}),(function(){i=!0,!u&&t.complete()})))}))}function qt(){return jt(o)}var Nt=qt;function Pt(n,e,t){return void 0===e&&(e=1/0),e=(e||0)<1?1/0:e,(0,b.e)((function(r,u){return ve(r,u,n,e,void 0,!0,t)}))}function Lt(n){return(0,b.e)((function(e,t){try{e.subscribe(t)}finally{t.add(n)}}))}function Wt(n,e){return(0,b.e)(zt(n,e,"value"))}function zt(n,e,t){var r="index"===t;return function(t,u){var i=0;t.subscribe((0,p.x)(u,(function(o){var c=i++;n.call(e,o,c,t)&&(u.next(r?c:o),u.complete())}),(function(){u.next(r?-1:void 0),u.complete()})))}}function Mt(n,e){return(0,b.e)(zt(n,e,"index"))}function Ut(n,e){var t=arguments.length>=2;return function(r){return r.pipe(n?We((function(e,t){return n(e,t,r)})):o,xt(1),t?yt(e):kt((function(){return new zn})))}}function Vt(n,e,t,r){return(0,b.e)((function(u,i){var o;e&&"function"!=typeof e?(t=e.duration,o=e.element,r=e.connector):o=e;var c=new Map,s=function(n){c.forEach(n),n(i)},l=function(n){return s((function(e){return e.error(n)}))},f=0,a=!1,h=new p.Q(i,(function(e){try{var u=n(e),s=c.get(u);if(!s){c.set(u,s=r?r():new T);var d=(m=u,y=s,(x=new v((function(n){f++;var e=y.subscribe(n);return function(){e.unsubscribe(),0==--f&&a&&h.unsubscribe()}}))).key=m,x);if(i.next(d),t){var b=(0,p.x)(s,(function(){s.complete(),null==b||b.unsubscribe()}),void 0,void 0,(function(){return c.delete(u)}));h.add(An(t(d)).subscribe(b))}}s.next(o?o(e):e)}catch(n){l(n)}var m,y,x}),(function(){return s((function(n){return n.complete()}))}),l,(function(){return c.clear()}),(function(){return a=!0,0===f}));u.subscribe(h)}))}function Xt(){return(0,b.e)((function(n,e){n.subscribe((0,p.x)(e,(function(){e.next(!1),e.complete()}),(function(){e.next(!0),e.complete()})))}))}function Bt(n){return n<=0?function(){return cn}:(0,b.e)((function(e,t){var r=[];e.subscribe((0,p.x)(t,(function(e){r.push(e),n<r.length&&r.shift()}),(function(){var n,e;try{for(var u=(0,d.XA)(r),i=u.next();!i.done;i=u.next()){var o=i.value;t.next(o)}}catch(e){n={error:e}}finally{try{i&&!i.done&&(e=u.return)&&e.call(u)}finally{if(n)throw n.error}}t.complete()}),void 0,(function(){r=null})))}))}function Ht(n,e){var t=arguments.length>=2;return function(r){return r.pipe(n?We((function(e,t){return n(e,t,r)})):o,Bt(1),t?yt(e):kt((function(){return new zn})))}}function Yt(){return(0,b.e)((function(n,e){n.subscribe((0,p.x)(e,(function(n){e.next(Nn.createNext(n))}),(function(){e.next(Nn.createComplete()),e.complete()}),(function(n){e.next(Nn.createError(n)),e.complete()})))}))}function Dt(n){return et((0,f.m)(n)?function(e,t){return n(e,t)>0?e:t}:function(n,e){return n>e?n:e})}var Jt=he;function Kt(n,e,t){return void 0===t&&(t=1/0),(0,f.m)(e)?he((function(){return n}),e,t):("number"==typeof e&&(t=e),he((function(){return n}),t))}function Qt(n,e,t){return void 0===t&&(t=1/0),(0,b.e)((function(r,u){var i=e;return ve(r,u,(function(e,t){return n(i,e,t)}),t,(function(n){i=n}),!1,void 0,(function(){return i=null}))}))}function Gt(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=vn(n),r=hn(n,1/0);return n=qe(n),(0,b.e)((function(e,u){de(r)(Fn((0,d.ev)([e],(0,d.CR)(n)),t)).subscribe(u)}))}function $t(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return Gt.apply(void 0,(0,d.ev)([],(0,d.CR)(n)))}function nr(n){return et((0,f.m)(n)?function(e,t){return n(e,t)<0?e:t}:function(n,e){return n<e?n:e})}function er(n,e){var t=(0,f.m)(n)?n:function(){return n};return(0,f.m)(e)?dt(e,{connector:t}):function(n){return new y(n,t)}}function tr(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=qe(n);return function(n){return Ne.apply(void 0,(0,d.ev)([n],(0,d.CR)(t)))}}function rr(){return(0,b.e)((function(n,e){var t,r=!1;n.subscribe((0,p.x)(e,(function(n){var u=t;t=n,r&&e.next([u,n]),r=!0})))}))}function ur(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=n.length;if(0===t)throw new Error("list of properties cannot be empty.");return(0,Qn.U)((function(e){for(var r=e,u=0;u<t;u++){var i=null==r?void 0:r[n[u]];if(void 0===i)return;r=i}return r}))}function ir(n){return n?function(e){return dt(n)(e)}:function(n){return er(new T)(n)}}function or(n){return function(e){var t=new O(n);return new y(e,(function(){return t}))}}function cr(){return function(n){var e=new F;return new y(n,(function(){return e}))}}function sr(n,e,t,r){t&&!(0,f.m)(t)&&(r=t);var u=(0,f.m)(t)?t:void 0;return function(t){return er(new Z(n,e,r),u)(t)}}function lr(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return n.length?(0,b.e)((function(e,t){Ue((0,d.ev)([e],(0,d.CR)(n)))(t)})):o}function fr(n){var e,t,r=1/0;return null!=n&&("object"==typeof n?(e=n.count,r=void 0===e?1/0:e,t=n.delay):r=n),r<=0?function(){return cn}:(0,b.e)((function(n,e){var u,i=0,o=function(){if(null==u||u.unsubscribe(),u=null,null!=t){var n="number"==typeof t?ke(t):An(t(i)),r=(0,p.x)(e,(function(){r.unsubscribe(),c()}));n.subscribe(r)}else c()},c=function(){var t=!1;u=n.subscribe((0,p.x)(e,void 0,(function(){++i<r?u?o():t=!0:e.complete()}))),t&&o()};c()}))}function ar(n){return(0,b.e)((function(e,t){var r,u,i=!1,o=!1,c=!1,s=function(){return c&&o&&(t.complete(),!0)},l=function(){c=!1,r=e.subscribe((0,p.x)(t,void 0,(function(){c=!0,!s()&&(u||(u=new T,An(n(u)).subscribe((0,p.x)(t,(function(){r?l():i=!0}),(function(){o=!0,s()})))),u).next()}))),i&&(r.unsubscribe(),r=null,i=!1,l())};l()}))}function vr(n){var e;void 0===n&&(n=1/0);var t=(e=n&&"object"==typeof n?n:{count:n}).count,r=void 0===t?1/0:t,u=e.delay,i=e.resetOnSuccess,c=void 0!==i&&i;return r<=0?o:(0,b.e)((function(n,e){var t,i=0,o=function(){var s=!1;t=n.subscribe((0,p.x)(e,(function(n){c&&(i=0),e.next(n)}),void 0,(function(n){if(i++<r){var c=function(){t?(t.unsubscribe(),t=null,o()):s=!0};if(null!=u){var l="number"==typeof u?ke(u):An(u(n,i)),f=(0,p.x)(e,(function(){f.unsubscribe(),c()}),(function(){e.complete()}));l.subscribe(f)}else c()}else e.error(n)}))),s&&(t.unsubscribe(),t=null,o())};o()}))}function hr(n){return(0,b.e)((function(e,t){var r,u,i=!1,o=function(){r=e.subscribe((0,p.x)(t,void 0,void 0,(function(e){u||(u=new T,An(n(u)).subscribe((0,p.x)(t,(function(){return r?o():i=!0})))),u&&u.next(e)}))),i&&(r.unsubscribe(),r=null,i=!1,o())};o()}))}function dr(n){return(0,b.e)((function(e,t){var r=!1,u=null;e.subscribe((0,p.x)(t,(function(n){r=!0,u=n}))),An(n).subscribe((0,p.x)(t,(function(){if(r){r=!1;var n=u;u=null,t.next(n)}}),Ln.Z))}))}function br(n,e){return void 0===e&&(e=K),dr(Oe(n,e))}function pr(n,e){return(0,b.e)(nt(n,e,arguments.length>=2,!0))}function mr(n,e){return void 0===e&&(e=function(n,e){return n===e}),(0,b.e)((function(t,r){var u={buffer:[],complete:!1},i={buffer:[],complete:!1},o=function(n){r.next(n),r.complete()},c=function(n,t){var u=(0,p.x)(r,(function(r){var u=t.buffer,i=t.complete;0===u.length?i?o(!1):n.buffer.push(r):!e(r,u.shift())&&o(!1)}),(function(){n.complete=!0;var e=t.complete,r=t.buffer;e&&o(0===r.length),null==u||u.unsubscribe()}));return u};t.subscribe(c(u,i)),An(n).subscribe(c(i,u))}))}function yr(n){void 0===n&&(n={});var e=n.connector,t=void 0===e?function(){return new T}:e,u=n.resetOnError,i=void 0===u||u,o=n.resetOnComplete,c=void 0===o||o,s=n.resetOnRefCountZero,l=void 0===s||s;return function(n){var e,u,o,s=0,f=!1,a=!1,v=function(){null==u||u.unsubscribe(),u=void 0},h=function(){v(),e=o=void 0,f=a=!1},d=function(){var n=e;h(),null==n||n.unsubscribe()};return(0,b.e)((function(n,b){s++,a||f||v();var p=o=null!=o?o:t();b.add((function(){0!=--s||a||f||(u=xr(d,l))})),p.subscribe(b),!e&&s>0&&(e=new r.Hp({next:function(n){return p.next(n)},error:function(n){a=!0,v(),u=xr(h,i,n),p.error(n)},complete:function(){f=!0,v(),u=xr(h,c),p.complete()}}),An(n).subscribe(e))}))(n)}}function xr(n,e){for(var t=[],u=2;u<arguments.length;u++)t[u-2]=arguments[u];if(!0!==e){if(!1!==e){var i=new r.Hp({next:function(){i.unsubscribe(),n()}});return An(e.apply(void 0,(0,d.ev)([],(0,d.CR)(t)))).subscribe(i)}}else n()}function wr(n,e,t){var r,u,i,o,c=!1;return n&&"object"==typeof n?(r=n.bufferSize,o=void 0===r?1/0:r,u=n.windowTime,e=void 0===u?1/0:u,c=void 0!==(i=n.refCount)&&i,t=n.scheduler):o=null!=n?n:1/0,yr({connector:function(){return new Z(o,e,t)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:c})}function gr(n){return(0,b.e)((function(e,t){var r,u=!1,i=!1,o=0;e.subscribe((0,p.x)(t,(function(c){i=!0,n&&!n(c,o++,e)||(u&&t.error(new Bn("Too many matching values")),u=!0,r=c)}),(function(){u?(t.next(r),t.complete()):t.error(i?new Xn("No matching values"):new zn)})))}))}function _r(n){return We((function(e,t){return n<=t}))}function Er(n){return n<=0?o:(0,b.e)((function(e,t){var r=new Array(n),u=0;return e.subscribe((0,p.x)(t,(function(e){var i=u++;if(i<n)r[i]=e;else{var o=i%n,c=r[o];r[o]=e,t.next(c)}}))),function(){r=null}}))}function Sr(n){return(0,b.e)((function(e,t){var r=!1,u=(0,p.x)(t,(function(){null==u||u.unsubscribe(),r=!0}),Ln.Z);An(n).subscribe(u),e.subscribe((0,p.x)(t,(function(n){return r&&t.next(n)})))}))}function Ar(n){return(0,b.e)((function(e,t){var r=!1,u=0;e.subscribe((0,p.x)(t,(function(e){return(r||(r=!n(e,u++)))&&t.next(e)})))}))}function Cr(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=vn(n);return(0,b.e)((function(e,r){(t?pe(n,e,t):pe(n,e)).subscribe(r)}))}function Ir(n,e){return(0,b.e)((function(t,r){var u=null,i=0,o=!1,c=function(){return o&&!u&&r.complete()};t.subscribe((0,p.x)(r,(function(t){null==u||u.unsubscribe();var o=0,s=i++;An(n(t,s)).subscribe(u=(0,p.x)(r,(function(n){return r.next(e?e(t,n,s,o++):n)}),(function(){u=null,c()})))}),(function(){o=!0,c()})))}))}function Tr(){return Ir(o)}function kr(n,e){return(0,f.m)(e)?Ir((function(){return n}),e):Ir((function(){return n}))}function Or(n,e){return(0,b.e)((function(t,r){var u=e;return Ir((function(e,t){return n(u,e,t)}),(function(n,e){return u=e,e}))(t).subscribe(r),function(){u=null}}))}function Rr(n){return(0,b.e)((function(e,t){An(n).subscribe((0,p.x)(t,(function(){return t.complete()}),Ln.Z)),!t.closed&&e.subscribe(t)}))}function Zr(n,e){return void 0===e&&(e=!1),(0,b.e)((function(t,r){var u=0;t.subscribe((0,p.x)(r,(function(t){var i=n(t,u++);(i||e)&&r.next(t),!i&&r.complete()})))}))}function Fr(n,e,t){var r=(0,f.m)(n)||e||t?{next:n,error:e,complete:t}:n;return r?(0,b.e)((function(n,e){var t;null===(t=r.subscribe)||void 0===t||t.call(r);var u=!0;n.subscribe((0,p.x)(e,(function(n){var t;null===(t=r.next)||void 0===t||t.call(r,n),e.next(n)}),(function(){var n;u=!1,null===(n=r.complete)||void 0===n||n.call(r),e.complete()}),(function(n){var t;u=!1,null===(t=r.error)||void 0===t||t.call(r,n),e.error(n)}),(function(){var n,e;u&&(null===(n=r.unsubscribe)||void 0===n||n.call(r)),null===(e=r.finalize)||void 0===e||e.call(r)})))})):o}var jr={leading:!0,trailing:!1};function qr(n,e){return void 0===e&&(e=jr),(0,b.e)((function(t,r){var u=e.leading,i=e.trailing,o=!1,c=null,s=null,l=!1,f=function(){null==s||s.unsubscribe(),s=null,i&&(h(),l&&r.complete())},a=function(){s=null,l&&r.complete()},v=function(e){return s=An(n(e)).subscribe((0,p.x)(r,f,a))},h=function(){if(o){o=!1;var n=c;c=null,r.next(n),!l&&v(n)}};t.subscribe((0,p.x)(r,(function(n){o=!0,c=n,(!s||s.closed)&&(u?h():v(n))}),(function(){l=!0,(!(i&&o&&s)||s.closed)&&r.complete()})))}))}function Nr(n,e,t){void 0===e&&(e=K),void 0===t&&(t=jr);var r=ke(n,e);return qr((function(){return r}),t)}function Pr(n){return void 0===n&&(n=K),(0,b.e)((function(e,t){var r=n.now();e.subscribe((0,p.x)(t,(function(e){var u=n.now(),i=u-r;r=u,t.next(new Lr(e,i))})))}))}var Lr=function(n,e){this.value=n,this.interval=e};function Wr(n,e,t){var r,u,i;if(t=null!=t?t:Q,Hn(n)?r=n:"number"==typeof n&&(u=n),!e)throw new TypeError("No observable provided to switch to");if(i=function(){return e},null==r&&null==u)throw new TypeError("No timeout provided.");return Dn({first:r,each:u,scheduler:t,with:i})}function zr(n){return void 0===n&&(n=R),(0,Qn.U)((function(e){return{value:e,timestamp:n.now()}}))}function Mr(n){return(0,b.e)((function(e,t){var r=new T;t.next(r.asObservable());var u=function(n){r.error(n),t.error(n)};return e.subscribe((0,p.x)(t,(function(n){return null==r?void 0:r.next(n)}),(function(){r.complete(),t.complete()}),u)),An(n).subscribe((0,p.x)(t,(function(){r.complete(),t.next(r=new T)}),Ln.Z,u)),function(){null==r||r.unsubscribe(),r=null}}))}function Ur(n,e){void 0===e&&(e=0);var t=e>0?e:n;return(0,b.e)((function(e,r){var u=[new T],i=0;r.next(u[0].asObservable()),e.subscribe((0,p.x)(r,(function(e){var o,c;try{for(var s=(0,d.XA)(u),l=s.next();!l.done;l=s.next())l.value.next(e)}catch(n){o={error:n}}finally{try{l&&!l.done&&(c=s.return)&&c.call(s)}finally{if(o)throw o.error}}var f=i-n+1;if(f>=0&&f%t==0&&u.shift().complete(),++i%t==0){var a=new T;u.push(a),r.next(a.asObservable())}}),(function(){for(;u.length>0;)u.shift().complete();r.complete()}),(function(n){for(;u.length>0;)u.shift().error(n);r.error(n)}),(function(){u=null})))}))}function Vr(n){for(var e,t,r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];var o=null!==(e=vn(r))&&void 0!==e?e:K,c=null!==(t=r[0])&&void 0!==t?t:null,s=r[1]||1/0;return(0,b.e)((function(e,t){var r=[],i=!1,l=function(n){var e=n.window,t=n.subs;e.complete(),t.unsubscribe(),(0,I.P)(r,n),i&&f()},f=function(){if(r){var e=new u.w0;t.add(e);var i=new T,c={window:i,subs:e,seen:0};r.push(c),t.next(i.asObservable()),In(e,o,(function(){return l(c)}),n)}};null!==c&&c>=0?In(t,o,f,c,!0):i=!0,f();var a=function(n){return r.slice().forEach(n)},v=function(n){a((function(e){var t=e.window;return n(t)})),n(t),t.unsubscribe()};return e.subscribe((0,p.x)(t,(function(n){a((function(e){e.window.next(n),s<=++e.seen&&l(e)}))}),(function(){return v((function(n){return n.complete()}))}),(function(n){return v((function(e){return e.error(n)}))}))),function(){r=null}}))}function Xr(n,e){return(0,b.e)((function(t,r){var i=[],o=function(n){for(;0<i.length;)i.shift().error(n);r.error(n)};An(n).subscribe((0,p.x)(r,(function(n){var t=new T;i.push(t);var c,s=new u.w0;try{c=An(e(n))}catch(n){return void o(n)}r.next(t.asObservable()),s.add(c.subscribe((0,p.x)(r,(function(){(0,I.P)(i,t),t.complete(),s.unsubscribe()}),Ln.Z,o)))}),Ln.Z)),t.subscribe((0,p.x)(r,(function(n){var e,t,r=i.slice();try{for(var u=(0,d.XA)(r),o=u.next();!o.done;o=u.next())o.value.next(n)}catch(n){e={error:n}}finally{try{o&&!o.done&&(t=u.return)&&t.call(u)}finally{if(e)throw e.error}}}),(function(){for(;0<i.length;)i.shift().complete();r.complete()}),o,(function(){for(;0<i.length;)i.shift().unsubscribe()})))}))}function Br(n){return(0,b.e)((function(e,t){var r,u,i=function(n){r.error(n),t.error(n)},o=function(){var e;null==u||u.unsubscribe(),null==r||r.complete(),r=new T,t.next(r.asObservable());try{e=An(n())}catch(n){return void i(n)}e.subscribe(u=(0,p.x)(t,o,o,i))};o(),e.subscribe((0,p.x)(t,(function(n){return r.next(n)}),(function(){r.complete(),t.complete()}),i,(function(){null==u||u.unsubscribe(),r=null})))}))}function Hr(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=an(n);return(0,b.e)((function(e,r){for(var u=n.length,i=new Array(u),c=n.map((function(){return!1})),s=!1,l=function(e){An(n[e]).subscribe((0,p.x)(r,(function(n){i[e]=n,s||c[e]||(c[e]=!0,(s=c.every(o))&&(c=null))}),Ln.Z))},f=0;f<u;f++)l(f);e.subscribe((0,p.x)(r,(function(n){if(s){var e=(0,d.ev)([n],(0,d.CR)(i));r.next(t?t.apply(void 0,(0,d.ev)([],(0,d.CR)(e))):e)}})))}))}function Yr(n){return ut(Be,n)}function Dr(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return(0,b.e)((function(e,t){Be.apply(void 0,(0,d.ev)([e],(0,d.CR)(n))).subscribe(t)}))}function Jr(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return Dr.apply(void 0,(0,d.ev)([],(0,d.CR)(n)))}}}]);