PageSourceSearch

https://www.cheshirewestandchester.gov.uk/_Nl7gMQ_7d09d6bc-3417-44…/js/contact.page.e316fec7de9c1e94ae8e.mjs

js cheshirewestandchester.gov.uk collected 2026-09-24 08:58:33 UTC 11,031 bytes, 211 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[932],{59099(C,b,r){r.d(b,{A:()=>A});var n=r(48322),$=r(97154),p=r.n($),g=r(42704),x=r(88194);const w=x.default.div`
2  ${({theme:{colors:i,mediaQueries:l}})=>(0,x.css)`
3      padding: 3.2rem;
4      margin: 0 0 3.2rem 0;
5      background-color: ${i.primary.lightGrey};
6
7      ol {
8        margin: 0;
9        margin-top: 1.2rem;
10        padding: 0;
11        list-style: none;
12
13        @media only screen and (min-width: ${l.msmall}) {
14          columns: 2;
15        }
16      }
17
18      li {
19        display: block;
20        width: 100%;
21        break-inside: avoid-column;
22
23        .index-item-wrapper {
24          display: flex;
25          align-items: center;
26          padding: 1.2rem 0;
27        }
28
29        .index-number {
30          font-weight: 700;
31          display: inline-block;
32          width: 2.8rem;
33          min-width: 2.8rem;
34          height: 2.8rem;
35          min-height: 2.8rem;
36          margin-right: 2.8rem;
37          font-size: 2rem;
38          text-align: center;
39          border-radius: 50%;
40          background-color: ${i.primary.black};
41          color: ${i.primary.white};
42        }
43
44        .index-content {
45          font-size: 1.8rem;
46        }
47
48        .index {
49          display: inline-block;
50          width: 1.8rem;
51          min-width: 1.8rem;
52          height: 1.8rem;
53          min-height: 1.8rem;
54          margin-right: 0.8rem;
55          font-size: 2rem;
56          border-radius: 50%;
57          background-color: ${i.primary.black};
58        }
59
60        &:last-child {
61          border-bottom: none;
62        }
63
64        &.active .index-number {
65          background-color: ${i.primary.orange};
66        }
67
68        &.active .index {
69          background-color: ${i.primary.orange};
70        }
71      }
72
73      a {
74        color: ${i.primary.darkPurple};
75      }
76
77      h2 {
78        font-size: 2rem;
79        line-height: 2.8rem;
80        margin: 0;
81        padding-bottom: 2rem;
82        font-weight: 600;
83        border-bottom: 0.3rem dotted black;
84      }
85
86      @media print {
87        display: none;
88      }
89    `}
90`,N=({linkedContentEntries:i,currentPath:l,overwriteOverview:c,contentPageChild:u,bulletList:h})=>!Array.isArray(i)||i.length===0?null:(u.length>0&&u[0].path&&u.forEach(s=>{i.splice(s.order,0,s)}),n.createElement(w,{className:"content-index"},n.createElement("nav",null,n.createElement("h2",null,"In this section"),n.createElement("ol",null,i.map((s,d)=>{const y=s.path===l,f=y?"div":g.A;return n.createElement("li",{key:s.id||s.path||d,className:y?"index-item active":"index-item"},n.createElement(f,{href:y?void 0:s.path,className:"index-item-wrapper"},h?n.createElement("span",{className:"index"}):n.createElement("span",{className:"index-number"},d+1),n.createElement("span",{className:"index-content"},d===0?c||"Overview":s.displayName)))})))));N.propTypes={linkedContentEntries:p().array,currentPath:p().string,overwriteOverview:p().string,bulletList:p().bool};const A=N},70776(C,b,r){r.d(b,{A:()=>i});var n=r(48322),$=r(97154),p=r.n($),g=r(42704);const x=r.p+"_Nl7gMQ_7d09d6bc-3417-4458-82a4-c848ebfe709f/static/img/i-right-chevron.svg?11e6b64036c0642cb3b0d137a9185c6d";var O=r(88194);const N=O.default.div`
91  ${({theme:{colors:l,mediaQueries:c}})=>(0,O.css)`
92      display: flex;
93      flex-wrap: wrap;
94      justify-content: space-between;
95
96      .content-index-paging__link {
97        display: flex;
98        align-items: center;
99        margin-bottom: 4rem;
100      }
101
102      .content-index-paging__link-title {
103        margin-bottom: 1rem;
104        font-weight: bold;
105        font-size: 2rem;
106        text-decoration: underline;
107      }
108
109      .content-index-paging__link-icon {
110        display: flex;
111        height: 3.2rem;
112        min-height: 3.2rem;
113        width: 3.2rem;
114        min-width: 3.2rem;
115        background-color: ${l.primary.black};
116
117        img {
118          width: 1.8rem;
119          height: 1.8rem;
120          display: block;
121          position: relative;
122          left: 0.8rem;
123          top: 0.8rem;
124        }
125
126        &.next {
127          margin-right: 2rem;
128          order: -1;
129
130          @media only screen and (min-width: ${c.medium}) {
131            order: 1;
132            margin-right: 0;
133            margin-left: 2rem;
134          }
135        }
136
137        &.prev {
138          margin-right: 2rem;
139
140          img {
141            transform: rotate(180deg);
142          }
143        }
144      }
145
146      @media only screen and (min-width: ${c.medium}) {
147        flex-wrap: nowrap;
148
149        .content-index-paging__link {
150          width: 40%;
151          max-width: 40%;
152          margin-bottom: 0;
153        }
154      }
155
156      @media print {
157        display: none;
158      }
159    `}
160`,A=({linkedContentEntries:l,currentPath:c})=>{if(!Array.isArray(l)||l.length===0)return null;let u=-1;l.forEach((f,S)=>{f.path===c&&(u=S)});const h=u-1,s=u+1,d=h>=0&&{displayName:l[h].displayName,path:l[h].path},y=s<=l.length-1&&{displayName:l[s].displayName,path:l[s].path};return n.createElement(N,{className:"content-index-paging"},d&&n.createElement(g.A,{href:d.path,className:"content-index-paging__link prev"},n.createElement("div",{className:"content-index-paging__link-icon prev"},n.createElement("img",{src:x,alt:"previous"})),n.createElement("div",null,n.createElement("p",{className:"content-index-paging__link-title"},"Previous"),n.createElement("p",{className:"content-index-paging__link-content"},d.displayName))),y&&n.createElement(g.A,{href:y.path,className:"content-index-paging__link next"},n.createElement("div",null,n.createElement("p",{className:"content-index-paging__link-title"},"Next"),n.createElement("p",{className:"content-index-paging__link-content"},y.displayName)),n.createElement("div",{className:"content-index-paging__link-icon next"},n.createElement("img",{src:x,alt:"next"}))))};A.propTypes={linkedContentEntries:p().array,currentPath:p().string};const i=A},64642(C,b,r){r.r(b),r.d(b,{default:()=>ie});var n=r(48322),$=r(97154),p=r.n($),g=r(18045),x=r(77610),O=r(24448),w=r(87023),N=r(75737);const i={composerProps:({composer:e})=>(0,w.FL)(e,N.A),textBelowForm:"textBelowForm",textOnTopWebsite:"textOnTopWebsite",textForForm:"forms.mainTextForForm",unsortedList:{$path:"unorderForm.mainListItem",$formatting:e=>e?{title:e.title,text:e.text,availableListing:e.availableListing,listItems:e.globalFormListItem.map(t=>t?{title:t.title,text:t.text}:null)}:null},mainFormItems:{$path:"forms.mainListItem",$formatting:e=>e?{title:e.title,text:e.text,availableListing:e.availableListing,listItems:e.globalFormListItem.map(t=>t?{title:t.title,text:t.text}:null)}:null},moreInThisSectionProps:{title:()=>"Related information",items:{$path:"moreInThisSection[*].linkEntry",$formatting:e=>e?{id:e.sys.id,title:e.entryTitle,url:(0,O.A)(e)}:null}},usefulLinksProps:{title:()=>"Useful links",form:{$path:"usefulLinks[*].linkEntry",$formatting:e=>e?{id:e.sys.id,title:e.entryTitle,url:(0,O.A)(e)}:null}},documentDownloadsProps:{title:()=>"Document downloads",items:{$path:"documentDownloads[*]",$formatting:e=>{var t,a,L;if(!e)return null;let T;const m=((L=(a=(t=e==null?void 0:e.asset)==null?void 0:t.sys)==null?void 0:a.properties)==null?void 0:L.fileSize)/1024;return m>=1024?T=`${Math.round(m/1024*100)/100}MB`:T=`${Math.round(m*100)/100}KB`,{id:e.sys.id,title:e.entryTitle,url:e.asset&&e.asset.sys.uri,isAsset:!0,size:T}}}},showTwitterTimeline:"showTwitterTimeline",twitterHeight:"twitterHeight",asideContent:{title:"asideContent.title",text:"asideContent.text",icon:"asideContent.icon.internalLink",button:{label:"asideContent.globalButton.label",url:["asideContent.globalButton.entry.url"," asideContent.globalButton.entry.sys.uri"]}},fullwidth:"fullWidthContent",decisionTree:"dataDecisionTree"};var l=r(40424),c=r(77957),u=r(17428),h=r(67443),s=r(88194);const d=s.default.div`
161  ${({theme:{colors:e,mediaQueries:t}})=>(0,s.css)`
162      padding: 36px 0;
163
164      .content {
165        margin-bottom: 2.4rem;
166      }
167
168      .paging-container {
169        margin-top: 36px;
170        position: relative;
171
172        a {
173          position: absolute;
174          font-size: 24px;
175          text-decoration: underline;
176          &.next {
177            right: 0;
178          }
179          &.prev {
180            left: 0;
181          }
182        }
183      }
184
185      .aside-content {
186        margin-top: 3.6rem;
187
188        @media only screen and (min-width: ${t.medium}) {
189          margin-top: 0;
190        }
191
192        @media print {
193          display: none;
194        }
195      }
196
197      .related-content {
198        &:nth-child(odd) {
199          background-color: ${e.primary.grey};
200        }
201
202        &:nth-child(even) {
203          background-color: ${e.secondary.brightPurple};
204        }
205
206        &:not(:last-child) {
207          margin-bottom: 1.6rem;
208        }
209      }
210    `}
211`;d.defaultProps={theme:{}};const y=d;var f=r(71114),S=r(59099),D=r(70776),B=r(47161),K=r(87307),k=r(82661),G=Object.defineProperty,R=Object.defineProperties,J=Object.getOwnPropertyDescriptors,F=Object.getOwnPropertySymbols,X=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable,j=(e,t,a)=>t in e?G(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,Z=(e,t)=>{for(var a in t||(t={}))X.call(t,a)&&j(e,a,t[a]);if(F)for(var a of F(t))Y.call(t,a)&&j(e,a,t[a]);return e},Q=(e,t)=>R(e,J(t));const q=e=>n.createElement(K.A,Q(Z({},e),{getOptionEntry:k.u}));var _=Object.defineProperty,ee=Object.defineProperties,te=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,M=(e,t,a)=>t in e?_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,ae=(e,t)=>{for(var a in t||(t={}))ne.call(t,a)&&M(e,a,t[a]);if(z)for(var a of z(t))re.call(t,a)&&M(e,a,t[a]);return e},oe=(e,t)=>ee(e,te(t));const V=({entry:e})=>
211{if(!e)return null;const{textBelowForm:t,textOnTopWebsite:a,decisionTree:L}=(0,x.Vs)(e,i),T=(0,g.useSelector)(o=>(0,c.fn)(o)),m=(0,g.useSelector)(o=>(0,c.m9)(o)),I=(0,g.useSelector)(o=>(0,c.U1)(o));let P=(0,g.useSelector)(o=>(0,u.n)(o));const le=m&&m.childCount>0,se=m&&m.displayName;let U,v=[];if(le){let o=m.children.filter(E=>E.childCount===0&&E.entry&&E.entry.sys.contentTypeId===h.Py.Contact);o&&o.length>0&&(v=[oe(ae({},m),{entry:e}),...o])}else{let o=I&&I.length>0&&I[I.length-1];o&&o.entry&&o.entry.sys.contentTypeId===h.Py.Contact&&(U=o.displayName,P&&P.length>0&&(P=P.filter(E=>E.childCount===0&&E.entry&&E.entry.sys.contentTypeId===h.Py.Contact),P=P||[],v=[o,...P]))}v=v.filter(o=>!!o.entry);const H=v&&v.length>0;let W=e.entryTitle;return H&&(W=U||se),n.createElement(l.A,null,n.createElement(y,null,n.createElement(f.f,null,n.createElement(f.V,{medium:12},n.createElement("h1",null,W)),n.createElement(f.V,{medium:12},n.createElement(S.A,{currentPath:T,linkedContentEntries:v}),n.createElement(B.A,{content:a}),n.createElement(q,{decisionTree:L}),n.createElement(B.A,{content:t})),H&&n.createElement(f.V,{medium:12},n.createElement(D.A,{currentPath:T,linkedContentEntries:v})))))};V.propTypes={entry:p().object};const ie=V}}]);

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.