1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[72822],{288:function(t,e,n){"use strict";n.d(e,{BF:function(){return a},Lj:function(){return o},px:function(){return r}});let r="ALL_PATH",a="ALL_CONTENT_MODE",o={get:t=>{let{_pathname:e,_contentMode:n,_userId:r}=t;return{_pathname:e,_contentMode:n,_userId:r}}}},47035:function(t,e,n){"use strict";n.d(e,{X:function(){return c},n:function(){return l}});var r=n(27573),a=n(73131),o=n(54700),u=n(7653);let i=(0,u.createContext)(null),c=t=>{let e=(0,o.useLanguage)(),n=(0,u.useContext)(i);if(t&&(e=t),!n)throw Error("Text resource is not fetched");let r=(0,u.useCallback)((t,n)=>{try{let r;return r=a.LANGUAGES.KOREAN in n&&a.LANGUAGES.ENGLISH in n&&a.LANGUAGES.JAPANESE in n?n[e]:n,{...t,[e]:Object.entries(r).reduce((t,e)=>{let n=e[1],r=t.replace("{{".concat(e[0],"}}"),n),a=r.match(/\[(\w+)\|(\w+)\]/)||[];return 3!==a.length||isNaN(+n)||(r=r.replace(a[0],a[+n>1?2:1])),r},t[e])}}catch(e){return t}},[e]);return{_t:function(){for(var t=arguments.length,a=Array(t),o=0;o<t;o++)a[o]=arguments[o];let u="";return void 0===(u="string"==typeof a[0]?a[1](n,r)[a[0]]:a[0](n,r)[e])?"UNDEFINED TEXT - ".concat(e):u}}},l=t=>{let{textResource:e,children:n}=t;return(0,r.jsx)(i.Provider,{value:e,children:n})}},52462:function(t,e,n){"use strict";n.d(e,{EV:function(){return u},Fw:function(){return a},MA:function(){return c},dv:function(){return o},e5:function(){return i}});var r=n(73131);let a={kakao:{labelTextKey:"kakao",gaLabel:"ì¹´ì¹´ì¤"},naver:{labelTextKey:"naver",gaLabel:"ë¤ì´ë²"},facebook:{labelTextKey:"facebook",gaLabel:"íì´ì¤ë¶"},apple:{labelTextKey:"apple",gaLabel:"ì í"},google:{labelTextKey:"google",gaLabel:"구ê¸"},twitter:{labelTextKey:"twitter",gaLabel:"í¸ìí°"},yahoojapan:{labelTextKey:"yahoojapan",gaLabel:"ì¼í"},line:{labelTextKey:"line",gaLabel:"ë¼ì¸"}},o={[r.LANGUAGES.KOREAN]:["kakao","naver","facebook","apple"],[r.LANGUAGES.JAPANESE]:["line","google","yahoojapan","facebook","twitter","apple"],[r.LANGUAGES.ENGLISH]:["facebook","google","twitter","apple"]},u="oauth-service",i="oauth-service-temp",c=["twitter","yahoojapan","naver","facebook","google","line","kakao","apple"]},40697:function(t,e,n){"use strict";n.d(e,{Z:function(){return _}});var r=n(27573),a=n(47035),o=n(54700),u=n(98094),i=n(84384),c=n.n(i),l=n(7653),s=n(52462),f=n(35755),h=n(93842),p=n.n(h);let A=c().bind(p());var _=t=>{let{provider:e,isLastProvider:n,lzSnackPlatform:i,...c}=t,{_t:h}=(0,a.X)(),_=(0,o.useLanguage)(),{query:g}=(0,f.U)(),{labelTextKey:d}=(0,l.useMemo)(()=>s.Fw[e],[e]),m=(0,l.useCallback)(()=>{let t=(null==g?void 0:g.redirect)||"/".concat(_);if(i){let e=new URL(t,location.toString());e.searchParams.set("platform",i),t=e.pathname+e.search}localStorage.setItem(s.e5,e),window.location.href="/".concat(_,"/login/").concat(e,"?redirect=").concat(encodeURIComponent(t)).concat(i?"&isSnack=true":""),sessionStorage.setItem(u.F6,Date.now().toString())},[i,_,e,null==g?void 0:g.redirect]);return(0,r.jsx)("button",{className:A([p().OAuthBtn,p()["OAuthBtn__".concat(e)],n?p()["OAuthBtn--isLast"]:void 0]),type:"button",onClick:m,...c,children:h(t=>t.common.login[d])})}},54700:function(t,e,n){"use strict";n.d(e,{useLanguage:function(){return a}});var r=n(81695);n(73131);let a=()=>{let{language:t}=(0,r.useParams)();return t&&"string"==typeof t||(t="ko"),t}},98094:function(t,e,n){"use strict";n.d(e,{F6:function(){return s},Pl:function(){return h},vg:function(){return f}});var r=n(288);let a=(t,e,n,a)=>(t._contentMode===n||t._contentMode===r.BF)&&(t._pathname===a||t._pathname===r.px)&&t._userId===e,o=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;return 0!==t&&t+e<Date.now()};var u=n(31529),i=n(77930),c=n(81695),l=n(7653);let s="linkAction",f=t=>{let e=(0,i.useQueryClient)(),n=(0,c.usePathname)(),{id:r,contentMode:a}=(0,u.useAppConfigStore)();(0,l.useEffect)(()=>{sessionStorage.getItem(s)&&Array.from(e.getQueryCache().getAll()).map(e=>t(e))},[t,a,r,n,e])},h=()=>{let{id:t,contentMode:e}=(0,u.useAppConfigStore)(),n=(0,c.usePathname)();return(0,l.useCallback)(r=>{if(a(r.queryKey[0],t,e,n)&&!r.isDisabled()&&r.isActive())try{o(r.state.dataUpdatedAt,500)&&r.fetch()}catch(t){console.log(t)}},[e,t,n])}},82172:function(t,e,n){"use strict";n.d(e,{_:function(){return r},p:function(){return a}});let r=(0,n(7653).createContext)(null),a=r.Provider},31630:function(t,e,n){"use strict";n.d(e,{$B:function(){return c},PX:function(){return r},F6:function(){return s},ks:function(){return f},_b:function(){return a},wQ:function(){return u},Of:function(){return l},kH:function(){return function t(e){if(r(e))return t(new URL(e).pathname);if(!e||"/"!==e[0])return{isInternalRoute:!1,pathname:e};let[,n,a]=e.split("/"),o=p.has(n)?a:n;return o?{isInternalRoute:h.has(o),pathname:e}:{isInternalRoute:!1,pathname:e}}}});var r=function(t){try{return new URL(t),!0}catch(t){return!1}},a=function(t){let e;return{search:(e=r(t)?new URL(t):new URL(window.location.origin+(t.startsWith("/")?t:"/"+t))).search,pathname:e.pathname,hash:e.hash.replace("#","")}},o=n(39822),u=function(t,e){e.query&&(e.query=function(t){for(let e in t)(0,o.Z)(t[e])&&delete t[e];return t}(e.query));let n=function(t){let e=new URLSearchParams;for(let[n,r]of Object.entries(t))if(Array.isArray(r))for(let t=0;t<r.length;t++)e.append(n,r[t]);else e.set(n,r);return e}(e.query);return{...e,hash:e.hash?"#".concat(e.hash):"",pathname:t,size:Object.keys(e.query).length,search:n.toString(),searchParams:n}},i=n(73131),c=function(t){let e=[i.LANGUAGES.ENGLISH,i.LANGUAGES.KOREAN,i.LANGUAGES.JAPANESE],n=t=>e.some(e=>
1t.startsWith("/".concat(e)));if(n(t))return t;let r=(()=>{let[,t]=window.location.pathname.split("/");return n("/".concat(t))?t:i.LANGUAGES.KOREAN})();return"/".concat(r).concat(t)};function l(t){let e=new URLSearchParams(t.toString()),n={};return Array.from(new Set(e.keys())).forEach(t=>{let r=e.getAll(t);r.length>1?n[t]=r:n[t]=r[0]}),n}function s(t){if(!t)return;let e="";e=t.startsWith("#")?t.replace("#",""):t;let n=document.getElementById(e);n&&requestAnimationFrame(()=>{document.body.offsetHeight,n.scrollIntoView({block:"start"})})}function f(t,e){if("string"==typeof t){let n=a(t);return{pathname:n.pathname,options:{...e,query:{...null==e?void 0:e.query,...l(new URLSearchParams(n.search))},hash:n.hash}}}return{pathname:t.pathname||window.location.pathname,options:{...t}}}let h=new Set(["500","account","achievements","adult","arcade","artist","artists","auth","bl","bookshome","calendar","coin-conversion","comic","custom","daily","dailyfree-guide","downloads","error","exhibit","explore","female","free","genreplus","help","in-app","intro","leaderboard","lezhin-plus","library","login","logout","lz-api","male","mk","mpayment","naverpay-point","notifications","novel","nsfw","oauth","otona","page","passwords","payment","policy","preference","presents","promotions","ranking","refresh-token","reset","sale","scheduled","search","shop","signup","snack","static-pages","tag-finder","tags","transfer","transfer-agreement","update-ac","verify","walwal","welcome","yearend"]),p=new Set(Object.values(i.LANGUAGES))},54087:function(t,e,n){"use strict";var r=n(7653),a=n(82172),o=n(81695),u=n(31630);e.default=function(){let t=(0,o.usePathname)(),e=(0,o.useSearchParams)(),n=(0,o.useParams)(),i=(0,r.useMemo)(()=>(0,u.Of)(e),[e]),c=(0,r.useContext)(a._);return(0,r.useMemo)(()=>({...c,pathname:t,params:n,query:i}),[c,t,n,i])}},54652:function(t,e,n){"use strict";function r(t){return/[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}/.test(t)}n.d(e,{OD:function(){return i},OF:function(){return u},nA:function(){return o},vV:function(){return r},xT:function(){return a}});let a=t=>/^01([0|1|6|7|8|9]?)?([0-9]{3,4})?([0-9]{4})$/.test(t);function o(t){let e=/[a-zA-Z]/.test(t),n=/[0-9]/.test(t),r=/[.`~â©Â¥!@#$%^&*()_+\-={}[\]|\\:;"'<>,?]/.test(t),a=!/[^\w\d.`~â©Â¥!@#$%^&*()_+\-={}[\]|\\:;"'<>,?]/.test(t),o=/.{8,}/.test(t);return e&&n&&r&&a&&o}function u(t){return/.{6,}/.test(t)&&!/[^\w\d.`~â©Â¥!@#$%^&*()_+\-={}[\]|\\:;"'<>,?]/.test(t)}function i(t){return!/[A-Zï¼ ]/.test(t)}},35755:function(t,e,n){"use strict";n.d(e,{U:function(){return r.default}});var r=n(54087)},93842:function(t){t.exports={OAuthBtn:"OAuthBtn__LKRuc",OAuthBtn__twitter:"OAuthBtn__twitter__P8a0x",OAuthBtn__yahoojapan:"OAuthBtn__yahoojapan__ECe7p",OAuthBtn__naver:"OAuthBtn__naver___RnQf",OAuthBtn__facebook:"OAuthBtn__facebook__PMTeJ",OAuthBtn__google:"OAuthBtn__google__NqTvN",OAuthBtn__apple:"OAuthBtn__apple__1jVFV",OAuthBtn__line:"OAuthBtn__line__Nxlgv",OAuthBtn__kakao:"OAuthBtn__kakao__WC6o1","OAuthBtn--isLast":"OAuthBtn--isLast__RZjF3"}}}]);
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.