gt-react 10.15.2 → 10.15.4

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.
@@ -15,5 +15,5 @@ t.mode.CTRGladman=function(){var e=t.lib.BlockCipherMode.extend();function r(t){
15
15
 
16
16
  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
17
17
  */
18
- function(){var e=t,r=e.lib,n=r.WordArray,o=r.Hasher,i=e.algo,a=n.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),s=n.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=n.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),h=n.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),u=n.create([0,1518500249,1859775393,2400959708,2840853838]),l=n.create([1352829926,1548603684,1836072691,2053994217,0]),f=i.RIPEMD160=o.extend({_doReset:function(){this._hash=n.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var r=0;r<16;r++){var n=e+r,o=t[n];t[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i,f,b,m,E,B,w,T,H,S,A,x=this._hash.words,P=u.words,C=l.words,O=a.words,L=s.words,k=c.words,M=h.words;for(B=i=x[0],w=f=x[1],T=b=x[2],H=m=x[3],S=E=x[4],r=0;r<80;r+=1)A=i+t[e+O[r]]|0,A+=r<16?p(f,b,m)+P[0]:r<32?d(f,b,m)+P[1]:r<48?v(f,b,m)+P[2]:r<64?y(f,b,m)+P[3]:_(f,b,m)+P[4],A=(A=g(A|=0,k[r]))+E|0,i=E,E=m,m=g(b,10),b=f,f=A,A=B+t[e+L[r]]|0,A+=r<16?_(w,T,H)+C[0]:r<32?y(w,T,H)+C[1]:r<48?v(w,T,H)+C[2]:r<64?d(w,T,H)+C[3]:p(w,T,H)+C[4],A=(A=g(A|=0,M[r]))+S|0,B=S,S=H,H=g(T,10),T=w,w=A;A=x[1]+b+H|0,x[1]=x[2]+m+S|0,x[2]=x[3]+E+B|0,x[3]=x[4]+i+w|0,x[4]=x[0]+f+T|0,x[0]=A},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;e[n>>>5]|=128<<24-n%32,e[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),t.sigBytes=4*(e.length+1),this._process();for(var o=this._hash,i=o.words,a=0;a<5;a++){var s=i[a];i[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return o},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});function p(t,e,r){return t^e^r}function d(t,e,r){return t&e|~t&r}function v(t,e,r){return(t|~e)^r}function y(t,e,r){return t&r|e&~r}function _(t,e,r){return t^(e|~r)}function g(t,e){return t<<e|t>>>32-e}e.RIPEMD160=o._createHelper(f),e.HmacRIPEMD160=o._createHmacHelper(f)}(),t.RIPEMD160)),Le.exports;var t}(),Re(),function(){return Ie||(Ie=1,Ne.exports=(t=Zt(),me(),Re(),function(){var e=t,r=e.lib,n=r.Base,o=r.WordArray,i=e.algo,a=i.SHA256,s=i.HMAC,c=i.PBKDF2=n.extend({cfg:n.extend({keySize:4,hasher:a,iterations:25e4}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){for(var r=this.cfg,n=s.create(r.hasher,t),i=o.create(),a=o.create([1]),c=i.words,h=a.words,u=r.keySize,l=r.iterations;c.length<u;){var f=n.update(e).finalize(a);n.reset();for(var p=f.words,d=p.length,v=f,y=1;y<l;y++){v=n.finalize(v),n.reset();for(var _=v.words,g=0;g<d;g++)p[g]^=_[g]}i.concat(f),h[0]++}return i.sigBytes=4*u,i}});e.PBKDF2=function(t,e,r){return c.create(r).compute(t,e)}}(),t.PBKDF2)),Ne.exports;var t}(),Ge(),ze(),Ve(),$e(),Je(),er(),function(){return rr?nr.exports:(rr=1,nr.exports=(e=Zt(),ze(),e.mode.ECB=((t=e.lib.BlockCipherMode.extend()).Encryptor=t.extend({processBlock:function(t,e){this._cipher.encryptBlock(t,e)}}),t.Decryptor=t.extend({processBlock:function(t,e){this._cipher.decryptBlock(t,e)}}),t),e.mode.ECB));var t,e}(),function(){return or?ir.exports:(or=1,ir.exports=(t=Zt(),ze(),t.pad.AnsiX923={pad:function(t,e){var r=t.sigBytes,n=4*e,o=n-r%n,i=r+o-1;t.clamp(),t.words[i>>>2]|=o<<24-i%4*8,t.sigBytes+=o},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},t.pad.Ansix923));var t}(),function(){return ar?sr.exports:(ar=1,sr.exports=(t=Zt(),ze(),t.pad.Iso10126={pad:function(e,r){var n=4*r,o=n-e.sigBytes%n;e.concat(t.lib.WordArray.random(o-1)).concat(t.lib.WordArray.create([o<<24],1))},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},t.pad.Iso10126));var t}(),function(){return cr?hr.exports:(cr=1,hr.exports=(t=Zt(),ze(),t.pad.Iso97971={pad:function(e,r){e.concat(t.lib.WordArray.create([2147483648],1)),t.pad.ZeroPadding.pad(e,r)},unpad:function(e){t.pad.ZeroPadding.unpad(e),e.sigBytes--}},t.pad.Iso97971));var t}(),function(){return ur||(ur=1,lr.exports=(t=Zt(),ze(),t.pad.ZeroPadding={pad:function(t,e){var r=4*e;t.clamp(),t.sigBytes+=r-(t.sigBytes%r||r)},unpad:function(t){var e=t.words,r=t.sigBytes-1;for(r=t.sigBytes-1;r>=0;r--)if(e[r>>>2]>>>24-r%4*8&255){t.sigBytes=r+1;break}}},t.pad.ZeroPadding)),lr.exports;var t}(),function(){return fr?pr.exports:(fr=1,pr.exports=(t=Zt(),ze(),t.pad.NoPadding={pad:function(){},unpad:function(){}},t.pad.NoPadding));var t}(),function(){return dr||(dr=1,vr.exports=(t=Zt(),ze(),function(){var e=t,r=e.lib.CipherParams,n=e.enc.Hex;e.format.Hex={stringify:function(t){return t.ciphertext.toString(n)},parse:function(t){var e=n.parse(t);return r.create({ciphertext:e})}}}(),t.format.Hex)),vr.exports;var t}(),function(){return yr||(yr=1,_r.exports=(t=Zt(),ce(),de(),Ge(),ze(),function(){var e=t,r=e.lib.BlockCipher,n=e.algo,o=[],i=[],a=[],s=[],c=[],h=[],u=[],l=[],f=[],p=[];!function(){for(var t=[],e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;var r=0,n=0;for(e=0;e<256;e++){var d=n^n<<1^n<<2^n<<3^n<<4;d=d>>>8^255&d^99,o[r]=d,i[d]=r;var v=t[r],y=t[v],_=t[y],g=257*t[d]^16843008*d;a[r]=g<<24|g>>>8,s[r]=g<<16|g>>>16,c[r]=g<<8|g>>>24,h[r]=g,g=16843009*_^65537*y^257*v^16843008*r,u[d]=g<<24|g>>>8,l[d]=g<<16|g>>>16,f[d]=g<<8|g>>>24,p[d]=g,r?(r=v^t[t[t[_^v]]],n^=t[t[n]]):r=n=1}}();var d=[0,1,2,4,8,16,32,64,128,27,54],v=n.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,e=t.words,r=t.sigBytes/4,n=4*((this._nRounds=r+6)+1),i=this._keySchedule=[],a=0;a<n;a++)a<r?i[a]=e[a]:(h=i[a-1],a%r?r>6&&a%r==4&&(h=o[h>>>24]<<24|o[h>>>16&255]<<16|o[h>>>8&255]<<8|o[255&h]):(h=o[(h=h<<8|h>>>24)>>>24]<<24|o[h>>>16&255]<<16|o[h>>>8&255]<<8|o[255&h],h^=d[a/r|0]<<24),i[a]=i[a-r]^h);for(var s=this._invKeySchedule=[],c=0;c<n;c++){if(a=n-c,c%4)var h=i[a];else h=i[a-4];s[c]=c<4||a<=4?h:u[o[h>>>24]]^l[o[h>>>16&255]]^f[o[h>>>8&255]]^p[o[255&h]]}}},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._keySchedule,a,s,c,h,o)},decryptBlock:function(t,e){var r=t[e+1];t[e+1]=t[e+3],t[e+3]=r,this._doCryptBlock(t,e,this._invKeySchedule,u,l,f,p,i),r=t[e+1],t[e+1]=t[e+3],t[e+3]=r},_doCryptBlock:function(t,e,r,n,o,i,a,s){for(var c=this._nRounds,h=t[e]^r[0],u=t[e+1]^r[1],l=t[e+2]^r[2],f=t[e+3]^r[3],p=4,d=1;d<c;d++){var v=n[h>>>24]^o[u>>>16&255]^i[l>>>8&255]^a[255&f]^r[p++],y=n[u>>>24]^o[l>>>16&255]^i[f>>>8&255]^a[255&h]^r[p++],_=n[l>>>24]^o[f>>>16&255]^i[h>>>8&255]^a[255&u]^r[p++],g=n[f>>>24]^o[h>>>16&255]^i[u>>>8&255]^a[255&l]^r[p++];h=v,u=y,l=_,f=g}v=(s[h>>>24]<<24|s[u>>>16&255]<<16|s[l>>>8&255]<<8|s[255&f])^r[p++],y=(s[u>>>24]<<24|s[l>>>16&255]<<16|s[f>>>8&255]<<8|s[255&h])^r[p++],_=(s[l>>>24]<<24|s[f>>>16&255]<<16|s[h>>>8&255]<<8|s[255&u])^r[p++],g=(s[f>>>24]<<24|s[h>>>16&255]<<16|s[u>>>8&255]<<8|s[255&l])^r[p++],t[e]=v,t[e+1]=y,t[e+2]=_,t[e+3]=g},keySize:8});e.AES=r._createHelper(v)}(),t.AES)),_r.exports;var t}(),mr(),function(){return Er||(Er=1,Br.exports=(t=Zt(),ce(),de(),Ge(),ze(),function(){var e=t,r=e.lib.StreamCipher,n=e.algo,o=n.RC4=r.extend({_doReset:function(){for(var t=this._key,e=t.words,r=t.sigBytes,n=this._S=[],o=0;o<256;o++)n[o]=o;o=0;for(var i=0;o<256;o++){var a=o%r,s=e[a>>>2]>>>24-a%4*8&255;i=(i+n[o]+s)%256;var c=n[o];n[o]=n[i],n[i]=c}this._i=this._j=0},_doProcessBlock:function(t,e){t[e]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var t=this._S,e=this._i,r=this._j,n=0,o=0;o<4;o++){r=(r+t[e=(e+1)%256])%256;var i=t[e];t[e]=t[r],t[r]=i,n|=t[(t[e]+t[r])%256]<<24-8*o}return this._i=e,this._j=r,n}e.RC4=r._createHelper(o);var a=n.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var t=this.cfg.drop;t>0;t--)i.call(this)}});e.RC4Drop=r._createHelper(a)}(),t.RC4)),Br.exports;var t}(),function(){return wr||(wr=1,Tr.exports=(t=Zt(),ce(),de(),Ge(),ze(),function(){var e=t,r=e.lib.StreamCipher,n=e.algo,o=[],i=[],a=[],s=n.Rabbit=r.extend({_doReset:function(){for(var t=this._key.words,e=this.cfg.iv,r=0;r<4;r++)t[r]=16711935&(t[r]<<8|t[r]>>>24)|4278255360&(t[r]<<24|t[r]>>>8);var n=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],o=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];for(this._b=0,r=0;r<4;r++)c.call(this);for(r=0;r<8;r++)o[r]^=n[r+4&7];if(e){var i=e.words,a=i[0],s=i[1],h=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=h>>>16|4294901760&u,f=u<<16|65535&h;for(o[0]^=h,o[1]^=l,o[2]^=u,o[3]^=f,o[4]^=h,o[5]^=l,o[6]^=u,o[7]^=f,r=0;r<4;r++)c.call(this)}},_doProcessBlock:function(t,e){var r=this._X;c.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),t[e+n]^=o[n]},blockSize:4,ivSize:2});function c(){for(var t=this._X,e=this._C,r=0;r<8;r++)i[r]=e[r];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<i[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<i[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<i[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<i[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<i[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<i[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<i[6]>>>0?1:0)|0,this._b=e[7]>>>0<i[7]>>>0?1:0,r=0;r<8;r++){var n=t[r]+e[r],o=65535&n,s=n>>>16,c=((o*o>>>17)+o*s>>>15)+s*s,h=((4294901760&n)*n|0)+((65535&n)*n|0);a[r]=c^h}t[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,t[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,t[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,t[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,t[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,t[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,t[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,t[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.Rabbit=r._createHelper(s)}(),t.Rabbit)),Tr.exports;var t}(),function(){return Hr||(Hr=1,Sr.exports=(t=Zt(),ce(),de(),Ge(),ze(),function(){var e=t,r=e.lib.StreamCipher,n=e.algo,o=[],i=[],a=[],s=n.RabbitLegacy=r.extend({_doReset:function(){var t=this._key.words,e=this.cfg.iv,r=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],n=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(var o=0;o<4;o++)c.call(this);for(o=0;o<8;o++)n[o]^=r[o+4&7];if(e){var i=e.words,a=i[0],s=i[1],h=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=h>>>16|4294901760&u,f=u<<16|65535&h;for(n[0]^=h,n[1]^=l,n[2]^=u,n[3]^=f,n[4]^=h,n[5]^=l,n[6]^=u,n[7]^=f,o=0;o<4;o++)c.call(this)}},_doProcessBlock:function(t,e){var r=this._X;c.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),t[e+n]^=o[n]},blockSize:4,ivSize:2});function c(){for(var t=this._X,e=this._C,r=0;r<8;r++)i[r]=e[r];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<i[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<i[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<i[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<i[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<i[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<i[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<i[6]>>>0?1:0)|0,this._b=e[7]>>>0<i[7]>>>0?1:0,r=0;r<8;r++){var n=t[r]+e[r],o=65535&n,s=n>>>16,c=((o*o>>>17)+o*s>>>15)+s*s,h=((4294901760&n)*n|0)+((65535&n)*n|0);a[r]=c^h}t[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,t[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,t[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,t[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,t[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,t[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,t[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,t[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.RabbitLegacy=r._createHelper(s)}(),t.RabbitLegacy)),Sr.exports;var t}(),Pr())),Vt.exports),kr=Lt(Lr),Mr="https://cdn.gtx.dev",Rr="en";"function"==typeof SuppressedError&&SuppressedError;var Ir="DEFAULT_TERMINATOR_KEY";function Nr(t){var e=t.icuString,r=t.shouldVisit,o=t.visitor,i=t.options,a=i.recurseIntoVisited,s=void 0===a||a,c=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}(i,["recurseIntoVisited"]),h=function(t,e){void 0===e&&(e={}),e=n({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var r=new Ht(t,e).parse();if(r.err){var o=SyntaxError(N[r.err.kind]);throw o.location=r.err.location,o.originalMessage=r.err.message,o}return(null==e?void 0:e.captureLocation)||Ct(r.val),r.val}(e,c);return u(h),h;function u(t){t.map(l)}function l(t){var e=!1;r(t)&&(o(t),e=!0),e&&!s||(t.type===D.select||t.type===D.plural?Object.values(t.options).map(function(t){return t.value}).map(u):t.type===D.tag&&u(t.children))}}var Dr="_gt_",Ur=new RegExp("^".concat(Dr,"\\d+$")),Gr=new RegExp("^".concat(Dr,"$"));function jr(t){var e;return t.type===Dt.TYPE.select&&Ur.test(t.value)&&!!t.options.other&&(0===t.options.other.value.length||t.options.other.value.length>0&&(null===(e=t.options.other.value[0])||void 0===e?void 0:e.type)===Dt.TYPE.literal)}function Fr(t){var e;return t.type===Dt.TYPE.select&&Gr.test(t.value)&&!!t.options.other&&(0===t.options.other.value.length||t.options.other.value.length>0&&(null===(e=t.options.other.value[0])||void 0===e?void 0:e.type)===Dt.TYPE.literal)}function zr(t){if(!t.includes(Dr))return t;var e=[];Nr({icuString:t,shouldVisit:Fr,visitor:function(t){var r,n,o,i,a,s,c,h;e.push({start:null!==(n=null===(r=t.location)||void 0===r?void 0:r.start.offset)&&void 0!==n?n:0,end:null!==(i=null===(o=t.location)||void 0===o?void 0:o.end.offset)&&void 0!==i?i:0,otherStart:null!==(s=null===(a=t.options.other.location)||void 0===a?void 0:a.start.offset)&&void 0!==s?s:0,otherEnd:null!==(h=null===(c=t.options.other.location)||void 0===c?void 0:c.end.offset)&&void 0!==h?h:0})},options:{recurseIntoVisited:!1,captureLocation:!0}});for(var r=[],n=0,o=0;o<e.length;o++){var i=e[o],a=i.start,s=i.end,c=i.otherStart,h=i.otherEnd;r.push(t.slice(n,a)),r.push(t.slice(a,a+4+1)),r.push(String(o+1)),r.push(t.slice(a+4+1,c)),r.push("{}"),r.push(t.slice(h,s)),n=s}return r.push(t.slice(n,t.length)),r.join("")}var Kr=function(){return Kr=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Kr.apply(this,arguments)};function Xr(t){return kr.SHA256(t).toString(kr.enc.Hex).slice(0,16)}function Vr(t,e){var r=t.source,n=t.context,o=t.id,i=t.maxChars,a=t.dataFormat;void 0===e&&(e=Xr);var s={dataFormat:a};return s.source="JSX"===a?Yr(r):r,s=Kr(Kr(Kr(Kr({},s),o&&{id:o}),n&&{context:n}),null!=i&&{maxChars:Math.abs(i)}),e(Xt(s))}"function"==typeof SuppressedError&&SuppressedError;var Wr=function(t){if(t&&"object"==typeof t){var e={};if("c"in t&&t.c&&(e.c=Yr(t.c)),"d"in t){var r=null==t?void 0:t.d;(null==r?void 0:r.b)&&(e.b=Object.fromEntries(Object.entries(r.b).map(function(t){return[t[0],Yr(t[1])]}))),(null==r?void 0:r.t)&&(e.t=r.t)}return function(t){var e=t;if(e&&"object"==typeof e&&"string"==typeof e.k){var r=Object.keys(e);if(1===r.length)return!0;if(2===r.length){if("number"==typeof e.i)return!0;if("string"==typeof e.v)return!0}if(3===r.length&&"string"==typeof e.v&&"number"==typeof e.i)return!0}return!1}(t)?Kr({k:t.k},t.v&&{v:t.v}):e}return t};function Yr(t){return Array.isArray(t)?t.map(Wr):Wr(t)}var $r=function(t,e){return $r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},$r(t,e)},Zr=function(){return Zr=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Zr.apply(this,arguments)};function qr(t,e,r,n){return new(r||(r=Promise))(function(o,i){function a(t){try{c(n.next(t))}catch(t){i(t)}}function s(t){try{c(n.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r(function(t){t(e)})).then(a,s)}c((n=n.apply(t,e||[])).next())})}function Jr(t,e){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=e.call(t,i)}catch(t){s=[6,t],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}function Qr(t,e,r){for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var tn,en=function(t){console.warn(t)},rn=function(t){console.error(t)};function nn(t){return t.loadTranslations?tn.CUSTOM:t.cacheUrl?tn.REMOTE:void 0!==t.cacheUrl&&t.cacheUrl!==Mr||!t.projectId?tn.DISABLED:tn.GT_REMOTE}!function(t){t.GT_REMOTE="gt-remote",t.REMOTE="remote",t.CUSTOM="custom",t.DISABLED="disabled"}(tn||(tn={}));var on,an=function(){function e(e){var r;this.cache=new Map,this.resolvedCache=new Map,this.translationEntryTTL=null===e.cacheExpiryTime?-1:null!==(r=e.cacheExpiryTime)&&void 0!==r?r:6e4;var n=function(e){var r=nn(e);switch(r===tn.DISABLED&&en("I18nManager: No translation loader found. No translations will be loaded."),r){case tn.REMOTE:case tn.GT_REMOTE:return function(e){var r=this,n=function(t){var e=t.cacheUrl,r=void 0===e?Mr:e,n=t.projectId,o=t._versionId,i=t._branchId,a=o?"/".concat(o):"",s=i?"?branchId=".concat(i):"";return"".concat(r,"/").concat(n,"/[locale]")+a+s}(e);return function(o){return qr(r,void 0,void 0,function(){var r,i;return Jr(this,function(a){switch(a.label){case 0:return o=t.resolveCanonicalLocale(o,e.customMapping),r=n.replace("[locale]",o),[4,fetch(r)];case 1:if(!(i=a.sent()).ok)throw new Error("Failed to load translations from ".concat(r));return[4,i.json()];case 2:return[2,a.sent()]}})})}}({cacheUrl:e.cacheUrl,projectId:e.projectId,_versionId:e._versionId,_branchId:e._branchId,customMapping:e.customMapping});case tn.CUSTOM:return e.loadTranslations;case tn.DISABLED:return function(){var t=this;return function(e){return qr(t,void 0,void 0,function(){return Jr(this,function(t){return[2,{}]})})}}()}}(e);this.translationLoader=this.attachResolveCaptureToTranslationLoader(this.protectTranslationLoader(n))}return e.prototype.protectTranslationLoader=function(t){var e=this;return function(r){return qr(e,void 0,void 0,function(){var e;return Jr(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,t(r)];case 1:return[2,n.sent()||{}];case 2:return e=n.sent(),rn("Failed to load translations "+e),this.cache.delete(r),[2,{}];case 3:return[2]}})})}},e.prototype.attachResolveCaptureToTranslationLoader=function(t){var e=this;return function(r){return qr(e,void 0,void 0,function(){var e;return Jr(this,function(n){switch(n.label){case 0:return[4,t(r)];case 1:return e=n.sent(),this.resolvedCache.set(r,e),[2,e]}})})}},e.prototype.handleCacheMiss=function(t){return qr(this,void 0,void 0,function(){var e,r,n;return Jr(this,function(o){return e=this.translationLoader(t),r=this.translationEntryTTL<0?this.translationEntryTTL:Date.now()+this.translationEntryTTL,n={promise:e,expiresAt:r},this.cache.set(t,n),[2,e]})})},e.prototype.isCacheHit=function(t){if(!this.cache.has(t))return!1;var e=this.cache.get(t).expiresAt;return e<0||e>Date.now()},e.prototype.getTranslations=function(t){return qr(this,void 0,void 0,function(){return Jr(this,function(e){return this.isCacheHit(t)?[2,this.cache.get(t).promise]:[2,this.handleCacheMiss(t)]})})},e.prototype.getTranslationsSync=function(t){return this.resolvedCache.get(t)},e.prototype.getTranslationLoader=function(){return this.translationLoader},e}();function sn(t){return void 0!==t.runtimeUrl&&"https://runtime2.gtx.dev"!==t.runtimeUrl||!t.projectId||!t.devApiKey&&!t.apiKey?t.runtimeUrl?on.CUSTOM:on.DISABLED:on.GT}function cn(t){return nn(t)===tn.GT_REMOTE||sn(t)===on.GT}!function(t){t.GT="gt",t.CUSTOM="custom",t.DISABLED="disabled"}(on||(on={}));var hn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="fallback-storage-adapter",e.storage={},e}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}$r(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}(e,t),e.prototype.getItem=function(t){return this.storage[t]},e.prototype.setItem=function(t,e){this.storage[t]=e},e.prototype.removeItem=function(t){delete this.storage[t]},e}(function(){});function un(t,e){return Vr(Zr(Zr(Zr(Zr({source:zr(t)},(null==e?void 0:e.$context)&&{context:e.$context}),(null==e?void 0:e.$id)&&{id:e.$id}),null!=(null==e?void 0:e.$maxChars)&&{maxChars:Math.abs(e.$maxChars)}),{dataFormat:"ICU"}))}var ln=function(){function e(e){var r,n,o,i,a=this;this.resolveTranslationSync=function(t,e){var r=a.getLocale(),n=a.translationsManager.getTranslationsSync(r);if(n)return n[un(t,e)]},function(t,e,r){if(void 0===r&&(r=!0),t.forEach(function(t){switch(t.type){case"error":rn(e+t.message);break;case"warning":en(e+t.message)}}),r&&t.some(function(t){return"error"===t.type}))throw new Error("Validation errors occurred")}(function(e){var r=[];return r.push.apply(r,function(t){var e=[],r=t.projectId,n=t.loadTranslations;switch(nn(t)){case tn.REMOTE:case tn.GT_REMOTE:r||e.push({type:"warning",message:"projectId is required when loading translations from a remote store"});break;case tn.CUSTOM:n||e.push({type:"error",message:"loadTranslations is required when loading translations from a custom loader"});case tn.DISABLED:}return e}(e)),r.push.apply(r,function(t){var e=[];switch(sn(t)){case on.CUSTOM:case on.GT:t.projectId||e.push({type:"warning",message:"projectId is required"}),t.devApiKey||t.apiKey||e.push({type:"warning",message:"devApiKey or apiKey is required"});case on.DISABLED:}return e}(e)),r.push.apply(r,function(e){var r=[];if(!cn(e))return r;var n=e.defaultLocale,o=e.locales,i=e.customMapping;return new Set(Qr(Qr([],n?[n]:[]),o||[])).forEach(function(e){t.isValidLocale(e,i)||r.push({type:"error",message:"Invalid locale: ".concat(e)})}),r}(e)),r}(e),"I18nManager: "),this.config=(o=cn(n=e),i=function(t){var e=t.defaultLocale,r=t.locales,n=t.customMapping;return{defaultLocale:e,locales:Array.from(new Set(Qr([e],r))),customMapping:n||{}}}({defaultLocale:n.defaultLocale||Rr,locales:n.locales||[Rr],customMapping:n.customMapping}),Zr({enableI18n:void 0===n.enableI18n||n.enableI18n,projectId:n.projectId,devApiKey:n.devApiKey,apiKey:n.apiKey,runtimeUrl:n.runtimeUrl,_versionId:n._versionId},o?function(e){var r=t.standardizeLocale(e.defaultLocale),n=e.locales.map(function(r){var n,o,i,a;return("string"==typeof(null===(n=e.customMapping)||void 0===n?void 0:n[r])?null===(o=e.customMapping)||void 0===o?void 0:o[r]:null===(a=null===(i=e.customMapping)||void 0===i?void 0:i[r])||void 0===a?void 0:a.code)?r:t.standardizeLocale(r)}),o=Object.fromEntries(Object.entries(e.customMapping||{}).map(function(e){var r=e[0],n=e[1];return[r,"string"==typeof n?t.standardizeLocale(n):Zr(Zr({},n),n.code?{code:t.standardizeLocale(n.code)}:{})]}));return{defaultLocale:r,locales:n,customMapping:o}}(i):i)),this.storeAdapter=null!==(r=e.storeAdapter)&&void 0!==r?r:new hn,this.translationsManager=new an(e)}return e.prototype.getAdapterType=function(){return this.storeAdapter.type},e.prototype.getLocale=function(){return this.storeAdapter.getItem("locale")||(en("getLocale() invoked outside of translation context, falling back to default locale"),this.config.defaultLocale)},e.prototype.setLocale=function(t){this.storeAdapter.setItem("locale",t)},e.prototype.getDefaultLocale=function(){return this.config.defaultLocale},e.prototype.getLocales=function(){return this.config.locales},e.prototype.getVersionId=function(){return this.config._versionId},e.prototype.getGTClass=function(){return new t.GT({sourceLocale:this.config.defaultLocale,targetLocale:this.getLocale(),locales:this.config.locales,customMapping:this.config.customMapping,projectId:this.config.projectId,baseUrl:this.config.runtimeUrl||void 0,apiKey:this.config.apiKey,devApiKey:this.config.devApiKey})},e.prototype.isTranslationEnabled=function(){return this.config.enableI18n},e.prototype.getTranslationLoader=function(){return this.translationsManager.getTranslationLoader()},e.prototype.getTranslations=function(){return qr(this,arguments,void 0,function(t){return void 0===t&&(t=this.getLocale()),Jr(this,function(e){if(!this.config.locales.includes(t))throw new Error("Locale ".concat(t," not found in config"));return[2,this.translationsManager.getTranslations(t)]})})},e.prototype.getTranslationResolver=function(){return qr(this,arguments,void 0,function(t){var e;return void 0===t&&(t=this.getLocale()),Jr(this,function(r){switch(r.label){case 0:return!1===this.config.enableI18n||t===this.config.defaultLocale?[2,function(t){return t}]:[4,this.translationsManager.getTranslations(t)];case 1:return e=r.sent(),[2,function(t,r){var n=un(t,r);return e[n]}]}})})},e.prototype.requiresTranslation=function(t){void 0===t&&(t=this.getLocale());var e=this.getDefaultLocale(),r=this.getGTClass(),n=this.getLocales();return this.config.enableI18n&&r.requiresTranslation(e,t,n)},e.prototype.requiresDialectTranslation=function(t){void 0===t&&(t=this.getLocale());var e=this.getDefaultLocale(),r=this.getGTClass();return this.requiresTranslation(t)&&r.isSameLanguage(e,t)},e}(),fn=void 0;var pn=function(t){return'String interpolation failed for message: "'.concat(t,'".')};function dn(e,r){var n;if(!e)return e;var o=r.$_fallback,i=function(t){return Object.fromEntries(Object.entries(t).filter(function(t){var e=t[0];return"$id"!==e&&"$context"!==e&&"$maxChars"!==e&&"$hash"!==e&&"$_hash"!==e&&"$_source"!==e&&"$_fallback"!==e}))}(r);try{var a=function(t){if(!t.includes(Dr))return{};var e=1,r={};return Nr({icuString:t,shouldVisit:Fr,visitor:function(t){var n;r[t.value+e]=t.options.other.value.length?null===(n=t.options.other.value[0])||void 0===n?void 0:n.value:"",e+=1},options:{recurseIntoVisited:!1}}),r}(o||""),s=function(e,r){try{return t.formatMessage(e,{variables:r})}catch(r){return en(pn(e)),e}}(Object.keys(a).length?function(t){if(!t.includes(Dr))return t;var e=Nr({icuString:t,shouldVisit:jr,visitor:function(t){t.type=Dt.TYPE.argument,delete t.options},options:{recurseIntoVisited:!1}});return zt.printAST(e)}(e):e,Zr(Zr(Zr({},i),a),((n={})[Dr]="other",n)));return t.formatCutoff(s,{maxChars:r.$maxChars})}catch(n){return en(pn(e)),null!=o?dn(o,Zr(Zr({},r),{$_fallback:void 0})):t.formatCutoff(e,{maxChars:r.$maxChars})}}var vn=function(t,e){void 0===e&&(e={});var r=(fn||(en("getI18nManager(): Translation failed because I18nManager not initialized."),fn=new ln({defaultLocale:Rr,locales:[Rr]})),fn).resolveTranslationSync(t,e);if(r)return dn(r,Zr(Zr({},e),{$_fallback:t}))},yn=function(t,e){return void 0===e&&(e={}),vn(t,e)||dn(t,e)};globalThis.t=(t,...e)=>{var r;return"undefined"==typeof window&&console.warn(`gt-react Warning: Translation failed for t("${"string"==typeof(r=t)?r:"`"+(null==r?void 0:r.join("${}"))+"`"}") because it was used outside of a browser environment. Falling back to original message.`),"string"==typeof t?yn(t,e.at(0)):function(t,e){const r=function(t,e){return t.map((t,r)=>{var n;return t+(null!==(n=e[r])&&void 0!==n?n:"")}).join("")}(t,e),n=vn(r);if(n)return n;const{message:o,variables:i}=function(t,e){const r=[],n={};let o=0;for(let i=0;i<t.length;i++)if(r.push(t[i]),i<e.length){const t=o.toString();r.push(`{${t}}`),n[t]=e[i],o++}return{message:r.join(""),variables:n}}(t,e);return yn(o,i)}(t,e)};
18
+ function(){var e=t,r=e.lib,n=r.WordArray,o=r.Hasher,i=e.algo,a=n.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),s=n.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=n.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),h=n.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),u=n.create([0,1518500249,1859775393,2400959708,2840853838]),l=n.create([1352829926,1548603684,1836072691,2053994217,0]),f=i.RIPEMD160=o.extend({_doReset:function(){this._hash=n.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var r=0;r<16;r++){var n=e+r,o=t[n];t[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i,f,b,m,E,B,w,T,H,S,A,x=this._hash.words,P=u.words,C=l.words,O=a.words,L=s.words,k=c.words,M=h.words;for(B=i=x[0],w=f=x[1],T=b=x[2],H=m=x[3],S=E=x[4],r=0;r<80;r+=1)A=i+t[e+O[r]]|0,A+=r<16?p(f,b,m)+P[0]:r<32?d(f,b,m)+P[1]:r<48?v(f,b,m)+P[2]:r<64?y(f,b,m)+P[3]:_(f,b,m)+P[4],A=(A=g(A|=0,k[r]))+E|0,i=E,E=m,m=g(b,10),b=f,f=A,A=B+t[e+L[r]]|0,A+=r<16?_(w,T,H)+C[0]:r<32?y(w,T,H)+C[1]:r<48?v(w,T,H)+C[2]:r<64?d(w,T,H)+C[3]:p(w,T,H)+C[4],A=(A=g(A|=0,M[r]))+S|0,B=S,S=H,H=g(T,10),T=w,w=A;A=x[1]+b+H|0,x[1]=x[2]+m+S|0,x[2]=x[3]+E+B|0,x[3]=x[4]+i+w|0,x[4]=x[0]+f+T|0,x[0]=A},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;e[n>>>5]|=128<<24-n%32,e[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),t.sigBytes=4*(e.length+1),this._process();for(var o=this._hash,i=o.words,a=0;a<5;a++){var s=i[a];i[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return o},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});function p(t,e,r){return t^e^r}function d(t,e,r){return t&e|~t&r}function v(t,e,r){return(t|~e)^r}function y(t,e,r){return t&r|e&~r}function _(t,e,r){return t^(e|~r)}function g(t,e){return t<<e|t>>>32-e}e.RIPEMD160=o._createHelper(f),e.HmacRIPEMD160=o._createHmacHelper(f)}(),t.RIPEMD160)),Le.exports;var t}(),Re(),function(){return Ie||(Ie=1,Ne.exports=(t=Zt(),me(),Re(),function(){var e=t,r=e.lib,n=r.Base,o=r.WordArray,i=e.algo,a=i.SHA256,s=i.HMAC,c=i.PBKDF2=n.extend({cfg:n.extend({keySize:4,hasher:a,iterations:25e4}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){for(var r=this.cfg,n=s.create(r.hasher,t),i=o.create(),a=o.create([1]),c=i.words,h=a.words,u=r.keySize,l=r.iterations;c.length<u;){var f=n.update(e).finalize(a);n.reset();for(var p=f.words,d=p.length,v=f,y=1;y<l;y++){v=n.finalize(v),n.reset();for(var _=v.words,g=0;g<d;g++)p[g]^=_[g]}i.concat(f),h[0]++}return i.sigBytes=4*u,i}});e.PBKDF2=function(t,e,r){return c.create(r).compute(t,e)}}(),t.PBKDF2)),Ne.exports;var t}(),Ge(),ze(),Ve(),$e(),Je(),er(),function(){return rr?nr.exports:(rr=1,nr.exports=(e=Zt(),ze(),e.mode.ECB=((t=e.lib.BlockCipherMode.extend()).Encryptor=t.extend({processBlock:function(t,e){this._cipher.encryptBlock(t,e)}}),t.Decryptor=t.extend({processBlock:function(t,e){this._cipher.decryptBlock(t,e)}}),t),e.mode.ECB));var t,e}(),function(){return or?ir.exports:(or=1,ir.exports=(t=Zt(),ze(),t.pad.AnsiX923={pad:function(t,e){var r=t.sigBytes,n=4*e,o=n-r%n,i=r+o-1;t.clamp(),t.words[i>>>2]|=o<<24-i%4*8,t.sigBytes+=o},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},t.pad.Ansix923));var t}(),function(){return ar?sr.exports:(ar=1,sr.exports=(t=Zt(),ze(),t.pad.Iso10126={pad:function(e,r){var n=4*r,o=n-e.sigBytes%n;e.concat(t.lib.WordArray.random(o-1)).concat(t.lib.WordArray.create([o<<24],1))},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},t.pad.Iso10126));var t}(),function(){return cr?hr.exports:(cr=1,hr.exports=(t=Zt(),ze(),t.pad.Iso97971={pad:function(e,r){e.concat(t.lib.WordArray.create([2147483648],1)),t.pad.ZeroPadding.pad(e,r)},unpad:function(e){t.pad.ZeroPadding.unpad(e),e.sigBytes--}},t.pad.Iso97971));var t}(),function(){return ur||(ur=1,lr.exports=(t=Zt(),ze(),t.pad.ZeroPadding={pad:function(t,e){var r=4*e;t.clamp(),t.sigBytes+=r-(t.sigBytes%r||r)},unpad:function(t){var e=t.words,r=t.sigBytes-1;for(r=t.sigBytes-1;r>=0;r--)if(e[r>>>2]>>>24-r%4*8&255){t.sigBytes=r+1;break}}},t.pad.ZeroPadding)),lr.exports;var t}(),function(){return fr?pr.exports:(fr=1,pr.exports=(t=Zt(),ze(),t.pad.NoPadding={pad:function(){},unpad:function(){}},t.pad.NoPadding));var t}(),function(){return dr||(dr=1,vr.exports=(t=Zt(),ze(),function(){var e=t,r=e.lib.CipherParams,n=e.enc.Hex;e.format.Hex={stringify:function(t){return t.ciphertext.toString(n)},parse:function(t){var e=n.parse(t);return r.create({ciphertext:e})}}}(),t.format.Hex)),vr.exports;var t}(),function(){return yr||(yr=1,_r.exports=(t=Zt(),ce(),de(),Ge(),ze(),function(){var e=t,r=e.lib.BlockCipher,n=e.algo,o=[],i=[],a=[],s=[],c=[],h=[],u=[],l=[],f=[],p=[];!function(){for(var t=[],e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;var r=0,n=0;for(e=0;e<256;e++){var d=n^n<<1^n<<2^n<<3^n<<4;d=d>>>8^255&d^99,o[r]=d,i[d]=r;var v=t[r],y=t[v],_=t[y],g=257*t[d]^16843008*d;a[r]=g<<24|g>>>8,s[r]=g<<16|g>>>16,c[r]=g<<8|g>>>24,h[r]=g,g=16843009*_^65537*y^257*v^16843008*r,u[d]=g<<24|g>>>8,l[d]=g<<16|g>>>16,f[d]=g<<8|g>>>24,p[d]=g,r?(r=v^t[t[t[_^v]]],n^=t[t[n]]):r=n=1}}();var d=[0,1,2,4,8,16,32,64,128,27,54],v=n.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,e=t.words,r=t.sigBytes/4,n=4*((this._nRounds=r+6)+1),i=this._keySchedule=[],a=0;a<n;a++)a<r?i[a]=e[a]:(h=i[a-1],a%r?r>6&&a%r==4&&(h=o[h>>>24]<<24|o[h>>>16&255]<<16|o[h>>>8&255]<<8|o[255&h]):(h=o[(h=h<<8|h>>>24)>>>24]<<24|o[h>>>16&255]<<16|o[h>>>8&255]<<8|o[255&h],h^=d[a/r|0]<<24),i[a]=i[a-r]^h);for(var s=this._invKeySchedule=[],c=0;c<n;c++){if(a=n-c,c%4)var h=i[a];else h=i[a-4];s[c]=c<4||a<=4?h:u[o[h>>>24]]^l[o[h>>>16&255]]^f[o[h>>>8&255]]^p[o[255&h]]}}},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._keySchedule,a,s,c,h,o)},decryptBlock:function(t,e){var r=t[e+1];t[e+1]=t[e+3],t[e+3]=r,this._doCryptBlock(t,e,this._invKeySchedule,u,l,f,p,i),r=t[e+1],t[e+1]=t[e+3],t[e+3]=r},_doCryptBlock:function(t,e,r,n,o,i,a,s){for(var c=this._nRounds,h=t[e]^r[0],u=t[e+1]^r[1],l=t[e+2]^r[2],f=t[e+3]^r[3],p=4,d=1;d<c;d++){var v=n[h>>>24]^o[u>>>16&255]^i[l>>>8&255]^a[255&f]^r[p++],y=n[u>>>24]^o[l>>>16&255]^i[f>>>8&255]^a[255&h]^r[p++],_=n[l>>>24]^o[f>>>16&255]^i[h>>>8&255]^a[255&u]^r[p++],g=n[f>>>24]^o[h>>>16&255]^i[u>>>8&255]^a[255&l]^r[p++];h=v,u=y,l=_,f=g}v=(s[h>>>24]<<24|s[u>>>16&255]<<16|s[l>>>8&255]<<8|s[255&f])^r[p++],y=(s[u>>>24]<<24|s[l>>>16&255]<<16|s[f>>>8&255]<<8|s[255&h])^r[p++],_=(s[l>>>24]<<24|s[f>>>16&255]<<16|s[h>>>8&255]<<8|s[255&u])^r[p++],g=(s[f>>>24]<<24|s[h>>>16&255]<<16|s[u>>>8&255]<<8|s[255&l])^r[p++],t[e]=v,t[e+1]=y,t[e+2]=_,t[e+3]=g},keySize:8});e.AES=r._createHelper(v)}(),t.AES)),_r.exports;var t}(),mr(),function(){return Er||(Er=1,Br.exports=(t=Zt(),ce(),de(),Ge(),ze(),function(){var e=t,r=e.lib.StreamCipher,n=e.algo,o=n.RC4=r.extend({_doReset:function(){for(var t=this._key,e=t.words,r=t.sigBytes,n=this._S=[],o=0;o<256;o++)n[o]=o;o=0;for(var i=0;o<256;o++){var a=o%r,s=e[a>>>2]>>>24-a%4*8&255;i=(i+n[o]+s)%256;var c=n[o];n[o]=n[i],n[i]=c}this._i=this._j=0},_doProcessBlock:function(t,e){t[e]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var t=this._S,e=this._i,r=this._j,n=0,o=0;o<4;o++){r=(r+t[e=(e+1)%256])%256;var i=t[e];t[e]=t[r],t[r]=i,n|=t[(t[e]+t[r])%256]<<24-8*o}return this._i=e,this._j=r,n}e.RC4=r._createHelper(o);var a=n.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var t=this.cfg.drop;t>0;t--)i.call(this)}});e.RC4Drop=r._createHelper(a)}(),t.RC4)),Br.exports;var t}(),function(){return wr||(wr=1,Tr.exports=(t=Zt(),ce(),de(),Ge(),ze(),function(){var e=t,r=e.lib.StreamCipher,n=e.algo,o=[],i=[],a=[],s=n.Rabbit=r.extend({_doReset:function(){for(var t=this._key.words,e=this.cfg.iv,r=0;r<4;r++)t[r]=16711935&(t[r]<<8|t[r]>>>24)|4278255360&(t[r]<<24|t[r]>>>8);var n=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],o=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];for(this._b=0,r=0;r<4;r++)c.call(this);for(r=0;r<8;r++)o[r]^=n[r+4&7];if(e){var i=e.words,a=i[0],s=i[1],h=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=h>>>16|4294901760&u,f=u<<16|65535&h;for(o[0]^=h,o[1]^=l,o[2]^=u,o[3]^=f,o[4]^=h,o[5]^=l,o[6]^=u,o[7]^=f,r=0;r<4;r++)c.call(this)}},_doProcessBlock:function(t,e){var r=this._X;c.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),t[e+n]^=o[n]},blockSize:4,ivSize:2});function c(){for(var t=this._X,e=this._C,r=0;r<8;r++)i[r]=e[r];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<i[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<i[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<i[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<i[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<i[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<i[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<i[6]>>>0?1:0)|0,this._b=e[7]>>>0<i[7]>>>0?1:0,r=0;r<8;r++){var n=t[r]+e[r],o=65535&n,s=n>>>16,c=((o*o>>>17)+o*s>>>15)+s*s,h=((4294901760&n)*n|0)+((65535&n)*n|0);a[r]=c^h}t[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,t[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,t[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,t[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,t[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,t[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,t[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,t[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.Rabbit=r._createHelper(s)}(),t.Rabbit)),Tr.exports;var t}(),function(){return Hr||(Hr=1,Sr.exports=(t=Zt(),ce(),de(),Ge(),ze(),function(){var e=t,r=e.lib.StreamCipher,n=e.algo,o=[],i=[],a=[],s=n.RabbitLegacy=r.extend({_doReset:function(){var t=this._key.words,e=this.cfg.iv,r=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],n=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(var o=0;o<4;o++)c.call(this);for(o=0;o<8;o++)n[o]^=r[o+4&7];if(e){var i=e.words,a=i[0],s=i[1],h=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=h>>>16|4294901760&u,f=u<<16|65535&h;for(n[0]^=h,n[1]^=l,n[2]^=u,n[3]^=f,n[4]^=h,n[5]^=l,n[6]^=u,n[7]^=f,o=0;o<4;o++)c.call(this)}},_doProcessBlock:function(t,e){var r=this._X;c.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),t[e+n]^=o[n]},blockSize:4,ivSize:2});function c(){for(var t=this._X,e=this._C,r=0;r<8;r++)i[r]=e[r];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<i[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<i[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<i[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<i[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<i[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<i[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<i[6]>>>0?1:0)|0,this._b=e[7]>>>0<i[7]>>>0?1:0,r=0;r<8;r++){var n=t[r]+e[r],o=65535&n,s=n>>>16,c=((o*o>>>17)+o*s>>>15)+s*s,h=((4294901760&n)*n|0)+((65535&n)*n|0);a[r]=c^h}t[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,t[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,t[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,t[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,t[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,t[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,t[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,t[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.RabbitLegacy=r._createHelper(s)}(),t.RabbitLegacy)),Sr.exports;var t}(),Pr())),Vt.exports),kr=Lt(Lr),Mr="https://cdn.gtx.dev",Rr="en";"function"==typeof SuppressedError&&SuppressedError;var Ir="DEFAULT_TERMINATOR_KEY";function Nr(t){var e=t.icuString,r=t.shouldVisit,o=t.visitor,i=t.options,a=i.recurseIntoVisited,s=void 0===a||a,c=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}(i,["recurseIntoVisited"]),h=function(t,e){void 0===e&&(e={}),e=n({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var r=new Ht(t,e).parse();if(r.err){var o=SyntaxError(N[r.err.kind]);throw o.location=r.err.location,o.originalMessage=r.err.message,o}return(null==e?void 0:e.captureLocation)||Ct(r.val),r.val}(e,c);return u(h),h;function u(t){t.map(l)}function l(t){var e=!1;r(t)&&(o(t),e=!0),e&&!s||(t.type===D.select||t.type===D.plural?Object.values(t.options).map(function(t){return t.value}).map(u):t.type===D.tag&&u(t.children))}}var Dr="_gt_",Ur=new RegExp("^".concat(Dr,"\\d+$")),Gr=new RegExp("^".concat(Dr,"$"));function jr(t){var e;return t.type===Dt.TYPE.select&&Ur.test(t.value)&&!!t.options.other&&(0===t.options.other.value.length||t.options.other.value.length>0&&(null===(e=t.options.other.value[0])||void 0===e?void 0:e.type)===Dt.TYPE.literal)}function Fr(t){var e;return t.type===Dt.TYPE.select&&Gr.test(t.value)&&!!t.options.other&&(0===t.options.other.value.length||t.options.other.value.length>0&&(null===(e=t.options.other.value[0])||void 0===e?void 0:e.type)===Dt.TYPE.literal)}function zr(t){if(!t.includes(Dr))return t;var e=[];Nr({icuString:t,shouldVisit:Fr,visitor:function(t){var r,n,o,i,a,s,c,h;e.push({start:null!==(n=null===(r=t.location)||void 0===r?void 0:r.start.offset)&&void 0!==n?n:0,end:null!==(i=null===(o=t.location)||void 0===o?void 0:o.end.offset)&&void 0!==i?i:0,otherStart:null!==(s=null===(a=t.options.other.location)||void 0===a?void 0:a.start.offset)&&void 0!==s?s:0,otherEnd:null!==(h=null===(c=t.options.other.location)||void 0===c?void 0:c.end.offset)&&void 0!==h?h:0})},options:{recurseIntoVisited:!1,captureLocation:!0}});for(var r=[],n=0,o=0;o<e.length;o++){var i=e[o],a=i.start,s=i.end,c=i.otherStart,h=i.otherEnd;r.push(t.slice(n,a)),r.push(t.slice(a,a+4+1)),r.push(String(o+1)),r.push(t.slice(a+4+1,c)),r.push("{}"),r.push(t.slice(h,s)),n=s}return r.push(t.slice(n,t.length)),r.join("")}var Kr=function(){return Kr=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Kr.apply(this,arguments)};function Xr(t){return kr.SHA256(t).toString(kr.enc.Hex).slice(0,16)}function Vr(t,e){var r,n=t.source,o=t.context,i=t.id,a=t.maxChars,s=t.dataFormat;void 0===e&&(e=Xr),r="JSX"===s?Yr(n):n;var c=Kr(Kr(Kr(Kr({source:r},i&&{id:i}),o&&{context:o}),null!=a&&{maxChars:Math.abs(a)}),s&&{dataFormat:s});return e(Xt(c))}"function"==typeof SuppressedError&&SuppressedError;var Wr=function(t){if(t&&"object"==typeof t){var e={};if("c"in t&&t.c&&(e.c=Yr(t.c)),"d"in t){var r=null==t?void 0:t.d;(null==r?void 0:r.b)&&(e.b=Object.fromEntries(Object.entries(r.b).map(function(t){return[t[0],Yr(t[1])]}))),(null==r?void 0:r.t)&&(e.t=r.t)}return function(t){var e=t;if(e&&"object"==typeof e&&"string"==typeof e.k){var r=Object.keys(e);if(1===r.length)return!0;if(2===r.length){if("number"==typeof e.i)return!0;if("string"==typeof e.v)return!0}if(3===r.length&&"string"==typeof e.v&&"number"==typeof e.i)return!0}return!1}(t)?Kr({k:t.k},t.v&&{v:t.v}):e}return t};function Yr(t){return Array.isArray(t)?t.map(Wr):Wr(t)}var $r=function(t,e){return $r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},$r(t,e)},Zr=function(){return Zr=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Zr.apply(this,arguments)};function qr(t,e,r,n){return new(r||(r=Promise))(function(o,i){function a(t){try{c(n.next(t))}catch(t){i(t)}}function s(t){try{c(n.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r(function(t){t(e)})).then(a,s)}c((n=n.apply(t,e||[])).next())})}function Jr(t,e){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=e.call(t,i)}catch(t){s=[6,t],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}function Qr(t,e,r){for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var tn,en=function(t){console.warn(t)},rn=function(t){console.error(t)};function nn(t){return t.loadTranslations?tn.CUSTOM:t.cacheUrl?tn.REMOTE:void 0!==t.cacheUrl&&t.cacheUrl!==Mr||!t.projectId?tn.DISABLED:tn.GT_REMOTE}!function(t){t.GT_REMOTE="gt-remote",t.REMOTE="remote",t.CUSTOM="custom",t.DISABLED="disabled"}(tn||(tn={}));var on,an=function(){function e(e){var r;this.cache=new Map,this.resolvedCache=new Map,this.translationEntryTTL=null===e.cacheExpiryTime?-1:null!==(r=e.cacheExpiryTime)&&void 0!==r?r:6e4;var n=function(e){var r=nn(e);switch(r===tn.DISABLED&&en("I18nManager: No translation loader found. No translations will be loaded."),r){case tn.REMOTE:case tn.GT_REMOTE:return function(e){var r=this,n=function(t){var e=t.cacheUrl,r=void 0===e?Mr:e,n=t.projectId,o=t._versionId,i=t._branchId,a=o?"/".concat(o):"",s=i?"?branchId=".concat(i):"";return"".concat(r,"/").concat(n,"/[locale]")+a+s}(e);return function(o){return qr(r,void 0,void 0,function(){var r,i;return Jr(this,function(a){switch(a.label){case 0:return o=t.resolveCanonicalLocale(o,e.customMapping),r=n.replace("[locale]",o),[4,fetch(r)];case 1:if(!(i=a.sent()).ok)throw new Error("Failed to load translations from ".concat(r));return[4,i.json()];case 2:return[2,a.sent()]}})})}}({cacheUrl:e.cacheUrl,projectId:e.projectId,_versionId:e._versionId,_branchId:e._branchId,customMapping:e.customMapping});case tn.CUSTOM:return e.loadTranslations;case tn.DISABLED:return function(){var t=this;return function(e){return qr(t,void 0,void 0,function(){return Jr(this,function(t){return[2,{}]})})}}()}}(e);this.translationLoader=this.attachResolveCaptureToTranslationLoader(this.protectTranslationLoader(n))}return e.prototype.protectTranslationLoader=function(t){var e=this;return function(r){return qr(e,void 0,void 0,function(){var e;return Jr(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,t(r)];case 1:return[2,n.sent()||{}];case 2:return e=n.sent(),rn("Failed to load translations "+e),this.cache.delete(r),[2,{}];case 3:return[2]}})})}},e.prototype.attachResolveCaptureToTranslationLoader=function(t){var e=this;return function(r){return qr(e,void 0,void 0,function(){var e;return Jr(this,function(n){switch(n.label){case 0:return[4,t(r)];case 1:return e=n.sent(),this.resolvedCache.set(r,e),[2,e]}})})}},e.prototype.handleCacheMiss=function(t){return qr(this,void 0,void 0,function(){var e,r,n;return Jr(this,function(o){return e=this.translationLoader(t),r=this.translationEntryTTL<0?this.translationEntryTTL:Date.now()+this.translationEntryTTL,n={promise:e,expiresAt:r},this.cache.set(t,n),[2,e]})})},e.prototype.isCacheHit=function(t){if(!this.cache.has(t))return!1;var e=this.cache.get(t).expiresAt;return e<0||e>Date.now()},e.prototype.getTranslations=function(t){return qr(this,void 0,void 0,function(){return Jr(this,function(e){return this.isCacheHit(t)?[2,this.cache.get(t).promise]:[2,this.handleCacheMiss(t)]})})},e.prototype.getTranslationsSync=function(t){return this.resolvedCache.get(t)},e.prototype.getTranslationLoader=function(){return this.translationLoader},e}();function sn(t){return void 0!==t.runtimeUrl&&"https://runtime2.gtx.dev"!==t.runtimeUrl||!t.projectId||!t.devApiKey&&!t.apiKey?t.runtimeUrl?on.CUSTOM:on.DISABLED:on.GT}function cn(t){return nn(t)===tn.GT_REMOTE||sn(t)===on.GT}!function(t){t.GT="gt",t.CUSTOM="custom",t.DISABLED="disabled"}(on||(on={}));var hn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="fallback-storage-adapter",e.storage={},e}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}$r(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}(e,t),e.prototype.getItem=function(t){return this.storage[t]},e.prototype.setItem=function(t,e){this.storage[t]=e},e.prototype.removeItem=function(t){delete this.storage[t]},e}(function(){});function un(t,e){return Vr(Zr(Zr(Zr(Zr({source:zr(t)},(null==e?void 0:e.$context)&&{context:e.$context}),(null==e?void 0:e.$id)&&{id:e.$id}),null!=(null==e?void 0:e.$maxChars)&&{maxChars:Math.abs(e.$maxChars)}),{dataFormat:"ICU"}))}var ln=function(){function e(e){var r,n,o,i,a=this;this.resolveTranslationSync=function(t,e){var r=a.getLocale(),n=a.translationsManager.getTranslationsSync(r);if(n)return n[un(t,e)]},function(t,e,r){if(void 0===r&&(r=!0),t.forEach(function(t){switch(t.type){case"error":rn(e+t.message);break;case"warning":en(e+t.message)}}),r&&t.some(function(t){return"error"===t.type}))throw new Error("Validation errors occurred")}(function(e){var r=[];return r.push.apply(r,function(t){var e=[],r=t.projectId,n=t.loadTranslations;switch(nn(t)){case tn.REMOTE:case tn.GT_REMOTE:r||e.push({type:"warning",message:"projectId is required when loading translations from a remote store"});break;case tn.CUSTOM:n||e.push({type:"error",message:"loadTranslations is required when loading translations from a custom loader"});case tn.DISABLED:}return e}(e)),r.push.apply(r,function(t){var e=[];switch(sn(t)){case on.CUSTOM:case on.GT:t.projectId||e.push({type:"warning",message:"projectId is required"}),t.devApiKey||t.apiKey||e.push({type:"warning",message:"devApiKey or apiKey is required"});case on.DISABLED:}return e}(e)),r.push.apply(r,function(e){var r=[];if(!cn(e))return r;var n=e.defaultLocale,o=e.locales,i=e.customMapping;return new Set(Qr(Qr([],n?[n]:[]),o||[])).forEach(function(e){t.isValidLocale(e,i)||r.push({type:"error",message:"Invalid locale: ".concat(e)})}),r}(e)),r}(e),"I18nManager: "),this.config=(o=cn(n=e),i=function(t){var e=t.defaultLocale,r=t.locales,n=t.customMapping;return{defaultLocale:e,locales:Array.from(new Set(Qr([e],r))),customMapping:n||{}}}({defaultLocale:n.defaultLocale||Rr,locales:n.locales||[Rr],customMapping:n.customMapping}),Zr({enableI18n:void 0===n.enableI18n||n.enableI18n,projectId:n.projectId,devApiKey:n.devApiKey,apiKey:n.apiKey,runtimeUrl:n.runtimeUrl,_versionId:n._versionId},o?function(e){var r=t.standardizeLocale(e.defaultLocale),n=e.locales.map(function(r){var n,o,i,a;return("string"==typeof(null===(n=e.customMapping)||void 0===n?void 0:n[r])?null===(o=e.customMapping)||void 0===o?void 0:o[r]:null===(a=null===(i=e.customMapping)||void 0===i?void 0:i[r])||void 0===a?void 0:a.code)?r:t.standardizeLocale(r)}),o=Object.fromEntries(Object.entries(e.customMapping||{}).map(function(e){var r=e[0],n=e[1];return[r,"string"==typeof n?t.standardizeLocale(n):Zr(Zr({},n),n.code?{code:t.standardizeLocale(n.code)}:{})]}));return{defaultLocale:r,locales:n,customMapping:o}}(i):i)),this.storeAdapter=null!==(r=e.storeAdapter)&&void 0!==r?r:new hn,this.translationsManager=new an(e)}return e.prototype.getAdapterType=function(){return this.storeAdapter.type},e.prototype.getLocale=function(){return this.storeAdapter.getItem("locale")||(en("getLocale() invoked outside of translation context, falling back to default locale"),this.config.defaultLocale)},e.prototype.setLocale=function(t){this.storeAdapter.setItem("locale",t)},e.prototype.getDefaultLocale=function(){return this.config.defaultLocale},e.prototype.getLocales=function(){return this.config.locales},e.prototype.getVersionId=function(){return this.config._versionId},e.prototype.getGTClass=function(){return new t.GT({sourceLocale:this.config.defaultLocale,targetLocale:this.getLocale(),locales:this.config.locales,customMapping:this.config.customMapping,projectId:this.config.projectId,baseUrl:this.config.runtimeUrl||void 0,apiKey:this.config.apiKey,devApiKey:this.config.devApiKey})},e.prototype.isTranslationEnabled=function(){return this.config.enableI18n},e.prototype.getTranslationLoader=function(){return this.translationsManager.getTranslationLoader()},e.prototype.getTranslations=function(){return qr(this,arguments,void 0,function(t){return void 0===t&&(t=this.getLocale()),Jr(this,function(e){if(!this.config.locales.includes(t))throw new Error("Locale ".concat(t," not found in config"));return[2,this.translationsManager.getTranslations(t)]})})},e.prototype.getTranslationResolver=function(){return qr(this,arguments,void 0,function(t){var e;return void 0===t&&(t=this.getLocale()),Jr(this,function(r){switch(r.label){case 0:return!1===this.config.enableI18n||t===this.config.defaultLocale?[2,function(t){return t}]:[4,this.translationsManager.getTranslations(t)];case 1:return e=r.sent(),[2,function(t,r){var n=un(t,r);return e[n]}]}})})},e.prototype.requiresTranslation=function(t){void 0===t&&(t=this.getLocale());var e=this.getDefaultLocale(),r=this.getGTClass(),n=this.getLocales();return this.config.enableI18n&&r.requiresTranslation(e,t,n)},e.prototype.requiresDialectTranslation=function(t){void 0===t&&(t=this.getLocale());var e=this.getDefaultLocale(),r=this.getGTClass();return this.requiresTranslation(t)&&r.isSameLanguage(e,t)},e}(),fn=void 0;var pn=function(t){return'String interpolation failed for message: "'.concat(t,'".')};function dn(e,r){var n;if(!e)return e;var o=r.$_fallback,i=function(t){return Object.fromEntries(Object.entries(t).filter(function(t){var e=t[0];return"$id"!==e&&"$context"!==e&&"$maxChars"!==e&&"$hash"!==e&&"$_hash"!==e&&"$_source"!==e&&"$_fallback"!==e}))}(r);try{var a=function(t){if(!t.includes(Dr))return{};var e=1,r={};return Nr({icuString:t,shouldVisit:Fr,visitor:function(t){var n;r[t.value+e]=t.options.other.value.length?null===(n=t.options.other.value[0])||void 0===n?void 0:n.value:"",e+=1},options:{recurseIntoVisited:!1}}),r}(o||""),s=function(e,r){try{return t.formatMessage(e,{variables:r})}catch(r){return en(pn(e)),e}}(Object.keys(a).length?function(t){if(!t.includes(Dr))return t;var e=Nr({icuString:t,shouldVisit:jr,visitor:function(t){t.type=Dt.TYPE.argument,delete t.options},options:{recurseIntoVisited:!1}});return zt.printAST(e)}(e):e,Zr(Zr(Zr({},i),a),((n={})[Dr]="other",n)));return t.formatCutoff(s,{maxChars:r.$maxChars})}catch(n){return en(pn(e)),null!=o?dn(o,Zr(Zr({},r),{$_fallback:void 0})):t.formatCutoff(e,{maxChars:r.$maxChars})}}var vn=function(t,e){void 0===e&&(e={});var r=(fn||(en("getI18nManager(): Translation failed because I18nManager not initialized."),fn=new ln({defaultLocale:Rr,locales:[Rr]})),fn).resolveTranslationSync(t,e);if(r)return dn(r,Zr(Zr({},e),{$_fallback:t}))},yn=function(t,e){return void 0===e&&(e={}),vn(t,e)||dn(t,e)};globalThis.t=(t,...e)=>{var r;return"undefined"==typeof window&&console.warn(`gt-react Warning: Translation failed for t("${"string"==typeof(r=t)?r:"`"+(null==r?void 0:r.join("${}"))+"`"}") because it was used outside of a browser environment. Falling back to original message.`),"string"==typeof t?yn(t,e.at(0)):function(t,e){const r=function(t,e){return t.map((t,r)=>{var n;return t+(null!==(n=e[r])&&void 0!==n?n:"")}).join("")}(t,e),n=vn(r);if(n)return n;const{message:o,variables:i}=function(t,e){const r=[],n={};let o=0;for(let i=0;i<t.length;i++)if(r.push(t[i]),i<e.length){const t=o.toString();r.push(`{${t}}`),n[t]=e[i],o++}return{message:r.join(""),variables:n}}(t,e);return yn(o,i)}(t,e)};
19
19
  //# sourceMappingURL=macros.cjs.min.cjs.map