PageSourceSearch

https://www.fredericia.com/_next/static/chunks/5560.5f809965db77e42e.js

js fredericia.com collected 2026-09-27 21:47:21 UTC 15,730 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5560],{1129:(e,t,n)=>{n.d(t,{D:()=>c});var r=n(45490),i=n(229),s=n(33814),a=n(62596),o=n(46936),l=n(37876),c=(0,r.R)(function(e,t){let n=(0,i.Vl)("Heading",e),{className:r,...c}=(0,s.MN)(e);return(0,l.jsx)(a.B.h2,{ref:t,className:(0,o.cx)("chakra-heading",e.className),...c,__css:n})});c.displayName="Heading"},13811:(e,t,n)=>{n.d(t,{u:()=>g});var r=n(8768),i=n(5382),s=n(95253),a=n(84623),o=n(2230),l=n(54360),c=n(59978),u=n(38412),d=n(75159),h=n(49560),v=(0,o.V)({name:"hits",connector:!0}),p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.l;return(0,l.t)(e,v()),function(n){var o,l,h=n||{},v=h.escapeHTML,p=void 0===v||v,f=h.transformItems,g=void 0===f?function(e){return e}:f;return{$$type:"ais.hits",init:function(t){e((0,s._)((0,i._)({},this.getWidgetRenderState(t)),{instantSearchInstance:t.instantSearchInstance}),!0)},render:function(t){var n=this.getWidgetRenderState(t);e((0,s._)((0,i._)({},n),{instantSearchInstance:t.instantSearchInstance}),!1),n.sendEvent("view:internal",n.items)},getRenderState:function(e,t){return(0,s._)((0,i._)({},e),{hits:this.getWidgetRenderState(t)})},getWidgetRenderState:function(e){var t,r,i,s=e.results,h=e.helper,v=e.instantSearchInstance;if(o||(o=(0,a.U0)({instantSearchInstance:v,helper:h,widgetType:this.$$type})),l||(l=(0,a.Zp)({helper:h,widgetType:this.$$type,instantSearchInstance:v})),!s)return{hits:[],items:[],results:void 0,banner:void 0,sendEvent:o,bindEvent:l,widgetParams:n};p&&s.hits.length>0&&(s.hits=(0,c.S8)(s.hits));var f=(0,u.g)(s.hits,s.page,s.hitsPerPage),y=g((0,d.P)(f,s.queryID),{results:s}),m=null==(i=s.renderingContent)||null==(r=i.widgets)||null==(t=r.banners)?void 0:t[0];return{hits:y,items:y,results:s,banner:m,sendEvent:o,bindEvent:l,widgetParams:n}},dispose:function(e){var n=e.state;return(t(),p)?n.setQueryParameters(Object.keys(c.FU).reduce(function(e,t){return(0,s._)((0,i._)({},e),(0,r._)({},t,void 0))},{})):n},getWidgetSearchParameters:function(e,t){return p?e.setQueryParameters(c.FU):e}}}},f=n(78049);function g(e,t){return(0,f.Z)(p,e,t)}},17270:(e,t,n)=>{n.d(t,{g:()=>c});var r=n(45490),i=n(62596),s=n(57110),a=n(46936),o=n(14232),l=n(37876),c=(0,r.R)(function(e,t){let{ratio:n=4/3,children:r,className:c,...u}=e,d=o.Children.only(r),h=(0,a.cx)("chakra-aspect-ratio",c);return(0,l.jsx)(i.B.div,{ref:t,position:"relative",className:h,_before:{height:0,content:'""',display:"block",paddingBottom:(0,s.bk)(n,e=>`${1/e*100}%`)},__css:{"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}},...u,children:d})});c.displayName="AspectRatio"},21679:(e,t,n)=>{n.d(t,{S:()=>B});var r=n(14232),[i,s]=(0,n(98156).q)({name:"CheckboxGroupContext",strict:!1}),a=n(62596),o=n(37876);function l(e){return(0,o.jsx)(a.B.svg,{width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},...e,children:(0,o.jsx)("polyline",{points:"1.5 6 4.5 9 10.5 1"})})}function c(e){return(0,o.jsx)(a.B.svg,{width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4},...e,children:(0,o.jsx)("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function u(e){let{isIndeterminate:t,isChecked:n,...r}=e;return n||t?(0,o.jsx)(a.B.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"},children:(0,o.jsx)(t?c:l,{...r})}):null}var d=n(69877),h=n(76765),v=n(63028),p=n(73594),f=n(40292),g=n(46936),y={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},m=n(30516);function b(e){e.preventDefault(),e.stopPropagation()}var k=n(38993),x=n(45490),S=n(229),C=n(33814),E={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},_={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},w=(0,k.i7)({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),I=(0,k.i7)({from:{opacity:0}
1,to:{opacity:1}}),j=(0,k.i7)({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),B=(0,x.R)(function(e,t){let n=s(),i={...n,...e},l=(0,S.o5)("Checkbox",i),c=(0,C.MN)(e),{spacing:k="0.5rem",className:x,children:B,iconColor:R,iconSize:N,icon:V=(0,o.jsx)(u,{}),isChecked:D,isDisabled:P=null==n?void 0:n.isDisabled,onChange:M,inputProps:U,...W}=c,H=D;(null==n?void 0:n.value)&&c.value&&(H=n.value.includes(c.value));let L=M;(null==n?void 0:n.onChange)&&c.value&&(L=(0,g.OK)(n.onChange,M));let{state:$,getInputProps:O,getCheckboxProps:A,getLabelProps:F,getRootProps:Q}=function(e={}){let{isDisabled:t,isReadOnly:n,isRequired:i,isInvalid:s,id:a,onBlur:o,onFocus:l,"aria-describedby":c}=(0,d.v)(e),{defaultChecked:u,isChecked:k,isFocusable:x,onChange:S,isIndeterminate:C,name:E,value:_,tabIndex:w,"aria-label":I,"aria-labelledby":j,"aria-invalid":B,...R}=e,N=function(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}(R,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),V=(0,p.c)(S),D=(0,p.c)(o),P=(0,p.c)(l),[M,U]=(0,r.useState)(!1),[W,H]=(0,r.useState)(!1),[L,$]=(0,r.useState)(!1),[O,A]=(0,r.useState)(!1);(0,r.useEffect)(()=>(0,m.Yy)(U),[]);let F=(0,r.useRef)(null),[Q,q]=(0,r.useState)(!0),[K,T]=(0,r.useState)(!!u),Z=void 0!==k,z=Z?k:K,X=(0,r.useCallback)(e=>{if(n||t)return void e.preventDefault();Z||(z?T(e.target.checked):T(!!C||e.target.checked)),null==V||V(e)},[n,t,z,Z,C,V]);(0,h.U)(()=>{F.current&&(F.current.indeterminate=!!C)},[C]),(0,v.w)(()=>{t&&H(!1)},[t,H]),(0,h.U)(()=>{let e=F.current;if(!(null==e?void 0:e.form))return;let t=()=>{T(!!u)};return e.form.addEventListener("reset",t),()=>{var n;return null==(n=e.form)?void 0:n.removeEventListener("reset",t)}},[]);let G=t&&!x,Y=(0,r.useCallback)(e=>{" "===e.key&&A(!0)},[A]),J=(0,r.useCallback)(e=>{" "===e.key&&A(!1)},[A]);(0,h.U)(()=>{F.current&&F.current.checked!==z&&T(F.current.checked)},[F.current]);let ee=(0,r.useCallback)((e={},r=null)=>({...e,ref:r,"data-active":(0,g.sE)(O),"data-hover":(0,g.sE)(L),"data-checked":(0,g.sE)(z),"data-focus":(0,g.sE)(W),"data-focus-visible":(0,g.sE)(W&&M),"data-indeterminate":(0,g.sE)(C),"data-disabled":(0,g.sE)(t),"data-invalid":(0,g.sE)(s),"data-readonly":(0,g.sE)(n),"aria-hidden":!0,onMouseDown:(0,g.Hj)(e.onMouseDown,e=>{W&&e.preventDefault(),A(!0)}),onMouseUp:(0,g.Hj)(e.onMouseUp,()=>A(!1)),onMouseEnter:(0,g.Hj)(e.onMouseEnter,()=>$(!0)),onMouseLeave:(0,g.Hj)(e.onMouseLeave,()=>$(!1))}),[O,z,t,W,M,L,C,s,n]),et=(0,r.useCallback)((e={},r=null)=>({...e,ref:r,"data-active":(0,g.sE)(O),"data-hover":(0,g.sE)(L),"data-checked":(0,g.sE)(z),"data-focus":(0,g.sE)(W),"data-focus-visible":(0,g.sE)(W&&M),"data-indeterminate":(0,g.sE)(C),"data-disabled":(0,g.sE)(t),"data-invalid":(0,g.sE)(s),"data-readonly":(0,g.sE)(n)}),[O,z,t,W,M,L,C,s,n]),en=(0,r.useCallback)((e={},n=null)=>({...N,...e,ref:(0,f.Px)(n,e=>{e&&q("LABEL"===e.tagName)}),onClick:(0,g.Hj)(e.onClick,()=>{var e;Q||(null==(e=F.current)||e.click(),requestAnimationFrame(()=>{var e;null==(e=F.current)||e.focus({preventScroll:!0})}
1))}),"data-disabled":(0,g.sE)(t),"data-checked":(0,g.sE)(z),"data-invalid":(0,g.sE)(s)}),[N,t,z,s,Q]),er=(0,r.useCallback)((e={},r=null)=>({...e,ref:(0,f.Px)(F,r),type:"checkbox",name:E,value:_,id:a,tabIndex:w,onChange:(0,g.Hj)(e.onChange,X),onBlur:(0,g.Hj)(e.onBlur,D,()=>H(!1)),onFocus:(0,g.Hj)(e.onFocus,P,()=>H(!0)),onKeyDown:(0,g.Hj)(e.onKeyDown,Y),onKeyUp:(0,g.Hj)(e.onKeyUp,J),required:i,checked:z,disabled:G,readOnly:n,"aria-label":I,"aria-labelledby":j,"aria-invalid":B?!!B:s,"aria-describedby":c,"aria-disabled":t,style:y}),[E,_,a,X,D,P,Y,J,i,z,G,n,I,j,B,s,c,t,w]),ei=(0,r.useCallback)((e={},n=null)=>({...e,ref:n,onMouseDown:(0,g.Hj)(e.onMouseDown,b),"data-disabled":(0,g.sE)(t),"data-checked":(0,g.sE)(z),"data-invalid":(0,g.sE)(s)}),[z,t,s]);return{state:{isInvalid:s,isFocused:W,isChecked:z,isActive:O,isHovered:L,isIndeterminate:C,isDisabled:t,isReadOnly:n,isRequired:i},getRootProps:en,getCheckboxProps:ee,getIndicatorProps:et,getInputProps:er,getLabelProps:ei,htmlProps:N}}({...W,isDisabled:P,isChecked:H,onChange:L}),q=function(e){let[t,n]=(0,r.useState)(e),[i,s]=(0,r.useState)(!1);return e!==t&&(s(!0),n(e)),i}($.isChecked),K=(0,r.useMemo)(()=>({animation:q?$.isIndeterminate?`${I} 20ms linear, ${j} 200ms linear`:`${w} 200ms linear`:void 0,fontSize:N,color:R,...l.icon}),[R,N,q,$.isIndeterminate,l.icon]),T=(0,r.cloneElement)(V,{__css:K,isIndeterminate:$.isIndeterminate,isChecked:$.isChecked});return(0,o.jsxs)(a.B.label,{__css:{..._,...l.container},className:(0,g.cx)("chakra-checkbox",x),...Q(),children:[(0,o.jsx)("input",{className:"chakra-checkbox__input",...O(U,t)}),(0,o.jsx)(a.B.span,{__css:{...E,...l.control},className:"chakra-checkbox__control",...A(),children:T}),B&&(0,o.jsx)(a.B.span,{className:"chakra-checkbox__label",...F(),__css:{marginStart:k,...l.label},children:B})]})});B.displayName="Checkbox"},50634:(e,t,n)=>{n.d(t,{Wx:()=>h,pL:()=>d});var r=n(14232),i=Object.defineProperty,s=(e,t,n)=>(((e,t,n)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),n),a=new Map,o=new WeakMap,l=0,c=void 0;function u(e,t,n={},r=c){if(void 0===window.IntersectionObserver&&void 0!==r){let i=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}let{id:i,observer:s,elements:d}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var n;return`${t}_${"root"===t?!(n=e.root)?"0":(o.has(n)||(l+=1,o.set(n,l.toString())),o.get(n)):e[t]}`}).toString(),n=a.get(t);if(!n){let r,i=new Map,s=new IntersectionObserver(t=>{t.forEach(t=>{var n;let s=t.isIntersecting&&r.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=s),null==(n=i.get(t.target))||n.forEach(e=>{e(s,t)})})},e);r=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:s,elements:i},a.set(t,n)}return n}(n),h=d.get(e)||[];return d.has(e)||d.set(e,h),h.push(t),s.observe(e),function(){h.splice(h.indexOf(t),1),0===h.length&&(d.delete(e),s.unobserve(e)),0===d.size&&(s.disconnect(),a.delete(i))}}var d=class extends r.Component{constructor(e){super(e),s(this,"node",null),s(this,"_unobserveCb",null),s(this,"handleNode",e=>{this.node&&(this.unobserve(),e||this.props.triggerOnce||this.props.skip||this.setState({inView:!!this.props.initialInView,entry:void 0})),this.node=e||null,this.observeNode()}),s(this,"handleChange",(e,t)=>{e&&this.props.triggerOnce&&this.unobserve(),"function"==typeof this.props.children&&this.setState({inView:e,entry:t}),this.props.onChange&&this.props.onChange(e,t)}),this.state={inView:!!e.initialInView,entry:void 0}}componentDidMount(){this.unobserve(),this.observeNode()}componentDidUpdate(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())}componentWillUnmount(){this.unobserve()}observeNode(){if(!this.node||this.props.skip)return;let{threshold:e,root:t,rootMargin:n,trackVisibility:r,delay:i,fallbackInView:s}=this.props;this._unobserveCb=u(this.node,this.handleChange,{threshold:e,root:t,rootMargin:n,trackVisibility:r,delay:i},s)}unobserve(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)}render(){let{children:e}=this.props;if("function"==typeof e){let{inView:t,entry:n}=this.state;return e({inView:t,entry:n,ref:this.handleNode})}let{as:t,triggerOnce:n,threshold:i,root:s,rootMargin:a,onChange:o,skip:l,trackVisibility:c,delay:u,initialInView:d,fallbackInView:h,...v}=this.props;return r.createElement(t||"div",{ref:this.handleNode,...v},e)}};function h({threshold:e,delay:t,trackVisibility:n,rootMargin:i,root:s,triggerOnce:a,skip:o,initialInView:l,fallbackInView:c,onChange:d}={}){var v;let[p,f]=r.useState(null),g=r.useRef(),[y,m]=r.useState({inView:!!l,entry:void 0});g.current=d,r.useEffect(()=>{let r;if(!o&&p)return r=u(p,(e,t)=>{m({inView:e,entry:t}),g.current&&g.current(e,t),t.isIntersecting&&a&&r&&(r(),r=void 0)},{root:s,rootMargin:i,threshold:e,trackVisibility:n,delay:t},c),()=>{r&&r()}},[Array.isArray(e)?e.toString():e,p,s,i,a,o,n,c,t]);let b=null==(v=y.entry)?void 0:v.target,k=r.useRef();p||!b||a||o||k.current===b||(k.current=b,m({inView:!!l,entry:void 0}));let x=[f,y.inView,y.entry];return x.ref=x[0],x.inView=x[1],x.entry=x[2],x}},91968:(e,t,n)=>{n.d(t,{l:()=>f});var r=n(5382),i=n(95253),s=n(2230),a=n(54360),o=n(99311),l=n(49560),c=(0,s.V)({name:"sort-by",connector:!0});function u(e){return"strategy"in e&&void 0!==e.strategy}function d(e){return u(e)?e.strategy:e.value}function h(e,t){if(!t)return!1;var n=e[t];return void 0!==n&&u(n)}var v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.l;(0,a.t)(e,c());var n={};return function(s){var a=s||{},l=a.items,v=a.transformItems,p=void 0===v?function(e){return e}:v;if(!Array.isArray(l))throw Error(c("The `items` option expects an array of objects."));var f={};return l.forEach(function(e,t){var n="value"in e&&void 0!==e.value,r="strategy"in e&&void 0!==e.strategy;if(n&&r)throw Error(c("Item at index ".concat(t,' cannot have both "value" and "strategy" properties.')));if(!n&&!r)throw Error(c("Item at index ".concat(t,' must have either a "value" or "strategy" property.')));f[d(e)]=e}),n.itemsLookup=f,{$$type:"ais.sortBy",init:function(t){var n=t.instantSearchInstance;if(l.some(function(e){return"strategy"in e&&e.strategy})&&!n.compositionID)throw Error(c('Sorting strategies can only be used in composition mode. Please provide a "compositionID" to your InstantSearch instance.'));var s=this.getWidgetRenderState(t),a=s.currentRefinement;(0,o.I)(l,function(e){return d(e)===a}),e((0,i._)((0,r._)({},s),{instantSearchInstance:n}),!0)},render:function(t){var n=t.instantSearchInstance;e((0,i._)((0,r._)({},this.getWidgetRenderState(t)),{instantSearchInstance:n}),!1)},dispose:function(e){var r=e.state;return(t(),n.isUsingComposition&&r.sortBy&&(r=r.setQueryParameter("sortBy",void 0)),n.initialValue&&r.index!==n.initialValue)?r.setIndex(n.initialValue):r},getRenderState:function(e,t){return(0,i._)((0,r._)({},e),{sortBy:this.getWidgetRenderState(t)})},getWidgetRenderState:function(e){var t=e.results,r=e.helper,i=e.state,a=e.parent,o=e.instantSearchInstance;!n.initialValue&&a&&(n.initialValue=a.getIndexName()),n.refine||(n.isUsingComposition=!!(null==o?void 0:o.compositionID),n.refine=function(e){var t=n.itemsLookup[e];t&&u(t)?r.setQueryParameter("sortBy",t.strategy).search():r.setQueryParameter("sortBy",void 0).setIndex(e).search()});var c=p(l,{results:t}).map(function(e){return{label:e.label,value:d(e)}}),v=n.isUsingComposition&&h(n.itemsLookup,i.sortBy)?i.sortBy:i.index,f=!t||0===t.nbHits;return{currentRefinement:v,options:c,refine:n.refine,hasNoResults:f,canRefine:!f&&l.length>0,widgetParams:s}},getWidgetUiState:function(e,t){var s=t.searchParameters,a=n.isUsingComposition&&h(n.itemsLookup,s.sortBy)?s.sortBy:s.index;return(0,i._)((0,r._)({},e),{sortBy:a!==n.initialValue?a:void 0})},getWidgetSearchParameters:function(e,t){var r=t.uiState.sortBy||n.initialValue||e.index;if(h(n.itemsLookup,r)){var i=n.itemsLookup[r];return e.setQueryParameter("sortBy",i.strategy)}return e.setQueryParameter("index",r)}}}},p=n(78049);function f(e,t){return(0,p.Z)(v,e,t)}}}]);

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.