import{C as M}from"./clipboard.88f1b6df.js";import{r as v,o as i,b as n,a as t,s as f,e as h,t as r,g as l,u as k,q as z,z as C,A as V,I as T,L as F,F as b,y as w,c as g,J as P,f as y,w as x,d as L,E as I,T as W}from"./app.f791ceab.js";import{F as j}from"./DesktopLayout.cf829f6b.js";import{_ as p}from"./_plugin-vue_export-helper.cdc0426e.js";import{J}from"./JobArticle.02ae158a.js";const N={name:"ArticlePagination",components:{FontAwesomeIcon:j},props:{pagination:{article_next_title:String,article_next_link:String,article_previous_title:String,article_previous_link:String}}},D={class:"sm:flex justify-between"},O=["href"],U={class:"w-[300px] lg:w-[350px]"},Q={class:"text-gray-500 font-medium text-[18px] flex gap-[10px] items-center group-hover:text-primary"},R={class:"sm:h-[90px] font-bold sm:text-[18px] md:text-[22px] text-[20px] sm:leading-[30px] group-hover:underline group-hover:underline-offset-4"},G=["href"],K={class:"w-[300px] lg:w-[350px]"},X={class:"text-gray-500 font-medium text-[18px] flex gap-[10px] md:justify-end items-center group-hover:text-primary"},Y={class:"sm:h-[90px] font-bold sm:text-[18px] md:text-[22px] text-[20px] xl:leading-[30px] xl:text-right group-hover:underline group-hover:underline-offset-4"};function Z(s,a,e,m,c,d){const u=v("font-awesome-icon");return i(),n("div",D,[t("a",{href:e.pagination.article_previous_link,class:"mt-10 flex items-center group"},[t("div",U,[t("p",Q,[f(u,{icon:"fa-solid fa-arrow-left-long ",class:"text-[30px] text-primary"}),h(" Forrige artikel ")]),t("h2",R,r(e.pagination.article_previous_title),1)])],8,O),e.pagination.article_next_title?(i(),n("a",{key:0,href:e.pagination.article_next_link,class:"mt-10 flex items-center group"},[t("div",K,[t("p",X,[f(u,{icon:"fa-solid fa-arrow-right-long",class:"text-[30px] text-primary sm:hidden"}),h(" N\xE6ste artikel "),f(u,{icon:"fa-solid fa-arrow-right-long",class:"text-[30px] text-primary hidden sm:flex"})]),t("h2",Y,r(e.pagination.article_next_title),1)])],8,G)):l("",!0)])}const ee=p(N,[["render",Z]]),te={name:"AdLeaderboard",props:{is_before_12_marts:{type:Boolean,required:!1},ad_leaderboard:{image_url:String,mobile_image_url:String,link:String}}},se=["href"],ie=["src"],ne=["src"];function ae(s,a,e,m,c,d){return e.ad_leaderboard&&e.ad_leaderboard.link?(i(),n("a",{key:0,id:"ad_leaderboard",class:"h-[280px] sm:h-[130px] w-full break-between bg-gray-200 flex justify-center items-center",href:e.ad_leaderboard.link},[e.ad_leaderboard.image_url?(i(),n("img",{key:0,src:e.ad_leaderboard.image_url,class:"hidden sm:block h-[100px] w-[750px]",alt:"Logo"},null,8,ie)):l("",!0),e.ad_leaderboard.mobile_image_url?(i(),n("img",{key:1,src:e.ad_leaderboard.mobile_image_url,class:"block sm:hidden h-[250px] w-[300px]",alt:"Logo"},null,8,ne)):l("",!0)],8,se)):l("",!0)}const re=p(te,[["render",ae]]),oe={name:"EmbedBardSet",props:{html:{type:String,required:!1},is_before_12_marts:{type:Boolean,required:!1}}},le=["innerHTML"];function ce(s,a,e,m,c,d){return i(),n("div",{style:{"margin-bottom":"24px",clear:"both"},innerHTML:e.html},null,8,le)}const de=p(oe,[["render",ce]]);const _e={name:"ExpandingTextbox",components:{FontAwesomeIcon:j},props:{title:{type:String,required:!0},content:{type:String,required:!0},html:{type:String,required:!1},image_position:{type:String,required:!1},is_before_12_marts:{type:Boolean,required:!1}},methods:{toggleExpand(){this.isExpanded=!this.isExpanded}},data(){return{isExpanded:!1}}},pe={class:"bg-[#F9F9F9] p-[25px] sm:p-[30px] mb-[20px] mt-[20px] relative"},me={class:"text-[20px] font-[500]"},ue=["innerHTML"],fe={key:0,class:"w-full h-[100px] bg-gradient-to-t from-[#F9F9F9] to-stone-0 absolute left-0 bottom-[50px] mb-2"},ge={class:"flex justify-center sm:justify-start"},xe={class:"font-[600]"},he={key:0},be={key:1};function ye(s,a,e,m,c,d){const u=v("FontAwesomeIcon");return i(),n("div",{class:k(["relative inline-block",e.image_position])},[t("div",pe,[t("p",me,r(e.title),1),t("p",{class:k(["text-[16px] mt-[5px] leading-[24px] max-h-[50px] overflow-hidden transition delay-150 ease-in-out space-y-[10px]",{expand:c.isExpanded}]),innerHTML:e.html},null,10,ue),c.isExpanded?l("",!0):(i(),n("div",fe)),t("div",ge,[t("button",{onClick:a[0]||(a[0]=z((...q)=>d.toggleExpand&&d.toggleExpand(...q),["prevent"])),class:"mt-[10px] text-[18px] flex items-center space-x-2 text-primary"},[t("p",xe,r(c.isExpanded?"L\xE6s mindre":"L\xE6s mere"),1),c.isExpanded?l("",!0):(i(),n("div",he,[f(u,{icon:"fa-solid fa-circle-chevron-down",class:"text-[18px]"})])),c.isExpanded?(i(),n("div",be,[f(u,{icon:"fa-solid fa-circle-chevron-up",class:"text-[18px]"})])):l("",!0)])])])],2)}const ve=p(_e,[["render",ye]]);const ke={name:"FactsBox",props:{html:{type:String,required:!1},fact:{type:String,required:!1},headline:{type:String,required:!1},image_position:{type:String,required:!1},is_before_12_marts:{type:Boolean,required:!1}}},we={class:"bg-[#F9F9F9] p-[25px] sm:p-[30px] relative mb-[20px] mt-[20px]"},$e={class:"bg-primary text-white text-[18px] font-[500] px-[10px] sm:px-[15px] py-[3px] sm:py-[5px] inline-block absolute -top-[17px] left-[15px]"},Se={class:"text-[20px] font-[500]"},qe=["innerHTML"];function Be(s,a,e,m,c,d){return i(),n("div",{class:k(["relative inline-block",e.image_position])},[t("div",we,[t("div",$e,r(e.fact),1),t("p",Se,r(e.headline),1),t("p",{class:"text-[16px] mt-[5px] leading-[24px] space-y-[10px]",innerHTML:e.html},null,8,qe)])],2)}const Fe=p(ke,[["render",Be],["__scopeId","data-v-d0f371ac"]]),je={name:"ImageBardSet",props:{html:{type:String,required:!1},image_url:{type:String,required:!1},image_alt:{type:String,required:!1},image_position:{type:String,required:!1},link_url:{type:String,required:!1},is_before_12_marts:{type:Boolean,required:!1}}},Ee={style:{"margin-bottom":"24px"},class:"{{image_position}}_position relative inline-block"},Le=["href"],Te=["src","alt"];function Ie(s,a,e,m,c,d){return i(),n("div",Ee,[t("a",{href:e.link_url,target:"_blank"},[t("img",{src:e.image_url,alt:e.image_alt},null,8,Te)],8,Le)])}const Ae=p(je,[["render",Ie]]);const He={name:"ImageModule",props:{html:{type:String,required:!1},image_link:{type:String,required:!1},image_size:{type:String,required:!1},image_caption:{type:String,required:!1},image_credit:{type:String,required:!1},image_position:{type:String,required:!1},image_alt:{type:String,required:!1},link_url:{type:String,required:!1},is_before_12_marts:{type:Boolean,required:!1}}},Me=s=>(C("data-v-51019c41"),s=s(),V(),s),ze=Me(()=>t("div",{class:"hidden pb-[15px] pb-[25px]"},null,-1)),Ce=["href"],Ve=["src","alt"],Pe={key:0,class:"mt-[15px]"},We={key:0,class:"text-[14px] text-[#999999] italic"},Je={key:1,class:"text-[14px] text-[#999999] italic"};function Ne(s,a,e,m,c,d){return i(),n("div",{class:k(["relative inline-block",e.image_position])},[t("div",{class:k(["bg-[#F9F9F9] w-full sm:px-[30px] sm:pt-[30px] px-[25px] pt-[25px] my-5",{"pb-[15px] sm:pb-[15px]":e.image_caption,"pb-[25px] sm:pb-[25px]":!e.image_caption||!e.image_credit}])},[ze,t("a",{href:e.link_url},[t("img",{class:"w-full h-auto",src:s.get_media_url_by_orginal_image_url(e.image_link,"article_single_image_module_normal_full"),alt:e.image_alt},null,8,Ve)],8,Ce),e.image_caption||e.image_credit?(i(),n("div",Pe,[e.image_caption?(i(),n("p",We,r(e.image_caption),1)):l("",!0),e.image_credit?(i(),n("p",Je,"Foto: "+r(e.image_credit),1)):l("",!0)])):l("",!0)],2)],2)}const De=p(He,[["render",Ne],["__scopeId","data-v-51019c41"]]),Oe={name:"Paragraph",props:{html:{type:String,required:!1},is_before_12_marts:{type:Boolean,required:!1}}},Ue=["innerHTML"];function Qe(s,a,e,m,c,d){return i(),n("p",{class:"break-between",innerHTML:e.html},null,8,Ue)}const Re=p(Oe,[["render",Qe]]),Ge={name:"PDFBardSet",props:{html:{type:String,required:!1},pdf_url:{type:String,required:!1},pdf_headline:{type:String,required:!1},is_before_12_marts:{type:Boolean,required:!1}}},Ke={class:"mb-[24px] flex border border-[#d2d2d2] h-[120px] relative",style:{clear:"both"}},Xe=["href"],Ye=t("div",{class:"w-[175px] flex justify-center items-center border-r border-[#d2d2d2]"},[t("svg",{class:"svg-inline--fa fa-file-pdf text-[#C82929] text-[52px]","aria-hidden":"true",focusable:"false","data-prefix":"fal","data-icon":"file-pdf",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},[t("path",{class:"",fill:"currentColor",d:"M64 480H96v32H64c-35.3 0-64-28.7-64-64V64C0 28.7 28.7 0 64 0H220.1c12.7 0 24.9 5.1 33.9 14.1L369.9 129.9c9 9 14.1 21.2 14.1 33.9V288H352V192H240c-26.5 0-48-21.5-48-48V32H64C46.3 32 32 46.3 32 64V448c0 17.7 14.3 32 32 32zM351.5 160c-.7-2.8-2.1-5.4-4.2-7.4L231.4 36.7c-2.1-2.1-4.6-3.5-7.4-4.2V144c0 8.8 7.2 16 16 16H351.5zM160 352h24c30.9 0 56 25.1 56 56s-25.1 56-56 56h-8v32c0 8.8-7.2 16-16 16s-16-7.2-16-16V448 368c0-8.8 7.2-16 16-16zm24 80c13.3 0 24-10.7 24-24s-10.7-24-24-24h-8v48h8zm72-64c0-8.8 7.2-16 16-16h24c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H272c-8.8 0-16-7.2-16-16V368zm32 112h8c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16h-8v96zm96-128h48c8.8 0 16 7.2 16 16s-7.2 16-16 16H400v32h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H400v48c0 8.8-7.2 16-16 16s-16-7.2-16-16V432 368c0-8.8 7.2-16 16-16z"})])],-1),Ze={class:"flex flex-col justify-center items-baseline px-[33px] py-[25px]"},et=t("p",{class:"text-black text-[12px] -mt-[2px] mb-[4px]"},"PDF \xE5bnes i et nyt vindue",-1),tt={class:"text-[20px] text-black font-bold"};function st(s,a,e,m,c,d){return i(),n("div",Ke,[t("a",{href:e.pdf_url,target:"_blank",class:"w-full h-full absolute"},null,8,Xe),Ye,t("div",Ze,[et,t("p",tt,r(e.pdf_headline),1)])])}const it=p(Ge,[["render",st]]),nt={name:"PortraitImageWithQuote",components:{FontAwesomeIcon:j},props:{html:{type:String,required:!1},portrait_image:{type:String,required:!1},quote:{type:String,required:!1},occupation:{type:String,required:!1},source:{type:String,required:!1},image_position:{type:String,required:!1},is_before_12_marts:{type:Boolean,required:!1}}},at=["src"],rt=t("div",{class:"hidden left-[25px] sm:left-[9px] lg:left-[17px] -right-[25px] sm:-right-[9px] lg:-right-[17px]"},null,-1),ot={class:"font-[500] text-[18px] leading-[26px]"},lt={class:"text-[#959595] text-[12px] mt-[15px]"},ct={class:"font-bold text-[12px] text-black"};function dt(s,a,e,m,c,d){const u=v("font-awesome-icon");return i(),n("div",{class:k(["w-full sm:w-1/2 lg:w-[calc(50%-15px)] relative flex items-center flex-col",{"float-left sm:pr-[24px]":e.image_position==="left_portrait","float-right sm:pl-[24px]":e.image_position==="right_portrait"}])},[e.is_before_12_marts?(i(),n("img",{key:0,src:s.get_media_url_by_orginal_image_url(e.portrait_image,"article_single_portrait_with_quote"),alt:"",class:"w-full h-auto z-0 back bg-cover"},null,8,at)):(i(),n("div",{key:1,class:"w-full min-h-[350px] sm:h-[318px] md:h-[318px] lg:h-[453px] z-0 bg-cover bg-center pt-[103vw] sm:pt-0",style:T(`background-image: url( ${s.get_media_url_by_orginal_image_url(e.portrait_image,"article_single_portrait_with_quote")} )`)},null,4)),t("div",{class:k(["w-[calc(100%-50px)] sm:w-[270px] lg:w-[390px] p-[30px] bg-white z-10 -mt-[30px] relative",{"left-[0px] sm:left-[0px] lg:left-[0px]":e.image_position==="left_portrait","-right-[0px] sm:-right-[0px] lg:-right-[0px]":e.image_position==="right_portrait"}])},[rt,f(u,{icon:"fa-solid fa-quote-right",class:"text-[30px] mb-[6px] text-primary"}),t("p",ot,r(e.quote),1),t("p",lt,[t("span",ct,r(e.source),1),h(" "+r(e.occupation),1)])],2)],2)}const _t=p(nt,[["render",dt]]),pt={name:"ReadMore",props:{html:{type:String,required:!1},read_more_url:{type:String,required:!1},read_more_image:{type:String,required:!1},read_more_title:{type:String,required:!1},is_before_12_marts:{type:Boolean,required:!1}}},mt={class:"mb-[24px] flex flex-col sm:flex-row border border-[#d2d2d2] h-auto relative",style:{clear:"both"}},ut=["href"],ft={class:"min-w-[175px] border border-[#d2d2d2]"},gt={class:"flex flex-col justify-center items-baseline p-[20px] sm:px-[33px] sm:py-[25px]"},xt=t("p",{class:"text-black text-[12px] -mt-[2px] mb-[4px]"},"Fik du l\xE6st?",-1),ht={class:"text-[20px] text-black font-bold"};function bt(s,a,e,m,c,d){return i(),n("div",mt,[t("a",{href:e.read_more_url,class:"w-full h-full absolute"},null,8,ut),t("div",ft,[t("div",{class:"h-full bg-cover bg-center bg-no-repeat min-h-[178px] sm:min-h-[99px]",style:T(`background-image: url(${s.get_media_url_by_orginal_image_url(e.read_more_image,"article_single_read_more")})`)},null,4)]),t("div",gt,[xt,t("p",ht,r(e.read_more_title),1)])])}const yt=p(pt,[["render",bt]]);const vt={name:"StationaryTextBox",props:{html:{type:String,required:!1},headline:{type:String,required:!1},image_position:{type:String,required:!1},is_before_12_marts:{type:Boolean,required:!1}}},kt={class:"bg-[#F9F9F9] p-[25px] relative sm:p-[30px] mb-[20px] mt-[20px]"},wt={class:"text-[20px] font-[500]"},$t=["innerHTML"];function St(s,a,e,m,c,d){return i(),n("div",{class:k(["relative inline-block",e.image_position])},[t("div",kt,[t("p",wt,r(e.headline),1),t("p",{class:"text-[16px] mt-[5px] leading-[24px] space-y-[10px]",innerHTML:e.html},null,8,$t)])],2)}const qt=p(vt,[["render",St]]),Bt={name:"UnorderedList",props:{html:{type:String,required:!1},is_before_12_marts:{type:Boolean,required:!1}}},Ft=["innerHTML"];function jt(s,a,e,m,c,d){return i(),n("ul",{class:"break-between",innerHTML:e.html},null,8,Ft)}const Et=p(Bt,[["render",jt]]);const Lt={name:"ArticleFull",components:{FontAwesomeIcon:j,ArticlePagination:ee,Link:F,AdLeaderboard:re,EmbedBardSet:de,ExpandingTextbox:ve,FactsBox:Fe,ImageBardSet:Ae,ImageModule:De,Paragraph:Re,PDFBardSet:it,PortraitImageWithQuote:_t,ReadMore:yt,StationaryTextBox:qt,UnorderedList:Et},data(){return{showEmail:!1}},props:{article_pagination:{type:[Array,Object]},article:{heading:String,subheading:String,image:{src:String,caption:String,alt:String,photographer:String},show_image:Boolean,body:String,journalists:{type:Array,default:()=>[{id:1,is_sponsored:!0,is_person:!0,name:"",designation:"",organization_name:"",link:"",email:"redaktionen@nb-medier.dk",is_company:!1}]},paywall:Boolean,is_nb_data_paywall:Boolean,published_at:String,publisher:String,last_updated:String,subjects:[{name:String,subject_link:String}],themes:{type:Array,default:()=>[{theme_link:String,name:String}]},last_edited:String,is_old_story:Boolean},ad_leaderboard:Object},mounted(){console.log(this.article.journalists);var s=new M(".share_button_copylink");s.on("success",()=>{console.log("copied")}),s.on("error",()=>{console.log("error")})},computed:{has_journalist(){return this.article.journalists.length!==0},get_ad_banner_image_to_nb_data(){let s="";switch(this.$page.props.site.slug){case"nb_oekonomi":s={image:"/images/nb_data_ad_banner_to_nb_okonomi.png"};break;case"nb_kommune":s={image:"/images/nb_data_ad_banner_to_nb_kommune.png"};break;case"nb_beskaeftigelse":s={image:"/images/nb_data_ad_banner_to_nb_beskaeftigelse.png"};break;case"nb_social":s={image:"/images/nb_data_ad_banner_to_nb_social.png"};break;case"nb_aeldre":s={image:"/images/nb_data_ad_banner_to_nb_aeldre.png"};break;case"ops_indsigt":s={image:"/images/nb_data_ad_banner_to_ops_indsigt.png"};break}return s}}},Tt={key:0,class:"mt-[25px] lg:mt-0 md:mb-3"},It=["src","alt"],At={class:"font-light italic text-[14px] text-gray-600"},Ht={key:0},Mt={key:1,class:"mt-[25px] sm:mt-0 text-primary text-[20px] font-bold"},zt={class:"font-bold text-[30px] mb-3 mt-[25px] sm:mt-0 leading-[38px]"},Ct={class:"font-semibold text-[20px] leading-[28px]"},Vt={class:"text-gray-500 italic my-4"},Pt={key:0,class:"mb-[5px]"},Wt=t("p",null,"Sponseret af",-1),Jt=[Wt],Nt={class:"flex flex-col sm:flex-row justify-between mb-6"},Dt={key:0,class:"mb-[15px] sm:mb-0"},Ot={class:"flex space-x-[25px]"},Ut={key:0},Qt=["href"],Rt=["src"],Gt={key:1,class:"flex items-center space-x-[10px] group"},Kt={class:"relative inline-block"},Xt={key:1,class:"w-[45px] h-[45px] rounded-full border-[1px] border-[#E1E1E1] flex items-center justify-center"},Yt={class:"flex flex-col justify-center h-[45px]"},Zt={key:0,class:"font-bold text-[14px]"},es={class:"text-[#696969] text-[12px]"},ts={key:0,class:"w-full"},ss=t("p",{class:"text-[10px] font-bold"}," E-mail",-1),is=["href"],ns={class:"float-right gap-[10px] items-center"},as=t("p",{class:"font-bold pr-4 -ml-[2px]"},"Del artiklen:",-1),rs={class:"flex space-x-[10px]"},os=["data-clipboard-text","href"],ls=["innerHTML"],cs={key:4,id:"the_story",style:{display:"block"}},ds={key:7,class:"relative w-[930px] h-[200px] p-[20px] clear-both"},_s={class:"relative z-40"},ps={class:"font-medium text-[20px] mb-2"},ms=t("p",{class:"text-[20px] max-w-[450px] leading-[25px] mb-1"}," F\xE5 adgang til omfattende data, regneark, landkort og interaktive kort p\xE5 NB-Data. ",-1),us={class:"absolute right-0 top-0 w-full h-full"},fs=["src"],gs={id:"paywall_view"},xs=["is_paywall","_site"],hs={class:"mt-12 text-gray-500 italic clear-both"},bs={key:8,class:"mt-2 text-sm"},ys={key:0},vs={key:9,class:"mt-4 text-sm"},ks={key:0};function ws(s,a,e,m,c,d){var B,E;const u=v("FontAwesomeIcon"),q=v("font-awesome-icon"),$=v("ArticlePagination");return i(),n("div",null,[e.article.show_image?(i(),n("div",Tt,[t("img",{class:"w-full h-auto",src:s.get_media_url_by_orginal_image_url(e.article.image.src,"article_single_top_image"),alt:e.article.image.alt},null,8,It),t("p",At,[h(r(e.article.image.caption)+" ",1),e.article.image.photographer?(i(),n("span",Ht," - Foto: "+r(e.article.image.photographer),1)):l("",!0)])])):l("",!0),e.article.rider?(i(),n("p",Mt,r(e.article.rider),1)):l("",!0),t("h1",zt,r(e.article.heading),1),t("h3",Ct,r(e.article.subheading),1),t("p",Vt," Udgivet: "+r(e.article.published_at),1),d.has_journalist?(i(!0),n(b,{key:2},w(e.article.journalists,(o,S)=>(i(),n("div",{key:`journalist_${o.id}`},[o.is_sponsored&&S===0?(i(),n("div",Pt,Jt)):l("",!0)]))),128)):l("",!0),t("div",Nt,[d.has_journalist?(i(),n("div",Dt,[t("div",Ot,[(i(!0),n(b,null,w(e.article.journalists,(o,S)=>(i(),n("div",{class:"relative flex space-x-[20px] sm:space-x-[25px]",onMouseover:a[0]||(a[0]=H=>c.showEmail=!0),onMouseleave:a[1]||(a[1]=H=>c.showEmail=!1),key:`journalist_${o.id}`},[o.is_sponsored&&o.is_company?(i(),n("div",Ut,[t("a",{href:o.link,target:"_blank",class:"border border-[#E1E1E1] inline-flex px-[30px] h-[50px] items-center justify-center"},[t("img",{src:o.image,alt:"Sponsor Billede",class:"w-auto h-[35px]"},null,8,Rt)],8,Qt)])):l("",!0),o.is_person?(i(),n("div",Gt,[t("div",Kt,[o.image?(i(),n("div",{key:0,class:"w-[45px] h-[45px] rounded-full border-[1px] border-[#E1E1E1] bg-center bg-no-repeat bg-cover",style:T(`background-image: url(${o.image})`)},null,4)):(i(),n("div",Xt,[f(u,{icon:"fa-solid fa-user",class:"text-[20px] text-[#E1E1E1]"})])),f(u,{class:"absolute bottom-0 right-0 text-primary bg-white",icon:"fa-solid fa-circle-envelope"})]),t("div",Yt,[o.is_person?(i(),n("p",Zt,r(o.name),1)):l("",!0),t("p",es,r(o.designation||"Journalist"),1)]),c.showEmail&&o.is_person?(i(),n("div",{key:0,class:k(["group-hover:flex hidden text-white bg-primary items-center pl-[15px] py-[3px] email_tooltip min-h-[45px] min-w-[160px] absolute top-0 z-50",{"left-[38px]":!o.is_sponsored,"left-[38px] sm:left-[38px]":o.is_sponsored}])},[o.email?(i(),n("div",ts,[ss,t("a",{href:"mailto:"+o.email,class:"text-[12px] hover:underline"},r(o.email),9,is)])):l("",!0)],2)):l("",!0)])):l("",!0)],32))),128))])])):l("",!0),t("div",ns,[as,t("div",rs,[(i(!0),n(b,null,w(e.article.share_buttons,(o,S)=>(i(),n("a",{class:k("share_button_"+S),"data-clipboard-text":o,target:"_blank",href:o},[f(q,{icon:{linkedin:"fa-brands fa-linkedin",facebook:"fa-brands fa-square-facebook",twitter:"fa-brands fa-twitter",mailto:"fa-solid fa-envelope",copylink:"fa-solid fa-link"}[S]},null,8,["icon"])],10,os))),256))])])]),e.article.is_old_story?(i(),n("div",{key:3,id:"the_story",style:{display:"block"},innerHTML:e.article.is_old_story?e.article.body:"false"},null,8,ls)):(i(),n("div",cs,[(i(!0),n(b,null,w(e.article.body,o=>(i(),g(y(o.component),P(o.props,{html:o.html}),null,16,["html"]))),256))])),l("",!0),l("",!0),e.article.is_nb_data_paywall?(i(),n("div",ds,[t("div",_s,[t("h2",ps,"Opdag "+r(s.$page.props.site.name)+"s fulde datas\xE6t",1),ms,t("button",null,[(i(),g(y(s.$page.props.link_component),{href:s.route("document_archive",{},!1),class:"inline-block mt-4 px-10 py-3 bg-primary hover:bg-[#F6F7F9] hover:border hover:border-primary hover:text-primary text-white font-medium text-[20px]"},{default:x(()=>[h(" Pr\xF8v NB-Data ")]),_:1},8,["href"]))])]),t("div",us,[t("img",{class:"object-cover object-center h-full w-full",src:d.get_ad_banner_image_to_nb_data.image,alt:""},null,8,fs)])])):l("",!0),t("div",gs,[t("paywall-view",{is_paywall:e.article.is_paywall?0:1,_site:JSON.stringify(s.$page.props.site_paywall)},null,8,xs)]),t("p",hs," Sidst opdateret: "+r(e.article.last_edited),1),((B=e.article.themes)==null?void 0:B.length)>0?(i(),n("p",bs,[h(" Temaer: "),(i(!0),n(b,null,w(e.article.themes,(o,S)=>(i(),n("span",null,[(i(),g(y(s.$page.props.link_component),{href:o.link,class:"text-[#101392]"},{default:x(()=>[h(r(o.name),1)]),_:2},1032,["href"])),S+1!==e.article.themes.length?(i(),n("span",ys,", ")):l("",!0)]))),256))])):l("",!0),((E=e.article.subjects)==null?void 0:E.length)>0?(i(),n("p",vs,[h(" Emner: "),(i(!0),n(b,null,w(e.article.subjects,(o,S)=>(i(),n("span",null,[(i(),g(y(s.$page.props.link_component),{href:o.link,class:"text-[#101392]"},{default:x(()=>[h(r(o.name),1)]),_:2},1032,["href"])),S+1!==e.article.subjects.length?(i(),n("span",ks,", ")):l("",!0)]))),256))])):l("",!0),f($,{pagination:e.article_pagination},null,8,["pagination"])])}const Li=p(Lt,[["render",ws]]),$s=L({name:"TrialBanner",components:{Link:F},data(){return{}},methods:{is_displayed(){return _.isNil(localStorage.getItem("paywall.is_subscription_access"))?!0:localStorage.getItem("paywall.is_subscription_access")!=="true"}}}),Ss={class:"sm:pl-6 text-primary mb-6 sm:mb-0 text-center sm:text-left"},qs={class:"font-bold text-[24px]"},Bs={class:"text-[18px]"},Fs={class:"bg-primary group hover:bg-white hover:ring-primary hover:ring-2 p-6 flex flex-col items-center justify-center rounded-xl"},js={class:"text-[13px] md:hidden lg:flex lg:text-center font-medium text-white group-hover:text-primary"},Es=t("p",{class:"text-[24px] md:text-[18px] lg:text-[22px] xl:text-[24px] md:text-center lg:text-left font-medium text-white group-hover:text-primary"},"Tilmeld dig nu",-1);function Ls(s,a,e,m,c,d){return s.is_displayed()?(i(),g(y(s.$page.props.link_component),{key:0,class:"bg-[#F6F6F6] flex flex-col sm:flex-row justify-between items-center p-6 sm:p-5 sm:h-[130px] mx-6 sm:mx-0",href:s.route("trial_subscription",{},!1),title:"Pr\xF8ve abonnement"},{default:x(()=>[t("div",Ss,[t("h1",qs,"Pr\xF8v "+r(s.$page.props.site.name),1),t("p",Bs,"F\xE5 "+r(s.$page.props.site.trial_week_count)+" ugers gratis pr\xF8veperiode til "+r(s.$page.props.site.name)+", helt uden bindinger og ingen registrering af betalingskort.",1)]),t("div",Fs,[t("p",js,r(s.$page.props.site.trial_week_count)+" ugers gratis pr\xF8veperiode",1),Es])]),_:1},8,["href"])):l("",!0)}const Ti=p($s,[["render",Ls]]),Ts={name:"SliderItem",props:{heading:String,content_list:Array}};function Is(s,a,e,m,c,d){return i(),n("div",null,[I(s.$slots,"default")])}const A=p(Ts,[["render",Is]]),As={name:"Slider",components:{SliderItem:A}};function Hs(s,a,e,m,c,d){return i(),n("div",null,[I(s.$slots,"default")])}const Ms=p(As,[["render",Hs]]);const zs={components:{SliderItem:A,Slider:Ms,Link:F,FontAwesomeIcon:j},name:"ScrollableListWidget",props:{heading:String,list:{type:Array,default:()=>[{link:String,title:String}]},is_links_internal:{type:Boolean,default:!1}},data(){return{current_slide:0,slides:[]}},methods:{slide_forward(s){this.current_slide!==s-1&&this.current_slide++},slide_back(){this.current_slide!==0&&this.current_slide--}},computed:{split_array(){for(let s=0;s<=this.list.length;s=s+4)this.slides.push(this.list.slice(s,s+4));this.slides.pop()}}},Cs={class:"relative overflow-x-hidden h-[250px]"},Vs={class:"mt-1"},Ps={class:"text-sm font-semibold"},Ws={class:"flex absolute right-0 top-0"},Js={class:"flex flex-col space-y-4"},Ns={class:"overflow-ellipsis-2"};function Ds(s,a,e,m,c,d){const u=v("FontAwesomeIcon"),q=v("SliderItem"),$=v("Slider");return i(),n("div",Cs,[t("div",Vs,[t("h2",Ps,r(e.heading),1)]),t("div",Ws,[t("button",{onClick:a[0]||(a[0]=B=>d.slide_back()),class:"rounded-full bg-gray-50 shadow-custom-sm-buttons w-6 h-6 mr-1 flex items-center justify-center"},[f(u,{icon:"fa-solid fa-angle-left",class:"text-[10px]"})]),t("button",{onClick:a[1]||(a[1]=B=>d.slide_forward(c.slides.length)),class:"rounded-full bg-gray-50 shadow-custom-sm-buttons w-6 h-6 mr-1 flex items-center justify-center"},[f(u,{icon:"fa-solid fa-angle-right",class:"text-[10px]"})])]),h(" "+r(d.split_array)+" ",1),f($,{class:"relative flex flex-nowrap mt-4"},{default:x(()=>[f(W,{name:"slide-fade"},{default:x(()=>[(i(!0),n(b,null,w(c.slides,(B,E)=>(i(),n(b,null,[E===c.current_slide?(i(),g(q,{class:"min-w-full",key:E},{default:x(()=>[t("div",Js,[(i(!0),n(b,null,w(B,o=>(i(),g(y(e.is_links_internal?"Link":"a"),{class:"leading-[19px] text-[14px] hover:underline",href:o.link,target:e.is_links_internal?"_self":"_blank"},{default:x(()=>[t("p",Ns,r(o.title),1)]),_:2},1032,["href","target"]))),256))])]),_:2},1024)):l("",!0)],64))),256))]),_:1})]),_:1})])}const Ii=p(zs,[["render",Ds],["__scopeId","data-v-b4300ed4"]]),Os=L({name:"JobCarousel",components:{JobArticle:J,Link:F,FontAwesomeIcon:j},props:{header_big:Boolean,job_descriptions:Array},data(){return{}},methods:{nextSlide(s){let a=s.currentTarget.parentElement,e=a.querySelector(".carousel-item").clientWidth;a.scrollBy(e,0)},prevSlide(s){let a=s.currentTarget.parentElement,e=a.querySelector(".carousel-item").clientWidth;a.scrollBy(e*-1,0)}}}),Us={class:"w-full"},Qs={key:0,class:"flex justify-between items-center mb-6"},Rs={class:"w-full flex justify-center items-center"},Gs=t("h2",{class:"text-md font-bold text-primary underline underline-offset-4 whitespace-nowrap"}," Indryk jobopslag ",-1),Ks=t("div",{class:"w-full bg-[#B0B2B8] h-[1px]"},null,-1),Xs=t("div",{class:"flex items-center justify-items-center"},[t("h1",{class:"text-2xl font-semibold text-primary text-center w-full whitespace-nowrap mx-6"}," Find dit nye job her ")],-1),Ys={class:"w-full flex justify-center items-center"},Zs=t("div",{class:"w-full bg-[#B0B2B8] h-[1px] mr-6"},null,-1),ei=t("div",{class:"text-[16px] font-medium text-primary whitespace-nowrap"}," Vis alle jobs ",-1),ti={key:1},si=t("p",{class:"text-sm font-semibold"}," Ledige Stillinger ",-1),ii=[si],ni={class:"relative mt-2"},ai={class:"carousel h-full overflow-x-scroll scroll-smooth touch-auto snap-x snap-mandatory no-scrollbar flex gap-[25px]",id:"job_carousel_id"};function ri(s,a,e,m,c,d){const u=v("JobArticle"),q=v("FontAwesomeIcon");return i(),n("div",Us,[s.header_big?(i(),n("div",Qs,[t("div",Rs,[(i(),g(y(s.$page.props.link_component),{href:s.route("advertisement",{},!1),class:"flex items-center justify-items-center pr-6"},{default:x(()=>[Gs]),_:1},8,["href"])),Ks]),Xs,t("div",Ys,[Zs,(i(),g(y(s.$page.props.link_component),{href:s.route("jobs_archive",{},!1),class:"border-[2px] border-primary py-[4px] px-3 rounded-md"},{default:x(()=>[ei]),_:1},8,["href"]))])])):(i(),n("div",ti,ii)),t("div",ni,[t("div",ai,[(i(!0),n(b,null,w(s.job_descriptions,$=>(i(),g(u,{class:"snap-start carousel-item",job_description:$},null,8,["job_description"]))),256)),t("button",{class:"absolute -translate-y-1/2 left-[-20px] top-1/2 rounded-full bg-gray-50 shadow-custom-lg-buttons w-10 h-10 mr-1 flex items-center justify-center z-10",type:"button",onClick:a[0]||(a[0]=$=>s.prevSlide($))},[f(q,{icon:"fa-solid fa-angle-left",class:"text-[14px]"})]),t("button",{class:"absolute -translate-y-1/2 right-[-20px] top-1/2 rounded-full bg-gray-50 shadow-custom-lg-buttons w-10 h-10 mr-1 flex items-center justify-center z-10",type:"button",onClick:a[1]||(a[1]=$=>s.nextSlide($))},[f(q,{icon:"fa-solid fa-angle-right",class:"text-[14px]"})])])])])}const Ai=p(Os,[["render",ri]]),oi=L({name:"HeadlineWidget",components:{Link:F},props:{title:{type:String,default:"F\xF8dselsdage og jubil\xE6er"},right_button_text:{type:String,default:"Vis alle F\xF8dselsdage og jubil\xE6er"},right_button_text_mobile:{type:String,default:"Se alle"},link:String},data(){return{is_mobile:!1}},created(){this.is_mobile=window.matchMedia("(max-width: 767px)").matches}}),li={class:"flex justify-between items-center mb-6"},ci=t("div",{class:"w-full bg-[#B0B2B8] h-[1px]"},null,-1),di={class:"flex items-center justify-items-center"},_i={class:"text-2xl font-semibold text-primary text-center w-full whitespace-nowrap mx-6"},pi={class:"w-full flex justify-center items-center"},mi={class:"text-[16px] font-medium text-primary whitespace-nowrap"},ui={key:0},fi={key:1};function gi(s,a,e,m,c,d){return i(),n("div",li,[ci,t("div",di,[t("h1",_i,[t("span",null,r(s.title),1)])]),t("div",pi,[t("div",{class:k(["w-[15px] sm:w-full bg-[#B0B2B8] h-[1px]",s.link?"mr-6":""])},null,2),s.link?(i(),g(y(s.$page.props.link_component),{key:0,href:s.link,class:"border-[2px] border-primary py-[4px] px-3 rounded-md"},{default:x(()=>[t("div",mi,[s.is_mobile?(i(),n("span",fi,r(s.right_button_text_mobile),1)):(i(),n("span",ui,r(s.right_button_text),1))])]),_:1},8,["href"])):l("",!0)])])}const Hi=p(oi,[["render",gi]]),xi=L({name:"ListBlock",props:{is_theme:Boolean,is_sponsored:Boolean,articles:{type:Array,default:()=>[{title:String,link:String,image_src:String}]},heading:String,heading_url:String},components:{Link:F}}),hi={class:"relative overflow-hidden"},bi={key:0,class:"bg-primary w-full text-center translate-x-1/2 rotate-45 absolute top-[22px] right-[29px]"},yi=t("p",{class:"text-[10px] text-white font-bold"}," Sponsoreret ",-1),vi=[yi],ki={class:"flex items-center mb-3"},wi=["src"],$i={class:"text-[14px] w-[calc(100%-84px)] leading-[18px] ml-3 group-hover:underline overflow-ellipsis-3"};function Si(s,a,e,m,c,d){return i(),n("div",hi,[s.is_sponsored?(i(),n("div",bi,vi)):l("",!0),(i(),g(y(s.$page.props.link_component),{href:s.heading_url,class:"font-bold text-sm block mb-[10px] hover:underline cursor-pointer"},{default:x(()=>[h(r(s.heading),1)]),_:1},8,["href"])),(i(!0),n(b,null,w(s.articles,u=>(i(),g(y(s.$page.props.link_component),{class:"group block",href:u.link},{default:x(()=>[t("div",ki,[t("img",{src:s.get_media_url_by_orginal_image_url(u.image_src,"article_normal"),alt:"",class:"object-cover w-[84px] h-[58px] border-2"},null,8,wi),t("p",$i,r(u.title),1)])]),_:2},1032,["href"]))),256))])}const Mi=p(xi,[["render",Si]]);export{Hi as H,Ai as J,Mi as L,Ii as S,Ti as T,Li as a,Ms as b};