PageSourceSearch

https://platform.ecrypt.com/main-host/js/vendor-other-4c3bcec0.ac6052bc.chunk.js?v=0.0.2884317259

js ecrypt.com collected 2026-10-01 10:31:08 UTC 173,499 bytes, 1 lines download raw bytes

1(globalThis.webpackChunkmain_host=globalThis.webpackChunkmain_host||[]).push([[416],{41919(t,n,e){function r(t,n,e,r,i,o){return((n=(n+t&4294967295)+(r+o&4294967295)&4294967295)<<i|n>>>32-i)+e&4294967295}function i(t,n,e,i,o,u,a){return r(n&e|~n&i,t,n,o,u,a)}function o(t,n,e,i,o,u,a){return r(n&i|e&~i,t,n,o,u,a)}function u(t,n,e,i,o,u,a){return r(n^e^i,t,n,o,u,a)}function a(t,n,e,i,o,u,a){return r(e^(n|~i),t,n,o,u,a)}e.r(n),e.d(n,{Md5:()=>f});var s=e(69437);const c=[1732584193,4023233417,2562383102,271733878];class f{constructor(){this.reset()}update(t){if(function(t){return"string"==typeof t?0===t.length:0===t.byteLength}(t))return;if(this.finished)throw new Error("Attempted to update an already finished hash.");const n=function(t){return"string"==typeof t?(0,s.fromUtf8)(t):ArrayBuffer.isView(t)?new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(t)}(t);let e=0,{byteLength:r}=n;for(this.bytesHashed+=r;r>0;)this.buffer.setUint8(this.bufferLength++,n[e++]),r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0)}async digest(){if(!this.finished){const{buffer:t,bufferLength:n,bytesHashed:e}=this,r=8*e;if(t.setUint8(this.bufferLength++,128),n%64>=56){for(let n=this.bufferLength;n<64;n++)t.setUint8(n,0);this.hashBuffer(),this.bufferLength=0}for(let i=this.bufferLength;i<56;i++)t.setUint8(i,0);t.setUint32(56,r>>>0,!0),t.setUint32(60,Math.floor(r/4294967296),!0),this.hashBuffer(),this.finished=!0}const t=new DataView(new ArrayBuffer(16));for(let n=0;n<4;n++)t.setUint32(4*n,this.state[n],!0);return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}hashBuffer(){const{buffer:t,state:n}=this;let e=n[0],r=n[1],s=n[2],c=n[3];e=i(e,r,s,c,t.getUint32(0,!0),7,3614090360),c=i(c,e,r,s,t.getUint32(4,!0),12,3905402710),s=i(s,c,e,r,t.getUint32(8,!0),17,606105819),r=i(r,s,c,e,t.getUint32(12,!0),22,3250441966),e=i(e,r,s,c,t.getUint32(16,!0),7,4118548399),c=i(c,e,r,s,t.getUint32(20,!0),12,1200080426),s=i(s,c,e,r,t.getUint32(24,!0),17,2821735955),r=i(r,s,c,e,t.getUint32(28,!0),22,4249261313),e=i(e,r,s,c,t.getUint32(32,!0),7,1770035416),c=i(c,e,r,s,t.getUint32(36,!0),12,2336552879),s=i(s,c,e,r,t.getUint32(40,!0),17,4294925233),r=i(r,s,c,e,t.getUint32(44,!0),22,2304563134),e=i(e,r,s,c,t.getUint32(48,!0),7,1804603682),c=i(c,e,r,s,t.getUint32(52,!0),12,4254626195),s=i(s,c,e,r,t.getUint32(56,!0),17,2792965006),r=i(r,s,c,e,t.getUint32(60,!0),22,1236535329),e=o(e,r,s,c,t.getUint32(4,!0),5,4129170786),c=o(c,e,r,s,t.getUint32(24,!0),9,3225465664),s=o(s,c,e,r,t.getUint32(44,!0),14,643717713),r=o(r,s,c,e,t.getUint32(0,!0),20,3921069994),e=o(e,r,s,c,t.getUint32(20,!0),5,3593408605),c=o(c,e,r,s,t.getUint32(40,!0),9,38016083),s=o(s,c,e,r,t.getUint32(60,!0),14,3634488961),r=o(r,s,c,e,t.getUint32(16,!0),20,3889429448),e=o(e,r,s,c,t.getUint32(36,!0),5,568446438),c=o(c,e,r,s,t.getUint32(56,!0),9,3275163606),s=o(s,c,e,r,t.getUint32(12,!0),14,4107603335),r=o(r,s,c,e,t.getUint32(32,!0),20,1163531501),e=o(e,r,s,c,t.getUint32(52,!0),5,2850285829),c=o(c,e,r,s,t.getUint32(8,!0),9,4243563512),s=o(s,c,e,r,t.getUint32(28,!0),14,1735328473),r=o(r,s,c,e,t.getUint32(48,!0),20,2368359562),e=u(e,r,s,c,t.getUint32(20,!0),4,4294588738),c=u(c,e,r,s,t.getUint32(32,!0),11,2272392833),s=u(s,c,e,r,t.getUint32(44,!0),16,1839030562),r=u(r,s,c,e,t.getUint32(56,!0),23,4259657740),e=u(e,r,s,c,t.getUint32(4,!0),4,2763975236),c=u(c,e,r,s,t.getUint32(16,!0),11,1272893353),s=u(s,c,e,r,t.getUint32(28,!0),16,4139469664),r=u(r,s,c,e,t.getUint32(40,!0),23,3200236656),e=u(e,r,s,c,t.getUint32(52,!0),4,681279174),c=u(c,e,r,s,t.getUint32(0,!0),11,3936430074),s=u(s,c,e,r,t.getUint32(12,!0),16,3572445317),r=u(r,s,c,e,t.getUint32(24,!0),23,76029189),e=u(e,r,s,c,t.getUint32(36,!0),4,3654602809),c=u(c,e,r,s,t.getUint32(48,!0),11,3873151461),s=u(s,c,e,r,t.getUint32(60,!0),16,530742520),r=u(r,s,c,e,t.getUint32(8,!0),23,3299628645),e=a(e,r,s,c,t.getUint32(0,!0),6,4096336452),c=a(c,e,r,s,t.getUint32(28,!0),10,1126891415),s=a(s,c,e,r,t.getUint32(56,!0),15,2878612391),r=a(r,s,c,e,t.getUint32(20,!0),21,4237533241),e=a(e,r,s,c,t.getUint32(48,!0),6,1700485571),c=a(c,e,r,s,t.getUint32(12,!0),10,2399980690),s=a(s,c,e,r,t.getUint32(40,!0),15,4293915773),r=a(r,s,c,e,t.getUint32(4,!0),21,2240044497),e=a(e,r,s,c,t.getUint32(32,!0),6,1873313359),c=a(c,e,r,s,t.getUint32(60,!0),10,4264355552),s=a(s,c,e,r,t.getUint32(24,!0),15,2734768916),r=a(r,s,c,e,t.getUint32(52,!0),21,1309151649),e=a(e,r,s,c,t.getUint32(16,!0),6,4149444226),c=a(c,e,r,s,t.getUint32(44,!0),10,3174756917),s=a(s,c,e,r,t.getUint32(8,!0),15,718787259),r=a(r,s,c,e,t.getUint32(36,!0),21,3951481745),n[0]=e+n[0]&4294967295,n[1]=r+n[1]&4294967295,n[2]=s+n[2]&4294967295,n[3]=c+n[3]&4294967295}reset(){this.state=Uint32Array.from(c),this.buffer=new DataView(new ArrayBuffer(64)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}}},9259(t,n,e){function r(t){if(t.length%2!=0)throw new Error("Hex encoded strings must have an even number length");const n=new Uint8Array(t.length/2);for(let e=0;e<t.length;e+=2){const r=t.slice(e,e+2).toLowerCase();if(!(r in u))throw new Error(`Cannot decode unrecognized sequence ${r} as hexadecimal`);n[e/2]=u[r]}return n}function i(t){let n="";for(let e=0;e<t.byteLength;e++)n+=o[t[e]];return n}e.r(n),e.d(n,{fromHex:()=>r,toHex:()=>i});const o={},u={};for(let a=0;a<256;a++){let t=a.toString(16).toLowerCase();1===t.length&&(t=`0${t}`),o[a]=t,u[t]=a}},31096(t,n,e){e.r(n),e.d(n,{fromUtf8:()=>r,toUint8Array:()=>i,toUtf8:()=>o});const r=t=>(new TextEncoder).encode(t),i=t=>"string"==typeof t?r(t):ArrayBuffer.isView(t)?new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(t),o=t=>{if("string"==typeof t)return t;if("object"!=typeof t||"number"!=typeof t.byteOffset||"number"!=typeof t.byteLength)throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return new TextDecoder("utf-8").decode(t)}},47012(t,n,e){function r(t){var n=w.useRef();return n.current||(n.current={v:t()}),n.current.v}function i(t,n){var e=r(function(){return"function"==typeof t?t():t}),i=n.context,o=n.guards,u=n.actions,a=n.activities,s=n.services,c=n.delays,f=(n.state,A(n,["context","guards","actions","activities","services","delays","state"])),l=r(function(){var t={context:i,guards:o,actions:u,activities:a,services:s,delays:c},n=e.withConfig(t,function(){return E(E({},e.context),i)});return(0,_.interpret)(n,f)});return S(function(){Object.assign(l.machine.options.actions,u),Object.assign(l.machine.options.guards,o),Object.assign(l.machine.options.activities,a),Object.assign(l.machine.options.services,s),Object.assign(l.machine.options.delays,c)},[u,o,a,s,c]),l}function o(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];var r=k(n,2),o=r[0],u=void 0===o?{}:o,a=r[1],s=i(t,u);return(0,w.useEffect)(function(){if(a){var t=s.subscribe((0,_.toObserver)(a));return function(){t.unsubscribe()}}},[a]),(0,w.useEffect)(function(){var t=u.state;return s.start(t?_.State.create(t):void 0),function(){s.stop(),s.status=_.InterpreterStatus.NotStarted}},[]),s}function u(t){return 0!==t.status?t.getSnapshot():t.machine.initialState}function a(t,n){return t===n?0!==t||0!==n||1/t==1/n:t!=t&&n!=n}function s(t,n){if(a(t,n))return!0;
1if("object"!=typeof t||null===t||"object"!=typeof n||null===n)return!1;var e=Object.keys(t),r=Object.keys(n);if(e.length!==r.length)return!1;for(var i=0;i<e.length;i++)if(!Object.prototype.hasOwnProperty.call(n,e[i])||!a(t[e[i]],n[e[i]]))return!1;return!0}function c(t){return"state"in t&&"machine"in t}function f(t,n,e){if(t.status===_.InterpreterStatus.NotStarted)return!0;var r=void 0===e.changed&&(Object.keys(e.children).length>0||"boolean"==typeof n.changed);return!(e.changed||r)}function l(t){return t}function h(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];var r=O(n,1)[0],o=void 0===r?{}:r,u=i(t,o),a=(0,w.useCallback)(function(){return u.status===_.InterpreterStatus.NotStarted?o.state?_.State.create(o.state):u.machine.initialState:u.getSnapshot()},[u]),s=(0,w.useCallback)(function(t,n){return f(u,t,n)},[u]),c=(0,w.useCallback)(function(t){return u.subscribe(t).unsubscribe},[u]),h=(0,x.useSyncExternalStoreWithSelector)(c,a,a,l,s);return(0,w.useEffect)(function(){var t=o.state;return u.start(t?_.State.create(t):void 0),function(){u.stop(),u.status=_.InterpreterStatus.NotStarted}},[]),[h,u.send,u]}function d(t){return t}function v(t){return"state"in t}function p(t){return"getSnapshot"in t?c(t)?u(t):t.getSnapshot():v(t)?t.state:void 0}function y(t,n){void 0===n&&(n=p);var e=(0,w.useRef)(t),i=(0,w.useRef)([]),o=(0,w.useCallback)(function(n){return t.subscribe(n).unsubscribe},[t]),u=(0,w.useCallback)(function(){return n(t)},[t,n]),a=(0,w.useCallback)(function(n,e){return c(t)?f(t,n,e):n===e},[t]),s=(0,x.useSyncExternalStoreWithSelector)(o,u,u,d,a),l=r(function(){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t[0],o=e.current;(function(t){return"deferred"in t})(o)&&o.deferred?i.current.push(r):o.send(r)}});return S(function(){for(e.current=t;i.current.length>0;){var n=i.current.shift();t.send(n)}},[t]),[s,l]}function b(t,n,e,r){void 0===e&&(e=T);var i=(0,w.useRef)(null),o=(0,w.useCallback)(function(n){return t.subscribe(n).unsubscribe},[t]),a=(0,w.useCallback)(function(){return r?r(t):function(t,n){if(c(t)){if(0===t.status&&n.current)return n.current;var e=u(t);return n.current=0===t.status?e:null,e}return v(t)?t.state:void 0}(t,i)},[t,r]);return(0,x.useSyncExternalStoreWithSelector)(o,a,a,n,e)}function g(t){return r(function(){return(0,_.spawnBehavior)(t)})}function m(t,n,e){function r(r){var i=r.children,u=r.machine,s=void 0===u?t:u,c=r.options,f=o(s,C(C({},n),c),e);return w.createElement(a,{value:f},i)}function i(){var t=w.useContext(u);if(!t)throw new Error('You used a hook from "'.concat(r.displayName,"\" but it's not inside a <").concat(r.displayName,"> component."));return t}var u=w.createContext(null),a=u.Provider;return r.displayName="ActorProvider(".concat(t.id,")"),{Provider:r,useActorRef:i,useActor:function(){return y(i())},useSelector:function(t,n){return b(i(),t,n)}}}e.r(n),e.d(n,{createActorContext:()=>m,shallowEqual:()=>s,useActor:()=>y,useInterpret:()=>o,useMachine:()=>h,useSelector:()=>b,useSpawn:()=>g});var w=e(82337),x=e(34322),_=e(54377),S=w.useLayoutEffect,E=function(){return E=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var i in n=arguments[e])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t},E.apply(this,arguments)},A=function(t,n){var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)n.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(e[r[i]]=t[r[i]])}return e},k=function(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,i,o=e.call(t),u=[];try{for(;(void 0===n||n-- >0)&&!(r=o.next()).done;)u.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(e=o.return)&&e.call(o)}finally{if(i)throw i.error}}return u},O=function(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,i,o=e.call(t),u=[];try{for(;(void 0===n||n-- >0)&&!(r=o.next()).done;)u.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(e=o.return)&&e.call(o)}finally{if(i)throw i.error}}return u},T=function(t,n){return t===n},C=function(){return C=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var i in n=arguments[e])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t},C.apply(this,arguments)}},28118(t,n,e){function r(t){return"function"==typeof t}function i(t){var n=t(function(t){Error.call(t),t.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}function o(t,n){if(t){var e=t.indexOf(n);0<=e&&t.splice(e,1)}}function u(t){return t instanceof He||t&&"closed"in t&&r(t.remove)&&r(t.add)&&r(t.unsubscribe)}function a(t){r(t)?t():t.unsubscribe()}function s(t){We.setTimeout(function(){var n=Be.onUnhandledError;if(!n)throw t;n(t)})}function c(){}function f(t,n,e){return{kind:t,value:n,error:e}}function l(t){if(Be.useDeprecatedSynchronousErrorHandling){var n=!Je;if(n&&(Je={errorThrown:!1,error:null}),t(),n){var e=Je,r=e.errorThrown,i=e.error;if(Je=null,r)throw i}}else t()}function h(t,n){return Qe.call(t,n)}function d(t){var n;Be.useDeprecatedSynchronousErrorHandling?(n=t,Be.useDeprecatedSynchronousErrorHandling&&Je&&(Je.errorThrown=!0,Je.error=n)):s(t)}function v(t,n){var e=Be.onStoppedNotification;e&&We.setTimeout(function(){return e(t,n)})}function p(t){return t}function y(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return b(t)}function b(t){return 0===t.length?p:1===t.length?t[0]:function(n){return t.reduce(function(t,n){return n(t)},n)}}function g(t){var n;return null!==(n=null!=t?t:Be.Promise)&&void 0!==n?n:Promise}function m(t){return r(null==t?void 0:t.lift)}function w(t){return function(n){if(m(n))return n.lift(function(n){try{return t(n,this)}catch(e){this.error(e)}});throw new TypeError("Unable to lift unknown Observable type")}}function x(t,n,e,r,i){return new er(t,n,e,r,i)}function _(){return w(function(t,n){var e=null;t._refCount++;var r=x(n,void 0,void 0,void 0,function(){if(!t||t._refCount<=0||0<--t._refCount)e=null;else{var r=t._connection,i=e;e=null,!r||i&&r!==i||r.unsubscribe(),n.unsubscribe()}});t.subscribe(r),r.closed||(e=t.connect())})}function S(t){return t?E(t):ur}function E(t){return new nr(function(n){var e=t||ir,r=e.now(),i=0,o=function(){n.closed||(i=or.requestAnimationFrame(function(u){i=0;
vendor: 4,096 bytes, line 1
1var a=e.now();n.next({timestamp:t?a:u,elapsed:a-r}),o()}))};return o(),function(){i&&or.cancelAnimationFrame(i)}})}function A(t){return t in gr&&(delete gr[t],!0)}function k(t){return t?function(t){return new nr(function(n){return t.schedule(function(){return n.complete()})})}(t):zr}function O(t){return t&&r(t.schedule)}function T(t){return t[t.length-1]}function C(t){return r(T(t))?t.pop():void 0}function I(t){return O(T(t))?t.pop():void 0}function U(t,n){return"number"==typeof T(t)?t.pop():n}function j(t){return r(null==t?void 0:t.then)}function N(t){return r(t[tr])}function P(t){return Symbol.asyncIterator&&r(null==t?void 0:t[Symbol.asyncIterator])}function R(t){return new TypeError("You provided "+(null!==t&&"object"==typeof t?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function L(t){return r(null==t?void 0:t[qr])}function D(t){return(0,Ve.AQ)(this,arguments,function(){var n,e,r;return(0,Ve.YH)(this,function(i){switch(i.label){case 0:n=t.getReader(),i.label=1;case 1:i.trys.push([1,,9,10]),i.label=2;case 2:return[4,(0,Ve.N3)(n.read())];case 3:return e=i.sent(),r=e.value,e.done?[4,(0,Ve.N3)(void 0)]:[3,5];case 4:return[2,i.sent()];case 5:return[4,(0,Ve.N3)(r)];case 6:return[4,i.sent()];case 7:return i.sent(),[3,2];case 8:return[3,10];case 9:return n.releaseLock(),[7];case 10:return[2]}})})}function M(t){return r(null==t?void 0:t.getReader)}function F(t){if(t instanceof nr)return t;if(null!=t){if(N(t))return o=t,new nr(function(t){var n=o[tr]();if(r(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")});if(Vr(t))return i=t,new nr(function(t){for(var n=0;n<i.length&&!t.closed;n++)t.next(i[n]);t.complete()});if(j(t))return e=t,new nr(function(t){e.then(function(n){t.closed||(t.next(n),t.complete())},function(n){return t.error(n)}).then(null,s)});if(P(t))return z(t);if(L(t))return n=t,new nr(function(t){var e,r;try{for(var i=(0,Ve.Ju)(n),o=i.next();!o.done;o=i.next()){var u=o.value;if(t.next(u),t.closed)return}}catch(a){e={error:a}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}t.complete()});if(M(t))return z(D(t))}var n,e,i,o;throw R(t)}function z(t){return new nr(function(n){(function(t,n){var e,r,i,o;return(0,Ve.sH)(this,void 0,void 0,function(){var u,a;return(0,Ve.YH)(this,function(s){switch(s.label){case 0:s.trys.push([0,5,6,11]),e=(0,Ve.xN)(t),s.label=1;case 1:return[4,e.next()];case 2:if((r=s.sent()).done)return[3,4];if(u=r.value,n.next(u),n.closed)return[2];s.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=s.sent(),i={error:a},[3,11];case 6:return s.trys.push([6,,9,10]),r&&!r.done&&(o=e.return)?[4,o.call(e)]:[3,8];case 7:s.sent(),s.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];case 10:return[7];case 11:return n.complete(),[2]}})})})(t,n).catch(function(t){return n.error(t)})})}function V(t,n,e,r,i){void 0===r&&(r=0),void 0===i&&(i=!1);var o=n.schedule(function(){e(),i?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(o),!i)return o}function q(t,n){return void 0===n&&(n=0),w(function(e,r){e.subscribe(x(r,function(e){return V(r,t,function(){return r.next(e)},n)},function(){return V(r,t,function(){return r.complete()},n)},function(e){return V(r,t,function(){return r.error(e)},n)}))})}function H(t,n){return void 0===n&&(n=0),w(function(e,r){r.add(t.schedule(function(){return e.subscribe(r)},n))})}function X(t,n){return new nr(function(e){var i;return V(e,n,function(){i=t[qr](),V(e,n,function(){var t,n,r;try{n=(t=i.next()).value,r=t.done}catch(o){return void e.error(o)}r?e.complete():e.next(n)},0,!0)}),function(){return r(null==i?void 0:i.return)&&i.return()}})}function B(t,n){if(!t)throw new Error("Iterable cannot be null");return new nr(function(e){V(e,n,function(){var r=t[Symbol.asyncIterator]();V(e,n,function(){r.next().then(function(t){t.done?e.complete():e.next(t.value)})},0,!0)})})}function W(t,n){if(null!=t){if(N(t))return function(t,n){return F(t).pipe(H(n),q(n))}
1(t,n);if(Vr(t))return function(t,n){return new nr(function(e){var r=0;return n.schedule(function(){r===t.length?e.complete():(e.next(t[r++]),e.closed||this.schedule())})})}(t,n);if(j(t))return function(t,n){return F(t).pipe(H(n),q(n))}(t,n);if(P(t))return B(t,n);if(L(t))return X(t,n);if(M(t))return function(t,n){return B(D(t),n)}(t,n)}throw R(t)}function $(t,n){return n?W(t,n):F(t)}function J(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return $(t,I(t))}function Y(t,n){var e=r(t)?t:function(){return t},i=function(t){return t.error(e())};return new nr(n?function(t){return n.schedule(i,0,t)}:i)}function Q(t,n){var e,r,i,o=t,u=o.kind,a=o.value,s=o.error;if("string"!=typeof u)throw new TypeError('Invalid notification, missing "kind"');"N"===u?null===(e=n.next)||void 0===e||e.call(n,a):"E"===u?null===(r=n.error)||void 0===r||r.call(n,s):null===(i=n.complete)||void 0===i||i.call(n)}function G(t){return!!t&&(t instanceof nr||r(t.lift)&&r(t.subscribe))}function K(t,n){var e="object"==typeof n;return new Promise(function(r,i){var o,u=!1;t.subscribe({next:function(t){o=t,u=!0},error:i,complete:function(){u?r(o):e?r(n.defaultValue):i(new Xr)}})})}function Z(t,n){var e="object"==typeof n;return new Promise(function(r,i){var o=new Ke({next:function(t){r(t),o.unsubscribe()},error:i,complete:function(){e?r(n.defaultValue):i(new Xr)}});t.subscribe(o)})}function tt(t){return t instanceof Date&&!isNaN(t)}function nt(t,n){var e=tt(t)?{first:t}:"number"==typeof t?{each:t}:t,r=e.first,i=e.each,o=e.with,u=void 0===o?et:o,a=e.scheduler,s=void 0===a?null!=n?n:Tr:a,c=e.meta,f=void 0===c?null:c;if(null==r&&null==i)throw new TypeError("No timeout provided.");return w(function(t,n){var e,o,a=null,c=0,l=function(t){o=V(n,s,function(){try{e.unsubscribe(),F(u({meta:f,lastValue:a,seen:c})).subscribe(n)}catch(t){n.error(t)}},t)};e=t.subscribe(x(n,function(t){null==o||o.unsubscribe(),c++,n.next(a=t),i>0&&l(i)},void 0,void 0,function(){(null==o?void 0:o.closed)||null==o||o.unsubscribe(),a=null})),!c&&l(null!=r?"number"==typeof r?r:+r-s.now():i)})}function et(t){throw new Jr(t)}function rt(t,n){return w(function(e,r){var i=0;e.subscribe(x(r,function(e){r.next(t.call(n,e,i++))}))})}function it(t){return rt(function(n){return function(t,n){return Yr(n)?t.apply(void 0,(0,Ve.fX)([],(0,Ve.zs)(n))):t(n)}(t,n)})}function ot(t,n,e,r){if(e){if(!O(e))return function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return ot(t,n,r).apply(this,i).pipe(it(e))};r=e}return r?function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return ot(t,n).apply(this,e).pipe(H(r),q(r))}:function(){for(var e=this,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var o=new dr,u=!0;return new nr(function(i){var a=o.subscribe(i);if(u){u=!1;var s=!1,c=!1;n.apply(e,(0,Ve.fX)((0,Ve.fX)([],(0,Ve.zs)(r)),[function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];if(t){var r=n.shift();if(null!=r)return void o.error(r)}o.next(1<n.length?n:n[0]),c=!0,s&&o.complete()}])),c&&o.complete(),s=!0}return a})}}function ut(t,n,e){return ot(!1,t,n,e)}function at(t,n,e){return ot(!0,t,n,e)}function st(t){if(1===t.length){var n=t[0];if(Qr(n))return{args:n,keys:null};if((r=n)&&"object"==typeof r&&Gr(r)===Kr){var e=Zr(n);return{args:e.map(function(t){return n[t]}),keys:e}}}var r;return{args:t,keys:null}}function ct(t,n){return t.reduce(function(t,e,r){return t[e]=n[r],t},{})}function ft(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=I(t),r=C(t),i=st(t),o=i.args,u=i.keys;if(0===o.length)return $([],e);var a=new nr(lt(o,e,u?function(t){return ct(u,t)}:p));return r?a.pipe(it(r)):a}function lt(t,n,e){return void 0===e&&(e=p),function(r){ht(n,function(){for(var i=t.length,o=new Array(i),u=i,a=i,s=function(i){ht(n,function(){var s=$(t[i],n),c=!1;s.subscribe(x(r,function(t){o[i]=t,c||(c=!0,a--),a||r.next(e(o.slice()))},function(){--u||r.complete()}))},r)},c=0;c<i;c++)s(c)},r)}}function ht(t,n,e){t?V(e,t,n):n()}function dt(t,n,e,r,i,o,u,a){var s=[],c=0,f=0,l=!1,h=function(){!l||s.length||c||n.complete()},d=function(t){return c<r?v(t):s.push(t)},v=function(t){o&&n.next(t),c++;var a=!1;F(e(t,f++)).subscribe(x(n,function(t){null==i||i(t),o?d(t):n.next(t)},function(){a=!0},void 0,function(){if(a)try{c--;for(var t=function(){var t=s.shift();u?V(n,u,function(){return v(t)}):v(t)};s.length&&c<r;)t();h()}catch(e){n.error(e)}}))};return t.subscribe(x(n,d,function(){l=!0,h()})),function(){null==a||a()}}function vt(t,n,e){return void 0===e&&(e=1/0),r(n)?vt(function(e,r){return rt(function(t,i){return n(e,t,r,i)})(F(t(e,r)))},e):("number"==typeof n&&(e=n),w(function(n,r){return dt(n,r,t,e)}))}function pt(t){return void 0===t&&(t=1/0),vt(p,t)}function yt(){return pt(1)}function bt(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return yt()($(t,I(t)))}function gt(t){return new nr(function(n){F(t()).subscribe(n)})}function mt(t,n){void 0===n&&(n=ti);var e=null,r=n.connector,i=n.resetOnDisconnect,o=void 0===i||i,u=r(),a=new nr(function(t){return u.subscribe(t)});return a.connect=function(){return e&&!e.closed||(e=gt(function(){return t}).subscribe(u),o&&e.add(function(){return u=r()})),e},a}function wt(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=C(t),r=st(t),i=r.args,o=r.keys,u=new nr(function(t){var n=i.length;if(n)for(var e=new Array(n),r=n,u=n,a=function(n){var a=!1;F(i[n]).subscribe(x(t,function(t){a||(a=!0,u--),e[n]=t},function(){return r--},void 0,function(){r&&a||(u||t.next(o?ct(o,e):e),t.complete())}))},s=0;s<n;s++)a(s);else t.complete()});return e?u.pipe(it(e)):u}function xt(t,n,e,i){if(r(e)&&(i=e,e=void 0),i)return xt(t,n,e).pipe(it(i));var o=(0,Ve.zs)(function(t){return r(t.addEventListener)&&r(t.removeEventListener)}(t)?ei.map(function(r){return function(i){return t[r](n,i,e)}}):function(t){return r(t.addListener)&&r(t.removeListener)}(t)?ni.map(_t(t,n)):function(t){return r(t.on)&&r(t.off)}(t)?ri.map(_t(t,n)):[],2),u=o[0],a=o[1];if(!u&&Vr(t))return vt(function(t){return xt(t,n,e)})(F(t));if(!u)throw new TypeError("Invalid event target");return new nr(function(t){var n=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return t.next(1<n.length?n:n[0])};return u(n),function(){return a(n)}})}function _t(t,n){return function(e){return function(r){return t[e](n,r)}}}function St(t,n,e){return e?St(t,n).pipe(it(e)):new nr(function(e){var i=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.next(1===t.length?t[0]:t)},o=t(i);return r(n)?function(){return n(i,o)}:void 0})}function Et(t,n,e,r,i){function o(){var t;return(0,Ve.YH)(this,function(r){switch(r.label){case 0:t=c,r.label=1;case 1:return n&&!n(t)?[3,4]:[4,s(t)];case 2:r.sent(),r.label=3;case 3:return t=e(t),[3,1];case 4:return[2]}})}var u,a,s,c;return 1===arguments.length?(c=(u=t).initialState,n=u.condition,e=u.iterate,a=u.resultSelector,s=void 0===a?p:a,i=u.scheduler):(c=t,!r||O(r)?(s=p,i=r):s=r),gt(i?function(){return X(o(),i)}:o)}function At(t,n,e){return gt(function(){return t()?n:e})}function kt(t,n,e){void 0===t&&(t=0),void 0===e&&(e=Cr);var r=-1;return null!=n&&(O(n)?e=n:r=n),new nr(function(n){var i=tt(t)?+t-e.now():t;i<0&&(i=0);var o=0;return e.schedule(function(){n.closed||(n.next(o++),0<=r?this.schedule(void 0,r):n.complete())},i)})}function Ot(t,n){return void 0===t&&(t=0),void 0===n&&(n=Tr),t<0&&(t=0),kt(t,t,n)}function Tt(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=I(t),r=U(t,1/0),i=t;return i.length?1===i.length?F(i[0]):pt(r)($(i,e)):zr}function Ct(){return ii}function It(t){return 1===t.length&&oi(t[0])?t[0]:t}function Ut(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=It(t);return new nr(function(t){var n=0,r=function(){if(n<e.length){var i=void 0;try{i=F(e[n++])}catch(u){return void r()}var o=new er(t,void 0,c,c);i.subscribe(o),o.add(r)}else t.complete()};r()})}function jt(t,n){return $(Object.entries(t),n)}function Nt(t,n){return function(e,r){return!t.call(n,e,r)}}function Pt(t,n){return w(function(e,r){var i=0;e.subscribe(x(r,function(e){return t.call(n,e,i++)&&r.next(e)}))})}function Rt(t,n,e){return[Pt(n,e)(F(t)),Pt(Nt(n,e))(F(t))]}function Lt(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return 1===(t=It(t)).length?F(t[0]):new nr(Dt(t))}function Dt(t){return function(n){for(var e=[],r=function(r){e.push(F(t[r]).subscribe(x(n,function(t){if(e){for(var i=0;i<e.length;i++)i!==r&&e[i].unsubscribe();e=null}n.next(t)})))},i=0;e&&!n.closed&&i<t.length;i++)r(i)}}function Mt(t,n,e){if(null==n&&(n=t,t=0),n<=0)return zr;var r=n+t;return new nr(e?function(n){var i=t;return e.schedule(function(){i<r?(n.next(i++),this.schedule()):n.
1complete()})}:function(n){for(var e=t;e<r&&!n.closed;)n.next(e++);n.complete()})}function Ft(t,n){return new nr(function(e){var r=t(),i=n(r);return(i?F(i):zr).subscribe(e),function(){r&&r.unsubscribe()}})}function zt(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=C(t),r=It(t);return r.length?new nr(function(t){var n=r.map(function(){return[]}),i=r.map(function(){return!1});t.add(function(){n=i=null});for(var o=function(o){F(r[o]).subscribe(x(t,function(r){if(n[o].push(r),n.every(function(t){return t.length})){var u=n.map(function(t){return t.shift()});t.next(e?e.apply(void 0,(0,Ve.fX)([],(0,Ve.zs)(u))):u),n.some(function(t,n){return!t.length&&i[n]})&&t.complete()}},function(){i[o]=!0,!n[o].length&&t.complete()}))},u=0;!t.closed&&u<r.length;u++)o(u);return function(){n=i=null}}):zr}function Vt(t){return w(function(n,e){var r=!1,i=null,o=null,u=!1,a=function(){if(null==o||o.unsubscribe(),o=null,r){r=!1;var t=i;i=null,e.next(t)}u&&e.complete()},s=function(){o=null,u&&e.complete()};n.subscribe(x(e,function(n){r=!0,i=n,o||F(t(n)).subscribe(o=x(e,a,s))},function(){u=!0,(!r||!o||o.closed)&&e.complete()}))})}function qt(t,n){return void 0===n&&(n=Tr),Vt(function(){return kt(t,n)})}function Ht(t){return w(function(n,e){var r=[];return n.subscribe(x(e,function(t){return r.push(t)},function(){e.next(r),e.complete()})),F(t).subscribe(x(e,function(){var t=r;r=[],e.next(t)},c)),function(){r=null}})}function Xt(t,n){return void 0===n&&(n=null),n=null!=n?n:t,w(function(e,r){var i=[],u=0;e.subscribe(x(r,function(e){var a,s,c,f,l=null;u++%n===0&&i.push([]);try{for(var h=(0,Ve.Ju)(i),d=h.next();!d.done;d=h.next())(y=d.value).push(e),t<=y.length&&(l=null!=l?l:[]).push(y)}catch(b){a={error:b}}finally{try{d&&!d.done&&(s=h.return)&&s.call(h)}finally{if(a)throw a.error}}if(l)try{for(var v=(0,Ve.Ju)(l),p=v.next();!p.done;p=v.next()){var y=p.value;o(i,y),r.next(y)}}catch(g){c={error:g}}finally{try{p&&!p.done&&(f=v.return)&&f.call(v)}finally{if(c)throw c.error}}},function(){var t,n;try{for(var e=(0,Ve.Ju)(i),o=e.next();!o.done;o=e.next()){var u=o.value;r.next(u)}}catch(a){t={error:a}}finally{try{o&&!o.done&&(n=e.return)&&n.call(e)}finally{if(t)throw t.error}}r.complete()},void 0,function(){i=null}))})}function Bt(t){for(var n,e,r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];var u=null!==(n=I(r))&&void 0!==n?n:Tr,a=null!==(e=r[0])&&void 0!==e?e:null,s=r[1]||1/0;return w(function(n,e){var r=[],i=!1,c=function(t){var n=t.buffer;t.subs.unsubscribe(),o(r,t),e.next(n),i&&f()},f=function(){if(r){var n=new He;e.add(n);var i={buffer:[],subs:n};r.push(i),V(n,u,function(){return c(i)},t)}};null!==a&&a>=0?V(e,u,f,a,!0):i=!0,f();var l=x(e,function(t){var n,e,i=r.slice();try{for(var o=(0,Ve.Ju)(i),u=o.next();!u.done;u=o.next()){var a=u.value,f=a.buffer;f.push(t),s<=f.length&&c(a)}}catch(l){n={error:l}}finally{try{u&&!u.done&&(e=o.return)&&e.call(o)}finally{if(n)throw n.error}}},function(){for(;null==r?void 0:r.length;)e.next(r.shift().buffer);null==l||l.unsubscribe(),e.complete(),e.unsubscribe()},void 0,function(){return r=null});n.subscribe(l)})}function Wt(t,n){return w(function(e,r){var i=[];F(t).subscribe(x(r,function(t){var e=[];i.push(e);var u=new He;u.add(F(n(t)).subscribe(x(r,function(){o(i,e),r.next(e),u.unsubscribe()},c)))},c)),e.subscribe(x(r,function(t){var n,e;try{for(var r=(0,Ve.Ju)(i),o=r.next();!o.done;o=r.next())o.value.push(t)}catch(u){n={error:u}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(n)throw n.error}}},function(){for(;i.length>0;)r.next(i.shift());r.complete()}))})}function $t(t){return w(function(n,e){var r=null,i=null,o=function(){null==i||i.unsubscribe();var n=r;r=[],n&&e.next(n),F(t()).subscribe(i=x(e,o,c))};o(),n.subscribe(x(e,function(t){return null==r?void 0:r.push(t)},function(){r&&e.next(r),e.complete()},void 0,function(){return r=i=null}))})}function Jt(t){return w(function(n,e){var r,i=null,o=!1;i=n.subscribe(x(e,void 0,void 0,function(u){r=F(t(u,Jt(t)(n))),i?(i.unsubscribe(),i=null,r.subscribe(e)):o=!0})),o&&(i.unsubscribe(),i=null,r.subscribe(e))})}function Yt(t,n,e,r,i){return function(o,u){var a=e,s=n,c=0;o.subscribe(x(u,function(n){var e=c++;s=a?t(s,n,e):(a=!0,n),r&&u.next(s)},i&&function(){a&&u.next(s),u.complete()}
1))}}function Qt(t,n){return w(Yt(t,n,arguments.length>=2,!1,!0))}function Gt(){return w(function(t,n){Qt(ui,[])(t).subscribe(n)})}function Kt(t,n){return y(Gt(),vt(function(n){return t(n)}),n?it(n):p)}function Zt(t){return Kt(ft,t)}function tn(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=C(t);return e?y(tn.apply(void 0,(0,Ve.fX)([],(0,Ve.zs)(t))),it(e)):w(function(n,e){lt((0,Ve.fX)([n],(0,Ve.zs)(It(t))))(e)})}function nn(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return tn.apply(void 0,(0,Ve.fX)([],(0,Ve.zs)(t)))}function en(t,n){return r(n)?vt(t,n,1):vt(t,1)}function rn(t,n){return r(n)?en(function(){return t},n):en(function(){return t})}function on(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=I(t);return w(function(n,r){yt()($((0,Ve.fX)([n],(0,Ve.zs)(t)),e)).subscribe(r)})}function un(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return on.apply(void 0,(0,Ve.fX)([],(0,Ve.zs)(t)))}function an(t,n){void 0===n&&(n=si);var e=n.connector;return w(function(n,r){var i,o=e();F(t((i=o,new nr(function(t){return i.subscribe(t)})))).subscribe(r),r.add(n.subscribe(o))})}function sn(t){return Qt(function(n,e,r){return!t||t(e,r)?n+1:n},0)}function cn(t){return w(function(n,e){var r=!1,i=null,o=null,u=function(){if(null==o||o.unsubscribe(),o=null,r){r=!1;var t=i;i=null,e.next(t)}};n.subscribe(x(e,function(n){null==o||o.unsubscribe(),r=!0,i=n,o=x(e,u,c),F(t(n)).subscribe(o)},function(){u(),e.complete()},void 0,function(){i=o=null}))})}function fn(t,n){return void 0===n&&(n=Tr),w(function(e,r){function i(){var e=a+t,i=n.now();if(i<e)return o=this.schedule(void 0,e-i),void r.add(o);s()}var o=null,u=null,a=null,s=function(){if(o){o.unsubscribe(),o=null;var t=u;u=null,r.next(t)}};e.subscribe(x(r,function(e){u=e,a=n.now(),o||(o=n.schedule(i,t),r.add(o))},function(){s(),r.complete()},void 0,function(){u=o=null}))})}function ln(t){return w(function(n,e){var r=!1;n.subscribe(x(e,function(t){r=!0,e.next(t)},function(){r||e.next(t),e.complete()}))})}function hn(t){return t<=0?function(){return zr}:w(function(n,e){var r=0;n.subscribe(x(e,function(n){++r<=t&&(e.next(n),t<=r&&e.complete())}))})}function dn(){return w(function(t,n){t.subscribe(x(n,c))})}function vn(t){return rt(function(){return t})}function pn(t,n){return n?function(e){return bt(n.pipe(hn(1),dn()),e.pipe(pn(t)))}:vt(function(n,e){return F(t(n,e)).pipe(hn(1),vn(n))})}function yn(t,n){void 0===n&&(n=Tr);var e=kt(t,n);return pn(function(){return e})}function bn(){return w(function(t,n){t.subscribe(x(n,function(t){return Q(t,n)}))})}function gn(t,n){return w(function(e,r){var i=new Set;e.subscribe(x(r,function(n){var e=t?t(n):n;i.has(e)||(i.add(e),r.next(n))})),n&&F(n).subscribe(x(r,function(){return i.clear()},c))})}function mn(t,n){return void 0===n&&(n=p),t=null!=t?t:wn,w(function(e,r){var i,o=!0;e.subscribe(x(r,function(e){var u=n(e);!o&&t(i,u)||(o=!1,i=u,r.next(e))}))})}function wn(t,n){return t===n}function xn(t,n){return mn(function(e,r){return n?n(e[t],r[t]):e[t]===r[t]})}function _n(t){return void 0===t&&(t=Sn),w(function(n,e){var r=!1;n.subscribe(x(e,function(t){r=!0,e.next(t)},function(){return r?e.complete():e.error(t())}))})}function Sn(){return new Xr}function En(t,n){if(t<0)throw new Br;var e=arguments.length>=2;return function(r){return r.pipe(Pt(function(n,e){return e===t}),hn(1),e?ln(n):_n(function(){return new Br}))}}function An(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return function(n){return bt(n,J.apply(void 0,(0,Ve.fX)([],(0,Ve.zs)(t))))}}function kn(t,n){return w(function(e,r){var i=0;e.subscribe(x(r,function(o){t.call(n,o,i++,e)||(r.next(!1),r.complete())},function(){r.next(!0),r.complete()}))})}function On(t,n){return n?function(e){return e.pipe(On(function(e,r){return F(t(e,r)).pipe(rt(function(t,i){return n(e,t,r,i)}))}))}:w(function(n,e){var r=0,i=null,o=!1;n.subscribe(x(e,function(n){i||(i=x(e,void 0,function(){i=null,o&&e.complete()}),F(t(n,r++)).subscribe(i))},function(){o=!0,!i&&e.complete()}))})}function Tn(){return On(p)}function Cn(t,n,e){return void 0===n&&(n=1/0),n=(n||0)<1?1/0:n,w(function(r,i){return dt(r,i,t,n,void 0,!0,e)})}function In(t){return w(function(n,e){try{n.subscribe(e)}finally{e.add(t)}})}function Un(t,n){return w(jn(t,n,"value"))}function jn(t,n,e){var r="index"===e;return function(e,i){var o=0;e.subscribe(x(i,function(u){var a=o++;t.call(n,u,a,e)&&(i.next(r?a:u),i.complete())},function(){i.next(r?-1:void 0),i.complete()}
1))}}function Nn(t,n){return w(jn(t,n,"index"))}function Pn(t,n){var e=arguments.length>=2;return function(r){return r.pipe(t?Pt(function(n,e){return t(n,e,r)}):p,hn(1),e?ln(n):_n(function(){return new Xr}))}}function Rn(t,n,e,r){return w(function(i,o){var u;n&&"function"!=typeof n?(e=n.duration,u=n.element,r=n.connector):u=n;var a=new Map,s=function(t){a.forEach(t),t(o)},c=function(t){return s(function(n){return n.error(t)})},f=0,l=!1,h=new er(o,function(n){try{var i=t(n),s=a.get(i);if(!s){a.set(i,s=r?r():new sr);var d=(p=i,y=s,(b=new nr(function(t){f++;var n=y.subscribe(t);return function(){n.unsubscribe(),0===--f&&l&&h.unsubscribe()}})).key=p,b);if(o.next(d),e){var v=x(s,function(){s.complete(),null==v||v.unsubscribe()},void 0,void 0,function(){return a.delete(i)});h.add(F(e(d)).subscribe(v))}}s.next(u?u(n):n)}catch(g){c(g)}var p,y,b},function(){return s(function(t){return t.complete()})},c,function(){return a.clear()},function(){return l=!0,0===f});i.subscribe(h)})}function Ln(){return w(function(t,n){t.subscribe(x(n,function(){n.next(!1),n.complete()},function(){n.next(!0),n.complete()}))})}function Dn(t){return t<=0?function(){return zr}:w(function(n,e){var r=[];n.subscribe(x(e,function(n){r.push(n),t<r.length&&r.shift()},function(){var t,n;try{for(var i=(0,Ve.Ju)(r),o=i.next();!o.done;o=i.next()){var u=o.value;e.next(u)}}catch(a){t={error:a}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}e.complete()},void 0,function(){r=null}))})}function Mn(t,n){var e=arguments.length>=2;return function(r){return r.pipe(t?Pt(function(n,e){return t(n,e,r)}):p,Dn(1),e?ln(n):_n(function(){return new Xr}))}}function Fn(){return w(function(t,n){t.subscribe(x(n,function(t){n.next(Hr.createNext(t))},function(){n.next(Hr.createComplete()),n.complete()},function(t){n.next(Hr.createError(t)),n.complete()}))})}function zn(t){return Qt(r(t)?function(n,e){return t(n,e)>0?n:e}:function(t,n){return t>n?t:n})}function Vn(t,n,e){return void 0===e&&(e=1/0),r(n)?vt(function(){return t},n,e):("number"==typeof n&&(e=n),vt(function(){return t},e))}function qn(t,n,e){return void 0===e&&(e=1/0),w(function(r,i){var o=n;return dt(r,i,function(n,e){return t(o,n,e)},e,function(t){o=t},!1,void 0,function(){return o=null})})}function Hn(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=I(t),r=U(t,1/0);return t=It(t),w(function(n,i){pt(r)($((0,Ve.fX)([n],(0,Ve.zs)(t)),e)).subscribe(i)})}function Xn(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return Hn.apply(void 0,(0,Ve.fX)([],(0,Ve.zs)(t)))}function Bn(t){return Qt(r(t)?function(n,e){return t(n,e)<0?n:e}:function(t,n){return t<n?t:n})}function Wn(t,n){var e=r(t)?t:function(){return t};return r(n)?an(n,{connector:e}):function(t){return new rr(t,e)}}function $n(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=It(t);return function(t){return Ut.apply(void 0,(0,Ve.fX)([t],(0,Ve.zs)(e)))}}function Jn(){return w(function(t,n){var e,r=!1;t.subscribe(x(n,function(t){var i=e;e=t,r&&n.next([i,t]),r=!0}))})}function Yn(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=t.length;if(0===e)throw new Error("list of properties cannot be empty.");return rt(function(n){for(var r=n,i=0;i<e;i++){var o=null==r?void 0:r[t[i]];if(void 0===o)return;r=o}return r})}function Qn(t){return t?function(n){return an(t)(n)}:function(t){return Wn(new sr)(t)}}function Gn(t){return function(n){var e=new fr(t);return new rr(n,function(){return e})}}function Kn(){return function(t){var n=new dr;return new rr(t,function(){return n})}}function Zn(t,n,e,i){e&&!r(e)&&(i=e);var o=r(e)?e:void 0;return function(e){return Wn(new hr(t,n,i),o)(e)}}function te(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.length?w(function(n,e){Dt((0,Ve.fX)([n],(0,Ve.zs)(t)))(e)}):p}function ne(t){var n,e,r=1/0;return null!=t&&("object"==typeof t?(n=t.count,r=void 0===n?1/0:n,e=t.delay):r=t),r<=0?function(){return zr}:w(function(t,n){var i,o=0,u=function(){if(null==i||i.unsubscribe(),i=null,null!=e){var t="number"==typeof e?kt(e):F(e(o)),r=x(n,function(){r.unsubscribe(),a()});t.subscribe(r)}else a()},a=function(){var e=!1;i=t.subscribe(x(n,void 0,function(){++o<r?i?u():e=!0:n.complete()}
1)),e&&u()};a()})}function ee(t){return w(function(n,e){var r,i,o=!1,u=!1,a=!1,s=function(){return a&&u&&(e.complete(),!0)},c=function(){a=!1,r=n.subscribe(x(e,void 0,function(){a=!0,!s()&&(i||(i=new sr,F(t(i)).subscribe(x(e,function(){r?c():o=!0},function(){u=!0,s()}))),i).next()})),o&&(r.unsubscribe(),r=null,o=!1,c())};c()})}function re(t){var n;void 0===t&&(t=1/0);var e=(n=t&&"object"==typeof t?t:{count:t}).count,r=void 0===e?1/0:e,i=n.delay,o=n.resetOnSuccess,u=void 0!==o&&o;return r<=0?p:w(function(t,n){var e,o=0,a=function(){var s=!1;e=t.subscribe(x(n,function(t){u&&(o=0),n.next(t)},void 0,function(t){if(o++<r){var u=function(){e?(e.unsubscribe(),e=null,a()):s=!0};if(null!=i){var c="number"==typeof i?kt(i):F(i(t,o)),f=x(n,function(){f.unsubscribe(),u()},function(){n.complete()});c.subscribe(f)}else u()}else n.error(t)})),s&&(e.unsubscribe(),e=null,a())};a()})}function ie(t){return w(function(n,e){var r,i,o=!1,u=function(){r=n.subscribe(x(e,void 0,void 0,function(n){i||(i=new sr,F(t(i)).subscribe(x(e,function(){return r?u():o=!0}))),i&&i.next(n)})),o&&(r.unsubscribe(),r=null,o=!1,u())};u()})}function oe(t){return w(function(n,e){var r=!1,i=null;n.subscribe(x(e,function(t){r=!0,i=t})),F(t).subscribe(x(e,function(){if(r){r=!1;var t=i;i=null,e.next(t)}},c))})}function ue(t,n){return void 0===n&&(n=Tr),oe(Ot(t,n))}function ae(t,n){return w(Yt(t,n,arguments.length>=2,!0))}function se(t,n){return void 0===n&&(n=function(t,n){return t===n}),w(function(e,r){var i={buffer:[],complete:!1},o={buffer:[],complete:!1},u=function(t){r.next(t),r.complete()},a=function(t,e){var i=x(r,function(r){var i=e.buffer,o=e.complete;0===i.length?o?u(!1):t.buffer.push(r):!n(r,i.shift())&&u(!1)},function(){t.complete=!0;var n=e.complete,r=e.buffer;n&&u(0===r.length),null==i||i.unsubscribe()});return i};e.subscribe(a(i,o)),F(t).subscribe(a(o,i))})}function ce(t){void 0===t&&(t={});var n=t.connector,e=void 0===n?function(){return new sr}:n,r=t.resetOnError,i=void 0===r||r,o=t.resetOnComplete,u=void 0===o||o,a=t.resetOnRefCountZero,s=void 0===a||a;return function(t){var n,r,o,a=0,c=!1,f=!1,l=function(){null==r||r.unsubscribe(),r=void 0},h=function(){l(),n=o=void 0,c=f=!1},d=function(){var t=n;h(),null==t||t.unsubscribe()};return w(function(t,v){a++,f||c||l();var p=o=null!=o?o:e();v.add(function(){0!==--a||f||c||(r=fe(d,s))}),p.subscribe(v),!n&&a>0&&(n=new Ke({next:function(t){return p.next(t)},error:function(t){f=!0,l(),r=fe(h,i,t),p.error(t)},complete:function(){c=!0,l(),r=fe(h,u),p.complete()}}),F(t).subscribe(n))})(t)}}function fe(t,n){for(var e=[],r=2;r<arguments.length;r++)e[r-2]=arguments[r];if(!0!==n){if(!1!==n){var i=new Ke({next:function(){i.unsubscribe(),t()}});return F(n.apply(void 0,(0,Ve.fX)([],(0,Ve.zs)(e)))).subscribe(i)}}else t()}function le(t,n,e){var r,i,o,u,a=!1;return t&&"object"==typeof t?(r=t.bufferSize,u=void 0===r?1/0:r,i=t.windowTime,n=void 0===i?1/0:i,a=void 0!==(o=t.refCount)&&o,e=t.scheduler):u=null!=t?t:1/0,ce({connector:function(){return new hr(u,n,e)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}function he(t){return w(function(n,e){var r,i=!1,o=!1,u=0;n.subscribe(x(e,function(a){o=!0,t&&!t(a,u++,n)||(i&&e.error(new $r("Too many matching values")),i=!0,r=a)},function(){i?(e.next(r),e.complete()):e.error(o?new Wr("No matching values"):new Xr)}))})}function de(t){return Pt(function(n,e){return t<=e})}function ve(t){return t<=0?p:w(function(n,e){var r=new Array(t),i=0;return n.subscribe(x(e,function(n){var o=i++;if(o<t)r[o]=n;else{var u=o%t,a=r[u];r[u]=n,e.next(a)}})),function(){r=null}})}function pe(t){return w(function(n,e){var r=!1,i=x(e,function(){null==i||i.unsubscribe(),r=!0},c);F(t).subscribe(i),n.subscribe(x(e,function(t){return r&&e.next(t)}))})}function ye(t){return w(function(n,e){var r=!1,i=0;n.subscribe(x(e,function(n){return(r||(r=!t(n,i++)))&&e.next(n)}))})}function be(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=I(t);return w(function(n,r){(e?bt(t,n,e):bt(t,n)).subscribe(r)})}function ge(t,n){return w(function(e,r){var i=null,o=0,u=!1,a=function(){return u&&!i&&r.complete()};e.subscribe(x(r,function(e){null==i||i.unsubscribe();var u=0,s=o++;F(t(e,s)).subscribe(i=x(r,function(t){return r.next(n?n(e,t,s,u++):t)},function(){i=null,a()}))},function(){u=!0,a()}))})}function me(){return ge(p)}function we(t,n){return r(n)?ge(function(){return t},n):ge(function(){return t})}function xe(t,n){return w(function(e,r){var i=n;return ge(function(n,e){return t(i,n,e)},function(t,n){return i=n,n})(e).subscribe(r),function(){i=null}})}function _e(t){return w(function(n,e){F(t).subscribe(x(e,function(){return e.complete()},c)),!e.closed&&n.subscribe(e)})}function Se(t,n){return void 0===n&&(n=!1),w(function(e,r){var i=0;e.subscribe(x(r,function(e){var o=t(e,i++);(o||n)&&r.next(e),!o&&r.complete()}
1))})}function Ee(t,n,e){var i=r(t)||n||e?{next:t,error:n,complete:e}:t;return i?w(function(t,n){var e;null===(e=i.subscribe)||void 0===e||e.call(i);var r=!0;t.subscribe(x(n,function(t){var e;null===(e=i.next)||void 0===e||e.call(i,t),n.next(t)},function(){var t;r=!1,null===(t=i.complete)||void 0===t||t.call(i),n.complete()},function(t){var e;r=!1,null===(e=i.error)||void 0===e||e.call(i,t),n.error(t)},function(){var t,n;r&&(null===(t=i.unsubscribe)||void 0===t||t.call(i)),null===(n=i.finalize)||void 0===n||n.call(i)}))}):p}function Ae(t,n){return w(function(e,r){var i=null!=n?n:{},o=i.leading,u=void 0===o||o,a=i.trailing,s=void 0!==a&&a,c=!1,f=null,l=null,h=!1,d=function(){null==l||l.unsubscribe(),l=null,s&&(y(),h&&r.complete())},v=function(){l=null,h&&r.complete()},p=function(n){return l=F(t(n)).subscribe(x(r,d,v))},y=function(){if(c){c=!1;var t=f;f=null,r.next(t),!h&&p(t)}};e.subscribe(x(r,function(t){c=!0,f=t,(!l||l.closed)&&(u?y():p(t))},function(){h=!0,(!(s&&c&&l)||l.closed)&&r.complete()}))})}function ke(t,n,e){void 0===n&&(n=Tr);var r=kt(t,n);return Ae(function(){return r},e)}function Oe(t){return void 0===t&&(t=Tr),w(function(n,e){var r=t.now();n.subscribe(x(e,function(n){var i=t.now(),o=i-r;r=i,e.next(new li(n,o))}))})}function Te(t,n,e){var r,i,o;if(e=null!=e?e:Cr,tt(t)?r=t:"number"==typeof t&&(i=t),!n)throw new TypeError("No observable provided to switch to");if(o=function(){return n},null==r&&null==i)throw new TypeError("No timeout provided.");return nt({first:r,each:i,scheduler:e,with:o})}function Ce(t){return void 0===t&&(t=lr),rt(function(n){return{value:n,timestamp:t.now()}})}function Ie(t){return w(function(n,e){var r=new sr;e.next(r.asObservable());var i=function(t){r.error(t),e.error(t)};return n.subscribe(x(e,function(t){return null==r?void 0:r.next(t)},function(){r.complete(),e.complete()},i)),F(t).subscribe(x(e,function(){r.complete(),e.next(r=new sr)},c,i)),function(){null==r||r.unsubscribe(),r=null}})}function Ue(t,n){void 0===n&&(n=0);var e=n>0?n:t;return w(function(n,r){var i=[new sr],o=0;r.next(i[0].asObservable()),n.subscribe(x(r,function(n){var u,a;try{for(var s=(0,Ve.Ju)(i),c=s.next();!c.done;c=s.next())c.value.next(n)}catch(h){u={error:h}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(u)throw u.error}}var f=o-t+1;if(f>=0&&f%e===0&&i.shift().complete(),++o%e===0){var l=new sr;i.push(l),r.next(l.asObservable())}},function(){for(;i.length>0;)i.shift().complete();r.complete()},function(t){for(;i.length>0;)i.shift().error(t);r.error(t)},function(){i=null}))})}function je(t){for(var n,e,r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];var u=null!==(n=I(r))&&void 0!==n?n:Tr,a=null!==(e=r[0])&&void 0!==e?e:null,s=r[1]||1/0;return w(function(n,e){var r=[],i=!1,c=function(t){var n=t.window,e=t.subs;n.complete(),e.unsubscribe(),o(r,t),i&&f()},f=function(){if(r){var n=new He;e.add(n);var i=new sr,o={window:i,subs:n,seen:0};r.push(o),e.next(i.asObservable()),V(n,u,function(){return c(o)},t)}};null!==a&&a>=0?V(e,u,f,a,!0):i=!0,f();var l=function(t){return r.slice().forEach(t)},h=function(t){l(function(n){var e=n.window;return t(e)}),t(e),e.unsubscribe()};return n.subscribe(x(e,function(t){l(function(n){n.window.next(t),s<=++n.seen&&c(n)})},function(){return h(function(t){return t.complete()})},function(t){return h(function(n){return n.error(t)})})),function(){r=null}})}function Ne(t,n){return w(function(e,r){var i=[],u=function(t){for(;0<i.length;)i.shift().error(t);r.error(t)};F(t).subscribe(x(r,function(t){var e=new sr;i.push(e);var a,s=new He;try{a=F(n(t))}catch(f){return void u(f)}r.next(e.asObservable()),s.add(a.subscribe(x(r,function(){o(i,e),e.complete(),s.unsubscribe()},c,u)))},c)),e.subscribe(x(r,function(t){var n,e,r=i.slice();try{for(var o=(0,Ve.Ju)(r),u=o.next();!u.done;u=o.next())u.value.next(t)}catch(a){n={error:a}}finally{try{u&&!u.done&&(e=o.return)&&e.call(o)}finally{if(n)throw n.error}}},function(){for(;0<i.length;)i.shift().complete();r.complete()},u,function(){for(;0<i.length;)i.shift().unsubscribe()}))})}function Pe(t){return w(function(n,e){var r,i,o=function(t){r.error(t),e.error(t)},u=function(){var n;null==i||i.unsubscribe(),null==r||r.complete(),r=new sr,e.next(r.asObservable());try{n=F(t())}catch(a){return void o(a)}n.subscribe(i=x(e,u,u,o))};u(),n.subscribe(x(e,function(t){return r.next(t)},function(){r.complete(),e.complete()},o,function(){null==i||i.unsubscribe(),r=null}))})}function Re(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=C(t);return w(function(n,r){for(var i=t.length,o=new Array(i),u=t.map(function(){return!1}),a=!1,s=function(n){F(t[n]).subscribe(x(r,function(t){o[n]=t,a||u[n]||(u[n]=!0,(a=u.every(p))&&(u=null))},c))},f=0;f<i;f++)s(f);n.subscribe(x(r,function(t){if(a){var n=(0,Ve.fX)([t],(0,Ve.zs)(o));r.next(e?e.apply(void 0,(0,Ve.fX)([],(0,Ve.zs)(n))):n)}}))})}function Le(t){return Kt(zt,t)}function De(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return w(function(n,e){zt.apply(void 0,(0,Ve.fX)([n],(0,Ve.zs)(t))).subscribe(e)})}function Me(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return De.apply(void 0,(0,Ve.fX)([],(0,Ve.zs)(t)))}e.r(n),e.d(n,{ArgumentOutOfRangeError:()=>Br,AsyncSubject:()=>dr,BehaviorSubject:()=>fr,ConnectableObservable:()=>rr,EMPTY:()=>zr,EmptyError:()=>Xr,NEVER:()=>ii,NotFoundError:()=>Wr,Notification:()=>Hr,NotificationKind:()=>ze,ObjectUnsubscribedError:()=>ar,Observable:()=>nr,ReplaySubject:()=>hr,Scheduler:()=>Sr,SequenceError:()=>$r,Subject:()=>sr,Subscriber:()=>Ye,Subscription:()=>He,TimeoutError:()=>Jr,UnsubscriptionError:()=>qe,VirtualAction:()=>Fr,VirtualTimeScheduler:()=>Mr,animationFrame:()=>Dr,animationFrameScheduler:()=>Lr,animationFrames:()=>S,asap:()=>Or,asapScheduler:()=>kr,async:()=>Cr,asyncScheduler:()=>Tr,audit:()=>Vt,auditTime:()=>qt,bindCallback:()=>ut,bindNodeCallback:()=>at,buffer:()=>Ht,bufferCount:()=>Xt,bufferTime:()=>Bt,bufferToggle:()=>Wt,bufferWhen:()=>$t,catchError:()=>Jt,combineAll:()=>ai,combineLatest:()=>
1ft,combineLatestAll:()=>Zt,combineLatestWith:()=>nn,concat:()=>bt,concatAll:()=>yt,concatMap:()=>en,concatMapTo:()=>rn,concatWith:()=>un,config:()=>Be,connect:()=>an,connectable:()=>mt,count:()=>sn,debounce:()=>cn,debounceTime:()=>fn,defaultIfEmpty:()=>ln,defer:()=>gt,delay:()=>yn,delayWhen:()=>pn,dematerialize:()=>bn,distinct:()=>gn,distinctUntilChanged:()=>mn,distinctUntilKeyChanged:()=>xn,elementAt:()=>En,empty:()=>k,endWith:()=>An,every:()=>kn,exhaust:()=>ci,exhaustAll:()=>Tn,exhaustMap:()=>On,expand:()=>Cn,filter:()=>Pt,finalize:()=>In,find:()=>Un,findIndex:()=>Nn,first:()=>Pn,firstValueFrom:()=>Z,flatMap:()=>fi,forkJoin:()=>wt,from:()=>$,fromEvent:()=>xt,fromEventPattern:()=>St,generate:()=>Et,groupBy:()=>Rn,identity:()=>p,ignoreElements:()=>dn,iif:()=>At,interval:()=>Ot,isEmpty:()=>Ln,isObservable:()=>G,last:()=>Mn,lastValueFrom:()=>K,map:()=>rt,mapTo:()=>vn,materialize:()=>Fn,max:()=>zn,merge:()=>Tt,mergeAll:()=>pt,mergeMap:()=>vt,mergeMapTo:()=>Vn,mergeScan:()=>qn,mergeWith:()=>Xn,min:()=>Bn,multicast:()=>Wn,never:()=>Ct,noop:()=>c,observable:()=>tr,observeOn:()=>q,of:()=>J,onErrorResumeNext:()=>Ut,onErrorResumeNextWith:()=>$n,pairs:()=>jt,pairwise:()=>Jn,partition:()=>Rt,pipe:()=>y,pluck:()=>Yn,publish:()=>Qn,publishBehavior:()=>Gn,publishLast:()=>Kn,publishReplay:()=>Zn,queue:()=>Nr,queueScheduler:()=>jr,race:()=>Lt,raceWith:()=>te,range:()=>Mt,reduce:()=>Qt,refCount:()=>_,repeat:()=>ne,repeatWhen:()=>ee,retry:()=>re,retryWhen:()=>ie,sample:()=>oe,sampleTime:()=>ue,scan:()=>ae,scheduled:()=>W,sequenceEqual:()=>se,share:()=>ce,shareReplay:()=>le,single:()=>he,skip:()=>de,skipLast:()=>ve,skipUntil:()=>pe,skipWhile:()=>ye,startWith:()=>be,subscribeOn:()=>H,switchAll:()=>me,switchMap:()=>ge,switchMapTo:()=>we,switchScan:()=>xe,take:()=>hn,takeLast:()=>Dn,takeUntil:()=>_e,takeWhile:()=>Se,tap:()=>Ee,throttle:()=>Ae,throttleTime:()=>ke,throwError:()=>Y,throwIfEmpty:()=>_n,timeInterval:()=>Oe,timeout:()=>nt,timeoutWith:()=>Te,timer:()=>kt,timestamp:()=>Ce,toArray:()=>Gt,using:()=>Ft,window:()=>Ie,windowCount:()=>Ue,windowTime:()=>je,windowToggle:()=>Ne,windowWhen:()=>Pe,withLatestFrom:()=>Re,zip:()=>zt,zipAll:()=>Le,zipWith:()=>Me});var Fe,ze,Ve=e(5482),qe=i(function(t){return function(n){t(this),this.message=n?n.length+" errors occurred during unsubscription:\n"+n.map(function(t,n){return n+1+") "+t.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=n}}),He=function(){function t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var t,n,e,i,o;if(!this.closed){this.closed=!0;var u=this._parentage;if(u)if(this._parentage=null,Array.isArray(u))try{for(var s=(0,Ve.Ju)(u),c=s.next();!c.done;c=s.next())c.value.remove(this)}catch(p){t={error:p}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}else u.remove(this);var f=this.initialTeardown;if(r(f))try{f()}catch(y){o=y instanceof qe?y.errors:[y]}var l=this._finalizers;if(l){this._finalizers=null;try{for(var h=(0,Ve.Ju)(l),d=h.next();!d.done;d=h.next()){var v=d.value;try{a(v)}catch(b){o=null!=o?o:[],b instanceof qe?o=(0,Ve.fX)((0,Ve.fX)([],(0,Ve.zs)(o)),(0,Ve.zs)(b.errors)):o.push(b)}}}catch(g){e={error:g}}finally{try{d&&!d.done&&(i=h.return)&&i.call(h)}finally{if(e)throw e.error}}}if(o)throw new qe(o)}},t.prototype.add=function(n){var e;if(n&&n!==this)if(this.closed)a(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(n)}},t.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},t.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},t.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&o(n,t)},t.prototype.remove=function(n){var e=this._finalizers;e&&o(e,n),n instanceof t&&n._removeParent(this)},t.EMPTY=function(){var n=new t;return n.closed=!0,n}(),t}(),Xe=He.EMPTY,Be={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNext
vendor: 4,241 bytes, line 1
1Context:!1},We={setTimeout:function(t,n){for(var e=[],r=2;r<arguments.length;r++)e[r-2]=arguments[r];var i=We.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,(0,Ve.fX)([t,n],(0,Ve.zs)(e))):setTimeout.apply(void 0,(0,Ve.fX)([t,n],(0,Ve.zs)(e)))},clearTimeout:function(t){var n=We.delegate;return((null==n?void 0:n.clearTimeout)||clearTimeout)(t)},delegate:void 0},$e=f("C",void 0,void 0),Je=null,Ye=function(t){function n(n){var e=t.call(this)||this;return e.isStopped=!1,n?(e.destination=n,u(n)&&n.add(e)):e.destination=Ze,e}return(0,Ve.C6)(n,t),n.create=function(t,n,e){return new Ke(t,n,e)},n.prototype.next=function(t){this.isStopped?v(function(t){return f("N",t,void 0)}(t),this):this._next(t)},n.prototype.error=function(t){this.isStopped?v(f("E",void 0,t),this):(this.isStopped=!0,this._error(t))},n.prototype.complete=function(){this.isStopped?v($e,this):(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},n.prototype._next=function(t){this.destination.next(t)},n.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},n.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},n}(He),Qe=Function.prototype.bind,Ge=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var n=this.partialObserver;if(n.next)try{n.next(t)}catch(e){d(e)}},t.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(e){d(e)}else d(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){d(n)}},t}(),Ke=function(t){function n(n,e,i){var o,u,a=t.call(this)||this;return r(n)||!n?o={next:null!=n?n:void 0,error:null!=e?e:void 0,complete:null!=i?i:void 0}:a&&Be.useDeprecatedNextContext?((u=Object.create(n)).unsubscribe=function(){return a.unsubscribe()},o={next:n.next&&h(n.next,u),error:n.error&&h(n.error,u),complete:n.complete&&h(n.complete,u)}):o=n,a.destination=new Ge(o),a}return(0,Ve.C6)(n,t),n}(Ye),Ze={closed:!0,next:c,error:function(t){throw t},complete:c},tr="function"==typeof Symbol&&Symbol.observable||"@@observable",nr=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(n){var e=new t;return e.source=this,e.operator=n,e},t.prototype.subscribe=function(t,n,e){var i,o=this,a=(i=t)&&i instanceof Ye||function(t){return t&&r(t.next)&&r(t.error)&&r(t.complete)}(i)&&u(i)?t:new Ke(t,n,e);return l(function(){var t=o,n=t.operator,e=t.source;a.add(n?n.call(a,e):e?o._subscribe(a):o._trySubscribe(a))}),a},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},t.prototype.forEach=function(t,n){var e=this;return new(n=g(n))(function(n,r){var i=new Ke({next:function(n){try{t(n)}catch(e){r(e),i.unsubscribe()}},error:r,complete:n});e.subscribe(i)})},t.prototype._subscribe=function(t){var n;return null===(n=this.source)||void 0===n?void 0:n.subscribe(t)},t.prototype[tr]=function(){return this},t.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return b(t)(this)},t.prototype.toPromise=function(t){var n=this;return new(t=g(t))(function(t,e){var r;n.subscribe(function(t){return r=t},function(t){return e(t)},function(){return t(r)})})},t.create=function(n){return new t(n)},t}(),er=function(t){function n(n,e,r,i,o,u){var a=t.call(this,n)||this;return a.onFinalize=o,a.shouldUnsubscribe=u,a._next=e?function(t){try{e(t)}catch(r){n.error(r)}}:t.prototype._next,a._error=i?function(t){try{i(t)}catch(t){n.error(t)}finally{this.unsubscribe()}}:t.prototype._error,a._complete=r?function(){try{r()}catch(t){n.error(t)}finally{this.unsubscribe()}}:t.prototype._complete,a}return(0,Ve.C6)(n,t),n.prototype.unsubscribe=function(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var e=this.closed;t.prototype.unsubscribe.call(this),!e&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}},n}(Ye),rr=function(t){function n(n,e){var r=t.call(this)||this;return r.source=n,r.subjectFactory=e,r._subject=null,r._refCount=0,r._connection=null,m(n)&&(r.lift=n.lift),r}return(0,Ve.C6)(n,t),n.prototype._subscribe=function(t){return this.get
1Subject().subscribe(t)},n.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},n.prototype._teardown=function(){this._refCount=0;var t=this._connection;this._subject=this._connection=null,null==t||t.unsubscribe()},n.prototype.connect=function(){var t=this,n=this._connection;if(!n){n=this._connection=new He;var e=this.getSubject();n.add(this.source.subscribe(x(e,void 0,function(){t._teardown(),e.complete()},function(n){t._teardown(),e.error(n)},function(){return t._teardown()}))),n.closed&&(this._connection=null,n=He.EMPTY)}return n},n.prototype.refCount=function(){return _()(this)},n}(nr),ir={now:function(){return(ir.delegate||performance).now()},delegate:void 0},or={schedule:function(t){var n=requestAnimationFrame,e=cancelAnimationFrame,r=or.delegate;r&&(n=r.requestAnimationFrame,e=r.cancelAnimationFrame);var i=n(function(n){e=void 0,t(n)});return new He(function(){return null==e?void 0:e(i)})},requestAnimationFrame:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=or.delegate;return((null==e?void 0:e.requestAnimationFrame)||requestAnimationFrame).apply(void 0,(0,Ve.fX)([],(0,Ve.zs)(t)))},cancelAnimationFrame:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=or.delegate;return((null==e?void 0:e.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,(0,Ve.fX)([],(0,Ve.zs)(t)))},delegate:void 0},ur=E(),ar=i(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),sr=function(t){function n(){var n=t.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return(0,Ve.C6)(n,t),n.prototype.lift=function(t){var n=new cr(this,this);return n.operator=t,n},n.prototype._throwIfClosed=function(){if(this.closed)throw new ar},n.prototype.next=function(t){var n=this;l(function(){var e,r;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var i=(0,Ve.Ju)(n.currentObservers),o=i.next();!o.done;o=i.next())o.value.next(t)}catch(u){e={error:u}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}}})},n.prototype.error=function(t){var n=this;l(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},n.prototype.complete=function(){var t=this;l(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var n=t.observers;n.length;)n.shift().complete()}})},n.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(n.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0},enumerable:!1,configurable:!0}),n.prototype._trySubscribe=function(n){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,n)},n.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},n.prototype._innerSubscribe=function(t){var n=this,e=this,r=e.hasError,i=e.isStopped,u=e.observers;return r||i?Xe:(this.currentObservers=null,u.push(t),new He(function(){n.currentObservers=null,o(u,t)}))},n.prototype._checkFinalizedStatuses=function(t){var n=this,e=n.hasError,r=n.thrownError,i=n.isStopped;e?t.error(r):i&&t.complete()},n.prototype.asObservable=function(){var t=new nr;return t.source=this,t},n.create=function(t,n){return new cr(t,n)},n}(nr),cr=function(t){function n(n,e){var r=t.call(this)||this;return r.destination=n,r.source=e,r}return(0,Ve.C6)(n,t),n.prototype.next=function(t){var n,e;null===(e=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===e||e.call(n,t)},n.prototype.error=function(t){var n,e;null===(e=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===e||e.call(n,t)},n.prototype.complete=function(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)},n.prototype._subscribe=function(t){var n,e;return null!==(e=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==e?e:Xe},n}(sr),fr=function(t){function n(n){var e=t.call(this)||this;return e._value=n,e}return(0,Ve.C6)(n,t),Object.defineProperty(n.prototype,"value",{get:function(){return this.getValue()}
vendor: 8,324 bytes, line 1
1,enumerable:!1,configurable:!0}),n.prototype._subscribe=function(n){var e=t.prototype._subscribe.call(this,n);return!e.closed&&n.next(this._value),e},n.prototype.getValue=function(){var t=this,n=t.hasError,e=t.thrownError,r=t._value;if(n)throw e;return this._throwIfClosed(),r},n.prototype.next=function(n){t.prototype.next.call(this,this._value=n)},n}(sr),lr={now:function(){return(lr.delegate||Date).now()},delegate:void 0},hr=function(t){function n(n,e,r){void 0===n&&(n=1/0),void 0===e&&(e=1/0),void 0===r&&(r=lr);var i=t.call(this)||this;return i._bufferSize=n,i._windowTime=e,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=e===1/0,i._bufferSize=Math.max(1,n),i._windowTime=Math.max(1,e),i}return(0,Ve.C6)(n,t),n.prototype.next=function(n){var e=this,r=e.isStopped,i=e._buffer,o=e._infiniteTimeWindow,u=e._timestampProvider,a=e._windowTime;r||(i.push(n),!o&&i.push(u.now()+a)),this._trimBuffer(),t.prototype.next.call(this,n)},n.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(t),e=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!t.closed;i+=e?1:2)t.next(r[i]);return this._checkFinalizedStatuses(t),n},n.prototype._trimBuffer=function(){var t=this,n=t._bufferSize,e=t._timestampProvider,r=t._buffer,i=t._infiniteTimeWindow,o=(i?1:2)*n;if(n<1/0&&o<r.length&&r.splice(0,r.length-o),!i){for(var u=e.now(),a=0,s=1;s<r.length&&r[s]<=u;s+=2)a=s;a&&r.splice(0,a+1)}},n}(sr),dr=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n._value=null,n._hasValue=!1,n._isComplete=!1,n}return(0,Ve.C6)(n,t),n.prototype._checkFinalizedStatuses=function(t){var n=this,e=n.hasError,r=n._hasValue,i=n._value,o=n.thrownError,u=n.isStopped,a=n._isComplete;e?t.error(o):(u||a)&&(r&&t.next(i),t.complete())},n.prototype.next=function(t){this.isStopped||(this._value=t,this._hasValue=!0)},n.prototype.complete=function(){var n=this,e=n._hasValue,r=n._value;n._isComplete||(this._isComplete=!0,e&&t.prototype.next.call(this,r),t.prototype.complete.call(this))},n}(sr),vr=function(t){function n(n,e){return t.call(this)||this}return(0,Ve.C6)(n,t),n.prototype.schedule=function(t,n){return void 0===n&&(n=0),this},n}(He),pr={setInterval:function(t,n){for(var e=[],r=2;r<arguments.length;r++)e[r-2]=arguments[r];var i=pr.delegate;return(null==i?void 0:i.setInterval)?i.setInterval.apply(i,(0,Ve.fX)([t,n],(0,Ve.zs)(e))):setInterval.apply(void 0,(0,Ve.fX)([t,n],(0,Ve.zs)(e)))},clearInterval:function(t){var n=pr.delegate;return((null==n?void 0:n.clearInterval)||clearInterval)(t)},delegate:void 0},yr=function(t){function n(n,e){var r=t.call(this,n,e)||this;return r.scheduler=n,r.work=e,r.pending=!1,r}return(0,Ve.C6)(n,t),n.prototype.schedule=function(t,n){var e;if(void 0===n&&(n=0),this.closed)return this;this.state=t;var r=this.id,i=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(i,r,n)),this.pending=!0,this.delay=n,this.id=null!==(e=this.id)&&void 0!==e?e:this.requestAsyncId(i,this.id,n),this},n.prototype.requestAsyncId=function(t,n,e){return void 0===e&&(e=0),pr.setInterval(t.flush.bind(t,this),e)},n.prototype.recycleAsyncId=function(t,n,e){if(void 0===e&&(e=0),null!=e&&this.delay===e&&!1===this.pending)return n;null!=n&&pr.clearInterval(n)},n.prototype.execute=function(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var e=this._execute(t,n);if(e)return e;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},n.prototype._execute=function(t,n){var e,r=!1;try{this.work(t)}catch(i){r=!0,e=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),e},n.prototype.unsubscribe=function(){if(!this.closed){var n=this.id,e=this.scheduler,r=e.actions;this.work=this.state=this.scheduler=null,this.pending=!1,o(r,this),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,t.prototype.unsubscribe.call(this)}},n}(vr),br=1,gr={},mr=function(t){var n=br++;return gr[n]=!0,Fe||(Fe=Promise.resolve()),Fe.then(function(){return A(n)&&t()}),n},wr=function(t){A(t)},xr={setImmediate:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=xr.delegate;return((null==e?void 0:e.setImmediate)||mr).apply(void 0,(0,Ve.fX)([],(0,Ve.zs)(t)))},clearImmediate:function(t){var n=xr.delegate;return((null==n?void 0:n.clearImmediate)||wr)(t)},delegate:void 0},_r=function(t){function n(n,e){var r=t.call(this,n,e)||this;return r.scheduler=n,r.work=e,r}return(0,Ve.C6)(n,t),n.prototype.requestAsyncId=function(n,e,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,n,e,r):(n.actions.push(this),n._scheduled||(n._scheduled=xr.setImmediate(n.flush.bind(n,void 0))))},n.prototype.recycleAsyncId=function(n,e,r){var i;if(void 0===r&&(r=0),null!=r?r>0:this.delay>0)return t.prototype.recycleAsyncId.call(this,n,e,r);var o=n.actions;null!=e&&(null===(i=o[o.length-1])||void 0===i?void 0:i.id)!==e&&(xr.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))},n}(yr),Sr=function(){function t(n,e){void 0===e&&(e=t.now),this.schedulerActionCtor=n,this.now=e}return t.prototype.schedule=function(t,n,e){return void 0===n&&(n=0),new this.schedulerActionCtor(this,t).schedule(e,n)},t.now=lr.now,t}(),Er=function(t){function n(n,e){void 0===e&&(e=Sr.now);var r=t.call(this,n,e)||this;return r.actions=[],r._active=!1,r}return(0,Ve.C6)(n,t),n.prototype.flush=function(t){var n=this.actions;if(this._active)n.push(t);else{var e;this._active=!0;do{if(e=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,e){for(;t=n.shift();)t.unsubscribe();throw e}}},n}(Sr),Ar=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return(0,Ve.C6)(n,t),n.prototype.flush=function(t){this._active=!0;var n=this._scheduled;this._scheduled=void 0;var e,r=this.actions;t=t||r.shift();do{if(e=t.execute(t.state,t.delay))break}while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,e){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw e}},n}(Er),kr=new Ar(_r),Or=kr,Tr=new Er(yr),Cr=Tr,Ir=function(t){function n(n,e){var r=t.call(this,n,e)||this;return r.scheduler=n,r.work=e,r}return(0,Ve.C6)(n,t),n.prototype.schedule=function(n,e){return void 0===e&&(e=0),e>0?t.prototype.schedule.call(this,n,e):(this.delay=e,this.state=n,this.scheduler.flush(this),this)},n.prototype.execute=function(n,e){return e>0||this.closed?t.prototype.execute.call(this,n,e):this._execute(n,e)},n.prototype.requestAsyncId=function(n,e,r){return void 0===r&&(r=0),null!=r&&r>0||null==r&&this.delay>0?t.prototype.requestAsyncId.call(this,n,e,r):(n.flush(this),0)},n}(yr),Ur=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return(0,Ve.C6)(n,t),n}(Er),jr=new Ur(Ir),Nr=jr,Pr=function(t){function n(n,e){var r=t.call(this,n,e)||this;return r.scheduler=n,r.work=e,r}return(0,Ve.C6)(n,t),n.prototype.requestAsyncId=function(n,e,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,n,e,r):(n.actions.push(this),n._scheduled||(n._scheduled=or.requestAnimationFrame(function(){return n.flush(void 0)})))},n.prototype.recycleAsyncId=function(n,e,r){var i;if(void 0===r&&(r=0),null!=r?r>0:this.delay>0)return t.prototype.recycleAsyncId.call(this,n,e,r);var o=n.actions;null!=e&&(null===(i=o[o.length-1])||void 0===i?void 0:i.id)!==e&&(or.cancelAnimationFrame(e),n._scheduled=void 0)},n}(yr),Rr=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return(0,Ve.C6)(n,t),n.prototype.flush=function(t){this._active=!0;var n=this._scheduled;this._scheduled=void 0;var e,r=this.actions;t=t||r.shift();do{if(e=t.execute(t.state,t.delay))break}while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,e){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw e}},n}(Er),Lr=new Rr(Pr),Dr=Lr,Mr=function(t){function n(n,e){void 0===n&&(n=Fr),void 0===e&&(e=1/0);var r=t.call(this,n,function(){return r.frame})||this;return r.maxFrames=e,r.frame=0,r.index=-1,r}return(0,Ve.C6)(n,t),n.prototype.flush=function(){for(var t,n,e=this.actions,r=this.maxFrames;(n=e[0])&&n.delay<=r&&(e.shift(),this.frame=n.delay,!(t=n.execute(n.state,n.delay))););if(t){for(;n=e.shift();)n.unsubscribe();throw t}},n.frameTimeFactor=10,n}(Er),Fr=function(t){function n(n,e,r){void 0===r&&(r=n.index+=1);var i=t.call(this,n,e)||this;
1return i.scheduler=n,i.work=e,i.index=r,i.active=!0,i.index=n.index=r,i}return(0,Ve.C6)(n,t),n.prototype.schedule=function(e,r){if(void 0===r&&(r=0),Number.isFinite(r)){if(!this.id)return t.prototype.schedule.call(this,e,r);this.active=!1;var i=new n(this.scheduler,this.work);return this.add(i),i.schedule(e,r)}return He.EMPTY},n.prototype.requestAsyncId=function(t,e,r){void 0===r&&(r=0),this.delay=t.frame+r;var i=t.actions;return i.push(this),i.sort(n.sortActions),1},n.prototype.recycleAsyncId=function(t,n,e){void 0===e&&(e=0)},n.prototype._execute=function(n,e){if(!0===this.active)return t.prototype._execute.call(this,n,e)},n.sortActions=function(t,n){return t.delay===n.delay?t.index===n.index?0:t.index>n.index?1:-1:t.delay>n.delay?1:-1},n}(yr),zr=new nr(function(t){return t.complete()}),Vr=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t},qr="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";!function(t){t.NEXT="N",t.ERROR="E",t.COMPLETE="C"}(ze||(ze={}));var Hr=function(){function t(t,n,e){this.kind=t,this.value=n,this.error=e,this.hasValue="N"===t}return t.prototype.observe=function(t){return Q(this,t)},t.prototype.do=function(t,n,e){var r=this,i=r.kind,o=r.value,u=r.error;return"N"===i?null==t?void 0:t(o):"E"===i?null==n?void 0:n(u):null==e?void 0:e()},t.prototype.accept=function(t,n,e){var i;return r(null===(i=t)||void 0===i?void 0:i.next)?this.observe(t):this.do(t,n,e)},t.prototype.toObservable=function(){var t=this,n=t.kind,e=t.value,r=t.error,i="N"===n?J(e):"E"===n?Y(function(){return r}):"C"===n?zr:0;if(!i)throw new TypeError("Unexpected notification kind "+n);return i},t.createNext=function(n){return new t("N",n)},t.createError=function(n){return new t("E",void 0,n)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t}(),Xr=i(function(t){return function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}}),Br=i(function(t){return function(){t(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}}),Wr=i(function(t){return function(n){t(this),this.name="NotFoundError",this.message=n}}),$r=i(function(t){return function(n){t(this),this.name="SequenceError",this.message=n}}),Jr=i(function(t){return function(n){void 0===n&&(n=null),t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n}}),Yr=Array.isArray,Qr=Array.isArray,Gr=Object.getPrototypeOf,Kr=Object.prototype,Zr=Object.keys,ti={connector:function(){return new sr},resetOnDisconnect:!0},ni=["addListener","removeListener"],ei=["addEventListener","removeEventListener"],ri=["on","off"],ii=new nr(c),oi=Array.isArray,ui=function(t,n){return t.push(n),t},ai=Zt,si={connector:function(){return new sr}},ci=Tn,fi=vt,li=function(t,n){this.value=t,this.interval=n}},42231(t,n){function e(t,n){var e=t.length;t.push(n);t:for(;0<e;){var r=e-1>>>1,i=t[r];if(!(0<o(i,n)))break t;t[r]=n,t[e]=i,e=r}}function r(t){return 0===t.length?null:t[0]}function i(t){if(0===t.length)return null;var n=t[0],e=t.pop();if(e!==n){t[0]=e;t:for(var r=0,i=t.length,u=i>>>1;r<u;){var a=2*(r+1)-1,s=t[a],c=a+1,f=t[c];if(0>o(s,e))c<i&&0>o(f,s)?(t[r]=f,t[c]=e,r=c):(t[r]=s,t[a]=e,r=a);else{if(!(c<i&&0>o(f,e)))break t;t[r]=f,t[c]=e,r=c}}}return n}function o(t,n){var e=t.sortIndex-n.sortIndex;return 0!==e?e:t.id-n.id}function u(t){for(var n=r(b);null!==n;){if(null===n.callback)i(b);else{if(!(n.startTime<=t))break;i(b),n.sortIndex=n.expirationTime,e(y,n)}n=r(b)}}function a(t){if(S=!1,u(t),!_)if(null!==r(y))_=!0,f();else{var n=r(b);null!==n&&l(a,n.startTime-t)}}function s(){return!(n.unstable_now()-I<C)}function c(){if(O){var t=n.unstable_now();I=t;var e=!0;try{t:{_=!1,S&&(S=!1,A(T),T=-1),x=!0;var o=w;try{n:{for(u(t),m=r(y);null!==m&&!(m.expirationTime>t&&s());){var c=m.callback;if("function"==typeof c){m.callback=null,w=m.priorityLevel;var f=c(m.expirationTime<=t);if(t=n.unstable_now(),"function"==typeof f){m.callback=f,u(t),e=!0;break n}m===r(y)&&i(y),u(t)}else i(y);m=r(y)}if(null!==m)e=!0;else{var h=r(b);null!==h&&l(a,h.startTime-t),e=!1}}break t}finally{m=null,w=o,x=!1}e=void 0}}finally{e?p():O=!1}}}function f(){O||(O=!0,p())}function l(t,e){T=E(function(){t(n.unstable_now())},e)}if(n.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var h=performance;n.unstable_now=function(){return h.now()}}else{var d=Date,v=d.now();n.unstable_now=function(){return d.now()-v}}var p,y=[],b=[],g=1,m=null,w=3,x=!1,_=!1,S=!1,E="function"==typeof setTimeout?setTimeout:null,A="function"==typeof clearTimeout?clearTimeout:null,k="undefined"!=typeof setImmediate?setImmediate:null,O=!1,T=-1,C=5,I=-1;if("function"==typeof k)p=function(){k(c)};else if("undefined"!=typeof MessageChannel){var U=new MessageChannel,j=U.port2;U.port1.onmessage=c,p=function(){j.postMessage(null)}}else p=function(){E(c,0)};n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(t){t.callback=null},n.unstable_continueExecution=function(){_||x||(_=!0,f())},n.unstable_forceFrameRate=function(t){0>t||125<t||(C=0<t?Math.floor(1e3/t):5)},n.unstable_getCurrentPriorityLevel=function(){return w},n.unstable_getFirstCallbackNode=function(){return r(y)},n.unstable_next=function(t){switch(w){case 1:case 2:case 3:var n=3;break;default:n=w}var e=w;w=n;try{return t()}finally{w=e}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(t,n){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var e=w;w=t;try{return n()}finally{w=e}},n.unstable_scheduleCallback=function(t,i,o){var u=n.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?u+o:u,t){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return t={id:g++,callback:i,priorityLevel:t,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>u?(t.sortIndex=o,e(b,t),null===r(y)&&t===r(b)&&(S?(A(T),T=-1):S=!0,l(a,o-u))):(t.sortIndex=s,e(y,t),_||x||(_=!0,f())),t},n.unstable_shouldYield=s,n.unstable_wrapCallback=function(t){var n=w;return function(){var e=w;w=n;try{return t.apply(this,arguments)}finally{w=e}}}},23556(t,n,e){t.exports=e(42231)},79667(t,n,e){e.d(n,{AO:()=>x,Kr:()=>m,nq:()=>w});var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not
1(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"].join(","),i="undefined"==typeof Element,o=i?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,u=!i&&Element.prototype.getRootNode?function(t){var n;return null==t||null===(n=t.getRootNode)||void 0===n?void 0:n.call(t)}:function(t){return null==t?void 0:t.ownerDocument},a=function t(n,e){var r;void 0===e&&(e=!0);var i=null==n||null===(r=n.getAttribute)||void 0===r?void 0:r.call(n,"inert");return""===i||"true"===i||e&&n&&t(n.parentNode)},s=function(t,n,e){if(a(t))return[];var i=Array.prototype.slice.apply(t.querySelectorAll(r));return n&&o.call(t,r)&&i.unshift(t),i.filter(e)},c=function t(n,e,i){for(var u=[],s=Array.from(n);s.length;){var c=s.shift();if(!a(c,!1))if("SLOT"===c.tagName){var f=c.assignedElements(),l=t(f.length?f:c.children,!0,i);i.flatten?u.push.apply(u,l):u.push({scopeParent:c,candidates:l})}else{o.call(c,r)&&i.filter(c)&&(e||!n.includes(c))&&u.push(c);var h=c.shadowRoot||"function"==typeof i.getShadowRoot&&i.getShadowRoot(c),d=!a(h,!1)&&(!i.shadowRootFilter||i.shadowRootFilter(c));if(h&&d){var v=t(!0===h?c.children:h.children,!0,i);i.flatten?u.push.apply(u,v):u.push({scopeParent:c,candidates:v})}else s.unshift.apply(s,c.children)}}return u},f=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},l=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||function(t){var n,e=null==t||null===(n=t.getAttribute)||void 0===n?void 0:n.call(t,"contenteditable");return""===e||"true"===e}(t))&&!f(t)?0:t.tabIndex},h=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},d=function(t){return"INPUT"===t.tagName},v=function(t){var n=t.getBoundingClientRect(),e=n.width,r=n.height;return 0===e&&0===r},p=function(t,n){return!(n.disabled||a(n)||function(t){return d(t)&&"hidden"===t.type}(n)||function(t,n){var e=n.displayCheck,r=n.getShadowRoot;if("hidden"===getComputedStyle(t).visibility)return!0;var i=o.call(t,"details>summary:first-of-type")?t.parentElement:t;if(o.call(i,"details:not([open]) *"))return!0;if(e&&"full"!==e&&"legacy-full"!==e){if("non-zero-area"===e)return v(t)}else{if("function"==typeof r){for(var a=t;t;){var s=t.parentElement,c=u(t);if(s&&!s.shadowRoot&&!0===r(s))return v(t);t=t.assignedSlot?t.assignedSlot:s||c===t.ownerDocument?s:c.host}t=a}if(function(t){var n,e,r,i,o=t&&u(t),a=null===(n=o)||void 0===n?void 0:n.host,s=!1;if(o&&o!==t)for(s=!!(null!==(e=a)&&void 0!==e&&null!==(r=e.ownerDocument)&&void 0!==r&&r.contains(a)||null!=t&&null!==(i=t.ownerDocument)&&void 0!==i&&i.contains(t));!s&&a;){var c,f,l;s=!(null===(f=a=null===(c=o=u(a))||void 0===c?void 0:c.host)||void 0===f||null===(l=f.ownerDocument)||void 0===l||!l.contains(a))}return s}(t))return!t.getClientRects().length;if("legacy-full"!==e)return!0}return!1}(n,t)||function(t){return"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some(function(t){return"SUMMARY"===t.tagName})}(n)||function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if("FIELDSET"===n.tagName&&n.disabled){for(var e=0;e<n.children.length;e++){var r=n.children.item(e);if("LEGEND"===r.tagName)return!!o.call(n,"fieldset[disabled] *")||!r.contains(t)}return!0}n=n.parentElement}return!1}(n))},y=function(t,n){return!(function(t){return function(t){return d(t)&&"radio"===t.type}(t)&&!function(t){if(!t.name)return!0;var n,e=t.form||u(t),r=function(t){return e.querySelectorAll('input[type="radio"][name="'+t+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)n=r(window.CSS.escape(t.name));else try{n=r(t.name)}catch(o){return!1}var i=function(t,n){for(var e=0;e<t.length;e++)if(t[e].checked&&t[e].form===n)return t[e]}(n,t.form);return!i||i===t}(t)}(n)||l(n)<0||!p(t,n))},b=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},g=function t(n){var e=[],r=[];
1return n.forEach(function(n,i){var o=!!n.scopeParent,u=o?n.scopeParent:n,a=function(t,n){var e=l(t);return e<0&&n&&!f(t)?0:e}(u,o),s=o?t(n.candidates):u;0===a?o?e.push.apply(e,s):e.push(u):r.push({documentOrder:i,tabIndex:a,item:n,isScope:o,content:s})}),r.sort(h).reduce(function(t,n){return n.isScope?t.push.apply(t,n.content):t.push(n.content),t},[]).concat(e)},m=function(t,n){var e;return e=(n=n||{}).getShadowRoot?c([t],n.includeContainer,{filter:y.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:b}):s(t,n.includeContainer,y.bind(null,n)),g(e)},w=function(t,n){return(n=n||{}).getShadowRoot?c([t],n.includeContainer,{filter:p.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):s(t,n.includeContainer,p.bind(null,n))},x=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return!1!==o.call(t,r)&&y(n,t)}},28205(t,n,e){var r;!function(i){function o(t,n){if(n=n||{},(t=t||"")instanceof o)return t;if(!(this instanceof o))return new o(t,n);var e=function(t){var n,e,r,o={r:0,g:0,b:0},u=1,a=null,s=null,c=null,f=!1,l=!1;return"string"==typeof t&&(t=function(t){t=t.replace(j,"").replace(N,"").toLowerCase();var n,e=!1;if(q[t])t=q[t],e=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};return(n=X.rgb.exec(t))?{r:n[1],g:n[2],b:n[3]}:(n=X.rgba.exec(t))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=X.hsl.exec(t))?{h:n[1],s:n[2],l:n[3]}:(n=X.hsla.exec(t))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=X.hsv.exec(t))?{h:n[1],s:n[2],v:n[3]}:(n=X.hsva.exec(t))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=X.hex8.exec(t))?{r:k(n[1]),g:k(n[2]),b:k(n[3]),a:I(n[4]),format:e?"name":"hex8"}:(n=X.hex6.exec(t))?{r:k(n[1]),g:k(n[2]),b:k(n[3]),format:e?"name":"hex"}:(n=X.hex4.exec(t))?{r:k(n[1]+""+n[1]),g:k(n[2]+""+n[2]),b:k(n[3]+""+n[3]),a:I(n[4]+""+n[4]),format:e?"name":"hex8"}:!!(n=X.hex3.exec(t))&&{r:k(n[1]+""+n[1]),g:k(n[2]+""+n[2]),b:k(n[3]+""+n[3]),format:e?"name":"hex"}}(t)),"object"==typeof t&&(U(t.r)&&U(t.g)&&U(t.b)?(n=t.r,e=t.g,r=t.b,o={r:255*E(n,255),g:255*E(e,255),b:255*E(r,255)},f=!0,l="%"===String(t.r).substr(-1)?"prgb":"rgb"):U(t.h)&&U(t.s)&&U(t.v)?(a=T(t.s),s=T(t.v),o=function(t,n,e){t=6*E(t,360),n=E(n,100),e=E(e,100);var r=i.floor(t),o=t-r,u=e*(1-n),a=e*(1-o*n),s=e*(1-(1-o)*n),c=r%6;return{r:255*[e,a,u,u,s,e][c],g:255*[s,e,e,a,u,u][c],b:255*[u,u,s,e,e,a][c]}}(t.h,a,s),f=!0,l="hsv"):U(t.h)&&U(t.s)&&U(t.l)&&(a=T(t.s),c=T(t.l),o=function(t,n,e){function r(t,n,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?t+6*(n-t)*e:e<.5?n:e<2/3?t+(n-t)*(2/3-e)*6:t}var i,o,u;if(t=E(t,360),n=E(n,100),e=E(e,100),0===n)i=o=u=e;else{var a=e<.5?e*(1+n):e+n-e*n,s=2*e-a;i=r(s,a,t+1/3),o=r(s,a,t),u=r(s,a,t-1/3)}return{r:255*i,g:255*o,b:255*u}}(t.h,a,c),f=!0,l="hsl"),t.hasOwnProperty("a")&&(u=t.a)),u=S(u),{ok:f,format:t.format||l,r:L(255,D(o.r,0)),g:L(255,D(o.g,0)),b:L(255,D(o.b,0)),a:u}}(t);this._originalInput=t,this._r=e.r,this._g=e.g,this._b=e.b,this._a=e.a,this._roundA=R(100*this._a)/100,this._format=n.format||e.format,this._gradientType=n.gradientType,this._r<1&&(this._r=R(this._r)),this._g<1&&(this._g=R(this._g)),this._b<1&&(this._b=R(this._b)),this._ok=e.ok,this._tc_id=P++}function u(t,n,e){t=E(t,255),n=E(n,255),e=E(e,255);var r,i,o=D(t,n,e),u=L(t,n,e),a=(o+u)/2;if(o==u)r=i=0;else{var s=o-u;switch(i=a>.5?s/(2-o-u):s/(o+u),o){case t:r=(n-e)/s+(n<e?6:0);break;case n:r=(e-t)/s+2;break;case e:r=(t-n)/s+4}r/=6}return{h:r,s:i,l:a}}function a(t,n,e){t=E(t,255),n=E(n,255),e=E(e,255);var r,i,o=D(t,n,e),u=L(t,n,e),a=o,s=o-u;if(i=0===o?0:s/o,o==u)r=0;else{switch(o){case t:r=(n-e)/s+(n<e?6:0);break;case n:r=(e-t)/s+2;break;case e:r=(t-n)/s+4}r/=6}return{h:r,s:i,v:a}}function s(t,n,e,r){var i=[O(R(t).toString(16)),O(R(n).toString(16)),O(R(e).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function c(t,n,e,r){return[O(C(r)),O(R(t).toString(16)),O(R(n).toString(16)),O(R(e).toString(16))].join("")}function f(t,n){n=0===n?0:n||10;var e=o(t).toHsl();return e.s-=n/100,e.s=A(e.s),o(e)}function l(t,n){n=0===n?0:n||10;var e=o(t).toHsl();return e.s+=n/100,e.s=A(e.s),o(e)}function h(t){return o(t).desaturate(100)}function d(t,n){n=0===n?0:n||10;var e=o(t).toHsl();return e.l+=n/100,e.l=A(e.l),o(e)}function v(t,n){n=0===n?0:n||10;var e=o(t).toRgb();return e.r=D(0,L(255,e.r-R(-n/100*255))),e.g=D(0,L(255,e.g-R(-n/100*255))),e.b=D(0,L(255,e.b-R(-n/100*255))),o(e)}function p(t,n){n=0===n?0:n||10;var e=o(t).toHsl();return e.l-=n/100,e.l=A(e.l),o(e)}function y(t,n){var e=o(t).toHsl(),r=(e.h+n)%360;return e.h=r<0?360+r:r,o(e)}function b(t){var n=o(t).toHsl();return n.h=(n.h+180)%360,o(n)}function g(t){var n=o(t).toHsl(),e=n.h;return[o(t),o({h:(e+120)%360,s:n.s,l:n.l}),o({h:(e+240)%360,s:n.s,l:n.l})]}function m(t){var n=o(t).toHsl(),e=n.h;return[o(t),o({h:(e+90)%360,s:n.s,l:n.l}),o({h:(e+180)%360,s:n.s,l:n.l}),o({h:(e+270)%360,s:n.s,l:n.l})]}function w(t){var n=o(t).toHsl(),e=n.h;return[o(t),o({h:(e+72)%360,s:n.s,l:n.l}),o({h:(e+216)%360,s:n.s,l:n.l})]}function x(t,n,e){n=n||6,e=e||30;var r=o(t).toHsl(),i=360/e,u=[o(t)];for(r.h=(r.h-(i*n>>1)+720)%360;--n;)r.h=(r.h+i)%360,u.push(o(r));return u}function _(t,n){n=n||6;for(var e=o(t).toHsv(),r=e.h,i=e.s,u=e.v,a=[],s=1/n;n--;)a.push(o({h:r,s:i,v:u})),u=(u+s)%1;return a}function S(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function E(t,n){(function(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var e=function(t){return"string"==typeof t&&-1!=t.indexOf("%")}(t);return t=L(n,D(0,parseFloat(t))),e&&(t=parseInt(t*n,10)/100),i.abs(t-n)<1e-6?1:t
vendor: 5,921 bytes, line 1
1%n/parseFloat(n)}function A(t){return L(1,D(0,t))}function k(t){return parseInt(t,16)}function O(t){return 1==t.length?"0"+t:""+t}function T(t){return t<=1&&(t=100*t+"%"),t}function C(t){return i.round(255*parseFloat(t)).toString(16)}function I(t){return k(t)/255}function U(t){return!!X.CSS_UNIT.exec(t)}var j=/^\s+/,N=/\s+$/,P=0,R=i.round,L=i.min,D=i.max,M=i.random;o.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var t,n,e,r=this.toRgb();return t=r.r/255,n=r.g/255,e=r.b/255,.2126*(t<=.03928?t/12.92:i.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:i.pow((n+.055)/1.055,2.4))+.0722*(e<=.03928?e/12.92:i.pow((e+.055)/1.055,2.4))},setAlpha:function(t){return this._a=S(t),this._roundA=R(100*this._a)/100,this},toHsv:function(){var t=a(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=a(this._r,this._g,this._b),n=R(360*t.h),e=R(100*t.s),r=R(100*t.v);return 1==this._a?"hsv("+n+", "+e+"%, "+r+"%)":"hsva("+n+", "+e+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var t=u(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=u(this._r,this._g,this._b),n=R(360*t.h),e=R(100*t.s),r=R(100*t.l);return 1==this._a?"hsl("+n+", "+e+"%, "+r+"%)":"hsla("+n+", "+e+"%, "+r+"%, "+this._roundA+")"},toHex:function(t){return s(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return function(t,n,e,r,i){var o=[O(R(t).toString(16)),O(R(n).toString(16)),O(R(e).toString(16)),O(C(r))];return i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:R(this._r),g:R(this._g),b:R(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+R(this._r)+", "+R(this._g)+", "+R(this._b)+")":"rgba("+R(this._r)+", "+R(this._g)+", "+R(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:R(100*E(this._r,255))+"%",g:R(100*E(this._g,255))+"%",b:R(100*E(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+R(100*E(this._r,255))+"%, "+R(100*E(this._g,255))+"%, "+R(100*E(this._b,255))+"%)":"rgba("+R(100*E(this._r,255))+"%, "+R(100*E(this._g,255))+"%, "+R(100*E(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(H[s(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var n="#"+c(this._r,this._g,this._b,this._a),e=n,r=this._gradientType?"GradientType = 1, ":"";if(t){var i=o(t);e="#"+c(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+n+",endColorstr="+e+")"},toString:function(t){var n=!!t;t=t||this._format;var e=!1,r=this._a<1&&this._a>=0;return n||!r||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"hex4"!==t&&"hex8"!==t&&"name"!==t?("rgb"===t&&(e=this.toRgbString()),"prgb"===t&&(e=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(e=this.toHexString()),"hex3"===t&&(e=this.toHexString(!0)),"hex4"===t&&(e=this.toHex8String(!0)),"hex8"===t&&(e=this.toHex8String()),"name"===t&&(e=this.toName()),"hsl"===t&&(e=this.toHslString()),"hsv"===t&&(e=this.toHsvString()),e||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},clone:function(){return o(this.toString())},_applyModification:function(t,n){var e=t.apply(null,[this].concat([].slice.call(n)));return this._r=e._r,this._g=e._g,this._b=e._b,this.setAlpha(e._a),this},lighten:function(){return this._applyModification(d,arguments)},brighten:function(){return this._applyModification(v,arguments)},darken:function(){return this._applyModification(p,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(l,arguments)},greyscale:function(){return this._applyModification(h,arguments)},spin:function(){return this._applyModification(y,arguments)},_applyCombination:function(t,n){return t.apply(null,[this].concat([].slice.call(n)))},analogous:function(){return this._applyCombination(x,arguments)},complement:function(){return this._applyCombination(b,arguments)},monochromatic:function(){return this._applyCombination(_,arguments)},splitcomplement:function(){return this._applyCombination(w,arguments)},triad:function(){return this._applyCombination(g,arguments)},tetrad:function(){return this._applyCombination(m,arguments)}},o.fromRatio=function(t,n){if("object"==typeof t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[r]="a"===r?t[r]:T(t[r]));t=e}return o(t,n)},o.equals=function(t,n){return!(!t||!n)&&o(t).toRgbString()==o(n).toRgbString()},o.random=function(){return o.fromRatio({r:M(),g:M(),b:M()})},o.mix=function(t,n,e){e=0===e?0:e||50;var r=o(t).toRgb(),i=o(n).toRgb(),u=e/100;return o({r:(i.r-r.r)*u+r.r,g:(i.g-r.g)*u+r.g,b:(i.b-r.b)*u+r.b,a:(i.a-r.a)*u+r.a})},o.readability=function(t,n){var e=o(t),r=o(n);return(i.max(e.getLuminance(),r.getLuminance())+.05)/(i.min(e.getLuminance(),r.getLuminance())+.05)},o.isReadable=function(t,n,e){var r,i,u,a,s,c=o.readability(t,n);switch(i=!1,"AA"!==(a=((u=(u=e)||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==a&&(a="AA"),"small"!==(s=(u.size||"small").toLowerCase())&&"large"!==s&&(s="small"),(r={level:a,size:s}).level+r.size){case"AAsmall":case"AAAlarge":i=c>=4.5;break;case"AAlarge":i=c>=3;break;case"AAAsmall":i=c>=7}return i},o.mostReadable=function(t,n,e){var r,i,u,a,s=null,c=0;i=(e=e||{}).includeFallbackColors,u=e.level,a=e.size;
vendor: 1,589 bytes, line 1
1for(var f=0;f<n.length;f++)(r=o.readability(t,n[f]))>c&&(c=r,s=o(n[f]));return o.isReadable(t,s,{level:u,size:a})||!i?s:(e.includeFallbackColors=!1,o.mostReadable(t,["#fff","#000"],e))};var F,z,V,q=o.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee9
10",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},H=o.hexNames=function(t){var n={};for(var e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}(q),X=(z="[\\s|\\(]+("+(F="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",V="[\\s|\\(]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")[,|\\s]+("+F+")\\s*\\)?",{CSS_UNIT:new RegExp(F),rgb:new RegExp("rgb"+z),rgba:new RegExp("rgba"+V),hsl:new RegExp("hsl"+z),hsla:new RegExp("hsla"+V),hsv:new RegExp("hsv"+z),hsva:new RegExp("hsva"
1+V),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});t.exports?t.exports=o:void 0===(r=function(){return o}.call(n,e,n,t))||(t.exports=r)}(Math)},35799(t,n,e){function r(t,n){return"function"==typeof t?t(n):t&&(t.current=n),t}function i(t,n){var e,i,s,c=(e=n||null,i=function(n){return t.forEach(function(t){return r(t,n)})},(s=(0,o.useState)(function(){return{value:e,callback:i,facade:{get current(){return s.value},set current(t){var n=s.value;n!==t&&(s.value=t,s.callback(t,n))}}}})[0]).callback=i,s.facade);return u(function(){var n=a.get(c);if(n){var e=new Set(n),i=new Set(t),o=c.current;e.forEach(function(t){i.has(t)||r(t,null)}),i.forEach(function(t){e.has(t)||r(t,o)})}a.set(c,t)},[t]),c}e.d(n,{SV:()=>i});var o=e(82337),u="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,a=new WeakMap;new WeakMap},12287(t,n,e){function r(t){return t}function i(t){void 0===t&&(t={});var n=function(t,n){void 0===n&&(n=r);var e=[],i=!1;return{read:function(){if(i)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return e.length?e[e.length-1]:t},useMedium:function(t){var r=n(t,i);return e.push(r),function(){e=e.filter(function(t){return t!==r})}},assignSyncMedium:function(t){for(i=!0;e.length;){var n=e;e=[],n.forEach(t)}e={push:function(n){return t(n)},filter:function(){return e}}},assignMedium:function(t){i=!0;var n=[];if(e.length){var r=e;e=[],r.forEach(t),n=e}var o=function(){var e=n;n=[],e.forEach(t)},u=function(){return Promise.resolve().then(o)};u(),e={push:function(t){n.push(t),u()},filter:function(t){return n=n.filter(t),e}}}}}(null);return n.options=(0,u.Cl)({async:!0,ssr:!1},t),n}function o(t,n){return t.useMedium(n),s}e.d(n,{fi:()=>i,mb:()=>o});var u=e(5482),a=e(82337),s=(e(93393),new WeakMap,function(t){var n=t.sideCar,e=(0,u.Tt)(t,["sideCar"]);if(!n)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=n.read();if(!r)throw new Error("Sidecar medium not found");return a.createElement(r,(0,u.Cl)({},e))});s.isSideCarExport=!0},66581(t,n,e){function r(t){var n=t.getSnapshot;t=t.value;try{var e=n();return!o(t,e)}catch(r){return!0}}var i=e(82337),o="function"==typeof Object.is?Object.is:function(t,n){return t===n&&(0!==t||1/t==1/n)||t!=t&&n!=n},u=i.useState,a=i.useEffect,s=i.useLayoutEffect,c=i.useDebugValue,f="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,n){return n()}:function(t,n){var e=n(),i=u({inst:{value:e,getSnapshot:n}}),o=i[0].inst,f=i[1];return s(function(){o.value=e,o.getSnapshot=n,r(o)&&f({inst:o})},[t,e,n]),a(function(){return r(o)&&f({inst:o}),t(function(){r(o)&&f({inst:o})})},[t]),c(e),e};n.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:f},73258(t,n,e){var r=e(82337),i=e(78760),o="function"==typeof Object.is?Object.is:function(t,n){return t===n&&(0!==t||1/t==1/n)||t!=t&&n!=n},u=i.useSyncExternalStore,a=r.useRef,s=r.useEffect,c=r.useMemo,f=r.useDebugValue;n.useSyncExternalStoreWithSelector=function(t,n,e,r,i){var l=a(null);if(null===l.current){var h={hasValue:!1,value:null};l.current=h}else h=l.current;l=c(function(){function t(t){if(!s){if(s=!0,u=t,t=r(t),void 0!==i&&h.hasValue){var n=h.value;if(i(n,t))return a=n}return a=t}if(n=a,o(u,t))return n;var e=r(t);return void 0!==i&&i(n,e)?(u=t,n):(u=t,a=e)}var u,a,s=!1,c=void 0===e?null:e;return[function(){return t(n())},null===c?void 0:function(){return t(c())}]},[n,e,r,i]);var d=u(t,l[0],l[1]);return s(function(){h.hasValue=!0,h.value=d},[d]),f(d),d}},78760(t,n,e){t.exports=e(66581)},34322(t,n,e){t.exports=e(73258)},16020(t,n,e){function r(t,n){var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)n.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(e[r[i]]=t[r[i]])}return e}function i(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function o(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,i,o=e.call(t),u=[];try{for(;(void 0===n||n-- >0)&&!(r=o.next()).done;)u.push(r.value)}catch(Gt){i={error:Gt}}finally{try{r&&!r.done&&(e=o.return)&&e.call(o)}finally{if(i)throw i.error}}return u}function u(t,n,e){if(e||2===arguments.length)for(var r,i=0,o=n.length;i<o;i++)!r&&i in n||(r||(r=Array.prototype.slice.call(n,0,i)),r[i]=n[i]);return t.concat(r||Array.prototype.slice.call(n))}function a(t,n,e){void 0===e&&(e=".");var r=f(t,e),i=f(n,e);return E(i)?!!E(r)&&i===r:E(r)?r in i:Object.keys(r).every(function(t){return t in i&&a(r[t],i[t])})}function s(t){try{return E(t)||"number"==typeof t?"".concat(t):t.type}catch(n){throw new Error("Events must be strings or objects with a string event.type property.")}}function c(t,n){try{return _(t)?t:t.toString().split(n)}catch(e){throw new Error("'".concat(t,"' is not a valid state path."))}}function f(t,n){return"object"==typeof(e=t)&&"value"in e&&"context"in e&&"event"in e&&"_event"in e?t.value:_(t)?l(t):"string"!=typeof t?t:l(c(t,n));var e}function l(t){if(1===t.length)return t[0];for(var n={},e=n,r=0;r<t.length-1;r++)r===t.length-2?e[t[r]]=t[r+1]:(e[t[r]]={},e=e[t[r]]);return n}function h(t,n){for(var e={},r=Object.keys(t),i=0;i<r.length;i++){var o=r[i];e[o]=n(t[o],o,t,i)}return e}function d(t,n,e){var r,o,u={};try{for(var a=i(Object.keys(t)),s=a.next();!s.done;s=a.next()){var c=s.value,f=t[c];e(f)&&(u[c]=n(f,c,t))}}catch(l){r={error:l}}
vendor: 7,587 bytes, line 1
1finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return u}function v(t){return t?E(t)?[[t]]:p(Object.keys(t).map(function(n){var e=t[n];return"string"==typeof e||e&&Object.keys(e).length?v(t[n]).map(function(t){return[n].concat(t)}):[[n]]})):[[]]}function p(t){var n;return(n=[]).concat.apply(n,u([],o(t),!1))}function y(t){return _(t)?t:[t]}function b(t){return void 0===t?[]:y(t)}function g(t,n,e){var r,o;if(S(t))return t(n,e.data);var u={};try{for(var a=i(Object.keys(t)),s=a.next();!s.done;s=a.next()){var c=s.value,f=t[c];S(f)?u[c]=f(n,e.data):u[c]=f}}catch(l){r={error:l}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return u}function m(t){return t instanceof Promise||!(null===t||!S(t)&&"object"!=typeof t||!S(t.then))}function w(t,n){return h(t.states,function(t,e){if(t){var r=(E(n)?void 0:n[e])||(t?t.current:void 0);if(r)return{current:r,states:w(t,r)}}})}function x(t,n,e,r){var o=t?e.reduce(function(t,e){var o,u,a=e.assignment,s={state:r,action:e,_event:n},c={};if(S(a))c=a(t,n.data,s);else try{for(var f=i(Object.keys(a)),l=f.next();!l.done;l=f.next()){var h=l.value,d=a[h];c[h]=S(d)?d(t,n.data,s):d}}catch(v){o={error:v}}finally{try{l&&!l.done&&(u=f.return)&&u.call(f)}finally{if(o)throw o.error}}return Object.assign({},t,c)},t):t;return o}function _(t){return Array.isArray(t)}function S(t){return"function"==typeof t}function E(t){return"string"==typeof t}function A(t,n){if(t)return E(t)?{type:en,name:t,predicate:n?n[t]:void 0}:S(t)?{type:en,name:t.name,predicate:t}:t}function k(t){return!!t&&"__xstatenode"in t}function O(t,n){return E(t)||"number"==typeof t?Pt({type:t},n):t}function T(t,n){if(!E(t)&&"$$type"in t&&"scxml"===t.$$type)return t;var e=O(t);return Pt({name:e.type,data:e,$$type:"scxml",type:"external"},n)}function C(t,n){return y(n).map(function(n){return void 0===n||"string"==typeof n||k(n)?{target:n,event:t}:Pt(Pt({},n),{event:t})})}function I(t,n,e,r,i){var o=t.options.guards,u={state:i,cond:n,_event:r};if(n.type===en)return((null==o?void 0:o[n.name])||n.predicate)(e,r.data,u);var a=null==o?void 0:o[n.type];if(!a)throw new Error("Guard '".concat(n.type,"' is not implemented on machine '").concat(t.id,"'."));return a(e,r.data,u)}function U(t){return"string"==typeof t?{type:t}:t}function j(t,n,e){var r=function(){},i="object"==typeof t,o=i?t:null;return{next:((i?t.next:t)||r).bind(o),error:((i?t.error:n)||r).bind(o),complete:((i?t.complete:e)||r).bind(o)}}function N(t,n){return"".concat(t,":invocation[").concat(n,"]")}function P(t){return(t.type===Ft||t.type===zt&&t.to===Nt.Internal)&&"number"!=typeof t.delay}function R(t,n){return n&&n[t]||void 0}function L(t,n){var e;if(E(t)||"number"==typeof t)e=S(r=R(t,n))?{type:t,exec:r}:r||{type:t,exec:void 0};else if(S(t))e={type:t.name||t.toString(),exec:t};else{var r;if(S(r=R(t.type,n)))e=Pt(Pt({},t),{exec:r});else if(r){var i=r.type||t.type;e=Pt(Pt(Pt({},r),t),{type:i})}else e=t}return e}function D(t){var n=L(t);return Pt(Pt({id:E(t)?t:n.id},n),{type:n.type})}function M(t,n){return{type:Ft,event:"function"==typeof t?t:O(t),delay:n?n.delay:void 0,id:null==n?void 0:n.id}}function F(t,n,e,r){var i,o={_event:e},u=T(S(t.event)?t.event(n,e.data,o):t.event);if(E(t.delay)){var a=r&&r[t.delay];i=S(a)?a(n,e.data,o):a}else i=S(t.delay)?t.delay(n,e.data,o):t.delay;return Pt(Pt({},t),{type:Ft,_event:u,delay:i})}function z(t,n){return{to:n?n.to:void 0,type:zt,event:S(t)?t:O(t),delay:n?n.delay:void 0,id:n&&void 0!==n.id?n.id:S(t)?t.name:s(t)}}function V(t,n,e,r){var i,o={_event:e},u=T(S(t.event)?t.event(n,e.data,o):t.event);if(E(t.delay)){var a=r&&r[t.delay];i=S(a)?a(n,e.data,o):a}else i=S(t.delay)?t.delay(n,e.data,o):t.delay;var s=S(t.to)?t.to(n,e.data,o):t.to;return Pt(Pt({},t),{to:s,_event:u,event:u.data,delay:i})}function q(t,n){return z(t,Pt(Pt({},n),{to:Nt.Parent}))}function H(t,n,e){return z(n,Pt(Pt({},e),{to:t}))}function X(){return q(Kt)}function B(t,n){return z(t,Pt(Pt({},n),{to:function(t,n,e){return e._event.origin}}))}function W(t,n){return void 0===t&&(t=cn),{type:Wt,label:n,expr:t}}function $(t){var n=D(t);return{type:jt.Start,activity:n,exec:void 0}}function J(t){var n=S(t)?t:D(t);return{type:jt.Stop,activity:n,exec:void 0}}function Y(t,n,e){var r=S(t.activity)?t.activity(n,e.data):t.activity,i="string"==typeof r?{id:r}:r;return{type:jt.Stop,activity:i}}function Q(t){return"object"==typeof t&&"type"in t}function G(t,n){var e=n?"#".concat(n):"";return"".concat(jt.After,"(").concat(t,")").concat(e)}function K(t,n){var e="".concat(jt.DoneState,".").concat(t);return{type:e,data:n,toString:function(){return e}}}function Z(t,n){var e="".concat(jt.DoneInvoke,".").concat(t);return{type:e,data:n,toString:function(){return e}}}function tt(t,n){var e="".concat(jt.ErrorPlatform,".").concat(t);return{type:e,data:n,toString:function(){return e}}}function nt(t){return{type:jt.Pure,get:t}}function et(t,n){return z(function(t,n){return n},Pt(Pt({},n),{to:t}))}function rt(t,n){return q(function(n,e,r){return{type:Gt,data:S(t)?t(n,e,r):t}},Pt(Pt({},n),{to:Nt.Parent}))}function it(t){return{type:jt.Choose,conds:t}}function ot(t,n,e,r,a,s,c){function f(i,a){var f;switch(a.type){case Ft:var l=F(a,h,r,t.options.delays);return s&&"number"==typeof l.delay&&s(l,h,r),l;case zt:var p=V(a,h,r,t.options.delays);return s&&p.to!==Nt.Internal&&("entry"===i?v.push(p):s(p,h,r)),p;case Wt:var y=fn(a,h,r);return null==s||s(y,h,r),y;case Zt:if(!(_=null===(f=a.conds.find(function(e){var i=A(e.cond,t.options.guards);return!i||I(t,i,h,r,s?void 0:n)}))||void 0===f?void 0:f.actions))return[];var g=o(ot(t,n,h,r,[{type:i,actions:sn(b(_),t.options.actions)}],s,c),2),m=g[0],w=g[1];return h=w,null==d||d.push(h),m;case tn:var _;if(!(_=a.get(h,r.data)))return[];var S=o(ot(t,n,h,r,[{type:i,actions:sn(b(_),t.options.actions)}],s,c),2),E=S[0],k=S[1];return h=k,null==d||d.push(h),E;case Mt:return y=Y(a,h,r),null==s||s(y,e,r),y;case Ht:h=x(h,r,[a],s?void 0:n),null==d||d.push(h);break;default:var O=L(a,t.options.actions),T=O.exec;if(s)s(O,h,r);else if(T&&d){var C=d.length-1,U=Pt(Pt({},O),{exec:function(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];T.apply(void 0,u([d[C]],o(n),!1))}});O=U}return O}}void 0===c&&(c=!1);var l=c?[]:function(t){var n,e,r=[];try{for(var o=i(t),u=o.next();!u.done;u=o.next())for(var a=u.value,s=0;s<a.actions.length;)a.actions[s].type!==Ht?s++:(r.push(a.actions[s]),a.actions.splice(s,1))}catch(c){n={error:c}}finally{try{u&&!u.done&&(e=o.return)&&e.call(o)}finally{if(n)throw n.error}}return r}(a),h=l.length?x(e,r,l,n):e,d=c?[e]:void 0,v=[],y=p(a.map(function(t){var n,e,o=[];try{for(var u=i(t.actions),a=u.next();!a.done;a=u.next()){var c=a.value,l=f(t.type,c);l&&(o=o.concat(l))}}catch(d){n={error:d}}finally{try{a&&!a.done&&(e=u.return)&&e.call(u)}finally{if(n)throw n.error}}return v.forEach(function(t){s(t,h,r)}),v.length=0,o}));return[y,h]}function ut(t){var n;return(n={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:t}}})[on]=function(){return this},n}function at(t,n,e){var r=ut(n);if(r.deferred=!0,k(t)){var i=r.state=vn(void 0,function(){return(e?t.withContext(e):t).initialState});r.getSnapshot=function(){return i}}return r}function st(t){var n;return Pt(((n={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}})[on]=function(){return this},n),t)}function ct(t){return Object.keys(t.states).map(function(n){return t.states[n]})}function ft(t){return ct(t).filter(function(t){return"history"!==t.type})}function lt(t){var n=[t];
1return pn(t)?n:n.concat(p(ft(t).map(lt)))}function ht(t,n){var e,r,o,u,a,s,c,f,l=vt(new Set(t)),h=new Set(n);try{for(var d=i(h),v=d.next();!v.done;v=d.next())for(var p=(E=v.value).parent;p&&!h.has(p);)h.add(p),p=p.parent}catch(A){e={error:A}}finally{try{v&&!v.done&&(r=d.return)&&r.call(d)}finally{if(e)throw e.error}}var y=vt(h);try{for(var b=i(h),g=b.next();!g.done;g=b.next())if("compound"!==(E=g.value).type||y.get(E)&&y.get(E).length){if("parallel"===E.type)try{for(var m=(a=void 0,i(ft(E))),w=m.next();!w.done;w=m.next()){var x=w.value;h.has(x)||(h.add(x),l.get(x)?l.get(x).forEach(function(t){return h.add(t)}):x.initialStateNodes.forEach(function(t){return h.add(t)}))}}catch(k){a={error:k}}finally{try{w&&!w.done&&(s=m.return)&&s.call(m)}finally{if(a)throw a.error}}}else l.get(E)?l.get(E).forEach(function(t){return h.add(t)}):E.initialStateNodes.forEach(function(t){return h.add(t)})}catch(O){o={error:O}}finally{try{g&&!g.done&&(u=b.return)&&u.call(b)}finally{if(o)throw o.error}}try{for(var _=i(h),S=_.next();!S.done;S=_.next()){var E;for(p=(E=S.value).parent;p&&!h.has(p);)h.add(p),p=p.parent}}catch(T){c={error:T}}finally{try{S&&!S.done&&(f=_.return)&&f.call(_)}finally{if(c)throw c.error}}return h}function dt(t,n){var e=n.get(t);if(!e)return{};if("compound"===t.type){var r=e[0];if(!r)return{};if(pn(r))return r.key}var i={};return e.forEach(function(t){i[t.key]=dt(t,n)}),i}function vt(t){var n,e,r=new Map;try{for(var o=i(t),u=o.next();!u.done;u=o.next()){var a=u.value;r.has(a)||r.set(a,[]),a.parent&&(r.has(a.parent)||r.set(a.parent,[]),r.get(a.parent).push(a))}}catch(s){n={error:s}}finally{try{u&&!u.done&&(e=o.return)&&e.call(o)}finally{if(n)throw n.error}}return r}function pt(t,n){return dt(t,vt(ht([t],n)))}function yt(t,n){return Array.isArray(t)?t.some(function(t){return t===n}):t instanceof Set&&t.has(n)}function bt(t,n){return"compound"===n.type?ft(n).some(function(n){return"final"===n.type&&yt(t,n)}):"parallel"===n.type&&ft(n).every(function(n){return bt(t,n)})}function gt(t){return new Set(p(t.map(function(t){return t.tags})))}function mt(t,n){if(t===n)return!0;if(void 0===t||void 0===n)return!1;if(E(t)||E(n))return t===n;var e=Object.keys(t),r=Object.keys(n);return e.length===r.length&&e.every(function(e){return mt(t[e],n[e])})}function wt(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:void 0}function xt(t,n){void 0===n&&(n={});var e=t.initialState,r=new Set,i=[],o=!1,u=st({id:n.id,send:function(n){i.push(n),function(){if(!o){for(o=!0;i.length>0;){var n=i.shift();e=t.transition(e,n,a),r.forEach(function(t){return t.next(e)})}o=!1}}()},getSnapshot:function(){return e},subscribe:function(t,n,i){var o=j(t,n,i);return r.add(o),o.next(e),{unsubscribe:function(){r.delete(o)}}}}),a={parent:n.parent,self:u,id:n.id||"anonymous",observers:r};return e=t.start?t.start(a):e,u}function _t(t,n){var e,r=function(t){return E(t)?Pt(Pt({},_n),{name:t}):Pt(Pt(Pt({},_n),{name:un()}),t)}(n);return(e=dn[dn.length-1])?e.spawn(t,r.name,r):at(t,r.name)}function St(t,n){return new Sn(t,n)}function Et(t){return Pt(Pt({type:Jt},t),{toJSON:function(){t.onDone,t.onError;var n,e=r(t,["onDone","onError"]);return Pt(Pt({},e),{type:Jt,src:(n=t.src,"string"==typeof n?{type:n,toString:function(){return n}}:n)})}})}function At(t,n,e){return void 0===e&&(e=t.context),new kn(t,n,e)}function kt(t,n){return new kn(t,n)}function Ot(t,n){var e,r,o;try{for(var u=i(Object.keys(t)),s=u.next();!s.done;s=u.next()){var c=s.value;a(c,n)&&(!o||n.length>o.length)&&(o=c)}}catch(f){e={error:f}}finally{try{s&&!s.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}return t[o]}function Tt(t,n,e){var r,u,a=yn.from(t,t instanceof yn?t.context:void 0);try{for(var s=i(n),c=s.next();!c.done;c=s.next()){var f=o(c.value,2),l=f[0],h=f[1];if(a.matches(l))return h(a)}}catch(d){r={error:d}}finally{try{c&&!c.done&&(u=s.return)&&u.call(s)}finally{if(r)throw r.error}}return e(a)}function Ct(t){return t}e.r(n),e.d(n,{ActionTypes:()=>jt,Interpreter:()=>Sn,InterpreterStatus:()=>Lt,Machine:()=>At,SpecialTargets:()=>Nt,State:()=>yn,StateNode:()=>kn,actions:()=>Ut,assign:()=>Tn,createMachine:()=>kt,createSchema:()=>Ct,doneInvoke:()=>Pn,forwardTo:()=>Nn,interpret:()=>St,mapState:()=>Ot,matchState:()=>Tt,matchesState:()=>a,raise:()=>Rn,send:()=>Cn,sendParent:()=>Un,sendTo:()=>In,sendUpdate:()=>jn,spawn:()=>_t,spawnBehavior:()=>xt,t:()=>On,toActorRef:()=>st,toEventObject:()=>O,toObserver:()=>j,toSCXMLEvent:()=>T});var It={};e.r(It),e.d(It,{after:()=>Xt,assign:()=>Ht,cancel:()=>Vt,choose:()=>Zt,doneState:()=>Bt,error:()=>Gt,errorExecution:()=>Yt,errorPlatform:()=>Qt,init:()=>$t,invoke:()=>Jt,log:()=>Wt,nullEvent:()=>qt,pure:()=>tn,raise:()=>Ft,send:()=>zt,start:()=>Dt,stop:()=>Mt,update:()=>Kt});var Ut={};e.r(Ut),e.d(Ut,{actionTypes:()=>It,after:()=>G,assign:()=>hn,cancel:()=>ln,choose:()=>it,done:()=>K,doneInvoke:()=>Z,error:()=>tt,escalate:()=>rt,forwardTo:()=>et,getActionFunction:()=>R,initEvent:()=>an,isActionObject:()=>Q,log:()=>W,pure:()=>nt,raise:()=>M,resolveActions:()=>ot,resolveLog:()=>fn,resolveRaise:()=>F,resolveSend:()=>V,resolveStop:()=>Y,respond:()=>B,send:()=>z,sendParent:()=>q,sendTo:()=>H,sendUpdate:()=>X,start:()=>$,stop:()=>J,toActionObject:()=>L,toActionObjects:()=>sn,toActivityDefinition:()=>D});var jt,Nt,Pt=function(){return Pt=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var i in n=arguments[e])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t},Pt.apply(this,arguments)};!function(t){t.Start="xstate.start",t.Stop="xstate.stop",t.Raise="xstate.raise",t.Send="xstate.send",t.Cancel="xstate.cancel",t.NullEvent="",t.Assign="xstate.assign",t.After="xstate.after",t.DoneState="done.state",t.DoneInvoke="done.invoke",t.Log="xstate.log",t.Init="xstate.init",t.Invoke="xstate.invoke",t.ErrorExecution="error.execution",t.ErrorCommunication="error.communication",t.ErrorPlatform="error.platform",t.ErrorCustom="xstate.error",t.Update="xstate.update",t.Pure="xstate.pure",t.Choose="xstate.choose"}(jt||(jt={})),function(t){t.Parent="#_parent",t.Internal="#_internal"}(Nt||(Nt={}));var Rt,Lt,Dt=jt.Start,Mt=jt.Stop,Ft=jt.Raise,zt=jt.Send,Vt=jt.Cancel,qt=jt.NullEvent,Ht=jt.Assign,Xt=jt.After,Bt=jt.DoneState,Wt=jt.Log,$t=jt.Init,Jt=jt.Invoke,Yt=jt.ErrorExecution,Qt=jt.ErrorPlatform,Gt=jt.ErrorCustom,Kt=jt.Update,Zt=jt.Choose,tn=jt.Pure,nn={},en="xstate.guard",rn=function(t){return function(n){var e,r,o=n;try{for(var u=i(t),a=u.next();!a.done;a=u.next())o=o[a.value]}catch(s){e={error:s}}finally{try{a&&!a.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}return o}},on=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}(),un=((Rt={})[on]=function(){return this},Rt[Symbol.observable]=function(){return this},function(){var t=0;return function(){return(++t).toString(16)}}()),an=T({type:$t}),sn=function(t,n){return t?(_(t)?t:[t]).map(function(t){return L(t,n)}):[]},cn=function(t,n){return{context:t,event:n}},fn=function(t,n,e){return Pt(Pt({},t),{value:E(t.expr)?t.expr:t.expr(n,e.data,{_event:e})})},ln=function(t){return{type:Vt,sendId:t}},hn=function(t){return{type:Ht,assignment:t}},dn=[],vn=function(t,n){dn.push(t);var e=n(t);return dn.pop(),e},pn=function(t){return"atomic"===t.type||"final"===t.type},yn=function(){function t(t){var n,e,r=this;this.actions=[],this.activities=nn,this.meta={},this.events=[],this.value=t.value,this.context=t.context,this._event=t._event,this._sessionid=t._sessionid,this.event=this._event.data,this.historyValue=t.historyValue,this.history=t.history,this.actions=t.actions||[],this.activities=t.activities||nn,this.meta=(void 0===(e=t.configuration)&&(e=[]),e.reduce(function(t,n){return void 0!==n.meta&&(t[n.id]=n.meta),t},{})),this.events=t.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=t.configuration,this.transitions=t.transitions,this.children=t.children,this.done=!!t.done,this.tags=null!==(n=Array.isArray(t.tags)?new Set(t.tags):t.tags)&&void 0!==n?n:new Set,this.machine=t.machine,Object.defineProperty(this,"nextEvents",{get:function(){return function(t){return u([],o(new Set(p(u([],o(t.map(function(t){return t.ownEvents})),!1)))),!1)}(r.configuration)}})}
vendor: 5,558 bytes, line 1
1return t.from=function(n,e){return n instanceof t?n.context!==e?new t({value:n.value,context:e,_event:n._event,_sessionid:null,historyValue:n.historyValue,history:n.history,actions:[],activities:n.activities,meta:{},events:[],configuration:[],transitions:[],children:{}}):n:new t({value:n,context:e,_event:an,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta:void 0,events:[],configuration:[],transitions:[],children:{}})},t.create=function(n){return new t(n)},t.inert=function(n,e){if(n instanceof t){if(!n.actions.length)return n;var r=an;return new t({value:n.value,context:e,_event:r,_sessionid:null,historyValue:n.historyValue,history:n.history,activities:n.activities,configuration:n.configuration,transitions:[],children:{}})}return t.from(n,e)},t.prototype.toStrings=function(t,n){var e=this;if(void 0===t&&(t=this.value),void 0===n&&(n="."),E(t))return[t];var r=Object.keys(t);return r.concat.apply(r,u([],o(r.map(function(r){return e.toStrings(t[r],n).map(function(t){return r+n+t})})),!1))},t.prototype.toJSON=function(){var t=this;t.configuration,t.transitions;var n=t.tags;t.machine;var e=r(t,["configuration","transitions","tags","machine"]);return Pt(Pt({},e),{tags:Array.from(n)})},t.prototype.matches=function(t){return a(t,this.value)},t.prototype.hasTag=function(t){return this.tags.has(t)},t.prototype.can=function(t){var n;this.machine;var e=null===(n=this.machine)||void 0===n?void 0:n.getTransitionData(this,t);return!!(null==e?void 0:e.transitions.length)&&e.transitions.some(function(t){return void 0!==t.target||t.actions.length})},t}(),bn={deferEvents:!1},gn=function(){function t(t){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=Pt(Pt({},bn),t)}return t.prototype.initialize=function(t){if(this.initialized=!0,t){if(!this.options.deferEvents)return void this.schedule(t);this.process(t)}this.flushEvents()},t.prototype.schedule=function(t){if(this.initialized&&!this.processingEvent){if(0!==this.queue.length)throw new Error("Event queue should be empty when it is not processing events");this.process(t),this.flushEvents()}else this.queue.push(t)},t.prototype.clear=function(){this.queue=[]},t.prototype.flushEvents=function(){for(var t=this.queue.shift();t;)this.process(t),t=this.queue.shift()},t.prototype.process=function(t){this.processingEvent=!0;try{t()}catch(n){throw this.clear(),n}finally{this.processingEvent=!1}},t}(),mn=new Map,wn=0,xn=function(t){mn.delete(t)},_n={sync:!1,autoForward:!1};!function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"}(Lt||(Lt={}));var Sn=function(){function t(n,e){void 0===e&&(e=t.defaultOptions);var r=this;this.machine=n,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=Lt.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(t,n){if(_(t))return r.batch(t),r.state;var e=T(O(t,n));if(r.status===Lt.Stopped)return r.state;if(r.status!==Lt.Running&&!r.options.deferEvents)throw new Error('Event "'.concat(e.name,'" was sent to uninitialized service "').concat(r.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.\nEvent: ').concat(JSON.stringify(e.data)));return r.scheduler.schedule(function(){r.forward(e);var t=r._nextState(e);r.update(t,e)}),r._state},this.sendTo=function(t,n,e){var i,o=r.parent&&(n===Nt.Parent||r.parent.id===n),u=o?r.parent:E(n)?n===Nt.Internal?r:r.children.get(n)||function(t){return mn.get(t)}(n):(i=n)&&"function"==typeof i.send?n:void 0;if(u)if("machine"in u){if(r.status!==Lt.Stopped||r.parent!==u||r.state.done){var a=Pt(Pt({},t),{name:t.name===Gt?"".concat(tt(r.id)):t.name,origin:r.sessionId});!e&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([u,a]):u.send(a)}}else!e&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([u,t.data]):u.send(t.data);else if(!o)throw new Error("Unable to send event to child '".concat(n,"' from service '").concat(r.id,"'."))},this._exec=function(t,n,e,i){void 0===i&&(i=r.machine.options.actions);var o=t.exec||R(t.type,i),u=S(o)?o:o?o.exec:t.exec;if(u)try{return u(n,e.data,r.machine.config.predictableActionArguments?{action:t,_event:e}:{action:t,state:r.state,_event:e})}catch(_){throw r.parent&&r.parent.send({type:"xstate.error",data:_}),_}switch(t.type){case Ft:var a=t;r.defer(a);break;case zt:var s=t;if("number"==typeof s.delay)return void r.defer(s);s.to?r.sendTo(s._event,s.to,e===an):r.send(s._event);break;case Vt:r.cancel(t.sendId);break;case Dt:if(r.status!==Lt.Running)return;var c=t.activity;if(!r.machine.config.predictableActionArguments&&!r.state.activities[c.id||c.type])break;if(c.type===jt.Invoke){var f=U(c.src),l=r.machine.options.services?r.machine.options.services[f.type]:void 0,h=c.id,d=c.data,v="autoForward"in c?c.autoForward:!!c.forward;if(!l)return;var p=d?g(d,n,e):void 0;if("string"==typeof l)return;var y=S(l)?l(n,e.data,{data:p,src:f,meta:c.meta}):l;if(!y)return;var b=void 0;k(y)&&(y=p?y.withContext(p):y,b={autoForward:v}),r.spawn(y,h,b)}else r.spawnActivity(c);break;case Mt:r.stopChild(t.activity.id);break;case Wt:var m=t,w=m.label,x=m.value;w?r.logger(w,x):r.logger(x)}};var i=Pt(Pt({},t.defaultOptions),e),o=i.clock,u=i.logger,a=i.parent,s=i.id,c=void 0!==s?s:n.id;this.id=c,this.logger=u,this.clock=o,this.parent=a,this.options=i,this.scheduler
1=new gn({deferEvents:this.options.deferEvents}),this.sessionId="x:".concat(wn++)}return Object.defineProperty(t.prototype,"initialState",{get:function(){var t=this;return this._initialState?this._initialState:vn(this,function(){return t._initialState=t.machine.initialState,t._initialState})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),t.prototype.execute=function(t,n){var e,r;try{for(var o=i(t.actions),u=o.next();!u.done;u=o.next()){var a=u.value;this.exec(a,t,n)}}catch(s){e={error:s}}finally{try{u&&!u.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}},t.prototype.update=function(t,n){var e,r,o,u,a,s,c,f,l=this;if(t._sessionid=this.sessionId,this._state=t,this.machine.config.predictableActionArguments&&n!==an||!this.options.execute)for(var h=void 0;h=this._outgoingQueue.shift();)h[0].send(h[1]);else this.execute(this.state);if(this.children.forEach(function(t){l.state.children[t.id]=t}),this.devTools&&this.devTools.send(n.data,t),t.event)try{for(var d=i(this.eventListeners),v=d.next();!v.done;v=d.next())(0,v.value)(t.event)}catch(E){e={error:E}}finally{try{v&&!v.done&&(r=d.return)&&r.call(d)}finally{if(e)throw e.error}}try{for(var p=i(this.listeners),y=p.next();!y.done;y=p.next())(0,y.value)(t,t.event)}catch(A){o={error:A}}finally{try{y&&!y.done&&(u=p.return)&&u.call(p)}finally{if(o)throw o.error}}try{for(var b=i(this.contextListeners),m=b.next();!m.done;m=b.next())(0,m.value)(this.state.context,this.state.history?this.state.history.context:void 0)}catch(k){a={error:k}}finally{try{m&&!m.done&&(s=b.return)&&s.call(b)}finally{if(a)throw a.error}}if(this.state.done){var w=t.configuration.find(function(t){return"final"===t.type&&t.parent===l.machine}),x=w&&w.doneData?g(w.doneData,t.context,n):void 0;this._doneEvent=Z(this.id,x);try{for(var _=i(this.doneListeners),S=_.next();!S.done;S=_.next())(0,S.value)(this._doneEvent)}catch(O){c={error:O}}finally{try{S&&!S.done&&(f=_.return)&&f.call(_)}finally{if(c)throw c.error}}this._stop(),this._stopChildren(),xn(this.sessionId)}},t.prototype.onTransition=function(t){return this.listeners.add(t),this.status===Lt.Running&&t(this.state,this.state.event),this},t.prototype.subscribe=function(t,n,e){var r=this,i=j(t,n,e);this.listeners.add(i.next),this.status!==Lt.NotStarted&&i.next(this.state);var o=function(){r.doneListeners.delete(o),r.stopListeners.delete(o),i.complete()};return this.status===Lt.Stopped?i.complete():(this.onDone(o),this.onStop(o)),{unsubscribe:function(){r.listeners.delete(i.next),r.doneListeners.delete(o),r.stopListeners.delete(o)}}},t.prototype.onEvent=function(t){return this.eventListeners.add(t),this},t.prototype.onSend=function(t){return this.sendListeners.add(t),this},t.prototype.onChange=function(t){return this.contextListeners.add(t),this},t.prototype.onStop=function(t){return this.stopListeners.add(t),this},t.prototype.onDone=function(t){return this.status===Lt.Stopped&&this._doneEvent?t(this._doneEvent):this.doneListeners.add(t),this},t.prototype.off=function(t){return this.listeners.delete(t),this.eventListeners.delete(t),this.sendListeners.delete(t),this.stopListeners.delete(t),this.doneListeners.delete(t),this.contextListeners.delete(t),this},t.prototype.start=function(t){var n,e,r=this;if(this.status===Lt.Running)return this;this.machine._init(),n=this.sessionId,e=this,mn.set(n,e),this.initialized=!0,this.status=Lt.Running;var i=void 0===t?this.initialState:vn(this,function(){return"object"==typeof(n=t)&&null!==n&&"value"in n&&"_event"in n?r.machine.resolveState(t):r.machine.resolveState(yn.from(t,r.machine.context));var n});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){r.update(i,an)}),this},t.prototype._stopChildren=function(){this.children.forEach(function(t){S(t.stop)&&t.stop()}),this.children.clear()},t.prototype._stop=function(){var t,n,e,r,o,u,a,s,c,f;try{for(var l=i(this.listeners),h=l.next();!h.done;h=l.next()){var d=h.value;this.listeners.delete(d)}}catch(S){t={error:S}}finally{try{h&&!h.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}try{for(var v=i(this.stopListeners),p=v.next();!p.done;
1p=v.next())(d=p.value)(),this.stopListeners.delete(d)}catch(E){e={error:E}}finally{try{p&&!p.done&&(r=v.return)&&r.call(v)}finally{if(e)throw e.error}}try{for(var y=i(this.contextListeners),b=y.next();!b.done;b=y.next())d=b.value,this.contextListeners.delete(d)}catch(A){o={error:A}}finally{try{b&&!b.done&&(u=y.return)&&u.call(y)}finally{if(o)throw o.error}}try{for(var g=i(this.doneListeners),m=g.next();!m.done;m=g.next())d=m.value,this.doneListeners.delete(d)}catch(k){a={error:k}}finally{try{m&&!m.done&&(s=g.return)&&s.call(g)}finally{if(a)throw a.error}}if(!this.initialized)return this;this.initialized=!1,this.status=Lt.Stopped,this._initialState=void 0;try{for(var w=i(Object.keys(this.delayedEventsMap)),x=w.next();!x.done;x=w.next()){var _=x.value;this.clock.clearTimeout(this.delayedEventsMap[_])}}catch(O){c={error:O}}finally{try{x&&!x.done&&(f=w.return)&&f.call(w)}finally{if(c)throw c.error}}this.scheduler.clear(),this.scheduler=new gn({deferEvents:this.options.deferEvents})},t.prototype.stop=function(){var t=this,n=this.scheduler;return this._stop(),n.schedule(function(){var n=T({type:"xstate.stop"}),e=vn(t,function(){var e=p(u([],o(t.state.configuration),!1).sort(function(t,n){return n.order-t.order}).map(function(n){return sn(n.onExit,t.machine.options.actions)})),r=o(ot(t.machine,t.state,t.state.context,n,[{type:"exit",actions:e}],t.machine.config.predictableActionArguments?t._exec:void 0,t.machine.config.predictableActionArguments||t.machine.config.preserveActionOrder),2),i=r[0],a=r[1],s=new yn({value:t.state.value,context:a,_event:n,_sessionid:t.sessionId,historyValue:void 0,history:t.state,actions:i.filter(function(t){return!P(t)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:t.state.done,tags:t.state.tags,machine:t.machine});return s.changed=!0,s});t.update(e,n),t._stopChildren(),xn(t.sessionId)}),this},t.prototype.batch=function(t){var n=this;if(this.status===Lt.NotStarted&&this.options.deferEvents);else if(this.status!==Lt.Running)throw new Error("".concat(t.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'));if(t.length){var e=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule(function(){var r,a,s=n.state,c=!1,f=[],l=function(t){var r=T(t);n.forward(r),s=vn(n,function(){return n.machine.transition(s,r,void 0,e||void 0)}),f.push.apply(f,u([],o(n.machine.config.predictableActionArguments?s.actions:s.actions.map(function(t){return function(t,n){var e=t.exec;return Pt(Pt({},t),{exec:void 0!==e?function(){return e(n.context,n.event,{action:t,state:n,_event:n._event})}:void 0})}(t,s)})),!1)),c=c||!!s.changed};try{for(var h=i(t),d=h.next();!d.done;d=h.next())l(d.value)}catch(v){r={error:v}}finally{try{d&&!d.done&&(a=h.return)&&a.call(h)}finally{if(r)throw r.error}}s.changed=c,s.actions=f,n.update(s,T(t[t.length-1]))})}},t.prototype.sender=function(t){return this.send.bind(this,t)},t.prototype._nextState=function(t,n){var e=this;void 0===n&&(n=!!this.machine.config.predictableActionArguments&&this._exec);var r=T(t);if(0===r.name.indexOf(Qt)&&!this.state.nextEvents.some(function(t){return 0===t.indexOf(Qt)}))throw r.data.data;return vn(this,function(){return e.machine.transition(e.state,r,void 0,n||void 0)})},t.prototype.nextState=function(t){return this._nextState(t,!1)},t.prototype.forward=function(t){var n,e;try{for(var r=i(this.forwardTo),o=r.next();!o.done;o=r.next()){var u=o.value,a=this.children.get(u);if(!a)throw new Error("Unable to forward event '".concat(t,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(u,"'."));a.send(t)}}catch(s){n={error:s}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(n)throw n.error}}},t.prototype.defer=function(t){var n=this,e=this.clock.setTimeout(function(){"to"in t&&t.to?n.sendTo(t._event,t.to,!0):n.send(t._event)},t.delay);t.id&&(this.delayedEventsMap[t.id]=e)},t.prototype.cancel=function(t){this.clock.clearTimeout(this.delayedEventsMap[t]),delete this.delayedEventsMap[t]},t.prototype.exec=function(t,n,e){void 0===e&&(e=this.machine.options.actions),this._exec(t,n.context,n._event,e)},t.prototype.removeChild=function(t){var n;this.children.delete(t),this.forwardTo.delete(t),null===(n=this.state)||void 0===n||delete n.children[t]},t.prototype.stopChild=function(t){var n=this.children.get(t);n&&(this.removeChild(t),S(n.stop)&&n.stop())},t.prototype.spawn=function(t,n,e){if(this.status!==Lt.Running)return at(t,n);
vendor: 6,046 bytes, line 1
1if(m(t))return this.spawnPromise(Promise.resolve(t),n);if(S(t))return this.spawnCallback(t,n);if(function(t){try{return"function"==typeof t.send}catch(n){return!1}}(i=t)&&"id"in i)return this.spawnActor(t,n);if(function(t){try{return"subscribe"in t&&S(t.subscribe)}catch(n){return!1}}(t))return this.spawnObservable(t,n);if(k(t))return this.spawnMachine(t,Pt(Pt({},e),{id:n}));if(null!==(r=t)&&"object"==typeof r&&"transition"in r&&"function"==typeof r.transition)return this.spawnBehavior(t,n);throw new Error('Unable to spawn entity "'.concat(n,'" of type "').concat(typeof t,'".'));var r,i},t.prototype.spawnMachine=function(n,e){var r=this;void 0===e&&(e={});var i=new t(n,Pt(Pt({},this.options),{parent:this,id:e.id||n.id})),o=Pt(Pt({},_n),e);o.sync&&i.onTransition(function(t){r.send(Kt,{state:t,id:i.id})});var u=i;return this.children.set(i.id,u),o.autoForward&&this.forwardTo.add(i.id),i.onDone(function(t){r.removeChild(i.id),r.send(T(t,{origin:i.id}))}).start(),u},t.prototype.spawnBehavior=function(t,n){var e=xt(t,{id:n,parent:this});return this.children.set(n,e),e},t.prototype.spawnPromise=function(t,n){var e,r,i=this,o=!1;t.then(function(t){o||(r=t,i.removeChild(n),i.send(T(Z(n,t),{origin:n})))},function(t){if(!o){i.removeChild(n);var e=tt(n,t);try{i.send(T(e,{origin:n}))}catch(Gt){i.devTools&&i.devTools.send(e,i.state),i.machine.strict&&i.stop()}}});var u=((e={id:n,send:function(){},subscribe:function(n,e,r){var i=j(n,e,r),o=!1;return t.then(function(t){o||(i.next(t),o||i.complete())},function(t){o||i.error(t)}),{unsubscribe:function(){return o=!0}}},stop:function(){o=!0},toJSON:function(){return{id:n}},getSnapshot:function(){return r}})[on]=function(){return this},e);return this.children.set(n,u),u},t.prototype.spawnCallback=function(t,n){var e,r,i,o=this,u=!1,a=new Set,s=new Set;try{i=t(function(t){r=t,s.forEach(function(n){return n(t)}),u||o.send(T(t,{origin:n}))},function(t){a.add(t)})}catch(f){this.send(tt(n,f))}if(m(i))return this.spawnPromise(i,n);var c=((e={id:n,send:function(t){return a.forEach(function(n){return n(t)})},subscribe:function(t){var n=j(t);return s.add(n.next),{unsubscribe:function(){s.delete(n.next)}}},stop:function(){u=!0,S(i)&&i()},toJSON:function(){return{id:n}},getSnapshot:function(){return r}})[on]=function(){return this},e);return this.children.set(n,c),c},t.prototype.spawnObservable=function(t,n){var e,r,i=this,o=t.subscribe(function(t){r=t,i.send(T(t,{origin:n}))},function(t){i.removeChild(n),i.send(T(tt(n,t),{origin:n}))},function(){i.removeChild(n),i.send(T(Z(n),{origin:n}))}),u=((e={id:n,send:function(){},subscribe:function(n,e,r){return t.subscribe(n,e,r)},stop:function(){return o.unsubscribe()},getSnapshot:function(){return r},toJSON:function(){return{id:n}}})[on]=function(){return this},e);return this.children.set(n,u),u},t.prototype.spawnActor=function(t,n){return this.children.set(n,t),t},t.prototype.spawnActivity=function(t){var n=this.machine.options&&this.machine.options.activities?this.machine.options.activities[t.type]:void 0;if(n){var e=n(this.state.context,t);this.spawnEffect(t.id,e)}},t.prototype.spawnEffect=function(t,n){var e;this.children.set(t,((e={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:n||void 0,getSnapshot:function(){},toJSON:function(){return{id:t}}})[on]=function(){return this},e))},t.prototype.attachDev=function(){var t=wt();if(this.options.devTools&&t){if(t.__REDUX_DEVTOOLS_EXTENSION__){var n="object"==typeof this.options.devTools?this.options.devTools:void 0;this.devTools=t.__REDUX_DEVTOOLS_EXTENSION__.connect(Pt(Pt({name:this.id,autoPause:!0,stateSanitizer:function(t){return{value:t.value,context:t.context,actions:t.actions}}},n),{features:Pt({jump:!1,skip:!1},n?n.features:void 0)}),this.machine),this.devTools.init(this.state)}!function(t){if(wt()){var n=function(){var t=wt();if(t&&"__xstate__"in t)return t.__xstate__}();n&&n.register(t)}}(this)}},t.prototype.toJSON=function(){return{id:this.id}},t.prototype[on]=function(){return this},t.prototype.getSnapshot=function(){return this.status===Lt.NotStarted?this.initialState:this._state},t.defaultOptions={execute:!0,deferEvents:!0,clock:{setTimeout:function(t,n){return setTimeout(t,n)},clearTimeout:function(t){return clearTimeout(t)}},logger:function(){}.bind(),devTools:!1},t.interpret=St,t}(),En={},An=function(t){return"#"===t[0]},kn=function(){function t(n,e,r,a){void 0===r&&(r="context"in n?n.context:void 0);var s,c=this;this.config=n,this._context=r,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign({actions:{},guards:{},services:{},activities:{},delays:{}},e),this.parent=null==a?void 0:a.parent,this.key=this.config.key||(null==a?void 0:a.key)||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:"."),this.id=this.config.id||u([this.machine.key],o(this.path),!1).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.schema=this.parent?this.machine.schema:null!==(s=this.config.schema)&&void 0!==s?s:{},this.description=this.config.description,this.initial=this.config.initial,this.states=this.config.states?h(this.config.states,function(n,e){var r,i=new t(n,{},void 0,{parent:c,key:e});return Object.assign(c.idMap,Pt(((r={})[i.id]=i,r),i.idMap)),i}):En;var f=0;!function t(n){var e,r;n.order=f++;try{for(var o=i(ct(n)),u=o.next();!u.done;u=o.next())t(u.value)}catch(a){e={error:a}}finally{try{u&&!u.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}}(this),this.history=!0===this.config.history?"shallow":this.config.history||
vendor: 4,364 bytes, line 1
1!1,this._transient=!!this.config.always||!!this.config.on&&(Array.isArray(this.config.on)?this.config.on.some(function(t){return""===t.event}):""in this.config.on),this.strict=!!this.config.strict,this.onEntry=b(this.config.entry||this.config.onEntry).map(function(t){return L(t)}),this.onExit=b(this.config.exit||this.config.onExit).map(function(t){return L(t)}),this.meta=this.config.meta,this.doneData="final"===this.type?this.config.data:void 0,this.invoke=b(this.config.invoke).map(function(t,n){var e,r;if(k(t)){var i=N(c.id,n);return c.machine.options.services=Pt(((e={})[i]=t,e),c.machine.options.services),Et({src:i,id:i})}if(E(t.src))return i=t.id||N(c.id,n),Et(Pt(Pt({},t),{id:i,src:t.src}));if(k(t.src)||S(t.src))return i=t.id||N(c.id,n),c.machine.options.services=Pt(((r={})[i]=t.src,r),c.machine.options.services),Et(Pt(Pt({id:i},t),{src:i}));var o=t.src;return Et(Pt(Pt({id:N(c.id,n)},t),{src:o}))}),this.activities=b(this.config.activities).concat(this.invoke).map(function(t){return D(t)}),this.transition=this.transition.bind(this),this.tags=b(this.config.tags)}return t.prototype._init=function(){this.__cache.transitions||lt(this).forEach(function(t){return t.on})},t.prototype.withConfig=function(n,e){var r=this.options,i=r.actions,o=r.activities,u=r.guards,a=r.services,s=r.delays;return new t(this.config,{actions:Pt(Pt({},i),n.actions),activities:Pt(Pt({},o),n.activities),guards:Pt(Pt({},u),n.guards),services:Pt(Pt({},a),n.services),delays:Pt(Pt({},s),n.delays)},null!=e?e:this.context)},t.prototype.withContext=function(n){return new t(this.config,this.options,n)},Object.defineProperty(t.prototype,"context",{get:function(){return S(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:h(this.states,function(t){return t.definition}),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),t.prototype.toJSON=function(){return this.definition},Object.defineProperty(t.prototype,"on",{get:function(){if(this.__cache.on)return this.__cache.on;var t=this.transitions;return this.__cache.on=t.reduce(function(t,n){return t[n.eventType]=t[n.eventType]||[],t[n.eventType].push(n),t},{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),t.prototype.getCandidates=function(t){if(this.__cache.candidates[t])return this.__cache.candidates[t];var n=""===t,e=this.transitions.filter(function(e){var r=e.eventType===t;return n?r:r||"*"===e.eventType});return this.__cache.candidates[t]=e,e},t.prototype.getDelayedTransitions=function(){var t=this,n=this.config.after;if(!n)return[];var e=function(n,e){var r=G(S(n)?"".concat(t.id,":delay[").concat(e,"]"):n,t.id);return t.onEntry.push(z(r,{delay:n})),t.onExit.push(ln(r)),r};return(_(n)?n.map(function(t,n){var r=e(t.delay,n);return Pt(Pt({},t),{event:r})}):p(Object.keys(n).map(function(t,r){var i=n[t],o=E(i)?{target:i}:i,u=isNaN(+t)?t:+t,a=e(u,r);return b(o).map(function(t){return Pt(Pt({},t),{event:a,delay:u})})}))).map(function(n){var e=n.delay;return Pt(Pt({},t.formatTransition(n)),{delay:e})})},t.prototype.getStateNodes=function(t){var n,e=this;if(!t)return[];var r=t instanceof yn?t.value:f(t,this.delimiter);if(E(r)){var i=this.getStateNode(r).initial;return void 0!==i?this.getStateNodes(((n={})[r]=i,n)):[this,this.states[r]]}var a=Object.keys(r),s=[this];return s.push.apply(s,u([],o(p(a.map(function(t){return e.getStateNode(t).getStateNodes(r[t])}))),!1)),s},t.prototype.handles=function(t){var n=s(t);return this.events.includes(n)},t.prototype.resolveState=function(t){var n=t instanceof yn?t:yn.create(t),e=Array.from(ht([],this.get
1StateNodes(n.value)));return new yn(Pt(Pt({},n),{value:this.resolve(n.value),configuration:e,done:bt(e,this),tags:gt(e),machine:this.machine}))},t.prototype.transitionLeafNode=function(t,n,e){var r=this.getStateNode(t).next(n,e);return r&&r.transitions.length?r:this.next(n,e)},t.prototype.transitionCompoundNode=function(t,n,e){var r=Object.keys(t),i=this.getStateNode(r[0])._transition(t[r[0]],n,e);return i&&i.transitions.length?i:this.next(n,e)},t.prototype.transitionParallelNode=function(t,n,e){var r,o,u={};try{for(var a=i(Object.keys(t)),s=a.next();!s.done;s=a.next()){var c=s.value,f=t[c];if(f){var l=this.getStateNode(c)._transition(f,n,e);l&&(u[c]=l)}}}catch(y){r={error:y}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}var h=Object.keys(u).map(function(t){return u[t]}),d=p(h.map(function(t){return t.transitions}));if(!h.some(function(t){return t.transitions.length>0}))return this.next(n,e);var v=p(Object.keys(u).map(function(t){return u[t].configuration}));return{transitions:d,exitSet:p(h.map(function(t){return t.exitSet})),configuration:v,source:n,actions:p(Object.keys(u).map(function(t){return u[t].actions}))}},t.prototype._transition=function(t,n,e){return E(t)?this.transitionLeafNode(t,n,e):1===Object.keys(t).length?this.transitionCompoundNode(t,n,e):this.transitionParallelNode(t,n,e)},t.prototype.getTransitionData=function(t,n){return this._transition(t.value,t,T(n))},t.prototype.next=function(t,n){var e,r,s,c=this,l=n.name,h=[],d=[];try{for(var v=i(this.getCandidates(l)),y=v.next();!y.done;y=v.next()){var b=y.value,g=b.cond,m=b.in,w=t.context,x=!m||(E(m)&&An(m)?t.matches(f(this.getStateNodeById(m).path,this.delimiter)):a(f(m,this.delimiter),rn(this.path.slice(0,-2))(t.value))),_=!1;try{_=!g||I(this.machine,g,w,n,t)}catch(A){throw new Error("Unable to evaluate guard '".concat(g.name||g.type,"' in transition for event '").concat(l,"' in state node '").concat(this.id,"':\n").concat(A.message))}if(_&&x){void 0!==b.target&&(d=b.target),h.push.apply(h,u([],o(b.actions),!1)),s=b;break}}}catch(k){e={error:k}}finally{try{y&&!y.done&&(r=v.return)&&r.call(v)}finally{if(e)throw e.error}}if(s){if(!d.length)return{transitions:[s],exitSet:[],configuration:t.value?[this]:[],source:t,actions:h};var S=p(d.map(function(n){return c.getRelativeStateNodes(n,t.historyValue)}));return{transitions:[s],exitSet:s.internal?[]:p(d.map(function(t){return c.getPotentiallyReenteringNodes(t)})),configuration:S,source:t,actions:h}}},t.prototype.getPotentiallyReenteringNodes=function(t){if(this.order<t.order)return[this];for(var n=[],e=this,r=t;e&&e!==r;)n.push(e),e=e.parent;return e!==r?[]:(n.push(r),n)},t.prototype.getActions=function(t,n,e,r,a,s,c){var f,l,h,d,v=this,y=s?ht([],this.getStateNodes(s.value)):[],b=new Set;try{for(var m=i(Array.from(t).sort(function(t,n){return t.order-n.order})),w=m.next();!w.done;w=m.next())(!yt(y,S=w.value)||yt(e.exitSet,S)||S.parent&&b.has(S.parent))&&b.add(S)}catch(I){f={error:I}}finally{try{w&&!w.done&&(l=m.return)&&l.call(m)}finally{if(f)throw f.error}}try{for(var x=i(y),_=x.next();!_.done;_=x.next()){var S;yt(t,S=_.value)&&!yt(e.exitSet,S.parent)||e.exitSet.push(S)}}catch(U){h={error:U}}finally{try{_&&!_.done&&(d=x.return)&&d.call(x)}finally{if(h)throw h.error}}e.exitSet.sort(function(t,n){return n.order-t.order});var E=Array.from(b).sort(function(t,n){return t.order-n.order}),A=new Set(e.exitSet),k=p(E.map(function(t){var n=[];if("final"!==t.type)return n;var i=t.parent;if(!i.parent)return n;n.push(K(t.id,t.doneData),K(i.id,t.doneData?g(t.doneData,r,a):void 0));var o=i.parent;return"parallel"===o.type&&ft(o).every(function(t){return bt(e.configuration,t)})&&n.push(K(o.id)),n})),O=E.map(function(t){var n=t.onEntry,e=t.activities.map(function(t){return $(t)});return{type:"entry",actions:sn(c?u(u([],o(n),!1),o(e),!1):u(u([],o(e),!1),o(n),!1),v.machine.options.actions)}}).concat({type:"state_done",actions:k.map(function(t){return M(t)})}),T=Array.from(A).map(function(t){return{type:"exit",actions:sn(u(u([],o(t.onExit),!1),o(t.activities.map(function(t){return J(t)})),!1),v.machine.options.actions)}}).concat({type:"transition",actions:sn(e.actions,this.machine.options.actions)}).concat(O);if(n){var C=sn(p(u([],o(t),!1).sort(function(t,n){return n.order-t.order}).map(function(t){return t.onExit})),this.machine.options.actions).filter(function(t){return!P(t)});return T.concat({type:"stop",actions:C})}return T},t.prototype.transition=function(t,n,e,r){void 0===t&&(t=this.initialState);var i,a,s=T(n);if(t instanceof yn)i=void 0===e?t:this.resolveState(yn.from(t,e));else{var c=E(t)?this.resolve(l(this.getResolvedPath(t))):this.resolve(t),f=null!=e?e:this.machine.context;i=this.resolveState(yn.from(c,f))}if(this.strict&&!this.events.includes(s.name)&&(a=s.name,!/^(done|error)\./.test(a)))throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(s.name,"'"));var h=this._transition(i.value,i,s)||{transitions:[],configuration:[],exitSet:[],source:i,actions:[]}
vendor: 4,918 bytes, line 1
1,d=ht([],this.getStateNodes(i.value)),v=h.configuration.length?ht(d,h.configuration):d;return h.configuration=u([],o(v),!1),this.resolveTransition(h,i,i.context,r,s)},t.prototype.resolveRaisedTransition=function(t,n,e,r){var i,a=t.actions;return(t=this.transition(t,n,void 0,r))._event=e,t.event=e.data,(i=t.actions).unshift.apply(i,u([],o(a),!1)),t},t.prototype.resolveTransition=function(t,n,e,r,u){var a,s,c,f,l=this;void 0===u&&(u=an);var h=t.configuration,d=!n||t.transitions.length>0,v=d?t.configuration:n?n.configuration:[],p=bt(v,this),y=d?pt(this.machine,h):void 0,b=n?n.historyValue?n.historyValue:t.source?this.machine.historyValue(n.value):void 0:void 0,m=this.getActions(new Set(v),p,t,e,u,n,r),x=n?Pt({},n.activities):{};try{for(var _=i(m),S=_.next();!S.done;S=_.next()){var E=S.value;try{for(var A=(c=void 0,i(E.actions)),k=A.next();!k.done;k=A.next()){var O=k.value;O.type===Dt?x[O.activity.id||O.activity.type]=O:O.type===Mt&&(x[O.activity.id||O.activity.type]=!1)}}catch($){c={error:$}}finally{try{k&&!k.done&&(f=A.return)&&f.call(A)}finally{if(c)throw c.error}}}}catch(J){a={error:J}}finally{try{S&&!S.done&&(s=_.return)&&s.call(_)}finally{if(a)throw a.error}}var T,C,I=o(ot(this,n,e,u,m,r,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),j=I[0],N=I[1],R=o(function(t,n){var e,r,u=o([[],[]],2),a=u[0],s=u[1];try{for(var c=i(t),f=c.next();!f.done;f=c.next()){var l=f.value;n(l)?a.push(l):s.push(l)}}catch(J){e={error:J}}finally{try{f&&!f.done&&(r=c.return)&&r.call(c)}finally{if(e)throw e.error}}return[a,s]}(j,P),2),L=R[0],D=R[1],M=j.filter(function(t){var n;return t.type===Dt&&(null===(n=t.activity)||void 0===n?void 0:n.type)===Jt}),F=M.reduce(function(t,n){return t[n.activity.id]=function(t,n,e,r){var i,o=U(t.src),u=null===(i=null==n?void 0:n.options.services)||void 0===i?void 0:i[o.type],a=t.data?g(t.data,e,r):void 0,s=u?at(u,t.id,a):ut(t.id);return s.meta=t,s}(n.activity,l.machine,N,u),t},n?Pt({},n.children):{}),z=new yn({value:y||n.value,context:N,_event:u,_sessionid:n?n._sessionid:null,historyValue:y?b?(T=b,C=y,{current:C,states:w(T,C)}):void 0:n?n.historyValue:void 0,history:!y||t.source?n:void 0,actions:y?D:[],activities:y?x:n?n.activities:{},events:[],configuration:v,transitions:t.transitions,children:F,done:p,tags:gt(v),machine:this}),V=e!==N;z.changed=u.name===Kt||V;var q=z.history;q&&delete q.history;var H=!p&&(this._transient||h.some(function(t){return t._transient}));if(!(d||H&&""!==u.name))return z;var X=z;if(!p)for(H&&(X=this.resolveRaisedTransition(X,{type:qt},u,r));L.length;){var B=L.shift();X=this.resolveRaisedTransition(X,B._event,u,r)}var W=X.changed||(q?!!X.actions.length||V||typeof q.value!=typeof X.value||!mt(X.value,q.value):void 0);return X.changed=W,X.history=q,X},t.prototype.getStateNode=function(t){if(An(t))return this.machine.getStateNodeById(t);if(!this.states)throw new Error("Unable to retrieve child state '".concat(t,"' from '").concat(this.id,"'; no child states exist."));var n=this.states[t];if(!n)throw new Error("Child state '".concat(t,"' does not exist on '").concat(this.id,"'"));return n},t.prototype.getStateNodeById=function(t){var n=An(t)?t.slice(1):t;if(n===this.id)return this;var e=this.machine.idMap[n];if(!e)throw new Error("Child state node '#".concat(n,"' does not exist on machine '").concat(this.id,"'"));return e},t.prototype.getStateNodeByPath=function(t){if("string"==typeof t&&An(t))try{return this.getStateNodeById(t.slice(1))}catch(i){}for(var n=c(t,this.delimiter).slice(),e=this;n.length;){var r=n.shift();if(!r.length)break;e=e.getStateNode(r)}return e},t.prototype.resolve=function(t){var n,e=this;if(!t)return this.initialStateValue||En;switch(this.type){case"parallel":return h(this.initialStateValue,function(n,r){return n?e.getStateNode(r).resolve(t[r]||n):En});case"compound":if(E(t)){var r=this.getStateNode(t);return"parallel"===r.type||"compound"===r.type?((n={})[t]=r.initialStateValue,n):t}return Object.keys(t).length?h(t,function(t,n){return t?e.getStateNode(n).resolve(t):En}):this.initialStateValue||{};default:return t||En}},t.prototype.getResolvedPath=function(t){if(An(t)){var n=this.machine.idMap[t.slice(1)];if(!n)throw new Error("Unable to find state node '".concat(t,"'"));return n.path}return c(t,this.delimiter)},Object.defineProperty(t.prototype,"initialStateValue",{get:function(){var t,n;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;if("parallel"===this.type)n=d(this.states,function(t){return t.initialStateValue||En},function(t){return!("history"===t.type)});else if(void 0!==this.initial){if(!this.states[this.initial])throw new Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));n=pn(this.states[this.initial])?this.initial:((t={})[this.initial]=this.states[this.initial].initialStateValue,t)}else n={};return this.__cache.initialStateValue=n,this.__cache.initialStateValue}
vendor: 5,063 bytes, line 1
1,enumerable:!1,configurable:!0}),t.prototype.getInitialState=function(t,n){this._init();var e=this.getStateNodes(t);return this.resolveTransition({configuration:e,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,null!=n?n:this.machine.context,void 0)},Object.defineProperty(t.prototype,"initialState",{get:function(){var t=this.initialStateValue;if(!t)throw new Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."));return this.getInitialState(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"target",{get:function(){var t;if("history"===this.type){var n=this.config;t=E(n.target)&&An(n.target)?l(this.machine.getStateNodeById(n.target).path.slice(this.path.length-1)):n.target}return t},enumerable:!1,configurable:!0}),t.prototype.getRelativeStateNodes=function(t,n,e){return void 0===e&&(e=!0),e?"history"===t.type?t.resolveHistory(n):t.initialStateNodes:[t]},Object.defineProperty(t.prototype,"initialStateNodes",{get:function(){var t=this;return pn(this)?[this]:"compound"!==this.type||this.initial?p(v(this.initialStateValue).map(function(n){return t.getFromRelativePath(n)})):[this]},enumerable:!1,configurable:!0}),t.prototype.getFromRelativePath=function(t){if(!t.length)return[this];var n=o(t),e=n[0],r=n.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '".concat(e,"' from node with no states"));var i=this.getStateNode(e);if("history"===i.type)return i.resolveHistory();if(!this.states[e])throw new Error("Child state '".concat(e,"' does not exist on '").concat(this.id,"'"));return this.states[e].getFromRelativePath(r)},t.prototype.historyValue=function(t){if(Object.keys(this.states).length)return{current:t||this.initialStateValue,states:d(this.states,function(n,e){if(!t)return n.historyValue();var r=E(t)?void 0:t[e];return n.historyValue(r||n.initialStateValue)},function(t){return!t.history})}},t.prototype.resolveHistory=function(t){var n=this;if("history"!==this.type)return[this];var e=this.parent;if(!t){var r=this.target;return r?p(v(r).map(function(t){return e.getFromRelativePath(t)})):e.initialStateNodes}var o,u=(o=e.path,function(t){var n,e,r=t;try{for(var u=i(o),a=u.next();!a.done;a=u.next()){var s=a.value;r=r.states[s]}}catch(c){n={error:c}}finally{try{a&&!a.done&&(e=u.return)&&e.call(u)}finally{if(n)throw n.error}}return r})(t).current;return E(u)?[e.getStateNode(u)]:p(v(u).map(function(t){return"deep"===n.history?e.getFromRelativePath(t):[e.states[t[0]]]}))},Object.defineProperty(t.prototype,"stateIds",{get:function(){var t=this,n=p(Object.keys(this.states).map(function(n){return t.states[n].stateIds}));return[this.id].concat(n)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"events",{get:function(){var t,n,e,r;if(this.__cache.events)return this.__cache.events;var o=this.states,u=new Set(this.ownEvents);if(o)try{for(var a=i(Object.keys(o)),s=a.next();!s.done;s=a.next()){var c=o[s.value];if(c.states)try{for(var f=(e=void 0,i(c.events)),l=f.next();!l.done;l=f.next()){var h=l.value;u.add("".concat(h))}}catch(d){e={error:d}}finally{try{l&&!l.done&&(r=f.return)&&r.call(f)}finally{if(e)throw e.error}}}}catch(v){t={error:v}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return this.__cache.events=Array.from(u)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ownEvents",{get:function(){var t=new Set(this.transitions.filter(function(t){return!(!t.target&&!t.actions.length&&t.internal)}).map(function(t){return t.eventType}));return Array.from(t)},enumerable:!1,configurable:!0}),t.prototype.resolveTarget=function(t){var n=this;if(void 0!==t)return t.map(function(t){if(!E(t))return t;var e=t[0]===n.delimiter;if(e&&!n.parent)return n.getStateNodeByPath(t.slice(1));var r=e?n.key+t:t;if(!n.parent)return n.getStateNodeByPath(r);try{return n.parent.getStateNodeByPath(r)}catch(i){throw new Error("Invalid transition definition for state node '".concat(n.id,"':\n").concat(i.message))}})},t.prototype.formatTransition=function(t){var n=this,e=function(t){if(void 0!==t&&""!==t)return b(t)}(t.target),r="internal"in t?t.internal:!e||e.some(function(t){return E(t)&&t[0]===n.delimiter}),i=this.machine.options.guards,o=this.resolveTarget(e),u=Pt(Pt({},t),{actions:sn(b(t.actions)),cond:A(t.cond,i),target:o,source:this,internal:r,eventType:t.event,toJSON:function(){return Pt(Pt({},u),{target:u.target?u.target.map(function(t){return"#".concat(t.id)}):void 0,source:"#".concat(n.id)})}});return u},t.prototype.formatTransitions=function(){var t,n,e,a=this;if(this.config.on)if(Array.isArray(this.config.on))e=this.config.on;else{var s=this.config.on,c=s["*"],f=void 0===c?[]:c,l=r(s,["*"]);e=p(Object.keys(l).map(function(t){return C(t,l[t])}).concat(C("*",f)))}else e=[];var h=this.config.always?C("",this.config.always):[],d=this.config.onDone?C(String(K(this.id)),this.config.onDone):[],v=p(this.invoke.map(function(t){var n=[];return t.onDone&&n.push.apply(n,u([],o(C(String(Z(t.id)),t.onDone)),!1)),t.onError&&n.push.apply(n,u([],o(C(String(tt(t.id)),t.onError)),!1)),n}
1)),y=this.after,g=p(u(u(u(u([],o(d),!1),o(v),!1),o(e),!1),o(h),!1).map(function(t){return b(t).map(function(t){return a.formatTransition(t)})}));try{for(var m=i(y),w=m.next();!w.done;w=m.next()){var x=w.value;g.push(x)}}catch(_){t={error:_}}finally{try{w&&!w.done&&(n=m.return)&&n.call(m)}finally{if(t)throw t.error}}return g},t}(),On=Ct,Tn=hn,Cn=z,In=H,Un=q,jn=X,Nn=et,Pn=Z,Rn=M},5482(t,n,e){function r(t,n){function e(){this.constructor=t}if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");d(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}function i(t,n){var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)n.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(e[r[i]]=t[r[i]])}return e}function o(t,n,e,r){return new(e||(e=Promise))(function(i,o){function u(t){try{s(r.next(t))}catch(n){o(n)}}function a(t){try{s(r.throw(t))}catch(n){o(n)}}function s(t){var n;t.done?i(t.value):(n=t.value,n instanceof e?n:new e(function(t){t(n)})).then(u,a)}s((r=r.apply(t,n||[])).next())})}function u(t,n){function e(e){return function(s){return function(e){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,e[0]&&(u=0)),u;)try{if(r=1,i&&(o=2&e[0]?i.return:e[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,e[1])).done)return o;switch(i=0,o&&(e=[2&e[0],o.value]),e[0]){case 0:case 1:o=e;break;case 4:return u.label++,{value:e[1],done:!1};case 5:u.label++,i=e[1],e=[0];continue;case 7:e=u.ops.pop(),u.trys.pop();continue;default:if(!((o=(o=u.trys).length>0&&o[o.length-1])||6!==e[0]&&2!==e[0])){u=0;continue}if(3===e[0]&&(!o||e[1]>o[0]&&e[1]<o[3])){u.label=e[1];break}if(6===e[0]&&u.label<o[1]){u.label=o[1],o=e;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(e);break}o[2]&&u.ops.pop(),u.trys.pop();continue}e=n.call(t,u)}catch(s){e=[6,s],i=0}finally{r=o=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}([e,s])}}var r,i,o,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=e(0),a.throw=e(1),a.return=e(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a}function a(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,i,o=e.call(t),u=[];try{for(;(void 0===n||n-- >0)&&!(r=o.next()).done;)u.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(e=o.return)&&e.call(o)}finally{if(i)throw i.error}}return u}function c(t,n,e){if(e||2===arguments.length)for(var r,i=0,o=n.length;i<o;i++)!r&&i in n||(r||(r=Array.prototype.slice.call(n,0,i)),r[i]=n[i]);return t.concat(r||Array.prototype.slice.call(n))}function f(t){return this instanceof f?(this.v=t,this):new f(t)}function l(t,n,e){function r(t,n){c[t]&&(s[t]=function(n){return new Promise(function(e,r){l.push([t,n,e,r])>1||i(t,n)})},n&&(s[t]=n(s[t])))}function i(t,n){try{(e=c[t](n)).value instanceof f?Promise.resolve(e.value.v).then(o,u):a(l[0][2],e)}catch(r){a(l[0][3],r)}var e}function o(t){i("next",t)}function u(t){i("throw",t)}function a(t,n){t(n),l.shift(),l.length&&i(l[0][0],l[0][1])}if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s,c=e.apply(t,n||[]),l=[];return s=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),r("next"),r("throw"),r("return",function(t){return function(n){return Promise.resolve(n).then(t,u)}}),s[Symbol.asyncIterator]=function(){return this},s}function h(t){function n(n){e[n]=t[n]&&function(e){return new Promise(function(r,i){!function(t,n,e,r){Promise.resolve(r).then(function(n){t({value:n,done:e})},n)}(r,i,(e=t[n](e)).done,e.value)})}}if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,r=t[Symbol.asyncIterator];return r?r.call(t):(t=a(t),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e)}e.d(n,{AQ:()=>l,C6:()=>r,Cl:()=>v,Ju:()=>a,N3:()=>f,Tt:()=>i,YH:()=>u,fX:()=>c,sH:()=>o,xN:()=>h,zs:()=>s});
vendor: 10,380 bytes, line 1
1var d=function(t,n){return d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},d(t,n)},v=function(){return v=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var i in n=arguments[e])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t},v.apply(this,arguments)};Object.create,Object.create},75389(t,n,e){function r(t,n=0){return(k[t[n+0]]+k[t[n+1]]+k[t[n+2]]+k[t[n+3]]+"-"+k[t[n+4]]+k[t[n+5]]+"-"+k[t[n+6]]+k[t[n+7]]+"-"+k[t[n+8]]+k[t[n+9]]+"-"+k[t[n+10]]+k[t[n+11]]+k[t[n+12]]+k[t[n+13]]+k[t[n+14]]+k[t[n+15]]).toLowerCase()}function i(){return crypto.getRandomValues(T)}function o(t,n,e,r,i,o,u=0){if(t.length<16)throw new Error("Random bytes length must be >= 16");if(o){if(u<0||u+16>o.length)throw new RangeError(`UUID byte range ${u}:${u+15} is out of buffer bounds`)}else o=new Uint8Array(16),u=0;n??=Date.now(),e??=0,r??=16383&(t[8]<<8|t[9]),i??=t.slice(10,16);const a=(1e4*(268435455&(n+=122192928e5))+e)%4294967296;o[u++]=a>>>24&255,o[u++]=a>>>16&255,o[u++]=a>>>8&255,o[u++]=255&a;const s=n/4294967296*1e4&268435455;o[u++]=s>>>8&255,o[u++]=255&s,o[u++]=s>>>24&15|16,o[u++]=s>>>16&255,o[u++]=r>>>8|128,o[u++]=255&r;for(let c=0;c<6;++c)o[u++]=i[c];return o}function u(t){const n=function(t){return Uint8Array.of((15&t[6])<<4|t[7]>>4&15,(15&t[7])<<4|(240&t[4])>>4,(15&t[4])<<4|(240&t[5])>>4,(15&t[5])<<4|(240&t[0])>>4,(15&t[0])<<4|(240&t[1])>>4,(15&t[1])<<4|(240&t[2])>>4,96|15&t[2],t[3],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}("string"==typeof t?A(t):t);return"string"==typeof t?r(n):n}function a(t){return 14+(t+64>>>9<<4)+1}function s(t,n){const e=(65535&t)+(65535&n);return(t>>16)+(n>>16)+(e>>16)<<16|65535&e}function c(t,n,e,r,i,o){return s((u=s(s(n,t),s(r,o)))<<(a=i)|u>>>32-a,e);var u,a}function f(t,n,e,r,i,o,u){return c(n&e|~n&r,t,n,i,o,u)}function l(t,n,e,r,i,o,u){return c(n&r|e&~r,t,n,i,o,u)}function h(t,n,e,r,i,o,u){return c(n^e^r,t,n,i,o,u)}function d(t,n,e,r,i,o,u){return c(e^(n|~r),t,n,i,o,u)}function v(t,n,e,i,o,u){const a="string"==typeof e?function(t){t=unescape(encodeURIComponent(t));const n=new Uint8Array(t.length);for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}(e):e,s="string"==typeof i?A(i):i;if("string"==typeof i&&(i=A(i)),16!==i?.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let c=new Uint8Array(16+a.length);if(c.set(s),c.set(a,s.length),c=n(c),c[6]=15&c[6]|t,c[8]=63&c[8]|128,o){if(u??=0,u<0||u+16>o.length)throw new RangeError(`UUID byte range ${u}:${u+15} is out of buffer bounds`);for(let t=0;t<16;++t)o[u+t]=c[t];return o}return r(c)}function p(t,n,e,r){return v(48,U,t,n,e,r)}function y(t,n,e,r){switch(t){case 0:return n&e^~n&r;case 1:case 3:return n^e^r;case 2:return n&e^n&r^e&r}}function b(t,n){return t<<n|t>>>32-n}function g(t,n,e,r){return v(80,L,t,n,e,r)}function m(t){const n=(e="string"==typeof t?A(t):t,Uint8Array.of((15&e[3])<<4|e[4]>>4&15,(15&e[4])<<4|(240&e[5])>>4,(15&e[5])<<4|15&e[6],e[7],(15&e[1])<<4|(240&e[2])>>4,(15&e[2])<<4|(240&e[3])>>4,16|(240&e[0])>>4,(15&e[0])<<4|(240&e[1])>>4,e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]));var e;return"string"==typeof t?r(n):n}function w(t,n,e,r,i=0){if(t.length<16)throw new Error("Random bytes length must be >= 16");if(r){if(i<0||i+16>r.length)throw new RangeError(`UUID byte range ${i}:${i+15} is out of buffer bounds`)}else r=new Uint8Array(16),i=0;return n??=Date.now(),e??=127*t[6]<<24|t[7]<<16|t[8]<<8|t[9],r[i++]=n/1099511627776&255,r[i++]=n/4294967296&255,r[i++]=n/16777216&255,r[i++]=n/65536&255,r[i++]=n/256&255,r[i++]=255&n,r[i++]=112|e>>>28&15,r[i++]=e>>>20&255,r[i++]=128|e>>>14&63,r[i++]=e>>>6&255,r[i++]=e<<2&255|3&t[10],r[i++]=t[11],r[i++]=t[12],r[i++]=t[13],r[i++]=t[14],r[i++]=t[15],r}e.r(n),e.d(n,{MAX:()=>x,NIL:()=>_,parse:()=>A,stringify:()=>O,v1:()=>I,v1ToV6:()=>u,v3:()=>P,v4:()=>R,v5:()=>D,v6:()=>M,v6ToV1:()=>m,v7:()=>z,validate:()=>E,version:()=>V});const x="ffffffff-ffff-ffff-ffff-ffffffffffff",_="00000000-0000-0000-0000-000000000000",S=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i,E=function(t){return"string"==typeof t&&S.test(t)},A=function(t){if(!E(t))throw TypeError("Invalid UUID");let n;return Uint8Array.of((n=parseInt(t.slice(0,8),16))>>>24,n>>>16&255,n>>>8&255,255&n,(n=parseInt(t.slice(9,13),16))>>>8,255&n,(n=parseInt(t.slice(14,18),16))>>>8,255&n,(n=parseInt(t.slice(19,23),16))>>>8,255&n,(n=parseInt(t.slice(24,36),16))/1099511627776&255,n/4294967296&255,n>>>24&255,n>>>16&255,n>>>8&255,255&n)},k=[];for(let q=0;q<256;++q)k.push((q+256).toString(16).slice(1));const O=function(t,n=0){const e=r(t,n);if(!E(e))throw TypeError("Stringified UUID is invalid");return e},T=new Uint8Array(16),C={},I=function(t,n,e){let u;const a=t?._v6??!1;if(t){const n=Object.keys(t);1===n.length&&"_v6"===n[0]&&(t=void 0)}if(t)u=o(t.random??t.rng?.()??i(),t.msecs,t.nsecs,t.clockseq,t.node,n,e);else{const t=Date.now(),r=i();!function(t,n,e){t.msecs??=-1/0,t.nsecs??=0,n===t.msecs?(t.nsecs++,t.nsecs>=1e4&&(t.node=void 0,t.nsecs=0)):n>t.msecs?t.nsecs=0:n<t.msecs&&(t.node=void 0),t.node||(t.node=e.slice(10,16),t.node[0]|=1,t.clockseq=16383&(e[8]<<8|e[9])),t.msecs=n}(C,t,r),u=o(r,C.msecs,C.nsecs,a?void 0:C.clockseq,a?void 0:C.node,n,e)}return n??r(u)},U=function(t){return function(t){const n=new Uint8Array(4*t.length);for(let e=0;e<4*t.length;e++)n[e]=t[e>>2]>>>e%4*8&255;return n}(function(t,n){const e=new Uint32Array(a(n)).fill(0);e.set(t),e[n>>5]|=128<<n%32,e[e.length-1]=n,t=e;let r=1732584193,i=-271733879,o=-1732584194,u=271733878;for(let a=0;a<t.length;a+=16){const n=r,e=i,c=o,v=u;r=f(r,i,o,u,t[a],7,-680876936),u=f(u,r,i,o,t[a+1],12,-389564586),o=f(o,u,r,i,t[a+2],17,606105819),i=f(i,o,u,r,t[a+3],22,-1044525330),r=f(r,i,o,u,t[a+4],7,-176418897),u=f(u,r,i,o,t[a+5],12,1200080426),o=f(o,u,r,i,t[a+6],17,-1473231341),i=f(i,o,u,r,t[a+7],22,-45705983),r=f(r,i,o,u,t[a+8],7,1770035416),u=f(u,r,i,o,t[a+9],12,-1958414417),o=f(o,u,r,i,t[a+10],17,-42063),i=f(i,o,u,r,t[a+11],22,-1990404162),r=f(r,i,o,u,t[a+12],7,1804603682),u=f(u,r,i,o,t[a+13],12,-40341101),o=f(o,u,r,i,t[a+14],17,-1502002290),i=f(i,o,u,r,t[a+15],22,1236535329),r=l(r,i,o,u,t[a+1],5,-165796510),u=l(u,r,i,o,t[a+6],9,-1069501632),o=l(o,u,r,i,t[a+11],14,643717713),i=l(i,o,u,r,t[a],20,-373897302),r=l(r,i,o,u,t[a+5],5,-701558691),u=l(u,r,i,o,t[a+10],9,38016083),o=l(o,u,r,i,t[a+15],14,-660478335),i=l(i,o,u,r,t[a+4],20,-405537848),r=l(r,i,o,u,t[a+9],5,568446438),u=l(u,r,i,o,t[a+14],9,-1019803690),o=l(o,u,r,i,t[a+3],14,-187363961),i=l(i,o,u,r,t[a+8],20,1163531501),r=l(r,i,o,u,t[a+13],5,-1444681467),u=l(u,r,i,o,t[a+2],9,-51403784),o=l(o,u,r,i,t[a+7],14,1735328473),i=l(i,o,u,r,t[a+12],20,-1926607734),r=h(r,i,o,u,t[a+5],4,-378558),u=h(u,r,i,o,t[a+8],11,-2022574463),o=h(o,u,r,i,t[a+11],16,1839030562),i=h(i,o,u,r,t[a+14],23,-35309556),r=h(r,i,o,u,t[a+1],4,-1530992060),u=h(u,r,i,o,t[a+4],11,1272893353),o=h(o,u,r,i,t[a+7],16,-155497632),i=h(i,o,u,r,t[a+10],23,-1094730640),r=h(r,i,o,u,t[a+13],4,681279174),u=h(u,r,i,o,t[a],11,-358537222),o=h(o,u,r,i,t[a+3],16,-722521979),i=h(i,o,u,r,t[a+6],23,76029189),r=h(r,i,o,u,t[a+9],4,-640364487),u=h(u,r,i,o,t[a+12],11,-421815835),o=h(o,u,r,i,t[a+15],16,530742520),i=h(i,o,u,r,t[a+2],23,-995338651),r=d(r,i,o,u,t[a],6,-198630844),u=d(u,r,i,o,t[a+7],10,1126891415),o=d(o,u,r,i,t[a+14],15,-1416354905),i=d(i,o,u,r,t[a+5],21,-57434055),r=d(r,i,o,u,t[a+12],6,1700485571),u=d(u,r,i,o,t[a+3],10,-1894986606),o=d(o,u,r,i,t[a+10],15,-1051523),i=d(i,o,u,r,t[a+1],21,-2054922799),r=d(r,i,o,u,t[a+8],6,1873313359),u=d(u,r,i,o,t[a+15],10,-30611744),o=d(o,u,r,i,t[a+6],15,-1560198380),i=d(i,o,u,r,t[a+13],21,1309151649),r=d(r,i,o,u,t[a+4],6,-145523070),u=d(u,r,i,o,t[a+11],10,-1120210379),o=d(o,u,r,i,t[a+2],15,718787259),i=d(i,o,u,r,t[a+9],21,-343485551),r=s(r,n),i=s(i,e),o=s(o,c),u=s(u,v)}return Uint32Array.of(r,i,o,u)}(function(t){if(0===t.length)return new Uint32Array;const n=new Uint32Array(a(8*t.length)).fill(0);for(let e=0;e<t.length;e++)n[e>>2]|=(255&t[e])<<e%4*8;return n}(t),8*t.length))},j="6ba7b810-9dad-11d1-80b4-00c04fd430c8",N="6ba7b811-9dad-11d1-80b4-00c04fd430c8";p.DNS=j,p.URL=N;const P=p,R=function(t,n,e){return n||t||!crypto.randomUUID?function(t,n,e){const o=(t=t||{}).random??t.rng?.()??i();if(o.length<16)throw new Error("Random bytes length must be >= 16");if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,n){if((e=e||0)<0||e+16>n.length)throw new RangeError(`UUID byte range ${e}:${e+15} is out of buffer bounds`);for(let t=0;t<16;++t)n[e+t]=o[t];return n}return r(o)}(t,n,e):crypto.randomUUID()},L=function(t){const n=[1518500249,1859775393,2400959708,3395469782],e=[1732584193,4023233417,2562383102,271733878,3285377520],r=new Uint8Array(t.length+1);r.set(t),r[t.length]=128;const i=(t=r).length/4+2,o=Math.ceil(i/16),u=new Array(o);for(let a=0;a<o;++a){const n=new Uint32Array(16);for(let e=0;e<16;++e)n[e]=t[64*a+4*e]<<24|t[64*a+4*e+1]<<16|t[64*a+4*e+2]<<8|t[64*a+4*e+3];u[a]=n}u[o-1][14]=8*(t.length-1)/2**32,u[o-1][14]=Math.floor(u[o-1][14]),u[o-1][15]=8*(t.length-1)&4294967295;for(let a=0;a<o;++a){const t=new Uint32Array(80);for(let n=0;n<16;++n)t[n]=u[a][n];for(let n=16;n<80;++n)t[n]=b(t[n-3]^t[n-8]^t[n-14]^t[n-16],1);let r=e[0],i=e[1],o=e[2],s=e[3],c=e[4];for(let e=0;e<80;++e){const u=Math.floor(e/20),a=b(r,5)+y(u,i,o,s)+c+n[u]+t[e]>>>0;c=s,s=o,o=b(i,30)>>>0,i=r,r=a}e[0]=e[0]+r>>>0,e[1]=e[1]+i>>>0,e[2]=e[2]+o>>>0,e[3]=e[3]+s>>>0,e[4]=e[4]+c>>>0}return Uint8Array.of(e[0]>>24,e[0]>>16,e[0]>>8,e[0],e[1]>>24,e[1]>>16,e[1]>>8,e[1],e[2]>>24,e[2]>>16,e[2]>>8,e[2],e[3]>>24,e[3]>>16,e[3]>>8,e[3],e[4]>>24,e[4]>>16,e[4]>>8,e[4])};g.DNS=j,g.URL=N;const D=g,M=function(t,n,e){t??={},e??=0;let i=I({...t,_v6:!0},new Uint8Array(16));if(i=u(i),n){if(e<0||e+16>n.length)throw new RangeError(`UUID byte range ${e}:${e+15} is out of buffer bounds`);for(let t=0;t<16;t++)n[e+t]=i[t];return n}return r(i)},F={},z=function(t,n,e){let o;if(t)o=w(t.random??t.rng?.()??i(),t.msecs,t.seq,n,e);else{const t=Date.now(),r=i();!function(t,n,e){t.msecs??=-1/0,t.seq??=0,n>t.msecs?(t.seq=e[6]<<23|e[7]<<16|e[8]<<8|e[9],t.msecs=n):(t.seq=t.seq+1|0,0===t.seq&&t.msecs++)}(F,t,r),o=w(r,F.msecs,F.seq,n,e)}return n??r(o)},V=function(t){if(!E(t))throw TypeError("Invalid UUID");return parseInt(t.slice(14,15),16)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.