PageSourceSearch

https://apm-web.amoremall.com/_next/static/chunks/pages/display/live/detail-4f5791854d2da1ce.js

js amoremall.com collected 2026-10-02 06:50:00 UTC 8,088 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8640],{81512:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/display/live/detail",function(){return t(51582)}])},65315:function(e,n,t){"use strict";t.d(n,{Z:function(){return N}});var o=t(98788),i=t(22970),r=t(52322),a=t(2784),s=t(5632),c=t(64157),u=t(92198),l=t(8446),d=t(70338),f=t(5621),v=t(27455),p=t(96738),h=t(93937),w=t(14625),y=t(95118),m=t(61305),_=t(89625),E=t(58415),C=t(6763),S=t(87238);function N(){var e,n=(0,s.useRouter)(),t=(0,w.Z)(),N=(0,m.Z)(),I=(0,y.mr)(),g=(0,c.v9)(v.oR),A=(0,c.v9)(v.lE),T=(0,c.v9)(h.cm),B=(0,a.useState)(),b=B[0],k=B[1],O=(0,a.useState)(!1),F=O[0],x=O[1],L=g||A?{minHeight:640}:(null===(e=n.query)||void 0===e?void 0:e.sy_page)?{}:{minHeight:1280},V=(0,E.J)({onSuccess:function(e){return(0,C.HX)(e,N,I)},onError:function(e,n){return(0,C.iD)(e,n,N)}}),G={CLICK_CARD:function(e){var t=(null===e||void 0===e?void 0:e.shorts)?"&shorts=".concat(encodeURIComponent(JSON.stringify(e.shorts))):"",o="".concat(u.ZK,"/kr/ko/display/live/playerweb?sy_id=").concat(e.id,"&sy_type=").concat(e.type).concat(t);g||A?(0,d.FF)(d.sx.GOTO_LIVE_PLAYER,o)():n.push("live/playerweb?sy_id=".concat(e.id,"&sy_type=").concat(e.type).concat(t))},CLICK_NOTIFICATION:function(){var e=(0,o.Z)((function(e){var n;return(0,i.__generator)(this,(function(t){switch(t.label){case 0:return T?[4,V.mutateAsync({broadcastId:null===e||void 0===e?void 0:e.id,registrationAvailable:null===e||void 0===e?void 0:e.value})]:[3,2];case 1:return(n=t.sent()).broadcastId&&n.registeredAt?[2,!0]:n.broadcastId&&n.canceledAt?[2,!1]:[3,3];case 2:return(0,C.Mp)(N),[2,!1];case 3:return[2]}}
1))}));return function(n){return e.apply(this,arguments)}}(),CLICK_PRODUCT:function(e){try{window.location.href=(0,_.q)((null===e||void 0===e?void 0:e.contentId)||"",e.link,(null===e||void 0===e?void 0:e.status)||"")}catch(n){l.Z.error(n,"\ub77c\uc774\ube0c \ud0ed \uc0c1\ud488 \uc0c1\uc138 \uc774\ub3d9 url \uad6c\uc131 \uc2e4\ud328"),window.location.href=e.link}},CLICK_BANNER:function(e){g||A?(0,d.FF)(d.sx.GOTO_LINK,e.link)():location.href=e.link},CLICK_SHORTFORMLINK:function(e){g||A?(0,d.FF)(d.sx.GOTO_LINK,e)():location.href=e},SHOW_LAYER:function(e){(g||A)&&((null===e||void 0===e?void 0:e.show)?((0,d.FF)(d.sx.CHANGE_WEB_STATUS,"GNB LIVE","showDimmed","Y")(),(0,d.FF)(d.sx.CHANGE_WEB_STATUS,"GNB LIVE","showActionBar","N")()):((0,d.FF)(d.sx.CHANGE_WEB_STATUS,"GNB LIVE","showDimmed","N")(),(0,d.FF)(d.sx.CHANGE_WEB_STATUS,"GNB LIVE","showActionBar","Y")()))},GA:function(e){(0,f.um)("commonEvent",{"ap-click-area":"LIVE","ap-click-name":e.ea?e.ea:"","ap-click-data":e.el?e.el:""})},CHANGE_HISTORY:function(e){var t;"push"===(null===e||void 0===e?void 0:e.key)?(null===(t=e.search)||void 0===t?void 0:t.includes("sy_page=search&sy_keyword"))?n.replace("/display/live?"+e.search):n.push("/display/live?"+e.search):"pop"===(null===e||void 0===e?void 0:e.key)&&n.back()}},H=function(){var e=(0,o.Z)((function(){var e,n;return(0,i.__generator)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,new Promise((function(e,n){var t,o;if(document.querySelector('script[src="'.concat(u.YM.SOYLIVE_VIEW_SCRIPT,'"]')))return l.Z.info("soyView Script already exists."),void e();var i=document.createElement("script");i.addEventListener("load",(function(n){l.Z.info("soyView load success."),e()})),i.src=u.YM.SOYLIVE_VIEW_SCRIPT,i.async=!0,null===(t=document.getElementsByTagName("script")[0])||void 0===t||null===(o=t.parentNode)||void 0===o||o.appendChild(i)}))];case 1:return o.sent(),[3,3];case 2:return e=o.sent(),l.Z.error(e,"\ub77c\uc774\ube0c \ucee4\uba38\uc2a4 \uc2a4\ud06c\ub9bd\ud2b8 load \uc5d0\ub7ec"),k(!0),[3,3];case 3:return n=void 0,T?[4,(0,C.Sp)(t)]:[3,5];case 4:n=o.sent(),o.label=5;case 5:return(null===window||void 0===window?void 0:window.SoyView)?(i=n,(0,p.B)()&&delete G.CHANGE_HISTORY,window.SoyView.setup({elementId:"view",clientId:u.YM.BRIX_CLOUD_CLIENT_KEY,type:"amore",callback:G,notification:i}),x(!0),[2]):(l.Z.error(null,"\ub77c\uc774\ube0c \ucee4\uba38\uc2a4 window.SoyView undefined \uc5d0\ub7ec"),k(!0),[2])}var i}))}));return function(){return e.apply(this,arguments)}}();return(0,a.useEffect)((function(){try{H()}catch(e){l.Z.error(e,"live commerce view setting error")}(0,d.FF)(d.sx.CHANGE_WEB_STATUS,"GNB LIVE","showDimmed","N")(),(0,d.FF)(d.sx.CHANGE_WEB_STATUS,"GNB LIVE","showActionBar","Y")()}),[n.asPath]),(0,r.jsxs)(r.Fragment,{children:[b&&(0,r.jsx)("div",{className:"nodataImg nodataImg--pip",children:(0,r.jsxs)("p",{className:"text",children:["\ub77c\uc774\ube0c \uc11c\ube44\uc2a4 \uc900\ube44 \uc911 \uc785\ub2c8\ub2e4",(0,r.jsx)("br",{}),"\uc7a0\uc2dc \ud6c4 \uc774\uc6a9\ud574 \uc8fc\uc138\uc694."]})}),!F&&(0,r.jsx)(S.Z,{}),(0,r.jsx)("div",{id:"view",style:L})]})}},51582:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return u}});var o=t(52322),i=(t(2784),t(64157)),r=t(26961),a=t(27455),s=t(19329),c=t(65315);var u=!0;n.default=function(e){var n=e.pageLayoutStatus,t=(0,i.v9)(a.Uw);return(0,o.jsx)(s.Z,{headerType:r.Nc.MAIN,showHeader:n?n.showHeader:!t,showActionBar:n?n.showActionBar:!t,showFooter:!0,showFloatingButton:t,headerUtils:["search","cart"],children:(0,o.jsx)(c.Z,{})})}},61305:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}});var o=t(2784),i=t(64157),r=t(99216);function a(){var e=(0,i.I0)(),n=(0,o.useCallback)((function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=t.button,i=t.toastClassName,a=t.keepToastVisible,s=void 0!==a&&a,c=t.shouldShowOnTop,u=void 0!==c&&c;return e(r.Q.showToastMessage({message:n,button:o,toastClassName:i,keepToastVisible:s,shouldShowOnTop:u}))}),[e]),t=(0,o.useCallback)((function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
1,i=t.title,a=t.containerBoxClassName,s=t.modalPopupWrapClassName,c=t.confirmButton,u=t.webViewFuncArgs,l=t.callCloseModalWhenOverlayClicked;e(r.Q.showDialog({type:"alert",title:i,containerBoxClassName:a,modalPopupWrapClassName:s,children:"string"===typeof n?(0,o.createElement)("span",{style:{whiteSpace:"pre-wrap"},children:n}):n,confirmBtn:c,webViewFuncArgs:u,callCloseModalWhenOverlayClicked:l}))}),[e]),a=(0,o.useCallback)((function(){e(r.Q.hideDialog())}),[e]),s=(0,o.useCallback)((function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.title,a=t.modalPopupWrapClassName,s=t.confirmButton,c=t.cancelButton,u=t.buttonAlign,l=void 0===u?"horizontal":u,d=t.webViewFuncArgs,f=t.callCloseModalWhenOverlayClicked;e(r.Q.showDialog({type:"confirm",title:i,children:"string"===typeof n?(0,o.createElement)("span",{style:{whiteSpace:"pre-wrap"},children:n}):n,confirmBtn:s,cancelBtn:c,alignBtn:l,webViewFuncArgs:d,modalPopupWrapClassName:a,callCloseModalWhenOverlayClicked:f}))}),[e]);return(0,o.useMemo)((function(){return{toast:n,alert:t,confirm:s,hide:a}}),[n,t,s,a])}},20452:function(e,n,t){"use strict";var o=t(2784);var i="function"===typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e===1/n)||e!==e&&n!==n},r=o.useState,a=o.useEffect,s=o.useLayoutEffect,c=o.useDebugValue;function u(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!i(e,t)}catch(o){return!0}}var l="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,n){return n()}:function(e,n){var t=n(),o=r({inst:{value:t,getSnapshot:n}}),i=o[0].inst,l=o[1];return s((function(){i.value=t,i.getSnapshot=n,u(i)&&l({inst:i})}),[e,t,n]),a((function(){return u(i)&&l({inst:i}),e((function(){u(i)&&l({inst:i})}))}),[e]),c(t),t};n.useSyncExternalStore=void 0!==o.useSyncExternalStore?o.useSyncExternalStore:l},43100:function(e,n,t){"use strict";e.exports=t(20452)},29930:function(e,n,t){"use strict";t.d(n,{$:function(){return o}});const o=t(43100).useSyncExternalStore},99189:function(e,n,t){"use strict";function o(e,n){return"function"===typeof e?e(...n):!!e}t.d(n,{L:function(){return o}})}},function(e){e.O(0,[9097,1423,1327,949,423,9159,8065,4739,5129,7790,9329,9625,9774,2888,179],(function(){return n=81512,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.