examples.waku.org/relay-angular-chat/main.df61ac6040b6488f.js

1 line
998 KiB
JavaScript
Raw Normal View History

2022-10-28 02:08:17 +00:00
(self.webpackChunkrelay_angular_chat=self.webpackChunkrelay_angular_chat||[]).push([[179],{3968:(Y,$,x)=>{"use strict";var y={};x.r(y),x.d(y,{identity:()=>bB});var c={};x.r(c),x.d(c,{base2:()=>_B});var g={};x.r(g),x.d(g,{base8:()=>DB});var b={};x.r(b),x.d(b,{base10:()=>SB});var m={};x.r(m),x.d(m,{base16:()=>CB,base16upper:()=>IB});var h={};x.r(h),x.d(h,{base32:()=>so,base32hex:()=>RB,base32hexpad:()=>NB,base32hexpadupper:()=>MB,base32hexupper:()=>PB,base32pad:()=>AB,base32padupper:()=>xB,base32upper:()=>TB,base32z:()=>OB});var u={};x.r(u),x.d(u,{base36:()=>kB,base36upper:()=>LB});var f={};x.r(f),x.d(f,{base58btc:()=>si,base58flickr:()=>BB});var d={};x.r(d),x.d(d,{base64:()=>Bd,base64pad:()=>FB,base64url:()=>UB,base64urlpad:()=>VB});var w={};x.r(w),x.d(w,{base256emoji:()=>GB});var S={};x.r(S),x.d(S,{sha256:()=>hi,sha512:()=>d6});var E={};x.r(E),x.d(E,{identity:()=>Lu});var v={};x.r(v),x.d(v,{code:()=>g6,decode:()=>m6,encode:()=>y6,name:()=>p6});var p={};x.r(p),x.d(p,{code:()=>b6,decode:()=>D6,encode:()=>_6,name:()=>w6});var I={};x.r(I),x.d(I,{RsaPrivateKey:()=>Qd,RsaPublicKey:()=>j0,fromJwk:()=>pF,generateKeyPair:()=>gF,unmarshalRsaPrivateKey:()=>dF,unmarshalRsaPublicKey:()=>hF});var A={};x.r(A),x.d(A,{Ed25519PrivateKey:()=>bl,Ed25519PublicKey:()=>fm,generateKeyPair:()=>HF,generateKeyPairFromSeed:()=>$F,unmarshalEd25519PrivateKey:()=>UF,unmarshalEd25519PublicKey:()=>VF});var P={};function D(n){return"function"==typeof n}function T(n){const t=n(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}x.r(P),x.d(P,{Secp256k1PrivateKey:()=>mm,Secp256k1PublicKey:()=>ym,generateKeyPair:()=>ZF,unmarshalSecp256k1PrivateKey:()=>YF,unmarshalSecp256k1PublicKey:()=>QF});const M=T(n=>function(t){n(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function k(n,e){if(n){const t=n.indexOf(e);0<=t&&n.splice(t,1)}}class F{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const s of t)s.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(D(r))try{r()}catch(s){e=s instanceof M?s.errors:[s]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const s of i)try{O(s)}catch(o){e=e??[],o instanceof M?e=[...e,...o.errors]:e.push(o)}}if(e)throw new M(e)}}add(e){var t;if(e&&e!==this)if(this.closed)O(e);else{if(e instanceof F){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(e)}}_hasParent(e){const{_parentage:t}=this;return t===e||Array.isArray(t)&&t.includes(e)}_addParent(e){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e}_removeParent(e){const{_parentage:t}=this;t===e?this._parentage=null:Array.isArray(t)&&k(t,e)}remove(e){const{_finalizers:t}=this;t&&k(t,e),e instanceof F&&e._removeParent(this)}}F.EMPTY=(()=>{const n=new F;return n.closed=!0,n})();const K=F.EMPTY;function C(n){return n instanceof F||n&&"closed"in n&&D(n.remove)&&D(n.add)&&D(n.unsubscribe)}function O(n){D(n)?n():n.unsubscribe()}const U={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},L={setTimeout(n,e,...t){const{delegate:r}=L;return r?.setTimeout?r.setTimeout(n,e,...t):setTimeout(n,e,...t)},clearTimeout(n){const{delegate:e}=L;return(e?.clearTimeout||clearTimeout)(n)},delegate:void 0};function H(n){L.setTimeout(()=>{const{onUnhandledError:e}=U;if(!e)throw n;e(n)})}function ne(){}const G=W("C",void 0,void 0);function W(n,e,t){return{kind:n,value:e,error:t}}let te=null;function oe(n){if(U.useDeprecatedSynchronousErrorHandling){const e=!te;if(e&&(te={errorThrown:!1,error:null}),n(),e){const{errorThrown:t,error:r}=te;if(te=null,t)throw r}}else n()}class he extends F{constructor(e){super(),this.isStopped=!1,