@dev-blinq/ui-systems 1.0.99 → 1.0.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.mjs +0 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -454,7 +454,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
454
454
|
text-overflow: ellipsis;
|
|
455
455
|
padding-left: 10px;
|
|
456
456
|
padding-right: 10px;
|
|
457
|
-
`,Y1=({onClick:e,params:t,handleUpdateParam:n,ParamErrors:r,removeParameter:a,dataSet:i,disabledEdit:l})=>E.jsxs(L.Box,{width:"100%",display:"flex",flexDirection:"column",p:1,children:[i&&E.jsx(L.Box,{mb:3,mt:2,children:E.jsx(go,{noInlineAction:!0,addOptionLabel:"Add Data Set",showDeleteIcon:!l,showAddOption:!l,width:"200px",...i})}),E.jsx(W1,{children:t.map((s,u)=>E.jsx(E.Fragment,{children:E.jsx(q1,{index:u,...s,disabled:l||s.disabled,onChangeValue:n,ParamErrors:r,onDelete:a})},u))}),E.jsx(ho,{variant:"outlined",sx:{my:2},startIcon:E.jsx(Pi,{}),fullWidth:!0,onClick:e,disabled:l,children:"Add Parameter"})]}),q1=e=>{const{keyName:t,onChangeValue:n,index:r,error:a,value:i,onDelete:l,mask:s,disabled:u,ParamErrors:o}=e,c=J.useRef(null),[x,f]=J.useState(!1);J.useEffect(()=>{var y;(y=c.current)==null||y.scrollIntoView({behavior:"smooth",block:"nearest"})},[]);const g=()=>{f(!x)},h=J.useRef(null),d=J.useRef(null);return E.jsxs(L.Box,{ref:c,display:"flex",width:"100%",flexDirection:"column",children:[E.jsxs(L.Grid2,{sx:{flexGrow:1},container:!0,spacing:1,children:[E.jsx(L.Grid2,{size:5.4,children:E.jsx(Kt,{ref:h,value:t,onChange:y=>n==null?void 0:n(r,y.target.value,i||""),size:"small",noBorder:!0,error:a,placeholder:"parameter_key",disabled:u})}),E.jsx(L.Grid2,{size:5.4,children:E.jsx(Kt,{ref:d,value:i,size:"small",type:s&&!x?"password":"text",onChange:y=>n==null?void 0:n(r,t,y.target.value,s),noBorder:!0,placeholder:"parameter_value",endIcon:s?x?E.jsx(Ri,{onClick:g,size:12}):E.jsx(_i,{onClick:g,size:12}):"",disabled:u})}),E.jsx(L.Grid2,{size:1.2,children:E.jsx(L.Box,{ml:1,mt:1,display:"flex",justifyContent:"start",alignItems:"end",children:E.jsx(Ii,{onClick:()=>!u&&(l==null?void 0:l(r)),size:18,color:u?"var(--color-grey-50)":"var(--color-error-100)"})})})]}),a&&E.jsx(be,{weight:"medium",value:"Parameter is not used in the scenario",color:"var(--color-error-100)",mt:.5}),o&&E.jsx(o,{index:r})]})},mo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",yo="ARRAYBUFFER not supported by this environment",Co="UINT8ARRAY not supported by this environment";function Ra(e,t,n,r){let a,i,l;const s=t||[0],u=(n=n||0)>>>3,o=r===-1?3:0;for(a=0;a<e.length;a+=1)l=a+u,i=l>>>2,s.length<=i&&s.push(0),s[i]|=e[a]<<8*(o+r*(l%4));return{value:s,binLen:8*e.length+n}}function Vt(e,t,n){switch(t){case"UTF8":case"UTF16BE":case"UTF16LE":break;default:throw new Error("encoding must be UTF8, UTF16BE, or UTF16LE")}switch(e){case"HEX":return function(r,a,i){return function(l,s,u,o){let c,x,f,g;if(l.length%2!=0)throw new Error("String of HEX type must be in byte increments");const h=s||[0],d=(u=u||0)>>>3,y=o===-1?3:0;for(c=0;c<l.length;c+=2){if(x=parseInt(l.substr(c,2),16),isNaN(x))throw new Error("String of HEX type contains invalid characters");for(g=(c>>>1)+d,f=g>>>2;h.length<=f;)h.push(0);h[f]|=x<<8*(y+o*(g%4))}return{value:h,binLen:4*l.length+u}}(r,a,i,n)};case"TEXT":return function(r,a,i){return function(l,s,u,o,c){let x,f,g,h,d,y,b,m,v=0;const C=u||[0],A=(o=o||0)>>>3;if(s==="UTF8")for(b=c===-1?3:0,g=0;g<l.length;g+=1)for(x=l.charCodeAt(g),f=[],128>x?f.push(x):2048>x?(f.push(192|x>>>6),f.push(128|63&x)):55296>x||57344<=x?f.push(224|x>>>12,128|x>>>6&63,128|63&x):(g+=1,x=65536+((1023&x)<<10|1023&l.charCodeAt(g)),f.push(240|x>>>18,128|x>>>12&63,128|x>>>6&63,128|63&x)),h=0;h<f.length;h+=1){for(y=v+A,d=y>>>2;C.length<=d;)C.push(0);C[d]|=f[h]<<8*(b+c*(y%4)),v+=1}else for(b=c===-1?2:0,m=s==="UTF16LE"&&c!==1||s!=="UTF16LE"&&c===1,g=0;g<l.length;g+=1){for(x=l.charCodeAt(g),m===!0&&(h=255&x,x=h<<8|x>>>8),y=v+A,d=y>>>2;C.length<=d;)C.push(0);C[d]|=x<<8*(b+c*(y%4)),v+=2}return{value:C,binLen:8*v+o}}(r,t,a,i,n)};case"B64":return function(r,a,i){return function(l,s,u,o){let c,x,f,g,h,d,y,b=0;const m=s||[0],v=(u=u||0)>>>3,C=o===-1?3:0,A=l.indexOf("=");if(l.search(/^[a-zA-Z0-9=+/]+$/)===-1)throw new Error("Invalid character in base-64 string");if(l=l.replace(/=/g,""),A!==-1&&A<l.length)throw new Error("Invalid '=' found in base-64 string");for(x=0;x<l.length;x+=4){for(h=l.substr(x,4),g=0,f=0;f<h.length;f+=1)c=mo.indexOf(h.charAt(f)),g|=c<<18-6*f;for(f=0;f<h.length-1;f+=1){for(y=b+v,d=y>>>2;m.length<=d;)m.push(0);m[d]|=(g>>>16-8*f&255)<<8*(C+o*(y%4)),b+=1}}return{value:m,binLen:8*b+u}}(r,a,i,n)};case"BYTES":return function(r,a,i){return function(l,s,u,o){let c,x,f,g;const h=s||[0],d=(u=u||0)>>>3,y=o===-1?3:0;for(x=0;x<l.length;x+=1)c=l.charCodeAt(x),g=x+d,f=g>>>2,h.length<=f&&h.push(0),h[f]|=c<<8*(y+o*(g%4));return{value:h,binLen:8*l.length+u}}(r,a,i,n)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error(yo)}return function(r,a,i){return function(l,s,u,o){return Ra(new Uint8Array(l),s,u,o)}(r,a,i,n)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error(Co)}return function(r,a,i){return Ra(r,a,i,n)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function Pa(e,t,n,r){switch(e){case"HEX":return function(a){return function(i,l,s,u){const o="0123456789abcdef";let c,x,f="";const g=l/8,h=s===-1?3:0;for(c=0;c<g;c+=1)x=i[c>>>2]>>>8*(h+s*(c%4)),f+=o.charAt(x>>>4&15)+o.charAt(15&x);return u.outputUpper?f.toUpperCase():f}(a,t,n,r)};case"B64":return function(a){return function(i,l,s,u){let o,c,x,f,g,h="";const d=l/8,y=s===-1?3:0;for(o=0;o<d;o+=3)for(f=o+1<d?i[o+1>>>2]:0,g=o+2<d?i[o+2>>>2]:0,x=(i[o>>>2]>>>8*(y+s*(o%4))&255)<<16|(f>>>8*(y+s*((o+1)%4))&255)<<8|g>>>8*(y+s*((o+2)%4))&255,c=0;c<4;c+=1)h+=8*o+6*c<=l?mo.charAt(x>>>6*(3-c)&63):u.b64Pad;return h}(a,t,n,r)};case"BYTES":return function(a){return function(i,l,s){let u,o,c="";const x=l/8,f=s===-1?3:0;for(u=0;u<x;u+=1)o=i[u>>>2]>>>8*(f+s*(u%4))&255,c+=String.fromCharCode(o);return c}(a,t,n)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error(yo)}return function(a){return function(i,l,s){let u;const o=l/8,c=new ArrayBuffer(o),x=new Uint8Array(c),f=s===-1?3:0;for(u=0;u<o;u+=1)x[u]=i[u>>>2]>>>8*(f+s*(u%4))&255;return c}(a,t,n)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error(Co)}return function(a){return function(i,l,s){let u;const o=l/8,c=s===-1?3:0,x=new Uint8Array(o);for(u=0;u<o;u+=1)x[u]=i[u>>>2]>>>8*(c+s*(u%4))&255;return x}(a,t,n)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}const Cr=4294967296,Y=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],ut=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428],ft=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],br="Chosen SHA variant is not supported",bo="Cannot set numRounds with MAC";function Gr(e,t){let n,r;const a=e.binLen>>>3,i=t.binLen>>>3,l=a<<3,s=4-a<<3;if(a%4!=0){for(n=0;n<i;n+=4)r=a+n>>>2,e.value[r]|=t.value[n>>>2]<<l,e.value.push(0),e.value[r+1]|=t.value[n>>>2]>>>s;return(e.value.length<<2)-4>=i+a&&e.value.pop(),{value:e.value,binLen:e.binLen+t.binLen}}return{value:e.value.concat(t.value),binLen:e.binLen+t.binLen}}function Ia(e){const t={outputUpper:!1,b64Pad:"=",outputLen:-1},n=e||{},r="Output length must be a multiple of 8";if(t.outputUpper=n.outputUpper||!1,n.b64Pad&&(t.b64Pad=n.b64Pad),n.outputLen){if(n.outputLen%8!=0)throw new Error(r);t.outputLen=n.outputLen}else if(n.shakeLen){if(n.shakeLen%8!=0)throw new Error(r);t.outputLen=n.shakeLen}if(typeof t.outputUpper!="boolean")throw new Error("Invalid outputUpper formatting option");if(typeof t.b64Pad!="string")throw new Error("Invalid b64Pad formatting option");return t}function mt(e,t,n,r){const a=e+" must include a value and format";if(!t){if(!r)throw new Error(a);return r}if(t.value===void 0||!t.format)throw new Error(a);return Vt(t.format,t.encoding||"UTF8",n)(t.value)}class ln{constructor(t,n,r){const a=r||{};if(this.t=n,this.i=a.encoding||"UTF8",this.numRounds=a.numRounds||1,isNaN(this.numRounds)||this.numRounds!==parseInt(this.numRounds,10)||1>this.numRounds)throw new Error("numRounds must a integer >= 1");this.o=t,this.h=[],this.u=0,this.l=!1,this.A=0,this.H=!1,this.S=[],this.p=[]}update(t){let n,r=0;const a=this.m>>>5,i=this.C(t,this.h,this.u),l=i.binLen,s=i.value,u=l>>>5;for(n=0;n<u;n+=a)r+this.m<=l&&(this.U=this.v(s.slice(n,n+a),this.U),r+=this.m);return this.A+=r,this.h=s.slice(r>>>5),this.u=l%this.m,this.l=!0,this}getHash(t,n){let r,a,i=this.R;const l=Ia(n);if(this.K){if(l.outputLen===-1)throw new Error("Output length must be specified in options");i=l.outputLen}const s=Pa(t,i,this.T,l);if(this.H&&this.g)return s(this.g(l));for(a=this.F(this.h.slice(),this.u,this.A,this.L(this.U),i),r=1;r<this.numRounds;r+=1)this.K&&i%32!=0&&(a[a.length-1]&=16777215>>>24-i%32),a=this.F(a,i,0,this.B(this.o),i);return s(a)}setHMACKey(t,n,r){if(!this.M)throw new Error("Variant does not support HMAC");if(this.l)throw new Error("Cannot set MAC key after calling update");const a=Vt(n,(r||{}).encoding||"UTF8",this.T);this.k(a(t))}k(t){const n=this.m>>>3,r=n/4-1;let a;if(this.numRounds!==1)throw new Error(bo);if(this.H)throw new Error("MAC key already set");for(n<t.binLen/8&&(t.value=this.F(t.value,t.binLen,0,this.B(this.o),this.R));t.value.length<=r;)t.value.push(0);for(a=0;a<=r;a+=1)this.S[a]=909522486^t.value[a],this.p[a]=1549556828^t.value[a];this.U=this.v(this.S,this.U),this.A=this.m,this.H=!0}getHMAC(t,n){const r=Ia(n);return Pa(t,this.R,this.T,r)(this.Y())}Y(){let t;if(!this.H)throw new Error("Cannot call getHMAC without first setting MAC key");const n=this.F(this.h.slice(),this.u,this.A,this.L(this.U),this.R);return t=this.v(this.p,this.B(this.o)),t=this.F(n,this.R,this.m,t,this.R),t}}function Ut(e,t){return e<<t|e>>>32-t}function ot(e,t){return e>>>t|e<<32-t}function Eo(e,t){return e>>>t}function Ma(e,t,n){return e^t^n}function Ao(e,t,n){return e&t^~e&n}function So(e,t,n){return e&t^e&n^t&n}function X1(e){return ot(e,2)^ot(e,13)^ot(e,22)}function Ne(e,t){const n=(65535&e)+(65535&t);return(65535&(e>>>16)+(t>>>16)+(n>>>16))<<16|65535&n}function Z1(e,t,n,r){const a=(65535&e)+(65535&t)+(65535&n)+(65535&r);return(65535&(e>>>16)+(t>>>16)+(n>>>16)+(r>>>16)+(a>>>16))<<16|65535&a}function ur(e,t,n,r,a){const i=(65535&e)+(65535&t)+(65535&n)+(65535&r)+(65535&a);return(65535&(e>>>16)+(t>>>16)+(n>>>16)+(r>>>16)+(a>>>16)+(i>>>16))<<16|65535&i}function J1(e){return ot(e,7)^ot(e,18)^Eo(e,3)}function Q1(e){return ot(e,6)^ot(e,11)^ot(e,25)}function ef(e){return[1732584193,4023233417,2562383102,271733878,3285377520]}function Bo(e,t){let n,r,a,i,l,s,u;const o=[];for(n=t[0],r=t[1],a=t[2],i=t[3],l=t[4],u=0;u<80;u+=1)o[u]=u<16?e[u]:Ut(o[u-3]^o[u-8]^o[u-14]^o[u-16],1),s=u<20?ur(Ut(n,5),Ao(r,a,i),l,1518500249,o[u]):u<40?ur(Ut(n,5),Ma(r,a,i),l,1859775393,o[u]):u<60?ur(Ut(n,5),So(r,a,i),l,2400959708,o[u]):ur(Ut(n,5),Ma(r,a,i),l,3395469782,o[u]),l=i,i=a,a=Ut(r,30),r=n,n=s;return t[0]=Ne(n,t[0]),t[1]=Ne(r,t[1]),t[2]=Ne(a,t[2]),t[3]=Ne(i,t[3]),t[4]=Ne(l,t[4]),t}function tf(e,t,n,r){let a;const i=15+(t+65>>>9<<4),l=t+n;for(;e.length<=i;)e.push(0);for(e[t>>>5]|=128<<24-t%32,e[i]=4294967295&l,e[i-1]=l/Cr|0,a=0;a<e.length;a+=16)r=Bo(e.slice(a,a+16),r);return r}let rf=class extends ln{constructor(e,t,n){if(e!=="SHA-1")throw new Error(br);super(e,t,n);const r=n||{};this.M=!0,this.g=this.Y,this.T=-1,this.C=Vt(this.t,this.i,this.T),this.v=Bo,this.L=function(a){return a.slice()},this.B=ef,this.F=tf,this.U=[1732584193,4023233417,2562383102,271733878,3285377520],this.m=512,this.R=160,this.K=!1,r.hmacKey&&this.k(mt("hmacKey",r.hmacKey,this.T))}};function Na(e){let t;return t=e=="SHA-224"?ut.slice():ft.slice(),t}function Oa(e,t){let n,r,a,i,l,s,u,o,c,x,f;const g=[];for(n=t[0],r=t[1],a=t[2],i=t[3],l=t[4],s=t[5],u=t[6],o=t[7],f=0;f<64;f+=1)g[f]=f<16?e[f]:Z1(ot(h=g[f-2],17)^ot(h,19)^Eo(h,10),g[f-7],J1(g[f-15]),g[f-16]),c=ur(o,Q1(l),Ao(l,s,u),Y[f],g[f]),x=Ne(X1(n),So(n,r,a)),o=u,u=s,s=l,l=Ne(i,c),i=a,a=r,r=n,n=Ne(c,x);var h;return t[0]=Ne(n,t[0]),t[1]=Ne(r,t[1]),t[2]=Ne(a,t[2]),t[3]=Ne(i,t[3]),t[4]=Ne(l,t[4]),t[5]=Ne(s,t[5]),t[6]=Ne(u,t[6]),t[7]=Ne(o,t[7]),t}let nf=class extends ln{constructor(e,t,n){if(e!=="SHA-224"&&e!=="SHA-256")throw new Error(br);super(e,t,n);const r=n||{};this.g=this.Y,this.M=!0,this.T=-1,this.C=Vt(this.t,this.i,this.T),this.v=Oa,this.L=function(a){return a.slice()},this.B=Na,this.F=function(a,i,l,s){return function(u,o,c,x,f){let g,h;const d=15+(o+65>>>9<<4),y=o+c;for(;u.length<=d;)u.push(0);for(u[o>>>5]|=128<<24-o%32,u[d]=4294967295&y,u[d-1]=y/Cr|0,g=0;g<u.length;g+=16)x=Oa(u.slice(g,g+16),x);return h=f==="SHA-224"?[x[0],x[1],x[2],x[3],x[4],x[5],x[6]]:x,h}(a,i,l,s,e)},this.U=Na(e),this.m=512,this.R=e==="SHA-224"?224:256,this.K=!1,r.hmacKey&&this.k(mt("hmacKey",r.hmacKey,this.T))}};class P{constructor(t,n){this.N=t,this.I=n}}function ja(e,t){let n;return t>32?(n=64-t,new P(e.I<<t|e.N>>>n,e.N<<t|e.I>>>n)):t!==0?(n=32-t,new P(e.N<<t|e.I>>>n,e.I<<t|e.N>>>n)):e}function st(e,t){let n;return t<32?(n=32-t,new P(e.N>>>t|e.I<<n,e.I>>>t|e.N<<n)):(n=64-t,new P(e.I>>>t|e.N<<n,e.N>>>t|e.I<<n))}function wo(e,t){return new P(e.N>>>t,e.I>>>t|e.N<<32-t)}function af(e,t,n){return new P(e.N&t.N^e.N&n.N^t.N&n.N,e.I&t.I^e.I&n.I^t.I&n.I)}function of(e){const t=st(e,28),n=st(e,34),r=st(e,39);return new P(t.N^n.N^r.N,t.I^n.I^r.I)}function Je(e,t){let n,r;n=(65535&e.I)+(65535&t.I),r=(e.I>>>16)+(t.I>>>16)+(n>>>16);const a=(65535&r)<<16|65535&n;return n=(65535&e.N)+(65535&t.N)+(r>>>16),r=(e.N>>>16)+(t.N>>>16)+(n>>>16),new P((65535&r)<<16|65535&n,a)}function sf(e,t,n,r){let a,i;a=(65535&e.I)+(65535&t.I)+(65535&n.I)+(65535&r.I),i=(e.I>>>16)+(t.I>>>16)+(n.I>>>16)+(r.I>>>16)+(a>>>16);const l=(65535&i)<<16|65535&a;return a=(65535&e.N)+(65535&t.N)+(65535&n.N)+(65535&r.N)+(i>>>16),i=(e.N>>>16)+(t.N>>>16)+(n.N>>>16)+(r.N>>>16)+(a>>>16),new P((65535&i)<<16|65535&a,l)}function cf(e,t,n,r,a){let i,l;i=(65535&e.I)+(65535&t.I)+(65535&n.I)+(65535&r.I)+(65535&a.I),l=(e.I>>>16)+(t.I>>>16)+(n.I>>>16)+(r.I>>>16)+(a.I>>>16)+(i>>>16);const s=(65535&l)<<16|65535&i;return i=(65535&e.N)+(65535&t.N)+(65535&n.N)+(65535&r.N)+(65535&a.N)+(l>>>16),l=(e.N>>>16)+(t.N>>>16)+(n.N>>>16)+(r.N>>>16)+(a.N>>>16)+(i>>>16),new P((65535&l)<<16|65535&i,s)}function sr(e,t){return new P(e.N^t.N,e.I^t.I)}function lf(e){const t=st(e,19),n=st(e,61),r=wo(e,6);return new P(t.N^n.N^r.N,t.I^n.I^r.I)}function uf(e){const t=st(e,1),n=st(e,8),r=wo(e,7);return new P(t.N^n.N^r.N,t.I^n.I^r.I)}function ff(e){const t=st(e,14),n=st(e,18),r=st(e,41);return new P(t.N^n.N^r.N,t.I^n.I^r.I)}const df=[new P(Y[0],3609767458),new P(Y[1],602891725),new P(Y[2],3964484399),new P(Y[3],2173295548),new P(Y[4],4081628472),new P(Y[5],3053834265),new P(Y[6],2937671579),new P(Y[7],3664609560),new P(Y[8],2734883394),new P(Y[9],1164996542),new P(Y[10],1323610764),new P(Y[11],3590304994),new P(Y[12],4068182383),new P(Y[13],991336113),new P(Y[14],633803317),new P(Y[15],3479774868),new P(Y[16],2666613458),new P(Y[17],944711139),new P(Y[18],2341262773),new P(Y[19],2007800933),new P(Y[20],1495990901),new P(Y[21],1856431235),new P(Y[22],3175218132),new P(Y[23],2198950837),new P(Y[24],3999719339),new P(Y[25],766784016),new P(Y[26],2566594879),new P(Y[27],3203337956),new P(Y[28],1034457026),new P(Y[29],2466948901),new P(Y[30],3758326383),new P(Y[31],168717936),new P(Y[32],1188179964),new P(Y[33],1546045734),new P(Y[34],1522805485),new P(Y[35],2643833823),new P(Y[36],2343527390),new P(Y[37],1014477480),new P(Y[38],1206759142),new P(Y[39],344077627),new P(Y[40],1290863460),new P(Y[41],3158454273),new P(Y[42],3505952657),new P(Y[43],106217008),new P(Y[44],3606008344),new P(Y[45],1432725776),new P(Y[46],1467031594),new P(Y[47],851169720),new P(Y[48],3100823752),new P(Y[49],1363258195),new P(Y[50],3750685593),new P(Y[51],3785050280),new P(Y[52],3318307427),new P(Y[53],3812723403),new P(Y[54],2003034995),new P(Y[55],3602036899),new P(Y[56],1575990012),new P(Y[57],1125592928),new P(Y[58],2716904306),new P(Y[59],442776044),new P(Y[60],593698344),new P(Y[61],3733110249),new P(Y[62],2999351573),new P(Y[63],3815920427),new P(3391569614,3928383900),new P(3515267271,566280711),new P(3940187606,3454069534),new P(4118630271,4000239992),new P(116418474,1914138554),new P(174292421,2731055270),new P(289380356,3203993006),new P(460393269,320620315),new P(685471733,587496836),new P(852142971,1086792851),new P(1017036298,365543100),new P(1126000580,2618297676),new P(1288033470,3409855158),new P(1501505948,4234509866),new P(1607167915,987167468),new P(1816402316,1246189591)];function La(e){return e==="SHA-384"?[new P(3418070365,ut[0]),new P(1654270250,ut[1]),new P(2438529370,ut[2]),new P(355462360,ut[3]),new P(1731405415,ut[4]),new P(41048885895,ut[5]),new P(3675008525,ut[6]),new P(1203062813,ut[7])]:[new P(ft[0],4089235720),new P(ft[1],2227873595),new P(ft[2],4271175723),new P(ft[3],1595750129),new P(ft[4],2917565137),new P(ft[5],725511199),new P(ft[6],4215389547),new P(ft[7],327033209)]}function $a(e,t){let n,r,a,i,l,s,u,o,c,x,f,g;const h=[];for(n=t[0],r=t[1],a=t[2],i=t[3],l=t[4],s=t[5],u=t[6],o=t[7],f=0;f<80;f+=1)f<16?(g=2*f,h[f]=new P(e[g],e[g+1])):h[f]=sf(lf(h[f-2]),h[f-7],uf(h[f-15]),h[f-16]),c=cf(o,ff(l),(y=s,b=u,new P((d=l).N&y.N^~d.N&b.N,d.I&y.I^~d.I&b.I)),df[f],h[f]),x=Je(of(n),af(n,r,a)),o=u,u=s,s=l,l=Je(i,c),i=a,a=r,r=n,n=Je(c,x);var d,y,b;return t[0]=Je(n,t[0]),t[1]=Je(r,t[1]),t[2]=Je(a,t[2]),t[3]=Je(i,t[3]),t[4]=Je(l,t[4]),t[5]=Je(s,t[5]),t[6]=Je(u,t[6]),t[7]=Je(o,t[7]),t}let xf=class extends ln{constructor(e,t,n){if(e!=="SHA-384"&&e!=="SHA-512")throw new Error(br);super(e,t,n);const r=n||{};this.g=this.Y,this.M=!0,this.T=-1,this.C=Vt(this.t,this.i,this.T),this.v=$a,this.L=function(a){return a.slice()},this.B=La,this.F=function(a,i,l,s){return function(u,o,c,x,f){let g,h;const d=31+(o+129>>>10<<5),y=o+c;for(;u.length<=d;)u.push(0);for(u[o>>>5]|=128<<24-o%32,u[d]=4294967295&y,u[d-1]=y/Cr|0,g=0;g<u.length;g+=32)x=$a(u.slice(g,g+32),x);return h=f==="SHA-384"?[x[0].N,x[0].I,x[1].N,x[1].I,x[2].N,x[2].I,x[3].N,x[3].I,x[4].N,x[4].I,x[5].N,x[5].I]:[x[0].N,x[0].I,x[1].N,x[1].I,x[2].N,x[2].I,x[3].N,x[3].I,x[4].N,x[4].I,x[5].N,x[5].I,x[6].N,x[6].I,x[7].N,x[7].I],h}(a,i,l,s,e)},this.U=La(e),this.m=1024,this.R=e==="SHA-384"?384:512,this.K=!1,r.hmacKey&&this.k(mt("hmacKey",r.hmacKey,this.T))}};const pf=[new P(0,1),new P(0,32898),new P(2147483648,32906),new P(2147483648,2147516416),new P(0,32907),new P(0,2147483649),new P(2147483648,2147516545),new P(2147483648,32777),new P(0,138),new P(0,136),new P(0,2147516425),new P(0,2147483658),new P(0,2147516555),new P(2147483648,139),new P(2147483648,32905),new P(2147483648,32771),new P(2147483648,32770),new P(2147483648,128),new P(0,32778),new P(2147483648,2147483658),new P(2147483648,2147516545),new P(2147483648,32896),new P(0,2147483649),new P(2147483648,2147516424)],hf=[[0,36,3,41,18],[1,44,10,45,2],[62,6,43,15,61],[28,55,25,21,56],[27,20,39,8,14]];function E0(e){let t;const n=[];for(t=0;t<5;t+=1)n[t]=[new P(0,0),new P(0,0),new P(0,0),new P(0,0),new P(0,0)];return n}function gf(e){let t;const n=[];for(t=0;t<5;t+=1)n[t]=e[t].slice();return n}function Mr(e,t){let n,r,a,i;const l=[],s=[];if(e!==null)for(r=0;r<e.length;r+=2)t[(r>>>1)%5][(r>>>1)/5|0]=sr(t[(r>>>1)%5][(r>>>1)/5|0],new P(e[r+1],e[r]));for(n=0;n<24;n+=1){for(i=E0(),r=0;r<5;r+=1)l[r]=(u=t[r][0],o=t[r][1],c=t[r][2],x=t[r][3],f=t[r][4],new P(u.N^o.N^c.N^x.N^f.N,u.I^o.I^c.I^x.I^f.I));for(r=0;r<5;r+=1)s[r]=sr(l[(r+4)%5],ja(l[(r+1)%5],1));for(r=0;r<5;r+=1)for(a=0;a<5;a+=1)t[r][a]=sr(t[r][a],s[r]);for(r=0;r<5;r+=1)for(a=0;a<5;a+=1)i[a][(2*r+3*a)%5]=ja(t[r][a],hf[r][a]);for(r=0;r<5;r+=1)for(a=0;a<5;a+=1)t[r][a]=sr(i[r][a],new P(~i[(r+1)%5][a].N&i[(r+2)%5][a].N,~i[(r+1)%5][a].I&i[(r+2)%5][a].I));t[0][0]=sr(t[0][0],pf[n])}var u,o,c,x,f;return t}function Do(e){let t,n,r=0;const a=[0,0],i=[4294967295&e,e/Cr&2097151];for(t=6;t>=0;t--)n=i[t>>2]>>>8*t&255,n===0&&r===0||(a[r+1>>2]|=n<<8*(r+1),r+=1);return r=r!==0?r:1,a[0]|=r,{value:r+1>4?a:[a[0]],binLen:8+8*r}}function Tn(e){return Gr(Do(e.binLen),e)}function Ua(e,t){let n,r=Do(t);r=Gr(r,e);const a=t>>>2,i=(a-r.value.length%a)%a;for(n=0;n<i;n++)r.value.push(0);return r.value}let vf=class extends ln{constructor(e,t,n){let r=6,a=0;super(e,t,n);const i=n||{};if(this.numRounds!==1){if(i.kmacKey||i.hmacKey)throw new Error(bo);if(this.o==="CSHAKE128"||this.o==="CSHAKE256")throw new Error("Cannot set numRounds for CSHAKE variants")}switch(this.T=1,this.C=Vt(this.t,this.i,this.T),this.v=Mr,this.L=gf,this.B=E0,this.U=E0(),this.K=!1,e){case"SHA3-224":this.m=a=1152,this.R=224,this.M=!0,this.g=this.Y;break;case"SHA3-256":this.m=a=1088,this.R=256,this.M=!0,this.g=this.Y;break;case"SHA3-384":this.m=a=832,this.R=384,this.M=!0,this.g=this.Y;break;case"SHA3-512":this.m=a=576,this.R=512,this.M=!0,this.g=this.Y;break;case"SHAKE128":r=31,this.m=a=1344,this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"SHAKE256":r=31,this.m=a=1088,this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"KMAC128":r=4,this.m=a=1344,this.X(n),this.R=-1,this.K=!0,this.M=!1,this.g=this._;break;case"KMAC256":r=4,this.m=a=1088,this.X(n),this.R=-1,this.K=!0,this.M=!1,this.g=this._;break;case"CSHAKE128":this.m=a=1344,r=this.O(n),this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"CSHAKE256":this.m=a=1088,r=this.O(n),this.R=-1,this.K=!0,this.M=!1,this.g=null;break;default:throw new Error(br)}this.F=function(l,s,u,o,c){return function(x,f,g,h,d,y,b){let m,v,C=0;const A=[],D=d>>>5,w=f>>>5;for(m=0;m<w&&f>=d;m+=D)h=Mr(x.slice(m,m+D),h),f-=d;for(x=x.slice(m),f%=d;x.length<D;)x.push(0);for(m=f>>>3,x[m>>2]^=y<<m%4*8,x[D-1]^=2147483648,h=Mr(x,h);32*A.length<b&&(v=h[C%5][C/5|0],A.push(v.I),!(32*A.length>=b));)A.push(v.N),C+=1,64*C%d==0&&(Mr(null,h),C=0);return A}(l,s,0,o,a,r,c)},i.hmacKey&&this.k(mt("hmacKey",i.hmacKey,this.T))}O(e,t){const n=function(a){const i=a||{};return{funcName:mt("funcName",i.funcName,1,{value:[],binLen:0}),customization:mt("Customization",i.customization,1,{value:[],binLen:0})}}(e||{});t&&(n.funcName=t);const r=Gr(Tn(n.funcName),Tn(n.customization));if(n.customization.binLen!==0||n.funcName.binLen!==0){const a=Ua(r,this.m>>>3);for(let i=0;i<a.length;i+=this.m>>>5)this.U=this.v(a.slice(i,i+(this.m>>>5)),this.U),this.A+=this.m;return 4}return 31}X(e){const t=function(r){const a=r||{};return{kmacKey:mt("kmacKey",a.kmacKey,1),funcName:{value:[1128353099],binLen:32},customization:mt("Customization",a.customization,1,{value:[],binLen:0})}}(e||{});this.O(e,t.funcName);const n=Ua(Tn(t.kmacKey),this.m>>>3);for(let r=0;r<n.length;r+=this.m>>>5)this.U=this.v(n.slice(r,r+(this.m>>>5)),this.U),this.A+=this.m;this.H=!0}_(e){const t=Gr({value:this.h.slice(),binLen:this.u},function(n){let r,a,i=0;const l=[0,0],s=[4294967295&n,n/Cr&2097151];for(r=6;r>=0;r--)a=s[r>>2]>>>8*r&255,a===0&&i===0||(l[i>>2]|=a<<8*i,i+=1);return i=i!==0?i:1,l[i>>2]|=i<<8*i,{value:i+1>4?l:[l[0]],binLen:8+8*i}}(e.outputLen));return this.F(t.value,t.binLen,this.A,this.L(this.U),e.outputLen)}};class mf{constructor(t,n,r){if(t=="SHA-1")this.P=new rf(t,n,r);else if(t=="SHA-224"||t=="SHA-256")this.P=new nf(t,n,r);else if(t=="SHA-384"||t=="SHA-512")this.P=new xf(t,n,r);else{if(t!="SHA3-224"&&t!="SHA3-256"&&t!="SHA3-384"&&t!="SHA3-512"&&t!="SHAKE128"&&t!="SHAKE256"&&t!="CSHAKE128"&&t!="CSHAKE256"&&t!="KMAC128"&&t!="KMAC256")throw new Error(br);this.P=new vf(t,n,r)}}update(t){return this.P.update(t),this}getHash(t,n){return this.P.getHash(t,n)}setHMACKey(t,n,r){this.P.setHMACKey(t,n,r)}getHMAC(t,n){return this.P.getHMAC(t,n)}}class yf{static generate(t,n){const r={digits:6,algorithm:"SHA-1",period:30,timestamp:Date.now(),...n},a=Math.floor(r.timestamp/1e3),i=this.leftpad(this.dec2hex(Math.floor(a/r.period)),16,"0"),l=new mf(r.algorithm,"HEX");l.setHMACKey(this.base32tohex(t),"HEX"),l.update(i);const s=l.getHMAC("HEX"),u=this.hex2dec(s.substring(s.length-1));let o=(this.hex2dec(s.substr(u*2,8))&this.hex2dec("7fffffff"))+"";const c=Math.max(o.length-r.digits,0);o=o.substring(c,c+r.digits);const x=Math.ceil((r.timestamp+1)/(r.period*1e3))*r.period*1e3;return{otp:o,expires:x}}static hex2dec(t){return parseInt(t,16)}static dec2hex(t){return(t<15.5?"0":"")+Math.round(t).toString(16)}static base32tohex(t){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";let r="",a="";const i=t.replace(/=+$/,"");for(let l=0;l<i.length;l++){const s=n.indexOf(t.charAt(l).toUpperCase());if(s===-1)throw new Error("Invalid base32 character in key");r+=this.leftpad(s.toString(2),5,"0")}for(let l=0;l+8<=r.length;l+=8){const s=r.substr(l,8);a=a+this.leftpad(parseInt(s,2).toString(16),2,"0")}return a}static leftpad(t,n,r){return n+1>=t.length&&(t=Array(n+1-t.length).join(r)+t),t}}var Fo={exports:{}};function Cf(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var _n={exports:{}};const bf={},Ef=Object.freeze(Object.defineProperty({__proto__:null,default:bf},Symbol.toStringTag,{value:"Module"})),Af=Yo(Ef);var Ha;function se(){return Ha||(Ha=1,function(e,t){(function(n,r){e.exports=r()})(ie,function(){var n=n||function(r,a){var i;if(typeof window<"u"&&window.crypto&&(i=window.crypto),typeof self<"u"&&self.crypto&&(i=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(i=globalThis.crypto),!i&&typeof window<"u"&&window.msCrypto&&(i=window.msCrypto),!i&&typeof ie<"u"&&ie.crypto&&(i=ie.crypto),!i&&typeof Cf=="function")try{i=Af}catch{}var l=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function m(){}return function(v){var C;return m.prototype=v,C=new m,m.prototype=null,C}}(),u={},o=u.lib={},c=o.Base=function(){return{extend:function(m){var v=s(this);return m&&v.mixIn(m),(!v.hasOwnProperty("init")||this.init===v.init)&&(v.init=function(){v.$super.init.apply(this,arguments)}),v.init.prototype=v,v.$super=this,v},create:function(){var m=this.extend();return m.init.apply(m,arguments),m},init:function(){},mixIn:function(m){for(var v in m)m.hasOwnProperty(v)&&(this[v]=m[v]);m.hasOwnProperty("toString")&&(this.toString=m.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),x=o.WordArray=c.extend({init:function(m,v){m=this.words=m||[],v!=a?this.sigBytes=v:this.sigBytes=m.length*4},toString:function(m){return(m||g).stringify(this)},concat:function(m){var v=this.words,C=m.words,A=this.sigBytes,D=m.sigBytes;if(this.clamp(),A%4)for(var w=0;w<D;w++){var _=C[w>>>2]>>>24-w%4*8&255;v[A+w>>>2]|=_<<24-(A+w)%4*8}else for(var N=0;N<D;N+=4)v[A+N>>>2]=C[N>>>2];return this.sigBytes+=D,this},clamp:function(){var m=this.words,v=this.sigBytes;m[v>>>2]&=4294967295<<32-v%4*8,m.length=r.ceil(v/4)},clone:function(){var m=c.clone.call(this);return m.words=this.words.slice(0),m},random:function(m){for(var v=[],C=0;C<m;C+=4)v.push(l());return new x.init(v,m)}}),f=u.enc={},g=f.Hex={stringify:function(m){for(var v=m.words,C=m.sigBytes,A=[],D=0;D<C;D++){var w=v[D>>>2]>>>24-D%4*8&255;A.push((w>>>4).toString(16)),A.push((w&15).toString(16))}return A.join("")},parse:function(m){for(var v=m.length,C=[],A=0;A<v;A+=2)C[A>>>3]|=parseInt(m.substr(A,2),16)<<24-A%8*4;return new x.init(C,v/2)}},h=f.Latin1={stringify:function(m){for(var v=m.words,C=m.sigBytes,A=[],D=0;D<C;D++){var w=v[D>>>2]>>>24-D%4*8&255;A.push(String.fromCharCode(w))}return A.join("")},parse:function(m){for(var v=m.length,C=[],A=0;A<v;A++)C[A>>>2]|=(m.charCodeAt(A)&255)<<24-A%4*8;return new x.init(C,v)}},d=f.Utf8={stringify:function(m){try{return decodeURIComponent(escape(h.stringify(m)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(m){return h.parse(unescape(encodeURIComponent(m)))}},y=o.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new x.init,this._nDataBytes=0},_append:function(m){typeof m=="string"&&(m=d.parse(m)),this._data.concat(m),this._nDataBytes+=m.sigBytes},_process:function(m){var v,C=this._data,A=C.words,D=C.sigBytes,w=this.blockSize,_=w*4,N=D/_;m?N=r.ceil(N):N=r.max((N|0)-this._minBufferSize,0);var p=N*w,B=r.min(p*4,D);if(p){for(var R=0;R<p;R+=w)this._doProcessBlock(A,R);v=A.splice(0,p),C.sigBytes-=B}return new x.init(v,B)},clone:function(){var m=c.clone.call(this);return m._data=this._data.clone(),m},_minBufferSize:0});o.Hasher=y.extend({cfg:c.extend(),init:function(m){this.cfg=this.cfg.extend(m),this.reset()},reset:function(){y.reset.call(this),this._doReset()},update:function(m){return this._append(m),this._process(),this},finalize:function(m){m&&this._append(m);var v=this._doFinalize();return v},blockSize:16,_createHelper:function(m){return function(v,C){return new m.init(C).finalize(v)}},_createHmacHelper:function(m){return function(v,C){return new b.HMAC.init(m,C).finalize(v)}}});var b=u.algo={};return u}(Math);return n})}(_n)),_n.exports}var Rn={exports:{}},za;function un(){return za||(za=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(r){var a=n,i=a.lib,l=i.Base,s=i.WordArray,u=a.x64={};u.Word=l.extend({init:function(o,c){this.high=o,this.low=c}}),u.WordArray=l.extend({init:function(o,c){o=this.words=o||[],c!=r?this.sigBytes=c:this.sigBytes=o.length*8},toX32:function(){for(var o=this.words,c=o.length,x=[],f=0;f<c;f++){var g=o[f];x.push(g.high),x.push(g.low)}return s.create(x,this.sigBytes)},clone:function(){for(var o=l.clone.call(this),c=o.words=this.words.slice(0),x=c.length,f=0;f<x;f++)c[f]=c[f].clone();return o}})}(),n})}(Rn)),Rn.exports}var Pn={exports:{}},Wa;function Sf(){return Wa||(Wa=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(){if(typeof ArrayBuffer=="function"){var r=n,a=r.lib,i=a.WordArray,l=i.init,s=i.init=function(u){if(u instanceof ArrayBuffer&&(u=new Uint8Array(u)),(u instanceof Int8Array||typeof Uint8ClampedArray<"u"&&u instanceof Uint8ClampedArray||u instanceof Int16Array||u instanceof Uint16Array||u instanceof Int32Array||u instanceof Uint32Array||u instanceof Float32Array||u instanceof Float64Array)&&(u=new Uint8Array(u.buffer,u.byteOffset,u.byteLength)),u instanceof Uint8Array){for(var o=u.byteLength,c=[],x=0;x<o;x++)c[x>>>2]|=u[x]<<24-x%4*8;l.call(this,c,o)}else l.apply(this,arguments)};s.prototype=i}}(),n.lib.WordArray})}(Pn)),Pn.exports}var In={exports:{}},Ka;function Bf(){return Ka||(Ka=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.WordArray,l=r.enc;l.Utf16=l.Utf16BE={stringify:function(u){for(var o=u.words,c=u.sigBytes,x=[],f=0;f<c;f+=2){var g=o[f>>>2]>>>16-f%4*8&65535;x.push(String.fromCharCode(g))}return x.join("")},parse:function(u){for(var o=u.length,c=[],x=0;x<o;x++)c[x>>>1]|=u.charCodeAt(x)<<16-x%2*16;return i.create(c,o*2)}},l.Utf16LE={stringify:function(u){for(var o=u.words,c=u.sigBytes,x=[],f=0;f<c;f+=2){var g=s(o[f>>>2]>>>16-f%4*8&65535);x.push(String.fromCharCode(g))}return x.join("")},parse:function(u){for(var o=u.length,c=[],x=0;x<o;x++)c[x>>>1]|=s(u.charCodeAt(x)<<16-x%2*16);return i.create(c,o*2)}};function s(u){return u<<8&4278255360|u>>>8&16711935}}(),n.enc.Utf16})}(In)),In.exports}var Mn={exports:{}},Ga;function _t(){return Ga||(Ga=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.WordArray,l=r.enc;l.Base64={stringify:function(u){var o=u.words,c=u.sigBytes,x=this._map;u.clamp();for(var f=[],g=0;g<c;g+=3)for(var h=o[g>>>2]>>>24-g%4*8&255,d=o[g+1>>>2]>>>24-(g+1)%4*8&255,y=o[g+2>>>2]>>>24-(g+2)%4*8&255,b=h<<16|d<<8|y,m=0;m<4&&g+m*.75<c;m++)f.push(x.charAt(b>>>6*(3-m)&63));var v=x.charAt(64);if(v)for(;f.length%4;)f.push(v);return f.join("")},parse:function(u){var o=u.length,c=this._map,x=this._reverseMap;if(!x){x=this._reverseMap=[];for(var f=0;f<c.length;f++)x[c.charCodeAt(f)]=f}var g=c.charAt(64);if(g){var h=u.indexOf(g);h!==-1&&(o=h)}return s(u,o,x)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function s(u,o,c){for(var x=[],f=0,g=0;g<o;g++)if(g%4){var h=c[u.charCodeAt(g-1)]<<g%4*2,d=c[u.charCodeAt(g)]>>>6-g%4*2,y=h|d;x[f>>>2]|=y<<24-f%4*8,f++}return i.create(x,f)}}(),n.enc.Base64})}(Mn)),Mn.exports}var Nn={exports:{}},Va;function wf(){return Va||(Va=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.WordArray,l=r.enc;l.Base64url={stringify:function(u,o){o===void 0&&(o=!0);var c=u.words,x=u.sigBytes,f=o?this._safe_map:this._map;u.clamp();for(var g=[],h=0;h<x;h+=3)for(var d=c[h>>>2]>>>24-h%4*8&255,y=c[h+1>>>2]>>>24-(h+1)%4*8&255,b=c[h+2>>>2]>>>24-(h+2)%4*8&255,m=d<<16|y<<8|b,v=0;v<4&&h+v*.75<x;v++)g.push(f.charAt(m>>>6*(3-v)&63));var C=f.charAt(64);if(C)for(;g.length%4;)g.push(C);return g.join("")},parse:function(u,o){o===void 0&&(o=!0);var c=u.length,x=o?this._safe_map:this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var g=0;g<x.length;g++)f[x.charCodeAt(g)]=g}var h=x.charAt(64);if(h){var d=u.indexOf(h);d!==-1&&(c=d)}return s(u,c,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function s(u,o,c){for(var x=[],f=0,g=0;g<o;g++)if(g%4){var h=c[u.charCodeAt(g-1)]<<g%4*2,d=c[u.charCodeAt(g)]>>>6-g%4*2,y=h|d;x[f>>>2]|=y<<24-f%4*8,f++}return i.create(x,f)}}(),n.enc.Base64url})}(Nn)),Nn.exports}var On={exports:{}},Ya;function Rt(){return Ya||(Ya=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(r){var a=n,i=a.lib,l=i.WordArray,s=i.Hasher,u=a.algo,o=[];(function(){for(var d=0;d<64;d++)o[d]=r.abs(r.sin(d+1))*4294967296|0})();var c=u.MD5=s.extend({_doReset:function(){this._hash=new l.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(d,y){for(var b=0;b<16;b++){var m=y+b,v=d[m];d[m]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360}var C=this._hash.words,A=d[y+0],D=d[y+1],w=d[y+2],_=d[y+3],N=d[y+4],p=d[y+5],B=d[y+6],R=d[y+7],T=d[y+8],H=d[y+9],z=d[y+10],q=d[y+11],ee=d[y+12],re=d[y+13],ne=d[y+14],j=d[y+15],k=C[0],I=C[1],M=C[2],F=C[3];k=x(k,I,M,F,A,7,o[0]),F=x(F,k,I,M,D,12,o[1]),M=x(M,F,k,I,w,17,o[2]),I=x(I,M,F,k,_,22,o[3]),k=x(k,I,M,F,N,7,o[4]),F=x(F,k,I,M,p,12,o[5]),M=x(M,F,k,I,B,17,o[6]),I=x(I,M,F,k,R,22,o[7]),k=x(k,I,M,F,T,7,o[8]),F=x(F,k,I,M,H,12,o[9]),M=x(M,F,k,I,z,17,o[10]),I=x(I,M,F,k,q,22,o[11]),k=x(k,I,M,F,ee,7,o[12]),F=x(F,k,I,M,re,12,o[13]),M=x(M,F,k,I,ne,17,o[14]),I=x(I,M,F,k,j,22,o[15]),k=f(k,I,M,F,D,5,o[16]),F=f(F,k,I,M,B,9,o[17]),M=f(M,F,k,I,q,14,o[18]),I=f(I,M,F,k,A,20,o[19]),k=f(k,I,M,F,p,5,o[20]),F=f(F,k,I,M,z,9,o[21]),M=f(M,F,k,I,j,14,o[22]),I=f(I,M,F,k,N,20,o[23]),k=f(k,I,M,F,H,5,o[24]),F=f(F,k,I,M,ne,9,o[25]),M=f(M,F,k,I,_,14,o[26]),I=f(I,M,F,k,T,20,o[27]),k=f(k,I,M,F,re,5,o[28]),F=f(F,k,I,M,w,9,o[29]),M=f(M,F,k,I,R,14,o[30]),I=f(I,M,F,k,ee,20,o[31]),k=g(k,I,M,F,p,4,o[32]),F=g(F,k,I,M,T,11,o[33]),M=g(M,F,k,I,q,16,o[34]),I=g(I,M,F,k,ne,23,o[35]),k=g(k,I,M,F,D,4,o[36]),F=g(F,k,I,M,N,11,o[37]),M=g(M,F,k,I,R,16,o[38]),I=g(I,M,F,k,z,23,o[39]),k=g(k,I,M,F,re,4,o[40]),F=g(F,k,I,M,A,11,o[41]),M=g(M,F,k,I,_,16,o[42]),I=g(I,M,F,k,B,23,o[43]),k=g(k,I,M,F,H,4,o[44]),F=g(F,k,I,M,ee,11,o[45]),M=g(M,F,k,I,j,16,o[46]),I=g(I,M,F,k,w,23,o[47]),k=h(k,I,M,F,A,6,o[48]),F=h(F,k,I,M,R,10,o[49]),M=h(M,F,k,I,ne,15,o[50]),I=h(I,M,F,k,p,21,o[51]),k=h(k,I,M,F,ee,6,o[52]),F=h(F,k,I,M,_,10,o[53]),M=h(M,F,k,I,z,15,o[54]),I=h(I,M,F,k,D,21,o[55]),k=h(k,I,M,F,T,6,o[56]),F=h(F,k,I,M,j,10,o[57]),M=h(M,F,k,I,B,15,o[58]),I=h(I,M,F,k,re,21,o[59]),k=h(k,I,M,F,N,6,o[60]),F=h(F,k,I,M,q,10,o[61]),M=h(M,F,k,I,w,15,o[62]),I=h(I,M,F,k,H,21,o[63]),C[0]=C[0]+k|0,C[1]=C[1]+I|0,C[2]=C[2]+M|0,C[3]=C[3]+F|0},_doFinalize:function(){var d=this._data,y=d.words,b=this._nDataBytes*8,m=d.sigBytes*8;y[m>>>5]|=128<<24-m%32;var v=r.floor(b/4294967296),C=b;y[(m+64>>>9<<4)+15]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,y[(m+64>>>9<<4)+14]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,d.sigBytes=(y.length+1)*4,this._process();for(var A=this._hash,D=A.words,w=0;w<4;w++){var _=D[w];D[w]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}return A},clone:function(){var d=s.clone.call(this);return d._hash=this._hash.clone(),d}});function x(d,y,b,m,v,C,A){var D=d+(y&b|~y&m)+v+A;return(D<<C|D>>>32-C)+y}function f(d,y,b,m,v,C,A){var D=d+(y&m|b&~m)+v+A;return(D<<C|D>>>32-C)+y}function g(d,y,b,m,v,C,A){var D=d+(y^b^m)+v+A;return(D<<C|D>>>32-C)+y}function h(d,y,b,m,v,C,A){var D=d+(b^(y|~m))+v+A;return(D<<C|D>>>32-C)+y}a.MD5=s._createHelper(c),a.HmacMD5=s._createHmacHelper(c)}(Math),n.MD5})}(On)),On.exports}var jn={exports:{}},qa;function ko(){return qa||(qa=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.WordArray,l=a.Hasher,s=r.algo,u=[],o=s.SHA1=l.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,x){for(var f=this._hash.words,g=f[0],h=f[1],d=f[2],y=f[3],b=f[4],m=0;m<80;m++){if(m<16)u[m]=c[x+m]|0;else{var v=u[m-3]^u[m-8]^u[m-14]^u[m-16];u[m]=v<<1|v>>>31}var C=(g<<5|g>>>27)+b+u[m];m<20?C+=(h&d|~h&y)+1518500249:m<40?C+=(h^d^y)+1859775393:m<60?C+=(h&d|h&y|d&y)-1894007588:C+=(h^d^y)-899497514,b=y,y=d,d=h<<30|h>>>2,h=g,g=C}f[0]=f[0]+g|0,f[1]=f[1]+h|0,f[2]=f[2]+d|0,f[3]=f[3]+y|0,f[4]=f[4]+b|0},_doFinalize:function(){var c=this._data,x=c.words,f=this._nDataBytes*8,g=c.sigBytes*8;return x[g>>>5]|=128<<24-g%32,x[(g+64>>>9<<4)+14]=Math.floor(f/4294967296),x[(g+64>>>9<<4)+15]=f,c.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var c=l.clone.call(this);return c._hash=this._hash.clone(),c}});r.SHA1=l._createHelper(o),r.HmacSHA1=l._createHmacHelper(o)}(),n.SHA1})}(jn)),jn.exports}var Ln={exports:{}},Xa;function L0(){return Xa||(Xa=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(r){var a=n,i=a.lib,l=i.WordArray,s=i.Hasher,u=a.algo,o=[],c=[];(function(){function g(b){for(var m=r.sqrt(b),v=2;v<=m;v++)if(!(b%v))return!1;return!0}function h(b){return(b-(b|0))*4294967296|0}for(var d=2,y=0;y<64;)g(d)&&(y<8&&(o[y]=h(r.pow(d,1/2))),c[y]=h(r.pow(d,1/3)),y++),d++})();var x=[],f=u.SHA256=s.extend({_doReset:function(){this._hash=new l.init(o.slice(0))},_doProcessBlock:function(g,h){for(var d=this._hash.words,y=d[0],b=d[1],m=d[2],v=d[3],C=d[4],A=d[5],D=d[6],w=d[7],_=0;_<64;_++){if(_<16)x[_]=g[h+_]|0;else{var N=x[_-15],p=(N<<25|N>>>7)^(N<<14|N>>>18)^N>>>3,B=x[_-2],R=(B<<15|B>>>17)^(B<<13|B>>>19)^B>>>10;x[_]=p+x[_-7]+R+x[_-16]}var T=C&A^~C&D,H=y&b^y&m^b&m,z=(y<<30|y>>>2)^(y<<19|y>>>13)^(y<<10|y>>>22),q=(C<<26|C>>>6)^(C<<21|C>>>11)^(C<<7|C>>>25),ee=w+q+T+c[_]+x[_],re=z+H;w=D,D=A,A=C,C=v+ee|0,v=m,m=b,b=y,y=ee+re|0}d[0]=d[0]+y|0,d[1]=d[1]+b|0,d[2]=d[2]+m|0,d[3]=d[3]+v|0,d[4]=d[4]+C|0,d[5]=d[5]+A|0,d[6]=d[6]+D|0,d[7]=d[7]+w|0},_doFinalize:function(){var g=this._data,h=g.words,d=this._nDataBytes*8,y=g.sigBytes*8;return h[y>>>5]|=128<<24-y%32,h[(y+64>>>9<<4)+14]=r.floor(d/4294967296),h[(y+64>>>9<<4)+15]=d,g.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var g=s.clone.call(this);return g._hash=this._hash.clone(),g}});a.SHA256=s._createHelper(f),a.HmacSHA256=s._createHmacHelper(f)}(Math),n.SHA256})}(Ln)),Ln.exports}var $n={exports:{}},Za;function Df(){return Za||(Za=1,function(e,t){(function(n,r,a){e.exports=r(se(),L0())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.WordArray,l=r.algo,s=l.SHA256,u=l.SHA224=s.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var o=s._doFinalize.call(this);return o.sigBytes-=4,o}});r.SHA224=s._createHelper(u),r.HmacSHA224=s._createHmacHelper(u)}(),n.SHA224})}($n)),$n.exports}var Un={exports:{}},Ja;function To(){return Ja||(Ja=1,function(e,t){(function(n,r,a){e.exports=r(se(),un())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.Hasher,l=r.x64,s=l.Word,u=l.WordArray,o=r.algo;function c(){return s.create.apply(s,arguments)}var x=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],f=[];(function(){for(var h=0;h<80;h++)f[h]=c()})();var g=o.SHA512=i.extend({_doReset:function(){this._hash=new u.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(h,d){for(var y=this._hash.words,b=y[0],m=y[1],v=y[2],C=y[3],A=y[4],D=y[5],w=y[6],_=y[7],N=b.high,p=b.low,B=m.high,R=m.low,T=v.high,H=v.low,z=C.high,q=C.low,ee=A.high,re=A.low,ne=D.high,j=D.low,k=w.high,I=w.low,M=_.high,F=_.low,U=N,G=p,X=B,K=R,ae=T,te=H,we=z,W=q,ye=ee,De=re,We=ne,qe=j,At=k,ht=I,gt=M,St=F,$e=0;$e<80;$e++){var Pe,et,Pt=f[$e];if($e<16)et=Pt.high=h[d+$e*2]|0,Pe=Pt.low=h[d+$e*2+1]|0;else{var Yt=f[$e-15],ct=Yt.high,Xe=Yt.low,fn=(ct>>>1|Xe<<31)^(ct>>>8|Xe<<24)^ct>>>7,qt=(Xe>>>1|ct<<31)^(Xe>>>8|ct<<24)^(Xe>>>7|ct<<25),Xt=f[$e-2],tt=Xt.high,Bt=Xt.low,dn=(tt>>>19|Bt<<13)^(tt<<3|Bt>>>29)^tt>>>6,Er=(Bt>>>19|tt<<13)^(Bt<<3|tt>>>29)^(Bt>>>6|tt<<26),Ar=f[$e-7],xn=Ar.high,pn=Ar.low,Sr=f[$e-16],Zt=Sr.high,Jt=Sr.low;Pe=qt+pn,et=fn+xn+(Pe>>>0<qt>>>0?1:0),Pe=Pe+Er,et=et+dn+(Pe>>>0<Er>>>0?1:0),Pe=Pe+Jt,et=et+Zt+(Pe>>>0<Jt>>>0?1:0),Pt.high=et,Pt.low=Pe}var vt=ye&We^~ye&At,It=De&qe^~De&ht,Qt=U&X^U&ae^X&ae,Br=G&K^G&te^K&te,hn=(U>>>28|G<<4)^(U<<30|G>>>2)^(U<<25|G>>>7),er=(G>>>28|U<<4)^(G<<30|U>>>2)^(G<<25|U>>>7),gn=(ye>>>14|De<<18)^(ye>>>18|De<<14)^(ye<<23|De>>>9),wr=(De>>>14|ye<<18)^(De>>>18|ye<<14)^(De<<23|ye>>>9),tr=x[$e],vn=tr.high,Dr=tr.low,Ie=St+wr,Ze=gt+gn+(Ie>>>0<St>>>0?1:0),Ie=Ie+It,Ze=Ze+vt+(Ie>>>0<It>>>0?1:0),Ie=Ie+Dr,Ze=Ze+vn+(Ie>>>0<Dr>>>0?1:0),Ie=Ie+Pe,Ze=Ze+et+(Ie>>>0<Pe>>>0?1:0),Fr=er+Br,mn=hn+Qt+(Fr>>>0<er>>>0?1:0);gt=At,St=ht,At=We,ht=qe,We=ye,qe=De,De=W+Ie|0,ye=we+Ze+(De>>>0<W>>>0?1:0)|0,we=ae,W=te,ae=X,te=K,X=U,K=G,G=Ie+Fr|0,U=Ze+mn+(G>>>0<Ie>>>0?1:0)|0}p=b.low=p+G,b.high=N+U+(p>>>0<G>>>0?1:0),R=m.low=R+K,m.high=B+X+(R>>>0<K>>>0?1:0),H=v.low=H+te,v.high=T+ae+(H>>>0<te>>>0?1:0),q=C.low=q+W,C.high=z+we+(q>>>0<W>>>0?1:0),re=A.low=re+De,A.high=ee+ye+(re>>>0<De>>>0?1:0),j=D.low=j+qe,D.high=ne+We+(j>>>0<qe>>>0?1:0),I=w.low=I+ht,w.high=k+At+(I>>>0<ht>>>0?1:0),F=_.low=F+St,_.high=M+gt+(F>>>0<St>>>0?1:0)},_doFinalize:function(){var h=this._data,d=h.words,y=this._nDataBytes*8,b=h.sigBytes*8;d[b>>>5]|=128<<24-b%32,d[(b+128>>>10<<5)+30]=Math.floor(y/4294967296),d[(b+128>>>10<<5)+31]=y,h.sigBytes=d.length*4,this._process();var m=this._hash.toX32();return m},clone:function(){var h=i.clone.call(this);return h._hash=this._hash.clone(),h},blockSize:1024/32});r.SHA512=i._createHelper(g),r.HmacSHA512=i._createHmacHelper(g)}(),n.SHA512})}(Un)),Un.exports}var Hn={exports:{}},Qa;function Ff(){return Qa||(Qa=1,function(e,t){(function(n,r,a){e.exports=r(se(),un(),To())})(ie,function(n){return function(){var r=n,a=r.x64,i=a.Word,l=a.WordArray,s=r.algo,u=s.SHA512,o=s.SHA384=u.extend({_doReset:function(){this._hash=new l.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var c=u._doFinalize.call(this);return c.sigBytes-=16,c}});r.SHA384=u._createHelper(o),r.HmacSHA384=u._createHmacHelper(o)}(),n.SHA384})}(Hn)),Hn.exports}var zn={exports:{}},ei;function kf(){return ei||(ei=1,function(e,t){(function(n,r,a){e.exports=r(se(),un())})(ie,function(n){return function(r){var a=n,i=a.lib,l=i.WordArray,s=i.Hasher,u=a.x64,o=u.Word,c=a.algo,x=[],f=[],g=[];(function(){for(var y=1,b=0,m=0;m<24;m++){x[y+5*b]=(m+1)*(m+2)/2%64;var v=b%5,C=(2*y+3*b)%5;y=v,b=C}for(var y=0;y<5;y++)for(var b=0;b<5;b++)f[y+5*b]=b+(2*y+3*b)%5*5;for(var A=1,D=0;D<24;D++){for(var w=0,_=0,N=0;N<7;N++){if(A&1){var p=(1<<N)-1;p<32?_^=1<<p:w^=1<<p-32}A&128?A=A<<1^113:A<<=1}g[D]=o.create(w,_)}})();var h=[];(function(){for(var y=0;y<25;y++)h[y]=o.create()})();var d=c.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var y=this._state=[],b=0;b<25;b++)y[b]=new o.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(y,b){for(var m=this._state,v=this.blockSize/2,C=0;C<v;C++){var A=y[b+2*C],D=y[b+2*C+1];A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,D=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360;var w=m[C];w.high^=D,w.low^=A}for(var _=0;_<24;_++){for(var N=0;N<5;N++){for(var p=0,B=0,R=0;R<5;R++){var w=m[N+5*R];p^=w.high,B^=w.low}var T=h[N];T.high=p,T.low=B}for(var N=0;N<5;N++)for(var H=h[(N+4)%5],z=h[(N+1)%5],q=z.high,ee=z.low,p=H.high^(q<<1|ee>>>31),B=H.low^(ee<<1|q>>>31),R=0;R<5;R++){var w=m[N+5*R];w.high^=p,w.low^=B}for(var re=1;re<25;re++){var p,B,w=m[re],ne=w.high,j=w.low,k=x[re];k<32?(p=ne<<k|j>>>32-k,B=j<<k|ne>>>32-k):(p=j<<k-32|ne>>>64-k,B=ne<<k-32|j>>>64-k);var I=h[f[re]];I.high=p,I.low=B}var M=h[0],F=m[0];M.high=F.high,M.low=F.low;for(var N=0;N<5;N++)for(var R=0;R<5;R++){var re=N+5*R,w=m[re],U=h[re],G=h[(N+1)%5+5*R],X=h[(N+2)%5+5*R];w.high=U.high^~G.high&X.high,w.low=U.low^~G.low&X.low}var w=m[0],K=g[_];w.high^=K.high,w.low^=K.low}},_doFinalize:function(){var y=this._data,b=y.words;this._nDataBytes*8;var m=y.sigBytes*8,v=this.blockSize*32;b[m>>>5]|=1<<24-m%32,b[(r.ceil((m+1)/v)*v>>>5)-1]|=128,y.sigBytes=b.length*4,this._process();for(var C=this._state,A=this.cfg.outputLength/8,D=A/8,w=[],_=0;_<D;_++){var N=C[_],p=N.high,B=N.low;p=(p<<8|p>>>24)&16711935|(p<<24|p>>>8)&4278255360,B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,w.push(B),w.push(p)}return new l.init(w,A)},clone:function(){for(var y=s.clone.call(this),b=y._state=this._state.slice(0),m=0;m<25;m++)b[m]=b[m].clone();return y}});a.SHA3=s._createHelper(d),a.HmacSHA3=s._createHmacHelper(d)}(Math),n.SHA3})}(zn)),zn.exports}var Wn={exports:{}},ti;function Tf(){return ti||(ti=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){/** @preserve
|
|
457
|
+
`,Y1=({onClick:e,params:t,handleUpdateParam:n,ParamErrors:r,removeParameter:a,dataSet:i,disabledEdit:l})=>E.jsxs(L.Box,{width:"100%",display:"flex",flexDirection:"column",p:1,children:[i&&E.jsx(L.Box,{mb:3,mt:2,children:E.jsx(go,{noInlineAction:!0,addOptionLabel:"Add Data Set",showDeleteIcon:!l,showAddOption:!l,width:"200px",...i})}),E.jsx(W1,{children:t.map((s,u)=>E.jsx(E.Fragment,{children:E.jsx(q1,{index:u,...s,onChangeValue:n,ParamErrors:r,onDelete:a})},u))}),E.jsx(ho,{variant:"outlined",sx:{my:2},startIcon:E.jsx(Pi,{}),fullWidth:!0,onClick:e,disabled:l,children:"Add Parameter"})]}),q1=e=>{const{keyName:t,onChangeValue:n,index:r,error:a,value:i,onDelete:l,mask:s,disabled:u,ParamErrors:o}=e,c=J.useRef(null),[x,f]=J.useState(!1);J.useEffect(()=>{var y;(y=c.current)==null||y.scrollIntoView({behavior:"smooth",block:"nearest"})},[]);const g=()=>{f(!x)},h=J.useRef(null),d=J.useRef(null);return E.jsxs(L.Box,{ref:c,display:"flex",width:"100%",flexDirection:"column",children:[E.jsxs(L.Grid2,{sx:{flexGrow:1},container:!0,spacing:1,children:[E.jsx(L.Grid2,{size:5.4,children:E.jsx(Kt,{ref:h,value:t,onChange:y=>n==null?void 0:n(r,y.target.value,i||""),size:"small",noBorder:!0,error:a,placeholder:"parameter_key",disabled:u})}),E.jsx(L.Grid2,{size:5.4,children:E.jsx(Kt,{ref:d,value:i,size:"small",type:s&&!x?"password":"text",onChange:y=>n==null?void 0:n(r,t,y.target.value,s),noBorder:!0,placeholder:"parameter_value",endIcon:s?x?E.jsx(Ri,{onClick:g,size:12}):E.jsx(_i,{onClick:g,size:12}):"",disabled:u})}),E.jsx(L.Grid2,{size:1.2,children:E.jsx(L.Box,{ml:1,mt:1,display:"flex",justifyContent:"start",alignItems:"end",children:E.jsx(Ii,{onClick:()=>!u&&(l==null?void 0:l(r)),size:18,color:u?"var(--color-grey-50)":"var(--color-error-100)"})})})]}),a&&E.jsx(be,{weight:"medium",value:"Parameter is not used in the scenario",color:"var(--color-error-100)",mt:.5}),o&&E.jsx(o,{index:r})]})},mo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",yo="ARRAYBUFFER not supported by this environment",Co="UINT8ARRAY not supported by this environment";function Ra(e,t,n,r){let a,i,l;const s=t||[0],u=(n=n||0)>>>3,o=r===-1?3:0;for(a=0;a<e.length;a+=1)l=a+u,i=l>>>2,s.length<=i&&s.push(0),s[i]|=e[a]<<8*(o+r*(l%4));return{value:s,binLen:8*e.length+n}}function Vt(e,t,n){switch(t){case"UTF8":case"UTF16BE":case"UTF16LE":break;default:throw new Error("encoding must be UTF8, UTF16BE, or UTF16LE")}switch(e){case"HEX":return function(r,a,i){return function(l,s,u,o){let c,x,f,g;if(l.length%2!=0)throw new Error("String of HEX type must be in byte increments");const h=s||[0],d=(u=u||0)>>>3,y=o===-1?3:0;for(c=0;c<l.length;c+=2){if(x=parseInt(l.substr(c,2),16),isNaN(x))throw new Error("String of HEX type contains invalid characters");for(g=(c>>>1)+d,f=g>>>2;h.length<=f;)h.push(0);h[f]|=x<<8*(y+o*(g%4))}return{value:h,binLen:4*l.length+u}}(r,a,i,n)};case"TEXT":return function(r,a,i){return function(l,s,u,o,c){let x,f,g,h,d,y,b,m,v=0;const C=u||[0],A=(o=o||0)>>>3;if(s==="UTF8")for(b=c===-1?3:0,g=0;g<l.length;g+=1)for(x=l.charCodeAt(g),f=[],128>x?f.push(x):2048>x?(f.push(192|x>>>6),f.push(128|63&x)):55296>x||57344<=x?f.push(224|x>>>12,128|x>>>6&63,128|63&x):(g+=1,x=65536+((1023&x)<<10|1023&l.charCodeAt(g)),f.push(240|x>>>18,128|x>>>12&63,128|x>>>6&63,128|63&x)),h=0;h<f.length;h+=1){for(y=v+A,d=y>>>2;C.length<=d;)C.push(0);C[d]|=f[h]<<8*(b+c*(y%4)),v+=1}else for(b=c===-1?2:0,m=s==="UTF16LE"&&c!==1||s!=="UTF16LE"&&c===1,g=0;g<l.length;g+=1){for(x=l.charCodeAt(g),m===!0&&(h=255&x,x=h<<8|x>>>8),y=v+A,d=y>>>2;C.length<=d;)C.push(0);C[d]|=x<<8*(b+c*(y%4)),v+=2}return{value:C,binLen:8*v+o}}(r,t,a,i,n)};case"B64":return function(r,a,i){return function(l,s,u,o){let c,x,f,g,h,d,y,b=0;const m=s||[0],v=(u=u||0)>>>3,C=o===-1?3:0,A=l.indexOf("=");if(l.search(/^[a-zA-Z0-9=+/]+$/)===-1)throw new Error("Invalid character in base-64 string");if(l=l.replace(/=/g,""),A!==-1&&A<l.length)throw new Error("Invalid '=' found in base-64 string");for(x=0;x<l.length;x+=4){for(h=l.substr(x,4),g=0,f=0;f<h.length;f+=1)c=mo.indexOf(h.charAt(f)),g|=c<<18-6*f;for(f=0;f<h.length-1;f+=1){for(y=b+v,d=y>>>2;m.length<=d;)m.push(0);m[d]|=(g>>>16-8*f&255)<<8*(C+o*(y%4)),b+=1}}return{value:m,binLen:8*b+u}}(r,a,i,n)};case"BYTES":return function(r,a,i){return function(l,s,u,o){let c,x,f,g;const h=s||[0],d=(u=u||0)>>>3,y=o===-1?3:0;for(x=0;x<l.length;x+=1)c=l.charCodeAt(x),g=x+d,f=g>>>2,h.length<=f&&h.push(0),h[f]|=c<<8*(y+o*(g%4));return{value:h,binLen:8*l.length+u}}(r,a,i,n)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error(yo)}return function(r,a,i){return function(l,s,u,o){return Ra(new Uint8Array(l),s,u,o)}(r,a,i,n)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error(Co)}return function(r,a,i){return Ra(r,a,i,n)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function Pa(e,t,n,r){switch(e){case"HEX":return function(a){return function(i,l,s,u){const o="0123456789abcdef";let c,x,f="";const g=l/8,h=s===-1?3:0;for(c=0;c<g;c+=1)x=i[c>>>2]>>>8*(h+s*(c%4)),f+=o.charAt(x>>>4&15)+o.charAt(15&x);return u.outputUpper?f.toUpperCase():f}(a,t,n,r)};case"B64":return function(a){return function(i,l,s,u){let o,c,x,f,g,h="";const d=l/8,y=s===-1?3:0;for(o=0;o<d;o+=3)for(f=o+1<d?i[o+1>>>2]:0,g=o+2<d?i[o+2>>>2]:0,x=(i[o>>>2]>>>8*(y+s*(o%4))&255)<<16|(f>>>8*(y+s*((o+1)%4))&255)<<8|g>>>8*(y+s*((o+2)%4))&255,c=0;c<4;c+=1)h+=8*o+6*c<=l?mo.charAt(x>>>6*(3-c)&63):u.b64Pad;return h}(a,t,n,r)};case"BYTES":return function(a){return function(i,l,s){let u,o,c="";const x=l/8,f=s===-1?3:0;for(u=0;u<x;u+=1)o=i[u>>>2]>>>8*(f+s*(u%4))&255,c+=String.fromCharCode(o);return c}(a,t,n)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error(yo)}return function(a){return function(i,l,s){let u;const o=l/8,c=new ArrayBuffer(o),x=new Uint8Array(c),f=s===-1?3:0;for(u=0;u<o;u+=1)x[u]=i[u>>>2]>>>8*(f+s*(u%4))&255;return c}(a,t,n)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error(Co)}return function(a){return function(i,l,s){let u;const o=l/8,c=s===-1?3:0,x=new Uint8Array(o);for(u=0;u<o;u+=1)x[u]=i[u>>>2]>>>8*(c+s*(u%4))&255;return x}(a,t,n)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}const Cr=4294967296,Y=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],ut=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428],ft=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],br="Chosen SHA variant is not supported",bo="Cannot set numRounds with MAC";function Gr(e,t){let n,r;const a=e.binLen>>>3,i=t.binLen>>>3,l=a<<3,s=4-a<<3;if(a%4!=0){for(n=0;n<i;n+=4)r=a+n>>>2,e.value[r]|=t.value[n>>>2]<<l,e.value.push(0),e.value[r+1]|=t.value[n>>>2]>>>s;return(e.value.length<<2)-4>=i+a&&e.value.pop(),{value:e.value,binLen:e.binLen+t.binLen}}return{value:e.value.concat(t.value),binLen:e.binLen+t.binLen}}function Ia(e){const t={outputUpper:!1,b64Pad:"=",outputLen:-1},n=e||{},r="Output length must be a multiple of 8";if(t.outputUpper=n.outputUpper||!1,n.b64Pad&&(t.b64Pad=n.b64Pad),n.outputLen){if(n.outputLen%8!=0)throw new Error(r);t.outputLen=n.outputLen}else if(n.shakeLen){if(n.shakeLen%8!=0)throw new Error(r);t.outputLen=n.shakeLen}if(typeof t.outputUpper!="boolean")throw new Error("Invalid outputUpper formatting option");if(typeof t.b64Pad!="string")throw new Error("Invalid b64Pad formatting option");return t}function mt(e,t,n,r){const a=e+" must include a value and format";if(!t){if(!r)throw new Error(a);return r}if(t.value===void 0||!t.format)throw new Error(a);return Vt(t.format,t.encoding||"UTF8",n)(t.value)}class ln{constructor(t,n,r){const a=r||{};if(this.t=n,this.i=a.encoding||"UTF8",this.numRounds=a.numRounds||1,isNaN(this.numRounds)||this.numRounds!==parseInt(this.numRounds,10)||1>this.numRounds)throw new Error("numRounds must a integer >= 1");this.o=t,this.h=[],this.u=0,this.l=!1,this.A=0,this.H=!1,this.S=[],this.p=[]}update(t){let n,r=0;const a=this.m>>>5,i=this.C(t,this.h,this.u),l=i.binLen,s=i.value,u=l>>>5;for(n=0;n<u;n+=a)r+this.m<=l&&(this.U=this.v(s.slice(n,n+a),this.U),r+=this.m);return this.A+=r,this.h=s.slice(r>>>5),this.u=l%this.m,this.l=!0,this}getHash(t,n){let r,a,i=this.R;const l=Ia(n);if(this.K){if(l.outputLen===-1)throw new Error("Output length must be specified in options");i=l.outputLen}const s=Pa(t,i,this.T,l);if(this.H&&this.g)return s(this.g(l));for(a=this.F(this.h.slice(),this.u,this.A,this.L(this.U),i),r=1;r<this.numRounds;r+=1)this.K&&i%32!=0&&(a[a.length-1]&=16777215>>>24-i%32),a=this.F(a,i,0,this.B(this.o),i);return s(a)}setHMACKey(t,n,r){if(!this.M)throw new Error("Variant does not support HMAC");if(this.l)throw new Error("Cannot set MAC key after calling update");const a=Vt(n,(r||{}).encoding||"UTF8",this.T);this.k(a(t))}k(t){const n=this.m>>>3,r=n/4-1;let a;if(this.numRounds!==1)throw new Error(bo);if(this.H)throw new Error("MAC key already set");for(n<t.binLen/8&&(t.value=this.F(t.value,t.binLen,0,this.B(this.o),this.R));t.value.length<=r;)t.value.push(0);for(a=0;a<=r;a+=1)this.S[a]=909522486^t.value[a],this.p[a]=1549556828^t.value[a];this.U=this.v(this.S,this.U),this.A=this.m,this.H=!0}getHMAC(t,n){const r=Ia(n);return Pa(t,this.R,this.T,r)(this.Y())}Y(){let t;if(!this.H)throw new Error("Cannot call getHMAC without first setting MAC key");const n=this.F(this.h.slice(),this.u,this.A,this.L(this.U),this.R);return t=this.v(this.p,this.B(this.o)),t=this.F(n,this.R,this.m,t,this.R),t}}function Ut(e,t){return e<<t|e>>>32-t}function ot(e,t){return e>>>t|e<<32-t}function Eo(e,t){return e>>>t}function Ma(e,t,n){return e^t^n}function Ao(e,t,n){return e&t^~e&n}function So(e,t,n){return e&t^e&n^t&n}function X1(e){return ot(e,2)^ot(e,13)^ot(e,22)}function Ne(e,t){const n=(65535&e)+(65535&t);return(65535&(e>>>16)+(t>>>16)+(n>>>16))<<16|65535&n}function Z1(e,t,n,r){const a=(65535&e)+(65535&t)+(65535&n)+(65535&r);return(65535&(e>>>16)+(t>>>16)+(n>>>16)+(r>>>16)+(a>>>16))<<16|65535&a}function ur(e,t,n,r,a){const i=(65535&e)+(65535&t)+(65535&n)+(65535&r)+(65535&a);return(65535&(e>>>16)+(t>>>16)+(n>>>16)+(r>>>16)+(a>>>16)+(i>>>16))<<16|65535&i}function J1(e){return ot(e,7)^ot(e,18)^Eo(e,3)}function Q1(e){return ot(e,6)^ot(e,11)^ot(e,25)}function ef(e){return[1732584193,4023233417,2562383102,271733878,3285377520]}function Bo(e,t){let n,r,a,i,l,s,u;const o=[];for(n=t[0],r=t[1],a=t[2],i=t[3],l=t[4],u=0;u<80;u+=1)o[u]=u<16?e[u]:Ut(o[u-3]^o[u-8]^o[u-14]^o[u-16],1),s=u<20?ur(Ut(n,5),Ao(r,a,i),l,1518500249,o[u]):u<40?ur(Ut(n,5),Ma(r,a,i),l,1859775393,o[u]):u<60?ur(Ut(n,5),So(r,a,i),l,2400959708,o[u]):ur(Ut(n,5),Ma(r,a,i),l,3395469782,o[u]),l=i,i=a,a=Ut(r,30),r=n,n=s;return t[0]=Ne(n,t[0]),t[1]=Ne(r,t[1]),t[2]=Ne(a,t[2]),t[3]=Ne(i,t[3]),t[4]=Ne(l,t[4]),t}function tf(e,t,n,r){let a;const i=15+(t+65>>>9<<4),l=t+n;for(;e.length<=i;)e.push(0);for(e[t>>>5]|=128<<24-t%32,e[i]=4294967295&l,e[i-1]=l/Cr|0,a=0;a<e.length;a+=16)r=Bo(e.slice(a,a+16),r);return r}let rf=class extends ln{constructor(e,t,n){if(e!=="SHA-1")throw new Error(br);super(e,t,n);const r=n||{};this.M=!0,this.g=this.Y,this.T=-1,this.C=Vt(this.t,this.i,this.T),this.v=Bo,this.L=function(a){return a.slice()},this.B=ef,this.F=tf,this.U=[1732584193,4023233417,2562383102,271733878,3285377520],this.m=512,this.R=160,this.K=!1,r.hmacKey&&this.k(mt("hmacKey",r.hmacKey,this.T))}};function Na(e){let t;return t=e=="SHA-224"?ut.slice():ft.slice(),t}function Oa(e,t){let n,r,a,i,l,s,u,o,c,x,f;const g=[];for(n=t[0],r=t[1],a=t[2],i=t[3],l=t[4],s=t[5],u=t[6],o=t[7],f=0;f<64;f+=1)g[f]=f<16?e[f]:Z1(ot(h=g[f-2],17)^ot(h,19)^Eo(h,10),g[f-7],J1(g[f-15]),g[f-16]),c=ur(o,Q1(l),Ao(l,s,u),Y[f],g[f]),x=Ne(X1(n),So(n,r,a)),o=u,u=s,s=l,l=Ne(i,c),i=a,a=r,r=n,n=Ne(c,x);var h;return t[0]=Ne(n,t[0]),t[1]=Ne(r,t[1]),t[2]=Ne(a,t[2]),t[3]=Ne(i,t[3]),t[4]=Ne(l,t[4]),t[5]=Ne(s,t[5]),t[6]=Ne(u,t[6]),t[7]=Ne(o,t[7]),t}let nf=class extends ln{constructor(e,t,n){if(e!=="SHA-224"&&e!=="SHA-256")throw new Error(br);super(e,t,n);const r=n||{};this.g=this.Y,this.M=!0,this.T=-1,this.C=Vt(this.t,this.i,this.T),this.v=Oa,this.L=function(a){return a.slice()},this.B=Na,this.F=function(a,i,l,s){return function(u,o,c,x,f){let g,h;const d=15+(o+65>>>9<<4),y=o+c;for(;u.length<=d;)u.push(0);for(u[o>>>5]|=128<<24-o%32,u[d]=4294967295&y,u[d-1]=y/Cr|0,g=0;g<u.length;g+=16)x=Oa(u.slice(g,g+16),x);return h=f==="SHA-224"?[x[0],x[1],x[2],x[3],x[4],x[5],x[6]]:x,h}(a,i,l,s,e)},this.U=Na(e),this.m=512,this.R=e==="SHA-224"?224:256,this.K=!1,r.hmacKey&&this.k(mt("hmacKey",r.hmacKey,this.T))}};class P{constructor(t,n){this.N=t,this.I=n}}function ja(e,t){let n;return t>32?(n=64-t,new P(e.I<<t|e.N>>>n,e.N<<t|e.I>>>n)):t!==0?(n=32-t,new P(e.N<<t|e.I>>>n,e.I<<t|e.N>>>n)):e}function st(e,t){let n;return t<32?(n=32-t,new P(e.N>>>t|e.I<<n,e.I>>>t|e.N<<n)):(n=64-t,new P(e.I>>>t|e.N<<n,e.N>>>t|e.I<<n))}function wo(e,t){return new P(e.N>>>t,e.I>>>t|e.N<<32-t)}function af(e,t,n){return new P(e.N&t.N^e.N&n.N^t.N&n.N,e.I&t.I^e.I&n.I^t.I&n.I)}function of(e){const t=st(e,28),n=st(e,34),r=st(e,39);return new P(t.N^n.N^r.N,t.I^n.I^r.I)}function Je(e,t){let n,r;n=(65535&e.I)+(65535&t.I),r=(e.I>>>16)+(t.I>>>16)+(n>>>16);const a=(65535&r)<<16|65535&n;return n=(65535&e.N)+(65535&t.N)+(r>>>16),r=(e.N>>>16)+(t.N>>>16)+(n>>>16),new P((65535&r)<<16|65535&n,a)}function sf(e,t,n,r){let a,i;a=(65535&e.I)+(65535&t.I)+(65535&n.I)+(65535&r.I),i=(e.I>>>16)+(t.I>>>16)+(n.I>>>16)+(r.I>>>16)+(a>>>16);const l=(65535&i)<<16|65535&a;return a=(65535&e.N)+(65535&t.N)+(65535&n.N)+(65535&r.N)+(i>>>16),i=(e.N>>>16)+(t.N>>>16)+(n.N>>>16)+(r.N>>>16)+(a>>>16),new P((65535&i)<<16|65535&a,l)}function cf(e,t,n,r,a){let i,l;i=(65535&e.I)+(65535&t.I)+(65535&n.I)+(65535&r.I)+(65535&a.I),l=(e.I>>>16)+(t.I>>>16)+(n.I>>>16)+(r.I>>>16)+(a.I>>>16)+(i>>>16);const s=(65535&l)<<16|65535&i;return i=(65535&e.N)+(65535&t.N)+(65535&n.N)+(65535&r.N)+(65535&a.N)+(l>>>16),l=(e.N>>>16)+(t.N>>>16)+(n.N>>>16)+(r.N>>>16)+(a.N>>>16)+(i>>>16),new P((65535&l)<<16|65535&i,s)}function sr(e,t){return new P(e.N^t.N,e.I^t.I)}function lf(e){const t=st(e,19),n=st(e,61),r=wo(e,6);return new P(t.N^n.N^r.N,t.I^n.I^r.I)}function uf(e){const t=st(e,1),n=st(e,8),r=wo(e,7);return new P(t.N^n.N^r.N,t.I^n.I^r.I)}function ff(e){const t=st(e,14),n=st(e,18),r=st(e,41);return new P(t.N^n.N^r.N,t.I^n.I^r.I)}const df=[new P(Y[0],3609767458),new P(Y[1],602891725),new P(Y[2],3964484399),new P(Y[3],2173295548),new P(Y[4],4081628472),new P(Y[5],3053834265),new P(Y[6],2937671579),new P(Y[7],3664609560),new P(Y[8],2734883394),new P(Y[9],1164996542),new P(Y[10],1323610764),new P(Y[11],3590304994),new P(Y[12],4068182383),new P(Y[13],991336113),new P(Y[14],633803317),new P(Y[15],3479774868),new P(Y[16],2666613458),new P(Y[17],944711139),new P(Y[18],2341262773),new P(Y[19],2007800933),new P(Y[20],1495990901),new P(Y[21],1856431235),new P(Y[22],3175218132),new P(Y[23],2198950837),new P(Y[24],3999719339),new P(Y[25],766784016),new P(Y[26],2566594879),new P(Y[27],3203337956),new P(Y[28],1034457026),new P(Y[29],2466948901),new P(Y[30],3758326383),new P(Y[31],168717936),new P(Y[32],1188179964),new P(Y[33],1546045734),new P(Y[34],1522805485),new P(Y[35],2643833823),new P(Y[36],2343527390),new P(Y[37],1014477480),new P(Y[38],1206759142),new P(Y[39],344077627),new P(Y[40],1290863460),new P(Y[41],3158454273),new P(Y[42],3505952657),new P(Y[43],106217008),new P(Y[44],3606008344),new P(Y[45],1432725776),new P(Y[46],1467031594),new P(Y[47],851169720),new P(Y[48],3100823752),new P(Y[49],1363258195),new P(Y[50],3750685593),new P(Y[51],3785050280),new P(Y[52],3318307427),new P(Y[53],3812723403),new P(Y[54],2003034995),new P(Y[55],3602036899),new P(Y[56],1575990012),new P(Y[57],1125592928),new P(Y[58],2716904306),new P(Y[59],442776044),new P(Y[60],593698344),new P(Y[61],3733110249),new P(Y[62],2999351573),new P(Y[63],3815920427),new P(3391569614,3928383900),new P(3515267271,566280711),new P(3940187606,3454069534),new P(4118630271,4000239992),new P(116418474,1914138554),new P(174292421,2731055270),new P(289380356,3203993006),new P(460393269,320620315),new P(685471733,587496836),new P(852142971,1086792851),new P(1017036298,365543100),new P(1126000580,2618297676),new P(1288033470,3409855158),new P(1501505948,4234509866),new P(1607167915,987167468),new P(1816402316,1246189591)];function La(e){return e==="SHA-384"?[new P(3418070365,ut[0]),new P(1654270250,ut[1]),new P(2438529370,ut[2]),new P(355462360,ut[3]),new P(1731405415,ut[4]),new P(41048885895,ut[5]),new P(3675008525,ut[6]),new P(1203062813,ut[7])]:[new P(ft[0],4089235720),new P(ft[1],2227873595),new P(ft[2],4271175723),new P(ft[3],1595750129),new P(ft[4],2917565137),new P(ft[5],725511199),new P(ft[6],4215389547),new P(ft[7],327033209)]}function $a(e,t){let n,r,a,i,l,s,u,o,c,x,f,g;const h=[];for(n=t[0],r=t[1],a=t[2],i=t[3],l=t[4],s=t[5],u=t[6],o=t[7],f=0;f<80;f+=1)f<16?(g=2*f,h[f]=new P(e[g],e[g+1])):h[f]=sf(lf(h[f-2]),h[f-7],uf(h[f-15]),h[f-16]),c=cf(o,ff(l),(y=s,b=u,new P((d=l).N&y.N^~d.N&b.N,d.I&y.I^~d.I&b.I)),df[f],h[f]),x=Je(of(n),af(n,r,a)),o=u,u=s,s=l,l=Je(i,c),i=a,a=r,r=n,n=Je(c,x);var d,y,b;return t[0]=Je(n,t[0]),t[1]=Je(r,t[1]),t[2]=Je(a,t[2]),t[3]=Je(i,t[3]),t[4]=Je(l,t[4]),t[5]=Je(s,t[5]),t[6]=Je(u,t[6]),t[7]=Je(o,t[7]),t}let xf=class extends ln{constructor(e,t,n){if(e!=="SHA-384"&&e!=="SHA-512")throw new Error(br);super(e,t,n);const r=n||{};this.g=this.Y,this.M=!0,this.T=-1,this.C=Vt(this.t,this.i,this.T),this.v=$a,this.L=function(a){return a.slice()},this.B=La,this.F=function(a,i,l,s){return function(u,o,c,x,f){let g,h;const d=31+(o+129>>>10<<5),y=o+c;for(;u.length<=d;)u.push(0);for(u[o>>>5]|=128<<24-o%32,u[d]=4294967295&y,u[d-1]=y/Cr|0,g=0;g<u.length;g+=32)x=$a(u.slice(g,g+32),x);return h=f==="SHA-384"?[x[0].N,x[0].I,x[1].N,x[1].I,x[2].N,x[2].I,x[3].N,x[3].I,x[4].N,x[4].I,x[5].N,x[5].I]:[x[0].N,x[0].I,x[1].N,x[1].I,x[2].N,x[2].I,x[3].N,x[3].I,x[4].N,x[4].I,x[5].N,x[5].I,x[6].N,x[6].I,x[7].N,x[7].I],h}(a,i,l,s,e)},this.U=La(e),this.m=1024,this.R=e==="SHA-384"?384:512,this.K=!1,r.hmacKey&&this.k(mt("hmacKey",r.hmacKey,this.T))}};const pf=[new P(0,1),new P(0,32898),new P(2147483648,32906),new P(2147483648,2147516416),new P(0,32907),new P(0,2147483649),new P(2147483648,2147516545),new P(2147483648,32777),new P(0,138),new P(0,136),new P(0,2147516425),new P(0,2147483658),new P(0,2147516555),new P(2147483648,139),new P(2147483648,32905),new P(2147483648,32771),new P(2147483648,32770),new P(2147483648,128),new P(0,32778),new P(2147483648,2147483658),new P(2147483648,2147516545),new P(2147483648,32896),new P(0,2147483649),new P(2147483648,2147516424)],hf=[[0,36,3,41,18],[1,44,10,45,2],[62,6,43,15,61],[28,55,25,21,56],[27,20,39,8,14]];function E0(e){let t;const n=[];for(t=0;t<5;t+=1)n[t]=[new P(0,0),new P(0,0),new P(0,0),new P(0,0),new P(0,0)];return n}function gf(e){let t;const n=[];for(t=0;t<5;t+=1)n[t]=e[t].slice();return n}function Mr(e,t){let n,r,a,i;const l=[],s=[];if(e!==null)for(r=0;r<e.length;r+=2)t[(r>>>1)%5][(r>>>1)/5|0]=sr(t[(r>>>1)%5][(r>>>1)/5|0],new P(e[r+1],e[r]));for(n=0;n<24;n+=1){for(i=E0(),r=0;r<5;r+=1)l[r]=(u=t[r][0],o=t[r][1],c=t[r][2],x=t[r][3],f=t[r][4],new P(u.N^o.N^c.N^x.N^f.N,u.I^o.I^c.I^x.I^f.I));for(r=0;r<5;r+=1)s[r]=sr(l[(r+4)%5],ja(l[(r+1)%5],1));for(r=0;r<5;r+=1)for(a=0;a<5;a+=1)t[r][a]=sr(t[r][a],s[r]);for(r=0;r<5;r+=1)for(a=0;a<5;a+=1)i[a][(2*r+3*a)%5]=ja(t[r][a],hf[r][a]);for(r=0;r<5;r+=1)for(a=0;a<5;a+=1)t[r][a]=sr(i[r][a],new P(~i[(r+1)%5][a].N&i[(r+2)%5][a].N,~i[(r+1)%5][a].I&i[(r+2)%5][a].I));t[0][0]=sr(t[0][0],pf[n])}var u,o,c,x,f;return t}function Do(e){let t,n,r=0;const a=[0,0],i=[4294967295&e,e/Cr&2097151];for(t=6;t>=0;t--)n=i[t>>2]>>>8*t&255,n===0&&r===0||(a[r+1>>2]|=n<<8*(r+1),r+=1);return r=r!==0?r:1,a[0]|=r,{value:r+1>4?a:[a[0]],binLen:8+8*r}}function Tn(e){return Gr(Do(e.binLen),e)}function Ua(e,t){let n,r=Do(t);r=Gr(r,e);const a=t>>>2,i=(a-r.value.length%a)%a;for(n=0;n<i;n++)r.value.push(0);return r.value}let vf=class extends ln{constructor(e,t,n){let r=6,a=0;super(e,t,n);const i=n||{};if(this.numRounds!==1){if(i.kmacKey||i.hmacKey)throw new Error(bo);if(this.o==="CSHAKE128"||this.o==="CSHAKE256")throw new Error("Cannot set numRounds for CSHAKE variants")}switch(this.T=1,this.C=Vt(this.t,this.i,this.T),this.v=Mr,this.L=gf,this.B=E0,this.U=E0(),this.K=!1,e){case"SHA3-224":this.m=a=1152,this.R=224,this.M=!0,this.g=this.Y;break;case"SHA3-256":this.m=a=1088,this.R=256,this.M=!0,this.g=this.Y;break;case"SHA3-384":this.m=a=832,this.R=384,this.M=!0,this.g=this.Y;break;case"SHA3-512":this.m=a=576,this.R=512,this.M=!0,this.g=this.Y;break;case"SHAKE128":r=31,this.m=a=1344,this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"SHAKE256":r=31,this.m=a=1088,this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"KMAC128":r=4,this.m=a=1344,this.X(n),this.R=-1,this.K=!0,this.M=!1,this.g=this._;break;case"KMAC256":r=4,this.m=a=1088,this.X(n),this.R=-1,this.K=!0,this.M=!1,this.g=this._;break;case"CSHAKE128":this.m=a=1344,r=this.O(n),this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"CSHAKE256":this.m=a=1088,r=this.O(n),this.R=-1,this.K=!0,this.M=!1,this.g=null;break;default:throw new Error(br)}this.F=function(l,s,u,o,c){return function(x,f,g,h,d,y,b){let m,v,C=0;const A=[],D=d>>>5,w=f>>>5;for(m=0;m<w&&f>=d;m+=D)h=Mr(x.slice(m,m+D),h),f-=d;for(x=x.slice(m),f%=d;x.length<D;)x.push(0);for(m=f>>>3,x[m>>2]^=y<<m%4*8,x[D-1]^=2147483648,h=Mr(x,h);32*A.length<b&&(v=h[C%5][C/5|0],A.push(v.I),!(32*A.length>=b));)A.push(v.N),C+=1,64*C%d==0&&(Mr(null,h),C=0);return A}(l,s,0,o,a,r,c)},i.hmacKey&&this.k(mt("hmacKey",i.hmacKey,this.T))}O(e,t){const n=function(a){const i=a||{};return{funcName:mt("funcName",i.funcName,1,{value:[],binLen:0}),customization:mt("Customization",i.customization,1,{value:[],binLen:0})}}(e||{});t&&(n.funcName=t);const r=Gr(Tn(n.funcName),Tn(n.customization));if(n.customization.binLen!==0||n.funcName.binLen!==0){const a=Ua(r,this.m>>>3);for(let i=0;i<a.length;i+=this.m>>>5)this.U=this.v(a.slice(i,i+(this.m>>>5)),this.U),this.A+=this.m;return 4}return 31}X(e){const t=function(r){const a=r||{};return{kmacKey:mt("kmacKey",a.kmacKey,1),funcName:{value:[1128353099],binLen:32},customization:mt("Customization",a.customization,1,{value:[],binLen:0})}}(e||{});this.O(e,t.funcName);const n=Ua(Tn(t.kmacKey),this.m>>>3);for(let r=0;r<n.length;r+=this.m>>>5)this.U=this.v(n.slice(r,r+(this.m>>>5)),this.U),this.A+=this.m;this.H=!0}_(e){const t=Gr({value:this.h.slice(),binLen:this.u},function(n){let r,a,i=0;const l=[0,0],s=[4294967295&n,n/Cr&2097151];for(r=6;r>=0;r--)a=s[r>>2]>>>8*r&255,a===0&&i===0||(l[i>>2]|=a<<8*i,i+=1);return i=i!==0?i:1,l[i>>2]|=i<<8*i,{value:i+1>4?l:[l[0]],binLen:8+8*i}}(e.outputLen));return this.F(t.value,t.binLen,this.A,this.L(this.U),e.outputLen)}};class mf{constructor(t,n,r){if(t=="SHA-1")this.P=new rf(t,n,r);else if(t=="SHA-224"||t=="SHA-256")this.P=new nf(t,n,r);else if(t=="SHA-384"||t=="SHA-512")this.P=new xf(t,n,r);else{if(t!="SHA3-224"&&t!="SHA3-256"&&t!="SHA3-384"&&t!="SHA3-512"&&t!="SHAKE128"&&t!="SHAKE256"&&t!="CSHAKE128"&&t!="CSHAKE256"&&t!="KMAC128"&&t!="KMAC256")throw new Error(br);this.P=new vf(t,n,r)}}update(t){return this.P.update(t),this}getHash(t,n){return this.P.getHash(t,n)}setHMACKey(t,n,r){this.P.setHMACKey(t,n,r)}getHMAC(t,n){return this.P.getHMAC(t,n)}}class yf{static generate(t,n){const r={digits:6,algorithm:"SHA-1",period:30,timestamp:Date.now(),...n},a=Math.floor(r.timestamp/1e3),i=this.leftpad(this.dec2hex(Math.floor(a/r.period)),16,"0"),l=new mf(r.algorithm,"HEX");l.setHMACKey(this.base32tohex(t),"HEX"),l.update(i);const s=l.getHMAC("HEX"),u=this.hex2dec(s.substring(s.length-1));let o=(this.hex2dec(s.substr(u*2,8))&this.hex2dec("7fffffff"))+"";const c=Math.max(o.length-r.digits,0);o=o.substring(c,c+r.digits);const x=Math.ceil((r.timestamp+1)/(r.period*1e3))*r.period*1e3;return{otp:o,expires:x}}static hex2dec(t){return parseInt(t,16)}static dec2hex(t){return(t<15.5?"0":"")+Math.round(t).toString(16)}static base32tohex(t){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";let r="",a="";const i=t.replace(/=+$/,"");for(let l=0;l<i.length;l++){const s=n.indexOf(t.charAt(l).toUpperCase());if(s===-1)throw new Error("Invalid base32 character in key");r+=this.leftpad(s.toString(2),5,"0")}for(let l=0;l+8<=r.length;l+=8){const s=r.substr(l,8);a=a+this.leftpad(parseInt(s,2).toString(16),2,"0")}return a}static leftpad(t,n,r){return n+1>=t.length&&(t=Array(n+1-t.length).join(r)+t),t}}var Fo={exports:{}};function Cf(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var _n={exports:{}};const bf={},Ef=Object.freeze(Object.defineProperty({__proto__:null,default:bf},Symbol.toStringTag,{value:"Module"})),Af=Yo(Ef);var Ha;function se(){return Ha||(Ha=1,function(e,t){(function(n,r){e.exports=r()})(ie,function(){var n=n||function(r,a){var i;if(typeof window<"u"&&window.crypto&&(i=window.crypto),typeof self<"u"&&self.crypto&&(i=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(i=globalThis.crypto),!i&&typeof window<"u"&&window.msCrypto&&(i=window.msCrypto),!i&&typeof ie<"u"&&ie.crypto&&(i=ie.crypto),!i&&typeof Cf=="function")try{i=Af}catch{}var l=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function m(){}return function(v){var C;return m.prototype=v,C=new m,m.prototype=null,C}}(),u={},o=u.lib={},c=o.Base=function(){return{extend:function(m){var v=s(this);return m&&v.mixIn(m),(!v.hasOwnProperty("init")||this.init===v.init)&&(v.init=function(){v.$super.init.apply(this,arguments)}),v.init.prototype=v,v.$super=this,v},create:function(){var m=this.extend();return m.init.apply(m,arguments),m},init:function(){},mixIn:function(m){for(var v in m)m.hasOwnProperty(v)&&(this[v]=m[v]);m.hasOwnProperty("toString")&&(this.toString=m.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),x=o.WordArray=c.extend({init:function(m,v){m=this.words=m||[],v!=a?this.sigBytes=v:this.sigBytes=m.length*4},toString:function(m){return(m||g).stringify(this)},concat:function(m){var v=this.words,C=m.words,A=this.sigBytes,D=m.sigBytes;if(this.clamp(),A%4)for(var w=0;w<D;w++){var _=C[w>>>2]>>>24-w%4*8&255;v[A+w>>>2]|=_<<24-(A+w)%4*8}else for(var N=0;N<D;N+=4)v[A+N>>>2]=C[N>>>2];return this.sigBytes+=D,this},clamp:function(){var m=this.words,v=this.sigBytes;m[v>>>2]&=4294967295<<32-v%4*8,m.length=r.ceil(v/4)},clone:function(){var m=c.clone.call(this);return m.words=this.words.slice(0),m},random:function(m){for(var v=[],C=0;C<m;C+=4)v.push(l());return new x.init(v,m)}}),f=u.enc={},g=f.Hex={stringify:function(m){for(var v=m.words,C=m.sigBytes,A=[],D=0;D<C;D++){var w=v[D>>>2]>>>24-D%4*8&255;A.push((w>>>4).toString(16)),A.push((w&15).toString(16))}return A.join("")},parse:function(m){for(var v=m.length,C=[],A=0;A<v;A+=2)C[A>>>3]|=parseInt(m.substr(A,2),16)<<24-A%8*4;return new x.init(C,v/2)}},h=f.Latin1={stringify:function(m){for(var v=m.words,C=m.sigBytes,A=[],D=0;D<C;D++){var w=v[D>>>2]>>>24-D%4*8&255;A.push(String.fromCharCode(w))}return A.join("")},parse:function(m){for(var v=m.length,C=[],A=0;A<v;A++)C[A>>>2]|=(m.charCodeAt(A)&255)<<24-A%4*8;return new x.init(C,v)}},d=f.Utf8={stringify:function(m){try{return decodeURIComponent(escape(h.stringify(m)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(m){return h.parse(unescape(encodeURIComponent(m)))}},y=o.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new x.init,this._nDataBytes=0},_append:function(m){typeof m=="string"&&(m=d.parse(m)),this._data.concat(m),this._nDataBytes+=m.sigBytes},_process:function(m){var v,C=this._data,A=C.words,D=C.sigBytes,w=this.blockSize,_=w*4,N=D/_;m?N=r.ceil(N):N=r.max((N|0)-this._minBufferSize,0);var p=N*w,B=r.min(p*4,D);if(p){for(var R=0;R<p;R+=w)this._doProcessBlock(A,R);v=A.splice(0,p),C.sigBytes-=B}return new x.init(v,B)},clone:function(){var m=c.clone.call(this);return m._data=this._data.clone(),m},_minBufferSize:0});o.Hasher=y.extend({cfg:c.extend(),init:function(m){this.cfg=this.cfg.extend(m),this.reset()},reset:function(){y.reset.call(this),this._doReset()},update:function(m){return this._append(m),this._process(),this},finalize:function(m){m&&this._append(m);var v=this._doFinalize();return v},blockSize:16,_createHelper:function(m){return function(v,C){return new m.init(C).finalize(v)}},_createHmacHelper:function(m){return function(v,C){return new b.HMAC.init(m,C).finalize(v)}}});var b=u.algo={};return u}(Math);return n})}(_n)),_n.exports}var Rn={exports:{}},za;function un(){return za||(za=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(r){var a=n,i=a.lib,l=i.Base,s=i.WordArray,u=a.x64={};u.Word=l.extend({init:function(o,c){this.high=o,this.low=c}}),u.WordArray=l.extend({init:function(o,c){o=this.words=o||[],c!=r?this.sigBytes=c:this.sigBytes=o.length*8},toX32:function(){for(var o=this.words,c=o.length,x=[],f=0;f<c;f++){var g=o[f];x.push(g.high),x.push(g.low)}return s.create(x,this.sigBytes)},clone:function(){for(var o=l.clone.call(this),c=o.words=this.words.slice(0),x=c.length,f=0;f<x;f++)c[f]=c[f].clone();return o}})}(),n})}(Rn)),Rn.exports}var Pn={exports:{}},Wa;function Sf(){return Wa||(Wa=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(){if(typeof ArrayBuffer=="function"){var r=n,a=r.lib,i=a.WordArray,l=i.init,s=i.init=function(u){if(u instanceof ArrayBuffer&&(u=new Uint8Array(u)),(u instanceof Int8Array||typeof Uint8ClampedArray<"u"&&u instanceof Uint8ClampedArray||u instanceof Int16Array||u instanceof Uint16Array||u instanceof Int32Array||u instanceof Uint32Array||u instanceof Float32Array||u instanceof Float64Array)&&(u=new Uint8Array(u.buffer,u.byteOffset,u.byteLength)),u instanceof Uint8Array){for(var o=u.byteLength,c=[],x=0;x<o;x++)c[x>>>2]|=u[x]<<24-x%4*8;l.call(this,c,o)}else l.apply(this,arguments)};s.prototype=i}}(),n.lib.WordArray})}(Pn)),Pn.exports}var In={exports:{}},Ka;function Bf(){return Ka||(Ka=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.WordArray,l=r.enc;l.Utf16=l.Utf16BE={stringify:function(u){for(var o=u.words,c=u.sigBytes,x=[],f=0;f<c;f+=2){var g=o[f>>>2]>>>16-f%4*8&65535;x.push(String.fromCharCode(g))}return x.join("")},parse:function(u){for(var o=u.length,c=[],x=0;x<o;x++)c[x>>>1]|=u.charCodeAt(x)<<16-x%2*16;return i.create(c,o*2)}},l.Utf16LE={stringify:function(u){for(var o=u.words,c=u.sigBytes,x=[],f=0;f<c;f+=2){var g=s(o[f>>>2]>>>16-f%4*8&65535);x.push(String.fromCharCode(g))}return x.join("")},parse:function(u){for(var o=u.length,c=[],x=0;x<o;x++)c[x>>>1]|=s(u.charCodeAt(x)<<16-x%2*16);return i.create(c,o*2)}};function s(u){return u<<8&4278255360|u>>>8&16711935}}(),n.enc.Utf16})}(In)),In.exports}var Mn={exports:{}},Ga;function _t(){return Ga||(Ga=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.WordArray,l=r.enc;l.Base64={stringify:function(u){var o=u.words,c=u.sigBytes,x=this._map;u.clamp();for(var f=[],g=0;g<c;g+=3)for(var h=o[g>>>2]>>>24-g%4*8&255,d=o[g+1>>>2]>>>24-(g+1)%4*8&255,y=o[g+2>>>2]>>>24-(g+2)%4*8&255,b=h<<16|d<<8|y,m=0;m<4&&g+m*.75<c;m++)f.push(x.charAt(b>>>6*(3-m)&63));var v=x.charAt(64);if(v)for(;f.length%4;)f.push(v);return f.join("")},parse:function(u){var o=u.length,c=this._map,x=this._reverseMap;if(!x){x=this._reverseMap=[];for(var f=0;f<c.length;f++)x[c.charCodeAt(f)]=f}var g=c.charAt(64);if(g){var h=u.indexOf(g);h!==-1&&(o=h)}return s(u,o,x)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function s(u,o,c){for(var x=[],f=0,g=0;g<o;g++)if(g%4){var h=c[u.charCodeAt(g-1)]<<g%4*2,d=c[u.charCodeAt(g)]>>>6-g%4*2,y=h|d;x[f>>>2]|=y<<24-f%4*8,f++}return i.create(x,f)}}(),n.enc.Base64})}(Mn)),Mn.exports}var Nn={exports:{}},Va;function wf(){return Va||(Va=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.WordArray,l=r.enc;l.Base64url={stringify:function(u,o){o===void 0&&(o=!0);var c=u.words,x=u.sigBytes,f=o?this._safe_map:this._map;u.clamp();for(var g=[],h=0;h<x;h+=3)for(var d=c[h>>>2]>>>24-h%4*8&255,y=c[h+1>>>2]>>>24-(h+1)%4*8&255,b=c[h+2>>>2]>>>24-(h+2)%4*8&255,m=d<<16|y<<8|b,v=0;v<4&&h+v*.75<x;v++)g.push(f.charAt(m>>>6*(3-v)&63));var C=f.charAt(64);if(C)for(;g.length%4;)g.push(C);return g.join("")},parse:function(u,o){o===void 0&&(o=!0);var c=u.length,x=o?this._safe_map:this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var g=0;g<x.length;g++)f[x.charCodeAt(g)]=g}var h=x.charAt(64);if(h){var d=u.indexOf(h);d!==-1&&(c=d)}return s(u,c,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function s(u,o,c){for(var x=[],f=0,g=0;g<o;g++)if(g%4){var h=c[u.charCodeAt(g-1)]<<g%4*2,d=c[u.charCodeAt(g)]>>>6-g%4*2,y=h|d;x[f>>>2]|=y<<24-f%4*8,f++}return i.create(x,f)}}(),n.enc.Base64url})}(Nn)),Nn.exports}var On={exports:{}},Ya;function Rt(){return Ya||(Ya=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(r){var a=n,i=a.lib,l=i.WordArray,s=i.Hasher,u=a.algo,o=[];(function(){for(var d=0;d<64;d++)o[d]=r.abs(r.sin(d+1))*4294967296|0})();var c=u.MD5=s.extend({_doReset:function(){this._hash=new l.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(d,y){for(var b=0;b<16;b++){var m=y+b,v=d[m];d[m]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360}var C=this._hash.words,A=d[y+0],D=d[y+1],w=d[y+2],_=d[y+3],N=d[y+4],p=d[y+5],B=d[y+6],R=d[y+7],T=d[y+8],H=d[y+9],z=d[y+10],q=d[y+11],ee=d[y+12],re=d[y+13],ne=d[y+14],j=d[y+15],k=C[0],I=C[1],M=C[2],F=C[3];k=x(k,I,M,F,A,7,o[0]),F=x(F,k,I,M,D,12,o[1]),M=x(M,F,k,I,w,17,o[2]),I=x(I,M,F,k,_,22,o[3]),k=x(k,I,M,F,N,7,o[4]),F=x(F,k,I,M,p,12,o[5]),M=x(M,F,k,I,B,17,o[6]),I=x(I,M,F,k,R,22,o[7]),k=x(k,I,M,F,T,7,o[8]),F=x(F,k,I,M,H,12,o[9]),M=x(M,F,k,I,z,17,o[10]),I=x(I,M,F,k,q,22,o[11]),k=x(k,I,M,F,ee,7,o[12]),F=x(F,k,I,M,re,12,o[13]),M=x(M,F,k,I,ne,17,o[14]),I=x(I,M,F,k,j,22,o[15]),k=f(k,I,M,F,D,5,o[16]),F=f(F,k,I,M,B,9,o[17]),M=f(M,F,k,I,q,14,o[18]),I=f(I,M,F,k,A,20,o[19]),k=f(k,I,M,F,p,5,o[20]),F=f(F,k,I,M,z,9,o[21]),M=f(M,F,k,I,j,14,o[22]),I=f(I,M,F,k,N,20,o[23]),k=f(k,I,M,F,H,5,o[24]),F=f(F,k,I,M,ne,9,o[25]),M=f(M,F,k,I,_,14,o[26]),I=f(I,M,F,k,T,20,o[27]),k=f(k,I,M,F,re,5,o[28]),F=f(F,k,I,M,w,9,o[29]),M=f(M,F,k,I,R,14,o[30]),I=f(I,M,F,k,ee,20,o[31]),k=g(k,I,M,F,p,4,o[32]),F=g(F,k,I,M,T,11,o[33]),M=g(M,F,k,I,q,16,o[34]),I=g(I,M,F,k,ne,23,o[35]),k=g(k,I,M,F,D,4,o[36]),F=g(F,k,I,M,N,11,o[37]),M=g(M,F,k,I,R,16,o[38]),I=g(I,M,F,k,z,23,o[39]),k=g(k,I,M,F,re,4,o[40]),F=g(F,k,I,M,A,11,o[41]),M=g(M,F,k,I,_,16,o[42]),I=g(I,M,F,k,B,23,o[43]),k=g(k,I,M,F,H,4,o[44]),F=g(F,k,I,M,ee,11,o[45]),M=g(M,F,k,I,j,16,o[46]),I=g(I,M,F,k,w,23,o[47]),k=h(k,I,M,F,A,6,o[48]),F=h(F,k,I,M,R,10,o[49]),M=h(M,F,k,I,ne,15,o[50]),I=h(I,M,F,k,p,21,o[51]),k=h(k,I,M,F,ee,6,o[52]),F=h(F,k,I,M,_,10,o[53]),M=h(M,F,k,I,z,15,o[54]),I=h(I,M,F,k,D,21,o[55]),k=h(k,I,M,F,T,6,o[56]),F=h(F,k,I,M,j,10,o[57]),M=h(M,F,k,I,B,15,o[58]),I=h(I,M,F,k,re,21,o[59]),k=h(k,I,M,F,N,6,o[60]),F=h(F,k,I,M,q,10,o[61]),M=h(M,F,k,I,w,15,o[62]),I=h(I,M,F,k,H,21,o[63]),C[0]=C[0]+k|0,C[1]=C[1]+I|0,C[2]=C[2]+M|0,C[3]=C[3]+F|0},_doFinalize:function(){var d=this._data,y=d.words,b=this._nDataBytes*8,m=d.sigBytes*8;y[m>>>5]|=128<<24-m%32;var v=r.floor(b/4294967296),C=b;y[(m+64>>>9<<4)+15]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,y[(m+64>>>9<<4)+14]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,d.sigBytes=(y.length+1)*4,this._process();for(var A=this._hash,D=A.words,w=0;w<4;w++){var _=D[w];D[w]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}return A},clone:function(){var d=s.clone.call(this);return d._hash=this._hash.clone(),d}});function x(d,y,b,m,v,C,A){var D=d+(y&b|~y&m)+v+A;return(D<<C|D>>>32-C)+y}function f(d,y,b,m,v,C,A){var D=d+(y&m|b&~m)+v+A;return(D<<C|D>>>32-C)+y}function g(d,y,b,m,v,C,A){var D=d+(y^b^m)+v+A;return(D<<C|D>>>32-C)+y}function h(d,y,b,m,v,C,A){var D=d+(b^(y|~m))+v+A;return(D<<C|D>>>32-C)+y}a.MD5=s._createHelper(c),a.HmacMD5=s._createHmacHelper(c)}(Math),n.MD5})}(On)),On.exports}var jn={exports:{}},qa;function ko(){return qa||(qa=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.WordArray,l=a.Hasher,s=r.algo,u=[],o=s.SHA1=l.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,x){for(var f=this._hash.words,g=f[0],h=f[1],d=f[2],y=f[3],b=f[4],m=0;m<80;m++){if(m<16)u[m]=c[x+m]|0;else{var v=u[m-3]^u[m-8]^u[m-14]^u[m-16];u[m]=v<<1|v>>>31}var C=(g<<5|g>>>27)+b+u[m];m<20?C+=(h&d|~h&y)+1518500249:m<40?C+=(h^d^y)+1859775393:m<60?C+=(h&d|h&y|d&y)-1894007588:C+=(h^d^y)-899497514,b=y,y=d,d=h<<30|h>>>2,h=g,g=C}f[0]=f[0]+g|0,f[1]=f[1]+h|0,f[2]=f[2]+d|0,f[3]=f[3]+y|0,f[4]=f[4]+b|0},_doFinalize:function(){var c=this._data,x=c.words,f=this._nDataBytes*8,g=c.sigBytes*8;return x[g>>>5]|=128<<24-g%32,x[(g+64>>>9<<4)+14]=Math.floor(f/4294967296),x[(g+64>>>9<<4)+15]=f,c.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var c=l.clone.call(this);return c._hash=this._hash.clone(),c}});r.SHA1=l._createHelper(o),r.HmacSHA1=l._createHmacHelper(o)}(),n.SHA1})}(jn)),jn.exports}var Ln={exports:{}},Xa;function L0(){return Xa||(Xa=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(r){var a=n,i=a.lib,l=i.WordArray,s=i.Hasher,u=a.algo,o=[],c=[];(function(){function g(b){for(var m=r.sqrt(b),v=2;v<=m;v++)if(!(b%v))return!1;return!0}function h(b){return(b-(b|0))*4294967296|0}for(var d=2,y=0;y<64;)g(d)&&(y<8&&(o[y]=h(r.pow(d,1/2))),c[y]=h(r.pow(d,1/3)),y++),d++})();var x=[],f=u.SHA256=s.extend({_doReset:function(){this._hash=new l.init(o.slice(0))},_doProcessBlock:function(g,h){for(var d=this._hash.words,y=d[0],b=d[1],m=d[2],v=d[3],C=d[4],A=d[5],D=d[6],w=d[7],_=0;_<64;_++){if(_<16)x[_]=g[h+_]|0;else{var N=x[_-15],p=(N<<25|N>>>7)^(N<<14|N>>>18)^N>>>3,B=x[_-2],R=(B<<15|B>>>17)^(B<<13|B>>>19)^B>>>10;x[_]=p+x[_-7]+R+x[_-16]}var T=C&A^~C&D,H=y&b^y&m^b&m,z=(y<<30|y>>>2)^(y<<19|y>>>13)^(y<<10|y>>>22),q=(C<<26|C>>>6)^(C<<21|C>>>11)^(C<<7|C>>>25),ee=w+q+T+c[_]+x[_],re=z+H;w=D,D=A,A=C,C=v+ee|0,v=m,m=b,b=y,y=ee+re|0}d[0]=d[0]+y|0,d[1]=d[1]+b|0,d[2]=d[2]+m|0,d[3]=d[3]+v|0,d[4]=d[4]+C|0,d[5]=d[5]+A|0,d[6]=d[6]+D|0,d[7]=d[7]+w|0},_doFinalize:function(){var g=this._data,h=g.words,d=this._nDataBytes*8,y=g.sigBytes*8;return h[y>>>5]|=128<<24-y%32,h[(y+64>>>9<<4)+14]=r.floor(d/4294967296),h[(y+64>>>9<<4)+15]=d,g.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var g=s.clone.call(this);return g._hash=this._hash.clone(),g}});a.SHA256=s._createHelper(f),a.HmacSHA256=s._createHmacHelper(f)}(Math),n.SHA256})}(Ln)),Ln.exports}var $n={exports:{}},Za;function Df(){return Za||(Za=1,function(e,t){(function(n,r,a){e.exports=r(se(),L0())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.WordArray,l=r.algo,s=l.SHA256,u=l.SHA224=s.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var o=s._doFinalize.call(this);return o.sigBytes-=4,o}});r.SHA224=s._createHelper(u),r.HmacSHA224=s._createHmacHelper(u)}(),n.SHA224})}($n)),$n.exports}var Un={exports:{}},Ja;function To(){return Ja||(Ja=1,function(e,t){(function(n,r,a){e.exports=r(se(),un())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.Hasher,l=r.x64,s=l.Word,u=l.WordArray,o=r.algo;function c(){return s.create.apply(s,arguments)}var x=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],f=[];(function(){for(var h=0;h<80;h++)f[h]=c()})();var g=o.SHA512=i.extend({_doReset:function(){this._hash=new u.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(h,d){for(var y=this._hash.words,b=y[0],m=y[1],v=y[2],C=y[3],A=y[4],D=y[5],w=y[6],_=y[7],N=b.high,p=b.low,B=m.high,R=m.low,T=v.high,H=v.low,z=C.high,q=C.low,ee=A.high,re=A.low,ne=D.high,j=D.low,k=w.high,I=w.low,M=_.high,F=_.low,U=N,G=p,X=B,K=R,ae=T,te=H,we=z,W=q,ye=ee,De=re,We=ne,qe=j,At=k,ht=I,gt=M,St=F,$e=0;$e<80;$e++){var Pe,et,Pt=f[$e];if($e<16)et=Pt.high=h[d+$e*2]|0,Pe=Pt.low=h[d+$e*2+1]|0;else{var Yt=f[$e-15],ct=Yt.high,Xe=Yt.low,fn=(ct>>>1|Xe<<31)^(ct>>>8|Xe<<24)^ct>>>7,qt=(Xe>>>1|ct<<31)^(Xe>>>8|ct<<24)^(Xe>>>7|ct<<25),Xt=f[$e-2],tt=Xt.high,Bt=Xt.low,dn=(tt>>>19|Bt<<13)^(tt<<3|Bt>>>29)^tt>>>6,Er=(Bt>>>19|tt<<13)^(Bt<<3|tt>>>29)^(Bt>>>6|tt<<26),Ar=f[$e-7],xn=Ar.high,pn=Ar.low,Sr=f[$e-16],Zt=Sr.high,Jt=Sr.low;Pe=qt+pn,et=fn+xn+(Pe>>>0<qt>>>0?1:0),Pe=Pe+Er,et=et+dn+(Pe>>>0<Er>>>0?1:0),Pe=Pe+Jt,et=et+Zt+(Pe>>>0<Jt>>>0?1:0),Pt.high=et,Pt.low=Pe}var vt=ye&We^~ye&At,It=De&qe^~De&ht,Qt=U&X^U&ae^X&ae,Br=G&K^G&te^K&te,hn=(U>>>28|G<<4)^(U<<30|G>>>2)^(U<<25|G>>>7),er=(G>>>28|U<<4)^(G<<30|U>>>2)^(G<<25|U>>>7),gn=(ye>>>14|De<<18)^(ye>>>18|De<<14)^(ye<<23|De>>>9),wr=(De>>>14|ye<<18)^(De>>>18|ye<<14)^(De<<23|ye>>>9),tr=x[$e],vn=tr.high,Dr=tr.low,Ie=St+wr,Ze=gt+gn+(Ie>>>0<St>>>0?1:0),Ie=Ie+It,Ze=Ze+vt+(Ie>>>0<It>>>0?1:0),Ie=Ie+Dr,Ze=Ze+vn+(Ie>>>0<Dr>>>0?1:0),Ie=Ie+Pe,Ze=Ze+et+(Ie>>>0<Pe>>>0?1:0),Fr=er+Br,mn=hn+Qt+(Fr>>>0<er>>>0?1:0);gt=At,St=ht,At=We,ht=qe,We=ye,qe=De,De=W+Ie|0,ye=we+Ze+(De>>>0<W>>>0?1:0)|0,we=ae,W=te,ae=X,te=K,X=U,K=G,G=Ie+Fr|0,U=Ze+mn+(G>>>0<Ie>>>0?1:0)|0}p=b.low=p+G,b.high=N+U+(p>>>0<G>>>0?1:0),R=m.low=R+K,m.high=B+X+(R>>>0<K>>>0?1:0),H=v.low=H+te,v.high=T+ae+(H>>>0<te>>>0?1:0),q=C.low=q+W,C.high=z+we+(q>>>0<W>>>0?1:0),re=A.low=re+De,A.high=ee+ye+(re>>>0<De>>>0?1:0),j=D.low=j+qe,D.high=ne+We+(j>>>0<qe>>>0?1:0),I=w.low=I+ht,w.high=k+At+(I>>>0<ht>>>0?1:0),F=_.low=F+St,_.high=M+gt+(F>>>0<St>>>0?1:0)},_doFinalize:function(){var h=this._data,d=h.words,y=this._nDataBytes*8,b=h.sigBytes*8;d[b>>>5]|=128<<24-b%32,d[(b+128>>>10<<5)+30]=Math.floor(y/4294967296),d[(b+128>>>10<<5)+31]=y,h.sigBytes=d.length*4,this._process();var m=this._hash.toX32();return m},clone:function(){var h=i.clone.call(this);return h._hash=this._hash.clone(),h},blockSize:1024/32});r.SHA512=i._createHelper(g),r.HmacSHA512=i._createHmacHelper(g)}(),n.SHA512})}(Un)),Un.exports}var Hn={exports:{}},Qa;function Ff(){return Qa||(Qa=1,function(e,t){(function(n,r,a){e.exports=r(se(),un(),To())})(ie,function(n){return function(){var r=n,a=r.x64,i=a.Word,l=a.WordArray,s=r.algo,u=s.SHA512,o=s.SHA384=u.extend({_doReset:function(){this._hash=new l.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var c=u._doFinalize.call(this);return c.sigBytes-=16,c}});r.SHA384=u._createHelper(o),r.HmacSHA384=u._createHmacHelper(o)}(),n.SHA384})}(Hn)),Hn.exports}var zn={exports:{}},ei;function kf(){return ei||(ei=1,function(e,t){(function(n,r,a){e.exports=r(se(),un())})(ie,function(n){return function(r){var a=n,i=a.lib,l=i.WordArray,s=i.Hasher,u=a.x64,o=u.Word,c=a.algo,x=[],f=[],g=[];(function(){for(var y=1,b=0,m=0;m<24;m++){x[y+5*b]=(m+1)*(m+2)/2%64;var v=b%5,C=(2*y+3*b)%5;y=v,b=C}for(var y=0;y<5;y++)for(var b=0;b<5;b++)f[y+5*b]=b+(2*y+3*b)%5*5;for(var A=1,D=0;D<24;D++){for(var w=0,_=0,N=0;N<7;N++){if(A&1){var p=(1<<N)-1;p<32?_^=1<<p:w^=1<<p-32}A&128?A=A<<1^113:A<<=1}g[D]=o.create(w,_)}})();var h=[];(function(){for(var y=0;y<25;y++)h[y]=o.create()})();var d=c.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var y=this._state=[],b=0;b<25;b++)y[b]=new o.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(y,b){for(var m=this._state,v=this.blockSize/2,C=0;C<v;C++){var A=y[b+2*C],D=y[b+2*C+1];A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,D=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360;var w=m[C];w.high^=D,w.low^=A}for(var _=0;_<24;_++){for(var N=0;N<5;N++){for(var p=0,B=0,R=0;R<5;R++){var w=m[N+5*R];p^=w.high,B^=w.low}var T=h[N];T.high=p,T.low=B}for(var N=0;N<5;N++)for(var H=h[(N+4)%5],z=h[(N+1)%5],q=z.high,ee=z.low,p=H.high^(q<<1|ee>>>31),B=H.low^(ee<<1|q>>>31),R=0;R<5;R++){var w=m[N+5*R];w.high^=p,w.low^=B}for(var re=1;re<25;re++){var p,B,w=m[re],ne=w.high,j=w.low,k=x[re];k<32?(p=ne<<k|j>>>32-k,B=j<<k|ne>>>32-k):(p=j<<k-32|ne>>>64-k,B=ne<<k-32|j>>>64-k);var I=h[f[re]];I.high=p,I.low=B}var M=h[0],F=m[0];M.high=F.high,M.low=F.low;for(var N=0;N<5;N++)for(var R=0;R<5;R++){var re=N+5*R,w=m[re],U=h[re],G=h[(N+1)%5+5*R],X=h[(N+2)%5+5*R];w.high=U.high^~G.high&X.high,w.low=U.low^~G.low&X.low}var w=m[0],K=g[_];w.high^=K.high,w.low^=K.low}},_doFinalize:function(){var y=this._data,b=y.words;this._nDataBytes*8;var m=y.sigBytes*8,v=this.blockSize*32;b[m>>>5]|=1<<24-m%32,b[(r.ceil((m+1)/v)*v>>>5)-1]|=128,y.sigBytes=b.length*4,this._process();for(var C=this._state,A=this.cfg.outputLength/8,D=A/8,w=[],_=0;_<D;_++){var N=C[_],p=N.high,B=N.low;p=(p<<8|p>>>24)&16711935|(p<<24|p>>>8)&4278255360,B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,w.push(B),w.push(p)}return new l.init(w,A)},clone:function(){for(var y=s.clone.call(this),b=y._state=this._state.slice(0),m=0;m<25;m++)b[m]=b[m].clone();return y}});a.SHA3=s._createHelper(d),a.HmacSHA3=s._createHmacHelper(d)}(Math),n.SHA3})}(zn)),zn.exports}var Wn={exports:{}},ti;function Tf(){return ti||(ti=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){/** @preserve
|
|
458
458
|
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|
459
459
|
|
|
460
460
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dev-blinq/ui-systems",
|
|
3
3
|
"description": "this package contains all ui components like button, input, checkbox, colors that blinq.io needs",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.100",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|