Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 21, 2024
1 parent 924cd41 commit cbd8799
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion comm.1683a070456c2a3c.js → comm.7d69fb16b8220f8f.js
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@
}
}
}
`,P=s.memo((function({children:e,className:t="",defaultName:n,label:o,onClick:c,override:d,toggle:u,value:m,withSidebar:h}){const p=(0,i.J)(),f=(0,r.Y)(m),[b,x]=(0,s.useState)((()=>L((m||"").toString(),void 0,n))),A=(0,s.useContext)(l);(0,s.useEffect)((()=>{const{accountId:e,accountIndex:t,identity:s,nickname:i}=f||{},r=(e||m||"").toString();s?.parent&&I.set(r,s.parent.toString()),p&&(0,g.m)(p.query.identity?.identityOf)?x((()=>s?.display?function(e,t){const n=t.judgements.filter((([,e])=>!e.isFeePaid)),s=n.some((([,e])=>e.isKnownGood||e.isReasonable)),i=n.some((([,e])=>e.isErroneous||e.isLowQuality)),r=s?t.display:(t.display||"").replace(/[^\x20-\x7E]/g,""),o=t.displayParent&&(s?t.displayParent:t.displayParent.replace(/[^\x20-\x7E]/g,"")),l=(c=(0,a.jsxs)("span",{className:"name"+(s&&!i?" isGood":""),children:[(0,a.jsx)("span",{className:"top",children:o||r}),o&&(0,a.jsx)("span",{className:"sub",children:`/${r||""}`})]}),d=i?"red":s?"green":"gray",u=t.parent?"link":s&&!i?"check":"minus",(0,a.jsxs)("span",{className:"via-identity",children:[(0,a.jsx)(j,{color:d,icon:u,isSmall:!0}),c]}));var c,d,u;return E.set(e,l),l}(r,s):L(r,t))):x(i||D(n,r,t))}),[p,n,f,u,m]);const v=(0,s.useCallback)((()=>x(D(n,(m||"").toString()))),[n,m]),w=(0,s.useCallback)((()=>A&&m&&A([m.toString(),v])),[v,A,m]);return(0,a.jsxs)(V,{className:`${t} ui--AccountName ${h?"withSidebar":""}`,"data-testid":"account-name",onClick:h?w:c,children:[o||"",d||b,e]})}));var T=n(37198),M=n(17730),F=n(90778),z=n(43151);function Z(e,{data:t,hash:n,isText:s,type:i}){return Object.entries(M.N).map((([r,{chains:o,create:l,homepage:c,isActive:d,paths:u,ui:m}])=>{const h=o[e],p=u[i];return d&&h&&p?(0,a.jsx)("a",{href:l(h,p,t,n),rel:"noopener noreferrer",target:"_blank",title:`${r}, ${c}`,children:s?r:(0,a.jsx)("img",{src:m.logo})},r):null})).filter((e=>!!e))}const R=A.z.div`
`,P=s.memo((function({children:e,className:t="",defaultName:n,label:o,onClick:c,override:d,toggle:u,value:m,withSidebar:h}){const p=(0,i.J)(),f=(0,r.Y)(m),[b,x]=(0,s.useState)((()=>L((m||"").toString(),void 0,n))),A=(0,s.useContext)(l);(0,s.useEffect)((()=>{const{accountId:e,accountIndex:t,identity:s,nickname:i}=f||{},r=(e||m||"").toString();s?.parent&&I.set(r,s.parent.toString()),p&&(0,g.m)(p.query.identity?.identityOf)?x((()=>s?.display?function(e,t){const n=t.judgements.filter((([,e])=>!e.isFeePaid)),s=n.some((([,e])=>e.isKnownGood||e.isReasonable)),i=n.some((([,e])=>e.isErroneous||e.isLowQuality)),r=s?t.display:(t.display||"").replace(/[^\x20-\x7E]/g,""),o=t.displayParent&&(s?t.displayParent:t.displayParent.replace(/[^\x20-\x7E]/g,"")),l=(c=(0,a.jsxs)("span",{className:"name"+(s&&!i?" isGood":""),children:[(0,a.jsx)("span",{className:"top",children:o||r}),o&&(0,a.jsx)("span",{className:"sub",children:`/${r||""}`})]}),d=i?"red":s?"green":"gray",u=t.parent?"link":s&&!i?"check":"minus",(0,a.jsxs)("span",{className:"via-identity",children:[(0,a.jsx)(j,{color:d,icon:u,isSmall:!0}),c]}));var c,d,u;return E.set(e,l),l}(r,s):L(r,t))):x(i||D(n,r,t))}),[p,n,f,u,m]);const v=(0,s.useCallback)((()=>x(D(n,(m||"").toString()))),[n,m]),w=(0,s.useCallback)((()=>A&&m&&A([m.toString(),v])),[v,A,m]);return(0,a.jsxs)(V,{className:`${t} ui--AccountName ${h?"withSidebar":""}`,"data-testid":"account-name",onClick:h?w:c,children:[o||"",d||b,e]})}));var T=n(37198),M=n(69780),F=n(90778),z=n(43151);function Z(e,{data:t,hash:n,isText:s,type:i}){return Object.entries(M.N).map((([r,{chains:o,create:l,homepage:c,isActive:d,paths:u,ui:m}])=>{const h=o[e],p=u[i];return d&&h&&p?(0,a.jsx)("a",{href:l(h,p,t,n),rel:"noopener noreferrer",target:"_blank",title:`${r}, ${c}`,children:s?r:(0,a.jsx)("img",{src:m.logo})},r):null})).filter((e=>!!e))}const R=A.z.div`
text-align: right;
&.isMain {
Expand Down
1 change: 0 additions & 1 deletion conf.8ecb54bebeaa7d97.js

This file was deleted.

1 change: 1 addition & 0 deletions conf.f185cae7ea1e8a73.js

Large diffs are not rendered by default.

Loading

0 comments on commit cbd8799

Please sign in to comment.