@webex/cc-station-login 1.28.0-ccwidgets.2 → 1.28.0-ccwidgets.20

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.
package/dist/index.js CHANGED
@@ -1,7 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WebStationLogin = exports.StationLogin = void 0;
4
- const station_login_1 = require("./station-login");
5
- Object.defineProperty(exports, "StationLogin", { enumerable: true, get: function () { return station_login_1.StationLogin; } });
6
- Object.defineProperty(exports, "WebStationLogin", { enumerable: true, get: function () { return station_login_1.WebStationLogin; } });
7
- //# sourceMappingURL=index.js.map
1
+ /*! For license information please see index.js.LICENSE.txt */
2
+ (()=>{"use strict";var e={428:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(63),i=n.n(r),o=n(248),a=n.n(o)()(i());a.push([e.id,".box{background-color:#fff;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,.1);padding:20px;max-width:800px;margin:0 auto}.section-box{padding:10px;border:1px solid #ddd;border-radius:8px}.fieldset{border:1px solid #ccc;border-radius:5px;padding:10px;margin-bottom:20px}.legend-box{font-weight:bold;color:#0052bf}.btn{padding:10px 20px;background-color:#0052bf;color:#fff;border:none;border-radius:4px;cursor:pointer;transition:background-color .3s;margin-right:8px}.select{width:100%;padding:8px;margin-top:8px;margin-bottom:12px;border:1px solid #ccc;border-radius:4px}.input{width:97%;padding:8px;margin-top:8px;margin-bottom:12px;border:1px solid #ccc;border-radius:4px}.modal{width:400px;border:none;border-radius:10px;box-shadow:0 4px 8px rgba(0,0,0,.2);padding:20px;text-align:center}.modal-content{display:flex;justify-content:flex-end}.modal::backdrop{background:rgba(0,0,0,.5)}h2{margin-top:0}#ContinueButton{background-color:#0078d4;color:#fff;border:none;padding:10px 20px;border-radius:5px;cursor:pointer;font-size:16px;cursor:pointer}#ContinueButton:hover{background-color:#005a9e}",""]);const s=a},248:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var u=this[s][0];null!=u&&(a[u]=!0)}for(var c=0;c<e.length;c++){var l=[].concat(e[c]);r&&a[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),i&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=i):l[4]="".concat(i)),t.push(l))}},t}},63:e=>{e.exports=function(e){return e[1]}},62:(e,t,n)=>{function r(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}n.r(t),n.d(t,{Observer:()=>Cr,_observerFinalizationRegistry:()=>wr,clearTimers:()=>Ir,enableStaticRendering:()=>br,isObserverBatched:()=>_r,isUsingStaticRendering:()=>yr,observer:()=>Lr,observerBatching:()=>vr,useAsObservableSource:()=>Dr,useLocalObservable:()=>Rr,useLocalStore:()=>Vr,useObserver:()=>Br,useStaticRendering:()=>Ur});var i={};function o(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:i}var a=Object.assign,s=Object.getOwnPropertyDescriptor,u=Object.defineProperty,c=Object.prototype,l=[];Object.freeze(l);var f={};Object.freeze(f);var d="undefined"!=typeof Proxy,h=Object.toString();function v(){d||r("Proxy not available")}function _(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var p=function(){};function g(e){return"function"==typeof e}function b(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function y(e){return null!==e&&"object"==typeof e}function m(e){if(!y(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n.toString()===h}function O(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function S(e,t,n){u(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function w(e,t,n){u(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function x(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return y(e)&&!0===e[n]}}function A(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function j(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var k=void 0!==Object.getOwnPropertySymbols,E="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:k?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function T(e){return null===e?null:"object"==typeof e?""+e:e}function P(e,t){return c.hasOwnProperty.call(e,t)}var L=Object.getOwnPropertyDescriptors||function(e){var t={};return E(e).forEach((function(n){t[n]=s(e,n)})),t};function M(e,t){return!!(e&t)}function N(e,t,n){return n?e|=t:e&=~t,e}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,G(r.key),r)}}function D(e,t,n){return t&&R(e.prototype,t),n&&R(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function V(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return C(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?C(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},I.apply(null,arguments)}function B(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,U(e,t)}function U(e,t){return U=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},U(e,t)}function G(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var K=Symbol("mobx-stored-annotations");function q(e){return Object.assign((function(t,n){if(F(n))return e.decorate_20223_(t,n);z(t,n,e)}),e)}function z(e,t,n){P(e,K)||S(e,K,I({},e[K])),function(e){return e.annotationType_===Z}(n)||(e[K][t]=n)}function F(e){return"object"==typeof e&&"string"==typeof e.kind}var H=Symbol("mobx administration"),W=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.flags_=0,this.observers_=new Set,this.lastAccessedBy_=0,this.lowestObserverState_=Ye.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return yt(this)},t.reportChanged=function(){gt(),mt(this),bt()},t.toString=function(){return this.name_},D(e,[{key:"isBeingObserved",get:function(){return M(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=N(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return M(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=N(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return M(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=N(this.flags_,e.diffValueMask_,1===t)}}])}();W.isBeingObservedMask_=1,W.isPendingUnobservationMask_=2,W.diffValueMask_=4;var $=x("Atom",W);function X(e,t,n){void 0===t&&(t=p),void 0===n&&(n=p);var r=new W(e);return t!==p&&Gt(It,r,t,undefined),n!==p&&Ut(r,n),r}var Y={identity:function(e,t){return e===t},structural:function(e,t){return ir(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t},shallow:function(e,t){return ir(e,t,1)}};function J(e,t,n){return en(e)?e:Array.isArray(e)?Re.array(e,{name:n}):m(e)?Re.object(e,void 0,{name:n}):A(e)?Re.map(e,{name:n}):j(e)?Re.set(e,{name:n}):"function"!=typeof e||Dt(e)||Zt(e)?e:O(e)?Jt(e):Rt(n,e)}function Q(e){return e}var Z="override";function ee(e,t){return{annotationType_:e,options_:t,make_:te,extend_:ne,decorate_20223_:re}}function te(e,t,n,r){var i;if(null!=(i=this.options_)&&i.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(Dt(n.value))return 1;var o=ie(e,this,t,n,!1);return u(r,t,o),2}function ne(e,t,n,r){var i=ie(e,this,t,n);return e.defineProperty_(t,i,r)}function re(e,t){var n,i=t.kind,o=t.name,a=t.addInitializer,s=this,u=function(e){var t,n,r,i;return ze(null!=(t=null==(n=s.options_)?void 0:n.name)?t:o.toString(),e,null!=(r=null==(i=s.options_)?void 0:i.autoAction)&&r)};return"field"==i?function(e){var t,n=e;return Dt(n)||(n=u(n)),null!=(t=s.options_)&&t.bound&&((n=n.bind(this)).isMobxAction=!0),n}:"method"==i?(Dt(e)||(e=u(e)),null!=(n=this.options_)&&n.bound&&a((function(){var e=this,t=e[o].bind(e);t.isMobxAction=!0,e[o]=t})),e):void r("Cannot apply '"+s.annotationType_+"' to '"+String(o)+"' (kind: "+i+"):\n'"+s.annotationType_+"' can only be used on properties with a function value.")}function ie(e,t,n,r,i){var o,a,s,u,c,l,f,d;void 0===i&&(i=ht.safeDescriptors),d=r,t.annotationType_,d.value;var h,v=r.value;return null!=(o=t.options_)&&o.bound&&(v=v.bind(null!=(h=e.proxy_)?h:e.target_)),{value:ze(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),v,null!=(u=null==(c=t.options_)?void 0:c.autoAction)&&u,null!=(l=t.options_)&&l.bound?null!=(f=e.proxy_)?f:e.target_:void 0),configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function oe(e,t){return{annotationType_:e,options_:t,make_:ae,extend_:se,decorate_20223_:ue}}function ae(e,t,n,r){var i;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(i=this.options_)&&i.bound&&(!P(e.target_,t)||!Zt(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(Zt(n.value))return 1;var o=ce(e,this,0,n,!1,!1);return u(r,t,o),2}function se(e,t,n,r){var i,o=ce(e,this,0,n,null==(i=this.options_)?void 0:i.bound);return e.defineProperty_(t,o,r)}function ue(e,t){var n,r=t.name,i=t.addInitializer;return Zt(e)||(e=Jt(e)),null!=(n=this.options_)&&n.bound&&i((function(){var e=this,t=e[r].bind(e);t.isMobXFlow=!0,e[r]=t})),e}function ce(e,t,n,r,i,o){var a;void 0===o&&(o=ht.safeDescriptors),a=r,t.annotationType_,a.value;var s,u=r.value;return Zt(u)||(u=Jt(u)),i&&((u=u.bind(null!=(s=e.proxy_)?s:e.target_)).isMobXFlow=!0),{value:u,configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function le(e,t){return{annotationType_:e,options_:t,make_:fe,extend_:de,decorate_20223_:he}}function fe(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function de(e,t,n,r){return i=n,this.annotationType_,i.get,e.defineComputedProperty_(t,I({},this.options_,{get:n.get,set:n.set}),r);var i}function he(e,t){var n=this,r=t.name;return(0,t.addInitializer)((function(){var t=Dn(this)[H],i=I({},n.options_,{get:e,context:this});i.name||(i.name="ObservableObject."+r.toString()),t.values_.set(r,new Xe(i))})),function(){return this[H].getObservablePropValue_(r)}}function ve(e,t){return{annotationType_:e,options_:t,make_:_e,extend_:pe,decorate_20223_:ge}}function _e(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function pe(e,t,n,r){var i,o;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(i=null==(o=this.options_)?void 0:o.enhancer)?i:J,r)}function ge(e,t){var n=this,r=t.kind,i=t.name,o=new WeakSet;function a(e,t){var r,a,s=Dn(e)[H],u=new $e(t,null!=(r=null==(a=n.options_)?void 0:a.enhancer)?r:J,"ObservableObject."+i.toString(),!1);s.values_.set(i,u),o.add(e)}if("accessor"==r)return{get:function(){return o.has(this)||a(this,e.get.call(this)),this[H].getObservablePropValue_(i)},set:function(e){return o.has(this)||a(this,e),this[H].setObservablePropValue_(i,e)},init:function(e){return o.has(this)||a(this,e),e}}}var be="true",ye=me();function me(e){return{annotationType_:be,options_:e,make_:Oe,extend_:Se,decorate_20223_:we}}function Oe(e,t,n,r){var i,o,a,s;if(n.get)return Be.make_(e,t,n,r);if(n.set){var c=ze(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!ht.safeDescriptors||e.isPlainObject_,set:c})?0:2:(u(r,t,{configurable:!0,set:c}),2)}if(r!==e.target_&&"function"==typeof n.value)return O(n.value)?(null!=(s=this.options_)&&s.autoBind?Jt.bound:Jt).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?Rt.bound:Rt).make_(e,t,n,r);var l,f=!1===(null==(i=this.options_)?void 0:i.deep)?Re.ref:Re;return"function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(l=e.proxy_)?l:e.target_)),f.make_(e,t,n,r)}function Se(e,t,n,r){var i,o,a;return n.get?Be.extend_(e,t,n,r):n.set?e.defineProperty_(t,{configurable:!ht.safeDescriptors||e.isPlainObject_,set:ze(t.toString(),n.set)},r):("function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),(!1===(null==(o=this.options_)?void 0:o.deep)?Re.ref:Re).extend_(e,t,n,r))}function we(e,t){r("'"+this.annotationType_+"' cannot be used as a decorator")}var xe={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function Ae(e){return e||xe}Object.freeze(xe);var je=ve("observable"),ke=ve("observable.ref",{enhancer:Q}),Ee=ve("observable.shallow",{enhancer:function(e,t,n){return null==e||Bn(e)||Sn(e)||kn(e)||Ln(e)?e:Array.isArray(e)?Re.array(e,{name:n,deep:!1}):m(e)?Re.object(e,void 0,{name:n,deep:!1}):A(e)?Re.map(e,{name:n,deep:!1}):j(e)?Re.set(e,{name:n,deep:!1}):void 0}}),Te=ve("observable.struct",{enhancer:function(e,t){return ir(e,t)?t:e}}),Pe=q(je);function Le(e){return!0===e.deep?J:!1===e.deep?Q:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:J;var t,n,r}function Me(e,t,n){return F(t)?je.decorate_20223_(e,t):b(t)?void z(e,t,je):en(e)?e:m(e)?Re.object(e,t,n):Array.isArray(e)?Re.array(e,t):A(e)?Re.map(e,t):j(e)?Re.set(e,t):"object"==typeof e&&null!==e?e:Re.box(e,t)}a(Me,Pe);var Ne,Ce,Re=a(Me,{box:function(e,t){var n=Ae(t);return new $e(e,Le(n),n.name,!0,n.equals)},array:function(e,t){var n=Ae(t);return(!1===ht.useProxies||!1===n.proxy?Jn:_n)(e,Le(n),n.name)},map:function(e,t){var n=Ae(t);return new jn(e,Le(n),n.name)},set:function(e,t){var n=Ae(t);return new Pn(e,Le(n),n.name)},object:function(e,t,n){return tr((function(){return function(e,t,n,r){var i=L(t);return tr((function(){var t=Dn(e,r)[H];E(i).forEach((function(e){t.extend_(e,i[e],!n||!(e in n)||n[e])}))})),e}(!1===ht.useProxies||!1===(null==n?void 0:n.proxy)?Dn({},n):function(e,t){var n,r;return v(),null!=(r=(n=(e=Dn(e,t))[H]).proxy_)?r:n.proxy_=new Proxy(e,rn)}({},n),e,t)}))},ref:q(ke),shallow:q(Ee),deep:Pe,struct:q(Te)}),De="computed",Ve=le(De),Ie=le("computed.struct",{equals:Y.structural}),Be=function(e,t){if(F(t))return Ve.decorate_20223_(e,t);if(b(t))return z(e,t,Ve);if(m(e))return q(le(De,e));var n=m(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new Xe(n)};Object.assign(Be,Ve),Be.struct=q(Ie);var Ue=0,Ge=1,Ke=null!=(Ne=null==(Ce=s((function(){}),"name"))?void 0:Ce.configurable)&&Ne,qe={value:"action",configurable:!0,writable:!1,enumerable:!1};function ze(e,t,n,r){function i(){return Fe(0,n,t,r||this,arguments)}return void 0===n&&(n=!1),i.isMobxAction=!0,i.toString=function(){return t.toString()},Ke&&(qe.value=e,u(i,"name",qe)),i}function Fe(e,t,n,i,o){var a=function(e,t){var n=ht.trackingDerivation,r=!t||!n;gt();var i=ht.allowStateChanges;r&&(ot(),i=He(!0));var o={runAsAction_:r,prevDerivation_:n,prevAllowStateChanges_:i,prevAllowStateReads_:st(!0),notifySpy_:!1,startTime_:0,actionId_:Ge++,parentActionId_:Ue};return Ue=o.actionId_,o}(0,t);try{return n.apply(i,o)}catch(e){throw a.error_=e,e}finally{!function(e){Ue!==e.actionId_&&r(30),Ue=e.parentActionId_,void 0!==e.error_&&(ht.suppressReactionErrors=!0),We(e.prevAllowStateChanges_),ut(e.prevAllowStateReads_),bt(),e.runAsAction_&&at(e.prevDerivation_),ht.suppressReactionErrors=!1}(a)}}function He(e){var t=ht.allowStateChanges;return ht.allowStateChanges=e,t}function We(e){ht.allowStateChanges=e}var $e=function(e){function t(t,n,r,i,o){var a;return void 0===r&&(r="ObservableValue"),void 0===i&&(i=!0),void 0===o&&(o=Y.default),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=o,a.value_=n(t,void 0,r),a}B(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_,(e=this.prepareNewValue_(e))!==ht.UNCHANGED&&this.setNewValue_(e)},n.prepareNewValue_=function(e){if(on(this)){var t=sn(this,{object:this,type:dn,newValue:e});if(!t)return ht.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?ht.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),un(this)&&ln(this,{type:dn,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return an(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:dn,newValue:this.value_,oldValue:void 0}),cn(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return T(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(W),Xe=function(){function e(e){this.dependenciesState_=Ye.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Ye.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new Ze(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=Je.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||r(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=ze("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?Y.structural:Y.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){e.lowestObserverState_===Ye.UP_TO_DATE_&&(e.lowestObserverState_=Ye.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Ye.UP_TO_DATE_&&(e.dependenciesState_=Ye.POSSIBLY_STALE_,e.onBecomeStale_())})))}(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.get=function(){if(this.isComputing&&r(32,this.name_,this.derivation),0!==ht.inBatch||0!==this.observers_.size||this.keepAlive_){if(yt(this),tt(this)){var e=ht.trackingContext;this.keepAlive_&&!e&&(ht.trackingContext=this),this.trackAndCompute()&&function(e){e.lowestObserverState_!==Ye.STALE_&&(e.lowestObserverState_=Ye.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===Ye.POSSIBLY_STALE_?t.dependenciesState_=Ye.STALE_:t.dependenciesState_===Ye.UP_TO_DATE_&&(e.lowestObserverState_=Ye.UP_TO_DATE_)})))}(this),ht.trackingContext=e}}else tt(this)&&(this.warnAboutUntrackedRead_(),gt(),this.value_=this.computeValue_(!1),bt());var t=this.value_;if(et(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&r(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else r(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===Ye.NOT_TRACKING_,n=this.computeValue_(!0),r=t||et(e)||et(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing=!0;var t,n=He(!1);if(e)t=nt(this,this.derivation,this.scope_);else if(!0===ht.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new Ze(e)}return We(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(rt(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,i=void 0;return function(e,t){var n,r,i,o;void 0===t&&(t=f);var a,s=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(t.scheduler||t.delay){var u=function(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Vt}(t),c=!1;a=new Ot(s,(function(){c||(c=!0,u((function(){c=!1,a.isDisposed||a.track(l)})))}),t.onError,t.requiresObservable)}else a=new Ot(s,(function(){this.track(l)}),t.onError,t.requiresObservable);function l(){e(a)}return null!=(i=t)&&null!=(i=i.signal)&&i.aborted||a.schedule_(),a.getDisposer_(null==(o=t)?void 0:o.signal)}((function(){var o=n.get();if(!r||t){var a=ot();e({observableKind:"computed",debugObjectName:n.name_,type:dn,object:n,newValue:o,oldValue:i}),at(a)}r=!1,i=o}))},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return T(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},D(e,[{key:"isComputing",get:function(){return M(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=N(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return M(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=N(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return M(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=N(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return M(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=N(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return M(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=N(this.flags_,e.diffValueMask_,1===t)}}])}();Xe.isComputingMask_=1,Xe.isRunningSetterMask_=2,Xe.isBeingObservedMask_=4,Xe.isPendingUnobservationMask_=8,Xe.diffValueMask_=16;var Ye,Je,Qe=x("ComputedValue",Xe);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(Ye||(Ye={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Je||(Je={}));var Ze=function(e){this.cause=void 0,this.cause=e};function et(e){return e instanceof Ze}function tt(e){switch(e.dependenciesState_){case Ye.UP_TO_DATE_:return!1;case Ye.NOT_TRACKING_:case Ye.STALE_:return!0;case Ye.POSSIBLY_STALE_:for(var t=st(!0),n=ot(),r=e.observing_,i=r.length,o=0;o<i;o++){var a=r[o];if(Qe(a)){if(ht.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return at(n),ut(t),!0}if(e.dependenciesState_===Ye.STALE_)return at(n),ut(t),!0}}return ct(e),at(n),ut(t),!1}}function nt(e,t,n){var r=st(!0);ct(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++ht.runId;var i,o=ht.trackingDerivation;if(ht.trackingDerivation=e,ht.inBatch++,!0===ht.disableErrorBoundaries)i=t.call(n);else try{i=t.call(n)}catch(e){i=new Ze(e)}return ht.inBatch--,ht.trackingDerivation=o,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=Ye.UP_TO_DATE_,i=0,o=e.unboundDepsCount_,a=0;a<o;a++){var s=n[a];0===s.diffValue&&(s.diffValue=1,i!==a&&(n[i]=s),i++),s.dependenciesState_>r&&(r=s.dependenciesState_)}for(n.length=i,e.newObserving_=null,o=t.length;o--;){var u=t[o];0===u.diffValue&&_t(u,e),u.diffValue=0}for(;i--;){var c=n[i];1===c.diffValue&&(c.diffValue=0,vt(c,e))}r!==Ye.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),ut(r),i}function rt(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)_t(t[n],e);e.dependenciesState_=Ye.NOT_TRACKING_}function it(e){var t=ot();try{return e()}finally{at(t)}}function ot(){var e=ht.trackingDerivation;return ht.trackingDerivation=null,e}function at(e){ht.trackingDerivation=e}function st(e){var t=ht.allowStateReads;return ht.allowStateReads=e,t}function ut(e){ht.allowStateReads=e}function ct(e){if(e.dependenciesState_!==Ye.UP_TO_DATE_){e.dependenciesState_=Ye.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=Ye.UP_TO_DATE_}}var lt=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},ft=!0,dt=!1,ht=function(){var e=o();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(ft=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new lt).version&&(ft=!1),ft?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new lt):(setTimeout((function(){dt||r(35)}),1),new lt)}();function vt(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function _t(e,t){e.observers_.delete(t),0===e.observers_.size&&pt(e)}function pt(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,ht.pendingUnobservations.push(e))}function gt(){ht.inBatch++}function bt(){if(0==--ht.inBatch){xt();for(var e=ht.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers_.size&&(n.isBeingObserved&&(n.isBeingObserved=!1,n.onBUO()),n instanceof Xe&&n.suspend_())}ht.pendingUnobservations=[]}}function yt(e){var t=ht.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&ht.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&ht.inBatch>0&&pt(e),!1)}function mt(e){e.lowestObserverState_!==Ye.STALE_&&(e.lowestObserverState_=Ye.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Ye.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=Ye.STALE_})))}var Ot=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=Ye.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=Je.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled||(this.isScheduled=!0,ht.pendingReactions.push(this),xt())},t.runReaction_=function(){if(!this.isDisposed){gt(),this.isScheduled=!1;var e=ht.trackingContext;if(ht.trackingContext=this,tt(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}ht.trackingContext=e,bt()}},t.track=function(e){if(!this.isDisposed){gt(),this.isRunning=!0;var t=ht.trackingContext;ht.trackingContext=this;var n=nt(this,e,void 0);ht.trackingContext=t,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&rt(this),et(n)&&this.reportExceptionInDerivation_(n.cause),bt()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(ht.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";ht.suppressReactionErrors||console.error(n,e),ht.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},t.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(gt(),rt(this),bt()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[H]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},D(e,[{key:"isDisposed",get:function(){return M(this.flags_,e.isDisposedMask_)},set:function(t){this.flags_=N(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return M(this.flags_,e.isScheduledMask_)},set:function(t){this.flags_=N(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return M(this.flags_,e.isTrackPendingMask_)},set:function(t){this.flags_=N(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return M(this.flags_,e.isRunningMask_)},set:function(t){this.flags_=N(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return M(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=N(this.flags_,e.diffValueMask_,1===t)}}])}();Ot.isDisposedMask_=1,Ot.isScheduledMask_=2,Ot.isTrackPendingMask_=4,Ot.isRunningMask_=8,Ot.diffValueMask_=16;var St=100,wt=function(e){return e()};function xt(){ht.inBatch>0||ht.isRunningReactions||wt(At)}function At(){ht.isRunningReactions=!0;for(var e=ht.pendingReactions,t=0;e.length>0;){++t===St&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,i=n.length;r<i;r++)n[r].runReaction_()}ht.isRunningReactions=!1}var jt=x("Reaction",Ot),kt="action",Et="autoAction",Tt=ee(kt),Pt=ee("action.bound",{bound:!0}),Lt=ee(Et,{autoAction:!0}),Mt=ee("autoAction.bound",{autoAction:!0,bound:!0});function Nt(e){return function(t,n){return g(t)?ze(t.name||"<unnamed action>",t,e):g(n)?ze(t,n,e):F(n)?(e?Lt:Tt).decorate_20223_(t,n):b(n)?z(t,n,e?Lt:Tt):b(t)?q(ee(e?Et:kt,{name:t,autoAction:e})):void 0}}var Ct=Nt(!1);Object.assign(Ct,Tt);var Rt=Nt(!0);function Dt(e){return g(e)&&!0===e.isMobxAction}Object.assign(Rt,Lt),Ct.bound=q(Pt),Rt.bound=q(Mt);var Vt=function(e){return e()};var It="onBO",Bt="onBUO";function Ut(e,t,n){return Gt(Bt,e,t,n)}function Gt(e,t,n,r){var i="function"==typeof r?Qn(t,n):Qn(t),o=g(r)?r:n,a=e+"L";return i[a]?i[a].add(o):i[a]=new Set([o]),function(){var e=i[a];e&&(e.delete(o),0===e.size&&delete i[a])}}var Kt="never",qt="always",zt="observed";function Ft(e){!0===e.isolateGlobalState&&function(){if((ht.pendingReactions.length||ht.inBatch||ht.isRunningReactions)&&r(36),dt=!0,ft){var e=o();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),ht=new lt}}();var t,n,i=e.useProxies,a=e.enforceActions;if(void 0!==i&&(ht.useProxies=i===qt||i!==Kt&&"undefined"!=typeof Proxy),"ifavailable"===i&&(ht.verifyProxies=!0),void 0!==a){var s=a===qt?qt:a===zt;ht.enforceActions=s,ht.allowStateChanges=!0!==s&&s!==qt}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach((function(t){t in e&&(ht[t]=!!e[t])})),ht.allowStateReads=!ht.observableRequiresReaction,e.reactionScheduler&&(t=e.reactionScheduler,n=wt,wt=function(e){return t((function(){return n(e)}))})}function Ht(e){var t,n={name:e.name_};return e.observing_&&e.observing_.length>0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map(Ht)),n}var Wt=0;function $t(){this.message="FLOW_CANCELLED"}$t.prototype=Object.create(Error.prototype);var Xt=oe("flow"),Yt=oe("flow.bound",{bound:!0}),Jt=Object.assign((function(e,t){if(F(t))return Xt.decorate_20223_(e,t);if(b(t))return z(e,t,Xt);var n=e,r=n.name||"<unnamed flow>",i=function(){var e,t=arguments,i=++Wt,o=Ct(r+" - runid: "+i+" - init",n).apply(this,t),a=void 0,s=new Promise((function(t,n){var s=0;function u(e){var t;a=void 0;try{t=Ct(r+" - runid: "+i+" - yield "+s++,o.next).call(o,e)}catch(e){return n(e)}l(t)}function c(e){var t;a=void 0;try{t=Ct(r+" - runid: "+i+" - yield "+s++,o.throw).call(o,e)}catch(e){return n(e)}l(t)}function l(e){if(!g(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(u,c);e.then(l,n)}e=n,u(void 0)}));return s.cancel=Ct(r+" - runid: "+i+" - cancel",(function(){try{a&&Qt(a);var t=o.return(void 0),n=Promise.resolve(t.value);n.then(p,p),Qt(n),e(new $t)}catch(t){e(t)}})),s};return i.isMobXFlow=!0,i}),Xt);function Qt(e){g(e.cancel)&&e.cancel()}function Zt(e){return!0===(null==e?void 0:e.isMobXFlow)}function en(e){return function(e,t){return!!e&&(void 0!==t?!!Bn(e)&&e[H].values_.has(t):Bn(e)||!!e[H]||$(e)||jt(e)||Qe(e))}(e)}function tn(e,t){void 0===t&&(t=void 0),gt();try{return e.apply(t)}finally{bt()}}function nn(e){return e[H]}Jt.bound=q(Yt);var rn={has:function(e,t){return nn(e).has_(t)},get:function(e,t){return nn(e).get_(t)},set:function(e,t,n){var r;return!!b(t)&&(null==(r=nn(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!b(t)&&(null==(n=nn(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=nn(e).defineProperty_(t,n))||r},ownKeys:function(e){return nn(e).ownKeys_()},preventExtensions:function(e){r(13)}};function on(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function an(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),_((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function sn(e,t){var n=ot();try{for(var i=[].concat(e.interceptors_||[]),o=0,a=i.length;o<a&&((t=i[o](t))&&!t.type&&r(14),t);o++);return t}finally{at(n)}}function un(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function cn(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),_((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function ln(e,t){var n=ot(),r=e.changeListeners_;if(r){for(var i=0,o=(r=r.slice()).length;i<o;i++)r[i](t);at(n)}}var fn="splice",dn="update",hn={get:function(e,t){var n=e[H];return t===H?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?P(pn,t)?pn[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[H];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){r(15)}},vn=function(){function e(e,t,n,r){void 0===e&&(e="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=r,this.atom_=new W(e),this.enhancer_=function(e,n){return t(e,n,"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return an(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),cn(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&r("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),i=0;i<e-t;i++)n[i]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&r(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&Yn(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var i=this.values_.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1===arguments.length?i-e:null==t?0:Math.max(0,Math.min(t,i-e)),void 0===n&&(n=l),on(this)){var o=sn(this,{object:this.proxy_,type:fn,index:e,removedCount:t,added:n});if(!o)return l;t=o.removedCount,n=o.added}if(n=0===n.length?n:n.map((function(e){return r.enhancer_(e,void 0)})),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(i,a)}var s=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<1e4)return(r=this.values_).splice.apply(r,[e,t].concat(n));var i=this.values_.slice(e,e+t),o=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a<n.length;a++)this.values_[e+a]=n[a];for(var s=0;s<o.length;s++)this.values_[e+n.length+s]=o[s];return i},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,i=un(this),o=i||r?{observableKind:"array",object:this.proxy_,type:dn,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),i&&ln(this,o)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,i=un(this),o=i||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:fn,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),i&&ln(this,o)},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&r(17,e,n.length),e<n.length){this.atom_;var i=n[e];if(on(this)){var o=sn(this,{type:dn,object:this.proxy_,index:e,newValue:t});if(!o)return;t=o.newValue}(t=this.enhancer_(t,i))!==i&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,i))}else{for(var a=new Array(e+1-n.length),s=0;s<a.length-1;s++)a[s]=void 0;a[a.length-1]=t,this.spliceWithArray_(n.length,0,a)}},e}();function _n(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),v(),tr((function(){var i=new vn(n,t,r,!1);w(i.values_,H,i);var o=new Proxy(i.values_,hn);return i.proxy_=o,e&&e.length&&i.spliceWithArray_(0,0,e),o}))}var pn={clear:function(){return this.splice(0)},replace:function(e){var t=this[H];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=this[H];switch(arguments.length){case 0:return[];case 1:return o.spliceWithArray_(e);case 2:return o.spliceWithArray_(e,t)}return o.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[H].spliceWithArray_(e,t,n)},push:function(){for(var e=this[H],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[H].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[H],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return ht.trackingDerivation&&r(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){ht.trackingDerivation&&r(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[H],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function gn(e,t){"function"==typeof Array.prototype[e]&&(pn[e]=t(e))}function bn(e){return function(){var t=this[H];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function yn(e){return function(t,n){var r=this,i=this[H];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[e]((function(e,i){return t.call(n,e,i,r)}))}}function mn(e){return function(){var t=this,n=this[H];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),i=arguments[0];return arguments[0]=function(e,n,r){return i(e,n,r,t)},r[e].apply(r,arguments)}}gn("at",bn),gn("concat",bn),gn("flat",bn),gn("includes",bn),gn("indexOf",bn),gn("join",bn),gn("lastIndexOf",bn),gn("slice",bn),gn("toString",bn),gn("toLocaleString",bn),gn("toSorted",bn),gn("toSpliced",bn),gn("with",bn),gn("every",yn),gn("filter",yn),gn("find",yn),gn("findIndex",yn),gn("findLast",yn),gn("findLastIndex",yn),gn("flatMap",yn),gn("forEach",yn),gn("map",yn),gn("some",yn),gn("toReversed",yn),gn("reduce",mn),gn("reduceRight",mn);var On=x("ObservableArrayAdministration",vn);function Sn(e){return y(e)&&On(e[H])}var wn={},xn="add",An="delete",jn=function(){function e(e,t,n){var i=this;void 0===t&&(t=J),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[H]=wn,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,g(Map)||r(18),tr((function(){i.keysAtom_=X("ObservableMap.keys()"),i.data_=new Map,i.hasMap_=new Map,e&&i.merge(e)}))}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!ht.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new $e(this.has_(e),Q,"ObservableMap.key?",!1);this.hasMap_.set(e,r),Ut(r,(function(){return t.hasMap_.delete(e)}))}return n.get()},t.set=function(e,t){var n=this.has_(e);if(on(this)){var r=sn(this,{type:n?dn:xn,object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if(this.keysAtom_,on(this)&&!sn(this,{type:An,object:this,name:e}))return!1;if(this.has_(e)){var n=un(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:An,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return tn((function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),n&&ln(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==ht.UNCHANGED){var r=un(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:dn,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&ln(this,i)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,tn((function(){var r,i=new $e(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,i),t=i.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()}));var r=un(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:xn,object:this,name:e,newValue:t}:null;r&&ln(this,i)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return En({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:e.get(i)}}})},t.entries=function(){var e=this,t=this.keys();return En({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:[i,e.get(i)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=V(this);!(n=r()).done;){var i=n.value,o=i[0],a=i[1];e.call(t,a,o,this)}},t.merge=function(e){var t=this;return kn(e)&&(e=new Map(e)),tn((function(){var n,i,o;m(e)?function(e){var t=Object.keys(e);if(!k)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return c.propertyIsEnumerable.call(e,t)}))):t}(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=e[0],r=e[1];return t.set(n,r)})):A(e)?(n=e,i=Object.getPrototypeOf(n),o=Object.getPrototypeOf(i),null!==Object.getPrototypeOf(o)&&r(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!=e&&r(20,e)})),this},t.clear=function(){var e=this;tn((function(){it((function(){for(var t,n=V(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.replace=function(e){var t=this;return tn((function(){for(var n,i=function(e){if(A(e)||kn(e))return e;if(Array.isArray(e))return new Map(e);if(m(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return r(21,e)}(e),o=new Map,a=!1,s=V(t.data_.keys());!(n=s()).done;){var u=n.value;if(!i.has(u))if(t.delete(u))a=!0;else{var c=t.data_.get(u);o.set(u,c)}}for(var l,f=V(i.entries());!(l=f()).done;){var d=l.value,h=d[0],v=d[1],_=t.data_.has(h);if(t.set(h,v),t.data_.has(h)){var p=t.data_.get(h);o.set(h,p),_||(a=!0)}}if(!a)if(t.data_.size!==o.size)t.keysAtom_.reportChanged();else for(var g=t.data_.keys(),b=o.keys(),y=g.next(),O=b.next();!y.done;){if(y.value!==O.value){t.keysAtom_.reportChanged();break}y=g.next(),O=b.next()}t.data_=o})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return cn(this,e)},t.intercept_=function(e){return an(this,e)},D(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),kn=x("ObservableMap",jn);function En(e){return e[Symbol.toStringTag]="MapIterator",ur(e)}var Tn={},Pn=function(){function e(e,t,n){var i=this;void 0===t&&(t=J),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[H]=Tn,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,g(Set)||r(22),this.enhancer_=function(e,r){return t(e,r,n)},tr((function(){i.atom_=X(i.name_),e&&i.replace(e)}))}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;tn((function(){it((function(){for(var t,n=V(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.forEach=function(e,t){for(var n,r=V(this);!(n=r()).done;){var i=n.value;e.call(t,i,i,this)}},t.add=function(e){var t=this;if(this.atom_,on(this)&&!sn(this,{type:xn,object:this,newValue:e}))return this;if(!this.has(e)){tn((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var n=un(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:xn,object:this,newValue:e}:null;n&&ln(this,r)}return this},t.delete=function(e){var t=this;if(on(this)&&!sn(this,{type:An,object:this,oldValue:e}))return!1;if(this.has(e)){var n=un(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:An,object:this,oldValue:e}:null;return tn((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&ln(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return Mn({next:function(){var r=e;return e+=1,r<n.length?{value:[t[r],n[r]],done:!1}:{value:void 0,done:!0}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=0,n=Array.from(this.data_.values());return Mn({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{value:void 0,done:!0}}})},t.intersection=function(e){return j(e)&&!Ln(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return j(e)&&!Ln(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return j(e)&&!Ln(e)?e.symmetricDifference(this):new Set(this).symmetricDifference(e)},t.isSubsetOf=function(e){return new Set(this).isSubsetOf(e)},t.isSupersetOf=function(e){return new Set(this).isSupersetOf(e)},t.isDisjointFrom=function(e){return j(e)&&!Ln(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return Ln(e)&&(e=new Set(e)),tn((function(){Array.isArray(e)||j(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!=e&&r("Cannot initialize set from "+e)})),this},t.observe_=function(e,t){return cn(this,e)},t.intercept_=function(e){return an(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Symbol.iterator]=function(){return this.values()},D(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),Ln=x("ObservableSet",Pn);function Mn(e){return e[Symbol.toStringTag]="SetIterator",ur(e)}var Nn=Object.create(null),Cn="remove",Rn=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=ye),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=r,this.keysAtom_=new W("ObservableObject.keys"),this.isPlainObject_=m(this.target_)}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof Xe)return n.set(t),!0;if(on(this)){var r=sn(this,{type:dn,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==ht.UNCHANGED){var i=un(this),o=i?{type:dn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),i&&ln(this,o)}return!0},t.get_=function(e){return ht.trackingDerivation&&!P(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),P(this.target_,e)?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!ht.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new $e(e in this.target_,Q,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(!(e in this.target_)){var n;if(null!=(n=this.target_[K])&&n[e])return;r(1,t.annotationType_,this.name_+"."+e.toString())}for(var i=this.target_;i&&i!==c;){var o=s(i,e);if(o){var a=t.make_(this,e,o,i);if(0===a)return;if(1===a)break}i=Object.getPrototypeOf(i)}Un(this,0,e)}},t.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);var i=n.extend_(this,e,t,r);return i&&Un(this,0,e),i},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{gt();var r=this.delete_(e);if(!r)return r;if(on(this)){var i=sn(this,{object:this.proxy_||this.target_,name:e,type:xn,newValue:t.value});if(!i)return null;var o=i.newValue;t.value!==o&&(t=I({},t,{value:o}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else u(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{bt()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),this.keysAtom_;try{gt();var i=this.delete_(e);if(!i)return i;if(on(this)){var o=sn(this,{object:this.proxy_||this.target_,name:e,type:xn,newValue:t});if(!o)return null;t=o.newValue}var a=In(e),s={configurable:!ht.safeDescriptors||this.isPlainObject_,enumerable:!0,get:a.get,set:a.set};if(r){if(!Reflect.defineProperty(this.target_,e,s))return!1}else u(this.target_,e,s);var c=new $e(t,n,"ObservableObject.key",!1);this.values_.set(e,c),this.notifyPropertyAddition_(e,c.value_)}finally{bt()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{gt();var r=this.delete_(e);if(!r)return r;if(on(this)&&!sn(this,{object:this.proxy_||this.target_,name:e,type:xn,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var i=In(e),o={configurable:!ht.safeDescriptors||this.isPlainObject_,enumerable:!1,get:i.get,set:i.set};if(n){if(!Reflect.defineProperty(this.target_,e,o))return!1}else u(this.target_,e,o);this.values_.set(e,new Xe(t)),this.notifyPropertyAddition_(e,void 0)}finally{bt()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),this.keysAtom_,!P(this.target_,e))return!0;if(on(this)&&!sn(this,{object:this.proxy_||this.target_,name:e,type:Cn}))return null;try{var n;gt();var r,i=un(this),o=this.values_.get(e),a=void 0;if(!o&&i&&(a=null==(r=s(this.target_,e))?void 0:r.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(o&&(this.values_.delete(e),o instanceof $e&&(a=o.value_),mt(o)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),i){var u={type:Cn,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:a,name:e};i&&ln(this,u)}}finally{bt()}return!0},t.observe_=function(e,t){return cn(this,e)},t.intercept_=function(e){return an(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r=un(this);if(r){var i=r?{type:xn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;r&&ln(this,i)}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),E(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function Dn(e,t){var n;if(P(e,H))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",i=new Rn(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:me(e):void 0}(t));return S(e,H,i),e}var Vn=x("ObservableObjectAdministration",Rn);function In(e){return Nn[e]||(Nn[e]={get:function(){return this[H].getObservablePropValue_(e)},set:function(t){return this[H].setObservablePropValue_(e,t)}})}function Bn(e){return!!y(e)&&Vn(e[H])}function Un(e,t,n){var r;null==(r=e.target_[K])||delete r[n]}var Gn,Kn,qn=$n(0),zn=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),Fn=0,Hn=function(){};Gn=Hn,Kn=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(Gn.prototype,Kn):void 0!==Gn.prototype.__proto__?Gn.prototype.__proto__=Kn:Gn.prototype=Kn;var Wn=function(e){function t(t,n,r,i){var o;return void 0===r&&(r="ObservableArray"),void 0===i&&(i=!1),o=e.call(this)||this,tr((function(){var e=new vn(r,n,i,!0);e.proxy_=o,w(o,H,e),t&&t.length&&o.spliceWithArray(0,0,t),zn&&Object.defineProperty(o,"0",qn)})),o}B(t,e);var n=t.prototype;return n.concat=function(){this[H].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map((function(e){return Sn(e)?e.slice():e})))},n[Symbol.iterator]=function(){var e=this,t=0;return ur({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},D(t,[{key:"length",get:function(){return this[H].getArrayLength_()},set:function(e){this[H].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(Hn);function $n(e){return{enumerable:!1,configurable:!0,get:function(){return this[H].get_(e)},set:function(t){this[H].set_(e,t)}}}function Xn(e){u(Wn.prototype,""+e,$n(e))}function Yn(e){if(e>Fn){for(var t=Fn;t<e+100;t++)Xn(t);Fn=e}}function Jn(e,t,n){return new Wn(e,t,n)}function Qn(e,t){if("object"==typeof e&&null!==e){if(Sn(e))return void 0!==t&&r(23),e[H].atom_;if(Ln(e))return e.atom_;if(kn(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||r(25,t,er(e)),n}if(Bn(e)){if(!t)return r(26);var i=e[H].values_.get(t);return i||r(27,t,er(e)),i}if($(e)||Qe(e)||jt(e))return e}else if(g(e)&&jt(e[H]))return e[H];r(28)}function Zn(e,t){return e||r(29),void 0!==t?Zn(Qn(e,t)):$(e)||Qe(e)||jt(e)||kn(e)||Ln(e)?e:e[H]?e[H]:void r(24,e)}function er(e,t){var n;if(void 0!==t)n=Qn(e,t);else{if(Dt(e))return e.name;n=Bn(e)||kn(e)||Ln(e)?Zn(e):Qn(e)}return n.name_}function tr(e){var t=ot(),n=He(!0);gt();try{return e()}finally{bt(),We(n),at(t)}}Object.entries(pn).forEach((function(e){var t=e[0],n=e[1];"concat"!==t&&S(Wn.prototype,t,n)})),Yn(1e3);var nr,rr=c.toString;function ir(e,t,n){return void 0===n&&(n=-1),or(e,t,n)}function or(e,t,n,r,i){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var o=typeof e;if("function"!==o&&"object"!==o&&"object"!=typeof t)return!1;var a=rr.call(e);if(a!==rr.call(t))return!1;switch(a){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":n>=0&&n++}e=ar(e),t=ar(t);var s="[object Array]"===a;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var u=e.constructor,c=t.constructor;if(u!==c&&!(g(u)&&u instanceof u&&g(c)&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),i=i||[];for(var l=(r=r||[]).length;l--;)if(r[l]===e)return i[l]===t;if(r.push(e),i.push(t),s){if((l=e.length)!==t.length)return!1;for(;l--;)if(!or(e[l],t[l],n-1,r,i))return!1}else{var f,d=Object.keys(e);if(l=d.length,Object.keys(t).length!==l)return!1;for(;l--;)if(!P(t,f=d[l])||!or(e[f],t[f],n-1,r,i))return!1}return r.pop(),i.pop(),!0}function ar(e){return Sn(e)?e.slice():A(e)||kn(e)||j(e)||Ln(e)?Array.from(e.entries()):e}var sr=(null==(nr=o().Iterator)?void 0:nr.prototype)||{};function ur(e){return e[Symbol.iterator]=cr,Object.assign(Object.create(sr),e)}function cr(){return this}["Symbol","Map","Set"].forEach((function(e){void 0===o()[e]&&r("MobX requires global '"+e+"' to be available or polyfilled")})),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:er},$mobx:H});var lr=n(953),fr=n.n(lr);if(!lr.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!function(e,t,n){return tr((function(){var r=Dn(e,n)[H];null!=t||(t=function(e){return P(e,K)||S(e,K,I({},e[K])),e[K]}(e)),E(t).forEach((function(e){return r.make_(e,t[e])}))})),e})throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");const dr=require("react-dom");function hr(e){e()}function vr(e){e||(e=hr),Ft({reactionScheduler:e})}var _r=function(){return!0};function pr(e){return Ht(Qn(e,t));var t}var gr=!1;function br(e){gr=e}function yr(){return gr}var mr,Or,Sr=function(){function e(e){var t=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(e){void 0===e&&(e=1e4),clearTimeout(t.sweepTimeout),t.sweepTimeout=void 0;var n=Date.now();t.registrations.forEach((function(r,i){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(i))})),t.registrations.size>0&&t.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){t.sweep(0)}})}return Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){this.registrations.set(n,{value:t,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.registrations.delete(e)}}),Object.defineProperty(e.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){void 0===this.sweepTimeout&&(this.sweepTimeout=setTimeout(this.sweep,1e4))}}),e}(),wr=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:Sr)((function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null})),xr=n(634);function Ar(e){e.reaction=new Ot("observer".concat(e.name),(function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)}))}function jr(e,t){if(void 0===t&&(t="observed"),yr())return e();var n=fr().useRef(null);if(!n.current){var r={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return wr.unregister(r),r.onStoreChange=e,r.reaction||(Ar(r),r.stateVersion=Symbol()),function(){var e;r.onStoreChange=null,null===(e=r.reaction)||void 0===e||e.dispose(),r.reaction=null}},getSnapshot:function(){return r.stateVersion}};n.current=r}var i,o,a=n.current;if(a.reaction||(Ar(a),wr.register(n,a,a)),fr().useDebugValue(a.reaction,pr),(0,xr.useSyncExternalStore)(a.subscribe,a.getSnapshot,a.getSnapshot),a.reaction.track((function(){try{i=e()}catch(e){o=e}})),o)throw o;return i}var kr="function"==typeof Symbol&&Symbol.for,Er=null!==(Or=null===(mr=Object.getOwnPropertyDescriptor((function(){}),"name"))||void 0===mr?void 0:mr.configurable)&&void 0!==Or&&Or,Tr=kr?Symbol.for("react.forward_ref"):"function"==typeof lr.forwardRef&&(0,lr.forwardRef)((function(e){return null})).$$typeof,Pr=kr?Symbol.for("react.memo"):"function"==typeof lr.memo&&(0,lr.memo)((function(e){return null})).$$typeof;function Lr(e,t){var n;if(Pr&&e.$$typeof===Pr)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");if(yr())return e;var r=null!==(n=null==t?void 0:t.forwardRef)&&void 0!==n&&n,i=e,o=e.displayName||e.name;if(Tr&&e.$$typeof===Tr&&(r=!0,"function"!=typeof(i=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var a,s,u=function(e,t){return jr((function(){return i(e,t)}),o)};return u.displayName=e.displayName,Er&&Object.defineProperty(u,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(u.contextTypes=e.contextTypes),r&&(u=(0,lr.forwardRef)(u)),u=(0,lr.memo)(u),a=e,s=u,Object.keys(a).forEach((function(e){Nr[e]||Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(a,e))})),u}var Mr,Nr={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function Cr(e){var t=e.children,n=e.render;t&&n&&console.error("MobX Observer: Do not use children and render in the same time in `Observer`");var r=t||n;return"function"!=typeof r?null:jr(r)}function Rr(e,t){return(0,lr.useState)((function(){return Re(e(),t,{autoBind:!0})}))[0]}function Dr(e){var t=(0,lr.useState)((function(){return Re(e,{},{deep:!1})}))[0];return function(e){Fe(0,!1,e,this,void 0)}((function(){Object.assign(t,e)})),t}function Vr(e,t){var n=t&&Dr(t);return(0,lr.useState)((function(){return Re(e(n),void 0,{autoBind:!0})}))[0]}Cr.displayName="Observer",vr(dr.unstable_batchedUpdates);var Ir=null!==(Mr=wr.finalizeAllImmediately)&&void 0!==Mr?Mr:function(){};function Br(e,t){return void 0===t&&(t="observed"),jr(e,t)}function Ur(e){br(e)}},89:(e,t,n)=>{n.r(t),n.d(t,{default:()=>g});var r=n(478),i=n.n(r),o=n(135),a=n.n(o),s=n(301),u=n.n(s),c=n(222),l=n.n(c),f=n(626),d=n.n(f),h=n(279),v=n.n(h),_=n(428),p={};p.styleTagTransform=v(),p.setAttributes=l(),p.insert=u().bind(null,"head"),p.domAPI=a(),p.insertStyleElement=d(),i()(_.A,p);const g=_.A&&_.A.locals?_.A.locals:void 0},478:e=>{var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},a=[],s=0;s<e.length;s++){var u=e[s],c=r.base?u[0]+r.base:u[0],l=o[c]||0,f="".concat(c," ").concat(l);o[c]=l+1;var d=n(f),h={css:u[1],media:u[2],sourceMap:u[3],supports:u[4],layer:u[5]};if(-1!==d)t[d].references++,t[d].updater(h);else{var v=i(h,r);r.byIndex=s,t.splice(s,0,{identifier:f,updater:v,references:1})}a.push(f)}return a}function i(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,i){var o=r(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=n(o[a]);t[s].references--}for(var u=r(e,i),c=0;c<o.length;c++){var l=n(o[c]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}o=u}}},301:e=>{var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},626:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},222:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},135:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var i=void 0!==n.layer;i&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,i&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},279:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},319:(e,t,n)=>{var r=n(953),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,u=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,l=r[1];return s((function(){i.value=n,i.getSnapshot=t,c(i)&&l({inst:i})}),[e,n,t]),a((function(){return c(i)&&l({inst:i}),e((function(){c(i)&&l({inst:i})}))}),[e]),u(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l},634:(e,t,n)=>{e.exports=n(319)},306:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useStationLogin=void 0;const o=n(953),a=i(n(768));t.useStationLogin=e=>{const t=e.cc,n=e.onLogin,i=e.onLogout,s=e.logger,[u,c]=(0,o.useState)(""),[l,f]=(0,o.useState)(e.deviceType||""),[d,h]=(0,o.useState)(""),[v,_]=(0,o.useState)(),[p,g]=(0,o.useState)(),[b,y]=(0,o.useState)();return{name:"StationLogin",setDeviceType:f,setDialNumber:c,setTeam:h,login:()=>{t.stationLogin({teamId:d,loginOption:l,dialNumber:u}).then((e=>{_(e),a.default.setDeviceType(l),a.default.setIsAgentLoggedIn(!0),e.data.auxCodeId&&a.default.setCurrentState(e.data.auxCodeId),e.data.lastStateChangeTimestamp&&a.default.setLastStateChangeTimestamp(new Date(e.data.lastStateChangeTimestamp)),n&&n()})).catch((e=>{s.error(`Error logging in: ${e}`,{module:"widget-station-login#helper.ts",method:"login"}),g(e)}))},logout:()=>{t.stationLogout({logoutReason:"User requested logout"}).then((e=>{y(e),a.default.setIsAgentLoggedIn(!1),a.default.setDeviceType(""),i&&i()})).catch((e=>{s.error(`Error logging out: ${e}`,{module:"widget-station-login#helper.ts",method:"logout"})}))},relogin:function(){a.default.setDeviceType(l),n&&n()},loginSuccess:v,loginFailure:p,logoutSuccess:b,handleContinue:()=>r(void 0,void 0,void 0,(function*(){try{a.default.setShowMultipleLoginAlert(!1),yield a.default.registerCC(),a.default.isAgentLoggedIn?s.log("Agent Relogin Success",{module:"widget-station-login#station-login/helper.ts",method:"handleContinue"}):s.error("Agent Relogin Failed",{module:"widget-station-login#station-login/helper.ts",method:"handleContinue"})}catch(e){s.error(`Error handling agent multi login continue: ${e}`,{module:"widget-station-login#station-login/index.tsx",method:"handleContinue"})}}))}}},214:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MULTIPLE_SIGN_IN_ALERT_TITLE=t.MULTIPLE_SIGN_IN_ALERT_MESSAGE=void 0,t.MULTIPLE_SIGN_IN_ALERT_MESSAGE="You are signed in to the Desktop in multiple application instances. Click Continue to proceed with the Desktop in this application instance. Else, close this window.",t.MULTIPLE_SIGN_IN_ALERT_TITLE="Multiple Sign In Alert"},17:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.StationLogin=void 0;const i=r(n(953)),o=r(n(768)),a=n(62),s=r(n(688)),u=n(306),c=(0,a.observer)((({onLogin:e,onLogout:t})=>{const{cc:n,teams:r,loginOptions:a,logger:c,isAgentLoggedIn:l,showMultipleLoginAlert:f,deviceType:d}=o.default,h=(0,u.useStationLogin)({cc:n,onLogin:e,onLogout:t,logger:c,deviceType:d}),v=Object.assign(Object.assign({},h),{teams:r,loginOptions:a,deviceType:d,isAgentLoggedIn:l,showMultipleLoginAlert:f});return i.default.createElement(s.default,Object.assign({},v))}));t.StationLogin=c},688:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});const a=o(n(953));n(89);const s=n(214);t.default=e=>{const{name:t,teams:n,loginOptions:r,login:i,logout:o,relogin:u,setDeviceType:c,setDialNumber:l,setTeam:f,isAgentLoggedIn:d,deviceType:h,showMultipleLoginAlert:v,handleContinue:_}=e,p=(0,a.useRef)(null);return(0,a.useEffect)((()=>{const e=document.getElementById("teamsDropdown"),t=document.querySelector("#LoginOption"),i=document.querySelector("#dialNumber");e&&(e.innerHTML="",n&&(n.forEach((t=>{const n=document.createElement("option");n.value=t.id,n.text=t.name,e.add(n)})),f(e.value),i.value="",i.disabled=!0)),r.length>0&&(r.forEach((e=>{const n=document.createElement("option");n.text=e,n.value=e,t.add(n)})),t&&h&&(t.value=h))}),[n,r]),(0,a.useEffect)((()=>{const e=p.current;v&&e&&e.showModal()}),[v,p]),(0,a.useEffect)((()=>{if(!d)return;const e=document.querySelector("#LoginOption");e&&!e.value&&(c(h),e.value=h,u())}),[d]),a.default.createElement(a.default.Fragment,null,v&&a.default.createElement("dialog",{ref:p,className:"modal"},a.default.createElement("h2",null,s.MULTIPLE_SIGN_IN_ALERT_TITLE),a.default.createElement("p",null,s.MULTIPLE_SIGN_IN_ALERT_MESSAGE),a.default.createElement("div",{className:"modal-content"},a.default.createElement("button",{id:"ContinueButton","data-testid":"ContinueButton",onClick:()=>{const e=p.current;e&&(e.close(),_())}},"Continue"))),a.default.createElement("h1",{"data-testid":"station-login-heading"},t),a.default.createElement("div",{className:"box"},a.default.createElement("section",{className:"section-box"},a.default.createElement("fieldset",{className:"fieldset"},a.default.createElement("legend",{className:"legend-box"},"Agent"),a.default.createElement("div",{style:{display:"flex",flexDirection:"column",flexGrow:1}},a.default.createElement("div",{style:{display:"flex",gap:"1rem"}},a.default.createElement("fieldset",{style:{border:"1px solid #ccc",borderRadius:"5px",padding:"10px",marginBottom:"20px",flex:.69}},a.default.createElement("legend",{className:"legend-box"},"Select Team"),a.default.createElement("select",{id:"teamsDropdown",className:"select"},"Teams")),a.default.createElement("fieldset",{className:"fieldset"},a.default.createElement("legend",{className:"legend-box"},"Agent Login"),a.default.createElement("select",{name:"LoginOption",id:"LoginOption",className:"select",onChange:e=>{const t=document.querySelector("#dialNumber"),n=e.target.value;c(n),t.disabled="AGENT_DN"!==n&&"EXTENSION"!==n}},a.default.createElement("option",{value:"",hidden:!0},"Choose Agent Login Option...")),a.default.createElement("input",{className:"input",id:"dialNumber",name:"dialNumber",placeholder:"Extension/Dial Number",type:"text",onInput:function(){const e=document.querySelector("#dialNumber");l(e.value)}}),d?a.default.createElement("button",{id:"logoutAgent",className:"btn",onClick:o},"Logout"):a.default.createElement("button",{id:"AgentLogin",className:"btn",onClick:i},"Login"))))))))}},768:e=>{e.exports=require("@webex/cc-store")},953:e=>{e.exports=require("react")}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var r={};(()=>{var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.StationLogin=void 0;const t=n(17);Object.defineProperty(e,"StationLogin",{enumerable:!0,get:function(){return t.StationLogin}})})(),module.exports=r})();
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @license React
3
+ * use-sync-external-store-shim.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */
@@ -1,4 +1,4 @@
1
- import { UseStationLoginProps } from "./station-login/station-login.types";
1
+ import { UseStationLoginProps } from './station-login/station-login.types';
2
2
  export declare const useStationLogin: (props: UseStationLoginProps) => {
3
3
  name: string;
4
4
  setDeviceType: import("react").Dispatch<import("react").SetStateAction<string>>;
@@ -6,7 +6,9 @@ export declare const useStationLogin: (props: UseStationLoginProps) => {
6
6
  setTeam: import("react").Dispatch<import("react").SetStateAction<string>>;
7
7
  login: () => void;
8
8
  logout: () => void;
9
+ relogin: () => void;
9
10
  loginSuccess: StationLoginSuccess;
10
11
  loginFailure: Error;
11
12
  logoutSuccess: StationLogoutSuccess;
13
+ handleContinue: () => Promise<void>;
12
14
  };
@@ -1,2 +1,2 @@
1
- import { StationLogin, WebStationLogin } from './station-login';
2
- export { StationLogin, WebStationLogin };
1
+ import { StationLogin } from './station-login';
2
+ export { StationLogin };
@@ -0,0 +1,2 @@
1
+ export declare const MULTIPLE_SIGN_IN_ALERT_MESSAGE = "You are signed in to the Desktop in multiple application instances. Click Continue to proceed with the Desktop in this application instance. Else, close this window.";
2
+ export declare const MULTIPLE_SIGN_IN_ALERT_TITLE = "Multiple Sign In Alert";
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
2
  import { StationLoginProps } from './station-login.types';
3
3
  declare const StationLogin: React.FunctionComponent<StationLoginProps>;
4
- declare const WebStationLogin: CustomElementConstructor;
5
- export { StationLogin, WebStationLogin };
4
+ export { StationLogin };
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
2
  import { StationLoginPresentationalProps } from './station-login.types';
3
+ import './station-login.style.scss';
3
4
  declare const StationLoginPresentational: React.FunctionComponent<StationLoginPresentationalProps>;
4
5
  export default StationLoginPresentational;
@@ -1,4 +1,5 @@
1
1
  import { IContactCenter, StationLoginSuccess, StationLogoutSuccess, Team } from '@webex/plugin-cc';
2
+ import { ILogger } from '@webex/cc-store';
2
3
  /**
3
4
  * Interface representing the properties for the Station Login component.
4
5
  */
@@ -16,8 +17,8 @@ export interface IStationLoginProps {
16
17
  */
17
18
  teams: Team[];
18
19
  /**
19
- * Station login options available for the agent
20
- */
20
+ * Station login options available for the agent
21
+ */
21
22
  loginOptions: string[];
22
23
  /**
23
24
  * Handler to initiate the agent login
@@ -36,17 +37,25 @@ export interface IStationLoginProps {
36
37
  */
37
38
  loginFailure?: Error;
38
39
  /**
39
- * Response data received on agent login success
40
- */
40
+ * Response data received on agent login success
41
+ */
41
42
  logoutSuccess?: StationLogoutSuccess;
43
+ /**
44
+ * Flag to indicate if the agent is logged in
45
+ */
46
+ isAgentLoggedIn: boolean;
47
+ /**
48
+ * The selected device type for agent login
49
+ */
50
+ deviceType: string;
42
51
  /**
43
52
  * Callback function to be invoked once the agent login is successful
44
53
  */
45
- onLogin: () => void;
54
+ onLogin?: () => void;
46
55
  /**
47
56
  * Callback function to be invoked once the agent login is successful
48
57
  */
49
- onLogout: () => void;
58
+ onLogout?: () => void;
50
59
  /**
51
60
  * Handler to set device type
52
61
  */
@@ -59,7 +68,25 @@ export interface IStationLoginProps {
59
68
  * Handler to set the selected agent team
60
69
  */
61
70
  setTeam: (team: string) => void;
71
+ /**
72
+ * The logger instance from SDK
73
+ */
74
+ logger: ILogger;
75
+ /**
76
+ * Handler to relogin the agent
77
+ */
78
+ relogin: () => void;
79
+ /**
80
+ * Handler to relogin the agent when the agent is already logged in
81
+ */
82
+ handleContinue: () => void;
83
+ /**
84
+ * Flag to indicate if the alert should be shown
85
+ */
86
+ showMultipleLoginAlert: boolean;
62
87
  }
63
- export type StationLoginPresentationalProps = Pick<IStationLoginProps, 'name' | 'teams' | 'loginOptions' | 'login' | 'logout' | 'loginSuccess' | 'loginFailure' | 'logoutSuccess' | 'setDeviceType' | 'setDialNumber' | 'setTeam'>;
64
- export type UseStationLoginProps = Pick<IStationLoginProps, 'cc' | 'onLogin' | 'onLogout'>;
88
+ export type StationLoginPresentationalProps = Pick<IStationLoginProps, 'name' | 'teams' | 'loginOptions' | 'login' | 'logout' | 'relogin' | 'loginSuccess' | 'loginFailure' | 'logoutSuccess' | 'setDeviceType' | 'setDialNumber' | 'setTeam' | 'isAgentLoggedIn' | 'handleContinue' | 'deviceType'> & {
89
+ showMultipleLoginAlert: boolean;
90
+ };
91
+ export type UseStationLoginProps = Pick<IStationLoginProps, 'cc' | 'onLogin' | 'onLogout' | 'logger' | 'deviceType'>;
65
92
  export type StationLoginProps = Pick<IStationLoginProps, 'onLogin' | 'onLogout'>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webex/cc-station-login",
3
3
  "description": "Webex Contact Center Widgets: Station Login",
4
- "version": "1.28.0-ccwidgets.2",
4
+ "version": "1.28.0-ccwidgets.20",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -11,17 +11,16 @@
11
11
  "package.json"
12
12
  ],
13
13
  "scripts": {
14
+ "clean": "rm -rf dist && rm -rf node_modules",
15
+ "clean:dist": "rm -rf dist",
14
16
  "build": "yarn run -T tsc",
15
- "build:src": "webpack && yarn run build",
17
+ "build:src": "yarn run clean:dist && webpack",
16
18
  "build:watch": "webpack --watch",
17
- "test:unit": "jest"
19
+ "test:unit": "jest --coverage"
18
20
  },
19
21
  "dependencies": {
20
- "@r2wc/react-to-web-component": "2.0.3",
21
- "@webex/cc-store": "1.28.0-ccwidgets.2",
22
- "mobx-react": "9.1.1",
23
- "react": "18.3.1",
24
- "react-dom": "18.3.1"
22
+ "@webex/cc-store": "1.28.0-ccwidgets.20",
23
+ "mobx-react-lite": "^4.1.0"
25
24
  },
26
25
  "devDependencies": {
27
26
  "@babel/core": "7.25.2",
@@ -44,12 +43,20 @@
44
43
  "webpack-cli": "5.1.4",
45
44
  "webpack-merge": "6.0.1"
46
45
  },
46
+ "peerDependencies": {
47
+ "react": ">=18.3.1",
48
+ "react-dom": ">=18.3.1"
49
+ },
47
50
  "jest": {
48
51
  "testEnvironment": "jsdom",
49
52
  "testMatch": [
50
53
  "**/tests/**/*.ts",
51
54
  "**/tests/**/*.tsx"
52
- ]
55
+ ],
56
+ "verbose": true,
57
+ "moduleNameMapper": {
58
+ "^.+\\.(css|less|scss)$": "babel-jest"
59
+ }
53
60
  },
54
- "stableVersion": "1.28.0-ccwidgets.1"
61
+ "stableVersion": "1.28.0-ccwidgets.19"
55
62
  }
package/dist/helper.js DELETED
@@ -1,37 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useStationLogin = void 0;
4
- const react_1 = require("react");
5
- const useStationLogin = (props) => {
6
- const cc = props.cc;
7
- const loginCb = props.onLogin;
8
- const logoutCb = props.onLogout;
9
- const [dialNumber, setDialNumber] = (0, react_1.useState)('');
10
- const [deviceType, setDeviceType] = (0, react_1.useState)('');
11
- const [team, setTeam] = (0, react_1.useState)('');
12
- const [loginSuccess, setLoginSuccess] = (0, react_1.useState)();
13
- const [loginFailure, setLoginFailure] = (0, react_1.useState)();
14
- const [logoutSuccess, setLogoutSuccess] = (0, react_1.useState)();
15
- const login = () => {
16
- cc.stationLogin({ teamId: team, loginOption: deviceType, dialNumber: dialNumber })
17
- .then((res) => {
18
- setLoginSuccess(res);
19
- loginCb();
20
- }).catch((error) => {
21
- console.error(error);
22
- setLoginFailure(error);
23
- });
24
- };
25
- const logout = () => {
26
- cc.stationLogout({ logoutReason: 'User requested logout' })
27
- .then((res) => {
28
- setLogoutSuccess(res);
29
- logoutCb();
30
- }).catch((error) => {
31
- console.error(error);
32
- });
33
- };
34
- return { name: 'StationLogin', setDeviceType, setDialNumber, setTeam, login, logout, loginSuccess, loginFailure, logoutSuccess };
35
- };
36
- exports.useStationLogin = useStationLogin;
37
- //# sourceMappingURL=helper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"helper.js","sourceRoot":"","sources":["../src/helper.ts"],"names":[],"mappings":";;;AAAA,iCAA+B;AAIxB,MAAM,eAAe,GAAG,CAAC,KAA2B,EAAE,EAAE;IAC7D,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;IACpB,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC;IAC9B,MAAM,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;IAChC,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,IAAA,gBAAQ,EAAC,EAAE,CAAC,CAAC;IACjD,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,IAAA,gBAAQ,EAAC,EAAE,CAAC,CAAC;IACjD,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,IAAA,gBAAQ,EAAC,EAAE,CAAC,CAAC;IACrC,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,GAAuB,CAAC;IACxE,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,GAAS,CAAC;IAC1D,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,IAAA,gBAAQ,GAAwB,CAAC;IAE3E,MAAM,KAAK,GAAG,GAAG,EAAE;QACjB,EAAE,CAAC,YAAY,CAAC,EAAC,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAC,CAAC;aAC7E,IAAI,CAAC,CAAC,GAAwB,EAAE,EAAE;YACjC,eAAe,CAAC,GAAG,CAAC,CAAC;YACrB,OAAO,EAAE,CAAC;QACZ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAY,EAAE,EAAE;YACxB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YACrB,eAAe,CAAC,KAAK,CAAC,CAAC;QACzB,CAAC,CAAC,CAAC;IACP,CAAC,CAAC;IAEF,MAAM,MAAM,GAAG,GAAG,EAAE;QAClB,EAAE,CAAC,aAAa,CAAC,EAAC,YAAY,EAAE,uBAAuB,EAAC,CAAC;aACtD,IAAI,CAAC,CAAC,GAAyB,EAAE,EAAE;YAClC,gBAAgB,CAAC,GAAG,CAAC,CAAC;YACtB,QAAQ,EAAE,CAAC;QACb,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAU,EAAE,EAAE;YACtB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACvB,CAAC,CAAC,CAAC;IACP,CAAC,CAAC;IAEF,OAAO,EAAC,IAAI,EAAE,cAAc,EAAE,aAAa,EAAE,aAAa,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAC,CAAC;AACjI,CAAC,CAAA;AAjCY,QAAA,eAAe,mBAiC3B"}
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,mDAA8D;AAEtD,6FAFA,4BAAY,OAEA;AAAE,gGAFA,+BAAe,OAEA"}
@@ -1,31 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.WebStationLogin = exports.StationLogin = void 0;
7
- const react_1 = __importDefault(require("react"));
8
- const react_to_web_component_1 = __importDefault(require("@r2wc/react-to-web-component"));
9
- const cc_store_1 = __importDefault(require("@webex/cc-store"));
10
- const mobx_react_1 = require("mobx-react");
11
- const station_login_presentational_1 = __importDefault(require("./station-login.presentational"));
12
- const helper_1 = require("../helper");
13
- const StationLogin = (0, mobx_react_1.observer)(({ onLogin, onLogout }) => {
14
- const { cc, teams, loginOptions } = cc_store_1.default;
15
- const result = (0, helper_1.useStationLogin)({ cc, onLogin, onLogout });
16
- const props = Object.assign(Object.assign({}, result), { teams,
17
- loginOptions });
18
- return react_1.default.createElement(station_login_presentational_1.default, Object.assign({}, props));
19
- });
20
- exports.StationLogin = StationLogin;
21
- const WebStationLogin = (0, react_to_web_component_1.default)(StationLogin, {
22
- props: {
23
- onLogin: "function",
24
- onLogout: "function"
25
- }
26
- });
27
- exports.WebStationLogin = WebStationLogin;
28
- if (!customElements.get('widget-cc-station-login')) {
29
- customElements.define('widget-cc-station-login', WebStationLogin);
30
- }
31
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/station-login/index.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,0FAAgD;AAChD,+DAAoC;AACpC,2CAAoC;AAEpC,kGAAwE;AACxE,sCAA0C;AAG1C,MAAM,YAAY,GAA+C,IAAA,qBAAQ,EAAC,CAAC,EAAC,OAAO,EAAE,QAAQ,EAAC,EAAE,EAAE;IAChG,MAAM,EAAC,EAAE,EAAE,KAAK,EAAE,YAAY,EAAC,GAAG,kBAAK,CAAC;IACxC,MAAM,MAAM,GAAG,IAAA,wBAAe,EAAC,EAAC,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAC,CAAC,CAAC;IAExD,MAAM,KAAK,mCACN,MAAM,KACT,KAAK;QACL,YAAY,GACb,CAAC;IACF,OAAO,8BAAC,sCAA0B,oBAAK,KAAK,EAAI,CAAC;AACnD,CAAC,CAAC,CAAC;AAaK,oCAAY;AAXpB,MAAM,eAAe,GAAG,IAAA,gCAAI,EAAC,YAAY,EAAE;IACzC,KAAK,EAAE;QACL,OAAO,EAAE,UAAU;QACnB,QAAQ,EAAE,UAAU;KACrB;CACF,CAAC,CAAC;AAMmB,0CAAe;AAJrC,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,yBAAyB,CAAC,EAAE,CAAC;IACnD,cAAc,CAAC,MAAM,CAAC,yBAAyB,EAAE,eAAe,CAAC,CAAC;AACpE,CAAC"}
@@ -1,142 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- const react_1 = __importStar(require("react"));
27
- const StationLoginPresentational = (props) => {
28
- const { name, teams, loginOptions, login, logout, setDeviceType, setDialNumber, setTeam } = props; // TODO: Use the loginSuccess, loginFailure, logoutSuccess props returned fromthe API response via helper file to reflect UI changes
29
- (0, react_1.useEffect)(() => {
30
- const teamsDropdown = document.getElementById('teamsDropdown');
31
- const agentLogin = document.querySelector('#LoginOption');
32
- const dialNumber = document.querySelector('#dialNumber');
33
- if (teamsDropdown) {
34
- teamsDropdown.innerHTML = '';
35
- if (teams) {
36
- teams.forEach((team) => {
37
- const option = document.createElement('option');
38
- option.value = team.id;
39
- option.text = team.name;
40
- teamsDropdown.add(option);
41
- });
42
- setTeam(teamsDropdown.value);
43
- dialNumber.value = '';
44
- dialNumber.disabled = true;
45
- }
46
- }
47
- if (loginOptions.length > 0) {
48
- loginOptions.forEach((options) => {
49
- const option = document.createElement('option');
50
- option.text = options;
51
- option.value = options;
52
- agentLogin.add(option);
53
- });
54
- }
55
- }, [teams, loginOptions]);
56
- const selectLoginOption = (event) => {
57
- const dialNumber = document.querySelector('#dialNumber');
58
- const deviceType = event.target.value;
59
- setDeviceType(deviceType);
60
- if (deviceType === 'AGENT_DN' || deviceType === 'EXTENSION') {
61
- dialNumber.disabled = false;
62
- }
63
- else {
64
- dialNumber.disabled = true;
65
- }
66
- };
67
- function updateDN() {
68
- const dialNumber = document.querySelector('#dialNumber');
69
- setDialNumber(dialNumber.value);
70
- }
71
- const styles = {
72
- box: {
73
- backgroundColor: '#ffffff',
74
- borderRadius: '8px',
75
- boxShadow: '0 2px 4px rgba(0, 0, 0, 0.1)',
76
- padding: '20px',
77
- maxWidth: '800px',
78
- margin: '0 auto'
79
- },
80
- sectionBox: {
81
- padding: '10px',
82
- border: '1px solid #ddd',
83
- borderRadius: '8px'
84
- },
85
- fieldset: {
86
- border: '1px solid #ccc',
87
- borderRadius: '5px',
88
- padding: '10px',
89
- marginBottom: '20px'
90
- },
91
- legendBox: {
92
- fontWeight: 'bold',
93
- color: '#0052bf'
94
- },
95
- btn: {
96
- padding: '10px 20px',
97
- backgroundColor: '#0052bf',
98
- color: 'white',
99
- border: 'none',
100
- borderRadius: '4px',
101
- cursor: 'pointer',
102
- transition: 'background-color 0.3s',
103
- marginRight: '8px'
104
- },
105
- select: {
106
- width: '100%',
107
- padding: '8px',
108
- marginTop: '8px',
109
- marginBottom: '12px',
110
- border: '1px solid #ccc',
111
- borderRadius: '4px'
112
- },
113
- input: {
114
- width: '97%',
115
- padding: '8px',
116
- marginTop: '8px',
117
- marginBottom: '12px',
118
- border: '1px solid #ccc',
119
- borderRadius: '4px'
120
- }
121
- };
122
- return (react_1.default.createElement(react_1.default.Fragment, null,
123
- react_1.default.createElement("h1", { "data-testid": "station-login-heading" }, name),
124
- react_1.default.createElement("div", { style: styles.box },
125
- react_1.default.createElement("section", { style: styles.sectionBox },
126
- react_1.default.createElement("fieldset", { style: styles.fieldset },
127
- react_1.default.createElement("legend", { style: styles.legendBox }, "Agent"),
128
- react_1.default.createElement("div", { style: { display: 'flex', flexDirection: 'column', flexGrow: 1 } },
129
- react_1.default.createElement("div", { style: { display: 'flex', gap: '1rem' } },
130
- react_1.default.createElement("fieldset", { style: { border: '1px solid #ccc', borderRadius: '5px', padding: '10px', marginBottom: '20px', flex: 0.69 } },
131
- react_1.default.createElement("legend", { style: styles.legendBox }, "Select Team"),
132
- react_1.default.createElement("select", { id: "teamsDropdown", style: styles.select }, "Teams")),
133
- react_1.default.createElement("fieldset", { style: styles.fieldset },
134
- react_1.default.createElement("legend", { style: styles.legendBox }, "Agent Login"),
135
- react_1.default.createElement("select", { name: "LoginOption", id: "LoginOption", style: styles.select, onChange: selectLoginOption },
136
- react_1.default.createElement("option", { value: "", selected: true, hidden: true }, "Choose Agent Login Option...")),
137
- react_1.default.createElement("input", { style: styles.input, id: "dialNumber", name: "dialNumber", placeholder: "Extension/Dial Number", type: "text", onInput: updateDN }),
138
- react_1.default.createElement("button", { id: "AgentLogin", style: styles.btn, onClick: login }, "Login"),
139
- react_1.default.createElement("button", { id: "logoutAgent", style: styles.btn, onClick: logout }, "Logout")))))))));
140
- };
141
- exports.default = StationLoginPresentational;
142
- //# sourceMappingURL=station-login.presentational.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"station-login.presentational.js","sourceRoot":"","sources":["../../src/station-login/station-login.presentational.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAuC;AAGvC,MAAM,0BAA0B,GAA6D,CAAC,KAAK,EAAE,EAAE;IACrG,MAAM,EAAC,IAAI,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,EAAE,OAAO,EAAC,GAAG,KAAK,CAAC,CAAC,qIAAqI;IAEtO,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,MAAM,aAAa,GAAG,QAAQ,CAAC,cAAc,CAAC,eAAe,CAAsB,CAAC;QACpF,MAAM,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC,cAAc,CAAsB,CAAC;QAC/E,MAAM,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC,aAAa,CAAqB,CAAC;QAC7E,IAAI,aAAa,EAAE,CAAC;YAClB,aAAa,CAAC,SAAS,GAAG,EAAE,CAAC;YAC7B,IAAI,KAAK,EAAE,CAAC;gBACV,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;oBACrB,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;oBAChD,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC,EAAE,CAAC;oBACvB,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;oBACxB,aAAa,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;gBAC5B,CAAC,CAAC,CAAC;gBACH,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;gBAC7B,UAAU,CAAC,KAAK,GAAG,EAAE,CAAC;gBACtB,UAAU,CAAC,QAAQ,GAAG,IAAI,CAAC;YAC7B,CAAC;QACH,CAAC;QACD,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC5B,YAAY,CAAC,OAAO,CAAC,CAAC,OAAO,EAAC,EAAE;gBAC9B,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;gBAChD,MAAM,CAAC,IAAI,GAAG,OAAO,CAAC;gBACtB,MAAM,CAAC,KAAK,GAAG,OAAO,CAAC;gBACvB,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;YACzB,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC;IAE1B,MAAM,iBAAiB,GAAG,CAAC,KAAsC,EAAE,EAAE;QACnE,MAAM,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC,aAAa,CAAqB,CAAC;QAC7E,MAAM,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC;QACtC,aAAa,CAAC,UAAU,CAAC,CAAC;QAC1B,IAAI,UAAU,KAAK,UAAU,IAAI,UAAU,KAAK,WAAW,EAAE,CAAC;YAC5D,UAAU,CAAC,QAAQ,GAAG,KAAK,CAAC;QAC9B,CAAC;aAAM,CAAC;YACN,UAAU,CAAC,QAAQ,GAAG,IAAI,CAAC;QAC7B,CAAC;IACH,CAAC,CAAC;IAEF,SAAS,QAAQ;QACf,MAAM,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC,aAAa,CAAqB,CAAC;QAC7E,aAAa,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IAClC,CAAC;IAED,MAAM,MAAM,GAAG;QACb,GAAG,EAAE;YACH,eAAe,EAAE,SAAS;YAC1B,YAAY,EAAE,KAAK;YACnB,SAAS,EAAE,8BAA8B;YACzC,OAAO,EAAE,MAAM;YACf,QAAQ,EAAE,OAAO;YACjB,MAAM,EAAE,QAAQ;SACjB;QAED,UAAU,EAAE;YACV,OAAO,EAAE,MAAM;YACf,MAAM,EAAE,gBAAgB;YACxB,YAAY,EAAE,KAAK;SACpB;QAED,QAAQ,EAAG;YACT,MAAM,EAAE,gBAAgB;YACxB,YAAY,EAAE,KAAK;YACnB,OAAO,EAAE,MAAM;YACf,YAAY,EAAE,MAAM;SACrB;QAED,SAAS,EAAE;YACT,UAAU,EAAE,MAAM;YAClB,KAAK,EAAE,SAAS;SACjB;QAED,GAAG,EAAE;YACH,OAAO,EAAE,WAAW;YACpB,eAAe,EAAE,SAAS;YAC1B,KAAK,EAAE,OAAO;YACd,MAAM,EAAE,MAAM;YACd,YAAY,EAAE,KAAK;YACnB,MAAM,EAAE,SAAS;YACjB,UAAU,EAAE,uBAAuB;YACnC,WAAW,EAAE,KAAK;SACnB;QAED,MAAM,EAAE;YACN,KAAK,EAAE,MAAM;YACb,OAAO,EAAE,KAAK;YACd,SAAS,EAAE,KAAK;YAChB,YAAY,EAAE,MAAM;YACpB,MAAM,EAAE,gBAAgB;YACxB,YAAY,EAAE,KAAK;SACpB;QAED,KAAK,EAAE;YACL,KAAK,EAAE,KAAK;YACZ,OAAO,EAAE,KAAK;YACd,SAAS,EAAE,KAAK;YAChB,YAAY,EAAE,MAAM;YACpB,MAAM,EAAE,gBAAgB;YACxB,YAAY,EAAE,KAAK;SACpB;KACF,CAAA;IAED,OAAO,CACL;QAAE,qDAAgB,uBAAuB,IAAE,IAAI,CAAM;QACnD,uCAAK,KAAK,EAAE,MAAM,CAAC,GAAG;YACtB,2CAAS,KAAK,EAAE,MAAM,CAAC,UAAU;gBAC/B,4CAAU,KAAK,EAAE,MAAM,CAAC,QAAQ;oBAChC,0CAAQ,KAAK,EAAE,MAAM,CAAC,SAAS,YAAgB;oBAC7C,uCAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,EAAE;wBACnE,uCAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE;4BAC1C,4CAAU,KAAK,EAAE,EAAC,MAAM,EAAE,gBAAgB,EAAE,YAAY,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE;gCAClH,0CAAQ,KAAK,EAAE,MAAM,CAAC,SAAS,kBAAsB;gCACrD,0CAAQ,EAAE,EAAC,eAAe,EAAC,KAAK,EAAE,MAAM,CAAC,MAAM,YAAgB,CACtD;4BACX,4CAAU,KAAK,EAAE,MAAM,CAAC,QAAQ;gCAC9B,0CAAQ,KAAK,EAAE,MAAM,CAAC,SAAS,kBAAsB;gCACrD,0CAAQ,IAAI,EAAC,aAAa,EAAC,EAAE,EAAC,aAAa,EAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,EAAE,iBAAiB;oCAC3F,0CAAQ,KAAK,EAAC,EAAE,EAAC,QAAQ,QAAC,MAAM,yCAAsC,CAC/D;gCACT,yCAAO,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,EAAE,EAAC,YAAY,EAAC,IAAI,EAAC,YAAY,EAAC,WAAW,EAAC,uBAAuB,EAAC,IAAI,EAAC,MAAM,EAAC,OAAO,EAAE,QAAQ,GAAI;gCACnI,0CAAQ,EAAE,EAAC,YAAY,EAAC,KAAK,EAAE,MAAM,CAAC,GAAG,EAAE,OAAO,EAAE,KAAK,YAAgB;gCACzE,0CAAQ,EAAE,EAAC,aAAa,EAAC,KAAK,EAAE,MAAM,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,aAAiB,CACnE,CACP,CACF,CACG,CACH,CACN,CAAG,CACV,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,0BAA0B,CAAC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=station-login.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"station-login.types.js","sourceRoot":"","sources":["../../src/station-login/station-login.types.ts"],"names":[],"mappings":""}