PageSourceSearch

https://f.sankakucomplex.com/13205.271fb6d7.chunk.js

js sankakucomplex.com collected 2026-10-02 03:26:05 UTC 14,161 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[13205,6851],{
1"./src/shared/components/My/Vote/index.js":(e,t,s)=>{s.d(t,{x:()=>k});var o=s("./node_modules/@material-ui/icons/ThumbDownOutlined.js"),a=s("./node_modules/@material-ui/icons/ThumbDown.js"),n=s("./node_modules/@material-ui/core/esm/Typography/Typography.js"),r=s("./node_modules/@material-ui/core/esm/Tooltip/Tooltip.js"),l=s("./node_modules/@material-ui/core/esm/Box/Box.js"),i=s("./node_modules/@material-ui/icons/ThumbUpOutlined.js"),d=s("./node_modules/@material-ui/icons/ThumbUp.js"),c=s("./node_modules/react/index.js"),m=s("./node_modules/react-i18next/dist/commonjs/index.js"),u=s("./node_modules/classnames/index.js"),p=s.n(u),h=s("./node_modules/@material-ui/core/esm/styles/makeStyles.js"),g=s("./src/shared/hook/useAuthUser/index.js"),y=s("./src/shared/actions/DialogActions.js"),C=s("./src/shared/data/VoteActionTypes.js"),b=s("./node_modules/react-redux/es/index.js"),_=s("./src/shared/utils/constants.js");const j=1,E=-1,x=(0,h.A)((e=>({icon:{margin:"auto 8px",cursor:"pointer",color:t=>{let{useChatV2Style:s}=t;return s?e.palette.icon:"dark"===e.palette.type?"#dadada":void 0}},flexCell:{display:"flex",margin:"auto 0",alignItem:"center"},liked:{color:"#fb8c00"},score:{background:t=>{let{useChatV2Style:s}=t;return s?"transparent":"dark"===e.palette.type?"#4F4F4F":"#F2F2F2"},border:t=>{let{useChatV2Style:s}=t;return s||"dark"===e.palette.type?"none":"1px solid #E0E0E0"},borderRadius:2,minWidth:40,textAlign:"center",fontSize:"14px !important",padding:4,color:t=>{let{useChatV2Style:s}=t;return s?e.palette.icon:"dark"===e.palette.type?"white":"#4F4F4F"},fontWeight:"500 !important"},red:{color:"#CF6679"},green:{color:"#03DAC5"},marginLeft:{marginLeft:0},tooltip:{fontSize:"12px"},noneDisplay:{display:"none"},disabled:{cursor:"default",color:t=>{let{useChatV2Style:s}=t;return s?e.palette.neutralTextColor:e.palette.lightGray}}}))),k=e=>{let{score:t,voteStatus:s,handleVote:u,disabled:h=!1,useChatV2Style:k=!1}=e;const T=x({useChatV2Style:k}),A=(0,b.useDispatch)(),{t:S}=(0,m.Bd)(),{currentUser:I}=(0,g.A)(),f=e=>{I.id?u(e):A((0,y.Dw)(_.uO.LOGIN))};return c.createElement("div",{className:T.flexCell},c.createElement(r.Ay,{arrow:!0,placement:"bottom",disableHoverListener:h,disableTouchListener:h,title:c.createElement("span",{className:T.tooltip},S("common-title__vote-up"))},c.createElement(l.A,{display:"flex",onClick:()=>{if(!h)return f(s===j?C.A.UN_VOTE:C.A.VOTE_UP)}},c.createElement(d.A,{className:p()(T.icon,T.liked,T.marginLeft,{[T.noneDisplay]:s!==j,[T.disabled]:h})}),c.createElement(i.A,{className:p()(T.icon,T.marginLeft,{[T.noneDisplay]:s===j,[T.disabled]:h})}))),c.createElement(n.A,{component:"p",noWrap:!0,className:`${T.score} ${t>0&&T.green} ${t<0&&T.red}`},t>0&&"+",t),c.createElement(r.Ay,{arrow:!0,placement:"bottom",disableHoverListener:h,disableTouchListener:h,title:c.createElement("span",{className:T.tooltip},S("common-title__vote-down"))},c.createElement(l.A,{display:"flex",onClick:()=>{if(!h)return f(s===E?C.A.UN_VOTE:C.A.VOTE_DOWN)}},c.createElement(a.A,{className:p()(T.icon,T.liked,{[T.noneDisplay]:s!==E,[T.disabled]:h})}),c.createElement(o.A,{className:p()(T.icon,{[T.noneDisplay]:s===E,[T.disabled]:h})}))))}},
1"./src/shared/components/ShareDialog/ShareRowLazy.js":(e,t,s)=>{s.d(t,{A:()=>l});var o=s("./node_modules/react/index.js"),a=s("./node_modules/@loadable/component/dist/loadable.esm.js");const n=(0,a.Ay)({resolved:{},chunkName(){return"ShareRow"},isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!s.m[t]},importAsync:()=>Promise.all([s.e(97914),s.e(2451),s.e(21555),s.e(6704),s.e(97778),s.e(94116)]).then(s.bind(s,"./src/shared/components/ShareDialog/ShareRow.js")),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return s(t)},resolve(){return"./src/shared/components/ShareDialog/ShareRow.js"}}),r=e=>o.createElement(n,e),l=r},
1"./src/shared/scenes/book_series/book_serie_page/components/SectionDrawer/components/DiscussionSection.js":(e,t,s)=>{s.d(t,{A:()=>S});var o=s("./node_modules/@material-ui/core/esm/Divider/Divider.js"),a=s("./node_modules/@material-ui/core/esm/styles/makeStyles.js"),n=s("./node_modules/@material-ui/lab/esm/Skeleton/Skeleton.js"),r=s("./node_modules/react/index.js"),l=s("./node_modules/react-i18next/dist/commonjs/index.js"),i=s("./node_modules/react-infinite-scroller/index.js"),d=s.n(i),c=s("./node_modules/react-redux/es/index.js"),m=s("./node_modules/redux-form/es/index.js"),u=s("./src/shared/actions/CommentsActions.js"),p=s("./src/shared/actions/UserActions.js"),h=s("./src/shared/components/My/Comment/Components/CommentBottom.js"),g=s("./src/shared/hook/useAuthUser/index.js"),y=s("./src/shared/selectors/CommentsSelectors.js"),C=s("./src/shared/utils/constants.js"),b=s("./src/shared/utils/permission.js"),_=s("./src/shared/utils/matomoTrackEvent.js"),j=s("./src/shared/scenes/posts_gallery/comments/CommentContainer/CommentItemV2.js"),E=s("./src/shared/config.js"),x=s("./node_modules/classnames/index.js"),k=s.n(x);const T=(0,a.A)((e=>({discussionRoot:{marginTop:e.spacing(1)},discussionContainer:{width:"100%",borderRadius:8,marginBottom:80},addCommentRoot:{position:"fixed",width:"100%",zIndex:10,[e.breakpoints.up("sm")]:{maxWidth:C.dl-1},bottom:0,right:0,backgroundColor:e.palette.tableHead},addCommentContainer:{padding:"16px 24px",backgroundColor:e.palette.tableHead},skeleton:{height:150,margin:e.spacing(2)},scrollable:{overflowX:"auto",height:`calc(100vh - ${E.yD?250:204}px)`,"&::-webkit-scrollbar":{display:"none"},flex:1},replyInputContainer:{background:"light"===e.type?"#CECECE":e.palette.backgroundFormColor},itemPadding:{paddingRight:8}}))),A=()=>{const e=T();return r.createElement(r.Fragment,null,Array.from(new Array(3)).map(((t,s)=>r.createElement(n.A,{key:`loading-${s}`,variant:"rect",className:e.skeleton}))))},S=e=>{let{data:t,isPageData:s,customClass:a={addCommentRoot:""},customCommentItemStyle:n={root:""}}=e;const{id:i}=t,E=T(),x=(0,c.useDispatch)(),{currentUser:S,isLoggedIn:I}=(0,g.A)(),[f,v]=(0,r.useState)(),w=r.useMemo((()=>I&&(0,b.JI)(S)),[I]),{t:D}=(0,l.Bd)(),R=s?"postsData":"poolsData",L=(0,c.useSelector)((0,y.t$)(i,R)),M=(0,c.useSelector)((0,y.RK)(i,R)),N=(0,c.useSelector)((0,y.og)(i,R)),O=(0,c.useSelector)((0,y.e_)(i,R)),z=(0,c.useSelector)((0,y.kL)(i,R));(0,r.useEffect)((()=>{L.size||M||N||x((0,u.zl)({id:i,dataType:R}))}),[L.size,N,M]);const B=(0,r.useCallback)((e=>{let{parentId:t,excludeId:s}=e;x((0,u.h_)({itemId:i,parentId:t,excludeId:s,dataType:R}))}),[x,u.h_]),F=e=>{let{itemId:s,body:o,dataType:a}=e;x((0,u.I4)({itemId:i,commentId:s,body:o,dataType:a})).then((()=>{let e=null;switch(a){case"poolsData":e=C.Px.POOL;break;case"postsData":e=C.Px.POST}e&&((0,_.Fd)({userId:S?.id,itemId:i,itemCategory:e,sourcePage:C.Qs.BOOK_DETAIL,sourceFunction:C.LE.COMMENT,rating:t?.rating||t?.cover_post?.rating}),x((0,p.Xy)({event:C.fv.COMMENT,item_id:i,item_type:e,source_page:C.Qs.BOOK_DETAIL,source_function:C.LE.COMMENT,comment:o}))),x((0,m.cL)("comment"))}))},P=(e,t,s,o)=>{x((0,u.O7)({commentId:e,itemId:i,vote:o,dataType:R}))},$=(e,t)=>{x((0,u.RF)({commentId:e,action:C.lM.PIN,dataType:R,customMsg:`${D(t?"snackbar__un-pin-comment-action-on-post":"snackbar__pin-comment-action-on-post",{id:e,displayName:S.display_name,postId:e})}`}))},U=(e,t)=>{x((0,u.Jm)({reaction:t,commentId:e.id,itemId:i,dataType:R}))},V=e=>{x((0,u.RF)({commentId:e.commentId,reason:e.other?e.other:e.reason,action:C.lM.DELETE,dataType:R}))},H=e=>{x((0,u.RF)({commentId:e,action:C.lM.RESTORE,dataType:R}))};return r.createElement("div",{"data-testid":"book-discuss-section",className:E.discussionRoot},r.createElement("div",{className:E.discussionContainer},r.createElement("div",{className:E.scrollable},L.size?r.createElement(d(),{hasMore:O,loadMore:()=>{x((0,u.zl)({id:i,dataType:R,startCursor:z.endCursor}))},useWindow:!1,threshold:100},L?.map(((e,s)=>r.createElement(j.default,{key:e.id,data:e,index:s,isMobileView:!1,allowComment:w,handleSendComment:F,handleVote:P,itemId:i,commentIndex:s,dataType:R,onShowMore:B,handleReact:U,handleDelete:V,handleRestore:H,replyBoxId:f,setReplyBoxId:v,handlePinUnPin:$,post:t,customReplyStyle:E.replyInputContainer,customStyle:E.itemPadding,customCommentItemStyle:n})))):M?r.createElement(A,null):null)),w&&r.createElement("div",{className:k()(E.addCommentRoot,a.addCommentRoot)},r.createElement(o.A,{light:!0}),r.createElement("div",{className:E.addCommentContainer},r.createElement(h.default,{itemId:null,dataType:R,rows:1,minRows:1,handleSendComment:F,customStyle:E.replyInputContainer}))))}},
1"./src/shared/scenes/book_series/book_serie_page/components/SectionDrawer/components/ShareSection.js":(e,t,s)=>{s.d(t,{A:()=>x});var o=s("./node_modules/@material-ui/core/esm/Tooltip/Tooltip.js"),a=s("./node_modules/@material-ui/core/esm/Typography/Typography.js"),n=s("./node_modules/react/index.js"),r=s("./node_modules/@material-ui/core/esm/styles/makeStyles.js"),l=s("./node_modules/@material-ui/icons/FileCopyOutlined.js"),i=s("./src/shared/components/ShareDialog/ShareRowLazy.js"),d=s("./src/shared/utils/helpers/copyToClipboard.js"),c=s("./node_modules/classnames/index.js"),m=s.n(c),u=s("./src/shared/assets/img/logo.png"),p=s("./node_modules/react-redux/es/index.js"),h=s("./src/shared/hooks/useR18.js"),g=s("./src/shared/components/My/R18+/customOverlay.js"),y=s("./src/shared/hooks/useBlacklistContent.js"),C=s("./src/shared/components/BlacklistOverlay/BlacklistOverlay.js"),b=s("./src/shared/utils/is-blacklisted.js"),_=s("./src/shared/utils/is-specific-blacklisted.js"),j=s("./src/shared/hook/useAuthUser/index.js");const E=(0,r.A)((e=>({root:{marginTop:e.spacing(2),display:"flex",flexDirection:"column",alignItems:"center","& p":{fontSize:16,fontWeight:400,color:e.palette.neutralTextColor,margin:0},"& > p":{marginTop:24}},imgContainer:{position:"relative",[e.breakpoints.down("sm")]:{width:"100%"}},img:{width:"100%",height:"100%",borderRadius:8,objectFit:"contain"},blur:{filter:"blur(12px)"},shareIconsContainer:{display:"flex",marginTop:24,gap:"16px","& > div":{marginInline:"0"}},copyLinkRoot:{cursor:"pointer",justifyContent:"space-between",marginTop:16,display:"flex",padding:16,background:e.palette.bgForm,borderRadius:4,width:"100%"},icon:{color:e.palette.neutralTextColor,marginLeft:12}}))),x=e=>{let{data:t,customRootClass:s,isPageData:r=!1}=e;const c=E(),{isBlurredR18Content:x,toggleR18filter:k}=(0,h.A)(t?.rating),{currentUser:T}=(0,j.A)(),A=(0,p.useSelector)((e=>e.book_series.bookItem)),S=window.location.host,I=r?`${S}/posts/${t?.id}`:window.location.href,f=(0,n.useCallback)((async()=>{try{await(0,d.e)(I)}catch(e){}}),[I]),{isContentBlacklisted:v,isContentBlurred:w,isContentBlocked:D,isMyContentBlacklisted:R,blacklistedTagsV2:L}=(0,y.A)({postContent:r?t:t?.cover_post,bookTags:!r&&t?.tags,includeBlurredTags:!0,showBlacklisted:!0}),{isShowBlacklistOverlay:M,isBlurImage:N}=(0,n.useMemo)((()=>{const e=t?.author?.id,s=e===T?.id,o=t&&(0,b.Ay)(t,L,t?.tags)||(0,_.A)(t,"pool",T?.blacklisted_contents),a=o&&s;return{isShowBlacklistOverlay:v||w||R||a||o&&!s,isBlurImage:x||(v||w)&&!D||R||a}}),[t,L,T?.id,T?.blacklisted_contents,v,w,R,D,x]);return n.createElement("div",{className:m()(c.root,s)},n.createElement("div",{className:c.imgContainer},x&&n.createElement(g.default,{onClick:k}),M&&n.createElement(C.default,null),n.createElement("img",{className:m()(c.img,{[c.blur]:N}),src:D?u.A:t?.file_url,onError:e=>{e.target.src=u.A,e.onerror=null}})),n.createElement(a.A,null,"Share on social media"),n.createElement(i.A,{customRootClass:c.shareIconsContainer,title:A?.name,url:I,imageUrl:t?.file_url,showCount:!1,size:40}),n.createElement(o.Ay,{title:"Copy link address",enterTouchDelay:0,leaveTouchDelay:2e3,placement:"top"},n.createElement("div",{className:c.copyLinkRoot,onClick:f},n.createElement(a.A,{noWrap:!0},I),n.createElement(l.A,{className:c.icon}))))}},
1"./src/shared/selectors/CommentsSelectors.js":(e,t,s)=>{s.d(t,{$r:()=>l,Ad:()=>i,HL:()=>b,RK:()=>p,Z7:()=>c,e_:()=>g,ev:()=>C,kL:()=>y,nd:()=>u,og:()=>h,t$:()=>m,xM:()=>d});var o=s("./node_modules/reselect/es/index.js"),a=s("./node_modules/immutable/dist/immutable.js"),n=s("./src/shared/utils/helpers/numberHelpers.js");const r=e=>e.comments,l=(0,o.Mz)(r,(e=>e.get("recentComments",new a.List))),i=(0,o.Mz)(r,(e=>e.get("loading",!0))),d=(0,o.Mz)(r,(e=>e.get("childCommentLoading",!1))),c=(0,o.Mz)(r,(e=>e.get("pageInfo",{}))),m=(e,t)=>(0,o.Mz)(r,(s=>s.getIn([t,(0,n.$b)(e),"comments"],new a.List))),u=(e,t)=>(0,o.Mz)(r,(s=>{const o=(0,n.$b)(e),a=isNaN(o)?e:o;return s.getIn([t,a,"totalCount"],0)})),p=(e,t)=>(0,o.Mz)(r,(s=>s.getIn([t,(0,n.$b)(e),"loading"],!1))),h=(e,t)=>(0,o.Mz)(r,(s=>s.getIn([t,(0,n.$b)(e),"loaded"],!1))),g=(e,t)=>(0,o.Mz)(r,(s=>s.getIn([t,(0,n.$b)(e),"pageInfo","hasNextPage"],!0))),y=(e,t)=>(0,o.Mz)(r,(s=>s.getIn([t,(0,n.$b)(e),"pageInfo"]))),C=(0,o.Mz)(r,(e=>e.get("dialog"))),b=(0,o.Mz)(r,(e=>{const t=e.get("dialog");return e.getIn([t.dataType,t.itemId,"comments",t.commentIndex])}));(0,o.Mz)(r,(e=>e.get("replyingComment",{}))),(0,o.Mz)(r,(e=>e.get("showPostComments",!1)))},
1"./src/shared/utils/api/index.js":(e,t,s)=>{s.d(t,{GO:()=>n,NY:()=>r,jX:()=>l,s0:()=>a});var o=s("./src/shared/api.js");const a={GET:"get",POST:"post",PUT:"put",DELETE:"delete",PATCH:"patch"},n=e=>{let[t,s]=e;const a=s.method??"get",n=(e=>{const t=new URLSearchParams;return Object.entries(e).forEach((e=>{let[s,o]=e;o&&t.append(s,o.toString())})),t.toString()})(s?.query??{});delete s.method,delete s.query;const r=n?`${t}?${n}`:t;return o.A[a](r,s).then((e=>e.data))},r=(e,t)=>{let{arg:s}=t;return n([e,s])},l=(e,t)=>{const{id:s,reaction:o}=t;if(!o)return e.filter((e=>e.id!==s));return e.some((e=>e.id===s))?e.map((e=>e.id===s?t:e)):[...e,t]}},
1"./src/shared/utils/helpers/copyToClipboard.js":(e,t,s)=>{async function o(e){if("clipboard"in navigator)return await navigator.clipboard.writeText(e);{const t=document.createElement("textarea");t.value=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)}}s.d(t,{e:()=>o})}
1}]);

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.