PageSourceSearch

https://bilmagasinet.dk/_nuxt/DTsab9cj.js

js bilmagasinet.dk collected 2026-10-02 07:15:17 UTC 8,199 bytes, 1 lines download raw bytes

1import{_ as I}from"./CXXi1XSN.js";import{d as y,E as M,w as C,i as r,h as p,J as w,aw as J,aV as q,q as A,g as f,j as u,f as D,n as b,t as B,s as N,T as j,X as H,aj as L,k as h,aq as F,a3 as E,a as P,l as T,r as $,ar as X}from"./BG7mKuTY.js";import{v as O}from"./BIHddBUe.js";const Q={class:"flex flex-col"},U=["innerHTML"],z=["innerHTML"],K=y({__name:"Image",props:{image:{},count:{},hide_texts:{type:[Boolean,null]},heroImage:{type:Boolean},fullscreenToggle:{type:Boolean}},setup(m){const{image:i,heroImage:e=!1,fullscreenToggle:o=!1}=m,d=M(()=>"© "+(i.copyright||""));return(a,t)=>{const c=I,l=J,n=D("interaction-emit"),s=D("interaction");return C((r(),p("div",Q,[C((r(),w(l,{image:a.image,"hero-image":a.heroImage,classes:"rounded-md","fullscreen-toggle":a.fullscreenToggle},q({_:2},[a.hide_texts?void 0:{name:"caption",fn:A(()=>{var _,g;return[a.count?(r(),p("p",{key:0,class:"font-small mt-3",innerHTML:`${a.count.index}/${a.count.total}`},null,8,U)):f("",!0),(_=a.image)!=null&&_.caption?(r(),w(c,{key:1,class:"prose-p:font-image prose-a:font-image mt-3","align-center":!1,markdown:a.image.caption},null,8,["markdown"])):f("",!0),(g=a.image)!=null&&g.copyright?(r(),p("p",{key:2,class:"font-image text-tertiary mt-2",innerHTML:u(d)},null,8,z)):f("",!0)]}),key:"0"}]),1032,["image","hero-image","fullscreen-toggle"])),[[n,"interaction open"]])])),[[s]])}}}),R=["title","src"],G={key:1,class:"font-byline p-8 text-center"},W={key:2,class:"mkt-placement-8"},Y=y({__name:"Video",props:{data:{}},setup(m){const{data:i}=m;return(e,o)=>{var d,a,t,c,l,n,s;return r(),p("section",{class:b((d=e.data)!=null&&d.PaywallProtected?"paywall relative":"")},[(a=e.data)!=null&&a.embed_url?(r(),p("iframe",{key:0,class:"h-[26rem] w-full",title:(t=e.data)==null?void 0:t.caption,src:(c=e.data)==null?void 0:c.embed_url,frameborder:"0",allow:"autoplay; fullscreen",allowfullscreen:""},null,8,R)):f("",!0),(l=e.data)!=null&&l.caption?(r(),p("p",G,B((n=e.data)==null?void 0:n.caption),1)):f("",!0),(s=e.data)!=null&&s.PaywallProtected?(r(),p("div",W)):f("",!0)],2)}}}),Z=["data-article-data","data-ad-config","data-video-tracking-info"],ee=y({__name:"Kraken",props:{data:{},heroImage:{type:Boolean}},async setup(m){var _,g,k,S;let i,e;const{data:o,heroImage:d}=m,a=N(),{data:t}=([i,e]=j(()=>H(`/api/qbrick-video?id=${o.id}&autoplay=${d||(o==null?void 0:o.autoplay)||!1}`,"$2MkoHjohXy")),i=await i,e(),i);a.setQBrickVideo(t);const c=((_=t==null?void 0:t.value)==null?void 0:_.articleDataJson)||"",l=((g=t==null?void 0:t.value)==null?void 0:g.adConfigJson)||"",n=((k=t==null?void 0:t.value)==null?void 0:k.videoTrackingInfoJson)||"",s=((S=t==null?void 0:t.value)==null?void 0:S.description)||"";return L(()=>{const v=window;v.playerManager=v.playerManager||[],v.playerManager.push(x=>{x.init({canShrinkInDimensions:!0,canClosePip:!0,enableDebugLogging:!0,className:"video-player",stickyVideo:!0})})}),(v,x)=>{const V=I;return r(),p("section",null,[h("div",{class:"evp video-player","data-article-data":u(c),"data-ad-config":u(l),"data-video-tracking-info":u(n)},null,8,Z),u(s)?(r(),w(V,{key:0,class:"prose-p:font-image prose-p:text-tertiary mt-3","align-center":!1,markdown:u(s)},null,8,["markdown"])):f("",!0)])}}}),te=y({__name:"QBrickVideo",props:{data:{},heroImage:{type:Boolean}},setup(m){return(i,e)=>(r(),w(ee,{data:i.data,heroImage:i.heroImage},null,8,["data","heroImage"]))}}),ae=["autoplay","loop","poster","muted"],oe=["src"],ne={class:"flex flex-col gap-3 px-4 py-4"},se={key:0,class:"font-image"},re={key:1,class:"font-image"},le=y({__name:"Vimeo",props:{caption:{},copyright:{},video_url:{},autoplay:{type:Boolean},loop:{type:Boolean},muted:{type:Boolean},poster:{}},setup(m){const{poster:i,video_url:e,loop:o,muted:d,autoplay:a}=m;return(t,c)=>(r(),p("section",null,[h("video",{autoplay:t.autoplay,loop:t.loop,poster:t.poster,muted:t.muted},[h("source",{src:t.video_url,type:"video/mp4"},null,8,oe)],8,ae),h("div",ne,[t.caption?(r(),p("p",se,B(t.caption),1)):f("",!0),t.copyright?(r(),p("p",re,"© "+B(t.copyright),1)):f("",!0)])]))}}),ie=y({__name:"Media",props:{image:{},video_url:{},count:{},hide_texts:{type:[Boolean,null]},heroImage:{type:Boolean},title:{},fullscreenToggle:{type:Boolean}},setup(m){const i={image:K,video:Y,qbrick:te,vimeo:le},{image:e,video_url:o,count:d,hide_texts:a,heroImage:t=!1,title:c,fullscreenToggle:l=!1}=m,n=M(()=>o&&O(o)?"qbrick":o&&o.includes("vimeo")?"vimeo":o?"video":"image"),s=M(()=>n.value==="qbrick"?{id:o,is_playlist:!1,heroImage:t}:n.value==="vimeo"?{video_url:o,poster:e==null?void 0:e.url,loop:!0,muted:!0,autoplay:!0,caption:e==null?void 0:e.caption,copyright:e==null?void 0:e.copyright}:n.value==="video"?{embed_url:o,caption:c}:n.value==="image"?{image:e,count:d,hide_texts:a,heroImage:t,fullscreenToggle:l}:{image:e,count:d,hide_texts:a,heroImage:t,fullscreenToggle:l});return(_,g)=>(r(),w(E(i[u(n)]),F(u(s),{key:u(n),data:u(s)}),null,16,["data"]))}}),ce={class:"flex flex-col items-center pb-6 lg:flex-row"},de=y({__name:"SeoDefault",props:{SeoData:{}
1,hideBackground:{}},setup(m){const i=P();return(e,o)=>{var t,c,l,n,s,_,g,k,S,v,x;const d=I,a=ie;return r(),p("div",{ref:"boxEl",class:b(["relative px-5 py-2 lg:px-8",{"bg-surface-secondary":!e.hideBackground}])},[(c=(t=e.SeoData)==null?void 0:t.data)!=null&&c.title?(r(),p("h2",{key:0,class:b(["font-article-small text-secondary pt-6",{"text-center":(l=u(i))==null?void 0:l.isPrimaryTextAlignCentered}])},B((s=(n=e.SeoData)==null?void 0:n.data)==null?void 0:s.title),3)):f("",!0),h("div",ce,[T(d,{class:"font-body text-primary relative mb-3",markdown:(g=(_=e.SeoData)==null?void 0:_.data)==null?void 0:g.description},null,8,["markdown"]),(S=(k=e.SeoData)==null?void 0:k.data)!=null&&S.image?(r(),w(a,{key:0,class:"wide-content mt-7 lg:mt-11",image:(x=(v=e.SeoData)==null?void 0:v.data)==null?void 0:x.image,"hero-image":""},null,8,["image"])):f("",!0)])],2)}}}),pe={class:"mt-3"},ue=y({__name:"SeoFoldable",props:{SeoData:{},expandableOnSmall:{type:Boolean},hideBackground:{type:Boolean}},setup(m){$(!1);const i=$(null),e=$(),o=P(),d=o==null?void 0:o.isPrimaryTextAlignCentered;return(a,t)=>{var l,n,s,_,g,k;const c=I;return r(),p("div",{ref_key:"boxEl",ref:i,class:b(["relative py-5 lg:py-8",{"bg-surface-secondary px-5 lg:px-8":!a.hideBackground}])},[(n=(l=a.SeoData)==null?void 0:l.data)!=null&&n.title?(r(),p("h3",{key:0,class:b(["font-article-small text-center",{"text-center":u(d)}])},B((_=(s=a.SeoData)==null?void 0:s.data)==null?void 0:_.title),3)):f("",!0),h("div",pe,[h("div",{ref_key:"bodyEl",ref:e,class:b(["flex",u(
1d)?"justify-center":""])},[T(c,{class:b(["font-body relative mb-3",{"m-auto text-center":u(d)}]),markdown:(k=(g=a.SeoData)==null?void 0:g.data)==null?void 0:k.description},null,8,["class","markdown"])],2)])],2)}}}),me=X(ue,[["__scopeId","data-v-9e5b07ef"]]),_e={key:0,class:"font-article-small text-center"},fe={class:"mt-3"},ge=y({__name:"SeoFoldableNoColor",props:{SeoData:{},expandableOnSmall:{}},setup(m){$(!1);const i=$(null),e=$();return(o,d)=>{var t,c,l,n,s,_;const a=I;return r(),p("div",{ref_key:"boxEl",ref:i,class:"bg-surface-primary relative px-5 lg:px-8"},[(c=(t=o.SeoData)==null?void 0:t.data)!=null&&c.title?(r(),p("h3",_e,B((n=(l=o.SeoData)==null?void 0:l.data)==null?void 0:n.title),1)):f("",!0),h("div",fe,[h("div",{ref_key:"bodyEl",ref:e,class:"flex justify-center py-[1.5rem]"},[T(a,{class:"font-body relative m-auto mb-3 text-center",markdown:(_=(s=o.SeoData)==null?void 0:s.data)==null?void 0:_.description},null,8,["markdown"])],512)])],512)}}}),ye={class:"cXenseParse main-content seotext-widget"},be=y({__name:"SeoText",props:{data:{}},setup(m){var a,t,c;const i={default:de,foldable:me,seo_foldable_no_color:ge},e=m;let o=((c=(t=(a=e==null?void 0:e.data)==null?void 0:a.content)==null?void 0:t.data)==null?void 0:c.hideBackground)===!0;const d=M(()=>{var l,n,s;return i[((s=(n=(l=e==null?void 0:e.data)==null?void 0:l.content)==null?void 0:n.data)==null?void 0:s.display_hint)||"default"]});return(l,n)=>{var s;return r(),p("section",ye,[(r(),w(E(u(d)),{SeoData:(s=e==null?void 0:e.data)==null?void 0:s.content,"expandable-on-small":!1,hideBackground:u(o)},null,8,["SeoData","hideBackground"]))])}}});export{ie as _,be as a,te as b,Y as c};

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.