PageSourceSearch

https://www.danishcrown.com/_nuxt/Ycs4-xKi.js

js danishcrown.com collected 2026-10-01 10:45:51 UTC 3,064 bytes, 1 lines download raw bytes

1import{_ as C}from"./C5PQOluh.js";import{r as f,J as $,m as d,q as S,c,o,C as l,a as v,K as i,e as t,$ as T,D as w,E as z,B as k,a2 as V,Y as g,at as j,am as q,aq as L}from"#entry";const O={class:"w-full >=960:w-fit mx-auto max-w-layout-max rounded-sm overflow-hidden"},A=["innerHTML"],E={__name:"BlockListBlocksBlockVideo",props:{content:Object,settings:Object,nextBlock:Object,inAccordion:Boolean,isSharedContent:Boolean,sharedContentTheme:String},setup(e){const n=e,h=f(!1),r=f("");r.value=n.isSharedContent&&n.sharedContentTheme!==void 0?n.sharedContentTheme:$(n.settings,"BlockVideo");const y=d(()=>{const a=[];return n.content.statistic&&a.push("statistic"),n.content.functional&&a.push("functional"),n.content.marketing&&a.push("marketing"),a}),m=d(()=>n.content?.video?.type),s=d(()=>{if(n.content.mediaSize==="small")return"w-full >=960:w-7col >=1200:w-5col";if(n.content.mediaSize==="medium")return"w-full >=960:w-8col >=1200:w-6col";if(n.content.mediaSize==="large")return"w-full >=960:w-9col >=1200:w-7col"}),u=d(()=>n.content?.video?.embed?.html);return S(()=>{setTimeout(()=>{h.value=!0},1e3)}),(a,M)=>{const x=C,b=q,B=L;return o(),c("div",{class:i(["c-block-list-video",{"mb-md":e.inAccordion&&e.nextBlock!==void 0},[e.inAccordion?"mt-md":"c-block-list__separator-padding c-block-list__separator-line bg-current-color py-md2"],t(r)])},[e.content.title?(o(),c("h2",{key:0,class:i(["justify-start text-center text-current-primary text-header-md font-bold mb-24 >=960:mb-48 w-8col max-w-layout-max mx-auto",t(s)])},T(e.content.title),3)):l("",!0),v("div",O,[w(b,{"required-categories":t(y),class:"w-full >=960:w-fit mx-auto max-w-layout-max"},{default:z(()=>[v("div",{class:i(["aspect-video",t(s)])},[e.content?.video?.details?.width<=e.content?.video?.details?.height&&t(m)!=="spot"?(o(),k(x,{key:0,video:e.content,theme:t(r),class:i(t(s))},null,8,["video","theme","class"])):t(u)?(o(),c(V,{key:1},[t(m)!=="spot"?(o(),c("div",{key:0,class:i(["c-block-list-video__video-container","h-full mx-auto overflow-hidden"]),style:g(`aspect-ratio: ${e.content?.video?.details?.width<=e.content?.video?.details?.height&&e.content?.video?.details?.width!==0?`${e.content.video.details.width}/${e.content.video.details.height}`:16/9};`),innerHTML:t(u)},null,12,A)):t(m)==="spot"?(o(),c("div",{key:1,class:i(["c-block-list-video__spot-container","relative h-full mx-auto overflow-hidden"]),style:g(`aspect-ratio: ${e.content?.video?.details?.width<=e.content?.video?.details?.height&&e.content?.video?.details?.width!==0?`${e.content.video.details.width}/${e.content.video.details.height}`:16/9};`)},[t(h)?(o(),k(j,{key:a._.uid,embed:t(u)},null,8,["embed"])):l("",!0)],4)):l("",!0)],64)):l("",!0)],2)]),_:1},8,["required-categories"]),e.content?.link?.length>0?(o(),c("div",{key:0,class:i(["flex justify-center bg-current-primary text-center py-36 w-full min-w-full",t(s)])},[w(B,{invert:"",to:e.content?.link?.[0]?.url,text:e.content?.link?.[0]?.name,target:e.content?.link?.[0]?.target},null,8,["to","text","target"])],2)):l("",!0)])],2)}}};export{E 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.