1import"./CWj6FrbW.mjs";import"./DfXMTX4I.mjs";import{aX as Ne,aY as Qe,p as W,aZ as Se,as as Ue,f as q,a as Z,c as j,r as L,t as H,d as Y,l as ve,e as me,m as pe,b as ke,g as _,n as We,s as le,W as Ze}from"./D66mYQhZ.mjs";import{c as A,a as d,t as D,p as je,q as Le,n as Je,s as he,f as Ke}from"./CgyuKl9f.mjs";import{i as R}from"./DQB3JL8r.mjs";import{a as Me,s as z,c as se}from"./kuQhHpW1.mjs";import{i as J}from"./BneK5ILE.mjs";import{p as i,a as Q,b as xe}from"./2QK8DUDd.mjs";import{b as re}from"./CZuK5304.mjs";import{s as te}from"./BtxDd1ju.mjs";import{t as $e}from"./BmMJoTvm.mjs";import{c as et}from"./ByNZ0ER4.mjs";import{u as De}from"./kRvKipw0.mjs";import{H as tt}from"./BQNlmdQn.mjs";import{C as Te}from"./BCDLPUBw.mjs";import{c as oe}from"./0ymp_0lX.mjs";import{t as we}from"./25BMEiYr.mjs";import{R as at}from"./D7ytlrGd.mjs";const Oe=n=>{const e=Object.entries(n).reduce((a,[m,o])=>(o!==null&&(a[m]=o),a),{});return new URLSearchParams(e).toString()},nt=n=>({getContext:()=>Qe(n),setContext:e=>Ne(n,e)}),lt="__videoEmbed__",{setContext:rt,getContext:ot}=nt(lt),ie=ot;function st(n,e){W(e,!1);const[a,m]=xe(),o=()=>Q(S,"$consentState",a),E=()=>Q(C,"$_playing",a),c=()=>Q(M,"$preconnect",a);let b=i(e,"url",8,null),I=i(e,"initialConsentState",8,"not-required");const C=Ue(!1),V=Se(C),M=Ue(!1),P=Ue(I()),S=Se(P),U=()=>o()==="accepted"||o()==="not-required",O=()=>{M.set(U())},T=()=>{U()?C.set(!0):o()==="required"&&P.set("pending")},k=()=>{C.set(!1)},t=()=>{P.set("accepted"),T()},s=()=>{P.set("rejected"),k(),M.set(!1)};rt({playing:V,preconnect:Se(M),requestPreconnect:O,play:T,stop:k,url:b(),consentState:S,acceptConsent:t,rejectConsent:s}),J();var f=A(),p=q(f);Me(p,e,"default",{get playing(){return E()},get preconnect(){return c()},play:T,stop:k,requestPreconnect:O,get consentState(){return o()},acceptConsent:t,rejectConsent:s},null),d(n,f),re(e,"playing",V),re(e,"consentState",S),re(e,"play",T),re(e,"stop",k),re(e,"acceptConsent",t),re(e,"rejectConsent",s);var r=Z({playing:V,consentState:S,play:T,stop:k,acceptConsent:t,rejectConsent:s});return m(),r}var it=D('<button type="button"><!></button>');function ct(n,e){W(e,!1);let a=i(e,"class",8,"");const m=ie(),{requestPreconnect:o,play:E}=m;J();var c=it(),b=j(c);Me(b,e,"default",{},null),L(c),H(I=>{z(c,1,se(a())),te(c,"aria-label",I)},[()=>$e("play")],Y),je("pointerover",c,o),je("click",c,E),d(n,c),Z()}const ut=/^https:\/\/(www.)?(youtube.com|youtu.be)/,Pe=n=>n?ut.test(n):!1,Ve=n=>{var m;if(!n||!De(n))return"";const e=new URL(n);if(e.searchParams.has("v")){const o=(m=e.searchParams.get("v"))==null?void 0:m.trim();if(o)return o}const a=e.pathname.split("/").filter(Boolean);return a.length>1&&a[0]==="embed"||a.length>1&&a[0]==="v"||a.length>1&&a[0]==="shorts"||a.length>1&&a[0]==="watch"?a[1]:a.length===1?a[0]:""},dt=(n,e="maxresdefault")=>`https://i.ytimg.com/vi/${Ve(n)}/${e}.jpg`,ft=/^https:\/\/(www.)?vimeo.com/,Re=n=>n?ft.test(n):!1,vt=(n,e={width:"1280"})=>{const a=new URLSearchParams({url:n});return Object.entries(e).forEach(([m,o])=>{o&&a.set(m,o)}),`/vimeo-thumbnail.jpg?${a.toString()}`},mt={};var pt=D('<link rel="preconnect" href="https://www.youtube-nocookie.com"> <link rel="preconnect" href="https://www.google.com">',1),gt=D('<iframe class="h-full w-full" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>');function _t(n,e){var g,l,u;W(e,!1);const[a,m]=xe(),o=()=>Q(s,"$preconnect",a),E=()=>Q(t,"$playing",a),c=pe(),b=pe();let I=i(e,"url",8),C=i(e,"title",8,null),V=i(e,"muted",8,!1),M=i(e,"autoplay",8,!0),P=i(e,"loop",8,!1),S=i(e,"start",8,null),U=i(e,"options",8,mt);const O=I()?Ve(I()):null,T=P()?O:((g=U())==null?void 0:g.playlist)||null,k=ie(),{playing:t,preconnect:s}=k||{},f=Oe({autoplay:M()?"1":M(),mute:V(),loop:P(),start:S(),playlist:T,controls:(l=U())!=null&&l.controls?1:null,rel:(u=U())!=null&&u.rel?1:null,...U()}),p=O?`https://www.youtube-nocookie.com/embed/${encodeURIComponent(O)}?${f}`:null;ve(()=>o(),()=>{me(c,o()??!1)}),ve(()=>E(),()=>{me(b,E()??!0)}),ke(),J();var r=A();Le(y=>{var w=A(),x=q(w);{var B=G=>{var ae=pt();We(2),d(G,ae)};R(x,G=>{_(c)&&G(B)})}d(y,w)});var v=q(r);{var h=y=>{var w=gt();te(w,"src",p),H(()=>
1te(w,"title",C())),d(y,w)};R(v,y=>{p&&_(b)&&y(h)})}d(n,r),Z(),m()}const bt={byline:!1,title:!1,portrait:!1,autopause:!0,background:!1,dnt:"1"};var ht=D('<link rel="preconnect" href="https://player.vimeo.com">'),wt=D('<iframe class="h-full w-full" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>');function xt(n,e){W(e,!1);const[a,m]=xe(),o=()=>Q(k,"$preconnect",a),E=()=>Q(T,"$playing",a),c=pe(),b=pe();let I=i(e,"url",8),C=i(e,"title",8,null),V=i(e,"muted",8,!1),M=i(e,"autoplay",8,!0),P=i(e,"loop",8,!1),S=i(e,"start",8,null),U=i(e,"options",8,bt);const O=ie(),{playing:T,preconnect:k}=O||{},t=I()?new URL(I()).pathname.replace("/",""):"",[s,f]=t.split("/"),p=Oe({autoplay:M(),muted:V(),loop:P(),...U(),h:f||null}),r=s?`https://player.vimeo.com/video/${s}?${p}${S()?`#t=${S()}s`:""}`:null;ve(()=>o(),()=>{me(c,o()??!1)}),ve(()=>E(),()=>{me(b,E()??!0)}),ke(),J();var v=A();Le(l=>{var u=A(),y=q(u);{var w=x=>{var B=ht();d(x,B)};R(y,x=>{_(c)&&x(w)})}d(l,u)});var h=q(v);{var g=l=>{var u=wt();te(u,"src",r),H(()=>te(u,"title",C())),d(l,u)};R(h,l=>{r&&_(b)&&l(g)})}d(n,v),Z(),m()}const Et=/^https:\/\/(www.)?dailymotion.com\/video/,Ye=n=>n?Et.test(n):!1,He=n=>De(n)?new URL(n).pathname.replace("/video/",""):"",Ct=n=>`https://www.dailymotion.com/thumbnail/video/${He(n)}`;var yt=D('<iframe class="h-full w-full" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>');function St(n,e){W(e,!1);const[a,m]=xe(),o=()=>Q(C,"$playing",a),E=pe();let c=i(e,"url",8),b=i(e,"title",8,null);const I=ie(),{playing:C,preconnect:V}=I||{},M=c()?He(c()):null,P=M?`https://geo.dailymotion.com/player.html?video=${M}`:null;ve(()=>o(),()=>{me(E,o()??!0)}),ke(),J();var S=A(),U=q(S);{var O=T=>{var k=yt();te(k,"src",P),H(()=>te(k,"title",b())),d(T,k)};R(U,T=>{P&&_(E)&&T(O)})}d(n,S),Z(),m()}function Ut(n,e){W(e,!1);let a=i(e,"url",24,()=>{var C;return(C=ie())==null?void 0:C.url});const m={youtube:_t,vimeo:xt,dailymotion:St},E=Pe(a())?"youtube":Re(a())?"vimeo":Ye(a())?"dailymotion":null,c=E?m[E]:null;J();var b=A(),I=q(b);Me(I,e,"default",{provider:E,EmbedComponent:c},C=>{var V=A(),M=q(V);{var P=S=>{var U=A(),O=q(U);et(O,()=>c,(T,k)=>{k(T,{get url(){return a()}})}),d(S,U)};R(M,S=>{c&&S(P)})}d(C,V)}),d(n,b),Z()}function Tt(n,e){W(e,!1);let a=i(e,"url",24,()=>{var b;return(b=ie())==null?void 0:b.url}),m=i(e,"alt",8,null),o=i(e,"class",8,"");const c=a()?Pe(a())?dt(a()):Re(a())?vt(a()):Ye(a())?Ct(a()):"":"";J(),tt(n,{src:c,get alt(){return m()},get class(){return o()}}),Z()}var kt=Je('<svg width="67" height="67" viewBox="0 0 67 67" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M33.5 0C52.002 0 67 14.999 67 33.5 67 52.002 52.002 67 33.5 67 14.999 67 0 52.002 0 33.5 0 14.999 14.999 0 33.5 0m-6.008 20.844a1 1 0 0 0-1.492.87v22.572a1 1 0 0 0 1.492.87L47.46 33.87a1 1 0 0 0 0-1.74z" fill="#D9D9D9"></path></svg>');function Mt(n){var e=kt();d(n,e)}var Pt=D("<div> </div>"),Rt=D("<div><div><!> <!></div></div>"),It=D("<div> </div>"),jt=D("<div><div><!> <!></div></div>"),Lt=D('<div class="grid h-full w-full place-items-center content-evenly bg-black text-white bp:p-16"><div class="px-16 text-white bp:px-32"><!></div> <button class="rounded-full bg-white p-12 text-center text-12 uppercase text-black bp:text-18"> </button></div>'),Dt=D('<i class="size-80"><!></i>'),Ot=D('<div class="grid h-full w-full place-items-center grid-stack"><!> <!></div>'),Vt=D("<div> </div>"),Yt=D("<div><div><!> <!></div> <!></div>");function na(n,e){W(e,!1);let a=i(e,"media",8),m=i(e,"hasCredits",8,!0),o=i(e,"showEmbedPlayIcon",8,!0),E=i(e,"videoAspectRatio",8,!0),c=i(e,"class",8,""),b=i(e,"ctnClass",8,"");const I=(t,s)=>{var f,p;return oe()!=="fr"&&!(t!=null&&t.credits)?(p=(f=s==null?void 0:s.media)==null?void 0:f[0])==null?void 0:p.credits:t==null?void 0:t.credits},C="pt-10 text-right text-12 text-accent bp:text-14",V=t=>{var p,r,v,h;const s=(p=t==null?void 0:t.translatableMedia)==null?void 0:p[0],f=oe()!=="fr"?(h=(v=(r=t==null?void 0:t.localized)==null?void 0:r.find(g=>g.siteHandle==="fr"))==null?void 0:v.translatableMedia)==null?void 0:h[0]:null;return s??f},M=t=>{var h,g,l,u,y,w,x,B,G,ae,K,$;const s=oe()!=="fr"&&!(t!=null&&t.credits)?(g=(h=t==null?void 0:t.localized)==null?void 0:h.find(N=>N.siteHandle==="fr"))==null?void 0:g.credits:t==null?void 0:t.credits,f=(l
1=t==null?void 0:t.poster)==null?void 0:l[0],p=oe()!=="fr"&&!(f!=null&&f.credits)?(x=(w=(y=(u=t==null?void 0:t.localized)==null?void 0:u.find(N=>N.siteHandle==="fr"))==null?void 0:y.poster)==null?void 0:w[0])==null?void 0:x.credits:f==null?void 0:f.credits,r=(B=t==null?void 0:t.translatablePoster)==null?void 0:B[0],v=oe()!=="fr"&&!(r!=null&&r.credits)?($=(K=(ae=(G=t==null?void 0:t.localized)==null?void 0:G.find(N=>N.siteHandle==="fr"))==null?void 0:ae.poster)==null?void 0:K[0])==null?void 0:$.credits:r==null?void 0:r.credits;return s||v||p},P=t=>{var p,r,v,h,g;const s=(p=t==null?void 0:t.translatablePoster)==null?void 0:p[0],f=oe()!=="fr"?(h=(v=(r=t==null?void 0:t.localized)==null?void 0:r.find(l=>l.siteHandle==="fr"))==null?void 0:v.translatablePoster)==null?void 0:h[0]:null;return s??f??((g=t==null?void 0:t.poster)==null?void 0:g[0])},S=t=>Pe(t)?we("embed.pleaseAcceptConsentYoutube"):Re(t)?we("embed.pleaseAcceptConsentVimeo"):we("embed.pleaseAcceptConsent");J();var U=A(),O=q(U);{var T=t=>{var s=Rt();const f=Y(()=>{var l,u;return(u=(l=a())==null?void 0:l.media)==null?void 0:u[0]}),p=Y(()=>{var l,u;return I(_(f),(u=(l=a())==null?void 0:l.localized)==null?void 0:u.find(y=>y.siteHandle==="fr"))});var r=j(s),v=j(r);Te(v,{get media(){return _(f)},class:"h-full w-full object-cover"});var h=le(v,2);{var g=l=>{var u=Pt();z(u,1,se(C));var y=j(u);L(u),H(()=>he(y,`© ${_(p)??""}`)),d(l,u)};R(h,l=>{_(p)&&m()&&l(g)})}L(r),L(s),H(()=>{z(s,1,se(c())),z(r,1,`relative h-full w-full ${b()??""}`)}),d(t,s)},k=(t,s)=>{{var f=r=>{var v=jt();const h=Y(()=>V(a()));var g=j(v),l=j(g);Te(l,{get media(){return _(h)},class:"h-full w-full object-cover"});var u=le(l,2);{var y=w=>{var x=It();z(x,1,se(C));var B=j(x);L(x),H(()=>he(B,`© ${_(h).credits??""}`)),d(w,x)};R(u,w=>{var x;(x=_(h))!=null&&x.credits&&m()&&w(y)})}L(g),L(v),H(()=>{z(v,1,se(c())),z(g,1,`relative h-full w-full ${b()??""}`)}),d(r,v)},p=(r,v)=>{{var h=g=>{const l=Y(()=>{var w;return((w=a())==null?void 0:w.embedUrl)??null}),u=Y(()=>P(a())),y=Y(()=>M(a()));st(g,{get url(){return _(l)},initialConsentState:"required",children:Ze,$$slots:{default:(w,x)=>{const B=Y(()=>x.playing),G=Y(()=>x.consentState),ae=Y(()=>x.acceptConsent);var K=Yt(),$=j(K);let N;var Ie=j($);Ut(Ie,{});var qe=le(Ie,2);{var Ae=F=>{var ee=A(),Ee=q(ee);{var ze=ne=>{var ce=Lt(),ge=j(ce),ue=j(ge);const _e=Y(()=>S(_(l)));at(ue,{type:"consent",get text(){return _(_e)}}),L(ge);var de=le(ge,2);de.__click=function(...fe){var be;(be=_(ae))==null||be.apply(this,fe)};var Ce=j(de,!0);L(de),L(ce),H(fe=>he(Ce,fe),[()=>we("embed.consent")],Y),d(ne,ce)},Fe=ne=>{ct(ne,{class:"block h-full w-full",children:(ce,ge)=>{var ue=Ot(),_e=j(ue);{var de=X=>{Te(X,{get media(){return _(u)},class:"h-full w-full object-cover"})},Ce=X=>{Tt(X,{class:"h-full w-full object-cover"})};R(_e,X=>{_(u)?X(de):X(Ce,!1)})}var fe=le(_e,2);{var be=X=>{var ye=Dt(),Ge=j(ye);Mt(Ge),L(ye),d(X,ye)};R(fe,X=>{o()&&X(be)})}L(ue),d(ce,ue)},$$slots:{default:!0}})};R(Ee,ne=>{_(G)==="pending"?ne(ze):ne(Fe,!1)})}d(F,ee)};R(qe,F=>{_(B)||F(Ae)})}L($);var Be=le($,2);{var Xe=F=>{var ee=Vt();z(ee,1,se(C));var Ee=j(ee);L(ee),H(()=>he(Ee,`© ${_(y)??""}`)),d(F,ee)};R(Be,F=>{_(y)&&m()&&F(Xe)})}L(K),H(F=>{z(K,1,`${c()??""} w-full`),N=z($,1,"relative h-full w-full",null,N,F)},[()=>({"aspect-video":E()})],Y),d(w,K)}}})};R(r,g=>{var l;((l=a())==null?void 0:l.__typename)==="videoEmbed_Entry"&&g(h)},v)}};R(t,r=>{var v;((v=a())==null?void 0:v.__typename)==="baseTranslatableMedia_Entry"?r(f):r(p,!1)},s)}};R(O,t=>{var s;((s=a())==null?void 0:s.__typename)=="baseMedia_Entry"?t(T):t(k,!1)})}d(n,U),Z()}Ke(["click"]);export{na as S};
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.