1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,40478,e=>{"use strict";var l=e.i(43476),t=e.i(60491),s=e.i(82716),a=e.i(9103);let r=({post:e})=>{if(!e)return null;let{emne:t,forfatter:r,oprettet_ts:i,tekst:n}=e;return(0,l.jsx)("li",{className:"list-group-item",children:(0,l.jsxs)("details",{className:a.default.details,children:[(0,l.jsx)("summary",{className:a.default.summary,children:(0,l.jsxs)("div",{children:[(0,l.jsx)("h5",{className:"proxima",children:t}),(0,l.jsxs)("div",{className:a.default.byline,children:[(0,l.jsx)("div",{className:"fst-italic",children:r&&(0,l.jsxs)("span",{children:["Af ",r]})}),(0,l.jsx)("div",{className:"fst-italic",children:(0,s.niceDate)(i)})]})]})}),(0,l.jsx)("div",{className:"mt-2",children:(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:n}})})]})})},i=({posts:e})=>e&&0!==e.length?(0,l.jsx)("ul",{className:"list-group",children:e.map((e,t)=>(0,l.jsx)(r,{post:e},t))}):(0,l.jsx)("p",{className:"fst-italic",children:"Der er ingen kommentarer til denne artikel"});var n=e.i(92459),d=e.i(24222);e.s(["default",0,({artikelId:e,session:s,emne:a=null})=>{let{data:r,error:o,mutate:c}=(0,t.default)(["dksites/debat",e],e=>(0,d.default)({path:e[0],rel_id:e[1]}));o&&console.error(o);let{user:u=null}=s??{};if(o)return null;let m=r&&r.length>0;return u||m?(0,l.jsxs)("div",{className:"d-print-none",children:[u&&(0,l.jsx)(n.default,{artikelId:e,emne:a,user:u,callback:()=>{c()}}),m&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h4",{className:"fw-300 proxima",children:"Debat"}),(0,l.jsx)(i,{posts:r})]})]}):null}],40478)},81414,e=>{"use strict";var l=e.i(43476),t=e.i(71645),s=e.i(49721),a=e.i(31815),r=e.i(63038);e.s(["default",0,({artikel:e})=>{let[i,n]=(0,t.useState)(!1),[d,o]=(0,t.useState)(null),[c,u]=(0,t.useState)(),{id:m,rubrik:f,manchet:p,broed_tekst:x}=e,h=`${f}. ${p} ${x}`;return i?(0,l.jsxs)("div",{className:"my-2 pb-2 text-center",children:[(0,l.jsx)(s.FontAwesomeIcon,{icon:a.faSpinner,spin:!0,className:"text-muted me-2"}),"Opretter lydfil(er)..."]}):c?(0,l.jsx)("div",{className:"alert alert-danger",children:c}):(0,l.jsxs)("div",{className:"my-1 pb-1 text-center",children:[(!d||0===d.length)&&(0,l.jsxs)("button",{className:"btn btn-link btn-sm text-muted",style:{textDecoration:"none"},onClick:()=>{n(!0),fetch(r.default.SERVERS.LYD,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:m,text:h})}).then(e=>{if(e.ok)return e.json();throw u("Der skete en fejl"),setTimeout(()=>u(null),5e3),Error(`HTTP error! status: ${e.status}`)}).then(e=>{e.urls?setTimeout(()=>{let l=e.urls;"http://localhost:5045/"===r.default.SERVERS.LYD&&(l=e.urls.map(e=>e.replace("https://lyd.dkmedier.dk/","http://localhost:5045/"))),o(l),n(!1)},1e3):(console.log("lydfil-error",e.error),n(!1))}).catch(e=>{console.log("fetch-error",e),u("Der skete en fejl..."),setTimeout(()=>u(null),5e3)})},type:"button",children:[(0,l.jsx)(s.FontAwesomeIcon,{icon:a.faVolume,className:"me-2"}),"Automatisk oplæsning"]}),d&&d.length>0&&!i&&d.map((e,t)=>(0,l.jsxs)("div",{className:"mb-0 p-4 text-white",style:{backgroundColor:r.default.farve},children:[(0,l.jsx)("div",{children:"Automatisk oplæsning"}),t>0&&(0,l.jsx)("div",{children:(0,l.jsx)("small",{children:"Afspil næste:"})}),(0,l.jsxs)("audio",{controls:!0,controlsList:"nodownload",style:{width:"100%",height:"60px"},children:[(0,l.jsx)("source",{src:e,type:"audio/mpeg"}),"Din browser understøtter ikke audio afspilning."]})]},e))]})}])},79872,e=>{e.v({activeDot:"billedgalleri-module-scss-module__mpsxAq__activeDot",arrow:"billedgalleri-module-scss-module__mpsxAq__arrow",billedetekst:"billedgalleri-module-scss-module__mpsxAq__billedetekst",billedgalleri:"billedgalleri-module-scss-module__mpsxAq__billedgalleri",caption:"billedgalleri-module-scss-module__mpsxAq__caption",counter:"billedgalleri-module-scss-module__mpsxAq__counter",dot:"billedgalleri-module-scss-module__mpsxAq__dot",dots:"billedgalleri-module-scss-module__mpsxAq__dots",foto:"billedgalleri-module-scss-module__mpsxAq__foto",image:"billedgalleri-module-scss-module__mpsxAq__image",imageWrapper:"billedgalleri-module-scss-module__mpsxAq__imageWrapper",nextArrow:"billedgalleri-module-scss-module__mpsxAq__nextArrow",prevArrow:"billedgalleri-module-scss-module__mpsxAq__prevArrow",slideInner:"billedgalleri-module-scss-module__mpsxAq__slideInner",sliderContainer:"billedgalleri-module-scss-module__mpsxAq__sliderContainer"})},21761,e=>{"use strict";var l=e.i(43476),t=e.i(71645),s=e.i(46932),a=e.i(88653),r=e.i(57688),i=e.i(49721),n=e.i(7044),d=e.i(63038),o=e.i(82716);let c=(e=700,l=475)=>{let t;return`data:image/svg+xml;base64,${t=` 2<svg width="${e}" height="${l}" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> 3 <defs> 4 <linearGradient id="g"> 5 <stop stop-color="#f0f0f0" offset="20%" /> 6 <stop stop-color="#e0e0e0" offset="50%" /> 7 <stop stop-color="#f0f0f0" offset="70%" /> 8 </linearGradient> 9 </defs> 10 <rect width="${e}" height="${l}" fill="#f0f0f0" /> 11 <rect id="r" width="${e}" height="${l}" fill="url(#g)" /> 12 <animate xlink:href="#r" attributeName="x" from="-${e}" to="${e}
12" dur="1s" repeatCount="indefinite" /> 13</svg>`,window.btoa(t)}`},u={ARTICLE:c(700,467),WIDE:c(700,394),STANDARD:c(700,525),SQUARE:c(700,700),THUMBNAIL:c(300,200)};var m=e.i(79872);let f={enter:e=>({x:e>0?1e3:-1e3,opacity:0}),center:{zIndex:1,x:0,opacity:1},exit:e=>({zIndex:0,x:e<0?1e3:-1e3,opacity:0})};e.s(["default",0,({billeder:e=[],medie:c=null})=>{let[[p,x],h]=(0,t.useState)([0,0]);if(!e||0===e.length)return null;let _=l=>{let t=p+l;t<0?t=e.length-1:t>=e.length&&(t=0),h([t,l])},b=e[p];if(!b?.large)return null;let g="kommunen"===c?`${d.default.SERVERS.KOMMUNEN_ADMIN}${b.mappe}${b.large}`:`${d.default.SERVERS.MEDIER}${b.mappe}${b.large}`;return(0,l.jsxs)("div",{className:m.default.billedgalleri,children:[(0,l.jsxs)("div",{className:m.default.counter,children:[p+1," / ",e.length]}),e.length>1&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("button",{className:`${m.default.arrow} ${m.default.prevArrow}`,onClick:()=>_(-1),"aria-label":"Forrige billede",children:(0,l.jsx)(i.FontAwesomeIcon,{icon:n.faChevronLeft})}),(0,l.jsx)("button",{className:`${m.default.arrow} ${m.default.nextArrow}`,onClick:()=>_(1),"aria-label":"Næste billede",children:(0,l.jsx)(i.FontAwesomeIcon,{icon:n.faChevronRight})})]}),(0,l.jsx)("div",{className:m.default.sliderContainer,children:(0,l.jsx)(a.AnimatePresence,{initial:!1,custom:x,children:(0,l.jsxs)(s.motion.div,{custom:x,variants:f,initial:"enter",animate:"center",exit:"exit",transition:{x:{type:"spring",stiffness:300,damping:30},opacity:{duration:.2}},drag:"x",dragConstraints:{left:0,right:0},dragElastic:1,onDragEnd:(e,{offset:l,velocity:t})=>{let s=Math.abs(l.x)*t.x;s<-1e4?_(1):s>1e4&&_(-1)},className:m.default.slideInner,children:[(0,l.jsx)("div",{className:m.default.imageWrapper,children:(0,l.jsx)(r.default,{src:g,alt:(0,o.rensTekst)(b.foto)||`Billede ${p+1}`,width:b.width,height:b.height,placeholder:"blur",blurDataURL:u.ARTICLE,priority:0===p,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 70vw, 60vw",className:m.default.image})}),(b.billedetekst||b.foto)&&(0,l.jsxs)("div",{className:m.default.caption,children:[b.billedetekst&&(0,l.jsx)("div",{className:m.default.billedetekst,dangerouslySetInnerHTML:{__html:b.billedetekst}}),b.foto&&(0,l.jsx)("div",{className:m.default.foto,dangerouslySetInnerHTML:{__html:b.foto}})]})]},p)})}),e.length>1&&(0,l.jsx)("div",{className:m.default.dots,children:e.map((e,t)=>(0,l.jsx)("button",{className:`${m.default.dot} ${t===p?m.default.activeDot:""}`,onClick:()=>{h([t,t>p?1:-1])},"aria-label":`G\xe5 til billede ${t+1}`},t))})]})}],21761)},56188,e=>{e.v({knapWrapper:"profil-module-scss-module__0_jZka__knapWrapper"})},96668,e=>{"use strict";var l=e.i(43476),t=e.i(22016),s=e.i(71645),a=e.i(95187);let r=(0,a.createServerReference)("60283444bca2c204898e8a94266f6f737cff01682f",a.callServer,void 0,a.findSourceMapURL,"login");var i=e.i(29711),n=e.i(70319),d=e.i(7565),o=e.i(41840),c=e.i(56188);e.s(["default",0,({redirectUrl:e=null,email:a=null,token:u=null})=>{let m=(0,s.useRef)(null),[f,p,x]=(0,s.useActionState)(r,{success:!1,message:null,error:null});return((0,s.useEffect)(()=>{if(a&&u&&m.current){let e=m.current.querySelector('input[name="email"]'),l=m.current.querySelector('input[name="kodeord"]');e&&l&&(e.value=a,l.value=u,m.current.requestSubmit())}},[a,u]),(0,s.useEffect)(()=>{let{error:e}=f;e&&n.toast.error(e)},[f]),x)?(0,l.jsx)(o.default,{size:"120px"}):(0,l.jsxs)("div",{className:"pb-4",children:[(0,l.jsxs)("form",{ref:m,action:p,children:[e&&(0,l.jsx)("input",{type:"hidden",name:"redirectUrl",value:e}),(0,l.jsxs)("div",{className:"form-floating mb-3",children:[(0,l.jsx)("input",{type:"email",name:"email",id:"email",className:"form-control",autoComplete:"email",defaultValue:f.payload?.get("email")??a??"",required:!0}),(0,l.jsx)("label",{htmlFor:"email",children:"Email"})]}),(0,l.jsxs)("div",{className:"form-floating mb-3",children:[(0,l.jsx)("input",{type:"password",name:"kodeord",id:"kodeord",className:"form-control",autoComplete:"current-password",defaultValue:u??"",required:!0}),(0,l.jsx)("label",{htmlFor:"kodeord",children:"Kodeord"})]}),(0,l.jsxs)("div",{className:c.default.knapWrapper,children:[(0,l.jsx)(i.default,{children:"Log ind"}),(0,l.jsx)("div",{className:"d-flex align-items-center",children:(0,l.jsx)(t.default,{href:"/profil/glemt-adgangskode",className:"text-muted",children:"Glemt adgangskode?"})})]})]}),(0,l.jsx)(d.default,{})]})}],96668)},7565,e=>{"use strict";var l=e.i(43476),t=e.i(22016);e.s(["default",0,()=>(0,l.jsx)("p",{className:"text-center my-3",children:(0,l.jsx)(t.default,{href:"/",className:"blaat-link",children:"Gå til forsiden"})})])},92459,e=>{"use strict";var l=e.i(43476),t=e.i(71645),s=e.i(49721),a=e.i(7044);let r=({initialContent:s,name:a="rte",title:r=null,callback:i,height:n="150px"})=>{let d=(0,t.useRef)(null),o=(0,t.useRef)(i);return o.current=i,(0,t.useEffect)(()=>{let l=null,t=!1;return e.A(19683).then(({default:e,langs:r,plugins:i})=>{!t&&d.current&&(l=e.create(d.current,{value:s??"",height:n,lang:r.da,plugins:[i.list,i.align,i.hr,i.table,i.link],buttonList:[["undo","redo"],["bold","underline","italic","list","subscript","superscript"],["align","hr"],["table","link"],["fullScreen"]],editorStyle:"--se-content-font-family: Arial, Helvetica, sans-serif; --se-edit-font-size: 16px; --se-edit-line-height: 1.3; --se-edit-inner-padding: 0.75em",events:{onChange:({data:e})=>{o.current?.(e,a)}}}))}),()=>{t=!0,l?.destroy()}},[a,n]),(0,l.jsxs)("div",{children:[(0,l.jsx)("textarea",{ref:d,name:a,id:a,defaultValue:""}),r&&(0,l.jsx)("label",{htmlFor:a,className:"grey-label",children:r})]})};var i=e.i(95187);let n=(0,i.createServerReference)("60d0fdbb23739db3ee7b0ed671953b31fe345f7cd6",i.callServer,void 0,i.findSourceMapURL,"opretDebatPost");var d=e.i(9103);e.s(["default",0,({artikelId:e=0,emne:i=null,parentId:o=0,user:c,callback:u=null,open:m=!1,buttonText:f="Skriv en kommentar",buttonWrapperClass:
13p="text-end"})=>{let x=i;i&&i.length>3&&!i.startsWith("Re:")&&(x=`Re: ${i}`);let{navn:h=null,kunde:_=null}=c,b=h??_?.navn??"Angiv dit navn",[g,j]=(0,t.useState)(m),v=(0,t.useRef)(""),[N,y,k]=(0,t.useActionState)(n,{success:!1,message:null,error:null});(0,t.useEffect)(()=>{let{message:e,success:l}=N;l&&e&&(j(!1),v.current="",u&&setTimeout(()=>u(),2e3))},[N,u]);let w=(0,t.useCallback)(()=>{j(e=>!e)},[]),A=(0,t.useCallback)(e=>{v.current=e},[]),S=(0,t.useCallback)(async e=>{e.set("tekst",v.current),await y(e)},[y]);return g?(0,l.jsxs)("div",{className:d.default.formWrapper,children:[(0,l.jsxs)("div",{className:"d-flex justify-content-between",children:[(0,l.jsx)("h5",{className:d.default.formTitle,children:f}),(0,l.jsx)(s.FontAwesomeIcon,{icon:a.faTimes,onClick:w,className:"text-danger"})]}),(0,l.jsxs)("form",{action:S,className:"mb-4",children:[(0,l.jsx)("input",{type:"hidden",name:"rel_id",value:e}),(0,l.jsx)("input",{type:"hidden",name:"parent",value:o}),(0,l.jsx)("input",{type:"hidden",name:"bruger_id",value:c?.id??0}),(0,l.jsxs)("div",{className:"mb-3",children:[(0,l.jsx)("input",{type:"text",name:"forfatter",id:"forfatter",defaultValue:b,required:!0,className:"form-control"}),(0,l.jsx)("label",{htmlFor:"forfatter",className:"grey-label",children:"Fulde navn"})]}),(0,l.jsxs)("div",{className:"mb-3",children:[(0,l.jsx)("input",{type:"text",name:"emne",id:"emne",defaultValue:x??"",required:!0,className:"form-control"}),(0,l.jsx)("label",{htmlFor:"emne",className:"grey-label",children:"Emne"})]}),(0,l.jsx)("div",{className:"mb-3",children:(0,l.jsx)(r,{initialContent:"",name:"tekst",title:"Indhold",height:"500px",callback:A})}),(0,l.jsx)("button",{className:"btn btn-success",type:"submit",disabled:k,children:k?"Sender...":"Send kommentar"}),N.error&&(0,l.jsx)("div",{className:"alert alert-danger my-2",dangerouslySetInnerHTML:{__html:N.error}})]})]}):(0,l.jsx)("div",{children:(0,l.jsxs)("div",{className:`${p} mb-3`,children:[(0,l.jsx)("button",{className:d.default.kommentarButton,onClick:w,children:f}),N.message&&(0,l.jsx)("div",{className:"alert alert-success my-2 text-center",dangerouslySetInnerHTML:{__html:N.message}})]})})}],92459)},9103,e=>{e.v({byline:"debat-module-scss-module__jOV_yq__byline",child:"debat-module-scss-module__jOV_yq__child",childrenWrapper:"debat-module-scss-module__jOV_yq__childrenWrapper",details:"debat-module-scss-module__jOV_yq__details",formTitle:"debat-module-scss-module__jOV_yq__formTitle",formWrapper:"debat-module-scss-module__jOV_yq__formWrapper",kommentarButton:"debat-module-scss-module__jOV_yq__kommentarButton",parentWrapper:"debat-module-scss-module__jOV_yq__parentWrapper",rubrikOgKnap:"debat-module-scss-module__jOV_yq__rubrikOgKnap",summary:"debat-module-scss-module__jOV_yq__summary"})},83740,e=>{"use strict";e.s(["faBluesky",0,{prefix:"fab",iconName:"bluesky",icon:[576,512,[],"e671","M407.8 294.7c-3.3-.4-6.7-.8-10-1.3 3.4 .4 6.7 .9 10 1.3zM288 227.1C261.9 176.4 190.9 81.9 124.9 35.3 61.6-9.4 37.5-1.7 21.6 5.5 3.3 13.8 0 41.9 0 58.4S9.1 194 15 213.9c19.5 65.7 89.1 87.9 153.2 80.7 3.3-.5 6.6-.9 10-1.4-3.3 .5-6.6 1-10 1.4-93.9 14-177.3 48.2-67.9 169.9 120.3 124.6 164.8-26.7 187.7-103.4 22.9 76.7 49.2 222.5 185.6 103.4 102.4-103.4 28.1-156-65.8-169.9-3.3-.4-6.7-.8-10-1.3 3.4 .4 6.7 .9 10 1.3 64.1 7.1 133.6-15.1 153.2-80.7 5.9-19.9 15-138.9 15-155.5s-3.3-44.7-21.6-52.9c-15.8-7.1-40-14.9-103.2 29.8-66.1 46.6-137.1 141.1-163.2 191.8z"]},"faSpotify",0,{prefix:"fab",iconName:"spotify",icon:[512,512,[],"f1bc","M256 8a248 248 0 1 0 0 496 248 248 0 1 0 0-496zM356.7 372.9c-4.2 0-6.8-1.3-10.7-3.6-62.4-37.6-135-39.2-206.7-24.5-3.9 1-9 2.6-11.9 2.6-9.7 0-15.8-7.7-15.8-15.8 0-10.3 6.1-15.2 13.6-16.8 81.9-18.1 165.6-16.5 237 26.2 6.1 3.9 9.7 7.4 9.7 16.5s-7.1 15.4-15.2 15.4zm26.9-65.6c-5.2 0-8.7-2.3-12.3-4.2-62.5-37-155.7-51.9-238.6-29.4-4.8 1.3-7.4 2.6-11.9 2.6-10.7 0-19.4-8.7-19.4-19.4s5.2-17.8 15.5-20.7c27.8-7.8 56.2-13.6 97.8-13.6 64.9 0 127.6 16.1 177 45.5 8.1 4.8 11.3 11 11.3 19.7-.1 10.8-8.5 19.5-19.4 19.5zm31-76.2c-5.2 0-8.4-1.3-12.9-3.9-71.2-42.5-198.5-52.7-280.9-29.7-3.6 1-8.1 2.6-12.9 2.6-13.2 0-23.3-10.3-23.3-23.6 0-13.6 8.4-21.3 17.4-23.9 35.2-10.3 74.6-15.2 117.5-15.2 73 0 149.5 15.2 205.4 47.8 7.8 4.5 12.9 10.7 12.9 22.6 0 13.6-11 23.3-23.2 23.3z"]}])},19683,e=>{e.v(l=>Promise.all(["static/chunks/1zu6am3g3ctde.js"].map(l=>e.l(l))).then(()=>l(7006)))}]);
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.