PageSourceSearch

https://www.lezhinde.com/_next/static/chunks/pages/search/preference/result-7c7764b216e9bfa9.js

js lezhinde.com collected 2026-10-09 21:44:57 UTC 29,948 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6567],{5840:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/search/preference/result",function(){return n(9675)}])},9675:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return H}});var i=n(97458),o=n(52983),r=n(38112),a=n(77179),l=n.n(a),d=n(69107),s=n.n(d),c=n(57887),u=n(32881),g=n(63119),p=n(52113),h=n(76123),f=n(1763),m=n(41523),b=n(70475),x=n(37902),w=n(26764),k=n(84658),v=n(3371),C=n(54895),I=n(258),y=n(37892),A=n(77128),E=n(53537);let T="click-preference-search-scroll";var _=o.memo(e=>{var t,n;let{type:r,webtoon:a,searchType:l,searchKeyword:d}=e,{isLogin:s,isAdult:c}=(0,p.Z)(),g=(0,C.zv)(),h=(0,C.KQ)(),f=(0,u.s0)(),m=(e,t,n)=>"beltoon-jp"===I.default.PLATFORM?h(e,["VERTICAL"],!1):g(null==e?void 0:e.map(e=>{let{imagePath:t,type:n}=e;return{imagePath:t,thumbnailType:n}}),t,n&&(!c||!s)),b=(0,o.useCallback)(async()=>{var e;window.scrollY>0&&(sessionStorage.getItem(T)&&sessionStorage.removeItem(T),sessionStorage.setItem(T,window.scrollY.toString())),y.mL.set(l,d),y.OK.set(null===I.default||void 0===I.default?void 0:null===(e=I.default.X_API)||void 0===e?void 0:e.SEARCH),"NOVELWRITER"===a.type?await f("detail",{path:"/writer/".concat(a.id)}):await f("detail",{path:"/".concat(a.alias)})},[f,a]);return"vertical"===r?(0,i.jsx)(E.Z,{item:a,thumbnailImgSrc:m(a.thumbnails,C.R7.VERTICAL,a.isAdult),targetRef:null,loadMoreItem:!1,onClick:b}):(0,i.jsx)(A.Z,{item:{contentsType:a.type,title:a.title,isAdult:a.isAdult,isOriginal:a.badge.original,tags:null===(t=a.tag)||void 0===t?void 0:t.split(","),creators:null===(n=a.creators)||void 0===n?void 0:n.split(","),thumbnailImgSrc:m(a.thumbnails,C.R7.SEARCH,a.isAdult)}
1,targetRef:null,loadMoreItem:!1,onClick:b})}),R=n(90029),M=n(19765),L=n(81390),S=n(74854),z=n(98873),N=n(85472),B=n(1416),Z=n(79543);let P=c.default.div.withConfig({componentId:"sc-38b1ec9-0"})(["position:relative;width:100%;max-width:720px;padding:",";"],e=>{let{isDesktop:t}=e;return t?"0":"0 16px"}),O=c.default.div.withConfig({componentId:"sc-38b1ec9-1"})(["margin-top:20px;padding:",";"],e=>{let{isDesktop:t}=e;return t?"12px 0":"0"}),j=c.default.div.withConfig({componentId:"sc-38b1ec9-2"})(["width:100%;display:grid;grid-template-columns:1fr 1fr;column-gap:14px;row-gap:16px;","{grid-template-columns:1fr;gap:12px;}"],e=>{let{theme:t}=e;return t.breakpoints.mobile}),D=c.default.span.withConfig({componentId:"sc-38b1ec9-3"})(["width:100%;font-size:","px;font-weight:",";line-height:",";color:#1b1b1b;margin:",";",";grid-column:1 / -1;"],e=>{let{theme:t}=e;return t.dimens.searchResultTitleSize},e=>{var t,n,i,o;let{theme:r}=e;return null===(o=r.common)||void 0===o?void 0:null===(i=o.search)||void 0===i?void 0:null===(n=i.preference)||void 0===n?void 0:null===(t=n.result)||void 0===t?void 0:t.titleFontWeight},e=>{let{theme:t}=e;return t.dimens.searchResultTitleLineHeight},e=>{var t,n,i,o;let{theme:r}=e;return null===(o=r.common)||void 0===o?void 0:null===(i=o.search)||void 0===i?void 0:null===(n=i.preference)||void 0===n?void 0:null===(t=n.result)||void 0===t?void 0:t.titleMargin},e=>{var t,n,i,o,r,a,l,d;let{top:s,theme:u}=e;return s&&(null===(o=u.common)||void 0===o?void 0:null===(i=o.search)||void 0===i?void 0:null===(n=i.preference)||void 0===n?void 0:null===(t=n.result)||void 0===t?void 0:t.titleMarginT)!==void 0?(0,c.css)(["margin-top:",";"],null===(d=u.common)||void 0===d?void 0:null===(l=d.search)||void 0===l?void 0:null===(a=l.preference)||void 0===a?void 0:null===(r=a.result)||void 0===r?void 0:r.titleMarginT):(0,c.css)(["margin-top:","px;"],u.dimens.ResultTitleMarginTop)}),U=c.default.div.withConfig({componentId:"sc-38b1ec9-4"})(["position:relative;display:flex;align-items:center;margin-top:","px;margin-bottom:",";"],e=>{let{isDesktop:t}=e;return t?20:16},e=>{let{isDesktop:t}=e;return!t&&"80px"}),V=c.default.div.withConfig({componentId:"sc-38b1ec9-5"})(["margin-top:","px;"],e=>{let{isDesktop:t}=e;return t?0:16});var H=()=>{let e=(0,r.useRouter)(),{showAdult:t,accessToken:n,user:a}=(0,p.Z)(),d=(0,u.s0)(),c=(0,g.Ce)(),{page:y,setPage:A,setTotalPages:E,setLock:T}=(0,h.C)((0,f.gu)()),[H,W]=(0,o.useState)([]),[G,F]=(0,o.useState)([]),[Y,Q]=(0,o.useState)([]),[X,K]=(0,o.useState)(0),[q,$]=(0,o.useState)(!0),[J,ee]=(0,o.useState)(null),[et,en]=(0,o.useState)((0,f.gu)()),[ei,eo]=(0,o.useState)(!1),er=(0,o.useCallback)(e=>{let t=!1;return G.forEach(n=>{n.id===e&&(t=!0)}),t},[G]),ea=(0,o.useCallback)(()=>{Q([]),A(0),ee(null)},[A]),el=(0,o.useCallback)(()=>w.lX.platform_name!=m.i.android_playstore&&w.lX.platform_name!=m.i.ios_appstore&&t,[t]),ed=(0,o.useMemo)(()=>G.map(e=>e.name),[G]),es=e=>null!==e&&Object.values(b.mf).includes(e),ec=(0,o.useCallback)((t,i,o)=>{if(!es(i)){(0,N.kg)(N.hi.ERROR,e.asPath,"getContentsByTags error",{type:i}).then();return}let r=el(),a=c?20:10,d=J?et*a:a;(0,M.AT)(t,i,C.R7.SEARCH,r,!0,{page:J?0:y,size:d||a},o,n).then(e=>{let{result:t}=e;if(t.result){let{searchTagCategory:e,contentsResponse:n}=t.result,i=[];null!==e&&e.forEach(e=>i.push((0,R.findCategoryByType)(e)));let o=i.concat(t.categoryTags);0===H.length&&(W(o),F(o)),E(Math.ceil(n.totalElements/a));let r=l()(Y).concat(n.content);eo(r.length<1),Q(r)}}).catch(e=>{console.debug(e)}).finally(()=>{$(!1),T(J)})},[n,Y,H.length,c,J,el,y,e.asPath,et,T,E]),eu=(0,o.useCallback)(()=>{I.default.COMMON.SEARCH.USE_IMMEDIATE_MOVE_TO_PREFERENCE_TAF_PAGE?d("searchPreference",null,!0):w.lX.is_app&&I.default.COMMON.USE_CUSTOM_NAVIGATE?(0,u.IL)():history.go(-X-1),K(0)},[X,d]),eg=(0,o.useCallback)(e=>{if(e.length>0){let t=[],n=[];return e.forEach(e=>{let i=parseInt(e.id);if(i<0){let e=(0,R.findCategory)(i);t.push(e.type)}else n.push(e)}),{category:t,tags:n}}return{category:[],tags:[]}},[]),ep=(0,o.useCallback)(()=>{if(!q){let e=eg(G),t=new URLSearchParams(window.location.search).get("type");t&&ec(e.tags.map(e=>e.id).toString(),t,e.category)}},[eg,ec,q,G]),eh=(0,o.useCallback)(e=>{let t=new URLSearchParams(location.search);$(!0),F(n=>{let i;let o=eg(i=er(e.id)?n.filter(t=>t.id!==e.id):n.concat(e)),r=[{key:"type",value:t.get("type")}];return o.tags.length>0&&r.push({key:"tag",value:o.tags.map(e=>e.id).toString()}),o.category.length>0&&r.push({key:"category",value:o.category.toString()}),ea(),K(X+1),d("search",{path:"/preference/result",query:r},w.lX.is_app).then(),i})},[eg,er,d,ea,X]),ef=(0,o.useMemo)(()=>{let e=[];return H.forEach(t=>{e.push((0,i.jsx)(v.Z,{tag:t,shrink:!1,onClick:()=>{eh(t)},selected:er(t.id)},"tags_".concat(t.id)))}),e},[er,H,eh]),em=(0,o.useMemo)(()=>{let e=!1,t=!1,n=[];return n.push((0,i.jsx)(j,{children:s()(Y,(n,r)=>{let a,l;let d=!e&&!t;return n.isMatchContents&&!e&&(e=!0,a=(0,i.jsx)(D,{top:d,children:S.default.search.preference.matchContents})),n.isMatchContents||t||(t=!0,l=(0,i.jsx)(D,{top:d,children:S.default.search.preference.similarContents})),(0,i.jsxs)(o.Fragment,{children:[a||null,l||null,(0,i.jsx)(_,{type:"horizontal",webtoon:n,searchKeyword:ed,searchType:"tag"})]},"".concat(r,"-").concat(n.id,"}"))})},"search_result_container")),ei?null:n},[Y,c,ed,ei]),eb=(0,o.useCallback)(()=>{ee(sessionStorage&&x.$.savePageInfiniteScroll in sessionStorage)},[]);return(0,o.useEffect)(()=>
1{if(0===y){$(!1);return}ep()},[y]),(0,o.useEffect)(()=>{var e;if(null===c||null===J)return;let t=new URLSearchParams(window.location.search);if(!t.get("tag")&&!t.get("category")||!t.get("type")){eu();return}ec(t.get("tag"),t.get("type"),null===(e=t.get("category"))||void 0===e?void 0:e.split(","))},[c,J]),(0,o.useEffect)(()=>(eb(),()=>{en(0),ee(null),T(!1)}),[eb,T,e]),(0,o.useEffect)(()=>{"bom-kr"===I.default.PLATFORM&&(null==G?void 0:G.length)>0&&(0,B.u)({actor:null==a?void 0:a.id.toString(),verb:"searched",objectId:"tag_search",success:!0,response:"OK",extensions:{service:"tag_search",description:"bomtoon service searched",searchType:"tag",searchList:ed}})},[G,a,n,ed]),(0,f.b)("paging",!1,null,null,()=>{setTimeout(()=>{T(!1),ee(null)},150)}),(0,i.jsx)(z.Z,{type:I.default.PLATFORM,navType:b.Tp.search,needHeaderPadding:!c,showBasicHeader:c,basicHeaderProps:{title:"##t.search.preference.resultTitle",centerTitle:!0,useBack:!0},layoutType:"search",children:(0,i.jsx)(L._,{children:(0,i.jsxs)(P,{isDesktop:c,children:[(0,i.jsx)(O,{isDesktop:c,children:(0,i.jsx)(k.Z,{children:ef})}),q?(0,i.jsx)(V,{isDesktop:c,children:(0,i.jsx)(Z.Z,{})}):(0,i.jsx)(U,{isDesktop:c,onClick:()=>(0,f.sl)(y),children:em})]})})})}},18639:function(e,t,n){"use strict";n.r(t),n.d(t,{BadgeGlobal:function(){return d},BadgeOriginal:function(){return s},ChipContainer:function(){return g},Container:function(){return c},ContentsContainer:function(){return a},ContentsUl:function(){return l},GradientLabel:function(){return p},SectionContainer:function(){return r}});var i=n(57887),o=n(23943);let r=i.default.section.withConfig({componentId:"sc-f328bb42-0"})(["position:relative;",""],e=>e.isDesktop?(0,i.css)(["width:","px;margin-bottom:","px;","{width:100%;padding-left:16px;padding-right:16px;}"],e=>{let{theme:t}=e;return t.dimens.maxWidth},e=>{let{theme:t}=e;return t.dimens.mainSectionMarginBottomD},e=>{let{theme:t}=e;return t.breakpoints.tablet}):(0,i.css)(["width:100%;margin-bottom:","px;padding:0 16px;"],e=>{let{theme:t}=e;return t.dimens.mainSectionMarginBottomM})),a=i.default.section.withConfig({componentId:"sc-f328bb42-1"})(["position:relative;background-color:",";",""],e=>{let{theme:t}=e;return t.colors.defaultBackground},e=>e.isDesktop?(0,i.css)(["margin-bottom:80px;margin-left:auto;margin-right:auto;width:","px;max-width:","px;@media (min-width:601px) and (max-width:719px){width:100%;padding-left:16px;padding-right:16px;}"],e=>{let{theme:t}=e;return t.dimens.maxWidth},e=>{let{theme:t}=e;return t.dimens.maxWidth}):(0,i.css)(["padding:20px 16px 40px;"])),l=i.default.ul.withConfig({componentId:"sc-f328bb42-2"})(["display:flex;flex-wrap:wrap;padding:0;margin:0;",""],e=>{let{isDesktop:t}=e;return t?(0,i.css)(["width:","px;gap:10px;row-gap:20px;","{display:grid;grid-template-columns:repeat(",",1fr);width:100%;}"],e=>{let{theme:t}=e;return t.dimens.maxWidth},e=>{let{theme:t}=e;return t.breakpoints.tablet},e=>{let{$tabletColumns:t=5}=e;return t}):(0,i.css)(["width:100%;gap:2%;row-gap:16px;"])}),d=i.default.span.withConfig({componentId:"sc-f328bb42-3"})(["z-index:2;width:16px;height:65px;background-image:url('/images/common/Badge-common-Global.svg');display:block;background-repeat:no-repeat;background-position:0 0;background-size:100%;"]),s=i.default.span.withConfig({componentId:"sc-f328bb42-4"})(["z-index:2;width:54px;height:18px;background-image:url('/images/common/Badge-common-Origin.svg');display:block;background-repeat:no-repeat;background-position:0 0;background-size:100%;"]),c=i.default.div.withConfig({componentId:"sc-f328bb42-5"})(["width:100%;min-height:100vh;"]),u=i.default.div.withConfig({componentId:"sc-f328bb42-6"})(["display:flex;align-items:center;"]),g=i.default.div.withConfig({componentId:"sc-f328bb42-7"})(["display:flex;align-items:center;padding:5px 6px;border-radius:2px;height:20px;background-color:",";margin:",";"],e=>{let{theme:t}=e;return t.colors.primary},e=>{let{margin:t}=e;return t}),p=i.default.div.withConfig({componentId:"sc-f328bb42-8"})(["font-size:","px;text-overflow:ellipsis;font-family:",",sans-serif;font-weight:600;line-height:","px;background-image:linear-gradient(270deg,#6c4dff 0.43%,#bf35ff 47.61%,#ff35ad 97.61%);background-clip:text;-webkit-background-clip:text;color:transparent;width:fit-content;"],e=>{let{size:t}=e;return t},e=>{let{theme:t}=e;return t.dimens.fontFamily},e=>{let{lineHeight:t}=e;return t});t.default={ContentsUl:l,ViewCountContainer:u,BadgeAdult:o.BadgeAdult,BadgeClock:o.BadgeClock,BadgeDiscount:o.BadgeDiscount,BadgeFree:o.BadgeFree}},53537:function(e,t,n){"use strict";var i=n(97458);
1n(52983);var o=n(57887),r=n(45170),a=n(75930),l=n(93544),d=n(18639),s=n(63119),c=n(81685),u=n(54895);t.Z=function(e){let{item:t,loadMoreItem:n,thumbnailImgSrc:o,targetRef:d,onClick:c}=e,C=(0,s.Ce)();if(!t)return null;let{isAdult:I,creators:y,badge:A,tag:E,title:T}=t;return(0,i.jsxs)(g,{ref:n?d:null,onClick:c,children:[(0,i.jsxs)(p,{children:[A.original&&(0,i.jsx)(v,{isDesktop:C}),o?(0,i.jsx)(r.Z,{src:o,alt:T,fill:!0,manualLazyLoading:!0,unoptimized:!0}):(0,i.jsx)(r.Z,{src:u.kU,alt:T,fill:!0}),I&&(0,i.jsx)(k,{isSmall:!C})]}),(0,i.jsxs)(h,{children:[(0,i.jsx)("div",{children:(0,i.jsx)(a.Z,{text:T,weight:"light",size:14,isSingleLine:!1,lineNumber:2})}),(0,i.jsx)(f,{children:(0,i.jsx)(x,{children:(0,i.jsx)(w,{children:y})})}),(0,i.jsx)(m,{children:null==E?void 0:E.split(",").slice(0,3).map((e,t)=>(0,i.jsxs)(b,{children:[(0,i.jsx)(l.Z,{src:"/images/search/ic-hashtag.svg",width:12,height:12}),(0,i.jsx)(a.Z,{text:e,size:12,color:"#666",weight:"light"})]},"hashtag-item-".concat(t)))})]})]})};let g=o.default.li.withConfig({componentId:"sc-5f8e9d1b-0"})(["cursor:pointer;display:flex;align-items:center;gap:14px;overflow:hidden;"]),p=o.default.div.withConfig({componentId:"sc-5f8e9d1b-1"})(["position:relative;flex-shrink:0;width:100px;height:130px;& > img{border-radius:4px;}"]),h=o.default.div.withConfig({componentId:"sc-5f8e9d1b-2"})(["display:flex;flex-direction:column;overflow:hidden;"]),f=o.default.div.withConfig({componentId:"sc-5f8e9d1b-3"})(["display:flex;align-items:center;gap:3px;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;"]),m=o.default.div.withConfig({componentId:"sc-5f8e9d1b-4"})(["display:flex;flex-direction:row;align-items:center;gap:4px;margin-top:4px;overflow:hidden;","{margin-top:3px;}"],e=>{let{theme:t}=e;return t.breakpoints.mobile}),b=o.default.div.withConfig({componentId:"sc-5f8e9d1b-5"})(["display:flex;flex-direction:row;align-items:center;overflow:hidden;flex-shrink:0;&:last-child{flex-shrink:1;}"]),x=o.default.div.withConfig({componentId:"sc-5f8e9d1b-6"})(["display:flex;align-items:center;margin-top:1px;overflow:hidden;"]),w=o.default.div.withConfig({componentId:"sc-5f8e9d1b-7"})(["flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#666;"]),k=(0,o.default)(c.BadgeAdult).withConfig({componentId:"sc-5f8e9d1b-8"})(["position:absolute;bottom:0;right:0;"]),v=(0,o.default)(d.BadgeOriginal).withConfig({componentId:"sc-5f8e9d1b-9"})(["position:absolute;right:0;border-top-left-radius:4px;border-bottom-right-radius:4px;","{top:1px;}"],e=>{let{theme:t}=e;return t.breakpoints.mobile})},81685:function(e,t,n){"use strict";n.r(t),n.d(t,{ArrowButton:function(){return a},BadgeAdult:function(){return l},BadgeClock:function(){return c},BadgeCompleted:function(){return d},BadgeDiscount:function(){return u},BadgeEnd:function(){return S},BadgeFree:function(){return g},BadgeFreeView:function(){return z},BadgeGreat:function(){return h},BadgeGreatDetail:function(){return f},BadgeNew:function(){return s},BadgeNewWork:function(){return w},BadgeRecommend:function(){return x},BadgeSale:function(){return b},BadgeScheduled:function(){return v},BadgeShort:function(){return k},BadgeUp:function(){return m},BadgeZone:function(){return p},BannerBadgeAdult:function(){return R},BottomModalCloseImg:function(){return E},ContentsUl:function(){return _},HeartIcon:function(){return I},MoreButton:function(){return r},NightContainer:function(){return L},SectionContainer:function(){return T},TitleText:function(){return M},TitleTxt:function(){return y},Txt:function(){return A},ViewIcon:function(){return C}});var i=n(57887),o=n(49911);let r=i.default.div.withConfig({componentId:"sc-9e40e5b0-0"})(["display:flex;justify-content:center;align-items:center;line-height:normal;font-weight:500;font-size:","px;color:#979797;cursor:pointer;"],e=>{let{theme:t}=e;return t.dimens.sectionMoreSize}),a=i.default.span.withConfig({componentId:"sc-9e40e5b0-1"})(["display:inline-block;width:6px;height:","px;margin-left:6px;background-image:url(/images/common/btn-more-6.svg);background-repeat:no-repeat;background-position:0 0;background-size:100% 100%;"],e=>{let{height:t}=e;return t||8}),l=i.default.span.withConfig({componentId:"sc-9e40e5b0-2"})(["z-index:2;width:","px;height:","px;display:block;background-repeat:no-repeat;background-position:0 0;background-size:100%;position:",";right:",";bottom:",";",""],e=>{let{isSmall:t,width:n}=e;return null==n?t?o.Z.badge.adult.widthM:o.Z.badge.adult.widthP:n},e=>{let{isSmall:t,height:n}=e;return null==n?t?o.Z.badge.adult.heightM:o.Z.badge.adult.heightP:n},e=>{let{position:t}=e;return t||"static"},e=>{let{right:t}=e;return t?"".concat(t,"px"):"auto"},e=>{let{bottom:t}=e;return t?"".concat(t,"px"):"auto"},e=>{let{isSmall:t}=e;return t?(0,i.css)(["background-image:url(/images/common/badge-adult-16.svg);"]):(0,i.css)(["background-image:url(/images/common/badge-adult-18.svg);"])}),d=i.default.span.withConfig({componentId:"sc-9e40e5b0-3"})(["z-index:2;width:","px;height:","px;background-image:url(/images/common/badge-completed-24.svg);display:block;background-repeat:no-repeat;background-position:0 0;background-size:100%;"],e=>{let{isDesktop:t}=e;return t?22:16},e=>{let{isDesktop:t}=e;return t?22:16}),s=i.default.span.withConfig({componentId:"sc-9e40e5b0-4"})(["display:inline-block;width:","px;height:","px;background-image:",";background-size:contain;background-repeat:no-repeat;"],e=>{let{isDesktop:t}=e;return t?o.Z.badge.newest.widthP:o.Z.badge.newest.widthM},e=>{let{isDesktop:t}=e;return t?o.Z.badge.newest.heightP:o.Z.badge.newest.heightM},e=>{let{backgroundImage:t}=e;
1return"url(".concat(t||"/images/common/badge-new-17.svg",")")}),c=i.default.span.withConfig({componentId:"sc-9e40e5b0-5"})(["z-index:2;width:","px;height:","px;background-image:url('/images/common/badge-clock-24.svg');display:block;background-repeat:no-repeat;background-position:0 0;background-size:100%;"],e=>{let{isDesktop:t}=e;return t?o.Z.badge.freetime.widthP:o.Z.badge.freetime.widthM},e=>{let{isDesktop:t}=e;return t?o.Z.badge.freetime.heightP:o.Z.badge.freetime.heightM}),u=i.default.span.withConfig({componentId:"sc-9e40e5b0-6"})(["z-index:2;background-color:#e51a2e;color:#ffffff;height:","px;display:flex;justify-content:center;align-items:center;padding:1px 6px;border-radius:0 8px;font-size:","px;"],e=>{let{isDesktop:t}=e;return t?24:20},e=>{let{isDesktop:t}=e;return t?12:10}),g=i.default.span.withConfig({componentId:"sc-9e40e5b0-7"})(["z-index:2;background-color:#1b1b1b;color:#ffffff;height:","px;display:flex;justify-content:center;align-items:center;padding:1px 6px;border-radius:0 8px;font-size:","px;"],e=>{let{isDesktop:t}=e;return t?24:20},e=>{let{isDesktop:t}=e;return t?12:10}),p=i.default.span.withConfig({componentId:"sc-9e40e5b0-8"})(["z-index:2;width:","px;height:","px;background-image:url('/images/common/badge-zone-34.svg');display:block;background-repeat:no-repeat;background-position:0 0;background-size:100%;"],e=>{let{isDesktop:t}=e;return t?34:32},e=>{let{isDesktop:t}=e;return t?15:14}),h=i.default.span.withConfig({componentId:"sc-9e40e5b0-9"})(["z-index:2;width:","px;height:","px;background-image:url('/images/common/badge-great-54.svg');display:block;background-repeat:no-repeat;background-position:0 0;background-size:100%;"],e=>{let{isDesktop:t}=e;return t?54:34},e=>{let{isDesktop:t}=e;return t?28:20}),f=i.default.span.withConfig({componentId:"sc-9e40e5b0-10"})(["z-index:2;width:24px;height:24px;background-image:url('/images/common/badge-great-detail.svg');display:block;background-repeat:no-repeat;background-position:0 0;background-size:100%;"]),m=i.default.span.withConfig({componentId:"sc-9e40e5b0-11"})(["display:inline-block;position:",";right:",";bottom:",";width:","px;height:","px;background-image:",";background-size:contain;background-repeat:no-repeat;"],e=>{let{position:t}=e;return t||"static"},e=>{let{right:t}=e;return t?"".concat(t,"px"):"auto"},e=>{let{bottom:t}=e;return t?"".concat(t,"px"):"auto"},e=>{let{isDesktop:t}=e;return t?o.Z.badge.up.widthP:o.Z.badge.up.widthM},e=>{let{isDesktop:t}=e;return t?o.Z.badge.up.heightP:o.Z.badge.up.heightM},e=>{let{backgroundImage:t}=e;return"url(".concat(t||"/images/common/badge-up-20.svg",")")}),b=i.default.span.withConfig({componentId:"sc-9e40e5b0-12"})(["display:inline-block;margin-right:6px;width:","px;height:","px;background-image:url(/images/common/badge-common-sale.svg);background-repeat:no-repeat;background-size:auto 100%;"],e=>{let{isDesktop:t}=e;return t?o.Z.badge.sale.widthP:o.Z.badge.sale.widthM},e=>{let{isDesktop:t}=e;return t?o.Z.badge.sale.heightP:o.Z.badge.sale.heightM}),x=i.default.span.withConfig({componentId:"sc-9e40e5b0-13"})(["display:inline-block;margin-right:6px;width:","px;height:","px;background-image:url(/images/common/badge-common-recommend.svg);background-repeat:no-repeat;background-size:auto 100%;"],e=>{let{isDesktop:t}=e;return t?o.Z.badge.recommend.widthP:o.Z.badge.recommend.widthM},e=>{let{isDesktop:t}=e;return t?o.Z.badge.recommend.heightP:o.Z.badge.recommend.heightM}),w=i.default.span.withConfig({componentId:"sc-9e40e5b0-14"})(["display:inline-block;margin-right:6px;width:","px;height:","px;background-image:url(/images/common/badge-common-newwork.svg);background-repeat:no-repeat;background-size:auto 100%;"],e=>{let{isDesktop:t}=e;return t?o.Z.badge.newWork.widthP:o.Z.badge.newWork.widthM},e=>{let{isDesktop:t}=e;return t?o.Z.badge.newWork.heightP:o.Z.badge.newWork.heightM}),k=i.default.span.withConfig({componentId:"sc-9e40e5b0-15"})(["display:inline-block;width:","px;height:","px;background-image:url('/images/common/badge-short-26.svg');background-size:contain;background-repeat:no-repeat;"],e=>{let{isDesktop:t}=e;return t?26:24},e=>{let{isDesktop:t}=e;return t?15:14}),v=i.default.span.withConfig({componentId:"sc-9e40e5b0-16"})(["display:inline-block;width:","px;height:","px;background-image:url('/images/common/badge-serial-26.svg');background-size:contain;background-repeat:no-repeat;"],e=>{let{isDesktop:t}=e;return t?26:24},e=>{let{isDesktop:t}=e;return t?15:14}),C=i.default.span.withConfig({componentId:"sc-9e40e5b0-17"})(["position:relative;padding-left:20px;padding-right:12px;&:before{content:'';position:absolute;top:50%;left:0;display:block;width:","px;height:","px;margin-top:-6.5px;background-image:url(/images/common/ic-common-view.svg);background-repeat:no-repeat;background-position:0 0;background-size:100%;}&:after{content:'';position:absolute;top:50%;right:6px;width:1px;height:10px;margin-top:-5px;background:#e1e1e1;}"],e=>{let{theme:t}=e;return t.dimens.iconViewWidth},e=>{let{theme:t}=e;return t.dimens.iconViewHeight}),I=i.default.span.withConfig({componentId:"sc-9e40e5b0-18"})(["position:relative;padding-left:20px;padding-right:12px;&:before{content:'';position:absolute;top:50%;left:0;display:block;width:16px;height:14px;
1margin-top:-7px;background-image:url(/images/common/icon-like-16-gray.svg);background-repeat:no-repeat;background-position:0 0;background-size:100%;}",""],e=>{let{useBar:t}=e;return t?(0,i.css)(["&:after{content:'';position:absolute;top:50%;right:6px;width:1px;height:10px;margin-top:-5px;background:#e1e1e1;}"]):null}),y=i.default.p.withConfig({componentId:"sc-9e40e5b0-19"})(["margin-bottom:2px;line-height:normal;font-weight:400;font-size:","px;overflow:hidden;display:block;text-overflow:ellipsis;white-space:nowrap;"],e=>{let{isDesktop:t}=e;return t?16:13}),A=i.default.p.withConfig({componentId:"sc-9e40e5b0-20"})(["margin-bottom:","px;line-height:normal;font-weight:300;font-size:","px;overflow:hidden;display:block;text-overflow:ellipsis;white-space:nowrap;width:100%;color:#1b1b1b;"],e=>{let{isDesktop:t}=e;return t?6:4},e=>{let{isDesktop:t}=e;return t?o.Z.dimens.episodeTitleSizeD:o.Z.dimens.episodeTitleSizeM}),E=i.default.img.attrs({src:"/images/popup/btn-close-20.svg",alt:"close"}).withConfig({componentId:"sc-9e40e5b0-21"})(["position:absolute;top:5vw;right:5vw;"]),T=i.default.section.withConfig({componentId:"sc-9e40e5b0-22"})(["position:relative;"," padding:",";width:100%;max-width:","px;@media (min-width:601px) and (max-width:719px){max-width:100%;padding-left:16px;padding-right:16px;}"],e=>e.disableMargin?(0,i.css)(["margin-bottom:0;"]):(0,i.css)(["margin-bottom:","px;"],t=>{let{theme:n}=t;return e.isDesktop?n.dimens.mainSectionMarginBottomD:n.dimens.mainSectionMarginBottomM}),e=>e.isDesktop?0:"0 16px",e=>{let{theme:t}=e;return t.dimens.maxWidth}),_=i.default.ul.withConfig({componentId:"sc-9e40e5b0-23"})(["display:flex;flex-wrap:wrap;gap:","px;width:100%;"," list-style:none;li{margin-bottom:","px;}"],e=>{let{gap:t}=e;return null!=t?t:0},e=>{let{isDesktop:t}=e;return t?null:(0,i.css)(["flex-direction:row;flex:1 1 0;"])},e=>{let{isDesktop:t}=e;return t?40:20}),R=i.default.span.withConfig({componentId:"sc-9e40e5b0-24"})(["z-index:2;width:","px;height:","px;display:block;background-repeat:no-repeat;background-position:0 0;background-size:100%;",""],e=>{let{isDesktop:t}=e;return t?18:16},e=>{let{isDesktop:t}=e;return t?18:16},e=>{let{isDesktop:t}=e;return t?(0,i.css)(["background-image:url(/images/common/badge-adult-18.svg);"]):(0,i.css)(["background-image:url(/images/common/badge-adult-16.svg);"])}),M=i.default.div.withConfig({componentId:"sc-9e40e5b0-25"})(["overflow:hidden;text-overflow:ellipsis;font-size:","px;line-height:",";color:#1b1b1b;text-align:left;letter-spacing:-0.5px;"," ",""],e=>{let{fontSize:t}=e;return t},e=>{let{theme:t,isDesktop:n}=e;return n?t.dimens.contentTitleLineHeightD:t.dimens.contentTitleLineHeightM},e=>{let{isTitleMultipleLines:t}=e;return t?(0,i.css)(["display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;"]):(0,i.css)(["white-space:nowrap;"])},e=>{let{isDesktop:t}=e;return t?(0,i.css)(["max-height:40px;"]):(0,i.css)(["max-height:33px;"])}),L=i.default.div.withConfig({componentId:"sc-9e40e5b0-26"})(["position:absolute;top:0;left:0;width:100vw;height:100vh;z-index:2;background-image:url('/images/viewer/bg_night01.png');background-repeat:no-repeat;background-size:cover;pointer-events:none;"]),S=i.default.span.withConfig({componentId:"sc-9e40e5b0-27"})(["display:inline-block;width:",";height:","px;background-image:url('/images/common/badge-end.svg');background-repeat:no-repeat;background-size:contain;"],e=>{let{isDesktop:t,text:n}=e;return n?(t?54:40)+"px":(t?20:16)+"px"},e=>{let{isDesktop:t}=e;return t?15:12}),z=i.default.div.withConfig({componentId:"sc-9e40e5b0-28"})(["display:flex;height:","px;border:1px solid rgba(103,103,103,0.1);background-color:rgba(234,234,234,0.7);padding:2px 3px;border-radius:2px;justify-content:center;align-items:center;white-space:nowrap;align-self:flex-start;& > span{font-size:10px;color:",";font-weight:500;letter-spacing:-0.4px;text-overflow:unset !important;align-content:center;}"],e=>{let{height:t}=e;return t},e=>{let{theme:t}=e;return t.colors.Gray.B670});t.default={ContentsUl:_,Txt:A}},54895:function(e,t,n){"use strict";n.d(t,{KQ:function(){return h},R7:function(){return s},Vt:function(){return l},kU:function(){return d},nl:function(){return p},zv:function(){return f}});var i=n(52983),o=n(52113),r=n(258),a=n(24739);let l="/images/tmp/315x415.jpeg",d="/images/search/mosaic-thumbnail.svg",s={VERTICAL:["VERTICAL","MAIN","SQUARE","VERTICAL_NON_ADULT"],VERTICAL_NOVEL_WRITER:["VERTICAL","MAIN","SQUARE","VERTICAL_NOVELWRTIER","VERTICAL_NON_ADULT"],COVER:["COVER"],SMALL_SQUARE:["SQUARE","MAIN","VERTICAL"],BIC_SQUARE:["MAIN","SQUARE"],DETAIL:["DETAIL","HORIZONTAL_TYPE_A"],RANKING:["DETAIL","VERTICAL","VERTICAL_NON_ADULT"],ALL:["VERTICAL","MAIN","SQUARE","DETAIL","HORIZONTAL_TYPE_A"],NEW:["ORIGINAL_TYPE_A","ORIGINAL_TYPE_B","ORIGINAL_TYPE_C"],SEARCH:["DETAIL","DETAIL_NON_ADULT"]},c=["MAIN","DETAIL","SQUARE","VERTICAL","ORIGINAL_TYPE_A","ORIGINAL_TYPE_B","ORIGINAL_TYPE_C"],u=(e,t,n
1)=>{let i;return e&&(c.forEach(o=>{if(t===o&&!n&&(null==(i=e.find(e=>e.type==="".concat(o,"_NON_ADULT")))?void 0:i.imagePath))return i.imagePath}),i=e.find(e=>e.type===t))?i.imagePath:null},g=function(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e)return null;let o=null;return(i&&!n&&c.includes(t)&&(o=e.find(e=>e.type==="".concat(t,"_NON_ADULT"))),null===o&&(o=e.find(e=>e.type===t)),o)?o.imagePath:null},p=()=>{let{isAdult:e}=(0,o.Z)();return(0,i.useCallback)(function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"MAIN";return u(t.thumbnails,n,e)},[e])},h=()=>{let{isAdult:e,isLogin:t}=(0,o.Z)(),n=(0,a.r)(t);return(0,i.useCallback)(function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["MAIN"],o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=null;return t&&i.forEach(i=>{null===a&&(a=g(t,i,!o&&(e||n),"beltoon-jp"===r.default.PLATFORM))}),(null===a||""===a)&&(a=l),a},[e,n])},f=()=>(0,i.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["MAIN"],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(let o of t){if(n){var i;let t=null==e?void 0:e.find(e=>e.thumbnailType==="".concat(o,"_NON_ADULT"));return null!==(i=null==t?void 0:t.imagePath)&&void 0!==i?i:""}let t=null==e?void 0:e.find(e=>e.thumbnailType===o);if(null==t?void 0:t.imagePath)return t.imagePath}return l},[])},76123:function(e,t,n){"use strict";n.d(t,{C:function(){return a}});var i=n(52983),o=n(14633),r=n.n(o);let a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[t,n]=(0,i.useState)(0),[o,a]=(0,i.useState)(!1),l=(0,i.useRef)(e),d=(0,i.useCallback)(e=>l.current=e,[]),s=(0,i.useCallback)(()=>{!o&&l.current+1<t&&(a(!0),d(l.current+1))},[o,d,t]),c=()=>{let e=document.body,t=document.documentElement,n=Math.max(e.scrollHeight,e.offsetHeight,t.clientHeight,t.scrollHeight,t.offsetHeight);return Math.ceil(Math.max(0,window.scrollY)+window.innerHeight)>=n-100};return(0,i.useEffect)(()=>{let e=r()(()=>{c()&&s()},400);return window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("scroll",e)}},[s]),{page:l.current,setPage:d,totalPages:t,setTotalPages:n,setLock:a}}}},function(e){e.O(0,[4738,4216,6786,2888,9774,179],function(){return e(e.s=5840)}),_N_E=e.O()}]);
2//# sourceMappingURL=result-7c7764b216e9bfa9.js.map

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.