1!function(){"use strict";var t,e={189:function(t,e,n){var o=n(880),s=n(575),i=n(571),l=n(66);o.os.registerPlugin(s.u),o.os.registerPlugin(i.I);class r{constructor(){this.lenis=null,this.isScrollActivated=!1,this.isAnchorScrolling=!1,this.anchorScrollTimer=null,this.scrollLocks=new Set,this.init(),window.scrollFunc=this}init(){this.initLenis(),this.scrollIn(),this.scrollTop(),this.anchorScroll()}scrollIn(){this.isScrollActivated||(this.isScrollActivated=!0,document.querySelectorAll(".js-scroll-reveal").forEach((t=>{const e=t.dataset.start||"top 92%";s.u.create({trigger:t,start:e,onEnter:e=>{t.classList.add("-reveal")}})})))}initLenis(){this.lenis=new l.A({duration:1.2,easing:t=>Math.min(1,1.001-Math.pow(2,-10*t))}),window.lenis=this.lenis,o.os.ticker.add((t=>{this.lenis.raf(1e3*t)})),o.os.ticker.lagSmoothing(0),this.lenis.on("scroll",s.u.update);const t=()=>this.refresh();"complete"===document.readyState?t():window.addEventListener("load",t,{once:!0}),document.fonts&&document.fonts.ready.then(t)}refresh(){requestAnimationFrame((()=>{this.lenis?.resize(),s.u.refresh()}))}acquireScrollLock(t){const e={reason:t};return this.scrollLocks.add(e),this.lenis.stop(),e}releaseScrollLock(t){t&&this.scrollLocks.has(t)&&(this.scrollLocks.delete(t),0===this.scrollLocks.size&&this.lenis.start())}anchorScroll(){document.addEventListener("click",(t=>{if(t.defaultPrevented)return;if(0!==t.button)return;if(t.metaKey||t.ctrlKey||t.shiftKey||t.altKey)return;const e=t.target.closest&&t.target.closest('a[href^="#"]');if(!e)return;const n=e.getAttribute("href");if(!n)return;if("#"===n)return void t.preventDefault();const o=document.querySelector(n);o&&this.lenis&&(t.preventDefault(),this.isAnchorScrolling=!0,clearTimeout(this.anchorScrollTimer),this.anchorScrollTimer=setTimeout((()=>{this.isAnchorScrolling=!1}),1200),this.lenis.scrollTo(o,{duration:1.1,force:!0,easing:t=>Math.min(1,1.001-Math.pow(2,-10*t)),onComplete:()=>{clearTimeout(this.anchorScrollTimer),this.isAnchorScrolling=!1,history.replaceState(null,"",n)}}))}))}scrollTop(){const t=document.querySelector(".js-pagetop");t&&t.addEventListener("click",(()=>{this.lenis.scrollTo(0,{duration:1.7,easing:t=>Math.min(1,1.001-Math.pow(2,-10*t))})}))}}class c{constructor(){this.blurTtls=document.querySelectorAll(".js-ttl-filter"),this.init()}init(){this.blurTtls.forEach((t=>{const e=t.closest(".js-scroll-reveal");this.waitForReveal(e,t)}))}waitForReveal(t,e){if(t.classList.contains("-reveal"))return void this.animTtlBlur(e);const n=new MutationObserver((()=>{t.classList.contains("-reveal")&&(this.animTtlBlur(e),n.disconnect())}));n.observe(t,{attributes:!0,attributeFilter:["class"]})}animTtlBlur(t){const e=Number(t.dataset.blur)||6,n=window.matchMedia("(min-width: 800px) and (max-width: 1399px)").matches?1.5*e:e,o=t.closest("svg");document.body.classList.contains("-ttl-static")?t.setAttribute("stdDeviation",String(n)):setTimeout((()=>{o.getBoundingClientRect().width&&this.playBlur(t,n,1500)}),1500)}playBlur(t,e,n){const o=document.createElementNS("http://www.w3.org/2000/svg","animate");"function"==typeof o.beginElement?(o.setAttribute("attributeName","stdDeviation"),o.setAttribute("values",`0;${e}`),o.setAttribute("dur",`${n}ms`),o.setAttribute("calcMode","spline"),o.setAttribute("keyTimes","0;1"),o.setAttribute("keySplines","0.25 0.46 0.45 0.94"),o.setAttribute("fill","freeze"),o.setAttribute("begin","indefinite"),t.appendChild(o),o.beginElement()):t.setAttribute("stdDeviation",String(e))}}class a{constructor(){this.scrollLockToken=null,this.lockedScrollY=null,this.init()}init(){const t=document.querySelector(".js-navi-btn"),e=document.querySelector(".js-navi");if(!t||!e)return;const n=document.querySelector(".js-navi-close");this.toggle=n=>{document.body.classList.toggle("-navi-open",n),t.setAttribute("aria-expanded",n?"true":"false"),e.setAttribute("aria-hidden",n?"false":"true"),n?this.lockPageScroll():this.unlockPageScroll()},t.addEventListener("click",(()=>this.toggle(!0))),n&&n.addEventListener("click",(()=>this.toggle(!1))),document.addEventListener("keydown",(t=>{"Escape"===t.key&&this.toggle(!1)})),window.addEventListener("pagehide",(()=>{document.body.classList.contains("-navi-open")&&(document.body.classList.add("-navi-notrans"),this.lockedScrollY=null,this.toggle(!1))})),window.addEventListener("pageshow",(t=>{t.persisted&&(document.body.classList.contains("-navi-open")&&(document.body.classList.add("-navi-notrans"),this.lockedScrollY=null,this.toggle(!1)),requestAnimationFrame((()=>{document.body.classList.remove("-navi-notrans")})))}))}lockPageScroll(){if(this.scrollLockToken)return;const t=document.documentElement;this.lockedScrollY=window.scrollY;const e=window.innerWidth-t.clientWidth;t.style.setProperty("--modal-scrollbar-width",`${e}px`),t.classList.add("-lock"),document.body.classList.add("-lock"),window.scrollFunc&&(this.scrollLockToken=window.scrollFunc.acquireScrollLock("navi"))}unlockPageScroll(){const t=document.documentElement;t.classList.remove("-lock"),document.body.classList.remove("-lock"),t.style.removeProperty("--modal-scrollbar-width"),window.scrollFunc&&this.scrollLockToken&&window.scrollFunc.releaseScrollLock(this.scrollLockToken),this.scrollLockToken=null,window.lenis&&null!==this.lockedScrollY&&window.lenis.scrollTo(this.lockedScrollY,{immediate:!0,force:!0}),this.lockedScrollY=null}}new class{constructor(){this.init()}init(){this.$window=$(window),this.$content=$(".l-content"),this.$botttom=$(".bottom"),this.$kv=$(".kv"),this.$pv=$(".pv"),this.markNewsTtlSeen(),"complete"===document.readyState?document.body.classList.add("-load"):window.addEventListener("load",(()=>document.body.classList.add("-load")),{once:!0}),this.setBreakpointFlag(),this.setanimaton(),this.scrollFunc=new r,this.contTtl=new c,this.navi=new a}markNewsTtlSeen(){if(!document.body.matches(".l-page.news.-detail"))return;const t="mahoyo-news-ttl",e=performance.getEntriesByType("navigation")[0];try{if(e&&"reload"===e.type&&sessionStorage.removeItem(t),sessionStorage.getItem(t))return void document.body.classList.add("-ttl-static");sessionStorage.setItem(t,"1")}catch(t){}}setBreakpointFlag(){const t=window.matchMedia("(min-width:1025px)");t.addEventListener&&t.addEventListener("change",(()=>{document.body.classList.add("-bpchanged")}))}setanimaton(){$(".l-footer").on("animationend",(function(){$(".l-content").addClass("-active")}))}}}},n={};function o(t){var s=n[t];if(void 0!==s)return s.exports;var i=n[t]={id:t,exports:{}};return e[t](i,i.exports,o),i.exports}o.m=e,t=[],o.O=function(e,n,s,i){if(!n){var l=1/0;for(d=0;d<t.length;d++){n=t[d][0],s=t[d][1],i=t[d][2];for(var r=!0,c=0;c<n.length;c++)(!1&i||l>=i)&&Object.keys(o.O).every((function(t){return o.O[t](n[c])}))?n.splice(c--,1):(r=!1,i<l&&(l=i));if(r){t.splice(d--,1);var a=s();void 0!==a&&(e=a)}}return e}i=i||0;for(var d=t.length;d>0&&t[d-1][2]>i;d--)t[d]=t[d-1];t[d]=[n,s,i]},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,{a:e}),e},o.d=function(t,e){for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.j=76,function(){var t={76:0};o.O.j=function(e){return 0===t[e]};var e=function(e,n){var s,i,l=n[0],r=n[1],c=n[2],a=0;if(l.some((function(e){return 0!==t[e]}))){for(s in r)o.o(r,s)&&(o.m[s]=r[s]);if(c)var d=c(o)}for(e&&e(n);a<l.length;a++)i=l[a],o.o(t,i)&&t[i]&&t[i][0](),t[i]=0;return o.O(d)},n=self.webpackChunkbuild=self.webpackChunkbuild||[];
1n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))}(),o.nc=void 0;var s=o.O(void 0,[121],(function(){return o(189)}));s=o.O(s)}(); 2//# sourceMappingURL=maps/common.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.