PageSourceSearch

https://www.mangalmay.org/_next/static/chunks/1337-56c1d48ef5648e49.js

js mangalmay.org collected 2026-10-04 00:13:35 UTC 16,932 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1337],{29429:(t,e,i)=>{var s=i(14232),n="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},o=s.useState,r=s.useEffect,l=s.useLayoutEffect,h=s.useDebugValue;function a(t){var e=t.getSnapshot;t=t.value;try{var i=e();return!n(t,i)}catch(t){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var i=e(),s=o({inst:{value:i,getSnapshot:e}}),n=s[0].inst,c=s[1];return l(function(){n.value=i,n.getSnapshot=e,a(n)&&c({inst:n})},[t,i,e]),r(function(){return a(n)&&c({inst:n}),t(function(){a(n)&&c({inst:n})})},[t]),h(i),i};e.useSyncExternalStore=void 0!==s.useSyncExternalStore?s.useSyncExternalStore:c},38806:(t,e,i)=>{t.exports=i(29429)},45712:(t,e,i)=>{t.exports=i(58214)},58214:(t,e,i)=>{var s=i(14232),n=i(38806),o="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},r=n.useSyncExternalStore,l=s.useRef,h=s.useEffect,a=s.useMemo,c=s.useDebugValue;e.useSyncExternalStoreWithSelector=function(t,e,i,s,n){var u=l(null);if(null===u.current){var d={hasValue:!1,value:null};u.current=d}else d=u.current;var p=r(t,(u=a(function(){function t(t){if(!h){if(h=!0,r=t,t=s(t),void 0!==n&&d.hasValue){var e=d.value;if(n(e,t))return l=e}return l=t}if(e=l,o(r,t))return e;var i=s(t);return void 0!==n&&n(e,i)?(r=t,e):(r=t,l=i)}var r,l,h=!1,a=void 0===i?null:i;return[function(){return t(e())},null===a?void 0:function(){return t(a())}]},[e,i,s,n]))[0],u[1]);return h(function(){d.hasValue=!0,d.value=p},[p]),c(p),p}},71337:(t,e,i)=>{i.d(e,{FH:()=>E,xP:()=>y});var s=i(14232),n="undefined"!=typeof window&&new class{constructor(){this.raf=t=>{requestAnimationFrame(this.raf);let e=t-this.now;this.now=t;for(let i=0;i<this.callbacks.length;i++)this.callbacks[i].callback(t,e)},this.callbacks=[],this.now=performance.now(),requestAnimationFrame(this.raf)}add(t,e=0){return this.callbacks.push({callback:t,priority:e}),this.callbacks.sort((t,e)=>t.priority-e.priority),()=>this.remove(t)}remove(t){this.callbacks=this.callbacks.filter(({callback:e})=>t!==e)}};function o(t,e,i){return Math.max(t,Math.min(e,i))}class r{advance(t){var e,i,s,n;if(!this.isRunning)return;let r=!1;if(this.lerp)this.value=(e=this.value,i=this.to,s=60*this.lerp,(1-(n=1-Math.exp(-s*t)))*e+n*i),Math.round(this.value)===this.to&&(this.value=this.to,r=!0);else{this.currentTime+=t;let e=o(0,this.currentTime/this.duration,1),i=(r=e>=1)?1:this.easing(e);this.value=this.from+(this.to-this.from)*i}this.onUpdate?.(this.value,r),r&&this.stop()}stop(){this.isRunning=!1}fromTo(t,e,{lerp:i=.1,duration:s=1,easing:n=t=>t,onStart:o,onUpdate:r}){this.from=this.value=t,this.to=e,this.lerp=i,this.duration=s,this.easing=n,this.currentTime=0,this.isRunning=!0,o?.(),this.onUpdate=r}}class l{constructor({wrapper:t,content:e,autoResize:i=!0,debounce:s=250}={}){this.wrapper=t,this.content=e,i&&(this.debouncedResize=function(t,e){let i;return function(){let s=arguments,n=this;clearTimeout(i),i=setTimeout(function(){t.apply(n,s)},e)}}(this.resize,s),this.wrapper===window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),window.removeEventListener("resize",this.debouncedResize,!1)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper===window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper===window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}}class h{constructor(){this.events={}}emit(t,...e){let i=this.events[t]||[];for(let t=0,s=i.length;t<s;t++)i[t](...e)}on(t,e){return this.events[t]?.push(e)||(this.events[t]=[e]),()=>{this.events[t]=this.events[t]?.filter(t=>e!==t)}}off(t,e){this.events[t]=this.events[t]?.filter(t=>e!==t)}destroy(){this.events={}}}let a=100/6;class c{constructor(t,{wheelMultiplier:e=1,touchMultiplier:i=1}){this.element=t,this.wheelMultiplier=e,this.touchMultiplier=i,this.touchStart={x:null,y:null},this.emitter=new h,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,{passive:!1}),this.element.addEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.addEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.addEventListener("touchend",this.onTouchEnd,{passive:!1})}on(t,e){return this.emitter.on(t,e)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,{passive:!1}),this.element.removeEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.removeEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.removeEventListener("touchend",this.onTouchEnd,{passive:!1})}onTouchStart=t=>{let{clientX:e,clientY:i}=t.targetTouches?t.targetTouches[0]:t;this.touchStart.x=e,this.touchStart.y=i,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:t})};onTouchMove=t=>{let{clientX:e,clientY:i}=t.targetTouches?t.targetTouches[0]:t,s=-(e-this.touchStart.x)*this.touchMultiplier,n=-(i-this.touchStart.y)*this.touchMultiplier;this.touchStart.x=e,this.touchStart.y=i,this.lastDelta={x:s,y:n},this.emitter.emit("scroll",{deltaX:s,deltaY:n,event:t})};onTouchEnd=t=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:t})};onWheel=t=>{let{deltaX:e,deltaY:i,deltaMode:s}=t;e*=1===s?a:2===s?this.windowWidth:1,i*=1===s?a:2===s?this.windowHeight:1,e*=this.wheelMultiplier,i*=this.wheelMultiplier,this.emitter.emit("scroll",{deltaX:e,deltaY:i,event:t})};onWindowResize=()=>{this.windowWidth=window.innerWidth,this.windowHeight=window.innerHeight}}class u{constructor({wrapper:t=window,content:e=document.documentElement,wheelEventsTarget:i=t,eventsTarget:s=i,smoothWheel:n=!0,syncTouch:o=!1,syncTouchLerp:a=.075,touchInertiaMultiplier:u=35,duration:d,easing:p=t=>Math.min(1,1.001-Math.pow(2,-10*t)),lerp:m=!d&&.1,infinite:v=!1,orientation:f="vertical",gestureOrientation:g="vertical",touchMultiplier:w=1,wheelMultiplier:S=1,autoResize:b=!0,__experimental__naiveDimensions:y=!1}={}){this.__isSmooth=!1,this.__isScrolling=!1,this.__isStopped=!1,this.__isLocked=!1,this.onVirtualScroll=({deltaX:t,deltaY:e,event:i})=>{if(i.ctrlKey)return;let s=i.type.includes("touch"),n=i.type.includes("wheel");if(this.options.syncTouch&&s&&"touchstart"===i.type&&!this.isStopped&&!this.isLocked)return void this.reset();let o="vertical"===this.options.gestureOrientation&&0===e||"horizontal"===this.options.gestureOrientation&&0===t;if(0===t&&0===e||o)return;let r=i.composedPath();if((r=r.slice(0,r.indexOf(this.rootElement))).find(t=>{var e,i,o,r,l;return(null==(e=t.hasAttribute)?void 0:e.call(t,"data-lenis-prevent"))||s&&(null==(i=t.hasAttribute)?void 0:i.call(t,"data-lenis-prevent-touch"))||n&&(null==(o=t.hasAttribute)?void 0:o.call(t,"data-lenis-prevent-wheel"))||(null==(r=t.classList)?void 0:r.contains("lenis"))&&!(null==(l=t.classList)?void 0:l.contains("lenis-stopped"))}))return;if(this.isStopped||this.isLocked)return void i.preventDefault();if(this.isSmooth=this.options.syncTouch&&s||this.options.smoothWheel&&n,!this.isSmooth)return this.isScrolling=!1,void this.animate.stop();i.preventDefault();let l=e;"both"===this.options.gestureOrientation?l=Math.abs(e)>Math.abs(t)?e:t:"horizontal"===this.options.gestureOrientation&&(l=t);let h=s&&this.options.syncTouch,a=s&&"touchend"===i.type&&Math.abs(l)>5;
1a&&(l=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+l,Object.assign({programmatic:!1},h?{lerp:a?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}))},this.onNativeScroll=()=>{if(!this.__preventNextScrollEvent&&!this.isScrolling){let t=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.velocity=0,this.direction=Math.sign(this.animatedScroll-t),this.emit()}},window.lenisVersion="1.0.42",t!==document.documentElement&&t!==document.body||(t=window),this.options={wrapper:t,content:e,wheelEventsTarget:i,eventsTarget:s,smoothWheel:n,syncTouch:o,syncTouchLerp:a,touchInertiaMultiplier:u,duration:d,easing:p,lerp:m,infinite:v,gestureOrientation:g,orientation:f,touchMultiplier:w,wheelMultiplier:S,autoResize:b,__experimental__naiveDimensions:y},this.animate=new r,this.emitter=new h,this.dimensions=new l({wrapper:t,content:e,autoResize:b}),this.toggleClassName("lenis",!0),this.velocity=0,this.isLocked=!1,this.isStopped=!1,this.isSmooth=o||n,this.isScrolling=!1,this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.virtualScroll=new c(s,{touchMultiplier:w,wheelMultiplier:S}),this.virtualScroll.on("scroll",this.onVirtualScroll)}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.toggleClassName("lenis",!1),this.toggleClassName("lenis-smooth",!1),this.toggleClassName("lenis-scrolling",!1),this.toggleClassName("lenis-stopped",!1),this.toggleClassName("lenis-locked",!1)}on(t,e){return this.emitter.on(t,e)}off(t,e){return this.emitter.off(t,e)}setScroll(t){this.isHorizontal?this.rootElement.scrollLeft=t:this.rootElement.scrollTop=t}resize(){this.dimensions.resize()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.velocity=0,this.animate.stop()}start(){this.isStopped&&(this.isStopped=!1,this.reset())}stop(){this.isStopped||(this.isStopped=!0,this.animate.stop(),this.reset())}raf(t){let e=t-(this.time||t);this.time=t,this.animate.advance(.001*e)}scrollTo(t,{offset:e=0,immediate:i=!1,lock:s=!1,duration:n=this.options.duration,easing:r=this.options.easing,lerp:l=!n&&this.options.lerp,onComplete:h,force:a=!1,programmatic:c=!0}={}){if(!this.isStopped&&!this.isLocked||a){if(["top","left","start"].includes(t))t=0;else if(["bottom","right","end"].includes(t))t=this.limit;else{let i;if("string"==typeof t?i=document.querySelector(t):(null==t?void 0:t.nodeType)&&(i=t),i){if(this.options.wrapper!==window){let t=this.options.wrapper.getBoundingClientRect();e-=this.isHorizontal?t.left:t.top}let s=i.getBoundingClientRect();t=(this.isHorizontal?s.left:s.top)+this.animatedScroll}}if("number"==typeof t){if(t+=e,t=Math.round(t),this.options.infinite?c&&(this.targetScroll=this.animatedScroll=this.scroll):t=o(0,t,this.limit),i)return this.animatedScroll=this.targetScroll=t,this.setScroll(this.scroll),this.reset(),void(null==h||h(this));if(!c){if(t===this.targetScroll)return;this.targetScroll=t}this.animate.fromTo(this.animatedScroll,t,{duration:n,easing:r,lerp:l,onStart:()=>{s&&(this.isLocked=!0),this.isScrolling=!0},onUpdate:(t,e)=>{this.isScrolling=!0,this.velocity=t-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=t,this.setScroll(this.scroll),c&&(this.targetScroll=t),e||this.emit(),e&&(this.reset(),this.emit(),null==h||h(this),this.__preventNextScrollEvent=!0,requestAnimationFrame(()=>{delete this.__preventNextScrollEvent}))}})}}}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.__experimental__naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return"horizontal"===this.options.orientation}get actualScroll(){return this.isHorizontal?this.rootElement.scrollLeft:this.rootElement.scrollTop}get scroll(){var t;return this.options.infinite?(this.animatedScroll%(t=this.limit)+t)%t:this.animatedScroll}get progress(){return 0===this.limit?1:this.scroll/this.limit}get isSmooth(){return this.__isSmooth}set isSmooth(t){this.__isSmooth!==t&&(this.__isSmooth=t,this.toggleClassName("lenis-smooth",t))}get isScrolling(){return this.__isScrolling}set isScrolling(t){this.__isScrolling!==t&&(this.__isScrolling=t,this.toggleClassName("lenis-scrolling",t))}get isStopped(){return this.__isStopped}set isStopped(t){this.__isStopped!==t&&(this.__isStopped=t,this.toggleClassName("lenis-stopped",t))}get isLocked(){return this.__isLocked}set isLocked(t){this.__isLocked!==t&&(this.__isLocked=t,this.toggleClassName("lenis-locked",t))}get className(){let t="lenis";return this.isStopped&&(t+=" lenis-stopped"),this.isLocked&&(t+=" lenis-locked"),this.isScrolling&&(t+=" lenis-scrolling"),this.isSmooth&&(t+=" lenis-smooth"),t}toggleClassName(t,e){this.rootElement.classList.toggle(t,e),this.emitter.emit("className change",this)}}var d=i(69241);let p=t=>{let e,i=new Set,s=(t,s)=>{let n="function"==typeof t?t(e):t;if(!Object.is(n,e)){let t=e;e=(null!=s?s:"object"!=typeof n||null===n)?n:Object.assign({}
1,e,n),i.forEach(i=>i(e,t))}},n=()=>e,o={setState:s,getState:n,getInitialState:()=>r,subscribe:t=>(i.add(t),()=>i.delete(t)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),i.clear()}},r=e=t(s,n,o);return o};var m=i(45712);let{useDebugValue:v}=s,{useSyncExternalStoreWithSelector:f}=m,g=!1,w=t=>{"function"!=typeof t&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let e="function"==typeof t?(t=>t?p(t):p)(t):t,i=(t,i)=>(function(t,e=t=>t,i){i&&!g&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),g=!0);let s=f(t.subscribe,t.getState,t.getServerState||t.getInitialState,e,i);return v(s),s})(e,t,i);return Object.assign(i,e),i};"function"==typeof SuppressedError&&SuppressedError,"undefined"!=typeof window&&(window.reactLenisVersion="0.0.47");let S=(0,s.createContext)(null),b=(t=>t?w(t):w)(()=>({}));function y(t,e=[],i=0){let{lenis:n,addCallback:o,removeCallback:r}=function(){let t=(0,s.useContext)(S),e=b();return null!=t?t:e}();return(0,s.useEffect)(()=>{if(t&&o&&r&&n)return o(t,i),t(n),()=>{r(t)}},[n,o,r,i,...e]),n}let E=(0,s.forwardRef)((t,e)=>{var{children:i,root:o=!1,options:r={},autoRaf:l=!0,rafPriority:h=0,className:a}=t,c=function(t,e){var i={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&0>e.indexOf(s)&&(i[s]=t[s]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(s=Object.getOwnPropertySymbols(t);n<s.length;n++)0>e.indexOf(s[n])&&Object.prototype.propertyIsEnumerable.call(t,s[n])&&(i[s[n]]=t[s[n]])}return i}(t,["children","root","options","autoRaf","rafPriority","className"]);let p=(0,s.useRef)(null),m=(0,s.useRef)(null),[v,f]=(0,s.useState)(void 0),g=(0,s.useRef)([]),w=(0,s.useCallback)((t,e)=>{g.current.push({callback:t,priority:e}),g.current.sort((t,e)=>t.priority-e.priority)},[]),y=(0,s.useCallback)(t=>{g.current=g.current.filter(e=>e.callback!==t)},[]);(0,s.useImperativeHandle)(e,()=>({wrapper:p.current,content:m.current,lenis:v}),[v]),(0,s.useEffect)(()=>{let t=new u(Object.assign(Object.assign({},r),!o&&{wrapper:p.current,content:m.current}));return f(t),()=>{t.destroy(),f(void 0)}},[o,JSON.stringify(r)]),function(t,e=0){(0,s.useEffect)(()=>{if(t)return n.add(t,e),()=>n.remove(t)},[t,e])}(t=>{l&&(null==v||v.raf(t))},h),(0,s.useEffect)(()=>{o&&v&&b.setState({lenis:v,addCallback:w,removeCallback:y})},[o,v,w,y]);let E=(0,s.useCallback)(t=>{for(let e=0;e<g.current.length;e++)g.current[e].callback(t)},[]);(0,s.useEffect)(()=>(null==v||v.on("scroll",E),()=>{null==v||v.off("scroll",E)}),[v,E]);let _=(0,s.useCallback)(()=>{p.current&&(p.current.className=(0,d.A)(null==v?void 0:v.className,a))},[v,a]);return(0,s.useEffect)(()=>(_(),null==v||v.on("className change",_),()=>{null==v||v.off("className change",_)}),[v,_]),s.createElement(S.Provider,{value:{lenis:v,addCallback:w,removeCallback:y}},o?i:s.createElement("div",Object.assign({ref:p,className:(0,d.A)(null==v?void 0:v.className,a)},c),s.createElement("div",{ref:m},i)))})}}]);

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.