@dev-blinq/ui-systems 1.0.127 → 1.0.128

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.
@@ -13,5 +13,5 @@ interface MenuProps {
13
13
  width?: string;
14
14
  id?: string;
15
15
  }
16
- export declare function CustomMenu({ items, anchorEl, handleClose, onClick, minWidth, width, id }: MenuProps): import("react/jsx-runtime").JSX.Element;
16
+ export declare function CustomMenu({ items, anchorEl, handleClose, onClick, minWidth, width, id, }: MenuProps): import("react/jsx-runtime").JSX.Element;
17
17
  export {};
package/dist/index.js CHANGED
@@ -178,14 +178,17 @@ React keys must be passed directly to JSX without using spread:
178
178
  box-shadow: var(--shadow-lg);
179
179
  width: ${({width:e})=>e||"inherit"};
180
180
  min-width: ${({minWidth:e})=>e||"100px"};
181
+ max-height:calc(100vh - 120px);
182
+ overflow: auto;
181
183
  .MuiMenu-list {
182
184
  padding: 0;
183
185
  width: 100%;
186
+ gap: 2px;
184
187
  }
185
188
  }
186
189
  `,Kp=Y($.MenuItem)`
187
190
  display: flex;
188
- padding: 4px 6px;
191
+ padding: 2px 6px;
189
192
  align-items: center;
190
193
  font-size: 12px;
191
194
  font-weight: 600;
@@ -193,9 +196,6 @@ React keys must be passed directly to JSX without using spread:
193
196
  min-height: auto;
194
197
  align-self: stretch;
195
198
  border-radius: 8px;
