import{F as w,D as J}from"./DesktopLayout.cf829f6b.js";import{L as D,J as B,S as W,T as I,a as L,H as V}from"./ListBlock.9062bdeb.js";import{M}from"./MediumAdWidget.fea3456f.js";import{J as E}from"./JobArticle.02ae158a.js";import{_ as y}from"./_plugin-vue_export-helper.cdc0426e.js";import{d as A,r as s,o as r,b as a,a as t,g as i,t as x,s as c,L as P,c as n,w as S,f as z,F as _,y as u,I as H,z as N,A as R}from"./app.f791ceab.js";import{A as T}from"./ArticleWidget.1db91f15.js";import"./clipboard.88f1b6df.js";const O=A({name:"JobCarouselVerticalCards",components:{FontAwesomeIcon:w},props:{job_description:{heading:String,commune:String,date:String,image:String,ribbon_nyt:Boolean,external_link:String}}}),Y=["href"],q={class:"w-[300px] h-[150px] border-2 flex justify-between"},G={class:"w-[300px] overflow-hidden flex flex-col justify-between p-3 relative"},K={key:0,class:"bg-primary w-full text-center translate-x-1/2 rotate-45 absolute top-[10px] right-[18px]"},Q=t("p",{class:"text-[10px] text-white font-bold"},"NYT",-1),U=[Q],X={class:""},Z={class:"text-sm font-semibold leading-5 max-w-[95%] h-[50px]"},ee={class:"flex justify-between items-end mt-3 bottom-0"},te={class:"flex items-center mb-2"},re={class:"text-gray-400 text-xs ml-3"},se={class:"flex"},ae={class:"text-gray-400 text-xs ml-2"},oe={key:0,class:"flex justify-end w-[75px] h-[40px]"},ne=["src"];function ie(e,l,g,k,j,m){const o=s("FontAwesomeIcon");return r(),a("a",{href:e.job_description.external_link,target:"_blank"},[t("div",q,[t("div",G,[e.job_description.ribbon_nyt?(r(),a("div",K,U)):i("",!0),t("div",X,[t("h3",Z,x(e.job_description.heading),1)]),t("div",ee,[t("div",null,[t("div",te,[c(o,{icon:"fa-solid fa-map-pin",class:"text-gray-400"}),t("p",re,x(e.job_description.commune),1)]),t("div",se,[c(o,{icon:"fa-regular fa-calendar",class:"text-gray-400"}),t("p",ae,"Frist: "+x(e.job_description.date),1)])]),e.job_description.image?(r(),a("div",oe,[t("img",{src:e.job_description.image,alt:"",class:"h-full object-contain"},null,8,ne)])):i("",!0)])])])],8,Y)}const le=y(O,[["render",ie]]),de={name:"JobCarouselVertical",components:{JobCarouselVerticalCards:le,JobArticle:E,FontAwesomeIcon:w,Link:P},props:{job_descriptions:Array},data(){return{}},computed:{jobdescription_chunks_count(){return Math.ceil(this.job_descriptions.length/3)}},methods:{nextSlide(){typeof document>"u"||document.getElementById("job-carousel-vertical").scrollBy(300,0)},prevSlide(){typeof document>"u"||document.getElementById("job-carousel-vertical").scrollBy(-300,0)}}},ce={class:"relative w-[300px] h-[525px]"},me={class:"flex justify-between mb-[10px]"},pe=t("div",null,[t("h2",{class:"font-bold text-[14px] text-primary"},"Jobopslag")],-1),_e={class:"flex"},ue={id:"job-carousel-vertical",class:"flex flex-row overflow-x-scroll scroll-smooth touch-auto snap-x snap-mandatory no-scrollbar gap-[25px]"},ge={class:"flex flex-col gap-[20px]"};function fe(e,l,g,k,j,m){const o=s("FontAwesomeIcon"),f=s("JobCarouselVerticalCards");return r(),a("div",ce,[t("div",me,[pe,t("div",_e,[t("button",{onClick:l[0]||(l[0]=d=>m.prevSlide()),class:"rounded-full bg-gray-50 shadow-custom-sm-buttons w-6 h-6 mr-1 flex items-center justify-center"},[c(o,{icon:"fa-solid fa-angle-left",class:"text-[10px]"})]),t("button",{onClick:l[1]||(l[1]=d=>m.nextSlide()),class:"rounded-full bg-gray-50 shadow-custom-sm-buttons w-6 h-6 mr-1 flex items-center justify-center"},[c(o,{icon:"fa-solid fa-angle-right",class:"text-[10px]"})]),(r(),n(z(e.$page.props.link_component),{href:e.route("jobs_archive",{},!1),class:"rounded-full bg-primary shadow-custom-sm-buttons w-6 h-6 mr-1 flex items-center justify-center"},{default:S(()=>[c(o,{icon:"fa-solid fa-link",class:"text-white text-[10px]"})]),_:1},8,["href"]))])]),t("div",ue,[(r(!0),a(_,null,u(m.jobdescription_chunks_count,d=>(r(),a("div",ge,[(r(!0),a(_,null,u(g.job_descriptions.slice((d-1)*3,d*3),b=>(r(),n(f,{job_description:b,class:"snap-start"},null,8,["job_description"]))),256))]))),256))])])}const be=y(de,[["render",fe]]);const he=A({name:"ArticlePage",components:{ListBlock:D,ArticleWidget:T,JobCarouselVertical:be,JobCarousel:B,ScrollableListWidget:W,TrialBanner:I,DesktopLayout:J,ArticleFull:L,MediumAdWidget:M,HeadlineWidget:V},props:{meta:{type:Object,default:()=>({title:"Artikel"})},article_pagination:{type:[Array,Object]},sponsored_articles:Array,related_articles:Array,job_descriptions:Array,press_releases_list:Array,ads_new:Array,article:{type:Object,default:()=>[{image:{src:"/images/hovedbillede.png",caption:"Der har v\xE6ret en stigning i antallet af \xE6ldre under den nuv\xE6rende regering, men antallet af hjemmehj\xE6lpstimer er ikke fulgt med. - Foto: Martin Sylvest/Ritzau Scanpix",alt:""},heading:"Faldet i hjemmehj\xE6lpstimer pr. \xE6ldre forts\xE6tter",subheading:"Faldet i hjemmehj\xE6lpstimer pr. \xE6ldre er mindsket under den nuv\xE6rende regering, men der bliver stadigt f\xE6rre hjemmehj\xE6lpstimer pr. modtager for s\xE6rligt de \xE6ldste borgere.",body:`<p class="text-[20px] leading-[32px] mb-6">
            En gennemsnitlig 85-\xE5rig i Danmark f\xE5r 3,5 procent f\xE6rre hjemmehj\xE6lpstimer i dag end i 2019, da den socialdemokratiske regering kom til magten. Det viser nye tal fra Danmarks Statistik. Fra 2015 til 2019 faldt antallet hjemmehj\xE6lpstimer pr. 85-\xE5rig med 14,3 procent.
        </p>
        <div>
            <img src="/images/dk.png" alt="" class="w-full">
            <p class="font-light italic text-[14px] text-gray-400 my-3">Der har v\xE6ret en stigning i antallet af \xE6ldre under den nuv\xE6rende regering, men antallet af hjemmehj\xE6lpstimer er ikke fulgt med. - Foto: Martin Sylvest/Ritzau Scanpix</p>
        </div>

        <p class="text-[20px] leading-[32px] my-2">
            Dermed er faldet v\xE6sentligt mindre nu, end det tidligere har v\xE6ret, men der bliver fortsat f\xE6rre hjemmehj\xE6lpstimer til hver borger.
        </p>

        <div class="bg-gray-100 w-full h-[130px] flex justify-center items-center">
            <img src="/images/bannerAdd.png" alt="" class="w-[728px] h-[90px]">
        </div>

        <p class="text-[20px] leading-[32px] my-2">
            Det sker til trods for, at regeringen nu har indg\xE5et fire \xF8konomiaftaler med kommunerne med l\xF8fter til borgerne om, at de \xE6ldre ikke f\xE5r en forringet service i...
        </p>

        <p class="text-[20px] leading-[32px] mt-6">
            Det sker til trods for, at regeringen nu har indg\xE5et fire \xF8konomiaftaler med kommunerne med l\xF8fter til borgerne om, at de \xE6ldre ikke f\xE5r en forringet service i...
        </p>`,journalist:{name:"Peter Risager",link:"",email:"peter@nb-medier.dk"},tags:[{tag:"\xC6ldre",tag_link:"/\xE6ldre"},{tag:"Artikel",tag_link:"/artikel"},{tag:"\xD8konomi",tag_link:"/\xF8konomi"}],themes:[{theme:"Fakta og tal",theme_link:"/faktaogtal"},{theme:"\xD8konomiaftale",theme_link:"/\xF8konomiaftale"}],last_edited:"10/06/22 - 10:35"}]}},methods:{loop_ads(){let e={...this.ads_new};return delete e.ad_leaderboard,delete e.top_banner,e}},mounted(){typeof document>"u"||document.dispatchEvent(new Event("paywall_do_load"))}}),xe=e=>(N("data-v-d1ecfce9"),e=e(),R(),e),ye={class:"grid articlepage-grid gap-[25px] mt-[30px]"},ke=xe(()=>t("div",{style:{"grid-area":"gap"},class:"hidden lg:block"},null,-1));function je(e,l,g,k,j,m){var v;const o=s("ArticleFull"),f=s("MediumAdWidget"),d=s("JobCarouselVertical"),b=s("JobCarousel"),ve=s("ScrollableListWidget"),$=s("HeadlineWidget"),C=s("ArticleWidget"),F=s("DesktopLayout");return r(),n(F,{main_class:"bg-white container",title:(v=e.meta)==null?void 0:v.title,top_banner:e.ads_new.top_banner},{default:S(()=>[t("section",ye,[c(o,{class:"article-single",article:e.article,article_pagination:e.article_pagination,ad_leaderboard:e.ads_new.ad_leaderboard,ad_id:"ad_leaderboard"},null,8,["article","article_pagination","ad_leaderboard"]),(r(!0),a(_,null,u(e.loop_ads(),(h,p)=>(r(),n(f,{ad:h,ad_id:p,class:"w-[300px] mx-auto"},null,8,["ad","ad_id"]))),256)),e.job_descriptions.length?(r(),n(d,{key:0,job_descriptions:e.job_descriptions,header_big:!1,class:"w-[300px] mx-auto md:hidden lg:block"},null,8,["job_descriptions"])):i("",!0),e.job_descriptions?(r(),n(b,{key:1,job_descriptions:e.job_descriptions,header_big:!1,style:{"grid-area":"job-carousel"},class:"job-carousel hidden md:block lg:hidden my-auto"},null,8,["job_descriptions"])):i("",!0),i("",!0),ke,e.related_articles?(r(),n($,{key:3,title:"Relaterede artikler",right_button_text:"",link:"",style:{"grid-area":"headline"},class:"my-10"})):i("",!0),e.related_articles?(r(!0),a(_,{key:4},u(e.related_articles,(h,p)=>(r(),n(C,{article:h,key:p,style:H(`grid-area: related-article-${p}`),class:"w-[300px] mx-auto"},null,8,["article","style"]))),128)):i("",!0)])]),_:1},8,["title","top_banner"])}const Be=y(he,[["render",je],["__scopeId","data-v-d1ecfce9"]]);export{Be as default};