@redocly/replay 0.15.0-next.13 → 0.15.0-next.14

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.
@@ -9621,7 +9621,7 @@ function Eg() {
9621
9621
  }
9622
9622
  const ji = class ji {
9623
9623
  static async getUtils() {
9624
- return ji.utils || (ji.utils = Eg() ? await import("./replay-tauri-path-BWORPdkL.js") : await Promise.resolve().then(() => uF)), ji.utils;
9624
+ return ji.utils || (ji.utils = Eg() ? await import("./replay-tauri-path-BqhiLMQW.js") : await Promise.resolve().then(() => uF)), ji.utils;
9625
9625
  }
9626
9626
  static async join(...e) {
9627
9627
  return (await ji.getUtils()).join(...e);
@@ -42846,7 +42846,9 @@ class Uoe {
42846
42846
  const c = a.replace(/([A-Z])/g, "_$1").toLowerCase();
42847
42847
  l !== void 0 && (i[`cloudevents.event_data.${c}`] = l);
42848
42848
  }), Object.entries(e).forEach(([a, l]) => {
42849
- ["id", "source", "type", "specversion", "time", "datacontenttype", "data", "subject", "sourceDetails"].includes(a) || l !== void 0 && (i[`cloudevents.${a}`] = l);
42849
+ ["id", "source", "type", "specversion", "time", "datacontenttype", "data", "subject", "sourceDetails"].includes(a) || l !== void 0 && (l instanceof Object ? Object.entries(l).forEach(([c, u]) => {
42850
+ u !== void 0 && (i[`cloudevents.${a}.${c}`] = u);
42851
+ }) : i[`cloudevents.${a}`] = l);
42850
42852
  }), i;
42851
42853
  }
