1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9395,7382,665],{27382:function(e,t,n){n.r(t);var r=n(11527),o=n(95020),u=n(34790),i=n(76549),a=n(4141),s=n(72693),c=n.n(s),l=n(50959),f=n(27234);(0,u.E)(c()),t.default=(0,l.memo)(function(e){let{videoUrl:t,thumbnailUrl:n,children:s}=e,c=(0,l.useRef)(null),d=(0,l.useRef)(null),p=(0,i.Y)(c,{once:!0}),v=(0,i.Y)(d,{once:!1,amount:.8}),{isDarkMode:h}=(0,f.vy)();(0,l.useEffect)(()=>{var e,t;p&&(v?null===(e=d.current)||void 0===e||e.play():null===(t=d.current)||void 0===t||t.pause())},[v,p]);let m=(0,a._)();return t?(0,r.jsxs)(u.E.div,{ref:c,...o.xz,viewport:{amount:"some",once:!0},className:"relative overflow-hidden rounded-3xl",style:{willChange:m},layout:"position",children:[(0,r.jsx)(u.E.video,{loop:p,ref:d,playsInline:!0,autoPlay:!0,muted:!0,width:320,height:669,onClick:e=>{e.stopPropagation()},poster:n||(h?"/poster_batman_dark.png":"/poster_batman_light.png"),className:"border-black border-[8px] w-full rounded-[36px] saturate-100 hover:saturate-100 shadow-xl shadow-black/20",children:p&&t&&(0,r.jsx)("source",{type:"video/mp4;",src:"".concat(t,"#t=0.1")})}),s]}):null})},95020:function(e,t,n){n.d(t,{MX:function(){return a},SV:function(){return c},ae:function(){return f},fH:function(){return l},xz:function(){return s}});var r=n(52903),o=n(58192);let u=123456789,i=987654321;function a(e,t){return Math.floor((((i=36969*(65535&i)+(i>>16)&4294967295)<<16)+(65535&(u=18e3*(65535&u)+(u>>16)&4294967295))>>>0)/4294967296*(t-e))+e}let s={initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{amount:.5,once:!1},transition:{duration:.4}},c=()=>"https://www.animatereactnative.com";async function l(e){return(await (0,r.j)().use(o.Z).process(e)).toString()}function f(e){return(0,r.j)().use(o.Z).processSync(e).toString()}},34518:function(e,t,n){n.d(t,{I:function(){return o}});var r=n(72850);function o(e,t,n){var o;if("string"==typeof e){let u=document;t&&((0,r.k)(!!t.current,"Scope provided, but no element detected."),u=t.current),n?(null!==(o=n[e])&&void 0!==o||(n[e]=u.querySelectorAll(e)),e=n[e]):e=u.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}},76549:function(e,t,n){n.d(t,{Y:function(){return i}});var r=n(50959),o=n(34518);let u={some:0,all:1};function i(e){let{root:t,margin:n,amount:i,once:a=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[s,c]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(!e.current||a&&s)return;let r={root:t&&t.current||void 0,margin:n,amount:i};return function(e,t){let{root:n,margin:r,amount:i="some"}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=(0,o.I)(e),s=new WeakMap,c=new IntersectionObserver(e=>{e.forEach(e=>{let n=s.get(e.target);if(!!n!==e.isIntersecting){if(e.isIntersecting){let n=t(e);"function"==typeof n?s.set(e.target,n):c.unobserve(e.target)}else n&&(n(e),s.delete(e.target))}})},{root:n,rootMargin:r,threshold:"number"==typeof i?i:u[i]});return a.forEach(e=>c.observe(e)),()=>c.disconnect()}(e.current,()=>(c(!0),a?void 0:()=>c(!1)),r)},[t,e,n,a,i]),s}},4141:function(e,t,n){n.d(t,{_:function(){return s}});var r=n(81416),o=n(4945),u=n(67261),i=n(27883);class a extends o.Hg{add(e){let t=(0,u.p)(e);t&&((0,i.y4)(this.values,t),this.update())}update(){this.set(this.values.length?this.values.join(", "):"auto")}constructor(){super(...arguments),this.values=[]}}function s(){return(0,r.h)(()=>new a("auto"))}}}]);
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.