mahjong/dist/main.js

2 lines
301 KiB
JavaScript
Raw Normal View History

2022-02-19 10:48:27 +01:00
"use strict";var nL=Object.defineProperty,rL=Object.defineProperties,oL=Object.getOwnPropertyDescriptors,tb=Object.getOwnPropertySymbols,iL=Object.prototype.hasOwnProperty,sL=Object.prototype.propertyIsEnumerable,nb=(_t,tt,$e)=>tt in _t?nL(_t,tt,{enumerable:!0,configurable:!0,writable:!0,value:$e}):_t[tt]=$e,Ge=(_t,tt)=>{for(var $e in tt||(tt={}))iL.call(tt,$e)&&nb(_t,$e,tt[$e]);if(tb)for(var $e of tb(tt))sL.call(tt,$e)&&nb(_t,$e,tt[$e]);return _t},Lo=(_t,tt)=>rL(_t,oL(tt));(self.webpackChunkmah=self.webpackChunkmah||[]).push([[179],{99:(_t,tt,$e)=>{function Vo(t){return"function"==typeof t}let El=!1;const $t={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else El&&console.log("RxJS: Back to a better error behavior. Thank you. <3");El=t},get useDeprecatedSynchronousErrorHandling(){return El}};function Pr(t){setTimeout(()=>{throw t},0)}const cs={closed:!0,next(t){},error(t){if($t.useDeprecatedSynchronousErrorHandling)throw t;Pr(t)},complete(){}},bl=Array.isArray||(t=>t&&"number"==typeof t.length);function vl(t){return null!==t&&"object"==typeof t}const ds=(()=>{function t(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((n,r)=>`${r+1}) ${n.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return t.prototype=Object.create(Error.prototype),t})();class _e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:r,_unsubscribe:o,_subscriptions:i}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof _e)n.remove(this);else if(null!==n)for(let s=0;s<n.length;++s)n[s].remove(this);if(Vo(o)){r&&(this._unsubscribe=void 0);try{o.call(this)}catch(s){e=s instanceof ds?kf(s.errors):[s]}}if(bl(i)){let s=-1,a=i.length;for(;++s<a;){const l=i[s];if(vl(l))try{l.unsubscribe()}catch(u){e=e||[],u instanceof ds?e=e.concat(kf(u.errors)):e.push(u)}}}if(e)throw new ds(e)}add(e){let n=e;if(!e)return _e.EMPTY;switch(typeof e){case"function":n=new _e(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof _e)){const i=n;n=new _e,n._subscriptions=[i]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof _e){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n}remove(e){const n=this._subscriptions;if(n){const r=n.indexOf(e);-1!==r&&n.splice(r,1)}}}var t;function kf(t){return t.reduce((e,n)=>e.concat(n instanceof ds?n.errors:n),[])}_e.EMPTY=((t=new _e).closed=!0,t);const fs="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class Le extends _e{constructor(e,n,r){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=cs;break;case 1:if(!e){this.destination=cs;break}if("object"==typeof e){e instanceof Le?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new Lf(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new Lf(this,e,n,r)}}[fs](){return this}static create(e,n,r){const o=new Le(e,n,r);return o.syncErrorThrowable=!1,o}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubsc