PageSourceSearch

https://chrismacarifilms.com/_nuxt/rguC49Rx.js

js chrismacarifilms.com collected 2026-10-06 13:13:48 UTC 1,532 bytes, 1 lines download raw bytes

1import{m as _,c as u}from"./BdmSeYdY.js";import{z as b,r as h,c as n,l as y,j as c,a as g,b as s,f as i,o as w,_ as I}from"#entry";const x={class:"modal"},S={class:"modal-container"},k=["src"],B=b({__name:"Modal",setup(C){const d=h(null),a=n(()=>_.url),m=t=>{const e=t.match(/vimeo\.com\/(?:video\/)?(\d+)/);return e?e[1]:null},p=t=>{try{const e=new URL(t);if(e.hostname.includes("youtu.be"))return e.pathname.replace("/","");if(e.searchParams.get("v"))return e.searchParams.get("v");if(e.pathname.includes("/embed/"))return e.pathname.split("/embed/")[1]}catch{const r=/(?:youtube\.com\/(?:watch\?v=|embed\/)|youtu\.be\/)([A-Za-z0-9_-]{11})/,l=t.match(r);if(l)return l[1]}return null},o=n(()=>{if(!a.value)return null;const t=m(a.value);if(t)return{provider:"vimeo",id:t};const e=p(a.value);return e?{provider:"youtube",id:e}:null}),v=n(()=>{if(!o.value)return"";if(o.value.provider==="youtube"){const e=o.value.id;return`https://www.youtube.com/embed/${e}?autoplay=1&loop=1&playlist=${e}&controls=0&modestbranding=1&rel=0&playsinline=1`}return`https://player.vimeo.com/video/${o.value.id}?autopause=false&autoplay=1&loop=1&byline=0&title=0&transparent=1&gesture=media`});y(()=>{f()});const f=()=>{c.timeline(),c.utils.selector(d.value)};return(t,e)=>(w(),g("div",x,[s("div",{class:"modal-bg",onClick:e[0]||(e[0]=(...r)=>i(u)&&i(u)(...r))}),s("div",S,[s("iframe",{src:v.value,frameborder:"0",allowfullscreen:"",allowtransparency:"",allow:"autoplay"},null,8,k)])]))}}),z=I(B,[["__scopeId","data-v-9763552e"]]);export{z as default};

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.