PageSourceSearch

https://jobnet.dk/_next/static/chunks/pages/index-d249f48aa085dc3c.js

js jobnet.dk collected 2026-10-02 03:06:09 UTC 16,855 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3332],{13025:e=>{e.exports={main:"frontPage_main__bhVi6","card-container":"frontPage_card-container__hKYo9","tertiary-arrow-button":"frontPage_tertiary-arrow-button__a8Bxz","mobile-card-container":"frontPage_mobile-card-container__A4_ct","mobile-card-header":"frontPage_mobile-card-header__xSEM3","card-header":"frontPage_card-header__5qacp",card:"frontPage_card__qQsD4","card-content":"frontPage_card-content__d6NWX",overflowInitial:"frontPage_overflowInitial__nZKdv",background:"frontPage_background__lqK_T",imageContainer:"frontPage_imageContainer__p0oWK",frontPageButtonContainer:"frontPage_frontPageButtonContainer__s4vji",footerExtension:"frontPage_footerExtension__cy3Oa",footerContainer:"frontPage_footerContainer__bL4ph",searchRow:"frontPage_searchRow__L8Zic","frontpage-h1":"frontPage_frontpage-h1__06WYm","button-section":"frontPage_button-section__LR17x",searchField:"frontPage_searchField__CQOjg"}},16760:(e,a,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(40124)}])},17098:e=>{e.exports={card:"FrontpageInfoCard_card__eQqoB",iconContainer:"FrontpageInfoCard_iconContainer__eBtqv",link:"FrontpageInfoCard_link__N_Te6",horizontalLayout:"FrontpageInfoCard_horizontalLayout__R8PQK",headerContainer:"FrontpageInfoCard_headerContainer__KbNlu",compactLayout:"FrontpageInfoCard_compactLayout__wo2hM",videoPlayerCard:"FrontpageInfoCard_videoPlayerCard__zMbxt",videoPlayerCardContainer:"FrontpageInfoCard_videoPlayerCardContainer__Bnn_i",videoPlayerFrame:"FrontpageInfoCard_videoPlayerFrame__QXOsS",videoPlayerDialogAction:"FrontpageInfoCard_videoPlayerDialogAction__IdAoU"}},33178:e=>{e.exports={button:"frontpageButton_button__RAOBb",large:"frontpageButton_large__gQdrl",fp:"frontpageButton_fp__WUlrf","button-primary":"frontpageButton_button-primary__J3y7z","button-secondary":"frontpageButton_button-secondary__Jat_q"}},40124:(e,a,t)=>{"use strict";t.r(a),t.d(a,{__N_SSP:()=>R,default:()=>Q});var n=t(37876),r=t(46817),o=t(15039),l=t.n(o),i=t(77328),s=t.n(i),d=t(89099),c=t(14232),u=t(40638),h=t.n(u);let m=({title:e,bodyText:a,onClose:t})=>(0,n.jsx)(r.fv,{col:12,className:h().infoContainer,children:(0,n.jsx)(r.Fc,{title:e,text:a,version:r.q4.Warning,canClose:!0,asRichText:!0,onClose:t})});var g=t(53523),f=t(48230),_=t.n(f),x=t(33178),p=t.n(x);let b=({buttonType:e,className:a="",children:t,large:o,testId:i,action:s})=>{let d;switch(e){case r.VQ.Primary:d="primary";break;case r.VQ.Secondary:d="secondary";break;default:d="tertiary"}let c=l()(a,p().button,p().fp,"button",`button-${d}`);o&&(c=l()(c,p().large));let u=e===r.VQ.Primary||e===r.VQ.Secondary;return"string"==typeof s?(0,n.jsxs)(_(),{"data-testid":i,href:s,className:c,children:[t,u&&(0,n.jsx)(r.In,{icon:"arrow-forward"})]}):(0,n.jsxs)(r.$n,{testId:i,onClick:s,className:c,"aria-live":void 0,children:[t,u&&(0,n.jsx)(r.In,{icon:"arrow-forward"})]})};
1var j=t(49458),v=t(90486),y=t(17098),w=t.n(y);let C=({headline:e,body:a,backgroundColor:t,iconContainer:r})=>(0,n.jsxs)("div",{style:{backgroundColor:t},className:l()(w().card,"d-flex flex-column d-md-none"),children:[(0,n.jsxs)("div",{className:"d-flex align-items-center",children:[(0,n.jsx)("h2",{className:"mr-auto",children:e}),r]}),(0,n.jsx)(v.A,{body:a})]}),N=({headline:e,body:a,backgroundColor:t,iconContainer:r})=>(0,n.jsxs)("div",{style:{backgroundColor:t},className:l()(w().card,w().horizontalLayout,"d-none d-md-flex flex-row align-items-center"),children:[(0,n.jsx)("div",{className:l()("d-flex align-items-center justify-content-left",w().headerContainer),children:(0,n.jsx)("h2",{children:e})}),(0,n.jsx)(v.A,{body:a}),r]}),I=({headline:e,body:a,backgroundColor:t,iconContainer:r})=>(0,n.jsxs)("div",{style:{backgroundColor:t},className:l()(w().card,w().compactLayout,"d-none d-md-flex flex-row"),children:[(0,n.jsxs)("div",{className:"d-flex flex-column justify-content-center",children:[(0,n.jsx)("h2",{children:e}),(0,n.jsx)(v.A,{body:a})]}),r]}),P=({url:e,title:a,backgroundColor:t})=>{let[r,o]=(0,c.useState)(!1);return(0,n.jsx)("div",{className:w().videoPlayerCardContainer,children:(0,n.jsxs)("div",{style:{backgroundColor:t},className:w().videoPlayerCard,children:[(0,n.jsx)("iframe",{title:a,"aria-label":a,className:w().videoPlayerFrame,src:e,allow:"autoplay; fullscreen"}),(0,n.jsx)("button",{className:w().videoPlayerDialogAction,onClick:()=>{o(!0)}}),(0,n.jsx)(j.A,{title:a,show:r,onClose:()=>{o(!1)},hideFooter:!0,fullscreenOnMobile:!0,closeOnEscape:!0,children:(0,n.jsx)("iframe",{title:a,"aria-label":a,className:w().videoPlayerFrame,src:e,allow:"autoplay; fullscreen"})})]})})},k=({headline:e,body:a,url:t,backgroundColor:o,target:i,horizontalLayout:s=!1,showAsVideoThumbnail:d})=>{if(d)return(0,n.jsx)(P,{url:t,title:e,backgroundColor:o});let c=t&&(0,n.jsx)("div",{className:l()("d-flex justify-content-top",w().iconContainer),children:(0,n.jsx)(r.In,{icon:"arrow-forward",fill:"var(--theme-color-primary-dark)"})}),u=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(C,{headline:e,body:a,backgroundColor:o,iconContainer:c}),s?(0,n.jsx)(N,{headline:e,body:a,backgroundColor:o,iconContainer:c}):(0,n.jsx)(I,{headline:e,body:a,backgroundColor:o,iconContainer:c})]});return t?(0,n.jsx)(_(),{href:t,className:w().link,target:i,children:u}):u};var T=t(81370),B=t(12433),$=t(87982),S=t(67054),L=t(98824),F=t(7634),A=t(46785),D=t(13025),E=t.n(D);let Q=()=>{let e,{content:a}=(0,B.H)(F.b.Frontpage),t=(0,B.Q)(a?.infoElements,"frontpageInfoElement").map(({id:e,properties:{headline:a,body:t,url:n,bgColor:r,showAsVideoThumbnail:o}})=>({id:e,props:{headline:a,body:t?.markup??"",url:n?.[0]?.url,target:n?.[0]?.target,backgroundColor:r?.value??"",showAsVideoThumbnail:o??!1}})),{serverNow:o}=(0,$.W)(),[i,u]=(0,c.useState)(!1),h=!!o&&!!a?.notificationBodyText?.markup&&(!a.notificationBoxStartTime||new Date(a.notificationBoxStartTime)<=o)&&(!a.notificationBoxEndTme||new Date(a.notificationBoxEndTme)>=o)&&!i,{isAuthenticated:f,user:_,logout:x,closeTypeOfLoginDialog:p,typeOfLogin:j,handleLoginType:v,openTypeOfLoginDialog:y}=(0,g.A)(),w=(0,d.useRouter)();if(a?.bgImages&&a.bgImages.length>0){var C,N;let t=(C=a.bgImageRotationMinutes??20,N=a.bgImages.length,Math.floor(Date.now()/(6e4*C))%N),n=a.bgImages[t].url;n&&(e=`url('${L.H.browser.PUBLIC_BFF_URL}/CmsImage/${n}')`)}let I=a?.registerAsUnemployedLink?a.registerAsUnemployedLink[0]:void 0,P=a?.helpAndSupportLink?a.helpAndSupportLink[0]:void 0,D=e=>void w.push({pathname:"/find-job",query:e?{searchString:e}:void 0});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s(),{children:(0,n.jsx)("title",{children:a?.frontpageHeadTag})}),(0,n.jsxs)(A.Ay,{className:E().main,children:[(0,n.jsx)("div",{className:E().background,style:{backgroundImage:e},children:(0,n.jsx)(r.mc,{className:`pt-6 mt-md-auto ${E().container} ${h?"":E().imageContainer}`,children:(0,n.jsxs)(r.fI,{children:[h&&(0,n.jsx)(m,{bodyText:a?.notificationBodyText?.markup,title:a?.notificationBoxTitle,onClose:()=>{u(!0)}}),(0,n.jsx)(r.fv,{col:12,className:"d-md-none mb-5",children:(0,n.jsx)(r.Zp,{className:E()["mobile-card-container"],children:(0,n.jsxs)(r.Wu,{children:[(0,n.jsx)(r.Lc,{heading:a?.findJobLabel}),(0,n.jsx)(S.A,{placeholder:a?.findJobPlaceholder,searchButtonLabel:a?.findJobButton,className:E().searchField,testId:"input-soegefelt-logindside",onSearch:D})]})})}),(0,n.jsx)(r.fv,{col:12,md:8,children:(0,n.jsxs)("section",{className:`d-flex flex-column ${h?E().frontPageButtonContainer:""}`,children:[f?_&&(0,n.jsx)(b,{large:!0,action:()=>{x()},buttonType:r.VQ.Tertiary,children:a?.logOutButtonText}):(0,n.jsx)(b,{large:!0,action:()=>{y("/find-job/min-start")},testId:"btn-logindknap-logindside",buttonType:r.VQ.Secondary,children:a?.loginLinkText}),I?.url&&(0,n.jsx)(b,{large:!0,action:f?I.url:()=>{y(I.url)},testId:"link-meld-dig-ledig-logindside",buttonType:r.VQ.Primary,children:I.title})]})}),(0,n.jsx)(r.fv,{col:12,md:{col:4},className:"d-md-flex justify-content-end",children:(0,n.jsx)("section",{className:l()("mt-md-auto","d-flex","align-items-end",h&&E().frontPageButtonContainer),children:P?.url&&(0,n.jsx)(b,{large:!0,action:P.url,className:l()(E()["tertiary-arrow-button"],"d-lg-inline-flex"),testId:"link-support-og-hjaelp",buttonType:r.VQ.Tertiary,children:P.title})})})]})})}),(0,n.jsx)("div",{className:E().footerExtension,children:(0,n.jsxs)(r.mc,{className:`mt-md-auto ${E().footerContainer}`,children:[(0,n.jsx)(r.fI,{className:E().searchRow,children:(0,n.jsx)(r.fv,{col:12,className:"d-none d-md-flex",children:(0,n.jsx)(r.fv,{md:12,className:E()["card-container"],children:(0,n.jsx)(r.Zp,{className:l()(E().overflowInitial,E()["search-field-round-card"]),children:(0,n.jsxs)(r.Wu,{children:[(0,n.jsx)(r.Lc,{heading:a?.findJobLabel}),(0,n.jsx)(S.A,{placeholder:a?.findJobPlaceholder,searchButtonLabel:a?.findJobButton,className:E().searchField,testId:"input-soegefelt-logindside",onSearch:D})]})})})})}),t.length>0&&(0,n.jsx)(r.fI,{className:l()("mt-6 mb-6"),children:t.map(({id:e,props:a})=>(0,n.jsx)(r.fv,{md:1===t.length?12:6,col:12,children:(0,n.jsx)(k,{...a,horizontalLayout:1===t.length})},e))})]})})]}),(0,n.jsx)(T.A,{showDialog:j?.showDialog,dismiss:p,loginWith:v})]})};var R=!0},40638:e=>{e.exports={infoContainer:"advisoryBox_infoContainer__OQVlG"}},67054:(e,a,t)=>{"use strict";t.d(a,{A:()=>m});var n=t(37876),r=t(46817),o=t(15039),l=t.n(o),i=t(88992),s=t(90168),d=t(14232),c=t(99365),u=t(90482),h=t.n(u);let m=({initialQuery:e="",placeholder:a,searchButtonLabel:t="S\xf8g",onSearch:o,className:u,testId:m})=>{let{suggestions:g,handleComplete:f}=((e="")=>{let[a,t]=(0,d.useState)(e),n=!!a,{data:r,isPending:o}=(0,c.GQn)({queryParams:{query:a}},{enabled:n});return{isPending:o,suggestions:n?r??[]:[],handleComplete:e=>t(e&&e.length>2?e.trim():""),clearQuery:()=>t("")}})(e),_=(0,i.mN)({values:{searchString:e}}),x=_.handleSubmit(({searchString:e})=>{o?.(e)}),p=l()(h().container,u);return(0,n.jsx)(i.Op,{..._,children:(0,n.jsxs)("form",{onSubmit:e=>{x(e).catch(console.error)},className:p,role:"search",children:[(0,n.jsx)(s.A,{name:"searchString",suggestions:g,onComplete:f,onSelect:()=>{x().catch(console.error)},className:h().typeahead,placeholder:a,maxLength:100,testId:m}),(0,n.jsxs)("button",{type:"submit",className:h().submit,"data-testid":m?`btn-submit-${m}`:"btn-submit",children:[(0,n.jsx)(r.In,{icon:"search"}),(0,n.jsx)("span",{children:t})]})]})})}},85294:e=>{e.exports={container:"Typeahead_container__fs57y","full-width":"Typeahead_full-width__DCNOK",inner:"Typeahead_inner__R6ucB",downward:"Typeahead_downward__F7xDj",upward:"Typeahead_upward__9wx7C",clear:"Typeahead_clear__rWXGD",fetching:"Typeahead_fetching__RMqlY",icon:"Typeahead_icon__IGjBE",suggestions:"Typeahead_suggestions___UBKY",visible:"Typeahead_visible__YeY8q",createItem:"Typeahead_createItem__mufSt"}},87982:(e,a,t)=>{"use strict";t.d(a,{W:()=>o});var n=t(14232),r=t(99365);let o=()=>{let{data:e,isLoading:a,isError:t}
1=(0,r.KrV)({},{staleTime:6e5,gcTime:0}),o=e?.serverDateTime;return{isLoading:a,isError:t,serverNow:(0,n.useMemo)(()=>o?new Date(o):null,[o])}}},90168:(e,a,t)=>{"use strict";t.d(a,{A:()=>g});var n=t(37876),r=t(46817),o=t(15039),l=t.n(o),i=t(14232),s=t(88992);let d=()=>(0,n.jsx)("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{fill:"currentcolor",d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})}),c=({highlight:e,children:a})=>{let t=(0,i.useMemo)(()=>e?.replaceAll(/[.*+?^${}()|[\]\\]/g,"\\$&"),[e]),r=(0,i.useMemo)(()=>RegExp(`(${t})`,"gi"),[t]);if(!e?.trim())return a;let o=e.toLowerCase();return(0,n.jsx)(n.Fragment,{children:a?.split(r).filter(Boolean).map((e,a)=>e.toLowerCase()===o?(0,n.jsx)("mark",{children:e},`${a}-${e}`):(0,n.jsx)("span",{children:e},`${a}-${e}`))})};var u=t(85294),h=t.n(u);let m=({ident:e,visible:a,suggestions:t,activeIndex:o,setActiveIndex:i,highlight:s,onSelect:d,testId:u,menuDirection:m="downward",showCreateEntry:g,createEntryPosition:f})=>{let _=l()(h().suggestions,{[h().visible]:a,[h().downward]:"downward"===m,[h().upward]:"upward"===m});return(0,n.jsx)("div",{className:_,children:t.length>0&&(0,n.jsx)("ul",{id:`listbox-${e}`,"data-testid":u?`listbox-${u}`:void 0,role:"listbox","aria-labelledby":`input-${e}`,onMouseDown:e=>{e.preventDefault()},onMouseOver:e=>{let a=e.target.closest('li[role="option"]');a&&i(Number(a.dataset.index))},onClick:e=>{e.preventDefault();let a=e.target.closest('li[role="option"]');if(!a)return -1;let t=Number(a.dataset.index);i(t),d(t)},tabIndex:0,children:t.map((a,l)=>(0,n.jsx)("li",{id:`suggestion-${e}-${l}`,role:"option","aria-selected":l===o,"data-index":l,"data-testid":u?`suggestion-${u}-${l}`:void 0,children:g&&(f&&"last"!==f?0===l:l===t.length-1)?(0,n.jsxs)("div",{className:h().createItem,children:[(0,n.jsx)(r.In,{icon:"plus"}),(0,n.jsx)("span",{children:a})]}):(0,n.jsx)(c,{highlight:s,children:a})},`${e}-${l}`))})})},g=(0,i.forwardRef)(({name:e,rules:a,label:t,suggestions:o=[],onInput:c,onComplete:u,onSelect:g,onClear:f,onFocus:_,onBlur:x,placeholder:p,className:b,isFetching:j,maxLength:v,testId:y,icon:w,menuDirection:C="downward",creatable:N,formatCreateLabel:I,createEntryPosition:P,onCreate:k,fullWidth:T},B)=>{let $=(0,i.useRef)(null),S=(0,i.useRef)(null),L=(0,i.useId)(),{field:F,fieldState:{error:A}}=(0,s.as)({name:e,rules:a,defaultValue:""}),{setValue:D,resetField:E}=(0,s.xW)(),[Q,R]=(0,i.useState)(F.value),[q,M]=(0,i.useState)(F.value),[O,V]=(0,i.useState)(!1),[W,K]=(0,i.useState)(!1),[z,J]=(0,i.useState)(-1),[U,Y]=(0,i.useState)(),[X,G]=(0,i.useState)(!1),Z=o.some(e=>e.toLocaleLowerCase()===F.value.toLocaleLowerCase()),H=!!N&&F.value.trim().length>0&&!Z,ee=H?(I??(e=>`Opret "${e}"`))(F.value.trim()):"",ea=H?P&&"last"!==P?[ee,...o]:[...o,ee]:o;(ea.length!==U?.length||ea.some((e,a)=>
1e!==U[a]))&&(Y(ea),J(-1),X&&V(!W&&ea.length>0));let et=a=>{D(e,a,{shouldDirty:!0,shouldTouch:!0})},en=()=>{null!==S.current&&(clearTimeout(S.current),S.current=null)},er=e=>{en(),et(e),M(e),R(e)},eo=e=>{let a=document.getElementById(`suggestion-${L}-${e}`);a?.scrollIntoView({block:"nearest",behavior:"smooth"})},el=l()(h().container,{[h()["full-width"]]:T},b),ei=l()(h().inner,{[h().downward]:O&&"downward"===C,[h().upward]:O&&"upward"===C}),es=!!a?.required,ed=!!A;return(0,n.jsx)(r.gE,{name:e,label:t,required:es,hasError:ed,errorId:`error-${L}`,inputId:`input-${L}`,containerProps:{className:el},children:(0,n.jsxs)("div",{className:ei,children:[(0,n.jsx)("input",{...F,id:`input-${L}`,className:"form-input",ref:e=>{$.current=e,F.ref(e),"function"==typeof B?B(e):B&&(B.current=e)},onInput:e=>{let a=e.currentTarget.value;null!==S.current&&clearTimeout(S.current),S.current=setTimeout(()=>{M(a),a.trim()&&u?.(a)},200),c?.(a)},onKeyDown:e=>{switch(K(!1),e.key){case"ArrowDown":!O&&ea.length>0&&V(!0),ea.length>0&&J(e=>{let a=e===ea.length-1?0:e+1;return eo(a),a});break;case"ArrowUp":!O&&ea.length>0&&V(!0),ea.length>0&&J(e=>{let a=0===e||-1===e?ea.length-1:e-1;return eo(a),a});break;case"Escape":e.preventDefault(),et(Q),M(Q),$.current?.blur();break;case"Tab":M(F.value);break;case"Enter":if(e.preventDefault(),H)if((P&&"last"!==P?0===z:z===o.length)||-1===z){let e=$.current?.value??F.value;er(e),k?.(e)}else{er(ea[z]);let e="last"===P?z:z-1;g?.(e)}else -1===z?er($.current?.value??F.value):er(ea[z]),g?.(z);J(-1),V(!1),K(!0)}},onMouseDown:()=>{!O&&ea.length>0&&V(!0)},onFocus:()=>{G(!0),ea.length>0&&V(!0),_?.()},onBlur:()=>{G(!1),K(!1),V(!1),J(-1),x?.()},type:"search",placeholder:p,autoCapitalize:"off",autoCorrect:"off",autoComplete:"off",spellCheck:!1,maxLength:v,"aria-controls":`listbox-${L}`,"aria-owns":`listbox-${L}`,"aria-expanded":O,"aria-haspopup":"listbox","aria-required":es,"aria-invalid":ed,"aria-errormessage":ed?`error-${L}`:void 0,"aria-activedescendant":z>-1?`suggestion-${L}-${z}`:void 0,role:"combobox","data-testid":y}),F.value&&j&&(0,n.jsx)("div",{className:h().fetching,children:(0,n.jsx)("div",{className:"spinner spinner-small"})}),F.value&&(0,n.jsx)("div",{className:h().clear,children:(0,n.jsx)("button",{type:"button",onClick:()=>{en(),E(e,{keepDirty:!0,keepTouched:!0,defaultValue:""}),M(""),R(""),$.current?.focus(),f?.()},onMouseDown:e=>{e.preventDefault()},"aria-label":"Nulstil",children:(0,n.jsx)(d,{})})}),!F.value&&w&&(0,n.jsx)("label",{htmlFor:`input-${L}`,className:h().icon,children:(0,n.jsx)(r.In,{icon:w})}),(0,n.jsx)(m,{ident:L,testId:y,visible:O,suggestions:ea,activeIndex:z,setActiveIndex:J,highlight:q,onSelect:e=>{if(K(!0),V(!1),H)if(P&&"last"!==P?0===e:e===o.length)er(F.value),k?.(F.value);else{er(ea[e]);let a="first"===P?e-1:e;g?.(a)}else er(ea[e]),g?.(e)},menuDirection:C,showCreateEntry:H,createEntryPosition:P})]})})})},90482:e=>{e.exports={container:"SearchField_container__AOfuE",typeahead:"SearchField_typeahead__7lblB"}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=16760)),_N_E=e.O()}]);

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.