PageSourceSearch

https://gaeldst.dk/_next/static/chunks/2386.b4a6dd5de898ad42.js

js gaeldst.dk collected 2026-09-25 15:16:23 UTC 9,151 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2386],{13589:function(e,t,l){"use strict";l.d(t,{t:function(){return o}});var n=l(85893),i=l(9008),a=l.n(i);let o=e=>{let{title:t,url:l}=e;return(0,n.jsxs)(a(),{children:[(0,n.jsx)("link",{rel:"alternate",type:"application/rss+xml",title:t,href:l}),";"]})}},92386:function(e,t,l){"use strict";l.r(t),l.d(t,{CatalogPageFeature:function(){return b}});var n=l(85893),i=l(16740),a=l(25623),o=l(28990),r=l(4406),u=l(80305),s=l(13589),c=l(95564),d=l(73312),g=l(31873),v=l(21703),p=l(37780),_=l(67294);function x(){return(x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}var h=function(e){return _.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 32 32"},e),_.createElement("circle",{cx:16,cy:16,r:16,style:{fill:"#0c0c3b"}}),_.createElement("path",{d:"M20.4 22c0-6.3-5.1-11.4-11.4-11.4V8c7.7 0 14 6.3 14 14zm-9.6 0c-1 0-1.8-.8-1.8-1.8s.8-1.8 1.8-1.8 1.8.8 1.8 1.8-.9 1.8-1.8 1.8m4.3 0c0-3.4-2.7-6.1-6.1-6.1v-2.6c4.8 0 8.8 3.9 8.8 8.8h-2.7z",style:{fillRule:"evenodd",clipRule:"evenodd",fill:"#fff"}}))},T=l(11752),m=l.n(T);let f=e=>e?e.map(e=>{var t,l;if(null==e?void 0:null===(l=e.content)||void 0===l?void 0:null===(t=l.properties)||void 0===t?void 0:t.preSelectedFilters)return[];let n=e.content.properties.folder[0].properties.filter(e=>"tagsGroupFolder"!==e.contentType&&"typesGroupFolder"!==e.contentType);return null==n?void 0:n.map(e=>{var t,l,n,i;return(null===(t=e.properties)||void 0===t?void 0:t.customText)!==null&&(null===(l=e.properties)||void 0===l?void 0:l.customText)!==void 0?{title:null===(n=e.properties)||void 0===n?void 0:n.customText,value:null===(i=e.properties)||void 0===i?void 0:i.generatedKey}:{title:e.name.replaceAll("_"," "),value:e.name}})}).flat():[],b=e=>{var t,l,x,T,b,I;let{additionalTop:V,additionalPageContent:L,alertContent:S,bannerContent:y,catalogContent:j,hideImages:P,heading:w,teaser:D,filters:C,noItemsMessage:A,catalogListItems:F,rssConfig:O,rssFeedUrl:k,moduleContainerSettings:R,choosenDropdownFilters:E,searchWord:N,dateRange:M}=e,z=(0,i.S)(),B=(0,a.lO)(),{DOMAIN_PROTOCOL:W}=null!==(b=null===(t=m()())||void 0===t?void 0:t.publicRuntimeConfig)&&void 0!==b?b:{},[H,q]=(0,_.useState)(!1),[X,J]=(0,_.useState)(!1),[G,K]=(0,_.useState)([]),[Y,Z]=(0,_.useState)([]),[Q,U]=(0,_.useState)(null),{hideDates:$}=null!==(I=null==B?void 0:B.configuration)&&void 0!==I?I:{},ee=null==y?void 0:null===(l=y.items)||void 0===l?void 0:l[0],et=null==ee?void 0:ee.content.properties.fullWidthImage;(0,_.useEffect)(()=>{var e,t;if(!F)return;let l=null==F?void 0:F.map(e=>{let{expirationDate:t,link:l,date:i,image:a}=null!=e?e:{},o=null==t?void 0:t.split("T")[0];return{...e,image:P?null:a,date:$?null:i,link:(0,n.jsx)(g.H,{url:l.url,title:l.name}),expirationDate:1===new Date(o).getFullYear()?void 0:o}}),i=null==C?void 0:null===(e=C.items)||void 0===e?void 0:e.filter(e=>{var t;return(null==e?void 0:null===(t=e.content)||void 0===t?void 0:t.contentType)==="tagFolderPicker"}),a=null==C?void 0:null===(t=C.items)||void 0===t?void 0:t.filter(e=>{var t;return(null==e?void 0:null===(t=e.content)||void 0===t?void 0:t.contentType)==="typesFolderPicker"}),o=f(i),r=f(a);K(o),Z(r),J(l.some(e=>e.expirationDate)),U(l)},[F,C,$,P]);let el=null==k?void 0:k.replace("".concat(W,"://").concat(B.host),"");return(0,n.jsxs)(n.Fragment,{children:[O&&(null==O?void 0:O.items.length)===1&&(0,n.jsx)(s.t,{title:O.items[0].content.properties.title,url:el}),(0,n.jsx)(u.h,{moduleContainerSettings:R,alerts:(null==S?void 0:null===(x=S.items)||void 0===x?void 0:x.length)>0&&(0,n.jsx)(c.K,{alertContent:S}),additionalTop:V,additionalTopSettings:{fullWidth:{hasFullWidthLanguageBar:et,hasFullWidthBanner:et,hasFullWidthHeader:!1}},additionalPageContent:L,heading:w,teaser:D,noItemsMessage:A,filters:(0,n.jsx)(r.u,{filters:[{groupId:(null==G?void 0:G.length)?p.Xj:null,label:(null==G?void 0:G.length)?z.getLabel("Category"):null,options:G},{groupId:(null==Y?void 0:Y.length)?p.cp:null,label:(null==Y?void 0:Y.length)?z.getLabel("Type"):null,options:Y}],removeFilter:z.getAction("RemoveFilter"),onShowHistoricChange:X?e=>q(e):void 0,historicCheckboxLabel:z.getLabel("HistoricalArchive"),choosenDropdownFilters:E||null,searchWord:N||null,dateRange:M||null,texts:{searchPlaceholder:z.getSearch("Placeholder"),searchActionAriaLabel:z.getSearch("Search"),nextMonth:z.getLabel("NextMonth"),previousMonth:z.getLabel("PreviousMonth"),dateRangePlaceholder:z.getLabel("DateRangePlaceholder")}}),catalogList:((e,t)=>{if(e)return e.some(e=>e.expirationDate)?e.filter(e=>{let l=new Date(e.expirationDate);return t?e.expirationDate&&l.getTime()<new Date().getTime():!e.expirationDate||l.getTime()>
1new Date().getTime()}):e})(Q,H),ctaLink:O&&(null==O?void 0:O.items.length)===1?(0,n.jsx)(g.H,{url:el,target:"blank",children:(0,n.jsx)(o.j,{icon:(0,n.jsx)(h,{}),iconSize:"sm",text:z.getAction("SubscribeWithRSS")})}):null,pageSizeOptions:[10,20],pageSizeAllOption:z.getLabel("All"),pageSizeOptionsDefaultValueIndex:1,paginationErrorText:z.getError("CatalogPagination"),paginationTexts:{totalResultsText:z.getLabel("TotalResults"),showText:z.getAction("Show").toLowerCase(),resultsPerPageText:z.getLabel("ResultsPerPage").toLowerCase(),pageText:z.getLabel("Page"),outOfText:z.getLabel("OutOf").toLowerCase(),pagesText:z.getLabel("Pages").toLowerCase()},paginationAriaLabels:{selectInputAriaLabel:z.getLabel("NumberOfResultsPerPage"),textInputAriaLabel:z.getLabel("CurrentPage"),prevButtonAriaLabel:z.getLabel("PreviousPage"),nextButtonAriaLabel:z.getLabel("NextPage")},loadingText:z.getServiceInfo("FetchingData"),topBanner:(null==y?void 0:null===(T=y.items)||void 0===T?void 0:T.length)>0&&(0,n.jsx)(v.k,{bannerContent:y}),catalogContent:j?j.items.map((e,t)=>(0,n.jsx)(d.E,{contentModule:e},t)):null})]})}},80526:function(e,t,l){"use strict";l.d(t,{T:function(){return i},j:function(){return a}});var n=l(73413);let i=e=>n.b.get(e).then(e=>e.data),a=e=>n.b.post("/api/indexSearch",e).then(e=>e.data)},37780:function(e,t,l){"use strict";l.d(t,{OM:function(){return u},Xj:function(){return a},cp:function(){return o}});var n=l(80526),i=l(44389);let a="tags",o="types",r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return null==e?void 0:e.TypedDocuments.map(e=>{var l;let{Title:n,Description:i,Url:a,ArticleImage:o,ArticleDate:r,ArticleId:u,ArticleExpirationDate:s,ArticleTags:c,ArticleTypes:d}=null!==(l=e.Fields)&&void 0!==l?l:{};return"documents"===t?{heading:(null==n?void 0:n.Value)?n.Value:null,teaser:(null==u?void 0:u.Value)&&(null==i?void 0:i.Values[0])?i.Values[0]:null,number:(null==u?void 0:u.Value)?u.Value:null,link:{url:(null==a?void 0:a.Value)?a.Value:null,children:(null==n?void 0:n.Value)?n.Value:null},date:(null==r?void 0:r.Value)?r.Value:null}:{heading:(null==n?void 0:n.Value)?n.Value:null,link:{url:(null==a?void 0:a.Value)?a.Value:null,name:(null==n?void 0:n.Value)?n.Value:null},teaser:(null==i?void 0:i.Values[0])?null==i?void 0:i.Values[0]:null,image:(null==o?void 0:o.Value)?{url:null==o?void 0:o.Value,altText:""}:null,date:(null==r?void 0:r.Value)?r.Value:null,expirationDate:(null==s?void 0:s.Value)?s.Value:null,tags:Array.isArray(null==c?void 0:c.Values)?c.Values.map(e=>({name:e})):null,types:(null==d?void 0:d.Values)?d.Values:null}})},u=e=>{let{engineId:t,groupId:l,query:a="*",sort:o="date",category:u,tags:s,types:c,limit:d=1e4,operator:g="and",dates:v}=e,{data:p,error:_,isLoading:x,isValidating:h}=(0,i.u)("/api/search/".concat(t,"?\n		").concat(l&&"group="+l+"&","query=").concat(a).concat("default"===o?"":"&sort=".concat(o),"\n		").concat(void 0!==s?"&tags="+JSON.stringify(s):"","\n		").concat(void 0!==c?"&types="+JSON.stringify(c):"","&operator=").concat(g,"&limit=").concat(d,"\n		").concat(v?"&startDate="+v.startDate+"&endDate="+v.endDate:""),n.T);return{results:r(p,u),isLoading:x,isValidating:h,isError:_}}},28990:function(e,t,l){"use strict";l.d(t,{j:function(){return s}});var n=l(85893),i=l(94184),a=l.n(i),o=l(74800),r=l(6443),u=l.n(r);let s=e=>{let{className:t,icon:l,iconSize:i,text:r,spacing:s="xs"}=e;return(0,n.jsxs)("div",{className:a()(t,u().IconText),children:[(0,n.jsx)(o.JO,{size:i,children:l}),(0,n.jsx)("p",{className:a()(u().IconText_string,u()["IconText_string___spacing-".concat(s)]),children:r})]})}},6443:function(e){e.exports={IconText:"IconText_IconText__e5iCh",IconText_string:"IconText_IconText_string__nXXH2","IconText_string___spacing-2xs":"IconText_IconText_string___spacing-2xs__v3A19","IconText_string___spacing-xs":"IconText_IconText_string___spacing-xs__j3LcX","IconText_string___spacing-sm":"IconText_IconText_string___spacing-sm__48sqo","IconText_string___spacing-md":"IconText_IconText_string___spacing-md__bZB3g","IconText_string___spacing-lg":"IconText_IconText_string___spacing-lg__h9SNV","IconText_string___spacing-xl":"IconText_IconText_string___spacing-xl__OaFqf","IconText_string___spacing-2xl":"IconText_IconText_string___spacing-2xl__qyxqo"}}}]);
2//# sourceMappingURL=2386.b4a6dd5de898ad42.js.map

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.