PageSourceSearch

https://www.suffolk.gov.uk/_MhbRBA_936eda51-92ba-4748-81c7-720f34d…mic.event.template.59d7fc1fcbecf88918f5.mjs

js suffolk.gov.uk collected 2026-09-24 08:42:40 UTC 13,956 bytes, 171 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[9356],{17953:(T,f)=>{var t;t={value:!0};var e="fas",x="star-half",y=576,c=512,E=[61731],i="f089",b="M288 0c-12.2 .1-23.3 7-28.6 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3L288 439.8V0zM429.9 512c1.1 .1 2.1 .1 3.2 0h-3.2z";f.DF={prefix:e,iconName:x,icon:[y,c,E,i,b]},f.eJ=f.DF,t=e,t=x,t=y,t=c,t=E,t=i,t=b,t=E},37090:(T,f,t)=>{t.d(f,{Z:()=>z});var e=t(67294),x=t(65422),y=t(31791),c=t(28760),E=t(93139);const b=E.z.div`
2  ${({layout:r,theme:n})=>{const o={flexDirection:r==="stacked"?"column":"row",colBasis:r==="cols"?"50%":r==="inline"?"auto":"100%",flexWrap:r==="stacked"?"nowrap":"wrap"};return(0,c.iv)`
3      .cols-wrap {
4        display: flex;
5        flex-direction: column;
6        margin: -${n.spacing.xxxs} -${n.spacing.xxs};
7        overflow: hidden;
8        > div {
9          flex-basis: auto;
10          padding: ${n.spacing.xxxs} ${n.spacing.xxs};
11          display: inline-block;
12          ${n.typeStyles.h5};
13          .fa_icon {
14            color: ${n.color.brand.primary};
15            margin-right: ${n.spacing.xxxs};
16            width: 2rem;
17          }
18        }
19        @media ${n.mq.small} {
20          flex-direction: ${o.flexDirection};
21          flex-wrap: ${o.flexWrap};
22          > div {
23            flex-basis: ${o.colBasis};
24          }
25        }
26      }
27    `}};
28`;var v=t(37615);const d={weddings:({provider:r,location:n,date:o,time:N})=>e.createElement("div",{className:"details-container"},r&&e.createElement("div",{className:"details"},e.createElement(e.Fragment,null,e.createElement(v.Z,{icon:"peopleGroup"}),e.createElement("span",{className:"visually-hidden"},"Capacity: ")),r),n&&e.createElement("div",{className:"details"},e.createElement(e.Fragment,null,e.createElement(v.Z,{icon:"weather"}),e.createElement("span",{className:"visually-hidden"},"Ceremonies: ")),n),o&&e.createElement("div",{className:"details"},e.createElement(v.Z,{icon:"calendar"}),o),N&&e.createElement("div",{className:"details"},e.createElement(e.Fragment,null,e.createElement(v.Z,{icon:"stars"}),e.createElement("span",{className:"visually-hidden"},"Exclusive use: ")),N))},s=({provider:r,location:n,date:o,time:N,incidentType:I,attendingStations:D,incidentStatus:O})=>e.createElement("div",{className:"details-container"},O&&e.createElement("div",{className:`incident-status-pill ${O}`,style:{display:"inline-block",padding:"2px 10px",borderRadius:"12px",fontWeight:600,fontSize:"0.85em",color:"#fff",background:O==="closed"?"#2563eb":"#dc2626",marginBottom:8,marginRight:8}},O==="closed"?"Closed":"Ongoing"),r&&e.createElement("div",{className:"details"},e.createElement(e.Fragment,null,e.createElement(v.Z,{icon:"peopleGroup"}),e.createElement("span",{className:"visually-hidden"},"Provider: ")),r),n&&e.createElement("div",{className:"details"},e.createElement(e.Fragment,null,e.createElement(v.Z,{icon:"location"}),e.createElement("span",{className:"visually-hidden"},"Location: ")),n),o&&e.createElement("div",{className:"details"},e.createElement(v.Z,{icon:"calendar"}),o),N&&e.createElement("div",{className:"details"},e.createElement(e.Fragment,null,e.createElement(v.Z,{icon:"clock"}),e.createElement("span",{className:"visually-hidden"},"Time: ")),N),I&&e.createElement("div",{className:"details"},e.createElement(e.Fragment,null,e.createElement(v.Z,{icon:"diamondExclamation"}),e.createElement("span",{className:"visually-hidden"},"Incident type: ")),I.title),D&&e.createElement("div",{className:"details"},e.createElement(e.Fragment,null,e.createElement(v.Z,{icon:"fireTruck"}),e.createElement("span",{className:"visually-hidden"},"Attending stations: ")),Array.isArray(D)?D.map((R,w)=>typeof R=="string"?e.createElement("span",{key:w},R,w<D.length-1?", ":""):e.createElement("span",{key:w},R.station,w<D.length-1?", ":"")):D));var $=Object.defineProperty,g=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable,F=(r,n,o)=>n in r?$(r,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[n]=o,A=(r,n)=>{for(var o in n||(n={}))C.call(n,o)&&F(r,o,n[o]);if(g)for(var o of g(n))U.call(n,o)&&F(r,o,n[o]);return r};const z=({date:r,layout:n="inline",location:o,time:N,provider:I,incidentType:D,attendingStations:O,incidentStatus:R})=>{const w=(0,x.v9)(y.routing.selectors.selectCurrentProject),V={provider:I,location:o,date:r,time:N,incidentType:D,attendingStations:O,incidentStatus:R},a=d[w]||s;return e.createElement(b,{className:"event__details",layout:n},e.createElement("div",{className:"cols-wrap"},e.createElement(a,A({},V))))}},56689:(T,f,t)=>{t.d(f,{Z:()=>L});var e=t(67294),x=t(77285),y=t(28760),c=t(93139);const i=c.z.div`
29  ${({theme:h})=>(0,y.iv)`
30      .title {
31        ${h.typeStyles.h4};
32      }
33      .cards {
34        list-style: none;
35        padding: 0;
36        margin: ${h.spacing.md} 0 0 0;
37
38        > *:not(:first-child) {
39          margin-top: ${h.spacing.xxs};
40        }
41      }
42    `};
43`,L=({cards:h})=>h.length>0?e.createElement(i,null,e.createElement("h2",{className:"title"},"Related links"),h&&e.createElement("ul",{className:"cards"},h.map(d=>e.createElement("li",{key:d.id},e.createElement(x.Z,{uri:d.uri},d.title))))):null},92316:(T,f,t)=>{t.d(f,{Z:()=>h});var e=t(67294),x=t(37615),y=t(86930),c=t(28760),E=t(93139);const b=E.z.form`
44  ${({theme:d})=>{var l;return(0,c.iv)`
45      width: 100%;
46      display: flex;
47      border-radius: ${d.borderRadius};
48      border: 1px solid ${(l=d==null?void 0:d.color)==null?void 0:l.bgLight.text};
49      background: ${d.color.bgLight.background};
50
51      *:focus {
52        outline: none;
53        box-shadow: inset 0 0 0 ${d.focus.width} ${d.focus.color};
54      }
55
56      .search__input {
57        ${d.typeStyles["body-1"]};
58        height: 5.6rem;
59        width: 100%;
60        border: none;
61        border-radius: ${d.borderRadius} 0 0 ${d.borderRadius};
62        padding: ${d.spacing.xxs};
63      }
64
65      .search__submit {
66        height: 5.6rem;
67        width: 5.6rem;
68        border-radius: 0 ${d.borderRadius} ${d.borderRadius} 0;
69        background: transparent;
70        border: none;
71        display: flex;
72        align-items: center;
73        justify-content: center;
74        cursor: pointer;
75        &:hover,
76        &:focus {
77          color: ${d.color.bgLight.link};
78        }
79      }
80    `}};
81`,h=({className:d,hideLabel:l=!1,id:s,submit:$,value:g=""})=>{const[C,U]=(0,e.useState)(g);(0,e.useEffect)(()=>{U(g)},[g]);const F=S=>{S.preventDefault(),U(S.currentTarget.value)},A=S=>{S.preventDefault(),$(C)};return e.createElement(b,{className:d,onSubmit:S=>A(S)},e.createElement("label",{className:`search__label ${l?"visually-hidden":""}`,htmlFor:s},"Search"),e.createElement("input",{className:"search__input",id:s,onChange:S=>F(S),placeholder:"Search",type:"search",value:C}),e.createElement("button",{className:"search__submit",type:"submit"},e.createElement(x.Z,{icon:"search"}),e.createElement(y.Z,null,"Submit Search")))}},27523:(T,f,t)=>{t.d(f,{W:()=>V});var e=t(40470),x=t(92297),y=t(12013),c=t(67294),E=t(28760),i=t(84702),b=t(57979),v=t(93139);const h=v.z.div`
82  ${({theme:a})=>(0,E.iv)`
83      .tabs-wrap {
84        border-bottom: 1px solid ${a.color.border.dark};
85      }
86
87      .tablist {
88        width: 100%;
89        overflow-x: auto;
90        touch-action: pan-x;
91        padding: 0;
92        list-style: none;
93        margin: 0 -0.4rem -1px;
94        display: flex;
95      }
96      .tab {
97        flex: 0 0 auto;
98        padding: 0 0.4rem;
99
100        @media ${a.mq.large} {
101          flex-shrink: 1;
102        }
103      }
104      .tab-link {
105        ${a.typeStyles["body-1"]};
106        font-weight: 600;
107        display: block;
108        padding: ${a.spacing.xxs} ${a.spacing.xs};
109        background: ${a.buttons.secondary.background};
110        border: 1px solid ${a.buttons.secondary.background};
111        color: ${a.buttons.secondary.text};
112
113        border-top-left-radius: ${a.radius.xs};
114        border-top-right-radius: ${a.radius.xs};
115
116        height: 100%;
117
118        &:focus {
119          outline: none;
120          box-shadow: inset 0 0 0 3px ${a.focus.color};
121          border: 1px solid ${a.focus.color};
122        }
123        &.active {
124          pointer-events: none;
125          background: #fff;
126          border: 1px solid ${a.color.border.dark};
127          border-bottom: 1px solid #fff;
128          color: ${a.color.bgLight.text};
129          &:focus {
130            border: 1px solid ${a.focus.color};
131          }
132        }
133      }
134      .tab-content {
135        > * {
136          margin-top: ${a.spacing.xs};
137        }
138      }
139    `};
140`;var d=t(31385),l=t(47233),s=t(49264);const C=({tabs:a})=>{const u=(0,E.Fg)(),p=(0,s.a)(`(min-width: ${u.breakpoint.large}px)`),[j,W]=(0,c.useState)(a[0].id),Z=(0,c.useRef)({}),B=(0,c.useRef)({});return(0,c.useEffect)(()=>{Object.keys(Z.current).map((m,P)=>{const G=Z.current[m];G&&G.addEventListener("keydown",K=>{var J;if(K.key==="ArrowDown"&&((J=B.current[m])==null||J.focus()),K.key==="ArrowRight"){const k=Object.keys(Z.current)[P+1],M=Z.current[k];M&&M.focus()}if(K.key==="ArrowLeft"){const k=Object.keys(Z.current)[P-1],M=Z.current[k];M&&M.focus()}})})},[]),p?c.createElement(h,null,c.createElement("div",{className:"tabs-wrap"},c.createElement("ul",{className:"tablist",role:"tablist"},a.map(m=>c.createElement("li",{className:j===m.id?"tab active":"tab",key:m.id,role:"presentation"},c.createElement("a",{"aria-selected":j===m.id,className:j===m.id?"tab-link active":"tab-link",href:`#${m.id}`,id:`tab-${m.id}`,onClick:P=>{P.preventDefault(),W(m.id)},ref:P=>P&&(Z.current[m.id]=P),role:"tab",tabIndex:j===m.id?0:-1},m.title))))),a.map(m=>c.createElement("section",{"aria-labelledby":`tab-${m.id}`,className:"tab-content",hidden:j!==m.id,id:m.id,key:m.id,ref:P=>P&&(B.current[m.id]=P),role:"tabpanel",tabIndex:-1},c.createElement("h2",{className:"tab-title"},m.title),c.createElement(b.Z,{html:m.content}),m.extendedContent&&m.extendedContent.length>0&&c.createElement(i.Z,{composer:m.extendedContent,schema:d.Z})))):c.createElement(l.Z,{items:a})},F=v.z.div`
141  ${({imageAlignment:a})=>{const u={imageFlex:a==="Right"?"row":"row-reverse"};return(0,E.iv)`
142      .content-wrapper {
143        margin-top: 2rem;
144        display: flex;
145        flex-direction: ${u.imageFlex};
146        gap: 2rem;
147        .mini-feature__image {
148          width: 50%;
149          height: auto;
150          object-fit: cover;
151        }
152      }
153    `}};
154`,H=({text:a,imageAlignment:u,image:p})=>{var j,W,Z,B;return c.createElement(F,{imageAlignment:u},c.createElement("section",{className:"content-wrapper"},a&&c.createElement(b.Z,{html:a}),((W=(j=p==null?void 0:p.asset)==null?void 0:j.sys)==null?void 0:W.uri)&&c.createElement("img",{src:(B=(Z=p==null?void 0:p.asset)==null?void 0:Z.sys)==null?void 0:B.uri,alt:p==null?void 0:p.altText,className:"mini-feature__image"})))};var z=t(88143),r=Object.defineProperty,n=Object.defineProperties,o=Object.getOwnPropertyDescriptors,N=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,O=(a,u,p)=>u in a?r(a,u,{enumerable:!0,configurable:!0,writable:!0,value:p}):a[u]=p,R=(a,u)=>{for(var p in u||(u={}))I.call(u,p)&&O(a,p,u[p]);if(N)for(var p of N(u))D.call(u,p)&&O(a,p,u[p]);return a},w=(a,u)=>n(a,o(u));const V=w(R({},x.t),{form:y.Z,tabbedContent:C,stepByStep:z.Z,decisionTree:(0,e.ZP)(()=>t.e(4616).then(t.bind(t,75341))),miniFeaturedContent:H})},21954:(T,f,t)=>{t.r(f),t.d(f,{default:()=>z});var e=t(67294),x=t(45968),y=t(84702),c=t(72038),E=t(56689),i=t(82800),b=t(26505),v=t(28760),L=t(93139);const d=L.z.div`
155  ${({theme:r})=>(0,v.iv)`
156      .details-container {
157        margin-top: ${r.spacing.md};
158      }
159
160      .details {
161        padding: ${r.spacing.xxxs} ${r.spacing.xxs};
162        display: block;
163        ${r.typeStyles.h5};
164        .fa_icon {
165          color: ${r.color.brand.primary};
166          margin-right: ${r.spacing.xxxs};
167          width: 2rem;
168        }
169      }
170    `};
171`;var l=t(27523),s=t(37090),$=Object.defineProperty,g=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable,F=(r,n,o)=>n in r?$(r,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[n]=o,A=(r,n)=>{for(var o in n||(n={}))C.call(n,o)&&F(r,o,n[o]);if(g)for(var o of g(n))U.call(n,o)&&F(r,o,n[o]);return r};const z=({mappedEntry:r})=>{if(!r)return null;const{contentComposer:n,date:o,hero:N,location:I,meta:D,relatedLinks:O,time:R,provider:w,title:V,uri:a}=r,u={provider:w,location:I,date:o,time:R};return e.createElement(i.Z,{meta:D},e.createElement(d,null,e.createElement(b.Z,A({},N)),e.createElement(x.Z,{main:e.createElement(e.Fragment,null,e.createElement(s.Z,A({},u)),e.createElement(e.Fragment,null,n&&e.createElement(y.Z,{composer:n,schema:l.W}))),aside:e.createElement(e.Fragment,null,e.createElement(c.Z,{title:V,uri:a}),e.createElement(E.Z,{cards:O}))})))}},28721:(T,f,t)=>{t.d(f,{Z:()=>d});const x={randomUUID:typeof crypto!="undefined"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let y;const c=new Uint8Array(16);
171function E(){if(!y&&(y=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!y))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return y(c)}const i=[];for(let l=0;l<256;++l)i.push((l+256).toString(16).slice(1));function b(l,s=0){return i[l[s+0]]+i[l[s+1]]+i[l[s+2]]+i[l[s+3]]+"-"+i[l[s+4]]+i[l[s+5]]+"-"+i[l[s+6]]+i[l[s+7]]+"-"+i[l[s+8]]+i[l[s+9]]+"-"+i[l[s+10]]+i[l[s+11]]+i[l[s+12]]+i[l[s+13]]+i[l[s+14]]+i[l[s+15]]}function v(l,s=0){const $=b(l,s);if(!validate($))throw TypeError("Stringified UUID is invalid");return $}const L=null;function h(l,s,$){if(x.randomUUID&&!s&&!l)return x.randomUUID();l=l||{};const g=l.random||(l.rng||E)();if(g[6]=g[6]&15|64,g[8]=g[8]&63|128,s){$=$||0;for(let C=0;C<16;++C)s[$+C]=g[C];return s}return b(g)}const d=h}}]);

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.