(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[5593],{64713(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{WH:()=>u,b5:()=>s,uJ:()=>c});var e=__webpack_require__(303280);__webpack_require__.n(e);var t=__webpack_require__(860012);var r=__webpack_require__(305142);var l=__webpack_require__(848574);var i=__webpack_require__(556734);var n=__webpack_require__(219384);var a=__webpack_require__(126528);var o=__webpack_require__(68940);let c=(e,t)=>{switch(e){case"Verified":return{icon:r.$M.VerifiedFilled,iconColor:r.Li.InfoDefault,label:null,accessibleLabel:t("securityTrustVerified")};case"Warning":case"Spam":return{icon:r.$M.Warning,iconColor:r.Li.WarningDefault,alertSeverity:"warning",label:t("securityTrustRisky"),backgroundColor:"warning-muted",textColor:l.r7.WarningDefault};case"Malicious":return{icon:r.$M.Danger,iconColor:r.Li.ErrorDefault,alertSeverity:"danger",label:t("securityTrustMalicious"),backgroundColor:"error-muted",textColor:l.r7.ErrorDefault};default:return null}};let s=c=>{let s=(0,e.c)(25);let{badge:u,testId:d,onClick:b}=c;if(u.label===null){let e=b?undefined:d;let l;s[0]!==u.accessibleLabel||s[1]!==u.icon||s[2]!==u.iconColor||s[3]!==e?(l=t.createElement(n.I,{"aria-label":u.accessibleLabel,"data-testid":e,name:u.icon,size:r.lK.Sm,color:u.iconColor}),s[0]=u.accessibleLabel,s[1]=u.icon,s[2]=u.iconColor,s[3]=e,s[4]=l):l=s[4];let i=l;if(b){let e=u.accessibleLabel??d??"security-badge";let r;return s[5]!==b||s[6]!==e||s[7]!==d||s[8]!==i?(r=t.createElement("button",{type:"button",onClick:b,"data-testid":d,"aria-label":e,className:"cursor-pointer border-0 bg-transparent p-0 leading-none"},i),s[5]=b,s[6]=e,s[7]=d,s[8]=i,s[9]=r):r=s[9],r}return i}let f=u.backgroundColor==="warning-muted"?"bg-warning-muted":"bg-error-muted";let g=`inline-flex self-start items-center gap-1 rounded-md px-2 py-0.5 ${f}`;let m=b?undefined:d;let C;s[10]!==u.icon||s[11]!==u.iconColor?(C=t.createElement(n.I,{name:u.icon,size:r.lK.Sm,color:u.iconColor}),s[10]=u.icon,s[11]=u.iconColor,s[12]=C):C=s[12];let h;s[13]!==u.label||s[14]!==u.textColor?(h=t.createElement(o.E,{variant:l.J3.BodyXs,color:u.textColor,fontWeight:l.IT.Medium},u.label),s[13]=u.label,s[14]=u.textColor,s[15]=h):h=s[15];let p;s[16]!==g||s[17]!==m||s[18]!==C||s[19]!==h?(p=t.createElement(a.a,{flexDirection:i.uV.Row,alignItems:i.RE.Center,className:g,"data-testid":m},C,h),s[16]=g,s[17]=m,s[18]=C,s[19]=h,s[20]=p):p=s[20];let w=p;if(!b)return w;let v;return s[21]!==b||s[22]!==w||s[23]!==d?(v=t.createElement("button",{type:"button",onClick:b,"data-testid":d,className:"cursor-pointer border-0 bg-transparent p-0"},w),s[21]=b,s[22]=w,s[23]=d,s[24]=v):v=s[24],v};let u=r=>{let l=(0,e.c)(7);let{badge:n,testId:o,onClick:c}=r;let u=o===undefined?"security-badge-verified":o;let d=c?undefined:u;let b;l[0]!==n||l[1]!==c||l[2]!==u?(b=t.createElement(s,{badge:n,testId:u,onClick:c}),l[0]=n,l[1]=c,l[2]=u,l[3]=b):b=l[3];let f;return l[4]!==d||l[5]!==b?(f=t.createElement(a.a,{flexDirection:i.uV.Row,alignItems:i.RE.Center,"data-testid":d},b),l[4]=d,l[5]=b,l[6]=f):f=l[6],f}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},405593(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{WH:()=>e.WH,b5:()=>e.b5,uJ:()=>e.uJ});var e=__webpack_require__(64713)}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()}}]);