(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3666],{5983:function(e,n,t){Promise.resolve().then(t.bind(t,2629))},2629:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return s}});var r=t(7437),a=t(2265),i=t(1321),o=t(2659),d=t(8685);function s(){var e;let{getActiveAccount:n}=(0,i.O)(),t=n(),[s,l]=(0,a.useState)(!1),c=(0,a.useCallback)(()=>{t&&navigator.clipboard.writeText(t.partyId).then(()=>{l(!0),setTimeout(()=>l(!1),2e3)})},[t]);return(0,r.jsxs)("div",{style:{maxWidth:480,margin:"0 auto",padding:"24px 0"},children:[(0,r.jsxs)("h2",{style:{fontFamily:"var(--font-body)",fontSize:"1.5rem",fontWeight:600,letterSpacing:"-0.015em",marginBottom:24},children:["Receive ",(0,d.Or)()?"Canton Coin":"Tokens"]}),(0,r.jsx)(o.U,{direction:"up",children:(0,r.jsxs)("div",{className:"glass-2",style:{padding:"28px 24px",borderRadius:24,textAlign:"center"},children:[(0,d.Or)()&&(0,r.jsx)("div",{style:{marginBottom:12},children:(0,r.jsx)("span",{style:{display:"inline-block",padding:"3px 10px",borderRadius:100,fontSize:"0.5625rem",fontWeight:700,letterSpacing:"0.06em",textTransform:"uppercase",background:"rgba(56,178,110,0.12)",color:"var(--success)"},children:d.F_})}),(0,r.jsx)("p",{style:{fontSize:"0.875rem",fontWeight:600,color:"var(--text-primary)",marginBottom:4},children:"Your Canton Party ID"}),(0,r.jsxs)("p",{style:{fontSize:"0.75rem",color:"var(--text-secondary)",marginBottom:16},children:["Share this address to receive ",(0,d.Or)()?"Canton Coin (CC)":"tokens"]}),(0,r.jsx)("div",{className:"glass-1",style:{padding:"16px 18px",borderRadius:14,fontFamily:"var(--font-mono)",fontSize:"0.6875rem",wordBreak:"break-all",color:"var(--text-primary)",marginBottom:16,lineHeight:1.6,textAlign:"left"},children:null!==(e=null==t?void 0:t.partyId)&&void 0!==e?e:"No active account"}),(0,r.jsx)("button",{onClick:c,disabled:!t,style:{display:"inline-flex",alignItems:"center",gap:6,padding:"10px 28px",borderRadius:14,border:"none",cursor:t?"pointer":"default",fontFamily:"var(--font-body)",fontSize:"0.875rem",fontWeight:700,color:"var(--text-on-primary)",background:"linear-gradient(135deg, rgba(56,178,110,0.8), rgba(37,148,86,0.85))",boxShadow:"0 4px 16px rgba(56,178,110,0.15)",transition:"all var(--duration-base) var(--ease-zoff)",opacity:t?1:.5},children:s?"✓ Copied!":"Copy Address"})]})})]})}},2659:function(e,n,t){"use strict";t.d(n,{U:function(){return s}});var r=t(7437),a=t(2265),i=t(1580),o=t(314);let d={up:"fm-fade-up",down:"fm-fade-down",none:"fm-fade-none"},s=(0,a.memo)((0,a.forwardRef)((e,n)=>{var t;let{delay:a=0,duration:s="normal",direction:l="up",distance:c=8,children:u,className:p,...m}=e,f=(0,o.JZ)(),g=null!==(t=d[l])&&void 0!==t?t:d.up,x=p?"".concat(g," ").concat(p):g;return(0,r.jsx)(i.E.div,{ref:n,className:f?p:x,style:a>0&&!f?{animationDelay:"".concat(a,"s")}:void 0,initial:!f&&{opacity:0,y:"up"===l?c:"down"===l?-c:0},animate:{opacity:1,y:0},transition:f?{duration:0}:{duration:o.lI[s],ease:o.Z5.easeOut,delay:a},...m,children:u})}));s.displayName="FadeIn"}},function(e){e.O(0,[7281,9791,1558,2971,2117,1744],function(){return e(e.s=5983)}),_N_E=e.O()}]);