altair-static 8.4.0 → 8.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-bootstrap.log +5 -5
- package/build/dist/main.js +4 -4
- package/build/dist/styles.css +1 -1
- package/package.json +11 -4
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
> altair-static@8.4.
|
|
2
|
+
> altair-static@8.4.1 bootstrap /home/runner/work/altair/altair/packages/altair-static
|
|
3
3
|
> pnpm prepare-dist && pnpm compile && pnpm types
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> altair-static@8.4.
|
|
6
|
+
> altair-static@8.4.1 prepare-dist /home/runner/work/altair/altair/packages/altair-static
|
|
7
7
|
> node scripts/prepare_dist.js
|
|
8
8
|
|
|
9
9
|
Done copying dist folder!
|
|
10
10
|
|
|
11
|
-
> altair-static@8.4.
|
|
11
|
+
> altair-static@8.4.1 compile /home/runner/work/altair/altair/packages/altair-static
|
|
12
12
|
> node scripts/build.js
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
> altair-static@8.4.
|
|
15
|
+
> altair-static@8.4.1 types /home/runner/work/altair/altair/packages/altair-static
|
|
16
16
|
> dts-bundle-generator src/index.ts -o build/index.d.ts --external-inlines altair-graphql-core --external-inlines altair-static --verbose
|
|
17
17
|
|
|
18
18
|
Verbose log enabled
|
|
@@ -443,4 +443,4 @@ Writing src/index.ts -> build/index.d.ts
|
|
|
443
443
|
Checking generated files...
|
|
444
444
|
Using config: /home/runner/work/altair/altair/packages/altair-static/tsconfig.json
|
|
445
445
|
[1;33mCompiler option "skipLibCheck" is disabled to properly check generated output[0m
|
|
446
|
-
Done in
|
|
446
|
+
Done in 5.88s
|
package/build/dist/main.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="21f11106-256c-54a8-b553-589d27ffdfa6")}catch(e){}}();
|
|
3
3
|
import{a as Hie,b as jie,c as $ie,d as qie,e as Uie,f as Qie,g as Wie,h as Yie,j as Gie,k as Kie}from"./chunk-RU5GXIYR.js";import{a as WP,b as Zie}from"./chunk-3MPON6KA.js";import{a as lPe,b as cPe,c as uPe}from"./chunk-FWMULOCB.js";import{$ as mie,A as cie,Aa as Rie,B as xb,Ba as wPe,C as uie,Ca as Nie,D as my,Da as Lie,E as die,Ea as Fie,F as kb,Fa as Vie,G as lh,Ga as QP,H as Tb,I as ch,Ia as Bie,J as uh,Ja as Vo,K as Ob,L as g0,M as Sg,O as gPe,P as hie,S as xg,T as pie,U as fie,V as yPe,X as dh,Y as gy,Z as yy,_ as vy,a as Kne,aa as vPe,b as Ni,ba as gie,c as hPe,ca as yie,d as Hu,da as _Pe,e as Jne,ea as Eb,f as pPe,fa as CPe,g as UP,ga as Mb,h as fPe,ha as vie,i as Cb,j as mPe,ja as _ie,ka as Cie,l as tie,la as wie,m as nie,ma as bie,n as iie,na as Sie,o as hy,oa as xie,p as rie,pa as kie,q as wb,qa as Tie,r as bb,ra as Oie,s as oie,sa as Eie,t as py,ta as Mie,u as sie,ua as Die,v as fy,va as Iie,w as Sb,wa as zie,x as aie,xa as Aie,y as jc,ya as Pie,z as lie,za as Db}from"./chunk-K6UUAPPR.js";import{a as on,c as qP,d as dPe,q as eie,r as Jp,v as m0}from"./chunk-ZYOLZTH5.js";import{a as Xie}from"./chunk-PQ3LFH2U.js";import{$ as VP,A as f0,B as oa,C as fl,D as Ct,E as gb,F as Zne,G as Vt,H as tt,I as bg,J as ks,K as ln,L as PP,M as ml,N as RP,O as Vu,P as yb,Q as Je,R as NP,S as Bc,T as gl,U as LP,V as hn,W as FP,X as Ts,Y as Xl,Z as vb,_ as _b,a as qn,aa as BP,b as AP,ba as Kp,c as Cn,ca as HP,d as fb,da as Nr,e as cy,ea as sh,f as oe,fa as Bu,g as Tt,ga as Hc,h as Oi,ha as ah,i as h0,ia as Xne,j as mb,ja as dn,k as p0,ka as ve,l as $e,la as K,ma as jP,na as Xt,oa as $P,p as uy,pa as Kt,q as Ut,r as Re,s as oh,t as rs,u as Gne,v as xs,w as dy,x as Ce,y as ai,z as Un}from"./chunk-472WPQLO.js";import{a as x,b as B,c as ly,d as is,f as de,h as Pn,i as zP,j as U}from"./chunk-B7YGBANW.js";var due=de((MV,DV)=>{"use strict";(function(n,t){typeof define=="function"&&define.amd?define([],t):typeof MV<"u"?t():(t(),n.FileSaver={})})(MV,function(){"use strict";function n(s,a){return typeof a>"u"?a={autoBom:!1}:typeof a!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),a={autoBom:!a}),a.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(s.type)?new Blob(["\uFEFF",s],{type:s.type}):s}function t(s,a,l){var c=new XMLHttpRequest;c.open("GET",s),c.responseType="blob",c.onload=function(){o(c.response,a,l)},c.onerror=function(){console.error("could not download file")},c.send()}function e(s){var a=new XMLHttpRequest;a.open("HEAD",s,!1);try{a.send()}catch{}return 200<=a.status&&299>=a.status}function i(s){try{s.dispatchEvent(new MouseEvent("click"))}catch{var a=document.createEvent("MouseEvents");a.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),s.dispatchEvent(a)}}var r=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:void 0,o=r.saveAs||(typeof window!="object"||window!==r?function(){}:"download"in HTMLAnchorElement.prototype?function(s,a,l){var c=r.URL||r.webkitURL,u=document.createElement("a");a=a||s.name||"download",u.download=a,u.rel="noopener",typeof s=="string"?(u.href=s,u.origin===location.origin?i(u):e(u.href)?t(s,a,l):i(u,u.target="_blank")):(u.href=c.createObjectURL(s),setTimeout(function(){c.revokeObjectURL(u.href)},4e4),setTimeout(function(){i(u)},0))}:"msSaveOrOpenBlob"in navigator?function(s,a,l){if(a=a||s.name||"download",typeof s!="string")navigator.msSaveOrOpenBlob(n(s,l),a);else if(e(s))t(s,a,l);else{var c=document.createElement("a");c.href=s,c.target="_blank",setTimeout(function(){i(c)})}}:function(s,a,l,c){if(c=c||open("","_blank"),c&&(c.document.title=c.document.body.innerText="downloading..."),typeof s=="string")return t(s,a,l);var u=s.type==="application/octet-stream",h=/constructor/i.test(r.HTMLElement)||r.safari,p=/CriOS\/[\d]+/.test(navigator.userAgent);if((p||u&&h)&&typeof FileReader=="object"){var f=new FileReader;f.onloadend=function(){var C=f.result;C=p?C:C.replace(/^data:[^;]*;/,"data:attachment/file;"),c?c.location.href=C:location=C,c=null},f.readAsDataURL(s)}else{var v=r.URL||r.webkitURL,_=v.createObjectURL(s);c?c.location=_:location.href=_,c=null,setTimeout(function(){v.revokeObjectURL(_)},4e4)}});r.saveAs=o.saveAs=o,typeof DV<"u"&&(DV.exports=o)})});var IV=de((hue,ex)=>{"use strict";(function(n){"use strict";var t,e=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,i=Math.ceil,r=Math.floor,o="[BigNumber Error] ",s=o+"Number primitive has more than 15 significant digits: ",a=1e14,l=14,c=9007199254740991,u=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],h=1e7,p=1e9;function f(L){var D,V,N,H=He.prototype={constructor:He,toString:null,valueOf:null},he=new He(1),j=20,te=4,fe=-7,ee=21,xe=-1e7,ne=1e7,we=!1,Ze=1,rt=0,ct={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xA0",suffix:""},Ft="0123456789abcdefghijklmnopqrstuvwxyz",ii=!0;function He(q,X){var re,Ie,ye,Ee,Ne,me,be,ze,Me=this;if(!(Me instanceof He))return new He(q,X);if(X==null){if(q&&q._isBigNumber===!0){Me.s=q.s,!q.c||q.e>ne?Me.c=Me.e=null:q.e<xe?Me.c=[Me.e=0]:(Me.e=q.e,Me.c=q.c.slice());return}if((me=typeof q=="number")&&q*0==0){if(Me.s=1/q<0?(q=-q,-1):1,q===~~q){for(Ee=0,Ne=q;Ne>=10;Ne/=10,Ee++);Ee>ne?Me.c=Me.e=null:(Me.e=Ee,Me.c=[q]);return}ze=String(q)}else{if(!e.test(ze=String(q)))return N(Me,ze,me);Me.s=ze.charCodeAt(0)==45?(ze=ze.slice(1),-1):1}(Ee=ze.indexOf("."))>-1&&(ze=ze.replace(".","")),(Ne=ze.search(/e/i))>0?(Ee<0&&(Ee=Ne),Ee+=+ze.slice(Ne+1),ze=ze.substring(0,Ne)):Ee<0&&(Ee=ze.length)}else{if(S(X,2,Ft.length,"Base"),X==10&&ii)return Me=new He(q),Fn(Me,j+Me.e+1,te);if(ze=String(q),me=typeof q=="number"){if(q*0!=0)return N(Me,ze,me,X);if(Me.s=1/q<0?(ze=ze.slice(1),-1):1,He.DEBUG&&ze.replace(/^0\.0*|\./,"").length>15)throw Error(s+q)}else Me.s=ze.charCodeAt(0)===45?(ze=ze.slice(1),-1):1;for(re=Ft.slice(0,X),Ee=Ne=0,be=ze.length;Ne<be;Ne++)if(re.indexOf(Ie=ze.charAt(Ne))<0){if(Ie=="."){if(Ne>Ee){Ee=be;continue}}else if(!ye&&(ze==ze.toUpperCase()&&(ze=ze.toLowerCase())||ze==ze.toLowerCase()&&(ze=ze.toUpperCase()))){ye=!0,Ne=-1,Ee=0;continue}return N(Me,String(q),me,X)}me=!1,ze=V(ze,X,10,Me.s),(Ee=ze.indexOf("."))>-1?ze=ze.replace(".",""):Ee=ze.length}for(Ne=0;ze.charCodeAt(Ne)===48;Ne++);for(be=ze.length;ze.charCodeAt(--be)===48;);if(ze=ze.slice(Ne,++be)){if(be-=Ne,me&&He.DEBUG&&be>15&&(q>c||q!==r(q)))throw Error(s+Me.s*q);if((Ee=Ee-Ne-1)>ne)Me.c=Me.e=null;else if(Ee<xe)Me.c=[Me.e=0];else{if(Me.e=Ee,Me.c=[],Ne=(Ee+1)%l,Ee<0&&(Ne+=l),Ne<be){for(Ne&&Me.c.push(+ze.slice(0,Ne)),be-=l;Ne<be;)Me.c.push(+ze.slice(Ne,Ne+=l));Ne=l-(ze=ze.slice(Ne)).length}else Ne-=be;for(;Ne--;ze+="0");Me.c.push(+ze)}}else Me.c=[Me.e=0]}He.clone=f,He.ROUND_UP=0,He.ROUND_DOWN=1,He.ROUND_CEIL=2,He.ROUND_FLOOR=3,He.ROUND_HALF_UP=4,He.ROUND_HALF_DOWN=5,He.ROUND_HALF_EVEN=6,He.ROUND_HALF_CEIL=7,He.ROUND_HALF_FLOOR=8,He.EUCLID=9,He.config=He.set=function(q){var X,re;if(q!=null)if(typeof q=="object"){if(q.hasOwnProperty(X="DECIMAL_PLACES")&&(re=q[X],S(re,0,p,X),j=re),q.hasOwnProperty(X="ROUNDING_MODE")&&(re=q[X],S(re,0,8,X),te=re),q.hasOwnProperty(X="EXPONENTIAL_AT")&&(re=q[X],re&&re.pop?(S(re[0],-p,0,X),S(re[1],0,p,X),fe=re[0],ee=re[1]):(S(re,-p,p,X),fe=-(ee=re<0?-re:re))),q.hasOwnProperty(X="RANGE"))if(re=q[X],re&&re.pop)S(re[0],-p,-1,X),S(re[1],1,p,X),xe=re[0],ne=re[1];else if(S(re,-p,p,X),re)xe=-(ne=re<0?-re:re);else throw Error(o+X+" cannot be zero: "+re);if(q.hasOwnProperty(X="CRYPTO"))if(re=q[X],re===!!re)if(re)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))we=re;else throw we=!re,Error(o+"crypto unavailable");else we=re;else throw Error(o+X+" not true or false: "+re);if(q.hasOwnProperty(X="MODULO_MODE")&&(re=q[X],S(re,0,9,X),Ze=re),q.hasOwnProperty(X="POW_PRECISION")&&(re=q[X],S(re,0,p,X),rt=re),q.hasOwnProperty(X="FORMAT"))if(re=q[X],typeof re=="object")ct=re;else throw Error(o+X+" not an object: "+re);if(q.hasOwnProperty(X="ALPHABET"))if(re=q[X],typeof re=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(re))ii=re.slice(0,10)=="0123456789",Ft=re;else throw Error(o+X+" invalid: "+re)}else throw Error(o+"Object expected: "+q);return{DECIMAL_PLACES:j,ROUNDING_MODE:te,EXPONENTIAL_AT:[fe,ee],RANGE:[xe,ne],CRYPTO:we,MODULO_MODE:Ze,POW_PRECISION:rt,FORMAT:ct,ALPHABET:Ft}},He.isBigNumber=function(q){if(!q||q._isBigNumber!==!0)return!1;if(!He.DEBUG)return!0;var X,re,Ie=q.c,ye=q.e,Ee=q.s;e:if({}.toString.call(Ie)=="[object Array]"){if((Ee===1||Ee===-1)&&ye>=-p&&ye<=p&&ye===r(ye)){if(Ie[0]===0){if(ye===0&&Ie.length===1)return!0;break e}if(X=(ye+1)%l,X<1&&(X+=l),String(Ie[0]).length==X){for(X=0;X<Ie.length;X++)if(re=Ie[X],re<0||re>=a||re!==r(re))break e;if(re!==0)return!0}}}else if(Ie===null&&ye===null&&(Ee===null||Ee===1||Ee===-1))return!0;throw Error(o+"Invalid BigNumber: "+q)},He.maximum=He.max=function(){return Lo(arguments,H.lt)},He.minimum=He.min=function(){return Lo(arguments,H.gt)},He.random=(function(){var q=9007199254740992,X=Math.random()*q&2097151?function(){return r(Math.random()*q)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(re){var Ie,ye,Ee,Ne,me,be=0,ze=[],Me=new He(he);if(re==null?re=j:S(re,0,p),Ne=i(re/l),we)if(crypto.getRandomValues){for(Ie=crypto.getRandomValues(new Uint32Array(Ne*=2));be<Ne;)me=Ie[be]*131072+(Ie[be+1]>>>11),me>=9e15?(ye=crypto.getRandomValues(new Uint32Array(2)),Ie[be]=ye[0],Ie[be+1]=ye[1]):(ze.push(me%1e14),be+=2);be=Ne/2}else if(crypto.randomBytes){for(Ie=crypto.randomBytes(Ne*=7);be<Ne;)me=(Ie[be]&31)*281474976710656+Ie[be+1]*1099511627776+Ie[be+2]*4294967296+Ie[be+3]*16777216+(Ie[be+4]<<16)+(Ie[be+5]<<8)+Ie[be+6],me>=9e15?crypto.randomBytes(7).copy(Ie,be):(ze.push(me%1e14),be+=7);be=Ne/7}else throw we=!1,Error(o+"crypto unavailable");if(!we)for(;be<Ne;)me=X(),me<9e15&&(ze[be++]=me%1e14);for(Ne=ze[--be],re%=l,Ne&&re&&(me=u[l-re],ze[be]=r(Ne/me)*me);ze[be]===0;ze.pop(),be--);if(be<0)ze=[Ee=0];else{for(Ee=-1;ze[0]===0;ze.splice(0,1),Ee-=l);for(be=1,me=ze[0];me>=10;me/=10,be++);be<l&&(Ee-=l-be)}return Me.e=Ee,Me.c=ze,Me}})(),He.sum=function(){for(var q=1,X=arguments,re=new He(X[0]);q<X.length;)re=re.plus(X[q++]);return re},V=(function(){var q="0123456789";function X(re,Ie,ye,Ee){for(var Ne,me=[0],be,ze=0,Me=re.length;ze<Me;){for(be=me.length;be--;me[be]*=Ie);for(me[0]+=Ee.indexOf(re.charAt(ze++)),Ne=0;Ne<me.length;Ne++)me[Ne]>ye-1&&(me[Ne+1]==null&&(me[Ne+1]=0),me[Ne+1]+=me[Ne]/ye|0,me[Ne]%=ye)}return me.reverse()}return function(re,Ie,ye,Ee,Ne){var me,be,ze,Me,Ke,Zt,Jt,di,Pr=re.indexOf("."),wo=j,si=te;for(Pr>=0&&(Me=rt,rt=0,re=re.replace(".",""),di=new He(Ie),Zt=di.pow(re.length-Pr),rt=Me,di.c=X(A(_(Zt.c),Zt.e,"0"),10,ye,q),di.e=di.c.length),Jt=X(re,Ie,ye,Ne?(me=Ft,q):(me=q,Ft)),ze=Me=Jt.length;Jt[--Me]==0;Jt.pop());if(!Jt[0])return me.charAt(0);if(Pr<0?--ze:(Zt.c=Jt,Zt.e=ze,Zt.s=Ee,Zt=D(Zt,di,wo,si,ye),Jt=Zt.c,Ke=Zt.r,ze=Zt.e),be=ze+wo+1,Pr=Jt[be],Me=ye/2,Ke=Ke||be<0||Jt[be+1]!=null,Ke=si<4?(Pr!=null||Ke)&&(si==0||si==(Zt.s<0?3:2)):Pr>Me||Pr==Me&&(si==4||Ke||si==6&&Jt[be-1]&1||si==(Zt.s<0?8:7)),be<1||!Jt[0])re=Ke?A(me.charAt(1),-wo,me.charAt(0)):me.charAt(0);else{if(Jt.length=be,Ke)for(--ye;++Jt[--be]>ye;)Jt[be]=0,be||(++ze,Jt=[1].concat(Jt));for(Me=Jt.length;!Jt[--Me];);for(Pr=0,re="";Pr<=Me;re+=me.charAt(Jt[Pr++]));re=A(re,ze,me.charAt(0))}return re}})(),D=(function(){function q(Ie,ye,Ee){var Ne,me,be,ze,Me=0,Ke=Ie.length,Zt=ye%h,Jt=ye/h|0;for(Ie=Ie.slice();Ke--;)be=Ie[Ke]%h,ze=Ie[Ke]/h|0,Ne=Jt*be+ze*Zt,me=Zt*be+Ne%h*h+Me,Me=(me/Ee|0)+(Ne/h|0)+Jt*ze,Ie[Ke]=me%Ee;return Me&&(Ie=[Me].concat(Ie)),Ie}function X(Ie,ye,Ee,Ne){var me,be;if(Ee!=Ne)be=Ee>Ne?1:-1;else for(me=be=0;me<Ee;me++)if(Ie[me]!=ye[me]){be=Ie[me]>ye[me]?1:-1;break}return be}function re(Ie,ye,Ee,Ne){for(var me=0;Ee--;)Ie[Ee]-=me,me=Ie[Ee]<ye[Ee]?1:0,Ie[Ee]=me*Ne+Ie[Ee]-ye[Ee];for(;!Ie[0]&&Ie.length>1;Ie.splice(0,1));}return function(Ie,ye,Ee,Ne,me){var be,ze,Me,Ke,Zt,Jt,di,Pr,wo,si,Di,Ss,pb,DP,IP,Fu,ay,Zl=Ie.s==ye.s?1:-1,ra=Ie.c,Rr=ye.c;if(!ra||!ra[0]||!Rr||!Rr[0])return new He(!Ie.s||!ye.s||(ra?Rr&&ra[0]==Rr[0]:!Rr)?NaN:ra&&ra[0]==0||!Rr?Zl*0:Zl/0);for(Pr=new He(Zl),wo=Pr.c=[],ze=Ie.e-ye.e,Zl=Ee+ze+1,me||(me=a,ze=v(Ie.e/l)-v(ye.e/l),Zl=Zl/l|0),Me=0;Rr[Me]==(ra[Me]||0);Me++);if(Rr[Me]>(ra[Me]||0)&&ze--,Zl<0)wo.push(1),Ke=!0;else{for(DP=ra.length,Fu=Rr.length,Me=0,Zl+=2,Zt=r(me/(Rr[0]+1)),Zt>1&&(Rr=q(Rr,Zt,me),ra=q(ra,Zt,me),Fu=Rr.length,DP=ra.length),pb=Fu,si=ra.slice(0,Fu),Di=si.length;Di<Fu;si[Di++]=0);ay=Rr.slice(),ay=[0].concat(ay),IP=Rr[0],Rr[1]>=me/2&&IP++;do{if(Zt=0,be=X(Rr,si,Fu,Di),be<0){if(Ss=si[0],Fu!=Di&&(Ss=Ss*me+(si[1]||0)),Zt=r(Ss/IP),Zt>1)for(Zt>=me&&(Zt=me-1),Jt=q(Rr,Zt,me),di=Jt.length,Di=si.length;X(Jt,si,di,Di)==1;)Zt--,re(Jt,Fu<di?ay:Rr,di,me),di=Jt.length,be=1;else Zt==0&&(be=Zt=1),Jt=Rr.slice(),di=Jt.length;if(di<Di&&(Jt=[0].concat(Jt)),re(si,Jt,Di,me),Di=si.length,be==-1)for(;X(Rr,si,Fu,Di)<1;)Zt++,re(si,Fu<Di?ay:Rr,Di,me),Di=si.length}else be===0&&(Zt++,si=[0]);wo[Me++]=Zt,si[0]?si[Di++]=ra[pb]||0:(si=[ra[pb]],Di=1)}while((pb++<DP||si[0]!=null)&&Zl--);Ke=si[0]!=null,wo[0]||wo.splice(0,1)}if(me==a){for(Me=1,Zl=wo[0];Zl>=10;Zl/=10,Me++);Fn(Pr,Ee+(Pr.e=Me+ze*l-1)+1,Ne,Ke)}else Pr.e=ze,Pr.r=+Ke;return Pr}})();function Dt(q,X,re,Ie){var ye,Ee,Ne,me,be;if(re==null?re=te:S(re,0,8),!q.c)return q.toString();if(ye=q.c[0],Ne=q.e,X==null)be=_(q.c),be=Ie==1||Ie==2&&(Ne<=fe||Ne>=ee)?M(be,Ne):A(be,Ne,"0");else if(q=Fn(new He(q),X,re),Ee=q.e,be=_(q.c),me=be.length,Ie==1||Ie==2&&(X<=Ee||Ee<=fe)){for(;me<X;be+="0",me++);be=M(be,Ee)}else if(X-=Ne,be=A(be,Ee,"0"),Ee+1>me){if(--X>0)for(be+=".";X--;be+="0");}else if(X+=Ee-me,X>0)for(Ee+1==me&&(be+=".");X--;be+="0");return q.s<0&&ye?"-"+be:be}function Lo(q,X){for(var re,Ie=1,ye=new He(q[0]);Ie<q.length;Ie++)if(re=new He(q[Ie]),re.s)X.call(ye,re)&&(ye=re);else{ye=re;break}return ye}function Fo(q,X,re){for(var Ie=1,ye=X.length;!X[--ye];X.pop());for(ye=X[0];ye>=10;ye/=10,Ie++);return(re=Ie+re*l-1)>ne?q.c=q.e=null:re<xe?q.c=[q.e=0]:(q.e=re,q.c=X),q}N=(function(){var q=/^(-?)0([xbo])(?=\w[\w.]*$)/i,X=/^([^.]+)\.$/,re=/^\.([^.]+)$/,Ie=/^-?(Infinity|NaN)$/,ye=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(Ee,Ne,me,be){var ze,Me=me?Ne:Ne.replace(ye,"");if(Ie.test(Me))Ee.s=isNaN(Me)?null:Me<0?-1:1;else{if(!me&&(Me=Me.replace(q,function(Ke,Zt,Jt){return ze=(Jt=Jt.toLowerCase())=="x"?16:Jt=="b"?2:8,!be||be==ze?Zt:Ke}),be&&(ze=be,Me=Me.replace(X,"$1").replace(re,"0.$1")),Ne!=Me))return new He(Me,ze);if(He.DEBUG)throw Error(o+"Not a"+(be?" base "+be:"")+" number: "+Ne);Ee.s=null}Ee.c=Ee.e=null}})();function Fn(q,X,re,Ie){var ye,Ee,Ne,me,be,ze,Me,Ke=q.c,Zt=u;if(Ke){e:{for(ye=1,me=Ke[0];me>=10;me/=10,ye++);if(Ee=X-ye,Ee<0)Ee+=l,Ne=X,be=Ke[ze=0],Me=be/Zt[ye-Ne-1]%10|0;else if(ze=i((Ee+1)/l),ze>=Ke.length)if(Ie){for(;Ke.length<=ze;Ke.push(0));be=Me=0,ye=1,Ee%=l,Ne=Ee-l+1}else break e;else{for(be=me=Ke[ze],ye=1;me>=10;me/=10,ye++);Ee%=l,Ne=Ee-l+ye,Me=Ne<0?0:be/Zt[ye-Ne-1]%10|0}if(Ie=Ie||X<0||Ke[ze+1]!=null||(Ne<0?be:be%Zt[ye-Ne-1]),Ie=re<4?(Me||Ie)&&(re==0||re==(q.s<0?3:2)):Me>5||Me==5&&(re==4||Ie||re==6&&(Ee>0?Ne>0?be/Zt[ye-Ne]:0:Ke[ze-1])%10&1||re==(q.s<0?8:7)),X<1||!Ke[0])return Ke.length=0,Ie?(X-=q.e+1,Ke[0]=Zt[(l-X%l)%l],q.e=-X||0):Ke[0]=q.e=0,q;if(Ee==0?(Ke.length=ze,me=1,ze--):(Ke.length=ze+1,me=Zt[l-Ee],Ke[ze]=Ne>0?r(be/Zt[ye-Ne]%Zt[Ne])*me:0),Ie)for(;;)if(ze==0){for(Ee=1,Ne=Ke[0];Ne>=10;Ne/=10,Ee++);for(Ne=Ke[0]+=me,me=1;Ne>=10;Ne/=10,me++);Ee!=me&&(q.e++,Ke[0]==a&&(Ke[0]=1));break}else{if(Ke[ze]+=me,Ke[ze]!=a)break;Ke[ze--]=0,me=1}for(Ee=Ke.length;Ke[--Ee]===0;Ke.pop());}q.e>ne?q.c=q.e=null:q.e<xe&&(q.c=[q.e=0])}return q}function oo(q){var X,re=q.e;return re===null?q.toString():(X=_(q.c),X=re<=fe||re>=ee?M(X,re):A(X,re,"0"),q.s<0?"-"+X:X)}return H.absoluteValue=H.abs=function(){var q=new He(this);return q.s<0&&(q.s=1),q},H.comparedTo=function(q,X){return C(this,new He(q,X))},H.decimalPlaces=H.dp=function(q,X){var re,Ie,ye,Ee=this;if(q!=null)return S(q,0,p),X==null?X=te:S(X,0,8),Fn(new He(Ee),q+Ee.e+1,X);if(!(re=Ee.c))return null;if(Ie=((ye=re.length-1)-v(this.e/l))*l,ye=re[ye])for(;ye%10==0;ye/=10,Ie--);return Ie<0&&(Ie=0),Ie},H.dividedBy=H.div=function(q,X){return D(this,new He(q,X),j,te)},H.dividedToIntegerBy=H.idiv=function(q,X){return D(this,new He(q,X),0,1)},H.exponentiatedBy=H.pow=function(q,X){var re,Ie,ye,Ee,Ne,me,be,ze,Me,Ke=this;if(q=new He(q),q.c&&!q.isInteger())throw Error(o+"Exponent not an integer: "+oo(q));if(X!=null&&(X=new He(X)),me=q.e>14,!Ke.c||!Ke.c[0]||Ke.c[0]==1&&!Ke.e&&Ke.c.length==1||!q.c||!q.c[0])return Me=new He(Math.pow(+oo(Ke),me?2-O(q):+oo(q))),X?Me.mod(X):Me;if(be=q.s<0,X){if(X.c?!X.c[0]:!X.s)return new He(NaN);Ie=!be&&Ke.isInteger()&&X.isInteger(),Ie&&(Ke=Ke.mod(X))}else{if(q.e>9&&(Ke.e>0||Ke.e<-1||(Ke.e==0?Ke.c[0]>1||me&&Ke.c[1]>=24e7:Ke.c[0]<8e13||me&&Ke.c[0]<=9999975e7)))return Ee=Ke.s<0&&O(q)?-0:0,Ke.e>-1&&(Ee=1/Ee),new He(be?1/Ee:Ee);rt&&(Ee=i(rt/l+2))}for(me?(re=new He(.5),be&&(q.s=1),ze=O(q)):(ye=Math.abs(+oo(q)),ze=ye%2),Me=new He(he);;){if(ze){if(Me=Me.times(Ke),!Me.c)break;Ee?Me.c.length>Ee&&(Me.c.length=Ee):Ie&&(Me=Me.mod(X))}if(ye){if(ye=r(ye/2),ye===0)break;ze=ye%2}else if(q=q.times(re),Fn(q,q.e+1,1),q.e>14)ze=O(q);else{if(ye=+oo(q),ye===0)break;ze=ye%2}Ke=Ke.times(Ke),Ee?Ke.c&&Ke.c.length>Ee&&(Ke.c.length=Ee):Ie&&(Ke=Ke.mod(X))}return Ie?Me:(be&&(Me=he.div(Me)),X?Me.mod(X):Ee?Fn(Me,rt,te,Ne):Me)},H.integerValue=function(q){var X=new He(this);return q==null?q=te:S(q,0,8),Fn(X,X.e+1,q)},H.isEqualTo=H.eq=function(q,X){return C(this,new He(q,X))===0},H.isFinite=function(){return!!this.c},H.isGreaterThan=H.gt=function(q,X){return C(this,new He(q,X))>0},H.isGreaterThanOrEqualTo=H.gte=function(q,X){return(X=C(this,new He(q,X)))===1||X===0},H.isInteger=function(){return!!this.c&&v(this.e/l)>this.c.length-2},H.isLessThan=H.lt=function(q,X){return C(this,new He(q,X))<0},H.isLessThanOrEqualTo=H.lte=function(q,X){return(X=C(this,new He(q,X)))===-1||X===0},H.isNaN=function(){return!this.s},H.isNegative=function(){return this.s<0},H.isPositive=function(){return this.s>0},H.isZero=function(){return!!this.c&&this.c[0]==0},H.minus=function(q,X){var re,Ie,ye,Ee,Ne=this,me=Ne.s;if(q=new He(q,X),X=q.s,!me||!X)return new He(NaN);if(me!=X)return q.s=-X,Ne.plus(q);var be=Ne.e/l,ze=q.e/l,Me=Ne.c,Ke=q.c;if(!be||!ze){if(!Me||!Ke)return Me?(q.s=-X,q):new He(Ke?Ne:NaN);if(!Me[0]||!Ke[0])return Ke[0]?(q.s=-X,q):new He(Me[0]?Ne:te==3?-0:0)}if(be=v(be),ze=v(ze),Me=Me.slice(),me=be-ze){for((Ee=me<0)?(me=-me,ye=Me):(ze=be,ye=Ke),ye.reverse(),X=me;X--;ye.push(0));ye.reverse()}else for(Ie=(Ee=(me=Me.length)<(X=Ke.length))?me:X,me=X=0;X<Ie;X++)if(Me[X]!=Ke[X]){Ee=Me[X]<Ke[X];break}if(Ee&&(ye=Me,Me=Ke,Ke=ye,q.s=-q.s),X=(Ie=Ke.length)-(re=Me.length),X>0)for(;X--;Me[re++]=0);for(X=a-1;Ie>me;){if(Me[--Ie]<Ke[Ie]){for(re=Ie;re&&!Me[--re];Me[re]=X);--Me[re],Me[Ie]+=a}Me[Ie]-=Ke[Ie]}for(;Me[0]==0;Me.splice(0,1),--ze);return Me[0]?Fo(q,Me,ze):(q.s=te==3?-1:1,q.c=[q.e=0],q)},H.modulo=H.mod=function(q,X){var re,Ie,ye=this;return q=new He(q,X),!ye.c||!q.s||q.c&&!q.c[0]?new He(NaN):!q.c||ye.c&&!ye.c[0]?new He(ye):(Ze==9?(Ie=q.s,q.s=1,re=D(ye,q,0,3),q.s=Ie,re.s*=Ie):re=D(ye,q,0,Ze),q=ye.minus(re.times(q)),!q.c[0]&&Ze==1&&(q.s=ye.s),q)},H.multipliedBy=H.times=function(q,X){var re,Ie,ye,Ee,Ne,me,be,ze,Me,Ke,Zt,Jt,di,Pr,wo,si=this,Di=si.c,Ss=(q=new He(q,X)).c;if(!Di||!Ss||!Di[0]||!Ss[0])return!si.s||!q.s||Di&&!Di[0]&&!Ss||Ss&&!Ss[0]&&!Di?q.c=q.e=q.s=null:(q.s*=si.s,!Di||!Ss?q.c=q.e=null:(q.c=[0],q.e=0)),q;for(Ie=v(si.e/l)+v(q.e/l),q.s*=si.s,be=Di.length,Ke=Ss.length,be<Ke&&(di=Di,Di=Ss,Ss=di,ye=be,be=Ke,Ke=ye),ye=be+Ke,di=[];ye--;di.push(0));for(Pr=a,wo=h,ye=Ke;--ye>=0;){for(re=0,Zt=Ss[ye]%wo,Jt=Ss[ye]/wo|0,Ne=be,Ee=ye+Ne;Ee>ye;)ze=Di[--Ne]%wo,Me=Di[Ne]/wo|0,me=Jt*ze+Me*Zt,ze=Zt*ze+me%wo*wo+di[Ee]+re,re=(ze/Pr|0)+(me/wo|0)+Jt*Me,di[Ee--]=ze%Pr;di[Ee]=re}return re?++Ie:di.splice(0,1),Fo(q,di,Ie)},H.negated=function(){var q=new He(this);return q.s=-q.s||null,q},H.plus=function(q,X){var re,Ie=this,ye=Ie.s;if(q=new He(q,X),X=q.s,!ye||!X)return new He(NaN);if(ye!=X)return q.s=-X,Ie.minus(q);var Ee=Ie.e/l,Ne=q.e/l,me=Ie.c,be=q.c;if(!Ee||!Ne){if(!me||!be)return new He(ye/0);if(!me[0]||!be[0])return be[0]?q:new He(me[0]?Ie:ye*0)}if(Ee=v(Ee),Ne=v(Ne),me=me.slice(),ye=Ee-Ne){for(ye>0?(Ne=Ee,re=be):(ye=-ye,re=me),re.reverse();ye--;re.push(0));re.reverse()}for(ye=me.length,X=be.length,ye-X<0&&(re=be,be=me,me=re,X=ye),ye=0;X;)ye=(me[--X]=me[X]+be[X]+ye)/a|0,me[X]=a===me[X]?0:me[X]%a;return ye&&(me=[ye].concat(me),++Ne),Fo(q,me,Ne)},H.precision=H.sd=function(q,X){var re,Ie,ye,Ee=this;if(q!=null&&q!==!!q)return S(q,1,p),X==null?X=te:S(X,0,8),Fn(new He(Ee),q,X);if(!(re=Ee.c))return null;if(ye=re.length-1,Ie=ye*l+1,ye=re[ye]){for(;ye%10==0;ye/=10,Ie--);for(ye=re[0];ye>=10;ye/=10,Ie++);}return q&&Ee.e+1>Ie&&(Ie=Ee.e+1),Ie},H.shiftedBy=function(q){return S(q,-c,c),this.times("1e"+q)},H.squareRoot=H.sqrt=function(){var q,X,re,Ie,ye,Ee=this,Ne=Ee.c,me=Ee.s,be=Ee.e,ze=j+4,Me=new He("0.5");if(me!==1||!Ne||!Ne[0])return new He(!me||me<0&&(!Ne||Ne[0])?NaN:Ne?Ee:1/0);if(me=Math.sqrt(+oo(Ee)),me==0||me==1/0?(X=_(Ne),(X.length+be)%2==0&&(X+="0"),me=Math.sqrt(+X),be=v((be+1)/2)-(be<0||be%2),me==1/0?X="5e"+be:(X=me.toExponential(),X=X.slice(0,X.indexOf("e")+1)+be),re=new He(X)):re=new He(me+""),re.c[0]){for(be=re.e,me=be+ze,me<3&&(me=0);;)if(ye=re,re=Me.times(ye.plus(D(Ee,ye,ze,1))),_(ye.c).slice(0,me)===(X=_(re.c)).slice(0,me))if(re.e<be&&--me,X=X.slice(me-3,me+1),X=="9999"||!Ie&&X=="4999"){if(!Ie&&(Fn(ye,ye.e+j+2,0),ye.times(ye).eq(Ee))){re=ye;break}ze+=4,me+=4,Ie=1}else{(!+X||!+X.slice(1)&&X.charAt(0)=="5")&&(Fn(re,re.e+j+2,1),q=!re.times(re).eq(Ee));break}}return Fn(re,re.e+j+1,te,q)},H.toExponential=function(q,X){return q!=null&&(S(q,0,p),q++),Dt(this,q,X,1)},H.toFixed=function(q,X){return q!=null&&(S(q,0,p),q=q+this.e+1),Dt(this,q,X)},H.toFormat=function(q,X,re){var Ie,ye=this;if(re==null)q!=null&&X&&typeof X=="object"?(re=X,X=null):q&&typeof q=="object"?(re=q,q=X=null):re=ct;else if(typeof re!="object")throw Error(o+"Argument not an object: "+re);if(Ie=ye.toFixed(q,X),ye.c){var Ee,Ne=Ie.split("."),me=+re.groupSize,be=+re.secondaryGroupSize,ze=re.groupSeparator||"",Me=Ne[0],Ke=Ne[1],Zt=ye.s<0,Jt=Zt?Me.slice(1):Me,di=Jt.length;if(be&&(Ee=me,me=be,be=Ee,di-=Ee),me>0&&di>0){for(Ee=di%me||me,Me=Jt.substr(0,Ee);Ee<di;Ee+=me)Me+=ze+Jt.substr(Ee,me);be>0&&(Me+=ze+Jt.slice(Ee)),Zt&&(Me="-"+Me)}Ie=Ke?Me+(re.decimalSeparator||"")+((be=+re.fractionGroupSize)?Ke.replace(new RegExp("\\d{"+be+"}\\B","g"),"$&"+(re.fractionGroupSeparator||"")):Ke):Me}return(re.prefix||"")+Ie+(re.suffix||"")},H.toFraction=function(q){var X,re,Ie,ye,Ee,Ne,me,be,ze,Me,Ke,Zt,Jt=this,di=Jt.c;if(q!=null&&(me=new He(q),!me.isInteger()&&(me.c||me.s!==1)||me.lt(he)))throw Error(o+"Argument "+(me.isInteger()?"out of range: ":"not an integer: ")+oo(me));if(!di)return new He(Jt);for(X=new He(he),ze=re=new He(he),Ie=be=new He(he),Zt=_(di),Ee=X.e=Zt.length-Jt.e-1,X.c[0]=u[(Ne=Ee%l)<0?l+Ne:Ne],q=!q||me.comparedTo(X)>0?Ee>0?X:ze:me,Ne=ne,ne=1/0,me=new He(Zt),be.c[0]=0;Me=D(me,X,0,1),ye=re.plus(Me.times(Ie)),ye.comparedTo(q)!=1;)re=Ie,Ie=ye,ze=be.plus(Me.times(ye=ze)),be=ye,X=me.minus(Me.times(ye=X)),me=ye;return ye=D(q.minus(re),Ie,0,1),be=be.plus(ye.times(ze)),re=re.plus(ye.times(Ie)),be.s=ze.s=Jt.s,Ee=Ee*2,Ke=D(ze,Ie,Ee,te).minus(Jt).abs().comparedTo(D(be,re,Ee,te).minus(Jt).abs())<1?[ze,Ie]:[be,re],ne=Ne,Ke},H.toNumber=function(){return+oo(this)},H.toPrecision=function(q,X){return q!=null&&S(q,1,p),Dt(this,q,X,2)},H.toString=function(q){var X,re=this,Ie=re.s,ye=re.e;return ye===null?Ie?(X="Infinity",Ie<0&&(X="-"+X)):X="NaN":(q==null?X=ye<=fe||ye>=ee?M(_(re.c),ye):A(_(re.c),ye,"0"):q===10&&ii?(re=Fn(new He(re),j+ye+1,te),X=A(_(re.c),re.e,"0")):(S(q,2,Ft.length,"Base"),X=V(A(_(re.c),ye,"0"),10,q,Ie,!0)),Ie<0&&re.c[0]&&(X="-"+X)),X},H.valueOf=H.toJSON=function(){return oo(this)},H._isBigNumber=!0,L!=null&&He.set(L),He}function v(L){var D=L|0;return L>0||L===D?D:D-1}function _(L){for(var D,V,N=1,H=L.length,he=L[0]+"";N<H;){for(D=L[N++]+"",V=l-D.length;V--;D="0"+D);he+=D}for(H=he.length;he.charCodeAt(--H)===48;);return he.slice(0,H+1||1)}function C(L,D){var V,N,H=L.c,he=D.c,j=L.s,te=D.s,fe=L.e,ee=D.e;if(!j||!te)return null;if(V=H&&!H[0],N=he&&!he[0],V||N)return V?N?0:-te:j;if(j!=te)return j;if(V=j<0,N=fe==ee,!H||!he)return N?0:!H^V?1:-1;if(!N)return fe>ee^V?1:-1;for(te=(fe=H.length)<(ee=he.length)?fe:ee,j=0;j<te;j++)if(H[j]!=he[j])return H[j]>he[j]^V?1:-1;return fe==ee?0:fe>ee^V?1:-1}function S(L,D,V,N){if(L<D||L>V||L!==r(L))throw Error(o+(N||"Argument")+(typeof L=="number"?L<D||L>V?" out of range: ":" not an integer: ":" not a primitive number: ")+String(L))}function O(L){var D=L.c.length-1;return v(L.e/l)==D&&L.c[D]%2!=0}function M(L,D){return(L.length>1?L.charAt(0)+"."+L.slice(1):L)+(D<0?"e":"e+")+D}function A(L,D,V){var N,H;if(D<0){for(H=V+".";++D;H+=V);L=H+L}else if(N=L.length,++D>N){for(H=V,D-=N;--D;H+=V);L+=H}else D<N&&(L=L.slice(0,D)+"."+L.slice(D));return L}t=f(),t.default=t.BigNumber=t,typeof define=="function"&&define.amd?define(function(){return t}):typeof ex<"u"&&ex.exports?ex.exports=t:(n||(n=typeof self<"u"&&self?self:window),n.BigNumber=t)})(hue)});var gue=de((LHt,mue)=>{"use strict";var pue=IV(),fue=mue.exports;(function(){"use strict";function n(c){return c<10?"0"+c:c}var t=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,e=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,i,r,o={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},s;function a(c){return e.lastIndex=0,e.test(c)?'"'+c.replace(e,function(u){var h=o[u];return typeof h=="string"?h:"\\u"+("0000"+u.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+c+'"'}function l(c,u){var h,p,f,v,_=i,C,S=u[c],O=S!=null&&(S instanceof pue||pue.isBigNumber(S));switch(S&&typeof S=="object"&&typeof S.toJSON=="function"&&(S=S.toJSON(c)),typeof s=="function"&&(S=s.call(u,c,S)),typeof S){case"string":return O?S:a(S);case"number":return isFinite(S)?String(S):"null";case"boolean":case"null":case"bigint":return String(S);case"object":if(!S)return"null";if(i+=r,C=[],Object.prototype.toString.apply(S)==="[object Array]"){for(v=S.length,h=0;h<v;h+=1)C[h]=l(h,S)||"null";return f=C.length===0?"[]":i?`[
|
|
4
4
|
`+i+C.join(`,
|
|
5
5
|
`+i)+`
|
|
@@ -88,7 +88,7 @@ Consider to rely on 'then' or 'done' mode instead.`);v&&(delete e[o],i[o]=f,t.em
|
|
|
88
88
|
`).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),o=e.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((e,i)=>{this.addHeaderEntry(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){let e=new n;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){let e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(t.name,e);let r=(t.op==="a"?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":let o=t.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(t,e){let i=t.toLowerCase();this.maybeSetNormalizedName(t,i),this.headers.has(i)?this.headers.get(i).push(e):this.headers.set(i,[e])}setHeaderEntries(t,e){let i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=t.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(t,r)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}};var wS=class{encodeKey(t){return sce(t)}encodeValue(t){return sce(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function KBe(n,t){let e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}var JBe=/%(\d[a-f0-9])/gi,eHe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function sce(n){return encodeURIComponent(n).replace(JBe,(t,e)=>eHe[e]??t)}function CS(n){return`${n}`}var Mh=class n{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new wS,t.fromString){if(t.fromObject)throw new je(2805,!1);this.map=KBe(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{let i=t.fromObject[e],r=Array.isArray(i)?i.map(CS):[CS(i)];this.map.set(e,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){let e=[];return Object.keys(t).forEach(i=>{let r=t[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let e=new n({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let e=(t.op==="a"?this.map.get(t.param):void 0)||[];e.push(CS(t.value)),this.map.set(t.param,e);break;case"d":if(t.value!==void 0){let i=this.map.get(t.param)||[],r=i.indexOf(CS(t.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var bS=class{map=new Map;set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function tHe(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function ace(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function lce(n){return typeof Blob<"u"&&n instanceof Blob}function cce(n){return typeof FormData<"u"&&n instanceof FormData}function nHe(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var uce="Content-Type",dce="Accept",pce="X-Request-URL",fce="text/plain",mce="application/json",iHe=`${mce}, ${fce}, */*`,c4=class n{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,e,i,r){this.url=e,this.method=t.toUpperCase();let o;if(tHe(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new je(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),this.transferCache=o.transferCache}if(this.headers??=new id,this.context??=new bS,!this.params)this.params=new Mh,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),l=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+l+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||ace(this.body)||lce(this.body)||cce(this.body)||nHe(this.body)?this.body:this.body instanceof Mh?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||cce(this.body)?null:lce(this.body)?this.body.type||null:ace(this.body)?null:typeof this.body=="string"?fce:this.body instanceof Mh?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?mce:null}clone(t={}){let e=t.method||this.method,i=t.url||this.url,r=t.responseType||this.responseType,o=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,l=t.mode||this.mode,c=t.redirect||this.redirect,u=t.credentials||this.credentials,h=t.referrer||this.referrer,p=t.integrity||this.integrity,f=t.transferCache??this.transferCache,v=t.timeout??this.timeout,_=t.body!==void 0?t.body:this.body,C=t.withCredentials??this.withCredentials,S=t.reportProgress??this.reportProgress,O=t.headers||this.headers,M=t.params||this.params,A=t.context??this.context;return t.setHeaders!==void 0&&(O=Object.keys(t.setHeaders).reduce((L,D)=>L.set(D,t.setHeaders[D]),O)),t.setParams&&(M=Object.keys(t.setParams).reduce((L,D)=>L.set(D,t.setParams[D]),M)),new n(e,i,_,{params:M,headers:O,context:A,reportProgress:S,responseType:r,withCredentials:C,transferCache:f,keepalive:o,cache:a,priority:s,timeout:v,mode:l,redirect:c,credentials:u,referrer:h,integrity:p})}},W0=(function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n})(W0||{}),d4=class{headers;status;statusText;url;ok;type;redirected;constructor(t,e=200,i="OK"){this.headers=t.headers||new id,this.status=t.status!==void 0?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.redirected=t.redirected,this.ok=this.status>=200&&this.status<300}},SS=class n extends d4{constructor(t={}){super(t)}type=W0.ResponseHeader;clone(t={}){return new n({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Iv=class n extends d4{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=W0.Response;clone(t={}){return new n({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected})}},_1=class extends d4{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},rHe=200,oHe=204;function IF(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials,credentials:n.credentials,transferCache:n.transferCache,timeout:n.timeout,keepalive:n.keepalive,priority:n.priority,cache:n.cache,mode:n.mode,redirect:n.redirect,integrity:n.integrity,referrer:n.referrer}}var Va=(()=>{class n{handler;constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof c4)o=e;else{let l;r.headers instanceof id?l=r.headers:l=new id(r.headers);let c;r.params&&(r.params instanceof Mh?c=r.params:c=new Mh({fromObject:r.params})),o=new c4(e,i,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials,referrer:r.referrer,integrity:r.integrity,timeout:r.timeout})}let s=Re(o).pipe(ml(l=>this.handler.handle(l)));if(e instanceof c4||r.observe==="events")return s;let a=s.pipe(tt(l=>l instanceof Iv));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(Ce(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new je(2806,!1);return l.body}));case"blob":return a.pipe(Ce(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new je(2807,!1);return l.body}));case"text":return a.pipe(Ce(l=>{if(l.body!==null&&typeof l.body!="string")throw new je(2808,!1);return l.body}));case"json":default:return a.pipe(Ce(l=>l.body))}case"response":return a;default:throw new je(2809,!1)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new Mh().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,IF(r,i))}post(e,i,r={}){return this.request("POST",e,IF(r,i))}put(e,i,r={}){return this.request("PUT",e,IF(r,i))}static \u0275fac=function(i){return new(i||n)(J(u4))};static \u0275prov=Z({token:n,factory:n.\u0275fac})}return n})();var sHe=new _e("");function gce(n,t){return t(n)}function aHe(n,t){return(e,i)=>t.intercept(e,{handle:r=>n(r,i)})}function lHe(n,t,e){return(i,r)=>ss(e,()=>t(i,o=>n(o,r)))}var kS=new _e(""),AF=new _e(""),yce=new _e(""),PF=new _e("",{providedIn:"root",factory:()=>!0});function cHe(){let n=null;return(t,e)=>{n===null&&(n=(I(kS,{optional:!0})??[]).reduceRight(aHe,gce));let i=I(z0);if(I(PF)){let o=i.add();return n(t,e).pipe(Ts(o))}else return n(t,e)}}var xS=(()=>{class n extends u4{backend;injector;chain=null;pendingTasks=I(z0);contributeToStability=I(PF);constructor(e,i){super(),this.backend=e,this.injector=i}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(AF),...this.injector.get(yce,[])]));this.chain=i.reduceRight((r,o)=>lHe(r,o,this.injector),gce)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(Ts(i))}else return this.chain(e,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||n)(J(Dh),J(Tr))};static \u0275prov=Z({token:n,factory:n.\u0275fac})}return n})();var uHe=/^\)\]\}',?\n/,dHe=RegExp(`^${pce}:`,"m");function hHe(n){return"responseURL"in n&&n.responseURL?n.responseURL:dHe.test(n.getAllResponseHeaders())?n.getResponseHeader(pce):null}var zF=(()=>{class n{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new je(-2800,!1);let i=this.xhrFactory;return Re(null).pipe(ve(()=>new Cn(o=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((C,S)=>s.setRequestHeader(C,S.join(","))),e.headers.has(dce)||s.setRequestHeader(dce,iHe),!e.headers.has(uce)){let C=e.detectContentTypeHeader();C!==null&&s.setRequestHeader(uce,C)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let C=e.responseType.toLowerCase();s.responseType=C!=="json"?C:"text"}let a=e.serializeBody(),l=null,c=()=>{if(l!==null)return l;let C=s.statusText||"OK",S=new id(s.getAllResponseHeaders()),O=hHe(s)||e.url;return l=new SS({headers:S,status:s.status,statusText:C,url:O}),l},u=()=>{let{headers:C,status:S,statusText:O,url:M}=c(),A=null;S!==oHe&&(A=typeof s.response>"u"?s.responseText:s.response),S===0&&(S=A?rHe:0);let L=S>=200&&S<300;if(e.responseType==="json"&&typeof A=="string"){let D=A;A=A.replace(uHe,"");try{A=A!==""?JSON.parse(A):null}catch(V){A=D,L&&(L=!1,A={error:V,text:A})}}L?(o.next(new Iv({body:A,headers:C,status:S,statusText:O,url:M||void 0})),o.complete()):o.error(new _1({error:A,headers:C,status:S,statusText:O,url:M||void 0}))},h=C=>{let{url:S}=c(),O=new _1({error:C,status:s.status||0,statusText:s.statusText||"Unknown Error",url:S||void 0});o.error(O)},p=h;e.timeout&&(p=C=>{let{url:S}=c(),O=new _1({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:S||void 0});o.error(O)});let f=!1,v=C=>{f||(o.next(c()),f=!0);let S={type:W0.DownloadProgress,loaded:C.loaded};C.lengthComputable&&(S.total=C.total),e.responseType==="text"&&s.responseText&&(S.partialText=s.responseText),o.next(S)},_=C=>{let S={type:W0.UploadProgress,loaded:C.loaded};C.lengthComputable&&(S.total=C.total),o.next(S)};return s.addEventListener("load",u),s.addEventListener("error",h),s.addEventListener("timeout",p),s.addEventListener("abort",h),e.reportProgress&&(s.addEventListener("progress",v),a!==null&&s.upload&&s.upload.addEventListener("progress",_)),s.send(a),o.next({type:W0.Sent}),()=>{s.removeEventListener("error",h),s.removeEventListener("abort",h),s.removeEventListener("load",u),s.removeEventListener("timeout",p),e.reportProgress&&(s.removeEventListener("progress",v),a!==null&&s.upload&&s.upload.removeEventListener("progress",_)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(i){return new(i||n)(J(U0))};static \u0275prov=Z({token:n,factory:n.\u0275fac})}return n})(),vce=new _e(""),pHe="XSRF-TOKEN",fHe=new _e("",{providedIn:"root",factory:()=>pHe}),mHe="X-XSRF-TOKEN",gHe=new _e("",{providedIn:"root",factory:()=>mHe}),zv=class{},yHe=(()=>{class n{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,i){this.doc=e,this.cookieName=i}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=kv(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(i){return new(i||n)(J(gt),J(fHe))};static \u0275prov=Z({token:n,factory:n.\u0275fac})}return n})();function vHe(n,t){let e=n.url.toLowerCase();if(!I(vce)||n.method==="GET"||n.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return t(n);let i=I(zv).getToken(),r=I(gHe);return i!=null&&!n.headers.has(r)&&(n=n.clone({headers:n.headers.set(r,i)})),t(n)}var RF=(function(n){return n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent",n[n.Fetch=6]="Fetch",n})(RF||{});function _He(n,t){return{\u0275kind:n,\u0275providers:t}}function NF(...n){let t=[Va,zF,xS,{provide:u4,useExisting:xS},{provide:Dh,useFactory:()=>I(sHe,{optional:!0})??I(zF)},{provide:AF,useValue:vHe,multi:!0},{provide:vce,useValue:!0},{provide:zv,useClass:yHe}];for(let e of n)t.push(...e.\u0275providers);return yl(t)}var hce=new _e("");function LF(){return _He(RF.LegacyInterceptors,[{provide:hce,useFactory:cHe},{provide:AF,useExisting:hce,multi:!0}])}var _ce=(()=>{class n{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(i){return new(i||n)(J(gt))};static \u0275prov=Z({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function CHe(n,t){if(typeof COMPILED>"u"||!COMPILED){let e=Lr.ng=Lr.ng||{};e[n]=t}}var VF=class{msPerTick;numTicks;constructor(t,e){this.msPerTick=t,this.numTicks=e}},BF=class{appRef;constructor(t){this.appRef=t.injector.get(Er)}timeChangeDetection(t){let e=t&&t.record,i="Change Detection";e&&"profile"in console&&typeof console.profile=="function"&&console.profile(i);let r=performance.now(),o=0;for(;o<5||performance.now()-r<500;)this.appRef.tick(),o++;let s=performance.now();e&&"profileEnd"in console&&typeof console.profileEnd=="function"&&console.profileEnd(i);let a=(s-r)/o;return console.log(`ran ${o} change detection cycles`),console.log(`${a.toFixed(2)} ms per check`),new VF(a,o)}},wHe="profiler";function Cce(n){return CHe(wHe,new BF(n)),n}var Sl=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275prov=Z({token:n,factory:function(i){let r=null;return i?r=new(i||n):r=J(bHe),r},providedIn:"root"})}return n})(),bHe=(()=>{class n extends Sl{_doc;constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case jo.NONE:return i;case jo.HTML:return Ju(i,"HTML")?La(i):V9(this._doc,String(i)).toString();case jo.STYLE:return Ju(i,"Style")?La(i):i;case jo.SCRIPT:if(Ju(i,"Script"))return La(i);throw new je(5200,!1);case jo.URL:return Ju(i,"URL")?La(i):ev(String(i));case jo.RESOURCE_URL:if(Ju(i,"ResourceURL"))return La(i);throw new je(5201,!1);default:throw new je(5202,!1)}}bypassSecurityTrustHtml(e){return aL(e)}bypassSecurityTrustStyle(e){return lL(e)}bypassSecurityTrustScript(e){return cL(e)}bypassSecurityTrustUrl(e){return uL(e)}bypassSecurityTrustResourceUrl(e){return dL(e)}static \u0275fac=function(i){return new(i||n)(J(gt))};static \u0275prov=Z({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var qF={};function Nce(n,t){if(qF[n]=(qF[n]||0)+1,typeof t=="function")return HF(n,(...i)=>B(x({},t(...i)),{type:n}));switch(t?t._as:"empty"){case"empty":return HF(n,()=>({type:n}));case"props":return HF(n,i=>B(x({},i),{type:n}));default:throw new Error("Unexpected config.")}}function HF(n,t){return Object.defineProperty(t,"type",{value:n,writable:!1})}var rd="@ngrx/store/init",od=(()=>{class n extends Tt{constructor(){super({type:rd})}next(e){if(typeof e=="function")throw new TypeError(`
|
|
89
89
|
Dispatch expected an object, instead it received a function.
|
|
90
90
|
If you're using the createAction function, make sure to invoke the function
|
|
91
|
-
before dispatching the action. For example, someAction should be someAction().`);if(typeof e>"u")throw new TypeError("Actions must be objects");if(typeof e.type>"u")throw new TypeError("Actions must have a type property");super.next(e)}complete(){}ngOnDestroy(){super.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Z({token:n,factory:n.\u0275fac}),n})(),SHe=[od],Lce=new _e("@ngrx/store Internal Root Guard"),wce=new _e("@ngrx/store Internal Initial State"),Pv=new _e("@ngrx/store Initial State"),Fce=new _e("@ngrx/store Reducer Factory"),bce=new _e("@ngrx/store Internal Reducer Factory Provider"),Vce=new _e("@ngrx/store Initial Reducers"),jF=new _e("@ngrx/store Internal Initial Reducers"),Sce=new _e("@ngrx/store Store Features"),xce=new _e("@ngrx/store Internal Store Reducers"),$F=new _e("@ngrx/store Internal Feature Reducers"),kce=new _e("@ngrx/store Internal Feature Configs"),Bce=new _e("@ngrx/store Internal Store Features"),Tce=new _e("@ngrx/store Internal Feature Reducers Token"),Hce=new _e("@ngrx/store Feature Reducers"),Oce=new _e("@ngrx/store User Provided Meta Reducers"),TS=new _e("@ngrx/store Meta Reducers"),Ece=new _e("@ngrx/store Internal Resolved Meta Reducers"),Mce=new _e("@ngrx/store User Runtime Checks Config"),Dce=new _e("@ngrx/store Internal User Runtime Checks Config"),Av=new _e("@ngrx/store Internal Runtime Checks"),YF=new _e("@ngrx/store Check if Action types are unique");function m4(n,t={}){let e=Object.keys(n),i={};for(let o=0;o<e.length;o++){let s=e[o];typeof n[s]=="function"&&(i[s]=n[s])}let r=Object.keys(i);return function(s,a){s=s===void 0?t:s;let l=!1,c={};for(let u=0;u<r.length;u++){let h=r[u],p=i[h],f=s[h],v=p(f,a);c[h]=v,l=l||v!==f}return l?c:s}}function xHe(n,t){return Object.keys(n).filter(e=>e!==t).reduce((e,i)=>Object.assign(e,{[i]:n[i]}),{})}function jce(...n){return function(t){if(n.length===0)return t;let e=n[n.length-1];return n.slice(0,-1).reduceRight((r,o)=>o(r),e(t))}}function $ce(n,t){return Array.isArray(t)&&t.length>0&&(n=jce.apply(null,[...t,n])),(e,i)=>{let r=n(e);return(o,s)=>(o=o===void 0?i:o,r(o,s))}}function kHe(n){let t=Array.isArray(n)&&n.length>0?jce(...n):e=>e;return(e,i)=>(e=t(e),(r,o)=>(r=r===void 0?i:r,e(r,o)))}var Y0=class extends Cn{},p4=class extends od{},ES="@ngrx/store/update-reducers",OS=(()=>{class n extends Tt{constructor(e,i,r,o){super(o(r,i)),this.dispatcher=e,this.initialState=i,this.reducers=r,this.reducerFactory=o}get currentReducers(){return this.reducers}addFeature(e){this.addFeatures([e])}addFeatures(e){let i=e.reduce((r,{reducers:o,reducerFactory:s,metaReducers:a,initialState:l,key:c})=>{let u=typeof o=="function"?kHe(a)(o,l):$ce(s,a)(o,l);return r[c]=u,r},{});this.addReducers(i)}removeFeature(e){this.removeFeatures([e])}removeFeatures(e){this.removeReducers(e.map(i=>i.key))}addReducer(e,i){this.addReducers({[e]:i})}addReducers(e){this.reducers=x(x({},this.reducers),e),this.updateReducers(Object.keys(e))}removeReducer(e){this.removeReducers([e])}removeReducers(e){e.forEach(i=>{this.reducers=xHe(this.reducers,i)}),this.updateReducers(e)}updateReducers(e){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:ES,features:e})}ngOnDestroy(){this.complete()}}return n.\u0275fac=function(e){return new(e||n)(J(p4),J(Pv),J(Vce),J(Fce))},n.\u0275prov=Z({token:n,factory:n.\u0275fac}),n})(),THe=[OS,{provide:Y0,useExisting:OS},{provide:p4,useExisting:od}],G0=(()=>{class n extends oe{ngOnDestroy(){this.complete()}}return n.\u0275fac=(()=>{let t;return function(i){return(t||(t=Xi(n)))(i||n)}})(),n.\u0275prov=Z({token:n,factory:n.\u0275fac}),n})(),OHe=[G0],f4=class extends Cn{},Ice=(()=>{class n extends Tt{constructor(e,i,r,o){super(o);let a=e.pipe(uy(mb)).pipe(Kt(i)),l={state:o},c=a.pipe(sh(EHe,l));this.stateSubscription=c.subscribe(({state:u,action:h})=>{this.next(u),r.next(h)})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}}return n.INIT=rd,n.\u0275fac=function(e){return new(e||n)(J(od),J(Y0),J(G0),J(Pv))},n.\u0275prov=Z({token:n,factory:n.\u0275fac}),n})();function EHe(n={state:void 0},[t,e]){let{state:i}=n;return{state:e(i,t),action:t}}var MHe=[Ice,{provide:f4,useExisting:Ice}],Pt=(()=>{class n extends Cn{constructor(e,i,r){super(),this.actionsObserver=i,this.reducerManager=r,this.source=e}select(e,...i){return wn.call(null,e,...i)(this)}lift(e){let i=new n(this,this.actionsObserver,this.reducerManager);return i.operator=e,i}dispatch(e){this.actionsObserver.next(e)}next(e){this.actionsObserver.next(e)}error(e){this.actionsObserver.error(e)}complete(){this.actionsObserver.complete()}addReducer(e,i){this.reducerManager.addReducer(e,i)}removeReducer(e){this.reducerManager.removeReducer(e)}}return n.\u0275fac=function(e){return new(e||n)(J(f4),J(od),J(OS))},n.\u0275prov=Z({token:n,factory:n.\u0275fac}),n})(),DHe=[Pt];function wn(n,t,...e){return function(r){let o;if(typeof n=="string"){let s=[t,...e].filter(Boolean);o=r.pipe(HP(n,...s))}else if(typeof n=="function")o=r.pipe(Ce(s=>n(s,t)));else throw new TypeError(`Unexpected type '${typeof n}' in select operator, expected 'string' or 'function'`);return o.pipe(hn())}}var GF="https://ngrx.io/guide/store/configuration/runtime-checks";function zce(n){return n===void 0}function Ace(n){return n===null}function qce(n){return Array.isArray(n)}function IHe(n){return typeof n=="string"}function zHe(n){return typeof n=="boolean"}function AHe(n){return typeof n=="number"}function Uce(n){return typeof n=="object"&&n!==null}function PHe(n){return Uce(n)&&!qce(n)}function RHe(n){if(!PHe(n))return!1;let t=Object.getPrototypeOf(n);return t===Object.prototype||t===null}function UF(n){return typeof n=="function"}function NHe(n){return UF(n)&&n.hasOwnProperty("\u0275cmp")}function LHe(n,t){return Object.prototype.hasOwnProperty.call(n,t)}function Pce(n,t){return n===t}function FHe(n,t,e){for(let i=0;i<n.length;i++)if(!e(n[i],t[i]))return!0;return!1}function Qce(n,t=Pce,e=Pce){let i=null,r=null,o;function s(){i=null,r=null}function a(u=void 0){o={result:u}}function l(){o=void 0}function c(){if(o!==void 0)return o.result;if(!i)return r=n.apply(null,arguments),i=arguments,r;if(!FHe(arguments,i,t))return r;let u=n.apply(null,arguments);return i=arguments,e(r,u)?r:(r=u,u)}return{memoized:c,reset:s,setResult:a,clearResult:l}}function At(...n){return BHe(Qce)(...n)}function VHe(n,t,e,i){if(e===void 0){let o=t.map(s=>s(n));return i.memoized.apply(null,o)}let r=t.map(o=>o(n,e));return i.memoized.apply(null,[...r,e])}function BHe(n,t={stateFn:VHe}){return function(...e){let i=e;if(Array.isArray(i[0])){let[u,...h]=i;i=[...u,...h]}else i.length===1&&HHe(i[0])&&(i=jHe(i[0]));let r=i.slice(0,i.length-1),o=i[i.length-1],s=r.filter(u=>u.release&&typeof u.release=="function"),a=n(function(...u){return o.apply(null,u)}),l=Qce(function(u,h){return t.stateFn.apply(null,[u,r,h,a])});function c(){l.reset(),a.reset(),s.forEach(u=>u.release())}return Object.assign(l.memoized,{release:c,projector:a.memoized,setResult:l.setResult,clearResult:l.clearResult})}}function HHe(n){return!!n&&typeof n=="object"&&Object.values(n).every(t=>typeof t=="function")}function jHe(n){let t=Object.values(n),e=Object.keys(n),i=(...r)=>e.reduce((o,s,a)=>B(x({},o),{[s]:r[a]}),{});return[...t,i]}function $He(n){return n instanceof _e?I(n):n}function qHe(n,t){return t.map((e,i)=>{if(n[i]instanceof _e){let r=I(n[i]);return{key:e.key,reducerFactory:r.reducerFactory?r.reducerFactory:m4,metaReducers:r.metaReducers?r.metaReducers:[],initialState:r.initialState}}return e})}function UHe(n){return n.map(t=>t instanceof _e?I(t):t)}function Wce(n){return typeof n=="function"?n():n}function QHe(n,t){return n.concat(t)}function WHe(){if(I(Pt,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function YHe(n,t){return function(e,i){let r=t.action(i)?QF(i):i,o=n(e,r);return t.state()?QF(o):o}}function QF(n){Object.freeze(n);let t=UF(n);return Object.getOwnPropertyNames(n).forEach(e=>{if(!e.startsWith("\u0275")&&LHe(n,e)&&(!t||e!=="caller"&&e!=="callee"&&e!=="arguments")){let i=n[e];(Uce(i)||UF(i))&&!Object.isFrozen(i)&&QF(i)}}),n}function GHe(n,t){return function(e,i){if(t.action(i)){let o=WF(i);Rce(o,"action")}let r=n(e,i);if(t.state()){let o=WF(r);Rce(o,"state")}return r}}function WF(n,t=[]){return(zce(n)||Ace(n))&&t.length===0?{path:["root"],value:n}:Object.keys(n).reduce((i,r)=>{if(i)return i;let o=n[r];return NHe(o)?i:zce(o)||Ace(o)||AHe(o)||zHe(o)||IHe(o)||qce(o)?!1:RHe(o)?WF(o,[...t,r]):{path:[...t,r],value:o}},!1)}function Rce(n,t){if(n===!1)return;let e=n.path.join("."),i=new Error(`Detected unserializable ${t} at "${e}". ${GF}#strict${t}serializability`);throw i.value=n.value,i.unserializablePath=e,i}function ZHe(n,t){return function(e,i){if(t.action(i)&&!Be.isInAngularZone())throw new Error(`Action '${i.type}' running outside NgZone. ${GF}#strictactionwithinngzone`);return n(e,i)}}function XHe(n){return zs()?x({strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1},n):{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function KHe({strictActionSerializability:n,strictStateSerializability:t}){return e=>n||t?GHe(e,{action:i=>n&&!ZF(i),state:()=>t}):e}function JHe({strictActionImmutability:n,strictStateImmutability:t}){return e=>n||t?YHe(e,{action:i=>n&&!ZF(i),state:()=>t}):e}function ZF(n){return n.type.startsWith("@ngrx")}function eje({strictActionWithinNgZone:n}){return t=>n?ZHe(t,{action:e=>n&&!ZF(e)}):t}function tje(n){return[{provide:Dce,useValue:n},{provide:Mce,useFactory:nje,deps:[Dce]},{provide:Av,deps:[Mce],useFactory:XHe},{provide:TS,multi:!0,deps:[Av],useFactory:JHe},{provide:TS,multi:!0,deps:[Av],useFactory:KHe},{provide:TS,multi:!0,deps:[Av],useFactory:eje}]}function Yce(){return[{provide:YF,multi:!0,deps:[Av],useFactory:ije}]}function nje(n){return n}function ije(n){if(!n.strictActionTypeUniqueness)return;let t=Object.entries(qF).filter(([,e])=>e>1).map(([e])=>e);if(t.length)throw new Error(`Action types are registered more than once, ${t.map(e=>`"${e}"`).join(", ")}. ${GF}#strictactiontypeuniqueness`)}function rje(n={},t={}){return[{provide:Lce,useFactory:WHe},{provide:wce,useValue:t.initialState},{provide:Pv,useFactory:Wce,deps:[wce]},{provide:jF,useValue:n},{provide:xce,useExisting:n instanceof _e?n:jF},{provide:Vce,deps:[jF,[new m1(xce)]],useFactory:$He},{provide:Oce,useValue:t.metaReducers?t.metaReducers:[]},{provide:Ece,deps:[TS,Oce],useFactory:QHe},{provide:bce,useValue:t.reducerFactory?t.reducerFactory:m4},{provide:Fce,deps:[bce,Ece],useFactory:$ce},SHe,THe,OHe,MHe,DHe,tje(t.runtimeChecks),Yce()]}function oje(n,t,e={}){return[{provide:kce,multi:!0,useValue:n instanceof Object?{}:e},{provide:Sce,multi:!0,useValue:{key:n instanceof Object?n.name:n,reducerFactory:!(e instanceof _e)&&e.reducerFactory?e.reducerFactory:m4,metaReducers:!(e instanceof _e)&&e.metaReducers?e.metaReducers:[],initialState:!(e instanceof _e)&&e.initialState?e.initialState:void 0}},{provide:Bce,deps:[kce,Sce],useFactory:qHe},{provide:$F,multi:!0,useValue:n instanceof Object?n.reducer:t},{provide:Tce,multi:!0,useExisting:t instanceof _e?t:$F},{provide:Hce,multi:!0,deps:[$F,[new m1(Tce)]],useFactory:UHe},Yce()]}var Rv=(()=>{class n{constructor(e,i,r,o,s,a){}}return n.\u0275fac=function(e){return new(e||n)(J(od),J(Y0),J(G0),J(Pt),J(Lce,8),J(YF,8))},n.\u0275mod=ke({type:n}),n.\u0275inj=Se({}),n})(),MS=(()=>{class n{constructor(e,i,r,o,s){this.features=e,this.featureReducers=i,this.reducerManager=r;let a=e.map((l,c)=>{let h=i.shift()[c];return B(x({},l),{reducers:h,initialState:Wce(l.initialState)})});r.addFeatures(a)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}}return n.\u0275fac=function(e){return new(e||n)(J(Bce),J(Hce),J(OS),J(Rv),J(YF,8))},n.\u0275mod=ke({type:n}),n.\u0275inj=Se({}),n})(),Gce=(()=>{class n{static forRoot(e,i){return{ngModule:Rv,providers:[...rje(e,i)]}}static forFeature(e,i,r={}){return{ngModule:MS,providers:[...oje(e,i,r)]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ke({type:n}),n.\u0275inj=Se({}),n})();var w1=class{},Xce=(()=>{class n extends w1{getTranslation(e){return Re({})}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Xi(n)))(r||n)}})();static \u0275prov=Z({token:n,factory:n.\u0275fac})}return n})(),Nv=class{},Kce=(()=>{class n{handle(e){return e.key}static \u0275fac=function(i){return new(i||n)};static \u0275prov=Z({token:n,factory:n.\u0275fac})}return n})();function DS(n,t){if(n===t)return!0;if(n===null||t===null)return!1;if(n!==n&&t!==t)return!0;let e=typeof n,i=typeof t,r,o,s;if(e==i&&e=="object")if(Array.isArray(n)){if(!Array.isArray(t))return!1;if((r=n.length)==t.length){for(o=0;o<r;o++)if(!DS(n[o],t[o]))return!1;return!0}}else{if(Array.isArray(t))return!1;s=Object.create(null);for(o in n){if(!DS(n[o],t[o]))return!1;s[o]=!0}for(o in t)if(!(o in s)&&typeof t[o]<"u")return!1;return!0}return!1}function C1(n){return typeof n<"u"&&n!==null}function XF(n){return n&&typeof n=="object"&&!Array.isArray(n)}function tue(n,t){let e=Object.assign({},n);return XF(n)&&XF(t)&&Object.keys(t).forEach(i=>{XF(t[i])?i in n?e[i]=tue(n[i],t[i]):Object.assign(e,{[i]:t[i]}):Object.assign(e,{[i]:t[i]})}),e}var g4=class{},Jce=(()=>{class n extends g4{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,i){let r;return typeof e=="string"?r=this.interpolateString(e,i):typeof e=="function"?r=this.interpolateFunction(e,i):r=e,r}getValue(e,i){let r=typeof i=="string"?i.split("."):[i];i="";do i+=r.shift(),C1(e)&&C1(e[i])&&(typeof e[i]=="object"||!r.length)?(e=e[i],i=""):r.length?i+=".":e=void 0;while(r.length);return e}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(r,o)=>{let s=this.getValue(i,o);return C1(s)?s:r}):e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Xi(n)))(r||n)}})();static \u0275prov=Z({token:n,factory:n.\u0275fac})}return n})(),y4=class{},eue=(()=>{class n extends y4{compile(e,i){return e}compileTranslations(e,i){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Xi(n)))(r||n)}})();static \u0275prov=Z({token:n,factory:n.\u0275fac})}return n})(),IS=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new ce;onLangChange=new ce;onDefaultLangChange=new ce},KF=new _e("USE_STORE"),JF=new _e("USE_DEFAULT_LANG"),eV=new _e("DEFAULT_LANGUAGE"),tV=new _e("USE_EXTEND"),Lv=(()=>{class n{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new ce;_onLangChange=new ce;_onDefaultLangChange=new ce;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}constructor(e,i,r,o,s,a=!0,l=!1,c=!1,u){this.store=e,this.currentLoader=i,this.compiler=r,this.parser=o,this.missingTranslationHandler=s,this.useDefaultLang=a,this.isolate=l,this.extend=c,u&&this.setDefaultLang(u)}setDefaultLang(e){if(e===this.defaultLang)return;let i=this.retrieveTranslations(e);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=e),i.pipe(Je(1)).subscribe(r=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return Re(this.translations[e]);let i=this.retrieveTranslations(e);return typeof i<"u"?(this.currentLang||(this.currentLang=e),i.pipe(Je(1)).subscribe(r=>{this.changeLang(e)}),i):(this.changeLang(e),Re(this.translations[e]))}retrieveTranslations(e){let i;return(typeof this.translations[e]>"u"||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),i=this._translationRequests[e]),i}getTranslation(e){this.pending=!0;let i=this.currentLoader.getTranslation(e).pipe(Hc(1),Je(1));return this.loadingTranslations=i.pipe(Ce(r=>this.compiler.compileTranslations(r,e)),Hc(1),Je(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[e]=this.extend&&this.translations[e]?x(x({},r),this.translations[e]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),i}setTranslation(e,i,r=!1){i=this.compiler.compileTranslations(i,e),(r||this.extend)&&this.translations[e]?this.translations[e]=tue(this.translations[e],i):this.translations[e]=i,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(i=>{this.langs.indexOf(i)===-1&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,i,r){let o;if(i instanceof Array){let s={},a=!1;for(let l of i)s[l]=this.getParsedResult(e,l,r),rs(s[l])&&(a=!0);if(a){let l=i.map(c=>rs(s[c])?s[c]:Re(s[c]));return fl(l).pipe(Ce(c=>{let u={};return c.forEach((h,p)=>{u[i[p]]=h}),u}))}return s}if(e&&(o=this.parser.interpolate(this.parser.getValue(e,i),r)),typeof o>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],i),r)),typeof o>"u"){let s={key:i,translateService:this};typeof r<"u"&&(s.interpolateParams=r),o=this.missingTranslationHandler.handle(s)}return typeof o<"u"?o:i}get(e,i){if(!C1(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(ml(r=>(r=this.getParsedResult(r,e,i),rs(r)?r:Re(r))));{let r=this.getParsedResult(this.translations[this.currentLang],e,i);return rs(r)?r:Re(r)}}getStreamOnTranslationChange(e,i){if(!C1(e)||!e.length)throw new Error('Parameter "key" required');return f0(oa(()=>this.get(e,i)),this.onTranslationChange.pipe(ve(r=>{let o=this.getParsedResult(r.translations,e,i);return typeof o.subscribe=="function"?o:Re(o)})))}stream(e,i){if(!C1(e)||!e.length)throw new Error('Parameter "key" required');return f0(oa(()=>this.get(e,i)),this.onLangChange.pipe(ve(r=>{let o=this.getParsedResult(r.translations,e,i);return rs(o)?o:Re(o)})))}instant(e,i){if(!C1(e)||!e.length)throw new Error('Parameter "key" required');let r=this.getParsedResult(this.translations[this.currentLang],e,i);if(rs(r)){if(e instanceof Array){let o={};return e.forEach((s,a)=>{o[e[a]]=e[a]}),o}return e}else return r}set(e,i,r=this.currentLang){this.translations[r][e]=this.compiler.compile(i,r),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang==null&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;if(e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof e>"u"))return e.indexOf("-")!==-1&&(e=e.split("-")[0]),e.indexOf("_")!==-1&&(e=e.split("_")[0]),e}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}static \u0275fac=function(i){return new(i||n)(J(IS),J(w1),J(y4),J(g4),J(Nv),J(JF),J(KF),J(tV),J(eV))};static \u0275prov=Z({token:n,factory:n.\u0275fac})}return n})();var ft=(()=>{class n{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,i){this.translate=e,this._ref=i}updateValue(e,i,r){let o=s=>{this.value=s!==void 0?s:e,this.lastKey=e,this._ref.markForCheck()};if(r){let s=this.translate.getParsedResult(r,e,i);rs(s.subscribe)?s.subscribe(o):o(s)}this.translate.get(e,i).subscribe(o)}transform(e,...i){if(!e||!e.length)return e;if(DS(e,this.lastKey)&&DS(i,this.lastParams))return this.value;let r;if(C1(i[0])&&i.length)if(typeof i[0]=="string"&&i[0].length){let o=i[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{r=JSON.parse(o)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else typeof i[0]=="object"&&!Array.isArray(i[0])&&(r=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||n)(E(Lv,16),E(nt,16))};static \u0275pipe=ao({name:"translate",type:n,pure:!1,standalone:!1});static \u0275prov=Z({token:n,factory:n.\u0275fac})}return n})(),Fv=(()=>{class n{static forRoot(e={}){return{ngModule:n,providers:[e.loader||{provide:w1,useClass:Xce},e.compiler||{provide:y4,useClass:eue},e.parser||{provide:g4,useClass:Jce},e.missingTranslationHandler||{provide:Nv,useClass:Kce},IS,{provide:KF,useValue:e.isolate},{provide:JF,useValue:e.useDefaultLang},{provide:tV,useValue:e.extend},{provide:eV,useValue:e.defaultLanguage},Lv]}}static forChild(e={}){return{ngModule:n,providers:[e.loader||{provide:w1,useClass:Xce},e.compiler||{provide:y4,useClass:eue},e.parser||{provide:g4,useClass:Jce},e.missingTranslationHandler||{provide:Nv,useClass:Kce},{provide:KF,useValue:e.isolate},{provide:JF,useValue:e.useDefaultLang},{provide:tV,useValue:e.extend},{provide:eV,useValue:e.defaultLanguage},Lv]}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=ke({type:n});static \u0275inj=Se({})}return n})();var zS,sje=new Uint8Array(16);function nV(){if(!zS&&(zS=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!zS))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return zS(sje)}var cs=[];for(let n=0;n<256;++n)cs.push((n+256).toString(16).slice(1));function nue(n,t=0){return cs[n[t+0]]+cs[n[t+1]]+cs[n[t+2]]+cs[n[t+3]]+"-"+cs[n[t+4]]+cs[n[t+5]]+"-"+cs[n[t+6]]+cs[n[t+7]]+"-"+cs[n[t+8]]+cs[n[t+9]]+"-"+cs[n[t+10]]+cs[n[t+11]]+cs[n[t+12]]+cs[n[t+13]]+cs[n[t+14]]+cs[n[t+15]]}var aje=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),iV={randomUUID:aje};function lje(n,t,e){if(iV.randomUUID&&!t&&!n)return iV.randomUUID();n=n||{};let i=n.random||(n.rng||nV)();if(i[6]=i[6]&15|64,i[8]=i[8]&63|128,t){e=e||0;for(let r=0;r<16;++r)t[e+r]=i[r];return t}return nue(i)}var Hi=lje;var iue={name:"@altairgraphql/app",description:"Contains the altair app",version:"8.4.0",author:"Samuel Imolorhe <hello@altairgraphql.dev> (https://altairgraphql.dev/)",dependencies:{"@altairgraphql/api-utils":"workspace:*","@altairgraphql/db":"workspace:*","@altairgraphql/electron-interop":"workspace:*","@altairgraphql/tauri":"workspace:*","@angular/animations":"20.3.3","@angular/cdk":"20.2.7","@angular/cli":"20.3.4","@angular/common":"20.3.3","@angular/core":"^20.3.3","@angular/forms":"20.3.3","@angular/platform-browser":"20.3.3","@angular/platform-browser-dynamic":"20.3.3","@angular/platform-server":"20.3.3","@angular/router":"20.3.3","@apollo/client":"3.5.6","@codemirror/autocomplete":"^6.18.4","@codemirror/commands":"^6.7.1","@codemirror/lang-javascript":"^6.2.2","@codemirror/lang-json":"^6.0.1","@codemirror/language":"^6.10.8","@codemirror/lint":"^6.8.4","@codemirror/search":"^6.5.8","@codemirror/state":"^6.5.0","@codemirror/view":"^6.36.1","@emotion/css":"^11.11.2","@fontsource/jetbrains-mono":"4.2.2","@lezer/common":"1.2.1","@lezer/highlight":"1.2.1","@lezer/lr":"1.2.0","@ngneat/hot-toast":"2.0.1","@ngneat/overview":"1.0.0","@ngneat/until-destroy":"8.0.1","@ngrx/effects":"15.4.0","@ngrx/store":"15.4.0","@ngrx/store-devtools":"15.4.0","@ngui/auto-complete":"3.0.0","@ngx-translate/core":"^15.0.0","@ngx-translate/http-loader":"^8.0.0","@sentry/electron":"^6.6.0","@supabase/supabase-js":"1.29.1","@webcomponents/custom-elements":"1.4.1",abab:"2.0.6",actioncable:"5.2.8",ajv:"^8.11.2","altair-graphql-core":"workspace:*","angular-resizable-element":"^6.0.0","angular-split":"^18.0.0","apollo-cache-inmemory":"1.6.6","apollo-link":"1.2.14","apollo-link-http":"1.5.17","aws-appsync-auth-link":"3.0.2","aws-appsync-subscription-link":"3.0.3","cm6-graphql":"0.0.14","codemirror-graphql":"1.0.2","codemirror-json-schema":"^0.6.0",comlink:"4.3.0","compare-versions":"^6.1.1","cookie-parser":"1.4.5","core-js":"3.6.5","crypto-js":"3.3.0",curlup:"1.0.0",deepmerge:"4.2.2",dexie:"3.2.3",dompurify:"^3.1.6",express:"^4.19.2","file-dialog":"0.0.8","file-saver":"2.0.2","fuse.js":"6.4.6",graphql:"15.5.1","graphql-language-service":"^5.2.0","graphql-language-service-parser":"1.10.4","graphql-language-service-types":"1.8.2","graphql-query-compress":"1.2.3","graphql-ws":"5.9.1","hotkeys-js":"^3.13.15","json-bigint":"^1.0.0","json-schema":"^0.4.0","lodash-es":"4.17.21",loglevel:"1.8.0","loglevel-plugin-prefix":"0.8.4","lucide-angular":"^0.298.0",marked:"^15.0.3",memoizee:"0.4.14","ng-zorro-antd":"^15.1.1","ngrx-store-localstorage":"12.0.1","ngx-cookie-service":"14.0.1","ngx-markdown":"^14.0.1","ngx-pipes":"^3.2.2","ngx-take-until-destroy":"5.4.0","ngx-toastr":"^18.0.0",nx:"17.1.3","object-path":"0.11.5",prettier:"^3.2.5",rxjs:"7.8.1","sanitize-html":"2.7.1","subscriptions-transport-ws":"0.9.19",sval:"0.4.8",tslib:"2.0.0",uuid:"9.0.1","zone.js":"0.15.1"},devDependencies:{"@altairgraphql/iframe-sandbox":"workspace:*","@angular-eslint/builder":"20.3.0","@angular-eslint/eslint-plugin":"20.3.0","@angular-eslint/eslint-plugin-template":"20.3.0","@angular-eslint/schematics":"20.3.0","@angular-eslint/template-parser":"20.3.0","@angular/build":"^20.3.4","@angular/compiler":"20.3.3","@angular/compiler-cli":"20.3.3","@briebug/jest-schematic":"2.1.1","@jest/globals":"28.1.3","@ngrx/schematics":"12.4.0","@playwright/test":"^1.31.2","@sentry/cli":"^2.21.4","@types/actioncable":"5.2.3","@types/chrome":"^0.0.209","@types/codemirror":"^5.60.15","@types/crypto-js":"^4.0.1","@types/dompurify":"^3.0.5","@types/electron":"^1.6.10","@types/file-saver":"^2.0.1","@types/firefox-webext-browser":"^109.0.0","@types/graphql":"^14.5.0","@types/jest":"29.5.14","@types/json-bigint":"^1.0.1","@types/json-schema":"^7.0.6","@types/lodash-es":"^4.17.4","@types/memoizee":"^0.4.3","@types/mousetrap":"^1.6.3","@types/node":"^12.11.1","@types/object-path":"^0.11.0","@types/sanitize-html":"^2.6.2","@types/to-snake-case":"^1.0.0","@types/uuid":"^9.0.5","@types/zen-observable":"^0.8.1","@typescript-eslint/eslint-plugin":"^8.46.0","@typescript-eslint/parser":"^8.46.0","babel-plugin-transform-async-to-generator":"6.24.1","babel-preset-env":"1.7.0","babel-preset-react":"6.24.1",chai:"4.2.0","chai-as-promised":"7.1.1",electron:"catalog:",eslint:"^8.57.0","eslint-config-altair":"workspace:*","eslint-config-prettier":"^9.1.0","eslint-plugin-import":"^2.27.4","eslint-plugin-no-unsanitized":"^4.0.2","eslint-plugin-prettier":"^5.1.3","fake-indexeddb":"^4.0.1",jest:"29.7.0","jest-chrome":"^0.8.0","jest-preset-angular":"^15.0.2","karma-cli":"^2.0.0",less:"^4.2.0",ncp:"2.0.0","ng-mocks":"^14.13.4","ngrx-store-freeze":"0.2.4",protractor:"7.0.0",react:"17.0.1","rxjs-tslint-rules":"4.32.0","start-server-and-test":"1.11.0","ts-jest":"29.0.5","ts-mocks":"2.6.1","ts-node":"9.1.1",typescript:"catalog:"},homepage:"https://altair-graphql.github.io/altair/",license:"MIT",main:"dist/browser/main.js",private:!0,scripts:{analyze:"ng build --stats-json && npx webpack-bundle-analyzer dist/stats.json","analyze:prod":"ng build --aot --stats-json && npx webpack-bundle-analyzer dist/stats.json","ng:build":"cross-env NODE_OPTIONS=--max-old-space-size=8192 pnpm ng build --aot --stats-json --output-hashing=none",build:"node scripts/build.js",lint:"ng lint","new:component":"ng g component modules/altair/components/",ng:"ng",bootstrap:"pnpm build",start:"ng serve","sentry:sourcemaps:inject":"sentry-cli sourcemaps inject --org altair-graphql --project electron ./dist",test:"jest && ng lint","test-build":"ng lint && pnpm build && pnpm test-single-run","test-single-run":"ng test --watch=false --code-coverage","test:watch":"jest --watch"}};var _i={production:!0,version:iue.version,serverReady:!0};var rV="START_LOADING",Vv="STOP_LOADING",oV="SET_WINDOW_NAME",sV="SET_WINDOW_ID_IN_COLLECTION",rue="NOTIFY_EXPERIMENTAL",AS=class{constructor(t){this.windowId=t,this.type=rV}},Z0=class{constructor(t){this.windowId=t,this.type=Vv}},Zc=class{constructor(t,e){this.windowId=t,this.payload=e,this.type=oV}},PS=class{constructor(t,e){this.windowId=t,this.payload=e,this.type=sV}};var aV=()=>({isLoading:!1,title:"New window",hasDynamicTitle:!0});function oue(n=aV(),t){switch(t.type){case rV:return B(x({},n),{isLoading:!0});case Vv:return B(x({},n),{isLoading:!1});case oV:return B(x({},n),{title:t.payload.title,hasDynamicTitle:!t.payload.setByUser});case sV:return B(x({},n),{windowIdInCollection:t.payload.windowIdInCollection,collectionId:t.payload.collectionId});default:return n}}var sue=`
|
|
91
|
+
before dispatching the action. For example, someAction should be someAction().`);if(typeof e>"u")throw new TypeError("Actions must be objects");if(typeof e.type>"u")throw new TypeError("Actions must have a type property");super.next(e)}complete(){}ngOnDestroy(){super.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Z({token:n,factory:n.\u0275fac}),n})(),SHe=[od],Lce=new _e("@ngrx/store Internal Root Guard"),wce=new _e("@ngrx/store Internal Initial State"),Pv=new _e("@ngrx/store Initial State"),Fce=new _e("@ngrx/store Reducer Factory"),bce=new _e("@ngrx/store Internal Reducer Factory Provider"),Vce=new _e("@ngrx/store Initial Reducers"),jF=new _e("@ngrx/store Internal Initial Reducers"),Sce=new _e("@ngrx/store Store Features"),xce=new _e("@ngrx/store Internal Store Reducers"),$F=new _e("@ngrx/store Internal Feature Reducers"),kce=new _e("@ngrx/store Internal Feature Configs"),Bce=new _e("@ngrx/store Internal Store Features"),Tce=new _e("@ngrx/store Internal Feature Reducers Token"),Hce=new _e("@ngrx/store Feature Reducers"),Oce=new _e("@ngrx/store User Provided Meta Reducers"),TS=new _e("@ngrx/store Meta Reducers"),Ece=new _e("@ngrx/store Internal Resolved Meta Reducers"),Mce=new _e("@ngrx/store User Runtime Checks Config"),Dce=new _e("@ngrx/store Internal User Runtime Checks Config"),Av=new _e("@ngrx/store Internal Runtime Checks"),YF=new _e("@ngrx/store Check if Action types are unique");function m4(n,t={}){let e=Object.keys(n),i={};for(let o=0;o<e.length;o++){let s=e[o];typeof n[s]=="function"&&(i[s]=n[s])}let r=Object.keys(i);return function(s,a){s=s===void 0?t:s;let l=!1,c={};for(let u=0;u<r.length;u++){let h=r[u],p=i[h],f=s[h],v=p(f,a);c[h]=v,l=l||v!==f}return l?c:s}}function xHe(n,t){return Object.keys(n).filter(e=>e!==t).reduce((e,i)=>Object.assign(e,{[i]:n[i]}),{})}function jce(...n){return function(t){if(n.length===0)return t;let e=n[n.length-1];return n.slice(0,-1).reduceRight((r,o)=>o(r),e(t))}}function $ce(n,t){return Array.isArray(t)&&t.length>0&&(n=jce.apply(null,[...t,n])),(e,i)=>{let r=n(e);return(o,s)=>(o=o===void 0?i:o,r(o,s))}}function kHe(n){let t=Array.isArray(n)&&n.length>0?jce(...n):e=>e;return(e,i)=>(e=t(e),(r,o)=>(r=r===void 0?i:r,e(r,o)))}var Y0=class extends Cn{},p4=class extends od{},ES="@ngrx/store/update-reducers",OS=(()=>{class n extends Tt{constructor(e,i,r,o){super(o(r,i)),this.dispatcher=e,this.initialState=i,this.reducers=r,this.reducerFactory=o}get currentReducers(){return this.reducers}addFeature(e){this.addFeatures([e])}addFeatures(e){let i=e.reduce((r,{reducers:o,reducerFactory:s,metaReducers:a,initialState:l,key:c})=>{let u=typeof o=="function"?kHe(a)(o,l):$ce(s,a)(o,l);return r[c]=u,r},{});this.addReducers(i)}removeFeature(e){this.removeFeatures([e])}removeFeatures(e){this.removeReducers(e.map(i=>i.key))}addReducer(e,i){this.addReducers({[e]:i})}addReducers(e){this.reducers=x(x({},this.reducers),e),this.updateReducers(Object.keys(e))}removeReducer(e){this.removeReducers([e])}removeReducers(e){e.forEach(i=>{this.reducers=xHe(this.reducers,i)}),this.updateReducers(e)}updateReducers(e){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:ES,features:e})}ngOnDestroy(){this.complete()}}return n.\u0275fac=function(e){return new(e||n)(J(p4),J(Pv),J(Vce),J(Fce))},n.\u0275prov=Z({token:n,factory:n.\u0275fac}),n})(),THe=[OS,{provide:Y0,useExisting:OS},{provide:p4,useExisting:od}],G0=(()=>{class n extends oe{ngOnDestroy(){this.complete()}}return n.\u0275fac=(()=>{let t;return function(i){return(t||(t=Xi(n)))(i||n)}})(),n.\u0275prov=Z({token:n,factory:n.\u0275fac}),n})(),OHe=[G0],f4=class extends Cn{},Ice=(()=>{class n extends Tt{constructor(e,i,r,o){super(o);let a=e.pipe(uy(mb)).pipe(Kt(i)),l={state:o},c=a.pipe(sh(EHe,l));this.stateSubscription=c.subscribe(({state:u,action:h})=>{this.next(u),r.next(h)})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}}return n.INIT=rd,n.\u0275fac=function(e){return new(e||n)(J(od),J(Y0),J(G0),J(Pv))},n.\u0275prov=Z({token:n,factory:n.\u0275fac}),n})();function EHe(n={state:void 0},[t,e]){let{state:i}=n;return{state:e(i,t),action:t}}var MHe=[Ice,{provide:f4,useExisting:Ice}],Pt=(()=>{class n extends Cn{constructor(e,i,r){super(),this.actionsObserver=i,this.reducerManager=r,this.source=e}select(e,...i){return wn.call(null,e,...i)(this)}lift(e){let i=new n(this,this.actionsObserver,this.reducerManager);return i.operator=e,i}dispatch(e){this.actionsObserver.next(e)}next(e){this.actionsObserver.next(e)}error(e){this.actionsObserver.error(e)}complete(){this.actionsObserver.complete()}addReducer(e,i){this.reducerManager.addReducer(e,i)}removeReducer(e){this.reducerManager.removeReducer(e)}}return n.\u0275fac=function(e){return new(e||n)(J(f4),J(od),J(OS))},n.\u0275prov=Z({token:n,factory:n.\u0275fac}),n})(),DHe=[Pt];function wn(n,t,...e){return function(r){let o;if(typeof n=="string"){let s=[t,...e].filter(Boolean);o=r.pipe(HP(n,...s))}else if(typeof n=="function")o=r.pipe(Ce(s=>n(s,t)));else throw new TypeError(`Unexpected type '${typeof n}' in select operator, expected 'string' or 'function'`);return o.pipe(hn())}}var GF="https://ngrx.io/guide/store/configuration/runtime-checks";function zce(n){return n===void 0}function Ace(n){return n===null}function qce(n){return Array.isArray(n)}function IHe(n){return typeof n=="string"}function zHe(n){return typeof n=="boolean"}function AHe(n){return typeof n=="number"}function Uce(n){return typeof n=="object"&&n!==null}function PHe(n){return Uce(n)&&!qce(n)}function RHe(n){if(!PHe(n))return!1;let t=Object.getPrototypeOf(n);return t===Object.prototype||t===null}function UF(n){return typeof n=="function"}function NHe(n){return UF(n)&&n.hasOwnProperty("\u0275cmp")}function LHe(n,t){return Object.prototype.hasOwnProperty.call(n,t)}function Pce(n,t){return n===t}function FHe(n,t,e){for(let i=0;i<n.length;i++)if(!e(n[i],t[i]))return!0;return!1}function Qce(n,t=Pce,e=Pce){let i=null,r=null,o;function s(){i=null,r=null}function a(u=void 0){o={result:u}}function l(){o=void 0}function c(){if(o!==void 0)return o.result;if(!i)return r=n.apply(null,arguments),i=arguments,r;if(!FHe(arguments,i,t))return r;let u=n.apply(null,arguments);return i=arguments,e(r,u)?r:(r=u,u)}return{memoized:c,reset:s,setResult:a,clearResult:l}}function At(...n){return BHe(Qce)(...n)}function VHe(n,t,e,i){if(e===void 0){let o=t.map(s=>s(n));return i.memoized.apply(null,o)}let r=t.map(o=>o(n,e));return i.memoized.apply(null,[...r,e])}function BHe(n,t={stateFn:VHe}){return function(...e){let i=e;if(Array.isArray(i[0])){let[u,...h]=i;i=[...u,...h]}else i.length===1&&HHe(i[0])&&(i=jHe(i[0]));let r=i.slice(0,i.length-1),o=i[i.length-1],s=r.filter(u=>u.release&&typeof u.release=="function"),a=n(function(...u){return o.apply(null,u)}),l=Qce(function(u,h){return t.stateFn.apply(null,[u,r,h,a])});function c(){l.reset(),a.reset(),s.forEach(u=>u.release())}return Object.assign(l.memoized,{release:c,projector:a.memoized,setResult:l.setResult,clearResult:l.clearResult})}}function HHe(n){return!!n&&typeof n=="object"&&Object.values(n).every(t=>typeof t=="function")}function jHe(n){let t=Object.values(n),e=Object.keys(n),i=(...r)=>e.reduce((o,s,a)=>B(x({},o),{[s]:r[a]}),{});return[...t,i]}function $He(n){return n instanceof _e?I(n):n}function qHe(n,t){return t.map((e,i)=>{if(n[i]instanceof _e){let r=I(n[i]);return{key:e.key,reducerFactory:r.reducerFactory?r.reducerFactory:m4,metaReducers:r.metaReducers?r.metaReducers:[],initialState:r.initialState}}return e})}function UHe(n){return n.map(t=>t instanceof _e?I(t):t)}function Wce(n){return typeof n=="function"?n():n}function QHe(n,t){return n.concat(t)}function WHe(){if(I(Pt,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function YHe(n,t){return function(e,i){let r=t.action(i)?QF(i):i,o=n(e,r);return t.state()?QF(o):o}}function QF(n){Object.freeze(n);let t=UF(n);return Object.getOwnPropertyNames(n).forEach(e=>{if(!e.startsWith("\u0275")&&LHe(n,e)&&(!t||e!=="caller"&&e!=="callee"&&e!=="arguments")){let i=n[e];(Uce(i)||UF(i))&&!Object.isFrozen(i)&&QF(i)}}),n}function GHe(n,t){return function(e,i){if(t.action(i)){let o=WF(i);Rce(o,"action")}let r=n(e,i);if(t.state()){let o=WF(r);Rce(o,"state")}return r}}function WF(n,t=[]){return(zce(n)||Ace(n))&&t.length===0?{path:["root"],value:n}:Object.keys(n).reduce((i,r)=>{if(i)return i;let o=n[r];return NHe(o)?i:zce(o)||Ace(o)||AHe(o)||zHe(o)||IHe(o)||qce(o)?!1:RHe(o)?WF(o,[...t,r]):{path:[...t,r],value:o}},!1)}function Rce(n,t){if(n===!1)return;let e=n.path.join("."),i=new Error(`Detected unserializable ${t} at "${e}". ${GF}#strict${t}serializability`);throw i.value=n.value,i.unserializablePath=e,i}function ZHe(n,t){return function(e,i){if(t.action(i)&&!Be.isInAngularZone())throw new Error(`Action '${i.type}' running outside NgZone. ${GF}#strictactionwithinngzone`);return n(e,i)}}function XHe(n){return zs()?x({strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1},n):{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function KHe({strictActionSerializability:n,strictStateSerializability:t}){return e=>n||t?GHe(e,{action:i=>n&&!ZF(i),state:()=>t}):e}function JHe({strictActionImmutability:n,strictStateImmutability:t}){return e=>n||t?YHe(e,{action:i=>n&&!ZF(i),state:()=>t}):e}function ZF(n){return n.type.startsWith("@ngrx")}function eje({strictActionWithinNgZone:n}){return t=>n?ZHe(t,{action:e=>n&&!ZF(e)}):t}function tje(n){return[{provide:Dce,useValue:n},{provide:Mce,useFactory:nje,deps:[Dce]},{provide:Av,deps:[Mce],useFactory:XHe},{provide:TS,multi:!0,deps:[Av],useFactory:JHe},{provide:TS,multi:!0,deps:[Av],useFactory:KHe},{provide:TS,multi:!0,deps:[Av],useFactory:eje}]}function Yce(){return[{provide:YF,multi:!0,deps:[Av],useFactory:ije}]}function nje(n){return n}function ije(n){if(!n.strictActionTypeUniqueness)return;let t=Object.entries(qF).filter(([,e])=>e>1).map(([e])=>e);if(t.length)throw new Error(`Action types are registered more than once, ${t.map(e=>`"${e}"`).join(", ")}. ${GF}#strictactiontypeuniqueness`)}function rje(n={},t={}){return[{provide:Lce,useFactory:WHe},{provide:wce,useValue:t.initialState},{provide:Pv,useFactory:Wce,deps:[wce]},{provide:jF,useValue:n},{provide:xce,useExisting:n instanceof _e?n:jF},{provide:Vce,deps:[jF,[new m1(xce)]],useFactory:$He},{provide:Oce,useValue:t.metaReducers?t.metaReducers:[]},{provide:Ece,deps:[TS,Oce],useFactory:QHe},{provide:bce,useValue:t.reducerFactory?t.reducerFactory:m4},{provide:Fce,deps:[bce,Ece],useFactory:$ce},SHe,THe,OHe,MHe,DHe,tje(t.runtimeChecks),Yce()]}function oje(n,t,e={}){return[{provide:kce,multi:!0,useValue:n instanceof Object?{}:e},{provide:Sce,multi:!0,useValue:{key:n instanceof Object?n.name:n,reducerFactory:!(e instanceof _e)&&e.reducerFactory?e.reducerFactory:m4,metaReducers:!(e instanceof _e)&&e.metaReducers?e.metaReducers:[],initialState:!(e instanceof _e)&&e.initialState?e.initialState:void 0}},{provide:Bce,deps:[kce,Sce],useFactory:qHe},{provide:$F,multi:!0,useValue:n instanceof Object?n.reducer:t},{provide:Tce,multi:!0,useExisting:t instanceof _e?t:$F},{provide:Hce,multi:!0,deps:[$F,[new m1(Tce)]],useFactory:UHe},Yce()]}var Rv=(()=>{class n{constructor(e,i,r,o,s,a){}}return n.\u0275fac=function(e){return new(e||n)(J(od),J(Y0),J(G0),J(Pt),J(Lce,8),J(YF,8))},n.\u0275mod=ke({type:n}),n.\u0275inj=Se({}),n})(),MS=(()=>{class n{constructor(e,i,r,o,s){this.features=e,this.featureReducers=i,this.reducerManager=r;let a=e.map((l,c)=>{let h=i.shift()[c];return B(x({},l),{reducers:h,initialState:Wce(l.initialState)})});r.addFeatures(a)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}}return n.\u0275fac=function(e){return new(e||n)(J(Bce),J(Hce),J(OS),J(Rv),J(YF,8))},n.\u0275mod=ke({type:n}),n.\u0275inj=Se({}),n})(),Gce=(()=>{class n{static forRoot(e,i){return{ngModule:Rv,providers:[...rje(e,i)]}}static forFeature(e,i,r={}){return{ngModule:MS,providers:[...oje(e,i,r)]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ke({type:n}),n.\u0275inj=Se({}),n})();var w1=class{},Xce=(()=>{class n extends w1{getTranslation(e){return Re({})}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Xi(n)))(r||n)}})();static \u0275prov=Z({token:n,factory:n.\u0275fac})}return n})(),Nv=class{},Kce=(()=>{class n{handle(e){return e.key}static \u0275fac=function(i){return new(i||n)};static \u0275prov=Z({token:n,factory:n.\u0275fac})}return n})();function DS(n,t){if(n===t)return!0;if(n===null||t===null)return!1;if(n!==n&&t!==t)return!0;let e=typeof n,i=typeof t,r,o,s;if(e==i&&e=="object")if(Array.isArray(n)){if(!Array.isArray(t))return!1;if((r=n.length)==t.length){for(o=0;o<r;o++)if(!DS(n[o],t[o]))return!1;return!0}}else{if(Array.isArray(t))return!1;s=Object.create(null);for(o in n){if(!DS(n[o],t[o]))return!1;s[o]=!0}for(o in t)if(!(o in s)&&typeof t[o]<"u")return!1;return!0}return!1}function C1(n){return typeof n<"u"&&n!==null}function XF(n){return n&&typeof n=="object"&&!Array.isArray(n)}function tue(n,t){let e=Object.assign({},n);return XF(n)&&XF(t)&&Object.keys(t).forEach(i=>{XF(t[i])?i in n?e[i]=tue(n[i],t[i]):Object.assign(e,{[i]:t[i]}):Object.assign(e,{[i]:t[i]})}),e}var g4=class{},Jce=(()=>{class n extends g4{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,i){let r;return typeof e=="string"?r=this.interpolateString(e,i):typeof e=="function"?r=this.interpolateFunction(e,i):r=e,r}getValue(e,i){let r=typeof i=="string"?i.split("."):[i];i="";do i+=r.shift(),C1(e)&&C1(e[i])&&(typeof e[i]=="object"||!r.length)?(e=e[i],i=""):r.length?i+=".":e=void 0;while(r.length);return e}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(r,o)=>{let s=this.getValue(i,o);return C1(s)?s:r}):e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Xi(n)))(r||n)}})();static \u0275prov=Z({token:n,factory:n.\u0275fac})}return n})(),y4=class{},eue=(()=>{class n extends y4{compile(e,i){return e}compileTranslations(e,i){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Xi(n)))(r||n)}})();static \u0275prov=Z({token:n,factory:n.\u0275fac})}return n})(),IS=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new ce;onLangChange=new ce;onDefaultLangChange=new ce},KF=new _e("USE_STORE"),JF=new _e("USE_DEFAULT_LANG"),eV=new _e("DEFAULT_LANGUAGE"),tV=new _e("USE_EXTEND"),Lv=(()=>{class n{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new ce;_onLangChange=new ce;_onDefaultLangChange=new ce;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}constructor(e,i,r,o,s,a=!0,l=!1,c=!1,u){this.store=e,this.currentLoader=i,this.compiler=r,this.parser=o,this.missingTranslationHandler=s,this.useDefaultLang=a,this.isolate=l,this.extend=c,u&&this.setDefaultLang(u)}setDefaultLang(e){if(e===this.defaultLang)return;let i=this.retrieveTranslations(e);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=e),i.pipe(Je(1)).subscribe(r=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return Re(this.translations[e]);let i=this.retrieveTranslations(e);return typeof i<"u"?(this.currentLang||(this.currentLang=e),i.pipe(Je(1)).subscribe(r=>{this.changeLang(e)}),i):(this.changeLang(e),Re(this.translations[e]))}retrieveTranslations(e){let i;return(typeof this.translations[e]>"u"||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),i=this._translationRequests[e]),i}getTranslation(e){this.pending=!0;let i=this.currentLoader.getTranslation(e).pipe(Hc(1),Je(1));return this.loadingTranslations=i.pipe(Ce(r=>this.compiler.compileTranslations(r,e)),Hc(1),Je(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[e]=this.extend&&this.translations[e]?x(x({},r),this.translations[e]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),i}setTranslation(e,i,r=!1){i=this.compiler.compileTranslations(i,e),(r||this.extend)&&this.translations[e]?this.translations[e]=tue(this.translations[e],i):this.translations[e]=i,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(i=>{this.langs.indexOf(i)===-1&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,i,r){let o;if(i instanceof Array){let s={},a=!1;for(let l of i)s[l]=this.getParsedResult(e,l,r),rs(s[l])&&(a=!0);if(a){let l=i.map(c=>rs(s[c])?s[c]:Re(s[c]));return fl(l).pipe(Ce(c=>{let u={};return c.forEach((h,p)=>{u[i[p]]=h}),u}))}return s}if(e&&(o=this.parser.interpolate(this.parser.getValue(e,i),r)),typeof o>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],i),r)),typeof o>"u"){let s={key:i,translateService:this};typeof r<"u"&&(s.interpolateParams=r),o=this.missingTranslationHandler.handle(s)}return typeof o<"u"?o:i}get(e,i){if(!C1(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(ml(r=>(r=this.getParsedResult(r,e,i),rs(r)?r:Re(r))));{let r=this.getParsedResult(this.translations[this.currentLang],e,i);return rs(r)?r:Re(r)}}getStreamOnTranslationChange(e,i){if(!C1(e)||!e.length)throw new Error('Parameter "key" required');return f0(oa(()=>this.get(e,i)),this.onTranslationChange.pipe(ve(r=>{let o=this.getParsedResult(r.translations,e,i);return typeof o.subscribe=="function"?o:Re(o)})))}stream(e,i){if(!C1(e)||!e.length)throw new Error('Parameter "key" required');return f0(oa(()=>this.get(e,i)),this.onLangChange.pipe(ve(r=>{let o=this.getParsedResult(r.translations,e,i);return rs(o)?o:Re(o)})))}instant(e,i){if(!C1(e)||!e.length)throw new Error('Parameter "key" required');let r=this.getParsedResult(this.translations[this.currentLang],e,i);if(rs(r)){if(e instanceof Array){let o={};return e.forEach((s,a)=>{o[e[a]]=e[a]}),o}return e}else return r}set(e,i,r=this.currentLang){this.translations[r][e]=this.compiler.compile(i,r),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang==null&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;if(e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof e>"u"))return e.indexOf("-")!==-1&&(e=e.split("-")[0]),e.indexOf("_")!==-1&&(e=e.split("_")[0]),e}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}static \u0275fac=function(i){return new(i||n)(J(IS),J(w1),J(y4),J(g4),J(Nv),J(JF),J(KF),J(tV),J(eV))};static \u0275prov=Z({token:n,factory:n.\u0275fac})}return n})();var ft=(()=>{class n{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,i){this.translate=e,this._ref=i}updateValue(e,i,r){let o=s=>{this.value=s!==void 0?s:e,this.lastKey=e,this._ref.markForCheck()};if(r){let s=this.translate.getParsedResult(r,e,i);rs(s.subscribe)?s.subscribe(o):o(s)}this.translate.get(e,i).subscribe(o)}transform(e,...i){if(!e||!e.length)return e;if(DS(e,this.lastKey)&&DS(i,this.lastParams))return this.value;let r;if(C1(i[0])&&i.length)if(typeof i[0]=="string"&&i[0].length){let o=i[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{r=JSON.parse(o)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else typeof i[0]=="object"&&!Array.isArray(i[0])&&(r=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||n)(E(Lv,16),E(nt,16))};static \u0275pipe=ao({name:"translate",type:n,pure:!1,standalone:!1});static \u0275prov=Z({token:n,factory:n.\u0275fac})}return n})(),Fv=(()=>{class n{static forRoot(e={}){return{ngModule:n,providers:[e.loader||{provide:w1,useClass:Xce},e.compiler||{provide:y4,useClass:eue},e.parser||{provide:g4,useClass:Jce},e.missingTranslationHandler||{provide:Nv,useClass:Kce},IS,{provide:KF,useValue:e.isolate},{provide:JF,useValue:e.useDefaultLang},{provide:tV,useValue:e.extend},{provide:eV,useValue:e.defaultLanguage},Lv]}}static forChild(e={}){return{ngModule:n,providers:[e.loader||{provide:w1,useClass:Xce},e.compiler||{provide:y4,useClass:eue},e.parser||{provide:g4,useClass:Jce},e.missingTranslationHandler||{provide:Nv,useClass:Kce},{provide:KF,useValue:e.isolate},{provide:JF,useValue:e.useDefaultLang},{provide:tV,useValue:e.extend},{provide:eV,useValue:e.defaultLanguage},Lv]}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=ke({type:n});static \u0275inj=Se({})}return n})();var zS,sje=new Uint8Array(16);function nV(){if(!zS&&(zS=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!zS))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return zS(sje)}var cs=[];for(let n=0;n<256;++n)cs.push((n+256).toString(16).slice(1));function nue(n,t=0){return cs[n[t+0]]+cs[n[t+1]]+cs[n[t+2]]+cs[n[t+3]]+"-"+cs[n[t+4]]+cs[n[t+5]]+"-"+cs[n[t+6]]+cs[n[t+7]]+"-"+cs[n[t+8]]+cs[n[t+9]]+"-"+cs[n[t+10]]+cs[n[t+11]]+cs[n[t+12]]+cs[n[t+13]]+cs[n[t+14]]+cs[n[t+15]]}var aje=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),iV={randomUUID:aje};function lje(n,t,e){if(iV.randomUUID&&!t&&!n)return iV.randomUUID();n=n||{};let i=n.random||(n.rng||nV)();if(i[6]=i[6]&15|64,i[8]=i[8]&63|128,t){e=e||0;for(let r=0;r<16;++r)t[e+r]=i[r];return t}return nue(i)}var Hi=lje;var iue={name:"@altairgraphql/app",description:"Contains the altair app",version:"8.4.1",author:"Samuel Imolorhe <hello@altairgraphql.dev> (https://altairgraphql.dev/)",dependencies:{"@altairgraphql/api-utils":"workspace:*","@altairgraphql/db":"workspace:*","@altairgraphql/electron-interop":"workspace:*","@altairgraphql/tauri":"workspace:*","@angular/animations":"20.3.3","@angular/cdk":"20.2.7","@angular/cli":"20.3.4","@angular/common":"20.3.3","@angular/core":"^20.3.3","@angular/forms":"20.3.3","@angular/platform-browser":"20.3.3","@angular/platform-browser-dynamic":"20.3.3","@angular/platform-server":"20.3.3","@angular/router":"20.3.3","@apollo/client":"3.5.6","@codemirror/autocomplete":"^6.18.4","@codemirror/commands":"^6.7.1","@codemirror/lang-javascript":"^6.2.2","@codemirror/lang-json":"^6.0.1","@codemirror/language":"^6.10.8","@codemirror/lint":"^6.8.4","@codemirror/search":"^6.5.8","@codemirror/state":"^6.5.0","@codemirror/view":"^6.36.1","@emotion/css":"^11.11.2","@fontsource/jetbrains-mono":"4.2.2","@lezer/common":"1.2.1","@lezer/highlight":"1.2.1","@lezer/lr":"1.2.0","@ngneat/hot-toast":"2.0.1","@ngneat/overview":"1.0.0","@ngneat/until-destroy":"8.0.1","@ngrx/effects":"15.4.0","@ngrx/store":"15.4.0","@ngrx/store-devtools":"15.4.0","@ngui/auto-complete":"3.0.0","@ngx-translate/core":"^15.0.0","@ngx-translate/http-loader":"^8.0.0","@sentry/electron":"^6.6.0","@supabase/supabase-js":"1.29.1","@webcomponents/custom-elements":"1.4.1",abab:"2.0.6",actioncable:"5.2.8",ajv:"^8.11.2","altair-graphql-core":"workspace:*","angular-resizable-element":"^6.0.0","angular-split":"^18.0.0","apollo-cache-inmemory":"1.6.6","apollo-link":"1.2.14","apollo-link-http":"1.5.17","aws-appsync-auth-link":"3.0.2","aws-appsync-subscription-link":"3.0.3","cm6-graphql":"0.0.14","codemirror-graphql":"1.0.2","codemirror-json-schema":"^0.6.0",comlink:"4.3.0","compare-versions":"^6.1.1","cookie-parser":"1.4.5","core-js":"3.6.5","crypto-js":"3.3.0",curlup:"1.0.0",deepmerge:"4.2.2",dexie:"3.2.3",dompurify:"^3.1.6",express:"^4.19.2","file-dialog":"0.0.8","file-saver":"2.0.2","fuse.js":"6.4.6",graphql:"15.5.1","graphql-language-service":"^5.2.0","graphql-language-service-parser":"1.10.4","graphql-language-service-types":"1.8.2","graphql-query-compress":"1.2.3","graphql-ws":"5.9.1","hotkeys-js":"^3.13.15","json-bigint":"^1.0.0","json-schema":"^0.4.0","lodash-es":"4.17.21",loglevel:"1.8.0","loglevel-plugin-prefix":"0.8.4","lucide-angular":"^0.298.0",marked:"^15.0.3",memoizee:"0.4.14","ng-zorro-antd":"^15.1.1","ngrx-store-localstorage":"12.0.1","ngx-cookie-service":"14.0.1","ngx-markdown":"^14.0.1","ngx-pipes":"^3.2.2","ngx-take-until-destroy":"5.4.0","ngx-toastr":"^18.0.0",nx:"17.1.3","object-path":"0.11.5",prettier:"^3.2.5",rxjs:"7.8.1","sanitize-html":"2.7.1","subscriptions-transport-ws":"0.9.19",sval:"0.4.8",tslib:"2.0.0",uuid:"9.0.1","zone.js":"0.15.1"},devDependencies:{"@altairgraphql/iframe-sandbox":"workspace:*","@angular-eslint/builder":"20.3.0","@angular-eslint/eslint-plugin":"20.3.0","@angular-eslint/eslint-plugin-template":"20.3.0","@angular-eslint/schematics":"20.3.0","@angular-eslint/template-parser":"20.3.0","@angular/build":"^20.3.4","@angular/compiler":"20.3.3","@angular/compiler-cli":"20.3.3","@briebug/jest-schematic":"2.1.1","@jest/globals":"28.1.3","@ngrx/schematics":"12.4.0","@playwright/test":"^1.31.2","@sentry/cli":"^2.21.4","@types/actioncable":"5.2.3","@types/chrome":"^0.0.209","@types/codemirror":"^5.60.15","@types/crypto-js":"^4.0.1","@types/dompurify":"^3.0.5","@types/electron":"^1.6.10","@types/file-saver":"^2.0.1","@types/firefox-webext-browser":"^109.0.0","@types/graphql":"^14.5.0","@types/jest":"29.5.14","@types/json-bigint":"^1.0.1","@types/json-schema":"^7.0.6","@types/lodash-es":"^4.17.4","@types/memoizee":"^0.4.3","@types/mousetrap":"^1.6.3","@types/node":"^12.11.1","@types/object-path":"^0.11.0","@types/sanitize-html":"^2.6.2","@types/to-snake-case":"^1.0.0","@types/uuid":"^9.0.5","@types/zen-observable":"^0.8.1","@typescript-eslint/eslint-plugin":"^8.46.0","@typescript-eslint/parser":"^8.46.0","babel-plugin-transform-async-to-generator":"6.24.1","babel-preset-env":"1.7.0","babel-preset-react":"6.24.1",chai:"4.2.0","chai-as-promised":"7.1.1",electron:"catalog:",eslint:"^8.57.0","eslint-config-altair":"workspace:*","eslint-config-prettier":"^9.1.0","eslint-plugin-import":"^2.27.4","eslint-plugin-no-unsanitized":"^4.0.2","eslint-plugin-prettier":"^5.1.3","fake-indexeddb":"^4.0.1",jest:"29.7.0","jest-chrome":"^0.8.0","jest-preset-angular":"^15.0.2","karma-cli":"^2.0.0",less:"^4.2.0",ncp:"2.0.0","ng-mocks":"^14.13.4","ngrx-store-freeze":"0.2.4",protractor:"7.0.0",react:"17.0.1","rxjs-tslint-rules":"4.32.0","start-server-and-test":"1.11.0","ts-jest":"29.0.5","ts-mocks":"2.6.1","ts-node":"9.1.1",typescript:"catalog:"},homepage:"https://altair-graphql.github.io/altair/",license:"MIT",main:"dist/browser/main.js",private:!0,scripts:{analyze:"ng build --stats-json && npx webpack-bundle-analyzer dist/stats.json","analyze:prod":"ng build --aot --stats-json && npx webpack-bundle-analyzer dist/stats.json","ng:build":"cross-env NODE_OPTIONS=--max-old-space-size=8192 pnpm ng build --aot --stats-json --output-hashing=none",build:"node scripts/build.js",lint:"ng lint","new:component":"ng g component modules/altair/components/",ng:"ng",bootstrap:"pnpm build",start:"ng serve","sentry:sourcemaps:inject":"sentry-cli sourcemaps inject --org altair-graphql --project electron ./dist",test:"jest && ng lint","test-build":"ng lint && pnpm build && pnpm test-single-run","test-single-run":"ng test --watch=false --code-coverage","test:watch":"jest --watch"},repository:{type:"git",url:"https://github.com/altair-graphql/altair.git"}};var _i={production:!0,version:iue.version,serverReady:!0};var rV="START_LOADING",Vv="STOP_LOADING",oV="SET_WINDOW_NAME",sV="SET_WINDOW_ID_IN_COLLECTION",rue="NOTIFY_EXPERIMENTAL",AS=class{constructor(t){this.windowId=t,this.type=rV}},Z0=class{constructor(t){this.windowId=t,this.type=Vv}},Zc=class{constructor(t,e){this.windowId=t,this.payload=e,this.type=oV}},PS=class{constructor(t,e){this.windowId=t,this.payload=e,this.type=sV}};var aV=()=>({isLoading:!1,title:"New window",hasDynamicTitle:!0});function oue(n=aV(),t){switch(t.type){case rV:return B(x({},n),{isLoading:!0});case Vv:return B(x({},n),{isLoading:!1});case oV:return B(x({},n),{title:t.payload.title,hasDynamicTitle:!t.payload.setByUser});case sV:return B(x({},n),{windowIdInCollection:t.payload.windowIdInCollection,collectionId:t.payload.collectionId});default:return n}}var sue=`
|
|
92
92
|
# Welcome to Altair GraphQL Client.
|
|
93
93
|
# You can send your request using CmdOrCtrl + Enter.
|
|
94
94
|
|
|
@@ -2550,7 +2550,7 @@ Please report this to https://github.com/markedjs/marked.`,t){let r="<p>An error
|
|
|
2550
2550
|
`),m(54,"div",18),d(55,`
|
|
2551
2551
|
`),se(56,AMt,10,1),y(),d(57,`
|
|
2552
2552
|
`),y(),d(58,`
|
|
2553
|
-
`)}if(n&2){let e=t,i=De(22),r=De(48),o=w();g(4),ae(o.isLoading()?4:-1),g(7),ae(e.view!=="root"&&o.docHistory.length?11:-1),g(),ae(e.view!=="root"?12:-1),g(4),b("nzDropdownMenu",i),g(10),ae(o.gqlSchema()?26:-1),g(2),Q(`
|
|
2553
|
+
`)}if(n&2){let e=t,i=De(22),r=De(48),o=w();g(4),ae(o.isLoading()?4:-1),g(7),ae(e.view!=="root"&&o.docHistory().length?11:-1),g(),ae(e.view!=="root"?12:-1),g(4),b("nzDropdownMenu",i),g(10),ae(o.gqlSchema()?26:-1),g(2),Q(`
|
|
2554
2554
|
`,R(29,11,"DOCS_LOAD_SCHEMA"),`...
|
|
2555
2555
|
`),g(15),b("placeholder",R(45,13,"DOCS_SEARCH_INPUT_PLACEHOLDER_TEXT")),Vi("ngModel",o.searchTerm),b("nzAutocomplete",r),g(4),b("nzDefaultActiveFirstOption",!1),g(3),at(o.autocompleteOptions()),g(6),ae(o.gqlSchema()?56:-1)}}function RMt(n,t){if(n&1&&(d(0,`
|
|
2556
2556
|
`),m(1,"div",37),d(2),P(3,"translate"),P(4,"date"),y(),d(5,`
|
|
@@ -2917,4 +2917,4 @@ ${t}
|
|
|
2917
2917
|
`],encapsulation:2,changeDetection:0})}return n})(),hb=(()=>{class n{_platform=I(_w);_containerElement;_document=I(gt);_styleLoader=I(Rz);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Yne()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}let i=this._document.createElement("div");i.classList.add(e),Yne()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(ZDt)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=Z({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var KAe=(()=>{class n extends hb{_createContainer(){let e=document.createElement("div");e.classList.add("cdk-overlay-container"),e.classList.add("app-overlay-container");let i=document.querySelector(".app-wrapper");i&&(i.appendChild(e),this._containerElement=e)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xi(n)))(r||n)}})()}static{this.\u0275prov=Z({token:n,factory:n.\u0275fac})}}return n})();var MP=(()=>{class n{constructor(){this.altairConfig=I(mr),this.storageService=I(uo),this.electronAppService=I(ya),this.notifyService=I(bn)}bootstrap(){return U(this,null,function*(){if(this.altairConfig.initialData.preserveState){this.initialState=yield _O({updateFromLocalStorage:!0});let e=yield this.electronAppService.getSettingsFromFile();e&&(this.initialState=B(x({},this.initialState),{settings:x(x({},this.initialState?.settings),e)})),this.initialState||(yield this.electronAppService.importAutobackupData())&&this.notifyService.warning("Your application state has been automatically recovered.","Recovered data"),yield this.cleanSelectedFilesStorage()}})}cleanSelectedFilesStorage(){return U(this,null,function*(){this.initialState&&(yield this.storageService.selectedFiles.where("windowId").noneOf(this.initialState.windowsMeta?.windowIds||[]).delete())})}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=Z({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var JAe=(()=>{class n{constructor(){this.actions$=I(Go),this.store=I(Pt),this.accountService=I(va),this.notifyService=I(bn),this.sharingService=I(Ip),this.checkAccountLoginStatus$=yt(()=>this.actions$.pipe(mt($h),ve(()=>_i.serverReady?this.accountService.observeUser().pipe(Je(1)):$e),ve(e=>{let i=Ld("show_login");return e?(this.store.dispatch(new o_({email:e?.email??"",firstName:e?.firstName??e?.email??"",lastName:"",picture:e.picture??"",isNewUser:e.isNewUser})),$e):(i==="true"&&this.store.dispatch(new F1({value:!0})),$e)}),ve(()=>(this.store.dispatch(new RT),$e))),{dispatch:!1}),this.handleSubmitLogin$=yt(()=>this.actions$.pipe(mt(C$),Kt(this.store,(e,i)=>({state:i,action:e})),ve(({action:e})=>this.accountService.accountLogin$(e.payload?.provider).pipe(Je(1))),ve(e=>e?(this.notifyService.success(`You're logged in. Welcome back, ${e.firstName||e.email}`),this.store.dispatch(new o_({email:e.email??"",firstName:e.firstName??e.email??"",lastName:"",picture:e.picture??"",isNewUser:e.isNewUser})),this.store.dispatch(new F1({value:!1})),$e):(this.notifyService.error("Sorry, we could not log you in. Please check that your credentials are correct."),$e)),ln(e=>Mr(Cr(e)).pipe(ve(i=>(Te.error(i),this.notifyService.errorWithError(i,"Sorry, we could not log you in. Please check that your username and password are correct"),$e)))),Nr()),{dispatch:!1}),this.logout$=yt(()=>this.actions$.pipe(mt(w$),Kt(this.store,(e,i)=>({state:i,action:e})),ve(({action:e})=>Ut(this.accountService.logout())),ve(()=>(this.notifyService.success("You're logged out"),this.store.dispatch(new LT),this.store.dispatch(new F1({value:!1})),this.store.dispatch(new Eo),$e)),ln(e=>Mr(Cr(e)).pipe(ve(i=>(Te.error(i),this.notifyService.errorWithError(i,"Sorry, we could not log you out. Please try again."),$e)))),Nr()),{dispatch:!1}),this.onLoggedIn$=yt(()=>this.actions$.pipe(mt(Qh),ve(()=>(this.store.dispatch(new f3),this.store.dispatch(new HT),$e)),ln(e=>Mr(Cr(e)).pipe(ve(i=>(Te.error(i),this.notifyService.errorWithError(e,"Could not load teams"),$e)))),Nr()),{dispatch:!1}),this.loadTeams$=yt(()=>this.actions$.pipe(mt(S$),ve(e=>this.accountService.getTeams()),Ce(e=>new FT({teams:e.map(i=>({id:i.id,name:i.name,description:i.description?i.description:void 0}))})),ln(e=>Mr(Cr(e)).pipe(ve(i=>(Te.error(i),this.notifyService.errorWithError(e,"Could not load teams"),$e)))),Nr())),this.loadUserDataOnLoggedIn$=yt(()=>this.actions$.pipe(mt(Qh),ve(e=>fl([Mr(this.accountService.getStats()),Mr(this.accountService.getPlan()),Mr(this.accountService.getPlanInfos()),Mr(this.accountService.getAvailableCredits()),Re(e.payload)])),Ce(([e,i,r,o,s])=>{i.canUpgradePro&&(Ld("plan_select")==="pro"?(this.store.dispatch(new Dl({value:!0})),this.accountService.getUpgradeProUrl().then(({url:l})=>{El(l)})):s.isNewUser&&this.store.dispatch(new Dl({value:!0}))),this.store.dispatch(new VT({stats:{queriesCount:e.queries.own,queryCollectionsCount:e.collections.own,teamsCount:e.teams.own},plan:i,planInfos:r,availableCredits:o}))}),ln(e=>Mr(Cr(e)).pipe(ve(i=>(Te.error(i),this.notifyService.errorWithError(e,"Could not load user data"),$e)))),Nr()),{dispatch:!1})}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=Z({token:n,factory:n.\u0275fac})}}return n})();var ePe=(()=>{class n{constructor(){this.actions$=I(Go),this.store=I(Pt),this.storageService=I(uo),this.accountService=I(va),this.loadWorkspaces$=yt(()=>this.actions$.pipe(mt(T$),ve(()=>this.accountService.getWorkspaces()),ve(e=>(this.store.dispatch(new jT(e.map(i=>({id:i.id,name:i.name,teamId:i.teamId??void 0})))),$e))),{dispatch:!1})}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=Z({token:n,factory:n.\u0275fac})}}return n})();var tPe=(()=>{class n{constructor(){this.actions$=I(Go),this.store=I(Pt),this.electronAppService=I(ya),this.updateSettingsOnFile$=yt(()=>this.actions$.pipe(mt(X5,Z5),Kt(this.store,(e,i)=>({state:i})),Xt(({state:e})=>Re(this.electronAppService.updateSettingsOnFile(e.settings)))),{dispatch:!1})}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=Z({token:n,factory:n.\u0275fac})}}return n})();Xle(XAe);function XDt(n){return new bP(n,"./assets/i18n/",".json")}function KDt(n){return()=>n.bootstrap()}var JDt=[Ll,_a,Fl,eo,bn,Bm,ya,O2,uo,Ca,hs,D2,Op,kC,Ep,SC,TC,va,Ip,OC,Mp,MC,nI,MP,{provide:kS,useClass:WAe,multi:!0},{provide:Wr,useClass:ZAe},{provide:hb,useClass:KAe},J9(()=>KDt(I(MP))()),NF(LF())],nPe=(()=>{class n{constructor(){let e=I(cv),i=I(Pt),r=I(MP);e.donePromise.then(()=>i.dispatch(new Kk({initialState:r.initialState})))}static forRoot(){return{ngModule:n,providers:[{provide:xO,useValue:zq()},{provide:t4,useFactory:e=>e.cspNonce,deps:[mr]}]}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=ke({type:n,bootstrap:[oy]})}static{this.\u0275inj=Se({providers:JDt,imports:[Q0,sxe,fr,x2,d0.forRoot(),EP,QAe,OP,SP,Gce.forRoot(xO,{metaReducers:h2e,runtimeChecks:{strictStateImmutability:!1,strictActionImmutability:!1}}),E0e.forRoot([VAe,BAe,HAe,jAe,$Ae,qAe,JAe,ePe,tPe]),_i.production?[]:LAe.instrument(),Fv.forRoot({loader:{provide:w1,useFactory:XDt,deps:[Va]}}),ahe.forRoot({newestOnTop:!1,closeButton:!0,positionClass:"toast-bottom-right",enableHtml:!0,countDuplicates:!0,preventDuplicates:!0,resetTimeoutOnDuplicate:!0})]})}}return n})();var iPe=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=ke({type:n,bootstrap:[pAe]})}static{this.\u0275inj=Se({imports:[lt,Q0,nPe.forRoot()]})}}return n})();var eIt=(n,t,e)=>{document.body.addEventListener(n,function(i){i.target&&i.target.matches(t)&&e.apply(i.target,[i])})},rPe=()=>{eIt("click","a",function(n){let t=this.href||"";if(!t.replace(/#.*$/,""))return;n.preventDefault();let e=window.open(t,"_blank");e&&e.focus()})};var tIt=["__ALTAIR_ENDPOINT_URL__","__ALTAIR_SUBSCRIPTIONS_ENDPOINT__","__ALTAIR_INITIAL_QUERY__","__ALTAIR_INITIAL_VARIABLES__","__ALTAIR_INITIAL_HEADERS__","__ALTAIR_INITIAL_PRE_REQUEST_SCRIPT__","__ALTAIR_INSTANCE_STORAGE_NAMESPACE__"],oPe=n=>{console.warn("DEPRECATION NOTICE: Configuring altair using global variables is deprecated, and will be removed in a future version."),console.warn(`You set [window.${n}], which is deprecated.`),console.warn("Use 'AltairGraphQL.init(opts)' instead.")},sPe=()=>{tIt.forEach(n=>{window[n]&&oPe(n),Object.defineProperty(window,n,{get(){return window[n]},set(t){oPe(n),window[n]=t}})})};var aPe=!1;window.AltairGraphQL={init(n={}){if(aPe)return;let t=new mr(n);Bfe(t),_i.production&&void 0,DF([{provide:mr,useValue:t}]).bootstrapModule(iPe,{preserveWhitespaces:!0}).then(e=>{let r=e.injector.get(Er).components[0];r&&Cce(r)}).catch(e=>Te.log("Error bootstrapping application:",e)),rPe(),sPe(),aPe=!0},plugins:{}};
|
|
2918
2918
|
//# sourceMappingURL=main.js.map
|
|
2919
2919
|
|
|
2920
|
-
//# debugId=
|
|
2920
|
+
//# debugId=21f11106-256c-54a8-b553-589d27ffdfa6
|