PageSourceSearch

https://www.asphalte.com/_nuxt/3qbwtnmQ.js

js asphalte.com collected 2026-10-01 11:40:17 UTC 4,360 bytes, 1 lines download raw bytes

1import{_ as P}from"./BfDP3Fr9.js";import{_ as $}from"./DR-5RtcL.js";import{b2 as V,cD as A,cG as D,cI as a,aN as _,aI as B,ct as r,dx as o,cS as s,aJ as k,ef as p,cw as N,aZ as y,ab as S,cZ as M,cn as O,aK as f,aC as l,a7 as j}from"./BL6ubEPe.js";import{_ as z}from"./Hylp1WfR.js";import"./DzQ2ITfF.js";import"./CLINe9Yy.js";import"./BlXCiGtH.js";import"./B3FmUrss.js";import"./6YYxauEC.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"[email protected]"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6b2d3c3c-efd1-405f-99e5-259d7238db63",e._sentryDebugIdIdentifier="sentry-dbid-6b2d3c3c-efd1-405f-99e5-259d7238db63")}catch{}})();const L=V({__name:"Youtube",props:{videoId:{},isAutoplay:{type:Boolean,default:!1}},setup(e){const t=e,i=s(null),c=s(null),n=s(null),h=s(!1),u=s(null);A(()=>{w()}),D(()=>{u.value?.disconnect(),n.value?.destroy()});const w=()=>{if(window.YT?.Player){b();return}const d=document.createElement("script");d.src="https://www.youtube.com/iframe_api",document.body.appendChild(d),window.onYouTubeIframeAPIReady=b},b=()=>{!c.value||n.value||(n.value=new window.YT.Player(c.value,{videoId:t.videoId,playerVars:{autoplay:t.isAutoplay?1:0,mute:1,playsinline:1,rel:0},events:{onReady:m}}))},m=()=>{!t.isAutoplay||!i.value||(u.value=new IntersectionObserver(([d])=>{d?.isIntersecting?n.value.playVideo():n.value.pauseVideo()},{threshold:.2}),u.value.observe(i.value))};return(d,v)=>(a(),_("div",{ref_key:"containerRef",ref:i,class:r({"block__video--has-interaction":o(h)})},[B("div",{ref_key:"playerRef",ref:c},null,512)],2))}}),Z=Object.assign(L,{__name:"VideoYoutube"}),F={key:1,class:"block__video__content"},G={key:1,class:"md:row justify-center"},J=V({__name:"Video",props:{id:{},block:{}},setup(e){const t=l(()=>e.block.type==="bunny"),i=l(()=>e.block.is_full),c=l(()=>!!e.block.default_video_mobile_id),n=l(()=>e.block.video_id?e.block.video_id:e.block.default_video_id),h=l(()=>c.value&&t.value?e.block.video_mobile_id?e.block.video_mobile_id:e.block.default_video_mobile_id:null),u=l(()=>t.value&&e.block.ratio?.width&&e.block.ratio?.height?e.block.ratio.width/e.block.ratio.height:9/16),w=l(()=>t.value&&e.block.ratio?.width&&e.block.ratio?.height?e.block.ratio_mobile?.width&&e.block.ratio_mobile?.height?e.block.ratio_mobile.width/e.block.ratio_mobile.height:e.block.ratio.width/e.block.ratio.height:1),b=l(()=>{const g=u.value,x=w.value;return{"--video-ratio-desktop":g,"--video-ratio-mobile":x}}),m=l(()=>t.value&&e.block.link),d=l(()=>m.value?{to:e.block.link}:{}),v=l(()=>e.block.text&&e.block.text.length>0),C=l(()=>m.value?j:"div");return(g,x)=>{const I=P,R=$,Y=S,T=Z,E=z;
1return a(),k(E,{id:e.id,class:r(["block--video text-center",{container:!o(i),"block--video-full":o(i),"block--video-bunny":o(t)}])},{default:p(()=>[o(t)?(a(),_("div",{key:0,class:r(["block__video",{"block__video--full":o(i)&&!o(t),"block__video--bunny":o(t),"block__video--mobile":o(c),"block__video--autoplay":e.block.is_autoplay}]),style:N(o(b))},[y(Y,null,{default:p(()=>[o(n)?(a(),k(M(o(C)),O({key:0},o(d),{style:{display:"block",position:"absolute",top:"0",left:"0",width:"100%",height:"100%"}}),{default:p(()=>[y(I,{class:"block__video__desktop",src:`https://iframe.mediadelivery.net/embed/199701/${o(n)}?responsive=true${e.block.is_autoplay?"&autoplay=true&loop=true&muted=true&preload=true":""}`,"is-autoplay":e.block.is_autoplay},null,8,["src","is-autoplay"]),o(c)?(a(),k(I,{key:0,class:"block__video__mobile",src:`https://iframe.mediadelivery.net/embed/199701/${o(h)}?responsive=true${e.block.is_autoplay?"&autoplay=true&loop=true&muted=true&preload=true":""}`,"is-autoplay":e.block.is_autoplay},null,8,["src","is-autoplay"])):f("",!0),o(v)?(a(),_("div",F,[y(R,{blocks:e.block.text,class:"title"},null,8,["blocks"])])):f("",!0)]),_:1},16)):f("",!0)]),_:1})],6)):(a(),_("div",G,[B("div",{class:r(["p-relative",o(i)?"md:col-12":"md:col-8"])},[o(v)?(a(),k(R,{key:0,blocks:e.block.text},null,8,["blocks"])):f("",!0),y(T,{class:r(["block__video block__video--youtube",{"mt-1 md:mt-3":!o(i)&&o(v),"block__video--full":o(i)}]),"video-id":e.block.video_id,"is-autoplay":!0},null,8,["class","video-id"])],2)]))]),_:1},8,["id","class"])}}}),te=Object.assign(J,{__name:"BlockVideo"});export{te 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.