@webex/cc-widgets 1.28.0-ccwidgets.18 → 1.28.0-ccwidgets.19

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,5 +1,5 @@
1
1
  /*! For license information please see index.js.LICENSE.txt */
2
- (()=>{var e={156:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.store=t.TaskList=t.CallControl=t.IncomingTask=t.UserState=t.StationLogin=void 0;const o=n(207);Object.defineProperty(t,"StationLogin",{enumerable:!0,get:function(){return o.StationLogin}});const i=n(758);Object.defineProperty(t,"UserState",{enumerable:!0,get:function(){return i.UserState}});const a=n(32);Object.defineProperty(t,"IncomingTask",{enumerable:!0,get:function(){return a.IncomingTask}}),Object.defineProperty(t,"TaskList",{enumerable:!0,get:function(){return a.TaskList}}),Object.defineProperty(t,"CallControl",{enumerable:!0,get:function(){return a.CallControl}});const s=r(n(768));t.store=s.default},207:(e,t,n)=>{(()=>{"use strict";var t={428:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(63),o=n.n(r),i=n(248),a=n.n(i)()(o());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,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);r&&a[d[0]]||(void 0!==i&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=i),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),o&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=o):d[4]="".concat(o)),t.push(d))}},t}},63:e=>{e.exports=function(e){return e[1]}},62:(e,t,r)=>{function o(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)}r.r(t),r.d(t,{Observer:()=>zr,_observerFinalizationRegistry:()=>Or,clearTimers:()=>Dr,enableStaticRendering:()=>br,isObserverBatched:()=>pr,isUsingStaticRendering:()=>yr,observer:()=>Cr,observerBatching:()=>hr,useAsObservableSource:()=>Ir,useLocalObservable:()=>Mr,useLocalStore:()=>Lr,useObserver:()=>Vr,useStaticRendering:()=>Br});var i={};function a(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:i}var s=Object.assign,l=Object.getOwnPropertyDescriptor,c=Object.defineProperty,d=Object.prototype,u=[];Object.freeze(u);var f={};Object.freeze(f);var m="undefined"!=typeof Proxy,h=Object.toString();function p(){m||o("Proxy not available")}function v(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var g=function(){};function b(e){return"function"==typeof e}function y(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function _(e){return null!==e&&"object"==typeof e}function x(e){if(!_(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 w(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function O(e,t,n){c(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function k(e,t,n){c(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function S(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return _(e)&&!0===e[n]}}function A(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function E(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var T=void 0!==Object.getOwnPropertySymbols,j="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:T?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function P(e){return null===e?null:"object"==typeof e?""+e:e}function C(e,t){return d.hasOwnProperty.call(e,t)}var R=Object.getOwnPropertyDescriptors||function(e){var t={};return j(e).forEach((function(n){t[n]=l(e,n)})),t};function N(e,t){return!!(e&t)}function z(e,t,n){return n?e|=t:e&=~t,e}function M(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 I(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,U(r.key),r)}}function L(e,t,n){return t&&I(e.prototype,t),n&&I(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function D(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 M(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)?M(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 V(){return V=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},V.apply(null,arguments)}function B(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$(e,t)}function $(e,t){return $=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$(e,t)}function U(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 H=Symbol("mobx-stored-annotations");function q(e){return Object.assign((function(t,n){if(G(n))return e.decorate_20223_(t,n);K(t,n,e)}),e)}function K(e,t,n){C(e,H)||O(e,H,V({},e[H])),function(e){return e.annotationType_===ee}(n)||(e[H][t]=n)}function G(e){return"object"==typeof e&&"string"==typeof e.kind}var W=Symbol("mobx administration"),F=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_=Xe.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 _t(this)},t.reportChanged=function(){bt(),xt(this),yt()},t.toString=function(){return this.name_},L(e,[{key:"isBeingObserved",get:function(){return N(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=z(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return N(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=z(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return N(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=z(this.flags_,e.diffValueMask_,1===t)}}])}();F.isBeingObservedMask_=1,F.isPendingUnobservationMask_=2,F.diffValueMask_=4;var Z=S("Atom",F);function Y(e,t,n){void 0===t&&(t=g),void 0===n&&(n=g);var r=new F(e);return t!==g&&Ut(Vt,r,t,void 0),n!==g&&$t(r,n),r}var X={identity:function(e,t){return e===t},structural:function(e,t){return or(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 or(e,t,1)}};function J(e,t,n){return en(e)?e:Array.isArray(e)?Ie.array(e,{name:n}):x(e)?Ie.object(e,void 0,{name:n}):A(e)?Ie.map(e,{name:n}):E(e)?Ie.set(e,{name:n}):"function"!=typeof e||Lt(e)||Qt(e)?e:w(e)?Xt(e):It(n,e)}function Q(e){return e}var ee="override";function te(e,t){return{annotationType_:e,options_:t,make_:ne,extend_:re,decorate_20223_:oe}}function ne(e,t,n,r){var o;if(null!=(o=this.options_)&&o.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(Lt(n.value))return 1;var i=ie(e,this,t,n,!1);return c(r,t,i),2}function re(e,t,n,r){var o=ie(e,this,t,n);return e.defineProperty_(t,o,r)}function oe(e,t){var n,r=t.kind,i=t.name,a=t.addInitializer,s=this,l=function(e){var t,n,r,o;return Ke(null!=(t=null==(n=s.options_)?void 0:n.name)?t:i.toString(),e,null!=(r=null==(o=s.options_)?void 0:o.autoAction)&&r)};return"field"==r?function(e){var t,n=e;return Lt(n)||(n=l(n)),null!=(t=s.options_)&&t.bound&&((n=n.bind(this)).isMobxAction=!0),n}:"method"==r?(Lt(e)||(e=l(e)),null!=(n=this.options_)&&n.bound&&a((function(){var e=this,t=e[i].bind(e);t.isMobxAction=!0,e[i]=t})),e):void o("Cannot apply '"+s.annotationType_+"' to '"+String(i)+"' (kind: "+r+"):\n'"+s.annotationType_+"' can only be used on properties with a function value.")}function ie(e,t,n,r,o){var i,a,s,l,c,d,u,f;void 0===o&&(o=ht.safeDescriptors),f=r,t.annotationType_,f.value;var m,h=r.value;return null!=(i=t.options_)&&i.bound&&(h=h.bind(null!=(m=e.proxy_)?m:e.target_)),{value:Ke(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),h,null!=(l=null==(c=t.options_)?void 0:c.autoAction)&&l,null!=(d=t.options_)&&d.bound?null!=(u=e.proxy_)?u:e.target_:void 0),configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function ae(e,t){return{annotationType_:e,options_:t,make_:se,extend_:le,decorate_20223_:ce}}function se(e,t,n,r){var o;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(o=this.options_)&&o.bound&&(!C(e.target_,t)||!Qt(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(Qt(n.value))return 1;var i=de(e,this,0,n,!1,!1);return c(r,t,i),2}function le(e,t,n,r){var o,i=de(e,this,0,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,i,r)}function ce(e,t){var n,r=t.name,o=t.addInitializer;return Qt(e)||(e=Xt(e)),null!=(n=this.options_)&&n.bound&&o((function(){var e=this,t=e[r].bind(e);t.isMobXFlow=!0,e[r]=t})),e}function de(e,t,n,r,o,i){var a;void 0===i&&(i=ht.safeDescriptors),a=r,t.annotationType_,a.value;var s,l=r.value;return Qt(l)||(l=Xt(l)),o&&((l=l.bind(null!=(s=e.proxy_)?s:e.target_)).isMobXFlow=!0),{value:l,configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function ue(e,t){return{annotationType_:e,options_:t,make_:fe,extend_:me,decorate_20223_:he}}function fe(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function me(e,t,n,r){return o=n,this.annotationType_,o.get,e.defineComputedProperty_(t,V({},this.options_,{get:n.get,set:n.set}),r);var o}function he(e,t){var n=this,r=t.name;return(0,t.addInitializer)((function(){var t=In(this)[W],o=V({},n.options_,{get:e,context:this});o.name||(o.name="ObservableObject."+r.toString()),t.values_.set(r,new Ye(o))})),function(){return this[W].getObservablePropValue_(r)}}function pe(e,t){return{annotationType_:e,options_:t,make_:ve,extend_:ge,decorate_20223_:be}}function ve(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function ge(e,t,n,r){var o,i;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(o=null==(i=this.options_)?void 0:i.enhancer)?o:J,r)}function be(e,t){var n=this,r=t.kind,o=t.name,i=new WeakSet;function a(e,t){var r,a,s=In(e)[W],l=new Ze(t,null!=(r=null==(a=n.options_)?void 0:a.enhancer)?r:J,"ObservableObject."+o.toString(),!1);s.values_.set(o,l),i.add(e)}if("accessor"==r)return{get:function(){return i.has(this)||a(this,e.get.call(this)),this[W].getObservablePropValue_(o)},set:function(e){return i.has(this)||a(this,e),this[W].setObservablePropValue_(o,e)},init:function(e){return i.has(this)||a(this,e),e}}}var ye="true",_e=xe();function xe(e){return{annotationType_:ye,options_:e,make_:we,extend_:Oe,decorate_20223_:ke}}function we(e,t,n,r){var o,i,a,s;if(n.get)return Be.make_(e,t,n,r);if(n.set){var l=Ke(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!ht.safeDescriptors||e.isPlainObject_,set:l})?0:2:(c(r,t,{configurable:!0,set:l}),2)}if(r!==e.target_&&"function"==typeof n.value)return w(n.value)?(null!=(s=this.options_)&&s.autoBind?Xt.bound:Xt).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?It.bound:It).make_(e,t,n,r);var d,u=!1===(null==(o=this.options_)?void 0:o.deep)?Ie.ref:Ie;return"function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(d=e.proxy_)?d:e.target_)),u.make_(e,t,n,r)}function Oe(e,t,n,r){var o,i,a;return n.get?Be.extend_(e,t,n,r):n.set?e.defineProperty_(t,{configurable:!ht.safeDescriptors||e.isPlainObject_,set:Ke(t.toString(),n.set)},r):("function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),(!1===(null==(i=this.options_)?void 0:i.deep)?Ie.ref:Ie).extend_(e,t,n,r))}function ke(e,t){o("'"+this.annotationType_+"' cannot be used as a decorator")}var Se={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function Ae(e){return e||Se}Object.freeze(Se);var Ee=pe("observable"),Te=pe("observable.ref",{enhancer:Q}),je=pe("observable.shallow",{enhancer:function(e,t,n){return null==e||Vn(e)||wn(e)||En(e)||Cn(e)?e:Array.isArray(e)?Ie.array(e,{name:n,deep:!1}):x(e)?Ie.object(e,void 0,{name:n,deep:!1}):A(e)?Ie.map(e,{name:n,deep:!1}):E(e)?Ie.set(e,{name:n,deep:!1}):void 0}}),Pe=pe("observable.struct",{enhancer:function(e,t){return or(e,t)?t:e}}),Ce=q(Ee);function Re(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 Ne(e,t,n){return G(t)?Ee.decorate_20223_(e,t):y(t)?void K(e,t,Ee):en(e)?e:x(e)?Ie.object(e,t,n):Array.isArray(e)?Ie.array(e,t):A(e)?Ie.map(e,t):E(e)?Ie.set(e,t):"object"==typeof e&&null!==e?e:Ie.box(e,t)}s(Ne,Ce);var ze,Me,Ie=s(Ne,{box:function(e,t){var n=Ae(t);return new Ze(e,Re(n),n.name,!0,n.equals)},array:function(e,t){var n=Ae(t);return(!1===ht.useProxies||!1===n.proxy?Xn:pn)(e,Re(n),n.name)},map:function(e,t){var n=Ae(t);return new An(e,Re(n),n.name)},set:function(e,t){var n=Ae(t);return new Pn(e,Re(n),n.name)},object:function(e,t,n){return tr((function(){return function(e,t,n){var r=R(t);return tr((function(){var t=In(e,void 0)[W];j(r).forEach((function(e){t.extend_(e,r[e],!n||!(e in n)||n[e])}))})),e}(!1===ht.useProxies||!1===(null==n?void 0:n.proxy)?In({},n):function(e,t){var n,r;return p(),null!=(r=(n=(e=In(e,t))[W]).proxy_)?r:n.proxy_=new Proxy(e,rn)}({},n),e,t)}))},ref:q(Te),shallow:q(je),deep:Ce,struct:q(Pe)}),Le="computed",De=ue(Le),Ve=ue("computed.struct",{equals:X.structural}),Be=function(e,t){if(G(t))return De.decorate_20223_(e,t);if(y(t))return K(e,t,De);if(x(e))return q(ue(Le,e));var n=x(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new Ye(n)};Object.assign(Be,De),Be.struct=q(Ve);var $e=0,Ue=1,He=null!=(ze=null==(Me=l((function(){}),"name"))?void 0:Me.configurable)&&ze,qe={value:"action",configurable:!0,writable:!1,enumerable:!1};function Ke(e,t,n,r){function o(){return Ge(0,n,t,r||this,arguments)}return void 0===n&&(n=!1),o.isMobxAction=!0,o.toString=function(){return t.toString()},He&&(qe.value=e,c(o,"name",qe)),o}function Ge(e,t,n,r,i){var a=function(e,t){var n=ht.trackingDerivation,r=!t||!n;bt();var o=ht.allowStateChanges;r&&(at(),o=We(!0));var i={runAsAction_:r,prevDerivation_:n,prevAllowStateChanges_:o,prevAllowStateReads_:lt(!0),notifySpy_:!1,startTime_:0,actionId_:Ue++,parentActionId_:$e};return $e=i.actionId_,i}(0,t);try{return n.apply(r,i)}catch(e){throw a.error_=e,e}finally{!function(e){$e!==e.actionId_&&o(30),$e=e.parentActionId_,void 0!==e.error_&&(ht.suppressReactionErrors=!0),Fe(e.prevAllowStateChanges_),ct(e.prevAllowStateReads_),yt(),e.runAsAction_&&st(e.prevDerivation_),ht.suppressReactionErrors=!1}(a)}}function We(e){var t=ht.allowStateChanges;return ht.allowStateChanges=e,t}function Fe(e){ht.allowStateChanges=e}var Ze=function(e){function t(t,n,r,o,i){var a;return void 0===r&&(r="ObservableValue"),void 0===o&&(o=!0),void 0===i&&(i=X.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=i,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:fn,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(),ln(this)&&dn(this,{type:fn,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:fn,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 P(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(F),Ye=function(){function e(e){this.dependenciesState_=Xe.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Xe.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new et(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||o(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=Ke("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?X.structural:X.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_===Xe.UP_TO_DATE_&&(e.lowestObserverState_=Xe.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Xe.UP_TO_DATE_&&(e.dependenciesState_=Xe.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&&o(32,this.name_,this.derivation),0!==ht.inBatch||0!==this.observers_.size||this.keepAlive_){if(_t(this),nt(this)){var e=ht.trackingContext;this.keepAlive_&&!e&&(ht.trackingContext=this),this.trackAndCompute()&&function(e){e.lowestObserverState_!==Xe.STALE_&&(e.lowestObserverState_=Xe.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===Xe.POSSIBLY_STALE_?t.dependenciesState_=Xe.STALE_:t.dependenciesState_===Xe.UP_TO_DATE_&&(e.lowestObserverState_=Xe.UP_TO_DATE_)})))}(this),ht.trackingContext=e}}else nt(this)&&(this.warnAboutUntrackedRead_(),bt(),this.value_=this.computeValue_(!1),yt());var t=this.value_;if(tt(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&o(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else o(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===Xe.NOT_TRACKING_,n=this.computeValue_(!0),r=t||tt(e)||tt(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing=!0;var t,n=We(!1);if(e)t=rt(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 et(e)}return Fe(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(ot(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,o=void 0;return function(e,t){var n,r,o,i;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 l=function(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Dt}(t),c=!1;a=new wt(s,(function(){c||(c=!0,l((function(){c=!1,a.isDisposed||a.track(d)})))}),t.onError,t.requiresObservable)}else a=new wt(s,(function(){this.track(d)}),t.onError,t.requiresObservable);function d(){e()}return null!=(o=t)&&null!=(o=o.signal)&&o.aborted||a.schedule_(),a.getDisposer_(null==(i=t)?void 0:i.signal)}((function(){var i=n.get();if(!r||t){var a=at();e({observableKind:"computed",debugObjectName:n.name_,type:fn,object:n,newValue:i,oldValue:o}),st(a)}r=!1,o=i}))},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return P(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},L(e,[{key:"isComputing",get:function(){return N(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=z(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return N(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=z(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return N(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=z(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return N(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=z(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return N(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=z(this.flags_,e.diffValueMask_,1===t)}}])}();Ye.isComputingMask_=1,Ye.isRunningSetterMask_=2,Ye.isBeingObservedMask_=4,Ye.isPendingUnobservationMask_=8,Ye.diffValueMask_=16;var Xe,Je,Qe=S("ComputedValue",Ye);!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_"}(Xe||(Xe={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Je||(Je={}));var et=function(e){this.cause=void 0,this.cause=e};function tt(e){return e instanceof et}function nt(e){switch(e.dependenciesState_){case Xe.UP_TO_DATE_:return!1;case Xe.NOT_TRACKING_:case Xe.STALE_:return!0;case Xe.POSSIBLY_STALE_:for(var t=lt(!0),n=at(),r=e.observing_,o=r.length,i=0;i<o;i++){var a=r[i];if(Qe(a)){if(ht.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return st(n),ct(t),!0}if(e.dependenciesState_===Xe.STALE_)return st(n),ct(t),!0}}return dt(e),st(n),ct(t),!1}}function rt(e,t,n){var r=lt(!0);dt(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++ht.runId;var o,i=ht.trackingDerivation;if(ht.trackingDerivation=e,ht.inBatch++,!0===ht.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(e){o=new et(e)}return ht.inBatch--,ht.trackingDerivation=i,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=Xe.UP_TO_DATE_,o=0,i=e.unboundDepsCount_,a=0;a<i;a++){var s=n[a];0===s.diffValue&&(s.diffValue=1,o!==a&&(n[o]=s),o++),s.dependenciesState_>r&&(r=s.dependenciesState_)}for(n.length=o,e.newObserving_=null,i=t.length;i--;){var l=t[i];0===l.diffValue&&vt(l,e),l.diffValue=0}for(;o--;){var c=n[o];1===c.diffValue&&(c.diffValue=0,pt(c,e))}r!==Xe.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),ct(r),o}function ot(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)vt(t[n],e);e.dependenciesState_=Xe.NOT_TRACKING_}function it(e){var t=at();try{return e()}finally{st(t)}}function at(){var e=ht.trackingDerivation;return ht.trackingDerivation=null,e}function st(e){ht.trackingDerivation=e}function lt(e){var t=ht.allowStateReads;return ht.allowStateReads=e,t}function ct(e){ht.allowStateReads=e}function dt(e){if(e.dependenciesState_!==Xe.UP_TO_DATE_){e.dependenciesState_=Xe.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=Xe.UP_TO_DATE_}}var ut=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,mt=!1,ht=function(){var e=a();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(ft=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new ut).version&&(ft=!1),ft?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new ut):(setTimeout((function(){mt||o(35)}),1),new ut)}();function pt(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function vt(e,t){e.observers_.delete(t),0===e.observers_.size&&gt(e)}function gt(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,ht.pendingUnobservations.push(e))}function bt(){ht.inBatch++}function yt(){if(0==--ht.inBatch){St();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 Ye&&n.suspend_())}ht.pendingUnobservations=[]}}function _t(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&&gt(e),!1)}function xt(e){e.lowestObserverState_!==Xe.STALE_&&(e.lowestObserverState_=Xe.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Xe.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=Xe.STALE_})))}var wt=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_=Xe.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),St())},t.runReaction_=function(){if(!this.isDisposed){bt(),this.isScheduled=!1;var e=ht.trackingContext;if(ht.trackingContext=this,nt(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}ht.trackingContext=e,yt()}},t.track=function(e){if(!this.isDisposed){bt(),this.isRunning=!0;var t=ht.trackingContext;ht.trackingContext=this;var n=rt(this,e,void 0);ht.trackingContext=t,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&ot(this),tt(n)&&this.reportExceptionInDerivation_(n.cause),yt()}},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||(bt(),ot(this),yt()))},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[W]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},L(e,[{key:"isDisposed",get:function(){return N(this.flags_,e.isDisposedMask_)},set:function(t){this.flags_=z(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return N(this.flags_,e.isScheduledMask_)},set:function(t){this.flags_=z(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return N(this.flags_,e.isTrackPendingMask_)},set:function(t){this.flags_=z(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return N(this.flags_,e.isRunningMask_)},set:function(t){this.flags_=z(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return N(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=z(this.flags_,e.diffValueMask_,1===t)}}])}();wt.isDisposedMask_=1,wt.isScheduledMask_=2,wt.isTrackPendingMask_=4,wt.isRunningMask_=8,wt.diffValueMask_=16;var Ot=100,kt=function(e){return e()};function St(){ht.inBatch>0||ht.isRunningReactions||kt(At)}function At(){ht.isRunningReactions=!0;for(var e=ht.pendingReactions,t=0;e.length>0;){++t===Ot&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;r<o;r++)n[r].runReaction_()}ht.isRunningReactions=!1}var Et=S("Reaction",wt),Tt="action",jt="autoAction",Pt=te(Tt),Ct=te("action.bound",{bound:!0}),Rt=te(jt,{autoAction:!0}),Nt=te("autoAction.bound",{autoAction:!0,bound:!0});function zt(e){return function(t,n){return b(t)?Ke(t.name||"<unnamed action>",t,e):b(n)?Ke(t,n,e):G(n)?(e?Rt:Pt).decorate_20223_(t,n):y(n)?K(t,n,e?Rt:Pt):y(t)?q(te(e?jt:Tt,{name:t,autoAction:e})):void 0}}var Mt=zt(!1);Object.assign(Mt,Pt);var It=zt(!0);function Lt(e){return b(e)&&!0===e.isMobxAction}Object.assign(It,Rt),Mt.bound=q(Ct),It.bound=q(Nt);var Dt=function(e){return e()},Vt="onBO",Bt="onBUO";function $t(e,t,n){return Ut(Bt,e,t,n)}function Ut(e,t,n,r){var o="function"==typeof r?Jn(t,n):Jn(t),i=b(r)?r:n,a=e+"L";return o[a]?o[a].add(i):o[a]=new Set([i]),function(){var e=o[a];e&&(e.delete(i),0===e.size&&delete o[a])}}var Ht="never",qt="always",Kt="observed";function Gt(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(Gt)),n}var Wt=0;function Ft(){this.message="FLOW_CANCELLED"}Ft.prototype=Object.create(Error.prototype);var Zt=ae("flow"),Yt=ae("flow.bound",{bound:!0}),Xt=Object.assign((function(e,t){if(G(t))return Zt.decorate_20223_(e,t);if(y(t))return K(e,t,Zt);var n=e,r=n.name||"<unnamed flow>",o=function(){var e,t=arguments,o=++Wt,i=Mt(r+" - runid: "+o+" - init",n).apply(this,t),a=void 0,s=new Promise((function(t,n){var s=0;function l(e){var t;a=void 0;try{t=Mt(r+" - runid: "+o+" - yield "+s++,i.next).call(i,e)}catch(e){return n(e)}d(t)}function c(e){var t;a=void 0;try{t=Mt(r+" - runid: "+o+" - yield "+s++,i.throw).call(i,e)}catch(e){return n(e)}d(t)}function d(e){if(!b(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(l,c);e.then(d,n)}e=n,l(void 0)}));return s.cancel=Mt(r+" - runid: "+o+" - cancel",(function(){try{a&&Jt(a);var t=i.return(void 0),n=Promise.resolve(t.value);n.then(g,g),Jt(n),e(new Ft)}catch(t){e(t)}})),s};return o.isMobXFlow=!0,o}),Zt);function Jt(e){b(e.cancel)&&e.cancel()}function Qt(e){return!0===(null==e?void 0:e.isMobXFlow)}function en(e){return function(e){return!!e&&(Vn(e)||!!e[W]||Z(e)||Et(e)||Qe(e))}(e)}function tn(e,t){void 0===t&&(t=void 0),bt();try{return e.apply(t)}finally{yt()}}function nn(e){return e[W]}Xt.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!!y(t)&&(null==(r=nn(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!y(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){o(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),v((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function sn(e,t){var n=at();try{for(var r=[].concat(e.interceptors_||[]),i=0,a=r.length;i<a&&((t=r[i](t))&&!t.type&&o(14),t);i++);return t}finally{st(n)}}function ln(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function cn(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),v((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function dn(e,t){var n=at(),r=e.changeListeners_;if(r){for(var o=0,i=(r=r.slice()).length;o<i;o++)r[o](t);st(n)}}var un="splice",fn="update",mn={get:function(e,t){var n=e[W];return t===W?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?C(vn,t)?vn[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[W];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){o(15)}},hn=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 F(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)&&o("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;r<e-t;r++)n[r]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&o(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&Yn(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var o=this.values_.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:null==t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=u),on(this)){var i=sn(this,{object:this.proxy_,type:un,index:e,removedCount:t,added:n});if(!i)return u;t=i.removedCount,n=i.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_(o,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 o=this.values_.slice(e,e+t),i=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<i.length;s++)this.values_[e+n.length+s]=i[s];return o},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,o=ln(this),i=o||r?{observableKind:"array",object:this.proxy_,type:fn,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),o&&dn(this,i)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,o=ln(this),i=o||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:un,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),o&&dn(this,i)},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&&o(17,e,n.length),e<n.length){this.atom_;var r=n[e];if(on(this)){var i=sn(this,{type:fn,object:this.proxy_,index:e,newValue:t});if(!i)return;t=i.newValue}(t=this.enhancer_(t,r))!==r&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,r))}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 pn(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),p(),tr((function(){var o=new hn(n,t,r,!1);k(o.values_,W,o);var i=new Proxy(o.values_,mn);return o.proxy_=i,e&&e.length&&o.spliceWithArray_(0,0,e),i}))}var vn={clear:function(){return this.splice(0)},replace:function(e){var t=this[W];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),o=2;o<n;o++)r[o-2]=arguments[o];var i=this[W];switch(arguments.length){case 0:return[];case 1:return i.spliceWithArray_(e);case 2:return i.spliceWithArray_(e,t)}return i.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[W].spliceWithArray_(e,t,n)},push:function(){for(var e=this[W],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[W].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[W],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&&o(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){ht.trackingDerivation&&o(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[W],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function gn(e,t){"function"==typeof Array.prototype[e]&&(vn[e]=t(e))}function bn(e){return function(){var t=this[W];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,o=this[W];return o.atom_.reportObserved(),o.dehanceValues_(o.values_)[e]((function(e,o){return t.call(n,e,o,r)}))}}function _n(e){return function(){var t=this,n=this[W];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),o=arguments[0];return arguments[0]=function(e,n,r){return o(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",_n),gn("reduceRight",_n);var xn=S("ObservableArrayAdministration",hn);function wn(e){return _(e)&&xn(e[W])}var On={},kn="add",Sn="delete",An=function(){function e(e,t,n){var r=this;void 0===t&&(t=J),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[W]=On,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,b(Map)||o(18),tr((function(){r.keysAtom_=Y("ObservableMap.keys()"),r.data_=new Map,r.hasMap_=new Map,e&&r.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 Ze(this.has_(e),Q,"ObservableMap.key?",!1);this.hasMap_.set(e,r),$t(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?fn:kn,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:Sn,object:this,name:e}))return!1;if(this.has_(e)){var n=ln(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:Sn,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&&dn(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=ln(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:fn,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&dn(this,o)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,tn((function(){var r,o=new Ze(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,o),t=o.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()}));var r=ln(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:kn,object:this,name:e,newValue:t}:null;r&&dn(this,o)},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 Tn({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:e.get(o)}}})},t.entries=function(){var e=this,t=this.keys();return Tn({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:[o,e.get(o)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=D(this);!(n=r()).done;){var o=n.value,i=o[0],a=o[1];e.call(t,a,i,this)}},t.merge=function(e){var t=this;return En(e)&&(e=new Map(e)),tn((function(){var n,r,i;x(e)?function(e){var t=Object.keys(e);if(!T)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return d.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,r=Object.getPrototypeOf(n),i=Object.getPrototypeOf(r),null!==Object.getPrototypeOf(i)&&o(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!=e&&o(20,e)})),this},t.clear=function(){var e=this;tn((function(){it((function(){for(var t,n=D(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,r=function(e){if(A(e)||En(e))return e;if(Array.isArray(e))return new Map(e);if(x(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return o(21,e)}(e),i=new Map,a=!1,s=D(t.data_.keys());!(n=s()).done;){var l=n.value;if(!r.has(l))if(t.delete(l))a=!0;else{var c=t.data_.get(l);i.set(l,c)}}for(var d,u=D(r.entries());!(d=u()).done;){var f=d.value,m=f[0],h=f[1],p=t.data_.has(m);if(t.set(m,h),t.data_.has(m)){var v=t.data_.get(m);i.set(m,v),p||(a=!0)}}if(!a)if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else for(var g=t.data_.keys(),b=i.keys(),y=g.next(),_=b.next();!y.done;){if(y.value!==_.value){t.keysAtom_.reportChanged();break}y=g.next(),_=b.next()}t.data_=i})),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)},L(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),En=S("ObservableMap",An);function Tn(e){return e[Symbol.toStringTag]="MapIterator",lr(e)}var jn={},Pn=function(){function e(e,t,n){var r=this;void 0===t&&(t=J),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[W]=jn,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,b(Set)||o(22),this.enhancer_=function(e,r){return t(e,r,n)},tr((function(){r.atom_=Y(r.name_),e&&r.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=D(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.forEach=function(e,t){for(var n,r=D(this);!(n=r()).done;){var o=n.value;e.call(t,o,o,this)}},t.add=function(e){var t=this;if(this.atom_,on(this)&&!sn(this,{type:kn,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=ln(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:kn,object:this,newValue:e}:null;n&&dn(this,r)}return this},t.delete=function(e){var t=this;if(on(this)&&!sn(this,{type:Sn,object:this,oldValue:e}))return!1;if(this.has(e)){var n=ln(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:Sn,object:this,oldValue:e}:null;return tn((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&dn(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 Rn({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 Rn({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{value:void 0,done:!0}}})},t.intersection=function(e){return E(e)&&!Cn(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return E(e)&&!Cn(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return E(e)&&!Cn(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 E(e)&&!Cn(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return Cn(e)&&(e=new Set(e)),tn((function(){Array.isArray(e)||E(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!=e&&o("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()},L(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),Cn=S("ObservableSet",Pn);function Rn(e){return e[Symbol.toStringTag]="SetIterator",lr(e)}var Nn=Object.create(null),zn="remove",Mn=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=_e),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 F("ObservableObject.keys"),this.isPlainObject_=x(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 Ye)return n.set(t),!0;if(on(this)){var r=sn(this,{type:fn,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==ht.UNCHANGED){var o=ln(this),i=o?{type:fn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),o&&dn(this,i)}return!0},t.get_=function(e){return ht.trackingDerivation&&!C(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),C(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 Ze(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_[H])&&n[e])return;o(1,t.annotationType_,this.name_+"."+e.toString())}for(var r=this.target_;r&&r!==d;){var i=l(r,e);if(i){var a=t.make_(this,e,i,r);if(0===a)return;if(1===a)break}r=Object.getPrototypeOf(r)}Bn(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 o=n.extend_(this,e,t,r);return o&&Bn(this,0,e),o},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{bt();var r=this.delete_(e);if(!r)return r;if(on(this)){var o=sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:t.value});if(!o)return null;var i=o.newValue;t.value!==i&&(t=V({},t,{value:i}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else c(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{yt()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),this.keysAtom_;try{bt();var o=this.delete_(e);if(!o)return o;if(on(this)){var i=sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:t});if(!i)return null;t=i.newValue}var a=Dn(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 c(this.target_,e,s);var l=new Ze(t,n,"ObservableObject.key",!1);this.values_.set(e,l),this.notifyPropertyAddition_(e,l.value_)}finally{yt()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{bt();var r=this.delete_(e);if(!r)return r;if(on(this)&&!sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var o=Dn(e),i={configurable:!ht.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,i))return!1}else c(this.target_,e,i);this.values_.set(e,new Ye(t)),this.notifyPropertyAddition_(e,void 0)}finally{yt()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),this.keysAtom_,!C(this.target_,e))return!0;if(on(this)&&!sn(this,{object:this.proxy_||this.target_,name:e,type:zn}))return null;try{var n;bt();var r,o=ln(this),i=this.values_.get(e),a=void 0;if(!i&&o&&(a=null==(r=l(this.target_,e))?void 0:r.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(i&&(this.values_.delete(e),i instanceof Ze&&(a=i.value_),xt(i)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),o){var s={type:zn,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:a,name:e};o&&dn(this,s)}}finally{yt()}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=ln(this);if(r){var o=r?{type:kn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;r&&dn(this,o)}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),j(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function In(e,t){var n;if(C(e,W))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",o=new Mn(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:xe(e):void 0}(t));return O(e,W,o),e}var Ln=S("ObservableObjectAdministration",Mn);function Dn(e){return Nn[e]||(Nn[e]={get:function(){return this[W].getObservablePropValue_(e)},set:function(t){return this[W].setObservablePropValue_(e,t)}})}function Vn(e){return!!_(e)&&Ln(e[W])}function Bn(e,t,n){var r;null==(r=e.target_[H])||delete r[n]}var $n,Un,Hn=Fn(0),qn=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),Kn=0,Gn=function(){};$n=Gn,Un=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf($n.prototype,Un):void 0!==$n.prototype.__proto__?$n.prototype.__proto__=Un:$n.prototype=Un;var Wn=function(e){function t(t,n,r,o){var i;return void 0===r&&(r="ObservableArray"),void 0===o&&(o=!1),i=e.call(this)||this,tr((function(){var e=new hn(r,n,o,!0);e.proxy_=i,k(i,W,e),t&&t.length&&i.spliceWithArray(0,0,t),qn&&Object.defineProperty(i,"0",Hn)})),i}B(t,e);var n=t.prototype;return n.concat=function(){this[W].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 wn(e)?e.slice():e})))},n[Symbol.iterator]=function(){var e=this,t=0;return lr({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},L(t,[{key:"length",get:function(){return this[W].getArrayLength_()},set:function(e){this[W].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(Gn);function Fn(e){return{enumerable:!1,configurable:!0,get:function(){return this[W].get_(e)},set:function(t){this[W].set_(e,t)}}}function Zn(e){c(Wn.prototype,""+e,Fn(e))}function Yn(e){if(e>Kn){for(var t=Kn;t<e+100;t++)Zn(t);Kn=e}}function Xn(e,t,n){return new Wn(e,t,n)}function Jn(e,t){if("object"==typeof e&&null!==e){if(wn(e))return void 0!==t&&o(23),e[W].atom_;if(Cn(e))return e.atom_;if(En(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||o(25,t,er(e)),n}if(Vn(e)){if(!t)return o(26);var r=e[W].values_.get(t);return r||o(27,t,er(e)),r}if(Z(e)||Qe(e)||Et(e))return e}else if(b(e)&&Et(e[W]))return e[W];o(28)}function Qn(e,t){return e||o(29),void 0!==t?Qn(Jn(e,t)):Z(e)||Qe(e)||Et(e)||En(e)||Cn(e)?e:e[W]?e[W]:void o(24,e)}function er(e,t){var n;if(void 0!==t)n=Jn(e,t);else{if(Lt(e))return e.name;n=Vn(e)||En(e)||Cn(e)?Qn(e):Jn(e)}return n.name_}function tr(e){var t=at(),n=We(!0);bt();try{return e()}finally{yt(),Fe(n),st(t)}}Object.entries(vn).forEach((function(e){var t=e[0],n=e[1];"concat"!==t&&O(Wn.prototype,t,n)})),Yn(1e3);var nr,rr=d.toString;function or(e,t,n){return void 0===n&&(n=-1),ir(e,t,n)}function ir(e,t,n,r,o){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var i=typeof e;if("function"!==i&&"object"!==i&&"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 l=e.constructor,c=t.constructor;if(l!==c&&!(b(l)&&l instanceof l&&b(c)&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),o=o||[];for(var d=(r=r||[]).length;d--;)if(r[d]===e)return o[d]===t;if(r.push(e),o.push(t),s){if((d=e.length)!==t.length)return!1;for(;d--;)if(!ir(e[d],t[d],n-1,r,o))return!1}else{var u,f=Object.keys(e);if(d=f.length,Object.keys(t).length!==d)return!1;for(;d--;)if(!C(t,u=f[d])||!ir(e[u],t[u],n-1,r,o))return!1}return r.pop(),o.pop(),!0}function ar(e){return wn(e)?e.slice():A(e)||En(e)||E(e)||Cn(e)?Array.from(e.entries()):e}var sr=(null==(nr=a().Iterator)?void 0:nr.prototype)||{};function lr(e){return e[Symbol.iterator]=cr,Object.assign(Object.create(sr),e)}function cr(){return this}["Symbol","Map","Set"].forEach((function(e){void 0===a()[e]&&o("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:W});var dr=r(953),ur=r.n(dr);if(!dr.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!function(e,t,n){return tr((function(){var r=In(e,n)[W];null!=t||(t=function(e){return C(e,H)||O(e,H,V({},e[H])),e[H]}(e)),j(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 fr=n(180);function mr(e){e()}function hr(e){e||(e=mr),function(e){!0===e.isolateGlobalState&&function(){if((ht.pendingReactions.length||ht.inBatch||ht.isRunningReactions)&&o(36),mt=!0,ft){var e=a();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),ht=new ut}}();var t,n,r=e.useProxies,i=e.enforceActions;if(void 0!==r&&(ht.useProxies=r===qt||r!==Ht&&"undefined"!=typeof Proxy),"ifavailable"===r&&(ht.verifyProxies=!0),void 0!==i){var s=i===qt?qt:i===Kt;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=kt,kt=function(e){return t((function(){return n(e)}))})}({reactionScheduler:e})}var pr=function(){return!0};function vr(e){return Gt(Jn(e,void 0))}var gr=!1;function br(e){gr=e}function yr(){return gr}var _r,xr,wr=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,o){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(o))})),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}(),Or=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:wr)((function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null})),kr=r(634);function Sr(e){e.reaction=new wt("observer".concat(e.name),(function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)}))}function Ar(e,t){if(void 0===t&&(t="observed"),yr())return e();var n=ur().useRef(null);if(!n.current){var r={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return Or.unregister(r),r.onStoreChange=e,r.reaction||(Sr(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 o,i,a=n.current;if(a.reaction||(Sr(a),Or.register(n,a,a)),ur().useDebugValue(a.reaction,vr),(0,kr.useSyncExternalStore)(a.subscribe,a.getSnapshot,a.getSnapshot),a.reaction.track((function(){try{o=e()}catch(e){i=e}})),i)throw i;return o}var Er="function"==typeof Symbol&&Symbol.for,Tr=null!==(xr=null===(_r=Object.getOwnPropertyDescriptor((function(){}),"name"))||void 0===_r?void 0:_r.configurable)&&void 0!==xr&&xr,jr=Er?Symbol.for("react.forward_ref"):"function"==typeof dr.forwardRef&&(0,dr.forwardRef)((function(e){return null})).$$typeof,Pr=Er?Symbol.for("react.memo"):"function"==typeof dr.memo&&(0,dr.memo)((function(e){return null})).$$typeof;function Cr(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,o=e,i=e.displayName||e.name;if(jr&&e.$$typeof===jr&&(r=!0,"function"!=typeof(o=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var a,s,l=function(e,t){return Ar((function(){return o(e,t)}),i)};return l.displayName=e.displayName,Tr&&Object.defineProperty(l,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(l.contextTypes=e.contextTypes),r&&(l=(0,dr.forwardRef)(l)),l=(0,dr.memo)(l),a=e,s=l,Object.keys(a).forEach((function(e){Nr[e]||Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(a,e))})),l}var Rr,Nr={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function zr(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:Ar(r)}function Mr(e,t){return(0,dr.useState)((function(){return Ie(e(),t,{autoBind:!0})}))[0]}function Ir(e){var t=(0,dr.useState)((function(){return Ie(e,{},{deep:!1})}))[0];return function(e){Ge(0,!1,e,this,void 0)}((function(){Object.assign(t,e)})),t}function Lr(e,t){var n=t&&Ir(t);return(0,dr.useState)((function(){return Ie(e(n),void 0,{autoBind:!0})}))[0]}zr.displayName="Observer",hr(fr.unstable_batchedUpdates);var Dr=null!==(Rr=Or.finalizeAllImmediately)&&void 0!==Rr?Rr:function(){};function Vr(e,t){return void 0===t&&(t="observed"),Ar(e,t)}function Br(e){br(e)}},89:(e,t,n)=>{n.r(t),n.d(t,{default:()=>g});var r=n(478),o=n.n(r),i=n(135),a=n.n(i),s=n(301),l=n.n(s),c=n(222),d=n.n(c),u=n(626),f=n.n(u),m=n(279),h=n.n(m),p=n(428),v={};v.styleTagTransform=h(),v.setAttributes=d(),v.insert=l().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=f(),o()(p.A,v);const g=p.A&&p.A.locals?p.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 i={},a=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],d=i[c]||0,u="".concat(c," ").concat(d);i[c]=d+1;var f=n(u),m={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(m);else{var h=o(m,r);r.byIndex=s,t.splice(s,0,{identifier:u,updater:h,references:1})}a.push(u)}return a}function o(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,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=n(i[a]);t[s].references--}for(var l=r(e,o),c=0;c<i.length;c++){var d=n(i[c]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}i=l}}},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 o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),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),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,d=r[1];return s((function(){o.value=n,o.getSnapshot=t,c(o)&&d({inst:o})}),[e,n,t]),a((function(){return c(o)&&d({inst:o}),e((function(){c(o)&&d({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:d},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(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useStationLogin=void 0;const i=n(953),a=o(n(768));t.useStationLogin=e=>{const t=e.cc,n=e.onLogin,o=e.onLogout,s=e.logger,[l,c]=(0,i.useState)(e.isAgentLoggedIn),[d,u]=(0,i.useState)(""),[f,m]=(0,i.useState)(e.deviceType||""),[h,p]=(0,i.useState)(""),[v,g]=(0,i.useState)(),[b,y]=(0,i.useState)(),[_,x]=(0,i.useState)();return(0,i.useEffect)((()=>{c(e.isAgentLoggedIn)}),[e.isAgentLoggedIn]),{name:"StationLogin",setDeviceType:m,setDialNumber:u,setTeam:p,login:()=>{t.stationLogin({teamId:h,loginOption:f,dialNumber:d}).then((e=>{g(e),c(!0),a.default.setDeviceType(f),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"}),y(e)}))},logout:()=>{t.stationLogout({logoutReason:"User requested logout"}).then((e=>{x(e),c(!1),a.default.setIsAgentLoggedIn(!1),a.default.setDeviceType(""),o&&o()})).catch((e=>{s.error(`Error logging out: ${e}`,{module:"widget-station-login#helper.ts",method:"logout"})}))},relogin:function(){a.default.setDeviceType(f),n&&n()},loginSuccess:v,loginFailure:b,logoutSuccess:_,isAgentLoggedIn:l,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 o=r(n(953)),i=r(n(768)),a=n(62),s=r(n(688)),l=n(306),c=(0,a.observer)((({onLogin:e,onLogout:t})=>{const{cc:n,teams:r,loginOptions:a,logger:c,isAgentLoggedIn:d,showMultipleLoginAlert:u,deviceType:f}=i.default,m=(0,l.useStationLogin)({cc:n,onLogin:e,onLogout:t,logger:c,isAgentLoggedIn:d,deviceType:f}),h=Object.assign(Object.assign({},m),{teams:r,loginOptions:a,deviceType:f});return o.default.createElement(s.default,Object.assign({},h,{showMultipleLoginAlert:u}))}));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 o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=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 o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});const a=i(n(953));n(89);const s=n(214);t.default=e=>{const{name:t,teams:n,loginOptions:r,login:o,logout:i,relogin:l,setDeviceType:c,setDialNumber:d,setTeam:u,isAgentLoggedIn:f,deviceType:m,showMultipleLoginAlert:h,handleContinue:p}=e,v=(0,a.useRef)(null);return(0,a.useEffect)((()=>{const e=document.getElementById("teamsDropdown"),t=document.querySelector("#LoginOption"),o=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)})),u(e.value),o.value="",o.disabled=!0)),r.length>0&&(r.forEach((e=>{const n=document.createElement("option");n.text=e,n.value=e,t.add(n)})),t&&m&&(t.value=m))}),[n,r]),(0,a.useEffect)((()=>{const e=v.current;h&&e&&e.showModal()}),[h,v]),(0,a.useEffect)((()=>{if(!f)return;const e=document.querySelector("#LoginOption");e&&!e.value&&(c(m),e.value=m,l())}),[f]),a.default.createElement(a.default.Fragment,null,h&&a.default.createElement("dialog",{ref:v,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=v.current;e&&(e.close(),p())}},"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");d(e.value)}}),f?a.default.createElement("button",{id:"logoutAgent",className:"btn",onClick:i},"Logout"):a.default.createElement("button",{id:"AgentLogin",className:"btn",onClick:o},"Login"))))))))}},768:e=>{e.exports=n(768)},953:e=>{e.exports=n(953)}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={id:e,exports:{}};return t[e].call(i.exports,i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var i={};(()=>{var e=i;Object.defineProperty(e,"__esModule",{value:!0}),e.StationLogin=void 0;const t=o(17);Object.defineProperty(e,"StationLogin",{enumerable:!0,get:function(){return t.StationLogin}})})(),e.exports=i})()},32:(e,t,n)=>{(()=>{"use strict";var t={178:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(63),o=n.n(r),i=n(248),a=n.n(i)()(o());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}.btn:disabled{background-color:gray;cursor:not-allowed}.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}",""]);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,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);r&&a[d[0]]||(void 0!==i&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=i),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),o&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=o):d[4]="".concat(o)),t.push(d))}},t}},63:e=>{e.exports=function(e){return e[1]}},62:(e,t,r)=>{function o(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)}r.r(t),r.d(t,{Observer:()=>zr,_observerFinalizationRegistry:()=>Or,clearTimers:()=>Dr,enableStaticRendering:()=>br,isObserverBatched:()=>pr,isUsingStaticRendering:()=>yr,observer:()=>Cr,observerBatching:()=>hr,useAsObservableSource:()=>Ir,useLocalObservable:()=>Mr,useLocalStore:()=>Lr,useObserver:()=>Vr,useStaticRendering:()=>Br});var i={};function a(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:i}var s=Object.assign,l=Object.getOwnPropertyDescriptor,c=Object.defineProperty,d=Object.prototype,u=[];Object.freeze(u);var f={};Object.freeze(f);var m="undefined"!=typeof Proxy,h=Object.toString();function p(){m||o("Proxy not available")}function v(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var g=function(){};function b(e){return"function"==typeof e}function y(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function _(e){return null!==e&&"object"==typeof e}function x(e){if(!_(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 w(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function O(e,t,n){c(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function k(e,t,n){c(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function S(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return _(e)&&!0===e[n]}}function A(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function E(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var T=void 0!==Object.getOwnPropertySymbols,j="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:T?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function P(e){return null===e?null:"object"==typeof e?""+e:e}function C(e,t){return d.hasOwnProperty.call(e,t)}var R=Object.getOwnPropertyDescriptors||function(e){var t={};return j(e).forEach((function(n){t[n]=l(e,n)})),t};function N(e,t){return!!(e&t)}function z(e,t,n){return n?e|=t:e&=~t,e}function M(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 I(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,U(r.key),r)}}function L(e,t,n){return t&&I(e.prototype,t),n&&I(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function D(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 M(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)?M(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 V(){return V=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},V.apply(null,arguments)}function B(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$(e,t)}function $(e,t){return $=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$(e,t)}function U(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 H=Symbol("mobx-stored-annotations");function q(e){return Object.assign((function(t,n){if(G(n))return e.decorate_20223_(t,n);K(t,n,e)}),e)}function K(e,t,n){C(e,H)||O(e,H,V({},e[H])),function(e){return e.annotationType_===ee}(n)||(e[H][t]=n)}function G(e){return"object"==typeof e&&"string"==typeof e.kind}var W=Symbol("mobx administration"),F=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_=Xe.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 _t(this)},t.reportChanged=function(){bt(),xt(this),yt()},t.toString=function(){return this.name_},L(e,[{key:"isBeingObserved",get:function(){return N(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=z(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return N(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=z(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return N(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=z(this.flags_,e.diffValueMask_,1===t)}}])}();F.isBeingObservedMask_=1,F.isPendingUnobservationMask_=2,F.diffValueMask_=4;var Z=S("Atom",F);function Y(e,t,n){void 0===t&&(t=g),void 0===n&&(n=g);var r=new F(e);return t!==g&&Ut(Vt,r,t,void 0),n!==g&&$t(r,n),r}var X={identity:function(e,t){return e===t},structural:function(e,t){return or(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 or(e,t,1)}};function J(e,t,n){return en(e)?e:Array.isArray(e)?Ie.array(e,{name:n}):x(e)?Ie.object(e,void 0,{name:n}):A(e)?Ie.map(e,{name:n}):E(e)?Ie.set(e,{name:n}):"function"!=typeof e||Lt(e)||Qt(e)?e:w(e)?Xt(e):It(n,e)}function Q(e){return e}var ee="override";function te(e,t){return{annotationType_:e,options_:t,make_:ne,extend_:re,decorate_20223_:oe}}function ne(e,t,n,r){var o;if(null!=(o=this.options_)&&o.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(Lt(n.value))return 1;var i=ie(e,this,t,n,!1);return c(r,t,i),2}function re(e,t,n,r){var o=ie(e,this,t,n);return e.defineProperty_(t,o,r)}function oe(e,t){var n,r=t.kind,i=t.name,a=t.addInitializer,s=this,l=function(e){var t,n,r,o;return Ke(null!=(t=null==(n=s.options_)?void 0:n.name)?t:i.toString(),e,null!=(r=null==(o=s.options_)?void 0:o.autoAction)&&r)};return"field"==r?function(e){var t,n=e;return Lt(n)||(n=l(n)),null!=(t=s.options_)&&t.bound&&((n=n.bind(this)).isMobxAction=!0),n}:"method"==r?(Lt(e)||(e=l(e)),null!=(n=this.options_)&&n.bound&&a((function(){var e=this,t=e[i].bind(e);t.isMobxAction=!0,e[i]=t})),e):void o("Cannot apply '"+s.annotationType_+"' to '"+String(i)+"' (kind: "+r+"):\n'"+s.annotationType_+"' can only be used on properties with a function value.")}function ie(e,t,n,r,o){var i,a,s,l,c,d,u,f;void 0===o&&(o=ht.safeDescriptors),f=r,t.annotationType_,f.value;var m,h=r.value;return null!=(i=t.options_)&&i.bound&&(h=h.bind(null!=(m=e.proxy_)?m:e.target_)),{value:Ke(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),h,null!=(l=null==(c=t.options_)?void 0:c.autoAction)&&l,null!=(d=t.options_)&&d.bound?null!=(u=e.proxy_)?u:e.target_:void 0),configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function ae(e,t){return{annotationType_:e,options_:t,make_:se,extend_:le,decorate_20223_:ce}}function se(e,t,n,r){var o;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(o=this.options_)&&o.bound&&(!C(e.target_,t)||!Qt(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(Qt(n.value))return 1;var i=de(e,this,0,n,!1,!1);return c(r,t,i),2}function le(e,t,n,r){var o,i=de(e,this,0,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,i,r)}function ce(e,t){var n,r=t.name,o=t.addInitializer;return Qt(e)||(e=Xt(e)),null!=(n=this.options_)&&n.bound&&o((function(){var e=this,t=e[r].bind(e);t.isMobXFlow=!0,e[r]=t})),e}function de(e,t,n,r,o,i){var a;void 0===i&&(i=ht.safeDescriptors),a=r,t.annotationType_,a.value;var s,l=r.value;return Qt(l)||(l=Xt(l)),o&&((l=l.bind(null!=(s=e.proxy_)?s:e.target_)).isMobXFlow=!0),{value:l,configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function ue(e,t){return{annotationType_:e,options_:t,make_:fe,extend_:me,decorate_20223_:he}}function fe(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function me(e,t,n,r){return o=n,this.annotationType_,o.get,e.defineComputedProperty_(t,V({},this.options_,{get:n.get,set:n.set}),r);var o}function he(e,t){var n=this,r=t.name;return(0,t.addInitializer)((function(){var t=In(this)[W],o=V({},n.options_,{get:e,context:this});o.name||(o.name="ObservableObject."+r.toString()),t.values_.set(r,new Ye(o))})),function(){return this[W].getObservablePropValue_(r)}}function pe(e,t){return{annotationType_:e,options_:t,make_:ve,extend_:ge,decorate_20223_:be}}function ve(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function ge(e,t,n,r){var o,i;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(o=null==(i=this.options_)?void 0:i.enhancer)?o:J,r)}function be(e,t){var n=this,r=t.kind,o=t.name,i=new WeakSet;function a(e,t){var r,a,s=In(e)[W],l=new Ze(t,null!=(r=null==(a=n.options_)?void 0:a.enhancer)?r:J,"ObservableObject."+o.toString(),!1);s.values_.set(o,l),i.add(e)}if("accessor"==r)return{get:function(){return i.has(this)||a(this,e.get.call(this)),this[W].getObservablePropValue_(o)},set:function(e){return i.has(this)||a(this,e),this[W].setObservablePropValue_(o,e)},init:function(e){return i.has(this)||a(this,e),e}}}var ye="true",_e=xe();function xe(e){return{annotationType_:ye,options_:e,make_:we,extend_:Oe,decorate_20223_:ke}}function we(e,t,n,r){var o,i,a,s;if(n.get)return Be.make_(e,t,n,r);if(n.set){var l=Ke(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!ht.safeDescriptors||e.isPlainObject_,set:l})?0:2:(c(r,t,{configurable:!0,set:l}),2)}if(r!==e.target_&&"function"==typeof n.value)return w(n.value)?(null!=(s=this.options_)&&s.autoBind?Xt.bound:Xt).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?It.bound:It).make_(e,t,n,r);var d,u=!1===(null==(o=this.options_)?void 0:o.deep)?Ie.ref:Ie;return"function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(d=e.proxy_)?d:e.target_)),u.make_(e,t,n,r)}function Oe(e,t,n,r){var o,i,a;return n.get?Be.extend_(e,t,n,r):n.set?e.defineProperty_(t,{configurable:!ht.safeDescriptors||e.isPlainObject_,set:Ke(t.toString(),n.set)},r):("function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),(!1===(null==(i=this.options_)?void 0:i.deep)?Ie.ref:Ie).extend_(e,t,n,r))}function ke(e,t){o("'"+this.annotationType_+"' cannot be used as a decorator")}var Se={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function Ae(e){return e||Se}Object.freeze(Se);var Ee=pe("observable"),Te=pe("observable.ref",{enhancer:Q}),je=pe("observable.shallow",{enhancer:function(e,t,n){return null==e||Vn(e)||wn(e)||En(e)||Cn(e)?e:Array.isArray(e)?Ie.array(e,{name:n,deep:!1}):x(e)?Ie.object(e,void 0,{name:n,deep:!1}):A(e)?Ie.map(e,{name:n,deep:!1}):E(e)?Ie.set(e,{name:n,deep:!1}):void 0}}),Pe=pe("observable.struct",{enhancer:function(e,t){return or(e,t)?t:e}}),Ce=q(Ee);function Re(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 Ne(e,t,n){return G(t)?Ee.decorate_20223_(e,t):y(t)?void K(e,t,Ee):en(e)?e:x(e)?Ie.object(e,t,n):Array.isArray(e)?Ie.array(e,t):A(e)?Ie.map(e,t):E(e)?Ie.set(e,t):"object"==typeof e&&null!==e?e:Ie.box(e,t)}s(Ne,Ce);var ze,Me,Ie=s(Ne,{box:function(e,t){var n=Ae(t);return new Ze(e,Re(n),n.name,!0,n.equals)},array:function(e,t){var n=Ae(t);return(!1===ht.useProxies||!1===n.proxy?Xn:pn)(e,Re(n),n.name)},map:function(e,t){var n=Ae(t);return new An(e,Re(n),n.name)},set:function(e,t){var n=Ae(t);return new Pn(e,Re(n),n.name)},object:function(e,t,n){return tr((function(){return function(e,t,n){var r=R(t);return tr((function(){var t=In(e,void 0)[W];j(r).forEach((function(e){t.extend_(e,r[e],!n||!(e in n)||n[e])}))})),e}(!1===ht.useProxies||!1===(null==n?void 0:n.proxy)?In({},n):function(e,t){var n,r;return p(),null!=(r=(n=(e=In(e,t))[W]).proxy_)?r:n.proxy_=new Proxy(e,rn)}({},n),e,t)}))},ref:q(Te),shallow:q(je),deep:Ce,struct:q(Pe)}),Le="computed",De=ue(Le),Ve=ue("computed.struct",{equals:X.structural}),Be=function(e,t){if(G(t))return De.decorate_20223_(e,t);if(y(t))return K(e,t,De);if(x(e))return q(ue(Le,e));var n=x(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new Ye(n)};Object.assign(Be,De),Be.struct=q(Ve);var $e=0,Ue=1,He=null!=(ze=null==(Me=l((function(){}),"name"))?void 0:Me.configurable)&&ze,qe={value:"action",configurable:!0,writable:!1,enumerable:!1};function Ke(e,t,n,r){function o(){return Ge(0,n,t,r||this,arguments)}return void 0===n&&(n=!1),o.isMobxAction=!0,o.toString=function(){return t.toString()},He&&(qe.value=e,c(o,"name",qe)),o}function Ge(e,t,n,r,i){var a=function(e,t){var n=ht.trackingDerivation,r=!t||!n;bt();var o=ht.allowStateChanges;r&&(at(),o=We(!0));var i={runAsAction_:r,prevDerivation_:n,prevAllowStateChanges_:o,prevAllowStateReads_:lt(!0),notifySpy_:!1,startTime_:0,actionId_:Ue++,parentActionId_:$e};return $e=i.actionId_,i}(0,t);try{return n.apply(r,i)}catch(e){throw a.error_=e,e}finally{!function(e){$e!==e.actionId_&&o(30),$e=e.parentActionId_,void 0!==e.error_&&(ht.suppressReactionErrors=!0),Fe(e.prevAllowStateChanges_),ct(e.prevAllowStateReads_),yt(),e.runAsAction_&&st(e.prevDerivation_),ht.suppressReactionErrors=!1}(a)}}function We(e){var t=ht.allowStateChanges;return ht.allowStateChanges=e,t}function Fe(e){ht.allowStateChanges=e}var Ze=function(e){function t(t,n,r,o,i){var a;return void 0===r&&(r="ObservableValue"),void 0===o&&(o=!0),void 0===i&&(i=X.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=i,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:fn,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(),ln(this)&&dn(this,{type:fn,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:fn,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 P(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(F),Ye=function(){function e(e){this.dependenciesState_=Xe.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Xe.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new et(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||o(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=Ke("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?X.structural:X.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_===Xe.UP_TO_DATE_&&(e.lowestObserverState_=Xe.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Xe.UP_TO_DATE_&&(e.dependenciesState_=Xe.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&&o(32,this.name_,this.derivation),0!==ht.inBatch||0!==this.observers_.size||this.keepAlive_){if(_t(this),nt(this)){var e=ht.trackingContext;this.keepAlive_&&!e&&(ht.trackingContext=this),this.trackAndCompute()&&function(e){e.lowestObserverState_!==Xe.STALE_&&(e.lowestObserverState_=Xe.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===Xe.POSSIBLY_STALE_?t.dependenciesState_=Xe.STALE_:t.dependenciesState_===Xe.UP_TO_DATE_&&(e.lowestObserverState_=Xe.UP_TO_DATE_)})))}(this),ht.trackingContext=e}}else nt(this)&&(this.warnAboutUntrackedRead_(),bt(),this.value_=this.computeValue_(!1),yt());var t=this.value_;if(tt(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&o(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else o(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===Xe.NOT_TRACKING_,n=this.computeValue_(!0),r=t||tt(e)||tt(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing=!0;var t,n=We(!1);if(e)t=rt(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 et(e)}return Fe(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(ot(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,o=void 0;return function(e,t){var n,r,o,i;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 l=function(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Dt}(t),c=!1;a=new wt(s,(function(){c||(c=!0,l((function(){c=!1,a.isDisposed||a.track(d)})))}),t.onError,t.requiresObservable)}else a=new wt(s,(function(){this.track(d)}),t.onError,t.requiresObservable);function d(){e()}return null!=(o=t)&&null!=(o=o.signal)&&o.aborted||a.schedule_(),a.getDisposer_(null==(i=t)?void 0:i.signal)}((function(){var i=n.get();if(!r||t){var a=at();e({observableKind:"computed",debugObjectName:n.name_,type:fn,object:n,newValue:i,oldValue:o}),st(a)}r=!1,o=i}))},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return P(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},L(e,[{key:"isComputing",get:function(){return N(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=z(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return N(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=z(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return N(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=z(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return N(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=z(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return N(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=z(this.flags_,e.diffValueMask_,1===t)}}])}();Ye.isComputingMask_=1,Ye.isRunningSetterMask_=2,Ye.isBeingObservedMask_=4,Ye.isPendingUnobservationMask_=8,Ye.diffValueMask_=16;var Xe,Je,Qe=S("ComputedValue",Ye);!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_"}(Xe||(Xe={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Je||(Je={}));var et=function(e){this.cause=void 0,this.cause=e};function tt(e){return e instanceof et}function nt(e){switch(e.dependenciesState_){case Xe.UP_TO_DATE_:return!1;case Xe.NOT_TRACKING_:case Xe.STALE_:return!0;case Xe.POSSIBLY_STALE_:for(var t=lt(!0),n=at(),r=e.observing_,o=r.length,i=0;i<o;i++){var a=r[i];if(Qe(a)){if(ht.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return st(n),ct(t),!0}if(e.dependenciesState_===Xe.STALE_)return st(n),ct(t),!0}}return dt(e),st(n),ct(t),!1}}function rt(e,t,n){var r=lt(!0);dt(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++ht.runId;var o,i=ht.trackingDerivation;if(ht.trackingDerivation=e,ht.inBatch++,!0===ht.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(e){o=new et(e)}return ht.inBatch--,ht.trackingDerivation=i,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=Xe.UP_TO_DATE_,o=0,i=e.unboundDepsCount_,a=0;a<i;a++){var s=n[a];0===s.diffValue&&(s.diffValue=1,o!==a&&(n[o]=s),o++),s.dependenciesState_>r&&(r=s.dependenciesState_)}for(n.length=o,e.newObserving_=null,i=t.length;i--;){var l=t[i];0===l.diffValue&&vt(l,e),l.diffValue=0}for(;o--;){var c=n[o];1===c.diffValue&&(c.diffValue=0,pt(c,e))}r!==Xe.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),ct(r),o}function ot(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)vt(t[n],e);e.dependenciesState_=Xe.NOT_TRACKING_}function it(e){var t=at();try{return e()}finally{st(t)}}function at(){var e=ht.trackingDerivation;return ht.trackingDerivation=null,e}function st(e){ht.trackingDerivation=e}function lt(e){var t=ht.allowStateReads;return ht.allowStateReads=e,t}function ct(e){ht.allowStateReads=e}function dt(e){if(e.dependenciesState_!==Xe.UP_TO_DATE_){e.dependenciesState_=Xe.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=Xe.UP_TO_DATE_}}var ut=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,mt=!1,ht=function(){var e=a();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(ft=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new ut).version&&(ft=!1),ft?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new ut):(setTimeout((function(){mt||o(35)}),1),new ut)}();function pt(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function vt(e,t){e.observers_.delete(t),0===e.observers_.size&&gt(e)}function gt(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,ht.pendingUnobservations.push(e))}function bt(){ht.inBatch++}function yt(){if(0==--ht.inBatch){St();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 Ye&&n.suspend_())}ht.pendingUnobservations=[]}}function _t(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&&gt(e),!1)}function xt(e){e.lowestObserverState_!==Xe.STALE_&&(e.lowestObserverState_=Xe.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Xe.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=Xe.STALE_})))}var wt=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_=Xe.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),St())},t.runReaction_=function(){if(!this.isDisposed){bt(),this.isScheduled=!1;var e=ht.trackingContext;if(ht.trackingContext=this,nt(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}ht.trackingContext=e,yt()}},t.track=function(e){if(!this.isDisposed){bt(),this.isRunning=!0;var t=ht.trackingContext;ht.trackingContext=this;var n=rt(this,e,void 0);ht.trackingContext=t,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&ot(this),tt(n)&&this.reportExceptionInDerivation_(n.cause),yt()}},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||(bt(),ot(this),yt()))},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[W]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},L(e,[{key:"isDisposed",get:function(){return N(this.flags_,e.isDisposedMask_)},set:function(t){this.flags_=z(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return N(this.flags_,e.isScheduledMask_)},set:function(t){this.flags_=z(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return N(this.flags_,e.isTrackPendingMask_)},set:function(t){this.flags_=z(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return N(this.flags_,e.isRunningMask_)},set:function(t){this.flags_=z(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return N(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=z(this.flags_,e.diffValueMask_,1===t)}}])}();wt.isDisposedMask_=1,wt.isScheduledMask_=2,wt.isTrackPendingMask_=4,wt.isRunningMask_=8,wt.diffValueMask_=16;var Ot=100,kt=function(e){return e()};function St(){ht.inBatch>0||ht.isRunningReactions||kt(At)}function At(){ht.isRunningReactions=!0;for(var e=ht.pendingReactions,t=0;e.length>0;){++t===Ot&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;r<o;r++)n[r].runReaction_()}ht.isRunningReactions=!1}var Et=S("Reaction",wt),Tt="action",jt="autoAction",Pt=te(Tt),Ct=te("action.bound",{bound:!0}),Rt=te(jt,{autoAction:!0}),Nt=te("autoAction.bound",{autoAction:!0,bound:!0});function zt(e){return function(t,n){return b(t)?Ke(t.name||"<unnamed action>",t,e):b(n)?Ke(t,n,e):G(n)?(e?Rt:Pt).decorate_20223_(t,n):y(n)?K(t,n,e?Rt:Pt):y(t)?q(te(e?jt:Tt,{name:t,autoAction:e})):void 0}}var Mt=zt(!1);Object.assign(Mt,Pt);var It=zt(!0);function Lt(e){return b(e)&&!0===e.isMobxAction}Object.assign(It,Rt),Mt.bound=q(Ct),It.bound=q(Nt);var Dt=function(e){return e()},Vt="onBO",Bt="onBUO";function $t(e,t,n){return Ut(Bt,e,t,n)}function Ut(e,t,n,r){var o="function"==typeof r?Jn(t,n):Jn(t),i=b(r)?r:n,a=e+"L";return o[a]?o[a].add(i):o[a]=new Set([i]),function(){var e=o[a];e&&(e.delete(i),0===e.size&&delete o[a])}}var Ht="never",qt="always",Kt="observed";function Gt(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(Gt)),n}var Wt=0;function Ft(){this.message="FLOW_CANCELLED"}Ft.prototype=Object.create(Error.prototype);var Zt=ae("flow"),Yt=ae("flow.bound",{bound:!0}),Xt=Object.assign((function(e,t){if(G(t))return Zt.decorate_20223_(e,t);if(y(t))return K(e,t,Zt);var n=e,r=n.name||"<unnamed flow>",o=function(){var e,t=arguments,o=++Wt,i=Mt(r+" - runid: "+o+" - init",n).apply(this,t),a=void 0,s=new Promise((function(t,n){var s=0;function l(e){var t;a=void 0;try{t=Mt(r+" - runid: "+o+" - yield "+s++,i.next).call(i,e)}catch(e){return n(e)}d(t)}function c(e){var t;a=void 0;try{t=Mt(r+" - runid: "+o+" - yield "+s++,i.throw).call(i,e)}catch(e){return n(e)}d(t)}function d(e){if(!b(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(l,c);e.then(d,n)}e=n,l(void 0)}));return s.cancel=Mt(r+" - runid: "+o+" - cancel",(function(){try{a&&Jt(a);var t=i.return(void 0),n=Promise.resolve(t.value);n.then(g,g),Jt(n),e(new Ft)}catch(t){e(t)}})),s};return o.isMobXFlow=!0,o}),Zt);function Jt(e){b(e.cancel)&&e.cancel()}function Qt(e){return!0===(null==e?void 0:e.isMobXFlow)}function en(e){return function(e){return!!e&&(Vn(e)||!!e[W]||Z(e)||Et(e)||Qe(e))}(e)}function tn(e,t){void 0===t&&(t=void 0),bt();try{return e.apply(t)}finally{yt()}}function nn(e){return e[W]}Xt.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!!y(t)&&(null==(r=nn(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!y(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){o(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),v((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function sn(e,t){var n=at();try{for(var r=[].concat(e.interceptors_||[]),i=0,a=r.length;i<a&&((t=r[i](t))&&!t.type&&o(14),t);i++);return t}finally{st(n)}}function ln(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function cn(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),v((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function dn(e,t){var n=at(),r=e.changeListeners_;if(r){for(var o=0,i=(r=r.slice()).length;o<i;o++)r[o](t);st(n)}}var un="splice",fn="update",mn={get:function(e,t){var n=e[W];return t===W?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?C(vn,t)?vn[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[W];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){o(15)}},hn=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 F(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)&&o("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;r<e-t;r++)n[r]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&o(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&Yn(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var o=this.values_.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:null==t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=u),on(this)){var i=sn(this,{object:this.proxy_,type:un,index:e,removedCount:t,added:n});if(!i)return u;t=i.removedCount,n=i.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_(o,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 o=this.values_.slice(e,e+t),i=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<i.length;s++)this.values_[e+n.length+s]=i[s];return o},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,o=ln(this),i=o||r?{observableKind:"array",object:this.proxy_,type:fn,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),o&&dn(this,i)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,o=ln(this),i=o||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:un,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),o&&dn(this,i)},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&&o(17,e,n.length),e<n.length){this.atom_;var r=n[e];if(on(this)){var i=sn(this,{type:fn,object:this.proxy_,index:e,newValue:t});if(!i)return;t=i.newValue}(t=this.enhancer_(t,r))!==r&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,r))}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 pn(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),p(),tr((function(){var o=new hn(n,t,r,!1);k(o.values_,W,o);var i=new Proxy(o.values_,mn);return o.proxy_=i,e&&e.length&&o.spliceWithArray_(0,0,e),i}))}var vn={clear:function(){return this.splice(0)},replace:function(e){var t=this[W];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),o=2;o<n;o++)r[o-2]=arguments[o];var i=this[W];switch(arguments.length){case 0:return[];case 1:return i.spliceWithArray_(e);case 2:return i.spliceWithArray_(e,t)}return i.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[W].spliceWithArray_(e,t,n)},push:function(){for(var e=this[W],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[W].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[W],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&&o(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){ht.trackingDerivation&&o(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[W],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function gn(e,t){"function"==typeof Array.prototype[e]&&(vn[e]=t(e))}function bn(e){return function(){var t=this[W];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,o=this[W];return o.atom_.reportObserved(),o.dehanceValues_(o.values_)[e]((function(e,o){return t.call(n,e,o,r)}))}}function _n(e){return function(){var t=this,n=this[W];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),o=arguments[0];return arguments[0]=function(e,n,r){return o(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",_n),gn("reduceRight",_n);var xn=S("ObservableArrayAdministration",hn);function wn(e){return _(e)&&xn(e[W])}var On={},kn="add",Sn="delete",An=function(){function e(e,t,n){var r=this;void 0===t&&(t=J),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[W]=On,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,b(Map)||o(18),tr((function(){r.keysAtom_=Y("ObservableMap.keys()"),r.data_=new Map,r.hasMap_=new Map,e&&r.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 Ze(this.has_(e),Q,"ObservableMap.key?",!1);this.hasMap_.set(e,r),$t(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?fn:kn,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:Sn,object:this,name:e}))return!1;if(this.has_(e)){var n=ln(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:Sn,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&&dn(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=ln(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:fn,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&dn(this,o)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,tn((function(){var r,o=new Ze(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,o),t=o.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()}));var r=ln(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:kn,object:this,name:e,newValue:t}:null;r&&dn(this,o)},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 Tn({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:e.get(o)}}})},t.entries=function(){var e=this,t=this.keys();return Tn({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:[o,e.get(o)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=D(this);!(n=r()).done;){var o=n.value,i=o[0],a=o[1];e.call(t,a,i,this)}},t.merge=function(e){var t=this;return En(e)&&(e=new Map(e)),tn((function(){var n,r,i;x(e)?function(e){var t=Object.keys(e);if(!T)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return d.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,r=Object.getPrototypeOf(n),i=Object.getPrototypeOf(r),null!==Object.getPrototypeOf(i)&&o(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!=e&&o(20,e)})),this},t.clear=function(){var e=this;tn((function(){it((function(){for(var t,n=D(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,r=function(e){if(A(e)||En(e))return e;if(Array.isArray(e))return new Map(e);if(x(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return o(21,e)}(e),i=new Map,a=!1,s=D(t.data_.keys());!(n=s()).done;){var l=n.value;if(!r.has(l))if(t.delete(l))a=!0;else{var c=t.data_.get(l);i.set(l,c)}}for(var d,u=D(r.entries());!(d=u()).done;){var f=d.value,m=f[0],h=f[1],p=t.data_.has(m);if(t.set(m,h),t.data_.has(m)){var v=t.data_.get(m);i.set(m,v),p||(a=!0)}}if(!a)if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else for(var g=t.data_.keys(),b=i.keys(),y=g.next(),_=b.next();!y.done;){if(y.value!==_.value){t.keysAtom_.reportChanged();break}y=g.next(),_=b.next()}t.data_=i})),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)},L(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),En=S("ObservableMap",An);function Tn(e){return e[Symbol.toStringTag]="MapIterator",lr(e)}var jn={},Pn=function(){function e(e,t,n){var r=this;void 0===t&&(t=J),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[W]=jn,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,b(Set)||o(22),this.enhancer_=function(e,r){return t(e,r,n)},tr((function(){r.atom_=Y(r.name_),e&&r.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=D(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.forEach=function(e,t){for(var n,r=D(this);!(n=r()).done;){var o=n.value;e.call(t,o,o,this)}},t.add=function(e){var t=this;if(this.atom_,on(this)&&!sn(this,{type:kn,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=ln(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:kn,object:this,newValue:e}:null;n&&dn(this,r)}return this},t.delete=function(e){var t=this;if(on(this)&&!sn(this,{type:Sn,object:this,oldValue:e}))return!1;if(this.has(e)){var n=ln(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:Sn,object:this,oldValue:e}:null;return tn((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&dn(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 Rn({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 Rn({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{value:void 0,done:!0}}})},t.intersection=function(e){return E(e)&&!Cn(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return E(e)&&!Cn(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return E(e)&&!Cn(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 E(e)&&!Cn(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return Cn(e)&&(e=new Set(e)),tn((function(){Array.isArray(e)||E(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!=e&&o("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()},L(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),Cn=S("ObservableSet",Pn);function Rn(e){return e[Symbol.toStringTag]="SetIterator",lr(e)}var Nn=Object.create(null),zn="remove",Mn=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=_e),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 F("ObservableObject.keys"),this.isPlainObject_=x(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 Ye)return n.set(t),!0;if(on(this)){var r=sn(this,{type:fn,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==ht.UNCHANGED){var o=ln(this),i=o?{type:fn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),o&&dn(this,i)}return!0},t.get_=function(e){return ht.trackingDerivation&&!C(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),C(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 Ze(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_[H])&&n[e])return;o(1,t.annotationType_,this.name_+"."+e.toString())}for(var r=this.target_;r&&r!==d;){var i=l(r,e);if(i){var a=t.make_(this,e,i,r);if(0===a)return;if(1===a)break}r=Object.getPrototypeOf(r)}Bn(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 o=n.extend_(this,e,t,r);return o&&Bn(this,0,e),o},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{bt();var r=this.delete_(e);if(!r)return r;if(on(this)){var o=sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:t.value});if(!o)return null;var i=o.newValue;t.value!==i&&(t=V({},t,{value:i}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else c(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{yt()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),this.keysAtom_;try{bt();var o=this.delete_(e);if(!o)return o;if(on(this)){var i=sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:t});if(!i)return null;t=i.newValue}var a=Dn(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 c(this.target_,e,s);var l=new Ze(t,n,"ObservableObject.key",!1);this.values_.set(e,l),this.notifyPropertyAddition_(e,l.value_)}finally{yt()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{bt();var r=this.delete_(e);if(!r)return r;if(on(this)&&!sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var o=Dn(e),i={configurable:!ht.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,i))return!1}else c(this.target_,e,i);this.values_.set(e,new Ye(t)),this.notifyPropertyAddition_(e,void 0)}finally{yt()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),this.keysAtom_,!C(this.target_,e))return!0;if(on(this)&&!sn(this,{object:this.proxy_||this.target_,name:e,type:zn}))return null;try{var n;bt();var r,o=ln(this),i=this.values_.get(e),a=void 0;if(!i&&o&&(a=null==(r=l(this.target_,e))?void 0:r.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(i&&(this.values_.delete(e),i instanceof Ze&&(a=i.value_),xt(i)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),o){var s={type:zn,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:a,name:e};o&&dn(this,s)}}finally{yt()}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=ln(this);if(r){var o=r?{type:kn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;r&&dn(this,o)}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),j(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function In(e,t){var n;if(C(e,W))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",o=new Mn(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:xe(e):void 0}(t));return O(e,W,o),e}var Ln=S("ObservableObjectAdministration",Mn);function Dn(e){return Nn[e]||(Nn[e]={get:function(){return this[W].getObservablePropValue_(e)},set:function(t){return this[W].setObservablePropValue_(e,t)}})}function Vn(e){return!!_(e)&&Ln(e[W])}function Bn(e,t,n){var r;null==(r=e.target_[H])||delete r[n]}var $n,Un,Hn=Fn(0),qn=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),Kn=0,Gn=function(){};$n=Gn,Un=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf($n.prototype,Un):void 0!==$n.prototype.__proto__?$n.prototype.__proto__=Un:$n.prototype=Un;var Wn=function(e){function t(t,n,r,o){var i;return void 0===r&&(r="ObservableArray"),void 0===o&&(o=!1),i=e.call(this)||this,tr((function(){var e=new hn(r,n,o,!0);e.proxy_=i,k(i,W,e),t&&t.length&&i.spliceWithArray(0,0,t),qn&&Object.defineProperty(i,"0",Hn)})),i}B(t,e);var n=t.prototype;return n.concat=function(){this[W].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 wn(e)?e.slice():e})))},n[Symbol.iterator]=function(){var e=this,t=0;return lr({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},L(t,[{key:"length",get:function(){return this[W].getArrayLength_()},set:function(e){this[W].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(Gn);function Fn(e){return{enumerable:!1,configurable:!0,get:function(){return this[W].get_(e)},set:function(t){this[W].set_(e,t)}}}function Zn(e){c(Wn.prototype,""+e,Fn(e))}function Yn(e){if(e>Kn){for(var t=Kn;t<e+100;t++)Zn(t);Kn=e}}function Xn(e,t,n){return new Wn(e,t,n)}function Jn(e,t){if("object"==typeof e&&null!==e){if(wn(e))return void 0!==t&&o(23),e[W].atom_;if(Cn(e))return e.atom_;if(En(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||o(25,t,er(e)),n}if(Vn(e)){if(!t)return o(26);var r=e[W].values_.get(t);return r||o(27,t,er(e)),r}if(Z(e)||Qe(e)||Et(e))return e}else if(b(e)&&Et(e[W]))return e[W];o(28)}function Qn(e,t){return e||o(29),void 0!==t?Qn(Jn(e,t)):Z(e)||Qe(e)||Et(e)||En(e)||Cn(e)?e:e[W]?e[W]:void o(24,e)}function er(e,t){var n;if(void 0!==t)n=Jn(e,t);else{if(Lt(e))return e.name;n=Vn(e)||En(e)||Cn(e)?Qn(e):Jn(e)}return n.name_}function tr(e){var t=at(),n=We(!0);bt();try{return e()}finally{yt(),Fe(n),st(t)}}Object.entries(vn).forEach((function(e){var t=e[0],n=e[1];"concat"!==t&&O(Wn.prototype,t,n)})),Yn(1e3);var nr,rr=d.toString;function or(e,t,n){return void 0===n&&(n=-1),ir(e,t,n)}function ir(e,t,n,r,o){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var i=typeof e;if("function"!==i&&"object"!==i&&"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 l=e.constructor,c=t.constructor;if(l!==c&&!(b(l)&&l instanceof l&&b(c)&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),o=o||[];for(var d=(r=r||[]).length;d--;)if(r[d]===e)return o[d]===t;if(r.push(e),o.push(t),s){if((d=e.length)!==t.length)return!1;for(;d--;)if(!ir(e[d],t[d],n-1,r,o))return!1}else{var u,f=Object.keys(e);if(d=f.length,Object.keys(t).length!==d)return!1;for(;d--;)if(!C(t,u=f[d])||!ir(e[u],t[u],n-1,r,o))return!1}return r.pop(),o.pop(),!0}function ar(e){return wn(e)?e.slice():A(e)||En(e)||E(e)||Cn(e)?Array.from(e.entries()):e}var sr=(null==(nr=a().Iterator)?void 0:nr.prototype)||{};function lr(e){return e[Symbol.iterator]=cr,Object.assign(Object.create(sr),e)}function cr(){return this}["Symbol","Map","Set"].forEach((function(e){void 0===a()[e]&&o("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:W});var dr=r(953),ur=r.n(dr);if(!dr.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!function(e,t,n){return tr((function(){var r=In(e,n)[W];null!=t||(t=function(e){return C(e,H)||O(e,H,V({},e[H])),e[H]}(e)),j(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 fr=n(180);function mr(e){e()}function hr(e){e||(e=mr),function(e){!0===e.isolateGlobalState&&function(){if((ht.pendingReactions.length||ht.inBatch||ht.isRunningReactions)&&o(36),mt=!0,ft){var e=a();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),ht=new ut}}();var t,n,r=e.useProxies,i=e.enforceActions;if(void 0!==r&&(ht.useProxies=r===qt||r!==Ht&&"undefined"!=typeof Proxy),"ifavailable"===r&&(ht.verifyProxies=!0),void 0!==i){var s=i===qt?qt:i===Kt;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=kt,kt=function(e){return t((function(){return n(e)}))})}({reactionScheduler:e})}var pr=function(){return!0};function vr(e){return Gt(Jn(e,void 0))}var gr=!1;function br(e){gr=e}function yr(){return gr}var _r,xr,wr=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,o){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(o))})),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}(),Or=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:wr)((function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null})),kr=r(634);function Sr(e){e.reaction=new wt("observer".concat(e.name),(function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)}))}function Ar(e,t){if(void 0===t&&(t="observed"),yr())return e();var n=ur().useRef(null);if(!n.current){var r={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return Or.unregister(r),r.onStoreChange=e,r.reaction||(Sr(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 o,i,a=n.current;if(a.reaction||(Sr(a),Or.register(n,a,a)),ur().useDebugValue(a.reaction,vr),(0,kr.useSyncExternalStore)(a.subscribe,a.getSnapshot,a.getSnapshot),a.reaction.track((function(){try{o=e()}catch(e){i=e}})),i)throw i;return o}var Er="function"==typeof Symbol&&Symbol.for,Tr=null!==(xr=null===(_r=Object.getOwnPropertyDescriptor((function(){}),"name"))||void 0===_r?void 0:_r.configurable)&&void 0!==xr&&xr,jr=Er?Symbol.for("react.forward_ref"):"function"==typeof dr.forwardRef&&(0,dr.forwardRef)((function(e){return null})).$$typeof,Pr=Er?Symbol.for("react.memo"):"function"==typeof dr.memo&&(0,dr.memo)((function(e){return null})).$$typeof;function Cr(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,o=e,i=e.displayName||e.name;if(jr&&e.$$typeof===jr&&(r=!0,"function"!=typeof(o=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var a,s,l=function(e,t){return Ar((function(){return o(e,t)}),i)};return l.displayName=e.displayName,Tr&&Object.defineProperty(l,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(l.contextTypes=e.contextTypes),r&&(l=(0,dr.forwardRef)(l)),l=(0,dr.memo)(l),a=e,s=l,Object.keys(a).forEach((function(e){Nr[e]||Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(a,e))})),l}var Rr,Nr={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function zr(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:Ar(r)}function Mr(e,t){return(0,dr.useState)((function(){return Ie(e(),t,{autoBind:!0})}))[0]}function Ir(e){var t=(0,dr.useState)((function(){return Ie(e,{},{deep:!1})}))[0];return function(e){Ge(0,!1,e,this,void 0)}((function(){Object.assign(t,e)})),t}function Lr(e,t){var n=t&&Ir(t);return(0,dr.useState)((function(){return Ie(e(n),void 0,{autoBind:!0})}))[0]}zr.displayName="Observer",hr(fr.unstable_batchedUpdates);var Dr=null!==(Rr=Or.finalizeAllImmediately)&&void 0!==Rr?Rr:function(){};function Vr(e,t){return void 0===t&&(t="observed"),Ar(e,t)}function Br(e){br(e)}},31:(e,t,n)=>{n.r(t),n.d(t,{default:()=>g});var r=n(478),o=n.n(r),i=n(135),a=n.n(i),s=n(301),l=n.n(s),c=n(222),d=n.n(c),u=n(626),f=n.n(u),m=n(279),h=n.n(m),p=n(178),v={};v.styleTagTransform=h(),v.setAttributes=d(),v.insert=l().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=f(),o()(p.A,v);const g=p.A&&p.A.locals?p.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 i={},a=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],d=i[c]||0,u="".concat(c," ").concat(d);i[c]=d+1;var f=n(u),m={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(m);else{var h=o(m,r);r.byIndex=s,t.splice(s,0,{identifier:u,updater:h,references:1})}a.push(u)}return a}function o(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,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=n(i[a]);t[s].references--}for(var l=r(e,o),c=0;c<i.length;c++){var d=n(i[c]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}i=l}}},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 o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),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),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,d=r[1];return s((function(){o.value=n,o.getSnapshot=t,c(o)&&d({inst:o})}),[e,n,t]),a((function(){return c(o)&&d({inst:o}),e((function(){c(o)&&d({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:d},634:(e,t,n)=>{e.exports=n(319)},159:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=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 o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});const a=i(n(953));n(31),t.default=function(e){const[t,n]=(0,a.useState)(!1),[r,o]=(0,a.useState)(!0),[i,s]=(0,a.useState)(null),[l,c]=(0,a.useState)(null),{currentTask:d,audioRef:u,toggleHold:f,toggleRecording:m,endCall:h,wrapupCall:p,wrapupCodes:v,wrapupRequired:g}=e;return(0,a.useEffect)((()=>{if(!d||!d.data||!d.data.interaction)return;const{interaction:e,mediaResourceId:t}=d.data,{media:r,callProcessingDetails:i}=e,a=r&&r[t]&&r[t].isHold;if(n(a),i){const{isPaused:e}=i;o(!e)}}),[d]),a.default.createElement(a.default.Fragment,null,a.default.createElement("audio",{ref:u,id:"remote-audio",autoPlay:!0}),d&&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"},"Call Control"),a.default.createElement("div",{style:{display:"flex",flexDirection:"column",flexGrow:1}},a.default.createElement("div",{style:{display:"flex",gap:"1rem"}},a.default.createElement("button",{className:"btn",onClick:()=>{f(!t),n(!t)},disabled:g},t?"Resume":"Hold"),a.default.createElement("button",{className:"btn",onClick:()=>{m(r),o(!r)},disabled:g},r?"Pause Recording":"Resume Recording"),a.default.createElement("button",{className:"btn",onClick:h,disabled:g||t},"End")),a.default.createElement("div",{style:{display:"flex",gap:"1rem",marginTop:"1rem"}},a.default.createElement("select",{className:"select",onChange:e=>{const{text:t,value:n}=e.target.options[e.target.selectedIndex];s(t),c(n)},disabled:!g},a.default.createElement("option",{value:""},"Select the wrap-up reason"),v.map((e=>a.default.createElement("option",{key:e.id,value:e.id},e.name)))),a.default.createElement("button",{className:"btn",onClick:()=>{i&&l&&(p(i,l),s(null),c(null))},disabled:!g&&!i},"Wrap Up")))))))}},681: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.CallControl=void 0;const o=r(n(953)),i=n(62),a=r(n(768)),s=n(306),l=r(n(159)),c=(0,i.observer)((({onHoldResume:e,onEnd:t,onWrapUp:n})=>{const{logger:r,currentTask:i,wrapupCodes:c,wrapupRequired:d}=a.default,u=(0,s.useCallControl)({currentTask:i,onHoldResume:e,onEnd:t,onWrapUp:n,logger:r});return o.default.createElement(l.default,Object.assign({},u,{wrapupRequired:d,wrapupCodes:c}))}));t.CallControl=c},869:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(953)),i={box:{backgroundColor:"#ffffff",borderRadius:"8px",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)",padding:"20px",maxWidth:"800px",margin:"0 auto"},sectionBox:{padding:"10px",border:"1px solid #ddd",borderRadius:"8px",marginBottom:"20px"},fieldset:{border:"1px solid #ccc",borderRadius:"5px",padding:"10px",marginBottom:"20px",position:"relative"},legendBox:{fontWeight:"bold",color:"#0052bf"},container:{border:"1px solid #ccc",borderRadius:"8px",padding:"16px",width:"350px",boxShadow:"0px 4px 8px rgba(0, 0, 0, 0.2)",fontFamily:"Arial, sans-serif",backgroundColor:"#ffffff",display:"flex",flexDirection:"column"},topSection:{display:"flex",justifyContent:"space-between",alignItems:"center"},iconWrapper:{display:"inline-block",backgroundColor:"#d4f8e8",borderRadius:"50%",width:"40px",height:"40px",justifyContent:"center",alignItems:"center",marginRight:"10px"},iconSvg:{width:"24px",height:"24px",color:"#146f5c"},callInfo:{margin:0,fontSize:"1.2em",color:"#333"},aniText:{fontSize:"1.1em",fontWeight:"bold",margin:"4px 0",color:"#146f5c"},buttonsWrapper:{display:"flex",flexDirection:"column",alignItems:"flex-end",marginLeft:"16px"},answerButton:{padding:"8px 16px",border:"none",borderRadius:"6px",fontSize:"0.9em",cursor:"pointer",fontWeight:"bold",backgroundColor:"#28a745",color:"#fff",marginBottom:"8px"},declineButton:{padding:"8px 16px",border:"none",borderRadius:"6px",fontSize:"0.9em",cursor:"pointer",fontWeight:"bold",backgroundColor:"#dc3545",color:"#fff"},queueInfo:{fontSize:"0.9em",color:"#666",marginTop:"8px"},timeElapsed:{color:"#28a745",fontWeight:"bold"},callDetails:{marginTop:"16px",fontSize:"0.9em",color:"#333"},detailItem:{margin:"4px 0"},detailLabel:{color:"#555",fontWeight:"bold"}};t.default=e=>{const{incomingTask:t,accept:n,decline:r,isBrowser:a}=e;if(!t)return o.default.createElement(o.default.Fragment,null);const s=t.data.interaction.callAssociatedDetails,{ani:l,dn:c,virtualTeamName:d}=s;return o.default.createElement("div",{style:i.box},o.default.createElement("section",{style:i.sectionBox},o.default.createElement("fieldset",{style:i.fieldset},o.default.createElement("legend",{style:i.legendBox},"Incoming Task"),o.default.createElement("div",{"data-testid":"incoming-task-presentational",style:i.container},o.default.createElement("div",{style:i.topSection},o.default.createElement("div",{style:{display:"flex",alignItems:"center"}},o.default.createElement("span",{style:i.iconWrapper},o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:i.iconSvg},o.default.createElement("path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.86 19.86 0 0 1-8.63-2.73 19.5 19.5 0 0 1-6-6A19.86 19.86 0 0 1 3.08 4.18 2 2 0 0 1 5 2h3a2 2 0 0 1 2 1.72c.2 1.52.71 2.94 1.41 4.24a2 2 0 0 1-.45 2.31L9.91 11a16 16 0 0 0 6 6l1.73-1.05a2 2 0 0 1 2.31-.45 16.11 16.11 0 0 0 4.24 1.41A2 2 0 0 1 22 16.92z"}))),o.default.createElement("div",null,o.default.createElement("h2",{style:i.callInfo},"Incoming Call"),o.default.createElement("p",{"data-testid":"incoming-task-ani",style:i.aniText},l))),a&&o.default.createElement("div",{style:i.buttonsWrapper},o.default.createElement("button",{style:i.answerButton,onClick:n},"Answer"),o.default.createElement("button",{style:i.declineButton,onClick:r},"Decline"))),o.default.createElement("p",{style:i.queueInfo},d," - ",o.default.createElement("span",{style:i.timeElapsed},"")),o.default.createElement("div",{style:i.callDetails},o.default.createElement("p",{style:i.detailItem},o.default.createElement("strong",{style:i.detailLabel},"Phone Number:")," ",l),o.default.createElement("p",{style:i.detailItem},o.default.createElement("strong",{style:i.detailLabel},"DNIS:")," ",c),o.default.createElement("p",{style:i.detailItem},o.default.createElement("strong",{style:i.detailLabel},"Queue Name:")," ",d))))))}},360: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.IncomingTask=void 0;const o=r(n(953)),i=n(62),a=r(n(768)),s=n(306),l=r(n(869)),c=(0,i.observer)((({onAccepted:e,onDeclined:t})=>{const{cc:n,deviceType:r,incomingTask:i,logger:c}=a.default,d=(0,s.useIncomingTask)({cc:n,incomingTask:i,onAccepted:e,onDeclined:t,deviceType:r,logger:c}),u=Object.assign({},d);return o.default.createElement(l.default,Object.assign({},u))}));t.IncomingTask=c},196: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.TaskList=void 0;const o=r(n(953)),i=r(n(768)),a=n(62),s=r(n(859)),l=n(306),c=(0,a.observer)((()=>{const{cc:e,taskList:t,currentTask:n,deviceType:r,logger:a}=i.default,c=(0,l.useTaskList)({cc:e,deviceType:r,logger:a,taskList:t}),d=Object.assign(Object.assign({},c),{currentTask:n});return o.default.createElement(s.default,Object.assign({},d))}));t.TaskList=c},859:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(953)),i={box:{backgroundColor:"#ffffff",borderRadius:"8px",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)",padding:"20px",maxWidth:"800px",margin:"0 auto"},container:{display:"flex",flexDirection:"column",gap:"10px",padding:"20px"},card:{display:"flex",alignItems:"center",justifyContent:"space-between",backgroundColor:"#ffffff",border:"1px solid #ddd",borderRadius:"8px",padding:"10px 15px",boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.1)"},leftSection:{display:"flex",alignItems:"center",gap:"10px"},icon:{backgroundColor:"#bdf5cf",borderRadius:"50%",width:"40px",height:"40px",display:"flex",justifyContent:"center",alignItems:"center"},iconSvg:{width:"24px",height:"24px",color:"#146f5c"},textPrimary:{margin:0,fontSize:"16px",fontWeight:"bold"},textSecondary:{margin:0,fontSize:"14px",color:"#888"},rightSectionText:{margin:0,fontSize:"14px",fontWeight:"bold",color:"#333"},buttonsWrapper:{display:"flex",gap:"10px"},acceptButton:{padding:"8px 16px",border:"none",borderRadius:"6px",fontSize:"0.9em",cursor:"pointer",fontWeight:"bold",backgroundColor:"#28a745",color:"#fff"},rejectButton:{padding:"8px 16px",border:"none",borderRadius:"6px",fontSize:"0.9em",cursor:"pointer",fontWeight:"bold",backgroundColor:"#dc3545",color:"#fff"},fieldset:{border:"1px solid #ccc",borderRadius:"5px",padding:"10px",marginBottom:"20px",position:"relative"},legendBox:{fontWeight:"bold",color:"#0052bf"}};t.default=e=>{if(e.taskList.length<=0)return o.default.createElement(o.default.Fragment,null);const{currentTask:t,taskList:n,acceptTask:r,declineTask:a,isBrowser:s}=e;return o.default.createElement("div",{style:i.box},o.default.createElement("fieldset",{style:i.fieldset},o.default.createElement("legend",{style:i.legendBox},"TaskList"),o.default.createElement("div",{style:i.container},n.map(((e,n)=>{const l=e.data.interaction.callAssociatedDetails,{ani:c,dn:d,virtualTeamName:u}=l;return o.default.createElement("div",{key:n,style:i.card},o.default.createElement("div",{style:i.leftSection},o.default.createElement("div",{style:i.icon},o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:i.iconSvg},o.default.createElement("path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.86 19.86 0 0 1-8.63-2.73 19.5 19.5 0 0 1-6-6A19.86 19.86 0 0 1 3.08 4.18 2 2 0 0 1 5 2h3a2 2 0 0 1 2 1.72c.2 1.52.71 2.94 1.41 4.24a2 2 0 0 1-.45 2.31L9.91 11a16 16 0 0 0 6 6l1.73-1.05a2 2 0 0 1 2.31-.45 16.11 16.11 0 0 0 4.24 1.41A2 2 0 0 1 22 16.92z"}))),o.default.createElement("div",null,o.default.createElement("p",{style:i.textPrimary},c),o.default.createElement("p",{style:i.textSecondary},u))),!t&&o.default.createElement("div",null,o.default.createElement("p",{style:i.rightSectionText},d),s&&o.default.createElement("div",{style:i.buttonsWrapper},o.default.createElement("button",{style:i.acceptButton,onClick:()=>r(e)},"Accept"),o.default.createElement("button",{style:i.rejectButton,onClick:()=>a(e)},"Reject"))))})))))}},306: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.useCallControl=t.useIncomingTask=t.useTaskList=void 0;const o=n(953),i=r(n(768)),a=n(88);t.useTaskList=e=>{const{deviceType:t,onTaskAccepted:n,onTaskDeclined:r,logger:o,taskList:i}=e,a=(e,t)=>{o.error(e,{module:"widget-cc-task#helper.ts",method:`useTaskList#${t}`})};return{taskList:i,acceptTask:e=>{const t=null==e?void 0:e.data.interactionId;t&&e.accept(t).then((()=>{n&&n(e)})).catch((e=>{a(`Error accepting task: ${e}`,"acceptTask")}))},declineTask:e=>{const t=null==e?void 0:e.data.interactionId;t&&e.decline(t).then((()=>{r&&r(e)})).catch((e=>{a(`Error declining task: ${e}`,"declineTask")}))},isBrowser:"BROWSER"===t}},t.useIncomingTask=e=>{const{cc:t,onAccepted:n,onDeclined:r,deviceType:o,incomingTask:i,logger:a}=e,s=(e,t)=>{a.error(e,{module:"widget-cc-task#helper.ts",method:`useIncomingTask#${t}`})};return{incomingTask:i,accept:()=>{const e=null==i?void 0:i.data.interactionId;e&&i.accept(e).then((()=>{n&&n()})).catch((e=>{s(`Error accepting incoming task: ${e}`,"accept")}))},decline:()=>{const e=null==i?void 0:i.data.interactionId;e&&i.decline(e).then((()=>{r&&r()})).catch((e=>{s(`Error declining incoming task: ${e}`,"decline")}))},isBrowser:"BROWSER"===o}},t.useCallControl=e=>{const{currentTask:t,onHoldResume:n,onEnd:r,onWrapUp:s,logger:l}=e,c=(0,o.useRef)(null),d=(e,t)=>{l.error(e,{module:"widget-cc-task#helper.ts",method:`useCallControl#${t}`})},u=(0,o.useCallback)((e=>{c.current&&(c.current.srcObject=new MediaStream([e]))}),[c,t]);return(0,o.useEffect)((()=>{if(t)return t.on(a.TASK_EVENTS.TASK_MEDIA,u),()=>{t.off(a.TASK_EVENTS.TASK_MEDIA,u)}}),[t]),{currentTask:t,audioRef:c,endCall:()=>{t.end().then((()=>{r&&r()})).catch((e=>{d(`Error ending call: ${e}`,"endCall")}))},toggleHold:e=>{e?t.hold().then((()=>n&&n())).catch((e=>{d(`Error holding call: ${e}`,"toggleHold")})):t.resume().then((()=>n&&n())).catch((e=>{d(`Error resuming call: ${e}`,"toggleHold")}))},toggleRecording:e=>{e?t.pauseRecording().catch((e=>{d(`Error pausing recording: ${e}`,"toggleRecording")})):t.resumeRecording().catch((e=>{d(`Error resuming recording: ${e}`,"toggleRecording")}))},wrapupCall:(e,n)=>{t.wrapup({wrapUpReason:e,auxCodeId:n}).then((()=>{s&&s(),i.default.handleTaskRemove(t.data.interactionId)})).catch((e=>{d(`Error wrapping up call: ${e}`,"wrapupCall")}))}}}},88:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.TASK_EVENTS=void 0,function(e){e.TASK_INCOMING="task:incoming",e.TASK_ASSIGNED="task:assigned",e.TASK_MEDIA="task:media",e.TASK_HOLD="task:hold",e.TASK_UNHOLD="task:unhold",e.TASK_CONSULT="task:consult",e.TASK_CONSULT_END="task:consultEnd",e.TASK_CONSULT_ACCEPT="task:consultAccepted",e.TASK_PAUSE="task:pause",e.TASK_RESUME="task:resume",e.TASK_END="task:end",e.TASK_WRAPUP="task:wrapup"}(n||(t.TASK_EVENTS=n={}))},768:e=>{e.exports=n(768)},953:e=>{e.exports=n(953)}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={id:e,exports:{}};return t[e].call(i.exports,i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var i={};(()=>{var e=i;Object.defineProperty(e,"__esModule",{value:!0}),e.CallControl=e.TaskList=e.IncomingTask=void 0;const t=o(360);Object.defineProperty(e,"IncomingTask",{enumerable:!0,get:function(){return t.IncomingTask}});const n=o(196);Object.defineProperty(e,"TaskList",{enumerable:!0,get:function(){return n.TaskList}});const r=o(681);Object.defineProperty(e,"CallControl",{enumerable:!0,get:function(){return r.CallControl}})})(),e.exports=i})()},758:(e,t,n)=>{(()=>{var t={62:(e,t,r)=>{"use strict";function o(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)}r.r(t),r.d(t,{Observer:()=>zr,_observerFinalizationRegistry:()=>Or,clearTimers:()=>Dr,enableStaticRendering:()=>br,isObserverBatched:()=>pr,isUsingStaticRendering:()=>yr,observer:()=>Cr,observerBatching:()=>hr,useAsObservableSource:()=>Ir,useLocalObservable:()=>Mr,useLocalStore:()=>Lr,useObserver:()=>Vr,useStaticRendering:()=>Br});var i={};function a(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:i}var s=Object.assign,l=Object.getOwnPropertyDescriptor,c=Object.defineProperty,d=Object.prototype,u=[];Object.freeze(u);var f={};Object.freeze(f);var m="undefined"!=typeof Proxy,h=Object.toString();function p(){m||o("Proxy not available")}function v(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var g=function(){};function b(e){return"function"==typeof e}function y(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function _(e){return null!==e&&"object"==typeof e}function x(e){if(!_(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 w(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function O(e,t,n){c(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function k(e,t,n){c(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function S(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return _(e)&&!0===e[n]}}function A(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function E(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var T=void 0!==Object.getOwnPropertySymbols,j="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:T?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function P(e){return null===e?null:"object"==typeof e?""+e:e}function C(e,t){return d.hasOwnProperty.call(e,t)}var R=Object.getOwnPropertyDescriptors||function(e){var t={};return j(e).forEach((function(n){t[n]=l(e,n)})),t};function N(e,t){return!!(e&t)}function z(e,t,n){return n?e|=t:e&=~t,e}function M(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 I(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,U(r.key),r)}}function L(e,t,n){return t&&I(e.prototype,t),n&&I(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function D(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 M(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)?M(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 V(){return V=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},V.apply(null,arguments)}function B(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$(e,t)}function $(e,t){return $=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$(e,t)}function U(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 H=Symbol("mobx-stored-annotations");function q(e){return Object.assign((function(t,n){if(G(n))return e.decorate_20223_(t,n);K(t,n,e)}),e)}function K(e,t,n){C(e,H)||O(e,H,V({},e[H])),function(e){return e.annotationType_===ee}(n)||(e[H][t]=n)}function G(e){return"object"==typeof e&&"string"==typeof e.kind}var W=Symbol("mobx administration"),F=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_=Xe.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 _t(this)},t.reportChanged=function(){bt(),xt(this),yt()},t.toString=function(){return this.name_},L(e,[{key:"isBeingObserved",get:function(){return N(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=z(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return N(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=z(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return N(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=z(this.flags_,e.diffValueMask_,1===t)}}])}();F.isBeingObservedMask_=1,F.isPendingUnobservationMask_=2,F.diffValueMask_=4;var Z=S("Atom",F);function Y(e,t,n){void 0===t&&(t=g),void 0===n&&(n=g);var r=new F(e);return t!==g&&Ut(Vt,r,t,void 0),n!==g&&$t(r,n),r}var X={identity:function(e,t){return e===t},structural:function(e,t){return or(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 or(e,t,1)}};function J(e,t,n){return en(e)?e:Array.isArray(e)?Ie.array(e,{name:n}):x(e)?Ie.object(e,void 0,{name:n}):A(e)?Ie.map(e,{name:n}):E(e)?Ie.set(e,{name:n}):"function"!=typeof e||Lt(e)||Qt(e)?e:w(e)?Xt(e):It(n,e)}function Q(e){return e}var ee="override";function te(e,t){return{annotationType_:e,options_:t,make_:ne,extend_:re,decorate_20223_:oe}}function ne(e,t,n,r){var o;if(null!=(o=this.options_)&&o.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(Lt(n.value))return 1;var i=ie(e,this,t,n,!1);return c(r,t,i),2}function re(e,t,n,r){var o=ie(e,this,t,n);return e.defineProperty_(t,o,r)}function oe(e,t){var n,r=t.kind,i=t.name,a=t.addInitializer,s=this,l=function(e){var t,n,r,o;return Ke(null!=(t=null==(n=s.options_)?void 0:n.name)?t:i.toString(),e,null!=(r=null==(o=s.options_)?void 0:o.autoAction)&&r)};return"field"==r?function(e){var t,n=e;return Lt(n)||(n=l(n)),null!=(t=s.options_)&&t.bound&&((n=n.bind(this)).isMobxAction=!0),n}:"method"==r?(Lt(e)||(e=l(e)),null!=(n=this.options_)&&n.bound&&a((function(){var e=this,t=e[i].bind(e);t.isMobxAction=!0,e[i]=t})),e):void o("Cannot apply '"+s.annotationType_+"' to '"+String(i)+"' (kind: "+r+"):\n'"+s.annotationType_+"' can only be used on properties with a function value.")}function ie(e,t,n,r,o){var i,a,s,l,c,d,u,f;void 0===o&&(o=ht.safeDescriptors),f=r,t.annotationType_,f.value;var m,h=r.value;return null!=(i=t.options_)&&i.bound&&(h=h.bind(null!=(m=e.proxy_)?m:e.target_)),{value:Ke(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),h,null!=(l=null==(c=t.options_)?void 0:c.autoAction)&&l,null!=(d=t.options_)&&d.bound?null!=(u=e.proxy_)?u:e.target_:void 0),configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function ae(e,t){return{annotationType_:e,options_:t,make_:se,extend_:le,decorate_20223_:ce}}function se(e,t,n,r){var o;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(o=this.options_)&&o.bound&&(!C(e.target_,t)||!Qt(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(Qt(n.value))return 1;var i=de(e,this,0,n,!1,!1);return c(r,t,i),2}function le(e,t,n,r){var o,i=de(e,this,0,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,i,r)}function ce(e,t){var n,r=t.name,o=t.addInitializer;return Qt(e)||(e=Xt(e)),null!=(n=this.options_)&&n.bound&&o((function(){var e=this,t=e[r].bind(e);t.isMobXFlow=!0,e[r]=t})),e}function de(e,t,n,r,o,i){var a;void 0===i&&(i=ht.safeDescriptors),a=r,t.annotationType_,a.value;var s,l=r.value;return Qt(l)||(l=Xt(l)),o&&((l=l.bind(null!=(s=e.proxy_)?s:e.target_)).isMobXFlow=!0),{value:l,configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function ue(e,t){return{annotationType_:e,options_:t,make_:fe,extend_:me,decorate_20223_:he}}function fe(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function me(e,t,n,r){return o=n,this.annotationType_,o.get,e.defineComputedProperty_(t,V({},this.options_,{get:n.get,set:n.set}),r);var o}function he(e,t){var n=this,r=t.name;return(0,t.addInitializer)((function(){var t=In(this)[W],o=V({},n.options_,{get:e,context:this});o.name||(o.name="ObservableObject."+r.toString()),t.values_.set(r,new Ye(o))})),function(){return this[W].getObservablePropValue_(r)}}function pe(e,t){return{annotationType_:e,options_:t,make_:ve,extend_:ge,decorate_20223_:be}}function ve(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function ge(e,t,n,r){var o,i;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(o=null==(i=this.options_)?void 0:i.enhancer)?o:J,r)}function be(e,t){var n=this,r=t.kind,o=t.name,i=new WeakSet;function a(e,t){var r,a,s=In(e)[W],l=new Ze(t,null!=(r=null==(a=n.options_)?void 0:a.enhancer)?r:J,"ObservableObject."+o.toString(),!1);s.values_.set(o,l),i.add(e)}if("accessor"==r)return{get:function(){return i.has(this)||a(this,e.get.call(this)),this[W].getObservablePropValue_(o)},set:function(e){return i.has(this)||a(this,e),this[W].setObservablePropValue_(o,e)},init:function(e){return i.has(this)||a(this,e),e}}}var ye="true",_e=xe();function xe(e){return{annotationType_:ye,options_:e,make_:we,extend_:Oe,decorate_20223_:ke}}function we(e,t,n,r){var o,i,a,s;if(n.get)return Be.make_(e,t,n,r);if(n.set){var l=Ke(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!ht.safeDescriptors||e.isPlainObject_,set:l})?0:2:(c(r,t,{configurable:!0,set:l}),2)}if(r!==e.target_&&"function"==typeof n.value)return w(n.value)?(null!=(s=this.options_)&&s.autoBind?Xt.bound:Xt).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?It.bound:It).make_(e,t,n,r);var d,u=!1===(null==(o=this.options_)?void 0:o.deep)?Ie.ref:Ie;return"function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(d=e.proxy_)?d:e.target_)),u.make_(e,t,n,r)}function Oe(e,t,n,r){var o,i,a;return n.get?Be.extend_(e,t,n,r):n.set?e.defineProperty_(t,{configurable:!ht.safeDescriptors||e.isPlainObject_,set:Ke(t.toString(),n.set)},r):("function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),(!1===(null==(i=this.options_)?void 0:i.deep)?Ie.ref:Ie).extend_(e,t,n,r))}function ke(e,t){o("'"+this.annotationType_+"' cannot be used as a decorator")}var Se={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function Ae(e){return e||Se}Object.freeze(Se);var Ee=pe("observable"),Te=pe("observable.ref",{enhancer:Q}),je=pe("observable.shallow",{enhancer:function(e,t,n){return null==e||Vn(e)||wn(e)||En(e)||Cn(e)?e:Array.isArray(e)?Ie.array(e,{name:n,deep:!1}):x(e)?Ie.object(e,void 0,{name:n,deep:!1}):A(e)?Ie.map(e,{name:n,deep:!1}):E(e)?Ie.set(e,{name:n,deep:!1}):void 0}}),Pe=pe("observable.struct",{enhancer:function(e,t){return or(e,t)?t:e}}),Ce=q(Ee);function Re(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 Ne(e,t,n){return G(t)?Ee.decorate_20223_(e,t):y(t)?void K(e,t,Ee):en(e)?e:x(e)?Ie.object(e,t,n):Array.isArray(e)?Ie.array(e,t):A(e)?Ie.map(e,t):E(e)?Ie.set(e,t):"object"==typeof e&&null!==e?e:Ie.box(e,t)}s(Ne,Ce);var ze,Me,Ie=s(Ne,{box:function(e,t){var n=Ae(t);return new Ze(e,Re(n),n.name,!0,n.equals)},array:function(e,t){var n=Ae(t);return(!1===ht.useProxies||!1===n.proxy?Xn:pn)(e,Re(n),n.name)},map:function(e,t){var n=Ae(t);return new An(e,Re(n),n.name)},set:function(e,t){var n=Ae(t);return new Pn(e,Re(n),n.name)},object:function(e,t,n){return tr((function(){return function(e,t,n){var r=R(t);return tr((function(){var t=In(e,void 0)[W];j(r).forEach((function(e){t.extend_(e,r[e],!n||!(e in n)||n[e])}))})),e}(!1===ht.useProxies||!1===(null==n?void 0:n.proxy)?In({},n):function(e,t){var n,r;return p(),null!=(r=(n=(e=In(e,t))[W]).proxy_)?r:n.proxy_=new Proxy(e,rn)}({},n),e,t)}))},ref:q(Te),shallow:q(je),deep:Ce,struct:q(Pe)}),Le="computed",De=ue(Le),Ve=ue("computed.struct",{equals:X.structural}),Be=function(e,t){if(G(t))return De.decorate_20223_(e,t);if(y(t))return K(e,t,De);if(x(e))return q(ue(Le,e));var n=x(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new Ye(n)};Object.assign(Be,De),Be.struct=q(Ve);var $e=0,Ue=1,He=null!=(ze=null==(Me=l((function(){}),"name"))?void 0:Me.configurable)&&ze,qe={value:"action",configurable:!0,writable:!1,enumerable:!1};function Ke(e,t,n,r){function o(){return Ge(0,n,t,r||this,arguments)}return void 0===n&&(n=!1),o.isMobxAction=!0,o.toString=function(){return t.toString()},He&&(qe.value=e,c(o,"name",qe)),o}function Ge(e,t,n,r,i){var a=function(e,t){var n=ht.trackingDerivation,r=!t||!n;bt();var o=ht.allowStateChanges;r&&(at(),o=We(!0));var i={runAsAction_:r,prevDerivation_:n,prevAllowStateChanges_:o,prevAllowStateReads_:lt(!0),notifySpy_:!1,startTime_:0,actionId_:Ue++,parentActionId_:$e};return $e=i.actionId_,i}(0,t);try{return n.apply(r,i)}catch(e){throw a.error_=e,e}finally{!function(e){$e!==e.actionId_&&o(30),$e=e.parentActionId_,void 0!==e.error_&&(ht.suppressReactionErrors=!0),Fe(e.prevAllowStateChanges_),ct(e.prevAllowStateReads_),yt(),e.runAsAction_&&st(e.prevDerivation_),ht.suppressReactionErrors=!1}(a)}}function We(e){var t=ht.allowStateChanges;return ht.allowStateChanges=e,t}function Fe(e){ht.allowStateChanges=e}var Ze=function(e){function t(t,n,r,o,i){var a;return void 0===r&&(r="ObservableValue"),void 0===o&&(o=!0),void 0===i&&(i=X.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=i,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:fn,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(),ln(this)&&dn(this,{type:fn,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:fn,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 P(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(F),Ye=function(){function e(e){this.dependenciesState_=Xe.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Xe.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new et(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||o(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=Ke("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?X.structural:X.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_===Xe.UP_TO_DATE_&&(e.lowestObserverState_=Xe.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Xe.UP_TO_DATE_&&(e.dependenciesState_=Xe.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&&o(32,this.name_,this.derivation),0!==ht.inBatch||0!==this.observers_.size||this.keepAlive_){if(_t(this),nt(this)){var e=ht.trackingContext;this.keepAlive_&&!e&&(ht.trackingContext=this),this.trackAndCompute()&&function(e){e.lowestObserverState_!==Xe.STALE_&&(e.lowestObserverState_=Xe.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===Xe.POSSIBLY_STALE_?t.dependenciesState_=Xe.STALE_:t.dependenciesState_===Xe.UP_TO_DATE_&&(e.lowestObserverState_=Xe.UP_TO_DATE_)})))}(this),ht.trackingContext=e}}else nt(this)&&(this.warnAboutUntrackedRead_(),bt(),this.value_=this.computeValue_(!1),yt());var t=this.value_;if(tt(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&o(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else o(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===Xe.NOT_TRACKING_,n=this.computeValue_(!0),r=t||tt(e)||tt(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing=!0;var t,n=We(!1);if(e)t=rt(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 et(e)}return Fe(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(ot(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,o=void 0;return function(e,t){var n,r,o,i;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 l=function(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Dt}(t),c=!1;a=new wt(s,(function(){c||(c=!0,l((function(){c=!1,a.isDisposed||a.track(d)})))}),t.onError,t.requiresObservable)}else a=new wt(s,(function(){this.track(d)}),t.onError,t.requiresObservable);function d(){e()}return null!=(o=t)&&null!=(o=o.signal)&&o.aborted||a.schedule_(),a.getDisposer_(null==(i=t)?void 0:i.signal)}((function(){var i=n.get();if(!r||t){var a=at();e({observableKind:"computed",debugObjectName:n.name_,type:fn,object:n,newValue:i,oldValue:o}),st(a)}r=!1,o=i}))},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return P(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},L(e,[{key:"isComputing",get:function(){return N(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=z(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return N(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=z(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return N(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=z(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return N(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=z(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return N(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=z(this.flags_,e.diffValueMask_,1===t)}}])}();Ye.isComputingMask_=1,Ye.isRunningSetterMask_=2,Ye.isBeingObservedMask_=4,Ye.isPendingUnobservationMask_=8,Ye.diffValueMask_=16;var Xe,Je,Qe=S("ComputedValue",Ye);!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_"}(Xe||(Xe={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Je||(Je={}));var et=function(e){this.cause=void 0,this.cause=e};function tt(e){return e instanceof et}function nt(e){switch(e.dependenciesState_){case Xe.UP_TO_DATE_:return!1;case Xe.NOT_TRACKING_:case Xe.STALE_:return!0;case Xe.POSSIBLY_STALE_:for(var t=lt(!0),n=at(),r=e.observing_,o=r.length,i=0;i<o;i++){var a=r[i];if(Qe(a)){if(ht.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return st(n),ct(t),!0}if(e.dependenciesState_===Xe.STALE_)return st(n),ct(t),!0}}return dt(e),st(n),ct(t),!1}}function rt(e,t,n){var r=lt(!0);dt(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++ht.runId;var o,i=ht.trackingDerivation;if(ht.trackingDerivation=e,ht.inBatch++,!0===ht.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(e){o=new et(e)}return ht.inBatch--,ht.trackingDerivation=i,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=Xe.UP_TO_DATE_,o=0,i=e.unboundDepsCount_,a=0;a<i;a++){var s=n[a];0===s.diffValue&&(s.diffValue=1,o!==a&&(n[o]=s),o++),s.dependenciesState_>r&&(r=s.dependenciesState_)}for(n.length=o,e.newObserving_=null,i=t.length;i--;){var l=t[i];0===l.diffValue&&vt(l,e),l.diffValue=0}for(;o--;){var c=n[o];1===c.diffValue&&(c.diffValue=0,pt(c,e))}r!==Xe.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),ct(r),o}function ot(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)vt(t[n],e);e.dependenciesState_=Xe.NOT_TRACKING_}function it(e){var t=at();try{return e()}finally{st(t)}}function at(){var e=ht.trackingDerivation;return ht.trackingDerivation=null,e}function st(e){ht.trackingDerivation=e}function lt(e){var t=ht.allowStateReads;return ht.allowStateReads=e,t}function ct(e){ht.allowStateReads=e}function dt(e){if(e.dependenciesState_!==Xe.UP_TO_DATE_){e.dependenciesState_=Xe.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=Xe.UP_TO_DATE_}}var ut=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,mt=!1,ht=function(){var e=a();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(ft=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new ut).version&&(ft=!1),ft?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new ut):(setTimeout((function(){mt||o(35)}),1),new ut)}();function pt(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function vt(e,t){e.observers_.delete(t),0===e.observers_.size&&gt(e)}function gt(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,ht.pendingUnobservations.push(e))}function bt(){ht.inBatch++}function yt(){if(0==--ht.inBatch){St();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 Ye&&n.suspend_())}ht.pendingUnobservations=[]}}function _t(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&&gt(e),!1)}function xt(e){e.lowestObserverState_!==Xe.STALE_&&(e.lowestObserverState_=Xe.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Xe.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=Xe.STALE_})))}var wt=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_=Xe.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),St())},t.runReaction_=function(){if(!this.isDisposed){bt(),this.isScheduled=!1;var e=ht.trackingContext;if(ht.trackingContext=this,nt(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}ht.trackingContext=e,yt()}},t.track=function(e){if(!this.isDisposed){bt(),this.isRunning=!0;var t=ht.trackingContext;ht.trackingContext=this;var n=rt(this,e,void 0);ht.trackingContext=t,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&ot(this),tt(n)&&this.reportExceptionInDerivation_(n.cause),yt()}},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||(bt(),ot(this),yt()))},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[W]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},L(e,[{key:"isDisposed",get:function(){return N(this.flags_,e.isDisposedMask_)},set:function(t){this.flags_=z(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return N(this.flags_,e.isScheduledMask_)},set:function(t){this.flags_=z(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return N(this.flags_,e.isTrackPendingMask_)},set:function(t){this.flags_=z(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return N(this.flags_,e.isRunningMask_)},set:function(t){this.flags_=z(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return N(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=z(this.flags_,e.diffValueMask_,1===t)}}])}();wt.isDisposedMask_=1,wt.isScheduledMask_=2,wt.isTrackPendingMask_=4,wt.isRunningMask_=8,wt.diffValueMask_=16;var Ot=100,kt=function(e){return e()};function St(){ht.inBatch>0||ht.isRunningReactions||kt(At)}function At(){ht.isRunningReactions=!0;for(var e=ht.pendingReactions,t=0;e.length>0;){++t===Ot&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;r<o;r++)n[r].runReaction_()}ht.isRunningReactions=!1}var Et=S("Reaction",wt),Tt="action",jt="autoAction",Pt=te(Tt),Ct=te("action.bound",{bound:!0}),Rt=te(jt,{autoAction:!0}),Nt=te("autoAction.bound",{autoAction:!0,bound:!0});function zt(e){return function(t,n){return b(t)?Ke(t.name||"<unnamed action>",t,e):b(n)?Ke(t,n,e):G(n)?(e?Rt:Pt).decorate_20223_(t,n):y(n)?K(t,n,e?Rt:Pt):y(t)?q(te(e?jt:Tt,{name:t,autoAction:e})):void 0}}var Mt=zt(!1);Object.assign(Mt,Pt);var It=zt(!0);function Lt(e){return b(e)&&!0===e.isMobxAction}Object.assign(It,Rt),Mt.bound=q(Ct),It.bound=q(Nt);var Dt=function(e){return e()},Vt="onBO",Bt="onBUO";function $t(e,t,n){return Ut(Bt,e,t,n)}function Ut(e,t,n,r){var o="function"==typeof r?Jn(t,n):Jn(t),i=b(r)?r:n,a=e+"L";return o[a]?o[a].add(i):o[a]=new Set([i]),function(){var e=o[a];e&&(e.delete(i),0===e.size&&delete o[a])}}var Ht="never",qt="always",Kt="observed";function Gt(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(Gt)),n}var Wt=0;function Ft(){this.message="FLOW_CANCELLED"}Ft.prototype=Object.create(Error.prototype);var Zt=ae("flow"),Yt=ae("flow.bound",{bound:!0}),Xt=Object.assign((function(e,t){if(G(t))return Zt.decorate_20223_(e,t);if(y(t))return K(e,t,Zt);var n=e,r=n.name||"<unnamed flow>",o=function(){var e,t=arguments,o=++Wt,i=Mt(r+" - runid: "+o+" - init",n).apply(this,t),a=void 0,s=new Promise((function(t,n){var s=0;function l(e){var t;a=void 0;try{t=Mt(r+" - runid: "+o+" - yield "+s++,i.next).call(i,e)}catch(e){return n(e)}d(t)}function c(e){var t;a=void 0;try{t=Mt(r+" - runid: "+o+" - yield "+s++,i.throw).call(i,e)}catch(e){return n(e)}d(t)}function d(e){if(!b(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(l,c);e.then(d,n)}e=n,l(void 0)}));return s.cancel=Mt(r+" - runid: "+o+" - cancel",(function(){try{a&&Jt(a);var t=i.return(void 0),n=Promise.resolve(t.value);n.then(g,g),Jt(n),e(new Ft)}catch(t){e(t)}})),s};return o.isMobXFlow=!0,o}),Zt);function Jt(e){b(e.cancel)&&e.cancel()}function Qt(e){return!0===(null==e?void 0:e.isMobXFlow)}function en(e){return function(e){return!!e&&(Vn(e)||!!e[W]||Z(e)||Et(e)||Qe(e))}(e)}function tn(e,t){void 0===t&&(t=void 0),bt();try{return e.apply(t)}finally{yt()}}function nn(e){return e[W]}Xt.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!!y(t)&&(null==(r=nn(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!y(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){o(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),v((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function sn(e,t){var n=at();try{for(var r=[].concat(e.interceptors_||[]),i=0,a=r.length;i<a&&((t=r[i](t))&&!t.type&&o(14),t);i++);return t}finally{st(n)}}function ln(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function cn(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),v((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function dn(e,t){var n=at(),r=e.changeListeners_;if(r){for(var o=0,i=(r=r.slice()).length;o<i;o++)r[o](t);st(n)}}var un="splice",fn="update",mn={get:function(e,t){var n=e[W];return t===W?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?C(vn,t)?vn[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[W];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){o(15)}},hn=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 F(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)&&o("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;r<e-t;r++)n[r]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&o(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&Yn(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var o=this.values_.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:null==t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=u),on(this)){var i=sn(this,{object:this.proxy_,type:un,index:e,removedCount:t,added:n});if(!i)return u;t=i.removedCount,n=i.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_(o,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 o=this.values_.slice(e,e+t),i=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<i.length;s++)this.values_[e+n.length+s]=i[s];return o},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,o=ln(this),i=o||r?{observableKind:"array",object:this.proxy_,type:fn,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),o&&dn(this,i)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,o=ln(this),i=o||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:un,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),o&&dn(this,i)},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&&o(17,e,n.length),e<n.length){this.atom_;var r=n[e];if(on(this)){var i=sn(this,{type:fn,object:this.proxy_,index:e,newValue:t});if(!i)return;t=i.newValue}(t=this.enhancer_(t,r))!==r&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,r))}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 pn(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),p(),tr((function(){var o=new hn(n,t,r,!1);k(o.values_,W,o);var i=new Proxy(o.values_,mn);return o.proxy_=i,e&&e.length&&o.spliceWithArray_(0,0,e),i}))}var vn={clear:function(){return this.splice(0)},replace:function(e){var t=this[W];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),o=2;o<n;o++)r[o-2]=arguments[o];var i=this[W];switch(arguments.length){case 0:return[];case 1:return i.spliceWithArray_(e);case 2:return i.spliceWithArray_(e,t)}return i.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[W].spliceWithArray_(e,t,n)},push:function(){for(var e=this[W],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[W].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[W],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&&o(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){ht.trackingDerivation&&o(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[W],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function gn(e,t){"function"==typeof Array.prototype[e]&&(vn[e]=t(e))}function bn(e){return function(){var t=this[W];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,o=this[W];return o.atom_.reportObserved(),o.dehanceValues_(o.values_)[e]((function(e,o){return t.call(n,e,o,r)}))}}function _n(e){return function(){var t=this,n=this[W];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),o=arguments[0];return arguments[0]=function(e,n,r){return o(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",_n),gn("reduceRight",_n);var xn=S("ObservableArrayAdministration",hn);function wn(e){return _(e)&&xn(e[W])}var On={},kn="add",Sn="delete",An=function(){function e(e,t,n){var r=this;void 0===t&&(t=J),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[W]=On,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,b(Map)||o(18),tr((function(){r.keysAtom_=Y("ObservableMap.keys()"),r.data_=new Map,r.hasMap_=new Map,e&&r.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 Ze(this.has_(e),Q,"ObservableMap.key?",!1);this.hasMap_.set(e,r),$t(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?fn:kn,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:Sn,object:this,name:e}))return!1;if(this.has_(e)){var n=ln(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:Sn,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&&dn(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=ln(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:fn,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&dn(this,o)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,tn((function(){var r,o=new Ze(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,o),t=o.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()}));var r=ln(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:kn,object:this,name:e,newValue:t}:null;r&&dn(this,o)},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 Tn({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:e.get(o)}}})},t.entries=function(){var e=this,t=this.keys();return Tn({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:[o,e.get(o)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=D(this);!(n=r()).done;){var o=n.value,i=o[0],a=o[1];e.call(t,a,i,this)}},t.merge=function(e){var t=this;return En(e)&&(e=new Map(e)),tn((function(){var n,r,i;x(e)?function(e){var t=Object.keys(e);if(!T)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return d.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,r=Object.getPrototypeOf(n),i=Object.getPrototypeOf(r),null!==Object.getPrototypeOf(i)&&o(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!=e&&o(20,e)})),this},t.clear=function(){var e=this;tn((function(){it((function(){for(var t,n=D(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,r=function(e){if(A(e)||En(e))return e;if(Array.isArray(e))return new Map(e);if(x(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return o(21,e)}(e),i=new Map,a=!1,s=D(t.data_.keys());!(n=s()).done;){var l=n.value;if(!r.has(l))if(t.delete(l))a=!0;else{var c=t.data_.get(l);i.set(l,c)}}for(var d,u=D(r.entries());!(d=u()).done;){var f=d.value,m=f[0],h=f[1],p=t.data_.has(m);if(t.set(m,h),t.data_.has(m)){var v=t.data_.get(m);i.set(m,v),p||(a=!0)}}if(!a)if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else for(var g=t.data_.keys(),b=i.keys(),y=g.next(),_=b.next();!y.done;){if(y.value!==_.value){t.keysAtom_.reportChanged();break}y=g.next(),_=b.next()}t.data_=i})),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)},L(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),En=S("ObservableMap",An);function Tn(e){return e[Symbol.toStringTag]="MapIterator",lr(e)}var jn={},Pn=function(){function e(e,t,n){var r=this;void 0===t&&(t=J),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[W]=jn,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,b(Set)||o(22),this.enhancer_=function(e,r){return t(e,r,n)},tr((function(){r.atom_=Y(r.name_),e&&r.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=D(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.forEach=function(e,t){for(var n,r=D(this);!(n=r()).done;){var o=n.value;e.call(t,o,o,this)}},t.add=function(e){var t=this;if(this.atom_,on(this)&&!sn(this,{type:kn,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=ln(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:kn,object:this,newValue:e}:null;n&&dn(this,r)}return this},t.delete=function(e){var t=this;if(on(this)&&!sn(this,{type:Sn,object:this,oldValue:e}))return!1;if(this.has(e)){var n=ln(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:Sn,object:this,oldValue:e}:null;return tn((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&dn(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 Rn({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 Rn({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{value:void 0,done:!0}}})},t.intersection=function(e){return E(e)&&!Cn(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return E(e)&&!Cn(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return E(e)&&!Cn(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 E(e)&&!Cn(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return Cn(e)&&(e=new Set(e)),tn((function(){Array.isArray(e)||E(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!=e&&o("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()},L(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),Cn=S("ObservableSet",Pn);function Rn(e){return e[Symbol.toStringTag]="SetIterator",lr(e)}var Nn=Object.create(null),zn="remove",Mn=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=_e),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 F("ObservableObject.keys"),this.isPlainObject_=x(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 Ye)return n.set(t),!0;if(on(this)){var r=sn(this,{type:fn,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==ht.UNCHANGED){var o=ln(this),i=o?{type:fn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),o&&dn(this,i)}return!0},t.get_=function(e){return ht.trackingDerivation&&!C(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),C(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 Ze(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_[H])&&n[e])return;o(1,t.annotationType_,this.name_+"."+e.toString())}for(var r=this.target_;r&&r!==d;){var i=l(r,e);if(i){var a=t.make_(this,e,i,r);if(0===a)return;if(1===a)break}r=Object.getPrototypeOf(r)}Bn(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 o=n.extend_(this,e,t,r);return o&&Bn(this,0,e),o},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{bt();var r=this.delete_(e);if(!r)return r;if(on(this)){var o=sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:t.value});if(!o)return null;var i=o.newValue;t.value!==i&&(t=V({},t,{value:i}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else c(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{yt()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),this.keysAtom_;try{bt();var o=this.delete_(e);if(!o)return o;if(on(this)){var i=sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:t});if(!i)return null;t=i.newValue}var a=Dn(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 c(this.target_,e,s);var l=new Ze(t,n,"ObservableObject.key",!1);this.values_.set(e,l),this.notifyPropertyAddition_(e,l.value_)}finally{yt()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{bt();var r=this.delete_(e);if(!r)return r;if(on(this)&&!sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var o=Dn(e),i={configurable:!ht.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,i))return!1}else c(this.target_,e,i);this.values_.set(e,new Ye(t)),this.notifyPropertyAddition_(e,void 0)}finally{yt()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),this.keysAtom_,!C(this.target_,e))return!0;if(on(this)&&!sn(this,{object:this.proxy_||this.target_,name:e,type:zn}))return null;try{var n;bt();var r,o=ln(this),i=this.values_.get(e),a=void 0;if(!i&&o&&(a=null==(r=l(this.target_,e))?void 0:r.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(i&&(this.values_.delete(e),i instanceof Ze&&(a=i.value_),xt(i)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),o){var s={type:zn,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:a,name:e};o&&dn(this,s)}}finally{yt()}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=ln(this);if(r){var o=r?{type:kn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;r&&dn(this,o)}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),j(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function In(e,t){var n;if(C(e,W))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",o=new Mn(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:xe(e):void 0}(t));return O(e,W,o),e}var Ln=S("ObservableObjectAdministration",Mn);function Dn(e){return Nn[e]||(Nn[e]={get:function(){return this[W].getObservablePropValue_(e)},set:function(t){return this[W].setObservablePropValue_(e,t)}})}function Vn(e){return!!_(e)&&Ln(e[W])}function Bn(e,t,n){var r;null==(r=e.target_[H])||delete r[n]}var $n,Un,Hn=Fn(0),qn=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),Kn=0,Gn=function(){};$n=Gn,Un=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf($n.prototype,Un):void 0!==$n.prototype.__proto__?$n.prototype.__proto__=Un:$n.prototype=Un;var Wn=function(e){function t(t,n,r,o){var i;return void 0===r&&(r="ObservableArray"),void 0===o&&(o=!1),i=e.call(this)||this,tr((function(){var e=new hn(r,n,o,!0);e.proxy_=i,k(i,W,e),t&&t.length&&i.spliceWithArray(0,0,t),qn&&Object.defineProperty(i,"0",Hn)})),i}B(t,e);var n=t.prototype;return n.concat=function(){this[W].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 wn(e)?e.slice():e})))},n[Symbol.iterator]=function(){var e=this,t=0;return lr({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},L(t,[{key:"length",get:function(){return this[W].getArrayLength_()},set:function(e){this[W].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(Gn);function Fn(e){return{enumerable:!1,configurable:!0,get:function(){return this[W].get_(e)},set:function(t){this[W].set_(e,t)}}}function Zn(e){c(Wn.prototype,""+e,Fn(e))}function Yn(e){if(e>Kn){for(var t=Kn;t<e+100;t++)Zn(t);Kn=e}}function Xn(e,t,n){return new Wn(e,t,n)}function Jn(e,t){if("object"==typeof e&&null!==e){if(wn(e))return void 0!==t&&o(23),e[W].atom_;if(Cn(e))return e.atom_;if(En(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||o(25,t,er(e)),n}if(Vn(e)){if(!t)return o(26);var r=e[W].values_.get(t);return r||o(27,t,er(e)),r}if(Z(e)||Qe(e)||Et(e))return e}else if(b(e)&&Et(e[W]))return e[W];o(28)}function Qn(e,t){return e||o(29),void 0!==t?Qn(Jn(e,t)):Z(e)||Qe(e)||Et(e)||En(e)||Cn(e)?e:e[W]?e[W]:void o(24,e)}function er(e,t){var n;if(void 0!==t)n=Jn(e,t);else{if(Lt(e))return e.name;n=Vn(e)||En(e)||Cn(e)?Qn(e):Jn(e)}return n.name_}function tr(e){var t=at(),n=We(!0);bt();try{return e()}finally{yt(),Fe(n),st(t)}}Object.entries(vn).forEach((function(e){var t=e[0],n=e[1];"concat"!==t&&O(Wn.prototype,t,n)})),Yn(1e3);var nr,rr=d.toString;function or(e,t,n){return void 0===n&&(n=-1),ir(e,t,n)}function ir(e,t,n,r,o){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var i=typeof e;if("function"!==i&&"object"!==i&&"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 l=e.constructor,c=t.constructor;if(l!==c&&!(b(l)&&l instanceof l&&b(c)&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),o=o||[];for(var d=(r=r||[]).length;d--;)if(r[d]===e)return o[d]===t;if(r.push(e),o.push(t),s){if((d=e.length)!==t.length)return!1;for(;d--;)if(!ir(e[d],t[d],n-1,r,o))return!1}else{var u,f=Object.keys(e);if(d=f.length,Object.keys(t).length!==d)return!1;for(;d--;)if(!C(t,u=f[d])||!ir(e[u],t[u],n-1,r,o))return!1}return r.pop(),o.pop(),!0}function ar(e){return wn(e)?e.slice():A(e)||En(e)||E(e)||Cn(e)?Array.from(e.entries()):e}var sr=(null==(nr=a().Iterator)?void 0:nr.prototype)||{};function lr(e){return e[Symbol.iterator]=cr,Object.assign(Object.create(sr),e)}function cr(){return this}["Symbol","Map","Set"].forEach((function(e){void 0===a()[e]&&o("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:W});var dr=r(953),ur=r.n(dr);if(!dr.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!function(e,t,n){return tr((function(){var r=In(e,n)[W];null!=t||(t=function(e){return C(e,H)||O(e,H,V({},e[H])),e[H]}(e)),j(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 fr=n(180);function mr(e){e()}function hr(e){e||(e=mr),function(e){!0===e.isolateGlobalState&&function(){if((ht.pendingReactions.length||ht.inBatch||ht.isRunningReactions)&&o(36),mt=!0,ft){var e=a();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),ht=new ut}}();var t,n,r=e.useProxies,i=e.enforceActions;if(void 0!==r&&(ht.useProxies=r===qt||r!==Ht&&"undefined"!=typeof Proxy),"ifavailable"===r&&(ht.verifyProxies=!0),void 0!==i){var s=i===qt?qt:i===Kt;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=kt,kt=function(e){return t((function(){return n(e)}))})}({reactionScheduler:e})}var pr=function(){return!0};function vr(e){return Gt(Jn(e,void 0))}var gr=!1;function br(e){gr=e}function yr(){return gr}var _r,xr,wr=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,o){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(o))})),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}(),Or=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:wr)((function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null})),kr=r(634);function Sr(e){e.reaction=new wt("observer".concat(e.name),(function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)}))}function Ar(e,t){if(void 0===t&&(t="observed"),yr())return e();var n=ur().useRef(null);if(!n.current){var r={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return Or.unregister(r),r.onStoreChange=e,r.reaction||(Sr(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 o,i,a=n.current;if(a.reaction||(Sr(a),Or.register(n,a,a)),ur().useDebugValue(a.reaction,vr),(0,kr.useSyncExternalStore)(a.subscribe,a.getSnapshot,a.getSnapshot),a.reaction.track((function(){try{o=e()}catch(e){i=e}})),i)throw i;return o}var Er="function"==typeof Symbol&&Symbol.for,Tr=null!==(xr=null===(_r=Object.getOwnPropertyDescriptor((function(){}),"name"))||void 0===_r?void 0:_r.configurable)&&void 0!==xr&&xr,jr=Er?Symbol.for("react.forward_ref"):"function"==typeof dr.forwardRef&&(0,dr.forwardRef)((function(e){return null})).$$typeof,Pr=Er?Symbol.for("react.memo"):"function"==typeof dr.memo&&(0,dr.memo)((function(e){return null})).$$typeof;function Cr(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,o=e,i=e.displayName||e.name;if(jr&&e.$$typeof===jr&&(r=!0,"function"!=typeof(o=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var a,s,l=function(e,t){return Ar((function(){return o(e,t)}),i)};return l.displayName=e.displayName,Tr&&Object.defineProperty(l,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(l.contextTypes=e.contextTypes),r&&(l=(0,dr.forwardRef)(l)),l=(0,dr.memo)(l),a=e,s=l,Object.keys(a).forEach((function(e){Nr[e]||Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(a,e))})),l}var Rr,Nr={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function zr(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:Ar(r)}function Mr(e,t){return(0,dr.useState)((function(){return Ie(e(),t,{autoBind:!0})}))[0]}function Ir(e){var t=(0,dr.useState)((function(){return Ie(e,{},{deep:!1})}))[0];return function(e){Ge(0,!1,e,this,void 0)}((function(){Object.assign(t,e)})),t}function Lr(e,t){var n=t&&Ir(t);return(0,dr.useState)((function(){return Ie(e(n),void 0,{autoBind:!0})}))[0]}zr.displayName="Observer",hr(fr.unstable_batchedUpdates);var Dr=null!==(Rr=Or.finalizeAllImmediately)&&void 0!==Rr?Rr:function(){};function Vr(e,t){return void 0===t&&(t="observed"),Ar(e,t)}function Br(e){br(e)}},319:(e,t,n)=>{"use strict";var r=n(953),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,d=r[1];return s((function(){o.value=n,o.getSnapshot=t,c(o)&&d({inst:o})}),[e,n,t]),a((function(){return c(o)&&d({inst:o}),e((function(){c(o)&&d({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:d},634:(e,t,n)=>{"use strict";e.exports=n(319)},436:(e,t,n)=>{(()=>{"use strict";var t={393:(e,t,n)=>{n.d(t,{Ck:()=>a,IW:()=>d,Sv:()=>s,eg:()=>l,qT:()=>c,vS:()=>i,zY:()=>u});var r=n(974),o=n(125);const i=r.A.constructTagName("button"),a={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},s={40:40,32:32,28:28,24:24},l={64:64,52:52,20:20,...s},c={POSITIVE:"positive",NEGATIVE:"negative",ACCENT:"accent",PROMOTIONAL:"promotional",DEFAULT:"default"},d={PILL:"pill",ICON:"icon",PILL_WITH_ICON:"pill-with-icon"},u={VARIANT:a.PRIMARY,SIZE:s[32],COLOR:c.DEFAULT,TYPE_INTERNAL:d.ICON,TYPE:o.II.BUTTON}},92:(e,t,n)=>{n.d(t,{default:()=>m});var r=n(918),o=n(477);const i=[r.AH`
2
+ (()=>{var e={156:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.store=t.TaskList=t.CallControl=t.IncomingTask=t.UserState=t.StationLogin=void 0;const o=n(207);Object.defineProperty(t,"StationLogin",{enumerable:!0,get:function(){return o.StationLogin}});const i=n(758);Object.defineProperty(t,"UserState",{enumerable:!0,get:function(){return i.UserState}});const a=n(32);Object.defineProperty(t,"IncomingTask",{enumerable:!0,get:function(){return a.IncomingTask}}),Object.defineProperty(t,"TaskList",{enumerable:!0,get:function(){return a.TaskList}}),Object.defineProperty(t,"CallControl",{enumerable:!0,get:function(){return a.CallControl}});const s=r(n(768));t.store=s.default},207:(e,t,n)=>{(()=>{"use strict";var t={428:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(63),o=n.n(r),i=n(248),a=n.n(i)()(o());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,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);r&&a[d[0]]||(void 0!==i&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=i),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),o&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=o):d[4]="".concat(o)),t.push(d))}},t}},63:e=>{e.exports=function(e){return e[1]}},62:(e,t,r)=>{function o(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)}r.r(t),r.d(t,{Observer:()=>zr,_observerFinalizationRegistry:()=>Or,clearTimers:()=>Dr,enableStaticRendering:()=>br,isObserverBatched:()=>pr,isUsingStaticRendering:()=>yr,observer:()=>Cr,observerBatching:()=>hr,useAsObservableSource:()=>Ir,useLocalObservable:()=>Mr,useLocalStore:()=>Lr,useObserver:()=>Vr,useStaticRendering:()=>Br});var i={};function a(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:i}var s=Object.assign,l=Object.getOwnPropertyDescriptor,c=Object.defineProperty,d=Object.prototype,u=[];Object.freeze(u);var f={};Object.freeze(f);var m="undefined"!=typeof Proxy,h=Object.toString();function p(){m||o("Proxy not available")}function v(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var g=function(){};function b(e){return"function"==typeof e}function y(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function _(e){return null!==e&&"object"==typeof e}function x(e){if(!_(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 w(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function O(e,t,n){c(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function k(e,t,n){c(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function S(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return _(e)&&!0===e[n]}}function A(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function E(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var T=void 0!==Object.getOwnPropertySymbols,j="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:T?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function P(e){return null===e?null:"object"==typeof e?""+e:e}function C(e,t){return d.hasOwnProperty.call(e,t)}var R=Object.getOwnPropertyDescriptors||function(e){var t={};return j(e).forEach((function(n){t[n]=l(e,n)})),t};function N(e,t){return!!(e&t)}function z(e,t,n){return n?e|=t:e&=~t,e}function M(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 I(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,U(r.key),r)}}function L(e,t,n){return t&&I(e.prototype,t),n&&I(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function D(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 M(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)?M(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 V(){return V=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},V.apply(null,arguments)}function B(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$(e,t)}function $(e,t){return $=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$(e,t)}function U(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 H=Symbol("mobx-stored-annotations");function q(e){return Object.assign((function(t,n){if(G(n))return e.decorate_20223_(t,n);K(t,n,e)}),e)}function K(e,t,n){C(e,H)||O(e,H,V({},e[H])),function(e){return e.annotationType_===ee}(n)||(e[H][t]=n)}function G(e){return"object"==typeof e&&"string"==typeof e.kind}var W=Symbol("mobx administration"),F=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_=Xe.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 _t(this)},t.reportChanged=function(){bt(),xt(this),yt()},t.toString=function(){return this.name_},L(e,[{key:"isBeingObserved",get:function(){return N(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=z(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return N(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=z(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return N(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=z(this.flags_,e.diffValueMask_,1===t)}}])}();F.isBeingObservedMask_=1,F.isPendingUnobservationMask_=2,F.diffValueMask_=4;var Z=S("Atom",F);function Y(e,t,n){void 0===t&&(t=g),void 0===n&&(n=g);var r=new F(e);return t!==g&&Ut(Vt,r,t,void 0),n!==g&&$t(r,n),r}var X={identity:function(e,t){return e===t},structural:function(e,t){return or(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 or(e,t,1)}};function J(e,t,n){return en(e)?e:Array.isArray(e)?Ie.array(e,{name:n}):x(e)?Ie.object(e,void 0,{name:n}):A(e)?Ie.map(e,{name:n}):E(e)?Ie.set(e,{name:n}):"function"!=typeof e||Lt(e)||Qt(e)?e:w(e)?Xt(e):It(n,e)}function Q(e){return e}var ee="override";function te(e,t){return{annotationType_:e,options_:t,make_:ne,extend_:re,decorate_20223_:oe}}function ne(e,t,n,r){var o;if(null!=(o=this.options_)&&o.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(Lt(n.value))return 1;var i=ie(e,this,t,n,!1);return c(r,t,i),2}function re(e,t,n,r){var o=ie(e,this,t,n);return e.defineProperty_(t,o,r)}function oe(e,t){var n,r=t.kind,i=t.name,a=t.addInitializer,s=this,l=function(e){var t,n,r,o;return Ke(null!=(t=null==(n=s.options_)?void 0:n.name)?t:i.toString(),e,null!=(r=null==(o=s.options_)?void 0:o.autoAction)&&r)};return"field"==r?function(e){var t,n=e;return Lt(n)||(n=l(n)),null!=(t=s.options_)&&t.bound&&((n=n.bind(this)).isMobxAction=!0),n}:"method"==r?(Lt(e)||(e=l(e)),null!=(n=this.options_)&&n.bound&&a((function(){var e=this,t=e[i].bind(e);t.isMobxAction=!0,e[i]=t})),e):void o("Cannot apply '"+s.annotationType_+"' to '"+String(i)+"' (kind: "+r+"):\n'"+s.annotationType_+"' can only be used on properties with a function value.")}function ie(e,t,n,r,o){var i,a,s,l,c,d,u,f;void 0===o&&(o=ht.safeDescriptors),f=r,t.annotationType_,f.value;var m,h=r.value;return null!=(i=t.options_)&&i.bound&&(h=h.bind(null!=(m=e.proxy_)?m:e.target_)),{value:Ke(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),h,null!=(l=null==(c=t.options_)?void 0:c.autoAction)&&l,null!=(d=t.options_)&&d.bound?null!=(u=e.proxy_)?u:e.target_:void 0),configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function ae(e,t){return{annotationType_:e,options_:t,make_:se,extend_:le,decorate_20223_:ce}}function se(e,t,n,r){var o;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(o=this.options_)&&o.bound&&(!C(e.target_,t)||!Qt(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(Qt(n.value))return 1;var i=de(e,this,0,n,!1,!1);return c(r,t,i),2}function le(e,t,n,r){var o,i=de(e,this,0,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,i,r)}function ce(e,t){var n,r=t.name,o=t.addInitializer;return Qt(e)||(e=Xt(e)),null!=(n=this.options_)&&n.bound&&o((function(){var e=this,t=e[r].bind(e);t.isMobXFlow=!0,e[r]=t})),e}function de(e,t,n,r,o,i){var a;void 0===i&&(i=ht.safeDescriptors),a=r,t.annotationType_,a.value;var s,l=r.value;return Qt(l)||(l=Xt(l)),o&&((l=l.bind(null!=(s=e.proxy_)?s:e.target_)).isMobXFlow=!0),{value:l,configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function ue(e,t){return{annotationType_:e,options_:t,make_:fe,extend_:me,decorate_20223_:he}}function fe(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function me(e,t,n,r){return o=n,this.annotationType_,o.get,e.defineComputedProperty_(t,V({},this.options_,{get:n.get,set:n.set}),r);var o}function he(e,t){var n=this,r=t.name;return(0,t.addInitializer)((function(){var t=In(this)[W],o=V({},n.options_,{get:e,context:this});o.name||(o.name="ObservableObject."+r.toString()),t.values_.set(r,new Ye(o))})),function(){return this[W].getObservablePropValue_(r)}}function pe(e,t){return{annotationType_:e,options_:t,make_:ve,extend_:ge,decorate_20223_:be}}function ve(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function ge(e,t,n,r){var o,i;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(o=null==(i=this.options_)?void 0:i.enhancer)?o:J,r)}function be(e,t){var n=this,r=t.kind,o=t.name,i=new WeakSet;function a(e,t){var r,a,s=In(e)[W],l=new Ze(t,null!=(r=null==(a=n.options_)?void 0:a.enhancer)?r:J,"ObservableObject."+o.toString(),!1);s.values_.set(o,l),i.add(e)}if("accessor"==r)return{get:function(){return i.has(this)||a(this,e.get.call(this)),this[W].getObservablePropValue_(o)},set:function(e){return i.has(this)||a(this,e),this[W].setObservablePropValue_(o,e)},init:function(e){return i.has(this)||a(this,e),e}}}var ye="true",_e=xe();function xe(e){return{annotationType_:ye,options_:e,make_:we,extend_:Oe,decorate_20223_:ke}}function we(e,t,n,r){var o,i,a,s;if(n.get)return Be.make_(e,t,n,r);if(n.set){var l=Ke(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!ht.safeDescriptors||e.isPlainObject_,set:l})?0:2:(c(r,t,{configurable:!0,set:l}),2)}if(r!==e.target_&&"function"==typeof n.value)return w(n.value)?(null!=(s=this.options_)&&s.autoBind?Xt.bound:Xt).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?It.bound:It).make_(e,t,n,r);var d,u=!1===(null==(o=this.options_)?void 0:o.deep)?Ie.ref:Ie;return"function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(d=e.proxy_)?d:e.target_)),u.make_(e,t,n,r)}function Oe(e,t,n,r){var o,i,a;return n.get?Be.extend_(e,t,n,r):n.set?e.defineProperty_(t,{configurable:!ht.safeDescriptors||e.isPlainObject_,set:Ke(t.toString(),n.set)},r):("function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),(!1===(null==(i=this.options_)?void 0:i.deep)?Ie.ref:Ie).extend_(e,t,n,r))}function ke(e,t){o("'"+this.annotationType_+"' cannot be used as a decorator")}var Se={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function Ae(e){return e||Se}Object.freeze(Se);var Ee=pe("observable"),Te=pe("observable.ref",{enhancer:Q}),je=pe("observable.shallow",{enhancer:function(e,t,n){return null==e||Vn(e)||wn(e)||En(e)||Cn(e)?e:Array.isArray(e)?Ie.array(e,{name:n,deep:!1}):x(e)?Ie.object(e,void 0,{name:n,deep:!1}):A(e)?Ie.map(e,{name:n,deep:!1}):E(e)?Ie.set(e,{name:n,deep:!1}):void 0}}),Pe=pe("observable.struct",{enhancer:function(e,t){return or(e,t)?t:e}}),Ce=q(Ee);function Re(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 Ne(e,t,n){return G(t)?Ee.decorate_20223_(e,t):y(t)?void K(e,t,Ee):en(e)?e:x(e)?Ie.object(e,t,n):Array.isArray(e)?Ie.array(e,t):A(e)?Ie.map(e,t):E(e)?Ie.set(e,t):"object"==typeof e&&null!==e?e:Ie.box(e,t)}s(Ne,Ce);var ze,Me,Ie=s(Ne,{box:function(e,t){var n=Ae(t);return new Ze(e,Re(n),n.name,!0,n.equals)},array:function(e,t){var n=Ae(t);return(!1===ht.useProxies||!1===n.proxy?Xn:pn)(e,Re(n),n.name)},map:function(e,t){var n=Ae(t);return new An(e,Re(n),n.name)},set:function(e,t){var n=Ae(t);return new Pn(e,Re(n),n.name)},object:function(e,t,n){return tr((function(){return function(e,t,n){var r=R(t);return tr((function(){var t=In(e,void 0)[W];j(r).forEach((function(e){t.extend_(e,r[e],!n||!(e in n)||n[e])}))})),e}(!1===ht.useProxies||!1===(null==n?void 0:n.proxy)?In({},n):function(e,t){var n,r;return p(),null!=(r=(n=(e=In(e,t))[W]).proxy_)?r:n.proxy_=new Proxy(e,rn)}({},n),e,t)}))},ref:q(Te),shallow:q(je),deep:Ce,struct:q(Pe)}),Le="computed",De=ue(Le),Ve=ue("computed.struct",{equals:X.structural}),Be=function(e,t){if(G(t))return De.decorate_20223_(e,t);if(y(t))return K(e,t,De);if(x(e))return q(ue(Le,e));var n=x(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new Ye(n)};Object.assign(Be,De),Be.struct=q(Ve);var $e=0,Ue=1,He=null!=(ze=null==(Me=l((function(){}),"name"))?void 0:Me.configurable)&&ze,qe={value:"action",configurable:!0,writable:!1,enumerable:!1};function Ke(e,t,n,r){function o(){return Ge(0,n,t,r||this,arguments)}return void 0===n&&(n=!1),o.isMobxAction=!0,o.toString=function(){return t.toString()},He&&(qe.value=e,c(o,"name",qe)),o}function Ge(e,t,n,r,i){var a=function(e,t){var n=ht.trackingDerivation,r=!t||!n;bt();var o=ht.allowStateChanges;r&&(at(),o=We(!0));var i={runAsAction_:r,prevDerivation_:n,prevAllowStateChanges_:o,prevAllowStateReads_:lt(!0),notifySpy_:!1,startTime_:0,actionId_:Ue++,parentActionId_:$e};return $e=i.actionId_,i}(0,t);try{return n.apply(r,i)}catch(e){throw a.error_=e,e}finally{!function(e){$e!==e.actionId_&&o(30),$e=e.parentActionId_,void 0!==e.error_&&(ht.suppressReactionErrors=!0),Fe(e.prevAllowStateChanges_),ct(e.prevAllowStateReads_),yt(),e.runAsAction_&&st(e.prevDerivation_),ht.suppressReactionErrors=!1}(a)}}function We(e){var t=ht.allowStateChanges;return ht.allowStateChanges=e,t}function Fe(e){ht.allowStateChanges=e}var Ze=function(e){function t(t,n,r,o,i){var a;return void 0===r&&(r="ObservableValue"),void 0===o&&(o=!0),void 0===i&&(i=X.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=i,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:fn,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(),ln(this)&&dn(this,{type:fn,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:fn,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 P(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(F),Ye=function(){function e(e){this.dependenciesState_=Xe.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Xe.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new et(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||o(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=Ke("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?X.structural:X.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_===Xe.UP_TO_DATE_&&(e.lowestObserverState_=Xe.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Xe.UP_TO_DATE_&&(e.dependenciesState_=Xe.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&&o(32,this.name_,this.derivation),0!==ht.inBatch||0!==this.observers_.size||this.keepAlive_){if(_t(this),nt(this)){var e=ht.trackingContext;this.keepAlive_&&!e&&(ht.trackingContext=this),this.trackAndCompute()&&function(e){e.lowestObserverState_!==Xe.STALE_&&(e.lowestObserverState_=Xe.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===Xe.POSSIBLY_STALE_?t.dependenciesState_=Xe.STALE_:t.dependenciesState_===Xe.UP_TO_DATE_&&(e.lowestObserverState_=Xe.UP_TO_DATE_)})))}(this),ht.trackingContext=e}}else nt(this)&&(this.warnAboutUntrackedRead_(),bt(),this.value_=this.computeValue_(!1),yt());var t=this.value_;if(tt(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&o(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else o(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===Xe.NOT_TRACKING_,n=this.computeValue_(!0),r=t||tt(e)||tt(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing=!0;var t,n=We(!1);if(e)t=rt(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 et(e)}return Fe(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(ot(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,o=void 0;return function(e,t){var n,r,o,i;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 l=function(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Dt}(t),c=!1;a=new wt(s,(function(){c||(c=!0,l((function(){c=!1,a.isDisposed||a.track(d)})))}),t.onError,t.requiresObservable)}else a=new wt(s,(function(){this.track(d)}),t.onError,t.requiresObservable);function d(){e()}return null!=(o=t)&&null!=(o=o.signal)&&o.aborted||a.schedule_(),a.getDisposer_(null==(i=t)?void 0:i.signal)}((function(){var i=n.get();if(!r||t){var a=at();e({observableKind:"computed",debugObjectName:n.name_,type:fn,object:n,newValue:i,oldValue:o}),st(a)}r=!1,o=i}))},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return P(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},L(e,[{key:"isComputing",get:function(){return N(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=z(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return N(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=z(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return N(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=z(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return N(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=z(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return N(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=z(this.flags_,e.diffValueMask_,1===t)}}])}();Ye.isComputingMask_=1,Ye.isRunningSetterMask_=2,Ye.isBeingObservedMask_=4,Ye.isPendingUnobservationMask_=8,Ye.diffValueMask_=16;var Xe,Je,Qe=S("ComputedValue",Ye);!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_"}(Xe||(Xe={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Je||(Je={}));var et=function(e){this.cause=void 0,this.cause=e};function tt(e){return e instanceof et}function nt(e){switch(e.dependenciesState_){case Xe.UP_TO_DATE_:return!1;case Xe.NOT_TRACKING_:case Xe.STALE_:return!0;case Xe.POSSIBLY_STALE_:for(var t=lt(!0),n=at(),r=e.observing_,o=r.length,i=0;i<o;i++){var a=r[i];if(Qe(a)){if(ht.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return st(n),ct(t),!0}if(e.dependenciesState_===Xe.STALE_)return st(n),ct(t),!0}}return dt(e),st(n),ct(t),!1}}function rt(e,t,n){var r=lt(!0);dt(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++ht.runId;var o,i=ht.trackingDerivation;if(ht.trackingDerivation=e,ht.inBatch++,!0===ht.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(e){o=new et(e)}return ht.inBatch--,ht.trackingDerivation=i,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=Xe.UP_TO_DATE_,o=0,i=e.unboundDepsCount_,a=0;a<i;a++){var s=n[a];0===s.diffValue&&(s.diffValue=1,o!==a&&(n[o]=s),o++),s.dependenciesState_>r&&(r=s.dependenciesState_)}for(n.length=o,e.newObserving_=null,i=t.length;i--;){var l=t[i];0===l.diffValue&&vt(l,e),l.diffValue=0}for(;o--;){var c=n[o];1===c.diffValue&&(c.diffValue=0,pt(c,e))}r!==Xe.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),ct(r),o}function ot(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)vt(t[n],e);e.dependenciesState_=Xe.NOT_TRACKING_}function it(e){var t=at();try{return e()}finally{st(t)}}function at(){var e=ht.trackingDerivation;return ht.trackingDerivation=null,e}function st(e){ht.trackingDerivation=e}function lt(e){var t=ht.allowStateReads;return ht.allowStateReads=e,t}function ct(e){ht.allowStateReads=e}function dt(e){if(e.dependenciesState_!==Xe.UP_TO_DATE_){e.dependenciesState_=Xe.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=Xe.UP_TO_DATE_}}var ut=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,mt=!1,ht=function(){var e=a();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(ft=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new ut).version&&(ft=!1),ft?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new ut):(setTimeout((function(){mt||o(35)}),1),new ut)}();function pt(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function vt(e,t){e.observers_.delete(t),0===e.observers_.size&&gt(e)}function gt(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,ht.pendingUnobservations.push(e))}function bt(){ht.inBatch++}function yt(){if(0==--ht.inBatch){St();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 Ye&&n.suspend_())}ht.pendingUnobservations=[]}}function _t(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&&gt(e),!1)}function xt(e){e.lowestObserverState_!==Xe.STALE_&&(e.lowestObserverState_=Xe.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Xe.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=Xe.STALE_})))}var wt=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_=Xe.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),St())},t.runReaction_=function(){if(!this.isDisposed){bt(),this.isScheduled=!1;var e=ht.trackingContext;if(ht.trackingContext=this,nt(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}ht.trackingContext=e,yt()}},t.track=function(e){if(!this.isDisposed){bt(),this.isRunning=!0;var t=ht.trackingContext;ht.trackingContext=this;var n=rt(this,e,void 0);ht.trackingContext=t,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&ot(this),tt(n)&&this.reportExceptionInDerivation_(n.cause),yt()}},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||(bt(),ot(this),yt()))},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[W]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},L(e,[{key:"isDisposed",get:function(){return N(this.flags_,e.isDisposedMask_)},set:function(t){this.flags_=z(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return N(this.flags_,e.isScheduledMask_)},set:function(t){this.flags_=z(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return N(this.flags_,e.isTrackPendingMask_)},set:function(t){this.flags_=z(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return N(this.flags_,e.isRunningMask_)},set:function(t){this.flags_=z(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return N(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=z(this.flags_,e.diffValueMask_,1===t)}}])}();wt.isDisposedMask_=1,wt.isScheduledMask_=2,wt.isTrackPendingMask_=4,wt.isRunningMask_=8,wt.diffValueMask_=16;var Ot=100,kt=function(e){return e()};function St(){ht.inBatch>0||ht.isRunningReactions||kt(At)}function At(){ht.isRunningReactions=!0;for(var e=ht.pendingReactions,t=0;e.length>0;){++t===Ot&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;r<o;r++)n[r].runReaction_()}ht.isRunningReactions=!1}var Et=S("Reaction",wt),Tt="action",jt="autoAction",Pt=te(Tt),Ct=te("action.bound",{bound:!0}),Rt=te(jt,{autoAction:!0}),Nt=te("autoAction.bound",{autoAction:!0,bound:!0});function zt(e){return function(t,n){return b(t)?Ke(t.name||"<unnamed action>",t,e):b(n)?Ke(t,n,e):G(n)?(e?Rt:Pt).decorate_20223_(t,n):y(n)?K(t,n,e?Rt:Pt):y(t)?q(te(e?jt:Tt,{name:t,autoAction:e})):void 0}}var Mt=zt(!1);Object.assign(Mt,Pt);var It=zt(!0);function Lt(e){return b(e)&&!0===e.isMobxAction}Object.assign(It,Rt),Mt.bound=q(Ct),It.bound=q(Nt);var Dt=function(e){return e()},Vt="onBO",Bt="onBUO";function $t(e,t,n){return Ut(Bt,e,t,n)}function Ut(e,t,n,r){var o="function"==typeof r?Jn(t,n):Jn(t),i=b(r)?r:n,a=e+"L";return o[a]?o[a].add(i):o[a]=new Set([i]),function(){var e=o[a];e&&(e.delete(i),0===e.size&&delete o[a])}}var Ht="never",qt="always",Kt="observed";function Gt(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(Gt)),n}var Wt=0;function Ft(){this.message="FLOW_CANCELLED"}Ft.prototype=Object.create(Error.prototype);var Zt=ae("flow"),Yt=ae("flow.bound",{bound:!0}),Xt=Object.assign((function(e,t){if(G(t))return Zt.decorate_20223_(e,t);if(y(t))return K(e,t,Zt);var n=e,r=n.name||"<unnamed flow>",o=function(){var e,t=arguments,o=++Wt,i=Mt(r+" - runid: "+o+" - init",n).apply(this,t),a=void 0,s=new Promise((function(t,n){var s=0;function l(e){var t;a=void 0;try{t=Mt(r+" - runid: "+o+" - yield "+s++,i.next).call(i,e)}catch(e){return n(e)}d(t)}function c(e){var t;a=void 0;try{t=Mt(r+" - runid: "+o+" - yield "+s++,i.throw).call(i,e)}catch(e){return n(e)}d(t)}function d(e){if(!b(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(l,c);e.then(d,n)}e=n,l(void 0)}));return s.cancel=Mt(r+" - runid: "+o+" - cancel",(function(){try{a&&Jt(a);var t=i.return(void 0),n=Promise.resolve(t.value);n.then(g,g),Jt(n),e(new Ft)}catch(t){e(t)}})),s};return o.isMobXFlow=!0,o}),Zt);function Jt(e){b(e.cancel)&&e.cancel()}function Qt(e){return!0===(null==e?void 0:e.isMobXFlow)}function en(e){return function(e){return!!e&&(Vn(e)||!!e[W]||Z(e)||Et(e)||Qe(e))}(e)}function tn(e,t){void 0===t&&(t=void 0),bt();try{return e.apply(t)}finally{yt()}}function nn(e){return e[W]}Xt.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!!y(t)&&(null==(r=nn(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!y(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){o(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),v((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function sn(e,t){var n=at();try{for(var r=[].concat(e.interceptors_||[]),i=0,a=r.length;i<a&&((t=r[i](t))&&!t.type&&o(14),t);i++);return t}finally{st(n)}}function ln(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function cn(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),v((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function dn(e,t){var n=at(),r=e.changeListeners_;if(r){for(var o=0,i=(r=r.slice()).length;o<i;o++)r[o](t);st(n)}}var un="splice",fn="update",mn={get:function(e,t){var n=e[W];return t===W?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?C(vn,t)?vn[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[W];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){o(15)}},hn=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 F(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)&&o("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;r<e-t;r++)n[r]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&o(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&Yn(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var o=this.values_.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:null==t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=u),on(this)){var i=sn(this,{object:this.proxy_,type:un,index:e,removedCount:t,added:n});if(!i)return u;t=i.removedCount,n=i.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_(o,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 o=this.values_.slice(e,e+t),i=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<i.length;s++)this.values_[e+n.length+s]=i[s];return o},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,o=ln(this),i=o||r?{observableKind:"array",object:this.proxy_,type:fn,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),o&&dn(this,i)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,o=ln(this),i=o||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:un,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),o&&dn(this,i)},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&&o(17,e,n.length),e<n.length){this.atom_;var r=n[e];if(on(this)){var i=sn(this,{type:fn,object:this.proxy_,index:e,newValue:t});if(!i)return;t=i.newValue}(t=this.enhancer_(t,r))!==r&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,r))}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 pn(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),p(),tr((function(){var o=new hn(n,t,r,!1);k(o.values_,W,o);var i=new Proxy(o.values_,mn);return o.proxy_=i,e&&e.length&&o.spliceWithArray_(0,0,e),i}))}var vn={clear:function(){return this.splice(0)},replace:function(e){var t=this[W];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),o=2;o<n;o++)r[o-2]=arguments[o];var i=this[W];switch(arguments.length){case 0:return[];case 1:return i.spliceWithArray_(e);case 2:return i.spliceWithArray_(e,t)}return i.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[W].spliceWithArray_(e,t,n)},push:function(){for(var e=this[W],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[W].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[W],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&&o(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){ht.trackingDerivation&&o(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[W],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function gn(e,t){"function"==typeof Array.prototype[e]&&(vn[e]=t(e))}function bn(e){return function(){var t=this[W];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,o=this[W];return o.atom_.reportObserved(),o.dehanceValues_(o.values_)[e]((function(e,o){return t.call(n,e,o,r)}))}}function _n(e){return function(){var t=this,n=this[W];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),o=arguments[0];return arguments[0]=function(e,n,r){return o(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",_n),gn("reduceRight",_n);var xn=S("ObservableArrayAdministration",hn);function wn(e){return _(e)&&xn(e[W])}var On={},kn="add",Sn="delete",An=function(){function e(e,t,n){var r=this;void 0===t&&(t=J),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[W]=On,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,b(Map)||o(18),tr((function(){r.keysAtom_=Y("ObservableMap.keys()"),r.data_=new Map,r.hasMap_=new Map,e&&r.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 Ze(this.has_(e),Q,"ObservableMap.key?",!1);this.hasMap_.set(e,r),$t(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?fn:kn,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:Sn,object:this,name:e}))return!1;if(this.has_(e)){var n=ln(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:Sn,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&&dn(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=ln(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:fn,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&dn(this,o)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,tn((function(){var r,o=new Ze(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,o),t=o.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()}));var r=ln(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:kn,object:this,name:e,newValue:t}:null;r&&dn(this,o)},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 Tn({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:e.get(o)}}})},t.entries=function(){var e=this,t=this.keys();return Tn({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:[o,e.get(o)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=D(this);!(n=r()).done;){var o=n.value,i=o[0],a=o[1];e.call(t,a,i,this)}},t.merge=function(e){var t=this;return En(e)&&(e=new Map(e)),tn((function(){var n,r,i;x(e)?function(e){var t=Object.keys(e);if(!T)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return d.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,r=Object.getPrototypeOf(n),i=Object.getPrototypeOf(r),null!==Object.getPrototypeOf(i)&&o(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!=e&&o(20,e)})),this},t.clear=function(){var e=this;tn((function(){it((function(){for(var t,n=D(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,r=function(e){if(A(e)||En(e))return e;if(Array.isArray(e))return new Map(e);if(x(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return o(21,e)}(e),i=new Map,a=!1,s=D(t.data_.keys());!(n=s()).done;){var l=n.value;if(!r.has(l))if(t.delete(l))a=!0;else{var c=t.data_.get(l);i.set(l,c)}}for(var d,u=D(r.entries());!(d=u()).done;){var f=d.value,m=f[0],h=f[1],p=t.data_.has(m);if(t.set(m,h),t.data_.has(m)){var v=t.data_.get(m);i.set(m,v),p||(a=!0)}}if(!a)if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else for(var g=t.data_.keys(),b=i.keys(),y=g.next(),_=b.next();!y.done;){if(y.value!==_.value){t.keysAtom_.reportChanged();break}y=g.next(),_=b.next()}t.data_=i})),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)},L(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),En=S("ObservableMap",An);function Tn(e){return e[Symbol.toStringTag]="MapIterator",lr(e)}var jn={},Pn=function(){function e(e,t,n){var r=this;void 0===t&&(t=J),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[W]=jn,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,b(Set)||o(22),this.enhancer_=function(e,r){return t(e,r,n)},tr((function(){r.atom_=Y(r.name_),e&&r.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=D(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.forEach=function(e,t){for(var n,r=D(this);!(n=r()).done;){var o=n.value;e.call(t,o,o,this)}},t.add=function(e){var t=this;if(this.atom_,on(this)&&!sn(this,{type:kn,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=ln(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:kn,object:this,newValue:e}:null;n&&dn(this,r)}return this},t.delete=function(e){var t=this;if(on(this)&&!sn(this,{type:Sn,object:this,oldValue:e}))return!1;if(this.has(e)){var n=ln(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:Sn,object:this,oldValue:e}:null;return tn((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&dn(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 Rn({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 Rn({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{value:void 0,done:!0}}})},t.intersection=function(e){return E(e)&&!Cn(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return E(e)&&!Cn(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return E(e)&&!Cn(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 E(e)&&!Cn(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return Cn(e)&&(e=new Set(e)),tn((function(){Array.isArray(e)||E(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!=e&&o("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()},L(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),Cn=S("ObservableSet",Pn);function Rn(e){return e[Symbol.toStringTag]="SetIterator",lr(e)}var Nn=Object.create(null),zn="remove",Mn=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=_e),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 F("ObservableObject.keys"),this.isPlainObject_=x(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 Ye)return n.set(t),!0;if(on(this)){var r=sn(this,{type:fn,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==ht.UNCHANGED){var o=ln(this),i=o?{type:fn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),o&&dn(this,i)}return!0},t.get_=function(e){return ht.trackingDerivation&&!C(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),C(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 Ze(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_[H])&&n[e])return;o(1,t.annotationType_,this.name_+"."+e.toString())}for(var r=this.target_;r&&r!==d;){var i=l(r,e);if(i){var a=t.make_(this,e,i,r);if(0===a)return;if(1===a)break}r=Object.getPrototypeOf(r)}Bn(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 o=n.extend_(this,e,t,r);return o&&Bn(this,0,e),o},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{bt();var r=this.delete_(e);if(!r)return r;if(on(this)){var o=sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:t.value});if(!o)return null;var i=o.newValue;t.value!==i&&(t=V({},t,{value:i}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else c(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{yt()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),this.keysAtom_;try{bt();var o=this.delete_(e);if(!o)return o;if(on(this)){var i=sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:t});if(!i)return null;t=i.newValue}var a=Dn(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 c(this.target_,e,s);var l=new Ze(t,n,"ObservableObject.key",!1);this.values_.set(e,l),this.notifyPropertyAddition_(e,l.value_)}finally{yt()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{bt();var r=this.delete_(e);if(!r)return r;if(on(this)&&!sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var o=Dn(e),i={configurable:!ht.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,i))return!1}else c(this.target_,e,i);this.values_.set(e,new Ye(t)),this.notifyPropertyAddition_(e,void 0)}finally{yt()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),this.keysAtom_,!C(this.target_,e))return!0;if(on(this)&&!sn(this,{object:this.proxy_||this.target_,name:e,type:zn}))return null;try{var n;bt();var r,o=ln(this),i=this.values_.get(e),a=void 0;if(!i&&o&&(a=null==(r=l(this.target_,e))?void 0:r.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(i&&(this.values_.delete(e),i instanceof Ze&&(a=i.value_),xt(i)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),o){var s={type:zn,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:a,name:e};o&&dn(this,s)}}finally{yt()}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=ln(this);if(r){var o=r?{type:kn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;r&&dn(this,o)}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),j(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function In(e,t){var n;if(C(e,W))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",o=new Mn(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:xe(e):void 0}(t));return O(e,W,o),e}var Ln=S("ObservableObjectAdministration",Mn);function Dn(e){return Nn[e]||(Nn[e]={get:function(){return this[W].getObservablePropValue_(e)},set:function(t){return this[W].setObservablePropValue_(e,t)}})}function Vn(e){return!!_(e)&&Ln(e[W])}function Bn(e,t,n){var r;null==(r=e.target_[H])||delete r[n]}var $n,Un,Hn=Fn(0),qn=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),Kn=0,Gn=function(){};$n=Gn,Un=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf($n.prototype,Un):void 0!==$n.prototype.__proto__?$n.prototype.__proto__=Un:$n.prototype=Un;var Wn=function(e){function t(t,n,r,o){var i;return void 0===r&&(r="ObservableArray"),void 0===o&&(o=!1),i=e.call(this)||this,tr((function(){var e=new hn(r,n,o,!0);e.proxy_=i,k(i,W,e),t&&t.length&&i.spliceWithArray(0,0,t),qn&&Object.defineProperty(i,"0",Hn)})),i}B(t,e);var n=t.prototype;return n.concat=function(){this[W].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 wn(e)?e.slice():e})))},n[Symbol.iterator]=function(){var e=this,t=0;return lr({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},L(t,[{key:"length",get:function(){return this[W].getArrayLength_()},set:function(e){this[W].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(Gn);function Fn(e){return{enumerable:!1,configurable:!0,get:function(){return this[W].get_(e)},set:function(t){this[W].set_(e,t)}}}function Zn(e){c(Wn.prototype,""+e,Fn(e))}function Yn(e){if(e>Kn){for(var t=Kn;t<e+100;t++)Zn(t);Kn=e}}function Xn(e,t,n){return new Wn(e,t,n)}function Jn(e,t){if("object"==typeof e&&null!==e){if(wn(e))return void 0!==t&&o(23),e[W].atom_;if(Cn(e))return e.atom_;if(En(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||o(25,t,er(e)),n}if(Vn(e)){if(!t)return o(26);var r=e[W].values_.get(t);return r||o(27,t,er(e)),r}if(Z(e)||Qe(e)||Et(e))return e}else if(b(e)&&Et(e[W]))return e[W];o(28)}function Qn(e,t){return e||o(29),void 0!==t?Qn(Jn(e,t)):Z(e)||Qe(e)||Et(e)||En(e)||Cn(e)?e:e[W]?e[W]:void o(24,e)}function er(e,t){var n;if(void 0!==t)n=Jn(e,t);else{if(Lt(e))return e.name;n=Vn(e)||En(e)||Cn(e)?Qn(e):Jn(e)}return n.name_}function tr(e){var t=at(),n=We(!0);bt();try{return e()}finally{yt(),Fe(n),st(t)}}Object.entries(vn).forEach((function(e){var t=e[0],n=e[1];"concat"!==t&&O(Wn.prototype,t,n)})),Yn(1e3);var nr,rr=d.toString;function or(e,t,n){return void 0===n&&(n=-1),ir(e,t,n)}function ir(e,t,n,r,o){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var i=typeof e;if("function"!==i&&"object"!==i&&"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 l=e.constructor,c=t.constructor;if(l!==c&&!(b(l)&&l instanceof l&&b(c)&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),o=o||[];for(var d=(r=r||[]).length;d--;)if(r[d]===e)return o[d]===t;if(r.push(e),o.push(t),s){if((d=e.length)!==t.length)return!1;for(;d--;)if(!ir(e[d],t[d],n-1,r,o))return!1}else{var u,f=Object.keys(e);if(d=f.length,Object.keys(t).length!==d)return!1;for(;d--;)if(!C(t,u=f[d])||!ir(e[u],t[u],n-1,r,o))return!1}return r.pop(),o.pop(),!0}function ar(e){return wn(e)?e.slice():A(e)||En(e)||E(e)||Cn(e)?Array.from(e.entries()):e}var sr=(null==(nr=a().Iterator)?void 0:nr.prototype)||{};function lr(e){return e[Symbol.iterator]=cr,Object.assign(Object.create(sr),e)}function cr(){return this}["Symbol","Map","Set"].forEach((function(e){void 0===a()[e]&&o("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:W});var dr=r(953),ur=r.n(dr);if(!dr.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!function(e,t,n){return tr((function(){var r=In(e,n)[W];null!=t||(t=function(e){return C(e,H)||O(e,H,V({},e[H])),e[H]}(e)),j(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 fr=n(180);function mr(e){e()}function hr(e){e||(e=mr),function(e){!0===e.isolateGlobalState&&function(){if((ht.pendingReactions.length||ht.inBatch||ht.isRunningReactions)&&o(36),mt=!0,ft){var e=a();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),ht=new ut}}();var t,n,r=e.useProxies,i=e.enforceActions;if(void 0!==r&&(ht.useProxies=r===qt||r!==Ht&&"undefined"!=typeof Proxy),"ifavailable"===r&&(ht.verifyProxies=!0),void 0!==i){var s=i===qt?qt:i===Kt;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=kt,kt=function(e){return t((function(){return n(e)}))})}({reactionScheduler:e})}var pr=function(){return!0};function vr(e){return Gt(Jn(e,void 0))}var gr=!1;function br(e){gr=e}function yr(){return gr}var _r,xr,wr=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,o){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(o))})),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}(),Or=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:wr)((function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null})),kr=r(634);function Sr(e){e.reaction=new wt("observer".concat(e.name),(function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)}))}function Ar(e,t){if(void 0===t&&(t="observed"),yr())return e();var n=ur().useRef(null);if(!n.current){var r={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return Or.unregister(r),r.onStoreChange=e,r.reaction||(Sr(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 o,i,a=n.current;if(a.reaction||(Sr(a),Or.register(n,a,a)),ur().useDebugValue(a.reaction,vr),(0,kr.useSyncExternalStore)(a.subscribe,a.getSnapshot,a.getSnapshot),a.reaction.track((function(){try{o=e()}catch(e){i=e}})),i)throw i;return o}var Er="function"==typeof Symbol&&Symbol.for,Tr=null!==(xr=null===(_r=Object.getOwnPropertyDescriptor((function(){}),"name"))||void 0===_r?void 0:_r.configurable)&&void 0!==xr&&xr,jr=Er?Symbol.for("react.forward_ref"):"function"==typeof dr.forwardRef&&(0,dr.forwardRef)((function(e){return null})).$$typeof,Pr=Er?Symbol.for("react.memo"):"function"==typeof dr.memo&&(0,dr.memo)((function(e){return null})).$$typeof;function Cr(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,o=e,i=e.displayName||e.name;if(jr&&e.$$typeof===jr&&(r=!0,"function"!=typeof(o=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var a,s,l=function(e,t){return Ar((function(){return o(e,t)}),i)};return l.displayName=e.displayName,Tr&&Object.defineProperty(l,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(l.contextTypes=e.contextTypes),r&&(l=(0,dr.forwardRef)(l)),l=(0,dr.memo)(l),a=e,s=l,Object.keys(a).forEach((function(e){Nr[e]||Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(a,e))})),l}var Rr,Nr={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function zr(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:Ar(r)}function Mr(e,t){return(0,dr.useState)((function(){return Ie(e(),t,{autoBind:!0})}))[0]}function Ir(e){var t=(0,dr.useState)((function(){return Ie(e,{},{deep:!1})}))[0];return function(e){Ge(0,!1,e,this,void 0)}((function(){Object.assign(t,e)})),t}function Lr(e,t){var n=t&&Ir(t);return(0,dr.useState)((function(){return Ie(e(n),void 0,{autoBind:!0})}))[0]}zr.displayName="Observer",hr(fr.unstable_batchedUpdates);var Dr=null!==(Rr=Or.finalizeAllImmediately)&&void 0!==Rr?Rr:function(){};function Vr(e,t){return void 0===t&&(t="observed"),Ar(e,t)}function Br(e){br(e)}},89:(e,t,n)=>{n.r(t),n.d(t,{default:()=>g});var r=n(478),o=n.n(r),i=n(135),a=n.n(i),s=n(301),l=n.n(s),c=n(222),d=n.n(c),u=n(626),f=n.n(u),m=n(279),h=n.n(m),p=n(428),v={};v.styleTagTransform=h(),v.setAttributes=d(),v.insert=l().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=f(),o()(p.A,v);const g=p.A&&p.A.locals?p.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 i={},a=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],d=i[c]||0,u="".concat(c," ").concat(d);i[c]=d+1;var f=n(u),m={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(m);else{var h=o(m,r);r.byIndex=s,t.splice(s,0,{identifier:u,updater:h,references:1})}a.push(u)}return a}function o(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,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=n(i[a]);t[s].references--}for(var l=r(e,o),c=0;c<i.length;c++){var d=n(i[c]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}i=l}}},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 o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),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),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,d=r[1];return s((function(){o.value=n,o.getSnapshot=t,c(o)&&d({inst:o})}),[e,n,t]),a((function(){return c(o)&&d({inst:o}),e((function(){c(o)&&d({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:d},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(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useStationLogin=void 0;const i=n(953),a=o(n(768));t.useStationLogin=e=>{const t=e.cc,n=e.onLogin,o=e.onLogout,s=e.logger,[l,c]=(0,i.useState)(""),[d,u]=(0,i.useState)(e.deviceType||""),[f,m]=(0,i.useState)(""),[h,p]=(0,i.useState)(),[v,g]=(0,i.useState)(),[b,y]=(0,i.useState)();return{name:"StationLogin",setDeviceType:u,setDialNumber:c,setTeam:m,login:()=>{t.stationLogin({teamId:f,loginOption:d,dialNumber:l}).then((e=>{p(e),a.default.setDeviceType(d),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(""),o&&o()})).catch((e=>{s.error(`Error logging out: ${e}`,{module:"widget-station-login#helper.ts",method:"logout"})}))},relogin:function(){a.default.setDeviceType(d),n&&n()},loginSuccess:h,loginFailure:v,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 o=r(n(953)),i=r(n(768)),a=n(62),s=r(n(688)),l=n(306),c=(0,a.observer)((({onLogin:e,onLogout:t})=>{const{cc:n,teams:r,loginOptions:a,logger:c,isAgentLoggedIn:d,showMultipleLoginAlert:u,deviceType:f}=i.default,m=(0,l.useStationLogin)({cc:n,onLogin:e,onLogout:t,logger:c,deviceType:f}),h=Object.assign(Object.assign({},m),{teams:r,loginOptions:a,deviceType:f,isAgentLoggedIn:d,showMultipleLoginAlert:u});return o.default.createElement(s.default,Object.assign({},h))}));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 o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=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 o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});const a=i(n(953));n(89);const s=n(214);t.default=e=>{const{name:t,teams:n,loginOptions:r,login:o,logout:i,relogin:l,setDeviceType:c,setDialNumber:d,setTeam:u,isAgentLoggedIn:f,deviceType:m,showMultipleLoginAlert:h,handleContinue:p}=e,v=(0,a.useRef)(null);return(0,a.useEffect)((()=>{const e=document.getElementById("teamsDropdown"),t=document.querySelector("#LoginOption"),o=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)})),u(e.value),o.value="",o.disabled=!0)),r.length>0&&(r.forEach((e=>{const n=document.createElement("option");n.text=e,n.value=e,t.add(n)})),t&&m&&(t.value=m))}),[n,r]),(0,a.useEffect)((()=>{const e=v.current;h&&e&&e.showModal()}),[h,v]),(0,a.useEffect)((()=>{if(!f)return;const e=document.querySelector("#LoginOption");e&&!e.value&&(c(m),e.value=m,l())}),[f]),a.default.createElement(a.default.Fragment,null,h&&a.default.createElement("dialog",{ref:v,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=v.current;e&&(e.close(),p())}},"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");d(e.value)}}),f?a.default.createElement("button",{id:"logoutAgent",className:"btn",onClick:i},"Logout"):a.default.createElement("button",{id:"AgentLogin",className:"btn",onClick:o},"Login"))))))))}},768:e=>{e.exports=n(768)},953:e=>{e.exports=n(953)}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={id:e,exports:{}};return t[e].call(i.exports,i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var i={};(()=>{var e=i;Object.defineProperty(e,"__esModule",{value:!0}),e.StationLogin=void 0;const t=o(17);Object.defineProperty(e,"StationLogin",{enumerable:!0,get:function(){return t.StationLogin}})})(),e.exports=i})()},32:(e,t,n)=>{(()=>{"use strict";var t={178:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(63),o=n.n(r),i=n(248),a=n.n(i)()(o());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}.btn:disabled{background-color:gray;cursor:not-allowed}.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}",""]);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,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);r&&a[d[0]]||(void 0!==i&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=i),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),o&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=o):d[4]="".concat(o)),t.push(d))}},t}},63:e=>{e.exports=function(e){return e[1]}},62:(e,t,r)=>{function o(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)}r.r(t),r.d(t,{Observer:()=>zr,_observerFinalizationRegistry:()=>Or,clearTimers:()=>Dr,enableStaticRendering:()=>br,isObserverBatched:()=>pr,isUsingStaticRendering:()=>yr,observer:()=>Cr,observerBatching:()=>hr,useAsObservableSource:()=>Ir,useLocalObservable:()=>Mr,useLocalStore:()=>Lr,useObserver:()=>Vr,useStaticRendering:()=>Br});var i={};function a(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:i}var s=Object.assign,l=Object.getOwnPropertyDescriptor,c=Object.defineProperty,d=Object.prototype,u=[];Object.freeze(u);var f={};Object.freeze(f);var m="undefined"!=typeof Proxy,h=Object.toString();function p(){m||o("Proxy not available")}function v(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var g=function(){};function b(e){return"function"==typeof e}function y(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function _(e){return null!==e&&"object"==typeof e}function x(e){if(!_(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 w(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function O(e,t,n){c(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function k(e,t,n){c(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function S(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return _(e)&&!0===e[n]}}function A(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function E(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var T=void 0!==Object.getOwnPropertySymbols,j="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:T?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function P(e){return null===e?null:"object"==typeof e?""+e:e}function C(e,t){return d.hasOwnProperty.call(e,t)}var R=Object.getOwnPropertyDescriptors||function(e){var t={};return j(e).forEach((function(n){t[n]=l(e,n)})),t};function N(e,t){return!!(e&t)}function z(e,t,n){return n?e|=t:e&=~t,e}function M(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 I(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,U(r.key),r)}}function L(e,t,n){return t&&I(e.prototype,t),n&&I(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function D(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 M(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)?M(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 V(){return V=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},V.apply(null,arguments)}function B(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$(e,t)}function $(e,t){return $=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$(e,t)}function U(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 H=Symbol("mobx-stored-annotations");function q(e){return Object.assign((function(t,n){if(G(n))return e.decorate_20223_(t,n);K(t,n,e)}),e)}function K(e,t,n){C(e,H)||O(e,H,V({},e[H])),function(e){return e.annotationType_===ee}(n)||(e[H][t]=n)}function G(e){return"object"==typeof e&&"string"==typeof e.kind}var W=Symbol("mobx administration"),F=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_=Xe.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 _t(this)},t.reportChanged=function(){bt(),xt(this),yt()},t.toString=function(){return this.name_},L(e,[{key:"isBeingObserved",get:function(){return N(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=z(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return N(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=z(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return N(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=z(this.flags_,e.diffValueMask_,1===t)}}])}();F.isBeingObservedMask_=1,F.isPendingUnobservationMask_=2,F.diffValueMask_=4;var Z=S("Atom",F);function Y(e,t,n){void 0===t&&(t=g),void 0===n&&(n=g);var r=new F(e);return t!==g&&Ut(Vt,r,t,void 0),n!==g&&$t(r,n),r}var X={identity:function(e,t){return e===t},structural:function(e,t){return or(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 or(e,t,1)}};function J(e,t,n){return en(e)?e:Array.isArray(e)?Ie.array(e,{name:n}):x(e)?Ie.object(e,void 0,{name:n}):A(e)?Ie.map(e,{name:n}):E(e)?Ie.set(e,{name:n}):"function"!=typeof e||Lt(e)||Qt(e)?e:w(e)?Xt(e):It(n,e)}function Q(e){return e}var ee="override";function te(e,t){return{annotationType_:e,options_:t,make_:ne,extend_:re,decorate_20223_:oe}}function ne(e,t,n,r){var o;if(null!=(o=this.options_)&&o.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(Lt(n.value))return 1;var i=ie(e,this,t,n,!1);return c(r,t,i),2}function re(e,t,n,r){var o=ie(e,this,t,n);return e.defineProperty_(t,o,r)}function oe(e,t){var n,r=t.kind,i=t.name,a=t.addInitializer,s=this,l=function(e){var t,n,r,o;return Ke(null!=(t=null==(n=s.options_)?void 0:n.name)?t:i.toString(),e,null!=(r=null==(o=s.options_)?void 0:o.autoAction)&&r)};return"field"==r?function(e){var t,n=e;return Lt(n)||(n=l(n)),null!=(t=s.options_)&&t.bound&&((n=n.bind(this)).isMobxAction=!0),n}:"method"==r?(Lt(e)||(e=l(e)),null!=(n=this.options_)&&n.bound&&a((function(){var e=this,t=e[i].bind(e);t.isMobxAction=!0,e[i]=t})),e):void o("Cannot apply '"+s.annotationType_+"' to '"+String(i)+"' (kind: "+r+"):\n'"+s.annotationType_+"' can only be used on properties with a function value.")}function ie(e,t,n,r,o){var i,a,s,l,c,d,u,f;void 0===o&&(o=ht.safeDescriptors),f=r,t.annotationType_,f.value;var m,h=r.value;return null!=(i=t.options_)&&i.bound&&(h=h.bind(null!=(m=e.proxy_)?m:e.target_)),{value:Ke(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),h,null!=(l=null==(c=t.options_)?void 0:c.autoAction)&&l,null!=(d=t.options_)&&d.bound?null!=(u=e.proxy_)?u:e.target_:void 0),configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function ae(e,t){return{annotationType_:e,options_:t,make_:se,extend_:le,decorate_20223_:ce}}function se(e,t,n,r){var o;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(o=this.options_)&&o.bound&&(!C(e.target_,t)||!Qt(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(Qt(n.value))return 1;var i=de(e,this,0,n,!1,!1);return c(r,t,i),2}function le(e,t,n,r){var o,i=de(e,this,0,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,i,r)}function ce(e,t){var n,r=t.name,o=t.addInitializer;return Qt(e)||(e=Xt(e)),null!=(n=this.options_)&&n.bound&&o((function(){var e=this,t=e[r].bind(e);t.isMobXFlow=!0,e[r]=t})),e}function de(e,t,n,r,o,i){var a;void 0===i&&(i=ht.safeDescriptors),a=r,t.annotationType_,a.value;var s,l=r.value;return Qt(l)||(l=Xt(l)),o&&((l=l.bind(null!=(s=e.proxy_)?s:e.target_)).isMobXFlow=!0),{value:l,configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function ue(e,t){return{annotationType_:e,options_:t,make_:fe,extend_:me,decorate_20223_:he}}function fe(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function me(e,t,n,r){return o=n,this.annotationType_,o.get,e.defineComputedProperty_(t,V({},this.options_,{get:n.get,set:n.set}),r);var o}function he(e,t){var n=this,r=t.name;return(0,t.addInitializer)((function(){var t=In(this)[W],o=V({},n.options_,{get:e,context:this});o.name||(o.name="ObservableObject."+r.toString()),t.values_.set(r,new Ye(o))})),function(){return this[W].getObservablePropValue_(r)}}function pe(e,t){return{annotationType_:e,options_:t,make_:ve,extend_:ge,decorate_20223_:be}}function ve(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function ge(e,t,n,r){var o,i;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(o=null==(i=this.options_)?void 0:i.enhancer)?o:J,r)}function be(e,t){var n=this,r=t.kind,o=t.name,i=new WeakSet;function a(e,t){var r,a,s=In(e)[W],l=new Ze(t,null!=(r=null==(a=n.options_)?void 0:a.enhancer)?r:J,"ObservableObject."+o.toString(),!1);s.values_.set(o,l),i.add(e)}if("accessor"==r)return{get:function(){return i.has(this)||a(this,e.get.call(this)),this[W].getObservablePropValue_(o)},set:function(e){return i.has(this)||a(this,e),this[W].setObservablePropValue_(o,e)},init:function(e){return i.has(this)||a(this,e),e}}}var ye="true",_e=xe();function xe(e){return{annotationType_:ye,options_:e,make_:we,extend_:Oe,decorate_20223_:ke}}function we(e,t,n,r){var o,i,a,s;if(n.get)return Be.make_(e,t,n,r);if(n.set){var l=Ke(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!ht.safeDescriptors||e.isPlainObject_,set:l})?0:2:(c(r,t,{configurable:!0,set:l}),2)}if(r!==e.target_&&"function"==typeof n.value)return w(n.value)?(null!=(s=this.options_)&&s.autoBind?Xt.bound:Xt).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?It.bound:It).make_(e,t,n,r);var d,u=!1===(null==(o=this.options_)?void 0:o.deep)?Ie.ref:Ie;return"function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(d=e.proxy_)?d:e.target_)),u.make_(e,t,n,r)}function Oe(e,t,n,r){var o,i,a;return n.get?Be.extend_(e,t,n,r):n.set?e.defineProperty_(t,{configurable:!ht.safeDescriptors||e.isPlainObject_,set:Ke(t.toString(),n.set)},r):("function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),(!1===(null==(i=this.options_)?void 0:i.deep)?Ie.ref:Ie).extend_(e,t,n,r))}function ke(e,t){o("'"+this.annotationType_+"' cannot be used as a decorator")}var Se={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function Ae(e){return e||Se}Object.freeze(Se);var Ee=pe("observable"),Te=pe("observable.ref",{enhancer:Q}),je=pe("observable.shallow",{enhancer:function(e,t,n){return null==e||Vn(e)||wn(e)||En(e)||Cn(e)?e:Array.isArray(e)?Ie.array(e,{name:n,deep:!1}):x(e)?Ie.object(e,void 0,{name:n,deep:!1}):A(e)?Ie.map(e,{name:n,deep:!1}):E(e)?Ie.set(e,{name:n,deep:!1}):void 0}}),Pe=pe("observable.struct",{enhancer:function(e,t){return or(e,t)?t:e}}),Ce=q(Ee);function Re(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 Ne(e,t,n){return G(t)?Ee.decorate_20223_(e,t):y(t)?void K(e,t,Ee):en(e)?e:x(e)?Ie.object(e,t,n):Array.isArray(e)?Ie.array(e,t):A(e)?Ie.map(e,t):E(e)?Ie.set(e,t):"object"==typeof e&&null!==e?e:Ie.box(e,t)}s(Ne,Ce);var ze,Me,Ie=s(Ne,{box:function(e,t){var n=Ae(t);return new Ze(e,Re(n),n.name,!0,n.equals)},array:function(e,t){var n=Ae(t);return(!1===ht.useProxies||!1===n.proxy?Xn:pn)(e,Re(n),n.name)},map:function(e,t){var n=Ae(t);return new An(e,Re(n),n.name)},set:function(e,t){var n=Ae(t);return new Pn(e,Re(n),n.name)},object:function(e,t,n){return tr((function(){return function(e,t,n){var r=R(t);return tr((function(){var t=In(e,void 0)[W];j(r).forEach((function(e){t.extend_(e,r[e],!n||!(e in n)||n[e])}))})),e}(!1===ht.useProxies||!1===(null==n?void 0:n.proxy)?In({},n):function(e,t){var n,r;return p(),null!=(r=(n=(e=In(e,t))[W]).proxy_)?r:n.proxy_=new Proxy(e,rn)}({},n),e,t)}))},ref:q(Te),shallow:q(je),deep:Ce,struct:q(Pe)}),Le="computed",De=ue(Le),Ve=ue("computed.struct",{equals:X.structural}),Be=function(e,t){if(G(t))return De.decorate_20223_(e,t);if(y(t))return K(e,t,De);if(x(e))return q(ue(Le,e));var n=x(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new Ye(n)};Object.assign(Be,De),Be.struct=q(Ve);var $e=0,Ue=1,He=null!=(ze=null==(Me=l((function(){}),"name"))?void 0:Me.configurable)&&ze,qe={value:"action",configurable:!0,writable:!1,enumerable:!1};function Ke(e,t,n,r){function o(){return Ge(0,n,t,r||this,arguments)}return void 0===n&&(n=!1),o.isMobxAction=!0,o.toString=function(){return t.toString()},He&&(qe.value=e,c(o,"name",qe)),o}function Ge(e,t,n,r,i){var a=function(e,t){var n=ht.trackingDerivation,r=!t||!n;bt();var o=ht.allowStateChanges;r&&(at(),o=We(!0));var i={runAsAction_:r,prevDerivation_:n,prevAllowStateChanges_:o,prevAllowStateReads_:lt(!0),notifySpy_:!1,startTime_:0,actionId_:Ue++,parentActionId_:$e};return $e=i.actionId_,i}(0,t);try{return n.apply(r,i)}catch(e){throw a.error_=e,e}finally{!function(e){$e!==e.actionId_&&o(30),$e=e.parentActionId_,void 0!==e.error_&&(ht.suppressReactionErrors=!0),Fe(e.prevAllowStateChanges_),ct(e.prevAllowStateReads_),yt(),e.runAsAction_&&st(e.prevDerivation_),ht.suppressReactionErrors=!1}(a)}}function We(e){var t=ht.allowStateChanges;return ht.allowStateChanges=e,t}function Fe(e){ht.allowStateChanges=e}var Ze=function(e){function t(t,n,r,o,i){var a;return void 0===r&&(r="ObservableValue"),void 0===o&&(o=!0),void 0===i&&(i=X.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=i,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:fn,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(),ln(this)&&dn(this,{type:fn,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:fn,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 P(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(F),Ye=function(){function e(e){this.dependenciesState_=Xe.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Xe.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new et(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||o(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=Ke("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?X.structural:X.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_===Xe.UP_TO_DATE_&&(e.lowestObserverState_=Xe.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Xe.UP_TO_DATE_&&(e.dependenciesState_=Xe.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&&o(32,this.name_,this.derivation),0!==ht.inBatch||0!==this.observers_.size||this.keepAlive_){if(_t(this),nt(this)){var e=ht.trackingContext;this.keepAlive_&&!e&&(ht.trackingContext=this),this.trackAndCompute()&&function(e){e.lowestObserverState_!==Xe.STALE_&&(e.lowestObserverState_=Xe.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===Xe.POSSIBLY_STALE_?t.dependenciesState_=Xe.STALE_:t.dependenciesState_===Xe.UP_TO_DATE_&&(e.lowestObserverState_=Xe.UP_TO_DATE_)})))}(this),ht.trackingContext=e}}else nt(this)&&(this.warnAboutUntrackedRead_(),bt(),this.value_=this.computeValue_(!1),yt());var t=this.value_;if(tt(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&o(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else o(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===Xe.NOT_TRACKING_,n=this.computeValue_(!0),r=t||tt(e)||tt(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing=!0;var t,n=We(!1);if(e)t=rt(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 et(e)}return Fe(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(ot(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,o=void 0;return function(e,t){var n,r,o,i;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 l=function(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Dt}(t),c=!1;a=new wt(s,(function(){c||(c=!0,l((function(){c=!1,a.isDisposed||a.track(d)})))}),t.onError,t.requiresObservable)}else a=new wt(s,(function(){this.track(d)}),t.onError,t.requiresObservable);function d(){e()}return null!=(o=t)&&null!=(o=o.signal)&&o.aborted||a.schedule_(),a.getDisposer_(null==(i=t)?void 0:i.signal)}((function(){var i=n.get();if(!r||t){var a=at();e({observableKind:"computed",debugObjectName:n.name_,type:fn,object:n,newValue:i,oldValue:o}),st(a)}r=!1,o=i}))},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return P(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},L(e,[{key:"isComputing",get:function(){return N(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=z(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return N(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=z(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return N(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=z(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return N(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=z(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return N(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=z(this.flags_,e.diffValueMask_,1===t)}}])}();Ye.isComputingMask_=1,Ye.isRunningSetterMask_=2,Ye.isBeingObservedMask_=4,Ye.isPendingUnobservationMask_=8,Ye.diffValueMask_=16;var Xe,Je,Qe=S("ComputedValue",Ye);!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_"}(Xe||(Xe={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Je||(Je={}));var et=function(e){this.cause=void 0,this.cause=e};function tt(e){return e instanceof et}function nt(e){switch(e.dependenciesState_){case Xe.UP_TO_DATE_:return!1;case Xe.NOT_TRACKING_:case Xe.STALE_:return!0;case Xe.POSSIBLY_STALE_:for(var t=lt(!0),n=at(),r=e.observing_,o=r.length,i=0;i<o;i++){var a=r[i];if(Qe(a)){if(ht.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return st(n),ct(t),!0}if(e.dependenciesState_===Xe.STALE_)return st(n),ct(t),!0}}return dt(e),st(n),ct(t),!1}}function rt(e,t,n){var r=lt(!0);dt(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++ht.runId;var o,i=ht.trackingDerivation;if(ht.trackingDerivation=e,ht.inBatch++,!0===ht.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(e){o=new et(e)}return ht.inBatch--,ht.trackingDerivation=i,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=Xe.UP_TO_DATE_,o=0,i=e.unboundDepsCount_,a=0;a<i;a++){var s=n[a];0===s.diffValue&&(s.diffValue=1,o!==a&&(n[o]=s),o++),s.dependenciesState_>r&&(r=s.dependenciesState_)}for(n.length=o,e.newObserving_=null,i=t.length;i--;){var l=t[i];0===l.diffValue&&vt(l,e),l.diffValue=0}for(;o--;){var c=n[o];1===c.diffValue&&(c.diffValue=0,pt(c,e))}r!==Xe.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),ct(r),o}function ot(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)vt(t[n],e);e.dependenciesState_=Xe.NOT_TRACKING_}function it(e){var t=at();try{return e()}finally{st(t)}}function at(){var e=ht.trackingDerivation;return ht.trackingDerivation=null,e}function st(e){ht.trackingDerivation=e}function lt(e){var t=ht.allowStateReads;return ht.allowStateReads=e,t}function ct(e){ht.allowStateReads=e}function dt(e){if(e.dependenciesState_!==Xe.UP_TO_DATE_){e.dependenciesState_=Xe.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=Xe.UP_TO_DATE_}}var ut=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,mt=!1,ht=function(){var e=a();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(ft=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new ut).version&&(ft=!1),ft?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new ut):(setTimeout((function(){mt||o(35)}),1),new ut)}();function pt(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function vt(e,t){e.observers_.delete(t),0===e.observers_.size&&gt(e)}function gt(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,ht.pendingUnobservations.push(e))}function bt(){ht.inBatch++}function yt(){if(0==--ht.inBatch){St();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 Ye&&n.suspend_())}ht.pendingUnobservations=[]}}function _t(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&&gt(e),!1)}function xt(e){e.lowestObserverState_!==Xe.STALE_&&(e.lowestObserverState_=Xe.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Xe.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=Xe.STALE_})))}var wt=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_=Xe.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),St())},t.runReaction_=function(){if(!this.isDisposed){bt(),this.isScheduled=!1;var e=ht.trackingContext;if(ht.trackingContext=this,nt(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}ht.trackingContext=e,yt()}},t.track=function(e){if(!this.isDisposed){bt(),this.isRunning=!0;var t=ht.trackingContext;ht.trackingContext=this;var n=rt(this,e,void 0);ht.trackingContext=t,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&ot(this),tt(n)&&this.reportExceptionInDerivation_(n.cause),yt()}},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||(bt(),ot(this),yt()))},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[W]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},L(e,[{key:"isDisposed",get:function(){return N(this.flags_,e.isDisposedMask_)},set:function(t){this.flags_=z(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return N(this.flags_,e.isScheduledMask_)},set:function(t){this.flags_=z(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return N(this.flags_,e.isTrackPendingMask_)},set:function(t){this.flags_=z(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return N(this.flags_,e.isRunningMask_)},set:function(t){this.flags_=z(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return N(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=z(this.flags_,e.diffValueMask_,1===t)}}])}();wt.isDisposedMask_=1,wt.isScheduledMask_=2,wt.isTrackPendingMask_=4,wt.isRunningMask_=8,wt.diffValueMask_=16;var Ot=100,kt=function(e){return e()};function St(){ht.inBatch>0||ht.isRunningReactions||kt(At)}function At(){ht.isRunningReactions=!0;for(var e=ht.pendingReactions,t=0;e.length>0;){++t===Ot&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;r<o;r++)n[r].runReaction_()}ht.isRunningReactions=!1}var Et=S("Reaction",wt),Tt="action",jt="autoAction",Pt=te(Tt),Ct=te("action.bound",{bound:!0}),Rt=te(jt,{autoAction:!0}),Nt=te("autoAction.bound",{autoAction:!0,bound:!0});function zt(e){return function(t,n){return b(t)?Ke(t.name||"<unnamed action>",t,e):b(n)?Ke(t,n,e):G(n)?(e?Rt:Pt).decorate_20223_(t,n):y(n)?K(t,n,e?Rt:Pt):y(t)?q(te(e?jt:Tt,{name:t,autoAction:e})):void 0}}var Mt=zt(!1);Object.assign(Mt,Pt);var It=zt(!0);function Lt(e){return b(e)&&!0===e.isMobxAction}Object.assign(It,Rt),Mt.bound=q(Ct),It.bound=q(Nt);var Dt=function(e){return e()},Vt="onBO",Bt="onBUO";function $t(e,t,n){return Ut(Bt,e,t,n)}function Ut(e,t,n,r){var o="function"==typeof r?Jn(t,n):Jn(t),i=b(r)?r:n,a=e+"L";return o[a]?o[a].add(i):o[a]=new Set([i]),function(){var e=o[a];e&&(e.delete(i),0===e.size&&delete o[a])}}var Ht="never",qt="always",Kt="observed";function Gt(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(Gt)),n}var Wt=0;function Ft(){this.message="FLOW_CANCELLED"}Ft.prototype=Object.create(Error.prototype);var Zt=ae("flow"),Yt=ae("flow.bound",{bound:!0}),Xt=Object.assign((function(e,t){if(G(t))return Zt.decorate_20223_(e,t);if(y(t))return K(e,t,Zt);var n=e,r=n.name||"<unnamed flow>",o=function(){var e,t=arguments,o=++Wt,i=Mt(r+" - runid: "+o+" - init",n).apply(this,t),a=void 0,s=new Promise((function(t,n){var s=0;function l(e){var t;a=void 0;try{t=Mt(r+" - runid: "+o+" - yield "+s++,i.next).call(i,e)}catch(e){return n(e)}d(t)}function c(e){var t;a=void 0;try{t=Mt(r+" - runid: "+o+" - yield "+s++,i.throw).call(i,e)}catch(e){return n(e)}d(t)}function d(e){if(!b(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(l,c);e.then(d,n)}e=n,l(void 0)}));return s.cancel=Mt(r+" - runid: "+o+" - cancel",(function(){try{a&&Jt(a);var t=i.return(void 0),n=Promise.resolve(t.value);n.then(g,g),Jt(n),e(new Ft)}catch(t){e(t)}})),s};return o.isMobXFlow=!0,o}),Zt);function Jt(e){b(e.cancel)&&e.cancel()}function Qt(e){return!0===(null==e?void 0:e.isMobXFlow)}function en(e){return function(e){return!!e&&(Vn(e)||!!e[W]||Z(e)||Et(e)||Qe(e))}(e)}function tn(e,t){void 0===t&&(t=void 0),bt();try{return e.apply(t)}finally{yt()}}function nn(e){return e[W]}Xt.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!!y(t)&&(null==(r=nn(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!y(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){o(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),v((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function sn(e,t){var n=at();try{for(var r=[].concat(e.interceptors_||[]),i=0,a=r.length;i<a&&((t=r[i](t))&&!t.type&&o(14),t);i++);return t}finally{st(n)}}function ln(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function cn(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),v((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function dn(e,t){var n=at(),r=e.changeListeners_;if(r){for(var o=0,i=(r=r.slice()).length;o<i;o++)r[o](t);st(n)}}var un="splice",fn="update",mn={get:function(e,t){var n=e[W];return t===W?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?C(vn,t)?vn[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[W];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){o(15)}},hn=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 F(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)&&o("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;r<e-t;r++)n[r]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&o(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&Yn(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var o=this.values_.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:null==t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=u),on(this)){var i=sn(this,{object:this.proxy_,type:un,index:e,removedCount:t,added:n});if(!i)return u;t=i.removedCount,n=i.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_(o,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 o=this.values_.slice(e,e+t),i=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<i.length;s++)this.values_[e+n.length+s]=i[s];return o},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,o=ln(this),i=o||r?{observableKind:"array",object:this.proxy_,type:fn,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),o&&dn(this,i)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,o=ln(this),i=o||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:un,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),o&&dn(this,i)},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&&o(17,e,n.length),e<n.length){this.atom_;var r=n[e];if(on(this)){var i=sn(this,{type:fn,object:this.proxy_,index:e,newValue:t});if(!i)return;t=i.newValue}(t=this.enhancer_(t,r))!==r&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,r))}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 pn(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),p(),tr((function(){var o=new hn(n,t,r,!1);k(o.values_,W,o);var i=new Proxy(o.values_,mn);return o.proxy_=i,e&&e.length&&o.spliceWithArray_(0,0,e),i}))}var vn={clear:function(){return this.splice(0)},replace:function(e){var t=this[W];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),o=2;o<n;o++)r[o-2]=arguments[o];var i=this[W];switch(arguments.length){case 0:return[];case 1:return i.spliceWithArray_(e);case 2:return i.spliceWithArray_(e,t)}return i.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[W].spliceWithArray_(e,t,n)},push:function(){for(var e=this[W],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[W].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[W],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&&o(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){ht.trackingDerivation&&o(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[W],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function gn(e,t){"function"==typeof Array.prototype[e]&&(vn[e]=t(e))}function bn(e){return function(){var t=this[W];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,o=this[W];return o.atom_.reportObserved(),o.dehanceValues_(o.values_)[e]((function(e,o){return t.call(n,e,o,r)}))}}function _n(e){return function(){var t=this,n=this[W];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),o=arguments[0];return arguments[0]=function(e,n,r){return o(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",_n),gn("reduceRight",_n);var xn=S("ObservableArrayAdministration",hn);function wn(e){return _(e)&&xn(e[W])}var On={},kn="add",Sn="delete",An=function(){function e(e,t,n){var r=this;void 0===t&&(t=J),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[W]=On,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,b(Map)||o(18),tr((function(){r.keysAtom_=Y("ObservableMap.keys()"),r.data_=new Map,r.hasMap_=new Map,e&&r.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 Ze(this.has_(e),Q,"ObservableMap.key?",!1);this.hasMap_.set(e,r),$t(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?fn:kn,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:Sn,object:this,name:e}))return!1;if(this.has_(e)){var n=ln(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:Sn,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&&dn(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=ln(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:fn,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&dn(this,o)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,tn((function(){var r,o=new Ze(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,o),t=o.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()}));var r=ln(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:kn,object:this,name:e,newValue:t}:null;r&&dn(this,o)},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 Tn({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:e.get(o)}}})},t.entries=function(){var e=this,t=this.keys();return Tn({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:[o,e.get(o)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=D(this);!(n=r()).done;){var o=n.value,i=o[0],a=o[1];e.call(t,a,i,this)}},t.merge=function(e){var t=this;return En(e)&&(e=new Map(e)),tn((function(){var n,r,i;x(e)?function(e){var t=Object.keys(e);if(!T)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return d.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,r=Object.getPrototypeOf(n),i=Object.getPrototypeOf(r),null!==Object.getPrototypeOf(i)&&o(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!=e&&o(20,e)})),this},t.clear=function(){var e=this;tn((function(){it((function(){for(var t,n=D(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,r=function(e){if(A(e)||En(e))return e;if(Array.isArray(e))return new Map(e);if(x(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return o(21,e)}(e),i=new Map,a=!1,s=D(t.data_.keys());!(n=s()).done;){var l=n.value;if(!r.has(l))if(t.delete(l))a=!0;else{var c=t.data_.get(l);i.set(l,c)}}for(var d,u=D(r.entries());!(d=u()).done;){var f=d.value,m=f[0],h=f[1],p=t.data_.has(m);if(t.set(m,h),t.data_.has(m)){var v=t.data_.get(m);i.set(m,v),p||(a=!0)}}if(!a)if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else for(var g=t.data_.keys(),b=i.keys(),y=g.next(),_=b.next();!y.done;){if(y.value!==_.value){t.keysAtom_.reportChanged();break}y=g.next(),_=b.next()}t.data_=i})),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)},L(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),En=S("ObservableMap",An);function Tn(e){return e[Symbol.toStringTag]="MapIterator",lr(e)}var jn={},Pn=function(){function e(e,t,n){var r=this;void 0===t&&(t=J),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[W]=jn,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,b(Set)||o(22),this.enhancer_=function(e,r){return t(e,r,n)},tr((function(){r.atom_=Y(r.name_),e&&r.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=D(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.forEach=function(e,t){for(var n,r=D(this);!(n=r()).done;){var o=n.value;e.call(t,o,o,this)}},t.add=function(e){var t=this;if(this.atom_,on(this)&&!sn(this,{type:kn,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=ln(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:kn,object:this,newValue:e}:null;n&&dn(this,r)}return this},t.delete=function(e){var t=this;if(on(this)&&!sn(this,{type:Sn,object:this,oldValue:e}))return!1;if(this.has(e)){var n=ln(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:Sn,object:this,oldValue:e}:null;return tn((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&dn(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 Rn({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 Rn({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{value:void 0,done:!0}}})},t.intersection=function(e){return E(e)&&!Cn(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return E(e)&&!Cn(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return E(e)&&!Cn(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 E(e)&&!Cn(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return Cn(e)&&(e=new Set(e)),tn((function(){Array.isArray(e)||E(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!=e&&o("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()},L(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),Cn=S("ObservableSet",Pn);function Rn(e){return e[Symbol.toStringTag]="SetIterator",lr(e)}var Nn=Object.create(null),zn="remove",Mn=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=_e),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 F("ObservableObject.keys"),this.isPlainObject_=x(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 Ye)return n.set(t),!0;if(on(this)){var r=sn(this,{type:fn,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==ht.UNCHANGED){var o=ln(this),i=o?{type:fn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),o&&dn(this,i)}return!0},t.get_=function(e){return ht.trackingDerivation&&!C(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),C(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 Ze(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_[H])&&n[e])return;o(1,t.annotationType_,this.name_+"."+e.toString())}for(var r=this.target_;r&&r!==d;){var i=l(r,e);if(i){var a=t.make_(this,e,i,r);if(0===a)return;if(1===a)break}r=Object.getPrototypeOf(r)}Bn(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 o=n.extend_(this,e,t,r);return o&&Bn(this,0,e),o},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{bt();var r=this.delete_(e);if(!r)return r;if(on(this)){var o=sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:t.value});if(!o)return null;var i=o.newValue;t.value!==i&&(t=V({},t,{value:i}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else c(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{yt()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),this.keysAtom_;try{bt();var o=this.delete_(e);if(!o)return o;if(on(this)){var i=sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:t});if(!i)return null;t=i.newValue}var a=Dn(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 c(this.target_,e,s);var l=new Ze(t,n,"ObservableObject.key",!1);this.values_.set(e,l),this.notifyPropertyAddition_(e,l.value_)}finally{yt()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{bt();var r=this.delete_(e);if(!r)return r;if(on(this)&&!sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var o=Dn(e),i={configurable:!ht.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,i))return!1}else c(this.target_,e,i);this.values_.set(e,new Ye(t)),this.notifyPropertyAddition_(e,void 0)}finally{yt()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),this.keysAtom_,!C(this.target_,e))return!0;if(on(this)&&!sn(this,{object:this.proxy_||this.target_,name:e,type:zn}))return null;try{var n;bt();var r,o=ln(this),i=this.values_.get(e),a=void 0;if(!i&&o&&(a=null==(r=l(this.target_,e))?void 0:r.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(i&&(this.values_.delete(e),i instanceof Ze&&(a=i.value_),xt(i)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),o){var s={type:zn,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:a,name:e};o&&dn(this,s)}}finally{yt()}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=ln(this);if(r){var o=r?{type:kn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;r&&dn(this,o)}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),j(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function In(e,t){var n;if(C(e,W))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",o=new Mn(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:xe(e):void 0}(t));return O(e,W,o),e}var Ln=S("ObservableObjectAdministration",Mn);function Dn(e){return Nn[e]||(Nn[e]={get:function(){return this[W].getObservablePropValue_(e)},set:function(t){return this[W].setObservablePropValue_(e,t)}})}function Vn(e){return!!_(e)&&Ln(e[W])}function Bn(e,t,n){var r;null==(r=e.target_[H])||delete r[n]}var $n,Un,Hn=Fn(0),qn=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),Kn=0,Gn=function(){};$n=Gn,Un=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf($n.prototype,Un):void 0!==$n.prototype.__proto__?$n.prototype.__proto__=Un:$n.prototype=Un;var Wn=function(e){function t(t,n,r,o){var i;return void 0===r&&(r="ObservableArray"),void 0===o&&(o=!1),i=e.call(this)||this,tr((function(){var e=new hn(r,n,o,!0);e.proxy_=i,k(i,W,e),t&&t.length&&i.spliceWithArray(0,0,t),qn&&Object.defineProperty(i,"0",Hn)})),i}B(t,e);var n=t.prototype;return n.concat=function(){this[W].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 wn(e)?e.slice():e})))},n[Symbol.iterator]=function(){var e=this,t=0;return lr({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},L(t,[{key:"length",get:function(){return this[W].getArrayLength_()},set:function(e){this[W].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(Gn);function Fn(e){return{enumerable:!1,configurable:!0,get:function(){return this[W].get_(e)},set:function(t){this[W].set_(e,t)}}}function Zn(e){c(Wn.prototype,""+e,Fn(e))}function Yn(e){if(e>Kn){for(var t=Kn;t<e+100;t++)Zn(t);Kn=e}}function Xn(e,t,n){return new Wn(e,t,n)}function Jn(e,t){if("object"==typeof e&&null!==e){if(wn(e))return void 0!==t&&o(23),e[W].atom_;if(Cn(e))return e.atom_;if(En(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||o(25,t,er(e)),n}if(Vn(e)){if(!t)return o(26);var r=e[W].values_.get(t);return r||o(27,t,er(e)),r}if(Z(e)||Qe(e)||Et(e))return e}else if(b(e)&&Et(e[W]))return e[W];o(28)}function Qn(e,t){return e||o(29),void 0!==t?Qn(Jn(e,t)):Z(e)||Qe(e)||Et(e)||En(e)||Cn(e)?e:e[W]?e[W]:void o(24,e)}function er(e,t){var n;if(void 0!==t)n=Jn(e,t);else{if(Lt(e))return e.name;n=Vn(e)||En(e)||Cn(e)?Qn(e):Jn(e)}return n.name_}function tr(e){var t=at(),n=We(!0);bt();try{return e()}finally{yt(),Fe(n),st(t)}}Object.entries(vn).forEach((function(e){var t=e[0],n=e[1];"concat"!==t&&O(Wn.prototype,t,n)})),Yn(1e3);var nr,rr=d.toString;function or(e,t,n){return void 0===n&&(n=-1),ir(e,t,n)}function ir(e,t,n,r,o){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var i=typeof e;if("function"!==i&&"object"!==i&&"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 l=e.constructor,c=t.constructor;if(l!==c&&!(b(l)&&l instanceof l&&b(c)&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),o=o||[];for(var d=(r=r||[]).length;d--;)if(r[d]===e)return o[d]===t;if(r.push(e),o.push(t),s){if((d=e.length)!==t.length)return!1;for(;d--;)if(!ir(e[d],t[d],n-1,r,o))return!1}else{var u,f=Object.keys(e);if(d=f.length,Object.keys(t).length!==d)return!1;for(;d--;)if(!C(t,u=f[d])||!ir(e[u],t[u],n-1,r,o))return!1}return r.pop(),o.pop(),!0}function ar(e){return wn(e)?e.slice():A(e)||En(e)||E(e)||Cn(e)?Array.from(e.entries()):e}var sr=(null==(nr=a().Iterator)?void 0:nr.prototype)||{};function lr(e){return e[Symbol.iterator]=cr,Object.assign(Object.create(sr),e)}function cr(){return this}["Symbol","Map","Set"].forEach((function(e){void 0===a()[e]&&o("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:W});var dr=r(953),ur=r.n(dr);if(!dr.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!function(e,t,n){return tr((function(){var r=In(e,n)[W];null!=t||(t=function(e){return C(e,H)||O(e,H,V({},e[H])),e[H]}(e)),j(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 fr=n(180);function mr(e){e()}function hr(e){e||(e=mr),function(e){!0===e.isolateGlobalState&&function(){if((ht.pendingReactions.length||ht.inBatch||ht.isRunningReactions)&&o(36),mt=!0,ft){var e=a();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),ht=new ut}}();var t,n,r=e.useProxies,i=e.enforceActions;if(void 0!==r&&(ht.useProxies=r===qt||r!==Ht&&"undefined"!=typeof Proxy),"ifavailable"===r&&(ht.verifyProxies=!0),void 0!==i){var s=i===qt?qt:i===Kt;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=kt,kt=function(e){return t((function(){return n(e)}))})}({reactionScheduler:e})}var pr=function(){return!0};function vr(e){return Gt(Jn(e,void 0))}var gr=!1;function br(e){gr=e}function yr(){return gr}var _r,xr,wr=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,o){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(o))})),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}(),Or=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:wr)((function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null})),kr=r(634);function Sr(e){e.reaction=new wt("observer".concat(e.name),(function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)}))}function Ar(e,t){if(void 0===t&&(t="observed"),yr())return e();var n=ur().useRef(null);if(!n.current){var r={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return Or.unregister(r),r.onStoreChange=e,r.reaction||(Sr(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 o,i,a=n.current;if(a.reaction||(Sr(a),Or.register(n,a,a)),ur().useDebugValue(a.reaction,vr),(0,kr.useSyncExternalStore)(a.subscribe,a.getSnapshot,a.getSnapshot),a.reaction.track((function(){try{o=e()}catch(e){i=e}})),i)throw i;return o}var Er="function"==typeof Symbol&&Symbol.for,Tr=null!==(xr=null===(_r=Object.getOwnPropertyDescriptor((function(){}),"name"))||void 0===_r?void 0:_r.configurable)&&void 0!==xr&&xr,jr=Er?Symbol.for("react.forward_ref"):"function"==typeof dr.forwardRef&&(0,dr.forwardRef)((function(e){return null})).$$typeof,Pr=Er?Symbol.for("react.memo"):"function"==typeof dr.memo&&(0,dr.memo)((function(e){return null})).$$typeof;function Cr(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,o=e,i=e.displayName||e.name;if(jr&&e.$$typeof===jr&&(r=!0,"function"!=typeof(o=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var a,s,l=function(e,t){return Ar((function(){return o(e,t)}),i)};return l.displayName=e.displayName,Tr&&Object.defineProperty(l,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(l.contextTypes=e.contextTypes),r&&(l=(0,dr.forwardRef)(l)),l=(0,dr.memo)(l),a=e,s=l,Object.keys(a).forEach((function(e){Nr[e]||Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(a,e))})),l}var Rr,Nr={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function zr(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:Ar(r)}function Mr(e,t){return(0,dr.useState)((function(){return Ie(e(),t,{autoBind:!0})}))[0]}function Ir(e){var t=(0,dr.useState)((function(){return Ie(e,{},{deep:!1})}))[0];return function(e){Ge(0,!1,e,this,void 0)}((function(){Object.assign(t,e)})),t}function Lr(e,t){var n=t&&Ir(t);return(0,dr.useState)((function(){return Ie(e(n),void 0,{autoBind:!0})}))[0]}zr.displayName="Observer",hr(fr.unstable_batchedUpdates);var Dr=null!==(Rr=Or.finalizeAllImmediately)&&void 0!==Rr?Rr:function(){};function Vr(e,t){return void 0===t&&(t="observed"),Ar(e,t)}function Br(e){br(e)}},31:(e,t,n)=>{n.r(t),n.d(t,{default:()=>g});var r=n(478),o=n.n(r),i=n(135),a=n.n(i),s=n(301),l=n.n(s),c=n(222),d=n.n(c),u=n(626),f=n.n(u),m=n(279),h=n.n(m),p=n(178),v={};v.styleTagTransform=h(),v.setAttributes=d(),v.insert=l().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=f(),o()(p.A,v);const g=p.A&&p.A.locals?p.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 i={},a=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],d=i[c]||0,u="".concat(c," ").concat(d);i[c]=d+1;var f=n(u),m={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(m);else{var h=o(m,r);r.byIndex=s,t.splice(s,0,{identifier:u,updater:h,references:1})}a.push(u)}return a}function o(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,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=n(i[a]);t[s].references--}for(var l=r(e,o),c=0;c<i.length;c++){var d=n(i[c]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}i=l}}},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 o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),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),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,d=r[1];return s((function(){o.value=n,o.getSnapshot=t,c(o)&&d({inst:o})}),[e,n,t]),a((function(){return c(o)&&d({inst:o}),e((function(){c(o)&&d({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:d},634:(e,t,n)=>{e.exports=n(319)},159:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=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 o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});const a=i(n(953));n(31),t.default=function(e){const[t,n]=(0,a.useState)(!1),[r,o]=(0,a.useState)(!0),[i,s]=(0,a.useState)(null),[l,c]=(0,a.useState)(null),{currentTask:d,audioRef:u,toggleHold:f,toggleRecording:m,endCall:h,wrapupCall:p,wrapupCodes:v,wrapupRequired:g}=e;return(0,a.useEffect)((()=>{if(!d||!d.data||!d.data.interaction)return;const{interaction:e,mediaResourceId:t}=d.data,{media:r,callProcessingDetails:i}=e,a=r&&r[t]&&r[t].isHold;if(n(a),i){const{isPaused:e}=i;o(!e)}}),[d]),a.default.createElement(a.default.Fragment,null,a.default.createElement("audio",{ref:u,id:"remote-audio",autoPlay:!0}),d&&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"},"Call Control"),a.default.createElement("div",{style:{display:"flex",flexDirection:"column",flexGrow:1}},a.default.createElement("div",{style:{display:"flex",gap:"1rem"}},a.default.createElement("button",{className:"btn",onClick:()=>{f(!t),n(!t)},disabled:g},t?"Resume":"Hold"),a.default.createElement("button",{className:"btn",onClick:()=>{m(r),o(!r)},disabled:g},r?"Pause Recording":"Resume Recording"),a.default.createElement("button",{className:"btn",onClick:h,disabled:g||t},"End")),a.default.createElement("div",{style:{display:"flex",gap:"1rem",marginTop:"1rem"}},a.default.createElement("select",{className:"select",onChange:e=>{const{text:t,value:n}=e.target.options[e.target.selectedIndex];s(t),c(n)},disabled:!g},a.default.createElement("option",{value:""},"Select the wrap-up reason"),v.map((e=>a.default.createElement("option",{key:e.id,value:e.id},e.name)))),a.default.createElement("button",{className:"btn",onClick:()=>{i&&l&&(p(i,l),s(null),c(null))},disabled:!g&&!i},"Wrap Up")))))))}},681: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.CallControl=void 0;const o=r(n(953)),i=n(62),a=r(n(768)),s=n(306),l=r(n(159)),c=(0,i.observer)((({onHoldResume:e,onEnd:t,onWrapUp:n})=>{const{logger:r,currentTask:i,deviceType:c,wrapupCodes:d,wrapupRequired:u}=a.default,f=Object.assign(Object.assign({},(0,s.useCallControl)({currentTask:i,deviceType:c,onHoldResume:e,onEnd:t,onWrapUp:n,logger:r})),{wrapupRequired:u,wrapupCodes:d});return o.default.createElement(l.default,Object.assign({},f))}));t.CallControl=c},869:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(953)),i={box:{backgroundColor:"#ffffff",borderRadius:"8px",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)",padding:"20px",maxWidth:"800px",margin:"0 auto"},sectionBox:{padding:"10px",border:"1px solid #ddd",borderRadius:"8px",marginBottom:"20px"},fieldset:{border:"1px solid #ccc",borderRadius:"5px",padding:"10px",marginBottom:"20px",position:"relative"},legendBox:{fontWeight:"bold",color:"#0052bf"},container:{border:"1px solid #ccc",borderRadius:"8px",padding:"16px",width:"350px",boxShadow:"0px 4px 8px rgba(0, 0, 0, 0.2)",fontFamily:"Arial, sans-serif",backgroundColor:"#ffffff",display:"flex",flexDirection:"column"},topSection:{display:"flex",justifyContent:"space-between",alignItems:"center"},iconWrapper:{display:"inline-block",backgroundColor:"#d4f8e8",borderRadius:"50%",width:"40px",height:"40px",justifyContent:"center",alignItems:"center",marginRight:"10px"},iconSvg:{width:"24px",height:"24px",color:"#146f5c"},callInfo:{margin:0,fontSize:"1.2em",color:"#333"},aniText:{fontSize:"1.1em",fontWeight:"bold",margin:"4px 0",color:"#146f5c"},buttonsWrapper:{display:"flex",flexDirection:"column",alignItems:"flex-end",marginLeft:"16px"},answerButton:{padding:"8px 16px",border:"none",borderRadius:"6px",fontSize:"0.9em",cursor:"pointer",fontWeight:"bold",backgroundColor:"#28a745",color:"#fff",marginBottom:"8px"},declineButton:{padding:"8px 16px",border:"none",borderRadius:"6px",fontSize:"0.9em",cursor:"pointer",fontWeight:"bold",backgroundColor:"#dc3545",color:"#fff"},queueInfo:{fontSize:"0.9em",color:"#666",marginTop:"8px"},timeElapsed:{color:"#28a745",fontWeight:"bold"},callDetails:{marginTop:"16px",fontSize:"0.9em",color:"#333"},detailItem:{margin:"4px 0"},detailLabel:{color:"#555",fontWeight:"bold"}};t.default=e=>{const{incomingTask:t,accept:n,decline:r,isBrowser:a}=e;if(!t)return o.default.createElement(o.default.Fragment,null);const s=t.data.interaction.callAssociatedDetails,{ani:l,dn:c,virtualTeamName:d}=s;return o.default.createElement("div",{style:i.box},o.default.createElement("section",{style:i.sectionBox},o.default.createElement("fieldset",{style:i.fieldset},o.default.createElement("legend",{style:i.legendBox},"Incoming Task"),o.default.createElement("div",{"data-testid":"incoming-task-presentational",style:i.container},o.default.createElement("div",{style:i.topSection},o.default.createElement("div",{style:{display:"flex",alignItems:"center"}},o.default.createElement("span",{style:i.iconWrapper},o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:i.iconSvg},o.default.createElement("path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.86 19.86 0 0 1-8.63-2.73 19.5 19.5 0 0 1-6-6A19.86 19.86 0 0 1 3.08 4.18 2 2 0 0 1 5 2h3a2 2 0 0 1 2 1.72c.2 1.52.71 2.94 1.41 4.24a2 2 0 0 1-.45 2.31L9.91 11a16 16 0 0 0 6 6l1.73-1.05a2 2 0 0 1 2.31-.45 16.11 16.11 0 0 0 4.24 1.41A2 2 0 0 1 22 16.92z"}))),o.default.createElement("div",null,o.default.createElement("h2",{style:i.callInfo},"Incoming Call"),o.default.createElement("p",{"data-testid":"incoming-task-ani",style:i.aniText},l))),a&&o.default.createElement("div",{style:i.buttonsWrapper},o.default.createElement("button",{style:i.answerButton,onClick:n},"Answer"),o.default.createElement("button",{style:i.declineButton,onClick:r},"Decline"))),o.default.createElement("p",{style:i.queueInfo},d," - ",o.default.createElement("span",{style:i.timeElapsed},"")),o.default.createElement("div",{style:i.callDetails},o.default.createElement("p",{style:i.detailItem},o.default.createElement("strong",{style:i.detailLabel},"Phone Number:")," ",l),o.default.createElement("p",{style:i.detailItem},o.default.createElement("strong",{style:i.detailLabel},"DNIS:")," ",c),o.default.createElement("p",{style:i.detailItem},o.default.createElement("strong",{style:i.detailLabel},"Queue Name:")," ",d))))))}},360: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.IncomingTask=void 0;const o=r(n(953)),i=n(62),a=r(n(768)),s=n(306),l=r(n(869)),c=(0,i.observer)((({onAccepted:e,onDeclined:t})=>{const{cc:n,deviceType:r,incomingTask:i,logger:c}=a.default,d=(0,s.useIncomingTask)({cc:n,incomingTask:i,onAccepted:e,onDeclined:t,deviceType:r,logger:c}),u=Object.assign({},d);return o.default.createElement(l.default,Object.assign({},u))}));t.IncomingTask=c},196: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.TaskList=void 0;const o=r(n(953)),i=r(n(768)),a=n(62),s=r(n(859)),l=n(306),c=(0,a.observer)((()=>{const{cc:e,taskList:t,currentTask:n,deviceType:r,logger:a}=i.default,c=(0,l.useTaskList)({cc:e,deviceType:r,logger:a,taskList:t}),d=Object.assign(Object.assign({},c),{currentTask:n});return o.default.createElement(s.default,Object.assign({},d))}));t.TaskList=c},859:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(953)),i={box:{backgroundColor:"#ffffff",borderRadius:"8px",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)",padding:"20px",maxWidth:"800px",margin:"0 auto"},container:{display:"flex",flexDirection:"column",gap:"10px",padding:"20px"},card:{display:"flex",alignItems:"center",justifyContent:"space-between",backgroundColor:"#ffffff",border:"1px solid #ddd",borderRadius:"8px",padding:"10px 15px",boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.1)"},leftSection:{display:"flex",alignItems:"center",gap:"10px"},icon:{backgroundColor:"#bdf5cf",borderRadius:"50%",width:"40px",height:"40px",display:"flex",justifyContent:"center",alignItems:"center"},iconSvg:{width:"24px",height:"24px",color:"#146f5c"},textPrimary:{margin:0,fontSize:"16px",fontWeight:"bold"},textSecondary:{margin:0,fontSize:"14px",color:"#888"},rightSectionText:{margin:0,fontSize:"14px",fontWeight:"bold",color:"#333"},buttonsWrapper:{display:"flex",gap:"10px"},acceptButton:{padding:"8px 16px",border:"none",borderRadius:"6px",fontSize:"0.9em",cursor:"pointer",fontWeight:"bold",backgroundColor:"#28a745",color:"#fff"},rejectButton:{padding:"8px 16px",border:"none",borderRadius:"6px",fontSize:"0.9em",cursor:"pointer",fontWeight:"bold",backgroundColor:"#dc3545",color:"#fff"},fieldset:{border:"1px solid #ccc",borderRadius:"5px",padding:"10px",marginBottom:"20px",position:"relative"},legendBox:{fontWeight:"bold",color:"#0052bf"}};t.default=e=>{if(e.taskList.length<=0)return o.default.createElement(o.default.Fragment,null);const{currentTask:t,taskList:n,acceptTask:r,declineTask:a,isBrowser:s}=e;return o.default.createElement("div",{style:i.box},o.default.createElement("fieldset",{style:i.fieldset},o.default.createElement("legend",{style:i.legendBox},"TaskList"),o.default.createElement("div",{style:i.container},n.map(((e,n)=>{const l=e.data.interaction.callAssociatedDetails,{ani:c,dn:d,virtualTeamName:u}=l;return o.default.createElement("div",{key:n,style:i.card},o.default.createElement("div",{style:i.leftSection},o.default.createElement("div",{style:i.icon},o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",style:i.iconSvg},o.default.createElement("path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.86 19.86 0 0 1-8.63-2.73 19.5 19.5 0 0 1-6-6A19.86 19.86 0 0 1 3.08 4.18 2 2 0 0 1 5 2h3a2 2 0 0 1 2 1.72c.2 1.52.71 2.94 1.41 4.24a2 2 0 0 1-.45 2.31L9.91 11a16 16 0 0 0 6 6l1.73-1.05a2 2 0 0 1 2.31-.45 16.11 16.11 0 0 0 4.24 1.41A2 2 0 0 1 22 16.92z"}))),o.default.createElement("div",null,o.default.createElement("p",{style:i.textPrimary},c),o.default.createElement("p",{style:i.textSecondary},u))),!t&&o.default.createElement("div",null,o.default.createElement("p",{style:i.rightSectionText},d),s&&o.default.createElement("div",{style:i.buttonsWrapper},o.default.createElement("button",{style:i.acceptButton,onClick:()=>r(e)},"Accept"),o.default.createElement("button",{style:i.rejectButton,onClick:()=>a(e)},"Reject"))))})))))}},306: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.useCallControl=t.useIncomingTask=t.useTaskList=void 0;const o=n(953),i=r(n(768)),a=n(88);t.useTaskList=e=>{const{deviceType:t,onTaskAccepted:n,onTaskDeclined:r,logger:o,taskList:i}=e,a=(e,t)=>{o.error(e,{module:"widget-cc-task#helper.ts",method:`useTaskList#${t}`})};return{taskList:i,acceptTask:e=>{const t=null==e?void 0:e.data.interactionId;t&&e.accept(t).then((()=>{n&&n(e)})).catch((e=>{a(`Error accepting task: ${e}`,"acceptTask")}))},declineTask:e=>{const t=null==e?void 0:e.data.interactionId;t&&e.decline(t).then((()=>{r&&r(e)})).catch((e=>{a(`Error declining task: ${e}`,"declineTask")}))},isBrowser:"BROWSER"===t}},t.useIncomingTask=e=>{const{cc:t,onAccepted:n,onDeclined:r,deviceType:o,incomingTask:i,logger:a}=e,s=(e,t)=>{a.error(e,{module:"widget-cc-task#helper.ts",method:`useIncomingTask#${t}`})};return{incomingTask:i,accept:()=>{const e=null==i?void 0:i.data.interactionId;e&&i.accept(e).then((()=>{n&&n()})).catch((e=>{s(`Error accepting incoming task: ${e}`,"accept")}))},decline:()=>{const e=null==i?void 0:i.data.interactionId;e&&i.decline(e).then((()=>{r&&r()})).catch((e=>{s(`Error declining incoming task: ${e}`,"decline")}))},isBrowser:"BROWSER"===o}},t.useCallControl=e=>{const{currentTask:t,onHoldResume:n,onEnd:r,onWrapUp:s,logger:l,deviceType:c}=e,d=(0,o.useRef)(null),u="BROWSER"===c,f=(e,t)=>{l.error(e,{module:"widget-cc-task#helper.ts",method:`useCallControl#${t}`})},m=(0,o.useCallback)((e=>{d.current&&(d.current.srcObject=new MediaStream([e]))}),[d,t]);return(0,o.useEffect)((()=>{if(t&&u)return t.on(a.TASK_EVENTS.TASK_MEDIA,m),()=>{t.off(a.TASK_EVENTS.TASK_MEDIA,m)}}),[t]),{currentTask:t,audioRef:d,endCall:()=>{t.end().then((()=>{r&&r()})).catch((e=>{f(`Error ending call: ${e}`,"endCall")}))},toggleHold:e=>{e?t.hold().then((()=>n&&n())).catch((e=>{f(`Error holding call: ${e}`,"toggleHold")})):t.resume().then((()=>n&&n())).catch((e=>{f(`Error resuming call: ${e}`,"toggleHold")}))},toggleRecording:e=>{e?t.pauseRecording().catch((e=>{f(`Error pausing recording: ${e}`,"toggleRecording")})):t.resumeRecording().catch((e=>{f(`Error resuming recording: ${e}`,"toggleRecording")}))},wrapupCall:(e,n)=>{t.wrapup({wrapUpReason:e,auxCodeId:n}).then((()=>{s&&s(),i.default.handleTaskRemove(t.data.interactionId)})).catch((e=>{f(`Error wrapping up call: ${e}`,"wrapupCall")}))}}}},88:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.TASK_EVENTS=void 0,function(e){e.TASK_INCOMING="task:incoming",e.TASK_ASSIGNED="task:assigned",e.TASK_MEDIA="task:media",e.TASK_HOLD="task:hold",e.TASK_UNHOLD="task:unhold",e.TASK_CONSULT="task:consult",e.TASK_CONSULT_END="task:consultEnd",e.TASK_CONSULT_ACCEPT="task:consultAccepted",e.TASK_PAUSE="task:pause",e.TASK_RESUME="task:resume",e.TASK_END="task:end",e.TASK_WRAPUP="task:wrapup"}(n||(t.TASK_EVENTS=n={}))},768:e=>{e.exports=n(768)},953:e=>{e.exports=n(953)}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={id:e,exports:{}};return t[e].call(i.exports,i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var i={};(()=>{var e=i;Object.defineProperty(e,"__esModule",{value:!0}),e.CallControl=e.TaskList=e.IncomingTask=void 0;const t=o(360);Object.defineProperty(e,"IncomingTask",{enumerable:!0,get:function(){return t.IncomingTask}});const n=o(196);Object.defineProperty(e,"TaskList",{enumerable:!0,get:function(){return n.TaskList}});const r=o(681);Object.defineProperty(e,"CallControl",{enumerable:!0,get:function(){return r.CallControl}})})(),e.exports=i})()},758:(e,t,n)=>{(()=>{var t={62:(e,t,r)=>{"use strict";function o(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)}r.r(t),r.d(t,{Observer:()=>zr,_observerFinalizationRegistry:()=>Or,clearTimers:()=>Dr,enableStaticRendering:()=>br,isObserverBatched:()=>pr,isUsingStaticRendering:()=>yr,observer:()=>Cr,observerBatching:()=>hr,useAsObservableSource:()=>Ir,useLocalObservable:()=>Mr,useLocalStore:()=>Lr,useObserver:()=>Vr,useStaticRendering:()=>Br});var i={};function a(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:i}var s=Object.assign,l=Object.getOwnPropertyDescriptor,c=Object.defineProperty,d=Object.prototype,u=[];Object.freeze(u);var f={};Object.freeze(f);var m="undefined"!=typeof Proxy,h=Object.toString();function p(){m||o("Proxy not available")}function v(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var g=function(){};function b(e){return"function"==typeof e}function y(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function _(e){return null!==e&&"object"==typeof e}function x(e){if(!_(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 w(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function O(e,t,n){c(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function k(e,t,n){c(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function S(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return _(e)&&!0===e[n]}}function A(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function E(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var T=void 0!==Object.getOwnPropertySymbols,j="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:T?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function P(e){return null===e?null:"object"==typeof e?""+e:e}function C(e,t){return d.hasOwnProperty.call(e,t)}var R=Object.getOwnPropertyDescriptors||function(e){var t={};return j(e).forEach((function(n){t[n]=l(e,n)})),t};function N(e,t){return!!(e&t)}function z(e,t,n){return n?e|=t:e&=~t,e}function M(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 I(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,U(r.key),r)}}function L(e,t,n){return t&&I(e.prototype,t),n&&I(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function D(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 M(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)?M(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 V(){return V=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},V.apply(null,arguments)}function B(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$(e,t)}function $(e,t){return $=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$(e,t)}function U(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 H=Symbol("mobx-stored-annotations");function q(e){return Object.assign((function(t,n){if(G(n))return e.decorate_20223_(t,n);K(t,n,e)}),e)}function K(e,t,n){C(e,H)||O(e,H,V({},e[H])),function(e){return e.annotationType_===ee}(n)||(e[H][t]=n)}function G(e){return"object"==typeof e&&"string"==typeof e.kind}var W=Symbol("mobx administration"),F=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_=Xe.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 _t(this)},t.reportChanged=function(){bt(),xt(this),yt()},t.toString=function(){return this.name_},L(e,[{key:"isBeingObserved",get:function(){return N(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=z(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return N(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=z(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return N(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=z(this.flags_,e.diffValueMask_,1===t)}}])}();F.isBeingObservedMask_=1,F.isPendingUnobservationMask_=2,F.diffValueMask_=4;var Z=S("Atom",F);function Y(e,t,n){void 0===t&&(t=g),void 0===n&&(n=g);var r=new F(e);return t!==g&&Ut(Vt,r,t,void 0),n!==g&&$t(r,n),r}var X={identity:function(e,t){return e===t},structural:function(e,t){return or(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 or(e,t,1)}};function J(e,t,n){return en(e)?e:Array.isArray(e)?Ie.array(e,{name:n}):x(e)?Ie.object(e,void 0,{name:n}):A(e)?Ie.map(e,{name:n}):E(e)?Ie.set(e,{name:n}):"function"!=typeof e||Lt(e)||Qt(e)?e:w(e)?Xt(e):It(n,e)}function Q(e){return e}var ee="override";function te(e,t){return{annotationType_:e,options_:t,make_:ne,extend_:re,decorate_20223_:oe}}function ne(e,t,n,r){var o;if(null!=(o=this.options_)&&o.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(Lt(n.value))return 1;var i=ie(e,this,t,n,!1);return c(r,t,i),2}function re(e,t,n,r){var o=ie(e,this,t,n);return e.defineProperty_(t,o,r)}function oe(e,t){var n,r=t.kind,i=t.name,a=t.addInitializer,s=this,l=function(e){var t,n,r,o;return Ke(null!=(t=null==(n=s.options_)?void 0:n.name)?t:i.toString(),e,null!=(r=null==(o=s.options_)?void 0:o.autoAction)&&r)};return"field"==r?function(e){var t,n=e;return Lt(n)||(n=l(n)),null!=(t=s.options_)&&t.bound&&((n=n.bind(this)).isMobxAction=!0),n}:"method"==r?(Lt(e)||(e=l(e)),null!=(n=this.options_)&&n.bound&&a((function(){var e=this,t=e[i].bind(e);t.isMobxAction=!0,e[i]=t})),e):void o("Cannot apply '"+s.annotationType_+"' to '"+String(i)+"' (kind: "+r+"):\n'"+s.annotationType_+"' can only be used on properties with a function value.")}function ie(e,t,n,r,o){var i,a,s,l,c,d,u,f;void 0===o&&(o=ht.safeDescriptors),f=r,t.annotationType_,f.value;var m,h=r.value;return null!=(i=t.options_)&&i.bound&&(h=h.bind(null!=(m=e.proxy_)?m:e.target_)),{value:Ke(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),h,null!=(l=null==(c=t.options_)?void 0:c.autoAction)&&l,null!=(d=t.options_)&&d.bound?null!=(u=e.proxy_)?u:e.target_:void 0),configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function ae(e,t){return{annotationType_:e,options_:t,make_:se,extend_:le,decorate_20223_:ce}}function se(e,t,n,r){var o;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(o=this.options_)&&o.bound&&(!C(e.target_,t)||!Qt(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(Qt(n.value))return 1;var i=de(e,this,0,n,!1,!1);return c(r,t,i),2}function le(e,t,n,r){var o,i=de(e,this,0,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,i,r)}function ce(e,t){var n,r=t.name,o=t.addInitializer;return Qt(e)||(e=Xt(e)),null!=(n=this.options_)&&n.bound&&o((function(){var e=this,t=e[r].bind(e);t.isMobXFlow=!0,e[r]=t})),e}function de(e,t,n,r,o,i){var a;void 0===i&&(i=ht.safeDescriptors),a=r,t.annotationType_,a.value;var s,l=r.value;return Qt(l)||(l=Xt(l)),o&&((l=l.bind(null!=(s=e.proxy_)?s:e.target_)).isMobXFlow=!0),{value:l,configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function ue(e,t){return{annotationType_:e,options_:t,make_:fe,extend_:me,decorate_20223_:he}}function fe(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function me(e,t,n,r){return o=n,this.annotationType_,o.get,e.defineComputedProperty_(t,V({},this.options_,{get:n.get,set:n.set}),r);var o}function he(e,t){var n=this,r=t.name;return(0,t.addInitializer)((function(){var t=In(this)[W],o=V({},n.options_,{get:e,context:this});o.name||(o.name="ObservableObject."+r.toString()),t.values_.set(r,new Ye(o))})),function(){return this[W].getObservablePropValue_(r)}}function pe(e,t){return{annotationType_:e,options_:t,make_:ve,extend_:ge,decorate_20223_:be}}function ve(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function ge(e,t,n,r){var o,i;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(o=null==(i=this.options_)?void 0:i.enhancer)?o:J,r)}function be(e,t){var n=this,r=t.kind,o=t.name,i=new WeakSet;function a(e,t){var r,a,s=In(e)[W],l=new Ze(t,null!=(r=null==(a=n.options_)?void 0:a.enhancer)?r:J,"ObservableObject."+o.toString(),!1);s.values_.set(o,l),i.add(e)}if("accessor"==r)return{get:function(){return i.has(this)||a(this,e.get.call(this)),this[W].getObservablePropValue_(o)},set:function(e){return i.has(this)||a(this,e),this[W].setObservablePropValue_(o,e)},init:function(e){return i.has(this)||a(this,e),e}}}var ye="true",_e=xe();function xe(e){return{annotationType_:ye,options_:e,make_:we,extend_:Oe,decorate_20223_:ke}}function we(e,t,n,r){var o,i,a,s;if(n.get)return Be.make_(e,t,n,r);if(n.set){var l=Ke(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!ht.safeDescriptors||e.isPlainObject_,set:l})?0:2:(c(r,t,{configurable:!0,set:l}),2)}if(r!==e.target_&&"function"==typeof n.value)return w(n.value)?(null!=(s=this.options_)&&s.autoBind?Xt.bound:Xt).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?It.bound:It).make_(e,t,n,r);var d,u=!1===(null==(o=this.options_)?void 0:o.deep)?Ie.ref:Ie;return"function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(d=e.proxy_)?d:e.target_)),u.make_(e,t,n,r)}function Oe(e,t,n,r){var o,i,a;return n.get?Be.extend_(e,t,n,r):n.set?e.defineProperty_(t,{configurable:!ht.safeDescriptors||e.isPlainObject_,set:Ke(t.toString(),n.set)},r):("function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),(!1===(null==(i=this.options_)?void 0:i.deep)?Ie.ref:Ie).extend_(e,t,n,r))}function ke(e,t){o("'"+this.annotationType_+"' cannot be used as a decorator")}var Se={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function Ae(e){return e||Se}Object.freeze(Se);var Ee=pe("observable"),Te=pe("observable.ref",{enhancer:Q}),je=pe("observable.shallow",{enhancer:function(e,t,n){return null==e||Vn(e)||wn(e)||En(e)||Cn(e)?e:Array.isArray(e)?Ie.array(e,{name:n,deep:!1}):x(e)?Ie.object(e,void 0,{name:n,deep:!1}):A(e)?Ie.map(e,{name:n,deep:!1}):E(e)?Ie.set(e,{name:n,deep:!1}):void 0}}),Pe=pe("observable.struct",{enhancer:function(e,t){return or(e,t)?t:e}}),Ce=q(Ee);function Re(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 Ne(e,t,n){return G(t)?Ee.decorate_20223_(e,t):y(t)?void K(e,t,Ee):en(e)?e:x(e)?Ie.object(e,t,n):Array.isArray(e)?Ie.array(e,t):A(e)?Ie.map(e,t):E(e)?Ie.set(e,t):"object"==typeof e&&null!==e?e:Ie.box(e,t)}s(Ne,Ce);var ze,Me,Ie=s(Ne,{box:function(e,t){var n=Ae(t);return new Ze(e,Re(n),n.name,!0,n.equals)},array:function(e,t){var n=Ae(t);return(!1===ht.useProxies||!1===n.proxy?Xn:pn)(e,Re(n),n.name)},map:function(e,t){var n=Ae(t);return new An(e,Re(n),n.name)},set:function(e,t){var n=Ae(t);return new Pn(e,Re(n),n.name)},object:function(e,t,n){return tr((function(){return function(e,t,n){var r=R(t);return tr((function(){var t=In(e,void 0)[W];j(r).forEach((function(e){t.extend_(e,r[e],!n||!(e in n)||n[e])}))})),e}(!1===ht.useProxies||!1===(null==n?void 0:n.proxy)?In({},n):function(e,t){var n,r;return p(),null!=(r=(n=(e=In(e,t))[W]).proxy_)?r:n.proxy_=new Proxy(e,rn)}({},n),e,t)}))},ref:q(Te),shallow:q(je),deep:Ce,struct:q(Pe)}),Le="computed",De=ue(Le),Ve=ue("computed.struct",{equals:X.structural}),Be=function(e,t){if(G(t))return De.decorate_20223_(e,t);if(y(t))return K(e,t,De);if(x(e))return q(ue(Le,e));var n=x(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new Ye(n)};Object.assign(Be,De),Be.struct=q(Ve);var $e=0,Ue=1,He=null!=(ze=null==(Me=l((function(){}),"name"))?void 0:Me.configurable)&&ze,qe={value:"action",configurable:!0,writable:!1,enumerable:!1};function Ke(e,t,n,r){function o(){return Ge(0,n,t,r||this,arguments)}return void 0===n&&(n=!1),o.isMobxAction=!0,o.toString=function(){return t.toString()},He&&(qe.value=e,c(o,"name",qe)),o}function Ge(e,t,n,r,i){var a=function(e,t){var n=ht.trackingDerivation,r=!t||!n;bt();var o=ht.allowStateChanges;r&&(at(),o=We(!0));var i={runAsAction_:r,prevDerivation_:n,prevAllowStateChanges_:o,prevAllowStateReads_:lt(!0),notifySpy_:!1,startTime_:0,actionId_:Ue++,parentActionId_:$e};return $e=i.actionId_,i}(0,t);try{return n.apply(r,i)}catch(e){throw a.error_=e,e}finally{!function(e){$e!==e.actionId_&&o(30),$e=e.parentActionId_,void 0!==e.error_&&(ht.suppressReactionErrors=!0),Fe(e.prevAllowStateChanges_),ct(e.prevAllowStateReads_),yt(),e.runAsAction_&&st(e.prevDerivation_),ht.suppressReactionErrors=!1}(a)}}function We(e){var t=ht.allowStateChanges;return ht.allowStateChanges=e,t}function Fe(e){ht.allowStateChanges=e}var Ze=function(e){function t(t,n,r,o,i){var a;return void 0===r&&(r="ObservableValue"),void 0===o&&(o=!0),void 0===i&&(i=X.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=i,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:fn,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(),ln(this)&&dn(this,{type:fn,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:fn,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 P(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(F),Ye=function(){function e(e){this.dependenciesState_=Xe.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Xe.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new et(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||o(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=Ke("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?X.structural:X.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_===Xe.UP_TO_DATE_&&(e.lowestObserverState_=Xe.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Xe.UP_TO_DATE_&&(e.dependenciesState_=Xe.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&&o(32,this.name_,this.derivation),0!==ht.inBatch||0!==this.observers_.size||this.keepAlive_){if(_t(this),nt(this)){var e=ht.trackingContext;this.keepAlive_&&!e&&(ht.trackingContext=this),this.trackAndCompute()&&function(e){e.lowestObserverState_!==Xe.STALE_&&(e.lowestObserverState_=Xe.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===Xe.POSSIBLY_STALE_?t.dependenciesState_=Xe.STALE_:t.dependenciesState_===Xe.UP_TO_DATE_&&(e.lowestObserverState_=Xe.UP_TO_DATE_)})))}(this),ht.trackingContext=e}}else nt(this)&&(this.warnAboutUntrackedRead_(),bt(),this.value_=this.computeValue_(!1),yt());var t=this.value_;if(tt(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&o(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else o(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===Xe.NOT_TRACKING_,n=this.computeValue_(!0),r=t||tt(e)||tt(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing=!0;var t,n=We(!1);if(e)t=rt(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 et(e)}return Fe(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(ot(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,o=void 0;return function(e,t){var n,r,o,i;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 l=function(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Dt}(t),c=!1;a=new wt(s,(function(){c||(c=!0,l((function(){c=!1,a.isDisposed||a.track(d)})))}),t.onError,t.requiresObservable)}else a=new wt(s,(function(){this.track(d)}),t.onError,t.requiresObservable);function d(){e()}return null!=(o=t)&&null!=(o=o.signal)&&o.aborted||a.schedule_(),a.getDisposer_(null==(i=t)?void 0:i.signal)}((function(){var i=n.get();if(!r||t){var a=at();e({observableKind:"computed",debugObjectName:n.name_,type:fn,object:n,newValue:i,oldValue:o}),st(a)}r=!1,o=i}))},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return P(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},L(e,[{key:"isComputing",get:function(){return N(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=z(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return N(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=z(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return N(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=z(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return N(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=z(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return N(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=z(this.flags_,e.diffValueMask_,1===t)}}])}();Ye.isComputingMask_=1,Ye.isRunningSetterMask_=2,Ye.isBeingObservedMask_=4,Ye.isPendingUnobservationMask_=8,Ye.diffValueMask_=16;var Xe,Je,Qe=S("ComputedValue",Ye);!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_"}(Xe||(Xe={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Je||(Je={}));var et=function(e){this.cause=void 0,this.cause=e};function tt(e){return e instanceof et}function nt(e){switch(e.dependenciesState_){case Xe.UP_TO_DATE_:return!1;case Xe.NOT_TRACKING_:case Xe.STALE_:return!0;case Xe.POSSIBLY_STALE_:for(var t=lt(!0),n=at(),r=e.observing_,o=r.length,i=0;i<o;i++){var a=r[i];if(Qe(a)){if(ht.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return st(n),ct(t),!0}if(e.dependenciesState_===Xe.STALE_)return st(n),ct(t),!0}}return dt(e),st(n),ct(t),!1}}function rt(e,t,n){var r=lt(!0);dt(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++ht.runId;var o,i=ht.trackingDerivation;if(ht.trackingDerivation=e,ht.inBatch++,!0===ht.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(e){o=new et(e)}return ht.inBatch--,ht.trackingDerivation=i,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=Xe.UP_TO_DATE_,o=0,i=e.unboundDepsCount_,a=0;a<i;a++){var s=n[a];0===s.diffValue&&(s.diffValue=1,o!==a&&(n[o]=s),o++),s.dependenciesState_>r&&(r=s.dependenciesState_)}for(n.length=o,e.newObserving_=null,i=t.length;i--;){var l=t[i];0===l.diffValue&&vt(l,e),l.diffValue=0}for(;o--;){var c=n[o];1===c.diffValue&&(c.diffValue=0,pt(c,e))}r!==Xe.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),ct(r),o}function ot(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)vt(t[n],e);e.dependenciesState_=Xe.NOT_TRACKING_}function it(e){var t=at();try{return e()}finally{st(t)}}function at(){var e=ht.trackingDerivation;return ht.trackingDerivation=null,e}function st(e){ht.trackingDerivation=e}function lt(e){var t=ht.allowStateReads;return ht.allowStateReads=e,t}function ct(e){ht.allowStateReads=e}function dt(e){if(e.dependenciesState_!==Xe.UP_TO_DATE_){e.dependenciesState_=Xe.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=Xe.UP_TO_DATE_}}var ut=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,mt=!1,ht=function(){var e=a();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(ft=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new ut).version&&(ft=!1),ft?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new ut):(setTimeout((function(){mt||o(35)}),1),new ut)}();function pt(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function vt(e,t){e.observers_.delete(t),0===e.observers_.size&&gt(e)}function gt(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,ht.pendingUnobservations.push(e))}function bt(){ht.inBatch++}function yt(){if(0==--ht.inBatch){St();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 Ye&&n.suspend_())}ht.pendingUnobservations=[]}}function _t(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&&gt(e),!1)}function xt(e){e.lowestObserverState_!==Xe.STALE_&&(e.lowestObserverState_=Xe.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Xe.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=Xe.STALE_})))}var wt=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_=Xe.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),St())},t.runReaction_=function(){if(!this.isDisposed){bt(),this.isScheduled=!1;var e=ht.trackingContext;if(ht.trackingContext=this,nt(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}ht.trackingContext=e,yt()}},t.track=function(e){if(!this.isDisposed){bt(),this.isRunning=!0;var t=ht.trackingContext;ht.trackingContext=this;var n=rt(this,e,void 0);ht.trackingContext=t,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&ot(this),tt(n)&&this.reportExceptionInDerivation_(n.cause),yt()}},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||(bt(),ot(this),yt()))},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[W]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},L(e,[{key:"isDisposed",get:function(){return N(this.flags_,e.isDisposedMask_)},set:function(t){this.flags_=z(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return N(this.flags_,e.isScheduledMask_)},set:function(t){this.flags_=z(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return N(this.flags_,e.isTrackPendingMask_)},set:function(t){this.flags_=z(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return N(this.flags_,e.isRunningMask_)},set:function(t){this.flags_=z(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return N(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=z(this.flags_,e.diffValueMask_,1===t)}}])}();wt.isDisposedMask_=1,wt.isScheduledMask_=2,wt.isTrackPendingMask_=4,wt.isRunningMask_=8,wt.diffValueMask_=16;var Ot=100,kt=function(e){return e()};function St(){ht.inBatch>0||ht.isRunningReactions||kt(At)}function At(){ht.isRunningReactions=!0;for(var e=ht.pendingReactions,t=0;e.length>0;){++t===Ot&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;r<o;r++)n[r].runReaction_()}ht.isRunningReactions=!1}var Et=S("Reaction",wt),Tt="action",jt="autoAction",Pt=te(Tt),Ct=te("action.bound",{bound:!0}),Rt=te(jt,{autoAction:!0}),Nt=te("autoAction.bound",{autoAction:!0,bound:!0});function zt(e){return function(t,n){return b(t)?Ke(t.name||"<unnamed action>",t,e):b(n)?Ke(t,n,e):G(n)?(e?Rt:Pt).decorate_20223_(t,n):y(n)?K(t,n,e?Rt:Pt):y(t)?q(te(e?jt:Tt,{name:t,autoAction:e})):void 0}}var Mt=zt(!1);Object.assign(Mt,Pt);var It=zt(!0);function Lt(e){return b(e)&&!0===e.isMobxAction}Object.assign(It,Rt),Mt.bound=q(Ct),It.bound=q(Nt);var Dt=function(e){return e()},Vt="onBO",Bt="onBUO";function $t(e,t,n){return Ut(Bt,e,t,n)}function Ut(e,t,n,r){var o="function"==typeof r?Jn(t,n):Jn(t),i=b(r)?r:n,a=e+"L";return o[a]?o[a].add(i):o[a]=new Set([i]),function(){var e=o[a];e&&(e.delete(i),0===e.size&&delete o[a])}}var Ht="never",qt="always",Kt="observed";function Gt(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(Gt)),n}var Wt=0;function Ft(){this.message="FLOW_CANCELLED"}Ft.prototype=Object.create(Error.prototype);var Zt=ae("flow"),Yt=ae("flow.bound",{bound:!0}),Xt=Object.assign((function(e,t){if(G(t))return Zt.decorate_20223_(e,t);if(y(t))return K(e,t,Zt);var n=e,r=n.name||"<unnamed flow>",o=function(){var e,t=arguments,o=++Wt,i=Mt(r+" - runid: "+o+" - init",n).apply(this,t),a=void 0,s=new Promise((function(t,n){var s=0;function l(e){var t;a=void 0;try{t=Mt(r+" - runid: "+o+" - yield "+s++,i.next).call(i,e)}catch(e){return n(e)}d(t)}function c(e){var t;a=void 0;try{t=Mt(r+" - runid: "+o+" - yield "+s++,i.throw).call(i,e)}catch(e){return n(e)}d(t)}function d(e){if(!b(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(l,c);e.then(d,n)}e=n,l(void 0)}));return s.cancel=Mt(r+" - runid: "+o+" - cancel",(function(){try{a&&Jt(a);var t=i.return(void 0),n=Promise.resolve(t.value);n.then(g,g),Jt(n),e(new Ft)}catch(t){e(t)}})),s};return o.isMobXFlow=!0,o}),Zt);function Jt(e){b(e.cancel)&&e.cancel()}function Qt(e){return!0===(null==e?void 0:e.isMobXFlow)}function en(e){return function(e){return!!e&&(Vn(e)||!!e[W]||Z(e)||Et(e)||Qe(e))}(e)}function tn(e,t){void 0===t&&(t=void 0),bt();try{return e.apply(t)}finally{yt()}}function nn(e){return e[W]}Xt.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!!y(t)&&(null==(r=nn(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!y(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){o(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),v((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function sn(e,t){var n=at();try{for(var r=[].concat(e.interceptors_||[]),i=0,a=r.length;i<a&&((t=r[i](t))&&!t.type&&o(14),t);i++);return t}finally{st(n)}}function ln(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function cn(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),v((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function dn(e,t){var n=at(),r=e.changeListeners_;if(r){for(var o=0,i=(r=r.slice()).length;o<i;o++)r[o](t);st(n)}}var un="splice",fn="update",mn={get:function(e,t){var n=e[W];return t===W?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?C(vn,t)?vn[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[W];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){o(15)}},hn=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 F(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)&&o("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;r<e-t;r++)n[r]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&o(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&Yn(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var o=this.values_.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:null==t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=u),on(this)){var i=sn(this,{object:this.proxy_,type:un,index:e,removedCount:t,added:n});if(!i)return u;t=i.removedCount,n=i.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_(o,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 o=this.values_.slice(e,e+t),i=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<i.length;s++)this.values_[e+n.length+s]=i[s];return o},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,o=ln(this),i=o||r?{observableKind:"array",object:this.proxy_,type:fn,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),o&&dn(this,i)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,o=ln(this),i=o||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:un,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),o&&dn(this,i)},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&&o(17,e,n.length),e<n.length){this.atom_;var r=n[e];if(on(this)){var i=sn(this,{type:fn,object:this.proxy_,index:e,newValue:t});if(!i)return;t=i.newValue}(t=this.enhancer_(t,r))!==r&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,r))}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 pn(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),p(),tr((function(){var o=new hn(n,t,r,!1);k(o.values_,W,o);var i=new Proxy(o.values_,mn);return o.proxy_=i,e&&e.length&&o.spliceWithArray_(0,0,e),i}))}var vn={clear:function(){return this.splice(0)},replace:function(e){var t=this[W];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),o=2;o<n;o++)r[o-2]=arguments[o];var i=this[W];switch(arguments.length){case 0:return[];case 1:return i.spliceWithArray_(e);case 2:return i.spliceWithArray_(e,t)}return i.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[W].spliceWithArray_(e,t,n)},push:function(){for(var e=this[W],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[W].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[W],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&&o(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){ht.trackingDerivation&&o(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[W],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function gn(e,t){"function"==typeof Array.prototype[e]&&(vn[e]=t(e))}function bn(e){return function(){var t=this[W];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,o=this[W];return o.atom_.reportObserved(),o.dehanceValues_(o.values_)[e]((function(e,o){return t.call(n,e,o,r)}))}}function _n(e){return function(){var t=this,n=this[W];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),o=arguments[0];return arguments[0]=function(e,n,r){return o(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",_n),gn("reduceRight",_n);var xn=S("ObservableArrayAdministration",hn);function wn(e){return _(e)&&xn(e[W])}var On={},kn="add",Sn="delete",An=function(){function e(e,t,n){var r=this;void 0===t&&(t=J),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[W]=On,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,b(Map)||o(18),tr((function(){r.keysAtom_=Y("ObservableMap.keys()"),r.data_=new Map,r.hasMap_=new Map,e&&r.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 Ze(this.has_(e),Q,"ObservableMap.key?",!1);this.hasMap_.set(e,r),$t(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?fn:kn,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:Sn,object:this,name:e}))return!1;if(this.has_(e)){var n=ln(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:Sn,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&&dn(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=ln(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:fn,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&dn(this,o)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,tn((function(){var r,o=new Ze(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,o),t=o.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()}));var r=ln(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:kn,object:this,name:e,newValue:t}:null;r&&dn(this,o)},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 Tn({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:e.get(o)}}})},t.entries=function(){var e=this,t=this.keys();return Tn({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:[o,e.get(o)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=D(this);!(n=r()).done;){var o=n.value,i=o[0],a=o[1];e.call(t,a,i,this)}},t.merge=function(e){var t=this;return En(e)&&(e=new Map(e)),tn((function(){var n,r,i;x(e)?function(e){var t=Object.keys(e);if(!T)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return d.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,r=Object.getPrototypeOf(n),i=Object.getPrototypeOf(r),null!==Object.getPrototypeOf(i)&&o(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!=e&&o(20,e)})),this},t.clear=function(){var e=this;tn((function(){it((function(){for(var t,n=D(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,r=function(e){if(A(e)||En(e))return e;if(Array.isArray(e))return new Map(e);if(x(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return o(21,e)}(e),i=new Map,a=!1,s=D(t.data_.keys());!(n=s()).done;){var l=n.value;if(!r.has(l))if(t.delete(l))a=!0;else{var c=t.data_.get(l);i.set(l,c)}}for(var d,u=D(r.entries());!(d=u()).done;){var f=d.value,m=f[0],h=f[1],p=t.data_.has(m);if(t.set(m,h),t.data_.has(m)){var v=t.data_.get(m);i.set(m,v),p||(a=!0)}}if(!a)if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else for(var g=t.data_.keys(),b=i.keys(),y=g.next(),_=b.next();!y.done;){if(y.value!==_.value){t.keysAtom_.reportChanged();break}y=g.next(),_=b.next()}t.data_=i})),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)},L(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),En=S("ObservableMap",An);function Tn(e){return e[Symbol.toStringTag]="MapIterator",lr(e)}var jn={},Pn=function(){function e(e,t,n){var r=this;void 0===t&&(t=J),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[W]=jn,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,b(Set)||o(22),this.enhancer_=function(e,r){return t(e,r,n)},tr((function(){r.atom_=Y(r.name_),e&&r.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=D(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.forEach=function(e,t){for(var n,r=D(this);!(n=r()).done;){var o=n.value;e.call(t,o,o,this)}},t.add=function(e){var t=this;if(this.atom_,on(this)&&!sn(this,{type:kn,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=ln(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:kn,object:this,newValue:e}:null;n&&dn(this,r)}return this},t.delete=function(e){var t=this;if(on(this)&&!sn(this,{type:Sn,object:this,oldValue:e}))return!1;if(this.has(e)){var n=ln(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:Sn,object:this,oldValue:e}:null;return tn((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&dn(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 Rn({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 Rn({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{value:void 0,done:!0}}})},t.intersection=function(e){return E(e)&&!Cn(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return E(e)&&!Cn(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return E(e)&&!Cn(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 E(e)&&!Cn(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return Cn(e)&&(e=new Set(e)),tn((function(){Array.isArray(e)||E(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!=e&&o("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()},L(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),Cn=S("ObservableSet",Pn);function Rn(e){return e[Symbol.toStringTag]="SetIterator",lr(e)}var Nn=Object.create(null),zn="remove",Mn=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=_e),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 F("ObservableObject.keys"),this.isPlainObject_=x(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 Ye)return n.set(t),!0;if(on(this)){var r=sn(this,{type:fn,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==ht.UNCHANGED){var o=ln(this),i=o?{type:fn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),o&&dn(this,i)}return!0},t.get_=function(e){return ht.trackingDerivation&&!C(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),C(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 Ze(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_[H])&&n[e])return;o(1,t.annotationType_,this.name_+"."+e.toString())}for(var r=this.target_;r&&r!==d;){var i=l(r,e);if(i){var a=t.make_(this,e,i,r);if(0===a)return;if(1===a)break}r=Object.getPrototypeOf(r)}Bn(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 o=n.extend_(this,e,t,r);return o&&Bn(this,0,e),o},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{bt();var r=this.delete_(e);if(!r)return r;if(on(this)){var o=sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:t.value});if(!o)return null;var i=o.newValue;t.value!==i&&(t=V({},t,{value:i}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else c(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{yt()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),this.keysAtom_;try{bt();var o=this.delete_(e);if(!o)return o;if(on(this)){var i=sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:t});if(!i)return null;t=i.newValue}var a=Dn(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 c(this.target_,e,s);var l=new Ze(t,n,"ObservableObject.key",!1);this.values_.set(e,l),this.notifyPropertyAddition_(e,l.value_)}finally{yt()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{bt();var r=this.delete_(e);if(!r)return r;if(on(this)&&!sn(this,{object:this.proxy_||this.target_,name:e,type:kn,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var o=Dn(e),i={configurable:!ht.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,i))return!1}else c(this.target_,e,i);this.values_.set(e,new Ye(t)),this.notifyPropertyAddition_(e,void 0)}finally{yt()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),this.keysAtom_,!C(this.target_,e))return!0;if(on(this)&&!sn(this,{object:this.proxy_||this.target_,name:e,type:zn}))return null;try{var n;bt();var r,o=ln(this),i=this.values_.get(e),a=void 0;if(!i&&o&&(a=null==(r=l(this.target_,e))?void 0:r.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(i&&(this.values_.delete(e),i instanceof Ze&&(a=i.value_),xt(i)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),o){var s={type:zn,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:a,name:e};o&&dn(this,s)}}finally{yt()}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=ln(this);if(r){var o=r?{type:kn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;r&&dn(this,o)}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),j(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function In(e,t){var n;if(C(e,W))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",o=new Mn(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:xe(e):void 0}(t));return O(e,W,o),e}var Ln=S("ObservableObjectAdministration",Mn);function Dn(e){return Nn[e]||(Nn[e]={get:function(){return this[W].getObservablePropValue_(e)},set:function(t){return this[W].setObservablePropValue_(e,t)}})}function Vn(e){return!!_(e)&&Ln(e[W])}function Bn(e,t,n){var r;null==(r=e.target_[H])||delete r[n]}var $n,Un,Hn=Fn(0),qn=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),Kn=0,Gn=function(){};$n=Gn,Un=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf($n.prototype,Un):void 0!==$n.prototype.__proto__?$n.prototype.__proto__=Un:$n.prototype=Un;var Wn=function(e){function t(t,n,r,o){var i;return void 0===r&&(r="ObservableArray"),void 0===o&&(o=!1),i=e.call(this)||this,tr((function(){var e=new hn(r,n,o,!0);e.proxy_=i,k(i,W,e),t&&t.length&&i.spliceWithArray(0,0,t),qn&&Object.defineProperty(i,"0",Hn)})),i}B(t,e);var n=t.prototype;return n.concat=function(){this[W].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 wn(e)?e.slice():e})))},n[Symbol.iterator]=function(){var e=this,t=0;return lr({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},L(t,[{key:"length",get:function(){return this[W].getArrayLength_()},set:function(e){this[W].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(Gn);function Fn(e){return{enumerable:!1,configurable:!0,get:function(){return this[W].get_(e)},set:function(t){this[W].set_(e,t)}}}function Zn(e){c(Wn.prototype,""+e,Fn(e))}function Yn(e){if(e>Kn){for(var t=Kn;t<e+100;t++)Zn(t);Kn=e}}function Xn(e,t,n){return new Wn(e,t,n)}function Jn(e,t){if("object"==typeof e&&null!==e){if(wn(e))return void 0!==t&&o(23),e[W].atom_;if(Cn(e))return e.atom_;if(En(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||o(25,t,er(e)),n}if(Vn(e)){if(!t)return o(26);var r=e[W].values_.get(t);return r||o(27,t,er(e)),r}if(Z(e)||Qe(e)||Et(e))return e}else if(b(e)&&Et(e[W]))return e[W];o(28)}function Qn(e,t){return e||o(29),void 0!==t?Qn(Jn(e,t)):Z(e)||Qe(e)||Et(e)||En(e)||Cn(e)?e:e[W]?e[W]:void o(24,e)}function er(e,t){var n;if(void 0!==t)n=Jn(e,t);else{if(Lt(e))return e.name;n=Vn(e)||En(e)||Cn(e)?Qn(e):Jn(e)}return n.name_}function tr(e){var t=at(),n=We(!0);bt();try{return e()}finally{yt(),Fe(n),st(t)}}Object.entries(vn).forEach((function(e){var t=e[0],n=e[1];"concat"!==t&&O(Wn.prototype,t,n)})),Yn(1e3);var nr,rr=d.toString;function or(e,t,n){return void 0===n&&(n=-1),ir(e,t,n)}function ir(e,t,n,r,o){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var i=typeof e;if("function"!==i&&"object"!==i&&"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 l=e.constructor,c=t.constructor;if(l!==c&&!(b(l)&&l instanceof l&&b(c)&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),o=o||[];for(var d=(r=r||[]).length;d--;)if(r[d]===e)return o[d]===t;if(r.push(e),o.push(t),s){if((d=e.length)!==t.length)return!1;for(;d--;)if(!ir(e[d],t[d],n-1,r,o))return!1}else{var u,f=Object.keys(e);if(d=f.length,Object.keys(t).length!==d)return!1;for(;d--;)if(!C(t,u=f[d])||!ir(e[u],t[u],n-1,r,o))return!1}return r.pop(),o.pop(),!0}function ar(e){return wn(e)?e.slice():A(e)||En(e)||E(e)||Cn(e)?Array.from(e.entries()):e}var sr=(null==(nr=a().Iterator)?void 0:nr.prototype)||{};function lr(e){return e[Symbol.iterator]=cr,Object.assign(Object.create(sr),e)}function cr(){return this}["Symbol","Map","Set"].forEach((function(e){void 0===a()[e]&&o("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:W});var dr=r(953),ur=r.n(dr);if(!dr.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!function(e,t,n){return tr((function(){var r=In(e,n)[W];null!=t||(t=function(e){return C(e,H)||O(e,H,V({},e[H])),e[H]}(e)),j(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 fr=n(180);function mr(e){e()}function hr(e){e||(e=mr),function(e){!0===e.isolateGlobalState&&function(){if((ht.pendingReactions.length||ht.inBatch||ht.isRunningReactions)&&o(36),mt=!0,ft){var e=a();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),ht=new ut}}();var t,n,r=e.useProxies,i=e.enforceActions;if(void 0!==r&&(ht.useProxies=r===qt||r!==Ht&&"undefined"!=typeof Proxy),"ifavailable"===r&&(ht.verifyProxies=!0),void 0!==i){var s=i===qt?qt:i===Kt;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=kt,kt=function(e){return t((function(){return n(e)}))})}({reactionScheduler:e})}var pr=function(){return!0};function vr(e){return Gt(Jn(e,void 0))}var gr=!1;function br(e){gr=e}function yr(){return gr}var _r,xr,wr=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,o){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(o))})),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}(),Or=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:wr)((function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null})),kr=r(634);function Sr(e){e.reaction=new wt("observer".concat(e.name),(function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)}))}function Ar(e,t){if(void 0===t&&(t="observed"),yr())return e();var n=ur().useRef(null);if(!n.current){var r={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return Or.unregister(r),r.onStoreChange=e,r.reaction||(Sr(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 o,i,a=n.current;if(a.reaction||(Sr(a),Or.register(n,a,a)),ur().useDebugValue(a.reaction,vr),(0,kr.useSyncExternalStore)(a.subscribe,a.getSnapshot,a.getSnapshot),a.reaction.track((function(){try{o=e()}catch(e){i=e}})),i)throw i;return o}var Er="function"==typeof Symbol&&Symbol.for,Tr=null!==(xr=null===(_r=Object.getOwnPropertyDescriptor((function(){}),"name"))||void 0===_r?void 0:_r.configurable)&&void 0!==xr&&xr,jr=Er?Symbol.for("react.forward_ref"):"function"==typeof dr.forwardRef&&(0,dr.forwardRef)((function(e){return null})).$$typeof,Pr=Er?Symbol.for("react.memo"):"function"==typeof dr.memo&&(0,dr.memo)((function(e){return null})).$$typeof;function Cr(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,o=e,i=e.displayName||e.name;if(jr&&e.$$typeof===jr&&(r=!0,"function"!=typeof(o=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var a,s,l=function(e,t){return Ar((function(){return o(e,t)}),i)};return l.displayName=e.displayName,Tr&&Object.defineProperty(l,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(l.contextTypes=e.contextTypes),r&&(l=(0,dr.forwardRef)(l)),l=(0,dr.memo)(l),a=e,s=l,Object.keys(a).forEach((function(e){Nr[e]||Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(a,e))})),l}var Rr,Nr={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function zr(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:Ar(r)}function Mr(e,t){return(0,dr.useState)((function(){return Ie(e(),t,{autoBind:!0})}))[0]}function Ir(e){var t=(0,dr.useState)((function(){return Ie(e,{},{deep:!1})}))[0];return function(e){Ge(0,!1,e,this,void 0)}((function(){Object.assign(t,e)})),t}function Lr(e,t){var n=t&&Ir(t);return(0,dr.useState)((function(){return Ie(e(n),void 0,{autoBind:!0})}))[0]}zr.displayName="Observer",hr(fr.unstable_batchedUpdates);var Dr=null!==(Rr=Or.finalizeAllImmediately)&&void 0!==Rr?Rr:function(){};function Vr(e,t){return void 0===t&&(t="observed"),Ar(e,t)}function Br(e){br(e)}},319:(e,t,n)=>{"use strict";var r=n(953),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,d=r[1];return s((function(){o.value=n,o.getSnapshot=t,c(o)&&d({inst:o})}),[e,n,t]),a((function(){return c(o)&&d({inst:o}),e((function(){c(o)&&d({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:d},634:(e,t,n)=>{"use strict";e.exports=n(319)},436:(e,t,n)=>{(()=>{"use strict";var t={393:(e,t,n)=>{n.d(t,{Ck:()=>a,IW:()=>d,Sv:()=>s,eg:()=>l,qT:()=>c,vS:()=>i,zY:()=>u});var r=n(974),o=n(125);const i=r.A.constructTagName("button"),a={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},s={40:40,32:32,28:28,24:24},l={64:64,52:52,20:20,...s},c={POSITIVE:"positive",NEGATIVE:"negative",ACCENT:"accent",PROMOTIONAL:"promotional",DEFAULT:"default"},d={PILL:"pill",ICON:"icon",PILL_WITH_ICON:"pill-with-icon"},u={VARIANT:a.PRIMARY,SIZE:s[32],COLOR:c.DEFAULT,TYPE_INTERNAL:d.ICON,TYPE:o.II.BUTTON}},92:(e,t,n)=>{n.d(t,{default:()=>m});var r=n(918),o=n(477);const i=[r.AH`
3
3
  :host {
4
4
  background-color: transparent;
5
5
  border-radius: 1.25rem;
@@ -1389,4 +1389,4 @@
1389
1389
  outline: 0.125rem solid var(--mds-color-theme-focus-default-0);
1390
1390
  }
1391
1391
  }
1392
- `]}},974:(e,t,n)=>{n.d(t,{A:()=>o});const r={NAMESPACE:{PREFIX:"mdc",SEPARATOR:"-"}},o={constructTagName:e=>[r.NAMESPACE.PREFIX,e].join(r.NAMESPACE.SEPARATOR)}},489:(e,t,n)=>{n.d(t,{A:()=>f});var r=n(63),o=n.n(r),i=n(248),a=n.n(i),s=n(243),l=n.n(s),c=new URL(n(28),n.b),d=a()(o()),u=l()(c);d.push([e.id,`@font-face {\n font-family: "Momentum";\n src: url(${u}) format("woff2");\n font-style: normal;\n font-display: swap;\n /* Required for Safari support */\n font-weight: 1 1000; \n}`,""]);const f=d},245:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(63),o=n.n(r),i=n(248),a=n.n(i)()(o());a.push([e.id,".mds-theme-stable-darkWebex {\n --mds-color-theme-text-primary-normal: #fffffff2;\n --mds-color-theme-text-primary-disabled: #ffffff66;\n --mds-color-theme-text-secondary-normal: #ffffffb3;\n --mds-color-theme-text-error-normal: #fc8b98;\n --mds-color-theme-text-error-hover: #ffd4da;\n --mds-color-theme-text-error-active: #ffd4da;\n --mds-color-theme-text-success-normal: #3cc29a;\n --mds-color-theme-text-success-hover: #9fedd8;\n --mds-color-theme-text-success-active: #9fedd8;\n --mds-color-theme-text-warning-normal: #f2990a;\n --mds-color-theme-text-warning-hover: #ffda94;\n --mds-color-theme-text-warning-active: #ffda94;\n --mds-color-theme-text-highlight: #063a75;\n --mds-color-theme-text-accent-normal: #64b4fa;\n --mds-color-theme-text-accent-hover: #bfe3ff;\n --mds-color-theme-text-accent-active: #bfe3ff;\n --mds-color-theme-text-teamdefault-normal: #ffffffb3;\n --mds-color-theme-text-teamdefault-hover: #ffffffb3;\n --mds-color-theme-text-teamdefault-active: #fffffff2;\n --mds-color-theme-text-alert-purple-normal: #f294f1;\n --mds-color-theme-text-alert-purple-hover: #fce1fc;\n --mds-color-theme-text-alert-purple-active: #fce1fc;\n --mds-color-theme-text-alert-orange-normal: #fd884e;\n --mds-color-theme-text-alert-orange-hover: #fed5ac;\n --mds-color-theme-text-alert-orange-active: #fed5ac;\n --mds-color-theme-text-team-cobalt-normal: #5ebff7;\n --mds-color-theme-text-team-cobalt-hover: #5ebff7;\n --mds-color-theme-text-team-cobalt-active: #c7eeff;\n --mds-color-theme-text-team-cyan-normal: #22c7d6;\n --mds-color-theme-text-team-cyan-hover: #22c7d6;\n --mds-color-theme-text-team-cyan-active: #b2f4f7;\n --mds-color-theme-text-team-mint-normal: #30c9b0;\n --mds-color-theme-text-team-mint-hover: #baf5e7;\n --mds-color-theme-text-team-mint-active: #baf5e7;\n --mds-color-theme-text-team-lime-normal: #93c437;\n --mds-color-theme-text-team-lime-hover: #93c437;\n --mds-color-theme-text-team-lime-active: #ddf2ae;\n --mds-color-theme-text-team-gold-normal: #d6b220;\n --mds-color-theme-text-team-gold-hover: #d6b220;\n --mds-color-theme-text-team-gold-active: #f5eaa2;\n --mds-color-theme-text-team-orange-normal: #fd884e;\n --mds-color-theme-text-team-orange-hover: #fd884e;\n --mds-color-theme-text-team-orange-active: #fed5ac;\n --mds-color-theme-text-team-pink-normal: #fc97aa;\n --mds-color-theme-text-team-pink-hover: #fc97aa;\n --mds-color-theme-text-team-pink-active: #ffe0e7;\n --mds-color-theme-text-team-purple-normal: #f294f1;\n --mds-color-theme-text-team-purple-hover: #f294f1;\n --mds-color-theme-text-team-purple-active: #fce1fc;\n --mds-color-theme-text-team-violet-normal: #c7a5fa;\n --mds-color-theme-text-team-violet-hover: #c7a5fa;\n --mds-color-theme-text-team-violet-active: #f0e3fc;\n --mds-color-theme-text-team-slate-normal: #b0b4d9;\n --mds-color-theme-text-team-slate-hover: #b0b4d9;\n --mds-color-theme-text-team-slate-active: #e3e7fa;\n --mds-color-theme-inverted-text-primary-normal: #000000f2;\n --mds-color-theme-inverted-text-primary-disabled: #00000066;\n --mds-color-theme-inverted-text-secondary-normal: #000000b3;\n --mds-color-theme-inverted-text-accent-normal: #0353a8;\n --mds-color-theme-inverted-text-accent-hover: #0a274a;\n --mds-color-theme-inverted-text-accent-active: #0a274a;\n --mds-color-theme-inverted-background-normal: #ffffff;\n --mds-color-theme-inverted-button-primary-normal: #000000f2;\n --mds-color-theme-inverted-button-primary-hover: #000000cc;\n --mds-color-theme-inverted-button-primary-pressed: #000000b3;\n --mds-color-theme-inverted-button-primary-disabled: #00000033;\n --mds-color-theme-inverted-button-secondary-normal: #00000000;\n --mds-color-theme-inverted-button-secondary-hover: #00000012;\n --mds-color-theme-inverted-button-secondary-pressed: #00000033;\n --mds-color-theme-inverted-button-secondary-disabled: #00000000;\n --mds-color-theme-inverted-outline-button-normal: #00000080;\n --mds-color-theme-inverted-outline-primary-normal: #00000075;\n --mds-color-theme-inverted-outline-disabled-normal: #00000033;\n --mds-color-theme-inverted-outline-theme-normal: #1170cf;\n --mds-color-theme-inverted-control-active-normal: #1170cf;\n --mds-color-theme-inverted-control-active-hover: #0353a8;\n --mds-color-theme-inverted-control-active-pressed: #063a75;\n --mds-color-theme-inverted-control-active-active: #063a75;\n --mds-color-theme-inverted-control-active-disabled: #00000033;\n --mds-color-theme-inverted-control-inactive-normal: #8f8f8f;\n --mds-color-theme-inverted-control-inactive-hover: #0000004d;\n --mds-color-theme-inverted-control-inactive-pressed: #00000066;\n --mds-color-theme-inverted-control-inactive-disabled: #00000033;\n --mds-color-theme-background-primary-ghost: #ffffff00;\n --mds-color-theme-background-primary-hover: #ffffff12;\n --mds-color-theme-background-primary-active: #ffffff1c;\n --mds-color-theme-background-primary-disabled: #ffffff00;\n --mds-color-theme-background-solid-primary-normal: #000000;\n --mds-color-theme-background-solid-secondary-normal: #1a1a1a;\n --mds-color-theme-background-solid-tertiary-normal: #262626;\n --mds-color-theme-background-solid-quaternary-normal: #3b3b3b;\n --mds-color-theme-background-secondary-normal: #ffffff1c;\n --mds-color-theme-background-secondary-hover: #ffffff33;\n --mds-color-theme-background-secondary-active: #ffffff33;\n --mds-color-theme-background-secondary-disabled: #ffffff00;\n --mds-color-theme-background-accent-normal: #1170cf;\n --mds-color-theme-background-accent-active: #64b4fa;\n --mds-color-theme-background-alert-default-normal: #3b3b3b;\n --mds-color-theme-background-alert-default-hover: #3b3b3b;\n --mds-color-theme-background-alert-default-active: #545454;\n --mds-color-theme-background-alert-success-normal: #0e2b20;\n --mds-color-theme-background-alert-success-hover: #0e2b20;\n --mds-color-theme-background-alert-success-active: #134231;\n --mds-color-theme-background-alert-warning-normal: #36220c;\n --mds-color-theme-background-alert-warning-hover: #36220c;\n --mds-color-theme-background-alert-warning-active: #57330a;\n --mds-color-theme-background-alert-error-normal: #4f0e10;\n --mds-color-theme-background-alert-error-hover: #4f0e10;\n --mds-color-theme-background-alert-error-active: #780d13;\n --mds-color-theme-background-alert-theme-normal: #0a274a;\n --mds-color-theme-background-alert-theme-hover: #0a274a;\n --mds-color-theme-background-alert-theme-active: #063a75;\n --mds-color-theme-background-alert-purple-normal: #3b1840;\n --mds-color-theme-background-alert-purple-hover: #3b1840;\n --mds-color-theme-background-alert-purple-active: #601e66;\n --mds-color-theme-background-alert-orange-normal: #411b04;\n --mds-color-theme-background-alert-orange-hover: #411b04;\n --mds-color-theme-background-alert-orange-active: #682601;\n --mds-color-theme-background-label-cobalt-normal: #12283d;\n --mds-color-theme-background-label-cobalt-hover: #103c63;\n --mds-color-theme-background-label-cobalt-active: #08599c;\n --mds-color-theme-background-label-gold-normal: #30240d;\n --mds-color-theme-background-label-gold-hover: #4d370c;\n --mds-color-theme-background-label-gold-active: #735107;\n --mds-color-theme-background-label-lime-normal: #1e2b10;\n --mds-color-theme-background-label-lime-hover: #2d4214;\n --mds-color-theme-background-label-lime-active: #416116;\n --mds-color-theme-background-label-mint-normal: #102b2a;\n --mds-color-theme-background-label-mint-hover: #12423f;\n --mds-color-theme-background-label-mint-active: #12615a;\n --mds-color-theme-background-label-orange-normal: #411b04;\n --mds-color-theme-background-label-orange-hover: #682601;\n --mds-color-theme-background-label-orange-active: #9c3202;\n --mds-color-theme-background-label-pink-normal: #3b1e21;\n --mds-color-theme-background-label-pink-hover: #66262d;\n --mds-color-theme-background-label-pink-active: #a12a3a;\n --mds-color-theme-background-label-purple-normal: #3b1840;\n --mds-color-theme-background-label-purple-hover: #601e66;\n --mds-color-theme-background-label-purple-active: #932099;\n --mds-color-theme-background-label-slate-normal: #26262b;\n --mds-color-theme-background-label-slate-hover: #393a47;\n --mds-color-theme-background-label-slate-active: #535573;\n --mds-color-theme-background-label-violet-normal: #29223d;\n --mds-color-theme-background-label-violet-hover: #432c78;\n --mds-color-theme-background-label-violet-active: #643abd;\n --mds-color-theme-background-label-default-normal: #262626;\n --mds-color-theme-background-label-default-hover: #3b3b3b;\n --mds-color-theme-background-label-default-active: #545454;\n --mds-color-theme-background-label-error-normal: #4f0e10;\n --mds-color-theme-background-label-error-hover: #780d13;\n --mds-color-theme-background-label-error-active: #ab0a15;\n --mds-color-theme-background-namelabel-normal: #00000099;\n --mds-color-theme-background-gradient-primary-normal: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);\n --mds-color-theme-background-gradient-secondary-normal: linear-gradient(180deg, #262626 0%, #0f0f0f 100%);\n --mds-color-theme-background-reaction-normal: linear-gradient(90deg, #1a1a1ae6 0%, #1a1a1a00 100%);\n --mds-color-theme-background-skeleton-normal: linear-gradient(123deg, #ffffff33 0%, #ffffff4d 33.85%, #ffffff66 70.31%, #ffffff80 100%);\n --mds-color-theme-background-glass-normal: #00000066;\n --mds-color-theme-background-glass-overlay-normal: #000000cc;\n --mds-color-theme-background-glass-overlay-inactive: #00000066;\n --mds-color-theme-button-primary-normal: #fffffff2;\n --mds-color-theme-button-primary-hover: #ffffffcc;\n --mds-color-theme-button-primary-pressed: #ffffffb3;\n --mds-color-theme-button-primary-disabled: #ffffff33;\n --mds-color-theme-button-secondary-normal: #ffffff00;\n --mds-color-theme-button-secondary-hover: #ffffff12;\n --mds-color-theme-button-secondary-pressed: #ffffff33;\n --mds-color-theme-button-secondary-disabled: #ffffff00;\n --mds-color-theme-button-secondary-active-normal: #ffffff33;\n --mds-color-theme-button-secondary-active-hover: #ffffff4d;\n --mds-color-theme-button-secondary-active-pressed: #ffffff66;\n --mds-color-theme-button-secondary-active-disabled: #ffffff1c;\n --mds-color-theme-button-join-normal: #1d805f;\n --mds-color-theme-button-join-hover: #185e46;\n --mds-color-theme-button-join-pressed: #134231;\n --mds-color-theme-button-cancel-normal: #db1f2e;\n --mds-color-theme-button-cancel-hover: #ab0a15;\n --mds-color-theme-button-cancel-pressed: #780d13;\n --mds-color-theme-button-accent-normal: #1170cf;\n --mds-color-theme-button-accent-hover: #0353a8;\n --mds-color-theme-button-accent-pressed: #063a75;\n --mds-color-theme-button-glass-primary-normal: #ffffffcc;\n --mds-color-theme-button-glass-primary-hover: #ffffffb3;\n --mds-color-theme-button-glass-primary-pressed: #ffffff99;\n --mds-color-theme-outline-primary-normal: #ffffff66;\n --mds-color-theme-outline-primary-disabled: #ffffff33;\n --mds-color-theme-outline-theme-normal: #64b4fa;\n --mds-color-theme-outline-secondary-normal: #ffffff33;\n --mds-color-theme-outline-input-normal: #ffffff80;\n --mds-color-theme-outline-input-active: #ffffffe6;\n --mds-color-theme-outline-button-normal: #ffffff80;\n --mds-color-theme-outline-join-normal: #3cc29a;\n --mds-color-theme-outline-cancel-normal: #fc8b98;\n --mds-color-theme-outline-share-selected: #27a17a;\n --mds-color-theme-outline-share-active: #ec6400;\n --mds-color-theme-outline-share-inactive: #8f8f8f;\n --mds-color-theme-outline-overlay-normal: #adadad;\n --mds-color-theme-outline-high-contrast-focus: #ffffff;\n --mds-color-theme-outline-label-cobalt: #5ebff7;\n --mds-color-theme-outline-label-gold: #d6b220;\n --mds-color-theme-outline-label-lime: #93c437;\n --mds-color-theme-outline-label-mint: #30c9b0;\n --mds-color-theme-outline-label-orange: #fd884e;\n --mds-color-theme-outline-label-pink: #fc97aa;\n --mds-color-theme-outline-label-purple: #f294f1;\n --mds-color-theme-outline-label-slate: #b0b4d9;\n --mds-color-theme-outline-label-violet: #c7a5fa;\n --mds-color-theme-outline-promotion-normal: #c233c4;\n --mds-color-theme-outline-gradient-active: linear-gradient(44deg, #3492eb 14.64%, #22c7d6 51.1%, #68debd 85.36%);\n --mds-color-theme-outline-warning-normal: #f2990a;\n --mds-color-theme-control-active-normal: #64b4fa;\n --mds-color-theme-control-active-hover: #3492eb;\n --mds-color-theme-control-active-pressed: #1170cf;\n --mds-color-theme-control-active-active: #1170cf;\n --mds-color-theme-control-active-disabled: #ffffff33;\n --mds-color-theme-control-indicator-inactive-normal: #8f8f8f;\n --mds-color-theme-control-inactive-normal: #ffffff1c;\n --mds-color-theme-control-inactive-hover: #ffffff33;\n --mds-color-theme-control-inactive-pressed: #ffffff4d;\n --mds-color-theme-control-inactive-disabled: #ffffff12;\n --mds-color-theme-overlay-meetings-normal: #000000b3;\n --mds-color-theme-overlay-button-secondary-normal: #0f0f0f;\n --mds-color-theme-overlay-button-secondary-hover: #262626;\n --mds-color-theme-overlay-button-secondary-pressed: #3b3b3b;\n --mds-color-theme-indicator-unstable: #ec6400;\n --mds-color-theme-indicator-attention: #f55868;\n --mds-color-theme-indicator-stable: #27a17a;\n --mds-color-theme-indicator-locked: #8f8f8f;\n --mds-color-theme-indicator-caution: #cf7900;\n --mds-color-theme-indicator-secure: #3492eb;\n --mds-color-theme-common-whiteboard-sticky-note-yellow: #ffbe4f;\n --mds-color-theme-common-whiteboard-sticky-note-red: #fc8b98;\n --mds-color-theme-common-whiteboard-sticky-note-purple: #f294f1;\n --mds-color-theme-common-whiteboard-sticky-note-cyan: #22c7d6;\n --mds-color-theme-common-whiteboard-sticky-note-mint: #30c9b0;\n --mds-color-theme-common-whiteboard-pen-black: #0f0f0f;\n --mds-color-theme-common-whiteboard-pen-red: #f55868;\n --mds-color-theme-common-whiteboard-pen-purple: #c233c4;\n --mds-color-theme-common-whiteboard-pen-blue: #64b4fa;\n --mds-color-theme-common-whiteboard-pen-green: #3cc29a;\n --mds-color-theme-common-whiteboard-pen-yellow: #f2990a;\n --mds-color-theme-common-whiteboard-pen-white: #ffffff;\n --mds-color-theme-common-text-primary-normal: #fffffff2;\n --mds-color-theme-common-text-primary-disabled: #ffffff66;\n --mds-color-theme-common-text-secondary-normal: #ffffffb3;\n --mds-color-theme-common-text-success-normal: #3cc29a;\n --mds-color-theme-common-text-success-hover: #9fedd8;\n --mds-color-theme-common-text-error-normal: #fc8b98;\n --mds-color-theme-common-text-error-hover: #ffd4da;\n --mds-color-theme-common-text-warning-normal: #f2990a;\n --mds-color-theme-common-text-warning-hover: #ffda94;\n --mds-color-theme-common-inverted-text-secondary-normal: #00000099;\n --mds-color-theme-common-inverted-text-primary-normal: #000000f2;\n --mds-color-theme-common-inverted-button-secondary-normal: #00000000;\n --mds-color-theme-common-inverted-button-secondary-hover: #00000012;\n --mds-color-theme-common-inverted-button-secondary-pressed: #00000033;\n --mds-color-theme-common-inverted-button-secondary-disabled: #00000000;\n --mds-color-theme-common-overlays-primary-normal: #000000e6;\n --mds-color-theme-common-overlays-secondary-normal: #00000066;\n --mds-color-theme-common-overlays-meeting-normal-0: #00000000;\n --mds-color-theme-common-overlays-meeting-normal-1: #0000004d;\n --mds-color-theme-common-overlays-meeting-normal-2: #000000cc;\n --mds-color-theme-common-button-primary-normal: #fffffff2;\n --mds-color-theme-common-button-primary-hover: #ffffffcc;\n --mds-color-theme-common-button-primary-pressed: #ffffffb3;\n --mds-color-theme-common-button-primary-disabled: #ffffff33;\n --mds-color-theme-common-button-secondary-normal: #ffffff00;\n --mds-color-theme-common-button-secondary-hover: #ffffff12;\n --mds-color-theme-common-button-secondary-active-normal: #ffffff33;\n --mds-color-theme-common-button-secondary-active-hover: #ffffff4d;\n --mds-color-theme-common-button-secondary-active-pressed: #ffffff66;\n --mds-color-theme-common-button-secondary-active-disabled: #ffffff1c;\n --mds-color-theme-common-button-secondary-disabled: #ffffff00;\n --mds-color-theme-common-button-join-animated-gradient-normal: linear-gradient(90deg, #30c9b0 0%, #64b4fa 51%, #30c9b0 100%);\n --mds-color-theme-common-button-promotion-normal: linear-gradient(45deg, #932099 0%, #a12a3a 100%);\n --mds-color-theme-common-button-promotion-hover: linear-gradient(45deg, #601e66 0%, #66262d 100%);\n --mds-color-theme-common-button-promotion-active: linear-gradient(45deg, #3b1840 0%, #3b1e21 100%);\n --mds-color-theme-common-outline-button-normal: #ffffff4d;\n --mds-color-theme-common-outline-primary-normal: #ffffff66;\n --mds-color-theme-common-outline-primary-disabled: #ffffff33;\n --mds-color-theme-common-outline-input-normal: #ffffff80;\n --mds-color-theme-common-outline-secondary-normal: #00000033;\n --mds-color-theme-common-outline-secondary-disabled: #00000033;\n --mds-color-theme-common-outline-warning-normal: #f2990a;\n --mds-color-theme-common-control-share-content-selected: #3cc29a;\n --mds-color-theme-common-control-share-content-active: #c94403;\n --mds-color-theme-common-control-share-content-inactive: #707070;\n --mds-color-theme-common-control-inactive-normal: #00000033;\n --mds-color-theme-common-background-alert-share-normal: #c94403;\n --mds-color-theme-common-background-solid-dark: #1a1a1a;\n --mds-color-theme-common-background-solid-light: #ffffff;\n --mds-color-theme-common-content-pdf: #ee0507;\n --mds-color-theme-common-content-word: #0078d6;\n --mds-color-theme-common-content-powerpoint: #d93e17;\n --mds-color-theme-common-content-excel: #00893e;\n --mds-color-theme-common-content-onenote: #b839db;\n --mds-color-theme-common-content-sheets: #f4b400;\n --mds-color-theme-common-content-slides: #0f9d58;\n --mds-color-theme-common-content-keynote: #029cfb;\n --mds-color-theme-common-content-doc: #4285f4;\n --mds-color-theme-common-touchbar-background-blue-normal: #1170cf;\n --mds-color-theme-common-touchbar-background-blue-pressed: #063a75;\n --mds-color-theme-common-touchbar-background-pink-normal: #d43b52;\n --mds-color-theme-common-touchbar-background-pink-pressed: #66262d;\n --mds-color-theme-common-touchbar-background-mint-normal: #148579;\n --mds-color-theme-common-touchbar-background-mint-pressed: #12423f;\n --mds-color-theme-common-touchbar-background-purple-normal: #c233c4;\n --mds-color-theme-common-touchbar-background-purple-pressed: #601e66;\n --mds-color-theme-common-touchbar-background-violet-normal: #875ae0;\n --mds-color-theme-common-touchbar-background-violet-pressed: #432c78;\n --mds-color-theme-common-touchbar-background-orange-normal: #c94403;\n --mds-color-theme-common-touchbar-background-orange-pressed: #682601;\n --mds-color-theme-common-touchbar-background-green-normal: #1d805f;\n --mds-color-theme-common-touchbar-background-green-pressed: #134231;\n --mds-color-theme-common-touchbar-background-red-normal: #db1f2e;\n --mds-color-theme-common-touchbar-background-red-pressed: #780d13;\n --mds-color-theme-common-touchbar-background-transparent: #00000000;\n --mds-color-theme-common-touchbar-icon-attention: #fc8b98;\n --mds-color-theme-common-touchbar-icon-stable: #27a17a;\n --mds-color-theme-common-touchbar-icon-secure: #64b4fa;\n --mds-color-theme-scrollbar-button-normal: #ffffff66;\n --mds-color-theme-scrollbar-button-hover: #ffffff80;\n --mds-color-theme-scrollbar-button-pressed: #ffffff99;\n --mds-color-theme-scrollbar-arrow-normal: #ffffffb3;\n --mds-color-theme-scrollbar-arrow-background-normal: #ffffff00;\n --mds-color-theme-scrollbar-arrow-background-hover: #ffffff33;\n --mds-color-theme-scrollbar-arrow-background-pressed: #ffffff4d;\n --mds-color-theme-scrollbar-background-secondary-ghost: #ffffff00;\n --mds-color-theme-scrollbar-background-secondary-normal: #ffffff1c;\n --mds-color-theme-illustrations-empty-primary-0: #93c437;\n --mds-color-theme-illustrations-empty-primary-1: #279be8;\n --mds-color-theme-illustrations-empty-secondary-0: #279be8;\n --mds-color-theme-illustrations-empty-secondary-1: #875ae0;\n --mds-color-theme-illustrations-onboarding-primary-0: #ffbe4f;\n --mds-color-theme-illustrations-onboarding-primary-1: #93c437;\n --mds-color-theme-illustrations-onboarding-secondary-0: #f55868;\n --mds-color-theme-illustrations-onboarding-secondary-1: #875ae0;\n --mds-color-theme-illustrations-onboarding-tertiary-0: #ffbe4f;\n --mds-color-theme-illustrations-onboarding-tertiary-1: #ec6400;\n --mds-color-theme-illustrations-onboarding-quartenary-0: #93c437;\n --mds-color-theme-illustrations-onboarding-quartenary-1: #279be8;\n --mds-color-theme-illustrations-onboarding-quinary-0: #279be8;\n --mds-color-theme-illustrations-onboarding-quinary-1: #875ae0;\n --mds-color-theme-illustrations-success-0: #3cc29a;\n --mds-color-theme-illustrations-success-1: #93c437;\n --mds-color-theme-illustrations-error-0: #f0677e;\n --mds-color-theme-illustrations-error-1: #db1f2e;\n --mds-color-theme-illustrations-default: #ffffff;\n --mds-color-theme-globaltint-normal: #3492eb;\n --mds-color-theme-globaltint-selected: #1170cf;\n --mds-color-theme-groupedbackground-primary-normal: #000000;\n --mds-color-theme-groupedbackground-secondary-normal: #1a1a1a;\n --mds-color-theme-groupedbackground-tertiary-normal: #262626;\n --mds-color-theme-groupedbackground-quaternary-normal: #3b3b3b;\n --mds-color-theme-gradientdivider-default-normal: linear-gradient(90deg, #ffffff00 0%, #ffffff33 22.4%, #ffffff33 72.4%, #ffffff00 100%);\n --mds-color-theme-gradientdivider-default-hover: linear-gradient(90deg, #ffffff00 0%, #ffffff99 22.4%, #ffffff99 72.4%, #ffffff00 100%);\n --mds-color-theme-gradientdivider-error-normal: linear-gradient(90deg, #fc8b9800 0%, #fc8b9899 22.4%, #fc8b9899 76.04%, #fc8b9800 100%);\n --mds-color-theme-gradientdivider-error-hover: linear-gradient(90deg, #fc8b9800 0%, #fc8b98e6 22.4%, #fc8b98e6 76.04%, #fc8b9800 100%);\n --mds-color-theme-gradientdivider-warning-normal: linear-gradient(90deg, #f2990a00 0%, #f2990a99 22.4%, #f2990a99 76.04%, #f2990a00 100%);\n --mds-color-theme-gradientdivider-warning-hover: linear-gradient(90deg, #f2990a00 0%, #f2990ae6 22.4%, #f2990ae6 76.04%, #f2990a00 100%);\n --mds-color-theme-gradientdivider-announce-normal: linear-gradient(90deg, #64b4fa00 0%, #64b4fa99 22.4%, #64b4fa99 76.04%, #64b4fa00 100%);\n --mds-color-theme-gradientdivider-announce-hover: linear-gradient(90deg, #64b4fa00 0%,#64b4faE6 22.4%, #64b4faE6 76.04%, #64b4fa00 100%);\n --mds-color-theme-gradientdivider-success-normal: linear-gradient(90deg, #3cc29a00 0%, #3cc29a99 22.4%, #3cc29a99 76.04%, #3cc29a00 100%);\n --mds-color-theme-gradientdivider-success-hover: linear-gradient(90deg, #3cc29a00 0%,#3cc29aE6 22.4%, #3cc29aE6 76.04%, #3cc29a00 100%);\n --mds-color-theme-gradientdivider-orange-normal: linear-gradient(90deg, #fd884e00 0%, #fd884e99 22.4%, #fd884e99 76.04%, #fd884e00 100%);\n --mds-color-theme-gradientdivider-orange-hover: linear-gradient(90deg, #fd884e00 0%,#fd884eE6 22.4%, #fd884eE6 76.04%, #fd884e00 100%);\n --mds-color-theme-gradientdivider-purple-normal: linear-gradient(90deg, #f294f100 0%, #f294f199 22.4%, #f294f199 76.04%, #f294f100 100%);\n --mds-color-theme-gradientdivider-purple-hover: linear-gradient(90deg, #f294f100 0%, #f294f1E6 22.4%, #f294f1E6 76.04%, #f294f100 100%);\n --mds-color-theme-gradientdivider-vertical-normal: linear-gradient(0deg, #ffffff00 0%, #ffffff33 22.4%, #ffffff33 72.4%, #ffffff00 100%);\n --mds-color-theme-gradientdivider-vertical-hover: linear-gradient(0deg, #ffffff00 0%, #ffffff99 22.4%, #ffffff99 72.4%, #ffffff00 100%);\n --mds-color-theme-avatar-default: #545454;\n --mds-color-theme-avatar-hover: #ffffff12;\n --mds-color-theme-avatar-pressed: #ffffff33;\n --mds-color-theme-avatar-cobalt: #08599c;\n --mds-color-theme-avatar-cyan: #066070;\n --mds-color-theme-avatar-gold: #735107;\n --mds-color-theme-avatar-lime: #416116;\n --mds-color-theme-avatar-mint: #12615a;\n --mds-color-theme-avatar-orange: #9c3202;\n --mds-color-theme-avatar-pink: #a12a3a;\n --mds-color-theme-avatar-purple: #932099;\n --mds-color-theme-avatar-slate: #535573;\n --mds-color-theme-avatar-violet: #643abd;\n --mds-color-theme-avatar-yellow: #7d4705;\n --mds-color-theme-avatar-glass-normal: #ffffff12;\n --mds-color-theme-avatar-glass-active: #ffffffcc;\n --mds-color-theme-focus-default-0: #000000;\n --mds-color-theme-focus-default-1: #64b4fa;\n --mds-color-theme-focus-default-2: #64b4fa59;\n}\n.mds-theme-stable-lightWebex {\n --mds-color-theme-text-primary-normal: #000000f2;\n --mds-color-theme-text-primary-disabled: #00000066;\n --mds-color-theme-text-secondary-normal: #000000b3;\n --mds-color-theme-text-error-normal: #ab0a15;\n --mds-color-theme-text-error-hover: #4f0e10;\n --mds-color-theme-text-error-active: #4f0e10;\n --mds-color-theme-text-success-normal: #185e46;\n --mds-color-theme-text-success-hover: #0e2b20;\n --mds-color-theme-text-success-active: #0e2b20;\n --mds-color-theme-text-warning-normal: #7d4705;\n --mds-color-theme-text-warning-hover: #36220c;\n --mds-color-theme-text-warning-active: #36220c;\n --mds-color-theme-text-highlight: #bfe3ff;\n --mds-color-theme-text-accent-normal: #0353a8;\n --mds-color-theme-text-accent-hover: #0a274a;\n --mds-color-theme-text-accent-active: #0a274a;\n --mds-color-theme-text-teamdefault-normal: #000000b3;\n --mds-color-theme-text-teamdefault-hover: #000000b3;\n --mds-color-theme-text-teamdefault-active: #000000f2;\n --mds-color-theme-text-alert-purple-normal: #932099;\n --mds-color-theme-text-alert-purple-hover: #3b1840;\n --mds-color-theme-text-alert-purple-active: #3b1840;\n --mds-color-theme-text-alert-orange-normal: #9c3202;\n --mds-color-theme-text-alert-orange-hover: #411b04;\n --mds-color-theme-text-alert-orange-active: #411b04;\n --mds-color-theme-text-team-cobalt-normal: #08599c;\n --mds-color-theme-text-team-cobalt-hover: #08599c;\n --mds-color-theme-text-team-cobalt-active: #12283d;\n --mds-color-theme-text-team-cyan-normal: #066070;\n --mds-color-theme-text-team-cyan-hover: #0b2a30;\n --mds-color-theme-text-team-cyan-active: #0b2a30;\n --mds-color-theme-text-team-mint-normal: #12615a;\n --mds-color-theme-text-team-mint-hover: #102b2a;\n --mds-color-theme-text-team-mint-active: #102b2a;\n --mds-color-theme-text-team-lime-normal: #416116;\n --mds-color-theme-text-team-lime-hover: #416116;\n --mds-color-theme-text-team-lime-active: #1e2b10;\n --mds-color-theme-text-team-gold-normal: #735107;\n --mds-color-theme-text-team-gold-hover: #735107;\n --mds-color-theme-text-team-gold-active: #30240d;\n --mds-color-theme-text-team-orange-normal: #9c3202;\n --mds-color-theme-text-team-orange-hover: #9c3202;\n --mds-color-theme-text-team-orange-active: #411b04;\n --mds-color-theme-text-team-pink-normal: #a12a3a;\n --mds-color-theme-text-team-pink-hover: #a12a3a;\n --mds-color-theme-text-team-pink-active: #3b1e21;\n --mds-color-theme-text-team-purple-normal: #932099;\n --mds-color-theme-text-team-purple-hover: #932099;\n --mds-color-theme-text-team-purple-active: #3b1840;\n --mds-color-theme-text-team-violet-normal: #643abd;\n --mds-color-theme-text-team-violet-hover: #643abd;\n --mds-color-theme-text-team-violet-active: #29223d;\n --mds-color-theme-text-team-slate-normal: #535573;\n --mds-color-theme-text-team-slate-hover: #535573;\n --mds-color-theme-text-team-slate-active: #26262b;\n --mds-color-theme-inverted-text-primary-normal: #fffffff2;\n --mds-color-theme-inverted-text-primary-disabled: #ffffff66;\n --mds-color-theme-inverted-text-secondary-normal: #ffffffb3;\n --mds-color-theme-inverted-text-accent-normal: #64b4fa;\n --mds-color-theme-inverted-text-accent-hover: #bfe3ff;\n --mds-color-theme-inverted-text-accent-active: #bfe3ff;\n --mds-color-theme-inverted-background-normal: #000000;\n --mds-color-theme-inverted-button-primary-normal: #fffffff2;\n --mds-color-theme-inverted-button-primary-hover: #ffffffcc;\n --mds-color-theme-inverted-button-primary-pressed: #ffffffb3;\n --mds-color-theme-inverted-button-primary-disabled: #ffffff33;\n --mds-color-theme-inverted-button-secondary-normal: #ffffff00;\n --mds-color-theme-inverted-button-secondary-hover: #ffffff12;\n --mds-color-theme-inverted-button-secondary-pressed: #ffffff33;\n --mds-color-theme-inverted-button-secondary-disabled: #ffffff00;\n --mds-color-theme-inverted-outline-button-normal: #ffffff80;\n --mds-color-theme-inverted-outline-primary-normal: #ffffff66;\n --mds-color-theme-inverted-outline-disabled-normal: #ffffff33;\n --mds-color-theme-inverted-outline-theme-normal: #64b4fa;\n --mds-color-theme-inverted-control-active-normal: #64b4fa;\n --mds-color-theme-inverted-control-active-hover: #3492eb;\n --mds-color-theme-inverted-control-active-pressed: #1170cf;\n --mds-color-theme-inverted-control-active-active: #1170cf;\n --mds-color-theme-inverted-control-active-disabled: #ffffff33;\n --mds-color-theme-inverted-control-inactive-normal: #8f8f8f;\n --mds-color-theme-inverted-control-inactive-hover: #ffffff4d;\n --mds-color-theme-inverted-control-inactive-pressed: #ffffff66;\n --mds-color-theme-inverted-control-inactive-disabled: #ffffff33;\n --mds-color-theme-background-primary-ghost: #00000000;\n --mds-color-theme-background-primary-hover: #00000012;\n --mds-color-theme-background-primary-active: #0000001c;\n --mds-color-theme-background-primary-disabled: #00000000;\n --mds-color-theme-background-solid-primary-normal: #ffffff;\n --mds-color-theme-background-solid-secondary-normal: #f7f7f7;\n --mds-color-theme-background-solid-tertiary-normal: #ededed;\n --mds-color-theme-background-solid-quaternary-normal: #ffffff;\n --mds-color-theme-background-secondary-normal: #0000001c;\n --mds-color-theme-background-secondary-hover: #00000033;\n --mds-color-theme-background-secondary-active: #0000004d;\n --mds-color-theme-background-secondary-disabled: #00000000;\n --mds-color-theme-background-accent-normal: #1170cf;\n --mds-color-theme-background-accent-active: #0353a8;\n --mds-color-theme-background-alert-default-normal: #dedede;\n --mds-color-theme-background-alert-default-hover: #dedede;\n --mds-color-theme-background-alert-default-active: #c9c9c9;\n --mds-color-theme-background-alert-success-normal: #cef5eb;\n --mds-color-theme-background-alert-success-hover: #cef5eb;\n --mds-color-theme-background-alert-success-active: #9fedd8;\n --mds-color-theme-background-alert-warning-normal: #ffebc2;\n --mds-color-theme-background-alert-warning-hover: #ffebc2;\n --mds-color-theme-background-alert-warning-active: #ffda94;\n --mds-color-theme-background-alert-error-normal: #ffe8ea;\n --mds-color-theme-background-alert-error-hover: #ffe8ea;\n --mds-color-theme-background-alert-error-active: #ffd4da;\n --mds-color-theme-background-alert-theme-normal: #dbf0ff;\n --mds-color-theme-background-alert-theme-hover: #dbf0ff;\n --mds-color-theme-background-alert-theme-active: #bfe3ff;\n --mds-color-theme-background-alert-purple-normal: #fcf2fc;\n --mds-color-theme-background-alert-purple-hover: #fcf2fc;\n --mds-color-theme-background-alert-purple-active: #fce1fc;\n --mds-color-theme-background-alert-orange-normal: #feebd7;\n --mds-color-theme-background-alert-orange-hover: #feebd7;\n --mds-color-theme-background-alert-orange-active: #fed5ac;\n --mds-color-theme-background-label-cobalt-normal: #e5f8ff;\n --mds-color-theme-background-label-cobalt-hover: #c7eeff;\n --mds-color-theme-background-label-cobalt-active: #99ddff;\n --mds-color-theme-background-label-gold-normal: #f7f6dc;\n --mds-color-theme-background-label-gold-hover: #f5eaa2;\n --mds-color-theme-background-label-gold-active: #ebd460;\n --mds-color-theme-background-label-lime-normal: #f3f7e9;\n --mds-color-theme-background-label-lime-hover: #ddf2ae;\n --mds-color-theme-background-label-lime-active: #bce36f;\n --mds-color-theme-background-label-mint-normal: #e9f7f3;\n --mds-color-theme-background-label-mint-hover: #baf5e7;\n --mds-color-theme-background-label-mint-active: #74e8d1;\n --mds-color-theme-background-label-orange-normal: #feebd7;\n --mds-color-theme-background-label-orange-hover: #fed5ac;\n --mds-color-theme-background-label-orange-active: #feba7f;\n --mds-color-theme-background-label-pink-normal: #fff2f5;\n --mds-color-theme-background-label-pink-hover: #ffe0e7;\n --mds-color-theme-background-label-pink-active: #ffc7d2;\n --mds-color-theme-background-label-purple-normal: #fcf2fc;\n --mds-color-theme-background-label-purple-hover: #fce1fc;\n --mds-color-theme-background-label-purple-active: #fac3f8;\n --mds-color-theme-background-label-slate-normal: #f2f4ff;\n --mds-color-theme-background-label-slate-hover: #e3e7fa;\n --mds-color-theme-background-label-slate-active: #ced2ed;\n --mds-color-theme-background-label-violet-normal: #f8f2fc;\n --mds-color-theme-background-label-violet-hover: #f0e3fc;\n --mds-color-theme-background-label-violet-active: #e2cafc;\n --mds-color-theme-background-label-default-normal: #ededed;\n --mds-color-theme-background-label-default-hover: #dedede;\n --mds-color-theme-background-label-default-active: #c9c9c9;\n --mds-color-theme-background-label-error-normal: #ffe8ea;\n --mds-color-theme-background-label-error-hover: #ffd4da;\n --mds-color-theme-background-label-error-active: #ffb8c1;\n --mds-color-theme-background-namelabel-normal: #00000099;\n --mds-color-theme-background-gradient-primary-normal: linear-gradient(180deg, #f0f0f0 0%, #ffffff 100%);\n --mds-color-theme-background-gradient-secondary-normal: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);\n --mds-color-theme-background-reaction-normal: linear-gradient(90deg, #ffffffe6 0%, #ffffff00 100%);\n --mds-color-theme-background-skeleton-normal: linear-gradient(123deg, #00000033 0%, #0000004d 27.6%, #00000066 58.85%, #00000080 100%);\n --mds-color-theme-background-glass-normal: #ffffff99;\n --mds-color-theme-background-glass-overlay-normal: #ffffffcc;\n --mds-color-theme-background-glass-overlay-inactive: #ffffff66;\n --mds-color-theme-button-primary-normal: #000000f2;\n --mds-color-theme-button-primary-hover: #000000cc;\n --mds-color-theme-button-primary-pressed: #000000b3;\n --mds-color-theme-button-primary-disabled: #00000033;\n --mds-color-theme-button-secondary-normal: #00000000;\n --mds-color-theme-button-secondary-hover: #00000012;\n --mds-color-theme-button-secondary-pressed: #00000033;\n --mds-color-theme-button-secondary-disabled: #00000000;\n --mds-color-theme-button-secondary-active-normal: #00000033;\n --mds-color-theme-button-secondary-active-hover: #0000004d;\n --mds-color-theme-button-secondary-active-pressed: #00000066;\n --mds-color-theme-button-secondary-active-disabled: #0000001c;\n --mds-color-theme-button-join-normal: #1d805f;\n --mds-color-theme-button-join-hover: #185e46;\n --mds-color-theme-button-join-pressed: #134231;\n --mds-color-theme-button-cancel-normal: #db1f2e;\n --mds-color-theme-button-cancel-hover: #ab0a15;\n --mds-color-theme-button-cancel-pressed: #780d13;\n --mds-color-theme-button-accent-normal: #1170cf;\n --mds-color-theme-button-accent-hover: #0353a8;\n --mds-color-theme-button-accent-pressed: #063a75;\n --mds-color-theme-button-glass-primary-normal: #000000cc;\n --mds-color-theme-button-glass-primary-hover: #000000b3;\n --mds-color-theme-button-glass-primary-pressed: #00000099;\n --mds-color-theme-outline-primary-normal: #00000075;\n --mds-color-theme-outline-primary-disabled: #00000033;\n --mds-color-theme-outline-theme-normal: #1170cf;\n --mds-color-theme-outline-secondary-normal: #00000033;\n --mds-color-theme-outline-input-normal: #00000080;\n --mds-color-theme-outline-input-active: #000000e6;\n --mds-color-theme-outline-button-normal: #00000080;\n --mds-color-theme-outline-join-normal: #185e46;\n --mds-color-theme-outline-cancel-normal: #ab0a15;\n --mds-color-theme-outline-share-selected: #27a17a;\n --mds-color-theme-outline-share-active: #ec6400;\n --mds-color-theme-outline-share-inactive: #8f8f8f;\n --mds-color-theme-outline-overlay-normal: #707070;\n --mds-color-theme-outline-high-contrast-focus: #000000;\n --mds-color-theme-outline-label-cobalt: #5ebff7;\n --mds-color-theme-outline-label-gold: #d6b220;\n --mds-color-theme-outline-label-lime: #93c437;\n --mds-color-theme-outline-label-mint: #30c9b0;\n --mds-color-theme-outline-label-orange: #fd884e;\n --mds-color-theme-outline-label-pink: #fc97aa;\n --mds-color-theme-outline-label-purple: #f294f1;\n --mds-color-theme-outline-label-slate: #b0b4d9;\n --mds-color-theme-outline-label-violet: #c7a5fa;\n --mds-color-theme-outline-promotion-normal: #c233c4;\n --mds-color-theme-outline-gradient-active: linear-gradient(44deg, #3492eb 14.64%, #00a3b5 51.1%, #3cc29a 85.36%);\n --mds-color-theme-outline-warning-normal: #7d4705;\n --mds-color-theme-control-active-normal: #1170cf;\n --mds-color-theme-control-active-hover: #0353a8;\n --mds-color-theme-control-active-pressed: #063a75;\n --mds-color-theme-control-active-active: #063a75;\n --mds-color-theme-control-active-disabled: #00000033;\n --mds-color-theme-control-indicator-inactive-normal: #707070;\n --mds-color-theme-control-inactive-normal: #0000001c;\n --mds-color-theme-control-inactive-hover: #00000033;\n --mds-color-theme-control-inactive-pressed: #0000004d;\n --mds-color-theme-control-inactive-disabled: #00000012;\n --mds-color-theme-overlay-meetings-normal: #ffffffcc;\n --mds-color-theme-overlay-button-secondary-normal: #ffffff;\n --mds-color-theme-overlay-button-secondary-hover: #ededed;\n --mds-color-theme-overlay-button-secondary-pressed: #dedede;\n --mds-color-theme-indicator-unstable: #c94403;\n --mds-color-theme-indicator-attention: #db1f2e;\n --mds-color-theme-indicator-stable: #1d805f;\n --mds-color-theme-indicator-locked: #707070;\n --mds-color-theme-indicator-caution: #a65e00;\n --mds-color-theme-indicator-secure: #1170cf;\n --mds-color-theme-common-whiteboard-sticky-note-yellow: #ffbe4f;\n --mds-color-theme-common-whiteboard-sticky-note-red: #fc8b98;\n --mds-color-theme-common-whiteboard-sticky-note-purple: #f294f1;\n --mds-color-theme-common-whiteboard-sticky-note-cyan: #22c7d6;\n --mds-color-theme-common-whiteboard-sticky-note-mint: #30c9b0;\n --mds-color-theme-common-whiteboard-pen-black: #0f0f0f;\n --mds-color-theme-common-whiteboard-pen-red: #f55868;\n --mds-color-theme-common-whiteboard-pen-purple: #c233c4;\n --mds-color-theme-common-whiteboard-pen-blue: #64b4fa;\n --mds-color-theme-common-whiteboard-pen-green: #3cc29a;\n --mds-color-theme-common-whiteboard-pen-yellow: #f2990a;\n --mds-color-theme-common-whiteboard-pen-white: #ffffff;\n --mds-color-theme-common-text-primary-normal: #fffffff2;\n --mds-color-theme-common-text-primary-disabled: #ffffff66;\n --mds-color-theme-common-text-secondary-normal: #ffffffb3;\n --mds-color-theme-common-text-success-normal: #3cc29a;\n --mds-color-theme-common-text-success-hover: #9fedd8;\n --mds-color-theme-common-text-error-normal: #fc8b98;\n --mds-color-theme-common-text-error-hover: #ffd4da;\n --mds-color-theme-common-text-warning-normal: #f2990a;\n --mds-color-theme-common-text-warning-hover: #ffda94;\n --mds-color-theme-common-inverted-text-primary-normal: #000000f2;\n --mds-color-theme-common-inverted-text-secondary-normal: #00000099;\n --mds-color-theme-common-inverted-button-secondary-normal: #00000000;\n --mds-color-theme-common-inverted-button-secondary-hover: #00000012;\n --mds-color-theme-common-inverted-button-secondary-pressed: #00000033;\n --mds-color-theme-common-inverted-button-secondary-disabled: #00000000;\n --mds-color-theme-common-overlays-primary-normal: #000000e6;\n --mds-color-theme-common-overlays-secondary-normal: #00000066;\n --mds-color-theme-common-overlays-meeting-normal-0: #00000000;\n --mds-color-theme-common-overlays-meeting-normal-1: #0000004d;\n --mds-color-theme-common-overlays-meeting-normal-2: #000000cc;\n --mds-color-theme-common-button-primary-normal: #fffffff2;\n --mds-color-theme-common-button-primary-hover: #ffffffcc;\n --mds-color-theme-common-button-primary-pressed: #ffffffb3;\n --mds-color-theme-common-button-primary-disabled: #ffffff33;\n --mds-color-theme-common-button-secondary-normal: #ffffff00;\n --mds-color-theme-common-button-secondary-hover: #ffffff12;\n --mds-color-theme-common-button-secondary-active-normal: #ffffff33;\n --mds-color-theme-common-button-secondary-active-hover: #ffffff4d;\n --mds-color-theme-common-button-secondary-active-pressed: #ffffff66;\n --mds-color-theme-common-button-secondary-active-disabled: #ffffff1c;\n --mds-color-theme-common-button-secondary-disabled: #ffffff00;\n --mds-color-theme-common-button-promotion-normal: linear-gradient(46deg, #932099 0%, #a12a3a 100%);\n --mds-color-theme-common-button-promotion-hover: linear-gradient(46deg, #601e66 0%, #66262d 100%);\n --mds-color-theme-common-button-promotion-active: linear-gradient(46deg, #3b1840 0%, #3b1e21 100%);\n --mds-color-theme-common-button-join-animated-gradient-normal: linear-gradient(90deg, #30c9b0 0%, #64b4fa 51%, #30c9b0 100%);\n --mds-color-theme-common-outline-button-normal: #ffffff4d;\n --mds-color-theme-common-outline-primary-normal: #ffffff66;\n --mds-color-theme-common-outline-primary-disabled: #ffffff33;\n --mds-color-theme-common-outline-input-normal: #ffffff80;\n --mds-color-theme-common-outline-secondary-normal: #00000033;\n --mds-color-theme-common-outline-secondary-disabled: #00000033;\n --mds-color-theme-common-outline-warning-normal: #f2990a;\n --mds-color-theme-common-control-share-content-selected: #3cc29a;\n --mds-color-theme-common-control-share-content-active: #c94403;\n --mds-color-theme-common-control-share-content-inactive: #707070;\n --mds-color-theme-common-control-inactive-normal: #00000033;\n --mds-color-theme-common-background-alert-share-normal: #c94403;\n --mds-color-theme-common-background-solid-dark: #1a1a1a;\n --mds-color-theme-common-background-solid-light: #ffffff;\n --mds-color-theme-common-content-pdf: #ee0507;\n --mds-color-theme-common-content-word: #0078d6;\n --mds-color-theme-common-content-powerpoint: #d93e17;\n --mds-color-theme-common-content-excel: #00893e;\n --mds-color-theme-common-content-onenote: #b839db;\n --mds-color-theme-common-content-sheets: #f4b400;\n --mds-color-theme-common-content-slides: #0f9d58;\n --mds-color-theme-common-content-keynote: #029cfb;\n --mds-color-theme-common-content-doc: #4285f4;\n --mds-color-theme-common-touchbar-background-blue-normal: #1170cf;\n --mds-color-theme-common-touchbar-background-blue-pressed: #063a75;\n --mds-color-theme-common-touchbar-background-pink-normal: #d43b52;\n --mds-color-theme-common-touchbar-background-pink-pressed: #66262d;\n --mds-color-theme-common-touchbar-background-mint-normal: #148579;\n --mds-color-theme-common-touchbar-background-mint-pressed: #12423f;\n --mds-color-theme-common-touchbar-background-purple-normal: #c233c4;\n --mds-color-theme-common-touchbar-background-purple-pressed: #601e66;\n --mds-color-theme-common-touchbar-background-violet-normal: #875ae0;\n --mds-color-theme-common-touchbar-background-violet-pressed: #432c78;\n --mds-color-theme-common-touchbar-background-orange-normal: #c94403;\n --mds-color-theme-common-touchbar-background-orange-pressed: #682601;\n --mds-color-theme-common-touchbar-background-green-normal: #1d805f;\n --mds-color-theme-common-touchbar-background-green-pressed: #134231;\n --mds-color-theme-common-touchbar-background-red-normal: #db1f2e;\n --mds-color-theme-common-touchbar-background-red-pressed: #780d13;\n --mds-color-theme-common-touchbar-background-transparent: #00000000;\n --mds-color-theme-common-touchbar-icon-attention: #fc8b98;\n --mds-color-theme-common-touchbar-icon-stable: #27a17a;\n --mds-color-theme-common-touchbar-icon-secure: #64b4fa;\n --mds-color-theme-scrollbar-button-normal: #00000075;\n --mds-color-theme-scrollbar-button-hover: #00000080;\n --mds-color-theme-scrollbar-button-pressed: #00000099;\n --mds-color-theme-scrollbar-arrow-normal: #00000099;\n --mds-color-theme-scrollbar-arrow-background-normal: #00000000;\n --mds-color-theme-scrollbar-arrow-background-hover: #00000033;\n --mds-color-theme-scrollbar-arrow-background-pressed: #0000004d;\n --mds-color-theme-scrollbar-background-secondary-ghost: #00000000;\n --mds-color-theme-scrollbar-background-secondary-normal: #0000001c;\n --mds-color-theme-illustrations-empty-primary-0: #93c437;\n --mds-color-theme-illustrations-empty-primary-1: #279be8;\n --mds-color-theme-illustrations-empty-secondary-0: #279be8;\n --mds-color-theme-illustrations-empty-secondary-1: #875ae0;\n --mds-color-theme-illustrations-onboarding-primary-0: #ffbe4f;\n --mds-color-theme-illustrations-onboarding-primary-1: #93c437;\n --mds-color-theme-illustrations-onboarding-secondary-0: #f55868;\n --mds-color-theme-illustrations-onboarding-secondary-1: #875ae0;\n --mds-color-theme-illustrations-onboarding-tertiary-0: #ffbe4f;\n --mds-color-theme-illustrations-onboarding-tertiary-1: #ec6400;\n --mds-color-theme-illustrations-onboarding-quartenary-0: #93c437;\n --mds-color-theme-illustrations-onboarding-quartenary-1: #279be8;\n --mds-color-theme-illustrations-onboarding-quinary-0: #279be8;\n --mds-color-theme-illustrations-onboarding-quinary-1: #875ae0;\n --mds-color-theme-illustrations-success-0: #3cc29a;\n --mds-color-theme-illustrations-success-1: #93c437;\n --mds-color-theme-illustrations-error-0: #f0677e;\n --mds-color-theme-illustrations-error-1: #db1f2e;\n --mds-color-theme-illustrations-default: #000000;\n --mds-color-theme-globaltint-normal: #1170cf;\n --mds-color-theme-globaltint-selected: #1170cf;\n --mds-color-theme-groupedbackground-primary-normal: #f7f7f7;\n --mds-color-theme-groupedbackground-secondary-normal: #ffffff;\n --mds-color-theme-groupedbackground-tertiary-normal: #f7f7f7;\n --mds-color-theme-groupedbackground-quaternary-normal: #ffffff;\n --mds-color-theme-avatar-default: #545454;\n --mds-color-theme-avatar-cobalt: #08599c;\n --mds-color-theme-avatar-cyan: #066070;\n --mds-color-theme-avatar-gold: #735107;\n --mds-color-theme-avatar-lime: #416116;\n --mds-color-theme-avatar-mint: #12615a;\n --mds-color-theme-avatar-orange: #9c3202;\n --mds-color-theme-avatar-pink: #a12a3a;\n --mds-color-theme-avatar-purple: #932099;\n --mds-color-theme-avatar-slate: #535573;\n --mds-color-theme-avatar-violet: #643abd;\n --mds-color-theme-avatar-yellow: #7d4705;\n --mds-color-theme-avatar-hover: #00000012;\n --mds-color-theme-avatar-pressed: #00000033;\n --mds-color-theme-avatar-glass-normal: #00000012;\n --mds-color-theme-avatar-glass-active: #ffffffcc;\n --mds-color-theme-gradientdivider-default-normal: linear-gradient(90deg, #00000000 0%, #00000033 22.4%, #00000033 72.4%, #00000000 100%);\n --mds-color-theme-gradientdivider-default-hover: linear-gradient(90deg, #00000000 0%, #00000099 22.4%, #00000099 72.4%, #00000000 100%);\n --mds-color-theme-gradientdivider-error-normal: linear-gradient(90deg, #ab0a1500 0%, #ab0a1599 22.4%, #ab0a1599 22.4%, #ab0a1500 100%);\n --mds-color-theme-gradientdivider-error-hover: linear-gradient(90deg, #ab0a1500 0%, #ab0a15e6 22.4%, #ab0a15e6 76.04%, #ab0a1500 100%);\n --mds-color-theme-gradientdivider-warning-normal: linear-gradient(90deg, #7d470500 0%, #7d470599 22.4%, #7d470599 76.04%, #7d470500 100%);\n --mds-color-theme-gradientdivider-warning-hover: linear-gradient(90deg, #7d470500 0%, #7d4705e6 22.4%, #7d4705e6 76.04%, #7d470500 100%);\n --mds-color-theme-gradientdivider-announce-normal: linear-gradient(90deg, #0353a800 0%, #0353a899 22.4%, #0353a899 22.4%, #0353a800 100%);\n --mds-color-theme-gradientdivider-announce-hover: linear-gradient(90deg, #0353a800 0%, #0353a8E6 76.04%, #0353a8E6 76.04%, #0353a800 100%);\n --mds-color-theme-gradientdivider-success-normal: linear-gradient(90deg, #185e4600 0%, #185e4699 22.4%, #185e4699 76.04%, #185e4600 100%);\n --mds-color-theme-gradientdivider-success-hover: linear-gradient(90deg, #185e4600 0%, #185e46E6 22.4%, #185e46E6 76.04%, #185e4600 100%);\n --mds-color-theme-gradientdivider-orange-normal: linear-gradient(90deg, #9c320200 0%, #9c320299 22.4%, #9c320299 76.04%, #9c320200 100%);\n --mds-color-theme-gradientdivider-orange-hover: linear-gradient(90deg, #9c320200 0%, #9c3202e6 22.4%, #9c3202e6 76.04%, #9c320200 100%);\n --mds-color-theme-gradientdivider-purple-normal: linear-gradient(90deg, #93209900 0%, #93209999 22.4%, #93209999 76.04%, #93209900 100%);\n --mds-color-theme-gradientdivider-purple-hover: linear-gradient(90deg, #93209900 0%,#932099E6 22.4%, #932099E6 76.04%, #93209900 100%);\n --mds-color-theme-gradientdivider-vertical-normal: linear-gradient(0deg, #00000000 0%, #00000033 22.4%, #00000033 72.4%, #00000000 100%);\n --mds-color-theme-gradientdivider-vertical-hover: linear-gradient(0deg, #00000000 0%, #00000099 22.4%, #00000099 72.4%, #00000000 100%);\n --mds-color-theme-focus-default-0: #ffffff;\n --mds-color-theme-focus-default-1: #1170cf;\n --mds-color-theme-focus-default-2: #1170cf59;\n}\n.mds-typography {\n --mds-font-lineheight-base: 1rem;\n --mds-font-lineheight-body-small: 1rem;\n --mds-font-lineheight-body-midsize: 1.25rem;\n --mds-font-lineheight-body-large: 1.5rem;\n --mds-font-lineheight-heading-small: 1.75rem;\n --mds-font-lineheight-heading-midsize: 2rem;\n --mds-font-lineheight-heading-large: 2.5rem;\n --mds-font-lineheight-heading-xlarge: 3.25rem;\n --mds-font-lineheight-headline-small: 4rem;\n --mds-font-family-primary: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-weight-light: 300;\n --mds-font-weight-regular: 400;\n --mds-font-weight-medium: 500;\n --mds-font-weight-bold: 700;\n --mds-font-size-base: 1rem;\n --mds-font-size-body-small: 0.75rem;\n --mds-font-size-body-midsize: 0.875rem;\n --mds-font-size-body-large: 1rem;\n --mds-font-size-heading-small: 1.25rem;\n --mds-font-size-heading-midsize: 1.5rem;\n --mds-font-size-heading-large: 2rem;\n --mds-font-size-heading-xlarge: 2.5rem;\n --mds-font-size-headline-small: 3.25rem;\n --mds-font-text-transform-none: none;\n --mds-font-text-transform-uppercase: uppercase;\n --mds-font-text-transform-lowercase: lowercase;\n --mds-font-text-transform-titlecase: titlecase;\n --mds-font-decoration-underline: underline;\n --mds-font-decoration-none: none;\n --mds-font-apps-body-small-regular-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-small-regular-font-weight: 400;\n --mds-font-apps-body-small-regular-line-height: 1rem;\n --mds-font-apps-body-small-regular-font-size: 0.75rem;\n --mds-font-apps-body-small-regular-text-case: none;\n --mds-font-apps-body-small-regular-text-decoration: none;\n --mds-font-apps-body-small-regular-underline-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-small-regular-underline-font-weight: 400;\n --mds-font-apps-body-small-regular-underline-line-height: 1rem;\n --mds-font-apps-body-small-regular-underline-font-size: 0.75rem;\n --mds-font-apps-body-small-regular-underline-text-case: none;\n --mds-font-apps-body-small-regular-underline-text-decoration: underline;\n --mds-font-apps-body-small-medium-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-small-medium-font-weight: 500;\n --mds-font-apps-body-small-medium-line-height: 1rem;\n --mds-font-apps-body-small-medium-font-size: 0.75rem;\n --mds-font-apps-body-small-medium-text-case: none;\n --mds-font-apps-body-small-medium-text-decoration: none;\n --mds-font-apps-body-small-medium-underline-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-small-medium-underline-font-weight: 500;\n --mds-font-apps-body-small-medium-underline-line-height: 1rem;\n --mds-font-apps-body-small-medium-underline-font-size: 0.75rem;\n --mds-font-apps-body-small-medium-underline-text-case: none;\n --mds-font-apps-body-small-medium-underline-text-decoration: underline;\n --mds-font-apps-body-small-bold-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-small-bold-font-weight: 700;\n --mds-font-apps-body-small-bold-line-height: 1rem;\n --mds-font-apps-body-small-bold-font-size: 0.75rem;\n --mds-font-apps-body-small-bold-text-case: none;\n --mds-font-apps-body-small-bold-text-decoration: none;\n --mds-font-apps-body-midsize-regular-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-midsize-regular-font-weight: 400;\n --mds-font-apps-body-midsize-regular-line-height: 1.25rem;\n --mds-font-apps-body-midsize-regular-font-size: 0.875rem;\n --mds-font-apps-body-midsize-regular-text-case: none;\n --mds-font-apps-body-midsize-regular-text-decoration: none;\n --mds-font-apps-body-midsize-regular-underline-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-midsize-regular-underline-font-weight: 400;\n --mds-font-apps-body-midsize-regular-underline-line-height: 1.25rem;\n --mds-font-apps-body-midsize-regular-underline-font-size: 0.875rem;\n --mds-font-apps-body-midsize-regular-underline-text-case: none;\n --mds-font-apps-body-midsize-regular-underline-text-decoration: underline;\n --mds-font-apps-body-midsize-medium-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-midsize-medium-font-weight: 500;\n --mds-font-apps-body-midsize-medium-line-height: 1.25rem;\n --mds-font-apps-body-midsize-medium-font-size: 0.875rem;\n --mds-font-apps-body-midsize-medium-text-case: none;\n --mds-font-apps-body-midsize-medium-text-decoration: none;\n --mds-font-apps-body-midsize-medium-underline-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-midsize-medium-underline-font-weight: 500;\n --mds-font-apps-body-midsize-medium-underline-line-height: 1.25rem;\n --mds-font-apps-body-midsize-medium-underline-font-size: 0.875rem;\n --mds-font-apps-body-midsize-medium-underline-text-case: none;\n --mds-font-apps-body-midsize-medium-underline-text-decoration: underline;\n --mds-font-apps-body-midsize-bold-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-midsize-bold-font-weight: 700;\n --mds-font-apps-body-midsize-bold-line-height: 1.25rem;\n --mds-font-apps-body-midsize-bold-font-size: 0.875rem;\n --mds-font-apps-body-midsize-bold-text-case: none;\n --mds-font-apps-body-midsize-bold-text-decoration: none;\n --mds-font-apps-body-large-regular-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-large-regular-font-weight: 400;\n --mds-font-apps-body-large-regular-line-height: 1.5rem;\n --mds-font-apps-body-large-regular-font-size: 1rem;\n --mds-font-apps-body-large-regular-text-case: none;\n --mds-font-apps-body-large-regular-text-decoration: none;\n --mds-font-apps-body-large-regular-underline-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-large-regular-underline-font-weight: 400;\n --mds-font-apps-body-large-regular-underline-line-height: 1.5rem;\n --mds-font-apps-body-large-regular-underline-font-size: 1rem;\n --mds-font-apps-body-large-regular-underline-text-case: none;\n --mds-font-apps-body-large-regular-underline-text-decoration: underline;\n --mds-font-apps-body-large-medium-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-large-medium-font-weight: 500;\n --mds-font-apps-body-large-medium-line-height: 1.5rem;\n --mds-font-apps-body-large-medium-font-size: 1rem;\n --mds-font-apps-body-large-medium-text-case: none;\n --mds-font-apps-body-large-medium-text-decoration: none;\n --mds-font-apps-body-large-medium-underline-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-large-medium-underline-font-weight: 500;\n --mds-font-apps-body-large-medium-underline-line-height: 1.5rem;\n --mds-font-apps-body-large-medium-underline-font-size: 1rem;\n --mds-font-apps-body-large-medium-underline-text-case: none;\n --mds-font-apps-body-large-medium-underline-text-decoration: underline;\n --mds-font-apps-body-large-bold-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-large-bold-font-weight: 700;\n --mds-font-apps-body-large-bold-line-height: 1.5rem;\n --mds-font-apps-body-large-bold-font-size: 1rem;\n --mds-font-apps-body-large-bold-text-case: none;\n --mds-font-apps-body-large-bold-text-decoration: none;\n --mds-font-apps-heading-small-regular-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-small-regular-font-weight: 400;\n --mds-font-apps-heading-small-regular-line-height: 1.75rem;\n --mds-font-apps-heading-small-regular-font-size: 1.25rem;\n --mds-font-apps-heading-small-regular-text-case: none;\n --mds-font-apps-heading-small-regular-text-decoration: none;\n --mds-font-apps-heading-small-medium-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-small-medium-font-weight: 500;\n --mds-font-apps-heading-small-medium-line-height: 1.75rem;\n --mds-font-apps-heading-small-medium-font-size: 1.25rem;\n --mds-font-apps-heading-small-medium-text-case: none;\n --mds-font-apps-heading-small-medium-text-decoration: none;\n --mds-font-apps-heading-small-bold-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-small-bold-font-weight: 700;\n --mds-font-apps-heading-small-bold-line-height: 1.75rem;\n --mds-font-apps-heading-small-bold-font-size: 1.25rem;\n --mds-font-apps-heading-small-bold-text-case: none;\n --mds-font-apps-heading-small-bold-text-decoration: none;\n --mds-font-apps-heading-midsize-regular-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-midsize-regular-font-weight: 400;\n --mds-font-apps-heading-midsize-regular-line-height: 2rem;\n --mds-font-apps-heading-midsize-regular-font-size: 1.5rem;\n --mds-font-apps-heading-midsize-regular-text-case: none;\n --mds-font-apps-heading-midsize-regular-text-decoration: none;\n --mds-font-apps-heading-midsize-medium-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-midsize-medium-font-weight: 500;\n --mds-font-apps-heading-midsize-medium-line-height: 2rem;\n --mds-font-apps-heading-midsize-medium-font-size: 1.5rem;\n --mds-font-apps-heading-midsize-medium-text-case: none;\n --mds-font-apps-heading-midsize-medium-text-decoration: none;\n --mds-font-apps-heading-midsize-bold-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-midsize-bold-font-weight: 700;\n --mds-font-apps-heading-midsize-bold-line-height: 2rem;\n --mds-font-apps-heading-midsize-bold-font-size: 1.5rem;\n --mds-font-apps-heading-midsize-bold-text-case: none;\n --mds-font-apps-heading-midsize-bold-text-decoration: none;\n --mds-font-apps-heading-large-regular-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-large-regular-font-weight: 400;\n --mds-font-apps-heading-large-regular-line-height: 2.5rem;\n --mds-font-apps-heading-large-regular-font-size: 2rem;\n --mds-font-apps-heading-large-regular-text-case: none;\n --mds-font-apps-heading-large-regular-text-decoration: none;\n --mds-font-apps-heading-large-medium-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-large-medium-font-weight: 500;\n --mds-font-apps-heading-large-medium-line-height: 2.5rem;\n --mds-font-apps-heading-large-medium-font-size: 2rem;\n --mds-font-apps-heading-large-medium-text-case: none;\n --mds-font-apps-heading-large-medium-text-decoration: none;\n --mds-font-apps-heading-large-bold-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-large-bold-font-weight: 700;\n --mds-font-apps-heading-large-bold-line-height: 2.5rem;\n --mds-font-apps-heading-large-bold-font-size: 2rem;\n --mds-font-apps-heading-large-bold-text-case: none;\n --mds-font-apps-heading-large-bold-text-decoration: none;\n --mds-font-apps-heading-xlarge-regular-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-xlarge-regular-font-weight: 400;\n --mds-font-apps-heading-xlarge-regular-line-height: 3.25rem;\n --mds-font-apps-heading-xlarge-regular-font-size: 2.5rem;\n --mds-font-apps-heading-xlarge-regular-text-case: none;\n --mds-font-apps-heading-xlarge-regular-text-decoration: none;\n --mds-font-apps-heading-xlarge-medium-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-xlarge-medium-font-weight: 500;\n --mds-font-apps-heading-xlarge-medium-line-height: 3.25rem;\n --mds-font-apps-heading-xlarge-medium-font-size: 2.5rem;\n --mds-font-apps-heading-xlarge-medium-text-case: none;\n --mds-font-apps-heading-xlarge-medium-text-decoration: none;\n --mds-font-apps-heading-xlarge-bold-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-xlarge-bold-font-weight: 700;\n --mds-font-apps-heading-xlarge-bold-line-height: 3.25rem;\n --mds-font-apps-heading-xlarge-bold-font-size: 2.5rem;\n --mds-font-apps-heading-xlarge-bold-text-case: none;\n --mds-font-apps-heading-xlarge-bold-text-decoration: none;\n --mds-font-apps-headline-small-light-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-headline-small-light-font-weight: 300;\n --mds-font-apps-headline-small-light-font-size: 3.25rem;\n --mds-font-apps-headline-small-light-line-height: 4rem;\n --mds-font-apps-headline-small-light-text-decoration: none;\n --mds-font-apps-headline-small-light-text-case: none;\n --mds-font-apps-headline-small-regular-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-headline-small-regular-font-weight: 400;\n --mds-font-apps-headline-small-regular-font-size: 3.25rem;\n --mds-font-apps-headline-small-regular-line-height: 4rem;\n --mds-font-apps-headline-small-regular-text-decoration: none;\n --mds-font-apps-headline-small-regular-text-case: none;\n}\n.mds-effect {\n --mds-effect-backdrop-filter: blur(10px);\n}\n.mds-elevation {\n --mds-elevation-1: drop-shadow(0px 2px 8px rgba(0,0,0,0.2));\n --mds-elevation-2: drop-shadow(0px 4px 16px rgba(0,0,0,0.2));\n --mds-elevation-3: drop-shadow(0px 6px 24px rgba(0,0,0,0.25));\n --mds-elevation-4: drop-shadow(0px 12px 48px rgba(0,0,0,0.25));\n}\n",""]);const s=a},611:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(63),o=n.n(r),i=n(248),a=n.n(i)()(o());a.push([e.id,".light-theme.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}.light-theme .sectionBox{padding:10px;border:1px solid #ddd;border-radius:8px}.light-theme .fieldset{border:1px solid #ccc;border-radius:5px;padding:10px;margin-bottom:20px;position:relative}.light-theme .legendBox{font-weight:bold;color:#0052bf}.light-theme .btn{padding:10px 20px;background-color:#0052bf;color:#fff;border:none;border-radius:4px;cursor:pointer;transition:background-color .3s;margin-right:8px}.light-theme .select{width:100%;padding:8px;margin-top:8px;margin-bottom:12px;border:1px solid #ccc;border-radius:4px}.light-theme .input{width:97%;padding:8px;margin-top:8px;margin-bottom:12px;border:1px solid #ccc;border-radius:4px}.light-theme .elapsedTime{position:absolute;right:30px;top:25px;color:#000}.light-theme .elapsedTime-disabled{color:#ccc}.dark-theme.box{background-color:#1e1e1e;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,.5);padding:20px;max-width:800px;margin:0 auto}.dark-theme .sectionBox{padding:10px;border:1px solid #444;border-radius:8px}.dark-theme .fieldset{border:1px solid #555;border-radius:5px;padding:10px;margin-bottom:20px;position:relative}.dark-theme .legendBox{font-weight:bold;color:#79a6d2}.dark-theme .btn{padding:10px 20px;background-color:#79a6d2;color:#1e1e1e;border:none;border-radius:4px;cursor:pointer;transition:background-color .3s;margin-right:8px}.dark-theme .select{width:100%;padding:8px;margin-top:8px;margin-bottom:12px;border:1px solid #555;border-radius:4px;background-color:#2a2a2a;color:#fff}.dark-theme .input{width:97%;padding:8px;margin-top:8px;margin-bottom:12px;border:1px solid #555;border-radius:4px;background-color:#2a2a2a;color:#fff}.dark-theme .elapsedTime{position:absolute;right:30px;top:25px;color:#ddd}.dark-theme .elapsedTime-disabled{color:#777}",""]);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,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);r&&a[d[0]]||(void 0!==i&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=i),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),o&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=o):d[4]="".concat(o)),t.push(d))}},t}},243:e=>{e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},63:e=>{e.exports=function(e){return e[1]}},378:(e,t,n)=>{n.r(t),n.d(t,{default:()=>g});var r=n(478),o=n.n(r),i=n(135),a=n.n(i),s=n(301),l=n.n(s),c=n(222),d=n.n(c),u=n(626),f=n.n(u),m=n(279),h=n.n(m),p=n(489),v={};v.styleTagTransform=h(),v.setAttributes=d(),v.insert=l().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=f(),o()(p.A,v);const g=p.A&&p.A.locals?p.A.locals:void 0},576:(e,t,n)=>{n.r(t),n.d(t,{default:()=>g});var r=n(478),o=n.n(r),i=n(135),a=n.n(i),s=n(301),l=n.n(s),c=n(222),d=n.n(c),u=n(626),f=n.n(u),m=n(279),h=n.n(m),p=n(245),v={};v.styleTagTransform=h(),v.setAttributes=d(),v.insert=l().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=f(),o()(p.A,v);const g=p.A&&p.A.locals?p.A.locals:void 0},126:(e,t,n)=>{n.r(t),n.d(t,{default:()=>g});var r=n(478),o=n.n(r),i=n(135),a=n.n(i),s=n(301),l=n.n(s),c=n(222),d=n.n(c),u=n(626),f=n.n(u),m=n(279),h=n.n(m),p=n(611),v={};v.styleTagTransform=h(),v.setAttributes=d(),v.insert=l().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=f(),o()(p.A,v);const g=p.A&&p.A.locals?p.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 i={},a=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],d=i[c]||0,u="".concat(c," ").concat(d);i[c]=d+1;var f=n(u),m={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(m);else{var h=o(m,r);r.byIndex=s,t.splice(s,0,{identifier:u,updater:h,references:1})}a.push(u)}return a}function o(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,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=n(i[a]);t[s].references--}for(var l=r(e,o),c=0;c<i.length;c++){var d=n(i[c]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}i=l}}},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 o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),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))}}},637:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(953)),i=n(185),a=n(417);n(126),t.default=e=>{const{idleCodes:t,setAgentStatus:n,isSettingAgentStatus:r,errorMessage:s,elapsedTime:l,currentState:c,currentTheme:d}=e;return o.default.createElement("div",{className:"box "+("DARK"===d?"dark-theme":"light-theme")},o.default.createElement("section",{className:"sectionBox"},o.default.createElement("fieldset",{className:"fieldset"},o.default.createElement("legend",{"data-testid":"user-state-title",className:"legendBox"},"Agent State"),o.default.createElement("div",{style:{display:"flex",flexDirection:"column",flexGrow:1}}),o.default.createElement("select",{id:"idleCodes",value:c,className:"select",onChange:e=>{const r=null==t?void 0:t.filter((t=>t.id===e.target.value))[0];n(r)},disabled:r},null==t?void 0:t.filter((e=>!e.isSystem)).map((e=>o.default.createElement("option",{key:e.id,value:e.id},e.name)))),o.default.createElement(a.Button,{variant:"primary",size:32,color:"default","prefix-icon":"","postfix-icon":"",type:"button",role:"button","aria-label":""},"Click Me"),o.default.createElement("div",{className:"elapsedTime "+(r?"elapsedTime-disabled":"")},(0,i.formatTime)(l)),s&&o.default.createElement("div",{style:{color:"red"}},s))))}},156: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.UserStateComponent=void 0;const o=r(n(637));t.UserStateComponent=o.default,n(378),n(576)},185:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.formatTime=void 0,t.formatTime=e=>{const t=Math.floor(e/3600),n=Math.floor(e%3600/60),r=e%60;return`${t.toString().padStart(2,"0")}:${n.toString().padStart(2,"0")}:${r.toString().padStart(2,"0")}`}},28:(e,t,n)=>{e.exports=n.p+"fonts/Inter.var.woff2"},953:e=>{e.exports=n(953)},603:(e,t,n)=>{n.d(t,{G:()=>i,DT:()=>l,q6:()=>o});class r extends Event{constructor(e,t,n){super("context-request",{bubbles:!0,composed:!0}),this.context=e,this.callback=t,this.subscribe=n??!1}}function o(e){return e}class i{constructor(e,t,n,r){if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(e,t)=>{this.unsubscribe&&(this.unsubscribe!==t&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=e,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(e,t)),this.unsubscribe=t},this.host=e,void 0!==t.context){const e=t;this.context=e.context,this.callback=e.callback,this.subscribe=e.subscribe??!1}else this.context=t,this.callback=n,this.subscribe=r??!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new r(this.context,this.t,this.subscribe))}}class a{get value(){return this.o}set value(e){this.setValue(e)}setValue(e,t=!1){const n=t||!Object.is(e,this.o);this.o=e,n&&this.updateObservers()}constructor(e){this.subscriptions=new Map,this.updateObservers=()=>{for(const[e,{disposer:t}]of this.subscriptions)e(this.o,t)},void 0!==e&&(this.value=e)}addCallback(e,t,n){if(!n)return void e(this.value);this.subscriptions.has(e)||this.subscriptions.set(e,{disposer:()=>{this.subscriptions.delete(e)},consumerHost:t});const{disposer:r}=this.subscriptions.get(e);e(this.value,r)}clearCallbacks(){this.subscriptions.clear()}}class s extends Event{constructor(e){super("context-provider",{bubbles:!0,composed:!0}),this.context=e}}class l extends a{constructor(e,t,n){super(void 0!==t.context?t.initialValue:n),this.onContextRequest=e=>{const t=e.composedPath()[0];e.context===this.context&&t!==this.host&&(e.stopPropagation(),this.addCallback(e.callback,t,e.subscribe))},this.onProviderRequest=e=>{const t=e.composedPath()[0];if(e.context!==this.context||t===this.host)return;const n=new Set;for(const[e,{consumerHost:t}]of this.subscriptions)n.has(e)||(n.add(e),t.dispatchEvent(new r(this.context,e,!0)));e.stopPropagation()},this.host=e,void 0!==t.context?this.context=t.context:this.context=t,this.attachListeners(),this.host.addController?.(this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new s(this.context))}}},934:(e,t,n)=>{n.d(t,{mN:()=>k,AH:()=>l,W3:()=>x,Ec:()=>w});const r=globalThis,o=r.ShadowRoot&&(void 0===r.ShadyCSS||r.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),a=new WeakMap;class s{constructor(e,t,n){if(this._$cssResult$=!0,n!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(o&&void 0===e){const n=void 0!==t&&1===t.length;n&&(e=a.get(t)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&a.set(t,e))}return e}toString(){return this.cssText}}const l=(e,...t)=>{const n=1===e.length?e[0]:t.reduce(((t,n,r)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+e[r+1]),e[0]);return new s(n,e,i)},c=o?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const n of e.cssRules)t+=n.cssText;return(e=>new s("string"==typeof e?e:e+"",void 0,i))(t)})(e):e,{is:d,defineProperty:u,getOwnPropertyDescriptor:f,getOwnPropertyNames:m,getOwnPropertySymbols:h,getPrototypeOf:p}=Object,v=globalThis,g=v.trustedTypes,b=g?g.emptyScript:"",y=v.reactiveElementPolyfillSupport,_=(e,t)=>e,x={toAttribute(e,t){switch(t){case Boolean:e=e?b:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=null!==e;break;case Number:n=null===e?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch(e){n=null}}return n}},w=(e,t)=>!d(e,t),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:w};Symbol.metadata??=Symbol("metadata"),v.litPropertyMetadata??=new WeakMap;class k extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=O){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){const n=Symbol(),r=this.getPropertyDescriptor(e,n,t);void 0!==r&&u(this.prototype,e,r)}}static getPropertyDescriptor(e,t,n){const{get:r,set:o}=f(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};return{get(){return r?.call(this)},set(t){const i=r?.call(this);o.call(this,t),this.requestUpdate(e,i,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??O}static _$Ei(){if(this.hasOwnProperty(_("elementProperties")))return;const e=p(this);e.finalize(),void 0!==e.l&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(_("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(_("properties"))){const e=this.properties,t=[...m(e),...h(e)];for(const n of t)this.createProperty(n,e[n])}const e=this[Symbol.metadata];if(null!==e){const t=litPropertyMetadata.get(e);if(void 0!==t)for(const[e,n]of t)this.elementProperties.set(e,n)}this._$Eh=new Map;for(const[e,t]of this.elementProperties){const n=this._$Eu(e,t);void 0!==n&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const n=new Set(e.flat(1/0).reverse());for(const e of n)t.unshift(c(e))}else void 0!==e&&t.push(c(e));return t}static _$Eu(e,t){const n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((e=>e(this)))}addController(e){(this._$EO??=new Set).add(e),void 0!==this.renderRoot&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){const e=new Map,t=this.constructor.elementProperties;for(const n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((e,t)=>{if(o)e.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(const n of t){const t=document.createElement("style"),o=r.litNonce;void 0!==o&&t.setAttribute("nonce",o),t.textContent=n.cssText,e.appendChild(t)}})(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((e=>e.hostConnected?.()))}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach((e=>e.hostDisconnected?.()))}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EC(e,t){const n=this.constructor.elementProperties.get(e),r=this.constructor._$Eu(e,n);if(void 0!==r&&!0===n.reflect){const o=(void 0!==n.converter?.toAttribute?n.converter:x).toAttribute(t,n.type);this._$Em=e,null==o?this.removeAttribute(r):this.setAttribute(r,o),this._$Em=null}}_$AK(e,t){const n=this.constructor,r=n._$Eh.get(e);if(void 0!==r&&this._$Em!==r){const e=n.getPropertyOptions(r),o="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==e.converter?.fromAttribute?e.converter:x;this._$Em=r,this[r]=o.fromAttribute(t,e.type),this._$Em=null}}requestUpdate(e,t,n){if(void 0!==e){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??w)(this[e],t))return;this.P(e,t,n)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(e,t,n){this._$AL.has(e)||this._$AL.set(e,t),!0===n.reflect&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}const e=this.constructor.elementProperties;if(e.size>0)for(const[t,n]of e)!0!==n.wrapped||this._$AL.has(t)||void 0===this[t]||this.P(t,this[t],n)}let e=!1;const t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach((e=>e.hostUpdate?.())),this.update(t)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach((e=>e.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach((e=>this._$EC(e,this[e]))),this._$EU()}updated(e){}firstUpdated(e){}}k.elementStyles=[],k.shadowRootOptions={mode:"open"},k[_("elementProperties")]=new Map,k[_("finalized")]=new Map,y?.({ReactiveElement:k}),(v.reactiveElementVersions??=[]).push("2.0.4")},452:(e,t,n)=>{n.d(t,{XX:()=>B,c0:()=>k,qy:()=>O,s6:()=>S});const r=globalThis,o=r.trustedTypes,i=o?o.createPolicy("lit-html",{createHTML:e=>e}):void 0,a="$lit$",s=`lit$${Math.random().toFixed(9).slice(2)}$`,l="?"+s,c=`<${l}>`,d=document,u=()=>d.createComment(""),f=e=>null===e||"object"!=typeof e&&"function"!=typeof e,m=Array.isArray,h="[ \t\n\f\r]",p=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,g=/>/g,b=RegExp(`>|${h}(?:([^\\s"'>=/]+)(${h}*=${h}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),y=/'/g,_=/"/g,x=/^(?:script|style|textarea|title)$/i,w=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),O=w(1),k=(w(2),w(3),Symbol.for("lit-noChange")),S=Symbol.for("lit-nothing"),A=new WeakMap,E=d.createTreeWalker(d,129);function T(e,t){if(!m(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==i?i.createHTML(t):t}const j=(e,t)=>{const n=e.length-1,r=[];let o,i=2===t?"<svg>":3===t?"<math>":"",l=p;for(let t=0;t<n;t++){const n=e[t];let d,u,f=-1,m=0;for(;m<n.length&&(l.lastIndex=m,u=l.exec(n),null!==u);)m=l.lastIndex,l===p?"!--"===u[1]?l=v:void 0!==u[1]?l=g:void 0!==u[2]?(x.test(u[2])&&(o=RegExp("</"+u[2],"g")),l=b):void 0!==u[3]&&(l=b):l===b?">"===u[0]?(l=o??p,f=-1):void 0===u[1]?f=-2:(f=l.lastIndex-u[2].length,d=u[1],l=void 0===u[3]?b:'"'===u[3]?_:y):l===_||l===y?l=b:l===v||l===g?l=p:(l=b,o=void 0);const h=l===b&&e[t+1].startsWith("/>")?" ":"";i+=l===p?n+c:f>=0?(r.push(d),n.slice(0,f)+a+n.slice(f)+s+h):n+s+(-2===f?t:h)}return[T(e,i+(e[n]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),r]};class P{constructor({strings:e,_$litType$:t},n){let r;this.parts=[];let i=0,c=0;const d=e.length-1,f=this.parts,[m,h]=j(e,t);if(this.el=P.createElement(m,n),E.currentNode=this.el.content,2===t||3===t){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(r=E.nextNode())&&f.length<d;){if(1===r.nodeType){if(r.hasAttributes())for(const e of r.getAttributeNames())if(e.endsWith(a)){const t=h[c++],n=r.getAttribute(e).split(s),o=/([.?@])?(.*)/.exec(t);f.push({type:1,index:i,name:o[2],strings:n,ctor:"."===o[1]?M:"?"===o[1]?I:"@"===o[1]?L:z}),r.removeAttribute(e)}else e.startsWith(s)&&(f.push({type:6,index:i}),r.removeAttribute(e));if(x.test(r.tagName)){const e=r.textContent.split(s),t=e.length-1;if(t>0){r.textContent=o?o.emptyScript:"";for(let n=0;n<t;n++)r.append(e[n],u()),E.nextNode(),f.push({type:2,index:++i});r.append(e[t],u())}}}else if(8===r.nodeType)if(r.data===l)f.push({type:2,index:i});else{let e=-1;for(;-1!==(e=r.data.indexOf(s,e+1));)f.push({type:7,index:i}),e+=s.length-1}i++}}static createElement(e,t){const n=d.createElement("template");return n.innerHTML=e,n}}function C(e,t,n=e,r){if(t===k)return t;let o=void 0!==r?n._$Co?.[r]:n._$Cl;const i=f(t)?void 0:t._$litDirective$;return o?.constructor!==i&&(o?._$AO?.(!1),void 0===i?o=void 0:(o=new i(e),o._$AT(e,n,r)),void 0!==r?(n._$Co??=[])[r]=o:n._$Cl=o),void 0!==o&&(t=C(e,o._$AS(e,t.values),o,r)),t}class R{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:t},parts:n}=this._$AD,r=(e?.creationScope??d).importNode(t,!0);E.currentNode=r;let o=E.nextNode(),i=0,a=0,s=n[0];for(;void 0!==s;){if(i===s.index){let t;2===s.type?t=new N(o,o.nextSibling,this,e):1===s.type?t=new s.ctor(o,s.name,s.strings,this,e):6===s.type&&(t=new D(o,this,e)),this._$AV.push(t),s=n[++a]}i!==s?.index&&(o=E.nextNode(),i++)}return E.currentNode=d,r}p(e){let t=0;for(const n of this._$AV)void 0!==n&&(void 0!==n.strings?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}}class N{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,r){this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===e?.nodeType&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=C(this,e,t),f(e)?e===S||null==e||""===e?(this._$AH!==S&&this._$AR(),this._$AH=S):e!==this._$AH&&e!==k&&this._(e):void 0!==e._$litType$?this.$(e):void 0!==e.nodeType?this.T(e):(e=>m(e)||"function"==typeof e?.[Symbol.iterator])(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==S&&f(this._$AH)?this._$AA.nextSibling.data=e:this.T(d.createTextNode(e)),this._$AH=e}$(e){const{values:t,_$litType$:n}=e,r="number"==typeof n?this._$AC(e):(void 0===n.el&&(n.el=P.createElement(T(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===r)this._$AH.p(t);else{const e=new R(r,this),n=e.u(this.options);e.p(t),this.T(n),this._$AH=e}}_$AC(e){let t=A.get(e.strings);return void 0===t&&A.set(e.strings,t=new P(e)),t}k(e){m(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let n,r=0;for(const o of e)r===t.length?t.push(n=new N(this.O(u()),this.O(u()),this,this.options)):n=t[r],n._$AI(o),r++;r<t.length&&(this._$AR(n&&n._$AB.nextSibling,r),t.length=r)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){void 0===this._$AM&&(this._$Cv=e,this._$AP?.(e))}}class z{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,r,o){this.type=1,this._$AH=S,this._$AN=void 0,this.element=e,this.name=t,this._$AM=r,this.options=o,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=S}_$AI(e,t=this,n,r){const o=this.strings;let i=!1;if(void 0===o)e=C(this,e,t,0),i=!f(e)||e!==this._$AH&&e!==k,i&&(this._$AH=e);else{const r=e;let a,s;for(e=o[0],a=0;a<o.length-1;a++)s=C(this,r[n+a],t,a),s===k&&(s=this._$AH[a]),i||=!f(s)||s!==this._$AH[a],s===S?e=S:e!==S&&(e+=(s??"")+o[a+1]),this._$AH[a]=s}i&&!r&&this.j(e)}j(e){e===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class M extends z{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===S?void 0:e}}class I extends z{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==S)}}class L extends z{constructor(e,t,n,r,o){super(e,t,n,r,o),this.type=5}_$AI(e,t=this){if((e=C(this,e,t,0)??S)===k)return;const n=this._$AH,r=e===S&&n!==S||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,o=e!==S&&(n===S||r);r&&this.element.removeEventListener(this.name,this,n),o&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}}class D{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){C(this,e)}}const V=r.litHtmlPolyfillSupport;V?.(P,N),(r.litHtmlVersions??=[]).push("3.2.1");const B=(e,t,n)=>{const r=n?.renderBefore??t;let o=r._$litPart$;if(void 0===o){const e=n?.renderBefore??null;r._$litPart$=o=new N(t.insertBefore(u(),e),e,void 0,n??{})}return o._$AI(e),o}},477:(e,t,n)=>{n.d(t,{MZ:()=>a,wk:()=>s});var r=n(934);const o={attribute:!0,type:String,converter:r.W3,reflect:!1,hasChanged:r.Ec},i=(e=o,t,n)=>{const{kind:r,metadata:i}=n;let a=globalThis.litPropertyMetadata.get(i);if(void 0===a&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(n.name,e),"accessor"===r){const{name:r}=n;return{set(n){const o=t.get.call(this);t.set.call(this,n),this.requestUpdate(r,o,e)},init(t){return void 0!==t&&this.P(r,void 0,e),t}}}if("setter"===r){const{name:r}=n;return function(n){const o=this[r];t.call(this,n),this.requestUpdate(r,o,e)}}throw Error("Unsupported decorator location: "+r)};function a(e){return(t,n)=>"object"==typeof n?i(e,t,n):((e,t,n)=>{const r=t.hasOwnProperty(n);return t.constructor.createProperty(n,r?{...e,wrapped:!0}:e),r?Object.getOwnPropertyDescriptor(t,n):void 0})(e,t,n)}function s(e){return a({...e,state:!0,attribute:!1})}},918:(e,t,n)=>{n.d(t,{WF:()=>i,AH:()=>r.AH,qy:()=>o.qy,s6:()=>o.s6});var r=n(934),o=n(452);class i extends r.mN{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=(0,o.XX)(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return o.c0}}i._$litElement$=!0,i.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:i});const a=globalThis.litElementPolyfillSupport;a?.({LitElement:i}),(globalThis.litElementVersions??=[]).push("4.1.1")}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={id:e,exports:{}};return t[e].call(i.exports,i,i.exports,o),i.exports}o.m=t,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="",o.b=document.baseURI||self.location.href,o.nc=void 0;var i=o(156);e.exports=i})()},306:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useUserState=void 0;const o=n(953),i=r(n(768));t.useUserState=({idleCodes:e,agentId:t,cc:n,currentState:r,lastStateChangeTimestamp:a})=>{const[s,l]=(0,o.useState)(!1),[c,d]=(0,o.useState)(""),[u,f]=(0,o.useState)(0),m=(0,o.useRef)(null),h="\n let intervalId;\n\n const startTimer = (startTime) => {\n if (intervalId) clearInterval(intervalId);\n intervalId = setInterval(() => {\n const elapsedTime = Math.floor((Date.now() - startTime) / 1000);\n self.postMessage(elapsedTime);\n }, 1000);\n };\n\n self.onmessage = (event) => {\n if (event.data.type === 'start' || event.data.type === 'reset') {\n const startTime = event.data.startTime;\n startTimer(startTime);\n }\n };\n ";return(0,o.useEffect)((()=>{const e=new Blob([h],{type:"application/javascript"}),t=URL.createObjectURL(e);m.current=new Worker(t),m.current.postMessage({type:"start",startTime:Date.now()}),m.current.onmessage=e=>{f(e.data)}}),[]),(0,o.useEffect)((()=>{if(m.current){m.current.terminate();const e=new Blob([h],{type:"application/javascript"}),t=URL.createObjectURL(e);if(m.current=new Worker(t),m.current.onmessage=e=>{f(e.data)},a){const e=new Date,t=Math.floor(Math.abs(e.getTime()-a.getTime())/1e3);f(t),m.current.postMessage({type:"reset",startTime:a.getTime()})}else m.current.postMessage({type:"start",startTime:Date.now()})}return()=>{var e;null===(e=m.current)||void 0===e||e.terminate()}}),[r]),{idleCodes:e,setAgentStatus:e=>{const{auxCodeId:r,state:o}={auxCodeId:e.id,state:e.name};l(!0);const a="Available"===o?"Available":"Idle";n.setAgentState({state:a,auxCodeId:r,agentId:t,lastStateChangeReason:o}).then((e=>{i.default.setCurrentState(e.data.auxCodeId),i.default.setLastStateChangeTimestamp(new Date(e.data.lastStateChangeTimestamp))})).catch((e=>{d(e.toString())})).finally((()=>{l(!1)}))},isSettingAgentStatus:s,errorMessage:c,elapsedTime:u,currentState:r}}},994:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.UserState=void 0;const o=r(n(953)),i=r(n(768)),a=n(62),s=n(306),l=n(436),c=(0,a.observer)((()=>{const{cc:e,idleCodes:t,agentId:n,currentTheme:r,currentState:a,lastStateChangeTimestamp:c}=i.default,d=Object.assign(Object.assign({},(0,s.useUserState)({idleCodes:t,agentId:n,cc:e,currentState:a,lastStateChangeTimestamp:c})),{currentTheme:r});return o.default.createElement(l.UserStateComponent,Object.assign({},d))}));t.UserState=c},768:e=>{"use strict";e.exports=n(768)},953:e=>{"use strict";e.exports=n(953)}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={exports:{}};return t[e].call(i.exports,i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";var e=i;Object.defineProperty(e,"__esModule",{value:!0}),e.UserState=void 0;const t=o(994);Object.defineProperty(e,"UserState",{enumerable:!0,get:function(){return t.UserState}})})(),e.exports=i})()},768:e=>{"use strict";e.exports=require("@webex/cc-store")},953:e=>{"use strict";e.exports=require("react")},180:e=>{"use strict";e.exports=require("react-dom")}},t={},n=function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}(156);module.exports=n})();
1392
+ `]}},974:(e,t,n)=>{n.d(t,{A:()=>o});const r={NAMESPACE:{PREFIX:"mdc",SEPARATOR:"-"}},o={constructTagName:e=>[r.NAMESPACE.PREFIX,e].join(r.NAMESPACE.SEPARATOR)}},489:(e,t,n)=>{n.d(t,{A:()=>f});var r=n(63),o=n.n(r),i=n(248),a=n.n(i),s=n(243),l=n.n(s),c=new URL(n(28),n.b),d=a()(o()),u=l()(c);d.push([e.id,`@font-face {\n font-family: "Momentum";\n src: url(${u}) format("woff2");\n font-style: normal;\n font-display: swap;\n /* Required for Safari support */\n font-weight: 1 1000; \n}`,""]);const f=d},245:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(63),o=n.n(r),i=n(248),a=n.n(i)()(o());a.push([e.id,".mds-theme-stable-darkWebex {\n --mds-color-theme-text-primary-normal: #fffffff2;\n --mds-color-theme-text-primary-disabled: #ffffff66;\n --mds-color-theme-text-secondary-normal: #ffffffb3;\n --mds-color-theme-text-error-normal: #fc8b98;\n --mds-color-theme-text-error-hover: #ffd4da;\n --mds-color-theme-text-error-active: #ffd4da;\n --mds-color-theme-text-success-normal: #3cc29a;\n --mds-color-theme-text-success-hover: #9fedd8;\n --mds-color-theme-text-success-active: #9fedd8;\n --mds-color-theme-text-warning-normal: #f2990a;\n --mds-color-theme-text-warning-hover: #ffda94;\n --mds-color-theme-text-warning-active: #ffda94;\n --mds-color-theme-text-highlight: #063a75;\n --mds-color-theme-text-accent-normal: #64b4fa;\n --mds-color-theme-text-accent-hover: #bfe3ff;\n --mds-color-theme-text-accent-active: #bfe3ff;\n --mds-color-theme-text-teamdefault-normal: #ffffffb3;\n --mds-color-theme-text-teamdefault-hover: #ffffffb3;\n --mds-color-theme-text-teamdefault-active: #fffffff2;\n --mds-color-theme-text-alert-purple-normal: #f294f1;\n --mds-color-theme-text-alert-purple-hover: #fce1fc;\n --mds-color-theme-text-alert-purple-active: #fce1fc;\n --mds-color-theme-text-alert-orange-normal: #fd884e;\n --mds-color-theme-text-alert-orange-hover: #fed5ac;\n --mds-color-theme-text-alert-orange-active: #fed5ac;\n --mds-color-theme-text-team-cobalt-normal: #5ebff7;\n --mds-color-theme-text-team-cobalt-hover: #5ebff7;\n --mds-color-theme-text-team-cobalt-active: #c7eeff;\n --mds-color-theme-text-team-cyan-normal: #22c7d6;\n --mds-color-theme-text-team-cyan-hover: #22c7d6;\n --mds-color-theme-text-team-cyan-active: #b2f4f7;\n --mds-color-theme-text-team-mint-normal: #30c9b0;\n --mds-color-theme-text-team-mint-hover: #baf5e7;\n --mds-color-theme-text-team-mint-active: #baf5e7;\n --mds-color-theme-text-team-lime-normal: #93c437;\n --mds-color-theme-text-team-lime-hover: #93c437;\n --mds-color-theme-text-team-lime-active: #ddf2ae;\n --mds-color-theme-text-team-gold-normal: #d6b220;\n --mds-color-theme-text-team-gold-hover: #d6b220;\n --mds-color-theme-text-team-gold-active: #f5eaa2;\n --mds-color-theme-text-team-orange-normal: #fd884e;\n --mds-color-theme-text-team-orange-hover: #fd884e;\n --mds-color-theme-text-team-orange-active: #fed5ac;\n --mds-color-theme-text-team-pink-normal: #fc97aa;\n --mds-color-theme-text-team-pink-hover: #fc97aa;\n --mds-color-theme-text-team-pink-active: #ffe0e7;\n --mds-color-theme-text-team-purple-normal: #f294f1;\n --mds-color-theme-text-team-purple-hover: #f294f1;\n --mds-color-theme-text-team-purple-active: #fce1fc;\n --mds-color-theme-text-team-violet-normal: #c7a5fa;\n --mds-color-theme-text-team-violet-hover: #c7a5fa;\n --mds-color-theme-text-team-violet-active: #f0e3fc;\n --mds-color-theme-text-team-slate-normal: #b0b4d9;\n --mds-color-theme-text-team-slate-hover: #b0b4d9;\n --mds-color-theme-text-team-slate-active: #e3e7fa;\n --mds-color-theme-inverted-text-primary-normal: #000000f2;\n --mds-color-theme-inverted-text-primary-disabled: #00000066;\n --mds-color-theme-inverted-text-secondary-normal: #000000b3;\n --mds-color-theme-inverted-text-accent-normal: #0353a8;\n --mds-color-theme-inverted-text-accent-hover: #0a274a;\n --mds-color-theme-inverted-text-accent-active: #0a274a;\n --mds-color-theme-inverted-background-normal: #ffffff;\n --mds-color-theme-inverted-button-primary-normal: #000000f2;\n --mds-color-theme-inverted-button-primary-hover: #000000cc;\n --mds-color-theme-inverted-button-primary-pressed: #000000b3;\n --mds-color-theme-inverted-button-primary-disabled: #00000033;\n --mds-color-theme-inverted-button-secondary-normal: #00000000;\n --mds-color-theme-inverted-button-secondary-hover: #00000012;\n --mds-color-theme-inverted-button-secondary-pressed: #00000033;\n --mds-color-theme-inverted-button-secondary-disabled: #00000000;\n --mds-color-theme-inverted-outline-button-normal: #00000080;\n --mds-color-theme-inverted-outline-primary-normal: #00000075;\n --mds-color-theme-inverted-outline-disabled-normal: #00000033;\n --mds-color-theme-inverted-outline-theme-normal: #1170cf;\n --mds-color-theme-inverted-control-active-normal: #1170cf;\n --mds-color-theme-inverted-control-active-hover: #0353a8;\n --mds-color-theme-inverted-control-active-pressed: #063a75;\n --mds-color-theme-inverted-control-active-active: #063a75;\n --mds-color-theme-inverted-control-active-disabled: #00000033;\n --mds-color-theme-inverted-control-inactive-normal: #8f8f8f;\n --mds-color-theme-inverted-control-inactive-hover: #0000004d;\n --mds-color-theme-inverted-control-inactive-pressed: #00000066;\n --mds-color-theme-inverted-control-inactive-disabled: #00000033;\n --mds-color-theme-background-primary-ghost: #ffffff00;\n --mds-color-theme-background-primary-hover: #ffffff12;\n --mds-color-theme-background-primary-active: #ffffff1c;\n --mds-color-theme-background-primary-disabled: #ffffff00;\n --mds-color-theme-background-solid-primary-normal: #000000;\n --mds-color-theme-background-solid-secondary-normal: #1a1a1a;\n --mds-color-theme-background-solid-tertiary-normal: #262626;\n --mds-color-theme-background-solid-quaternary-normal: #3b3b3b;\n --mds-color-theme-background-secondary-normal: #ffffff1c;\n --mds-color-theme-background-secondary-hover: #ffffff33;\n --mds-color-theme-background-secondary-active: #ffffff33;\n --mds-color-theme-background-secondary-disabled: #ffffff00;\n --mds-color-theme-background-accent-normal: #1170cf;\n --mds-color-theme-background-accent-active: #64b4fa;\n --mds-color-theme-background-alert-default-normal: #3b3b3b;\n --mds-color-theme-background-alert-default-hover: #3b3b3b;\n --mds-color-theme-background-alert-default-active: #545454;\n --mds-color-theme-background-alert-success-normal: #0e2b20;\n --mds-color-theme-background-alert-success-hover: #0e2b20;\n --mds-color-theme-background-alert-success-active: #134231;\n --mds-color-theme-background-alert-warning-normal: #36220c;\n --mds-color-theme-background-alert-warning-hover: #36220c;\n --mds-color-theme-background-alert-warning-active: #57330a;\n --mds-color-theme-background-alert-error-normal: #4f0e10;\n --mds-color-theme-background-alert-error-hover: #4f0e10;\n --mds-color-theme-background-alert-error-active: #780d13;\n --mds-color-theme-background-alert-theme-normal: #0a274a;\n --mds-color-theme-background-alert-theme-hover: #0a274a;\n --mds-color-theme-background-alert-theme-active: #063a75;\n --mds-color-theme-background-alert-purple-normal: #3b1840;\n --mds-color-theme-background-alert-purple-hover: #3b1840;\n --mds-color-theme-background-alert-purple-active: #601e66;\n --mds-color-theme-background-alert-orange-normal: #411b04;\n --mds-color-theme-background-alert-orange-hover: #411b04;\n --mds-color-theme-background-alert-orange-active: #682601;\n --mds-color-theme-background-label-cobalt-normal: #12283d;\n --mds-color-theme-background-label-cobalt-hover: #103c63;\n --mds-color-theme-background-label-cobalt-active: #08599c;\n --mds-color-theme-background-label-gold-normal: #30240d;\n --mds-color-theme-background-label-gold-hover: #4d370c;\n --mds-color-theme-background-label-gold-active: #735107;\n --mds-color-theme-background-label-lime-normal: #1e2b10;\n --mds-color-theme-background-label-lime-hover: #2d4214;\n --mds-color-theme-background-label-lime-active: #416116;\n --mds-color-theme-background-label-mint-normal: #102b2a;\n --mds-color-theme-background-label-mint-hover: #12423f;\n --mds-color-theme-background-label-mint-active: #12615a;\n --mds-color-theme-background-label-orange-normal: #411b04;\n --mds-color-theme-background-label-orange-hover: #682601;\n --mds-color-theme-background-label-orange-active: #9c3202;\n --mds-color-theme-background-label-pink-normal: #3b1e21;\n --mds-color-theme-background-label-pink-hover: #66262d;\n --mds-color-theme-background-label-pink-active: #a12a3a;\n --mds-color-theme-background-label-purple-normal: #3b1840;\n --mds-color-theme-background-label-purple-hover: #601e66;\n --mds-color-theme-background-label-purple-active: #932099;\n --mds-color-theme-background-label-slate-normal: #26262b;\n --mds-color-theme-background-label-slate-hover: #393a47;\n --mds-color-theme-background-label-slate-active: #535573;\n --mds-color-theme-background-label-violet-normal: #29223d;\n --mds-color-theme-background-label-violet-hover: #432c78;\n --mds-color-theme-background-label-violet-active: #643abd;\n --mds-color-theme-background-label-default-normal: #262626;\n --mds-color-theme-background-label-default-hover: #3b3b3b;\n --mds-color-theme-background-label-default-active: #545454;\n --mds-color-theme-background-label-error-normal: #4f0e10;\n --mds-color-theme-background-label-error-hover: #780d13;\n --mds-color-theme-background-label-error-active: #ab0a15;\n --mds-color-theme-background-namelabel-normal: #00000099;\n --mds-color-theme-background-gradient-primary-normal: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);\n --mds-color-theme-background-gradient-secondary-normal: linear-gradient(180deg, #262626 0%, #0f0f0f 100%);\n --mds-color-theme-background-reaction-normal: linear-gradient(90deg, #1a1a1ae6 0%, #1a1a1a00 100%);\n --mds-color-theme-background-skeleton-normal: linear-gradient(123deg, #ffffff33 0%, #ffffff4d 33.85%, #ffffff66 70.31%, #ffffff80 100%);\n --mds-color-theme-background-glass-normal: #00000066;\n --mds-color-theme-background-glass-overlay-normal: #000000cc;\n --mds-color-theme-background-glass-overlay-inactive: #00000066;\n --mds-color-theme-button-primary-normal: #fffffff2;\n --mds-color-theme-button-primary-hover: #ffffffcc;\n --mds-color-theme-button-primary-pressed: #ffffffb3;\n --mds-color-theme-button-primary-disabled: #ffffff33;\n --mds-color-theme-button-secondary-normal: #ffffff00;\n --mds-color-theme-button-secondary-hover: #ffffff12;\n --mds-color-theme-button-secondary-pressed: #ffffff33;\n --mds-color-theme-button-secondary-disabled: #ffffff00;\n --mds-color-theme-button-secondary-active-normal: #ffffff33;\n --mds-color-theme-button-secondary-active-hover: #ffffff4d;\n --mds-color-theme-button-secondary-active-pressed: #ffffff66;\n --mds-color-theme-button-secondary-active-disabled: #ffffff1c;\n --mds-color-theme-button-join-normal: #1d805f;\n --mds-color-theme-button-join-hover: #185e46;\n --mds-color-theme-button-join-pressed: #134231;\n --mds-color-theme-button-cancel-normal: #db1f2e;\n --mds-color-theme-button-cancel-hover: #ab0a15;\n --mds-color-theme-button-cancel-pressed: #780d13;\n --mds-color-theme-button-accent-normal: #1170cf;\n --mds-color-theme-button-accent-hover: #0353a8;\n --mds-color-theme-button-accent-pressed: #063a75;\n --mds-color-theme-button-glass-primary-normal: #ffffffcc;\n --mds-color-theme-button-glass-primary-hover: #ffffffb3;\n --mds-color-theme-button-glass-primary-pressed: #ffffff99;\n --mds-color-theme-outline-primary-normal: #ffffff66;\n --mds-color-theme-outline-primary-disabled: #ffffff33;\n --mds-color-theme-outline-theme-normal: #64b4fa;\n --mds-color-theme-outline-secondary-normal: #ffffff33;\n --mds-color-theme-outline-input-normal: #ffffff80;\n --mds-color-theme-outline-input-active: #ffffffe6;\n --mds-color-theme-outline-button-normal: #ffffff80;\n --mds-color-theme-outline-join-normal: #3cc29a;\n --mds-color-theme-outline-cancel-normal: #fc8b98;\n --mds-color-theme-outline-share-selected: #27a17a;\n --mds-color-theme-outline-share-active: #ec6400;\n --mds-color-theme-outline-share-inactive: #8f8f8f;\n --mds-color-theme-outline-overlay-normal: #adadad;\n --mds-color-theme-outline-high-contrast-focus: #ffffff;\n --mds-color-theme-outline-label-cobalt: #5ebff7;\n --mds-color-theme-outline-label-gold: #d6b220;\n --mds-color-theme-outline-label-lime: #93c437;\n --mds-color-theme-outline-label-mint: #30c9b0;\n --mds-color-theme-outline-label-orange: #fd884e;\n --mds-color-theme-outline-label-pink: #fc97aa;\n --mds-color-theme-outline-label-purple: #f294f1;\n --mds-color-theme-outline-label-slate: #b0b4d9;\n --mds-color-theme-outline-label-violet: #c7a5fa;\n --mds-color-theme-outline-promotion-normal: #c233c4;\n --mds-color-theme-outline-gradient-active: linear-gradient(44deg, #3492eb 14.64%, #22c7d6 51.1%, #68debd 85.36%);\n --mds-color-theme-outline-warning-normal: #f2990a;\n --mds-color-theme-control-active-normal: #64b4fa;\n --mds-color-theme-control-active-hover: #3492eb;\n --mds-color-theme-control-active-pressed: #1170cf;\n --mds-color-theme-control-active-active: #1170cf;\n --mds-color-theme-control-active-disabled: #ffffff33;\n --mds-color-theme-control-indicator-inactive-normal: #8f8f8f;\n --mds-color-theme-control-inactive-normal: #ffffff1c;\n --mds-color-theme-control-inactive-hover: #ffffff33;\n --mds-color-theme-control-inactive-pressed: #ffffff4d;\n --mds-color-theme-control-inactive-disabled: #ffffff12;\n --mds-color-theme-overlay-meetings-normal: #000000b3;\n --mds-color-theme-overlay-button-secondary-normal: #0f0f0f;\n --mds-color-theme-overlay-button-secondary-hover: #262626;\n --mds-color-theme-overlay-button-secondary-pressed: #3b3b3b;\n --mds-color-theme-indicator-unstable: #ec6400;\n --mds-color-theme-indicator-attention: #f55868;\n --mds-color-theme-indicator-stable: #27a17a;\n --mds-color-theme-indicator-locked: #8f8f8f;\n --mds-color-theme-indicator-caution: #cf7900;\n --mds-color-theme-indicator-secure: #3492eb;\n --mds-color-theme-common-whiteboard-sticky-note-yellow: #ffbe4f;\n --mds-color-theme-common-whiteboard-sticky-note-red: #fc8b98;\n --mds-color-theme-common-whiteboard-sticky-note-purple: #f294f1;\n --mds-color-theme-common-whiteboard-sticky-note-cyan: #22c7d6;\n --mds-color-theme-common-whiteboard-sticky-note-mint: #30c9b0;\n --mds-color-theme-common-whiteboard-pen-black: #0f0f0f;\n --mds-color-theme-common-whiteboard-pen-red: #f55868;\n --mds-color-theme-common-whiteboard-pen-purple: #c233c4;\n --mds-color-theme-common-whiteboard-pen-blue: #64b4fa;\n --mds-color-theme-common-whiteboard-pen-green: #3cc29a;\n --mds-color-theme-common-whiteboard-pen-yellow: #f2990a;\n --mds-color-theme-common-whiteboard-pen-white: #ffffff;\n --mds-color-theme-common-text-primary-normal: #fffffff2;\n --mds-color-theme-common-text-primary-disabled: #ffffff66;\n --mds-color-theme-common-text-secondary-normal: #ffffffb3;\n --mds-color-theme-common-text-success-normal: #3cc29a;\n --mds-color-theme-common-text-success-hover: #9fedd8;\n --mds-color-theme-common-text-error-normal: #fc8b98;\n --mds-color-theme-common-text-error-hover: #ffd4da;\n --mds-color-theme-common-text-warning-normal: #f2990a;\n --mds-color-theme-common-text-warning-hover: #ffda94;\n --mds-color-theme-common-inverted-text-secondary-normal: #00000099;\n --mds-color-theme-common-inverted-text-primary-normal: #000000f2;\n --mds-color-theme-common-inverted-button-secondary-normal: #00000000;\n --mds-color-theme-common-inverted-button-secondary-hover: #00000012;\n --mds-color-theme-common-inverted-button-secondary-pressed: #00000033;\n --mds-color-theme-common-inverted-button-secondary-disabled: #00000000;\n --mds-color-theme-common-overlays-primary-normal: #000000e6;\n --mds-color-theme-common-overlays-secondary-normal: #00000066;\n --mds-color-theme-common-overlays-meeting-normal-0: #00000000;\n --mds-color-theme-common-overlays-meeting-normal-1: #0000004d;\n --mds-color-theme-common-overlays-meeting-normal-2: #000000cc;\n --mds-color-theme-common-button-primary-normal: #fffffff2;\n --mds-color-theme-common-button-primary-hover: #ffffffcc;\n --mds-color-theme-common-button-primary-pressed: #ffffffb3;\n --mds-color-theme-common-button-primary-disabled: #ffffff33;\n --mds-color-theme-common-button-secondary-normal: #ffffff00;\n --mds-color-theme-common-button-secondary-hover: #ffffff12;\n --mds-color-theme-common-button-secondary-active-normal: #ffffff33;\n --mds-color-theme-common-button-secondary-active-hover: #ffffff4d;\n --mds-color-theme-common-button-secondary-active-pressed: #ffffff66;\n --mds-color-theme-common-button-secondary-active-disabled: #ffffff1c;\n --mds-color-theme-common-button-secondary-disabled: #ffffff00;\n --mds-color-theme-common-button-join-animated-gradient-normal: linear-gradient(90deg, #30c9b0 0%, #64b4fa 51%, #30c9b0 100%);\n --mds-color-theme-common-button-promotion-normal: linear-gradient(45deg, #932099 0%, #a12a3a 100%);\n --mds-color-theme-common-button-promotion-hover: linear-gradient(45deg, #601e66 0%, #66262d 100%);\n --mds-color-theme-common-button-promotion-active: linear-gradient(45deg, #3b1840 0%, #3b1e21 100%);\n --mds-color-theme-common-outline-button-normal: #ffffff4d;\n --mds-color-theme-common-outline-primary-normal: #ffffff66;\n --mds-color-theme-common-outline-primary-disabled: #ffffff33;\n --mds-color-theme-common-outline-input-normal: #ffffff80;\n --mds-color-theme-common-outline-secondary-normal: #00000033;\n --mds-color-theme-common-outline-secondary-disabled: #00000033;\n --mds-color-theme-common-outline-warning-normal: #f2990a;\n --mds-color-theme-common-control-share-content-selected: #3cc29a;\n --mds-color-theme-common-control-share-content-active: #c94403;\n --mds-color-theme-common-control-share-content-inactive: #707070;\n --mds-color-theme-common-control-inactive-normal: #00000033;\n --mds-color-theme-common-background-alert-share-normal: #c94403;\n --mds-color-theme-common-background-solid-dark: #1a1a1a;\n --mds-color-theme-common-background-solid-light: #ffffff;\n --mds-color-theme-common-content-pdf: #ee0507;\n --mds-color-theme-common-content-word: #0078d6;\n --mds-color-theme-common-content-powerpoint: #d93e17;\n --mds-color-theme-common-content-excel: #00893e;\n --mds-color-theme-common-content-onenote: #b839db;\n --mds-color-theme-common-content-sheets: #f4b400;\n --mds-color-theme-common-content-slides: #0f9d58;\n --mds-color-theme-common-content-keynote: #029cfb;\n --mds-color-theme-common-content-doc: #4285f4;\n --mds-color-theme-common-touchbar-background-blue-normal: #1170cf;\n --mds-color-theme-common-touchbar-background-blue-pressed: #063a75;\n --mds-color-theme-common-touchbar-background-pink-normal: #d43b52;\n --mds-color-theme-common-touchbar-background-pink-pressed: #66262d;\n --mds-color-theme-common-touchbar-background-mint-normal: #148579;\n --mds-color-theme-common-touchbar-background-mint-pressed: #12423f;\n --mds-color-theme-common-touchbar-background-purple-normal: #c233c4;\n --mds-color-theme-common-touchbar-background-purple-pressed: #601e66;\n --mds-color-theme-common-touchbar-background-violet-normal: #875ae0;\n --mds-color-theme-common-touchbar-background-violet-pressed: #432c78;\n --mds-color-theme-common-touchbar-background-orange-normal: #c94403;\n --mds-color-theme-common-touchbar-background-orange-pressed: #682601;\n --mds-color-theme-common-touchbar-background-green-normal: #1d805f;\n --mds-color-theme-common-touchbar-background-green-pressed: #134231;\n --mds-color-theme-common-touchbar-background-red-normal: #db1f2e;\n --mds-color-theme-common-touchbar-background-red-pressed: #780d13;\n --mds-color-theme-common-touchbar-background-transparent: #00000000;\n --mds-color-theme-common-touchbar-icon-attention: #fc8b98;\n --mds-color-theme-common-touchbar-icon-stable: #27a17a;\n --mds-color-theme-common-touchbar-icon-secure: #64b4fa;\n --mds-color-theme-scrollbar-button-normal: #ffffff66;\n --mds-color-theme-scrollbar-button-hover: #ffffff80;\n --mds-color-theme-scrollbar-button-pressed: #ffffff99;\n --mds-color-theme-scrollbar-arrow-normal: #ffffffb3;\n --mds-color-theme-scrollbar-arrow-background-normal: #ffffff00;\n --mds-color-theme-scrollbar-arrow-background-hover: #ffffff33;\n --mds-color-theme-scrollbar-arrow-background-pressed: #ffffff4d;\n --mds-color-theme-scrollbar-background-secondary-ghost: #ffffff00;\n --mds-color-theme-scrollbar-background-secondary-normal: #ffffff1c;\n --mds-color-theme-illustrations-empty-primary-0: #93c437;\n --mds-color-theme-illustrations-empty-primary-1: #279be8;\n --mds-color-theme-illustrations-empty-secondary-0: #279be8;\n --mds-color-theme-illustrations-empty-secondary-1: #875ae0;\n --mds-color-theme-illustrations-onboarding-primary-0: #ffbe4f;\n --mds-color-theme-illustrations-onboarding-primary-1: #93c437;\n --mds-color-theme-illustrations-onboarding-secondary-0: #f55868;\n --mds-color-theme-illustrations-onboarding-secondary-1: #875ae0;\n --mds-color-theme-illustrations-onboarding-tertiary-0: #ffbe4f;\n --mds-color-theme-illustrations-onboarding-tertiary-1: #ec6400;\n --mds-color-theme-illustrations-onboarding-quartenary-0: #93c437;\n --mds-color-theme-illustrations-onboarding-quartenary-1: #279be8;\n --mds-color-theme-illustrations-onboarding-quinary-0: #279be8;\n --mds-color-theme-illustrations-onboarding-quinary-1: #875ae0;\n --mds-color-theme-illustrations-success-0: #3cc29a;\n --mds-color-theme-illustrations-success-1: #93c437;\n --mds-color-theme-illustrations-error-0: #f0677e;\n --mds-color-theme-illustrations-error-1: #db1f2e;\n --mds-color-theme-illustrations-default: #ffffff;\n --mds-color-theme-globaltint-normal: #3492eb;\n --mds-color-theme-globaltint-selected: #1170cf;\n --mds-color-theme-groupedbackground-primary-normal: #000000;\n --mds-color-theme-groupedbackground-secondary-normal: #1a1a1a;\n --mds-color-theme-groupedbackground-tertiary-normal: #262626;\n --mds-color-theme-groupedbackground-quaternary-normal: #3b3b3b;\n --mds-color-theme-gradientdivider-default-normal: linear-gradient(90deg, #ffffff00 0%, #ffffff33 22.4%, #ffffff33 72.4%, #ffffff00 100%);\n --mds-color-theme-gradientdivider-default-hover: linear-gradient(90deg, #ffffff00 0%, #ffffff99 22.4%, #ffffff99 72.4%, #ffffff00 100%);\n --mds-color-theme-gradientdivider-error-normal: linear-gradient(90deg, #fc8b9800 0%, #fc8b9899 22.4%, #fc8b9899 76.04%, #fc8b9800 100%);\n --mds-color-theme-gradientdivider-error-hover: linear-gradient(90deg, #fc8b9800 0%, #fc8b98e6 22.4%, #fc8b98e6 76.04%, #fc8b9800 100%);\n --mds-color-theme-gradientdivider-warning-normal: linear-gradient(90deg, #f2990a00 0%, #f2990a99 22.4%, #f2990a99 76.04%, #f2990a00 100%);\n --mds-color-theme-gradientdivider-warning-hover: linear-gradient(90deg, #f2990a00 0%, #f2990ae6 22.4%, #f2990ae6 76.04%, #f2990a00 100%);\n --mds-color-theme-gradientdivider-announce-normal: linear-gradient(90deg, #64b4fa00 0%, #64b4fa99 22.4%, #64b4fa99 76.04%, #64b4fa00 100%);\n --mds-color-theme-gradientdivider-announce-hover: linear-gradient(90deg, #64b4fa00 0%,#64b4faE6 22.4%, #64b4faE6 76.04%, #64b4fa00 100%);\n --mds-color-theme-gradientdivider-success-normal: linear-gradient(90deg, #3cc29a00 0%, #3cc29a99 22.4%, #3cc29a99 76.04%, #3cc29a00 100%);\n --mds-color-theme-gradientdivider-success-hover: linear-gradient(90deg, #3cc29a00 0%,#3cc29aE6 22.4%, #3cc29aE6 76.04%, #3cc29a00 100%);\n --mds-color-theme-gradientdivider-orange-normal: linear-gradient(90deg, #fd884e00 0%, #fd884e99 22.4%, #fd884e99 76.04%, #fd884e00 100%);\n --mds-color-theme-gradientdivider-orange-hover: linear-gradient(90deg, #fd884e00 0%,#fd884eE6 22.4%, #fd884eE6 76.04%, #fd884e00 100%);\n --mds-color-theme-gradientdivider-purple-normal: linear-gradient(90deg, #f294f100 0%, #f294f199 22.4%, #f294f199 76.04%, #f294f100 100%);\n --mds-color-theme-gradientdivider-purple-hover: linear-gradient(90deg, #f294f100 0%, #f294f1E6 22.4%, #f294f1E6 76.04%, #f294f100 100%);\n --mds-color-theme-gradientdivider-vertical-normal: linear-gradient(0deg, #ffffff00 0%, #ffffff33 22.4%, #ffffff33 72.4%, #ffffff00 100%);\n --mds-color-theme-gradientdivider-vertical-hover: linear-gradient(0deg, #ffffff00 0%, #ffffff99 22.4%, #ffffff99 72.4%, #ffffff00 100%);\n --mds-color-theme-avatar-default: #545454;\n --mds-color-theme-avatar-hover: #ffffff12;\n --mds-color-theme-avatar-pressed: #ffffff33;\n --mds-color-theme-avatar-cobalt: #08599c;\n --mds-color-theme-avatar-cyan: #066070;\n --mds-color-theme-avatar-gold: #735107;\n --mds-color-theme-avatar-lime: #416116;\n --mds-color-theme-avatar-mint: #12615a;\n --mds-color-theme-avatar-orange: #9c3202;\n --mds-color-theme-avatar-pink: #a12a3a;\n --mds-color-theme-avatar-purple: #932099;\n --mds-color-theme-avatar-slate: #535573;\n --mds-color-theme-avatar-violet: #643abd;\n --mds-color-theme-avatar-yellow: #7d4705;\n --mds-color-theme-avatar-glass-normal: #ffffff12;\n --mds-color-theme-avatar-glass-active: #ffffffcc;\n --mds-color-theme-focus-default-0: #000000;\n --mds-color-theme-focus-default-1: #64b4fa;\n --mds-color-theme-focus-default-2: #64b4fa59;\n}\n.mds-theme-stable-lightWebex {\n --mds-color-theme-text-primary-normal: #000000f2;\n --mds-color-theme-text-primary-disabled: #00000066;\n --mds-color-theme-text-secondary-normal: #000000b3;\n --mds-color-theme-text-error-normal: #ab0a15;\n --mds-color-theme-text-error-hover: #4f0e10;\n --mds-color-theme-text-error-active: #4f0e10;\n --mds-color-theme-text-success-normal: #185e46;\n --mds-color-theme-text-success-hover: #0e2b20;\n --mds-color-theme-text-success-active: #0e2b20;\n --mds-color-theme-text-warning-normal: #7d4705;\n --mds-color-theme-text-warning-hover: #36220c;\n --mds-color-theme-text-warning-active: #36220c;\n --mds-color-theme-text-highlight: #bfe3ff;\n --mds-color-theme-text-accent-normal: #0353a8;\n --mds-color-theme-text-accent-hover: #0a274a;\n --mds-color-theme-text-accent-active: #0a274a;\n --mds-color-theme-text-teamdefault-normal: #000000b3;\n --mds-color-theme-text-teamdefault-hover: #000000b3;\n --mds-color-theme-text-teamdefault-active: #000000f2;\n --mds-color-theme-text-alert-purple-normal: #932099;\n --mds-color-theme-text-alert-purple-hover: #3b1840;\n --mds-color-theme-text-alert-purple-active: #3b1840;\n --mds-color-theme-text-alert-orange-normal: #9c3202;\n --mds-color-theme-text-alert-orange-hover: #411b04;\n --mds-color-theme-text-alert-orange-active: #411b04;\n --mds-color-theme-text-team-cobalt-normal: #08599c;\n --mds-color-theme-text-team-cobalt-hover: #08599c;\n --mds-color-theme-text-team-cobalt-active: #12283d;\n --mds-color-theme-text-team-cyan-normal: #066070;\n --mds-color-theme-text-team-cyan-hover: #0b2a30;\n --mds-color-theme-text-team-cyan-active: #0b2a30;\n --mds-color-theme-text-team-mint-normal: #12615a;\n --mds-color-theme-text-team-mint-hover: #102b2a;\n --mds-color-theme-text-team-mint-active: #102b2a;\n --mds-color-theme-text-team-lime-normal: #416116;\n --mds-color-theme-text-team-lime-hover: #416116;\n --mds-color-theme-text-team-lime-active: #1e2b10;\n --mds-color-theme-text-team-gold-normal: #735107;\n --mds-color-theme-text-team-gold-hover: #735107;\n --mds-color-theme-text-team-gold-active: #30240d;\n --mds-color-theme-text-team-orange-normal: #9c3202;\n --mds-color-theme-text-team-orange-hover: #9c3202;\n --mds-color-theme-text-team-orange-active: #411b04;\n --mds-color-theme-text-team-pink-normal: #a12a3a;\n --mds-color-theme-text-team-pink-hover: #a12a3a;\n --mds-color-theme-text-team-pink-active: #3b1e21;\n --mds-color-theme-text-team-purple-normal: #932099;\n --mds-color-theme-text-team-purple-hover: #932099;\n --mds-color-theme-text-team-purple-active: #3b1840;\n --mds-color-theme-text-team-violet-normal: #643abd;\n --mds-color-theme-text-team-violet-hover: #643abd;\n --mds-color-theme-text-team-violet-active: #29223d;\n --mds-color-theme-text-team-slate-normal: #535573;\n --mds-color-theme-text-team-slate-hover: #535573;\n --mds-color-theme-text-team-slate-active: #26262b;\n --mds-color-theme-inverted-text-primary-normal: #fffffff2;\n --mds-color-theme-inverted-text-primary-disabled: #ffffff66;\n --mds-color-theme-inverted-text-secondary-normal: #ffffffb3;\n --mds-color-theme-inverted-text-accent-normal: #64b4fa;\n --mds-color-theme-inverted-text-accent-hover: #bfe3ff;\n --mds-color-theme-inverted-text-accent-active: #bfe3ff;\n --mds-color-theme-inverted-background-normal: #000000;\n --mds-color-theme-inverted-button-primary-normal: #fffffff2;\n --mds-color-theme-inverted-button-primary-hover: #ffffffcc;\n --mds-color-theme-inverted-button-primary-pressed: #ffffffb3;\n --mds-color-theme-inverted-button-primary-disabled: #ffffff33;\n --mds-color-theme-inverted-button-secondary-normal: #ffffff00;\n --mds-color-theme-inverted-button-secondary-hover: #ffffff12;\n --mds-color-theme-inverted-button-secondary-pressed: #ffffff33;\n --mds-color-theme-inverted-button-secondary-disabled: #ffffff00;\n --mds-color-theme-inverted-outline-button-normal: #ffffff80;\n --mds-color-theme-inverted-outline-primary-normal: #ffffff66;\n --mds-color-theme-inverted-outline-disabled-normal: #ffffff33;\n --mds-color-theme-inverted-outline-theme-normal: #64b4fa;\n --mds-color-theme-inverted-control-active-normal: #64b4fa;\n --mds-color-theme-inverted-control-active-hover: #3492eb;\n --mds-color-theme-inverted-control-active-pressed: #1170cf;\n --mds-color-theme-inverted-control-active-active: #1170cf;\n --mds-color-theme-inverted-control-active-disabled: #ffffff33;\n --mds-color-theme-inverted-control-inactive-normal: #8f8f8f;\n --mds-color-theme-inverted-control-inactive-hover: #ffffff4d;\n --mds-color-theme-inverted-control-inactive-pressed: #ffffff66;\n --mds-color-theme-inverted-control-inactive-disabled: #ffffff33;\n --mds-color-theme-background-primary-ghost: #00000000;\n --mds-color-theme-background-primary-hover: #00000012;\n --mds-color-theme-background-primary-active: #0000001c;\n --mds-color-theme-background-primary-disabled: #00000000;\n --mds-color-theme-background-solid-primary-normal: #ffffff;\n --mds-color-theme-background-solid-secondary-normal: #f7f7f7;\n --mds-color-theme-background-solid-tertiary-normal: #ededed;\n --mds-color-theme-background-solid-quaternary-normal: #ffffff;\n --mds-color-theme-background-secondary-normal: #0000001c;\n --mds-color-theme-background-secondary-hover: #00000033;\n --mds-color-theme-background-secondary-active: #0000004d;\n --mds-color-theme-background-secondary-disabled: #00000000;\n --mds-color-theme-background-accent-normal: #1170cf;\n --mds-color-theme-background-accent-active: #0353a8;\n --mds-color-theme-background-alert-default-normal: #dedede;\n --mds-color-theme-background-alert-default-hover: #dedede;\n --mds-color-theme-background-alert-default-active: #c9c9c9;\n --mds-color-theme-background-alert-success-normal: #cef5eb;\n --mds-color-theme-background-alert-success-hover: #cef5eb;\n --mds-color-theme-background-alert-success-active: #9fedd8;\n --mds-color-theme-background-alert-warning-normal: #ffebc2;\n --mds-color-theme-background-alert-warning-hover: #ffebc2;\n --mds-color-theme-background-alert-warning-active: #ffda94;\n --mds-color-theme-background-alert-error-normal: #ffe8ea;\n --mds-color-theme-background-alert-error-hover: #ffe8ea;\n --mds-color-theme-background-alert-error-active: #ffd4da;\n --mds-color-theme-background-alert-theme-normal: #dbf0ff;\n --mds-color-theme-background-alert-theme-hover: #dbf0ff;\n --mds-color-theme-background-alert-theme-active: #bfe3ff;\n --mds-color-theme-background-alert-purple-normal: #fcf2fc;\n --mds-color-theme-background-alert-purple-hover: #fcf2fc;\n --mds-color-theme-background-alert-purple-active: #fce1fc;\n --mds-color-theme-background-alert-orange-normal: #feebd7;\n --mds-color-theme-background-alert-orange-hover: #feebd7;\n --mds-color-theme-background-alert-orange-active: #fed5ac;\n --mds-color-theme-background-label-cobalt-normal: #e5f8ff;\n --mds-color-theme-background-label-cobalt-hover: #c7eeff;\n --mds-color-theme-background-label-cobalt-active: #99ddff;\n --mds-color-theme-background-label-gold-normal: #f7f6dc;\n --mds-color-theme-background-label-gold-hover: #f5eaa2;\n --mds-color-theme-background-label-gold-active: #ebd460;\n --mds-color-theme-background-label-lime-normal: #f3f7e9;\n --mds-color-theme-background-label-lime-hover: #ddf2ae;\n --mds-color-theme-background-label-lime-active: #bce36f;\n --mds-color-theme-background-label-mint-normal: #e9f7f3;\n --mds-color-theme-background-label-mint-hover: #baf5e7;\n --mds-color-theme-background-label-mint-active: #74e8d1;\n --mds-color-theme-background-label-orange-normal: #feebd7;\n --mds-color-theme-background-label-orange-hover: #fed5ac;\n --mds-color-theme-background-label-orange-active: #feba7f;\n --mds-color-theme-background-label-pink-normal: #fff2f5;\n --mds-color-theme-background-label-pink-hover: #ffe0e7;\n --mds-color-theme-background-label-pink-active: #ffc7d2;\n --mds-color-theme-background-label-purple-normal: #fcf2fc;\n --mds-color-theme-background-label-purple-hover: #fce1fc;\n --mds-color-theme-background-label-purple-active: #fac3f8;\n --mds-color-theme-background-label-slate-normal: #f2f4ff;\n --mds-color-theme-background-label-slate-hover: #e3e7fa;\n --mds-color-theme-background-label-slate-active: #ced2ed;\n --mds-color-theme-background-label-violet-normal: #f8f2fc;\n --mds-color-theme-background-label-violet-hover: #f0e3fc;\n --mds-color-theme-background-label-violet-active: #e2cafc;\n --mds-color-theme-background-label-default-normal: #ededed;\n --mds-color-theme-background-label-default-hover: #dedede;\n --mds-color-theme-background-label-default-active: #c9c9c9;\n --mds-color-theme-background-label-error-normal: #ffe8ea;\n --mds-color-theme-background-label-error-hover: #ffd4da;\n --mds-color-theme-background-label-error-active: #ffb8c1;\n --mds-color-theme-background-namelabel-normal: #00000099;\n --mds-color-theme-background-gradient-primary-normal: linear-gradient(180deg, #f0f0f0 0%, #ffffff 100%);\n --mds-color-theme-background-gradient-secondary-normal: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);\n --mds-color-theme-background-reaction-normal: linear-gradient(90deg, #ffffffe6 0%, #ffffff00 100%);\n --mds-color-theme-background-skeleton-normal: linear-gradient(123deg, #00000033 0%, #0000004d 27.6%, #00000066 58.85%, #00000080 100%);\n --mds-color-theme-background-glass-normal: #ffffff99;\n --mds-color-theme-background-glass-overlay-normal: #ffffffcc;\n --mds-color-theme-background-glass-overlay-inactive: #ffffff66;\n --mds-color-theme-button-primary-normal: #000000f2;\n --mds-color-theme-button-primary-hover: #000000cc;\n --mds-color-theme-button-primary-pressed: #000000b3;\n --mds-color-theme-button-primary-disabled: #00000033;\n --mds-color-theme-button-secondary-normal: #00000000;\n --mds-color-theme-button-secondary-hover: #00000012;\n --mds-color-theme-button-secondary-pressed: #00000033;\n --mds-color-theme-button-secondary-disabled: #00000000;\n --mds-color-theme-button-secondary-active-normal: #00000033;\n --mds-color-theme-button-secondary-active-hover: #0000004d;\n --mds-color-theme-button-secondary-active-pressed: #00000066;\n --mds-color-theme-button-secondary-active-disabled: #0000001c;\n --mds-color-theme-button-join-normal: #1d805f;\n --mds-color-theme-button-join-hover: #185e46;\n --mds-color-theme-button-join-pressed: #134231;\n --mds-color-theme-button-cancel-normal: #db1f2e;\n --mds-color-theme-button-cancel-hover: #ab0a15;\n --mds-color-theme-button-cancel-pressed: #780d13;\n --mds-color-theme-button-accent-normal: #1170cf;\n --mds-color-theme-button-accent-hover: #0353a8;\n --mds-color-theme-button-accent-pressed: #063a75;\n --mds-color-theme-button-glass-primary-normal: #000000cc;\n --mds-color-theme-button-glass-primary-hover: #000000b3;\n --mds-color-theme-button-glass-primary-pressed: #00000099;\n --mds-color-theme-outline-primary-normal: #00000075;\n --mds-color-theme-outline-primary-disabled: #00000033;\n --mds-color-theme-outline-theme-normal: #1170cf;\n --mds-color-theme-outline-secondary-normal: #00000033;\n --mds-color-theme-outline-input-normal: #00000080;\n --mds-color-theme-outline-input-active: #000000e6;\n --mds-color-theme-outline-button-normal: #00000080;\n --mds-color-theme-outline-join-normal: #185e46;\n --mds-color-theme-outline-cancel-normal: #ab0a15;\n --mds-color-theme-outline-share-selected: #27a17a;\n --mds-color-theme-outline-share-active: #ec6400;\n --mds-color-theme-outline-share-inactive: #8f8f8f;\n --mds-color-theme-outline-overlay-normal: #707070;\n --mds-color-theme-outline-high-contrast-focus: #000000;\n --mds-color-theme-outline-label-cobalt: #5ebff7;\n --mds-color-theme-outline-label-gold: #d6b220;\n --mds-color-theme-outline-label-lime: #93c437;\n --mds-color-theme-outline-label-mint: #30c9b0;\n --mds-color-theme-outline-label-orange: #fd884e;\n --mds-color-theme-outline-label-pink: #fc97aa;\n --mds-color-theme-outline-label-purple: #f294f1;\n --mds-color-theme-outline-label-slate: #b0b4d9;\n --mds-color-theme-outline-label-violet: #c7a5fa;\n --mds-color-theme-outline-promotion-normal: #c233c4;\n --mds-color-theme-outline-gradient-active: linear-gradient(44deg, #3492eb 14.64%, #00a3b5 51.1%, #3cc29a 85.36%);\n --mds-color-theme-outline-warning-normal: #7d4705;\n --mds-color-theme-control-active-normal: #1170cf;\n --mds-color-theme-control-active-hover: #0353a8;\n --mds-color-theme-control-active-pressed: #063a75;\n --mds-color-theme-control-active-active: #063a75;\n --mds-color-theme-control-active-disabled: #00000033;\n --mds-color-theme-control-indicator-inactive-normal: #707070;\n --mds-color-theme-control-inactive-normal: #0000001c;\n --mds-color-theme-control-inactive-hover: #00000033;\n --mds-color-theme-control-inactive-pressed: #0000004d;\n --mds-color-theme-control-inactive-disabled: #00000012;\n --mds-color-theme-overlay-meetings-normal: #ffffffcc;\n --mds-color-theme-overlay-button-secondary-normal: #ffffff;\n --mds-color-theme-overlay-button-secondary-hover: #ededed;\n --mds-color-theme-overlay-button-secondary-pressed: #dedede;\n --mds-color-theme-indicator-unstable: #c94403;\n --mds-color-theme-indicator-attention: #db1f2e;\n --mds-color-theme-indicator-stable: #1d805f;\n --mds-color-theme-indicator-locked: #707070;\n --mds-color-theme-indicator-caution: #a65e00;\n --mds-color-theme-indicator-secure: #1170cf;\n --mds-color-theme-common-whiteboard-sticky-note-yellow: #ffbe4f;\n --mds-color-theme-common-whiteboard-sticky-note-red: #fc8b98;\n --mds-color-theme-common-whiteboard-sticky-note-purple: #f294f1;\n --mds-color-theme-common-whiteboard-sticky-note-cyan: #22c7d6;\n --mds-color-theme-common-whiteboard-sticky-note-mint: #30c9b0;\n --mds-color-theme-common-whiteboard-pen-black: #0f0f0f;\n --mds-color-theme-common-whiteboard-pen-red: #f55868;\n --mds-color-theme-common-whiteboard-pen-purple: #c233c4;\n --mds-color-theme-common-whiteboard-pen-blue: #64b4fa;\n --mds-color-theme-common-whiteboard-pen-green: #3cc29a;\n --mds-color-theme-common-whiteboard-pen-yellow: #f2990a;\n --mds-color-theme-common-whiteboard-pen-white: #ffffff;\n --mds-color-theme-common-text-primary-normal: #fffffff2;\n --mds-color-theme-common-text-primary-disabled: #ffffff66;\n --mds-color-theme-common-text-secondary-normal: #ffffffb3;\n --mds-color-theme-common-text-success-normal: #3cc29a;\n --mds-color-theme-common-text-success-hover: #9fedd8;\n --mds-color-theme-common-text-error-normal: #fc8b98;\n --mds-color-theme-common-text-error-hover: #ffd4da;\n --mds-color-theme-common-text-warning-normal: #f2990a;\n --mds-color-theme-common-text-warning-hover: #ffda94;\n --mds-color-theme-common-inverted-text-primary-normal: #000000f2;\n --mds-color-theme-common-inverted-text-secondary-normal: #00000099;\n --mds-color-theme-common-inverted-button-secondary-normal: #00000000;\n --mds-color-theme-common-inverted-button-secondary-hover: #00000012;\n --mds-color-theme-common-inverted-button-secondary-pressed: #00000033;\n --mds-color-theme-common-inverted-button-secondary-disabled: #00000000;\n --mds-color-theme-common-overlays-primary-normal: #000000e6;\n --mds-color-theme-common-overlays-secondary-normal: #00000066;\n --mds-color-theme-common-overlays-meeting-normal-0: #00000000;\n --mds-color-theme-common-overlays-meeting-normal-1: #0000004d;\n --mds-color-theme-common-overlays-meeting-normal-2: #000000cc;\n --mds-color-theme-common-button-primary-normal: #fffffff2;\n --mds-color-theme-common-button-primary-hover: #ffffffcc;\n --mds-color-theme-common-button-primary-pressed: #ffffffb3;\n --mds-color-theme-common-button-primary-disabled: #ffffff33;\n --mds-color-theme-common-button-secondary-normal: #ffffff00;\n --mds-color-theme-common-button-secondary-hover: #ffffff12;\n --mds-color-theme-common-button-secondary-active-normal: #ffffff33;\n --mds-color-theme-common-button-secondary-active-hover: #ffffff4d;\n --mds-color-theme-common-button-secondary-active-pressed: #ffffff66;\n --mds-color-theme-common-button-secondary-active-disabled: #ffffff1c;\n --mds-color-theme-common-button-secondary-disabled: #ffffff00;\n --mds-color-theme-common-button-promotion-normal: linear-gradient(46deg, #932099 0%, #a12a3a 100%);\n --mds-color-theme-common-button-promotion-hover: linear-gradient(46deg, #601e66 0%, #66262d 100%);\n --mds-color-theme-common-button-promotion-active: linear-gradient(46deg, #3b1840 0%, #3b1e21 100%);\n --mds-color-theme-common-button-join-animated-gradient-normal: linear-gradient(90deg, #30c9b0 0%, #64b4fa 51%, #30c9b0 100%);\n --mds-color-theme-common-outline-button-normal: #ffffff4d;\n --mds-color-theme-common-outline-primary-normal: #ffffff66;\n --mds-color-theme-common-outline-primary-disabled: #ffffff33;\n --mds-color-theme-common-outline-input-normal: #ffffff80;\n --mds-color-theme-common-outline-secondary-normal: #00000033;\n --mds-color-theme-common-outline-secondary-disabled: #00000033;\n --mds-color-theme-common-outline-warning-normal: #f2990a;\n --mds-color-theme-common-control-share-content-selected: #3cc29a;\n --mds-color-theme-common-control-share-content-active: #c94403;\n --mds-color-theme-common-control-share-content-inactive: #707070;\n --mds-color-theme-common-control-inactive-normal: #00000033;\n --mds-color-theme-common-background-alert-share-normal: #c94403;\n --mds-color-theme-common-background-solid-dark: #1a1a1a;\n --mds-color-theme-common-background-solid-light: #ffffff;\n --mds-color-theme-common-content-pdf: #ee0507;\n --mds-color-theme-common-content-word: #0078d6;\n --mds-color-theme-common-content-powerpoint: #d93e17;\n --mds-color-theme-common-content-excel: #00893e;\n --mds-color-theme-common-content-onenote: #b839db;\n --mds-color-theme-common-content-sheets: #f4b400;\n --mds-color-theme-common-content-slides: #0f9d58;\n --mds-color-theme-common-content-keynote: #029cfb;\n --mds-color-theme-common-content-doc: #4285f4;\n --mds-color-theme-common-touchbar-background-blue-normal: #1170cf;\n --mds-color-theme-common-touchbar-background-blue-pressed: #063a75;\n --mds-color-theme-common-touchbar-background-pink-normal: #d43b52;\n --mds-color-theme-common-touchbar-background-pink-pressed: #66262d;\n --mds-color-theme-common-touchbar-background-mint-normal: #148579;\n --mds-color-theme-common-touchbar-background-mint-pressed: #12423f;\n --mds-color-theme-common-touchbar-background-purple-normal: #c233c4;\n --mds-color-theme-common-touchbar-background-purple-pressed: #601e66;\n --mds-color-theme-common-touchbar-background-violet-normal: #875ae0;\n --mds-color-theme-common-touchbar-background-violet-pressed: #432c78;\n --mds-color-theme-common-touchbar-background-orange-normal: #c94403;\n --mds-color-theme-common-touchbar-background-orange-pressed: #682601;\n --mds-color-theme-common-touchbar-background-green-normal: #1d805f;\n --mds-color-theme-common-touchbar-background-green-pressed: #134231;\n --mds-color-theme-common-touchbar-background-red-normal: #db1f2e;\n --mds-color-theme-common-touchbar-background-red-pressed: #780d13;\n --mds-color-theme-common-touchbar-background-transparent: #00000000;\n --mds-color-theme-common-touchbar-icon-attention: #fc8b98;\n --mds-color-theme-common-touchbar-icon-stable: #27a17a;\n --mds-color-theme-common-touchbar-icon-secure: #64b4fa;\n --mds-color-theme-scrollbar-button-normal: #00000075;\n --mds-color-theme-scrollbar-button-hover: #00000080;\n --mds-color-theme-scrollbar-button-pressed: #00000099;\n --mds-color-theme-scrollbar-arrow-normal: #00000099;\n --mds-color-theme-scrollbar-arrow-background-normal: #00000000;\n --mds-color-theme-scrollbar-arrow-background-hover: #00000033;\n --mds-color-theme-scrollbar-arrow-background-pressed: #0000004d;\n --mds-color-theme-scrollbar-background-secondary-ghost: #00000000;\n --mds-color-theme-scrollbar-background-secondary-normal: #0000001c;\n --mds-color-theme-illustrations-empty-primary-0: #93c437;\n --mds-color-theme-illustrations-empty-primary-1: #279be8;\n --mds-color-theme-illustrations-empty-secondary-0: #279be8;\n --mds-color-theme-illustrations-empty-secondary-1: #875ae0;\n --mds-color-theme-illustrations-onboarding-primary-0: #ffbe4f;\n --mds-color-theme-illustrations-onboarding-primary-1: #93c437;\n --mds-color-theme-illustrations-onboarding-secondary-0: #f55868;\n --mds-color-theme-illustrations-onboarding-secondary-1: #875ae0;\n --mds-color-theme-illustrations-onboarding-tertiary-0: #ffbe4f;\n --mds-color-theme-illustrations-onboarding-tertiary-1: #ec6400;\n --mds-color-theme-illustrations-onboarding-quartenary-0: #93c437;\n --mds-color-theme-illustrations-onboarding-quartenary-1: #279be8;\n --mds-color-theme-illustrations-onboarding-quinary-0: #279be8;\n --mds-color-theme-illustrations-onboarding-quinary-1: #875ae0;\n --mds-color-theme-illustrations-success-0: #3cc29a;\n --mds-color-theme-illustrations-success-1: #93c437;\n --mds-color-theme-illustrations-error-0: #f0677e;\n --mds-color-theme-illustrations-error-1: #db1f2e;\n --mds-color-theme-illustrations-default: #000000;\n --mds-color-theme-globaltint-normal: #1170cf;\n --mds-color-theme-globaltint-selected: #1170cf;\n --mds-color-theme-groupedbackground-primary-normal: #f7f7f7;\n --mds-color-theme-groupedbackground-secondary-normal: #ffffff;\n --mds-color-theme-groupedbackground-tertiary-normal: #f7f7f7;\n --mds-color-theme-groupedbackground-quaternary-normal: #ffffff;\n --mds-color-theme-avatar-default: #545454;\n --mds-color-theme-avatar-cobalt: #08599c;\n --mds-color-theme-avatar-cyan: #066070;\n --mds-color-theme-avatar-gold: #735107;\n --mds-color-theme-avatar-lime: #416116;\n --mds-color-theme-avatar-mint: #12615a;\n --mds-color-theme-avatar-orange: #9c3202;\n --mds-color-theme-avatar-pink: #a12a3a;\n --mds-color-theme-avatar-purple: #932099;\n --mds-color-theme-avatar-slate: #535573;\n --mds-color-theme-avatar-violet: #643abd;\n --mds-color-theme-avatar-yellow: #7d4705;\n --mds-color-theme-avatar-hover: #00000012;\n --mds-color-theme-avatar-pressed: #00000033;\n --mds-color-theme-avatar-glass-normal: #00000012;\n --mds-color-theme-avatar-glass-active: #ffffffcc;\n --mds-color-theme-gradientdivider-default-normal: linear-gradient(90deg, #00000000 0%, #00000033 22.4%, #00000033 72.4%, #00000000 100%);\n --mds-color-theme-gradientdivider-default-hover: linear-gradient(90deg, #00000000 0%, #00000099 22.4%, #00000099 72.4%, #00000000 100%);\n --mds-color-theme-gradientdivider-error-normal: linear-gradient(90deg, #ab0a1500 0%, #ab0a1599 22.4%, #ab0a1599 22.4%, #ab0a1500 100%);\n --mds-color-theme-gradientdivider-error-hover: linear-gradient(90deg, #ab0a1500 0%, #ab0a15e6 22.4%, #ab0a15e6 76.04%, #ab0a1500 100%);\n --mds-color-theme-gradientdivider-warning-normal: linear-gradient(90deg, #7d470500 0%, #7d470599 22.4%, #7d470599 76.04%, #7d470500 100%);\n --mds-color-theme-gradientdivider-warning-hover: linear-gradient(90deg, #7d470500 0%, #7d4705e6 22.4%, #7d4705e6 76.04%, #7d470500 100%);\n --mds-color-theme-gradientdivider-announce-normal: linear-gradient(90deg, #0353a800 0%, #0353a899 22.4%, #0353a899 22.4%, #0353a800 100%);\n --mds-color-theme-gradientdivider-announce-hover: linear-gradient(90deg, #0353a800 0%, #0353a8E6 76.04%, #0353a8E6 76.04%, #0353a800 100%);\n --mds-color-theme-gradientdivider-success-normal: linear-gradient(90deg, #185e4600 0%, #185e4699 22.4%, #185e4699 76.04%, #185e4600 100%);\n --mds-color-theme-gradientdivider-success-hover: linear-gradient(90deg, #185e4600 0%, #185e46E6 22.4%, #185e46E6 76.04%, #185e4600 100%);\n --mds-color-theme-gradientdivider-orange-normal: linear-gradient(90deg, #9c320200 0%, #9c320299 22.4%, #9c320299 76.04%, #9c320200 100%);\n --mds-color-theme-gradientdivider-orange-hover: linear-gradient(90deg, #9c320200 0%, #9c3202e6 22.4%, #9c3202e6 76.04%, #9c320200 100%);\n --mds-color-theme-gradientdivider-purple-normal: linear-gradient(90deg, #93209900 0%, #93209999 22.4%, #93209999 76.04%, #93209900 100%);\n --mds-color-theme-gradientdivider-purple-hover: linear-gradient(90deg, #93209900 0%,#932099E6 22.4%, #932099E6 76.04%, #93209900 100%);\n --mds-color-theme-gradientdivider-vertical-normal: linear-gradient(0deg, #00000000 0%, #00000033 22.4%, #00000033 72.4%, #00000000 100%);\n --mds-color-theme-gradientdivider-vertical-hover: linear-gradient(0deg, #00000000 0%, #00000099 22.4%, #00000099 72.4%, #00000000 100%);\n --mds-color-theme-focus-default-0: #ffffff;\n --mds-color-theme-focus-default-1: #1170cf;\n --mds-color-theme-focus-default-2: #1170cf59;\n}\n.mds-typography {\n --mds-font-lineheight-base: 1rem;\n --mds-font-lineheight-body-small: 1rem;\n --mds-font-lineheight-body-midsize: 1.25rem;\n --mds-font-lineheight-body-large: 1.5rem;\n --mds-font-lineheight-heading-small: 1.75rem;\n --mds-font-lineheight-heading-midsize: 2rem;\n --mds-font-lineheight-heading-large: 2.5rem;\n --mds-font-lineheight-heading-xlarge: 3.25rem;\n --mds-font-lineheight-headline-small: 4rem;\n --mds-font-family-primary: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-weight-light: 300;\n --mds-font-weight-regular: 400;\n --mds-font-weight-medium: 500;\n --mds-font-weight-bold: 700;\n --mds-font-size-base: 1rem;\n --mds-font-size-body-small: 0.75rem;\n --mds-font-size-body-midsize: 0.875rem;\n --mds-font-size-body-large: 1rem;\n --mds-font-size-heading-small: 1.25rem;\n --mds-font-size-heading-midsize: 1.5rem;\n --mds-font-size-heading-large: 2rem;\n --mds-font-size-heading-xlarge: 2.5rem;\n --mds-font-size-headline-small: 3.25rem;\n --mds-font-text-transform-none: none;\n --mds-font-text-transform-uppercase: uppercase;\n --mds-font-text-transform-lowercase: lowercase;\n --mds-font-text-transform-titlecase: titlecase;\n --mds-font-decoration-underline: underline;\n --mds-font-decoration-none: none;\n --mds-font-apps-body-small-regular-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-small-regular-font-weight: 400;\n --mds-font-apps-body-small-regular-line-height: 1rem;\n --mds-font-apps-body-small-regular-font-size: 0.75rem;\n --mds-font-apps-body-small-regular-text-case: none;\n --mds-font-apps-body-small-regular-text-decoration: none;\n --mds-font-apps-body-small-regular-underline-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-small-regular-underline-font-weight: 400;\n --mds-font-apps-body-small-regular-underline-line-height: 1rem;\n --mds-font-apps-body-small-regular-underline-font-size: 0.75rem;\n --mds-font-apps-body-small-regular-underline-text-case: none;\n --mds-font-apps-body-small-regular-underline-text-decoration: underline;\n --mds-font-apps-body-small-medium-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-small-medium-font-weight: 500;\n --mds-font-apps-body-small-medium-line-height: 1rem;\n --mds-font-apps-body-small-medium-font-size: 0.75rem;\n --mds-font-apps-body-small-medium-text-case: none;\n --mds-font-apps-body-small-medium-text-decoration: none;\n --mds-font-apps-body-small-medium-underline-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-small-medium-underline-font-weight: 500;\n --mds-font-apps-body-small-medium-underline-line-height: 1rem;\n --mds-font-apps-body-small-medium-underline-font-size: 0.75rem;\n --mds-font-apps-body-small-medium-underline-text-case: none;\n --mds-font-apps-body-small-medium-underline-text-decoration: underline;\n --mds-font-apps-body-small-bold-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-small-bold-font-weight: 700;\n --mds-font-apps-body-small-bold-line-height: 1rem;\n --mds-font-apps-body-small-bold-font-size: 0.75rem;\n --mds-font-apps-body-small-bold-text-case: none;\n --mds-font-apps-body-small-bold-text-decoration: none;\n --mds-font-apps-body-midsize-regular-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-midsize-regular-font-weight: 400;\n --mds-font-apps-body-midsize-regular-line-height: 1.25rem;\n --mds-font-apps-body-midsize-regular-font-size: 0.875rem;\n --mds-font-apps-body-midsize-regular-text-case: none;\n --mds-font-apps-body-midsize-regular-text-decoration: none;\n --mds-font-apps-body-midsize-regular-underline-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-midsize-regular-underline-font-weight: 400;\n --mds-font-apps-body-midsize-regular-underline-line-height: 1.25rem;\n --mds-font-apps-body-midsize-regular-underline-font-size: 0.875rem;\n --mds-font-apps-body-midsize-regular-underline-text-case: none;\n --mds-font-apps-body-midsize-regular-underline-text-decoration: underline;\n --mds-font-apps-body-midsize-medium-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-midsize-medium-font-weight: 500;\n --mds-font-apps-body-midsize-medium-line-height: 1.25rem;\n --mds-font-apps-body-midsize-medium-font-size: 0.875rem;\n --mds-font-apps-body-midsize-medium-text-case: none;\n --mds-font-apps-body-midsize-medium-text-decoration: none;\n --mds-font-apps-body-midsize-medium-underline-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-midsize-medium-underline-font-weight: 500;\n --mds-font-apps-body-midsize-medium-underline-line-height: 1.25rem;\n --mds-font-apps-body-midsize-medium-underline-font-size: 0.875rem;\n --mds-font-apps-body-midsize-medium-underline-text-case: none;\n --mds-font-apps-body-midsize-medium-underline-text-decoration: underline;\n --mds-font-apps-body-midsize-bold-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-midsize-bold-font-weight: 700;\n --mds-font-apps-body-midsize-bold-line-height: 1.25rem;\n --mds-font-apps-body-midsize-bold-font-size: 0.875rem;\n --mds-font-apps-body-midsize-bold-text-case: none;\n --mds-font-apps-body-midsize-bold-text-decoration: none;\n --mds-font-apps-body-large-regular-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-large-regular-font-weight: 400;\n --mds-font-apps-body-large-regular-line-height: 1.5rem;\n --mds-font-apps-body-large-regular-font-size: 1rem;\n --mds-font-apps-body-large-regular-text-case: none;\n --mds-font-apps-body-large-regular-text-decoration: none;\n --mds-font-apps-body-large-regular-underline-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-large-regular-underline-font-weight: 400;\n --mds-font-apps-body-large-regular-underline-line-height: 1.5rem;\n --mds-font-apps-body-large-regular-underline-font-size: 1rem;\n --mds-font-apps-body-large-regular-underline-text-case: none;\n --mds-font-apps-body-large-regular-underline-text-decoration: underline;\n --mds-font-apps-body-large-medium-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-large-medium-font-weight: 500;\n --mds-font-apps-body-large-medium-line-height: 1.5rem;\n --mds-font-apps-body-large-medium-font-size: 1rem;\n --mds-font-apps-body-large-medium-text-case: none;\n --mds-font-apps-body-large-medium-text-decoration: none;\n --mds-font-apps-body-large-medium-underline-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-large-medium-underline-font-weight: 500;\n --mds-font-apps-body-large-medium-underline-line-height: 1.5rem;\n --mds-font-apps-body-large-medium-underline-font-size: 1rem;\n --mds-font-apps-body-large-medium-underline-text-case: none;\n --mds-font-apps-body-large-medium-underline-text-decoration: underline;\n --mds-font-apps-body-large-bold-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-body-large-bold-font-weight: 700;\n --mds-font-apps-body-large-bold-line-height: 1.5rem;\n --mds-font-apps-body-large-bold-font-size: 1rem;\n --mds-font-apps-body-large-bold-text-case: none;\n --mds-font-apps-body-large-bold-text-decoration: none;\n --mds-font-apps-heading-small-regular-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-small-regular-font-weight: 400;\n --mds-font-apps-heading-small-regular-line-height: 1.75rem;\n --mds-font-apps-heading-small-regular-font-size: 1.25rem;\n --mds-font-apps-heading-small-regular-text-case: none;\n --mds-font-apps-heading-small-regular-text-decoration: none;\n --mds-font-apps-heading-small-medium-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-small-medium-font-weight: 500;\n --mds-font-apps-heading-small-medium-line-height: 1.75rem;\n --mds-font-apps-heading-small-medium-font-size: 1.25rem;\n --mds-font-apps-heading-small-medium-text-case: none;\n --mds-font-apps-heading-small-medium-text-decoration: none;\n --mds-font-apps-heading-small-bold-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-small-bold-font-weight: 700;\n --mds-font-apps-heading-small-bold-line-height: 1.75rem;\n --mds-font-apps-heading-small-bold-font-size: 1.25rem;\n --mds-font-apps-heading-small-bold-text-case: none;\n --mds-font-apps-heading-small-bold-text-decoration: none;\n --mds-font-apps-heading-midsize-regular-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-midsize-regular-font-weight: 400;\n --mds-font-apps-heading-midsize-regular-line-height: 2rem;\n --mds-font-apps-heading-midsize-regular-font-size: 1.5rem;\n --mds-font-apps-heading-midsize-regular-text-case: none;\n --mds-font-apps-heading-midsize-regular-text-decoration: none;\n --mds-font-apps-heading-midsize-medium-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-midsize-medium-font-weight: 500;\n --mds-font-apps-heading-midsize-medium-line-height: 2rem;\n --mds-font-apps-heading-midsize-medium-font-size: 1.5rem;\n --mds-font-apps-heading-midsize-medium-text-case: none;\n --mds-font-apps-heading-midsize-medium-text-decoration: none;\n --mds-font-apps-heading-midsize-bold-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-midsize-bold-font-weight: 700;\n --mds-font-apps-heading-midsize-bold-line-height: 2rem;\n --mds-font-apps-heading-midsize-bold-font-size: 1.5rem;\n --mds-font-apps-heading-midsize-bold-text-case: none;\n --mds-font-apps-heading-midsize-bold-text-decoration: none;\n --mds-font-apps-heading-large-regular-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-large-regular-font-weight: 400;\n --mds-font-apps-heading-large-regular-line-height: 2.5rem;\n --mds-font-apps-heading-large-regular-font-size: 2rem;\n --mds-font-apps-heading-large-regular-text-case: none;\n --mds-font-apps-heading-large-regular-text-decoration: none;\n --mds-font-apps-heading-large-medium-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-large-medium-font-weight: 500;\n --mds-font-apps-heading-large-medium-line-height: 2.5rem;\n --mds-font-apps-heading-large-medium-font-size: 2rem;\n --mds-font-apps-heading-large-medium-text-case: none;\n --mds-font-apps-heading-large-medium-text-decoration: none;\n --mds-font-apps-heading-large-bold-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-large-bold-font-weight: 700;\n --mds-font-apps-heading-large-bold-line-height: 2.5rem;\n --mds-font-apps-heading-large-bold-font-size: 2rem;\n --mds-font-apps-heading-large-bold-text-case: none;\n --mds-font-apps-heading-large-bold-text-decoration: none;\n --mds-font-apps-heading-xlarge-regular-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-xlarge-regular-font-weight: 400;\n --mds-font-apps-heading-xlarge-regular-line-height: 3.25rem;\n --mds-font-apps-heading-xlarge-regular-font-size: 2.5rem;\n --mds-font-apps-heading-xlarge-regular-text-case: none;\n --mds-font-apps-heading-xlarge-regular-text-decoration: none;\n --mds-font-apps-heading-xlarge-medium-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-xlarge-medium-font-weight: 500;\n --mds-font-apps-heading-xlarge-medium-line-height: 3.25rem;\n --mds-font-apps-heading-xlarge-medium-font-size: 2.5rem;\n --mds-font-apps-heading-xlarge-medium-text-case: none;\n --mds-font-apps-heading-xlarge-medium-text-decoration: none;\n --mds-font-apps-heading-xlarge-bold-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-heading-xlarge-bold-font-weight: 700;\n --mds-font-apps-heading-xlarge-bold-line-height: 3.25rem;\n --mds-font-apps-heading-xlarge-bold-font-size: 2.5rem;\n --mds-font-apps-heading-xlarge-bold-text-case: none;\n --mds-font-apps-heading-xlarge-bold-text-decoration: none;\n --mds-font-apps-headline-small-light-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-headline-small-light-font-weight: 300;\n --mds-font-apps-headline-small-light-font-size: 3.25rem;\n --mds-font-apps-headline-small-light-line-height: 4rem;\n --mds-font-apps-headline-small-light-text-decoration: none;\n --mds-font-apps-headline-small-light-text-case: none;\n --mds-font-apps-headline-small-regular-font-family: Momentum, Inter, Arial, Helvetica Neue, Helvetica, sans-serif;\n --mds-font-apps-headline-small-regular-font-weight: 400;\n --mds-font-apps-headline-small-regular-font-size: 3.25rem;\n --mds-font-apps-headline-small-regular-line-height: 4rem;\n --mds-font-apps-headline-small-regular-text-decoration: none;\n --mds-font-apps-headline-small-regular-text-case: none;\n}\n.mds-effect {\n --mds-effect-backdrop-filter: blur(10px);\n}\n.mds-elevation {\n --mds-elevation-1: drop-shadow(0px 2px 8px rgba(0,0,0,0.2));\n --mds-elevation-2: drop-shadow(0px 4px 16px rgba(0,0,0,0.2));\n --mds-elevation-3: drop-shadow(0px 6px 24px rgba(0,0,0,0.25));\n --mds-elevation-4: drop-shadow(0px 12px 48px rgba(0,0,0,0.25));\n}\n",""]);const s=a},611:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(63),o=n.n(r),i=n(248),a=n.n(i)()(o());a.push([e.id,".light-theme.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}.light-theme .sectionBox{padding:10px;border:1px solid #ddd;border-radius:8px}.light-theme .fieldset{border:1px solid #ccc;border-radius:5px;padding:10px;margin-bottom:20px;position:relative}.light-theme .legendBox{font-weight:bold;color:#0052bf}.light-theme .btn{padding:10px 20px;background-color:#0052bf;color:#fff;border:none;border-radius:4px;cursor:pointer;transition:background-color .3s;margin-right:8px}.light-theme .select{width:100%;padding:8px;margin-top:8px;margin-bottom:12px;border:1px solid #ccc;border-radius:4px}.light-theme .input{width:97%;padding:8px;margin-top:8px;margin-bottom:12px;border:1px solid #ccc;border-radius:4px}.light-theme .elapsedTime{position:absolute;right:30px;top:25px;color:#000}.light-theme .elapsedTime-disabled{color:#ccc}.dark-theme.box{background-color:#1e1e1e;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,.5);padding:20px;max-width:800px;margin:0 auto}.dark-theme .sectionBox{padding:10px;border:1px solid #444;border-radius:8px}.dark-theme .fieldset{border:1px solid #555;border-radius:5px;padding:10px;margin-bottom:20px;position:relative}.dark-theme .legendBox{font-weight:bold;color:#79a6d2}.dark-theme .btn{padding:10px 20px;background-color:#79a6d2;color:#1e1e1e;border:none;border-radius:4px;cursor:pointer;transition:background-color .3s;margin-right:8px}.dark-theme .select{width:100%;padding:8px;margin-top:8px;margin-bottom:12px;border:1px solid #555;border-radius:4px;background-color:#2a2a2a;color:#fff}.dark-theme .input{width:97%;padding:8px;margin-top:8px;margin-bottom:12px;border:1px solid #555;border-radius:4px;background-color:#2a2a2a;color:#fff}.dark-theme .elapsedTime{position:absolute;right:30px;top:25px;color:#ddd}.dark-theme .elapsedTime-disabled{color:#777}",""]);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,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);r&&a[d[0]]||(void 0!==i&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=i),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),o&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=o):d[4]="".concat(o)),t.push(d))}},t}},243:e=>{e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},63:e=>{e.exports=function(e){return e[1]}},378:(e,t,n)=>{n.r(t),n.d(t,{default:()=>g});var r=n(478),o=n.n(r),i=n(135),a=n.n(i),s=n(301),l=n.n(s),c=n(222),d=n.n(c),u=n(626),f=n.n(u),m=n(279),h=n.n(m),p=n(489),v={};v.styleTagTransform=h(),v.setAttributes=d(),v.insert=l().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=f(),o()(p.A,v);const g=p.A&&p.A.locals?p.A.locals:void 0},576:(e,t,n)=>{n.r(t),n.d(t,{default:()=>g});var r=n(478),o=n.n(r),i=n(135),a=n.n(i),s=n(301),l=n.n(s),c=n(222),d=n.n(c),u=n(626),f=n.n(u),m=n(279),h=n.n(m),p=n(245),v={};v.styleTagTransform=h(),v.setAttributes=d(),v.insert=l().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=f(),o()(p.A,v);const g=p.A&&p.A.locals?p.A.locals:void 0},126:(e,t,n)=>{n.r(t),n.d(t,{default:()=>g});var r=n(478),o=n.n(r),i=n(135),a=n.n(i),s=n(301),l=n.n(s),c=n(222),d=n.n(c),u=n(626),f=n.n(u),m=n(279),h=n.n(m),p=n(611),v={};v.styleTagTransform=h(),v.setAttributes=d(),v.insert=l().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=f(),o()(p.A,v);const g=p.A&&p.A.locals?p.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 i={},a=[],s=0;s<e.length;s++){var l=e[s],c=r.base?l[0]+r.base:l[0],d=i[c]||0,u="".concat(c," ").concat(d);i[c]=d+1;var f=n(u),m={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(m);else{var h=o(m,r);r.byIndex=s,t.splice(s,0,{identifier:u,updater:h,references:1})}a.push(u)}return a}function o(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,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var s=n(i[a]);t[s].references--}for(var l=r(e,o),c=0;c<i.length;c++){var d=n(i[c]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}i=l}}},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 o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),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))}}},637:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(953)),i=n(185),a=n(417);n(126),t.default=e=>{const{idleCodes:t,setAgentStatus:n,isSettingAgentStatus:r,errorMessage:s,elapsedTime:l,currentState:c,currentTheme:d}=e;return o.default.createElement("div",{className:"box "+("DARK"===d?"dark-theme":"light-theme")},o.default.createElement("section",{className:"sectionBox"},o.default.createElement("fieldset",{className:"fieldset"},o.default.createElement("legend",{"data-testid":"user-state-title",className:"legendBox"},"Agent State"),o.default.createElement("div",{style:{display:"flex",flexDirection:"column",flexGrow:1}}),o.default.createElement("select",{id:"idleCodes",value:c,className:"select",onChange:e=>{const r=null==t?void 0:t.filter((t=>t.id===e.target.value))[0];n(r)},disabled:r},null==t?void 0:t.filter((e=>!e.isSystem)).map((e=>o.default.createElement("option",{key:e.id,value:e.id},e.name)))),o.default.createElement(a.Button,{variant:"primary",size:32,color:"default","prefix-icon":"","postfix-icon":"",type:"button",role:"button","aria-label":""},"Click Me"),o.default.createElement("div",{className:"elapsedTime "+(r?"elapsedTime-disabled":"")},(0,i.formatTime)(l)),s&&o.default.createElement("div",{style:{color:"red"}},s))))}},156: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.UserStateComponent=void 0;const o=r(n(637));t.UserStateComponent=o.default,n(378),n(576)},185:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.formatTime=void 0,t.formatTime=e=>{const t=Math.floor(e/3600),n=Math.floor(e%3600/60),r=e%60;return`${t.toString().padStart(2,"0")}:${n.toString().padStart(2,"0")}:${r.toString().padStart(2,"0")}`}},28:(e,t,n)=>{e.exports=n.p+"fonts/Inter.var.woff2"},953:e=>{e.exports=n(953)},603:(e,t,n)=>{n.d(t,{G:()=>i,DT:()=>l,q6:()=>o});class r extends Event{constructor(e,t,n){super("context-request",{bubbles:!0,composed:!0}),this.context=e,this.callback=t,this.subscribe=n??!1}}function o(e){return e}class i{constructor(e,t,n,r){if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(e,t)=>{this.unsubscribe&&(this.unsubscribe!==t&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=e,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(e,t)),this.unsubscribe=t},this.host=e,void 0!==t.context){const e=t;this.context=e.context,this.callback=e.callback,this.subscribe=e.subscribe??!1}else this.context=t,this.callback=n,this.subscribe=r??!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new r(this.context,this.t,this.subscribe))}}class a{get value(){return this.o}set value(e){this.setValue(e)}setValue(e,t=!1){const n=t||!Object.is(e,this.o);this.o=e,n&&this.updateObservers()}constructor(e){this.subscriptions=new Map,this.updateObservers=()=>{for(const[e,{disposer:t}]of this.subscriptions)e(this.o,t)},void 0!==e&&(this.value=e)}addCallback(e,t,n){if(!n)return void e(this.value);this.subscriptions.has(e)||this.subscriptions.set(e,{disposer:()=>{this.subscriptions.delete(e)},consumerHost:t});const{disposer:r}=this.subscriptions.get(e);e(this.value,r)}clearCallbacks(){this.subscriptions.clear()}}class s extends Event{constructor(e){super("context-provider",{bubbles:!0,composed:!0}),this.context=e}}class l extends a{constructor(e,t,n){super(void 0!==t.context?t.initialValue:n),this.onContextRequest=e=>{const t=e.composedPath()[0];e.context===this.context&&t!==this.host&&(e.stopPropagation(),this.addCallback(e.callback,t,e.subscribe))},this.onProviderRequest=e=>{const t=e.composedPath()[0];if(e.context!==this.context||t===this.host)return;const n=new Set;for(const[e,{consumerHost:t}]of this.subscriptions)n.has(e)||(n.add(e),t.dispatchEvent(new r(this.context,e,!0)));e.stopPropagation()},this.host=e,void 0!==t.context?this.context=t.context:this.context=t,this.attachListeners(),this.host.addController?.(this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new s(this.context))}}},934:(e,t,n)=>{n.d(t,{mN:()=>k,AH:()=>l,W3:()=>x,Ec:()=>w});const r=globalThis,o=r.ShadowRoot&&(void 0===r.ShadyCSS||r.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),a=new WeakMap;class s{constructor(e,t,n){if(this._$cssResult$=!0,n!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(o&&void 0===e){const n=void 0!==t&&1===t.length;n&&(e=a.get(t)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&a.set(t,e))}return e}toString(){return this.cssText}}const l=(e,...t)=>{const n=1===e.length?e[0]:t.reduce(((t,n,r)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+e[r+1]),e[0]);return new s(n,e,i)},c=o?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const n of e.cssRules)t+=n.cssText;return(e=>new s("string"==typeof e?e:e+"",void 0,i))(t)})(e):e,{is:d,defineProperty:u,getOwnPropertyDescriptor:f,getOwnPropertyNames:m,getOwnPropertySymbols:h,getPrototypeOf:p}=Object,v=globalThis,g=v.trustedTypes,b=g?g.emptyScript:"",y=v.reactiveElementPolyfillSupport,_=(e,t)=>e,x={toAttribute(e,t){switch(t){case Boolean:e=e?b:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=null!==e;break;case Number:n=null===e?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch(e){n=null}}return n}},w=(e,t)=>!d(e,t),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:w};Symbol.metadata??=Symbol("metadata"),v.litPropertyMetadata??=new WeakMap;class k extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=O){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){const n=Symbol(),r=this.getPropertyDescriptor(e,n,t);void 0!==r&&u(this.prototype,e,r)}}static getPropertyDescriptor(e,t,n){const{get:r,set:o}=f(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};return{get(){return r?.call(this)},set(t){const i=r?.call(this);o.call(this,t),this.requestUpdate(e,i,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??O}static _$Ei(){if(this.hasOwnProperty(_("elementProperties")))return;const e=p(this);e.finalize(),void 0!==e.l&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(_("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(_("properties"))){const e=this.properties,t=[...m(e),...h(e)];for(const n of t)this.createProperty(n,e[n])}const e=this[Symbol.metadata];if(null!==e){const t=litPropertyMetadata.get(e);if(void 0!==t)for(const[e,n]of t)this.elementProperties.set(e,n)}this._$Eh=new Map;for(const[e,t]of this.elementProperties){const n=this._$Eu(e,t);void 0!==n&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const n=new Set(e.flat(1/0).reverse());for(const e of n)t.unshift(c(e))}else void 0!==e&&t.push(c(e));return t}static _$Eu(e,t){const n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((e=>e(this)))}addController(e){(this._$EO??=new Set).add(e),void 0!==this.renderRoot&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){const e=new Map,t=this.constructor.elementProperties;for(const n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((e,t)=>{if(o)e.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(const n of t){const t=document.createElement("style"),o=r.litNonce;void 0!==o&&t.setAttribute("nonce",o),t.textContent=n.cssText,e.appendChild(t)}})(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((e=>e.hostConnected?.()))}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach((e=>e.hostDisconnected?.()))}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EC(e,t){const n=this.constructor.elementProperties.get(e),r=this.constructor._$Eu(e,n);if(void 0!==r&&!0===n.reflect){const o=(void 0!==n.converter?.toAttribute?n.converter:x).toAttribute(t,n.type);this._$Em=e,null==o?this.removeAttribute(r):this.setAttribute(r,o),this._$Em=null}}_$AK(e,t){const n=this.constructor,r=n._$Eh.get(e);if(void 0!==r&&this._$Em!==r){const e=n.getPropertyOptions(r),o="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==e.converter?.fromAttribute?e.converter:x;this._$Em=r,this[r]=o.fromAttribute(t,e.type),this._$Em=null}}requestUpdate(e,t,n){if(void 0!==e){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??w)(this[e],t))return;this.P(e,t,n)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(e,t,n){this._$AL.has(e)||this._$AL.set(e,t),!0===n.reflect&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}const e=this.constructor.elementProperties;if(e.size>0)for(const[t,n]of e)!0!==n.wrapped||this._$AL.has(t)||void 0===this[t]||this.P(t,this[t],n)}let e=!1;const t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach((e=>e.hostUpdate?.())),this.update(t)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach((e=>e.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach((e=>this._$EC(e,this[e]))),this._$EU()}updated(e){}firstUpdated(e){}}k.elementStyles=[],k.shadowRootOptions={mode:"open"},k[_("elementProperties")]=new Map,k[_("finalized")]=new Map,y?.({ReactiveElement:k}),(v.reactiveElementVersions??=[]).push("2.0.4")},452:(e,t,n)=>{n.d(t,{XX:()=>B,c0:()=>k,qy:()=>O,s6:()=>S});const r=globalThis,o=r.trustedTypes,i=o?o.createPolicy("lit-html",{createHTML:e=>e}):void 0,a="$lit$",s=`lit$${Math.random().toFixed(9).slice(2)}$`,l="?"+s,c=`<${l}>`,d=document,u=()=>d.createComment(""),f=e=>null===e||"object"!=typeof e&&"function"!=typeof e,m=Array.isArray,h="[ \t\n\f\r]",p=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,g=/>/g,b=RegExp(`>|${h}(?:([^\\s"'>=/]+)(${h}*=${h}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),y=/'/g,_=/"/g,x=/^(?:script|style|textarea|title)$/i,w=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),O=w(1),k=(w(2),w(3),Symbol.for("lit-noChange")),S=Symbol.for("lit-nothing"),A=new WeakMap,E=d.createTreeWalker(d,129);function T(e,t){if(!m(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==i?i.createHTML(t):t}const j=(e,t)=>{const n=e.length-1,r=[];let o,i=2===t?"<svg>":3===t?"<math>":"",l=p;for(let t=0;t<n;t++){const n=e[t];let d,u,f=-1,m=0;for(;m<n.length&&(l.lastIndex=m,u=l.exec(n),null!==u);)m=l.lastIndex,l===p?"!--"===u[1]?l=v:void 0!==u[1]?l=g:void 0!==u[2]?(x.test(u[2])&&(o=RegExp("</"+u[2],"g")),l=b):void 0!==u[3]&&(l=b):l===b?">"===u[0]?(l=o??p,f=-1):void 0===u[1]?f=-2:(f=l.lastIndex-u[2].length,d=u[1],l=void 0===u[3]?b:'"'===u[3]?_:y):l===_||l===y?l=b:l===v||l===g?l=p:(l=b,o=void 0);const h=l===b&&e[t+1].startsWith("/>")?" ":"";i+=l===p?n+c:f>=0?(r.push(d),n.slice(0,f)+a+n.slice(f)+s+h):n+s+(-2===f?t:h)}return[T(e,i+(e[n]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),r]};class P{constructor({strings:e,_$litType$:t},n){let r;this.parts=[];let i=0,c=0;const d=e.length-1,f=this.parts,[m,h]=j(e,t);if(this.el=P.createElement(m,n),E.currentNode=this.el.content,2===t||3===t){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(r=E.nextNode())&&f.length<d;){if(1===r.nodeType){if(r.hasAttributes())for(const e of r.getAttributeNames())if(e.endsWith(a)){const t=h[c++],n=r.getAttribute(e).split(s),o=/([.?@])?(.*)/.exec(t);f.push({type:1,index:i,name:o[2],strings:n,ctor:"."===o[1]?M:"?"===o[1]?I:"@"===o[1]?L:z}),r.removeAttribute(e)}else e.startsWith(s)&&(f.push({type:6,index:i}),r.removeAttribute(e));if(x.test(r.tagName)){const e=r.textContent.split(s),t=e.length-1;if(t>0){r.textContent=o?o.emptyScript:"";for(let n=0;n<t;n++)r.append(e[n],u()),E.nextNode(),f.push({type:2,index:++i});r.append(e[t],u())}}}else if(8===r.nodeType)if(r.data===l)f.push({type:2,index:i});else{let e=-1;for(;-1!==(e=r.data.indexOf(s,e+1));)f.push({type:7,index:i}),e+=s.length-1}i++}}static createElement(e,t){const n=d.createElement("template");return n.innerHTML=e,n}}function C(e,t,n=e,r){if(t===k)return t;let o=void 0!==r?n._$Co?.[r]:n._$Cl;const i=f(t)?void 0:t._$litDirective$;return o?.constructor!==i&&(o?._$AO?.(!1),void 0===i?o=void 0:(o=new i(e),o._$AT(e,n,r)),void 0!==r?(n._$Co??=[])[r]=o:n._$Cl=o),void 0!==o&&(t=C(e,o._$AS(e,t.values),o,r)),t}class R{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:t},parts:n}=this._$AD,r=(e?.creationScope??d).importNode(t,!0);E.currentNode=r;let o=E.nextNode(),i=0,a=0,s=n[0];for(;void 0!==s;){if(i===s.index){let t;2===s.type?t=new N(o,o.nextSibling,this,e):1===s.type?t=new s.ctor(o,s.name,s.strings,this,e):6===s.type&&(t=new D(o,this,e)),this._$AV.push(t),s=n[++a]}i!==s?.index&&(o=E.nextNode(),i++)}return E.currentNode=d,r}p(e){let t=0;for(const n of this._$AV)void 0!==n&&(void 0!==n.strings?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}}class N{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,r){this.type=2,this._$AH=S,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===e?.nodeType&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=C(this,e,t),f(e)?e===S||null==e||""===e?(this._$AH!==S&&this._$AR(),this._$AH=S):e!==this._$AH&&e!==k&&this._(e):void 0!==e._$litType$?this.$(e):void 0!==e.nodeType?this.T(e):(e=>m(e)||"function"==typeof e?.[Symbol.iterator])(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==S&&f(this._$AH)?this._$AA.nextSibling.data=e:this.T(d.createTextNode(e)),this._$AH=e}$(e){const{values:t,_$litType$:n}=e,r="number"==typeof n?this._$AC(e):(void 0===n.el&&(n.el=P.createElement(T(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===r)this._$AH.p(t);else{const e=new R(r,this),n=e.u(this.options);e.p(t),this.T(n),this._$AH=e}}_$AC(e){let t=A.get(e.strings);return void 0===t&&A.set(e.strings,t=new P(e)),t}k(e){m(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let n,r=0;for(const o of e)r===t.length?t.push(n=new N(this.O(u()),this.O(u()),this,this.options)):n=t[r],n._$AI(o),r++;r<t.length&&(this._$AR(n&&n._$AB.nextSibling,r),t.length=r)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){void 0===this._$AM&&(this._$Cv=e,this._$AP?.(e))}}class z{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,r,o){this.type=1,this._$AH=S,this._$AN=void 0,this.element=e,this.name=t,this._$AM=r,this.options=o,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=S}_$AI(e,t=this,n,r){const o=this.strings;let i=!1;if(void 0===o)e=C(this,e,t,0),i=!f(e)||e!==this._$AH&&e!==k,i&&(this._$AH=e);else{const r=e;let a,s;for(e=o[0],a=0;a<o.length-1;a++)s=C(this,r[n+a],t,a),s===k&&(s=this._$AH[a]),i||=!f(s)||s!==this._$AH[a],s===S?e=S:e!==S&&(e+=(s??"")+o[a+1]),this._$AH[a]=s}i&&!r&&this.j(e)}j(e){e===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class M extends z{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===S?void 0:e}}class I extends z{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==S)}}class L extends z{constructor(e,t,n,r,o){super(e,t,n,r,o),this.type=5}_$AI(e,t=this){if((e=C(this,e,t,0)??S)===k)return;const n=this._$AH,r=e===S&&n!==S||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,o=e!==S&&(n===S||r);r&&this.element.removeEventListener(this.name,this,n),o&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}}class D{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){C(this,e)}}const V=r.litHtmlPolyfillSupport;V?.(P,N),(r.litHtmlVersions??=[]).push("3.2.1");const B=(e,t,n)=>{const r=n?.renderBefore??t;let o=r._$litPart$;if(void 0===o){const e=n?.renderBefore??null;r._$litPart$=o=new N(t.insertBefore(u(),e),e,void 0,n??{})}return o._$AI(e),o}},477:(e,t,n)=>{n.d(t,{MZ:()=>a,wk:()=>s});var r=n(934);const o={attribute:!0,type:String,converter:r.W3,reflect:!1,hasChanged:r.Ec},i=(e=o,t,n)=>{const{kind:r,metadata:i}=n;let a=globalThis.litPropertyMetadata.get(i);if(void 0===a&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(n.name,e),"accessor"===r){const{name:r}=n;return{set(n){const o=t.get.call(this);t.set.call(this,n),this.requestUpdate(r,o,e)},init(t){return void 0!==t&&this.P(r,void 0,e),t}}}if("setter"===r){const{name:r}=n;return function(n){const o=this[r];t.call(this,n),this.requestUpdate(r,o,e)}}throw Error("Unsupported decorator location: "+r)};function a(e){return(t,n)=>"object"==typeof n?i(e,t,n):((e,t,n)=>{const r=t.hasOwnProperty(n);return t.constructor.createProperty(n,r?{...e,wrapped:!0}:e),r?Object.getOwnPropertyDescriptor(t,n):void 0})(e,t,n)}function s(e){return a({...e,state:!0,attribute:!1})}},918:(e,t,n)=>{n.d(t,{WF:()=>i,AH:()=>r.AH,qy:()=>o.qy,s6:()=>o.s6});var r=n(934),o=n(452);class i extends r.mN{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=(0,o.XX)(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return o.c0}}i._$litElement$=!0,i.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:i});const a=globalThis.litElementPolyfillSupport;a?.({LitElement:i}),(globalThis.litElementVersions??=[]).push("4.1.1")}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={id:e,exports:{}};return t[e].call(i.exports,i,i.exports,o),i.exports}o.m=t,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="",o.b=document.baseURI||self.location.href,o.nc=void 0;var i=o(156);e.exports=i})()},306:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useUserState=void 0;const o=n(953),i=r(n(768));t.useUserState=({idleCodes:e,agentId:t,cc:n,currentState:r,lastStateChangeTimestamp:a})=>{const[s,l]=(0,o.useState)(!1),[c,d]=(0,o.useState)(""),[u,f]=(0,o.useState)(0),m=(0,o.useRef)(null);return(0,o.useEffect)((()=>{const e=new Blob(["\n let intervalId;\n const startTimer = (startTime) => {\n if (intervalId) clearInterval(intervalId);\n intervalId = setInterval(() => {\n const elapsedTime = Math.floor((Date.now() - startTime) / 1000);\n self.postMessage(elapsedTime);\n }, 1000);\n };\n self.onmessage = (event) => {\n if (event.data.type === 'start' || event.data.type === 'reset') {\n const startTime = event.data.startTime;\n startTimer(startTime);\n }\n };\n "],{type:"application/javascript"}),t=URL.createObjectURL(e);m.current=new Worker(t),m.current.postMessage({type:"start",startTime:Date.now()}),m.current.onmessage=e=>{f(e.data)}}),[]),(0,o.useEffect)((()=>{if(m.current&&a){const e=new Date,t=Math.floor(Math.abs(e.getTime()-a.getTime())/1e3);f(t),m.current.postMessage({type:"reset",startTime:a.getTime()})}}),[a]),{idleCodes:e,setAgentStatus:e=>{const{auxCodeId:r,state:o}={auxCodeId:e.id,state:e.name};l(!0);const a="Available"===o?"Available":"Idle";n.setAgentState({state:a,auxCodeId:r,agentId:t,lastStateChangeReason:o}).then((e=>{i.default.setCurrentState(e.data.auxCodeId),i.default.setLastStateChangeTimestamp(new Date(e.data.lastStateChangeTimestamp))})).catch((e=>{d(e.toString())})).finally((()=>{l(!1)}))},isSettingAgentStatus:s,errorMessage:c,elapsedTime:u,currentState:r}}},994:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.UserState=void 0;const o=r(n(953)),i=r(n(768)),a=n(62),s=n(306),l=n(436),c=(0,a.observer)((()=>{const{cc:e,idleCodes:t,agentId:n,currentTheme:r,currentState:a,lastStateChangeTimestamp:c}=i.default,d=Object.assign(Object.assign({},(0,s.useUserState)({idleCodes:t,agentId:n,cc:e,currentState:a,lastStateChangeTimestamp:c})),{currentTheme:r});return o.default.createElement(l.UserStateComponent,Object.assign({},d))}));t.UserState=c},768:e=>{"use strict";e.exports=n(768)},953:e=>{"use strict";e.exports=n(953)}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={exports:{}};return t[e].call(i.exports,i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";var e=i;Object.defineProperty(e,"__esModule",{value:!0}),e.UserState=void 0;const t=o(994);Object.defineProperty(e,"UserState",{enumerable:!0,get:function(){return t.UserState}})})(),e.exports=i})()},768:e=>{"use strict";e.exports=require("@webex/cc-store")},953:e=>{"use strict";e.exports=require("react")},180:e=>{"use strict";e.exports=require("react-dom")}},t={},n=function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}(156);module.exports=n})();