1"use strict";(self.webpackChunkusagi=self.webpackChunkusagi||[]).push([[2951],{7202(e,t,n){n.r(t),n.d(t,{entrypoint:()=>f});n(3362),n(27495);var i=n(91238),r=(n(74423),n(41669)),o=n.n(r),s=n(70826),a=n(66357),c=n(13644),l=n(72700);function d(){!async function(){new s.A(".reading-completion-items",{modules:[a.Vx],slidesPerView:"auto",freeMode:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev",addIcons:!1}});const e=await l.N.forceRetrieveUserPromise(),t=e.point_gettable_episode_ids;if(!e.logged_in)return;if(void 0===t||0===t.length){const e=document.querySelector(".js-reading-completion-section");return void(e&&(e.style.display="none"))}document.querySelectorAll(".js-reading-completion-item").forEach((e=>{const n=e.id;t.includes(n)||(e.style.display="none")}))}(),function(){const e=document.querySelector("[data-expand-news]");if(!e)return;const t=e.querySelector("button");if(!t)return;const n=document.querySelectorAll("[data-news-item]");t.addEventListener("click",(()=>{n.forEach((t=>{t.classList.remove("hidden-3colmn"),e.classList.add("hidden")}))}))}(),document.querySelectorAll("[data-series-item]").forEach((e=>{const t=e.querySelector("[data-series-item-show-description]"),n=e.querySelector("[data-series-item-notes]");t&&n&&t.addEventListener("click",(()=>{n.classList.remove("short"),t.classList.add("hidden")}))})),function(){const e=document.querySelector("#expand-more");if(!e)return;const t=document.querySelectorAll("[data-update-section]");e.addEventListener("click",(()=>{t.forEach((t=>{t.classList.remove("hidden"),e.classList.add("hidden")}))}))}(),(0,c.Aw)(),o()(".slider-large").slick({autoplaySpeed:3e3,slidesToScroll:1,arrows:!1,autoplay:!0,variableWidth:!0,infinite:!0,centerMode:!0,dots:!0,touchMove:!0,pauseOnFocus:!0,pauseOnHover:!0}),o()(".ichioshi-list").slick({slidesToScroll:1,variableWidth:!0,infinite:!0,centerMode:!0,touchMove:!0,arrows:!0})}var u=n(34767);function h(){!function(){var e;const t=document.querySelector(".js-terms-iframe");null!=t&&(window.addEventListener("message",(e=>{if("scrollHeight"===e.data.type){const n=`${e.data.value}px`;null!=t&&(t.style.height=n)}})),null===(e=t.contentWindow)||void 0===e||e.postMessage({type:"requestScrollHeight"},"*"))}(),function(){const e=document.querySelector(".js-checkpoint"),t=document.querySelector(".js-start-button");if(null==e||null==t)return;t.addEventListener("click",(e=>{t.hasAttribute("aria-disabled")&&e.preventDefault()})),t.addEventListener("keydown",(e=>{"Enter"===e.key&&t.hasAttribute("aria-disabled")&&e.preventDefault()}));const n=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&(t.attributes.removeNamedItem("aria-disabled"),n.disconnect())}))}));n.observe(e)}()}var v=n(60154),m=n(80684),p=n(86911);const f=()=>{const e=(0,m.kk)({pathname:window.location.pathname,searchParams:window.location.search,pageId:"",isLoggedIn:!1,requestedAt:new Date((0,p.u)())}),t=(0,m.kk)({isTopPage:"/"===window.location.pathname});i.A.connect("media:gardo:top",d),i.A.connect("media:gardo:user_account:signup:terms",h),i.A.always((()=>{(0,c.ev)({loadPWAManifest:!0}),e.pathname=window.location.pathname,e.pageId=(e=>{switch(e){case"/history":return"history";case"/series":return"series";case"/comics":return"comics"}return e.startsWith("/my")?"my":""})(window.location.pathname),e.requestedAt=new Date((0,p.u)()),t.isTopPage="/"===window.location.pathname,(0,m.O)(document.querySelectorAll("#react-header-root"),(()=>Promise.all([n.e(9317),n.e(1412),n.e(5429)]).then(n.bind(n,95429)).then((e=>e.HeaderContentWrapper))),e),(0,m.O)(document.querySelectorAll("#react-footer-root"),(()=>n.e(1533).then(n.bind(n,61533)).then((e=>e.Footer))),t)})),i.A.connect("common:point",v.T),l.N.on("update",(t=>{e.isLoggedIn=t.logged_in})),(0,u.zz)(i.A)}},13644(e,t,n){n.d(t,{Aw:()=>l,Fe:()=>c,ev:()=>a});var i=n(52673);function r(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const o="visited_count_for_pwa_mini_info_bar",s=new class{constructor(){r(this,"count",void 0),r(this,"beforeInstallPromptEvent",void 0),r(this,"listeners",void 0),this.visitedCount=+(i.v.getItem(o)||0),this.listeners=[]}registerEvent(){window.addEventListener("beforeinstallprompt",(e=>{e.preventDefault(),this.visitedCount%2!=1&&(this.visitedCount<0||(this.beforeInstallPromptEvent=e,this.listeners.forEac
1h((e=>"function"==typeof e&&e(this.beforeInstallPromptEvent)))))}))}addEventListener(e){this.listeners.push(e)}get visitedCount(){return this.count}set visitedCount(e){this.count=e,i.v.setItem(o,e+"")}incrementCount(){this.visitedCount=this.count+1}accepted(){this.visitedCount=-1}closed(){this.visitedCount=-2}},a=e=>{const t=(()=>{try{return navigator.serviceWorker}catch(e){if(e instanceof DOMException&&"SecurityError"===e.name)return;throw e}})();if(!t)return;if(null!=e&&e.loadPWAManifest){const e="/js/manifest.json",t=document.createElement("link");t.rel="manifest",t.href=e,t.setAttribute("crossOrigin","use-credentials"),document.head.appendChild(t),s.registerEvent()}let n="/sw.js";null!=e&&e.offlineCache&&(n="/sw-offline-caching.js"),t.register(n,{scope:"/"})},c=()=>{const e=document.querySelector(".offline-banner");e&&(navigator.onLine||e.classList.remove("hidden"))},l=()=>{s.visitedCount>=0&&s.incrementCount(),s.addEventListener((e=>{const t=document.querySelector(".js-pwa-mini-infobar-wrapper");null==t||t.classList.remove("hidden");const n=document.querySelector(".js-pwa-mini-infobar-add2hs-btn");null==n||n.addEventListener("click",(()=>{null==t||t.classList.add("hidden"),e.prompt(),e.userChoice.then((e=>{"accepted"===e.outcome?s.accepted():e.outcome}))}));const i=document.querySelector(".js-pwa-mini-infobar-close-btn");null==i||i.addEventListener("click",(()=>{s.closed(),null==t||t.classList.add("hidden")}))}))}},60154(e,t,n){n.d(t,{T:()=>c});var i=n(97358);function r(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class o{constructor(e,t,n){r(this,"tabs",void 0),r(this,"activeTab",void 0),r(this,"activeClass",void 0),this.tabs=e,this.activeTab=t,this.activeClass=n,this.registerEvents(),this.activeTab&&this.changeTab(this.activeTab)}registerEvents(){Array.prototype.slice.apply(this.tabs).forEach((e=>{i.B.addOnLeaveListenerHelper(e,"click",(()=>this.changeTab(e)))}))}changeTab(e){this.activeTab=e,Array.prototype.slice.apply(this.tabs).forEach((e=>{const t=e.dataset.content;if(!t)return;const n=document.querySelectorAll(t);0!==n.length&&(e===this.activeTab?(e.classList.add(this.activeClass),n.forEac
1h((e=>e.classList.remove("hidden")))):(e.classList.remove(this.activeClass),n.forEach((e=>e.classList.add("hidden")))))}))}}var s=n(3404),a=n(90243);function c(){!function(){const e=document.querySelectorAll(".js-point-list-tabs *[data-content]");e.length>0&&new o(e,e[0],"active")}(),document.querySelectorAll(".js-disclaimers section").forEach((e=>{const t=e.querySelector("h4"),n=e.querySelectorAll("ul");!t||n.length<=0||((0,a.jD)(n),new s.Ji(t,n))}))}},86911(e,t,n){n.d(t,{u:()=>s,y:()=>o});n(3362),n(27495);var i=n(30014),r=n(38871);function o(e){return new Promise((t=>setTimeout(t,e)))}function s(){if((0,r.KV)())return Date.now();if(location.hash.startsWith("#now="))try{return Number(location.hash.split("=")[1])}catch(n){}const e=new URLSearchParams(location.search.slice(1)).get("override_requested_at");if(e)try{return Date.parse(e)}catch(n){}const t=i.A.get("override_requested_at");if(t)try{return Date.parse(t)}catch(n){}return Date.now()}}}]);
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.