PageSourceSearch

https://www.suffolk.gov.uk/_MhbRBA_936eda51-92ba-4748-81c7-720f34d…/modern/js/5812.9d1e8e50a6aebd7445e4.mjs

js suffolk.gov.uk collected 2026-09-24 08:42:02 UTC 15,379 bytes, 355 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[5812],{73547:(D,P,t)=>{t.d(P,{g:()=>k});var a=t(40470),O=t(48572),s=t(67294),B=t(80877),b=t(24447),h=t(28760),F=t(93139);const v=F.z.div`
2  ${()=>(0,h.iv)`
3      form {
4        margin: 0 auto;
5      }
6
7      .title,
8      .text {
9        text-align: center;
10      }
11
12      .form-btn-container {
13        justify-content: center;
14      }
15    `};
16`,x=({formId:l,text:g,title:u})=>s.createElement(v,null,s.createElement(B.Z,null,s.createElement(b.Z,{formId:l,text:g,title:u})));var y=t(32746),m=t(28376),p=t(89066),Z=t(13174);const f=F.z.div`
17  ${({theme:l})=>(0,h.iv)`
18      margin-top: ${l.spacing.md};
19      .feature {
20        display: flex;
21        flex-wrap: wrap;
22      }
23      .feature__icon {
24        flex: 0 0 5.6rem;
25        width: 5.6rem;
26        height: 5.6rem;
27        border-radius: 5.6rem;
28        display: flex;
29        align-items: center;
30        justify-content: center;
31        margin-right: ${l.spacing.xxs};
32        background: ${l.color.brand.primary};
33        transform: translateY(0.5rem);
34        .fa_icon {
35          height: 2.4rem;
36          color: #fff;
37        }
38        @media ${l.mq.small} {
39          flex: 0 0 7.2rem;
40          width: 7.2rem;
41          height: 7.2rem;
42          border-radius: 7.2rem;
43          margin-right: ${l.spacing.sm};
44          ransform: translateY(0.8rem);
45          .fa_icon {
46            height: 3.2rem;
47          }
48        }
49      }
50      .feature__content {
51        flex: 1;
52      }
53      .feature__title {
54        ${l.typeStyles.h4};
55      }
56      .feature__text {
57        margin-top: ${l.spacing.xxxs};
58      }
59
60      .wrapper {
61        padding-top: ${l.spacing.xxxs};
62        padding-bottom: ${l.spacing.xxxs};
63      }
64
65      .feature__image {
66        height: 3.2rem;
67        width: 3.2rem;
68      }
69    `};
70`,o=({cta:l,features:g,isDevMode:u,text:j,title:M})=>s.createElement(B.Z,{cta:l,text:j,title:M},s.createElement(f,null,s.createElement(p.Z,{columns:{base:1,large:2},gutter:{base:"1.2rem",medium:"1.6rem",large:"2.4rem"},justify:"left"},g==null?void 0:g.map((T,V)=>{var L;return s.createElement("div",{className:"feature",key:V},s.createElement("div",{className:"feature__icon"},(L=T==null?void 0:T.image)!=null&&L.src?s.createElement("img",{src:T.image.src,alt:T.image.altText,className:"feature__image"}):s.createElement(Z.Z,{icon:T.icon,isDevMode:u})),s.createElement("div",{className:"feature__content"},s.createElement("div",{className:"feature__title"},T.title),s.createElement("div",{className:"feature__text"},T.text)))}))));var n=t(25655),$=Object.defineProperty,w=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,d=(l,g,u)=>g in l?$(l,g,{enumerable:!0,configurable:!0,writable:!0,value:u}):l[g]=u,r=(l,g)=>{for(var u in g||(g={}))R.call(g,u)&&d(l,u,g[u]);if(w)for(var u of w(g))I.call(g,u)&&d(l,u,g[u]);return l};const A=({cta:l,features:g,text:u,title:j})=>{const{isDevMode:M}=(0,n.o)();return s.createElement(o,r({},{cta:l,features:g,isDevMode:M,text:u,title:j}))};var z=t(98621),K=t(86352),U=t(54792),W=t(34838);const k={cardRow:O.Z,contensisForm:x,features:A,featuredContent:m.Z,gallery:(0,a.ZP)(()=>Promise.all([t.e(3005),t.e(6246)]).then(t.bind(t,67078))),latestNews:z.Z,organisationLogoRow:K.Z,pageDivider:U.Z,richText:y.Z,testimonialBanner:(0,a.ZP)(()=>Promise.all([t.e(3005),t.e(5881)]).then(t.bind(t,3801))),videoSection:(0,a.ZP)(()=>Promise.all([t.e(3005),t.e(4822)]).then(t.bind(t,50545))),iFrame:W.Z}},34838:(D,P,t)=>{t.d(P,{Z:()=>S});var a=t(67294),O=t(28760),s=t(93139);const b=s.z.section`
71  ${()=>(0,O.iv)`
72      width: 100%;
73    `};
74`,S=({title:v,src:i,width:c,height:x})=>{const[y,m]=(0,a.useState)(i!=null?i:"");return(0,a.useEffect)(()=>{if(i&&i.includes("<iframe")){const p=i.match(/src="([^"]+)"/);p&&p[1]&&m(p[1])}else m(i!=null?i:"")},[i]),a.createElement(b,null,a.createElement("iframe",{id:`iframe-${v}`,title:v,src:y,width:c!=null?c:"100%",height:x!=null?x:"100%",allowFullScreen:!0,allow:"fullscreen"}))}},86352:(D,P,t)=>{t.d(P,{Z:()=>f});var a=t(67294),O=t(88277),s=t(77285),B=t(80877),b=t(28760),h=t(93139);const S=h.z.div`
75  ${({theme:e})=>(0,b.iv)`
76      text-align: center;
77
78      .title {
79        ${e.typeStyles.h5}
80      }
81
82      .logos {
83        display: flex;
84        flex-wrap: wrap;
85        justify-content: center;
86        margin: ${e.spacing.xxxs} -${e.spacing.xxxs};
87        list-style: none;
88        overflow: hidden;
89
90        @media ${e.mq.xsmall} {
91          margin: ${e.spacing.xxxs} -${e.spacing.xxs};
92        }
93
94        @media ${e.mq.large} {
95          margin: ${e.spacing.xxxs} -${e.spacing.xs};
96        }
97      }
98
99      .logo {
100        flex-basis: 50%;
101        display: flex;
102        font-size: 0;
103        line-height: 0;
104        padding: ${e.spacing.xxs};
105
106        a {
107          display: flex;
108          max-height: 100px;
109          justify-content: center;
110          opacity: 1;
111          transition: all 0.2s ease-in-out;
112          &:hover {
113            opacity: 0.8;
114            transform: translateY(-0.2rem);
115          }
116        }
117
118        img {
119          object-fit: contain;
120          display: inline-block;
121          max-height: 100px;
122        }
123
124        @media ${e.mq.xsmall} {
125          flex-basis: ${100/3}%;
126          padding: ${e.spacing.xxs};
127        }
128
129        @media ${e.mq.small} {
130          flex-basis: 25%;
131          a {
132            max-height: 120px;
133          }
134          img {
135            max-height: 120px;
136          }
137        }
138
139        @media ${e.mq.large} {
140          flex-basis: ${100/6}%;
141          padding: ${e.spacing.xs};
142          a {
143            max-height: 140px;
144          }
145          img {
146            max-height: 140px;
147          }
148        }
149      }
150    `};
151`;var v=Object.defineProperty,i=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,y=(e,o,n)=>o in e?v(e,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[o]=n,m=(e,o)=>{for(var n in o||(o={}))c.call(o,n)&&y(e,n,o[n]);if(i)for(var n of i(o))x.call(o,n)&&y(e,n,o[n]);return e};const p=({organisations:e,title:o})=>a.createElement(S,null,o&&a.createElement("h2",{className:"title"},o),e&&a.createElement("ul",{className:"logos"},e.map(n=>a.createElement("li",{className:"logo",key:n.id},a.createElement(s.Z,{uri:n.uri},a.createElement(O.Z,m({},n.image))))))),f=({organisations:e,pageType:o="landing",title:n})=>o==="landing"?a.createElement(B.Z,{hideInPrint:!0},a.createElement(p,m({},{organisations:e,title:n}))):a.createElement(p,m({},{organisations:e,title:n}))},85812:(D,P,t)=>{t.d(P,{K:()=>C});var a=t(40470),O=t(98621),s=t(28935),B=t(44630),b=t(73547),h=t(34838),F=t(13093),S=Object.defineProperty,v=Object.defineProperties,i=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,m=(f,e,o)=>e in f?S(f,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):f[e]=o,p=(f,e)=>{for(var o in e||(e={}))x.call(e,o)&&m(f,o,e[o]);if(c)for(var o of c(e))y.call(e,o)&&m(f,o,e[o]);return f},Z=(f,e)=>v(f,i(e));const C=Z(p({},b.g),{ctaBanner:s.Z,decisionTree:(0,a.ZP)(()=>t.e(4616).then(t.bind(t,94140))),latestNews:O.Z,topTasks:B.Z,videoIFrame:h.Z,miniFeaturedContent:F.Z})},28935:(D,P,t)=>{t.d(P,{Z:()=>f});var a=t(67294),O=t(66446),s=t(57979),B=t(53086),b=t(28760),h=t(93139),F=t(95409);const v=h.z.div`
152  ${({image:e,imageAlignment:o,theme:n})=>{const $={imageFlex:o==="left"?"row":"row-reverse",contentFlexDirection:o==="left"?"row-reverse":"row",imageAlign:o==="left"?`top: 0;
153            bottom: inherit;
154            left: 100%;
155            right: inherit;
156            transform: skewX(352deg);
157            transform-origin: top left;`:`top: 0;
158            bottom: inherit;
159            left: inherit;
160            right: 100%;
161            transform: skewX(-8deg);
162            transform-origin: bottom right;`,background:e?`url(
163            ${(0,F.m)({src:e.src,height:1e3,width:1e3})}
164          )`:"none",backgroundSize:e?"cover":"inherit",ctaTitleMargin:e?n.spacing.xl:n.spacing.sm,ctaPaddingDesktop:e?`${n.spacing.xs} 0 ${n.spacing.xxl}`:`${n.spacing.xs} 0 ${n.spacing.lg}`};return(0,b.iv)`
165      background-color: ${n.color.bgBrand.background};
166      color: ${n.color.bgBrand.text};
167      position: relative;
168      .markup {
169        color: ${n.color.bgBrand.text};
170      }
171
172      a {
173        color: ${n.color.bgBrand.link};
174        &:hover,
175        &:focus {
176          color: ${n.color.bgBrand.linkHover};
177        }
178      }
179      .container {
180        display: flex;
181        flex-direction: column;
182        align-content: center;
183        text-align: center;
184        position: relative;
185        z-index: 1;
186        @media ${n.mq.medium} {
187          text-align: left;
188          flex-direction: ${$.contentFlexDirection};
189        }
190      }
191      /* Backgrounds */
192      /*-------------*/
193      .banner__img {
194        background: ${$.background};
195        background-size: ${$.backgroundSize};
196        position: relative;
197        /* overflow: hidden; */
198        height: 30vh;
199        &::before {
200          content: '';
201          background: ${n.color.bgBrand.background};
202          display: block;
203          height: 100%;
204          width: 100%;
205          position: absolute;
206          top: 100%;
207          transform: skewY(355deg);
208          transform-origin: 0;
209        }
210      }
211      @media ${n.mq.xsmall} {
212        .banner__img {
213          height: 35vh;
214        }
215      }
216      @media ${n.mq.small} {
217        .banner__img {
218          height: 40vh;
219        }
220      }
221      @media ${n.mq.medium} {
222        .banner__bg {
223          display: flex;
224          flex-direction: ${$.imageFlex};
225          position: absolute;
226          top: 0;
227          right: 0;
228          bottom: 0;
229          left: 0;
230        }
231        .banner__img {
232          height: 100%;
233          flex-basis: 50%;
234          &::before {
235            content: '';
236            background: ${n.color.bgBrand.background};
237            display: block;
238            height: 100%;
239            width: 100%;
240            position: absolute;
241            ${$.imageAlign};
242          }
243        }
244      }
245
246      /* Content */
247      /*---------*/
248      .banner__content {
249        padding: ${n.spacing.xxs} 0 ${n.spacing.lg};
250        display: flex;
251        flex-direction: column;
252        align-items: center;
253        @media ${n.mq.medium} {
254          align-items: inherit;
255          padding: ${$.ctaPaddingDesktop};
256          flex: 0 0 calc(50% - ${n.spacing.md});
257        }
258      }
259      .banner__title {
260        ${n.typeStyles.h2};
261        margin-top: ${n.spacing.xxs};
262        @media ${n.mq.medium} {
263          margin-top: ${$.ctaTitleMargin};
264        }
265      }
266      .banner__intro {
267        ${n.typeStyles.h4};
268        margin-top: ${n.spacing.md};
269      }
270      .banner__text {
271        margin-top: ${n.spacing.xs};
272      }
273      .banner__cta {
274        margin-top: ${n.spacing.sm};
275      }
276      /* Images */
277      /*--------*/
278    `}};
279`;var i=Object.defineProperty,c=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,m=(e,o,n)=>o in e?i(e,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[o]=n,p=(e,o)=>{for(var n in o||(o={}))x.call(o,n)&&m(e,n,o[n]);if(c)for(var n of c(o))y.call(o,n)&&m(e,n,o[n]);return e};const f=({cta:e,image:o,imageAlignment:n,text:$,title:w})=>a.createElement(v,{image:o,imageAlignment:n},a.createElement("div",{className:"banner__bg"},o&&a.createElement("div",{className:"banner__img"})),a.createElement(O.Z,null,a.createElement("div",{className:"banner__content"},a.createElement("h2",{className:"banner__title"},w),$&&a.createElement("div",{className:"banner__text"},a.createElement(s.Z,{html:$})),e&&a.createElement("div",{className:"banner__cta"},a.createElement(B.Z,p({buttonType:"white"},e),e.label)))))},13093:(D,P,t)=>{t.d(P,{Z:()=>S});var a=t(67294),O=t(28760),s=t(93139);const b=s.z.div`
280  ${({imageAlignment:v})=>{const i={imageFlex:v==="Right"?"row":"row-reverse"};return(0,O.iv)`
281      .content-wrapper {
282        margin-top: 2rem;
283        display: flex;
284        flex-direction: ${i.imageFlex};
285        gap: 2rem;
286        .mini-feature__image {
287          width: 50%;
288          height: auto;
289          object-fit: cover;
290        }
291      }
292    `}};
293`;var h=t(57979);const S=({text:v,imageAlignment:i,image:c})=>{var x,y,m,p;return a.createElement(b,{imageAlignment:i},a.createElement("section",{className:"content-wrapper"},v&&a.createElement(h.Z,{html:v}),((y=(x=c==null?void 0:c.asset)==null?void 0:x.sys)==null?void 0:y.uri)&&a.createElement("img",{src:(p=(m=c==null?void 0:c.asset)==null?void 0:m.sys)==null?void 0:p.uri,alt:c==null?void 0:c.altText,className:"mini-feature__image"})))}},44630:(D,P,t)=>{t.d(P,{Z:()=>I});var a=t(67294),O=t(80877),s=t(13174),B=t(66446),b=t(77285),h=t(28760),F=t(77087),S=t(93139);const i=S.z.div`
294  ${({collapseMargin:d,theme:r})=>(0,h.iv)`
295      .contentBlock {
296        @media ${r.mq.large} {
297          padding-top: ${r.spacing.xl};
298        }
299      }
300
301      .tasks__list {
302        margin: -${r.spacing.xxxs};
303        margin-top: ${d?0:r.spacing.xs};
304        padding: 0;
305        overflow: hidden;
306        list-style: none;
307        display: flex;
308        flex-wrap: wrap;
309      }
310      .tasks__item {
311        flex: 0 1 100%;
312        padding: ${r.spacing.xxxs};
313        @media ${r.mq.small} {
314          flex-basis: 50%;
315        }
316        @media ${r.mq.large} {
317          flex: 1 1 calc(100% / 3);
318        }
319      }
320      .more-than-3 {
321        .tasks__item {
322          @media ${r.mq.large} {
323            flex: 0 1 calc(100% / 3);
324          }
325        }
326      }
327      .tasks__link {
328        display: flex;
329        align-items: center;
330        justify-content: center;
331        height: 100%;
332        text-align: center;
333        padding: ${r.spacing.xxs};
334        background: ${r.buttons.tertiary.background};
335        overflow: hidden;
336        color: ${r.buttons.tertiary.text};
337        font-weight: 600;
338        border-radius: ${r.borderRadius};
339        transition: background 0.2s ease-in-out;
340        position: relative;
341        z-index: 1;
342        .fa_icon {
343          margin-right: ${r.spacing.xxxs};
344        }
345        &:hover,
346        &:focus {
347          color: ${r.buttons.tertiary.text};
348          background: ${(0,F._j)(.1,r.buttons.tertiary.background)};
349          &::after {
350            opacity: 0;
351          }
352        }
353      }
354    `};
355`,x=({cards:d,isDevMode:r,title:E})=>a.createElement(i,{className:"noPrint",collapseMargin:!E},a.createElement(O.Z,{title:E},a.createElement(B.Z,null,a.createElement("ul",{className:`tasks__list ${d.length>3&&"more-than-3"}`},d.map(N=>a.createElement("li",{className:"tasks__item",key:N.id},a.createElement(b.Z,{className:"tasks__link",uri:N.uri},N.icon&&a.createElement(s.Z,{icon:N.icon,isDevMode:r}),N.label)))))));var y=t(25655),m=Object.defineProperty,p=Object.defineProperties,Z=Object.getOwnPropertyDescriptors,C=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,o=(d,r,E)=>r in d?m(d,r,{enumerable:!0,configurable:!0,writable:!0,value:E}):d[r]=E,n=(d,r)=>
355{for(var E in r||(r={}))f.call(r,E)&&o(d,E,r[E]);if(C)for(var E of C(r))e.call(r,E)&&o(d,E,r[E]);return d},$=(d,r)=>p(d,Z(r));const I=d=>{const{isDevMode:r}=(0,y.o)();return a.createElement(x,n({},$(n({},d),{isDevMode:r})))}}}]);

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.