1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`3fb85819`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`da544be8-4b3b-4e10-ab62-0b1762eaa4b9`,e._sentryDebugIdIdentifier=`sentry-dbid-da544be8-4b3b-4e10-ab62-0b1762eaa4b9`)}catch{}})();import{s as e,t}from"./react-BxJ5vIog.js";import{t as n}from"./jsx-runtime-_Lj106d5.js";import{t as r}from"./compiler-runtime-BQBjb8-F.js";import{t as i}from"./bundle-mjs-fSrAgIZu.js";import{t as a}from"./empty-value-tNtL9maR.js";import{t as o}from"./useAsyncScript-B6mXfcdw.js";var s=e(t(),1),c=r(),l={videoContainer:`_videoContainer_o42ow_1`,playbackControls:`_playbackControls_o42ow_15`,isFullscreen:`_isFullscreen_o42ow_20`,videoPlayer:`_videoPlayer_o42ow_27`,video:`_video_o42ow_1`,open:`_open_o42ow_38`},u=n(),d={mp4:`mp4`,ogv:`ogg`,webm:`webm`};function f(e){let t=e.split(`.`).pop();return t?`video/${d[t]}`:``}var p=s.forwardRef((e,t)=>{let n=(0,c.c)(29),{autoplay:r,loop:i,onClick:a,onResize:o,onUpdate:d,src:f,volume:p}=e,h=p===void 0?.75:p,g=(0,s.useRef)(null),_;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(_=function(e){g.current&&isFinite(e)&&(g.current.volume=e)},n[0]=_):_=n[0];let v=_,y;n[1]===Symbol.for(`react.memo_cache_sentinel`)?(y=function(e){g.current&&isFinite(e)&&(g.current.currentTime=e)},n[1]=y):y=n[1];let b=y,x;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(x=function(){g.current?.play()},n[2]=x):x=n[2];let ee=x,S;n[3]===Symbol.for(`react.memo_cache_sentinel`)?(S=function(){g.current?.pause()},n[3]=S):S=n[3];let C=S,w,T;n[4]===Symbol.for(`react.memo_cache_sentinel`)?(w=()=>({pause:C,play:ee,setTime:b,setVolume:v}),T=[],n[4]=w,n[5]=T):(w=n[4],T=n[5]),(0,s.useImperativeHandle)(t,w,T);let E;n[6]===o?E=n[7]:(E=()=>{if(g.current&&o){let{height:e,width:t}=g.current.getBoundingClientRect();o({height:e,width:t})}},n[6]=o,n[7]=E);let D=E,O,k;n[8]===D?(O=n[9],k=n[10]):(O=()=>(window.addEventListener(`resize`,D),()=>window.removeEventListener(`resize`,D)),k=[D],n[8]=D,n[9]=O,n[10]=k),(0,s.useEffect)(O,k);let A;if(n[11]===Symbol.for(`react.memo_cache_sentinel`)){let e=function(){let{videoHeight:e,videoWidth:t}=g.current||{};return t&&e?t/e:null};A=function(){return{aspectRatio:e()||1.7777777777777777,currentTime:g.current?.currentTime||0,isPlaying:!g.current?.paused&&!g.current?.ended&&(g.current?.currentTime||0)>0,totalTime:g.current?.duration||0,volume:g.current?.volume||0}},n[11]=A}else A=n[11];let j=A,M;n[12]!==d||n[13]!==h?(M=function(){v(h),d(j())},n[12]=d,n[13]=h,n[14]=M):M=n[14];let N=M,P;n[15]===d?P=n[16]:(P=function(){d(j())},n[15]=d,n[16]=P);let F=P,I;n[17]===f?I=n[18]:(I=Array.isArray(f)?f:[f],n[17]=f,n[18]=I);let L=I,R;n[19]===L?R=n[20]:(R=L.map(m),n[19]=L,n[20]=R);let z;n[21]===Symbol.for(`react.memo_cache_sentinel`)?(z=(0,u.jsx)(`track`,{kind:`captions`}),n[21]=z):z=n[21];let B;return n[22]!==r||n[23]!==N||n[24]!==F||n[25]!==i||n[26]!==a||n[27]!==R?(B=(0,u.jsxs)(`video`,{autoPlay:r,className:l.video,loop:i,onClick:a,onLoadedMetadata:N,onPause:F,onPlay:F,onTimeUpdate:F,onVolumeChange:F,ref:g,children:[R,z,`Your browser does not support the video element.`]}),n[22]=r,n[23]=N,n[24]=F,n[25]=i,n[26]=a,n[27]=R,n[28]=B):B=n[28],B});function m(e){return(0,u.jsx)(`source`,{src:e,type:f(e)},e)}var h=e=>{let t=(0,c.c)(12),{className:n,color:r,width:i}=e,a=n===void 0?``:n,o=r===void 0?`currentColor`:r,s=i===void 0?14:i,l,d,f,p;t[0]===o?(l=t[1],d=t[2],f=t[3],p=t[4]):(l=(0,u.jsx)(`path`,{d:`M18 14h13l-5-5 6-6-3-3-6 6-5-5z`,fill:o}),d=(0,u.jsx)(`path`,{d:`M18 18v13l5-5 6 6 3-3-6-6 5-5z`,fill:o}),f=(0,u.jsx)(`path`,{d:`M14 18h-13l5 5-6 6 3 3 6-6 5 5z`,fill:o}),p=(0,u.jsx)(`path`,{d:`M14 14v-13l-5 5-6-6-3 3 6 6-5 5z`,fill:o}),t[0]=o,t[1]=l,t[2]=d,t[3]=f,t[4]=p);let m;return t[5]!==a||t[6]!==l||t[7]!==d||t[8]!==f||t[9]!==p||t[10]!==s?(m=(0,u.jsxs)(`svg`,{className:a,height:s,viewBox:`0 0 32 32`,width:s,children:[l,d,f,p]}),t[5]=a,t[6]=l,t[7]=d,t[8]=f,t[9]=p,t[10]=s,t[11]=m):m=t[11],m},g=e=>{let t=(0,c.c)(12),{className:n,color:r,width:i}=e,a=n===void 0?``:n,o=r===void 0?`currentColor`:r,s=i===void 0?14:i,l,d,f,p;t[0]===o?(l=t[1],d=t[2],f=t[3],p=t[4]):(l=(0,u.jsx)(`path`,{d:`M32 0h-13l5 5-6 6 3 3 6-6 5 5z`,fill:o}),d=(0,u.jsx)(`path`,{d:`M32 32v-13l-5 5-6-6-3 3 6 6-5 5z`,fill:o}),f=(0,u.jsx)(`path`,{d:`M0 32h13l-5-5 6-6-3-3-6 6-5-5z`,fill:o}),p=(0,u.jsx)(`path`,{d:`M0 0v13l5-5 6 6 3-3-6-6 5-5z`,fill:o}),t[0]=o,t[1]=l,t[2]=d,t[3]=f,t[4]=p);let m;return t[5]!==a||t[6]!==l||t[7]!==d||t[8]!==f||t[9]!==p||t[10]!==s?(m=(0,u.jsxs)(`svg`,{className:a,height:s,viewBox:`0 0 32 32`,width:s,children:[l,d,f,p]}),t[5]=a,t[6]=l,t[7]=d,t[8]=f,t[9]=p,t[10]=s,t[11]=m):m=t[11],m},_=e=>{let t=(0,c.c)(6),{className:n,color:r,width:i}=e,a=n===void 0?``:n,o=r===void 0?`currentColor`:r,s=i===void 0?60:i,l;t[0]===o?l=t[1]:(l=(0,u.jsxs)(`g`,{children:[(0,u.jsx)(`rect`,{fill:o,height:`20.56`,width:`6.875`,x:`21.337`,y:`28.721`}),(0,u.jsx)(`rect`,{fill:o,height:`20.56`,width:`6.875`,x:`31.788`,y:`28.721`})]}),t[0]=o,t[1]=l);let d;return t[2]!==a||t[3]!==l||t[4]!==s?(d=(0,u.jsx)(`svg`,{className:a,height:s,viewBox:`15 24 30 30`,width:s,children:l}),t[2]=a,t[3]=l,t[4]=s,t[5]=d):d=t[5],d},v=e=>{let t=(0,c.c)(12),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,color:i,width:a,...n}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=r===void 0?``:r,s=i===void 0?`currentColor`:i,l=a===void 0?30:a,d;t[5]===s?d=t[6]:(d=(0,u.jsx)(`polygon`,{fill:s,points:`39.984,39 21.995,49.28 21.995,28.721`}),t[5]=s,t[6]=d);let f;return t[7]!==o||t[8]!==n||t[9]!==d||t[10]!==l?(f=(0,u.jsx)(`svg`,{className:o,height:l,viewBox:`15 24 30 30`,width:l,...n,children:d}
1),t[7]=o,t[8]=n,t[9]=d,t[10]=l,t[11]=f):f=t[11],f},y=e=>{let t=(0,c.c)(8),{className:n,color:r,width:i}=e,a=n===void 0?``:n,o=r===void 0?`currentColor`:r,s=i===void 0?14:i,l,d;t[0]===o?(l=t[1],d=t[2]):(l=(0,u.jsx)(`path`,{d:`M30 19.348v2.652h-2.652l-3.348-3.348-3.348 3.348h-2.652v-2.652l3.348-3.348-3.348-3.348v-2.652h2.652l3.348 3.348 3.348-3.348h2.652v2.652l-3.348 3.348 3.348 3.348z`,fill:o}),d=(0,u.jsx)(`path`,{d:`M13 30c-0.26 0-0.516-0.102-0.707-0.293l-7.707-7.707h-3.586c-0.552 0-1-0.448-1-1v-10c0-0.552 0.448-1 1-1h3.586l7.707-7.707c0.286-0.286 0.716-0.372 1.090-0.217s0.617 0.519 0.617 0.924v26c0 0.404-0.244 0.769-0.617 0.924-0.124 0.051-0.254 0.076-0.383 0.076z`,fill:o}),t[0]=o,t[1]=l,t[2]=d);let f;return t[3]!==a||t[4]!==l||t[5]!==d||t[6]!==s?(f=(0,u.jsxs)(`svg`,{className:a,height:s,viewBox:`0 0 32 32`,width:s,children:[l,d]}),t[3]=a,t[4]=l,t[5]=d,t[6]=s,t[7]=f):f=t[7],f},b=e=>{let t=(0,c.c)(8),{className:n,color:r,width:i}=e,a=n===void 0?``:n,o=r===void 0?`currentColor`:r,s=i===void 0?14:i,l,d;t[0]===o?(l=t[1],d=t[2]):(l=(0,u.jsx)(`path`,{d:`M22.485 25.985c-0.384 0-0.768-0.146-1.061-0.439-0.586-0.586-0.586-1.535 0-2.121 4.094-4.094 4.094-10.755 0-14.849-0.586-0.586-0.586-1.536 0-2.121s1.536-0.586 2.121 0c2.55 2.55 3.954 5.94 3.954 9.546s-1.404 6.996-3.954 9.546c-0.293 0.293-0.677 0.439-1.061 0.439v0zM17.157 23.157c-0.384 0-0.768-0.146-1.061-0.439-0.586-0.586-0.586-1.535 0-2.121 2.534-2.534 2.534-6.658 0-9.192-0.586-0.586-0.586-1.536 0-2.121s1.535-0.586 2.121 0c3.704 3.704 3.704 9.731 0 13.435-0.293 0.293-0.677 0.439-1.061 0.439z`,fill:o}),d=(0,u.jsx)(`path`,{d:`M13 30c-0.26 0-0.516-0.102-0.707-0.293l-7.707-7.707h-3.586c-0.552 0-1-0.448-1-1v-10c0-0.552 0.448-1 1-1h3.586l7.707-7.707c0.286-0.286 0.716-0.372 1.090-0.217s0.617 0.519 0.617 0.924v26c0 0.404-0.244 0.769-0.617 0.924-0.124 0.051-0.254 0.076-0.383 0.076z`,fill:o}),t[0]=o,t[1]=l,t[2]=d);let f;return t[3]!==a||t[4]!==l||t[5]!==d||t[6]!==s?(f=(0,u.jsxs)(`svg`,{className:a,height:s,viewBox:`0 0 32 32`,width:s,children:[l,d]}),t[3]=a,t[4]=l,t[5]=d,t[6]=s,t[7]=f):f=t[7],f},x={range:`_range_198mf_1`},ee=.75,S=e=>{let t=(0,c.c)(43),{className:n,currentTime:r,isFullscreen:a,isPlaying:o,onFullscreenToggle:l,onPlayToggle:d,onSeek:f,onVolumeChange:p,totalTime:m,volume:S}=e,C=r===void 0?0:r,w=m===void 0?0:m,T=S===void 0?ee:S,E=(0,s.useRef)(null),D=(0,s.useRef)(null),[O,k]=(0,s.useState)(T),A;t[0]===f?A=t[1]:(A=function(e){f(e.target.valueAsNumber)},t[0]=f,t[1]=A);let j=A,M;t[2]===p?M=t[3]:(M=function(e){let t=Number(e.currentTarget.value);p(t)},t[2]=p,t[3]=M);let N=M,P;t[4]!==p||t[5]!==O?(P=function(){p(O||0),D.current&&(D.current.value=O.toString())},t[4]=p,t[5]=O,t[6]=P):P=t[6];let F=P,I;t[7]===p?I=t[8]:(I=function(){D.current&&(k(D.current.valueAsNumber),D.current.value=`0`),p(0)},t[7]=p,t[8]=I);let L=I,R;t[9]===n?R=t[10]:(R=i(`absolute right-0 bottom-0 left-0 flex items-center justify-center gap-3 bg-black px-3 py-2`,n),t[9]=n,t[10]=R);let z;t[11]===o?z=t[12]:(z=o?(0,u.jsx)(_,{width:13}):(0,u.jsx)(v,{width:13}),t[11]=o,t[12]=z);let B;t[13]!==d||t[14]!==z?(B=(0,u.jsx)(`button`,{className:`text-white-50 inline-flex hover:text-white`,onClick:d,type:`button`,children:z}),t[13]=d,t[14]=z,t[15]=B):B=t[15];let V;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(V=i(x.range,`bg-white-50 m-2 h-px min-w-0 flex-1 appearance-none border-0 text-black`),t[16]=V):V=t[16];let H;t[17]!==C||t[18]!==j||t[19]!==w?(H=(0,u.jsx)(`input`,{className:V,defaultValue:C,max:w,min:0,onChange:j,step:1,type:`range`}),t[17]=C,t[18]=j,t[19]=w,t[20]=H):H=t[20];let U;t[21]!==L||t[22]!==F||t[23]!==T?(U=T===0?(0,u.jsx)(`button`,{className:`text-white-50 inline-flex hover:text-white`,onClick:F,type:`button`,children:(0,u.jsx)(y,{width:13})}):(0,u.jsx)(`button`,{className:`text-white-50 inline-flex hover:text-white`,onClick:L,type:`button`,children:(0,u.jsx)(b,{width:13})}),t[21]=L,t[22]=F,t[23]=T,t[24]=U):U=t[24];let te;t[25]===Symbol.for(`react.memo_cache_sentinel`)?(te=i(x.range,`bg-white-50 h-px min-w-0 flex-1 appearance-none border-0 text-black`),t[25]=te):te=t[25];let W;t[26]!==N||t[27]!==T?(W=(0,u.jsx)(`input`,{className:te,defaultValue:T,max:1,min:0,onChange:N,ref:D,step:.01,type:`range`}),t[26]=N,t[27]=T,t[28]=W):W=t[28];let G;t[29]!==U||t[30]!==W?(G=(0,u.jsxs)(`div`,{className:`flex w-36 items-center gap-2`,children:[U,W]}),t[29]=U,t[30]=W,t[31]=G):G=t[31];let K;t[32]===a?K=t[33]:(K=a?(0,u.jsx)(h,{width:13}):(0,u.jsx)(g,{width:13}),t[32]=a,t[33]=K);let q;t[34]!==l||t[35]!==K?(q=(0,u.jsx)(`button`,{className:`text-white-50 inline-flex hover:text-white`,onClick:l,type:`button`,children:K}),t[34]=l,t[35]=K,t[36]=q):q=t[36];let J;return t[37]!==H||t[38]!==G||t[39]!==q||t[40]!==R||t[41]!==B?(J=(0,u.jsxs)(`div`,{className:R,ref:E,children:[B,H,G,q]}),t[37]=H,t[38]=G,t[39]=q,t[40]=R,t[41]=B,t[42]=J):J=t[42],J},C={wrapper:`_wrapper_dwdg7_1`},w=[`play`,`pause`,`ended`,`timeupdate`,`seeked`,`volumechange`],T=(e,t)=>
1(w.forEach(n=>e.on(n,t)),()=>w.forEach(n=>e.off(n,t))),E=s.forwardRef((e,t)=>{let n=(0,c.c)(17),{onToggleControls:r,onUpdate:i,src:a,volume:l}=e,d=l===void 0?.75:l,f;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(f={globalName:`Vimeo`,src:`//player.vimeo.com/api/player.js`},n[0]=f):f=n[0];let{isReady:p}=o(f),m=(0,s.useRef)(null),h=(0,s.useRef)(null),g=(0,s.useRef)(null),_;n[1]===Symbol.for(`react.memo_cache_sentinel`)?(_=function(){g.current&&g.current.play()},n[1]=_):_=n[1];let v=_,y;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(y=function(){g.current&&g.current.pause()},n[2]=y):y=n[2];let b=y,x;n[3]===Symbol.for(`react.memo_cache_sentinel`)?(x=function(e){g.current&&Number.isFinite(e)&&g.current.setVolume(e)},n[3]=x):x=n[3];let ee=x,S;n[4]===Symbol.for(`react.memo_cache_sentinel`)?(S=function(e){g.current&&Number.isFinite(e)&&g.current.setCurrentTime(e)},n[4]=S):S=n[4];let w=S,E,k;n[5]===Symbol.for(`react.memo_cache_sentinel`)?(E=()=>({pause:b,play:v,setTime:w,setVolume:ee}),k=[],n[5]=E,n[6]=k):(E=n[5],k=n[6]),(0,s.useImperativeHandle)(t,E,k);let A;n[7]===i?A=n[8]:(A=()=>{let e=g.current;e&&Promise.all([e.getPaused(),e.getCurrentTime(),e.getDuration(),e.getVolume()]).then(e=>{let[t,n,r,a]=e;i({aspectRatio:h.current?.width&&h.current?.height?h.current.width/h.current.height:1.7777777777777777,currentTime:n,isPlaying:!t,totalTime:r,volume:a})})},n[7]=i,n[8]=A);let j=A,M,N;n[9]!==j||n[10]!==p||n[11]!==r||n[12]!==a||n[13]!==d?(N=()=>{let e=!1,t;return p&&(r(!1),fetch(`https://vimeo.com/api/oembed.json?url=${a}`).then(D).then(n=>{let i={background:!0,height:m.current?.offsetHeight||400,id:n.video_id,loop:!1,width:m.current?.offsetWidth||600};h.current=n,m.current&&(g.current=new window.Vimeo.Player(m.current,i)),g.current?.getPaused().then(n=>{e||(n||r(!0),g.current?.setVolume(d),g.current&&(t=T(g.current,j)))})}).catch(O)),()=>{e=!0,t?.()}},M=[p,r,a,d,j],n[9]=j,n[10]=p,n[11]=r,n[12]=a,n[13]=d,n[14]=M,n[15]=N):(M=n[14],N=n[15]),(0,s.useEffect)(N,M);let P;return n[16]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,u.jsx)(`div`,{className:C.wrapper,onClick:function(){g.current&&g.current.getPaused().then(e=>e?v():b())},ref:m,role:`button`,tabIndex:0}),n[16]=P):P=n[16],P});function D(e){return e.json()}function O(e){console.error(`Error fetching Vimeo oEmbed:`,e)}var k=e=>{let t=(0,c.c)(18),{autoplay:n,onUpdate:r,ref:i,src:a,volume:l}=e,d=l===void 0?.75:l,f;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(f={globalName:`YT`,src:`https://www.youtube.com/iframe_api`},t[0]=f):f=t[0],o(f);let p=(0,s.useRef)(null),m=(0,s.useRef)(null),h;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(h=function(e){m.current&&Number.isFinite(e)&&m.current.setVolume(e*100)},t[1]=h):h=t[1];let g=h,_;t[2]===r?_=t[3]:(_=function(e){m.current&&r({currentTime:m.current?.getCurrentTime(),isPlaying:e!==YT.PlayerState.PLAYING,totalTime:m.current.getDuration(),volume:m.current.getVolume()/100})},t[2]=r,t[3]=_);let v=_,y;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(y=function(e){m.current&&Number.isFinite(e)&&m.current.seekTo(e,!0)},t[4]=y):y=t[4];let b=y,x;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(x=function(){m.current&&m.current.playVideo()},t[5]=x):x=t[5];let ee=x,S;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(S=function(){m.current&&m.current.pauseVideo()},t[6]=S):S=t[6];let C=S,w,T;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(w=()=>({pause:C,play:ee,setTime:b,setVolume:g}),T=[],t[7]=w,t[8]=T):(w=t[7],T=t[8]),(0,s.useImperativeHandle)(i,w,T);let E;t[9]!==n||t[10]!==v||t[11]!==a||t[12]!==d?(E=function(){let e=/^.*(?:(?:youtu.be\/)|(?:v\/)|(?:\/u\/\w\/)|(?:embed\/)|(?:watch\?))\??v?=?(?<videoId>[^#&?]*).*/,t=``,r=e.exec(a)?.groups?.videoId;r?.length===11&&(t=r),m.current=new window.YT.Player(`youtubePlayer`,{events:{onReady:e=>{g(d),v(e.target.getPlayerState())},onStateChange:e=>{v(e.data),e.data===window.YT.PlayerState.PLAYING?p.current=setInterval(()=>{v(e.data)},1e3):p.current&&clearInterval(p.current)}},height:`100%`,playerVars:{autohide:1,autoplay:Number(n),controls:0,rel:0,showinfo:0},videoId:t,width:`100%`})},t[9]=n,t[10]=v,t[11]=a,t[12]=d,t[13]=E):E=t[13];let D=E,O;t[14]===D?O=t[15]:(O=()=>(window.YT===void 0?window.onYouTubeIframeAPIReady=()=>{D()}:D(),()=>{m.current?.destroy(),p.current&&clearInterval(p.current)}),t[14]=D,t[15]=O);let k;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(k=[],t[16]=k):k=t[16],(0,s.useEffect)(O,k);let A;return t[17]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,u.jsx)(`div`,{id:`y
1outubePlayer`}),t[17]=A):A=t[17],A};function A(){return typeof document<`u`&&document.fullscreenEnabled}function j(e){let t=(0,c.c)(22),{autoplay:n,className:r,loop:i,onClick:a,onResize:o,onToggleControls:s,onUpdate:l,provider:d,ref:f,src:m,volume:h}=e;if(d===`vimeo`){let e;return t[0]!==s||t[1]!==l||t[2]!==f||t[3]!==m||t[4]!==h?(e=(0,u.jsx)(E,{onToggleControls:s,onUpdate:l,ref:f,src:m,volume:h}),t[0]=s,t[1]=l,t[2]=f,t[3]=m,t[4]=h,t[5]=e):e=t[5],e}if(d===`youtube`){let e;return t[6]!==n||t[7]!==l||t[8]!==f||t[9]!==m||t[10]!==h?(e=(0,u.jsx)(k,{autoplay:n,onUpdate:l,ref:f,src:m,volume:h}),t[6]=n,t[7]=l,t[8]=f,t[9]=m,t[10]=h,t[11]=e):e=t[11],e}let g;return t[12]!==n||t[13]!==r||t[14]!==i||t[15]!==a||t[16]!==o||t[17]!==l||t[18]!==f||t[19]!==m||t[20]!==h?(g=(0,u.jsx)(p,{autoplay:n,className:r,loop:i,onClick:a,onResize:o,onUpdate:l,ref:f,src:m,volume:h}),t[12]=n,t[13]=r,t[14]=i,t[15]=a,t[16]=o,t[17]=l,t[18]=f,t[19]=m,t[20]=h,t[21]=g):g=t[21],g}var M=e=>{let t=(0,c.c)(41),{autoplay:n,className:r,controlsClassName:o,fullScreenClassName:d,loop:f,muted:p,onVideoUpdate:m,provider:h,src:g}=e,[_,v]=(0,s.useState)(0),[y,b]=(0,s.useState)(0),[x,ee]=(0,s.useState)(!0),[C,w]=(0,s.useState)(!1),[T,E]=(0,s.useState)(!1),[D,O]=(0,s.useState)(0),[k,M]=(0,s.useState)(p?0:e.volume),N=(0,s.useRef)(null),P=(0,s.useRef)(null),F,I;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(F=()=>{let e=function(){w(!!document.fullscreenElement)};return typeof document<`u`&&document.addEventListener(`fullscreenchange`,e),()=>{typeof document<`u`&&document.removeEventListener(`fullscreenchange`,e)}},I=[],t[0]=F,t[1]=I):(F=t[0],I=t[1]),(0,s.useEffect)(F,I);let L;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(L=function(e){P.current&&isFinite(e)&&P.current.setVolume(e)},t[2]=L):L=t[2];let R=L,z;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(z=function(e){P.current&&isFinite(e)&&P.current.setTime(e)},t[3]=z):z=t[3];let B=z,V;t[4]===T?V=t[5]:(V=function(){P.current&&(T?P.current.pause():P.current.play())},t[4]=T,t[5]=V);let H=V,U;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(U=function(){let e=N.current;if(e&&A()){if(document.fullscreenElement){document.exitFullscreen();return}e.requestFullscreen()}},t[6]=U):U=t[6];let te=U,W;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(W=function(e){ee(t=>e??!t)},t[7]=W):W=t[7];let G=W,K;t[8]===m?K=t[9]:(K=function(e){v(e.aspectRatio??1.7777777777777777),b(e.currentTime),E(e.isPlaying),O(e.totalTime),M(e.volume),typeof m==`function`&&m(e)},t[8]=m,t[9]=K);let q=K,J=_||1.7777777777777777;if(!g)return null;let ne=C?l.isFullscreen:``,re=C?d:``,Y;t[10]!==r||t[11]!==ne||t[12]!==re?(Y=i(l.videoContainer,r,ne,re),t[10]=r,t[11]=ne,t[12]=re,t[13]=Y):Y=t[13];let ie=`${100/J}vw`,ae=`${100*J}vh`,X;t[14]!==ie||t[15]!==ae?(X={height:ie,maxWidth:ae},t[14]=ie,t[15]=ae,t[16]=X):X=t[16];let oe=n??!1,se=f??!1,Z;t[17]!==q||t[18]!==h||t[19]!==g||t[20]!==oe||t[21]!==se||t[22]!==H||t[23]!==k?(Z=(0,u.jsx)(j,{autoplay:oe,className:l.video,loop:se,onClick:H,onResize:a,onToggleControls:G,onUpdate:q,provider:h,ref:P,src:g,volume:k}),t[17]=q,t[18]=h,t[19]=g,t[20]=oe,t[21]=se,t[22]=H,t[23]=k,t[24]=Z):Z=t[24];let Q;t[25]!==o||t[26]!==y||t[27]!==x||t[28]!==C||t[29]!==T||t[30]!==H||t[31]!==D||t[32]!==k?(Q=x&&(0,u.jsx)(S,{className:i(l.playbackControls,o),currentTime:y,isFullscreen:C,isPlaying:T,onFullscreenToggle:te,onPlayToggle:H,onSeek:B,onVolumeChange:R,totalTime:D,volume:k}),t[25]=o,t[26]=y,t[27]=x,t[28]=C,t[29]=T,t[30]=H,t[31]=D,t[32]=k,t[33]=Q):Q=t[33];let $;t[34]!==Z||t[35]!==Q?($=(0,u.jsxs)(`div`,{className:l.videoPlayer,children:[Z,Q]}),t[34]=Z,t[35]=Q,t[36]=$):$=t[36];let ce;return t[37]!==Y||t[38]!==X||t[39]!==$?(ce=(0,u.jsx)(`div`,{className:Y,ref:N,style:X,children:$}),t[37]=Y,t[38]=X,t[39]=$,t[40]=ce):ce=t[40],ce};export{v as n,M as t}; 2//# sourceMappingURL=VideoPlayer-BFe_Xr9q.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.