196
- :not(:last-child) {
197
- margin-bottom: 4px;
198
- }
199
199
  svg {
200
200
  width: 14px;
201
201
  height: 14px;
@@ -210,7 +210,7 @@ React keys must be passed directly to JSX without using spread:
210
210
  &:hover {
211
211
  background: var(--color-grey-20);
212
212
  }
213
- `;function Jl({items:e,anchorEl:t,handleClose:n,onClick:r,minWidth:i,width:a,id:o}){return A.jsx(Wp,{anchorEl:t,keepMounted:!0,open:!!t,onClose:n,"data-no-dnd":"true",minWidth:i,width:a,id:o,children:e.map(({title:s,value:l,disabled:c,divider:u,onClickItem:f},d)=>A.jsxs(A.Fragment,{children:[A.jsx(Kp,{className:"menu-item",onClick:p=>f?f(p,l):r==null?void 0:r(p,l),disabled:c,"data-no-dnd":"true",children:s},d),u&&A.jsx($.Divider,{})]}))})}function $t(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}const rn="$$material",Gp=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function Yp(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...i}=e,a=Gp(t),o=Object.keys(a);function s(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n})`}function l(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-r/100}${n})`}function c(d,p){const x=o.indexOf(p);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n}) and (max-width:${(x!==-1&&typeof t[o[x]]=="number"?t[o[x]]:p)-r/100}${n})`}function u(d){return o.indexOf(d)+1<o.length?c(d,o[o.indexOf(d)+1]):s(d)}function f(d){const p=o.indexOf(d);return p===0?s(o[1]):p===o.length-1?l(o[p]):c(d,o[o.indexOf(d)+1]).replace("@media","@media not all and")}return{keys:o,values:a,up:s,down:l,between:c,only:u,not:f,unit:n,...i}}var io={exports:{}},xe={};/**
213
+ `;function Jl({items:e,anchorEl:t,handleClose:n,onClick:r,minWidth:i,width:a,id:o}){return A.jsx(Wp,{anchorEl:t,keepMounted:!0,open:!!t,onClose:n,"data-no-dnd":"true",minWidth:i,width:a,id:o,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},children:e.map(({title:s,value:l,disabled:c,divider:u,onClickItem:f},d)=>A.jsxs(A.Fragment,{children:[A.jsx(Kp,{className:"menu-item",onClick:p=>f?f(p,l):r==null?void 0:r(p,l),disabled:c,"data-no-dnd":"true",children:s},d),u&&A.jsx($.Divider,{})]}))})}function $t(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}const rn="$$material",Gp=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function Yp(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...i}=e,a=Gp(t),o=Object.keys(a);function s(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n})`}function l(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-r/100}${n})`}function c(d,p){const x=o.indexOf(p);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n}) and (max-width:${(x!==-1&&typeof t[o[x]]=="number"?t[o[x]]:p)-r/100}${n})`}function u(d){return o.indexOf(d)+1<o.length?c(d,o[o.indexOf(d)+1]):s(d)}function f(d){const p=o.indexOf(d);return p===0?s(o[1]):p===o.length-1?l(o[p]):c(d,o[o.indexOf(d)+1]).replace("@media","@media not all and")}return{keys:o,values:a,up:s,down:l,between:c,only:u,not:f,unit:n,...i}}var io={exports:{}},xe={};/**
214
214
  * @license React
215
215
  * react-is.production.js
216
216
  *
@@ -428,7 +428,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
428
428
  padding: 0px;
429
429
  justify-content: space-between;
430
430
  .MuiPaper-root {
431
- height: ${({isMainApp:e})=>e?"100%":"30px"};
431
+ height: ${({isMainApp:e})=>e?"100%":"auto"};
432
432
  &.Mui-expanded {
433
433
  margin: 0;
434
434
  .MuiCollapse-root {
@@ -500,7 +500,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
500
500
  align-items: center;
501
501
  justify-content: center;
502
502
  margin-bottom: 8px;
503
- `,Om=({onClick:e,params:t,handleUpdateParam:n,ParamErrors:r,removeParameter:i,dataSet:a,disabledEdit:o,isMainApp:s})=>A.jsxs($.Box,{width:"100%",display:"flex",flexDirection:"column",p:1,children:[a&&A.jsx($.Box,{mb:"8px",mt:"4px",children:A.jsx(yu,{noInlineAction:!0,addOptionLabel:"Add Data Set",showDeleteIcon:!o,showAddOption:!o,width:"200px",...a,disabled:o,id:"data-set-select-scenario"})}),A.jsx($.Box,{display:"flex",width:"100%",flexDirection:"column",children:A.jsxs($.Grid2,{sx:{flexGrow:1},container:!0,spacing:1,children:[A.jsx($.Grid2,{size:6,children:A.jsx(be,{value:"Parameters",size:"xs",color:"var(--color-grey-90)"})}),A.jsx($.Grid2,{size:6,children:A.jsx(be,{value:"Values",size:"xs",color:"var(--color-grey-90)"})})]})}),A.jsx(Pm,{isMainApp:s,children:t.map((l,c)=>A.jsx(A.Fragment,{children:A.jsx(Nm,{...l,index:c,onChangeValue:n,ParamErrors:r,onDelete:i,disabledEdit:o,isMainApp:s,isLastIndex:c===t.length-1,handleAddParam:e})},c))})]}),Nm=e=>{const{keyName:t,onChangeValue:n,index:r,error:i,value:a,onDelete:o,mask:s,disabled:l,ParamErrors:c,disabledEdit:u,isMainApp:f,isLastIndex:d,handleAddParam:p}=e,x=V.useRef(null),[h,v]=V.useState(!1);V.useEffect(()=>{var C;!f&&((C=x.current)==null||C.scrollIntoView({behavior:"smooth",block:"nearest"}))},[]);const b=()=>{v(!h)},y=V.useRef(null),g=V.useRef(null);return A.jsxs($.Box,{ref:x,display:"flex",width:"100%",flexDirection:"column",children:[A.jsxs($.Grid2,{sx:{flexGrow:1},container:!0,spacing:1,children:[A.jsx($.Grid2,{size:6,children:A.jsxs($.Box,{display:"flex",alignItems:"center",children:[d?A.jsx(it,{onClick:p,size:"small",disabled:u,children:A.jsx(Oo,{size:14})}):A.jsx($.Box,{width:"24px"}),A.jsx(Pn,{ref:y,value:t,onChange:C=>n==null?void 0:n(r,C.target.value,a||""),size:"small",noBorder:!0,error:i,placeholder:"parameter_name",disabled:u,autoFocus:!0})]})}),A.jsx($.Grid2,{size:6,children:A.jsxs($.Box,{display:"flex",alignItems:"center",gap:1,children:[A.jsx(Pn,{ref:g,value:a,size:"small",type:s&&!h?"password":"text",onChange:C=>n==null?void 0:n(r,t,C.target.value,s),noBorder:!0,placeholder:"{{value}}",endIcon:s?h?A.jsx(Nl,{onClick:b,size:12}):A.jsx(Ol,{onClick:b,size:12}):"",disabled:u}),A.jsx(it,{size:"small",children:A.jsx(No,{onClick:()=>!l&&(o==null?void 0:o(r)),size:16,color:l?"var(--color-grey-50)":"var(--color-error-100)"})})]})})]}),i&&A.jsx(be,{weight:"medium",value:"Parameter is not used in the scenario",color:"var(--color-error-100)",mt:.5}),c&&A.jsx(c,{index:r})]})},bu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Cu="ARRAYBUFFER not supported by this environment",Au="UINT8ARRAY not supported by this environment";function A0(e,t,n,r){let i,a,o;const s=t||[0],l=(n=n||0)>>>3,c=r===-1?3:0;for(i=0;i<e.length;i+=1)o=i+l,a=o>>>2,s.length<=a&&s.push(0),s[a]|=e[i]<<8*(c+r*(o%4));return{value:s,binLen:8*e.length+n}}function Mn(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,i,a){return function(o,s,l,c){let u,f,d,p;if(o.length%2!=0)throw new Error("String of HEX type must be in byte increments");const x=s||[0],h=(l=l||0)>>>3,v=c===-1?3:0;for(u=0;u<o.length;u+=2){if(f=parseInt(o.substr(u,2),16),isNaN(f))throw new Error("String of HEX type contains invalid characters");for(p=(u>>>1)+h,d=p>>>2;x.length<=d;)x.push(0);x[d]|=f<<8*(v+c*(p%4))}return{value:x,binLen:4*o.length+l}}(r,i,a,n)};case"TEXT":return function(r,i,a){return function(o,s,l,c,u){let f,d,p,x,h,v,b,y,g=0;const C=l||[0],E=(c=c||0)>>>3;if(s==="UTF8")for(b=u===-1?3:0,p=0;p<o.length;p+=1)for(f=o.charCodeAt(p),d=[],128>f?d.push(f):2048>f?(d.push(192|f>>>6),d.push(128|63&f)):55296>f||57344<=f?d.push(224|f>>>12,128|f>>>6&63,128|63&f):(p+=1,f=65536+((1023&f)<<10|1023&o.charCodeAt(p)),d.push(240|f>>>18,128|f>>>12&63,128|f>>>6&63,128|63&f)),x=0;x<d.length;x+=1){for(v=g+E,h=v>>>2;C.length<=h;)C.push(0);C[h]|=d[x]<<8*(b+u*(v%4)),g+=1}else for(b=u===-1?2:0,y=s==="UTF16LE"&&u!==1||s!=="UTF16LE"&&u===1,p=0;p<o.length;p+=1){for(f=o.charCodeAt(p),y===!0&&(x=255&f,f=x<<8|f>>>8),v=g+E,h=v>>>2;C.length<=h;)C.push(0);C[h]|=f<<8*(b+u*(v%4)),g+=2}return{value:C,binLen:8*g+c}}(r,t,i,a,n)};case"B64":return function(r,i,a){return function(o,s,l,c){let u,f,d,p,x,h,v,b=0;const y=s||[0],g=(l=l||0)>>>3,C=c===-1?3:0,E=o.indexOf("=");if(o.search(/^[a-zA-Z0-9=+/]+$/)===-1)throw new Error("Invalid character in base-64 string");if(o=o.replace(/=/g,""),E!==-1&&E<o.length)throw new Error("Invalid '=' found in base-64 string");for(f=0;f<o.length;f+=4){for(x=o.substr(f,4),p=0,d=0;d<x.length;d+=1)u=bu.indexOf(x.charAt(d)),p|=u<<18-6*d;for(d=0;d<x.length-1;d+=1){for(v=b+g,h=v>>>2;y.length<=h;)y.push(0);y[h]|=(p>>>16-8*d&255)<<8*(C+c*(v%4)),b+=1}}return{value:y,binLen:8*b+l}}(r,i,a,n)};case"BYTES":return function(r,i,a){return function(o,s,l,c){let u,f,d,p;const x=s||[0],h=(l=l||0)>>>3,v=c===-1?3:0;for(f=0;f<o.length;f+=1)u=o.charCodeAt(f),p=f+h,d=p>>>2,x.length<=d&&x.push(0),x[d]|=u<<8*(v+c*(p%4));return{value:x,binLen:8*o.length+l}}(r,i,a,n)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error(Cu)}return function(r,i,a){return function(o,s,l,c){return A0(new Uint8Array(o),s,l,c)}(r,i,a,n)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error(Au)}return function(r,i,a){return A0(r,i,a,n)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function E0(e,t,n,r){switch(e){case"HEX":return function(i){return function(a,o,s,l){const c="0123456789abcdef";let u,f,d="";const p=o/8,x=s===-1?3:0;for(u=0;u<p;u+=1)f=a[u>>>2]>>>8*(x+s*(u%4)),d+=c.charAt(f>>>4&15)+c.charAt(15&f);return l.outputUpper?d.toUpperCase():d}(i,t,n,r)};case"B64":return function(i){return function(a,o,s,l){let c,u,f,d,p,x="";const h=o/8,v=s===-1?3:0;for(c=0;c<h;c+=3)for(d=c+1<h?a[c+1>>>2]:0,p=c+2<h?a[c+2>>>2]:0,f=(a[c>>>2]>>>8*(v+s*(c%4))&255)<<16|(d>>>8*(v+s*((c+1)%4))&255)<<8|p>>>8*(v+s*((c+2)%4))&255,u=0;u<4;u+=1)x+=8*c+6*u<=o?bu.charAt(f>>>6*(3-u)&63):l.b64Pad;return x}(i,t,n,r)};case"BYTES":return function(i){return function(a,o,s){let l,c,u="";const f=o/8,d=s===-1?3:0;for(l=0;l<f;l+=1)c=a[l>>>2]>>>8*(d+s*(l%4))&255,u+=String.fromCharCode(c);return u}(i,t,n)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error(Cu)}return function(i){return function(a,o,s){let l;const c=o/8,u=new ArrayBuffer(c),f=new Uint8Array(u),d=s===-1?3:0;for(l=0;l<c;l+=1)f[l]=a[l>>>2]>>>8*(d+s*(l%4))&255;return u}(i,t,n)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error(Au)}return function(i){return function(a,o,s){let l;const c=o/8,u=s===-1?3:0,f=new Uint8Array(c);for(l=0;l<c;l+=1)f[l]=a[l>>>2]>>>8*(u+s*(l%4))&255;return f}(i,t,n)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}const Ar=4294967296,X=[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],Tt=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428],Ft=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],Er="Chosen SHA variant is not supported",Eu="Cannot set numRounds with MAC";function ci(e,t){let n,r;const i=e.binLen>>>3,a=t.binLen>>>3,o=i<<3,s=4-i<<3;if(i%4!=0){for(n=0;n<a;n+=4)r=i+n>>>2,e.value[r]|=t.value[n>>>2]<<o,e.value.push(0),e.value[r+1]|=t.value[n>>>2]>>>s;return(e.value.length<<2)-4>=a+i&&e.value.pop(),{value:e.value,binLen:e.binLen+t.binLen}}return{value:e.value.concat(t.value),binLen:e.binLen+t.binLen}}function S0(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 Vt(e,t,n,r){const i=e+" must include a value and format";if(!t){if(!r)throw new Error(i);return r}if(t.value===void 0||!t.format)throw new Error(i);return Mn(t.format,t.encoding||"UTF8",n)(t.value)}class Fi{constructor(t,n,r){const i=r||{};if(this.t=n,this.i=i.encoding||"UTF8",this.numRounds=i.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 i=this.m>>>5,a=this.C(t,this.h,this.u),o=a.binLen,s=a.value,l=o>>>5;for(n=0;n<l;n+=i)r+this.m<=o&&(this.U=this.v(s.slice(n,n+i),this.U),r+=this.m);return this.A+=r,this.h=s.slice(r>>>5),this.u=o%this.m,this.l=!0,this}getHash(t,n){let r,i,a=this.R;const o=S0(n);if(this.K){if(o.outputLen===-1)throw new Error("Output length must be specified in options");a=o.outputLen}const s=E0(t,a,this.T,o);if(this.H&&this.g)return s(this.g(o));for(i=this.F(this.h.slice(),this.u,this.A,this.L(this.U),a),r=1;r<this.numRounds;r+=1)this.K&&a%32!=0&&(i[i.length-1]&=16777215>>>24-a%32),i=this.F(i,a,0,this.B(this.o),a);return s(i)}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 i=Mn(n,(r||{}).encoding||"UTF8",this.T);this.k(i(t))}k(t){const n=this.m>>>3,r=n/4-1;let i;if(this.numRounds!==1)throw new Error(Eu);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(i=0;i<=r;i+=1)this.S[i]=909522486^t.value[i],this.p[i]=1549556828^t.value[i];this.U=this.v(this.S,this.U),this.A=this.m,this.H=!0}getHMAC(t,n){const r=S0(n);return E0(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 vn(e,t){return e<<t|e>>>32-t}function Et(e,t){return e>>>t|e<<32-t}function Su(e,t){return e>>>t}function w0(e,t,n){return e^t^n}function wu(e,t,n){return e&t^~e&n}function Bu(e,t,n){return e&t^e&n^t&n}function jm(e){return Et(e,2)^Et(e,13)^Et(e,22)}function He(e,t){const n=(65535&e)+(65535&t);return(65535&(e>>>16)+(t>>>16)+(n>>>16))<<16|65535&n}function Lm(e,t,n,r){const i=(65535&e)+(65535&t)+(65535&n)+(65535&r);return(65535&(e>>>16)+(t>>>16)+(n>>>16)+(r>>>16)+(i>>>16))<<16|65535&i}function tr(e,t,n,r,i){const a=(65535&e)+(65535&t)+(65535&n)+(65535&r)+(65535&i);return(65535&(e>>>16)+(t>>>16)+(n>>>16)+(r>>>16)+(i>>>16)+(a>>>16))<<16|65535&a}function Vm(e){return Et(e,7)^Et(e,18)^Su(e,3)}function $m(e){return Et(e,6)^Et(e,11)^Et(e,25)}function Um(e){return[1732584193,4023233417,2562383102,271733878,3285377520]}function Du(e,t){let n,r,i,a,o,s,l;const c=[];for(n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],l=0;l<80;l+=1)c[l]=l<16?e[l]:vn(c[l-3]^c[l-8]^c[l-14]^c[l-16],1),s=l<20?tr(vn(n,5),wu(r,i,a),o,1518500249,c[l]):l<40?tr(vn(n,5),w0(r,i,a),o,1859775393,c[l]):l<60?tr(vn(n,5),Bu(r,i,a),o,2400959708,c[l]):tr(vn(n,5),w0(r,i,a),o,3395469782,c[l]),o=a,a=i,i=vn(r,30),r=n,n=s;return t[0]=He(n,t[0]),t[1]=He(r,t[1]),t[2]=He(i,t[2]),t[3]=He(a,t[3]),t[4]=He(o,t[4]),t}function Hm(e,t,n,r){let i;const a=15+(t+65>>>9<<4),o=t+n;for(;e.length<=a;)e.push(0);for(e[t>>>5]|=128<<24-t%32,e[a]=4294967295&o,e[a-1]=o/Ar|0,i=0;i<e.length;i+=16)r=Du(e.slice(i,i+16),r);return r}let zm=class extends Fi{constructor(e,t,n){if(e!=="SHA-1")throw new Error(Er);super(e,t,n);const r=n||{};this.M=!0,this.g=this.Y,this.T=-1,this.C=Mn(this.t,this.i,this.T),this.v=Du,this.L=function(i){return i.slice()},this.B=Um,this.F=Hm,this.U=[1732584193,4023233417,2562383102,271733878,3285377520],this.m=512,this.R=160,this.K=!1,r.hmacKey&&this.k(Vt("hmacKey",r.hmacKey,this.T))}};function B0(e){let t;return t=e=="SHA-224"?Tt.slice():Ft.slice(),t}function D0(e,t){let n,r,i,a,o,s,l,c,u,f,d;const p=[];for(n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],s=t[5],l=t[6],c=t[7],d=0;d<64;d+=1)p[d]=d<16?e[d]:Lm(Et(x=p[d-2],17)^Et(x,19)^Su(x,10),p[d-7],Vm(p[d-15]),p[d-16]),u=tr(c,$m(o),wu(o,s,l),X[d],p[d]),f=He(jm(n),Bu(n,r,i)),c=l,l=s,s=o,o=He(a,u),a=i,i=r,r=n,n=He(u,f);var x;return t[0]=He(n,t[0]),t[1]=He(r,t[1]),t[2]=He(i,t[2]),t[3]=He(a,t[3]),t[4]=He(o,t[4]),t[5]=He(s,t[5]),t[6]=He(l,t[6]),t[7]=He(c,t[7]),t}let Wm=class extends Fi{constructor(e,t,n){if(e!=="SHA-224"&&e!=="SHA-256")throw new Error(Er);super(e,t,n);const r=n||{};this.g=this.Y,this.M=!0,this.T=-1,this.C=Mn(this.t,this.i,this.T),this.v=D0,this.L=function(i){return i.slice()},this.B=B0,this.F=function(i,a,o,s){return function(l,c,u,f,d){let p,x;const h=15+(c+65>>>9<<4),v=c+u;for(;l.length<=h;)l.push(0);for(l[c>>>5]|=128<<24-c%32,l[h]=4294967295&v,l[h-1]=v/Ar|0,p=0;p<l.length;p+=16)f=D0(l.slice(p,p+16),f);return x=d==="SHA-224"?[f[0],f[1],f[2],f[3],f[4],f[5],f[6]]:f,x}(i,a,o,s,e)},this.U=B0(e),this.m=512,this.R=e==="SHA-224"?224:256,this.K=!1,r.hmacKey&&this.k(Vt("hmacKey",r.hmacKey,this.T))}};class _{constructor(t,n){this.N=t,this.I=n}}function T0(e,t){let n;return t>32?(n=64-t,new _(e.I<<t|e.N>>>n,e.N<<t|e.I>>>n)):t!==0?(n=32-t,new _(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 _(e.N>>>t|e.I<<n,e.I>>>t|e.N<<n)):(n=64-t,new _(e.I>>>t|e.N<<n,e.N>>>t|e.I<<n))}function Tu(e,t){return new _(e.N>>>t,e.I>>>t|e.N<<32-t)}function Km(e,t,n){return new _(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 Gm(e){const t=St(e,28),n=St(e,34),r=St(e,39);return new _(t.N^n.N^r.N,t.I^n.I^r.I)}function dt(e,t){let n,r;n=(65535&e.I)+(65535&t.I),r=(e.I>>>16)+(t.I>>>16)+(n>>>16);const i=(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 _((65535&r)<<16|65535&n,i)}function Ym(e,t,n,r){let i,a;i=(65535&e.I)+(65535&t.I)+(65535&n.I)+(65535&r.I),a=(e.I>>>16)+(t.I>>>16)+(n.I>>>16)+(r.I>>>16)+(i>>>16);const o=(65535&a)<<16|65535&i;return i=(65535&e.N)+(65535&t.N)+(65535&n.N)+(65535&r.N)+(a>>>16),a=(e.N>>>16)+(t.N>>>16)+(n.N>>>16)+(r.N>>>16)+(i>>>16),new _((65535&a)<<16|65535&i,o)}function qm(e,t,n,r,i){let a,o;a=(65535&e.I)+(65535&t.I)+(65535&n.I)+(65535&r.I)+(65535&i.I),o=(e.I>>>16)+(t.I>>>16)+(n.I>>>16)+(r.I>>>16)+(i.I>>>16)+(a>>>16);const s=(65535&o)<<16|65535&a;return a=(65535&e.N)+(65535&t.N)+(65535&n.N)+(65535&r.N)+(65535&i.N)+(o>>>16),o=(e.N>>>16)+(t.N>>>16)+(n.N>>>16)+(r.N>>>16)+(i.N>>>16)+(a>>>16),new _((65535&o)<<16|65535&a,s)}function Zn(e,t){return new _(e.N^t.N,e.I^t.I)}function Xm(e){const t=St(e,19),n=St(e,61),r=Tu(e,6);return new _(t.N^n.N^r.N,t.I^n.I^r.I)}function Zm(e){const t=St(e,1),n=St(e,8),r=Tu(e,7);return new _(t.N^n.N^r.N,t.I^n.I^r.I)}function Jm(e){const t=St(e,14),n=St(e,18),r=St(e,41);return new _(t.N^n.N^r.N,t.I^n.I^r.I)}const Qm=[new _(X[0],3609767458),new _(X[1],602891725),new _(X[2],3964484399),new _(X[3],2173295548),new _(X[4],4081628472),new _(X[5],3053834265),new _(X[6],2937671579),new _(X[7],3664609560),new _(X[8],2734883394),new _(X[9],1164996542),new _(X[10],1323610764),new _(X[11],3590304994),new _(X[12],4068182383),new _(X[13],991336113),new _(X[14],633803317),new _(X[15],3479774868),new _(X[16],2666613458),new _(X[17],944711139),new _(X[18],2341262773),new _(X[19],2007800933),new _(X[20],1495990901),new _(X[21],1856431235),new _(X[22],3175218132),new _(X[23],2198950837),new _(X[24],3999719339),new _(X[25],766784016),new _(X[26],2566594879),new _(X[27],3203337956),new _(X[28],1034457026),new _(X[29],2466948901),new _(X[30],3758326383),new _(X[31],168717936),new _(X[32],1188179964),new _(X[33],1546045734),new _(X[34],1522805485),new _(X[35],2643833823),new _(X[36],2343527390),new _(X[37],1014477480),new _(X[38],1206759142),new _(X[39],344077627),new _(X[40],1290863460),new _(X[41],3158454273),new _(X[42],3505952657),new _(X[43],106217008),new _(X[44],3606008344),new _(X[45],1432725776),new _(X[46],1467031594),new _(X[47],851169720),new _(X[48],3100823752),new _(X[49],1363258195),new _(X[50],3750685593),new _(X[51],3785050280),new _(X[52],3318307427),new _(X[53],3812723403),new _(X[54],2003034995),new _(X[55],3602036899),new _(X[56],1575990012),new _(X[57],1125592928),new _(X[58],2716904306),new _(X[59],442776044),new _(X[60],593698344),new _(X[61],3733110249),new _(X[62],2999351573),new _(X[63],3815920427),new _(3391569614,3928383900),new _(3515267271,566280711),new _(3940187606,3454069534),new _(4118630271,4000239992),new _(116418474,1914138554),new _(174292421,2731055270),new _(289380356,3203993006),new _(460393269,320620315),new _(685471733,587496836),new _(852142971,1086792851),new _(1017036298,365543100),new _(1126000580,2618297676),new _(1288033470,3409855158),new _(1501505948,4234509866),new _(1607167915,987167468),new _(1816402316,1246189591)];function F0(e){return e==="SHA-384"?[new _(3418070365,Tt[0]),new _(1654270250,Tt[1]),new _(2438529370,Tt[2]),new _(355462360,Tt[3]),new _(1731405415,Tt[4]),new _(41048885895,Tt[5]),new _(3675008525,Tt[6]),new _(1203062813,Tt[7])]:[new _(Ft[0],4089235720),new _(Ft[1],2227873595),new _(Ft[2],4271175723),new _(Ft[3],1595750129),new _(Ft[4],2917565137),new _(Ft[5],725511199),new _(Ft[6],4215389547),new _(Ft[7],327033209)]}function P0(e,t){let n,r,i,a,o,s,l,c,u,f,d,p;const x=[];for(n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],s=t[5],l=t[6],c=t[7],d=0;d<80;d+=1)d<16?(p=2*d,x[d]=new _(e[p],e[p+1])):x[d]=Ym(Xm(x[d-2]),x[d-7],Zm(x[d-15]),x[d-16]),u=qm(c,Jm(o),(v=s,b=l,new _((h=o).N&v.N^~h.N&b.N,h.I&v.I^~h.I&b.I)),Qm[d],x[d]),f=dt(Gm(n),Km(n,r,i)),c=l,l=s,s=o,o=dt(a,u),a=i,i=r,r=n,n=dt(u,f);var h,v,b;return t[0]=dt(n,t[0]),t[1]=dt(r,t[1]),t[2]=dt(i,t[2]),t[3]=dt(a,t[3]),t[4]=dt(o,t[4]),t[5]=dt(s,t[5]),t[6]=dt(l,t[6]),t[7]=dt(c,t[7]),t}let eg=class extends Fi{constructor(e,t,n){if(e!=="SHA-384"&&e!=="SHA-512")throw new Error(Er);super(e,t,n);const r=n||{};this.g=this.Y,this.M=!0,this.T=-1,this.C=Mn(this.t,this.i,this.T),this.v=P0,this.L=function(i){return i.slice()},this.B=F0,this.F=function(i,a,o,s){return function(l,c,u,f,d){let p,x;const h=31+(c+129>>>10<<5),v=c+u;for(;l.length<=h;)l.push(0);for(l[c>>>5]|=128<<24-c%32,l[h]=4294967295&v,l[h-1]=v/Ar|0,p=0;p<l.length;p+=32)f=P0(l.slice(p,p+32),f);return x=d==="SHA-384"?[f[0].N,f[0].I,f[1].N,f[1].I,f[2].N,f[2].I,f[3].N,f[3].I,f[4].N,f[4].I,f[5].N,f[5].I]:[f[0].N,f[0].I,f[1].N,f[1].I,f[2].N,f[2].I,f[3].N,f[3].I,f[4].N,f[4].I,f[5].N,f[5].I,f[6].N,f[6].I,f[7].N,f[7].I],x}(i,a,o,s,e)},this.U=F0(e),this.m=1024,this.R=e==="SHA-384"?384:512,this.K=!1,r.hmacKey&&this.k(Vt("hmacKey",r.hmacKey,this.T))}};const tg=[new _(0,1),new _(0,32898),new _(2147483648,32906),new _(2147483648,2147516416),new _(0,32907),new _(0,2147483649),new _(2147483648,2147516545),new _(2147483648,32777),new _(0,138),new _(0,136),new _(0,2147516425),new _(0,2147483658),new _(0,2147516555),new _(2147483648,139),new _(2147483648,32905),new _(2147483648,32771),new _(2147483648,32770),new _(2147483648,128),new _(0,32778),new _(2147483648,2147483658),new _(2147483648,2147516545),new _(2147483648,32896),new _(0,2147483649),new _(2147483648,2147516424)],ng=[[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 co(e){let t;const n=[];for(t=0;t<5;t+=1)n[t]=[new _(0,0),new _(0,0),new _(0,0),new _(0,0),new _(0,0)];return n}function rg(e){let t;const n=[];for(t=0;t<5;t+=1)n[t]=e[t].slice();return n}function $r(e,t){let n,r,i,a;const o=[],s=[];if(e!==null)for(r=0;r<e.length;r+=2)t[(r>>>1)%5][(r>>>1)/5|0]=Zn(t[(r>>>1)%5][(r>>>1)/5|0],new _(e[r+1],e[r]));for(n=0;n<24;n+=1){for(a=co(),r=0;r<5;r+=1)o[r]=(l=t[r][0],c=t[r][1],u=t[r][2],f=t[r][3],d=t[r][4],new _(l.N^c.N^u.N^f.N^d.N,l.I^c.I^u.I^f.I^d.I));for(r=0;r<5;r+=1)s[r]=Zn(o[(r+4)%5],T0(o[(r+1)%5],1));for(r=0;r<5;r+=1)for(i=0;i<5;i+=1)t[r][i]=Zn(t[r][i],s[r]);for(r=0;r<5;r+=1)for(i=0;i<5;i+=1)a[i][(2*r+3*i)%5]=T0(t[r][i],ng[r][i]);for(r=0;r<5;r+=1)for(i=0;i<5;i+=1)t[r][i]=Zn(a[r][i],new _(~a[(r+1)%5][i].N&a[(r+2)%5][i].N,~a[(r+1)%5][i].I&a[(r+2)%5][i].I));t[0][0]=Zn(t[0][0],tg[n])}var l,c,u,f,d;return t}function Fu(e){let t,n,r=0;const i=[0,0],a=[4294967295&e,e/Ar&2097151];for(t=6;t>=0;t--)n=a[t>>2]>>>8*t&255,n===0&&r===0||(i[r+1>>2]|=n<<8*(r+1),r+=1);return r=r!==0?r:1,i[0]|=r,{value:r+1>4?i:[i[0]],binLen:8+8*r}}function na(e){return ci(Fu(e.binLen),e)}function R0(e,t){let n,r=Fu(t);r=ci(r,e);const i=t>>>2,a=(i-r.value.length%i)%i;for(n=0;n<a;n++)r.value.push(0);return r.value}let ig=class extends Fi{constructor(e,t,n){let r=6,i=0;super(e,t,n);const a=n||{};if(this.numRounds!==1){if(a.kmacKey||a.hmacKey)throw new Error(Eu);if(this.o==="CSHAKE128"||this.o==="CSHAKE256")throw new Error("Cannot set numRounds for CSHAKE variants")}switch(this.T=1,this.C=Mn(this.t,this.i,this.T),this.v=$r,this.L=rg,this.B=co,this.U=co(),this.K=!1,e){case"SHA3-224":this.m=i=1152,this.R=224,this.M=!0,this.g=this.Y;break;case"SHA3-256":this.m=i=1088,this.R=256,this.M=!0,this.g=this.Y;break;case"SHA3-384":this.m=i=832,this.R=384,this.M=!0,this.g=this.Y;break;case"SHA3-512":this.m=i=576,this.R=512,this.M=!0,this.g=this.Y;break;case"SHAKE128":r=31,this.m=i=1344,this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"SHAKE256":r=31,this.m=i=1088,this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"KMAC128":r=4,this.m=i=1344,this.X(n),this.R=-1,this.K=!0,this.M=!1,this.g=this._;break;case"KMAC256":r=4,this.m=i=1088,this.X(n),this.R=-1,this.K=!0,this.M=!1,this.g=this._;break;case"CSHAKE128":this.m=i=1344,r=this.O(n),this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"CSHAKE256":this.m=i=1088,r=this.O(n),this.R=-1,this.K=!0,this.M=!1,this.g=null;break;default:throw new Error(Er)}this.F=function(o,s,l,c,u){return function(f,d,p,x,h,v,b){let y,g,C=0;const E=[],S=h>>>5,w=d>>>5;for(y=0;y<w&&d>=h;y+=S)x=$r(f.slice(y,y+S),x),d-=h;for(f=f.slice(y),d%=h;f.length<S;)f.push(0);for(y=d>>>3,f[y>>2]^=v<<y%4*8,f[S-1]^=2147483648,x=$r(f,x);32*E.length<b&&(g=x[C%5][C/5|0],E.push(g.I),!(32*E.length>=b));)E.push(g.N),C+=1,64*C%h==0&&($r(null,x),C=0);return E}(o,s,0,c,i,r,u)},a.hmacKey&&this.k(Vt("hmacKey",a.hmacKey,this.T))}O(e,t){const n=function(i){const a=i||{};return{funcName:Vt("funcName",a.funcName,1,{value:[],binLen:0}),customization:Vt("Customization",a.customization,1,{value:[],binLen:0})}}(e||{});t&&(n.funcName=t);const r=ci(na(n.funcName),na(n.customization));if(n.customization.binLen!==0||n.funcName.binLen!==0){const i=R0(r,this.m>>>3);for(let a=0;a<i.length;a+=this.m>>>5)this.U=this.v(i.slice(a,a+(this.m>>>5)),this.U),this.A+=this.m;return 4}return 31}X(e){const t=function(r){const i=r||{};return{kmacKey:Vt("kmacKey",i.kmacKey,1),funcName:{value:[1128353099],binLen:32},customization:Vt("Customization",i.customization,1,{value:[],binLen:0})}}(e||{});this.O(e,t.funcName);const n=R0(na(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=ci({value:this.h.slice(),binLen:this.u},function(n){let r,i,a=0;const o=[0,0],s=[4294967295&n,n/Ar&2097151];for(r=6;r>=0;r--)i=s[r>>2]>>>8*r&255,i===0&&a===0||(o[a>>2]|=i<<8*a,a+=1);return a=a!==0?a:1,o[a>>2]|=a<<8*a,{value:a+1>4?o:[o[0]],binLen:8+8*a}}(e.outputLen));return this.F(t.value,t.binLen,this.A,this.L(this.U),e.outputLen)}};class ag{constructor(t,n,r){if(t=="SHA-1")this.P=new zm(t,n,r);else if(t=="SHA-224"||t=="SHA-256")this.P=new Wm(t,n,r);else if(t=="SHA-384"||t=="SHA-512")this.P=new eg(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(Er);this.P=new ig(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 og{static generate(t,n){const r={digits:6,algorithm:"SHA-1",period:30,timestamp:Date.now(),...n},i=Math.floor(r.timestamp/1e3),a=this.leftpad(this.dec2hex(Math.floor(i/r.period)),16,"0"),o=new ag(r.algorithm,"HEX");o.setHMACKey(this.base32tohex(t),"HEX"),o.update(a);const s=o.getHMAC("HEX"),l=this.hex2dec(s.substring(s.length-1));let c=(this.hex2dec(s.substr(l*2,8))&this.hex2dec("7fffffff"))+"";const u=Math.max(c.length-r.digits,0);c=c.substring(u,u+r.digits);const f=Math.ceil((r.timestamp+1)/(r.period*1e3))*r.period*1e3;return{otp:c,expires:f}}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="",i="";const a=t.replace(/=+$/,"");for(let o=0;o<a.length;o++){const s=n.indexOf(t.charAt(o).toUpperCase());if(s===-1)throw new Error("Invalid base32 character in key");r+=this.leftpad(s.toString(2),5,"0")}for(let o=0;o+8<=r.length;o+=8){const s=r.substr(o,8);i=i+this.leftpad(parseInt(s,2).toString(16),2,"0")}return i}static leftpad(t,n,r){return n+1>=t.length&&(t=Array(n+1-t.length).join(r)+t),t}}var Pu={exports:{}};function sg(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 ra={exports:{}};const cg={},lg=Object.freeze(Object.defineProperty({__proto__:null,default:cg},Symbol.toStringTag,{value:"Module"})),ug=Fd(lg);var k0;function ce(){return k0||(k0=1,function(e,t){(function(n,r){e.exports=r()})(oe,function(){var n=n||function(r,i){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof oe<"u"&&oe.crypto&&(a=oe.crypto),!a&&typeof sg=="function")try{a=ug}catch{}var o=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function y(){}return function(g){var C;return y.prototype=g,C=new y,y.prototype=null,C}}(),l={},c=l.lib={},u=c.Base=function(){return{extend:function(y){var g=s(this);return y&&g.mixIn(y),(!g.hasOwnProperty("init")||this.init===g.init)&&(g.init=function(){g.$super.init.apply(this,arguments)}),g.init.prototype=g,g.$super=this,g},create:function(){var y=this.extend();return y.init.apply(y,arguments),y},init:function(){},mixIn:function(y){for(var g in y)y.hasOwnProperty(g)&&(this[g]=y[g]);y.hasOwnProperty("toString")&&(this.toString=y.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=c.WordArray=u.extend({init:function(y,g){y=this.words=y||[],g!=i?this.sigBytes=g:this.sigBytes=y.length*4},toString:function(y){return(y||p).stringify(this)},concat:function(y){var g=this.words,C=y.words,E=this.sigBytes,S=y.sigBytes;if(this.clamp(),E%4)for(var w=0;w<S;w++){var T=C[w>>>2]>>>24-w%4*8&255;g[E+w>>>2]|=T<<24-(E+w)%4*8}else for(var k=0;k<S;k+=4)g[E+k>>>2]=C[k>>>2];return this.sigBytes+=S,this},clamp:function(){var y=this.words,g=this.sigBytes;y[g>>>2]&=4294967295<<32-g%4*8,y.length=r.ceil(g/4)},clone:function(){var y=u.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var g=[],C=0;C<y;C+=4)g.push(o());return new f.init(g,y)}}),d=l.enc={},p=d.Hex={stringify:function(y){for(var g=y.words,C=y.sigBytes,E=[],S=0;S<C;S++){var w=g[S>>>2]>>>24-S%4*8&255;E.push((w>>>4).toString(16)),E.push((w&15).toString(16))}return E.join("")},parse:function(y){for(var g=y.length,C=[],E=0;E<g;E+=2)C[E>>>3]|=parseInt(y.substr(E,2),16)<<24-E%8*4;return new f.init(C,g/2)}},x=d.Latin1={stringify:function(y){for(var g=y.words,C=y.sigBytes,E=[],S=0;S<C;S++){var w=g[S>>>2]>>>24-S%4*8&255;E.push(String.fromCharCode(w))}return E.join("")},parse:function(y){for(var g=y.length,C=[],E=0;E<g;E++)C[E>>>2]|=(y.charCodeAt(E)&255)<<24-E%4*8;return new f.init(C,g)}},h=d.Utf8={stringify:function(y){try{return decodeURIComponent(escape(x.stringify(y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(y){return x.parse(unescape(encodeURIComponent(y)))}},v=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=h.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var g,C=this._data,E=C.words,S=C.sigBytes,w=this.blockSize,T=w*4,k=S/T;y?k=r.ceil(k):k=r.max((k|0)-this._minBufferSize,0);var m=k*w,B=r.min(m*4,S);if(m){for(var R=0;R<m;R+=w)this._doProcessBlock(E,R);g=E.splice(0,m),C.sigBytes-=B}return new f.init(g,B)},clone:function(){var y=u.clone.call(this);return y._data=this._data.clone(),y},_minBufferSize:0});c.Hasher=v.extend({cfg:u.extend(),init:function(y){this.cfg=this.cfg.extend(y),this.reset()},reset:function(){v.reset.call(this),this._doReset()},update:function(y){return this._append(y),this._process(),this},finalize:function(y){y&&this._append(y);var g=this._doFinalize();return g},blockSize:16,_createHelper:function(y){return function(g,C){return new y.init(C).finalize(g)}},_createHmacHelper:function(y){return function(g,C){return new b.HMAC.init(y,C).finalize(g)}}});var b=l.algo={};return l}(Math);return n})}(ra)),ra.exports}var ia={exports:{}},M0;function Pi(){return M0||(M0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(r){var i=n,a=i.lib,o=a.Base,s=a.WordArray,l=i.x64={};l.Word=o.extend({init:function(c,u){this.high=c,this.low=u}}),l.WordArray=o.extend({init:function(c,u){c=this.words=c||[],u!=r?this.sigBytes=u:this.sigBytes=c.length*8},toX32:function(){for(var c=this.words,u=c.length,f=[],d=0;d<u;d++){var p=c[d];f.push(p.high),f.push(p.low)}return s.create(f,this.sigBytes)},clone:function(){for(var c=o.clone.call(this),u=c.words=this.words.slice(0),f=u.length,d=0;d<f;d++)u[d]=u[d].clone();return c}})}(),n})}(ia)),ia.exports}var aa={exports:{}},_0;function fg(){return _0||(_0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(){if(typeof ArrayBuffer=="function"){var r=n,i=r.lib,a=i.WordArray,o=a.init,s=a.init=function(l){if(l instanceof ArrayBuffer&&(l=new Uint8Array(l)),(l instanceof Int8Array||typeof Uint8ClampedArray<"u"&&l instanceof Uint8ClampedArray||l instanceof Int16Array||l instanceof Uint16Array||l instanceof Int32Array||l instanceof Uint32Array||l instanceof Float32Array||l instanceof Float64Array)&&(l=new Uint8Array(l.buffer,l.byteOffset,l.byteLength)),l instanceof Uint8Array){for(var c=l.byteLength,u=[],f=0;f<c;f++)u[f>>>2]|=l[f]<<24-f%4*8;o.call(this,u,c)}else o.apply(this,arguments)};s.prototype=a}}(),n.lib.WordArray})}(aa)),aa.exports}var oa={exports:{}},I0;function dg(){return I0||(I0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,o=r.enc;o.Utf16=o.Utf16BE={stringify:function(l){for(var c=l.words,u=l.sigBytes,f=[],d=0;d<u;d+=2){var p=c[d>>>2]>>>16-d%4*8&65535;f.push(String.fromCharCode(p))}return f.join("")},parse:function(l){for(var c=l.length,u=[],f=0;f<c;f++)u[f>>>1]|=l.charCodeAt(f)<<16-f%2*16;return a.create(u,c*2)}},o.Utf16LE={stringify:function(l){for(var c=l.words,u=l.sigBytes,f=[],d=0;d<u;d+=2){var p=s(c[d>>>2]>>>16-d%4*8&65535);f.push(String.fromCharCode(p))}return f.join("")},parse:function(l){for(var c=l.length,u=[],f=0;f<c;f++)u[f>>>1]|=s(l.charCodeAt(f)<<16-f%2*16);return a.create(u,c*2)}};function s(l){return l<<8&4278255360|l>>>8&16711935}}(),n.enc.Utf16})}(oa)),oa.exports}var sa={exports:{}},O0;function ln(){return O0||(O0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,o=r.enc;o.Base64={stringify:function(l){var c=l.words,u=l.sigBytes,f=this._map;l.clamp();for(var d=[],p=0;p<u;p+=3)for(var x=c[p>>>2]>>>24-p%4*8&255,h=c[p+1>>>2]>>>24-(p+1)%4*8&255,v=c[p+2>>>2]>>>24-(p+2)%4*8&255,b=x<<16|h<<8|v,y=0;y<4&&p+y*.75<u;y++)d.push(f.charAt(b>>>6*(3-y)&63));var g=f.charAt(64);if(g)for(;d.length%4;)d.push(g);return d.join("")},parse:function(l){var c=l.length,u=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var d=0;d<u.length;d++)f[u.charCodeAt(d)]=d}var p=u.charAt(64);if(p){var x=l.indexOf(p);x!==-1&&(c=x)}return s(l,c,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function s(l,c,u){for(var f=[],d=0,p=0;p<c;p++)if(p%4){var x=u[l.charCodeAt(p-1)]<<p%4*2,h=u[l.charCodeAt(p)]>>>6-p%4*2,v=x|h;f[d>>>2]|=v<<24-d%4*8,d++}return a.create(f,d)}}(),n.enc.Base64})}(sa)),sa.exports}var ca={exports:{}},N0;function hg(){return N0||(N0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,o=r.enc;o.Base64url={stringify:function(l,c){c===void 0&&(c=!0);var u=l.words,f=l.sigBytes,d=c?this._safe_map:this._map;l.clamp();for(var p=[],x=0;x<f;x+=3)for(var h=u[x>>>2]>>>24-x%4*8&255,v=u[x+1>>>2]>>>24-(x+1)%4*8&255,b=u[x+2>>>2]>>>24-(x+2)%4*8&255,y=h<<16|v<<8|b,g=0;g<4&&x+g*.75<f;g++)p.push(d.charAt(y>>>6*(3-g)&63));var C=d.charAt(64);if(C)for(;p.length%4;)p.push(C);return p.join("")},parse:function(l,c){c===void 0&&(c=!0);var u=l.length,f=c?this._safe_map:this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var p=0;p<f.length;p++)d[f.charCodeAt(p)]=p}var x=f.charAt(64);if(x){var h=l.indexOf(x);h!==-1&&(u=h)}return s(l,u,d)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function s(l,c,u){for(var f=[],d=0,p=0;p<c;p++)if(p%4){var x=u[l.charCodeAt(p-1)]<<p%4*2,h=u[l.charCodeAt(p)]>>>6-p%4*2,v=x|h;f[d>>>2]|=v<<24-d%4*8,d++}return a.create(f,d)}}(),n.enc.Base64url})}(ca)),ca.exports}var la={exports:{}},j0;function un(){return j0||(j0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(r){var i=n,a=i.lib,o=a.WordArray,s=a.Hasher,l=i.algo,c=[];(function(){for(var h=0;h<64;h++)c[h]=r.abs(r.sin(h+1))*4294967296|0})();var u=l.MD5=s.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(h,v){for(var b=0;b<16;b++){var y=v+b,g=h[y];h[y]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360}var C=this._hash.words,E=h[v+0],S=h[v+1],w=h[v+2],T=h[v+3],k=h[v+4],m=h[v+5],B=h[v+6],R=h[v+7],P=h[v+8],U=h[v+9],z=h[v+10],J=h[v+11],Z=h[v+12],ee=h[v+13],ne=h[v+14],j=h[v+15],F=C[0],I=C[1],O=C[2],M=C[3];F=f(F,I,O,M,E,7,c[0]),M=f(M,F,I,O,S,12,c[1]),O=f(O,M,F,I,w,17,c[2]),I=f(I,O,M,F,T,22,c[3]),F=f(F,I,O,M,k,7,c[4]),M=f(M,F,I,O,m,12,c[5]),O=f(O,M,F,I,B,17,c[6]),I=f(I,O,M,F,R,22,c[7]),F=f(F,I,O,M,P,7,c[8]),M=f(M,F,I,O,U,12,c[9]),O=f(O,M,F,I,z,17,c[10]),I=f(I,O,M,F,J,22,c[11]),F=f(F,I,O,M,Z,7,c[12]),M=f(M,F,I,O,ee,12,c[13]),O=f(O,M,F,I,ne,17,c[14]),I=f(I,O,M,F,j,22,c[15]),F=d(F,I,O,M,S,5,c[16]),M=d(M,F,I,O,B,9,c[17]),O=d(O,M,F,I,J,14,c[18]),I=d(I,O,M,F,E,20,c[19]),F=d(F,I,O,M,m,5,c[20]),M=d(M,F,I,O,z,9,c[21]),O=d(O,M,F,I,j,14,c[22]),I=d(I,O,M,F,k,20,c[23]),F=d(F,I,O,M,U,5,c[24]),M=d(M,F,I,O,ne,9,c[25]),O=d(O,M,F,I,T,14,c[26]),I=d(I,O,M,F,P,20,c[27]),F=d(F,I,O,M,ee,5,c[28]),M=d(M,F,I,O,w,9,c[29]),O=d(O,M,F,I,R,14,c[30]),I=d(I,O,M,F,Z,20,c[31]),F=p(F,I,O,M,m,4,c[32]),M=p(M,F,I,O,P,11,c[33]),O=p(O,M,F,I,J,16,c[34]),I=p(I,O,M,F,ne,23,c[35]),F=p(F,I,O,M,S,4,c[36]),M=p(M,F,I,O,k,11,c[37]),O=p(O,M,F,I,R,16,c[38]),I=p(I,O,M,F,z,23,c[39]),F=p(F,I,O,M,ee,4,c[40]),M=p(M,F,I,O,E,11,c[41]),O=p(O,M,F,I,T,16,c[42]),I=p(I,O,M,F,B,23,c[43]),F=p(F,I,O,M,U,4,c[44]),M=p(M,F,I,O,Z,11,c[45]),O=p(O,M,F,I,j,16,c[46]),I=p(I,O,M,F,w,23,c[47]),F=x(F,I,O,M,E,6,c[48]),M=x(M,F,I,O,R,10,c[49]),O=x(O,M,F,I,ne,15,c[50]),I=x(I,O,M,F,m,21,c[51]),F=x(F,I,O,M,Z,6,c[52]),M=x(M,F,I,O,T,10,c[53]),O=x(O,M,F,I,z,15,c[54]),I=x(I,O,M,F,S,21,c[55]),F=x(F,I,O,M,P,6,c[56]),M=x(M,F,I,O,j,10,c[57]),O=x(O,M,F,I,B,15,c[58]),I=x(I,O,M,F,ee,21,c[59]),F=x(F,I,O,M,k,6,c[60]),M=x(M,F,I,O,J,10,c[61]),O=x(O,M,F,I,w,15,c[62]),I=x(I,O,M,F,U,21,c[63]),C[0]=C[0]+F|0,C[1]=C[1]+I|0,C[2]=C[2]+O|0,C[3]=C[3]+M|0},_doFinalize:function(){var h=this._data,v=h.words,b=this._nDataBytes*8,y=h.sigBytes*8;v[y>>>5]|=128<<24-y%32;var g=r.floor(b/4294967296),C=b;v[(y+64>>>9<<4)+15]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,v[(y+64>>>9<<4)+14]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,h.sigBytes=(v.length+1)*4,this._process();for(var E=this._hash,S=E.words,w=0;w<4;w++){var T=S[w];S[w]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360}return E},clone:function(){var h=s.clone.call(this);return h._hash=this._hash.clone(),h}});function f(h,v,b,y,g,C,E){var S=h+(v&b|~v&y)+g+E;return(S<<C|S>>>32-C)+v}function d(h,v,b,y,g,C,E){var S=h+(v&y|b&~y)+g+E;return(S<<C|S>>>32-C)+v}function p(h,v,b,y,g,C,E){var S=h+(v^b^y)+g+E;return(S<<C|S>>>32-C)+v}function x(h,v,b,y,g,C,E){var S=h+(b^(v|~y))+g+E;return(S<<C|S>>>32-C)+v}i.MD5=s._createHelper(u),i.HmacMD5=s._createHmacHelper(u)}(Math),n.MD5})}(la)),la.exports}var ua={exports:{}},L0;function Ru(){return L0||(L0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,o=i.Hasher,s=r.algo,l=[],c=s.SHA1=o.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(u,f){for(var d=this._hash.words,p=d[0],x=d[1],h=d[2],v=d[3],b=d[4],y=0;y<80;y++){if(y<16)l[y]=u[f+y]|0;else{var g=l[y-3]^l[y-8]^l[y-14]^l[y-16];l[y]=g<<1|g>>>31}var C=(p<<5|p>>>27)+b+l[y];y<20?C+=(x&h|~x&v)+1518500249:y<40?C+=(x^h^v)+1859775393:y<60?C+=(x&h|x&v|h&v)-1894007588:C+=(x^h^v)-899497514,b=v,v=h,h=x<<30|x>>>2,x=p,p=C}d[0]=d[0]+p|0,d[1]=d[1]+x|0,d[2]=d[2]+h|0,d[3]=d[3]+v|0,d[4]=d[4]+b|0},_doFinalize:function(){var u=this._data,f=u.words,d=this._nDataBytes*8,p=u.sigBytes*8;return f[p>>>5]|=128<<24-p%32,f[(p+64>>>9<<4)+14]=Math.floor(d/4294967296),f[(p+64>>>9<<4)+15]=d,u.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var u=o.clone.call(this);return u._hash=this._hash.clone(),u}});r.SHA1=o._createHelper(c),r.HmacSHA1=o._createHmacHelper(c)}(),n.SHA1})}(ua)),ua.exports}var fa={exports:{}},V0;function Jo(){return V0||(V0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(r){var i=n,a=i.lib,o=a.WordArray,s=a.Hasher,l=i.algo,c=[],u=[];(function(){function p(b){for(var y=r.sqrt(b),g=2;g<=y;g++)if(!(b%g))return!1;return!0}function x(b){return(b-(b|0))*4294967296|0}for(var h=2,v=0;v<64;)p(h)&&(v<8&&(c[v]=x(r.pow(h,1/2))),u[v]=x(r.pow(h,1/3)),v++),h++})();var f=[],d=l.SHA256=s.extend({_doReset:function(){this._hash=new o.init(c.slice(0))},_doProcessBlock:function(p,x){for(var h=this._hash.words,v=h[0],b=h[1],y=h[2],g=h[3],C=h[4],E=h[5],S=h[6],w=h[7],T=0;T<64;T++){if(T<16)f[T]=p[x+T]|0;else{var k=f[T-15],m=(k<<25|k>>>7)^(k<<14|k>>>18)^k>>>3,B=f[T-2],R=(B<<15|B>>>17)^(B<<13|B>>>19)^B>>>10;f[T]=m+f[T-7]+R+f[T-16]}var P=C&E^~C&S,U=v&b^v&y^b&y,z=(v<<30|v>>>2)^(v<<19|v>>>13)^(v<<10|v>>>22),J=(C<<26|C>>>6)^(C<<21|C>>>11)^(C<<7|C>>>25),Z=w+J+P+u[T]+f[T],ee=z+U;w=S,S=E,E=C,C=g+Z|0,g=y,y=b,b=v,v=Z+ee|0}h[0]=h[0]+v|0,h[1]=h[1]+b|0,h[2]=h[2]+y|0,h[3]=h[3]+g|0,h[4]=h[4]+C|0,h[5]=h[5]+E|0,h[6]=h[6]+S|0,h[7]=h[7]+w|0},_doFinalize:function(){var p=this._data,x=p.words,h=this._nDataBytes*8,v=p.sigBytes*8;return x[v>>>5]|=128<<24-v%32,x[(v+64>>>9<<4)+14]=r.floor(h/4294967296),x[(v+64>>>9<<4)+15]=h,p.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var p=s.clone.call(this);return p._hash=this._hash.clone(),p}});i.SHA256=s._createHelper(d),i.HmacSHA256=s._createHmacHelper(d)}(Math),n.SHA256})}(fa)),fa.exports}var da={exports:{}},$0;function pg(){return $0||($0=1,function(e,t){(function(n,r,i){e.exports=r(ce(),Jo())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,o=r.algo,s=o.SHA256,l=o.SHA224=s.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=s._doFinalize.call(this);return c.sigBytes-=4,c}});r.SHA224=s._createHelper(l),r.HmacSHA224=s._createHmacHelper(l)}(),n.SHA224})}(da)),da.exports}var ha={exports:{}},U0;function ku(){return U0||(U0=1,function(e,t){(function(n,r,i){e.exports=r(ce(),Pi())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.Hasher,o=r.x64,s=o.Word,l=o.WordArray,c=r.algo;function u(){return s.create.apply(s,arguments)}var f=[u(1116352408,3609767458),u(1899447441,602891725),u(3049323471,3964484399),u(3921009573,2173295548),u(961987163,4081628472),u(1508970993,3053834265),u(2453635748,2937671579),u(2870763221,3664609560),u(3624381080,2734883394),u(310598401,1164996542),u(607225278,1323610764),u(1426881987,3590304994),u(1925078388,4068182383),u(2162078206,991336113),u(2614888103,633803317),u(3248222580,3479774868),u(3835390401,2666613458),u(4022224774,944711139),u(264347078,2341262773),u(604807628,2007800933),u(770255983,1495990901),u(1249150122,1856431235),u(1555081692,3175218132),u(1996064986,2198950837),u(2554220882,3999719339),u(2821834349,766784016),u(2952996808,2566594879),u(3210313671,3203337956),u(3336571891,1034457026),u(3584528711,2466948901),u(113926993,3758326383),u(338241895,168717936),u(666307205,1188179964),u(773529912,1546045734),u(1294757372,1522805485),u(1396182291,2643833823),u(1695183700,2343527390),u(1986661051,1014477480),u(2177026350,1206759142),u(2456956037,344077627),u(2730485921,1290863460),u(2820302411,3158454273),u(3259730800,3505952657),u(3345764771,106217008),u(3516065817,3606008344),u(3600352804,1432725776),u(4094571909,1467031594),u(275423344,851169720),u(430227734,3100823752),u(506948616,1363258195),u(659060556,3750685593),u(883997877,3785050280),u(958139571,3318307427),u(1322822218,3812723403),u(1537002063,2003034995),u(1747873779,3602036899),u(1955562222,1575990012),u(2024104815,1125592928),u(2227730452,2716904306),u(2361852424,442776044),u(2428436474,593698344),u(2756734187,3733110249),u(3204031479,2999351573),u(3329325298,3815920427),u(3391569614,3928383900),u(3515267271,566280711),u(3940187606,3454069534),u(4118630271,4000239992),u(116418474,1914138554),u(174292421,2731055270),u(289380356,3203993006),u(460393269,320620315),u(685471733,587496836),u(852142971,1086792851),u(1017036298,365543100),u(1126000580,2618297676),u(1288033470,3409855158),u(1501505948,4234509866),u(1607167915,987167468),u(1816402316,1246189591)],d=[];(function(){for(var x=0;x<80;x++)d[x]=u()})();var p=c.SHA512=a.extend({_doReset:function(){this._hash=new l.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(x,h){for(var v=this._hash.words,b=v[0],y=v[1],g=v[2],C=v[3],E=v[4],S=v[5],w=v[6],T=v[7],k=b.high,m=b.low,B=y.high,R=y.low,P=g.high,U=g.low,z=C.high,J=C.low,Z=E.high,ee=E.low,ne=S.high,j=S.low,F=w.high,I=w.low,O=T.high,M=T.low,Q=k,W=m,te=B,N=R,G=P,re=U,Be=z,K=J,Ce=Z,ke=ee,tt=ne,lt=j,Yt=F,Ot=I,Nt=O,qt=M,Ze=0;Ze<80;Ze++){var Ve,gt,fn=d[Ze];if(Ze<16)gt=fn.high=x[h+Ze*2]|0,Ve=fn.low=x[h+Ze*2+1]|0;else{var jn=d[Ze-15],Bt=jn.high,ut=jn.low,Ni=(Bt>>>1|ut<<31)^(Bt>>>8|ut<<24)^Bt>>>7,Ln=(ut>>>1|Bt<<31)^(ut>>>8|Bt<<24)^(ut>>>7|Bt<<25),Vn=d[Ze-2],yt=Vn.high,Xt=Vn.low,ji=(yt>>>19|Xt<<13)^(yt<<3|Xt>>>29)^yt>>>6,Tr=(Xt>>>19|yt<<13)^(Xt<<3|yt>>>29)^(Xt>>>6|yt<<26),Fr=d[Ze-7],Li=Fr.high,Vi=Fr.low,Pr=d[Ze-16],$n=Pr.high,Un=Pr.low;Ve=Ln+Vi,gt=Ni+Li+(Ve>>>0<Ln>>>0?1:0),Ve=Ve+Tr,gt=gt+ji+(Ve>>>0<Tr>>>0?1:0),Ve=Ve+Un,gt=gt+$n+(Ve>>>0<Un>>>0?1:0),fn.high=gt,fn.low=Ve}var jt=Ce&tt^~Ce&Yt,dn=ke&lt^~ke&Ot,Hn=Q&te^Q&G^te&G,Rr=W&N^W&re^N&re,$i=(Q>>>28|W<<4)^(Q<<30|W>>>2)^(Q<<25|W>>>7),zn=(W>>>28|Q<<4)^(W<<30|Q>>>2)^(W<<25|Q>>>7),Ui=(Ce>>>14|ke<<18)^(Ce>>>18|ke<<14)^(Ce<<23|ke>>>9),kr=(ke>>>14|Ce<<18)^(ke>>>18|Ce<<14)^(ke<<23|Ce>>>9),Wn=f[Ze],Hi=Wn.high,Mr=Wn.low,$e=qt+kr,ft=Nt+Ui+($e>>>0<qt>>>0?1:0),$e=$e+dn,ft=ft+jt+($e>>>0<dn>>>0?1:0),$e=$e+Mr,ft=ft+Hi+($e>>>0<Mr>>>0?1:0),$e=$e+Ve,ft=ft+gt+($e>>>0<Ve>>>0?1:0),_r=zn+Rr,zi=$i+Hn+(_r>>>0<zn>>>0?1:0);Nt=Yt,qt=Ot,Yt=tt,Ot=lt,tt=Ce,lt=ke,ke=K+$e|0,Ce=Be+ft+(ke>>>0<K>>>0?1:0)|0,Be=G,K=re,G=te,re=N,te=Q,N=W,W=$e+_r|0,Q=ft+zi+(W>>>0<$e>>>0?1:0)|0}m=b.low=m+W,b.high=k+Q+(m>>>0<W>>>0?1:0),R=y.low=R+N,y.high=B+te+(R>>>0<N>>>0?1:0),U=g.low=U+re,g.high=P+G+(U>>>0<re>>>0?1:0),J=C.low=J+K,C.high=z+Be+(J>>>0<K>>>0?1:0),ee=E.low=ee+ke,E.high=Z+Ce+(ee>>>0<ke>>>0?1:0),j=S.low=j+lt,S.high=ne+tt+(j>>>0<lt>>>0?1:0),I=w.low=I+Ot,w.high=F+Yt+(I>>>0<Ot>>>0?1:0),M=T.low=M+qt,T.high=O+Nt+(M>>>0<qt>>>0?1:0)},_doFinalize:function(){var x=this._data,h=x.words,v=this._nDataBytes*8,b=x.sigBytes*8;h[b>>>5]|=128<<24-b%32,h[(b+128>>>10<<5)+30]=Math.floor(v/4294967296),h[(b+128>>>10<<5)+31]=v,x.sigBytes=h.length*4,this._process();var y=this._hash.toX32();return y},clone:function(){var x=a.clone.call(this);return x._hash=this._hash.clone(),x},blockSize:1024/32});r.SHA512=a._createHelper(p),r.HmacSHA512=a._createHmacHelper(p)}(),n.SHA512})}(ha)),ha.exports}var pa={exports:{}},H0;function xg(){return H0||(H0=1,function(e,t){(function(n,r,i){e.exports=r(ce(),Pi(),ku())})(oe,function(n){return function(){var r=n,i=r.x64,a=i.Word,o=i.WordArray,s=r.algo,l=s.SHA512,c=s.SHA384=l.extend({_doReset:function(){this._hash=new o.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var u=l._doFinalize.call(this);return u.sigBytes-=16,u}});r.SHA384=l._createHelper(c),r.HmacSHA384=l._createHmacHelper(c)}(),n.SHA384})}(pa)),pa.exports}var xa={exports:{}},z0;function mg(){return z0||(z0=1,function(e,t){(function(n,r,i){e.exports=r(ce(),Pi())})(oe,function(n){return function(r){var i=n,a=i.lib,o=a.WordArray,s=a.Hasher,l=i.x64,c=l.Word,u=i.algo,f=[],d=[],p=[];(function(){for(var v=1,b=0,y=0;y<24;y++){f[v+5*b]=(y+1)*(y+2)/2%64;var g=b%5,C=(2*v+3*b)%5;v=g,b=C}for(var v=0;v<5;v++)for(var b=0;b<5;b++)d[v+5*b]=b+(2*v+3*b)%5*5;for(var E=1,S=0;S<24;S++){for(var w=0,T=0,k=0;k<7;k++){if(E&1){var m=(1<<k)-1;m<32?T^=1<<m:w^=1<<m-32}E&128?E=E<<1^113:E<<=1}p[S]=c.create(w,T)}})();var x=[];(function(){for(var v=0;v<25;v++)x[v]=c.create()})();var h=u.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var v=this._state=[],b=0;b<25;b++)v[b]=new c.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(v,b){for(var y=this._state,g=this.blockSize/2,C=0;C<g;C++){var E=v[b+2*C],S=v[b+2*C+1];E=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,S=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360;var w=y[C];w.high^=S,w.low^=E}for(var T=0;T<24;T++){for(var k=0;k<5;k++){for(var m=0,B=0,R=0;R<5;R++){var w=y[k+5*R];m^=w.high,B^=w.low}var P=x[k];P.high=m,P.low=B}for(var k=0;k<5;k++)for(var U=x[(k+4)%5],z=x[(k+1)%5],J=z.high,Z=z.low,m=U.high^(J<<1|Z>>>31),B=U.low^(Z<<1|J>>>31),R=0;R<5;R++){var w=y[k+5*R];w.high^=m,w.low^=B}for(var ee=1;ee<25;ee++){var m,B,w=y[ee],ne=w.high,j=w.low,F=f[ee];F<32?(m=ne<<F|j>>>32-F,B=j<<F|ne>>>32-F):(m=j<<F-32|ne>>>64-F,B=ne<<F-32|j>>>64-F);var I=x[d[ee]];I.high=m,I.low=B}var O=x[0],M=y[0];O.high=M.high,O.low=M.low;for(var k=0;k<5;k++)for(var R=0;R<5;R++){var ee=k+5*R,w=y[ee],Q=x[ee],W=x[(k+1)%5+5*R],te=x[(k+2)%5+5*R];w.high=Q.high^~W.high&te.high,w.low=Q.low^~W.low&te.low}var w=y[0],N=p[T];w.high^=N.high,w.low^=N.low}},_doFinalize:function(){var v=this._data,b=v.words;this._nDataBytes*8;var y=v.sigBytes*8,g=this.blockSize*32;b[y>>>5]|=1<<24-y%32,b[(r.ceil((y+1)/g)*g>>>5)-1]|=128,v.sigBytes=b.length*4,this._process();for(var C=this._state,E=this.cfg.outputLength/8,S=E/8,w=[],T=0;T<S;T++){var k=C[T],m=k.high,B=k.low;m=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360,B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,w.push(B),w.push(m)}return new o.init(w,E)},clone:function(){for(var v=s.clone.call(this),b=v._state=this._state.slice(0),y=0;y<25;y++)b[y]=b[y].clone();return v}});i.SHA3=s._createHelper(h),i.HmacSHA3=s._createHmacHelper(h)}(Math),n.SHA3})}(xa)),xa.exports}var ma={exports:{}},W0;function gg(){return W0||(W0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){/** @preserve
503
+ `,Om=({onClick:e,params:t,handleUpdateParam:n,ParamErrors:r,removeParameter:i,dataSet:a,disabledEdit:o,isMainApp:s})=>A.jsxs($.Box,{width:"100%",display:"flex",flexDirection:"column",p:1,children:[a&&A.jsx($.Box,{mb:"8px",mt:"4px",children:A.jsx(yu,{noInlineAction:!0,addOptionLabel:"Add Data Set",showDeleteIcon:!o,showAddOption:!o,width:"200px",...a,disabled:o,id:"data-set-select-scenario"})}),A.jsx($.Box,{display:"flex",width:"100%",flexDirection:"column",children:A.jsxs($.Grid2,{sx:{flexGrow:1},container:!0,spacing:1,children:[A.jsx($.Grid2,{size:6,children:A.jsx(be,{value:"Parameters",size:"xs",color:"var(--color-grey-90)"})}),A.jsx($.Grid2,{size:6,children:A.jsx(be,{value:"Values",size:"xs",color:"var(--color-grey-90)"})})]})}),A.jsx(Pm,{isMainApp:s,children:t.map((l,c)=>A.jsx(A.Fragment,{children:A.jsx(Nm,{...l,index:c,onChangeValue:n,ParamErrors:r,onDelete:i,disabledEdit:o,isMainApp:s,isLastIndex:c===t.length-1,handleAddParam:e})},c))})]}),Nm=e=>{const{keyName:t,onChangeValue:n,index:r,error:i,value:a,onDelete:o,mask:s,disabled:l,ParamErrors:c,disabledEdit:u,isMainApp:f,isLastIndex:d,handleAddParam:p}=e,x=V.useRef(null),[h,v]=V.useState(!1);V.useEffect(()=>{var C;!f&&((C=x.current)==null||C.scrollIntoView({behavior:"smooth",block:"nearest"}))},[]);const b=()=>{v(!h)},y=V.useRef(null),g=V.useRef(null);return A.jsxs($.Box,{ref:x,display:"flex",width:"100%",flexDirection:"column",children:[A.jsxs($.Grid2,{sx:{flexGrow:1},container:!0,spacing:1,children:[A.jsx($.Grid2,{size:6,children:A.jsxs($.Box,{display:"flex",alignItems:"center",children:[d?A.jsx(it,{onClick:p,size:"small",disabled:u,children:A.jsx(Oo,{size:14})}):A.jsx($.Box,{width:"24px"}),A.jsx(Pn,{ref:y,value:t,onChange:C=>n==null?void 0:n(r,C.target.value,a||""),size:"small",noBorder:!0,error:i,placeholder:"Insert parameter",disabled:u,autoFocus:!0})]})}),A.jsx($.Grid2,{size:6,children:A.jsxs($.Box,{display:"flex",alignItems:"center",gap:1,children:[A.jsx(Pn,{ref:g,value:a,size:"small",type:s&&!h?"password":"text",onChange:C=>n==null?void 0:n(r,t,C.target.value,s),noBorder:!0,placeholder:"Insert value",endIcon:s?h?A.jsx(Nl,{onClick:b,size:12}):A.jsx(Ol,{onClick:b,size:12}):"",disabled:u}),A.jsx(it,{size:"small",children:A.jsx(No,{onClick:()=>!l&&(o==null?void 0:o(r)),size:16,color:l?"var(--color-grey-50)":"var(--color-error-100)"})})]})})]}),i&&A.jsx(be,{weight:"medium",value:"Parameter is not used in the scenario",color:"var(--color-error-100)",mt:.5}),c&&A.jsx(c,{index:r})]})},bu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Cu="ARRAYBUFFER not supported by this environment",Au="UINT8ARRAY not supported by this environment";function A0(e,t,n,r){let i,a,o;const s=t||[0],l=(n=n||0)>>>3,c=r===-1?3:0;for(i=0;i<e.length;i+=1)o=i+l,a=o>>>2,s.length<=a&&s.push(0),s[a]|=e[i]<<8*(c+r*(o%4));return{value:s,binLen:8*e.length+n}}function Mn(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,i,a){return function(o,s,l,c){let u,f,d,p;if(o.length%2!=0)throw new Error("String of HEX type must be in byte increments");const x=s||[0],h=(l=l||0)>>>3,v=c===-1?3:0;for(u=0;u<o.length;u+=2){if(f=parseInt(o.substr(u,2),16),isNaN(f))throw new Error("String of HEX type contains invalid characters");for(p=(u>>>1)+h,d=p>>>2;x.length<=d;)x.push(0);x[d]|=f<<8*(v+c*(p%4))}return{value:x,binLen:4*o.length+l}}(r,i,a,n)};case"TEXT":return function(r,i,a){return function(o,s,l,c,u){let f,d,p,x,h,v,b,y,g=0;const C=l||[0],E=(c=c||0)>>>3;if(s==="UTF8")for(b=u===-1?3:0,p=0;p<o.length;p+=1)for(f=o.charCodeAt(p),d=[],128>f?d.push(f):2048>f?(d.push(192|f>>>6),d.push(128|63&f)):55296>f||57344<=f?d.push(224|f>>>12,128|f>>>6&63,128|63&f):(p+=1,f=65536+((1023&f)<<10|1023&o.charCodeAt(p)),d.push(240|f>>>18,128|f>>>12&63,128|f>>>6&63,128|63&f)),x=0;x<d.length;x+=1){for(v=g+E,h=v>>>2;C.length<=h;)C.push(0);C[h]|=d[x]<<8*(b+u*(v%4)),g+=1}else for(b=u===-1?2:0,y=s==="UTF16LE"&&u!==1||s!=="UTF16LE"&&u===1,p=0;p<o.length;p+=1){for(f=o.charCodeAt(p),y===!0&&(x=255&f,f=x<<8|f>>>8),v=g+E,h=v>>>2;C.length<=h;)C.push(0);C[h]|=f<<8*(b+u*(v%4)),g+=2}return{value:C,binLen:8*g+c}}(r,t,i,a,n)};case"B64":return function(r,i,a){return function(o,s,l,c){let u,f,d,p,x,h,v,b=0;const y=s||[0],g=(l=l||0)>>>3,C=c===-1?3:0,E=o.indexOf("=");if(o.search(/^[a-zA-Z0-9=+/]+$/)===-1)throw new Error("Invalid character in base-64 string");if(o=o.replace(/=/g,""),E!==-1&&E<o.length)throw new Error("Invalid '=' found in base-64 string");for(f=0;f<o.length;f+=4){for(x=o.substr(f,4),p=0,d=0;d<x.length;d+=1)u=bu.indexOf(x.charAt(d)),p|=u<<18-6*d;for(d=0;d<x.length-1;d+=1){for(v=b+g,h=v>>>2;y.length<=h;)y.push(0);y[h]|=(p>>>16-8*d&255)<<8*(C+c*(v%4)),b+=1}}return{value:y,binLen:8*b+l}}(r,i,a,n)};case"BYTES":return function(r,i,a){return function(o,s,l,c){let u,f,d,p;const x=s||[0],h=(l=l||0)>>>3,v=c===-1?3:0;for(f=0;f<o.length;f+=1)u=o.charCodeAt(f),p=f+h,d=p>>>2,x.length<=d&&x.push(0),x[d]|=u<<8*(v+c*(p%4));return{value:x,binLen:8*o.length+l}}(r,i,a,n)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error(Cu)}return function(r,i,a){return function(o,s,l,c){return A0(new Uint8Array(o),s,l,c)}(r,i,a,n)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error(Au)}return function(r,i,a){return A0(r,i,a,n)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function E0(e,t,n,r){switch(e){case"HEX":return function(i){return function(a,o,s,l){const c="0123456789abcdef";let u,f,d="";const p=o/8,x=s===-1?3:0;for(u=0;u<p;u+=1)f=a[u>>>2]>>>8*(x+s*(u%4)),d+=c.charAt(f>>>4&15)+c.charAt(15&f);return l.outputUpper?d.toUpperCase():d}(i,t,n,r)};case"B64":return function(i){return function(a,o,s,l){let c,u,f,d,p,x="";const h=o/8,v=s===-1?3:0;for(c=0;c<h;c+=3)for(d=c+1<h?a[c+1>>>2]:0,p=c+2<h?a[c+2>>>2]:0,f=(a[c>>>2]>>>8*(v+s*(c%4))&255)<<16|(d>>>8*(v+s*((c+1)%4))&255)<<8|p>>>8*(v+s*((c+2)%4))&255,u=0;u<4;u+=1)x+=8*c+6*u<=o?bu.charAt(f>>>6*(3-u)&63):l.b64Pad;return x}(i,t,n,r)};case"BYTES":return function(i){return function(a,o,s){let l,c,u="";const f=o/8,d=s===-1?3:0;for(l=0;l<f;l+=1)c=a[l>>>2]>>>8*(d+s*(l%4))&255,u+=String.fromCharCode(c);return u}(i,t,n)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error(Cu)}return function(i){return function(a,o,s){let l;const c=o/8,u=new ArrayBuffer(c),f=new Uint8Array(u),d=s===-1?3:0;for(l=0;l<c;l+=1)f[l]=a[l>>>2]>>>8*(d+s*(l%4))&255;return u}(i,t,n)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error(Au)}return function(i){return function(a,o,s){let l;const c=o/8,u=s===-1?3:0,f=new Uint8Array(c);for(l=0;l<c;l+=1)f[l]=a[l>>>2]>>>8*(u+s*(l%4))&255;return f}(i,t,n)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}const Ar=4294967296,X=[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],Tt=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428],Ft=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],Er="Chosen SHA variant is not supported",Eu="Cannot set numRounds with MAC";function ci(e,t){let n,r;const i=e.binLen>>>3,a=t.binLen>>>3,o=i<<3,s=4-i<<3;if(i%4!=0){for(n=0;n<a;n+=4)r=i+n>>>2,e.value[r]|=t.value[n>>>2]<<o,e.value.push(0),e.value[r+1]|=t.value[n>>>2]>>>s;return(e.value.length<<2)-4>=a+i&&e.value.pop(),{value:e.value,binLen:e.binLen+t.binLen}}return{value:e.value.concat(t.value),binLen:e.binLen+t.binLen}}function S0(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 Vt(e,t,n,r){const i=e+" must include a value and format";if(!t){if(!r)throw new Error(i);return r}if(t.value===void 0||!t.format)throw new Error(i);return Mn(t.format,t.encoding||"UTF8",n)(t.value)}class Fi{constructor(t,n,r){const i=r||{};if(this.t=n,this.i=i.encoding||"UTF8",this.numRounds=i.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 i=this.m>>>5,a=this.C(t,this.h,this.u),o=a.binLen,s=a.value,l=o>>>5;for(n=0;n<l;n+=i)r+this.m<=o&&(this.U=this.v(s.slice(n,n+i),this.U),r+=this.m);return this.A+=r,this.h=s.slice(r>>>5),this.u=o%this.m,this.l=!0,this}getHash(t,n){let r,i,a=this.R;const o=S0(n);if(this.K){if(o.outputLen===-1)throw new Error("Output length must be specified in options");a=o.outputLen}const s=E0(t,a,this.T,o);if(this.H&&this.g)return s(this.g(o));for(i=this.F(this.h.slice(),this.u,this.A,this.L(this.U),a),r=1;r<this.numRounds;r+=1)this.K&&a%32!=0&&(i[i.length-1]&=16777215>>>24-a%32),i=this.F(i,a,0,this.B(this.o),a);return s(i)}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 i=Mn(n,(r||{}).encoding||"UTF8",this.T);this.k(i(t))}k(t){const n=this.m>>>3,r=n/4-1;let i;if(this.numRounds!==1)throw new Error(Eu);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(i=0;i<=r;i+=1)this.S[i]=909522486^t.value[i],this.p[i]=1549556828^t.value[i];this.U=this.v(this.S,this.U),this.A=this.m,this.H=!0}getHMAC(t,n){const r=S0(n);return E0(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 vn(e,t){return e<<t|e>>>32-t}function Et(e,t){return e>>>t|e<<32-t}function Su(e,t){return e>>>t}function w0(e,t,n){return e^t^n}function wu(e,t,n){return e&t^~e&n}function Bu(e,t,n){return e&t^e&n^t&n}function jm(e){return Et(e,2)^Et(e,13)^Et(e,22)}function He(e,t){const n=(65535&e)+(65535&t);return(65535&(e>>>16)+(t>>>16)+(n>>>16))<<16|65535&n}function Lm(e,t,n,r){const i=(65535&e)+(65535&t)+(65535&n)+(65535&r);return(65535&(e>>>16)+(t>>>16)+(n>>>16)+(r>>>16)+(i>>>16))<<16|65535&i}function tr(e,t,n,r,i){const a=(65535&e)+(65535&t)+(65535&n)+(65535&r)+(65535&i);return(65535&(e>>>16)+(t>>>16)+(n>>>16)+(r>>>16)+(i>>>16)+(a>>>16))<<16|65535&a}function Vm(e){return Et(e,7)^Et(e,18)^Su(e,3)}function $m(e){return Et(e,6)^Et(e,11)^Et(e,25)}function Um(e){return[1732584193,4023233417,2562383102,271733878,3285377520]}function Du(e,t){let n,r,i,a,o,s,l;const c=[];for(n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],l=0;l<80;l+=1)c[l]=l<16?e[l]:vn(c[l-3]^c[l-8]^c[l-14]^c[l-16],1),s=l<20?tr(vn(n,5),wu(r,i,a),o,1518500249,c[l]):l<40?tr(vn(n,5),w0(r,i,a),o,1859775393,c[l]):l<60?tr(vn(n,5),Bu(r,i,a),o,2400959708,c[l]):tr(vn(n,5),w0(r,i,a),o,3395469782,c[l]),o=a,a=i,i=vn(r,30),r=n,n=s;return t[0]=He(n,t[0]),t[1]=He(r,t[1]),t[2]=He(i,t[2]),t[3]=He(a,t[3]),t[4]=He(o,t[4]),t}function Hm(e,t,n,r){let i;const a=15+(t+65>>>9<<4),o=t+n;for(;e.length<=a;)e.push(0);for(e[t>>>5]|=128<<24-t%32,e[a]=4294967295&o,e[a-1]=o/Ar|0,i=0;i<e.length;i+=16)r=Du(e.slice(i,i+16),r);return r}let zm=class extends Fi{constructor(e,t,n){if(e!=="SHA-1")throw new Error(Er);super(e,t,n);const r=n||{};this.M=!0,this.g=this.Y,this.T=-1,this.C=Mn(this.t,this.i,this.T),this.v=Du,this.L=function(i){return i.slice()},this.B=Um,this.F=Hm,this.U=[1732584193,4023233417,2562383102,271733878,3285377520],this.m=512,this.R=160,this.K=!1,r.hmacKey&&this.k(Vt("hmacKey",r.hmacKey,this.T))}};function B0(e){let t;return t=e=="SHA-224"?Tt.slice():Ft.slice(),t}function D0(e,t){let n,r,i,a,o,s,l,c,u,f,d;const p=[];for(n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],s=t[5],l=t[6],c=t[7],d=0;d<64;d+=1)p[d]=d<16?e[d]:Lm(Et(x=p[d-2],17)^Et(x,19)^Su(x,10),p[d-7],Vm(p[d-15]),p[d-16]),u=tr(c,$m(o),wu(o,s,l),X[d],p[d]),f=He(jm(n),Bu(n,r,i)),c=l,l=s,s=o,o=He(a,u),a=i,i=r,r=n,n=He(u,f);var x;return t[0]=He(n,t[0]),t[1]=He(r,t[1]),t[2]=He(i,t[2]),t[3]=He(a,t[3]),t[4]=He(o,t[4]),t[5]=He(s,t[5]),t[6]=He(l,t[6]),t[7]=He(c,t[7]),t}let Wm=class extends Fi{constructor(e,t,n){if(e!=="SHA-224"&&e!=="SHA-256")throw new Error(Er);super(e,t,n);const r=n||{};this.g=this.Y,this.M=!0,this.T=-1,this.C=Mn(this.t,this.i,this.T),this.v=D0,this.L=function(i){return i.slice()},this.B=B0,this.F=function(i,a,o,s){return function(l,c,u,f,d){let p,x;const h=15+(c+65>>>9<<4),v=c+u;for(;l.length<=h;)l.push(0);for(l[c>>>5]|=128<<24-c%32,l[h]=4294967295&v,l[h-1]=v/Ar|0,p=0;p<l.length;p+=16)f=D0(l.slice(p,p+16),f);return x=d==="SHA-224"?[f[0],f[1],f[2],f[3],f[4],f[5],f[6]]:f,x}(i,a,o,s,e)},this.U=B0(e),this.m=512,this.R=e==="SHA-224"?224:256,this.K=!1,r.hmacKey&&this.k(Vt("hmacKey",r.hmacKey,this.T))}};class _{constructor(t,n){this.N=t,this.I=n}}function T0(e,t){let n;return t>32?(n=64-t,new _(e.I<<t|e.N>>>n,e.N<<t|e.I>>>n)):t!==0?(n=32-t,new _(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 _(e.N>>>t|e.I<<n,e.I>>>t|e.N<<n)):(n=64-t,new _(e.I>>>t|e.N<<n,e.N>>>t|e.I<<n))}function Tu(e,t){return new _(e.N>>>t,e.I>>>t|e.N<<32-t)}function Km(e,t,n){return new _(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 Gm(e){const t=St(e,28),n=St(e,34),r=St(e,39);return new _(t.N^n.N^r.N,t.I^n.I^r.I)}function dt(e,t){let n,r;n=(65535&e.I)+(65535&t.I),r=(e.I>>>16)+(t.I>>>16)+(n>>>16);const i=(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 _((65535&r)<<16|65535&n,i)}function Ym(e,t,n,r){let i,a;i=(65535&e.I)+(65535&t.I)+(65535&n.I)+(65535&r.I),a=(e.I>>>16)+(t.I>>>16)+(n.I>>>16)+(r.I>>>16)+(i>>>16);const o=(65535&a)<<16|65535&i;return i=(65535&e.N)+(65535&t.N)+(65535&n.N)+(65535&r.N)+(a>>>16),a=(e.N>>>16)+(t.N>>>16)+(n.N>>>16)+(r.N>>>16)+(i>>>16),new _((65535&a)<<16|65535&i,o)}function qm(e,t,n,r,i){let a,o;a=(65535&e.I)+(65535&t.I)+(65535&n.I)+(65535&r.I)+(65535&i.I),o=(e.I>>>16)+(t.I>>>16)+(n.I>>>16)+(r.I>>>16)+(i.I>>>16)+(a>>>16);const s=(65535&o)<<16|65535&a;return a=(65535&e.N)+(65535&t.N)+(65535&n.N)+(65535&r.N)+(65535&i.N)+(o>>>16),o=(e.N>>>16)+(t.N>>>16)+(n.N>>>16)+(r.N>>>16)+(i.N>>>16)+(a>>>16),new _((65535&o)<<16|65535&a,s)}function Zn(e,t){return new _(e.N^t.N,e.I^t.I)}function Xm(e){const t=St(e,19),n=St(e,61),r=Tu(e,6);return new _(t.N^n.N^r.N,t.I^n.I^r.I)}function Zm(e){const t=St(e,1),n=St(e,8),r=Tu(e,7);return new _(t.N^n.N^r.N,t.I^n.I^r.I)}function Jm(e){const t=St(e,14),n=St(e,18),r=St(e,41);return new _(t.N^n.N^r.N,t.I^n.I^r.I)}const Qm=[new _(X[0],3609767458),new _(X[1],602891725),new _(X[2],3964484399),new _(X[3],2173295548),new _(X[4],4081628472),new _(X[5],3053834265),new _(X[6],2937671579),new _(X[7],3664609560),new _(X[8],2734883394),new _(X[9],1164996542),new _(X[10],1323610764),new _(X[11],3590304994),new _(X[12],4068182383),new _(X[13],991336113),new _(X[14],633803317),new _(X[15],3479774868),new _(X[16],2666613458),new _(X[17],944711139),new _(X[18],2341262773),new _(X[19],2007800933),new _(X[20],1495990901),new _(X[21],1856431235),new _(X[22],3175218132),new _(X[23],2198950837),new _(X[24],3999719339),new _(X[25],766784016),new _(X[26],2566594879),new _(X[27],3203337956),new _(X[28],1034457026),new _(X[29],2466948901),new _(X[30],3758326383),new _(X[31],168717936),new _(X[32],1188179964),new _(X[33],1546045734),new _(X[34],1522805485),new _(X[35],2643833823),new _(X[36],2343527390),new _(X[37],1014477480),new _(X[38],1206759142),new _(X[39],344077627),new _(X[40],1290863460),new _(X[41],3158454273),new _(X[42],3505952657),new _(X[43],106217008),new _(X[44],3606008344),new _(X[45],1432725776),new _(X[46],1467031594),new _(X[47],851169720),new _(X[48],3100823752),new _(X[49],1363258195),new _(X[50],3750685593),new _(X[51],3785050280),new _(X[52],3318307427),new _(X[53],3812723403),new _(X[54],2003034995),new _(X[55],3602036899),new _(X[56],1575990012),new _(X[57],1125592928),new _(X[58],2716904306),new _(X[59],442776044),new _(X[60],593698344),new _(X[61],3733110249),new _(X[62],2999351573),new _(X[63],3815920427),new _(3391569614,3928383900),new _(3515267271,566280711),new _(3940187606,3454069534),new _(4118630271,4000239992),new _(116418474,1914138554),new _(174292421,2731055270),new _(289380356,3203993006),new _(460393269,320620315),new _(685471733,587496836),new _(852142971,1086792851),new _(1017036298,365543100),new _(1126000580,2618297676),new _(1288033470,3409855158),new _(1501505948,4234509866),new _(1607167915,987167468),new _(1816402316,1246189591)];function F0(e){return e==="SHA-384"?[new _(3418070365,Tt[0]),new _(1654270250,Tt[1]),new _(2438529370,Tt[2]),new _(355462360,Tt[3]),new _(1731405415,Tt[4]),new _(41048885895,Tt[5]),new _(3675008525,Tt[6]),new _(1203062813,Tt[7])]:[new _(Ft[0],4089235720),new _(Ft[1],2227873595),new _(Ft[2],4271175723),new _(Ft[3],1595750129),new _(Ft[4],2917565137),new _(Ft[5],725511199),new _(Ft[6],4215389547),new _(Ft[7],327033209)]}function P0(e,t){let n,r,i,a,o,s,l,c,u,f,d,p;const x=[];for(n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],s=t[5],l=t[6],c=t[7],d=0;d<80;d+=1)d<16?(p=2*d,x[d]=new _(e[p],e[p+1])):x[d]=Ym(Xm(x[d-2]),x[d-7],Zm(x[d-15]),x[d-16]),u=qm(c,Jm(o),(v=s,b=l,new _((h=o).N&v.N^~h.N&b.N,h.I&v.I^~h.I&b.I)),Qm[d],x[d]),f=dt(Gm(n),Km(n,r,i)),c=l,l=s,s=o,o=dt(a,u),a=i,i=r,r=n,n=dt(u,f);var h,v,b;return t[0]=dt(n,t[0]),t[1]=dt(r,t[1]),t[2]=dt(i,t[2]),t[3]=dt(a,t[3]),t[4]=dt(o,t[4]),t[5]=dt(s,t[5]),t[6]=dt(l,t[6]),t[7]=dt(c,t[7]),t}let eg=class extends Fi{constructor(e,t,n){if(e!=="SHA-384"&&e!=="SHA-512")throw new Error(Er);super(e,t,n);const r=n||{};this.g=this.Y,this.M=!0,this.T=-1,this.C=Mn(this.t,this.i,this.T),this.v=P0,this.L=function(i){return i.slice()},this.B=F0,this.F=function(i,a,o,s){return function(l,c,u,f,d){let p,x;const h=31+(c+129>>>10<<5),v=c+u;for(;l.length<=h;)l.push(0);for(l[c>>>5]|=128<<24-c%32,l[h]=4294967295&v,l[h-1]=v/Ar|0,p=0;p<l.length;p+=32)f=P0(l.slice(p,p+32),f);return x=d==="SHA-384"?[f[0].N,f[0].I,f[1].N,f[1].I,f[2].N,f[2].I,f[3].N,f[3].I,f[4].N,f[4].I,f[5].N,f[5].I]:[f[0].N,f[0].I,f[1].N,f[1].I,f[2].N,f[2].I,f[3].N,f[3].I,f[4].N,f[4].I,f[5].N,f[5].I,f[6].N,f[6].I,f[7].N,f[7].I],x}(i,a,o,s,e)},this.U=F0(e),this.m=1024,this.R=e==="SHA-384"?384:512,this.K=!1,r.hmacKey&&this.k(Vt("hmacKey",r.hmacKey,this.T))}};const tg=[new _(0,1),new _(0,32898),new _(2147483648,32906),new _(2147483648,2147516416),new _(0,32907),new _(0,2147483649),new _(2147483648,2147516545),new _(2147483648,32777),new _(0,138),new _(0,136),new _(0,2147516425),new _(0,2147483658),new _(0,2147516555),new _(2147483648,139),new _(2147483648,32905),new _(2147483648,32771),new _(2147483648,32770),new _(2147483648,128),new _(0,32778),new _(2147483648,2147483658),new _(2147483648,2147516545),new _(2147483648,32896),new _(0,2147483649),new _(2147483648,2147516424)],ng=[[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 co(e){let t;const n=[];for(t=0;t<5;t+=1)n[t]=[new _(0,0),new _(0,0),new _(0,0),new _(0,0),new _(0,0)];return n}function rg(e){let t;const n=[];for(t=0;t<5;t+=1)n[t]=e[t].slice();return n}function $r(e,t){let n,r,i,a;const o=[],s=[];if(e!==null)for(r=0;r<e.length;r+=2)t[(r>>>1)%5][(r>>>1)/5|0]=Zn(t[(r>>>1)%5][(r>>>1)/5|0],new _(e[r+1],e[r]));for(n=0;n<24;n+=1){for(a=co(),r=0;r<5;r+=1)o[r]=(l=t[r][0],c=t[r][1],u=t[r][2],f=t[r][3],d=t[r][4],new _(l.N^c.N^u.N^f.N^d.N,l.I^c.I^u.I^f.I^d.I));for(r=0;r<5;r+=1)s[r]=Zn(o[(r+4)%5],T0(o[(r+1)%5],1));for(r=0;r<5;r+=1)for(i=0;i<5;i+=1)t[r][i]=Zn(t[r][i],s[r]);for(r=0;r<5;r+=1)for(i=0;i<5;i+=1)a[i][(2*r+3*i)%5]=T0(t[r][i],ng[r][i]);for(r=0;r<5;r+=1)for(i=0;i<5;i+=1)t[r][i]=Zn(a[r][i],new _(~a[(r+1)%5][i].N&a[(r+2)%5][i].N,~a[(r+1)%5][i].I&a[(r+2)%5][i].I));t[0][0]=Zn(t[0][0],tg[n])}var l,c,u,f,d;return t}function Fu(e){let t,n,r=0;const i=[0,0],a=[4294967295&e,e/Ar&2097151];for(t=6;t>=0;t--)n=a[t>>2]>>>8*t&255,n===0&&r===0||(i[r+1>>2]|=n<<8*(r+1),r+=1);return r=r!==0?r:1,i[0]|=r,{value:r+1>4?i:[i[0]],binLen:8+8*r}}function na(e){return ci(Fu(e.binLen),e)}function R0(e,t){let n,r=Fu(t);r=ci(r,e);const i=t>>>2,a=(i-r.value.length%i)%i;for(n=0;n<a;n++)r.value.push(0);return r.value}let ig=class extends Fi{constructor(e,t,n){let r=6,i=0;super(e,t,n);const a=n||{};if(this.numRounds!==1){if(a.kmacKey||a.hmacKey)throw new Error(Eu);if(this.o==="CSHAKE128"||this.o==="CSHAKE256")throw new Error("Cannot set numRounds for CSHAKE variants")}switch(this.T=1,this.C=Mn(this.t,this.i,this.T),this.v=$r,this.L=rg,this.B=co,this.U=co(),this.K=!1,e){case"SHA3-224":this.m=i=1152,this.R=224,this.M=!0,this.g=this.Y;break;case"SHA3-256":this.m=i=1088,this.R=256,this.M=!0,this.g=this.Y;break;case"SHA3-384":this.m=i=832,this.R=384,this.M=!0,this.g=this.Y;break;case"SHA3-512":this.m=i=576,this.R=512,this.M=!0,this.g=this.Y;break;case"SHAKE128":r=31,this.m=i=1344,this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"SHAKE256":r=31,this.m=i=1088,this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"KMAC128":r=4,this.m=i=1344,this.X(n),this.R=-1,this.K=!0,this.M=!1,this.g=this._;break;case"KMAC256":r=4,this.m=i=1088,this.X(n),this.R=-1,this.K=!0,this.M=!1,this.g=this._;break;case"CSHAKE128":this.m=i=1344,r=this.O(n),this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"CSHAKE256":this.m=i=1088,r=this.O(n),this.R=-1,this.K=!0,this.M=!1,this.g=null;break;default:throw new Error(Er)}this.F=function(o,s,l,c,u){return function(f,d,p,x,h,v,b){let y,g,C=0;const E=[],S=h>>>5,w=d>>>5;for(y=0;y<w&&d>=h;y+=S)x=$r(f.slice(y,y+S),x),d-=h;for(f=f.slice(y),d%=h;f.length<S;)f.push(0);for(y=d>>>3,f[y>>2]^=v<<y%4*8,f[S-1]^=2147483648,x=$r(f,x);32*E.length<b&&(g=x[C%5][C/5|0],E.push(g.I),!(32*E.length>=b));)E.push(g.N),C+=1,64*C%h==0&&($r(null,x),C=0);return E}(o,s,0,c,i,r,u)},a.hmacKey&&this.k(Vt("hmacKey",a.hmacKey,this.T))}O(e,t){const n=function(i){const a=i||{};return{funcName:Vt("funcName",a.funcName,1,{value:[],binLen:0}),customization:Vt("Customization",a.customization,1,{value:[],binLen:0})}}(e||{});t&&(n.funcName=t);const r=ci(na(n.funcName),na(n.customization));if(n.customization.binLen!==0||n.funcName.binLen!==0){const i=R0(r,this.m>>>3);for(let a=0;a<i.length;a+=this.m>>>5)this.U=this.v(i.slice(a,a+(this.m>>>5)),this.U),this.A+=this.m;return 4}return 31}X(e){const t=function(r){const i=r||{};return{kmacKey:Vt("kmacKey",i.kmacKey,1),funcName:{value:[1128353099],binLen:32},customization:Vt("Customization",i.customization,1,{value:[],binLen:0})}}(e||{});this.O(e,t.funcName);const n=R0(na(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=ci({value:this.h.slice(),binLen:this.u},function(n){let r,i,a=0;const o=[0,0],s=[4294967295&n,n/Ar&2097151];for(r=6;r>=0;r--)i=s[r>>2]>>>8*r&255,i===0&&a===0||(o[a>>2]|=i<<8*a,a+=1);return a=a!==0?a:1,o[a>>2]|=a<<8*a,{value:a+1>4?o:[o[0]],binLen:8+8*a}}(e.outputLen));return this.F(t.value,t.binLen,this.A,this.L(this.U),e.outputLen)}};class ag{constructor(t,n,r){if(t=="SHA-1")this.P=new zm(t,n,r);else if(t=="SHA-224"||t=="SHA-256")this.P=new Wm(t,n,r);else if(t=="SHA-384"||t=="SHA-512")this.P=new eg(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(Er);this.P=new ig(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 og{static generate(t,n){const r={digits:6,algorithm:"SHA-1",period:30,timestamp:Date.now(),...n},i=Math.floor(r.timestamp/1e3),a=this.leftpad(this.dec2hex(Math.floor(i/r.period)),16,"0"),o=new ag(r.algorithm,"HEX");o.setHMACKey(this.base32tohex(t),"HEX"),o.update(a);const s=o.getHMAC("HEX"),l=this.hex2dec(s.substring(s.length-1));let c=(this.hex2dec(s.substr(l*2,8))&this.hex2dec("7fffffff"))+"";const u=Math.max(c.length-r.digits,0);c=c.substring(u,u+r.digits);const f=Math.ceil((r.timestamp+1)/(r.period*1e3))*r.period*1e3;return{otp:c,expires:f}}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="",i="";const a=t.replace(/=+$/,"");for(let o=0;o<a.length;o++){const s=n.indexOf(t.charAt(o).toUpperCase());if(s===-1)throw new Error("Invalid base32 character in key");r+=this.leftpad(s.toString(2),5,"0")}for(let o=0;o+8<=r.length;o+=8){const s=r.substr(o,8);i=i+this.leftpad(parseInt(s,2).toString(16),2,"0")}return i}static leftpad(t,n,r){return n+1>=t.length&&(t=Array(n+1-t.length).join(r)+t),t}}var Pu={exports:{}};function sg(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 ra={exports:{}};const cg={},lg=Object.freeze(Object.defineProperty({__proto__:null,default:cg},Symbol.toStringTag,{value:"Module"})),ug=Fd(lg);var k0;function ce(){return k0||(k0=1,function(e,t){(function(n,r){e.exports=r()})(oe,function(){var n=n||function(r,i){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof oe<"u"&&oe.crypto&&(a=oe.crypto),!a&&typeof sg=="function")try{a=ug}catch{}var o=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function y(){}return function(g){var C;return y.prototype=g,C=new y,y.prototype=null,C}}(),l={},c=l.lib={},u=c.Base=function(){return{extend:function(y){var g=s(this);return y&&g.mixIn(y),(!g.hasOwnProperty("init")||this.init===g.init)&&(g.init=function(){g.$super.init.apply(this,arguments)}),g.init.prototype=g,g.$super=this,g},create:function(){var y=this.extend();return y.init.apply(y,arguments),y},init:function(){},mixIn:function(y){for(var g in y)y.hasOwnProperty(g)&&(this[g]=y[g]);y.hasOwnProperty("toString")&&(this.toString=y.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=c.WordArray=u.extend({init:function(y,g){y=this.words=y||[],g!=i?this.sigBytes=g:this.sigBytes=y.length*4},toString:function(y){return(y||p).stringify(this)},concat:function(y){var g=this.words,C=y.words,E=this.sigBytes,S=y.sigBytes;if(this.clamp(),E%4)for(var w=0;w<S;w++){var T=C[w>>>2]>>>24-w%4*8&255;g[E+w>>>2]|=T<<24-(E+w)%4*8}else for(var k=0;k<S;k+=4)g[E+k>>>2]=C[k>>>2];return this.sigBytes+=S,this},clamp:function(){var y=this.words,g=this.sigBytes;y[g>>>2]&=4294967295<<32-g%4*8,y.length=r.ceil(g/4)},clone:function(){var y=u.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var g=[],C=0;C<y;C+=4)g.push(o());return new f.init(g,y)}}),d=l.enc={},p=d.Hex={stringify:function(y){for(var g=y.words,C=y.sigBytes,E=[],S=0;S<C;S++){var w=g[S>>>2]>>>24-S%4*8&255;E.push((w>>>4).toString(16)),E.push((w&15).toString(16))}return E.join("")},parse:function(y){for(var g=y.length,C=[],E=0;E<g;E+=2)C[E>>>3]|=parseInt(y.substr(E,2),16)<<24-E%8*4;return new f.init(C,g/2)}},x=d.Latin1={stringify:function(y){for(var g=y.words,C=y.sigBytes,E=[],S=0;S<C;S++){var w=g[S>>>2]>>>24-S%4*8&255;E.push(String.fromCharCode(w))}return E.join("")},parse:function(y){for(var g=y.length,C=[],E=0;E<g;E++)C[E>>>2]|=(y.charCodeAt(E)&255)<<24-E%4*8;return new f.init(C,g)}},h=d.Utf8={stringify:function(y){try{return decodeURIComponent(escape(x.stringify(y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(y){return x.parse(unescape(encodeURIComponent(y)))}},v=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=h.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var g,C=this._data,E=C.words,S=C.sigBytes,w=this.blockSize,T=w*4,k=S/T;y?k=r.ceil(k):k=r.max((k|0)-this._minBufferSize,0);var m=k*w,B=r.min(m*4,S);if(m){for(var R=0;R<m;R+=w)this._doProcessBlock(E,R);g=E.splice(0,m),C.sigBytes-=B}return new f.init(g,B)},clone:function(){var y=u.clone.call(this);return y._data=this._data.clone(),y},_minBufferSize:0});c.Hasher=v.extend({cfg:u.extend(),init:function(y){this.cfg=this.cfg.extend(y),this.reset()},reset:function(){v.reset.call(this),this._doReset()},update:function(y){return this._append(y),this._process(),this},finalize:function(y){y&&this._append(y);var g=this._doFinalize();return g},blockSize:16,_createHelper:function(y){return function(g,C){return new y.init(C).finalize(g)}},_createHmacHelper:function(y){return function(g,C){return new b.HMAC.init(y,C).finalize(g)}}});var b=l.algo={};return l}(Math);return n})}(ra)),ra.exports}var ia={exports:{}},M0;function Pi(){return M0||(M0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(r){var i=n,a=i.lib,o=a.Base,s=a.WordArray,l=i.x64={};l.Word=o.extend({init:function(c,u){this.high=c,this.low=u}}),l.WordArray=o.extend({init:function(c,u){c=this.words=c||[],u!=r?this.sigBytes=u:this.sigBytes=c.length*8},toX32:function(){for(var c=this.words,u=c.length,f=[],d=0;d<u;d++){var p=c[d];f.push(p.high),f.push(p.low)}return s.create(f,this.sigBytes)},clone:function(){for(var c=o.clone.call(this),u=c.words=this.words.slice(0),f=u.length,d=0;d<f;d++)u[d]=u[d].clone();return c}})}(),n})}(ia)),ia.exports}var aa={exports:{}},_0;function fg(){return _0||(_0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(){if(typeof ArrayBuffer=="function"){var r=n,i=r.lib,a=i.WordArray,o=a.init,s=a.init=function(l){if(l instanceof ArrayBuffer&&(l=new Uint8Array(l)),(l instanceof Int8Array||typeof Uint8ClampedArray<"u"&&l instanceof Uint8ClampedArray||l instanceof Int16Array||l instanceof Uint16Array||l instanceof Int32Array||l instanceof Uint32Array||l instanceof Float32Array||l instanceof Float64Array)&&(l=new Uint8Array(l.buffer,l.byteOffset,l.byteLength)),l instanceof Uint8Array){for(var c=l.byteLength,u=[],f=0;f<c;f++)u[f>>>2]|=l[f]<<24-f%4*8;o.call(this,u,c)}else o.apply(this,arguments)};s.prototype=a}}(),n.lib.WordArray})}(aa)),aa.exports}var oa={exports:{}},I0;function dg(){return I0||(I0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,o=r.enc;o.Utf16=o.Utf16BE={stringify:function(l){for(var c=l.words,u=l.sigBytes,f=[],d=0;d<u;d+=2){var p=c[d>>>2]>>>16-d%4*8&65535;f.push(String.fromCharCode(p))}return f.join("")},parse:function(l){for(var c=l.length,u=[],f=0;f<c;f++)u[f>>>1]|=l.charCodeAt(f)<<16-f%2*16;return a.create(u,c*2)}},o.Utf16LE={stringify:function(l){for(var c=l.words,u=l.sigBytes,f=[],d=0;d<u;d+=2){var p=s(c[d>>>2]>>>16-d%4*8&65535);f.push(String.fromCharCode(p))}return f.join("")},parse:function(l){for(var c=l.length,u=[],f=0;f<c;f++)u[f>>>1]|=s(l.charCodeAt(f)<<16-f%2*16);return a.create(u,c*2)}};function s(l){return l<<8&4278255360|l>>>8&16711935}}(),n.enc.Utf16})}(oa)),oa.exports}var sa={exports:{}},O0;function ln(){return O0||(O0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,o=r.enc;o.Base64={stringify:function(l){var c=l.words,u=l.sigBytes,f=this._map;l.clamp();for(var d=[],p=0;p<u;p+=3)for(var x=c[p>>>2]>>>24-p%4*8&255,h=c[p+1>>>2]>>>24-(p+1)%4*8&255,v=c[p+2>>>2]>>>24-(p+2)%4*8&255,b=x<<16|h<<8|v,y=0;y<4&&p+y*.75<u;y++)d.push(f.charAt(b>>>6*(3-y)&63));var g=f.charAt(64);if(g)for(;d.length%4;)d.push(g);return d.join("")},parse:function(l){var c=l.length,u=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var d=0;d<u.length;d++)f[u.charCodeAt(d)]=d}var p=u.charAt(64);if(p){var x=l.indexOf(p);x!==-1&&(c=x)}return s(l,c,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function s(l,c,u){for(var f=[],d=0,p=0;p<c;p++)if(p%4){var x=u[l.charCodeAt(p-1)]<<p%4*2,h=u[l.charCodeAt(p)]>>>6-p%4*2,v=x|h;f[d>>>2]|=v<<24-d%4*8,d++}return a.create(f,d)}}(),n.enc.Base64})}(sa)),sa.exports}var ca={exports:{}},N0;function hg(){return N0||(N0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,o=r.enc;o.Base64url={stringify:function(l,c){c===void 0&&(c=!0);var u=l.words,f=l.sigBytes,d=c?this._safe_map:this._map;l.clamp();for(var p=[],x=0;x<f;x+=3)for(var h=u[x>>>2]>>>24-x%4*8&255,v=u[x+1>>>2]>>>24-(x+1)%4*8&255,b=u[x+2>>>2]>>>24-(x+2)%4*8&255,y=h<<16|v<<8|b,g=0;g<4&&x+g*.75<f;g++)p.push(d.charAt(y>>>6*(3-g)&63));var C=d.charAt(64);if(C)for(;p.length%4;)p.push(C);return p.join("")},parse:function(l,c){c===void 0&&(c=!0);var u=l.length,f=c?this._safe_map:this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var p=0;p<f.length;p++)d[f.charCodeAt(p)]=p}var x=f.charAt(64);if(x){var h=l.indexOf(x);h!==-1&&(u=h)}return s(l,u,d)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function s(l,c,u){for(var f=[],d=0,p=0;p<c;p++)if(p%4){var x=u[l.charCodeAt(p-1)]<<p%4*2,h=u[l.charCodeAt(p)]>>>6-p%4*2,v=x|h;f[d>>>2]|=v<<24-d%4*8,d++}return a.create(f,d)}}(),n.enc.Base64url})}(ca)),ca.exports}var la={exports:{}},j0;function un(){return j0||(j0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(r){var i=n,a=i.lib,o=a.WordArray,s=a.Hasher,l=i.algo,c=[];(function(){for(var h=0;h<64;h++)c[h]=r.abs(r.sin(h+1))*4294967296|0})();var u=l.MD5=s.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(h,v){for(var b=0;b<16;b++){var y=v+b,g=h[y];h[y]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360}var C=this._hash.words,E=h[v+0],S=h[v+1],w=h[v+2],T=h[v+3],k=h[v+4],m=h[v+5],B=h[v+6],R=h[v+7],P=h[v+8],U=h[v+9],z=h[v+10],J=h[v+11],Z=h[v+12],ee=h[v+13],ne=h[v+14],j=h[v+15],F=C[0],I=C[1],O=C[2],M=C[3];F=f(F,I,O,M,E,7,c[0]),M=f(M,F,I,O,S,12,c[1]),O=f(O,M,F,I,w,17,c[2]),I=f(I,O,M,F,T,22,c[3]),F=f(F,I,O,M,k,7,c[4]),M=f(M,F,I,O,m,12,c[5]),O=f(O,M,F,I,B,17,c[6]),I=f(I,O,M,F,R,22,c[7]),F=f(F,I,O,M,P,7,c[8]),M=f(M,F,I,O,U,12,c[9]),O=f(O,M,F,I,z,17,c[10]),I=f(I,O,M,F,J,22,c[11]),F=f(F,I,O,M,Z,7,c[12]),M=f(M,F,I,O,ee,12,c[13]),O=f(O,M,F,I,ne,17,c[14]),I=f(I,O,M,F,j,22,c[15]),F=d(F,I,O,M,S,5,c[16]),M=d(M,F,I,O,B,9,c[17]),O=d(O,M,F,I,J,14,c[18]),I=d(I,O,M,F,E,20,c[19]),F=d(F,I,O,M,m,5,c[20]),M=d(M,F,I,O,z,9,c[21]),O=d(O,M,F,I,j,14,c[22]),I=d(I,O,M,F,k,20,c[23]),F=d(F,I,O,M,U,5,c[24]),M=d(M,F,I,O,ne,9,c[25]),O=d(O,M,F,I,T,14,c[26]),I=d(I,O,M,F,P,20,c[27]),F=d(F,I,O,M,ee,5,c[28]),M=d(M,F,I,O,w,9,c[29]),O=d(O,M,F,I,R,14,c[30]),I=d(I,O,M,F,Z,20,c[31]),F=p(F,I,O,M,m,4,c[32]),M=p(M,F,I,O,P,11,c[33]),O=p(O,M,F,I,J,16,c[34]),I=p(I,O,M,F,ne,23,c[35]),F=p(F,I,O,M,S,4,c[36]),M=p(M,F,I,O,k,11,c[37]),O=p(O,M,F,I,R,16,c[38]),I=p(I,O,M,F,z,23,c[39]),F=p(F,I,O,M,ee,4,c[40]),M=p(M,F,I,O,E,11,c[41]),O=p(O,M,F,I,T,16,c[42]),I=p(I,O,M,F,B,23,c[43]),F=p(F,I,O,M,U,4,c[44]),M=p(M,F,I,O,Z,11,c[45]),O=p(O,M,F,I,j,16,c[46]),I=p(I,O,M,F,w,23,c[47]),F=x(F,I,O,M,E,6,c[48]),M=x(M,F,I,O,R,10,c[49]),O=x(O,M,F,I,ne,15,c[50]),I=x(I,O,M,F,m,21,c[51]),F=x(F,I,O,M,Z,6,c[52]),M=x(M,F,I,O,T,10,c[53]),O=x(O,M,F,I,z,15,c[54]),I=x(I,O,M,F,S,21,c[55]),F=x(F,I,O,M,P,6,c[56]),M=x(M,F,I,O,j,10,c[57]),O=x(O,M,F,I,B,15,c[58]),I=x(I,O,M,F,ee,21,c[59]),F=x(F,I,O,M,k,6,c[60]),M=x(M,F,I,O,J,10,c[61]),O=x(O,M,F,I,w,15,c[62]),I=x(I,O,M,F,U,21,c[63]),C[0]=C[0]+F|0,C[1]=C[1]+I|0,C[2]=C[2]+O|0,C[3]=C[3]+M|0},_doFinalize:function(){var h=this._data,v=h.words,b=this._nDataBytes*8,y=h.sigBytes*8;v[y>>>5]|=128<<24-y%32;var g=r.floor(b/4294967296),C=b;v[(y+64>>>9<<4)+15]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,v[(y+64>>>9<<4)+14]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,h.sigBytes=(v.length+1)*4,this._process();for(var E=this._hash,S=E.words,w=0;w<4;w++){var T=S[w];S[w]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360}return E},clone:function(){var h=s.clone.call(this);return h._hash=this._hash.clone(),h}});function f(h,v,b,y,g,C,E){var S=h+(v&b|~v&y)+g+E;return(S<<C|S>>>32-C)+v}function d(h,v,b,y,g,C,E){var S=h+(v&y|b&~y)+g+E;return(S<<C|S>>>32-C)+v}function p(h,v,b,y,g,C,E){var S=h+(v^b^y)+g+E;return(S<<C|S>>>32-C)+v}function x(h,v,b,y,g,C,E){var S=h+(b^(v|~y))+g+E;return(S<<C|S>>>32-C)+v}i.MD5=s._createHelper(u),i.HmacMD5=s._createHmacHelper(u)}(Math),n.MD5})}(la)),la.exports}var ua={exports:{}},L0;function Ru(){return L0||(L0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,o=i.Hasher,s=r.algo,l=[],c=s.SHA1=o.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(u,f){for(var d=this._hash.words,p=d[0],x=d[1],h=d[2],v=d[3],b=d[4],y=0;y<80;y++){if(y<16)l[y]=u[f+y]|0;else{var g=l[y-3]^l[y-8]^l[y-14]^l[y-16];l[y]=g<<1|g>>>31}var C=(p<<5|p>>>27)+b+l[y];y<20?C+=(x&h|~x&v)+1518500249:y<40?C+=(x^h^v)+1859775393:y<60?C+=(x&h|x&v|h&v)-1894007588:C+=(x^h^v)-899497514,b=v,v=h,h=x<<30|x>>>2,x=p,p=C}d[0]=d[0]+p|0,d[1]=d[1]+x|0,d[2]=d[2]+h|0,d[3]=d[3]+v|0,d[4]=d[4]+b|0},_doFinalize:function(){var u=this._data,f=u.words,d=this._nDataBytes*8,p=u.sigBytes*8;return f[p>>>5]|=128<<24-p%32,f[(p+64>>>9<<4)+14]=Math.floor(d/4294967296),f[(p+64>>>9<<4)+15]=d,u.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var u=o.clone.call(this);return u._hash=this._hash.clone(),u}});r.SHA1=o._createHelper(c),r.HmacSHA1=o._createHmacHelper(c)}(),n.SHA1})}(ua)),ua.exports}var fa={exports:{}},V0;function Jo(){return V0||(V0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(r){var i=n,a=i.lib,o=a.WordArray,s=a.Hasher,l=i.algo,c=[],u=[];(function(){function p(b){for(var y=r.sqrt(b),g=2;g<=y;g++)if(!(b%g))return!1;return!0}function x(b){return(b-(b|0))*4294967296|0}for(var h=2,v=0;v<64;)p(h)&&(v<8&&(c[v]=x(r.pow(h,1/2))),u[v]=x(r.pow(h,1/3)),v++),h++})();var f=[],d=l.SHA256=s.extend({_doReset:function(){this._hash=new o.init(c.slice(0))},_doProcessBlock:function(p,x){for(var h=this._hash.words,v=h[0],b=h[1],y=h[2],g=h[3],C=h[4],E=h[5],S=h[6],w=h[7],T=0;T<64;T++){if(T<16)f[T]=p[x+T]|0;else{var k=f[T-15],m=(k<<25|k>>>7)^(k<<14|k>>>18)^k>>>3,B=f[T-2],R=(B<<15|B>>>17)^(B<<13|B>>>19)^B>>>10;f[T]=m+f[T-7]+R+f[T-16]}var P=C&E^~C&S,U=v&b^v&y^b&y,z=(v<<30|v>>>2)^(v<<19|v>>>13)^(v<<10|v>>>22),J=(C<<26|C>>>6)^(C<<21|C>>>11)^(C<<7|C>>>25),Z=w+J+P+u[T]+f[T],ee=z+U;w=S,S=E,E=C,C=g+Z|0,g=y,y=b,b=v,v=Z+ee|0}h[0]=h[0]+v|0,h[1]=h[1]+b|0,h[2]=h[2]+y|0,h[3]=h[3]+g|0,h[4]=h[4]+C|0,h[5]=h[5]+E|0,h[6]=h[6]+S|0,h[7]=h[7]+w|0},_doFinalize:function(){var p=this._data,x=p.words,h=this._nDataBytes*8,v=p.sigBytes*8;return x[v>>>5]|=128<<24-v%32,x[(v+64>>>9<<4)+14]=r.floor(h/4294967296),x[(v+64>>>9<<4)+15]=h,p.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var p=s.clone.call(this);return p._hash=this._hash.clone(),p}});i.SHA256=s._createHelper(d),i.HmacSHA256=s._createHmacHelper(d)}(Math),n.SHA256})}(fa)),fa.exports}var da={exports:{}},$0;function pg(){return $0||($0=1,function(e,t){(function(n,r,i){e.exports=r(ce(),Jo())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,o=r.algo,s=o.SHA256,l=o.SHA224=s.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=s._doFinalize.call(this);return c.sigBytes-=4,c}});r.SHA224=s._createHelper(l),r.HmacSHA224=s._createHmacHelper(l)}(),n.SHA224})}(da)),da.exports}var ha={exports:{}},U0;function ku(){return U0||(U0=1,function(e,t){(function(n,r,i){e.exports=r(ce(),Pi())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.Hasher,o=r.x64,s=o.Word,l=o.WordArray,c=r.algo;function u(){return s.create.apply(s,arguments)}var f=[u(1116352408,3609767458),u(1899447441,602891725),u(3049323471,3964484399),u(3921009573,2173295548),u(961987163,4081628472),u(1508970993,3053834265),u(2453635748,2937671579),u(2870763221,3664609560),u(3624381080,2734883394),u(310598401,1164996542),u(607225278,1323610764),u(1426881987,3590304994),u(1925078388,4068182383),u(2162078206,991336113),u(2614888103,633803317),u(3248222580,3479774868),u(3835390401,2666613458),u(4022224774,944711139),u(264347078,2341262773),u(604807628,2007800933),u(770255983,1495990901),u(1249150122,1856431235),u(1555081692,3175218132),u(1996064986,2198950837),u(2554220882,3999719339),u(2821834349,766784016),u(2952996808,2566594879),u(3210313671,3203337956),u(3336571891,1034457026),u(3584528711,2466948901),u(113926993,3758326383),u(338241895,168717936),u(666307205,1188179964),u(773529912,1546045734),u(1294757372,1522805485),u(1396182291,2643833823),u(1695183700,2343527390),u(1986661051,1014477480),u(2177026350,1206759142),u(2456956037,344077627),u(2730485921,1290863460),u(2820302411,3158454273),u(3259730800,3505952657),u(3345764771,106217008),u(3516065817,3606008344),u(3600352804,1432725776),u(4094571909,1467031594),u(275423344,851169720),u(430227734,3100823752),u(506948616,1363258195),u(659060556,3750685593),u(883997877,3785050280),u(958139571,3318307427),u(1322822218,3812723403),u(1537002063,2003034995),u(1747873779,3602036899),u(1955562222,1575990012),u(2024104815,1125592928),u(2227730452,2716904306),u(2361852424,442776044),u(2428436474,593698344),u(2756734187,3733110249),u(3204031479,2999351573),u(3329325298,3815920427),u(3391569614,3928383900),u(3515267271,566280711),u(3940187606,3454069534),u(4118630271,4000239992),u(116418474,1914138554),u(174292421,2731055270),u(289380356,3203993006),u(460393269,320620315),u(685471733,587496836),u(852142971,1086792851),u(1017036298,365543100),u(1126000580,2618297676),u(1288033470,3409855158),u(1501505948,4234509866),u(1607167915,987167468),u(1816402316,1246189591)],d=[];(function(){for(var x=0;x<80;x++)d[x]=u()})();var p=c.SHA512=a.extend({_doReset:function(){this._hash=new l.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(x,h){for(var v=this._hash.words,b=v[0],y=v[1],g=v[2],C=v[3],E=v[4],S=v[5],w=v[6],T=v[7],k=b.high,m=b.low,B=y.high,R=y.low,P=g.high,U=g.low,z=C.high,J=C.low,Z=E.high,ee=E.low,ne=S.high,j=S.low,F=w.high,I=w.low,O=T.high,M=T.low,Q=k,W=m,te=B,N=R,G=P,re=U,Be=z,K=J,Ce=Z,ke=ee,tt=ne,lt=j,Yt=F,Ot=I,Nt=O,qt=M,Ze=0;Ze<80;Ze++){var Ve,gt,fn=d[Ze];if(Ze<16)gt=fn.high=x[h+Ze*2]|0,Ve=fn.low=x[h+Ze*2+1]|0;else{var jn=d[Ze-15],Bt=jn.high,ut=jn.low,Ni=(Bt>>>1|ut<<31)^(Bt>>>8|ut<<24)^Bt>>>7,Ln=(ut>>>1|Bt<<31)^(ut>>>8|Bt<<24)^(ut>>>7|Bt<<25),Vn=d[Ze-2],yt=Vn.high,Xt=Vn.low,ji=(yt>>>19|Xt<<13)^(yt<<3|Xt>>>29)^yt>>>6,Tr=(Xt>>>19|yt<<13)^(Xt<<3|yt>>>29)^(Xt>>>6|yt<<26),Fr=d[Ze-7],Li=Fr.high,Vi=Fr.low,Pr=d[Ze-16],$n=Pr.high,Un=Pr.low;Ve=Ln+Vi,gt=Ni+Li+(Ve>>>0<Ln>>>0?1:0),Ve=Ve+Tr,gt=gt+ji+(Ve>>>0<Tr>>>0?1:0),Ve=Ve+Un,gt=gt+$n+(Ve>>>0<Un>>>0?1:0),fn.high=gt,fn.low=Ve}var jt=Ce&tt^~Ce&Yt,dn=ke&lt^~ke&Ot,Hn=Q&te^Q&G^te&G,Rr=W&N^W&re^N&re,$i=(Q>>>28|W<<4)^(Q<<30|W>>>2)^(Q<<25|W>>>7),zn=(W>>>28|Q<<4)^(W<<30|Q>>>2)^(W<<25|Q>>>7),Ui=(Ce>>>14|ke<<18)^(Ce>>>18|ke<<14)^(Ce<<23|ke>>>9),kr=(ke>>>14|Ce<<18)^(ke>>>18|Ce<<14)^(ke<<23|Ce>>>9),Wn=f[Ze],Hi=Wn.high,Mr=Wn.low,$e=qt+kr,ft=Nt+Ui+($e>>>0<qt>>>0?1:0),$e=$e+dn,ft=ft+jt+($e>>>0<dn>>>0?1:0),$e=$e+Mr,ft=ft+Hi+($e>>>0<Mr>>>0?1:0),$e=$e+Ve,ft=ft+gt+($e>>>0<Ve>>>0?1:0),_r=zn+Rr,zi=$i+Hn+(_r>>>0<zn>>>0?1:0);Nt=Yt,qt=Ot,Yt=tt,Ot=lt,tt=Ce,lt=ke,ke=K+$e|0,Ce=Be+ft+(ke>>>0<K>>>0?1:0)|0,Be=G,K=re,G=te,re=N,te=Q,N=W,W=$e+_r|0,Q=ft+zi+(W>>>0<$e>>>0?1:0)|0}m=b.low=m+W,b.high=k+Q+(m>>>0<W>>>0?1:0),R=y.low=R+N,y.high=B+te+(R>>>0<N>>>0?1:0),U=g.low=U+re,g.high=P+G+(U>>>0<re>>>0?1:0),J=C.low=J+K,C.high=z+Be+(J>>>0<K>>>0?1:0),ee=E.low=ee+ke,E.high=Z+Ce+(ee>>>0<ke>>>0?1:0),j=S.low=j+lt,S.high=ne+tt+(j>>>0<lt>>>0?1:0),I=w.low=I+Ot,w.high=F+Yt+(I>>>0<Ot>>>0?1:0),M=T.low=M+qt,T.high=O+Nt+(M>>>0<qt>>>0?1:0)},_doFinalize:function(){var x=this._data,h=x.words,v=this._nDataBytes*8,b=x.sigBytes*8;h[b>>>5]|=128<<24-b%32,h[(b+128>>>10<<5)+30]=Math.floor(v/4294967296),h[(b+128>>>10<<5)+31]=v,x.sigBytes=h.length*4,this._process();var y=this._hash.toX32();return y},clone:function(){var x=a.clone.call(this);return x._hash=this._hash.clone(),x},blockSize:1024/32});r.SHA512=a._createHelper(p),r.HmacSHA512=a._createHmacHelper(p)}(),n.SHA512})}(ha)),ha.exports}var pa={exports:{}},H0;function xg(){return H0||(H0=1,function(e,t){(function(n,r,i){e.exports=r(ce(),Pi(),ku())})(oe,function(n){return function(){var r=n,i=r.x64,a=i.Word,o=i.WordArray,s=r.algo,l=s.SHA512,c=s.SHA384=l.extend({_doReset:function(){this._hash=new o.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var u=l._doFinalize.call(this);return u.sigBytes-=16,u}});r.SHA384=l._createHelper(c),r.HmacSHA384=l._createHmacHelper(c)}(),n.SHA384})}(pa)),pa.exports}var xa={exports:{}},z0;function mg(){return z0||(z0=1,function(e,t){(function(n,r,i){e.exports=r(ce(),Pi())})(oe,function(n){return function(r){var i=n,a=i.lib,o=a.WordArray,s=a.Hasher,l=i.x64,c=l.Word,u=i.algo,f=[],d=[],p=[];(function(){for(var v=1,b=0,y=0;y<24;y++){f[v+5*b]=(y+1)*(y+2)/2%64;var g=b%5,C=(2*v+3*b)%5;v=g,b=C}for(var v=0;v<5;v++)for(var b=0;b<5;b++)d[v+5*b]=b+(2*v+3*b)%5*5;for(var E=1,S=0;S<24;S++){for(var w=0,T=0,k=0;k<7;k++){if(E&1){var m=(1<<k)-1;m<32?T^=1<<m:w^=1<<m-32}E&128?E=E<<1^113:E<<=1}p[S]=c.create(w,T)}})();var x=[];(function(){for(var v=0;v<25;v++)x[v]=c.create()})();var h=u.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var v=this._state=[],b=0;b<25;b++)v[b]=new c.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(v,b){for(var y=this._state,g=this.blockSize/2,C=0;C<g;C++){var E=v[b+2*C],S=v[b+2*C+1];E=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,S=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360;var w=y[C];w.high^=S,w.low^=E}for(var T=0;T<24;T++){for(var k=0;k<5;k++){for(var m=0,B=0,R=0;R<5;R++){var w=y[k+5*R];m^=w.high,B^=w.low}var P=x[k];P.high=m,P.low=B}for(var k=0;k<5;k++)for(var U=x[(k+4)%5],z=x[(k+1)%5],J=z.high,Z=z.low,m=U.high^(J<<1|Z>>>31),B=U.low^(Z<<1|J>>>31),R=0;R<5;R++){var w=y[k+5*R];w.high^=m,w.low^=B}for(var ee=1;ee<25;ee++){var m,B,w=y[ee],ne=w.high,j=w.low,F=f[ee];F<32?(m=ne<<F|j>>>32-F,B=j<<F|ne>>>32-F):(m=j<<F-32|ne>>>64-F,B=ne<<F-32|j>>>64-F);var I=x[d[ee]];I.high=m,I.low=B}var O=x[0],M=y[0];O.high=M.high,O.low=M.low;for(var k=0;k<5;k++)for(var R=0;R<5;R++){var ee=k+5*R,w=y[ee],Q=x[ee],W=x[(k+1)%5+5*R],te=x[(k+2)%5+5*R];w.high=Q.high^~W.high&te.high,w.low=Q.low^~W.low&te.low}var w=y[0],N=p[T];w.high^=N.high,w.low^=N.low}},_doFinalize:function(){var v=this._data,b=v.words;this._nDataBytes*8;var y=v.sigBytes*8,g=this.blockSize*32;b[y>>>5]|=1<<24-y%32,b[(r.ceil((y+1)/g)*g>>>5)-1]|=128,v.sigBytes=b.length*4,this._process();for(var C=this._state,E=this.cfg.outputLength/8,S=E/8,w=[],T=0;T<S;T++){var k=C[T],m=k.high,B=k.low;m=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360,B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,w.push(B),w.push(m)}return new o.init(w,E)},clone:function(){for(var v=s.clone.call(this),b=v._state=this._state.slice(0),y=0;y<25;y++)b[y]=b[y].clone();return v}});i.SHA3=s._createHelper(h),i.HmacSHA3=s._createHmacHelper(h)}(Math),n.SHA3})}(xa)),xa.exports}var ma={exports:{}},W0;function gg(){return W0||(W0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){/** @preserve
504
504
  (c) 2012 by Cédric Mesnil. All rights reserved.
505
505
 
506
506
  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
@@ -557,7 +557,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
557
557
  transition: ${({transition:e})=>e};
558
558
  padding: 1px 4px;
559
559
  &:hover {
560
- background: var(--secondary-light);
560
+ background: var(--secondary-lightest);
561
561
  border-radius: 6px;
562
562
  }
563
563
  &.active-step {
package/dist/index.mjs CHANGED
@@ -3060,14 +3060,17 @@ const x1 = K(kd)`
3060
3060
  box-shadow: var(--shadow-lg);
3061
3061
  width: ${({ width: e }) => e || "inherit"};
3062
3062
  min-width: ${({ minWidth: e }) => e || "100px"};
3063
+ max-height:calc(100vh - 120px);
3064
+ overflow: auto;
3063
3065
  .MuiMenu-list {
3064
3066
  padding: 0;
3065
3067
  width: 100%;
3068
+ gap: 2px;
3066
3069
  }
3067
3070
  }
3068
3071
  `, m1 = K(Uo)`
3069
3072
  display: flex;
3070
- padding: 4px 6px;
3073
+ padding: 2px 6px;
3071
3074
  align-items: center;
3072
3075
  font-size: 12px;
3073
3076
  font-weight: 600;
@@ -3075,9 +3078,6 @@ const x1 = K(kd)`
3075
3078
  min-height: auto;
3076
3079
  align-self: stretch;
3077
3080
  border-radius: 8px;
3078
- :not(:last-child) {
3079
- margin-bottom: 4px;
3080
- }
3081
3081
  svg {
3082
3082
  width: 14px;
3083
3083
  height: 14px;
@@ -3113,6 +3113,14 @@ function g1({
3113
3113
  minWidth: i,
3114
3114
  width: a,
3115
3115
  id: o,
3116
+ anchorOrigin: {
3117
+ vertical: "bottom",
3118
+ horizontal: "left"
3119
+ },
3120
+ transformOrigin: {
3121
+ vertical: "top",
3122
+ horizontal: "left"
3123
+ },
3116
3124
  children: e.map(({ title: s, value: l, disabled: c, divider: u, onClickItem: f }, d) => /* @__PURE__ */ A.jsxs(A.Fragment, { children: [
3117
3125
  /* @__PURE__ */ A.jsx(
3118
3126
  m1,
@@ -7094,7 +7102,7 @@ const Jm = K.div`
7094
7102
  padding: 0px;
7095
7103
  justify-content: space-between;
7096
7104
  .MuiPaper-root {
7097
- height: ${({ isMainApp: e }) => e ? "100%" : "30px"};
7105
+ height: ${({ isMainApp: e }) => e ? "100%" : "auto"};
7098
7106
  &.Mui-expanded {
7099
7107
  margin: 0;
7100
7108
  .MuiCollapse-root {
@@ -7243,7 +7251,7 @@ const Jm = K.div`
7243
7251
  size: "small",
7244
7252
  noBorder: !0,
7245
7253
  error: i,
7246
- placeholder: "parameter_name",
7254
+ placeholder: "Insert parameter",
7247
7255
  disabled: u,
7248
7256
  autoFocus: !0
7249
7257
  }
@@ -7259,7 +7267,7 @@ const Jm = K.div`
7259
7267
  type: s && !h ? "password" : "text",
7260
7268
  onChange: (C) => n == null ? void 0 : n(r, t, C.target.value, s),
7261
7269
  noBorder: !0,
7262
- placeholder: "{{value}}",
7270
+ placeholder: "Insert value",
7263
7271
  endIcon: s ? h ? /* @__PURE__ */ A.jsx(ip, { onClick: b, size: 12 }) : /* @__PURE__ */ A.jsx(rp, { onClick: b, size: 12 }) : "",
7264
7272
  disabled: u
7265
7273
  }
@@ -13141,7 +13149,7 @@ const N6 = K(q)`
13141
13149
  transition: ${({ transition: e }) => e};
13142
13150
  padding: 1px 4px;
13143
13151
  &:hover {
13144
- background: var(--secondary-light);
13152
+ background: var(--secondary-lightest);
13145
13153
  border-radius: 6px;
13146
13154
  }
13147
13155
  &.active-step {
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.127",
4
+ "version": "1.0.128",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",