42852
42854
  startSpan(e, n) {
@@ -43074,7 +43076,7 @@ const r0 = Er({});
43074
43076
  function uS() {
43075
43077
  return fn(r0) || {};
43076
43078
  }
43077
- const tse = "0.15.0-next.13", nse = {
43079
+ const tse = "0.15.0-next.14", nse = {
43078
43080
  version: tse
43079
43081
  };
43080
43082
  class rse {
@@ -152,7 +152,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
152
152
  * Counter block mode compatible with Dr Brian Gladman fileenc.c
153
153
  * derived from CryptoJS.mode.CTR
154
154
  * Jan Hruby jhruby.web@gmail.com
155
- */return n.mode.CTRGladman=function(){var r=n.lib.BlockCipherMode.extend();function i(a){if((a>>24&255)===255){var l=a>>16&255,c=a>>8&255,u=a&255;l===255?(l=0,c===255?(c=0,u===255?u=0:++u):++c):++l,a=0,a+=l<<16,a+=c<<8,a+=u}else a+=1<<24;return a}function o(a){return(a[0]=i(a[0]))===0&&(a[1]=i(a[1])),a}var s=r.Encryptor=r.extend({processBlock:function(a,l){var c=this._cipher,u=c.blockSize,f=this._iv,d=this._counter;f&&(d=this._counter=f.slice(0),this._iv=void 0),o(d);var p=d.slice(0);c.encryptBlock(p,0);for(var g=0;g<u;g++)a[l+g]^=p[g]}});return r.Decryptor=s,r}(),n.mode.CTRGladman})}(Y0)),Y0.exports}var H0={exports:{}},Bw;function cQ(){return Bw||(Bw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),an())})($e,function(n){return n.mode.OFB=function(){var r=n.lib.BlockCipherMode.extend(),i=r.Encryptor=r.extend({processBlock:function(o,s){var a=this._cipher,l=a.blockSize,c=this._iv,u=this._keystream;c&&(u=this._keystream=c.slice(0),this._iv=void 0),a.encryptBlock(u,0);for(var f=0;f<l;f++)o[s+f]^=u[f]}});return r.Decryptor=i,r}(),n.mode.OFB})}(H0)),H0.exports}var q0={exports:{}},Qw;function uQ(){return Qw||(Qw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),an())})($e,function(n){return n.mode.ECB=function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(i,o){this._cipher.encryptBlock(i,o)}}),r.Decryptor=r.extend({processBlock:function(i,o){this._cipher.decryptBlock(i,o)}}),r}(),n.mode.ECB})}(q0)),q0.exports}var J0={exports:{}},Lw;function fQ(){return Lw||(Lw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),an())})($e,function(n){return n.pad.AnsiX923={pad:function(r,i){var o=r.sigBytes,s=i*4,a=s-o%s,l=o+a-1;r.clamp(),r.words[l>>>2]|=a<<24-l%4*8,r.sigBytes+=a},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Ansix923})}(J0)),J0.exports}var K0={exports:{}},Fw;function dQ(){return Fw||(Fw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),an())})($e,function(n){return n.pad.Iso10126={pad:function(r,i){var o=i*4,s=o-r.sigBytes%o;r.concat(n.lib.WordArray.random(s-1)).concat(n.lib.WordArray.create([s<<24],1))},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Iso10126})}(K0)),K0.exports}var em={exports:{}},Vw;function hQ(){return Vw||(Vw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),an())})($e,function(n){return n.pad.Iso97971={pad:function(r,i){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,i)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})}(em)),em.exports}var tm={exports:{}},zw;function pQ(){return zw||(zw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),an())})($e,function(n){return n.pad.ZeroPadding={pad:function(r,i){var o=i*4;r.clamp(),r.sigBytes+=o-(r.sigBytes%o||o)},unpad:function(r){for(var i=r.words,o=r.sigBytes-1,o=r.sigBytes-1;o>=0;o--)if(i[o>>>2]>>>24-o%4*8&255){r.sigBytes=o+1;break}}},n.pad.ZeroPadding})}(tm)),tm.exports}var nm={exports:{}},Ww;function gQ(){return Ww||(Ww=1,function(t,e){(function(n,r,i){t.exports=r(qe(),an())})($e,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(nm)),nm.exports}var rm={exports:{}},Zw;function mQ(){return Zw||(Zw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),an())})($e,function(n){return function(r){var i=n,o=i.lib,s=o.CipherParams,a=i.enc,l=a.Hex,c=i.format;c.Hex={stringify:function(u){return u.ciphertext.toString(l)},parse:function(u){var f=l.parse(u);return s.create({ciphertext:f})}}}(),n.format.Hex})}(rm)),rm.exports}var im={exports:{}},Xw;function vQ(){return Xw||(Xw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),Hs(),qs(),ts(),an())})($e,function(n){return function(){var r=n,i=r.lib,o=i.BlockCipher,s=r.algo,a=[],l=[],c=[],u=[],f=[],d=[],p=[],g=[],m=[],v=[];(function(){for(var y=[],S=0;S<256;S++)S<128?y[S]=S<<1:y[S]=S<<1^283;for(var b=0,w=0,S=0;S<256;S++){var C=w^w<<1^w<<2^w<<3^w<<4;C=C>>>8^C&255^99,a[b]=C,l[C]=b;var P=y[b],A=y[P],I=y[A],T=y[C]*257^C*16843008;c[b]=T<<24|T>>>8,u[b]=T<<16|T>>>16,f[b]=T<<8|T>>>24,d[b]=T;var T=I*16843009^A*65537^P*257^b*16843008;p[C]=T<<24|T>>>8,g[C]=T<<16|T>>>16,m[C]=T<<8|T>>>24,v[C]=T,b?(b=P^y[y[y[I^P]]],w^=y[y[w]]):b=w=1}})();var O=[0,1,2,4,8,16,32,64,128,27,54],x=s.AES=o.extend({_doReset:function(){var y;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var S=this._keyPriorReset=this._key,b=S.words,w=S.sigBytes/4,C=this._nRounds=w+6,P=(C+1)*4,A=this._keySchedule=[],I=0;I<P;I++)I<w?A[I]=b[I]:(y=A[I-1],I%w?w>6&&I%w==4&&(y=a[y>>>24]<<24|a[y>>>16&255]<<16|a[y>>>8&255]<<8|a[y&255]):(y=y<<8|y>>>24,y=a[y>>>24]<<24|a[y>>>16&255]<<16|a[y>>>8&255]<<8|a[y&255],y^=O[I/w|0]<<24),A[I]=A[I-w]^y);for(var T=this._invKeySchedule=[],j=0;j<P;j++){var I=P-j;if(j%4)var y=A[I];else var y=A[I-4];j<4||I<=4?T[j]=y:T[j]=p[a[y>>>24]]^g[a[y>>>16&255]]^m[a[y>>>8&255]]^v[a[y&255]]}}},encryptBlock:function(y,S){this._doCryptBlock(y,S,this._keySchedule,c,u,f,d,a)},decryptBlock:function(y,S){var b=y[S+1];y[S+1]=y[S+3],y[S+3]=b,this._doCryptBlock(y,S,this._invKeySchedule,p,g,m,v,l);var b=y[S+1];y[S+1]=y[S+3],y[S+3]=b},_doCryptBlock:function(y,S,b,w,C,P,A,I){for(var T=this._nRounds,j=y[S]^b[0],B=y[S+1]^b[1],V=y[S+2]^b[2],Q=y[S+3]^b[3],z=4,U=1;U<T;U++){var Z=w[j>>>24]^C[B>>>16&255]^P[V>>>8&255]^A[Q&255]^b[z++],Y=w[B>>>24]^C[V>>>16&255]^P[Q>>>8&255]^A[j&255]^b[z++],N=w[V>>>24]^C[Q>>>16&255]^P[j>>>8&255]^A[B&255]^b[z++],L=w[Q>>>24]^C[j>>>16&255]^P[B>>>8&255]^A[V&255]^b[z++];j=Z,B=Y,V=N,Q=L}var Z=(I[j>>>24]<<24|I[B>>>16&255]<<16|I[V>>>8&255]<<8|I[Q&255])^b[z++],Y=(I[B>>>24]<<24|I[V>>>16&255]<<16|I[Q>>>8&255]<<8|I[j&255])^b[z++],N=(I[V>>>24]<<24|I[Q>>>16&255]<<16|I[j>>>8&255]<<8|I[B&255])^b[z++],L=(I[Q>>>24]<<24|I[j>>>16&255]<<16|I[B>>>8&255]<<8|I[V&255])^b[z++];y[S]=Z,y[S+1]=Y,y[S+2]=N,y[S+3]=L},keySize:256/32});r.AES=o._createHelper(x)}(),n.AES})}(im)),im.exports}var om={exports:{}},Gw;function OQ(){return Gw||(Gw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),Hs(),qs(),ts(),an())})($e,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,s=i.BlockCipher,a=r.algo,l=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],c=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],p=a.DES=s.extend({_doReset:function(){for(var O=this._key,x=O.words,y=[],S=0;S<56;S++){var b=l[S]-1;y[S]=x[b>>>5]>>>31-b%32&1}for(var w=this._subKeys=[],C=0;C<16;C++){for(var P=w[C]=[],A=u[C],S=0;S<24;S++)P[S/6|0]|=y[(c[S]-1+A)%28]<<31-S%6,P[4+(S/6|0)]|=y[28+(c[S+24]-1+A)%28]<<31-S%6;P[0]=P[0]<<1|P[0]>>>31;for(var S=1;S<7;S++)P[S]=P[S]>>>(S-1)*4+3;P[7]=P[7]<<5|P[7]>>>27}for(var I=this._invSubKeys=[],S=0;S<16;S++)I[S]=w[15-S]},encryptBlock:function(O,x){this._doCryptBlock(O,x,this._subKeys)},decryptBlock:function(O,x){this._doCryptBlock(O,x,this._invSubKeys)},_doCryptBlock:function(O,x,y){this._lBlock=O[x],this._rBlock=O[x+1],g.call(this,4,252645135),g.call(this,16,65535),m.call(this,2,858993459),m.call(this,8,16711935),g.call(this,1,1431655765);for(var S=0;S<16;S++){for(var b=y[S],w=this._lBlock,C=this._rBlock,P=0,A=0;A<8;A++)P|=f[A][((C^b[A])&d[A])>>>0];this._lBlock=C,this._rBlock=w^P}var I=this._lBlock;this._lBlock=this._rBlock,this._rBlock=I,g.call(this,1,1431655765),m.call(this,8,16711935),m.call(this,2,858993459),g.call(this,16,65535),g.call(this,4,252645135),O[x]=this._lBlock,O[x+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function g(O,x){var y=(this._lBlock>>>O^this._rBlock)&x;this._rBlock^=y,this._lBlock^=y<<O}function m(O,x){var y=(this._rBlock>>>O^this._lBlock)&x;this._lBlock^=y,this._rBlock^=y<<O}r.DES=s._createHelper(p);var v=a.TripleDES=s.extend({_doReset:function(){var O=this._key,x=O.words;if(x.length!==2&&x.length!==4&&x.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var y=x.slice(0,2),S=x.length<4?x.slice(0,2):x.slice(2,4),b=x.length<6?x.slice(0,2):x.slice(4,6);this._des1=p.createEncryptor(o.create(y)),this._des2=p.createEncryptor(o.create(S)),this._des3=p.createEncryptor(o.create(b))},encryptBlock:function(O,x){this._des1.encryptBlock(O,x),this._des2.decryptBlock(O,x),this._des3.encryptBlock(O,x)},decryptBlock:function(O,x){this._des3.decryptBlock(O,x),this._des2.encryptBlock(O,x),this._des1.decryptBlock(O,x)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=s._createHelper(v)}(),n.TripleDES})}(om)),om.exports}var sm={exports:{}},Uw;function xQ(){return Uw||(Uw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),Hs(),qs(),ts(),an())})($e,function(n){return function(){var r=n,i=r.lib,o=i.StreamCipher,s=r.algo,a=s.RC4=o.extend({_doReset:function(){for(var u=this._key,f=u.words,d=u.sigBytes,p=this._S=[],g=0;g<256;g++)p[g]=g;for(var g=0,m=0;g<256;g++){var v=g%d,O=f[v>>>2]>>>24-v%4*8&255;m=(m+p[g]+O)%256;var x=p[g];p[g]=p[m],p[m]=x}this._i=this._j=0},_doProcessBlock:function(u,f){u[f]^=l.call(this)},keySize:256/32,ivSize:0});function l(){for(var u=this._S,f=this._i,d=this._j,p=0,g=0;g<4;g++){f=(f+1)%256,d=(d+u[f])%256;var m=u[f];u[f]=u[d],u[d]=m,p|=u[(u[f]+u[d])%256]<<24-g*8}return this._i=f,this._j=d,p}r.RC4=o._createHelper(a);var c=s.RC4Drop=a.extend({cfg:a.cfg.extend({drop:192}),_doReset:function(){a._doReset.call(this);for(var u=this.cfg.drop;u>0;u--)l.call(this)}});r.RC4Drop=o._createHelper(c)}(),n.RC4})}(sm)),sm.exports}var am={exports:{}},Yw;function yQ(){return Yw||(Yw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),Hs(),qs(),ts(),an())})($e,function(n){return function(){var r=n,i=r.lib,o=i.StreamCipher,s=r.algo,a=[],l=[],c=[],u=s.Rabbit=o.extend({_doReset:function(){for(var d=this._key.words,p=this.cfg.iv,g=0;g<4;g++)d[g]=(d[g]<<8|d[g]>>>24)&16711935|(d[g]<<24|d[g]>>>8)&4278255360;var m=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],v=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var g=0;g<4;g++)f.call(this);for(var g=0;g<8;g++)v[g]^=m[g+4&7];if(p){var O=p.words,x=O[0],y=O[1],S=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,b=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,w=S>>>16|b&4294901760,C=b<<16|S&65535;v[0]^=S,v[1]^=w,v[2]^=b,v[3]^=C,v[4]^=S,v[5]^=w,v[6]^=b,v[7]^=C;for(var g=0;g<4;g++)f.call(this)}},_doProcessBlock:function(d,p){var g=this._X;f.call(this),a[0]=g[0]^g[5]>>>16^g[3]<<16,a[1]=g[2]^g[7]>>>16^g[5]<<16,a[2]=g[4]^g[1]>>>16^g[7]<<16,a[3]=g[6]^g[3]>>>16^g[1]<<16;for(var m=0;m<4;m++)a[m]=(a[m]<<8|a[m]>>>24)&16711935|(a[m]<<24|a[m]>>>8)&4278255360,d[p+m]^=a[m]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,p=this._C,g=0;g<8;g++)l[g]=p[g];p[0]=p[0]+1295307597+this._b|0,p[1]=p[1]+3545052371+(p[0]>>>0<l[0]>>>0?1:0)|0,p[2]=p[2]+886263092+(p[1]>>>0<l[1]>>>0?1:0)|0,p[3]=p[3]+1295307597+(p[2]>>>0<l[2]>>>0?1:0)|0,p[4]=p[4]+3545052371+(p[3]>>>0<l[3]>>>0?1:0)|0,p[5]=p[5]+886263092+(p[4]>>>0<l[4]>>>0?1:0)|0,p[6]=p[6]+1295307597+(p[5]>>>0<l[5]>>>0?1:0)|0,p[7]=p[7]+3545052371+(p[6]>>>0<l[6]>>>0?1:0)|0,this._b=p[7]>>>0<l[7]>>>0?1:0;for(var g=0;g<8;g++){var m=d[g]+p[g],v=m&65535,O=m>>>16,x=((v*v>>>17)+v*O>>>15)+O*O,y=((m&4294901760)*m|0)+((m&65535)*m|0);c[g]=x^y}d[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,d[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,d[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,d[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,d[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,d[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,d[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,d[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}r.Rabbit=o._createHelper(u)}(),n.Rabbit})}(am)),am.exports}var lm={exports:{}},Hw;function bQ(){return Hw||(Hw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),Hs(),qs(),ts(),an())})($e,function(n){return function(){var r=n,i=r.lib,o=i.StreamCipher,s=r.algo,a=[],l=[],c=[],u=s.RabbitLegacy=o.extend({_doReset:function(){var d=this._key.words,p=this.cfg.iv,g=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],m=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var v=0;v<4;v++)f.call(this);for(var v=0;v<8;v++)m[v]^=g[v+4&7];if(p){var O=p.words,x=O[0],y=O[1],S=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,b=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,w=S>>>16|b&4294901760,C=b<<16|S&65535;m[0]^=S,m[1]^=w,m[2]^=b,m[3]^=C,m[4]^=S,m[5]^=w,m[6]^=b,m[7]^=C;for(var v=0;v<4;v++)f.call(this)}},_doProcessBlock:function(d,p){var g=this._X;f.call(this),a[0]=g[0]^g[5]>>>16^g[3]<<16,a[1]=g[2]^g[7]>>>16^g[5]<<16,a[2]=g[4]^g[1]>>>16^g[7]<<16,a[3]=g[6]^g[3]>>>16^g[1]<<16;for(var m=0;m<4;m++)a[m]=(a[m]<<8|a[m]>>>24)&16711935|(a[m]<<24|a[m]>>>8)&4278255360,d[p+m]^=a[m]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,p=this._C,g=0;g<8;g++)l[g]=p[g];p[0]=p[0]+1295307597+this._b|0,p[1]=p[1]+3545052371+(p[0]>>>0<l[0]>>>0?1:0)|0,p[2]=p[2]+886263092+(p[1]>>>0<l[1]>>>0?1:0)|0,p[3]=p[3]+1295307597+(p[2]>>>0<l[2]>>>0?1:0)|0,p[4]=p[4]+3545052371+(p[3]>>>0<l[3]>>>0?1:0)|0,p[5]=p[5]+886263092+(p[4]>>>0<l[4]>>>0?1:0)|0,p[6]=p[6]+1295307597+(p[5]>>>0<l[5]>>>0?1:0)|0,p[7]=p[7]+3545052371+(p[6]>>>0<l[6]>>>0?1:0)|0,this._b=p[7]>>>0<l[7]>>>0?1:0;for(var g=0;g<8;g++){var m=d[g]+p[g],v=m&65535,O=m>>>16,x=((v*v>>>17)+v*O>>>15)+O*O,y=((m&4294901760)*m|0)+((m&65535)*m|0);c[g]=x^y}d[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,d[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,d[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,d[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,d[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,d[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,d[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,d[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}r.RabbitLegacy=o._createHelper(u)}(),n.RabbitLegacy})}(lm)),lm.exports}var cm={exports:{}},qw;function SQ(){return qw||(qw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),Hs(),qs(),ts(),an())})($e,function(n){return function(){var r=n,i=r.lib,o=i.BlockCipher,s=r.algo;const a=16,l=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],c=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var u={pbox:[],sbox:[]};function f(v,O){let x=O>>24&255,y=O>>16&255,S=O>>8&255,b=O&255,w=v.sbox[0][x]+v.sbox[1][y];return w=w^v.sbox[2][S],w=w+v.sbox[3][b],w}function d(v,O,x){let y=O,S=x,b;for(let w=0;w<a;++w)y=y^v.pbox[w],S=f(v,y)^S,b=y,y=S,S=b;return b=y,y=S,S=b,S=S^v.pbox[a],y=y^v.pbox[a+1],{left:y,right:S}}function p(v,O,x){let y=O,S=x,b;for(let w=a+1;w>1;--w)y=y^v.pbox[w],S=f(v,y)^S,b=y,y=S,S=b;return b=y,y=S,S=b,S=S^v.pbox[1],y=y^v.pbox[0],{left:y,right:S}}function g(v,O,x){for(let C=0;C<4;C++){v.sbox[C]=[];for(let P=0;P<256;P++)v.sbox[C][P]=c[C][P]}let y=0;for(let C=0;C<a+2;C++)v.pbox[C]=l[C]^O[y],y++,y>=x&&(y=0);let S=0,b=0,w=0;for(let C=0;C<a+2;C+=2)w=d(v,S,b),S=w.left,b=w.right,v.pbox[C]=S,v.pbox[C+1]=b;for(let C=0;C<4;C++)for(let P=0;P<256;P+=2)w=d(v,S,b),S=w.left,b=w.right,v.sbox[C][P]=S,v.sbox[C][P+1]=b;return!0}var m=s.Blowfish=o.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var v=this._keyPriorReset=this._key,O=v.words,x=v.sigBytes/4;g(u,O,x)}},encryptBlock:function(v,O){var x=d(u,v[O],v[O+1]);v[O]=x.left,v[O+1]=x.right},decryptBlock:function(v,O){var x=p(u,v[O],v[O+1]);v[O]=x.left,v[O+1]=x.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=o._createHelper(m)}(),n.Blowfish})}(cm)),cm.exports}(function(t,e){(function(n,r,i){t.exports=r(qe(),Kp(),JB(),KB(),Hs(),eQ(),qs(),Q5(),ny(),tQ(),L5(),nQ(),rQ(),iQ(),ry(),oQ(),ts(),an(),sQ(),aQ(),lQ(),cQ(),uQ(),fQ(),dQ(),hQ(),pQ(),gQ(),mQ(),vQ(),OQ(),xQ(),yQ(),bQ(),SQ())})($e,function(n){return n})})(B5);var l1=B5.exports;function ai(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}function Jw(t,e){for(var n="",r=0,i=-1,o=0,s,a=0;a<=t.length;++a){if(a<t.length)s=t.charCodeAt(a);else{if(s===47)break;s=47}if(s===47){if(!(i===a-1||o===1))if(i!==a-1&&o===2){if(n.length<2||r!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46){if(n.length>2){var l=n.lastIndexOf("/");if(l!==n.length-1){l===-1?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=a,o=0;continue}}else if(n.length===2||n.length===1){n="",r=0,i=a,o=0;continue}}e&&(n.length>0?n+="/..":n="..",r=2)}else n.length>0?n+="/"+t.slice(i+1,a):n=t.slice(i+1,a),r=a-i-1;i=a,o=0}else s===46&&o!==-1?++o:o=-1}return n}function wQ(t,e){var n=e.dir||e.root,r=e.base||(e.name||"")+(e.ext||"");return n?n===e.root?n+r:n+t+r:r}var Ya={resolve:function(){for(var e="",n=!1,r,i=arguments.length-1;i>=-1&&!n;i--){var o;i>=0?o=arguments[i]:(r===void 0&&(r=process.cwd()),o=r),ai(o),o.length!==0&&(e=o+"/"+e,n=o.charCodeAt(0)===47)}return e=Jw(e,!n),n?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(ai(e),e.length===0)return".";var n=e.charCodeAt(0)===47,r=e.charCodeAt(e.length-1)===47;return e=Jw(e,!n),e.length===0&&!n&&(e="."),e.length>0&&r&&(e+="/"),n?"/"+e:e},isAbsolute:function(e){return ai(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,n=0;n<arguments.length;++n){var r=arguments[n];ai(r),r.length>0&&(e===void 0?e=r:e+="/"+r)}return e===void 0?".":Ya.normalize(e)},relative:function(e,n){if(ai(e),ai(n),e===n||(e=Ya.resolve(e),n=Ya.resolve(n),e===n))return"";for(var r=1;r<e.length&&e.charCodeAt(r)===47;++r);for(var i=e.length,o=i-r,s=1;s<n.length&&n.charCodeAt(s)===47;++s);for(var a=n.length,l=a-s,c=o<l?o:l,u=-1,f=0;f<=c;++f){if(f===c){if(l>c){if(n.charCodeAt(s+f)===47)return n.slice(s+f+1);if(f===0)return n.slice(s+f)}else o>c&&(e.charCodeAt(r+f)===47?u=f:f===0&&(u=0));break}var d=e.charCodeAt(r+f),p=n.charCodeAt(s+f);if(d!==p)break;d===47&&(u=f)}var g="";for(f=r+u+1;f<=i;++f)(f===i||e.charCodeAt(f)===47)&&(g.length===0?g+="..":g+="/..");return g.length>0?g+n.slice(s+u):(s+=u,n.charCodeAt(s)===47&&++s,n.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(ai(e),e.length===0)return".";for(var n=e.charCodeAt(0),r=n===47,i=-1,o=!0,s=e.length-1;s>=1;--s)if(n=e.charCodeAt(s),n===47){if(!o){i=s;break}}else o=!1;return i===-1?r?"/":".":r&&i===1?"//":e.slice(0,i)},basename:function(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');ai(e);var r=0,i=-1,o=!0,s;if(n!==void 0&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var a=n.length-1,l=-1;for(s=e.length-1;s>=0;--s){var c=e.charCodeAt(s);if(c===47){if(!o){r=s+1;break}}else l===-1&&(o=!1,l=s+1),a>=0&&(c===n.charCodeAt(a)?--a===-1&&(i=s):(a=-1,i=l))}return r===i?i=l:i===-1&&(i=e.length),e.slice(r,i)}else{for(s=e.length-1;s>=0;--s)if(e.charCodeAt(s)===47){if(!o){r=s+1;break}}else i===-1&&(o=!1,i=s+1);return i===-1?"":e.slice(r,i)}},extname:function(e){ai(e);for(var n=-1,r=0,i=-1,o=!0,s=0,a=e.length-1;a>=0;--a){var l=e.charCodeAt(a);if(l===47){if(!o){r=a+1;break}continue}i===-1&&(o=!1,i=a+1),l===46?n===-1?n=a:s!==1&&(s=1):n!==-1&&(s=-1)}return n===-1||i===-1||s===0||s===1&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return wQ("/",e)},parse:function(e){ai(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return n;var r=e.charCodeAt(0),i=r===47,o;i?(n.root="/",o=1):o=0;for(var s=-1,a=0,l=-1,c=!0,u=e.length-1,f=0;u>=o;--u){if(r=e.charCodeAt(u),r===47){if(!c){a=u+1;break}continue}l===-1&&(c=!1,l=u+1),r===46?s===-1?s=u:f!==1&&(f=1):s!==-1&&(f=-1)}return s===-1||l===-1||f===0||f===1&&s===l-1&&s===a+1?l!==-1&&(a===0&&i?n.base=n.name=e.slice(1,l):n.base=n.name=e.slice(a,l)):(a===0&&i?(n.name=e.slice(1,s),n.base=e.slice(1,l)):(n.name=e.slice(a,s),n.base=e.slice(a,l)),n.ext=e.slice(s,l)),a>0?n.dir=e.slice(0,a-1):i&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};Ya.posix=Ya;var F5=Ya;const c1=go(F5),CQ=YD({__proto__:null,default:c1},[F5]);class Kw{constructor(e){this.baseDir=e}async ls(e=""){const n=this.makeKey(e);return Object.keys(localStorage).filter(r=>r.startsWith(n)).map(r=>r.replace(n,""))}async get(e){const n=this.makeKey(e);return localStorage.getItem(n)??null}async set(e,n){const r=this.makeKey(e);localStorage.setItem(r,n)}async remove(e){const n=this.makeKey(e);localStorage.removeItem(n)}makeKey(e){return`replay:fs:${this.baseDir}/${e}`}}async function qr(t,e={},n){return window.__TAURI_INTERNALS__.invoke(t,e,n)}var Ol;(function(t){t[t.Audio=1]="Audio",t[t.Cache=2]="Cache",t[t.Config=3]="Config",t[t.Data=4]="Data",t[t.LocalData=5]="LocalData",t[t.Document=6]="Document",t[t.Download=7]="Download",t[t.Picture=8]="Picture",t[t.Public=9]="Public",t[t.Video=10]="Video",t[t.Resource=11]="Resource",t[t.Temp=12]="Temp",t[t.AppConfig=13]="AppConfig",t[t.AppData=14]="AppData",t[t.AppLocalData=15]="AppLocalData",t[t.AppCache=16]="AppCache",t[t.AppLog=17]="AppLog",t[t.Desktop=18]="Desktop",t[t.Executable=19]="Executable",t[t.Font=20]="Font",t[t.Home=21]="Home",t[t.Runtime=22]="Runtime",t[t.Template=23]="Template"})(Ol||(Ol={}));async function PQ(){return qr("plugin:path|resolve_directory",{directory:Ol.AppData})}async function AQ(){return qr("plugin:path|resolve_directory",{directory:Ol.Desktop})}function V5(){return window.__TAURI_INTERNALS__.plugins.path.sep}async function kQ(...t){return qr("plugin:path|resolve",{paths:t})}async function Uc(...t){return qr("plugin:path|join",{paths:t})}async function EQ(t){return qr("plugin:path|is_absolute",{path:t})}var eC;(function(t){t[t.Start=0]="Start",t[t.Current=1]="Current",t[t.End=2]="End"})(eC||(eC={}));async function tC(t,e){if(t instanceof URL&&t.protocol!=="file:")throw new TypeError("Must be a file URL.");await qr("plugin:fs|mkdir",{path:t instanceof URL?t.toString():t,options:e})}async function IQ(t,e){if(t instanceof URL&&t.protocol!=="file:")throw new TypeError("Must be a file URL.");return await qr("plugin:fs|read_dir",{path:t instanceof URL?t.toString():t,options:e})}async function TQ(t,e){if(t instanceof URL&&t.protocol!=="file:")throw new TypeError("Must be a file URL.");return await qr("plugin:fs|read_text_file",{path:t instanceof URL?t.toString():t,options:e})}async function $Q(t,e){if(t instanceof URL&&t.protocol!=="file:")throw new TypeError("Must be a file URL.");await qr("plugin:fs|remove",{path:t instanceof URL?t.toString():t,options:e})}async function jQ(t,e,n){if(t instanceof URL&&t.protocol!=="file:")throw new TypeError("Must be a file URL.");await qr("plugin:fs|write_text_file",{path:t instanceof URL?t.toString():t,data:e,options:n})}function eg(){return!!(window!=null&&window.__TAURI__)}const mi=class mi{static async getUtils(){return mi.utils||(mi.utils=eg()?await Promise.resolve().then(()=>require("./replay-tauri-path-B1D0AQ9h.js")):await Promise.resolve().then(()=>CQ)),mi.utils}static async join(...e){return(await mi.getUtils()).join(...e)}static async resolve(e){return(await mi.getUtils()).resolve(e)}static async isAbsolute(e){return(await mi.getUtils()).isAbsolute(e)}static async relative(e,n){return(await mi.getUtils()).relative(e,n)}};ie(mi,"utils",null);let qi=mi;class nC{constructor(e,n){this.baseDir=e,this.baseDirOption=n,this.initializeDirectory()}async initializeDirectory(e){try{await tC(e??"/",{baseDir:this.baseDirOption,recursive:!0})}catch(n){if(n instanceof Error&&n.message.includes("already exists"))return;throw n}}async ls(e){const n=await this.getFullPath(e);return this.getDirEntryFilesRecursively(n)}async getDirEntryFilesRecursively(e){try{const n=[],r=await IQ(e,{baseDir:this.baseDirOption});for(const i of r)if(i.isDirectory){const o=await Uc(e,i.name),s=await this.getDirEntryFilesRecursively(o);n.push(...s)}else{const o=await Uc(e,i.name),s=await qi.relative(this.baseDir,o);n.push(s)}return n}catch(n){return n.includes("forbidden path")||console.error(n),[]}}async get(e){const n=await this.getFullPath(e);try{return await TQ(n,{baseDir:this.baseDirOption})}catch(r){return!r.includes("No such file or directory")&&!r.includes("forbidden path")&&console.error(r),null}}async set(e,n){const r=await this.getFullPath(e),i=V5(),o=r.split(i).slice(0,-1).join(i);await tC(o,{baseDir:this.baseDirOption,recursive:!0}),await jQ(r,n,{baseDir:this.baseDirOption})}async remove(e){const n=await this.getFullPath(e);try{await $Q(n,{baseDir:this.baseDirOption})}catch(r){if(r instanceof Error&&r.message.includes("not found"))return;throw r}}async getFullPath(e){return await Uc(this.baseDir,e??"")}}class _Q{constructor(){ie(this,"baseDir","")}async ls(e=""){return[]}async get(e){return null}async set(e,n){}async remove(e){}}class RQ{constructor(e,n){ie(this,"default",YI);this.storage=e,this.localStorageSecretsProvider=n}async read(){const e=await this.storage.get("replay-environments.yaml"),n=await this.localStorageSecretsProvider.get();let r=null,i=null;if(!e)return this.default;try{r=vl.load(e),i=n?JSON.parse(n):null}catch(a){return console.error("Failed to parse environments file",a),this.default}return r?Object.keys(r).filter(a=>a!=="version").map(a=>({name:a,inputs:Object.entries(r[a].inputs).map(([l,c])=>{var f;if(typeof c=="string")return{name:l,value:c,isSecret:!1};const u=((f=i==null?void 0:i[a])==null?void 0:f[l])??"";return{name:l,value:u,isSecret:!0}}),servers:Object.entries(r[a].servers).map(([l,c])=>({apiId:l,value:c.value,variables:Object.entries(c.variables||{}).map(([u,f])=>({name:u,value:f}))})),state:Ue.Normal})):this.default}async write(e){const n=await this.localStorageSecretsProvider.get(),r=n?JSON.parse(n):{},i=e.reduce((o,s)=>(s.name&&(o[s.name]={inputs:s.inputs.reduce((a,l)=>(l.isSecret&&r?(r[s.name]||(r[s.name]={}),r[s.name][l.name]=l.value,a[l.name]={provider:"local"}):a[l.name]=l.value,a),{}),servers:s.servers.reduce((a,l)=>(a[l.apiId]={value:l.value,variables:Object.fromEntries(l.variables.map(c=>[c.name,c.value]))},a),{})}),o),{});this.localStorageSecretsProvider.set(JSON.stringify(r)),i&&this.storage.set("replay-environments.yaml",vl.dump(i))}}var DQ=Object.prototype.hasOwnProperty,MQ=Object.prototype.toString,NQ=function(e,n,r){if(MQ.call(n)!=="[object Function]")throw new TypeError("iterator must be a function");var i=e.length;if(i===+i)for(var o=0;o<i;o++)n.call(r,e[o],o,e);else for(var s in e)DQ.call(e,s)&&n.call(r,e[s],s,e)},BQ=NQ,QQ=bt;function bt(t,e,n){if(arguments.length===3)return bt.set(t,e,n);if(arguments.length===2)return bt.get(t,e);var r=bt.bind(bt,t);for(var i in bt)bt.hasOwnProperty(i)&&(r[i]=bt[i].bind(r,t));return r}bt.get=function(e,n){for(var r=Array.isArray(n)?n:bt.parse(n),i=0;i<r.length;++i){var o=r[i];if(!(typeof e=="object"&&o in e))throw new Error("Invalid reference token: "+o);e=e[o]}return e};bt.set=function(e,n,r){var i=Array.isArray(n)?n:bt.parse(n),o=i[0];if(i.length===0)throw Error("Can not set the root object");for(var s=0;s<i.length-1;++s){var a=i[s];typeof a!="string"&&typeof a!="number"&&(a=String(a)),!(a==="__proto__"||a==="constructor"||a==="prototype")&&(a==="-"&&Array.isArray(e)&&(a=e.length),o=i[s+1],a in e||(o.match(/^(\d+|-)$/)?e[a]=[]:e[a]={}),e=e[a])}return o==="-"&&Array.isArray(e)&&(o=e.length),e[o]=r,this};bt.remove=function(t,e){var n=Array.isArray(e)?e:bt.parse(e),r=n[n.length-1];if(r===void 0)throw new Error('Invalid JSON pointer for remove: "'+e+'"');var i=bt.get(t,n.slice(0,-1));if(Array.isArray(i)){var o=+r;if(r===""&&isNaN(o))throw new Error('Invalid array index: "'+r+'"');Array.prototype.splice.call(i,o,1)}else delete i[r]};bt.dict=function(e,n){var r={};return bt.walk(e,function(i,o){r[o]=i},n),r};bt.walk=function(e,n,r){var i=[];r=r||function(o){var s=Object.prototype.toString.call(o);return s==="[object Object]"||s==="[object Array]"},function o(s){BQ(s,function(a,l){i.push(String(l)),r(a)?o(a):n(a,bt.compile(i)),i.pop()})}(e)};bt.has=function(e,n){try{bt.get(e,n)}catch{return!1}return!0};bt.escape=function(e){return e.toString().replace(/~/g,"~0").replace(/\//g,"~1")};bt.unescape=function(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")};bt.parse=function(e){if(e==="")return[];if(e.charAt(0)!=="/")throw new Error("Invalid JSON pointer: "+e);return e.substring(1).split(/\//).map(bt.unescape)};bt.compile=function(e){return e.length===0?"":"/"+e.map(bt.escape).join("/")};const z5=go(QQ);var dr=(t=>(t.Query="Query",t.Header="Header",t.Cookie="Cookie",t))(dr||{}),H=(t=>(t.NoAuth="No Auth",t.BasicAuth="Basic Auth",t.DigestAuth="Digest Auth",t.JWT="JWT",t.APIKey="API key",t.OAuth2="OAuth 2.0",t.OpenIDConnect="OpenID Connect",t))(H||{}),J=(t=>(t.ClientCredentials="Client Credentials",t.ClientCredentialsWithJwtAssertion="Client Credentials with JWT Assertion",t.AuthorizationCode="Authorization Code",t.AuthorizationCodeWithPkce="Authorization Code with PKCE",t.Implicit="Implicit",t.Password="Password",t))(J||{}),kn=(t=>(t.Body="Body",t.Header="Header",t.URL="URL",t))(kn||{}),_n=(t=>(t.SIMPLE="simple",t.REGEX="regex",t.JSONPATH="jsonpath",t.XPATH="xpath",t))(_n||{});const iy={active:!0,key:"",value:""},W5="{",oy="}",Vl="^\\$inputs\\.([^}\\s]+)$|\\{\\$inputs\\.([^}\\s]+)\\}";function LQ({content:t}){return h.jsx(FQ,{"data-testid":"arazzo-expression",children:t})}const FQ=k.span`
155
+ */return n.mode.CTRGladman=function(){var r=n.lib.BlockCipherMode.extend();function i(a){if((a>>24&255)===255){var l=a>>16&255,c=a>>8&255,u=a&255;l===255?(l=0,c===255?(c=0,u===255?u=0:++u):++c):++l,a=0,a+=l<<16,a+=c<<8,a+=u}else a+=1<<24;return a}function o(a){return(a[0]=i(a[0]))===0&&(a[1]=i(a[1])),a}var s=r.Encryptor=r.extend({processBlock:function(a,l){var c=this._cipher,u=c.blockSize,f=this._iv,d=this._counter;f&&(d=this._counter=f.slice(0),this._iv=void 0),o(d);var p=d.slice(0);c.encryptBlock(p,0);for(var g=0;g<u;g++)a[l+g]^=p[g]}});return r.Decryptor=s,r}(),n.mode.CTRGladman})}(Y0)),Y0.exports}var H0={exports:{}},Bw;function cQ(){return Bw||(Bw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),an())})($e,function(n){return n.mode.OFB=function(){var r=n.lib.BlockCipherMode.extend(),i=r.Encryptor=r.extend({processBlock:function(o,s){var a=this._cipher,l=a.blockSize,c=this._iv,u=this._keystream;c&&(u=this._keystream=c.slice(0),this._iv=void 0),a.encryptBlock(u,0);for(var f=0;f<l;f++)o[s+f]^=u[f]}});return r.Decryptor=i,r}(),n.mode.OFB})}(H0)),H0.exports}var q0={exports:{}},Qw;function uQ(){return Qw||(Qw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),an())})($e,function(n){return n.mode.ECB=function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(i,o){this._cipher.encryptBlock(i,o)}}),r.Decryptor=r.extend({processBlock:function(i,o){this._cipher.decryptBlock(i,o)}}),r}(),n.mode.ECB})}(q0)),q0.exports}var J0={exports:{}},Lw;function fQ(){return Lw||(Lw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),an())})($e,function(n){return n.pad.AnsiX923={pad:function(r,i){var o=r.sigBytes,s=i*4,a=s-o%s,l=o+a-1;r.clamp(),r.words[l>>>2]|=a<<24-l%4*8,r.sigBytes+=a},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Ansix923})}(J0)),J0.exports}var K0={exports:{}},Fw;function dQ(){return Fw||(Fw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),an())})($e,function(n){return n.pad.Iso10126={pad:function(r,i){var o=i*4,s=o-r.sigBytes%o;r.concat(n.lib.WordArray.random(s-1)).concat(n.lib.WordArray.create([s<<24],1))},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Iso10126})}(K0)),K0.exports}var em={exports:{}},Vw;function hQ(){return Vw||(Vw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),an())})($e,function(n){return n.pad.Iso97971={pad:function(r,i){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,i)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})}(em)),em.exports}var tm={exports:{}},zw;function pQ(){return zw||(zw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),an())})($e,function(n){return n.pad.ZeroPadding={pad:function(r,i){var o=i*4;r.clamp(),r.sigBytes+=o-(r.sigBytes%o||o)},unpad:function(r){for(var i=r.words,o=r.sigBytes-1,o=r.sigBytes-1;o>=0;o--)if(i[o>>>2]>>>24-o%4*8&255){r.sigBytes=o+1;break}}},n.pad.ZeroPadding})}(tm)),tm.exports}var nm={exports:{}},Ww;function gQ(){return Ww||(Ww=1,function(t,e){(function(n,r,i){t.exports=r(qe(),an())})($e,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(nm)),nm.exports}var rm={exports:{}},Zw;function mQ(){return Zw||(Zw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),an())})($e,function(n){return function(r){var i=n,o=i.lib,s=o.CipherParams,a=i.enc,l=a.Hex,c=i.format;c.Hex={stringify:function(u){return u.ciphertext.toString(l)},parse:function(u){var f=l.parse(u);return s.create({ciphertext:f})}}}(),n.format.Hex})}(rm)),rm.exports}var im={exports:{}},Xw;function vQ(){return Xw||(Xw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),Hs(),qs(),ts(),an())})($e,function(n){return function(){var r=n,i=r.lib,o=i.BlockCipher,s=r.algo,a=[],l=[],c=[],u=[],f=[],d=[],p=[],g=[],m=[],v=[];(function(){for(var y=[],S=0;S<256;S++)S<128?y[S]=S<<1:y[S]=S<<1^283;for(var b=0,w=0,S=0;S<256;S++){var C=w^w<<1^w<<2^w<<3^w<<4;C=C>>>8^C&255^99,a[b]=C,l[C]=b;var P=y[b],A=y[P],I=y[A],T=y[C]*257^C*16843008;c[b]=T<<24|T>>>8,u[b]=T<<16|T>>>16,f[b]=T<<8|T>>>24,d[b]=T;var T=I*16843009^A*65537^P*257^b*16843008;p[C]=T<<24|T>>>8,g[C]=T<<16|T>>>16,m[C]=T<<8|T>>>24,v[C]=T,b?(b=P^y[y[y[I^P]]],w^=y[y[w]]):b=w=1}})();var O=[0,1,2,4,8,16,32,64,128,27,54],x=s.AES=o.extend({_doReset:function(){var y;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var S=this._keyPriorReset=this._key,b=S.words,w=S.sigBytes/4,C=this._nRounds=w+6,P=(C+1)*4,A=this._keySchedule=[],I=0;I<P;I++)I<w?A[I]=b[I]:(y=A[I-1],I%w?w>6&&I%w==4&&(y=a[y>>>24]<<24|a[y>>>16&255]<<16|a[y>>>8&255]<<8|a[y&255]):(y=y<<8|y>>>24,y=a[y>>>24]<<24|a[y>>>16&255]<<16|a[y>>>8&255]<<8|a[y&255],y^=O[I/w|0]<<24),A[I]=A[I-w]^y);for(var T=this._invKeySchedule=[],j=0;j<P;j++){var I=P-j;if(j%4)var y=A[I];else var y=A[I-4];j<4||I<=4?T[j]=y:T[j]=p[a[y>>>24]]^g[a[y>>>16&255]]^m[a[y>>>8&255]]^v[a[y&255]]}}},encryptBlock:function(y,S){this._doCryptBlock(y,S,this._keySchedule,c,u,f,d,a)},decryptBlock:function(y,S){var b=y[S+1];y[S+1]=y[S+3],y[S+3]=b,this._doCryptBlock(y,S,this._invKeySchedule,p,g,m,v,l);var b=y[S+1];y[S+1]=y[S+3],y[S+3]=b},_doCryptBlock:function(y,S,b,w,C,P,A,I){for(var T=this._nRounds,j=y[S]^b[0],B=y[S+1]^b[1],V=y[S+2]^b[2],Q=y[S+3]^b[3],z=4,U=1;U<T;U++){var Z=w[j>>>24]^C[B>>>16&255]^P[V>>>8&255]^A[Q&255]^b[z++],Y=w[B>>>24]^C[V>>>16&255]^P[Q>>>8&255]^A[j&255]^b[z++],N=w[V>>>24]^C[Q>>>16&255]^P[j>>>8&255]^A[B&255]^b[z++],L=w[Q>>>24]^C[j>>>16&255]^P[B>>>8&255]^A[V&255]^b[z++];j=Z,B=Y,V=N,Q=L}var Z=(I[j>>>24]<<24|I[B>>>16&255]<<16|I[V>>>8&255]<<8|I[Q&255])^b[z++],Y=(I[B>>>24]<<24|I[V>>>16&255]<<16|I[Q>>>8&255]<<8|I[j&255])^b[z++],N=(I[V>>>24]<<24|I[Q>>>16&255]<<16|I[j>>>8&255]<<8|I[B&255])^b[z++],L=(I[Q>>>24]<<24|I[j>>>16&255]<<16|I[B>>>8&255]<<8|I[V&255])^b[z++];y[S]=Z,y[S+1]=Y,y[S+2]=N,y[S+3]=L},keySize:256/32});r.AES=o._createHelper(x)}(),n.AES})}(im)),im.exports}var om={exports:{}},Gw;function OQ(){return Gw||(Gw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),Hs(),qs(),ts(),an())})($e,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,s=i.BlockCipher,a=r.algo,l=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],c=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],p=a.DES=s.extend({_doReset:function(){for(var O=this._key,x=O.words,y=[],S=0;S<56;S++){var b=l[S]-1;y[S]=x[b>>>5]>>>31-b%32&1}for(var w=this._subKeys=[],C=0;C<16;C++){for(var P=w[C]=[],A=u[C],S=0;S<24;S++)P[S/6|0]|=y[(c[S]-1+A)%28]<<31-S%6,P[4+(S/6|0)]|=y[28+(c[S+24]-1+A)%28]<<31-S%6;P[0]=P[0]<<1|P[0]>>>31;for(var S=1;S<7;S++)P[S]=P[S]>>>(S-1)*4+3;P[7]=P[7]<<5|P[7]>>>27}for(var I=this._invSubKeys=[],S=0;S<16;S++)I[S]=w[15-S]},encryptBlock:function(O,x){this._doCryptBlock(O,x,this._subKeys)},decryptBlock:function(O,x){this._doCryptBlock(O,x,this._invSubKeys)},_doCryptBlock:function(O,x,y){this._lBlock=O[x],this._rBlock=O[x+1],g.call(this,4,252645135),g.call(this,16,65535),m.call(this,2,858993459),m.call(this,8,16711935),g.call(this,1,1431655765);for(var S=0;S<16;S++){for(var b=y[S],w=this._lBlock,C=this._rBlock,P=0,A=0;A<8;A++)P|=f[A][((C^b[A])&d[A])>>>0];this._lBlock=C,this._rBlock=w^P}var I=this._lBlock;this._lBlock=this._rBlock,this._rBlock=I,g.call(this,1,1431655765),m.call(this,8,16711935),m.call(this,2,858993459),g.call(this,16,65535),g.call(this,4,252645135),O[x]=this._lBlock,O[x+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function g(O,x){var y=(this._lBlock>>>O^this._rBlock)&x;this._rBlock^=y,this._lBlock^=y<<O}function m(O,x){var y=(this._rBlock>>>O^this._lBlock)&x;this._lBlock^=y,this._rBlock^=y<<O}r.DES=s._createHelper(p);var v=a.TripleDES=s.extend({_doReset:function(){var O=this._key,x=O.words;if(x.length!==2&&x.length!==4&&x.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var y=x.slice(0,2),S=x.length<4?x.slice(0,2):x.slice(2,4),b=x.length<6?x.slice(0,2):x.slice(4,6);this._des1=p.createEncryptor(o.create(y)),this._des2=p.createEncryptor(o.create(S)),this._des3=p.createEncryptor(o.create(b))},encryptBlock:function(O,x){this._des1.encryptBlock(O,x),this._des2.decryptBlock(O,x),this._des3.encryptBlock(O,x)},decryptBlock:function(O,x){this._des3.decryptBlock(O,x),this._des2.encryptBlock(O,x),this._des1.decryptBlock(O,x)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=s._createHelper(v)}(),n.TripleDES})}(om)),om.exports}var sm={exports:{}},Uw;function xQ(){return Uw||(Uw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),Hs(),qs(),ts(),an())})($e,function(n){return function(){var r=n,i=r.lib,o=i.StreamCipher,s=r.algo,a=s.RC4=o.extend({_doReset:function(){for(var u=this._key,f=u.words,d=u.sigBytes,p=this._S=[],g=0;g<256;g++)p[g]=g;for(var g=0,m=0;g<256;g++){var v=g%d,O=f[v>>>2]>>>24-v%4*8&255;m=(m+p[g]+O)%256;var x=p[g];p[g]=p[m],p[m]=x}this._i=this._j=0},_doProcessBlock:function(u,f){u[f]^=l.call(this)},keySize:256/32,ivSize:0});function l(){for(var u=this._S,f=this._i,d=this._j,p=0,g=0;g<4;g++){f=(f+1)%256,d=(d+u[f])%256;var m=u[f];u[f]=u[d],u[d]=m,p|=u[(u[f]+u[d])%256]<<24-g*8}return this._i=f,this._j=d,p}r.RC4=o._createHelper(a);var c=s.RC4Drop=a.extend({cfg:a.cfg.extend({drop:192}),_doReset:function(){a._doReset.call(this);for(var u=this.cfg.drop;u>0;u--)l.call(this)}});r.RC4Drop=o._createHelper(c)}(),n.RC4})}(sm)),sm.exports}var am={exports:{}},Yw;function yQ(){return Yw||(Yw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),Hs(),qs(),ts(),an())})($e,function(n){return function(){var r=n,i=r.lib,o=i.StreamCipher,s=r.algo,a=[],l=[],c=[],u=s.Rabbit=o.extend({_doReset:function(){for(var d=this._key.words,p=this.cfg.iv,g=0;g<4;g++)d[g]=(d[g]<<8|d[g]>>>24)&16711935|(d[g]<<24|d[g]>>>8)&4278255360;var m=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],v=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var g=0;g<4;g++)f.call(this);for(var g=0;g<8;g++)v[g]^=m[g+4&7];if(p){var O=p.words,x=O[0],y=O[1],S=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,b=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,w=S>>>16|b&4294901760,C=b<<16|S&65535;v[0]^=S,v[1]^=w,v[2]^=b,v[3]^=C,v[4]^=S,v[5]^=w,v[6]^=b,v[7]^=C;for(var g=0;g<4;g++)f.call(this)}},_doProcessBlock:function(d,p){var g=this._X;f.call(this),a[0]=g[0]^g[5]>>>16^g[3]<<16,a[1]=g[2]^g[7]>>>16^g[5]<<16,a[2]=g[4]^g[1]>>>16^g[7]<<16,a[3]=g[6]^g[3]>>>16^g[1]<<16;for(var m=0;m<4;m++)a[m]=(a[m]<<8|a[m]>>>24)&16711935|(a[m]<<24|a[m]>>>8)&4278255360,d[p+m]^=a[m]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,p=this._C,g=0;g<8;g++)l[g]=p[g];p[0]=p[0]+1295307597+this._b|0,p[1]=p[1]+3545052371+(p[0]>>>0<l[0]>>>0?1:0)|0,p[2]=p[2]+886263092+(p[1]>>>0<l[1]>>>0?1:0)|0,p[3]=p[3]+1295307597+(p[2]>>>0<l[2]>>>0?1:0)|0,p[4]=p[4]+3545052371+(p[3]>>>0<l[3]>>>0?1:0)|0,p[5]=p[5]+886263092+(p[4]>>>0<l[4]>>>0?1:0)|0,p[6]=p[6]+1295307597+(p[5]>>>0<l[5]>>>0?1:0)|0,p[7]=p[7]+3545052371+(p[6]>>>0<l[6]>>>0?1:0)|0,this._b=p[7]>>>0<l[7]>>>0?1:0;for(var g=0;g<8;g++){var m=d[g]+p[g],v=m&65535,O=m>>>16,x=((v*v>>>17)+v*O>>>15)+O*O,y=((m&4294901760)*m|0)+((m&65535)*m|0);c[g]=x^y}d[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,d[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,d[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,d[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,d[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,d[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,d[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,d[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}r.Rabbit=o._createHelper(u)}(),n.Rabbit})}(am)),am.exports}var lm={exports:{}},Hw;function bQ(){return Hw||(Hw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),Hs(),qs(),ts(),an())})($e,function(n){return function(){var r=n,i=r.lib,o=i.StreamCipher,s=r.algo,a=[],l=[],c=[],u=s.RabbitLegacy=o.extend({_doReset:function(){var d=this._key.words,p=this.cfg.iv,g=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],m=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var v=0;v<4;v++)f.call(this);for(var v=0;v<8;v++)m[v]^=g[v+4&7];if(p){var O=p.words,x=O[0],y=O[1],S=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,b=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,w=S>>>16|b&4294901760,C=b<<16|S&65535;m[0]^=S,m[1]^=w,m[2]^=b,m[3]^=C,m[4]^=S,m[5]^=w,m[6]^=b,m[7]^=C;for(var v=0;v<4;v++)f.call(this)}},_doProcessBlock:function(d,p){var g=this._X;f.call(this),a[0]=g[0]^g[5]>>>16^g[3]<<16,a[1]=g[2]^g[7]>>>16^g[5]<<16,a[2]=g[4]^g[1]>>>16^g[7]<<16,a[3]=g[6]^g[3]>>>16^g[1]<<16;for(var m=0;m<4;m++)a[m]=(a[m]<<8|a[m]>>>24)&16711935|(a[m]<<24|a[m]>>>8)&4278255360,d[p+m]^=a[m]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,p=this._C,g=0;g<8;g++)l[g]=p[g];p[0]=p[0]+1295307597+this._b|0,p[1]=p[1]+3545052371+(p[0]>>>0<l[0]>>>0?1:0)|0,p[2]=p[2]+886263092+(p[1]>>>0<l[1]>>>0?1:0)|0,p[3]=p[3]+1295307597+(p[2]>>>0<l[2]>>>0?1:0)|0,p[4]=p[4]+3545052371+(p[3]>>>0<l[3]>>>0?1:0)|0,p[5]=p[5]+886263092+(p[4]>>>0<l[4]>>>0?1:0)|0,p[6]=p[6]+1295307597+(p[5]>>>0<l[5]>>>0?1:0)|0,p[7]=p[7]+3545052371+(p[6]>>>0<l[6]>>>0?1:0)|0,this._b=p[7]>>>0<l[7]>>>0?1:0;for(var g=0;g<8;g++){var m=d[g]+p[g],v=m&65535,O=m>>>16,x=((v*v>>>17)+v*O>>>15)+O*O,y=((m&4294901760)*m|0)+((m&65535)*m|0);c[g]=x^y}d[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,d[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,d[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,d[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,d[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,d[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,d[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,d[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}r.RabbitLegacy=o._createHelper(u)}(),n.RabbitLegacy})}(lm)),lm.exports}var cm={exports:{}},qw;function SQ(){return qw||(qw=1,function(t,e){(function(n,r,i){t.exports=r(qe(),Hs(),qs(),ts(),an())})($e,function(n){return function(){var r=n,i=r.lib,o=i.BlockCipher,s=r.algo;const a=16,l=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],c=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var u={pbox:[],sbox:[]};function f(v,O){let x=O>>24&255,y=O>>16&255,S=O>>8&255,b=O&255,w=v.sbox[0][x]+v.sbox[1][y];return w=w^v.sbox[2][S],w=w+v.sbox[3][b],w}function d(v,O,x){let y=O,S=x,b;for(let w=0;w<a;++w)y=y^v.pbox[w],S=f(v,y)^S,b=y,y=S,S=b;return b=y,y=S,S=b,S=S^v.pbox[a],y=y^v.pbox[a+1],{left:y,right:S}}function p(v,O,x){let y=O,S=x,b;for(let w=a+1;w>1;--w)y=y^v.pbox[w],S=f(v,y)^S,b=y,y=S,S=b;return b=y,y=S,S=b,S=S^v.pbox[1],y=y^v.pbox[0],{left:y,right:S}}function g(v,O,x){for(let C=0;C<4;C++){v.sbox[C]=[];for(let P=0;P<256;P++)v.sbox[C][P]=c[C][P]}let y=0;for(let C=0;C<a+2;C++)v.pbox[C]=l[C]^O[y],y++,y>=x&&(y=0);let S=0,b=0,w=0;for(let C=0;C<a+2;C+=2)w=d(v,S,b),S=w.left,b=w.right,v.pbox[C]=S,v.pbox[C+1]=b;for(let C=0;C<4;C++)for(let P=0;P<256;P+=2)w=d(v,S,b),S=w.left,b=w.right,v.sbox[C][P]=S,v.sbox[C][P+1]=b;return!0}var m=s.Blowfish=o.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var v=this._keyPriorReset=this._key,O=v.words,x=v.sigBytes/4;g(u,O,x)}},encryptBlock:function(v,O){var x=d(u,v[O],v[O+1]);v[O]=x.left,v[O+1]=x.right},decryptBlock:function(v,O){var x=p(u,v[O],v[O+1]);v[O]=x.left,v[O+1]=x.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=o._createHelper(m)}(),n.Blowfish})}(cm)),cm.exports}(function(t,e){(function(n,r,i){t.exports=r(qe(),Kp(),JB(),KB(),Hs(),eQ(),qs(),Q5(),ny(),tQ(),L5(),nQ(),rQ(),iQ(),ry(),oQ(),ts(),an(),sQ(),aQ(),lQ(),cQ(),uQ(),fQ(),dQ(),hQ(),pQ(),gQ(),mQ(),vQ(),OQ(),xQ(),yQ(),bQ(),SQ())})($e,function(n){return n})})(B5);var l1=B5.exports;function ai(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}function Jw(t,e){for(var n="",r=0,i=-1,o=0,s,a=0;a<=t.length;++a){if(a<t.length)s=t.charCodeAt(a);else{if(s===47)break;s=47}if(s===47){if(!(i===a-1||o===1))if(i!==a-1&&o===2){if(n.length<2||r!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46){if(n.length>2){var l=n.lastIndexOf("/");if(l!==n.length-1){l===-1?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=a,o=0;continue}}else if(n.length===2||n.length===1){n="",r=0,i=a,o=0;continue}}e&&(n.length>0?n+="/..":n="..",r=2)}else n.length>0?n+="/"+t.slice(i+1,a):n=t.slice(i+1,a),r=a-i-1;i=a,o=0}else s===46&&o!==-1?++o:o=-1}return n}function wQ(t,e){var n=e.dir||e.root,r=e.base||(e.name||"")+(e.ext||"");return n?n===e.root?n+r:n+t+r:r}var Ya={resolve:function(){for(var e="",n=!1,r,i=arguments.length-1;i>=-1&&!n;i--){var o;i>=0?o=arguments[i]:(r===void 0&&(r=process.cwd()),o=r),ai(o),o.length!==0&&(e=o+"/"+e,n=o.charCodeAt(0)===47)}return e=Jw(e,!n),n?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(ai(e),e.length===0)return".";var n=e.charCodeAt(0)===47,r=e.charCodeAt(e.length-1)===47;return e=Jw(e,!n),e.length===0&&!n&&(e="."),e.length>0&&r&&(e+="/"),n?"/"+e:e},isAbsolute:function(e){return ai(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,n=0;n<arguments.length;++n){var r=arguments[n];ai(r),r.length>0&&(e===void 0?e=r:e+="/"+r)}return e===void 0?".":Ya.normalize(e)},relative:function(e,n){if(ai(e),ai(n),e===n||(e=Ya.resolve(e),n=Ya.resolve(n),e===n))return"";for(var r=1;r<e.length&&e.charCodeAt(r)===47;++r);for(var i=e.length,o=i-r,s=1;s<n.length&&n.charCodeAt(s)===47;++s);for(var a=n.length,l=a-s,c=o<l?o:l,u=-1,f=0;f<=c;++f){if(f===c){if(l>c){if(n.charCodeAt(s+f)===47)return n.slice(s+f+1);if(f===0)return n.slice(s+f)}else o>c&&(e.charCodeAt(r+f)===47?u=f:f===0&&(u=0));break}var d=e.charCodeAt(r+f),p=n.charCodeAt(s+f);if(d!==p)break;d===47&&(u=f)}var g="";for(f=r+u+1;f<=i;++f)(f===i||e.charCodeAt(f)===47)&&(g.length===0?g+="..":g+="/..");return g.length>0?g+n.slice(s+u):(s+=u,n.charCodeAt(s)===47&&++s,n.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(ai(e),e.length===0)return".";for(var n=e.charCodeAt(0),r=n===47,i=-1,o=!0,s=e.length-1;s>=1;--s)if(n=e.charCodeAt(s),n===47){if(!o){i=s;break}}else o=!1;return i===-1?r?"/":".":r&&i===1?"//":e.slice(0,i)},basename:function(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');ai(e);var r=0,i=-1,o=!0,s;if(n!==void 0&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var a=n.length-1,l=-1;for(s=e.length-1;s>=0;--s){var c=e.charCodeAt(s);if(c===47){if(!o){r=s+1;break}}else l===-1&&(o=!1,l=s+1),a>=0&&(c===n.charCodeAt(a)?--a===-1&&(i=s):(a=-1,i=l))}return r===i?i=l:i===-1&&(i=e.length),e.slice(r,i)}else{for(s=e.length-1;s>=0;--s)if(e.charCodeAt(s)===47){if(!o){r=s+1;break}}else i===-1&&(o=!1,i=s+1);return i===-1?"":e.slice(r,i)}},extname:function(e){ai(e);for(var n=-1,r=0,i=-1,o=!0,s=0,a=e.length-1;a>=0;--a){var l=e.charCodeAt(a);if(l===47){if(!o){r=a+1;break}continue}i===-1&&(o=!1,i=a+1),l===46?n===-1?n=a:s!==1&&(s=1):n!==-1&&(s=-1)}return n===-1||i===-1||s===0||s===1&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return wQ("/",e)},parse:function(e){ai(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return n;var r=e.charCodeAt(0),i=r===47,o;i?(n.root="/",o=1):o=0;for(var s=-1,a=0,l=-1,c=!0,u=e.length-1,f=0;u>=o;--u){if(r=e.charCodeAt(u),r===47){if(!c){a=u+1;break}continue}l===-1&&(c=!1,l=u+1),r===46?s===-1?s=u:f!==1&&(f=1):s!==-1&&(f=-1)}return s===-1||l===-1||f===0||f===1&&s===l-1&&s===a+1?l!==-1&&(a===0&&i?n.base=n.name=e.slice(1,l):n.base=n.name=e.slice(a,l)):(a===0&&i?(n.name=e.slice(1,s),n.base=e.slice(1,l)):(n.name=e.slice(a,s),n.base=e.slice(a,l)),n.ext=e.slice(s,l)),a>0?n.dir=e.slice(0,a-1):i&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};Ya.posix=Ya;var F5=Ya;const c1=go(F5),CQ=YD({__proto__:null,default:c1},[F5]);class Kw{constructor(e){this.baseDir=e}async ls(e=""){const n=this.makeKey(e);return Object.keys(localStorage).filter(r=>r.startsWith(n)).map(r=>r.replace(n,""))}async get(e){const n=this.makeKey(e);return localStorage.getItem(n)??null}async set(e,n){const r=this.makeKey(e);localStorage.setItem(r,n)}async remove(e){const n=this.makeKey(e);localStorage.removeItem(n)}makeKey(e){return`replay:fs:${this.baseDir}/${e}`}}async function qr(t,e={},n){return window.__TAURI_INTERNALS__.invoke(t,e,n)}var Ol;(function(t){t[t.Audio=1]="Audio",t[t.Cache=2]="Cache",t[t.Config=3]="Config",t[t.Data=4]="Data",t[t.LocalData=5]="LocalData",t[t.Document=6]="Document",t[t.Download=7]="Download",t[t.Picture=8]="Picture",t[t.Public=9]="Public",t[t.Video=10]="Video",t[t.Resource=11]="Resource",t[t.Temp=12]="Temp",t[t.AppConfig=13]="AppConfig",t[t.AppData=14]="AppData",t[t.AppLocalData=15]="AppLocalData",t[t.AppCache=16]="AppCache",t[t.AppLog=17]="AppLog",t[t.Desktop=18]="Desktop",t[t.Executable=19]="Executable",t[t.Font=20]="Font",t[t.Home=21]="Home",t[t.Runtime=22]="Runtime",t[t.Template=23]="Template"})(Ol||(Ol={}));async function PQ(){return qr("plugin:path|resolve_directory",{directory:Ol.AppData})}async function AQ(){return qr("plugin:path|resolve_directory",{directory:Ol.Desktop})}function V5(){return window.__TAURI_INTERNALS__.plugins.path.sep}async function kQ(...t){return qr("plugin:path|resolve",{paths:t})}async function Uc(...t){return qr("plugin:path|join",{paths:t})}async function EQ(t){return qr("plugin:path|is_absolute",{path:t})}var eC;(function(t){t[t.Start=0]="Start",t[t.Current=1]="Current",t[t.End=2]="End"})(eC||(eC={}));async function tC(t,e){if(t instanceof URL&&t.protocol!=="file:")throw new TypeError("Must be a file URL.");await qr("plugin:fs|mkdir",{path:t instanceof URL?t.toString():t,options:e})}async function IQ(t,e){if(t instanceof URL&&t.protocol!=="file:")throw new TypeError("Must be a file URL.");return await qr("plugin:fs|read_dir",{path:t instanceof URL?t.toString():t,options:e})}async function TQ(t,e){if(t instanceof URL&&t.protocol!=="file:")throw new TypeError("Must be a file URL.");return await qr("plugin:fs|read_text_file",{path:t instanceof URL?t.toString():t,options:e})}async function $Q(t,e){if(t instanceof URL&&t.protocol!=="file:")throw new TypeError("Must be a file URL.");await qr("plugin:fs|remove",{path:t instanceof URL?t.toString():t,options:e})}async function jQ(t,e,n){if(t instanceof URL&&t.protocol!=="file:")throw new TypeError("Must be a file URL.");await qr("plugin:fs|write_text_file",{path:t instanceof URL?t.toString():t,data:e,options:n})}function eg(){return!!(window!=null&&window.__TAURI__)}const mi=class mi{static async getUtils(){return mi.utils||(mi.utils=eg()?await Promise.resolve().then(()=>require("./replay-tauri-path-Be0GExFY.js")):await Promise.resolve().then(()=>CQ)),mi.utils}static async join(...e){return(await mi.getUtils()).join(...e)}static async resolve(e){return(await mi.getUtils()).resolve(e)}static async isAbsolute(e){return(await mi.getUtils()).isAbsolute(e)}static async relative(e,n){return(await mi.getUtils()).relative(e,n)}};ie(mi,"utils",null);let qi=mi;class nC{constructor(e,n){this.baseDir=e,this.baseDirOption=n,this.initializeDirectory()}async initializeDirectory(e){try{await tC(e??"/",{baseDir:this.baseDirOption,recursive:!0})}catch(n){if(n instanceof Error&&n.message.includes("already exists"))return;throw n}}async ls(e){const n=await this.getFullPath(e);return this.getDirEntryFilesRecursively(n)}async getDirEntryFilesRecursively(e){try{const n=[],r=await IQ(e,{baseDir:this.baseDirOption});for(const i of r)if(i.isDirectory){const o=await Uc(e,i.name),s=await this.getDirEntryFilesRecursively(o);n.push(...s)}else{const o=await Uc(e,i.name),s=await qi.relative(this.baseDir,o);n.push(s)}return n}catch(n){return n.includes("forbidden path")||console.error(n),[]}}async get(e){const n=await this.getFullPath(e);try{return await TQ(n,{baseDir:this.baseDirOption})}catch(r){return!r.includes("No such file or directory")&&!r.includes("forbidden path")&&console.error(r),null}}async set(e,n){const r=await this.getFullPath(e),i=V5(),o=r.split(i).slice(0,-1).join(i);await tC(o,{baseDir:this.baseDirOption,recursive:!0}),await jQ(r,n,{baseDir:this.baseDirOption})}async remove(e){const n=await this.getFullPath(e);try{await $Q(n,{baseDir:this.baseDirOption})}catch(r){if(r instanceof Error&&r.message.includes("not found"))return;throw r}}async getFullPath(e){return await Uc(this.baseDir,e??"")}}class _Q{constructor(){ie(this,"baseDir","")}async ls(e=""){return[]}async get(e){return null}async set(e,n){}async remove(e){}}class RQ{constructor(e,n){ie(this,"default",YI);this.storage=e,this.localStorageSecretsProvider=n}async read(){const e=await this.storage.get("replay-environments.yaml"),n=await this.localStorageSecretsProvider.get();let r=null,i=null;if(!e)return this.default;try{r=vl.load(e),i=n?JSON.parse(n):null}catch(a){return console.error("Failed to parse environments file",a),this.default}return r?Object.keys(r).filter(a=>a!=="version").map(a=>({name:a,inputs:Object.entries(r[a].inputs).map(([l,c])=>{var f;if(typeof c=="string")return{name:l,value:c,isSecret:!1};const u=((f=i==null?void 0:i[a])==null?void 0:f[l])??"";return{name:l,value:u,isSecret:!0}}),servers:Object.entries(r[a].servers).map(([l,c])=>({apiId:l,value:c.value,variables:Object.entries(c.variables||{}).map(([u,f])=>({name:u,value:f}))})),state:Ue.Normal})):this.default}async write(e){const n=await this.localStorageSecretsProvider.get(),r=n?JSON.parse(n):{},i=e.reduce((o,s)=>(s.name&&(o[s.name]={inputs:s.inputs.reduce((a,l)=>(l.isSecret&&r?(r[s.name]||(r[s.name]={}),r[s.name][l.name]=l.value,a[l.name]={provider:"local"}):a[l.name]=l.value,a),{}),servers:s.servers.reduce((a,l)=>(a[l.apiId]={value:l.value,variables:Object.fromEntries(l.variables.map(c=>[c.name,c.value]))},a),{})}),o),{});this.localStorageSecretsProvider.set(JSON.stringify(r)),i&&this.storage.set("replay-environments.yaml",vl.dump(i))}}var DQ=Object.prototype.hasOwnProperty,MQ=Object.prototype.toString,NQ=function(e,n,r){if(MQ.call(n)!=="[object Function]")throw new TypeError("iterator must be a function");var i=e.length;if(i===+i)for(var o=0;o<i;o++)n.call(r,e[o],o,e);else for(var s in e)DQ.call(e,s)&&n.call(r,e[s],s,e)},BQ=NQ,QQ=bt;function bt(t,e,n){if(arguments.length===3)return bt.set(t,e,n);if(arguments.length===2)return bt.get(t,e);var r=bt.bind(bt,t);for(var i in bt)bt.hasOwnProperty(i)&&(r[i]=bt[i].bind(r,t));return r}bt.get=function(e,n){for(var r=Array.isArray(n)?n:bt.parse(n),i=0;i<r.length;++i){var o=r[i];if(!(typeof e=="object"&&o in e))throw new Error("Invalid reference token: "+o);e=e[o]}return e};bt.set=function(e,n,r){var i=Array.isArray(n)?n:bt.parse(n),o=i[0];if(i.length===0)throw Error("Can not set the root object");for(var s=0;s<i.length-1;++s){var a=i[s];typeof a!="string"&&typeof a!="number"&&(a=String(a)),!(a==="__proto__"||a==="constructor"||a==="prototype")&&(a==="-"&&Array.isArray(e)&&(a=e.length),o=i[s+1],a in e||(o.match(/^(\d+|-)$/)?e[a]=[]:e[a]={}),e=e[a])}return o==="-"&&Array.isArray(e)&&(o=e.length),e[o]=r,this};bt.remove=function(t,e){var n=Array.isArray(e)?e:bt.parse(e),r=n[n.length-1];if(r===void 0)throw new Error('Invalid JSON pointer for remove: "'+e+'"');var i=bt.get(t,n.slice(0,-1));if(Array.isArray(i)){var o=+r;if(r===""&&isNaN(o))throw new Error('Invalid array index: "'+r+'"');Array.prototype.splice.call(i,o,1)}else delete i[r]};bt.dict=function(e,n){var r={};return bt.walk(e,function(i,o){r[o]=i},n),r};bt.walk=function(e,n,r){var i=[];r=r||function(o){var s=Object.prototype.toString.call(o);return s==="[object Object]"||s==="[object Array]"},function o(s){BQ(s,function(a,l){i.push(String(l)),r(a)?o(a):n(a,bt.compile(i)),i.pop()})}(e)};bt.has=function(e,n){try{bt.get(e,n)}catch{return!1}return!0};bt.escape=function(e){return e.toString().replace(/~/g,"~0").replace(/\//g,"~1")};bt.unescape=function(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")};bt.parse=function(e){if(e==="")return[];if(e.charAt(0)!=="/")throw new Error("Invalid JSON pointer: "+e);return e.substring(1).split(/\//).map(bt.unescape)};bt.compile=function(e){return e.length===0?"":"/"+e.map(bt.escape).join("/")};const z5=go(QQ);var dr=(t=>(t.Query="Query",t.Header="Header",t.Cookie="Cookie",t))(dr||{}),H=(t=>(t.NoAuth="No Auth",t.BasicAuth="Basic Auth",t.DigestAuth="Digest Auth",t.JWT="JWT",t.APIKey="API key",t.OAuth2="OAuth 2.0",t.OpenIDConnect="OpenID Connect",t))(H||{}),J=(t=>(t.ClientCredentials="Client Credentials",t.ClientCredentialsWithJwtAssertion="Client Credentials with JWT Assertion",t.AuthorizationCode="Authorization Code",t.AuthorizationCodeWithPkce="Authorization Code with PKCE",t.Implicit="Implicit",t.Password="Password",t))(J||{}),kn=(t=>(t.Body="Body",t.Header="Header",t.URL="URL",t))(kn||{}),_n=(t=>(t.SIMPLE="simple",t.REGEX="regex",t.JSONPATH="jsonpath",t.XPATH="xpath",t))(_n||{});const iy={active:!0,key:"",value:""},W5="{",oy="}",Vl="^\\$inputs\\.([^}\\s]+)$|\\{\\$inputs\\.([^}\\s]+)\\}";function LQ({content:t}){return h.jsx(FQ,{"data-testid":"arazzo-expression",children:t})}const FQ=k.span`
156
156
  display: inline-flex;
157
157
  align-items: center;
158
158
  width: fit-content;
@@ -317,7 +317,7 @@ html body {
317
317
  align-self: flex-end;
318
318
  padding-top: var(--spacing-xxs);
319
319
  gap: var(--spacing-xs);
320
- `;function of({input:t,onSave:e,onCancel:n,...r}){const[i,o]=E.useState(!!t.isSecret),s=({name:a,value:l})=>{e({...t,name:a,value:l,isSecret:i})};return h.jsx(q8,{variable:t,onSave:s,onCancel:n,...r,children:h.jsx(rx,{children:h.jsx(cee,{value:i,onChange:a=>o(a),title:"Make it secret"})})})}function Jd(t){var e=new Error(t);return e.source="ulid",e}var vb="0123456789ABCDEFGHJKMNPQRSTVWXYZ",ou=vb.length,Ek=Math.pow(2,48)-1,mee=10,vee=16;function Oee(t){var e=Math.floor(t()*ou);return e===ou&&(e=ou-1),vb.charAt(e)}function xee(t,e){if(isNaN(t))throw new Error(t+" must be a number");if(t>Ek)throw Jd("cannot encode time greater than "+Ek);if(t<0)throw Jd("time must be positive");if(Number.isInteger(t)===!1)throw Jd("time must be an integer");for(var n=void 0,r="";e>0;e--)n=t%ou,r=vb.charAt(n)+r,t=(t-n)/ou;return r}function yee(t,e){for(var n="";t>0;t--)n=Oee(e)+n;return n}function bee(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,e=arguments[1];e||(e=typeof window<"u"?window:null);var n=e&&(e.crypto||e.msCrypto);if(n)return function(){var i=new Uint8Array(1);return n.getRandomValues(i),i[0]/255};try{var r=require("crypto");return function(){return r.randomBytes(1).readUInt8()/255}}catch{}if(t){try{console.error("secure crypto unusable, falling back to insecure Math.random()!")}catch{}return function(){return Math.random()}}throw Jd("secure crypto unusable, insecure Math.random not allowed")}function See(t){return t||(t=bee()),function(n){return isNaN(n)&&(n=Date.now()),xee(n,mee)+yee(vee,t)}}var Nu=See(),wee=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},Is="1.9.0",Ik=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function Cee(t){var e=new Set([t]),n=new Set,r=t.match(Ik);if(!r)return function(){return!1};var i={major:+r[1],minor:+r[2],patch:+r[3],prerelease:r[4]};if(i.prerelease!=null)return function(l){return l===t};function o(a){return n.add(a),!1}function s(a){return e.add(a),!0}return function(l){if(e.has(l))return!0;if(n.has(l))return!1;var c=l.match(Ik);if(!c)return o(l);var u={major:+c[1],minor:+c[2],patch:+c[3],prerelease:c[4]};return u.prerelease!=null||i.major!==u.major?o(l):i.major===0?i.minor===u.minor&&i.patch<=u.patch?s(l):o(l):i.minor<=u.minor?s(l):o(l)}}var Pee=Cee(Is),Aee=Is.split(".")[0],Bu=Symbol.for("opentelemetry.js.api."+Aee),Qu=wee;function sf(t,e,n,r){var i;r===void 0&&(r=!1);var o=Qu[Bu]=(i=Qu[Bu])!==null&&i!==void 0?i:{version:Is};if(!r&&o[t]){var s=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+t);return n.error(s.stack||s.message),!1}if(o.version!==Is){var s=new Error("@opentelemetry/api: Registration of version v"+o.version+" for "+t+" does not match previously registered API v"+Is);return n.error(s.stack||s.message),!1}return o[t]=e,n.debug("@opentelemetry/api: Registered a global for "+t+" v"+Is+"."),!0}function Xs(t){var e,n,r=(e=Qu[Bu])===null||e===void 0?void 0:e.version;if(!(!r||!Pee(r)))return(n=Qu[Bu])===null||n===void 0?void 0:n[t]}function af(t,e){e.debug("@opentelemetry/api: Unregistering a global for "+t+" v"+Is+".");var n=Qu[Bu];n&&delete n[t]}var kee=function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},Eee=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))},Iee=function(){function t(e){this._namespace=e.namespace||"DiagComponentLogger"}return t.prototype.debug=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return wc("debug",this._namespace,e)},t.prototype.error=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return wc("error",this._namespace,e)},t.prototype.info=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return wc("info",this._namespace,e)},t.prototype.warn=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return wc("warn",this._namespace,e)},t.prototype.verbose=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return wc("verbose",this._namespace,e)},t}();function wc(t,e,n){var r=Xs("diag");if(r)return n.unshift(e),r[t].apply(r,Eee([],kee(n),!1))}var lr;(function(t){t[t.NONE=0]="NONE",t[t.ERROR=30]="ERROR",t[t.WARN=50]="WARN",t[t.INFO=60]="INFO",t[t.DEBUG=70]="DEBUG",t[t.VERBOSE=80]="VERBOSE",t[t.ALL=9999]="ALL"})(lr||(lr={}));function Tee(t,e){t<lr.NONE?t=lr.NONE:t>lr.ALL&&(t=lr.ALL),e=e||{};function n(r,i){var o=e[r];return typeof o=="function"&&t>=i?o.bind(e):function(){}}return{error:n("error",lr.ERROR),warn:n("warn",lr.WARN),info:n("info",lr.INFO),debug:n("debug",lr.DEBUG),verbose:n("verbose",lr.VERBOSE)}}var $ee=function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},jee=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))},_ee="diag",Ni=function(){function t(){function e(i){return function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];var a=Xs("diag");if(a)return a[i].apply(a,jee([],$ee(o),!1))}}var n=this,r=function(i,o){var s,a,l;if(o===void 0&&(o={logLevel:lr.INFO}),i===n){var c=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return n.error((s=c.stack)!==null&&s!==void 0?s:c.message),!1}typeof o=="number"&&(o={logLevel:o});var u=Xs("diag"),f=Tee((a=o.logLevel)!==null&&a!==void 0?a:lr.INFO,i);if(u&&!o.suppressOverrideMessage){var d=(l=new Error().stack)!==null&&l!==void 0?l:"<failed to generate stacktrace>";u.warn("Current logger will be overwritten from "+d),f.warn("Current logger will overwrite one already registered from "+d)}return sf("diag",f,n,!0)};n.setLogger=r,n.disable=function(){af(_ee,n)},n.createComponentLogger=function(i){return new Iee(i)},n.verbose=e("verbose"),n.debug=e("debug"),n.info=e("info"),n.warn=e("warn"),n.error=e("error")}return t.instance=function(){return this._instance||(this._instance=new t),this._instance},t}(),Ree=function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},Dee=function(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},Mee=function(){function t(e){this._entries=e?new Map(e):new Map}return t.prototype.getEntry=function(e){var n=this._entries.get(e);if(n)return Object.assign({},n)},t.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map(function(e){var n=Ree(e,2),r=n[0],i=n[1];return[r,i]})},t.prototype.setEntry=function(e,n){var r=new t(this._entries);return r._entries.set(e,n),r},t.prototype.removeEntry=function(e){var n=new t(this._entries);return n._entries.delete(e),n},t.prototype.removeEntries=function(){for(var e,n,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var o=new t(this._entries);try{for(var s=Dee(r),a=s.next();!a.done;a=s.next()){var l=a.value;o._entries.delete(l)}}catch(c){e={error:c}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}return o},t.prototype.clear=function(){return new t},t}(),Nee=Symbol("BaggageEntryMetadata"),Bee=Ni.instance();function Qee(t){return t===void 0&&(t={}),new Mee(new Map(Object.entries(t)))}function Lee(t){return typeof t!="string"&&(Bee.error("Cannot create baggage metadata from unknown type: "+typeof t),t=""),{__TYPE__:Nee,toString:function(){return t}}}function Ob(t){return Symbol.for(t)}var Fee=function(){function t(e){var n=this;n._currentContext=e?new Map(e):new Map,n.getValue=function(r){return n._currentContext.get(r)},n.setValue=function(r,i){var o=new t(n._currentContext);return o._currentContext.set(r,i),o},n.deleteValue=function(r){var i=new t(n._currentContext);return i._currentContext.delete(r),i}}return t}(),Ma=new Fee,ea=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Vee=function(){function t(){}return t.prototype.createGauge=function(e,n){return Jee},t.prototype.createHistogram=function(e,n){return Kee},t.prototype.createCounter=function(e,n){return qee},t.prototype.createUpDownCounter=function(e,n){return ete},t.prototype.createObservableGauge=function(e,n){return nte},t.prototype.createObservableCounter=function(e,n){return tte},t.prototype.createObservableUpDownCounter=function(e,n){return rte},t.prototype.addBatchObservableCallback=function(e,n){},t.prototype.removeBatchObservableCallback=function(e){},t}(),Pg=function(){function t(){}return t}(),zee=function(t){ea(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.add=function(n,r){},e}(Pg),Wee=function(t){ea(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.add=function(n,r){},e}(Pg),Zee=function(t){ea(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.record=function(n,r){},e}(Pg),Xee=function(t){ea(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.record=function(n,r){},e}(Pg),xb=function(){function t(){}return t.prototype.addCallback=function(e){},t.prototype.removeCallback=function(e){},t}(),Gee=function(t){ea(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(xb),Uee=function(t){ea(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(xb),Yee=function(t){ea(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(xb),Hee=new Vee,qee=new zee,Jee=new Zee,Kee=new Xee,ete=new Wee,tte=new Gee,nte=new Uee,rte=new Yee,ite={get:function(t,e){if(t!=null)return t[e]},keys:function(t){return t==null?[]:Object.keys(t)}},ote={set:function(t,e,n){t!=null&&(t[e]=n)}},ste=function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},ate=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))},lte=function(){function t(){}return t.prototype.active=function(){return Ma},t.prototype.with=function(e,n,r){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];return n.call.apply(n,ate([r],ste(i),!1))},t.prototype.bind=function(e,n){return n},t.prototype.enable=function(){return this},t.prototype.disable=function(){return this},t}(),cte=function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},ute=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))},Km="context",fte=new lte,Ag=function(){function t(){}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalContextManager=function(e){return sf(Km,e,Ni.instance())},t.prototype.active=function(){return this._getContextManager().active()},t.prototype.with=function(e,n,r){for(var i,o=[],s=3;s<arguments.length;s++)o[s-3]=arguments[s];return(i=this._getContextManager()).with.apply(i,ute([e,n,r],cte(o),!1))},t.prototype.bind=function(e,n){return this._getContextManager().bind(e,n)},t.prototype._getContextManager=function(){return Xs(Km)||fte},t.prototype.disable=function(){this._getContextManager().disable(),af(Km,Ni.instance())},t}(),ho;(function(t){t[t.NONE=0]="NONE",t[t.SAMPLED=1]="SAMPLED"})(ho||(ho={}));var J8="0000000000000000",K8="00000000000000000000000000000000",e$={traceId:K8,spanId:J8,traceFlags:ho.NONE},su=function(){function t(e){e===void 0&&(e=e$),this._spanContext=e}return t.prototype.spanContext=function(){return this._spanContext},t.prototype.setAttribute=function(e,n){return this},t.prototype.setAttributes=function(e){return this},t.prototype.addEvent=function(e,n){return this},t.prototype.addLink=function(e){return this},t.prototype.addLinks=function(e){return this},t.prototype.setStatus=function(e){return this},t.prototype.updateName=function(e){return this},t.prototype.end=function(e){},t.prototype.isRecording=function(){return!1},t.prototype.recordException=function(e,n){},t}(),yb=Ob("OpenTelemetry Context Key SPAN");function bb(t){return t.getValue(yb)||void 0}function dte(){return bb(Ag.getInstance().active())}function Sb(t,e){return t.setValue(yb,e)}function hte(t){return t.deleteValue(yb)}function pte(t,e){return Sb(t,new su(e))}function t$(t){var e;return(e=bb(t))===null||e===void 0?void 0:e.spanContext()}var gte=/^([0-9a-f]{32})$/i,mte=/^[0-9a-f]{16}$/i;function n$(t){return gte.test(t)&&t!==K8}function vte(t){return mte.test(t)&&t!==J8}function kg(t){return n$(t.traceId)&&vte(t.spanId)}function Ote(t){return new su(t)}var ev=Ag.getInstance(),r$=function(){function t(){}return t.prototype.startSpan=function(e,n,r){r===void 0&&(r=ev.active());var i=!!(n!=null&&n.root);if(i)return new su;var o=r&&t$(r);return xte(o)&&kg(o)?new su(o):new su},t.prototype.startActiveSpan=function(e,n,r,i){var o,s,a;if(!(arguments.length<2)){arguments.length===2?a=n:arguments.length===3?(o=n,a=r):(o=n,s=r,a=i);var l=s??ev.active(),c=this.startSpan(e,o,l),u=Sb(l,c);return ev.with(u,a,void 0,c)}},t}();function xte(t){return typeof t=="object"&&typeof t.spanId=="string"&&typeof t.traceId=="string"&&typeof t.traceFlags=="number"}var yte=new r$,bte=function(){function t(e,n,r,i){this._provider=e,this.name=n,this.version=r,this.options=i}return t.prototype.startSpan=function(e,n,r){return this._getTracer().startSpan(e,n,r)},t.prototype.startActiveSpan=function(e,n,r,i){var o=this._getTracer();return Reflect.apply(o.startActiveSpan,o,arguments)},t.prototype._getTracer=function(){if(this._delegate)return this._delegate;var e=this._provider.getDelegateTracer(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):yte},t}(),Ste=function(){function t(){}return t.prototype.getTracer=function(e,n,r){return new r$},t}(),wte=new Ste,Tk=function(){function t(){}return t.prototype.getTracer=function(e,n,r){var i;return(i=this.getDelegateTracer(e,n,r))!==null&&i!==void 0?i:new bte(this,e,n,r)},t.prototype.getDelegate=function(){var e;return(e=this._delegate)!==null&&e!==void 0?e:wte},t.prototype.setDelegate=function(e){this._delegate=e},t.prototype.getDelegateTracer=function(e,n,r){var i;return(i=this._delegate)===null||i===void 0?void 0:i.getTracer(e,n,r)},t}(),vp;(function(t){t[t.NOT_RECORD=0]="NOT_RECORD",t[t.RECORD=1]="RECORD",t[t.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(vp||(vp={}));var ix;(function(t){t[t.INTERNAL=0]="INTERNAL",t[t.SERVER=1]="SERVER",t[t.CLIENT=2]="CLIENT",t[t.PRODUCER=3]="PRODUCER",t[t.CONSUMER=4]="CONSUMER"})(ix||(ix={}));var ox;(function(t){t[t.UNSET=0]="UNSET",t[t.OK=1]="OK",t[t.ERROR=2]="ERROR"})(ox||(ox={}));var Fo=Ag.getInstance(),ot=Ni.instance(),Cte=function(){function t(){}return t.prototype.getMeter=function(e,n,r){return Hee},t}(),Pte=new Cte,tv="metrics",Ate=function(){function t(){}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalMeterProvider=function(e){return sf(tv,e,Ni.instance())},t.prototype.getMeterProvider=function(){return Xs(tv)||Pte},t.prototype.getMeter=function(e,n,r){return this.getMeterProvider().getMeter(e,n,r)},t.prototype.disable=function(){af(tv,Ni.instance())},t}(),kte=Ate.getInstance(),Ete=function(){function t(){}return t.prototype.inject=function(e,n){},t.prototype.extract=function(e,n){return e},t.prototype.fields=function(){return[]},t}(),wb=Ob("OpenTelemetry Baggage Key");function i$(t){return t.getValue(wb)||void 0}function Ite(){return i$(Ag.getInstance().active())}function Tte(t,e){return t.setValue(wb,e)}function $te(t){return t.deleteValue(wb)}var nv="propagation",jte=new Ete,_te=function(){function t(){this.createBaggage=Qee,this.getBaggage=i$,this.getActiveBaggage=Ite,this.setBaggage=Tte,this.deleteBaggage=$te}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalPropagator=function(e){return sf(nv,e,Ni.instance())},t.prototype.inject=function(e,n,r){return r===void 0&&(r=ote),this._getGlobalPropagator().inject(e,n,r)},t.prototype.extract=function(e,n,r){return r===void 0&&(r=ite),this._getGlobalPropagator().extract(e,n,r)},t.prototype.fields=function(){return this._getGlobalPropagator().fields()},t.prototype.disable=function(){af(nv,Ni.instance())},t.prototype._getGlobalPropagator=function(){return Xs(nv)||jte},t}(),au=_te.getInstance(),rv="trace",Rte=function(){function t(){this._proxyTracerProvider=new Tk,this.wrapSpanContext=Ote,this.isSpanContextValid=kg,this.deleteSpan=hte,this.getSpan=bb,this.getActiveSpan=dte,this.getSpanContext=t$,this.setSpan=Sb,this.setSpanContext=pte}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalTracerProvider=function(e){var n=sf(rv,this._proxyTracerProvider,Ni.instance());return n&&this._proxyTracerProvider.setDelegate(e),n},t.prototype.getTracerProvider=function(){return Xs(rv)||this._proxyTracerProvider},t.prototype.getTracer=function(e,n){return this.getTracerProvider().getTracer(e,n)},t.prototype.disable=function(){af(rv,Ni.instance()),this._proxyTracerProvider=new Tk},t}(),Ar=Rte.getInstance();const o$=Ob("OpenTelemetry SDK Context Key SUPPRESS_TRACING");function Dte(t){return t.setValue(o$,!0)}function Cb(t){return t.getValue(o$)===!0}const Mte="=",sx=";",ax=",",iv="baggage",Nte=180,Bte=4096,Qte=8192;function Lte(t){return t.reduce((e,n)=>{const r=`${e}${e!==""?ax:""}${n}`;return r.length>Qte?e:r},"")}function Fte(t){return t.getAllEntries().map(([e,n])=>{let r=`${encodeURIComponent(e)}=${encodeURIComponent(n.value)}`;return n.metadata!==void 0&&(r+=sx+n.metadata.toString()),r})}function Vte(t){const e=t.split(sx);if(e.length<=0)return;const n=e.shift();if(!n)return;const r=n.indexOf(Mte);if(r<=0)return;const i=decodeURIComponent(n.substring(0,r).trim()),o=decodeURIComponent(n.substring(r+1).trim());let s;return e.length>0&&(s=Lee(e.join(sx))),{key:i,value:o,metadata:s}}class zte{inject(e,n,r){const i=au.getBaggage(e);if(!i||Cb(e))return;const o=Fte(i).filter(a=>a.length<=Bte).slice(0,Nte),s=Lte(o);s.length>0&&r.set(n,iv,s)}extract(e,n,r){const i=r.get(n,iv),o=Array.isArray(i)?i.join(ax):i;if(!o)return e;const s={};return o.length===0||(o.split(ax).forEach(l=>{const c=Vte(l);if(c){const u={value:c.value};c.metadata&&(u.metadata=c.metadata),s[c.key]=u}}),Object.entries(s).length===0)?e:au.setBaggage(e,au.createBaggage(s))}fields(){return[iv]}}function Kd(t){const e={};if(typeof t!="object"||t==null)return e;for(const[n,r]of Object.entries(t)){if(!Wte(n)){ot.warn(`Invalid attribute key: ${n}`);continue}if(!s$(r)){ot.warn(`Invalid attribute value set for key: ${n}`);continue}Array.isArray(r)?e[n]=r.slice():e[n]=r}return e}function Wte(t){return typeof t=="string"&&t.length>0}function s$(t){return t==null?!0:Array.isArray(t)?Zte(t):a$(t)}function Zte(t){let e;for(const n of t)if(n!=null){if(!e){if(a$(n)){e=typeof n;continue}return!1}if(typeof n!==e)return!1}return!0}function a$(t){switch(typeof t){case"number":case"boolean":case"string":return!0}return!1}function Xte(){return t=>{ot.error(Gte(t))}}function Gte(t){return typeof t=="string"?t:JSON.stringify(Ute(t))}function Ute(t){const e={};let n=t;for(;n!==null;)Object.getOwnPropertyNames(n).forEach(r=>{if(e[r])return;const i=n[r];i&&(e[r]=String(i))}),n=Object.getPrototypeOf(n);return e}let Yte=Xte();function Rl(t){try{Yte(t)}catch{}}const al=performance,Hte="2.0.1",ov="exception.message",qte="exception.stacktrace",sv="exception.type",l$="service.name",Jte="service.version",lx="telemetry.sdk.language",Kte="webjs",cx="telemetry.sdk.name",ux="telemetry.sdk.version",ene="process.runtime.name",av={[cx]:"opentelemetry",[ene]:"browser",[lx]:Kte,[ux]:Hte};const tne=9,nne=6,rne=Math.pow(10,nne),Op=Math.pow(10,tne);function Xa(t){const e=t/1e3,n=Math.trunc(e),r=Math.round(t%1e3*rne);return[n,r]}function c$(){let t=al.timeOrigin;if(typeof t!="number"){const e=al;t=e.timing&&e.timing.fetchStart}return t}function ine(t){const e=Xa(c$()),n=Xa(typeof t=="number"?t:al.now());return f$(e,n)}function one(t,e){let n=e[0]-t[0],r=e[1]-t[1];return r<0&&(n-=1,r+=Op),[n,r]}function sne(t){return t[0]*Op+t[1]}function u$(t){return Array.isArray(t)&&t.length===2&&typeof t[0]=="number"&&typeof t[1]=="number"}function $k(t){return u$(t)||typeof t=="number"||t instanceof Date}function f$(t,e){const n=[t[0]+e[0],t[1]+e[1]];return n[1]>=Op&&(n[1]-=Op,n[0]+=1),n}var Oi;(function(t){t[t.SUCCESS=0]="SUCCESS",t[t.FAILED=1]="FAILED"})(Oi||(Oi={}));class ane{constructor(e={}){ie(this,"_propagators");ie(this,"_fields");this._propagators=e.propagators??[],this._fields=Array.from(new Set(this._propagators.map(n=>typeof n.fields=="function"?n.fields():[]).reduce((n,r)=>n.concat(r),[])))}inject(e,n,r){for(const i of this._propagators)try{i.inject(e,n,r)}catch(o){ot.warn(`Failed to inject with ${i.constructor.name}. Err: ${o.message}`)}}extract(e,n,r){return this._propagators.reduce((i,o)=>{try{return o.extract(i,n,r)}catch(s){ot.warn(`Failed to extract with ${o.constructor.name}. Err: ${s.message}`)}return i},e)}fields(){return this._fields.slice()}}const fx="[_0-9a-z-*/]",lne=`[a-z]${fx}{0,255}`,cne=`[a-z0-9]${fx}{0,240}@[a-z]${fx}{0,13}`,une=new RegExp(`^(?:${lne}|${cne})$`),fne=/^[ -~]{0,255}[!-~]$/,dne=/,|=/;function hne(t){return une.test(t)}function pne(t){return fne.test(t)&&!dne.test(t)}const jk=32,gne=512,_k=",",Rk="=";class Pb{constructor(e){ie(this,"_internalState",new Map);e&&this._parse(e)}set(e,n){const r=this._clone();return r._internalState.has(e)&&r._internalState.delete(e),r._internalState.set(e,n),r}unset(e){const n=this._clone();return n._internalState.delete(e),n}get(e){return this._internalState.get(e)}serialize(){return this._keys().reduce((e,n)=>(e.push(n+Rk+this.get(n)),e),[]).join(_k)}_parse(e){e.length>gne||(this._internalState=e.split(_k).reverse().reduce((n,r)=>{const i=r.trim(),o=i.indexOf(Rk);if(o!==-1){const s=i.slice(0,o),a=i.slice(o+1,r.length);hne(s)&&pne(a)&&n.set(s,a)}return n},new Map),this._internalState.size>jk&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,jk))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){const e=new Pb;return e._internalState=new Map(this._internalState),e}}const lv="traceparent",cv="tracestate",mne="00",vne="(?!ff)[\\da-f]{2}",One="(?![0]{32})[\\da-f]{32}",xne="(?![0]{16})[\\da-f]{16}",yne="[\\da-f]{2}",bne=new RegExp(`^\\s?(${vne})-(${One})-(${xne})-(${yne})(-.*)?\\s?$`);function Sne(t){const e=bne.exec(t);return!e||e[1]==="00"&&e[5]?null:{traceId:e[2],spanId:e[3],traceFlags:parseInt(e[4],16)}}class wne{inject(e,n,r){const i=Ar.getSpanContext(e);if(!i||Cb(e)||!kg(i))return;const o=`${mne}-${i.traceId}-${i.spanId}-0${Number(i.traceFlags||ho.NONE).toString(16)}`;r.set(n,lv,o),i.traceState&&r.set(n,cv,i.traceState.serialize())}extract(e,n,r){const i=r.get(n,lv);if(!i)return e;const o=Array.isArray(i)?i[0]:i;if(typeof o!="string")return e;const s=Sne(o);if(!s)return e;s.isRemote=!0;const a=r.get(n,cv);if(a){const l=Array.isArray(a)?a.join(","):a;s.traceState=new Pb(typeof l=="string"?l:void 0)}return Ar.setSpanContext(e,s)}fields(){return[lv,cv]}}const Cne="[object Object]",Pne="[object Null]",Ane="[object Undefined]",kne=Function.prototype,d$=kne.toString,Ene=d$.call(Object),Ine=Object.getPrototypeOf,h$=Object.prototype,p$=h$.hasOwnProperty,Cs=Symbol?Symbol.toStringTag:void 0,g$=h$.toString;function Dk(t){if(!Tne(t)||$ne(t)!==Cne)return!1;const e=Ine(t);if(e===null)return!0;const n=p$.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&d$.call(n)===Ene}function Tne(t){return t!=null&&typeof t=="object"}function $ne(t){return t==null?t===void 0?Ane:Pne:Cs&&Cs in Object(t)?jne(t):_ne(t)}function jne(t){const e=p$.call(t,Cs),n=t[Cs];let r=!1;try{t[Cs]=void 0,r=!0}catch{}const i=g$.call(t);return r&&(e?t[Cs]=n:delete t[Cs]),i}function _ne(t){return g$.call(t)}const Rne=20;function Dne(...t){let e=t.shift();const n=new WeakMap;for(;t.length>0;)e=m$(e,t.shift(),0,n);return e}function uv(t){return xp(t)?t.slice():t}function m$(t,e,n=0,r){let i;if(!(n>Rne)){if(n++,eh(t)||eh(e)||v$(e))i=uv(e);else if(xp(t)){if(i=t.slice(),xp(e))for(let o=0,s=e.length;o<s;o++)i.push(uv(e[o]));else if(Cc(e)){const o=Object.keys(e);for(let s=0,a=o.length;s<a;s++){const l=o[s];i[l]=uv(e[l])}}}else if(Cc(t))if(Cc(e)){if(!Mne(t,e))return e;i=Object.assign({},t);const o=Object.keys(e);for(let s=0,a=o.length;s<a;s++){const l=o[s],c=e[l];if(eh(c))typeof c>"u"?delete i[l]:i[l]=c;else{const u=i[l],f=c;if(Mk(t,l,r)||Mk(e,l,r))delete i[l];else{if(Cc(u)&&Cc(f)){const d=r.get(u)||[],p=r.get(f)||[];d.push({obj:t,key:l}),p.push({obj:e,key:l}),r.set(u,d),r.set(f,p)}i[l]=m$(i[l],c,n,r)}}}}else i=e;return i}}function Mk(t,e,n){const r=n.get(t[e])||[];for(let i=0,o=r.length;i<o;i++){const s=r[i];if(s.key===e&&s.obj===t)return!0}return!1}function xp(t){return Array.isArray(t)}function v$(t){return typeof t=="function"}function Cc(t){return!eh(t)&&!xp(t)&&!v$(t)&&typeof t=="object"}function eh(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t>"u"||t instanceof Date||t instanceof RegExp||t===null}function Mne(t,e){return!(!Dk(t)||!Dk(e))}class Nne{constructor(){ie(this,"_promise");ie(this,"_resolve");ie(this,"_reject");this._promise=new Promise((e,n)=>{this._resolve=e,this._reject=n})}get promise(){return this._promise}resolve(e){this._resolve(e)}reject(e){this._reject(e)}}class Bne{constructor(e,n){ie(this,"_callback");ie(this,"_that");ie(this,"_isCalled",!1);ie(this,"_deferred",new Nne);this._callback=e,this._that=n}get isCalled(){return this._isCalled}get promise(){return this._deferred.promise}call(...e){if(!this._isCalled){this._isCalled=!0;try{Promise.resolve(this._callback.call(this._that,...e)).then(n=>this._deferred.resolve(n),n=>this._deferred.reject(n))}catch(n){this._deferred.reject(n)}}return this._deferred.promise}}function Qne(){return"unknown_service"}const Fc=t=>t!==null&&typeof t=="object"&&typeof t.then=="function";class yp{constructor(e){ie(this,"_rawAttributes");ie(this,"_asyncAttributesPending",!1);ie(this,"_memoizedAttributes");const n=e.attributes??{};this._rawAttributes=Object.entries(n).map(([r,i])=>(Fc(i)&&(this._asyncAttributesPending=!0),[r,i])),this._rawAttributes=Nk(this._rawAttributes)}static FromAttributeList(e){const n=new yp({});return n._rawAttributes=Nk(e),n._asyncAttributesPending=e.filter(([r,i])=>Fc(i)).length>0,n}get asyncAttributesPending(){return this._asyncAttributesPending}async waitForAsyncAttributes(){if(this.asyncAttributesPending){for(let e=0;e<this._rawAttributes.length;e++){const[n,r]=this._rawAttributes[e];this._rawAttributes[e]=[n,Fc(r)?await r:r]}this._asyncAttributesPending=!1}}get attributes(){if(this.asyncAttributesPending&&ot.error("Accessing resource attributes before async attributes settled"),this._memoizedAttributes)return this._memoizedAttributes;const e={};for(const[n,r]of this._rawAttributes){if(Fc(r)){ot.debug(`Unsettled resource attribute ${n} skipped`);continue}r!=null&&(e[n]??(e[n]=r))}return this._asyncAttributesPending||(this._memoizedAttributes=e),e}getRawAttributes(){return this._rawAttributes}merge(e){return e==null?this:yp.FromAttributeList([...e.getRawAttributes(),...this.getRawAttributes()])}}function O$(t){return yp.FromAttributeList(Object.entries(t))}function Lne(){return O$({[l$]:Qne(),[lx]:av[lx],[cx]:av[cx],[ux]:av[ux]})}function Nk(t){return t.map(([e,n])=>Fc(n)?[e,n.catch(r=>{ot.debug("promise rejection for resource attribute: %s - %s",e,r)})]:[e,n])}const Fne="exception";class Vne{constructor(e){ie(this,"_spanContext");ie(this,"kind");ie(this,"parentSpanContext");ie(this,"attributes",{});ie(this,"links",[]);ie(this,"events",[]);ie(this,"startTime");ie(this,"resource");ie(this,"instrumentationScope");ie(this,"_droppedAttributesCount",0);ie(this,"_droppedEventsCount",0);ie(this,"_droppedLinksCount",0);ie(this,"name");ie(this,"status",{code:ox.UNSET});ie(this,"endTime",[0,0]);ie(this,"_ended",!1);ie(this,"_duration",[-1,-1]);ie(this,"_spanProcessor");ie(this,"_spanLimits");ie(this,"_attributeValueLengthLimit");ie(this,"_performanceStartTime");ie(this,"_performanceOffset");ie(this,"_startTimeProvided");const n=Date.now();this._spanContext=e.spanContext,this._performanceStartTime=al.now(),this._performanceOffset=n-(this._performanceStartTime+c$()),this._startTimeProvided=e.startTime!=null,this._spanLimits=e.spanLimits,this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit||0,this._spanProcessor=e.spanProcessor,this.name=e.name,this.parentSpanContext=e.parentSpanContext,this.kind=e.kind,this.links=e.links||[],this.startTime=this._getTime(e.startTime??n),this.resource=e.resource,this.instrumentationScope=e.scope,e.attributes!=null&&this.setAttributes(e.attributes),this._spanProcessor.onStart(this,e.context)}spanContext(){return this._spanContext}setAttribute(e,n){if(n==null||this._isSpanEnded())return this;if(e.length===0)return ot.warn(`Invalid attribute key: ${e}`),this;if(!s$(n))return ot.warn(`Invalid attribute value set for key: ${e}`),this;const{attributeCountLimit:r}=this._spanLimits;return r!==void 0&&Object.keys(this.attributes).length>=r&&!Object.prototype.hasOwnProperty.call(this.attributes,e)?(this._droppedAttributesCount++,this):(this.attributes[e]=this._truncateToSize(n),this)}setAttributes(e){for(const[n,r]of Object.entries(e))this.setAttribute(n,r);return this}addEvent(e,n,r){if(this._isSpanEnded())return this;const{eventCountLimit:i}=this._spanLimits;if(i===0)return ot.warn("No events allowed."),this._droppedEventsCount++,this;i!==void 0&&this.events.length>=i&&(this._droppedEventsCount===0&&ot.debug("Dropping extra events."),this.events.shift(),this._droppedEventsCount++),$k(n)&&($k(r)||(r=n),n=void 0);const o=Kd(n);return this.events.push({name:e,attributes:o,time:this._getTime(r),droppedAttributesCount:0}),this}addLink(e){return this.links.push(e),this}addLinks(e){return this.links.push(...e),this}setStatus(e){return this._isSpanEnded()?this:(this.status={...e},this.status.message!=null&&typeof e.message!="string"&&(ot.warn(`Dropping invalid status.message of type '${typeof e.message}', expected 'string'`),delete this.status.message),this)}updateName(e){return this._isSpanEnded()?this:(this.name=e,this)}end(e){if(this._isSpanEnded()){ot.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);return}this._ended=!0,this.endTime=this._getTime(e),this._duration=one(this.startTime,this.endTime),this._duration[0]<0&&(ot.warn("Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.",this.startTime,this.endTime),this.endTime=this.startTime.slice(),this._duration=[0,0]),this._droppedEventsCount>0&&ot.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`),this._spanProcessor.onEnd(this)}_getTime(e){if(typeof e=="number"&&e<=al.now())return ine(e+this._performanceOffset);if(typeof e=="number")return Xa(e);if(e instanceof Date)return Xa(e.getTime());if(u$(e))return e;if(this._startTimeProvided)return Xa(Date.now());const n=al.now()-this._performanceStartTime;return f$(this.startTime,Xa(n))}isRecording(){return this._ended===!1}recordException(e,n){const r={};typeof e=="string"?r[ov]=e:e&&(e.code?r[sv]=e.code.toString():e.name&&(r[sv]=e.name),e.message&&(r[ov]=e.message),e.stack&&(r[qte]=e.stack)),r[sv]||r[ov]?this.addEvent(Fne,r,n):ot.warn(`Failed to record an exception ${e}`)}get duration(){return this._duration}get ended(){return this._ended}get droppedAttributesCount(){return this._droppedAttributesCount}get droppedEventsCount(){return this._droppedEventsCount}get droppedLinksCount(){return this._droppedLinksCount}_isSpanEnded(){if(this._ended){const e=new Error(`Operation attempted on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`);ot.warn(`Cannot execute the operation on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`,e)}return this._ended}_truncateToLimitUtil(e,n){return e.length<=n?e:e.substring(0,n)}_truncateToSize(e){const n=this._attributeValueLengthLimit;return n<=0?(ot.warn(`Attribute value limit must be positive, got ${n}`),e):typeof e=="string"?this._truncateToLimitUtil(e,n):Array.isArray(e)?e.map(r=>typeof r=="string"?this._truncateToLimitUtil(r,n):r):e}}var Dl;(function(t){t[t.NOT_RECORD=0]="NOT_RECORD",t[t.RECORD=1]="RECORD",t[t.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(Dl||(Dl={}));class bp{shouldSample(){return{decision:Dl.NOT_RECORD}}toString(){return"AlwaysOffSampler"}}class ll{shouldSample(){return{decision:Dl.RECORD_AND_SAMPLED}}toString(){return"AlwaysOnSampler"}}class hd{constructor(e){ie(this,"_root");ie(this,"_remoteParentSampled");ie(this,"_remoteParentNotSampled");ie(this,"_localParentSampled");ie(this,"_localParentNotSampled");this._root=e.root,this._root||(Rl(new Error("ParentBasedSampler must have a root sampler configured")),this._root=new ll),this._remoteParentSampled=e.remoteParentSampled??new ll,this._remoteParentNotSampled=e.remoteParentNotSampled??new bp,this._localParentSampled=e.localParentSampled??new ll,this._localParentNotSampled=e.localParentNotSampled??new bp}shouldSample(e,n,r,i,o,s){const a=Ar.getSpanContext(e);return!a||!kg(a)?this._root.shouldSample(e,n,r,i,o,s):a.isRemote?a.traceFlags&ho.SAMPLED?this._remoteParentSampled.shouldSample(e,n,r,i,o,s):this._remoteParentNotSampled.shouldSample(e,n,r,i,o,s):a.traceFlags&ho.SAMPLED?this._localParentSampled.shouldSample(e,n,r,i,o,s):this._localParentNotSampled.shouldSample(e,n,r,i,o,s)}toString(){return`ParentBased{root=${this._root.toString()}, remoteParentSampled=${this._remoteParentSampled.toString()}, remoteParentNotSampled=${this._remoteParentNotSampled.toString()}, localParentSampled=${this._localParentSampled.toString()}, localParentNotSampled=${this._localParentNotSampled.toString()}}`}}class Bk{constructor(e=0){ie(this,"_ratio");ie(this,"_upperBound");this._ratio=e,this._ratio=this._normalize(e),this._upperBound=Math.floor(this._ratio*4294967295)}shouldSample(e,n){return{decision:n$(n)&&this._accumulate(n)<this._upperBound?Dl.RECORD_AND_SAMPLED:Dl.NOT_RECORD}}toString(){return`TraceIdRatioBased{${this._ratio}}`}_normalize(e){return typeof e!="number"||isNaN(e)?0:e>=1?1:e<=0?0:e}_accumulate(e){let n=0;for(let r=0;r<e.length/8;r++){const i=r*8,o=parseInt(e.slice(i,i+8),16);n=(n^o)>>>0}return n}}const Qk=1;function x$(){return{sampler:y$(),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128},spanLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128,linkCountLimit:128,eventCountLimit:128,attributePerEventCountLimit:128,attributePerLinkCountLimit:128}}}function y$(){const t="parentbased_always_on";switch(t){case"always_on":return new ll;case"always_off":return new bp;case"parentbased_always_on":return new hd({root:new ll});case"parentbased_always_off":return new hd({root:new bp});case"traceidratio":return new Bk(Lk());case"parentbased_traceidratio":return new hd({root:new Bk(Lk())});default:return ot.error(`OTEL_TRACES_SAMPLER value "${t}" invalid, defaulting to "parentbased_always_on".`),new hd({root:new ll})}}function Lk(){return ot.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${Qk}.`),Qk}const zne=128,Wne=1/0;function Zne(t){const e={sampler:y$()},n=x$(),r=Object.assign({},n,e,t);return r.generalLimits=Object.assign({},n.generalLimits,t.generalLimits||{}),r.spanLimits=Object.assign({},n.spanLimits,t.spanLimits||{}),r}function Xne(t){var n,r,i,o;const e=Object.assign({},t.spanLimits);return e.attributeCountLimit=((n=t.spanLimits)==null?void 0:n.attributeCountLimit)??((r=t.generalLimits)==null?void 0:r.attributeCountLimit)??void 0??void 0??zne,e.attributeValueLengthLimit=((i=t.spanLimits)==null?void 0:i.attributeValueLengthLimit)??((o=t.generalLimits)==null?void 0:o.attributeValueLengthLimit)??void 0??void 0??Wne,Object.assign({},t,{spanLimits:e})}class Gne{constructor(e,n){ie(this,"_exporter");ie(this,"_maxExportBatchSize");ie(this,"_maxQueueSize");ie(this,"_scheduledDelayMillis");ie(this,"_exportTimeoutMillis");ie(this,"_isExporting",!1);ie(this,"_finishedSpans",[]);ie(this,"_timer");ie(this,"_shutdownOnce");ie(this,"_droppedSpansCount",0);this._exporter=e,this._maxExportBatchSize=typeof(n==null?void 0:n.maxExportBatchSize)=="number"?n.maxExportBatchSize:512,this._maxQueueSize=typeof(n==null?void 0:n.maxQueueSize)=="number"?n.maxQueueSize:2048,this._scheduledDelayMillis=typeof(n==null?void 0:n.scheduledDelayMillis)=="number"?n.scheduledDelayMillis:5e3,this._exportTimeoutMillis=typeof(n==null?void 0:n.exportTimeoutMillis)=="number"?n.exportTimeoutMillis:3e4,this._shutdownOnce=new Bne(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(ot.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"),this._maxExportBatchSize=this._maxQueueSize)}forceFlush(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()}onStart(e,n){}onEnd(e){this._shutdownOnce.isCalled||e.spanContext().traceFlags&ho.SAMPLED&&this._addToBuffer(e)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return Promise.resolve().then(()=>this.onShutdown()).then(()=>this._flushAll()).then(()=>this._exporter.shutdown())}_addToBuffer(e){if(this._finishedSpans.length>=this._maxQueueSize){this._droppedSpansCount===0&&ot.debug("maxQueueSize reached, dropping spans"),this._droppedSpansCount++;return}this._droppedSpansCount>0&&(ot.warn(`Dropped ${this._droppedSpansCount} spans because maxQueueSize reached`),this._droppedSpansCount=0),this._finishedSpans.push(e),this._maybeStartTimer()}_flushAll(){return new Promise((e,n)=>{const r=[],i=Math.ceil(this._finishedSpans.length/this._maxExportBatchSize);for(let o=0,s=i;o<s;o++)r.push(this._flushOneBatch());Promise.all(r).then(()=>{e()}).catch(n)})}_flushOneBatch(){return this._clearTimer(),this._finishedSpans.length===0?Promise.resolve():new Promise((e,n)=>{const r=setTimeout(()=>{n(new Error("Timeout"))},this._exportTimeoutMillis);Fo.with(Dte(Fo.active()),()=>{let i;this._finishedSpans.length<=this._maxExportBatchSize?(i=this._finishedSpans,this._finishedSpans=[]):i=this._finishedSpans.splice(0,this._maxExportBatchSize);const o=()=>this._exporter.export(i,a=>{clearTimeout(r),a.code===Oi.SUCCESS?e():n(a.error??new Error("BatchSpanProcessor: span export failed"))});let s=null;for(let a=0,l=i.length;a<l;a++){const c=i[a];c.resource.asyncAttributesPending&&c.resource.waitForAsyncAttributes&&(s??(s=[]),s.push(c.resource.waitForAsyncAttributes()))}s===null?o():Promise.all(s).then(o,a=>{Rl(a),n(a)})})})}_maybeStartTimer(){if(this._isExporting)return;const e=()=>{this._isExporting=!0,this._flushOneBatch().finally(()=>{this._isExporting=!1,this._finishedSpans.length>0&&(this._clearTimer(),this._maybeStartTimer())}).catch(n=>{this._isExporting=!1,Rl(n)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return e();this._timer===void 0&&(this._timer=setTimeout(()=>e(),this._scheduledDelayMillis),this._timer,void 0)}_clearTimer(){this._timer!==void 0&&(clearTimeout(this._timer),this._timer=void 0)}}class Une extends Gne{constructor(n,r){super(n,r);ie(this,"_visibilityChangeListener");ie(this,"_pageHideListener");this.onInit(r)}onInit(n){(n==null?void 0:n.disableAutoFlushOnDocumentHide)!==!0&&typeof document<"u"&&(this._visibilityChangeListener=()=>{document.visibilityState==="hidden"&&this.forceFlush().catch(r=>{Rl(r)})},this._pageHideListener=()=>{this.forceFlush().catch(r=>{Rl(r)})},document.addEventListener("visibilitychange",this._visibilityChangeListener),document.addEventListener("pagehide",this._pageHideListener))}onShutdown(){typeof document<"u"&&(this._visibilityChangeListener&&document.removeEventListener("visibilitychange",this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener("pagehide",this._pageHideListener))}}const Yne=8,Hne=16;class qne{constructor(){ie(this,"generateTraceId",Fk(Hne));ie(this,"generateSpanId",Fk(Yne))}}const pd=Array(32);function Fk(t){return function(){for(let n=0;n<t*2;n++)pd[n]=Math.floor(Math.random()*16)+48,pd[n]>=58&&(pd[n]+=39);return String.fromCharCode.apply(null,pd.slice(0,t*2))}}class Jne{constructor(e,n,r,i){ie(this,"_sampler");ie(this,"_generalLimits");ie(this,"_spanLimits");ie(this,"_idGenerator");ie(this,"instrumentationScope");ie(this,"_resource");ie(this,"_spanProcessor");const o=Zne(n);this._sampler=o.sampler,this._generalLimits=o.generalLimits,this._spanLimits=o.spanLimits,this._idGenerator=n.idGenerator||new qne,this._resource=r,this._spanProcessor=i,this.instrumentationScope=e}startSpan(e,n={},r=Fo.active()){n.root&&(r=Ar.deleteSpan(r));const i=Ar.getSpan(r);if(Cb(r))return ot.debug("Instrumentation suppressed, returning Noop Span"),Ar.wrapSpanContext(e$);const o=i==null?void 0:i.spanContext(),s=this._idGenerator.generateSpanId();let a,l,c;!o||!Ar.isSpanContextValid(o)?l=this._idGenerator.generateTraceId():(l=o.traceId,c=o.traceState,a=o);const u=n.kind??ix.INTERNAL,f=(n.links??[]).map(x=>({context:x.context,attributes:Kd(x.attributes)})),d=Kd(n.attributes),p=this._sampler.shouldSample(r,l,e,u,d,f);c=p.traceState??c;const g=p.decision===vp.RECORD_AND_SAMPLED?ho.SAMPLED:ho.NONE,m={traceId:l,spanId:s,traceFlags:g,traceState:c};if(p.decision===vp.NOT_RECORD)return ot.debug("Recording is off, propagating context in a non-recording span"),Ar.wrapSpanContext(m);const v=Kd(Object.assign(d,p.attributes));return new Vne({resource:this._resource,scope:this.instrumentationScope,context:r,spanContext:m,name:e,kind:u,links:f,parentSpanContext:a,attributes:v,startTime:n.startTime,spanProcessor:this._spanProcessor,spanLimits:this._spanLimits})}startActiveSpan(e,n,r,i){let o,s,a;if(arguments.length<2)return;arguments.length===2?a=n:arguments.length===3?(o=n,a=r):(o=n,s=r,a=i);const l=s??Fo.active(),c=this.startSpan(e,o,l),u=Ar.setSpan(l,c);return Fo.with(u,a,void 0,c)}getGeneralLimits(){return this._generalLimits}getSpanLimits(){return this._spanLimits}}class Kne{constructor(e){ie(this,"_spanProcessors");this._spanProcessors=e}forceFlush(){const e=[];for(const n of this._spanProcessors)e.push(n.forceFlush());return new Promise(n=>{Promise.all(e).then(()=>{n()}).catch(r=>{Rl(r||new Error("MultiSpanProcessor: forceFlush failed")),n()})})}onStart(e,n){for(const r of this._spanProcessors)r.onStart(e,n)}onEnd(e){for(const n of this._spanProcessors)n.onEnd(e)}shutdown(){const e=[];for(const n of this._spanProcessors)e.push(n.shutdown());return new Promise((n,r)=>{Promise.all(e).then(()=>{n()},r)})}}var Ps;(function(t){t[t.resolved=0]="resolved",t[t.timeout=1]="timeout",t[t.error=2]="error",t[t.unresolved=3]="unresolved"})(Ps||(Ps={}));class ere{constructor(e={}){ie(this,"_config");ie(this,"_tracers",new Map);ie(this,"_resource");ie(this,"_activeSpanProcessor");var i;const n=Dne({},x$(),Xne(e));this._resource=n.resource??Lne(),this._config=Object.assign({},n,{resource:this._resource});const r=[];(i=e.spanProcessors)!=null&&i.length&&r.push(...e.spanProcessors),this._activeSpanProcessor=new Kne(r)}getTracer(e,n,r){const i=`${e}@${n||""}:${(r==null?void 0:r.schemaUrl)||""}`;return this._tracers.has(i)||this._tracers.set(i,new Jne({name:e,version:n,schemaUrl:r==null?void 0:r.schemaUrl},this._config,this._resource,this._activeSpanProcessor)),this._tracers.get(i)}forceFlush(){const e=this._config.forceFlushTimeoutMillis,n=this._activeSpanProcessor._spanProcessors.map(r=>new Promise(i=>{let o;const s=setTimeout(()=>{i(new Error(`Span processor did not completed within timeout period of ${e} ms`)),o=Ps.timeout},e);r.forceFlush().then(()=>{clearTimeout(s),o!==Ps.timeout&&(o=Ps.resolved,i(o))}).catch(a=>{clearTimeout(s),o=Ps.error,i(a)})}));return new Promise((r,i)=>{Promise.all(n).then(o=>{const s=o.filter(a=>a!==Ps.resolved);s.length>0?i(s):r()}).catch(o=>i([o]))})}shutdown(){return this._activeSpanProcessor.shutdown()}}class tre{constructor(){ie(this,"_enabled",!1);ie(this,"_currentContext",Ma)}_bindFunction(e=Ma,n){const r=this,i=function(...o){return r.with(e,()=>n.apply(this,o))};return Object.defineProperty(i,"length",{enumerable:!1,configurable:!0,writable:!1,value:n.length}),i}active(){return this._currentContext}bind(e,n){return e===void 0&&(e=this.active()),typeof n=="function"?this._bindFunction(e,n):n}disable(){return this._currentContext=Ma,this._enabled=!1,this}enable(){return this._enabled?this:(this._enabled=!0,this._currentContext=Ma,this)}with(e,n,r,...i){const o=this._currentContext;this._currentContext=e||Ma;try{return n.call(r,...i)}finally{this._currentContext=o}}}function nre(t){if(t!==null){if(t===void 0){const e=new tre;e.enable(),Fo.setGlobalContextManager(e);return}t.enable(),Fo.setGlobalContextManager(t)}}function rre(t){if(t!==null){if(t===void 0){au.setGlobalPropagator(new ane({propagators:[new wne,new zte]}));return}au.setGlobalPropagator(t)}}class ire extends ere{constructor(e={}){super(e)}register(e={}){Ar.setGlobalTracerProvider(this),rre(e.propagator),nre(e.contextManager)}}class ore{constructor(e){ie(this,"_delegate");this._delegate=e}export(e,n){this._delegate.export(e,n)}forceFlush(){return this._delegate.forceFlush()}shutdown(){return this._delegate.shutdown()}}class Vk extends Error{constructor(n,r,i){super(n);ie(this,"code");ie(this,"name","OTLPExporterError");ie(this,"data");this.data=i,this.code=r}}function sre(t){if(Number.isFinite(t)&&t>0)return t;throw new Error(`Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '${t}')`)}function are(t){if(t!=null)return()=>t}function lre(t,e,n){return{timeoutMillis:sre(t.timeoutMillis??e.timeoutMillis??n.timeoutMillis),concurrencyLimit:t.concurrencyLimit??e.concurrencyLimit??n.concurrencyLimit,compression:t.compression??e.compression??n.compression}}function cre(){return{timeoutMillis:1e4,concurrencyLimit:30,compression:"none"}}class ure{constructor(e){ie(this,"_concurrencyLimit");ie(this,"_sendingPromises",[]);this._concurrencyLimit=e}pushPromise(e){if(this.hasReachedLimit())throw new Error("Concurrency Limit reached");this._sendingPromises.push(e);const n=()=>{const r=this._sendingPromises.indexOf(e);this._sendingPromises.splice(r,1)};e.then(n,n)}hasReachedLimit(){return this._sendingPromises.length>=this._concurrencyLimit}async awaitAll(){await Promise.all(this._sendingPromises)}}function fre(t){return new ure(t.concurrencyLimit)}function dre(t){return Object.prototype.hasOwnProperty.call(t,"partialSuccess")}function hre(){return{handleResponse(t){t==null||!dre(t)||t.partialSuccess==null||Object.keys(t.partialSuccess).length===0||ot.warn("Received Partial Success response:",JSON.stringify(t.partialSuccess))}}}class pre{constructor(e,n,r,i,o){ie(this,"_transport");ie(this,"_serializer");ie(this,"_responseHandler");ie(this,"_promiseQueue");ie(this,"_timeout");ie(this,"_diagLogger");this._transport=e,this._serializer=n,this._responseHandler=r,this._promiseQueue=i,this._timeout=o,this._diagLogger=ot.createComponentLogger({namespace:"OTLPExportDelegate"})}export(e,n){if(this._diagLogger.debug("items to be sent",e),this._promiseQueue.hasReachedLimit()){n({code:Oi.FAILED,error:new Error("Concurrent export limit reached")});return}const r=this._serializer.serializeRequest(e);if(r==null){n({code:Oi.FAILED,error:new Error("Nothing to send")});return}this._promiseQueue.pushPromise(this._transport.send(r,this._timeout).then(i=>{if(i.status==="success"){if(i.data!=null)try{this._responseHandler.handleResponse(this._serializer.deserializeResponse(i.data))}catch(o){this._diagLogger.warn("Export succeeded but could not deserialize response - is the response specification compliant?",o,i.data)}n({code:Oi.SUCCESS});return}else if(i.status==="failure"&&i.error){n({code:Oi.FAILED,error:i.error});return}else i.status==="retryable"?n({code:Oi.FAILED,error:new Vk("Export failed with retryable status")}):n({code:Oi.FAILED,error:new Vk("Export failed with unknown error")})},i=>n({code:Oi.FAILED,error:i})))}forceFlush(){return this._promiseQueue.awaitAll()}async shutdown(){this._diagLogger.debug("shutdown started"),await this.forceFlush(),this._transport.shutdown()}}function gre(t,e){return new pre(t.transport,t.serializer,hre(),t.promiseHandler,e.timeout)}function b$(t,e,n){return gre({transport:n,serializer:e,promiseHandler:fre(t)},{timeout:t.timeoutMillis})}function zk(t){return t>=48&&t<=57?t-48:t>=97&&t<=102?t-87:t-55}function S$(t){const e=new Uint8Array(t.length/2);let n=0;for(let r=0;r<t.length;r+=2){const i=zk(t.charCodeAt(r)),o=zk(t.charCodeAt(r+1));e[n++]=i<<4|o}return e}function w$(t){const e=BigInt(1e9);return BigInt(t[0])*e+BigInt(t[1])}function mre(t){const e=Number(BigInt.asUintN(32,t)),n=Number(BigInt.asUintN(32,t>>BigInt(32)));return{low:e,high:n}}function vre(t){const e=w$(t);return mre(e)}function Ore(t){return w$(t).toString()}const xre=typeof BigInt<"u"?Ore:sne;function Wk(t){return t}function yre(t){if(t!==void 0)return S$(t)}const bre={encodeHrTime:vre,encodeSpanContext:S$,encodeOptionalSpanContext:yre};function Sre(t){return t===void 0?bre:{encodeHrTime:xre,encodeSpanContext:Wk,encodeOptionalSpanContext:Wk}}function wre(t){return{attributes:Eg(t.attributes),droppedAttributesCount:0}}function Cre(t){return{name:t.name,version:t.version}}function Eg(t){return Object.keys(t).map(e=>C$(e,t[e]))}function C$(t,e){return{key:t,value:P$(e)}}function P$(t){const e=typeof t;return e==="string"?{stringValue:t}:e==="number"?Number.isInteger(t)?{intValue:t}:{doubleValue:t}:e==="boolean"?{boolValue:t}:t instanceof Uint8Array?{bytesValue:t}:Array.isArray(t)?{arrayValue:{values:t.map(P$)}}:e==="object"&&t!=null?{kvlistValue:{values:Object.entries(t).map(([n,r])=>C$(n,r))}}:{}}function Pre(t,e){var o,s,a;const n=t.spanContext(),r=t.status,i=(o=t.parentSpanContext)!=null&&o.spanId?e.encodeSpanContext((s=t.parentSpanContext)==null?void 0:s.spanId):void 0;return{traceId:e.encodeSpanContext(n.traceId),spanId:e.encodeSpanContext(n.spanId),parentSpanId:i,traceState:(a=n.traceState)==null?void 0:a.serialize(),name:t.name,kind:t.kind==null?0:t.kind+1,startTimeUnixNano:e.encodeHrTime(t.startTime),endTimeUnixNano:e.encodeHrTime(t.endTime),attributes:Eg(t.attributes),droppedAttributesCount:t.droppedAttributesCount,events:t.events.map(l=>kre(l,e)),droppedEventsCount:t.droppedEventsCount,status:{code:r.code,message:r.message},links:t.links.map(l=>Are(l,e)),droppedLinksCount:t.droppedLinksCount}}function Are(t,e){var n;return{attributes:t.attributes?Eg(t.attributes):[],spanId:e.encodeSpanContext(t.context.spanId),traceId:e.encodeSpanContext(t.context.traceId),traceState:(n=t.context.traceState)==null?void 0:n.serialize(),droppedAttributesCount:t.droppedAttributesCount||0}}function kre(t,e){return{attributes:t.attributes?Eg(t.attributes):[],name:t.name,timeUnixNano:e.encodeHrTime(t.time),droppedAttributesCount:t.droppedAttributesCount||0}}function Ere(t,e){const n=Sre(e);return{resourceSpans:Tre(t,n)}}function Ire(t){const e=new Map;for(const n of t){let r=e.get(n.resource);r||(r=new Map,e.set(n.resource,r));const i=`${n.instrumentationScope.name}@${n.instrumentationScope.version||""}:${n.instrumentationScope.schemaUrl||""}`;let o=r.get(i);o||(o=[],r.set(i,o)),o.push(n)}return e}function Tre(t,e){const n=Ire(t),r=[],i=n.entries();let o=i.next();for(;!o.done;){const[s,a]=o.value,l=[],c=a.values();let u=c.next();for(;!u.done;){const d=u.value;if(d.length>0){const p=d.map(g=>Pre(g,e));l.push({scope:Cre(d[0].instrumentationScope),spans:p,schemaUrl:d[0].instrumentationScope.schemaUrl})}u=c.next()}const f={resource:wre(s),scopeSpans:l,schemaUrl:void 0};r.push(f),o=i.next()}return r}const $re={serializeRequest:t=>{const e=Ere(t,{});return new TextEncoder().encode(JSON.stringify(e))},deserializeResponse:t=>{if(t.length===0)return{};const e=new TextDecoder;return JSON.parse(e.decode(t))}},jre=5,_re=1e3,Rre=5e3,Dre=1.5,Zk=.2;function Mre(){return Math.random()*(2*Zk)-Zk}class Nre{constructor(e){ie(this,"_transport");this._transport=e}retry(e,n,r){return new Promise((i,o)=>{setTimeout(()=>{this._transport.send(e,n).then(i,o)},r)})}async send(e,n){const r=Date.now()+n;let i=await this._transport.send(e,n),o=jre,s=_re;for(;i.status==="retryable"&&o>0;){o--;const a=Math.max(Math.min(s,Rre)+Mre(),0);s=s*Dre;const l=i.retryInMillis??a,c=r-Date.now();if(l>c)return i;i=await this.retry(e,c,l)}return i}shutdown(){return this._transport.shutdown()}}function A$(t){return new Nre(t.transport)}function Bre(t){return[429,502,503,504].includes(t)}function Qre(t){if(t==null)return;const e=Number.parseInt(t,10);if(Number.isInteger(e))return e>0?e*1e3:-1;const n=new Date(t).getTime()-Date.now();return n>=0?n:0}class Lre{constructor(e){ie(this,"_parameters");this._parameters=e}send(e,n){return new Promise(r=>{const i=new XMLHttpRequest;i.timeout=n,i.open("POST",this._parameters.url);const o=this._parameters.headers();Object.entries(o).forEach(([s,a])=>{i.setRequestHeader(s,a)}),i.ontimeout=s=>{r({status:"failure",error:new Error("XHR request timed out")})},i.onreadystatechange=()=>{i.status>=200&&i.status<=299?(ot.debug("XHR success"),r({status:"success"})):i.status&&Bre(i.status)?r({status:"retryable",retryInMillis:Qre(i.getResponseHeader("Retry-After"))}):i.status!==0&&r({status:"failure",error:new Error("XHR request failed with non-retryable status")})},i.onabort=()=>{r({status:"failure",error:new Error("XHR request aborted")})},i.onerror=()=>{r({status:"failure",error:new Error("XHR request errored")})},i.send(e)})}shutdown(){}}function Fre(t){return new Lre(t)}class Vre{constructor(e){ie(this,"_params");this._params=e}send(e){return new Promise(n=>{navigator.sendBeacon(this._params.url,new Blob([e],{type:this._params.blobType}))?(ot.debug("SendBeacon success"),n({status:"success"})):n({status:"failure",error:new Error("SendBeacon failed")})})}shutdown(){}}function zre(t){return new Vre(t)}function Wre(t,e){return b$(t,e,A$({transport:Fre(t)}))}function Zre(t,e){return b$(t,e,A$({transport:zre({url:t.url,blobType:t.headers()["Content-Type"]})}))}function Xre(t){return()=>{const e={};return Object.entries((t==null?void 0:t())??{}).forEach(([n,r])=>{typeof r<"u"?e[n]=String(r):ot.warn(`Header "${n}" has invalid value (${r}) and will be ignored`)}),e}}function Gre(t,e,n){const r={...n()},i={};return()=>(e!=null&&Object.assign(i,e()),t!=null&&Object.assign(i,t()),Object.assign(i,r))}function Ure(t){if(t!=null)try{return new URL(t),t}catch{throw new Error(`Configuration: Could not parse user-provided export URL: '${t}'`)}}function Yre(t,e,n){return{...lre(t,e,n),headers:Gre(Xre(t.headers),e.headers,n.headers),url:Ure(t.url)??e.url??n.url,agentOptions:t.agentOptions??e.agentOptions??n.agentOptions}}function Hre(t,e){return{...cre(),headers:()=>t,url:"http://localhost:4318/"+e,agentOptions:{keepAlive:!0}}}function qre(t,e,n){return Yre({url:t.url,timeoutMillis:t.timeoutMillis,headers:are(t.headers),concurrencyLimit:t.concurrencyLimit},{},Hre(n,e))}function Jre(t,e,n,r){const i=!!t.headers||typeof navigator.sendBeacon!="function",o=qre(t,n,r);return i?Wre(o,e):Zre(o,e)}class Kre extends ore{constructor(e={}){super(Jre(e,$re,"v1/traces",{"Content-Type":"application/json"}))}}class k${emit(e){}}const eie=new k$;class tie{getLogger(e,n,r){return new k$}}const E$=new tie;class nie{constructor(e,n,r,i){this._provider=e,this.name=n,this.version=r,this.options=i}emit(e){this._getLogger().emit(e)}_getLogger(){if(this._delegate)return this._delegate;const e=this._provider.getDelegateLogger(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):eie}}class Xk{getLogger(e,n,r){var i;return(i=this.getDelegateLogger(e,n,r))!==null&&i!==void 0?i:new nie(this,e,n,r)}getDelegate(){var e;return(e=this._delegate)!==null&&e!==void 0?e:E$}setDelegate(e){this._delegate=e}getDelegateLogger(e,n,r){var i;return(i=this._delegate)===null||i===void 0?void 0:i.getLogger(e,n,r)}}const rie=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},gd=Symbol.for("io.opentelemetry.js.api.logs"),Pc=rie;function iie(t,e,n){return r=>r===t?e:n}const Gk=1;class Ab{constructor(){this._proxyLoggerProvider=new Xk}static getInstance(){return this._instance||(this._instance=new Ab),this._instance}setGlobalLoggerProvider(e){return Pc[gd]?this.getLoggerProvider():(Pc[gd]=iie(Gk,e,E$),this._proxyLoggerProvider.setDelegate(e),e)}getLoggerProvider(){var e,n;return(n=(e=Pc[gd])===null||e===void 0?void 0:e.call(Pc,Gk))!==null&&n!==void 0?n:this._proxyLoggerProvider}getLogger(e,n,r){return this.getLoggerProvider().getLogger(e,n,r)}disable(){delete Pc[gd],this._proxyLoggerProvider=new Xk}}const oie=Ab.getInstance();function sie(t,e,n,r){for(let i=0,o=t.length;i<o;i++){const s=t[i];e&&s.setTracerProvider(e),n&&s.setMeterProvider(n),r&&s.setLoggerProvider&&s.setLoggerProvider(r),s.getConfig().enabled||s.enable()}}function aie(t){t.forEach(e=>e.disable())}function lie(t){var o;const e=t.tracerProvider||Ar.getTracerProvider(),n=t.meterProvider||kte.getMeterProvider(),r=t.loggerProvider||oie.getLoggerProvider(),i=((o=t.instrumentations)==null?void 0:o.flat())??[];return sie(i,e,n,r),()=>{aie(i)}}class cie{constructor(){ie(this,"config",null);ie(this,"tracer",null);ie(this,"tracerProvider",null);ie(this,"initialized",!1);ie(this,"getKeySnakeValue",e=>e.replace(/([A-Z])/g,"_$1").toLowerCase())}initTracer(e){throw new Error("initTracer must be implemented by the environment-specific client")}init(e){this.config=e,this.initTracer(e)}send(e){var n;try{if(!this.tracer||!this.config)return;const r=e.time?new Date(e.time):new Date;this.tracer.startSpan(`event.${e.type}`,{attributes:this.processAttributes(e,r),startTime:r}).end(r)}catch(r){(n=this.config)!=null&&n.isProd||console.error("Event reporting failed:",r)}}processAttributes(e,n){var o,s;const i={"cloudevents.event_id":Nu(),"cloudevents.event_type":e.type,"cloudevents.event_source":e.source,"cloudevents.event_spec_version":e.specversion,"cloudevents.event_data_content_type":e.datacontenttype||"application/json; charset=utf-8","cloudevents.event_time":n.toISOString(),"cloudevents.event_subject":e.subject||"","cloudevents.page.uri":location.href,"cloudevents.event_version":(o=this.config)==null?void 0:o.version,"cloudevents.event_origin":"ui","cloudevents.event_source_details.id":((s=e.sourceDetails)==null?void 0:s.id)||Nu()};return e.data&&typeof e.data=="object"&&Object.entries(e.data).forEach(([a,l])=>{const c=a.replace(/([A-Z])/g,"_$1").toLowerCase();l!==void 0&&(i[`cloudevents.event_data.${c}`]=l)}),Object.entries(e).forEach(([a,l])=>{["id","source","type","specversion","time","datacontenttype","data","subject","sourceDetails"].includes(a)||l!==void 0&&(i[`cloudevents.${a}`]=l)}),i}startSpan(e,n){var r;try{if(!this.tracer)return;let i;const o=e.time?new Date(e.time):new Date,s=this.tracer.startSpan(`event.${e.type}`,{attributes:this.processAttributes(e,o),root:!n},n);return n||(i=Ar.setSpan(Fo.active(),s)),{end:()=>s.end(),setAttribute:(a,l)=>{s.setAttribute(`cloudevents.event_data.${this.getKeySnakeValue(a)}`,l)},setStatus:(a,l)=>s.setStatus({code:a,message:l}),parentCtx:i}}catch(i){(r=this.config)!=null&&r.isProd||console.error("Event reporting failed:",i)}}forceFlush(){var e;(e=this.tracerProvider)==null||e.forceFlush()}}class uie extends cie{constructor(){super();ie(this,"tracerProvider",null);ie(this,"tracer",null);ie(this,"initialized",!1)}initTracer(n){if(!n.collectorUrl&&!n.collectorTraceUrl)return;const r=`ses_${Nu()}`,i=O$({[l$]:n.serviceName,[Jte]:n.serviceVersion,session_id:r}),o=n.collectorTraceUrl||`${n.collectorUrl}/v1/traces`;this.tracerProvider=new ire({resource:i,spanProcessors:[new Une(new Kre({url:o,headers:{}}))]}),this.tracer=this.tracerProvider.getTracer(n.tracerName),this.tracerProvider.register(),lie({instrumentations:n.instrumentations??[]}),this.initialized=!0}}class fie{constructor(){ie(this,"config",null);ie(this,"initialized",!1);ie(this,"useCloudEventData");ie(this,"otelClient");ie(this,"updateCloudEventData",e=>{this.useCloudEventData=e});this.useCloudEventData=()=>({organization:{id:"",slug:""},project:{id:"",slug:""},productType:"",sourceDetails:{user:"Anonymous",object:"user",uri:""},request:{source:""}}),this.otelClient=new uie}init(e){this.initialized||(this.config=e,this.initialized=!0,this.otelClient.init({serviceVersion:e.otel.serviceVersion,version:e.otel.version,isProd:e.otel.isProd,collectorUrl:e.otel.collectorUrl,serviceName:e.otel.serviceName,tracerName:e.otel.tracerName}))}send(e,n){var r;try{const i=this.constructCloudEvent(e,n);this.sendToOtelService(i)}catch(i){(r=this.config)!=null&&r.otel.isProd||console.error("Event reporting failed:",i)}}startSpan(e,n,r){const i=this.constructCloudEvent(e,n);return this.otelClient.startSpan(i,r)}constructCloudEvent(e,n){const r=this.useCloudEventData();return{id:`evt_${Nu()}`,type:e,source:r.request.source||"",specversion:"1.0",datacontenttype:"application/json",time:new Date().toISOString(),data:n,origin:"ui",sourceDetails:{id:r.sourceDetails.user||`usr_${Nu()}`,object:r.sourceDetails.object||"user",uri:r.sourceDetails.uri||""},organization:r.organization,project:r.project,productType:r.productType}}sendToOtelService(e){var n;(n=this.config)!=null&&n.otel.isProd||console.log("CloudEvent to be sent to OTEL service:",e),this.otelClient.send(e)}forceFlush(){this.otelClient.forceFlush()}sendTabChangeMessage(e){this.send("tab.change",e)}sendButtonClickMessage(e){this.send("button.click",e)}sendChangeMessage(e){this.send("change",e)}sendContentCopyMessage(e){this.send("content.copy",e)}sendUrlClickMessage(e){this.send("url.click",e)}sendRequestSendMessage(e){this.send("request.send",e)}sendTokenGenerateMessage(e){this.send("token.generate",e)}sendAppLifecycleMessage(e){this.send("app.lifecycle",e)}sendEnvironmentManagementMessage(e){this.send("environment.management",e)}sendInputManagementMessage(e){this.send("input.management",e)}sendNodeManagementMessage(e){this.send("node.management",e)}sendHistoryManagementMessage(e){this.send("history.management",e)}sendCredentialManagementMessage(e){this.send("credential.management",e)}sendPanelToggleMessage(e){this.send("panel.toggle",e)}}function die(){return{theme:"light",disableCollectionsTab:!1,oAuth2RedirectURI:null,corsProxyUrl:void 0,mockServer:void 0,certificates:[],isApiBased:!1,generatedEnvironments:[],generatedInputs:[]}}const hie=die(),pie=E.createContext(hie);function Kr(){const t=E.useContext(pie);return ZI(t)}function gie(t,e){const{apps:{apiId:n}}=at(),{corsProxyUrl:r,disableCollectionsTab:i,mockServer:o,oAuth2RedirectURI:s,certificates:a,storageKey:l,isApiBased:c}=Kr();r.set((t==null?void 0:t.corsProxyUrl)??qQ),o.set(t==null?void 0:t.mockServer),n.set(t==null?void 0:t.apiId),s.set(t==null?void 0:t.oAuth2RedirectURI),i.set(!!(t!=null&&t.disableCollectionsTab)),l.set(t==null?void 0:t.storageKey),c.set(!!e),E.useEffect(()=>{a.set((t==null?void 0:t.certificates)||[])},[t==null?void 0:t.certificates])}const Ig=E.createContext({});function kb(){return E.useContext(Ig)||{}}const mie="0.15.0-next.13",vie={version:mie};class Oie{constructor(){ie(this,"client");ie(this,"_isInitialized",!1);this.client=new fie}get isInitialized(){return this._isInitialized}init(e){if(this.isInitialized)return;const r={serviceName:"replay",serviceVersion:vie.version,version:"1.0.0",tracerName:(e==null?void 0:e.tracerName)||"desktop",collectorUrl:(e==null?void 0:e.collectorUrl)||"",isProd:!0};this.client.init({otel:{...r,...e}}),this._isInitialized=!0}sendEvent(e,n){if(!this.isInitialized){console.warn("Telemetry client not initialized. Call init() first.");return}try{this.client.send(e,n)}catch(r){console.error("Failed to send telemetry event:",r)}}}const fv=new Oie;function et(){const{telemetry:t}=kb();return fv.isInitialized||fv.init({tracerName:t==null?void 0:t.tracerName,collectorUrl:t==null?void 0:t.collectorUrl}),{sendEvent:(e,n)=>{fv.sendEvent(e,n)}}}const Qn=800;var xie=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function yie(t){var e=t.defaultInputValue,n=e===void 0?"":e,r=t.defaultMenuIsOpen,i=r===void 0?!1:r,o=t.defaultValue,s=o===void 0?null:o,a=t.inputValue,l=t.menuIsOpen,c=t.onChange,u=t.onInputChange,f=t.onMenuClose,d=t.onMenuOpen,p=t.value,g=mr(t,xie),m=E.useState(a!==void 0?a:n),v=Ne(m,2),O=v[0],x=v[1],y=E.useState(l!==void 0?l:i),S=Ne(y,2),b=S[0],w=S[1],C=E.useState(p!==void 0?p:s),P=Ne(C,2),A=P[0],I=P[1],T=E.useCallback(function(Z,Y){typeof c=="function"&&c(Z,Y),I(Z)},[c]),j=E.useCallback(function(Z,Y){var N;typeof u=="function"&&(N=u(Z,Y)),x(N!==void 0?N:Z)},[u]),B=E.useCallback(function(){typeof d=="function"&&d(),w(!0)},[d]),V=E.useCallback(function(){typeof f=="function"&&f(),w(!1)},[f]),Q=a!==void 0?a:O,z=l!==void 0?l:b,U=p!==void 0?p:A;return se(se({},g),{},{inputValue:Q,menuIsOpen:z,onChange:T,onInputChange:j,onMenuClose:V,onMenuOpen:B,value:U})}function bie(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function Sie(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var wie=function(){function t(n){var r=this;this._insertTag=function(i){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,o),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?process.env.NODE_ENV==="production":n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(r){r.forEach(this._insertTag)},e.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Sie(this));var i=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var o=r.charCodeAt(0)===64&&r.charCodeAt(1)===105;o&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
320
+ `;function of({input:t,onSave:e,onCancel:n,...r}){const[i,o]=E.useState(!!t.isSecret),s=({name:a,value:l})=>{e({...t,name:a,value:l,isSecret:i})};return h.jsx(q8,{variable:t,onSave:s,onCancel:n,...r,children:h.jsx(rx,{children:h.jsx(cee,{value:i,onChange:a=>o(a),title:"Make it secret"})})})}function Jd(t){var e=new Error(t);return e.source="ulid",e}var vb="0123456789ABCDEFGHJKMNPQRSTVWXYZ",ou=vb.length,Ek=Math.pow(2,48)-1,mee=10,vee=16;function Oee(t){var e=Math.floor(t()*ou);return e===ou&&(e=ou-1),vb.charAt(e)}function xee(t,e){if(isNaN(t))throw new Error(t+" must be a number");if(t>Ek)throw Jd("cannot encode time greater than "+Ek);if(t<0)throw Jd("time must be positive");if(Number.isInteger(t)===!1)throw Jd("time must be an integer");for(var n=void 0,r="";e>0;e--)n=t%ou,r=vb.charAt(n)+r,t=(t-n)/ou;return r}function yee(t,e){for(var n="";t>0;t--)n=Oee(e)+n;return n}function bee(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,e=arguments[1];e||(e=typeof window<"u"?window:null);var n=e&&(e.crypto||e.msCrypto);if(n)return function(){var i=new Uint8Array(1);return n.getRandomValues(i),i[0]/255};try{var r=require("crypto");return function(){return r.randomBytes(1).readUInt8()/255}}catch{}if(t){try{console.error("secure crypto unusable, falling back to insecure Math.random()!")}catch{}return function(){return Math.random()}}throw Jd("secure crypto unusable, insecure Math.random not allowed")}function See(t){return t||(t=bee()),function(n){return isNaN(n)&&(n=Date.now()),xee(n,mee)+yee(vee,t)}}var Nu=See(),wee=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},Is="1.9.0",Ik=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function Cee(t){var e=new Set([t]),n=new Set,r=t.match(Ik);if(!r)return function(){return!1};var i={major:+r[1],minor:+r[2],patch:+r[3],prerelease:r[4]};if(i.prerelease!=null)return function(l){return l===t};function o(a){return n.add(a),!1}function s(a){return e.add(a),!0}return function(l){if(e.has(l))return!0;if(n.has(l))return!1;var c=l.match(Ik);if(!c)return o(l);var u={major:+c[1],minor:+c[2],patch:+c[3],prerelease:c[4]};return u.prerelease!=null||i.major!==u.major?o(l):i.major===0?i.minor===u.minor&&i.patch<=u.patch?s(l):o(l):i.minor<=u.minor?s(l):o(l)}}var Pee=Cee(Is),Aee=Is.split(".")[0],Bu=Symbol.for("opentelemetry.js.api."+Aee),Qu=wee;function sf(t,e,n,r){var i;r===void 0&&(r=!1);var o=Qu[Bu]=(i=Qu[Bu])!==null&&i!==void 0?i:{version:Is};if(!r&&o[t]){var s=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+t);return n.error(s.stack||s.message),!1}if(o.version!==Is){var s=new Error("@opentelemetry/api: Registration of version v"+o.version+" for "+t+" does not match previously registered API v"+Is);return n.error(s.stack||s.message),!1}return o[t]=e,n.debug("@opentelemetry/api: Registered a global for "+t+" v"+Is+"."),!0}function Xs(t){var e,n,r=(e=Qu[Bu])===null||e===void 0?void 0:e.version;if(!(!r||!Pee(r)))return(n=Qu[Bu])===null||n===void 0?void 0:n[t]}function af(t,e){e.debug("@opentelemetry/api: Unregistering a global for "+t+" v"+Is+".");var n=Qu[Bu];n&&delete n[t]}var kee=function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},Eee=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))},Iee=function(){function t(e){this._namespace=e.namespace||"DiagComponentLogger"}return t.prototype.debug=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return wc("debug",this._namespace,e)},t.prototype.error=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return wc("error",this._namespace,e)},t.prototype.info=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return wc("info",this._namespace,e)},t.prototype.warn=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return wc("warn",this._namespace,e)},t.prototype.verbose=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return wc("verbose",this._namespace,e)},t}();function wc(t,e,n){var r=Xs("diag");if(r)return n.unshift(e),r[t].apply(r,Eee([],kee(n),!1))}var lr;(function(t){t[t.NONE=0]="NONE",t[t.ERROR=30]="ERROR",t[t.WARN=50]="WARN",t[t.INFO=60]="INFO",t[t.DEBUG=70]="DEBUG",t[t.VERBOSE=80]="VERBOSE",t[t.ALL=9999]="ALL"})(lr||(lr={}));function Tee(t,e){t<lr.NONE?t=lr.NONE:t>lr.ALL&&(t=lr.ALL),e=e||{};function n(r,i){var o=e[r];return typeof o=="function"&&t>=i?o.bind(e):function(){}}return{error:n("error",lr.ERROR),warn:n("warn",lr.WARN),info:n("info",lr.INFO),debug:n("debug",lr.DEBUG),verbose:n("verbose",lr.VERBOSE)}}var $ee=function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},jee=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))},_ee="diag",Ni=function(){function t(){function e(i){return function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];var a=Xs("diag");if(a)return a[i].apply(a,jee([],$ee(o),!1))}}var n=this,r=function(i,o){var s,a,l;if(o===void 0&&(o={logLevel:lr.INFO}),i===n){var c=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return n.error((s=c.stack)!==null&&s!==void 0?s:c.message),!1}typeof o=="number"&&(o={logLevel:o});var u=Xs("diag"),f=Tee((a=o.logLevel)!==null&&a!==void 0?a:lr.INFO,i);if(u&&!o.suppressOverrideMessage){var d=(l=new Error().stack)!==null&&l!==void 0?l:"<failed to generate stacktrace>";u.warn("Current logger will be overwritten from "+d),f.warn("Current logger will overwrite one already registered from "+d)}return sf("diag",f,n,!0)};n.setLogger=r,n.disable=function(){af(_ee,n)},n.createComponentLogger=function(i){return new Iee(i)},n.verbose=e("verbose"),n.debug=e("debug"),n.info=e("info"),n.warn=e("warn"),n.error=e("error")}return t.instance=function(){return this._instance||(this._instance=new t),this._instance},t}(),Ree=function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},Dee=function(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},Mee=function(){function t(e){this._entries=e?new Map(e):new Map}return t.prototype.getEntry=function(e){var n=this._entries.get(e);if(n)return Object.assign({},n)},t.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map(function(e){var n=Ree(e,2),r=n[0],i=n[1];return[r,i]})},t.prototype.setEntry=function(e,n){var r=new t(this._entries);return r._entries.set(e,n),r},t.prototype.removeEntry=function(e){var n=new t(this._entries);return n._entries.delete(e),n},t.prototype.removeEntries=function(){for(var e,n,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var o=new t(this._entries);try{for(var s=Dee(r),a=s.next();!a.done;a=s.next()){var l=a.value;o._entries.delete(l)}}catch(c){e={error:c}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}return o},t.prototype.clear=function(){return new t},t}(),Nee=Symbol("BaggageEntryMetadata"),Bee=Ni.instance();function Qee(t){return t===void 0&&(t={}),new Mee(new Map(Object.entries(t)))}function Lee(t){return typeof t!="string"&&(Bee.error("Cannot create baggage metadata from unknown type: "+typeof t),t=""),{__TYPE__:Nee,toString:function(){return t}}}function Ob(t){return Symbol.for(t)}var Fee=function(){function t(e){var n=this;n._currentContext=e?new Map(e):new Map,n.getValue=function(r){return n._currentContext.get(r)},n.setValue=function(r,i){var o=new t(n._currentContext);return o._currentContext.set(r,i),o},n.deleteValue=function(r){var i=new t(n._currentContext);return i._currentContext.delete(r),i}}return t}(),Ma=new Fee,ea=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Vee=function(){function t(){}return t.prototype.createGauge=function(e,n){return Jee},t.prototype.createHistogram=function(e,n){return Kee},t.prototype.createCounter=function(e,n){return qee},t.prototype.createUpDownCounter=function(e,n){return ete},t.prototype.createObservableGauge=function(e,n){return nte},t.prototype.createObservableCounter=function(e,n){return tte},t.prototype.createObservableUpDownCounter=function(e,n){return rte},t.prototype.addBatchObservableCallback=function(e,n){},t.prototype.removeBatchObservableCallback=function(e){},t}(),Pg=function(){function t(){}return t}(),zee=function(t){ea(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.add=function(n,r){},e}(Pg),Wee=function(t){ea(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.add=function(n,r){},e}(Pg),Zee=function(t){ea(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.record=function(n,r){},e}(Pg),Xee=function(t){ea(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.record=function(n,r){},e}(Pg),xb=function(){function t(){}return t.prototype.addCallback=function(e){},t.prototype.removeCallback=function(e){},t}(),Gee=function(t){ea(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(xb),Uee=function(t){ea(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(xb),Yee=function(t){ea(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(xb),Hee=new Vee,qee=new zee,Jee=new Zee,Kee=new Xee,ete=new Wee,tte=new Gee,nte=new Uee,rte=new Yee,ite={get:function(t,e){if(t!=null)return t[e]},keys:function(t){return t==null?[]:Object.keys(t)}},ote={set:function(t,e,n){t!=null&&(t[e]=n)}},ste=function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},ate=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))},lte=function(){function t(){}return t.prototype.active=function(){return Ma},t.prototype.with=function(e,n,r){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];return n.call.apply(n,ate([r],ste(i),!1))},t.prototype.bind=function(e,n){return n},t.prototype.enable=function(){return this},t.prototype.disable=function(){return this},t}(),cte=function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},ute=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))},Km="context",fte=new lte,Ag=function(){function t(){}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalContextManager=function(e){return sf(Km,e,Ni.instance())},t.prototype.active=function(){return this._getContextManager().active()},t.prototype.with=function(e,n,r){for(var i,o=[],s=3;s<arguments.length;s++)o[s-3]=arguments[s];return(i=this._getContextManager()).with.apply(i,ute([e,n,r],cte(o),!1))},t.prototype.bind=function(e,n){return this._getContextManager().bind(e,n)},t.prototype._getContextManager=function(){return Xs(Km)||fte},t.prototype.disable=function(){this._getContextManager().disable(),af(Km,Ni.instance())},t}(),ho;(function(t){t[t.NONE=0]="NONE",t[t.SAMPLED=1]="SAMPLED"})(ho||(ho={}));var J8="0000000000000000",K8="00000000000000000000000000000000",e$={traceId:K8,spanId:J8,traceFlags:ho.NONE},su=function(){function t(e){e===void 0&&(e=e$),this._spanContext=e}return t.prototype.spanContext=function(){return this._spanContext},t.prototype.setAttribute=function(e,n){return this},t.prototype.setAttributes=function(e){return this},t.prototype.addEvent=function(e,n){return this},t.prototype.addLink=function(e){return this},t.prototype.addLinks=function(e){return this},t.prototype.setStatus=function(e){return this},t.prototype.updateName=function(e){return this},t.prototype.end=function(e){},t.prototype.isRecording=function(){return!1},t.prototype.recordException=function(e,n){},t}(),yb=Ob("OpenTelemetry Context Key SPAN");function bb(t){return t.getValue(yb)||void 0}function dte(){return bb(Ag.getInstance().active())}function Sb(t,e){return t.setValue(yb,e)}function hte(t){return t.deleteValue(yb)}function pte(t,e){return Sb(t,new su(e))}function t$(t){var e;return(e=bb(t))===null||e===void 0?void 0:e.spanContext()}var gte=/^([0-9a-f]{32})$/i,mte=/^[0-9a-f]{16}$/i;function n$(t){return gte.test(t)&&t!==K8}function vte(t){return mte.test(t)&&t!==J8}function kg(t){return n$(t.traceId)&&vte(t.spanId)}function Ote(t){return new su(t)}var ev=Ag.getInstance(),r$=function(){function t(){}return t.prototype.startSpan=function(e,n,r){r===void 0&&(r=ev.active());var i=!!(n!=null&&n.root);if(i)return new su;var o=r&&t$(r);return xte(o)&&kg(o)?new su(o):new su},t.prototype.startActiveSpan=function(e,n,r,i){var o,s,a;if(!(arguments.length<2)){arguments.length===2?a=n:arguments.length===3?(o=n,a=r):(o=n,s=r,a=i);var l=s??ev.active(),c=this.startSpan(e,o,l),u=Sb(l,c);return ev.with(u,a,void 0,c)}},t}();function xte(t){return typeof t=="object"&&typeof t.spanId=="string"&&typeof t.traceId=="string"&&typeof t.traceFlags=="number"}var yte=new r$,bte=function(){function t(e,n,r,i){this._provider=e,this.name=n,this.version=r,this.options=i}return t.prototype.startSpan=function(e,n,r){return this._getTracer().startSpan(e,n,r)},t.prototype.startActiveSpan=function(e,n,r,i){var o=this._getTracer();return Reflect.apply(o.startActiveSpan,o,arguments)},t.prototype._getTracer=function(){if(this._delegate)return this._delegate;var e=this._provider.getDelegateTracer(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):yte},t}(),Ste=function(){function t(){}return t.prototype.getTracer=function(e,n,r){return new r$},t}(),wte=new Ste,Tk=function(){function t(){}return t.prototype.getTracer=function(e,n,r){var i;return(i=this.getDelegateTracer(e,n,r))!==null&&i!==void 0?i:new bte(this,e,n,r)},t.prototype.getDelegate=function(){var e;return(e=this._delegate)!==null&&e!==void 0?e:wte},t.prototype.setDelegate=function(e){this._delegate=e},t.prototype.getDelegateTracer=function(e,n,r){var i;return(i=this._delegate)===null||i===void 0?void 0:i.getTracer(e,n,r)},t}(),vp;(function(t){t[t.NOT_RECORD=0]="NOT_RECORD",t[t.RECORD=1]="RECORD",t[t.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(vp||(vp={}));var ix;(function(t){t[t.INTERNAL=0]="INTERNAL",t[t.SERVER=1]="SERVER",t[t.CLIENT=2]="CLIENT",t[t.PRODUCER=3]="PRODUCER",t[t.CONSUMER=4]="CONSUMER"})(ix||(ix={}));var ox;(function(t){t[t.UNSET=0]="UNSET",t[t.OK=1]="OK",t[t.ERROR=2]="ERROR"})(ox||(ox={}));var Fo=Ag.getInstance(),ot=Ni.instance(),Cte=function(){function t(){}return t.prototype.getMeter=function(e,n,r){return Hee},t}(),Pte=new Cte,tv="metrics",Ate=function(){function t(){}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalMeterProvider=function(e){return sf(tv,e,Ni.instance())},t.prototype.getMeterProvider=function(){return Xs(tv)||Pte},t.prototype.getMeter=function(e,n,r){return this.getMeterProvider().getMeter(e,n,r)},t.prototype.disable=function(){af(tv,Ni.instance())},t}(),kte=Ate.getInstance(),Ete=function(){function t(){}return t.prototype.inject=function(e,n){},t.prototype.extract=function(e,n){return e},t.prototype.fields=function(){return[]},t}(),wb=Ob("OpenTelemetry Baggage Key");function i$(t){return t.getValue(wb)||void 0}function Ite(){return i$(Ag.getInstance().active())}function Tte(t,e){return t.setValue(wb,e)}function $te(t){return t.deleteValue(wb)}var nv="propagation",jte=new Ete,_te=function(){function t(){this.createBaggage=Qee,this.getBaggage=i$,this.getActiveBaggage=Ite,this.setBaggage=Tte,this.deleteBaggage=$te}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalPropagator=function(e){return sf(nv,e,Ni.instance())},t.prototype.inject=function(e,n,r){return r===void 0&&(r=ote),this._getGlobalPropagator().inject(e,n,r)},t.prototype.extract=function(e,n,r){return r===void 0&&(r=ite),this._getGlobalPropagator().extract(e,n,r)},t.prototype.fields=function(){return this._getGlobalPropagator().fields()},t.prototype.disable=function(){af(nv,Ni.instance())},t.prototype._getGlobalPropagator=function(){return Xs(nv)||jte},t}(),au=_te.getInstance(),rv="trace",Rte=function(){function t(){this._proxyTracerProvider=new Tk,this.wrapSpanContext=Ote,this.isSpanContextValid=kg,this.deleteSpan=hte,this.getSpan=bb,this.getActiveSpan=dte,this.getSpanContext=t$,this.setSpan=Sb,this.setSpanContext=pte}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalTracerProvider=function(e){var n=sf(rv,this._proxyTracerProvider,Ni.instance());return n&&this._proxyTracerProvider.setDelegate(e),n},t.prototype.getTracerProvider=function(){return Xs(rv)||this._proxyTracerProvider},t.prototype.getTracer=function(e,n){return this.getTracerProvider().getTracer(e,n)},t.prototype.disable=function(){af(rv,Ni.instance()),this._proxyTracerProvider=new Tk},t}(),Ar=Rte.getInstance();const o$=Ob("OpenTelemetry SDK Context Key SUPPRESS_TRACING");function Dte(t){return t.setValue(o$,!0)}function Cb(t){return t.getValue(o$)===!0}const Mte="=",sx=";",ax=",",iv="baggage",Nte=180,Bte=4096,Qte=8192;function Lte(t){return t.reduce((e,n)=>{const r=`${e}${e!==""?ax:""}${n}`;return r.length>Qte?e:r},"")}function Fte(t){return t.getAllEntries().map(([e,n])=>{let r=`${encodeURIComponent(e)}=${encodeURIComponent(n.value)}`;return n.metadata!==void 0&&(r+=sx+n.metadata.toString()),r})}function Vte(t){const e=t.split(sx);if(e.length<=0)return;const n=e.shift();if(!n)return;const r=n.indexOf(Mte);if(r<=0)return;const i=decodeURIComponent(n.substring(0,r).trim()),o=decodeURIComponent(n.substring(r+1).trim());let s;return e.length>0&&(s=Lee(e.join(sx))),{key:i,value:o,metadata:s}}class zte{inject(e,n,r){const i=au.getBaggage(e);if(!i||Cb(e))return;const o=Fte(i).filter(a=>a.length<=Bte).slice(0,Nte),s=Lte(o);s.length>0&&r.set(n,iv,s)}extract(e,n,r){const i=r.get(n,iv),o=Array.isArray(i)?i.join(ax):i;if(!o)return e;const s={};return o.length===0||(o.split(ax).forEach(l=>{const c=Vte(l);if(c){const u={value:c.value};c.metadata&&(u.metadata=c.metadata),s[c.key]=u}}),Object.entries(s).length===0)?e:au.setBaggage(e,au.createBaggage(s))}fields(){return[iv]}}function Kd(t){const e={};if(typeof t!="object"||t==null)return e;for(const[n,r]of Object.entries(t)){if(!Wte(n)){ot.warn(`Invalid attribute key: ${n}`);continue}if(!s$(r)){ot.warn(`Invalid attribute value set for key: ${n}`);continue}Array.isArray(r)?e[n]=r.slice():e[n]=r}return e}function Wte(t){return typeof t=="string"&&t.length>0}function s$(t){return t==null?!0:Array.isArray(t)?Zte(t):a$(t)}function Zte(t){let e;for(const n of t)if(n!=null){if(!e){if(a$(n)){e=typeof n;continue}return!1}if(typeof n!==e)return!1}return!0}function a$(t){switch(typeof t){case"number":case"boolean":case"string":return!0}return!1}function Xte(){return t=>{ot.error(Gte(t))}}function Gte(t){return typeof t=="string"?t:JSON.stringify(Ute(t))}function Ute(t){const e={};let n=t;for(;n!==null;)Object.getOwnPropertyNames(n).forEach(r=>{if(e[r])return;const i=n[r];i&&(e[r]=String(i))}),n=Object.getPrototypeOf(n);return e}let Yte=Xte();function Rl(t){try{Yte(t)}catch{}}const al=performance,Hte="2.0.1",ov="exception.message",qte="exception.stacktrace",sv="exception.type",l$="service.name",Jte="service.version",lx="telemetry.sdk.language",Kte="webjs",cx="telemetry.sdk.name",ux="telemetry.sdk.version",ene="process.runtime.name",av={[cx]:"opentelemetry",[ene]:"browser",[lx]:Kte,[ux]:Hte};const tne=9,nne=6,rne=Math.pow(10,nne),Op=Math.pow(10,tne);function Xa(t){const e=t/1e3,n=Math.trunc(e),r=Math.round(t%1e3*rne);return[n,r]}function c$(){let t=al.timeOrigin;if(typeof t!="number"){const e=al;t=e.timing&&e.timing.fetchStart}return t}function ine(t){const e=Xa(c$()),n=Xa(typeof t=="number"?t:al.now());return f$(e,n)}function one(t,e){let n=e[0]-t[0],r=e[1]-t[1];return r<0&&(n-=1,r+=Op),[n,r]}function sne(t){return t[0]*Op+t[1]}function u$(t){return Array.isArray(t)&&t.length===2&&typeof t[0]=="number"&&typeof t[1]=="number"}function $k(t){return u$(t)||typeof t=="number"||t instanceof Date}function f$(t,e){const n=[t[0]+e[0],t[1]+e[1]];return n[1]>=Op&&(n[1]-=Op,n[0]+=1),n}var Oi;(function(t){t[t.SUCCESS=0]="SUCCESS",t[t.FAILED=1]="FAILED"})(Oi||(Oi={}));class ane{constructor(e={}){ie(this,"_propagators");ie(this,"_fields");this._propagators=e.propagators??[],this._fields=Array.from(new Set(this._propagators.map(n=>typeof n.fields=="function"?n.fields():[]).reduce((n,r)=>n.concat(r),[])))}inject(e,n,r){for(const i of this._propagators)try{i.inject(e,n,r)}catch(o){ot.warn(`Failed to inject with ${i.constructor.name}. Err: ${o.message}`)}}extract(e,n,r){return this._propagators.reduce((i,o)=>{try{return o.extract(i,n,r)}catch(s){ot.warn(`Failed to extract with ${o.constructor.name}. Err: ${s.message}`)}return i},e)}fields(){return this._fields.slice()}}const fx="[_0-9a-z-*/]",lne=`[a-z]${fx}{0,255}`,cne=`[a-z0-9]${fx}{0,240}@[a-z]${fx}{0,13}`,une=new RegExp(`^(?:${lne}|${cne})$`),fne=/^[ -~]{0,255}[!-~]$/,dne=/,|=/;function hne(t){return une.test(t)}function pne(t){return fne.test(t)&&!dne.test(t)}const jk=32,gne=512,_k=",",Rk="=";class Pb{constructor(e){ie(this,"_internalState",new Map);e&&this._parse(e)}set(e,n){const r=this._clone();return r._internalState.has(e)&&r._internalState.delete(e),r._internalState.set(e,n),r}unset(e){const n=this._clone();return n._internalState.delete(e),n}get(e){return this._internalState.get(e)}serialize(){return this._keys().reduce((e,n)=>(e.push(n+Rk+this.get(n)),e),[]).join(_k)}_parse(e){e.length>gne||(this._internalState=e.split(_k).reverse().reduce((n,r)=>{const i=r.trim(),o=i.indexOf(Rk);if(o!==-1){const s=i.slice(0,o),a=i.slice(o+1,r.length);hne(s)&&pne(a)&&n.set(s,a)}return n},new Map),this._internalState.size>jk&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,jk))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){const e=new Pb;return e._internalState=new Map(this._internalState),e}}const lv="traceparent",cv="tracestate",mne="00",vne="(?!ff)[\\da-f]{2}",One="(?![0]{32})[\\da-f]{32}",xne="(?![0]{16})[\\da-f]{16}",yne="[\\da-f]{2}",bne=new RegExp(`^\\s?(${vne})-(${One})-(${xne})-(${yne})(-.*)?\\s?$`);function Sne(t){const e=bne.exec(t);return!e||e[1]==="00"&&e[5]?null:{traceId:e[2],spanId:e[3],traceFlags:parseInt(e[4],16)}}class wne{inject(e,n,r){const i=Ar.getSpanContext(e);if(!i||Cb(e)||!kg(i))return;const o=`${mne}-${i.traceId}-${i.spanId}-0${Number(i.traceFlags||ho.NONE).toString(16)}`;r.set(n,lv,o),i.traceState&&r.set(n,cv,i.traceState.serialize())}extract(e,n,r){const i=r.get(n,lv);if(!i)return e;const o=Array.isArray(i)?i[0]:i;if(typeof o!="string")return e;const s=Sne(o);if(!s)return e;s.isRemote=!0;const a=r.get(n,cv);if(a){const l=Array.isArray(a)?a.join(","):a;s.traceState=new Pb(typeof l=="string"?l:void 0)}return Ar.setSpanContext(e,s)}fields(){return[lv,cv]}}const Cne="[object Object]",Pne="[object Null]",Ane="[object Undefined]",kne=Function.prototype,d$=kne.toString,Ene=d$.call(Object),Ine=Object.getPrototypeOf,h$=Object.prototype,p$=h$.hasOwnProperty,Cs=Symbol?Symbol.toStringTag:void 0,g$=h$.toString;function Dk(t){if(!Tne(t)||$ne(t)!==Cne)return!1;const e=Ine(t);if(e===null)return!0;const n=p$.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&d$.call(n)===Ene}function Tne(t){return t!=null&&typeof t=="object"}function $ne(t){return t==null?t===void 0?Ane:Pne:Cs&&Cs in Object(t)?jne(t):_ne(t)}function jne(t){const e=p$.call(t,Cs),n=t[Cs];let r=!1;try{t[Cs]=void 0,r=!0}catch{}const i=g$.call(t);return r&&(e?t[Cs]=n:delete t[Cs]),i}function _ne(t){return g$.call(t)}const Rne=20;function Dne(...t){let e=t.shift();const n=new WeakMap;for(;t.length>0;)e=m$(e,t.shift(),0,n);return e}function uv(t){return xp(t)?t.slice():t}function m$(t,e,n=0,r){let i;if(!(n>Rne)){if(n++,eh(t)||eh(e)||v$(e))i=uv(e);else if(xp(t)){if(i=t.slice(),xp(e))for(let o=0,s=e.length;o<s;o++)i.push(uv(e[o]));else if(Cc(e)){const o=Object.keys(e);for(let s=0,a=o.length;s<a;s++){const l=o[s];i[l]=uv(e[l])}}}else if(Cc(t))if(Cc(e)){if(!Mne(t,e))return e;i=Object.assign({},t);const o=Object.keys(e);for(let s=0,a=o.length;s<a;s++){const l=o[s],c=e[l];if(eh(c))typeof c>"u"?delete i[l]:i[l]=c;else{const u=i[l],f=c;if(Mk(t,l,r)||Mk(e,l,r))delete i[l];else{if(Cc(u)&&Cc(f)){const d=r.get(u)||[],p=r.get(f)||[];d.push({obj:t,key:l}),p.push({obj:e,key:l}),r.set(u,d),r.set(f,p)}i[l]=m$(i[l],c,n,r)}}}}else i=e;return i}}function Mk(t,e,n){const r=n.get(t[e])||[];for(let i=0,o=r.length;i<o;i++){const s=r[i];if(s.key===e&&s.obj===t)return!0}return!1}function xp(t){return Array.isArray(t)}function v$(t){return typeof t=="function"}function Cc(t){return!eh(t)&&!xp(t)&&!v$(t)&&typeof t=="object"}function eh(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t>"u"||t instanceof Date||t instanceof RegExp||t===null}function Mne(t,e){return!(!Dk(t)||!Dk(e))}class Nne{constructor(){ie(this,"_promise");ie(this,"_resolve");ie(this,"_reject");this._promise=new Promise((e,n)=>{this._resolve=e,this._reject=n})}get promise(){return this._promise}resolve(e){this._resolve(e)}reject(e){this._reject(e)}}class Bne{constructor(e,n){ie(this,"_callback");ie(this,"_that");ie(this,"_isCalled",!1);ie(this,"_deferred",new Nne);this._callback=e,this._that=n}get isCalled(){return this._isCalled}get promise(){return this._deferred.promise}call(...e){if(!this._isCalled){this._isCalled=!0;try{Promise.resolve(this._callback.call(this._that,...e)).then(n=>this._deferred.resolve(n),n=>this._deferred.reject(n))}catch(n){this._deferred.reject(n)}}return this._deferred.promise}}function Qne(){return"unknown_service"}const Fc=t=>t!==null&&typeof t=="object"&&typeof t.then=="function";class yp{constructor(e){ie(this,"_rawAttributes");ie(this,"_asyncAttributesPending",!1);ie(this,"_memoizedAttributes");const n=e.attributes??{};this._rawAttributes=Object.entries(n).map(([r,i])=>(Fc(i)&&(this._asyncAttributesPending=!0),[r,i])),this._rawAttributes=Nk(this._rawAttributes)}static FromAttributeList(e){const n=new yp({});return n._rawAttributes=Nk(e),n._asyncAttributesPending=e.filter(([r,i])=>Fc(i)).length>0,n}get asyncAttributesPending(){return this._asyncAttributesPending}async waitForAsyncAttributes(){if(this.asyncAttributesPending){for(let e=0;e<this._rawAttributes.length;e++){const[n,r]=this._rawAttributes[e];this._rawAttributes[e]=[n,Fc(r)?await r:r]}this._asyncAttributesPending=!1}}get attributes(){if(this.asyncAttributesPending&&ot.error("Accessing resource attributes before async attributes settled"),this._memoizedAttributes)return this._memoizedAttributes;const e={};for(const[n,r]of this._rawAttributes){if(Fc(r)){ot.debug(`Unsettled resource attribute ${n} skipped`);continue}r!=null&&(e[n]??(e[n]=r))}return this._asyncAttributesPending||(this._memoizedAttributes=e),e}getRawAttributes(){return this._rawAttributes}merge(e){return e==null?this:yp.FromAttributeList([...e.getRawAttributes(),...this.getRawAttributes()])}}function O$(t){return yp.FromAttributeList(Object.entries(t))}function Lne(){return O$({[l$]:Qne(),[lx]:av[lx],[cx]:av[cx],[ux]:av[ux]})}function Nk(t){return t.map(([e,n])=>Fc(n)?[e,n.catch(r=>{ot.debug("promise rejection for resource attribute: %s - %s",e,r)})]:[e,n])}const Fne="exception";class Vne{constructor(e){ie(this,"_spanContext");ie(this,"kind");ie(this,"parentSpanContext");ie(this,"attributes",{});ie(this,"links",[]);ie(this,"events",[]);ie(this,"startTime");ie(this,"resource");ie(this,"instrumentationScope");ie(this,"_droppedAttributesCount",0);ie(this,"_droppedEventsCount",0);ie(this,"_droppedLinksCount",0);ie(this,"name");ie(this,"status",{code:ox.UNSET});ie(this,"endTime",[0,0]);ie(this,"_ended",!1);ie(this,"_duration",[-1,-1]);ie(this,"_spanProcessor");ie(this,"_spanLimits");ie(this,"_attributeValueLengthLimit");ie(this,"_performanceStartTime");ie(this,"_performanceOffset");ie(this,"_startTimeProvided");const n=Date.now();this._spanContext=e.spanContext,this._performanceStartTime=al.now(),this._performanceOffset=n-(this._performanceStartTime+c$()),this._startTimeProvided=e.startTime!=null,this._spanLimits=e.spanLimits,this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit||0,this._spanProcessor=e.spanProcessor,this.name=e.name,this.parentSpanContext=e.parentSpanContext,this.kind=e.kind,this.links=e.links||[],this.startTime=this._getTime(e.startTime??n),this.resource=e.resource,this.instrumentationScope=e.scope,e.attributes!=null&&this.setAttributes(e.attributes),this._spanProcessor.onStart(this,e.context)}spanContext(){return this._spanContext}setAttribute(e,n){if(n==null||this._isSpanEnded())return this;if(e.length===0)return ot.warn(`Invalid attribute key: ${e}`),this;if(!s$(n))return ot.warn(`Invalid attribute value set for key: ${e}`),this;const{attributeCountLimit:r}=this._spanLimits;return r!==void 0&&Object.keys(this.attributes).length>=r&&!Object.prototype.hasOwnProperty.call(this.attributes,e)?(this._droppedAttributesCount++,this):(this.attributes[e]=this._truncateToSize(n),this)}setAttributes(e){for(const[n,r]of Object.entries(e))this.setAttribute(n,r);return this}addEvent(e,n,r){if(this._isSpanEnded())return this;const{eventCountLimit:i}=this._spanLimits;if(i===0)return ot.warn("No events allowed."),this._droppedEventsCount++,this;i!==void 0&&this.events.length>=i&&(this._droppedEventsCount===0&&ot.debug("Dropping extra events."),this.events.shift(),this._droppedEventsCount++),$k(n)&&($k(r)||(r=n),n=void 0);const o=Kd(n);return this.events.push({name:e,attributes:o,time:this._getTime(r),droppedAttributesCount:0}),this}addLink(e){return this.links.push(e),this}addLinks(e){return this.links.push(...e),this}setStatus(e){return this._isSpanEnded()?this:(this.status={...e},this.status.message!=null&&typeof e.message!="string"&&(ot.warn(`Dropping invalid status.message of type '${typeof e.message}', expected 'string'`),delete this.status.message),this)}updateName(e){return this._isSpanEnded()?this:(this.name=e,this)}end(e){if(this._isSpanEnded()){ot.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);return}this._ended=!0,this.endTime=this._getTime(e),this._duration=one(this.startTime,this.endTime),this._duration[0]<0&&(ot.warn("Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.",this.startTime,this.endTime),this.endTime=this.startTime.slice(),this._duration=[0,0]),this._droppedEventsCount>0&&ot.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`),this._spanProcessor.onEnd(this)}_getTime(e){if(typeof e=="number"&&e<=al.now())return ine(e+this._performanceOffset);if(typeof e=="number")return Xa(e);if(e instanceof Date)return Xa(e.getTime());if(u$(e))return e;if(this._startTimeProvided)return Xa(Date.now());const n=al.now()-this._performanceStartTime;return f$(this.startTime,Xa(n))}isRecording(){return this._ended===!1}recordException(e,n){const r={};typeof e=="string"?r[ov]=e:e&&(e.code?r[sv]=e.code.toString():e.name&&(r[sv]=e.name),e.message&&(r[ov]=e.message),e.stack&&(r[qte]=e.stack)),r[sv]||r[ov]?this.addEvent(Fne,r,n):ot.warn(`Failed to record an exception ${e}`)}get duration(){return this._duration}get ended(){return this._ended}get droppedAttributesCount(){return this._droppedAttributesCount}get droppedEventsCount(){return this._droppedEventsCount}get droppedLinksCount(){return this._droppedLinksCount}_isSpanEnded(){if(this._ended){const e=new Error(`Operation attempted on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`);ot.warn(`Cannot execute the operation on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`,e)}return this._ended}_truncateToLimitUtil(e,n){return e.length<=n?e:e.substring(0,n)}_truncateToSize(e){const n=this._attributeValueLengthLimit;return n<=0?(ot.warn(`Attribute value limit must be positive, got ${n}`),e):typeof e=="string"?this._truncateToLimitUtil(e,n):Array.isArray(e)?e.map(r=>typeof r=="string"?this._truncateToLimitUtil(r,n):r):e}}var Dl;(function(t){t[t.NOT_RECORD=0]="NOT_RECORD",t[t.RECORD=1]="RECORD",t[t.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(Dl||(Dl={}));class bp{shouldSample(){return{decision:Dl.NOT_RECORD}}toString(){return"AlwaysOffSampler"}}class ll{shouldSample(){return{decision:Dl.RECORD_AND_SAMPLED}}toString(){return"AlwaysOnSampler"}}class hd{constructor(e){ie(this,"_root");ie(this,"_remoteParentSampled");ie(this,"_remoteParentNotSampled");ie(this,"_localParentSampled");ie(this,"_localParentNotSampled");this._root=e.root,this._root||(Rl(new Error("ParentBasedSampler must have a root sampler configured")),this._root=new ll),this._remoteParentSampled=e.remoteParentSampled??new ll,this._remoteParentNotSampled=e.remoteParentNotSampled??new bp,this._localParentSampled=e.localParentSampled??new ll,this._localParentNotSampled=e.localParentNotSampled??new bp}shouldSample(e,n,r,i,o,s){const a=Ar.getSpanContext(e);return!a||!kg(a)?this._root.shouldSample(e,n,r,i,o,s):a.isRemote?a.traceFlags&ho.SAMPLED?this._remoteParentSampled.shouldSample(e,n,r,i,o,s):this._remoteParentNotSampled.shouldSample(e,n,r,i,o,s):a.traceFlags&ho.SAMPLED?this._localParentSampled.shouldSample(e,n,r,i,o,s):this._localParentNotSampled.shouldSample(e,n,r,i,o,s)}toString(){return`ParentBased{root=${this._root.toString()}, remoteParentSampled=${this._remoteParentSampled.toString()}, remoteParentNotSampled=${this._remoteParentNotSampled.toString()}, localParentSampled=${this._localParentSampled.toString()}, localParentNotSampled=${this._localParentNotSampled.toString()}}`}}class Bk{constructor(e=0){ie(this,"_ratio");ie(this,"_upperBound");this._ratio=e,this._ratio=this._normalize(e),this._upperBound=Math.floor(this._ratio*4294967295)}shouldSample(e,n){return{decision:n$(n)&&this._accumulate(n)<this._upperBound?Dl.RECORD_AND_SAMPLED:Dl.NOT_RECORD}}toString(){return`TraceIdRatioBased{${this._ratio}}`}_normalize(e){return typeof e!="number"||isNaN(e)?0:e>=1?1:e<=0?0:e}_accumulate(e){let n=0;for(let r=0;r<e.length/8;r++){const i=r*8,o=parseInt(e.slice(i,i+8),16);n=(n^o)>>>0}return n}}const Qk=1;function x$(){return{sampler:y$(),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128},spanLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128,linkCountLimit:128,eventCountLimit:128,attributePerEventCountLimit:128,attributePerLinkCountLimit:128}}}function y$(){const t="parentbased_always_on";switch(t){case"always_on":return new ll;case"always_off":return new bp;case"parentbased_always_on":return new hd({root:new ll});case"parentbased_always_off":return new hd({root:new bp});case"traceidratio":return new Bk(Lk());case"parentbased_traceidratio":return new hd({root:new Bk(Lk())});default:return ot.error(`OTEL_TRACES_SAMPLER value "${t}" invalid, defaulting to "parentbased_always_on".`),new hd({root:new ll})}}function Lk(){return ot.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${Qk}.`),Qk}const zne=128,Wne=1/0;function Zne(t){const e={sampler:y$()},n=x$(),r=Object.assign({},n,e,t);return r.generalLimits=Object.assign({},n.generalLimits,t.generalLimits||{}),r.spanLimits=Object.assign({},n.spanLimits,t.spanLimits||{}),r}function Xne(t){var n,r,i,o;const e=Object.assign({},t.spanLimits);return e.attributeCountLimit=((n=t.spanLimits)==null?void 0:n.attributeCountLimit)??((r=t.generalLimits)==null?void 0:r.attributeCountLimit)??void 0??void 0??zne,e.attributeValueLengthLimit=((i=t.spanLimits)==null?void 0:i.attributeValueLengthLimit)??((o=t.generalLimits)==null?void 0:o.attributeValueLengthLimit)??void 0??void 0??Wne,Object.assign({},t,{spanLimits:e})}class Gne{constructor(e,n){ie(this,"_exporter");ie(this,"_maxExportBatchSize");ie(this,"_maxQueueSize");ie(this,"_scheduledDelayMillis");ie(this,"_exportTimeoutMillis");ie(this,"_isExporting",!1);ie(this,"_finishedSpans",[]);ie(this,"_timer");ie(this,"_shutdownOnce");ie(this,"_droppedSpansCount",0);this._exporter=e,this._maxExportBatchSize=typeof(n==null?void 0:n.maxExportBatchSize)=="number"?n.maxExportBatchSize:512,this._maxQueueSize=typeof(n==null?void 0:n.maxQueueSize)=="number"?n.maxQueueSize:2048,this._scheduledDelayMillis=typeof(n==null?void 0:n.scheduledDelayMillis)=="number"?n.scheduledDelayMillis:5e3,this._exportTimeoutMillis=typeof(n==null?void 0:n.exportTimeoutMillis)=="number"?n.exportTimeoutMillis:3e4,this._shutdownOnce=new Bne(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(ot.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"),this._maxExportBatchSize=this._maxQueueSize)}forceFlush(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()}onStart(e,n){}onEnd(e){this._shutdownOnce.isCalled||e.spanContext().traceFlags&ho.SAMPLED&&this._addToBuffer(e)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return Promise.resolve().then(()=>this.onShutdown()).then(()=>this._flushAll()).then(()=>this._exporter.shutdown())}_addToBuffer(e){if(this._finishedSpans.length>=this._maxQueueSize){this._droppedSpansCount===0&&ot.debug("maxQueueSize reached, dropping spans"),this._droppedSpansCount++;return}this._droppedSpansCount>0&&(ot.warn(`Dropped ${this._droppedSpansCount} spans because maxQueueSize reached`),this._droppedSpansCount=0),this._finishedSpans.push(e),this._maybeStartTimer()}_flushAll(){return new Promise((e,n)=>{const r=[],i=Math.ceil(this._finishedSpans.length/this._maxExportBatchSize);for(let o=0,s=i;o<s;o++)r.push(this._flushOneBatch());Promise.all(r).then(()=>{e()}).catch(n)})}_flushOneBatch(){return this._clearTimer(),this._finishedSpans.length===0?Promise.resolve():new Promise((e,n)=>{const r=setTimeout(()=>{n(new Error("Timeout"))},this._exportTimeoutMillis);Fo.with(Dte(Fo.active()),()=>{let i;this._finishedSpans.length<=this._maxExportBatchSize?(i=this._finishedSpans,this._finishedSpans=[]):i=this._finishedSpans.splice(0,this._maxExportBatchSize);const o=()=>this._exporter.export(i,a=>{clearTimeout(r),a.code===Oi.SUCCESS?e():n(a.error??new Error("BatchSpanProcessor: span export failed"))});let s=null;for(let a=0,l=i.length;a<l;a++){const c=i[a];c.resource.asyncAttributesPending&&c.resource.waitForAsyncAttributes&&(s??(s=[]),s.push(c.resource.waitForAsyncAttributes()))}s===null?o():Promise.all(s).then(o,a=>{Rl(a),n(a)})})})}_maybeStartTimer(){if(this._isExporting)return;const e=()=>{this._isExporting=!0,this._flushOneBatch().finally(()=>{this._isExporting=!1,this._finishedSpans.length>0&&(this._clearTimer(),this._maybeStartTimer())}).catch(n=>{this._isExporting=!1,Rl(n)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return e();this._timer===void 0&&(this._timer=setTimeout(()=>e(),this._scheduledDelayMillis),this._timer,void 0)}_clearTimer(){this._timer!==void 0&&(clearTimeout(this._timer),this._timer=void 0)}}class Une extends Gne{constructor(n,r){super(n,r);ie(this,"_visibilityChangeListener");ie(this,"_pageHideListener");this.onInit(r)}onInit(n){(n==null?void 0:n.disableAutoFlushOnDocumentHide)!==!0&&typeof document<"u"&&(this._visibilityChangeListener=()=>{document.visibilityState==="hidden"&&this.forceFlush().catch(r=>{Rl(r)})},this._pageHideListener=()=>{this.forceFlush().catch(r=>{Rl(r)})},document.addEventListener("visibilitychange",this._visibilityChangeListener),document.addEventListener("pagehide",this._pageHideListener))}onShutdown(){typeof document<"u"&&(this._visibilityChangeListener&&document.removeEventListener("visibilitychange",this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener("pagehide",this._pageHideListener))}}const Yne=8,Hne=16;class qne{constructor(){ie(this,"generateTraceId",Fk(Hne));ie(this,"generateSpanId",Fk(Yne))}}const pd=Array(32);function Fk(t){return function(){for(let n=0;n<t*2;n++)pd[n]=Math.floor(Math.random()*16)+48,pd[n]>=58&&(pd[n]+=39);return String.fromCharCode.apply(null,pd.slice(0,t*2))}}class Jne{constructor(e,n,r,i){ie(this,"_sampler");ie(this,"_generalLimits");ie(this,"_spanLimits");ie(this,"_idGenerator");ie(this,"instrumentationScope");ie(this,"_resource");ie(this,"_spanProcessor");const o=Zne(n);this._sampler=o.sampler,this._generalLimits=o.generalLimits,this._spanLimits=o.spanLimits,this._idGenerator=n.idGenerator||new qne,this._resource=r,this._spanProcessor=i,this.instrumentationScope=e}startSpan(e,n={},r=Fo.active()){n.root&&(r=Ar.deleteSpan(r));const i=Ar.getSpan(r);if(Cb(r))return ot.debug("Instrumentation suppressed, returning Noop Span"),Ar.wrapSpanContext(e$);const o=i==null?void 0:i.spanContext(),s=this._idGenerator.generateSpanId();let a,l,c;!o||!Ar.isSpanContextValid(o)?l=this._idGenerator.generateTraceId():(l=o.traceId,c=o.traceState,a=o);const u=n.kind??ix.INTERNAL,f=(n.links??[]).map(x=>({context:x.context,attributes:Kd(x.attributes)})),d=Kd(n.attributes),p=this._sampler.shouldSample(r,l,e,u,d,f);c=p.traceState??c;const g=p.decision===vp.RECORD_AND_SAMPLED?ho.SAMPLED:ho.NONE,m={traceId:l,spanId:s,traceFlags:g,traceState:c};if(p.decision===vp.NOT_RECORD)return ot.debug("Recording is off, propagating context in a non-recording span"),Ar.wrapSpanContext(m);const v=Kd(Object.assign(d,p.attributes));return new Vne({resource:this._resource,scope:this.instrumentationScope,context:r,spanContext:m,name:e,kind:u,links:f,parentSpanContext:a,attributes:v,startTime:n.startTime,spanProcessor:this._spanProcessor,spanLimits:this._spanLimits})}startActiveSpan(e,n,r,i){let o,s,a;if(arguments.length<2)return;arguments.length===2?a=n:arguments.length===3?(o=n,a=r):(o=n,s=r,a=i);const l=s??Fo.active(),c=this.startSpan(e,o,l),u=Ar.setSpan(l,c);return Fo.with(u,a,void 0,c)}getGeneralLimits(){return this._generalLimits}getSpanLimits(){return this._spanLimits}}class Kne{constructor(e){ie(this,"_spanProcessors");this._spanProcessors=e}forceFlush(){const e=[];for(const n of this._spanProcessors)e.push(n.forceFlush());return new Promise(n=>{Promise.all(e).then(()=>{n()}).catch(r=>{Rl(r||new Error("MultiSpanProcessor: forceFlush failed")),n()})})}onStart(e,n){for(const r of this._spanProcessors)r.onStart(e,n)}onEnd(e){for(const n of this._spanProcessors)n.onEnd(e)}shutdown(){const e=[];for(const n of this._spanProcessors)e.push(n.shutdown());return new Promise((n,r)=>{Promise.all(e).then(()=>{n()},r)})}}var Ps;(function(t){t[t.resolved=0]="resolved",t[t.timeout=1]="timeout",t[t.error=2]="error",t[t.unresolved=3]="unresolved"})(Ps||(Ps={}));class ere{constructor(e={}){ie(this,"_config");ie(this,"_tracers",new Map);ie(this,"_resource");ie(this,"_activeSpanProcessor");var i;const n=Dne({},x$(),Xne(e));this._resource=n.resource??Lne(),this._config=Object.assign({},n,{resource:this._resource});const r=[];(i=e.spanProcessors)!=null&&i.length&&r.push(...e.spanProcessors),this._activeSpanProcessor=new Kne(r)}getTracer(e,n,r){const i=`${e}@${n||""}:${(r==null?void 0:r.schemaUrl)||""}`;return this._tracers.has(i)||this._tracers.set(i,new Jne({name:e,version:n,schemaUrl:r==null?void 0:r.schemaUrl},this._config,this._resource,this._activeSpanProcessor)),this._tracers.get(i)}forceFlush(){const e=this._config.forceFlushTimeoutMillis,n=this._activeSpanProcessor._spanProcessors.map(r=>new Promise(i=>{let o;const s=setTimeout(()=>{i(new Error(`Span processor did not completed within timeout period of ${e} ms`)),o=Ps.timeout},e);r.forceFlush().then(()=>{clearTimeout(s),o!==Ps.timeout&&(o=Ps.resolved,i(o))}).catch(a=>{clearTimeout(s),o=Ps.error,i(a)})}));return new Promise((r,i)=>{Promise.all(n).then(o=>{const s=o.filter(a=>a!==Ps.resolved);s.length>0?i(s):r()}).catch(o=>i([o]))})}shutdown(){return this._activeSpanProcessor.shutdown()}}class tre{constructor(){ie(this,"_enabled",!1);ie(this,"_currentContext",Ma)}_bindFunction(e=Ma,n){const r=this,i=function(...o){return r.with(e,()=>n.apply(this,o))};return Object.defineProperty(i,"length",{enumerable:!1,configurable:!0,writable:!1,value:n.length}),i}active(){return this._currentContext}bind(e,n){return e===void 0&&(e=this.active()),typeof n=="function"?this._bindFunction(e,n):n}disable(){return this._currentContext=Ma,this._enabled=!1,this}enable(){return this._enabled?this:(this._enabled=!0,this._currentContext=Ma,this)}with(e,n,r,...i){const o=this._currentContext;this._currentContext=e||Ma;try{return n.call(r,...i)}finally{this._currentContext=o}}}function nre(t){if(t!==null){if(t===void 0){const e=new tre;e.enable(),Fo.setGlobalContextManager(e);return}t.enable(),Fo.setGlobalContextManager(t)}}function rre(t){if(t!==null){if(t===void 0){au.setGlobalPropagator(new ane({propagators:[new wne,new zte]}));return}au.setGlobalPropagator(t)}}class ire extends ere{constructor(e={}){super(e)}register(e={}){Ar.setGlobalTracerProvider(this),rre(e.propagator),nre(e.contextManager)}}class ore{constructor(e){ie(this,"_delegate");this._delegate=e}export(e,n){this._delegate.export(e,n)}forceFlush(){return this._delegate.forceFlush()}shutdown(){return this._delegate.shutdown()}}class Vk extends Error{constructor(n,r,i){super(n);ie(this,"code");ie(this,"name","OTLPExporterError");ie(this,"data");this.data=i,this.code=r}}function sre(t){if(Number.isFinite(t)&&t>0)return t;throw new Error(`Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '${t}')`)}function are(t){if(t!=null)return()=>t}function lre(t,e,n){return{timeoutMillis:sre(t.timeoutMillis??e.timeoutMillis??n.timeoutMillis),concurrencyLimit:t.concurrencyLimit??e.concurrencyLimit??n.concurrencyLimit,compression:t.compression??e.compression??n.compression}}function cre(){return{timeoutMillis:1e4,concurrencyLimit:30,compression:"none"}}class ure{constructor(e){ie(this,"_concurrencyLimit");ie(this,"_sendingPromises",[]);this._concurrencyLimit=e}pushPromise(e){if(this.hasReachedLimit())throw new Error("Concurrency Limit reached");this._sendingPromises.push(e);const n=()=>{const r=this._sendingPromises.indexOf(e);this._sendingPromises.splice(r,1)};e.then(n,n)}hasReachedLimit(){return this._sendingPromises.length>=this._concurrencyLimit}async awaitAll(){await Promise.all(this._sendingPromises)}}function fre(t){return new ure(t.concurrencyLimit)}function dre(t){return Object.prototype.hasOwnProperty.call(t,"partialSuccess")}function hre(){return{handleResponse(t){t==null||!dre(t)||t.partialSuccess==null||Object.keys(t.partialSuccess).length===0||ot.warn("Received Partial Success response:",JSON.stringify(t.partialSuccess))}}}class pre{constructor(e,n,r,i,o){ie(this,"_transport");ie(this,"_serializer");ie(this,"_responseHandler");ie(this,"_promiseQueue");ie(this,"_timeout");ie(this,"_diagLogger");this._transport=e,this._serializer=n,this._responseHandler=r,this._promiseQueue=i,this._timeout=o,this._diagLogger=ot.createComponentLogger({namespace:"OTLPExportDelegate"})}export(e,n){if(this._diagLogger.debug("items to be sent",e),this._promiseQueue.hasReachedLimit()){n({code:Oi.FAILED,error:new Error("Concurrent export limit reached")});return}const r=this._serializer.serializeRequest(e);if(r==null){n({code:Oi.FAILED,error:new Error("Nothing to send")});return}this._promiseQueue.pushPromise(this._transport.send(r,this._timeout).then(i=>{if(i.status==="success"){if(i.data!=null)try{this._responseHandler.handleResponse(this._serializer.deserializeResponse(i.data))}catch(o){this._diagLogger.warn("Export succeeded but could not deserialize response - is the response specification compliant?",o,i.data)}n({code:Oi.SUCCESS});return}else if(i.status==="failure"&&i.error){n({code:Oi.FAILED,error:i.error});return}else i.status==="retryable"?n({code:Oi.FAILED,error:new Vk("Export failed with retryable status")}):n({code:Oi.FAILED,error:new Vk("Export failed with unknown error")})},i=>n({code:Oi.FAILED,error:i})))}forceFlush(){return this._promiseQueue.awaitAll()}async shutdown(){this._diagLogger.debug("shutdown started"),await this.forceFlush(),this._transport.shutdown()}}function gre(t,e){return new pre(t.transport,t.serializer,hre(),t.promiseHandler,e.timeout)}function b$(t,e,n){return gre({transport:n,serializer:e,promiseHandler:fre(t)},{timeout:t.timeoutMillis})}function zk(t){return t>=48&&t<=57?t-48:t>=97&&t<=102?t-87:t-55}function S$(t){const e=new Uint8Array(t.length/2);let n=0;for(let r=0;r<t.length;r+=2){const i=zk(t.charCodeAt(r)),o=zk(t.charCodeAt(r+1));e[n++]=i<<4|o}return e}function w$(t){const e=BigInt(1e9);return BigInt(t[0])*e+BigInt(t[1])}function mre(t){const e=Number(BigInt.asUintN(32,t)),n=Number(BigInt.asUintN(32,t>>BigInt(32)));return{low:e,high:n}}function vre(t){const e=w$(t);return mre(e)}function Ore(t){return w$(t).toString()}const xre=typeof BigInt<"u"?Ore:sne;function Wk(t){return t}function yre(t){if(t!==void 0)return S$(t)}const bre={encodeHrTime:vre,encodeSpanContext:S$,encodeOptionalSpanContext:yre};function Sre(t){return t===void 0?bre:{encodeHrTime:xre,encodeSpanContext:Wk,encodeOptionalSpanContext:Wk}}function wre(t){return{attributes:Eg(t.attributes),droppedAttributesCount:0}}function Cre(t){return{name:t.name,version:t.version}}function Eg(t){return Object.keys(t).map(e=>C$(e,t[e]))}function C$(t,e){return{key:t,value:P$(e)}}function P$(t){const e=typeof t;return e==="string"?{stringValue:t}:e==="number"?Number.isInteger(t)?{intValue:t}:{doubleValue:t}:e==="boolean"?{boolValue:t}:t instanceof Uint8Array?{bytesValue:t}:Array.isArray(t)?{arrayValue:{values:t.map(P$)}}:e==="object"&&t!=null?{kvlistValue:{values:Object.entries(t).map(([n,r])=>C$(n,r))}}:{}}function Pre(t,e){var o,s,a;const n=t.spanContext(),r=t.status,i=(o=t.parentSpanContext)!=null&&o.spanId?e.encodeSpanContext((s=t.parentSpanContext)==null?void 0:s.spanId):void 0;return{traceId:e.encodeSpanContext(n.traceId),spanId:e.encodeSpanContext(n.spanId),parentSpanId:i,traceState:(a=n.traceState)==null?void 0:a.serialize(),name:t.name,kind:t.kind==null?0:t.kind+1,startTimeUnixNano:e.encodeHrTime(t.startTime),endTimeUnixNano:e.encodeHrTime(t.endTime),attributes:Eg(t.attributes),droppedAttributesCount:t.droppedAttributesCount,events:t.events.map(l=>kre(l,e)),droppedEventsCount:t.droppedEventsCount,status:{code:r.code,message:r.message},links:t.links.map(l=>Are(l,e)),droppedLinksCount:t.droppedLinksCount}}function Are(t,e){var n;return{attributes:t.attributes?Eg(t.attributes):[],spanId:e.encodeSpanContext(t.context.spanId),traceId:e.encodeSpanContext(t.context.traceId),traceState:(n=t.context.traceState)==null?void 0:n.serialize(),droppedAttributesCount:t.droppedAttributesCount||0}}function kre(t,e){return{attributes:t.attributes?Eg(t.attributes):[],name:t.name,timeUnixNano:e.encodeHrTime(t.time),droppedAttributesCount:t.droppedAttributesCount||0}}function Ere(t,e){const n=Sre(e);return{resourceSpans:Tre(t,n)}}function Ire(t){const e=new Map;for(const n of t){let r=e.get(n.resource);r||(r=new Map,e.set(n.resource,r));const i=`${n.instrumentationScope.name}@${n.instrumentationScope.version||""}:${n.instrumentationScope.schemaUrl||""}`;let o=r.get(i);o||(o=[],r.set(i,o)),o.push(n)}return e}function Tre(t,e){const n=Ire(t),r=[],i=n.entries();let o=i.next();for(;!o.done;){const[s,a]=o.value,l=[],c=a.values();let u=c.next();for(;!u.done;){const d=u.value;if(d.length>0){const p=d.map(g=>Pre(g,e));l.push({scope:Cre(d[0].instrumentationScope),spans:p,schemaUrl:d[0].instrumentationScope.schemaUrl})}u=c.next()}const f={resource:wre(s),scopeSpans:l,schemaUrl:void 0};r.push(f),o=i.next()}return r}const $re={serializeRequest:t=>{const e=Ere(t,{});return new TextEncoder().encode(JSON.stringify(e))},deserializeResponse:t=>{if(t.length===0)return{};const e=new TextDecoder;return JSON.parse(e.decode(t))}},jre=5,_re=1e3,Rre=5e3,Dre=1.5,Zk=.2;function Mre(){return Math.random()*(2*Zk)-Zk}class Nre{constructor(e){ie(this,"_transport");this._transport=e}retry(e,n,r){return new Promise((i,o)=>{setTimeout(()=>{this._transport.send(e,n).then(i,o)},r)})}async send(e,n){const r=Date.now()+n;let i=await this._transport.send(e,n),o=jre,s=_re;for(;i.status==="retryable"&&o>0;){o--;const a=Math.max(Math.min(s,Rre)+Mre(),0);s=s*Dre;const l=i.retryInMillis??a,c=r-Date.now();if(l>c)return i;i=await this.retry(e,c,l)}return i}shutdown(){return this._transport.shutdown()}}function A$(t){return new Nre(t.transport)}function Bre(t){return[429,502,503,504].includes(t)}function Qre(t){if(t==null)return;const e=Number.parseInt(t,10);if(Number.isInteger(e))return e>0?e*1e3:-1;const n=new Date(t).getTime()-Date.now();return n>=0?n:0}class Lre{constructor(e){ie(this,"_parameters");this._parameters=e}send(e,n){return new Promise(r=>{const i=new XMLHttpRequest;i.timeout=n,i.open("POST",this._parameters.url);const o=this._parameters.headers();Object.entries(o).forEach(([s,a])=>{i.setRequestHeader(s,a)}),i.ontimeout=s=>{r({status:"failure",error:new Error("XHR request timed out")})},i.onreadystatechange=()=>{i.status>=200&&i.status<=299?(ot.debug("XHR success"),r({status:"success"})):i.status&&Bre(i.status)?r({status:"retryable",retryInMillis:Qre(i.getResponseHeader("Retry-After"))}):i.status!==0&&r({status:"failure",error:new Error("XHR request failed with non-retryable status")})},i.onabort=()=>{r({status:"failure",error:new Error("XHR request aborted")})},i.onerror=()=>{r({status:"failure",error:new Error("XHR request errored")})},i.send(e)})}shutdown(){}}function Fre(t){return new Lre(t)}class Vre{constructor(e){ie(this,"_params");this._params=e}send(e){return new Promise(n=>{navigator.sendBeacon(this._params.url,new Blob([e],{type:this._params.blobType}))?(ot.debug("SendBeacon success"),n({status:"success"})):n({status:"failure",error:new Error("SendBeacon failed")})})}shutdown(){}}function zre(t){return new Vre(t)}function Wre(t,e){return b$(t,e,A$({transport:Fre(t)}))}function Zre(t,e){return b$(t,e,A$({transport:zre({url:t.url,blobType:t.headers()["Content-Type"]})}))}function Xre(t){return()=>{const e={};return Object.entries((t==null?void 0:t())??{}).forEach(([n,r])=>{typeof r<"u"?e[n]=String(r):ot.warn(`Header "${n}" has invalid value (${r}) and will be ignored`)}),e}}function Gre(t,e,n){const r={...n()},i={};return()=>(e!=null&&Object.assign(i,e()),t!=null&&Object.assign(i,t()),Object.assign(i,r))}function Ure(t){if(t!=null)try{return new URL(t),t}catch{throw new Error(`Configuration: Could not parse user-provided export URL: '${t}'`)}}function Yre(t,e,n){return{...lre(t,e,n),headers:Gre(Xre(t.headers),e.headers,n.headers),url:Ure(t.url)??e.url??n.url,agentOptions:t.agentOptions??e.agentOptions??n.agentOptions}}function Hre(t,e){return{...cre(),headers:()=>t,url:"http://localhost:4318/"+e,agentOptions:{keepAlive:!0}}}function qre(t,e,n){return Yre({url:t.url,timeoutMillis:t.timeoutMillis,headers:are(t.headers),concurrencyLimit:t.concurrencyLimit},{},Hre(n,e))}function Jre(t,e,n,r){const i=!!t.headers||typeof navigator.sendBeacon!="function",o=qre(t,n,r);return i?Wre(o,e):Zre(o,e)}class Kre extends ore{constructor(e={}){super(Jre(e,$re,"v1/traces",{"Content-Type":"application/json"}))}}class k${emit(e){}}const eie=new k$;class tie{getLogger(e,n,r){return new k$}}const E$=new tie;class nie{constructor(e,n,r,i){this._provider=e,this.name=n,this.version=r,this.options=i}emit(e){this._getLogger().emit(e)}_getLogger(){if(this._delegate)return this._delegate;const e=this._provider.getDelegateLogger(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):eie}}class Xk{getLogger(e,n,r){var i;return(i=this.getDelegateLogger(e,n,r))!==null&&i!==void 0?i:new nie(this,e,n,r)}getDelegate(){var e;return(e=this._delegate)!==null&&e!==void 0?e:E$}setDelegate(e){this._delegate=e}getDelegateLogger(e,n,r){var i;return(i=this._delegate)===null||i===void 0?void 0:i.getLogger(e,n,r)}}const rie=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},gd=Symbol.for("io.opentelemetry.js.api.logs"),Pc=rie;function iie(t,e,n){return r=>r===t?e:n}const Gk=1;class Ab{constructor(){this._proxyLoggerProvider=new Xk}static getInstance(){return this._instance||(this._instance=new Ab),this._instance}setGlobalLoggerProvider(e){return Pc[gd]?this.getLoggerProvider():(Pc[gd]=iie(Gk,e,E$),this._proxyLoggerProvider.setDelegate(e),e)}getLoggerProvider(){var e,n;return(n=(e=Pc[gd])===null||e===void 0?void 0:e.call(Pc,Gk))!==null&&n!==void 0?n:this._proxyLoggerProvider}getLogger(e,n,r){return this.getLoggerProvider().getLogger(e,n,r)}disable(){delete Pc[gd],this._proxyLoggerProvider=new Xk}}const oie=Ab.getInstance();function sie(t,e,n,r){for(let i=0,o=t.length;i<o;i++){const s=t[i];e&&s.setTracerProvider(e),n&&s.setMeterProvider(n),r&&s.setLoggerProvider&&s.setLoggerProvider(r),s.getConfig().enabled||s.enable()}}function aie(t){t.forEach(e=>e.disable())}function lie(t){var o;const e=t.tracerProvider||Ar.getTracerProvider(),n=t.meterProvider||kte.getMeterProvider(),r=t.loggerProvider||oie.getLoggerProvider(),i=((o=t.instrumentations)==null?void 0:o.flat())??[];return sie(i,e,n,r),()=>{aie(i)}}class cie{constructor(){ie(this,"config",null);ie(this,"tracer",null);ie(this,"tracerProvider",null);ie(this,"initialized",!1);ie(this,"getKeySnakeValue",e=>e.replace(/([A-Z])/g,"_$1").toLowerCase())}initTracer(e){throw new Error("initTracer must be implemented by the environment-specific client")}init(e){this.config=e,this.initTracer(e)}send(e){var n;try{if(!this.tracer||!this.config)return;const r=e.time?new Date(e.time):new Date;this.tracer.startSpan(`event.${e.type}`,{attributes:this.processAttributes(e,r),startTime:r}).end(r)}catch(r){(n=this.config)!=null&&n.isProd||console.error("Event reporting failed:",r)}}processAttributes(e,n){var o,s;const i={"cloudevents.event_id":Nu(),"cloudevents.event_type":e.type,"cloudevents.event_source":e.source,"cloudevents.event_spec_version":e.specversion,"cloudevents.event_data_content_type":e.datacontenttype||"application/json; charset=utf-8","cloudevents.event_time":n.toISOString(),"cloudevents.event_subject":e.subject||"","cloudevents.page.uri":location.href,"cloudevents.event_version":(o=this.config)==null?void 0:o.version,"cloudevents.event_origin":"ui","cloudevents.event_source_details.id":((s=e.sourceDetails)==null?void 0:s.id)||Nu()};return e.data&&typeof e.data=="object"&&Object.entries(e.data).forEach(([a,l])=>{const c=a.replace(/([A-Z])/g,"_$1").toLowerCase();l!==void 0&&(i[`cloudevents.event_data.${c}`]=l)}),Object.entries(e).forEach(([a,l])=>{["id","source","type","specversion","time","datacontenttype","data","subject","sourceDetails"].includes(a)||l!==void 0&&(l instanceof Object?Object.entries(l).forEach(([c,u])=>{u!==void 0&&(i[`cloudevents.${a}.${c}`]=u)}):i[`cloudevents.${a}`]=l)}),i}startSpan(e,n){var r;try{if(!this.tracer)return;let i;const o=e.time?new Date(e.time):new Date,s=this.tracer.startSpan(`event.${e.type}`,{attributes:this.processAttributes(e,o),root:!n},n);return n||(i=Ar.setSpan(Fo.active(),s)),{end:()=>s.end(),setAttribute:(a,l)=>{s.setAttribute(`cloudevents.event_data.${this.getKeySnakeValue(a)}`,l)},setStatus:(a,l)=>s.setStatus({code:a,message:l}),parentCtx:i}}catch(i){(r=this.config)!=null&&r.isProd||console.error("Event reporting failed:",i)}}forceFlush(){var e;(e=this.tracerProvider)==null||e.forceFlush()}}class uie extends cie{constructor(){super();ie(this,"tracerProvider",null);ie(this,"tracer",null);ie(this,"initialized",!1)}initTracer(n){if(!n.collectorUrl&&!n.collectorTraceUrl)return;const r=`ses_${Nu()}`,i=O$({[l$]:n.serviceName,[Jte]:n.serviceVersion,session_id:r}),o=n.collectorTraceUrl||`${n.collectorUrl}/v1/traces`;this.tracerProvider=new ire({resource:i,spanProcessors:[new Une(new Kre({url:o,headers:{}}))]}),this.tracer=this.tracerProvider.getTracer(n.tracerName),this.tracerProvider.register(),lie({instrumentations:n.instrumentations??[]}),this.initialized=!0}}class fie{constructor(){ie(this,"config",null);ie(this,"initialized",!1);ie(this,"useCloudEventData");ie(this,"otelClient");ie(this,"updateCloudEventData",e=>{this.useCloudEventData=e});this.useCloudEventData=()=>({organization:{id:"",slug:""},project:{id:"",slug:""},productType:"",sourceDetails:{user:"Anonymous",object:"user",uri:""},request:{source:""}}),this.otelClient=new uie}init(e){this.initialized||(this.config=e,this.initialized=!0,this.otelClient.init({serviceVersion:e.otel.serviceVersion,version:e.otel.version,isProd:e.otel.isProd,collectorUrl:e.otel.collectorUrl,serviceName:e.otel.serviceName,tracerName:e.otel.tracerName}))}send(e,n){var r;try{const i=this.constructCloudEvent(e,n);this.sendToOtelService(i)}catch(i){(r=this.config)!=null&&r.otel.isProd||console.error("Event reporting failed:",i)}}startSpan(e,n,r){const i=this.constructCloudEvent(e,n);return this.otelClient.startSpan(i,r)}constructCloudEvent(e,n){const r=this.useCloudEventData();return{id:`evt_${Nu()}`,type:e,source:r.request.source||"",specversion:"1.0",datacontenttype:"application/json",time:new Date().toISOString(),data:n,origin:"ui",sourceDetails:{id:r.sourceDetails.user||`usr_${Nu()}`,object:r.sourceDetails.object||"user",uri:r.sourceDetails.uri||""},organization:r.organization,project:r.project,productType:r.productType}}sendToOtelService(e){var n;(n=this.config)!=null&&n.otel.isProd||console.log("CloudEvent to be sent to OTEL service:",e),this.otelClient.send(e)}forceFlush(){this.otelClient.forceFlush()}sendTabChangeMessage(e){this.send("tab.change",e)}sendButtonClickMessage(e){this.send("button.click",e)}sendChangeMessage(e){this.send("change",e)}sendContentCopyMessage(e){this.send("content.copy",e)}sendUrlClickMessage(e){this.send("url.click",e)}sendRequestSendMessage(e){this.send("request.send",e)}sendTokenGenerateMessage(e){this.send("token.generate",e)}sendAppLifecycleMessage(e){this.send("app.lifecycle",e)}sendEnvironmentManagementMessage(e){this.send("environment.management",e)}sendInputManagementMessage(e){this.send("input.management",e)}sendNodeManagementMessage(e){this.send("node.management",e)}sendHistoryManagementMessage(e){this.send("history.management",e)}sendCredentialManagementMessage(e){this.send("credential.management",e)}sendPanelToggleMessage(e){this.send("panel.toggle",e)}}function die(){return{theme:"light",disableCollectionsTab:!1,oAuth2RedirectURI:null,corsProxyUrl:void 0,mockServer:void 0,certificates:[],isApiBased:!1,generatedEnvironments:[],generatedInputs:[]}}const hie=die(),pie=E.createContext(hie);function Kr(){const t=E.useContext(pie);return ZI(t)}function gie(t,e){const{apps:{apiId:n}}=at(),{corsProxyUrl:r,disableCollectionsTab:i,mockServer:o,oAuth2RedirectURI:s,certificates:a,storageKey:l,isApiBased:c}=Kr();r.set((t==null?void 0:t.corsProxyUrl)??qQ),o.set(t==null?void 0:t.mockServer),n.set(t==null?void 0:t.apiId),s.set(t==null?void 0:t.oAuth2RedirectURI),i.set(!!(t!=null&&t.disableCollectionsTab)),l.set(t==null?void 0:t.storageKey),c.set(!!e),E.useEffect(()=>{a.set((t==null?void 0:t.certificates)||[])},[t==null?void 0:t.certificates])}const Ig=E.createContext({});function kb(){return E.useContext(Ig)||{}}const mie="0.15.0-next.14",vie={version:mie};class Oie{constructor(){ie(this,"client");ie(this,"_isInitialized",!1);this.client=new fie}get isInitialized(){return this._isInitialized}init(e){if(this.isInitialized)return;const r={serviceName:"replay",serviceVersion:vie.version,version:"1.0.0",tracerName:(e==null?void 0:e.tracerName)||"desktop",collectorUrl:(e==null?void 0:e.collectorUrl)||"",isProd:!0};this.client.init({otel:{...r,...e}}),this._isInitialized=!0}sendEvent(e,n){if(!this.isInitialized){console.warn("Telemetry client not initialized. Call init() first.");return}try{this.client.send(e,n)}catch(r){console.error("Failed to send telemetry event:",r)}}}const fv=new Oie;function et(){const{telemetry:t}=kb();return fv.isInitialized||fv.init({tracerName:t==null?void 0:t.tracerName,collectorUrl:t==null?void 0:t.collectorUrl}),{sendEvent:(e,n)=>{fv.sendEvent(e,n)}}}const Qn=800;var xie=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function yie(t){var e=t.defaultInputValue,n=e===void 0?"":e,r=t.defaultMenuIsOpen,i=r===void 0?!1:r,o=t.defaultValue,s=o===void 0?null:o,a=t.inputValue,l=t.menuIsOpen,c=t.onChange,u=t.onInputChange,f=t.onMenuClose,d=t.onMenuOpen,p=t.value,g=mr(t,xie),m=E.useState(a!==void 0?a:n),v=Ne(m,2),O=v[0],x=v[1],y=E.useState(l!==void 0?l:i),S=Ne(y,2),b=S[0],w=S[1],C=E.useState(p!==void 0?p:s),P=Ne(C,2),A=P[0],I=P[1],T=E.useCallback(function(Z,Y){typeof c=="function"&&c(Z,Y),I(Z)},[c]),j=E.useCallback(function(Z,Y){var N;typeof u=="function"&&(N=u(Z,Y)),x(N!==void 0?N:Z)},[u]),B=E.useCallback(function(){typeof d=="function"&&d(),w(!0)},[d]),V=E.useCallback(function(){typeof f=="function"&&f(),w(!1)},[f]),Q=a!==void 0?a:O,z=l!==void 0?l:b,U=p!==void 0?p:A;return se(se({},g),{},{inputValue:Q,menuIsOpen:z,onChange:T,onInputChange:j,onMenuClose:V,onMenuOpen:B,value:U})}function bie(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function Sie(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var wie=function(){function t(n){var r=this;this._insertTag=function(i){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,o),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?process.env.NODE_ENV==="production":n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(r){r.forEach(this._insertTag)},e.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Sie(this));var i=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var o=r.charCodeAt(0)===64&&r.charCodeAt(1)===105;o&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
321
321
  `+r+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!o}if(this.isSpeedy){var s=bie(i);try{s.insertRule(r,s.cssRules.length)}catch(a){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(r)&&console.error('There was a problem inserting the following rule: "'+r+'"',a)}}else i.appendChild(document.createTextNode(r));this.ctr++},e.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},t}(),bn="-ms-",Sp="-moz-",it="-webkit-",Eb="comm",Ib="rule",Tb="decl",Cie="@import",I$="@keyframes",Pie=Math.abs,Tg=String.fromCharCode,Aie=Object.assign;function kie(t,e){return pn(t,0)^45?(((e<<2^pn(t,0))<<2^pn(t,1))<<2^pn(t,2))<<2^pn(t,3):0}function T$(t){return t.trim()}function Eie(t,e){return(t=e.exec(t))?t[0]:t}function dt(t,e,n){return t.replace(e,n)}function dx(t,e){return t.indexOf(e)}function pn(t,e){return t.charCodeAt(e)|0}function Lu(t,e,n){return t.slice(e,n)}function yi(t){return t.length}function $b(t){return t.length}function md(t,e){return e.push(t),t}function Iie(t,e){return t.map(e).join("")}var $g=1,Ml=1,$$=0,er=0,Wt=0,Kl="";function jg(t,e,n,r,i,o,s){return{value:t,root:e,parent:n,type:r,props:i,children:o,line:$g,column:Ml,length:s,return:""}}function Ac(t,e){return Aie(jg("",null,null,"",null,null,0),t,{length:-t.length},e)}function Tie(){return Wt}function $ie(){return Wt=er>0?pn(Kl,--er):0,Ml--,Wt===10&&(Ml=1,$g--),Wt}function gr(){return Wt=er<$$?pn(Kl,er++):0,Ml++,Wt===10&&(Ml=1,$g++),Wt}function Di(){return pn(Kl,er)}function th(){return er}function lf(t,e){return Lu(Kl,t,e)}function Fu(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function j$(t){return $g=Ml=1,$$=yi(Kl=t),er=0,[]}function _$(t){return Kl="",t}function nh(t){return T$(lf(er-1,hx(t===91?t+2:t===40?t+1:t)))}function jie(t){for(;(Wt=Di())&&Wt<33;)gr();return Fu(t)>2||Fu(Wt)>3?"":" "}function _ie(t,e){for(;--e&&gr()&&!(Wt<48||Wt>102||Wt>57&&Wt<65||Wt>70&&Wt<97););return lf(t,th()+(e<6&&Di()==32&&gr()==32))}function hx(t){for(;gr();)switch(Wt){case t:return er;case 34:case 39:t!==34&&t!==39&&hx(Wt);break;case 40:t===41&&hx(t);break;case 92:gr();break}return er}function Rie(t,e){for(;gr()&&t+Wt!==57;)if(t+Wt===84&&Di()===47)break;return"/*"+lf(e,er-1)+"*"+Tg(t===47?t:gr())}function Die(t){for(;!Fu(Di());)gr();return lf(t,er)}function Mie(t){return _$(rh("",null,null,null,[""],t=j$(t),0,[0],t))}function rh(t,e,n,r,i,o,s,a,l){for(var c=0,u=0,f=s,d=0,p=0,g=0,m=1,v=1,O=1,x=0,y="",S=i,b=o,w=r,C=y;v;)switch(g=x,x=gr()){case 40:if(g!=108&&pn(C,f-1)==58){dx(C+=dt(nh(x),"&","&\f"),"&\f")!=-1&&(O=-1);break}case 34:case 39:case 91:C+=nh(x);break;case 9:case 10:case 13:case 32:C+=jie(g);break;case 92:C+=_ie(th()-1,7);continue;case 47:switch(Di()){case 42:case 47:md(Nie(Rie(gr(),th()),e,n),l);break;default:C+="/"}break;case 123*m:a[c++]=yi(C)*O;case 125*m:case 59:case 0:switch(x){case 0:case 125:v=0;case 59+u:p>0&&yi(C)-f&&md(p>32?Yk(C+";",r,n,f-1):Yk(dt(C," ","")+";",r,n,f-2),l);break;case 59:C+=";";default:if(md(w=Uk(C,e,n,c,u,i,a,y,S=[],b=[],f),o),x===123)if(u===0)rh(C,e,w,w,S,o,f,a,b);else switch(d===99&&pn(C,3)===110?100:d){case 100:case 109:case 115:rh(t,w,w,r&&md(Uk(t,w,w,0,0,i,a,y,i,S=[],f),b),i,b,f,a,r?S:b);break;default:rh(C,w,w,w,[""],b,0,a,b)}}c=u=p=0,m=O=1,y=C="",f=s;break;case 58:f=1+yi(C),p=g;default:if(m<1){if(x==123)--m;else if(x==125&&m++==0&&$ie()==125)continue}switch(C+=Tg(x),x*m){case 38:O=u>0?1:(C+="\f",-1);break;case 44:a[c++]=(yi(C)-1)*O,O=1;break;case 64:Di()===45&&(C+=nh(gr())),d=Di(),u=f=yi(y=C+=Die(th())),x++;break;case 45:g===45&&yi(C)==2&&(m=0)}}return o}function Uk(t,e,n,r,i,o,s,a,l,c,u){for(var f=i-1,d=i===0?o:[""],p=$b(d),g=0,m=0,v=0;g<r;++g)for(var O=0,x=Lu(t,f+1,f=Pie(m=s[g])),y=t;O<p;++O)(y=T$(m>0?d[O]+" "+x:dt(x,/&\f/g,d[O])))&&(l[v++]=y);return jg(t,e,n,i===0?Ib:a,l,c,u)}function Nie(t,e,n){return jg(t,e,n,Eb,Tg(Tie()),Lu(t,2,-2),0)}function Yk(t,e,n,r){return jg(t,e,n,Tb,Lu(t,0,r),Lu(t,r+1,-1),r)}function cl(t,e){for(var n="",r=$b(t),i=0;i<r;i++)n+=e(t[i],i,t,e)||"";return n}function Bie(t,e,n,r){switch(t.type){case Cie:case Tb:return t.return=t.return||t.value;case Eb:return"";case I$:return t.return=t.value+"{"+cl(t.children,r)+"}";case Ib:t.value=t.props.join(",")}return yi(n=cl(t.children,r))?t.return=t.value+"{"+n+"}":""}function Qie(t){var e=$b(t);return function(n,r,i,o){for(var s="",a=0;a<e;a++)s+=t[a](n,r,i,o)||"";return s}}function Lie(t){return function(e){e.root||(e=e.return)&&t(e)}}function Fie(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var Vie=function(e,n,r){for(var i=0,o=0;i=o,o=Di(),i===38&&o===12&&(n[r]=1),!Fu(o);)gr();return lf(e,er)},zie=function(e,n){var r=-1,i=44;do switch(Fu(i)){case 0:i===38&&Di()===12&&(n[r]=1),e[r]+=Vie(er-1,n,r);break;case 2:e[r]+=nh(i);break;case 4:if(i===44){e[++r]=Di()===58?"&\f":"",n[r]=e[r].length;break}default:e[r]+=Tg(i)}while(i=gr());return e},Wie=function(e,n){return _$(zie(j$(e),n))},Hk=new WeakMap,Zie=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var n=e.value,r=e.parent,i=e.column===r.column&&e.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(e.props.length===1&&n.charCodeAt(0)!==58&&!Hk.get(r))&&!i){Hk.set(e,!0);for(var o=[],s=Wie(n,o),a=r.props,l=0,c=0;l<s.length;l++)for(var u=0;u<a.length;u++,c++)e.props[c]=o[l]?s[l].replace(/&\f/g,a[u]):a[u]+" "+s[l]}}},Xie=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}},Gie="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",Uie=function(e){return e.type==="comm"&&e.children.indexOf(Gie)>-1},Yie=function(e){return function(n,r,i){if(!(n.type!=="rule"||e.compat)){var o=n.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var s=n.parent===i[0],a=s?i[0].children:i,l=a.length-1;l>=0;l--){var c=a[l];if(c.line<n.line)break;if(c.column<n.column){if(Uie(c))return;break}}o.forEach(function(u){console.error('The pseudo class "'+u+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+u.split("-child")[0]+'-of-type".')})}}}},R$=function(e){return e.type.charCodeAt(1)===105&&e.type.charCodeAt(0)===64},Hie=function(e,n){for(var r=e-1;r>=0;r--)if(!R$(n[r]))return!0;return!1},qk=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},qie=function(e,n,r){R$(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),qk(e)):Hie(n,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),qk(e)))};function D$(t,e){switch(kie(t,e)){case 5103:return it+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return it+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return it+t+Sp+t+bn+t+t;case 6828:case 4268:return it+t+bn+t+t;case 6165:return it+t+bn+"flex-"+t+t;case 5187:return it+t+dt(t,/(\w+).+(:[^]+)/,it+"box-$1$2"+bn+"flex-$1$2")+t;case 5443:return it+t+bn+"flex-item-"+dt(t,/flex-|-self/,"")+t;case 4675:return it+t+bn+"flex-line-pack"+dt(t,/align-content|flex-|-self/,"")+t;case 5548:return it+t+bn+dt(t,"shrink","negative")+t;case 5292:return it+t+bn+dt(t,"basis","preferred-size")+t;case 6060:return it+"box-"+dt(t,"-grow","")+it+t+bn+dt(t,"grow","positive")+t;case 4554:return it+dt(t,/([^-])(transform)/g,"$1"+it+"$2")+t;case 6187:return dt(dt(dt(t,/(zoom-|grab)/,it+"$1"),/(image-set)/,it+"$1"),t,"")+t;case 5495:case 3959:return dt(t,/(image-set\([^]*)/,it+"$1$`$1");case 4968:return dt(dt(t,/(.+:)(flex-)?(.*)/,it+"box-pack:$3"+bn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+it+t+t;case 4095:case 3583:case 4068:case 2532:return dt(t,/(.+)-inline(.+)/,it+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(yi(t)-1-e>6)switch(pn(t,e+1)){case 109:if(pn(t,e+4)!==45)break;case 102:return dt(t,/(.+:)(.+)-([^]+)/,"$1"+it+"$2-$3$1"+Sp+(pn(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~dx(t,"stretch")?D$(dt(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(pn(t,e+1)!==115)break;case 6444:switch(pn(t,yi(t)-3-(~dx(t,"!important")&&10))){case 107:return dt(t,":",":"+it)+t;case 101:return dt(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+it+(pn(t,14)===45?"inline-":"")+"box$3$1"+it+"$2$3$1"+bn+"$2box$3")+t}break;case 5936:switch(pn(t,e+11)){case 114:return it+t+bn+dt(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return it+t+bn+dt(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return it+t+bn+dt(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return it+t+bn+t+t}return t}var Jie=function(e,n,r,i){if(e.length>-1&&!e.return)switch(e.type){case Tb:e.return=D$(e.value,e.length);break;case I$:return cl([Ac(e,{value:dt(e.value,"@","@"+it)})],i);case Ib:if(e.length)return Iie(e.props,function(o){switch(Eie(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return cl([Ac(e,{props:[dt(o,/:(read-\w+)/,":"+Sp+"$1")]})],i);case"::placeholder":return cl([Ac(e,{props:[dt(o,/:(plac\w+)/,":"+it+"input-$1")]}),Ac(e,{props:[dt(o,/:(plac\w+)/,":"+Sp+"$1")]}),Ac(e,{props:[dt(o,/:(plac\w+)/,bn+"input-$1")]})],i)}return""})}},Kie=[Jie],eoe=function(e){var n=e.key;if(process.env.NODE_ENV!=="production"&&!n)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
322
322
  If multiple caches share the same key they might "fight" for each other's style elements.`);if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(m){var v=m.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var i=e.stylisPlugins||Kie;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(n))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+n+'" was passed');var o={},s,a=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(m){for(var v=m.getAttribute("data-emotion").split(" "),O=1;O<v.length;O++)o[v[O]]=!0;a.push(m)});var l,c=[Zie,Xie];process.env.NODE_ENV!=="production"&&c.push(Yie({get compat(){return g.compat}}),qie);{var u,f=[Bie,process.env.NODE_ENV!=="production"?function(m){m.root||(m.return?u.insert(m.return):m.value&&m.type!==Eb&&u.insert(m.value+"{}"))}:Lie(function(m){u.insert(m)})],d=Qie(c.concat(i,f)),p=function(v){return cl(Mie(v),d)};l=function(v,O,x,y){u=x,process.env.NODE_ENV!=="production"&&O.map!==void 0&&(u={insert:function(b){x.insert(b+O.map)}}),p(v?v+"{"+O.styles+"}":O.styles),y&&(g.inserted[O.name]=!0)}}var g={key:n,sheet:new wie({key:n,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:l};return g.sheet.hydrate(a),g},toe=!0;function M$(t,e,n){var r="";return n.split(" ").forEach(function(i){t[i]!==void 0?e.push(t[i]+";"):r+=i+" "}),r}var jb=function(e,n,r){var i=e.key+"-"+n.name;(r===!1||toe===!1)&&e.registered[i]===void 0&&(e.registered[i]=n.styles)},_b=function(e,n,r){jb(e,n,r);var i=e.key+"-"+n.name;if(e.inserted[n.name]===void 0){var o=n;do e.insert(n===o?"."+i:"",o,e.sheet,!0),o=o.next;while(o!==void 0)}};function noe(t){for(var e=0,n,r=0,i=t.length;i>=4;++r,i-=4)n=t.charCodeAt(r)&255|(t.charCodeAt(++r)&255)<<8|(t.charCodeAt(++r)&255)<<16|(t.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(r+2)&255)<<16;case 2:e^=(t.charCodeAt(r+1)&255)<<8;case 1:e^=t.charCodeAt(r)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var roe={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Jk=`You have illegal escape sequence in your template literal, most likely inside content's property value.
323
323
  Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-Cn6jRGh8.js");async function v(i,l){const t=e.sep(),a=await e.resolve(i),c=await e.resolve(l),r=a.replace(new RegExp(`^${t}+`),"").split(t).filter(Boolean),n=c.replace(new RegExp(`^${t}+`),"").split(t).filter(Boolean),p=Math.min(r.length,n.length);let s=0;for(let o=0;o<p&&r[o]===n[o];o++)s++;const f=r.slice(s).map(()=>".."),g=n.slice(s);return[...f,...g].join(t)}exports.isAbsolute=e.isAbsolute;exports.join=e.join;exports.resolve=e.resolve;exports.relative=v;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-jBExqcea.js");async function v(i,l){const t=e.sep(),a=await e.resolve(i),c=await e.resolve(l),r=a.replace(new RegExp(`^${t}+`),"").split(t).filter(Boolean),n=c.replace(new RegExp(`^${t}+`),"").split(t).filter(Boolean),p=Math.min(r.length,n.length);let s=0;for(let o=0;o<p&&r[o]===n[o];o++)s++;const f=r.slice(s).map(()=>".."),g=n.slice(s);return[...f,...g].join(t)}exports.isAbsolute=e.isAbsolute;exports.join=e.join;exports.resolve=e.resolve;exports.relative=v;
@@ -1,5 +1,5 @@
1
- import { s as h, r } from "./replay-index-aHfNWMGH.js";
2
- import { i as j, j as u } from "./replay-index-aHfNWMGH.js";
1
+ import { s as h, r } from "./replay-index-CUSJCnK_.js";
2
+ import { i as j, j as u } from "./replay-index-CUSJCnK_.js";
3
3
  async function x(s, i) {
4
4
  const t = h(), l = await r(s), c = await r(i), o = l.replace(new RegExp(`^${t}+`), "").split(t).filter(Boolean), a = c.replace(new RegExp(`^${t}+`), "").split(t).filter(Boolean), p = Math.min(o.length, a.length);
5
5
  let n = 0;
package/dist/replay.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-Cn6jRGh8.js");exports.EmbeddedReplay=e.EmbeddedReplay;exports.Modal=e.Modal;exports.Replay=e.Replay;exports.ReplayOverlay=e.ReplayOverlay;exports.utils=e.utils;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-jBExqcea.js");exports.EmbeddedReplay=e.EmbeddedReplay;exports.Modal=e.Modal;exports.Replay=e.Replay;exports.ReplayOverlay=e.ReplayOverlay;exports.utils=e.utils;
package/dist/replay.js CHANGED
@@ -1,4 +1,4 @@
1
- import { E as l, M as s, a as d, R as p, u as y } from "./replay-index-aHfNWMGH.js";
1
+ import { E as l, M as s, a as d, R as p, u as y } from "./replay-index-CUSJCnK_.js";
2
2
  export {
3
3
  l as EmbeddedReplay,
4
4
  s as Modal,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/replay",
3
- "version": "0.15.0-next.13",
3
+ "version": "0.15.0-next.14",
4
4
  "type": "module",
5
5
  "main": "./dist/replay.cjs",
6
6
  "module": "./dist/replay.js",
@@ -19,7 +19,7 @@
19
19
  "react-dom": "^19.1.0",
20
20
  "react-router-dom": "^6.21.1",
21
21
  "styled-components": "^5.3.11",
22
- "@redocly/theme": "0.56.0-next.10"
22
+ "@redocly/theme": "0.56.0-next.11"
23
23
  },
24
24
  "dependencies": {
25
25
  "@codemirror/autocomplete": "^6.15.0",