(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[9792],{269792(__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__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{"default":()=>g});var e=__webpack_require__(515863);__webpack_require__.n(e);var t=__webpack_require__(67659);var l=__webpack_require__(833081);var a=__webpack_require__(147928);var r=__webpack_require__(215677);var n=__webpack_require__(603883);var i=__webpack_require__(739506);var c=__webpack_require__(636370);var s=__webpack_require__(889036);var o=__webpack_require__(532194);var v=__webpack_require__(566941);var m=__webpack_require__(406098);var u=__webpack_require__(565520);var d=__webpack_require__(308571);var f=__webpack_require__(627537);var h=__webpack_require__(633332);var k=__webpack_require__(452018);var p=__webpack_require__(54563);var S=__webpack_require__(968511);var b=__webpack_require__(992996);function g(){let g=(0,e.c)(31);let E=(0,d.P)();let{asset:w,id:$}=(0,a.g)();let _=Object.values((0,l.d4)(v.D4)).flat();let y;g[0]!==w||g[1]!==$?(y=e=>{let{address:t,tokenId:l}=e;return(0,m.y)(t,w)&&$===l.toString()},g[0]=w,g[1]=$,g[2]=y):y=g[2];let{image:C,imageOriginal:A,tokenURI:L,name:j,tokenId:z,chainId:N,description:T}=_.find(y);let{image:x}=(0,h.A)(L);let I=(0,n.YS)(C);let O=(0,l.d4)(i.l68);let U=(0,l.d4)(p.hX);let Y=(0,r.nj)(N?.toString()??"");let H=U[Y];let M=(0,S.lo)(Y);let P=(0,f.A)(A??I,O);let R=(0,n.x8)({name:j,tokenId:z,description:T});let W=A??I;let B;g[3]!==W?(B=W?.startsWith("ipfs:"),g[3]=W,g[4]=B):B=g[4];let D=B;let F=I&&(0,k.O9)(I)||x&&(0,k.O9)(x);let G=(0,a.wQ)();let J=(0,a.Zp)();let[Q,X]=(0,t.useState)(!1);let Z;let q;g[5]===Symbol.for("react.memo_cache_sentinel")?(Z=()=>{X(!0)},q=[],g[5]=Z,g[6]=q):(Z=g[5],q=g[6]),(0,t.useEffect)(Z,q);let K;g[7]!==w||g[8]!==Y||g[9]!==$||g[10]!==J||g[11]!==G?(K=()=>{G==="PUSH"?J(b.ax):J(`${b.Jy}/${Y}/${w}/${$}`,{replace:!0})},g[7]=w,g[8]=Y,g[9]=$,g[10]=J,g[11]=G,g[12]=K):K=g[12];let V=K;let ee;g[13]!==E?(ee=E("back"),g[13]=E,g[14]=ee):ee=g[14];let et;g[15]!==V||g[16]!==ee?(et=t.createElement(o.Y9,{endAccessory:t.createElement(c.a2,{color:u.Li.iconAlternative,size:c.f3.Sm,ariaLabel:ee,iconName:c.$M.Close,onClick:V,"data-testid":"nft-details__close",paddingLeft:0})}),g[15]=V,g[16]=ee,g[17]=et):et=g[17];let el=`fade-in ${Q?"visible":""}`;let ea=F?I||x:P;let er=j??"";let en=H?.name??"";let ei;g[18]!==D||g[19]!==M||g[20]!==R||g[21]!==en||g[22]!==ea||g[23]!==er?(ei=t.createElement(c.az,{display:u.nl.Flex,justifyContent:u.A9.center,paddingBottom:12},t.createElement(c.az,null,t.createElement(s.o,{src:ea,alt:R,name:er,networkName:en,networkSrc:M,isIpfsURL:D}))),g[18]=D,g[19]=M,g[20]=R,g[21]=en,g[22]=ea,g[23]=er,g[24]=ei):ei=g[24];let ec;g[25]!==ei||g[26]!==el?(ec=t.createElement(o.UC,{className:el,justifyContent:u.A9.center},ei),g[25]=ei,g[26]=el,g[27]=ec):ec=g[27];let es;return g[28]!==ec||g[29]!==et?(es=t.createElement(c.az,{className:"main-container asset__container"},t.createElement(o.YW,null,et,ec)),g[28]=ec,g[29]=et,g[30]=es):es=g[30],es}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()}}]);