(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5882],{9978:(e,n,t)=>{"use strict";t.d(n,{Nt:()=>o,W4:()=>s,y6:()=>a});let o=[{display:"전체",value:0},{display:"무기",value:1},{display:"장신구",value:2},{display:"시즌",value:3}],s=[{display:"최신순",value:1},{display:"전투력순",value:2},{display:"최고거래가순",value:3},{display:"오래된순",value:4}],a="nfi_image"},16029:(e,n,t)=>{"use strict";t.d(n,{A:()=>r});var o=t(95155),s=t(79140),a=t(29351),i=t(12115),l=t(62086),c=t(62278),d=t(73241),_=t.n(d);function r(e){var n;let{data:t,value:d,setValue:r,themeUnderline:m,themeTransparent:p,disabled:u}=e,f=(0,s.a)(),[h,w]=(0,i.useState)(!1),v=(0,i.useRef)(null),y=(0,i.useRef)(null);(0,a.A)(y,()=>{w(!1)},v);let b=(0,i.useMemo)(()=>t.length?t.reduce((e,n)=>(0,c.A)(n.display)>(0,c.A)(e)?n.display:e,""):"",[t]);return f?(0,o.jsx)("div",{className:_().systemDropdownWrapper,"data-theme-type":m?"underline":p?"transparent":void 0,children:(0,o.jsx)("select",{className:"".concat(_().systemDropdown," systemDropdown"),value:String(d),onChange:e=>{var n;let o=null===(n=t.find(n=>String(n.value)===e.target.value))||void 0===n?void 0:n.value;void 0!==o&&r(o)},disabled:u,children:t.map((e,n)=>(0,o.jsx)("option",{value:e.value,children:e.display},"".concat(e.value,"-").concat(n)))})}):(0,o.jsxs)("div",{className:"".concat(_().dropdown," ").concat(u?_().disabled:""),"data-open":h,ref:v,"data-theme-type":m?"underline":p?"transparent":void 0,children:[(0,o.jsx)("span",{style:{visibility:"hidden"},children:b}),(0,o.jsx)("button",{type:"button",className:_().selected,disabled:u,onClick:()=>{u||w(e=>!e)},children:(null===(n=t.find(e=>e.value===d))||void 0===n?void 0:n.display)||""}),(0,o.jsx)("div",{className:_().icon}),(0,o.jsx)(l.A,{nodeRef:y,in:h,timeout:0,unmountOnExit:!0,children:(0,o.jsx)("div",{className:_()["dropdown-layer"],ref:y,children:t.map((e,n)=>(0,o.jsx)("button",{type:"button",onClick:()=>{var n;return n=e.value,void(w(!1),r(n))},className:_()["dropdown-item"],"data-selected":e.value===d,children:e.display},"".concat(e.value,"-").concat(n)))})})]})}},16846:(e,n,t)=>{"use strict";t.d(n,{default:()=>_});var o=t(95155),s=t(35695),a=t(9978),i=t(98294),l=t.n(i),c=t(6874),d=t.n(c);function _(e){let{data:n,isSelected:t}=e,i=(0,s.usePathname)(),c="/"===i?"/blockchain/nfi?fromMain=".concat(n.nfiId):"/blockchain/nfi/".concat(n.nfiId),_=n.identifyOption?JSON.parse(n.identifyOption):[];return(0,o.jsx)("li",{className:"".concat(t?l().selected:""," ").concat("/"===i?l()["is-main"]:""),children:n.nfiId&&(0,o.jsxs)(d(),{href:c,className:l()["list-nfi-item"],children:[(0,o.jsx)("div",{className:"".concat(l()["item-type"]," ").concat("weapon"===n.itemType?"weapon-type1":"weapon-type2")}),(0,o.jsxs)("div",{className:l()["nfi-info"],children:[(0,o.jsxs)("div",{className:l()["nfi-info-id"],children:[(0,o.jsxs)("div",{className:l()["display-id"],children:["NFI",n.nfiId]}),(0,o.jsx)("div",{className:l()["item-name"],children:(0,o.jsx)("span",{children:n.itemName})})]}),(0,o.jsxs)("div",{className:l()["nfi-info-image"],children:[(0,o.jsxs)("span",{"data-level":n.itemLevel,className:l()["item-level"],children:["+",n.itemLevel]}),(0,o.jsx)("img",{src:"".concat("https://live-dl.legendofymir.co.kr","/").concat(a.y6).concat(n.itemIconPath),alt:n.itemName})]})]}),(0,o.jsxs)("div",{className:"".concat(l()["define-type"]," ").concat(l().type1),children:[(0,o.jsxs)("dl",{children:[(0,o.jsx)("dt",{className:l().price,children:"최고 판매가"}),(0,o.jsx)("dd",{children:"number"==typeof n.maxPrice?new Intl.NumberFormat().format(n.maxPrice):n.maxPrice})]}),(0,o.jsxs)("dl",{children:[(0,o.jsx)("dt",{className:l().combat,children:"전투력"}),(0,o.jsx)("dd",{children:"number"==typeof n.combatPoint?new Intl.NumberFormat().format(n.combatPoint):n.combatPoint})]})]}),(0,o.jsxs)("div",{className:l()["bottom-area"],children:[(0,o.jsxs)("div",{className:"".concat(l()["define-type"]," ").concat(l().type2),children:[(0,o.jsxs)("dl",{children:[(0,o.jsx)("dt",{children:"제련"}),(0,o.jsx)("dd",{children:n.creatorName})]}),(0,o.jsxs)("dl",{children:[(0,o.jsx)("dt",{children:"보유"}),(0,o.jsx)("dd",{children:n.ownerName})]})]}),(0,o.jsx)("div",{className:"".concat(l()["define-type"]," ").concat(l().type2),children:_.map((e,n)=>(0,o.jsxs)("dl",{children:[(0,o.jsx)("dt",{children:e.TypeName}),(0,o.jsx)("dd",{children:"number"==typeof e.value?new Intl.NumberFormat().format(e.value):e.value})]},n))})]})]})})}},19358:(e,n,t)=>{"use strict";t.d(n,{IL:()=>s,po:()=>o,yr:()=>a});let o=(e,n)=>{if(!e)return"";let t=new Date(("object"==typeof e?e:new Date(e)).getTime()+324e5).toISOString(),o=n.includes("YYYY")?t.substring(0,4):t.substring(2,4),s=t.substring(5,7),a=t.substring(8,10),i=t.substring(11,13),l=t.substring(14,16),c=t.substring(17,19);return n.replace(/YYYY/g,o).replace(/YY/g,o).replace(/MM/g,s).replace(/DD/g,a).replace(/HH/g,i).replace(/mm/g,l).replace(/ss/g,c)},s=(e,n)=>new Date().getTime()-e.getTime()>=36e5*n,a=e=>{if(!e)return"";let n=Date.now()-new Date(e).getTime(),t=[{label:"초",duration:1e3},{label:"분",duration:6e4},{label:"시간",duration:36e5},{label:"일",duration:864e5},{label:"달",duration:2592e6},{label:"년",duration:31536e6}];for(let e=t.length-1;e>=0;e--){let{label:o,duration:s}=t[e];if(n>=s)return"".concat(Math.round(n/s)).concat(o," 전")}return"방금 전"}},22666:(e,n,t)=>{"use strict";t.d(n,{default:()=>l});var o=t(95155),s=t(35695),a=t(98294),i=t.n(a);function l(e){let{message:n,noIcon:t,hideBackground:a}=e;return"/"!==(0,s.usePathname)()&&(a=!0),(0,o.jsxs)("div",{className:"".concat(i()["list-empty"]," ").concat(a?i()["hide-background"]:""),children:[!t&&(0,o.jsx)("span",{className:i().icon}),(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:n}})]})}},44208:(e,n,t)=>{"use strict";t.d(n,{default:()=>h});var o=t(95155),s=t(16029),a=t(76105),i=t(9978),l=t(79140),c=t(5168),d=t(19358),_=t(6874),r=t.n(_),m=t(35695),p=t(12115),u=t(98294),f=t.n(u);function h(e){let{isBorderLess:n,isNoDataNfi:t}=e,_=(0,m.useRouter)(),u="/"===(0,m.usePathname)(),h={itemType:0,orderType:0},[w,v]=(0,p.useState)(""),[y,b]=(0,p.useState)(h.itemType),[x,j]=(0,p.useState)(h.orderType),{query:g,pushQuery:N}=(0,c.A)({scroll:!1}),k=(0,l.a)(),S="NFI ".concat(u?"":"리스트"),Y=function(e,n){let t={...g};delete t.page,N({...t,[e]:String(n)}),u&&setTimeout(()=>{D()},200)},D=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=document.getElementById("listNfiSearch")?"listNfiSearch":"wrapBlockchain";_.push("".concat(e,"#").concat(n)),setTimeout(()=>{window.history.replaceState(null,"",window.location.pathname+window.location.search)},500)};return(0,p.useEffect)(()=>{let{itemType:e,orderType:n}=g;b(Number(e)||h.itemType),j(Number(n)||h.orderType)},[g]),(0,p.useEffect)(()=>{v((0,d.po)(new Date,"YYYY.MM.DD HH:mm:ss"))},[]),(0,o.jsxs)("div",{id:"listNfiHeader",className:"".concat(f()["list-header"]," ").concat(n?f().borderless:""," ").concat(u?f()["is-main"]:""),children:[(0,o.jsxs)("div",{className:f()["left-area"],children:[(0,o.jsx)("h3",{className:f().title,children:S}),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("button",{className:f().reload,onClick:()=>{v((0,d.po)(new Date,"YYYY.MM.DD HH:mm:ss")),D()}}),w&&(0,o.jsxs)("span",{className:f()["update-date"],children:["※ 마지막 업데이트: ",w]})]})]}),(0,o.jsxs)("div",{className:f()["right-area"],children:[!t&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{children:(0,o.jsx)(r(),{href:"https://wemixscan.com/token/0xA65bDe649C5496e1b096C827ad880a4deEAB7757",target:"_blank",className:f()["btn-scope"],children:"Scope 보기"})}),(0,o.jsx)("div",{children:(0,o.jsx)(s.A,{value:y||i.Nt[0].value,setValue:e=>{j(e),Y("itemType",e)},data:i.Nt})}),!u&&(0,o.jsx)("div",{children:(0,o.jsx)(s.A,{value:x||i.W4[0].value,setValue:e=>{j(e),Y("orderType",e)},data:i.W4})})]}),u&&!k&&(0,o.jsx)(a.default,{destination:"/blockchain/nfi",title:"NFI 페이지로 이동",className:k?"btn-absolute":"",isAbsolute:!!k})]}),u&&k&&(0,o.jsx)(a.default,{destination:"/blockchain/nfi",title:"NFI 페이지로 이동",className:k?"btn-absolute":"",isAbsolute:!!k})]})}},54329:(e,n,t)=>{"use strict";t.d(n,{default:()=>_});var o=t(95155),s=t(44785);let a={1:{start:"2025-04-04",end:"2025-05-29"},2:{start:"2099-01-01",end:"2099-01-01"}};var i=t(19358),l=t(98294),c=t.n(l);function d(e){if(e)switch(e){case 0x23e4dce5:return"이미르";case 0x23e4dce6:return"시즌";default:return""}}function _(e){let{data:n}=e,{ItemTID:t,SumCount:l,LimitCount:_}=n,r=new Date,m=Object.entries(a).find(e=>{let[,n]=e,t=new Date(n.start),o=new Date(n.end);return r>=t&&r<=o}),p=Object.entries(a).filter(e=>{let[,n]=e;return new Date(n.end){let[,t]=e,[,o]=n;return new Date(o.end).getTime()-new Date(t.end).getTime()})[0],u=m?m[0]:null,f=p?p[0]:null,h=m?a[Number(m[0])]:p?a[Number(p[0])]:null,w=0x23e4dce5===t,v=!m;return(0,o.jsxs)("li",{className:c()[w?"type-normal":"type-season"],children:[(0,o.jsxs)("div",{className:c()["left-area"],children:[(0,o.jsx)("img",{src:"".concat(s.I,"/images/icon/token-").concat(w?"normal":"season1",".webp"),className:c().token,alt:"".concat(d(t),"주화")}),(0,o.jsxs)("div",{className:c()["token-name"],children:[(0,o.jsxs)("em",{children:[d(t),!w&&(u||f)]})," ","주화 발행량",!w&&(0,o.jsxs)("div",{className:"".concat(c()["season-title"]," ").concat(v?null:c()["season-on"]),children:["Season ",v?"off":"on"]})]})]}),(0,o.jsxs)("div",{className:c()["right-area"],children:[w&&(0,o.jsxs)("div",{className:c()["token-volume"],children:[(0,o.jsx)("em",{className:c()["token-emp"],children:new Intl.NumberFormat().format(l)}),(0,o.jsxs)("span",{children:["/ ",new Intl.NumberFormat().format(_)]})]}),!w&&(0,o.jsxs)("div",{className:c()["token-volume"],children:[(0,o.jsx)("em",{className:c()["token-emp"],children:new Intl.NumberFormat().format(l)}),(0,o.jsx)("span",{children:v?f?"시즌".concat(f," 주화 발행 종료"):"시즌 시작시 발행 가능":"".concat((0,i.po)(null==h?void 0:h.start,"YYYY.MM.DD")," ~ ").concat((0,i.po)(null==h?void 0:h.end,"YYYY.MM.DD"))})]})]})]})}},62278:(e,n,t)=>{"use strict";function o(e){let n=0;for(let t=0;t127?2:1;return n}t.d(n,{A:()=>o})},73241:e=>{e.exports={dropdown:"dropdown_dropdown__zQYAq",disabled:"dropdown_disabled___avAz",selected:"dropdown_selected__Ct7nl",icon:"dropdown_icon__JSZEt","dropdown-item":"dropdown_dropdown-item__RMmdF","dropdown-layer":"dropdown_dropdown-layer__FseQS",systemDropdownWrapper:"dropdown_systemDropdownWrapper__yrClr",systemDropdown:"dropdown_systemDropdown__FiPm8",rotation:"dropdown_rotation__yTa_9",rotationReverse:"dropdown_rotationReverse__7kVJP",flow:"dropdown_flow__DNrdH",creditSynopsis:"dropdown_creditSynopsis__OlQxa",creditSynopsisFourLine:"dropdown_creditSynopsisFourLine__IdHOe",typing:"dropdown_typing___j7CO",blink:"dropdown_blink__fej1t",loading:"dropdown_loading__Iaak2",flowY:"dropdown_flowY__S78BG",flowYReverse:"dropdown_flowYReverse__R9qx_",scale:"dropdown_scale__xKF0Z",cloud1:"dropdown_cloud1__C8vPp",cloud2:"dropdown_cloud2__CLx_m",cloud3:"dropdown_cloud3__Rz_o3",cloud4:"dropdown_cloud4__FTIyu",cloud5:"dropdown_cloud5__G4x3P",mediaBg1:"dropdown_mediaBg1__AtRHH",mediaBg2:"dropdown_mediaBg2__5753B",shimmer:"dropdown_shimmer__RbNWk",loadingDot:"dropdown_loadingDot__cAvxR"}},76105:(e,n,t)=>{"use strict";t.d(n,{default:()=>c});var o=t(95155),s=t(6874),a=t.n(s),i=t(70704),l=t.n(i);function c(e){let{destination:n,className:t,title:s,isExternal:i,isAbsolute:c}=e;return(0,o.jsx)(a(),{href:n,className:"".concat(l()["btn-plus"]," ").concat(c&&l()["btn-absolute"]," ").concat(t||""),target:i?"_blank":void 0,title:s||void 0,children:"자세히 보기"})}},98294:e=>{e.exports={search:"components_search__Blm28",pagination:"components_pagination__TXV7i","list-header":"components_list-header__dMBEF",title:"components_title__ObChp","left-area":"components_left-area__wvb17","right-area":"components_right-area__amSWS",reload:"components_reload__Y0kPG","update-date":"components_update-date__ENY7O","btn-scope":"components_btn-scope__PFXrw","is-main":"components_is-main__POtv9",borderless:"components_borderless__VS4Sy","wrap-table":"components_wrap-table__anBD2","list-tokens":"components_list-tokens__yFMAh",token:"components_token__7__3C","token-volume":"components_token-volume__rCemV","token-emp":"components_token-emp__G18i7","token-icon":"components_token-icon___vOAo","token-name":"components_token-name__lhf65","season-title":"components_season-title__uBl3f","season-on":"components_season-on___KEr2","type-season":"components_type-season__G5GBU","list-selected":"components_list-selected__GZ5Ae","list-selected-title":"components_list-selected-title__GVLkp","no-search-data":"components_no-search-data__OjNem","item-level":"components_item-level__yVQNA","list-nfi":"components_list-nfi__o6eEd","list-nfi-item":"components_list-nfi-item__oOZEK","item-type":"components_item-type__IOZGT","weapon-type1":"components_weapon-type1__Mrfxc","weapon-type2":"components_weapon-type2__ObTjo","nfi-info":"components_nfi-info__hXGlV","display-id":"components_display-id__NdiSb","item-name":"components_item-name__JWsz8","nfi-info-id":"components_nfi-info-id__DrxV_","nfi-info-image":"components_nfi-info-image__hkpf2","define-type":"components_define-type__SWtA8",type1:"components_type1__wmMXm",price:"components_price__B_Ka1",combat:"components_combat__50Hjr",type2:"components_type2__08s9p","bottom-area":"components_bottom-area__o_yxV",selected:"components_selected__9MVSM","list-empty":"components_list-empty___Zng9",icon:"components_icon__GRyL2","hide-background":"components_hide-background__73Qz_","detail-nfi":"components_detail-nfi___auYP","detail-top-area":"components_detail-top-area__gSKs5","wrap-bottom":"components_wrap-bottom__ZZRuF","item-price":"components_item-price__aAfSN",currency:"components_currency__6SwB1","wrap-detail-item-image":"components_wrap-detail-item-image__Abh9V","detail-item-image":"components_detail-item-image__WUomm","above-level15":"components_above-level15__BZ4_I","no-wrap-detail":"components_no-wrap-detail__2dxcn","detail-define-area":"components_detail-define-area__jTuTv",skill:"components_skill__ZIFQn","detail-define":"components_detail-define__w9E0X","detail-define-title":"components_detail-define-title__swrZe","detail-define-list":"components_detail-define-list__SeDZX","for-enemy":"components_for-enemy__M4QId","no-data":"components_no-data__g7mf0","detail-define-skill":"components_detail-define-skill__4o0rS","level-name":"components_level-name__6dVVq","table-nfi-history":"components_table-nfi-history__Qy7f5","wrap-status":"components_wrap-status__hMSc6","text-left":"components_text-left__GzTTl","text-right":"components_text-right__mkQs8",status:"components_status__CvM5q",rank:"components_rank__XSLwl",value:"components_value__tlpHt",fluc:"components_fluc___POv_",up:"components_up__thHOi",down:"components_down___mHko",rotation:"components_rotation__TXIg3",rotationReverse:"components_rotationReverse__tSA3w",flow:"components_flow__8zANb",creditSynopsis:"components_creditSynopsis__yJT4Q",creditSynopsisFourLine:"components_creditSynopsisFourLine__zQcaW",typing:"components_typing__ZaIwM",blink:"components_blink__F7f3Z",loading:"components_loading__jF_eD",flowY:"components_flowY___Q3b6",flowYReverse:"components_flowYReverse__EHFFW",scale:"components_scale___u0qn",cloud1:"components_cloud1__MvGLN",cloud2:"components_cloud2__C8jCt",cloud3:"components_cloud3__YRYPC",cloud4:"components_cloud4__UeYMj",cloud5:"components_cloud5__FAtwL",mediaBg1:"components_mediaBg1__MpXoZ",mediaBg2:"components_mediaBg2__UGJ2M",shimmer:"components_shimmer__ycUcT",loadingDot:"components_loadingDot__yH5da"}}}]);