1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[52305],{52305:function(e,n,r){r.r(n),r.d(n,{default:function(){return Z}});var a=r(27573),t=r(55436),c=r(50541),s=r(96278),o=r(50475),l=r(35755),i=r(31529),C=r(28753),d=r(97407);function p(e){return(0,a.jsx)(d.Z,{...e,children:(0,a.jsx)("path",{d:"M2.90909 9.11279H5.63636V20H2.90909C2.40702 20 2 19.5938 2 19.0927V10.0201C2 9.51899 2.40702 9.11279 2.90909 9.11279ZM7.72081 7.9398L13.5395 2.13287C13.6994 1.97324 13.9526 1.95528 14.1335 2.09073L14.9086 2.67087C15.3493 3.00068 15.5478 3.56265 15.4119 4.09533L14.3635 8.20552H20.1818C21.186 8.20552 22 9.01792 22 10.0201V11.9292C22 12.1663 21.9535 12.401 21.8631 12.6201L19.05 19.4381C18.9097 19.7781 18.5777 20 18.2094 20H8.36364C7.86156 20 7.45455 19.5938 7.45455 19.0927V8.58133C7.45455 8.34071 7.55033 8.10994 7.72081 7.9398Z"})})}function u(e){return(0,a.jsx)(d.Z,{...e,children:(0,a.jsx)("path",{d:"M14.3635 8.50727H20.1818C21.186 8.50727 22 9.29888 22 10.2754V12.1358C22 12.3667 21.9535 12.5954 21.8631 12.809L19.05 19.4526C18.9097 19.7838 18.5777 20 18.2094 20H2.90909C2.40702 20 2 19.6042 2 19.1159V10.2754C2 9.78713 2.40702 9.39133 2.90909 9.39133H6.0744C6.36979 9.39133 6.64675 9.25176 6.8171 9.01709L11.7747 2.18716C11.9043 2.0087 12.1485 1.94902 12.3494 2.04671L13.9985 2.84857C14.9545 3.31344 15.4483 4.36333 15.1846 5.37065L14.3635 8.50727ZM7.45455 10.7947V18.2319H17.6005L20.1818 12.1358V10.2754H14.3635C13.1774 10.2754 12.3089 9.18884 12.6015 8.07106L13.4226 4.93445C13.4754 4.73298 13.3766 4.523 13.1854 4.43003L12.5844 4.13779L8.3025 10.0367C8.07532 10.3497 7.78492 10.6063 7.45455 10.7947ZM5.63636 11.1594H3.81818V18.2319H5.63636V11.1594Z"})})}function f(e){return(0,a.jsx)(d.Z,{...e,children:(0,a.jsx)("path",{d:"M21.0909 14.8872H18.3636V4H21.0909C21.593 4 22 4.4062 22 4.90727V13.9799C22 14.481 21.593 14.8872 21.0909 14.8872ZM16.2792 16.0602L10.4605 21.8672C10.3006 22.0268 10.0474 22.0447 9.86644 21.9093L9.09136 21.3292C8.65073 20.9994 8.45217 20.4373 8.58805 19.9047L9.63652 15.7945H3.81818C2.81403 15.7945 2 14.9821 2 13.9799V12.0708C2 11.8337 2.04653 11.599 2.13695 11.3799L4.95001 4.56182C5.09027 4.22187 5.42225 4 5.79063 4H15.6364C16.1385 4 16.5455 4.4062 16.5455 4.90727V15.4187C16.5455 15.6593 16.4496 15.8901 16.2792 16.0602Z"})})}function x(e){return(0,a.jsx)(d.Z,{...e,children:(0,a.jsx)("path",{d:"M9.63652 15.4927H3.81818C2.81403 15.4927 2 14.7012 2 13.7246V11.8643C2 11.6333 2.04653 11.4046 2.13695 11.1911L4.95001 4.54745C5.09027 4.2162 5.42225 4 5.79063 4H21.0909C21.593 4 22 4.39581 22 4.88406V13.7246C22 14.2129 21.593 14.6087 21.0909 14.6087H17.9256C17.6302 14.6087 17.3533 14.7483 17.1829 14.9829L12.2253 21.8129C12.0957 21.9913 11.8515 22.051 11.6506 21.9533L10.0015 21.1514C9.04544 20.6866 8.5517 19.6367 8.8154 18.6294L9.63652 15.4927ZM16.5455 13.2052V5.76811H6.39945L3.81818 11.8643V13.7246H9.63652C10.8226 13.7246 11.6911 14.8111 11.3985 15.9289L10.5774 19.0656C10.5246 19.267 10.6234 19.477 10.8146 19.57L11.4156 19.8622L15.6975 13.9633C15.9247 13.6503 16.2151 13.3937 16.5455 13.2052ZM18.3636 12.8406H20.1818V5.76811H18.3636V12.8406Z"})})}var L=r(33854),g=r(94723),h=r(78664);let H=e=>({ko:"ko-KR",en:"en-US",ja:"ja-JP"})[e];var Z=e=>{var n;let{open:r,onClose:d}=e,{id:Z=0}=(0,i.useAppConfigStore)(),{info:j}=(0,s.cA)(),{createSnackbar:m}=(0,L.Z)(),V=null!==(n=null==j?void 0:j.id)&&void 0!==n?n:0,{data:N="NONE",optimisticUpdate:E}=(0,s.iy)({select:e=>(null==e?void 0:e.preferred)||"NONE"}),{pathname:M,params:I,push:b}=(0,l.U)(),{_t:v}=(0,o.TS)(),S="py-12 px-16 flex items-center justify-center gap-16",k=M.includes("library"),K=k?"/".concat(I.language,"/comic/").concat(I.alias):"/".concat(I.language,"/library/comic/").concat(H(I.language),"/").concat(I.alias);return(0,a.jsx)(g.Z,{open:r,isBottomModal:!0,close:!0,onClose:d,classes:{modal:"px-24 pb-24 phone:p-16 phone:pb-32 bg-bg-default"},children:(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"flex flex-col gap-8 items-start",children:[Z&&(0,a.jsxs)(t.default,{href:K,anchorProps:{className:S},children:[(0,a.jsx)(C.Z,{}),(0,a.jsx)(h.Z,{variant:"lg",compact:!0,children:k?v(e=>e.actions.goToEpisodeList):v(e=>e.actions.goToCollection)})]}),(0,a.jsxs)("button",{className:S,onClick:()=>
1{if(!Z)return b("/".concat(I.language,"/login?redirect=").concat(encodeURIComponent(location.pathname)));if("LIKE"===N)(0,c.sg)({contentsId:V,id:Z,preferred:"NONE"}),E({preferred:"NONE"});else{var e;(0,c.sg)({contentsId:V,id:Z,preferred:"LIKE"}),E({preferred:"LIKE"});let n=JSON.parse(null!==(e=localStorage.getItem("preferred"))&&void 0!==e?e:"[]");n.includes(V)||(m(v(e=>e.actions.preference),{className:"!bottom-[162px] mobile:!bottom-[112px]"}),localStorage.setItem("preferred",JSON.stringify([...n,V])))}},children:["LIKE"===N?(0,a.jsx)(p,{className:"text-basic-red-accent"}):(0,a.jsx)(u,{}),(0,a.jsx)(h.Z,{variant:"lg",compact:!0,children:v(e=>e.actions.like)})]}),(0,a.jsxs)("button",{className:S,onClick:()=>{if(!Z)return b("/".concat(I.language,"/login?redirect=").concat(encodeURIComponent(location.pathname)));"DISLIKE"===N?((0,c.sg)({contentsId:V,id:Z,preferred:"NONE"}),E({preferred:"NONE"})):((0,c.sg)({contentsId:V,id:Z,preferred:"DISLIKE"}),E({preferred:"DISLIKE"}))},children:["DISLIKE"===N?(0,a.jsx)(f,{className:"text-basic-red-accent"}):(0,a.jsx)(x,{}),(0,a.jsx)(h.Z,{variant:"lg",compact:!0,children:v(e=>e.actions.dislike)})]})]})})})}},28753:function(e,n,r){r.d(n,{Z:function(){return c}});var a=r(27573),t=r(97407);function c(e){return(0,a.jsx)(t.Z,{...e,children:(0,a.jsx)("path",{d:"M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z"})})}}}]);
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.