PageSourceSearch

https://hedon-zwolle.nl/chunk-ZRGXJ6FZ.js

js hedon-zwolle.nl collected 2026-10-03 22:08:27 UTC 15,629 bytes, 5 lines download raw bytes

1import{a as $e,f as Ee,g as ke}from"./chunk-NILAUPN4.js";import{a as ye}from"./chunk-6PDDOAOC.js";import{a as be}from"./chunk-ARHM3HYH.js";import"./chunk-2AYORVPE.js";import{a as fe}from"./chunk-IUAIEO2R.js";import{c as ge,d as O,g as f,i as G,j as q,m as S,n as I}from"./chunk-BZ2BJU6T.js";import{d as he}from"./chunk-4VQKDXTP.js";import{b as V,c as ne,f as oe}from"./chunk-AZNXZAFW.js";import"./chunk-AUOAT3QU.js";import"./chunk-QKNEQWZB.js";import"./chunk-FYP77GLN.js";import"./chunk-KMLI7K5D.js";import{l as te,m as z}from"./chunk-AGNBONGW.js";import{p as ie}from"./chunk-WMTQQXX4.js";import{b as Ce,c as xe,f as we,j as Se}from"./chunk-BCIAZPO3.js";import"./chunk-L3UDKONQ.js";import"./chunk-HBHUIOXV.js";import{r as _e,u as ve}from"./chunk-SCDN74V3.js";import{b as ae,e as re,f as le,i as ce,k as me,l as se,m as pe,n as de,o as ue}from"./chunk-6GNV7646.js";import"./chunk-MQXWDAHF.js";import"./chunk-JWYSS3FW.js";import{a as B}from"./chunk-V2FX6NTQ.js";import{i as K,o as X,w as ee}from"./chunk-FX64KCBW.js";import"./chunk-NXSBTD7W.js";import{$c as Z,Ac as v,Ba as D,Bc as L,Cc as j,Mc as W,Nc as F,Qb as p,Rb as d,Rc as c,Sc as u,Tc as U,Ub as P,Uc as M,Vb as T,Wb as m,Xb as o,Yb as n,Zb as h,_c as $,cd as E,eb as H,ec as w,hb as Q,hd as J,ib as i,ja as y,jc as g,lc as _,ra as C,sa as x,vc as Y,xc as R,zb as b,zc as s}from"./chunk-6QALOL64.js";import"./chunk-ACQFPLWI.js";function Oe(t,l){if(t&1){let e=w();o(0,"button",6),g("click",function(){C(e);let a=_();return x(a.resetForm())}),h(1,"fstr-icon",7),n()}}function Ne(t,l){t&1&&(o(0,"button",5)(1,"span",8),s(2),c(3,"fromDictionary"),n(),h(4,"fstr-icon",9),n()),t&2&&(i(2),v(u(3,1,"zoek-button-label")))}var Pe=(()=>{class t{constructor(){this.initialQuery=E(""),this.fb=y(pe),this.router=y(te),this.cd=y(J),this.searchForm=this.fb.group({query:this.fb.control("")})}ngAfterViewInit(){this.searchForm.patchValue({query:this.initialQuery()}),this.cd.detectChanges()}onSubmit(){this.router.navigate(["/zoeken"],{queryParams:{q:this.searchForm?.value?.query}})}resetForm(){this.searchForm.reset(),this.router.navigate(["/zoeken"],{queryParams:{q:this.searchForm?.value?.query}})}handleEscape(e){this.resetForm()}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=b({type:t,selectors:[["app-search-field"]],hostBindings:function(r,a){r&1&&g("keydown.escape",function(Me){return a.handleEscape(Me)},Q)},inputs:{initialQuery:[1,"initialQuery"]},decls:7,vars:7,consts:[["cdkTrapFocus","",1,"search-field",3,"ngSubmit","formGroup","cdkTrapFocusAutoCapture"],["appearance","fill",1,"field-round","search-field","search-field__field",3,"subscriptSizing"],["matPrefix","","anchor","line-icon-search",1,"me-3","text-on-body","d-none","d-md-block","icon-sm"],["matInput","","formControlName","query",1,"ps-3","ps-md-0",3,"placeholder"],["matSuffix","","type","button",1,"button","button--primary","button-link","ps-3"],["matSuffix","","type","submit",1,"button","button--primary","button-link","ps-3","pe-md-0"],["matSuffix","","type","button",1,"button","button--primary","button-link","ps-3",3,"click"],["matPrefix","","anchor","line-icon-x",1,"text-on-body"],[1,"d-none","d-md-inline","fs-body-md"],["matPrefix","","anchor","line-icon-search",1,"d-block","d-md-none","mx-4","text-on-body"]],template:function(r,a){r&1&&(o(0,"form",0),g("ngSubmit",function(){return a.onSubmit()}),o(1,"mat-form-field",1),h(2,"fstr-icon",2)(3,"input",3),c(4,"fromDictionary"),p(5,Oe,2,0,"button",4)(6,Ne,5,3,"button",5),n()()),r&2&&(m("formGroup",a.searchForm)("cdkTrapFocusAutoCapture",!a.initialQuery()),i(),m("subscriptSizing","dynamic"),i(2),m("placeholder",u(4,5,"zoekveld-placeholder")),i(2),d(a.initialQuery()?5:6))},dependencies:[we,ue,ce,ae,re,le,me,se,de,Se,B,Ce,xe,ve,_e,V],styles:[`.search-field[_ngcontent-%COMP%]{display:flex;width:100%;gap:spacer(2)}.search-field__button.button[_ngcontent-%COMP%]{height:var(--mat-form-field-container-height)}
2/*# sourceMappingURL=search-field.component-QBES5R6T.css.map */`],changeDetection:0})}}return t})();var xt=q("* <=> *",[S(".card--anim:enter",f({opacity:1,transform:"translateY(10%)"}),{optional:!0}),S(".card--anim:enter",I("200ms",[O("200ms cubic-bezier(.49,.44,.76,1.07)",G([f({opacity:1,transform:"translateY(10%)"}),f({opacity:1,transform:"translateY(0%)"})]))]),{optional:!0})]),wt=q("* <=> *",[S(".card--anim:enter",f({opacity:0,transform:"translateY(10%)"}),{optional:!0}),S(".card--anim:enter",I("100ms",[O("200ms cubic-bezier(0, 0, 0.2, 0.99)",G([f({opacity:0,transform:"translateY(10%)"}),f({opacity:1,transform:"translateY(0%)"})]))]),{optional:!0})]),Te=q("* <=> *",[S(":enter",[f({opacity:0,transform:"translateY(10%)"}),I("100ms",O("200ms ease-out",f({opacity:1,transform:"translateY(0%)"})))],{optional:!0}
2),S(":leave",O("100ms",f({opacity:0,transform:"translateY(10%)"})),{optional:!0})]);var ze=t=>({height:300,width:300,scale:"both",mode:"crop",anchor:t,format:"webp"});function Ve(t,l){if(t&1&&(o(0,"a",0)(1,"article",1)(2,"figure",2),h(3,"img",3),n(),o(4,"header")(5,"h2",4),s(6),n()()()()),t&2){let e=l;m("routerLink",e.routerLink),i(3),m("ngSrc",(e.image==null?null:e.image.url)||"/media/hedon-placeholder.png")("width",300)("height",300)("loaderParams",F(7,ze,e.image==null?null:e.image.anchor))("alt",e.image==null?null:e.image.alt),i(3),v(e.title)}}var Fe=(()=>{class t{constructor(){this.page=E.required()}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=b({type:t,selectors:[["app-search-page-card"]],inputs:{page:[1,"page"]},decls:1,vars:1,consts:[[1,"link-reset","card-link",3,"routerLink"],[1,"search-page-card","d-flex","gap-3"],[1,"search-page-card__figure"],["ngSrcset","550w, 800w",3,"ngSrc","width","height","loaderParams","alt"],[1,"fw-bold","text-light","text-decoration-none","mb-1","max-lines-3","h6"]],template:function(r,a){if(r&1&&p(0,Ve,7,9,"a",0),r&2){let N;d((N=a.page())?0:-1,N)}},dependencies:[ee,oe,z],styles:[`[_ngcontent-%COMP%]:root{--shadow-default-color: #1c1b27}.search-page-card[_ngcontent-%COMP%]{align-items:center}.search-page-card__figure[_ngcontent-%COMP%]{overflow:hidden;max-height:103px;width:auto;aspect-ratio:1;flex-shrink:0}@media(max-width:767.98px){.search-page-card__figure[_ngcontent-%COMP%]{max-height:100px}}
3/*# sourceMappingURL=search-page-card.component-H6HNE6ZW.css.map */`],changeDetection:0})}}return t})();var k=(function(t){return t[t.EVENT=0]="EVENT",t[t.NEWS=1]="NEWS",t[t.PAGE=2]="PAGE",t[t.PASTEVENT=3]="PASTEVENT",t})(k||{});var Be=t=>({key:"q",value:t}),qe=t=>[t],Ie=()=>["/"],A=(t,l)=>l.id;function Ae(t,l){if(t&1&&(s(0),o(1,"strong",11),s(2),n()),t&2){let e=_(2);j(" ",e.resultCount$()," ",e.resultCount$()>1?"resultaten voor":"resultaat voor"," "),i(2),v(e.q())}}function Le(t,l){if(t&1){let e=w();h(0,"span",12),c(1,"fromDictionary"),c(2,"setValueDict"),o(3,"div",13)(4,"a",14),s(5),c(6,"fromDictionary"),n(),o(7,"button",15),g("click",function(){C(e),_(2);let a=Y(7);return x(a==null?null:a.resetForm())}),s(8),c(9,"fromDictionary"),n()()}if(t&2){let e=_(2);m("innerHTML",U(2,6,u(1,4,"zoeken-geen-resultaten-bericht"),F(15,qe,F(13,Be,e.q()))),H),i(4),m("routerLink",W(17,Ie)),i(),L(" ",u(6,9,"zoek-geen-resultaten-knop-bekijk-programma")," "),i(3),L(" ",u(9,11,"zoek-geen-resultaten-knop-probeer-opnieuw")," ")}}function Ge(t,l){if(t&1&&(o(0,"span",7),p(1,Ae,3,3)(2,Le,10,18),n()),t&2){let e=_();i(),d(e.resultCount$()&&!e.loading$()?1:!e.resultCount$()&&!e.loading$()?2:-1)}}function He(t,l){t&1&&(o(0,"section",9),h(1,"app-loader-indicator",16),o(2,"p",17),s(3),c(4,"fromDictionary"),n()()),t&2&&(i(),m("loading",!0)("type","standalone"),i(2),v(u(4,3,"zoek-overzicht-laden-tekst")))}function Qe(t,l){if(t&1&&(o(0,"li",21),h(1,"app-event-card",25),n()),t&2){let e=l.$implicit,r=_(2);m("ngClass",r.news$().length||r.pages$().length?"col-sm-12 col-xl-8":"col-sm-12 col-xl-6"),i(),m("event",e)}}function Ye(t,l){t&1&&(o(0,"p",22),s(1),c(2,"fromDictionary"),n()),t&2&&(i(),v(u(2,1,"zoek-overzicht-resultaten-agenda-geen-resultaat")))}function Re(t,l){if(t&1){let e=w();o(0,"div",23)(1,"button",26),g("click",function(){C(e);let a=_(2);return x(a.maxEventsShown$.set(a.maxEventsShown$()+5))}),o(2,"span"),s(3),c(4,"fromDictionary"),n(),h(5,"fstr-icon",27),n()()}t&2&&(i(3),v(u(4,1,"zoek-overzicht-resultaten-agenda-toon-meer")))}function je(t,l){if(t&1&&(o(0,"li",21),h(1,"app-event-card",25),n()),t&2){let e=l.$implicit,r=_(3);m("ngClass",r.news$().length||r.pages$().length?"col-sm-12 col-xl-8":"col-sm-12 col-xl-6"),i(),m("event",e)}}function We(t,l){if(t&1){let e=w();o(0,"div",23)(1,"button",26),g("click",function(){C(e);let a=_(3);return x(a.maxPastEventsShown$.set(a.maxPastEventsShown$()+5))}),o(2,"span"),s(3),c(4,"fromDictionary"),n(),h(5,"fstr-icon",27),n()()}t&2&&(i(3),v(u(4,1,"zoek-overzicht-resultaten-agenda-toon-meer")))}function Ue(t,l){if(t&1&&(o(0,"header",28)(1,"h2",20),s(2),c(3,"fromDictionary"),n()(),o(4,"ul",29),P(5,je,2,2,"li",21,A),c(7,"slice"),n(),p(8,We,6,3,"div",23)),t&2){let e=_(2);i(2),v(u(3,3,"zoek-overzicht-resultaten-agenda-geweest-titel")),i(2),m("@CardGridAnimation",e.maxEventsShown$()),i(),T(M(7,5,e.pastEvents$(),0,e.maxPastEventsShown$())),i(3),d(e.pastEvents$().length>e.maxPastEventsShown$()?8:-1)}}function Ze(t,l){if(t&1&&(o(0,"li",30),h(1,"app-news-card",33),n()),t&2){let e=l.$implicit;i(),m("news",e)("small",!0)}}function Je(t,l){t&1&&(o(0,"p",31),s(1),c(2,"fromDictionary"),n()),t&2&&(i(),v(u(2,1,"zoek-overzicht-resultaten-nieuws-geen-resultaat")))}function Ke(t,l){if(t&1){let e=w();o(0,"div",32)(1,"button",26),g("click",function(){C(e);let a=_(4);return x(a.maxNewsShown$.set(a.maxNewsShown$()+5))}),o(2,"span"),s(3),c(4,"fromDictionary"),n(),h(5,"fstr-icon",27),n()()}t&2&&(i(3),v(u(4,1,"zoek-overzicht-resultaten-nieuws-toon-meer")))}function Xe(t,l){if(t&1&&(o(0,"section")(1,"header",19)(2,"h2",20),s(3),c(4,"fromDictionary"),n()(),o(5,"ul"),P(6,Ze,2,2,"li",30,A),c(8,"slice"),n(),p(9,Je,3,3,"p",31),p(10,Ke,6,3,"div",32),n()),t&2){let e=_(3);i(3),v(u(4,4,"zoek-overzicht-resultaten-nieuws-titel")),i(2),m("@CardGridAnimation",e.maxPagesShown$()),i(),T(M(8,6,e.news$(),0,e.maxNewsShown$())),i(3),d(e.news$().length?-1:9),i(),d(e.news$().length>e.maxNewsShown$()?10:-1)}}function et(t,l){if(t&1&&(o(0,"li",30),h(1,"app-search-page-card",35),n()),t&2){let e=l.$implicit;i(),m("page",e)}}function tt(t,l){if(t&1){let e=w();o(0,"div",32)(1,"button",26),g("click",function(){C(e);let a=_(4);return x(a.maxPagesShown$.set(a.maxPagesShown$()+5))}),o(2,"span"),s(3),c(4,"fromDictionary"),n(),h(5,"fstr-icon",27),n()()}t&2&&(i(3),v(u(4,1,"zoek-overzicht-resultaten-paginas-toon-meer")))}function it(t,l){if(t&1&&(o(0,"section")(1,"header",19)(2,"h2",20),s(3),c(4,"fromDictionary"),n()(),o(5,"ul",34),P(6,et,2,1,"li",30,A),c(8,"slice"),n(),p(9,tt,6,3,"div",32),n()),t&2){let e=_(3);i(3),v(u(4,3,"zoek-overzicht-resultaten-anders-titel")),i(2),m("@CardGridAnimation",e.maxPagesShown$()),i(),T(M(8,5,e.pages$(),0,e.maxPagesShown$())),i(3),d(e.pages$().length>e.maxPagesShown$()?9:-1)}}function nt(t,l){if(t&1&&(o(0,"div",24),p(1,Xe,11,10,"section"),p(2,it,10,9,"section"),n()),t&2){let e=_(2);i(),d(e.news$().length?1:-1),i(),d(e.pages$().length?2:-1)}}function ot(t,l){if(t&1&&(o(0,"div",10)(1,"div",18)(2,"header",19)(3,"h2",20),s(4),c(5,"fromDictionary"),n()(),o(6,"ul",10),P(7,Qe,2,2,"li",21,A),c(9,"slice"),n(),p(10,Ye,3,3,"p",22),p(11,Re,6,3,"div",23),p(12,Ue,9,9),n(),p(13,nt,3,2,"div",24),n()),t&2){let e=_();i(),m("ngClass",e.news$().length||e.pages$().length?"col-md-14 col-lg-16":""),i(3),v(u(5,7,"zoek-overzicht-resultaten-agenda-titel")),i(2),m("@CardGridAnimation",e.maxEventsShown$()),i(),T(M(9,9,e.events$(),0,e.maxEventsShown$())),i(3),d(e.events$().length?-1:10),i(),d(e.events$().length>e.maxEventsShown$()?11:-1),i(),d(e.pastEvents$().length?12:-1),i(),d(e.news$().length||e.pages$().length?13:-1)}}var Xt=(()=>{class t{constructor(){this.store=y(ie),this.q=E(""),this.maxNewsShown$=D(5),this.maxPagesShown$=D(5),this.maxEventsShown$=D(6),this.maxPastEventsShown$=D(6),this.loading$=this.store.selectSignal(ke),this.results$=this.store.selectSignal(Ee),this.events$=$(()=>this.results$()?.[k.EVENT]?.map(e=>({id:e.id,title:e.title,eventDate:e.date,status:e.status,mainAct:{image:e.image,title:e.title,de
3scription:""},image:e.image,routerLink:e.routerLink})).sort((e,r)=>new Date(e.eventDate).getTime()-new Date(r.eventDate).getTime())||[]),this.pastEvents$=$(()=>this.results$()?.[k.PASTEVENT]?.map(e=>({id:e.id,title:e.title,eventDate:e.date,mainAct:{image:e.image,title:e.title,description:""},image:e.image,routerLink:e.routerLink})).sort((e,r)=>new Date(r.eventDate).getTime()-new Date(e.eventDate).getTime())||[]),this.news$=$(()=>this.results$()?.[`${k.NEWS}`]?.map(e=>({id:e.id,title:e.title,date:e.date,image:e.image,routerLink:e.routerLink,updatedOn:e.date}))||[]),this.pages$=$(()=>this.results$()?.[`${k.PAGE}`]||[]),this.cookiePreferences$=this.store.selectSignal(he),this.resultCount$=$(()=>this.events$().length+this.pastEvents$().length+this.pages$().length+this.news$().length),this.searchEffect$=Z(()=>{this.q()&&this.store.dispatch($e({q:this.q()}))})}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=b({type:t,selectors:[["app-search-overview"]],inputs:{q:[1,"q"]},decls:13,vars:9,consts:[["searchField",""],[1,"search-overview","text-bg-surface"],[1,"pt-topbar"],[1,"container","section-inset-t","container-size-sm","text-center","text-on-surface"],[1,"h3","mb-4","text-max-width-sm","mx-auto","text-on-surface"],[1,"theme-dark",3,"initialQuery"],[1,"search-query-meta","py-3","fs-body-md","text-max-width-xs","mx-auto"],[1,"fw-bold","text-uppercase"],[1,"container-fluid","py-4","py-lg-5"],[1,"text-center","text-max-width-sm","mx-auto","mb-5"],[1,"row"],[1,"fw-bold","text-primary","break-word","d-inline-block"],[3,"innerHTML"],[1,"d-flex","flex-wrap","gap-2","justify-content-center","mt-4"],["fragment","programma",1,"button","button--primary",3,"routerLink"],[1,"button","button-outline","button--light",3,"click"],[1,"text-body-emphasis",3,"loading","type"],[1,"mb-0","mt-3","text-body-emphasis"],[1,"col-24",3,"ngClass"],[1,"search-overview-column-header","mb-4","border-bottom"],[1,"h4"],[1,"col-12","mb-4",3,"ngClass"],[1,"text-body-emphasis"],[1,"text-center","pt-3"],[1,"col-24","col-md-10","col-lg-8","d-flex","flex-column","gap-5"],[3,"event"],[1,"button","button-link","button--primary",3,"click"],["anchor","line-icon-plus",1,"icon-xxs"],[1,"search-overview-column-header","mb-4","mt-6","border-bottom"],[1,"row","past-events-list"],[1,"mt-2"],[1,"mt-2","text-body-emphasis"],[1,"pt-3","text-center"],[3,"news","small"],[1,""],[3,"page"]],template:function(r,a){r&1&&(o(0,"section",1)(1,"header",2)(2,"div",3)(3,"h1",4),s(4),c(5,"fromDictionary"),n(),h(6,"app-search-field",5,0),o(8,"div",6),p(9,Ge,3,1,"span",7),n()()(),o(10,"main",8),p(11,He,5,5,"section",9),p(12,ot,14,13,"div",10),n()()),r&2&&(i(4),v(u(5,7,"zoek-overzicht-titel")),i(2),m("initialQuery",a.q()),i(2),R("text-primary",a.q()&&a.resultCount$()>0),i(),d(a.q()?9:-1),i(2),d(a.loading$()?11:-1),i(),d(a.resultCount$()>0&&a.q()&&!a.loading$()?12:-1))},dependencies:[Pe,be,B,K,fe,ye,Fe,z,V,X,ne],styles:[`[_ngcontent-%COMP%]:root{--shadow-default-color: #1c1b27}.search-overview[_ngcontent-%COMP%]{min-height:100vh}.search-overview-column-header[_ngcontent-%COMP%]{padding-bottom:.7rem}  .search-overview .past-events-list .event-card__figure__media{filter:grayscale(1)}
4/*# sourceMappingURL=search-overview.component-YMMO7MHP.css.map */`],data:{animation:[ge("CardGridAnimation",[Te])]},changeDetection:0})}}return t})();export{Xt as SearchOverviewComponent};
5//# sourceMappingURL=chunk-ZRGXJ6FZ.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.