PageSourceSearch

https://www.ivybridge-today.co.uk/_next/static/chunks/4450.085fe36292f3aba8.js

js ivybridge-today.co.uk collected 2026-09-25 04:59:46 UTC 18,176 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3303,4450],{23303:(e,t,o)=>{o.r(t),o.d(t,{default:()=>f});var i=o(66352);o(95132);var n=o(71924);let r=(0,n.AH)(["border-radius:20px;background-color:",";border:",";box-shadow:"," inset;-webkit-appearance:none;height:40px;"],({theme:e})=>e.default.color.backgrounds.white,({theme:e})=>`1px solid ${e.default.color.text.light}`,({theme:e})=>`0 0 0 0 ${e.default.color.text.light}`),a=(0,n.AH)(["height:40px;border-radius:20px;"]),d=(0,n.AH)(["height:40px;border-radius:20px;"]),l=n.Ay.input.withConfig({componentId:"sc-742cd590-0"})(["background-color:",";font-family:",";outline:0;width:100%;font-size:16px;font-style:normal;font-weight:600;line-height:24px;border:",";padding:20px;border-radius:20px;box-sizing:border-box;&:focus{border:",";}&:hover{border:",";}&::placeholder{color:grey;}"," "," ",""],({theme:e})=>e.default.color.backgrounds.white,({theme:e})=>e.default.fontFamily.primaryFont,({theme:e})=>`1px solid ${e.default.color.text.light}`,({theme:e})=>`2px solid ${e.default.color.primary}`,({theme:e})=>`1px solid ${e.default.color.primary}`,({$inputStyles:e})=>"default"===e&&d,({$inputStyles:e})=>"frosted"===e&&r,({$inputStyles:e})=>"form"===e&&a),s=n.Ay.span.withConfig({componentId:"sc-742cd590-1"})(["color:red;font-size:10px;padding-left:1rem;position:absolute;bottom:5px;"]),c=n.Ay.span.withConfig({componentId:"sc-742cd590-2"})(["color:red;font-size:10px;position:absolute;"]),p=n.Ay.div.withConfig({componentId:"sc-742cd590-3"})(["position:relative;white-space:nowrap;"]),m=n.Ay.p.withConfig({componentId:"sc-742cd590-4"})(["font-weight:bold;font-family:",";span{color:",";}"],({theme:e})=>e.default.fontFamily.primaryFont,({theme:e})=>e.default.color.primary),h=n.Ay.div.withConfig({componentId:"sc-742cd590-5"})(["display:flex;align-items:flex-start;flex-direction:column;width:100%;span{margin-right:1rem;}"]),u=n.Ay.div.withConfig({componentId:"sc-742cd590-6"})(["width:100%;"]),f=({inputType:e="text",placeholder:t,handleChange:o,value:n,name:r,error:a,inputStyles:d="default",onBlur:f,label:x,required:g,pattern:y,prefix:b,checkbox:w,bottom_error:j,className:v})=>(0,i.jsxs)(i.Fragment,{children:[a&&(0,i.jsx)(p,{children:(0,i.jsx)(s,{children:a})}),(0,i.jsxs)(h,{className:v,children:[(0,i.jsxs)(m,{children:[x,g&&(0,i.jsx)("span",{children:" *"})]}),b&&(0,i.jsx)("span",{children:b}),(0,i.jsx)(l,{$inputStyles:d,type:e,onBlur:f,placeholder:t,onChange:o,autoComplete:"off",value:n,name:r,"data-testid":"input",pattern:y}),w&&(0,i.jsx)(u,{children:w})]}),j&&(0,i.jsx)(p,{children:(0,i.jsx)(c,{children:j})})]})},24307:(e,t,o)=>{o.d(t,{A:()=>d});var i=o(66352),n=o(71924);let r=n.Ay.div.withConfig({componentId:"sc-9e5c2221-0"})([""]),a=n.Ay.div.withConfig({componentId:"sc-9e5c2221-1"})(["max-width:975px;margin:1rem auto;@media (max-width:1150px){max-width:95vw;margin:1rem auto;}&.section-wrapper{margin:250px auto 1rem;@media (max-width:1150px){margin:1rem auto;}}&.section-wrapper--wide{@media (min-width:1151px){max-width:1200px;}}"]),d=({children:e,innerClassName:t})=>(0,i.jsx)(r,{children:(0,i.jsx)(a,{className:t,children:e})})},28865:(e,t,o)=>{o.d(t,{A:()=>h});var i=o(66352),n=o(71924);let r=(0,n.AH)(["display:flex;align-items:center;justify-content:center;padding:12px 15px;border:0;font-family:",";text-decoration:none;color:",";background-color:",";&:disabled{cursor:not-allowed;opacity:0.6;font-weight:bold;}width:",";"],({theme:e})=>e.default.fontFamily.primaryFont,({theme:e})=>e.default.color.text.white,({theme:e})=>e.default.color.primary,({$fullwidth:e})=>e?"100%":"150px"),a=(0,n.AH)(["display:flex;align-items:center;justify-content:center;padding:12px 15px;border:0;border-radius:20px;color:white;font-family:",";background-color:red;text-decoration:none;&:disabled{cursor:not-allowed;background-color:gray;}"],({theme:e})=>e.default.fontFamily.primaryFont),d=(0,n.AH)(["display:flex;align-items:center;justify-content:center;padding:12px 15px;border:0;border-radius:20px;font-size:1.2rem;font-family:Standard Sans,sans-serif;background-color:white;text-decoration:none;&:disabled{cursor:not-allowed;background-color:gray;}"]),l=(0,n.AH)(["display:flex;align-items:center;justify-content:center;padding:12px 15px;border:0;font-family:Standard Sans,sans-serif;text-decoration:none;color:",";background-color:",";&:disabled{cursor:not-allowed;background-color:#e7e7e7;font-weight:bold;}"],({disabled:e})=>e?"#858585":"white",({theme:e})=>e.default.color.text.light),s=(0,n.AH)(["display:flex;align-items:center;justify-content:center;padding:12px 15px;border:0;font-family:Standard Sans,sans-serif;text-decoration:none;text-transform:uppercase;background-color:white;border:1px solid gray;&:disabled{cursor:not-allowed;border:1px solid #d4d4d4;&:hover{background-color:white;}}&:hover{background-color:#f3f3f3;}"]),c=n.Ay.button.withConfig({componentId:"sc-af7f5b26-0"})(["outline:0;border-radius:24px;white-space:nowrap;svg{vertical-align:text-top;font-size:20px;}&:hover{cursor:pointer;&:disabled{cursor:not-allowed;}}width:",";"," "," "," "," ",""],({$fullwidth:e})=>e?"100%":"150px",({$buttonStyle:e})=>"primary"===e&&r,({$buttonStyle:e})=>"secondary"===e&&a,({$buttonStyle:e})=>"clear"===e&&d,({$buttonStyle:e})=>"frost"===e&&l,({$buttonStyle:e})=>"pagination"===e&&s);var p=o(9027),m=o.n(p);let h=({children:e,handleClick:t,disabled:o,buttonStyles:n,buttonType:r="button",icon:a,fullwidth:d,loading:l,lefticon:s,className:p})=>(0,i.jsxs)(c,{type:r,onClick:t,disabled:o,$buttonStyle:n,role:"button",$fullwidth:d,className:p,children:[s,l?(0,i.jsxs)("span",{children:[(0,i.jsx)(m(),{color:"white",loading:l,size:12})," loading"]}
1):e,a]})},37282:(e,t,o)=>{o.d(t,{A:()=>j});var i=o(66352),n=o(95132),r=o(22527),a=o(71924);let d=a.Ay.div.withConfig({componentId:"sc-447beaac-0"})(["border:",";border-radius:20px;display:flex;flex-direction:column;align-items:center;text-align:center;padding:1.4rem;cursor:pointer;font-size:12px;margin:1rem 0;background:",";&:hover{border:","}&:invalid{border:","}&:focus{border:","}svg{font-size:36px;margin-bottom:1rem;}span{border-bottom:",";}p{font-family:",";font-size:10px;font-style:normal;font-weight:900;line-height:22px;letter-spacing:0.05em;text-align:center;margin:0;}"],({$isDragActive:e,theme:t})=>e?`dashed 2px ${t.default.color.primary}`:`dashed 1px${t.default.color.text.light}`,({$isDragActive:e,theme:t})=>e?t.default.color.backgrounds.blue:t.default.color.backgrounds.white,({theme:e})=>`dashed 1px ${e.default.color.primary}`,({theme:e})=>"dashed 1px red",({theme:e})=>`dashed 2px ${e.default.color.primary}`,({theme:e})=>`1px solid ${e.default.color.text.dark}`,({theme:e})=>e.default.fontFamily.secondaryFont),l=()=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,i.jsx)("path",{d:"M3 16L10 13L21 18M21 3.6V20.4C21 20.7314 20.7314 21 20.4 21H3.6C3.26863 21 3 20.7314 3 20.4V3.6C3 3.26863 3.26863 3 3.6 3H20.4C20.7314 3 21 3.26863 21 3.6ZM16 10C14.8954 10 14 9.10457 14 8C14 6.89543 14.8954 6 16 6C17.1046 6 18 6.89543 18 8C18 9.10457 17.1046 10 16 10Z",stroke:"#272727",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),s=({setFiles:e,cropData:t,files:o})=>{let a=(0,n.useCallback)(t=>{e(t.map(e=>Object.assign(e,{preview:URL.createObjectURL(e)})))},[e]),{getRootProps:s,getInputProps:c,isDragActive:p}=(0,r.VB)({onDrop:a});return"#"!==t||o[0]?null:(0,i.jsxs)(d,{...s(),$isDragActive:p,children:[(0,i.jsx)("input",{...c()}),(0,i.jsx)(l,{}),(0,i.jsx)("p",{children:" Drag and drop "}),(0,i.jsx)("p",{children:" or "}),(0,i.jsx)("span",{children:(0,i.jsx)("p",{children:" Browse files"})})]})};var c=o(11308),p=o(28865);o(88153);let m=a.Ay.div.withConfig({componentId:"sc-6dc0951c-0"})(["span{margin-left:auto;display:flex;}button{margin-top:1rem;margin-left:1rem;}"]),h=a.Ay.div.withConfig({componentId:"sc-6dc0951c-1"})(["display:flex;justify-content:flex-end;.ghost-btn{background-color:transparent;color:",";border:",";}"],({theme:e})=>e.default.color.primary,({theme:e})=>`1px solid ${e.default.color.primary}`),u=({setCropData:e,files:t,setFiles:o})=>{let[r,a]=(0,n.useState)(),d=(0,n.useRef)(null);return t[0]?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c.A,{ref:d,src:t[0].preview,guides:!1,crop:()=>{new FileReader().onload=()=>{}},style:{height:200,width:"100%"},onInitialized:e=>{a(e)}}),(0,i.jsx)(m,{children:(0,i.jsx)(h,{children:(0,i.jsxs)("span",{children:[(0,i.jsx)(p.A,{handleClick:()=>{o([])},buttonStyles:"secondary",className:"ghost-btn",children:"Cancel"}),(0,i.jsx)(p.A,{handleClick:()=>{void 0!==r&&(r.getCroppedCanvas().toBlob(t=>e(t)),o([]))},buttonStyles:"primary",children:"Crop"})]})})})]}):null};var f=o(44258);let x=a.Ay.div.withConfig({componentId:"sc-8b9b50bc-0"})(["background-color:",";display:flex;justify-content:center;flex-direction:column;align-items:center;padding:1rem;margin-top:1rem;border-radius:8px;.ghost-btn{background-color:transparent;color:",";border:",";}"],({theme:e})=>e.default.color.backgrounds.light,({theme:e})=>e.default.color.primary,({theme:e})=>`1px solid ${e.default.color.primary}`),g=a.Ay.img.withConfig({componentId:"sc-8b9b50bc-1"})(["height:100px;width:50%;object-fit:contain;margin-bottom:1rem;@media (max-width:","){width:100%;}"],f.KL.medium),y=({cropData:e,setCropData:t})=>"#"===e?null:(0,i.jsxs)(x,{children:[(0,i.jsx)(g,{src:URL.createObjectURL(e),alt:"cropped"}),(0,i.jsx)(p.A,{handleClick:()=>t("#"),buttonStyles:"secondary",className:"ghost-btn",children:"Cancel"})]}),b=a.Ay.div.withConfig({componentId:"sc-46a90850-0"})(["width:45%;border-radius:20px;margin-top:5px;@media (max-width:","){width:100%;margin-top:0;}"],f.KL.medium),w=a.Ay.p.withConfig({componentId:"sc-46a90850-1"})(["font-family:",";font-size:12px;font-style:normal;font-weight:600;line-height:16px;"],({theme:e})=>e.default.fontFamily.primaryFont),j=({cropData:e,className:t,label:o,setCropData:n,files:r,setFiles:a})=>(0,i.jsxs)(b,{className:t,children:[(0,i.jsx)(w,{children:o}),(0,i.jsx)(y,{cropData:e,setCropData:n}),(0,i.jsx)(s,{cropData:e,setFiles:a,files:r}),(0,i.jsx)(u,{setCropData:n,files:r,setFiles:a})]})},50279:(e,t,o)=>{o.d(t,{A:()=>s});var i=o(66352),n=o(71924);let r=(0,n.AH)(["resize:none;width:100%;overflow:hidden;outline:none;border:",";background-color:",";font-family:",";border-radius:20px;padding:1rem;font-size:16px;font-style:normal;font-weight:600;line-height:24px;text-align:left;&:focus{border:",";}&:hover{border:",";}"],({theme:e})=>`1px solid ${e.default.color.text.light}`,({theme:e})=>e.default.color.backgrounds.white,({theme:e})=>e.default.fontFamily.primaryFont,({theme:e})=>`2px solid ${e.default.color.primary}`,({theme:e})=>`1px solid ${e.default.color.primary}`),a=(0,n.AH)(["resize:none;width:100%;overflow:hidden;outline:none;border:none;background-color:",";padding:1rem;font-family:",";font-size:19px;font-style:normal;font-weight:400;line-height:30px;letter-spacing:0em;text-align:left;border-top:1px solid ",";text-align:left;&:focus{border:",";}"],({theme:e})=>e.default.color.backgrounds.light,({theme:e})=>e.default.fontFamily.primaryFont,({theme:e})=>e.default.color.text.medium,({theme:e})=>`2px solid ${e.default.color.primary}`),d=n.Ay.textarea.withConfig({componentId:"sc-146e645c-0"})([""," ",""],({$type:e})=>"form"===e&&r,({$type:e})=>"comment"===e&&a),l=n.Ay.p.withConfig({componentId:"sc-146e645c-1"})(["font-weight:bold;font-family:",";span{color:",";}"],({theme:e})=>e.default.fontFamily.primaryFont,({theme:e})=>e.default.color.primary),s=({label:e,value:t,type:o,placeholder:n,required:r,handleChange:a,name:s,readOnly:c})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(l,{children:[e,r&&(0,i.jsx)("span",{children:" *"})]}),(0,i.jsx)(d,{value:t,$type:o,placeholder:n,onChange:a,name:s,rows:5,readOnly:c||void 0!==t&&!a})]})},74450:(e,t,o)=>{o.r(t),o.d(t,{default:()=>$});var i=o(66352),n=o(24307),r=o(74079),a=o(37763),d=o(30849),l=o(71924),s=o(44258);let c=l.Ay.div.withConfig({componentId:"sc-f82f4260-0"})(["display:grid;grid-template-rowd:1fr 1fr;.input-inner-wrapper{display:flex;margin-bottom:16px;width:100%;.input-name,.input-phone{width:49%;}.input-name{display:flex;flex-direction:column;align-items:start;margin-right:16px;@media (max-width:","){margin-bottom:16px;margin-right:0;}}@media (max-width:","){margin:0 0 16px 0;width:100%;flex-direction:column;.input-name,.input-phone{width:100%;}}}@media (max-width:","){grid-template-columns:1fr;width:100%;}"],s.KL.medium,s.KL.medium,s.KL.medium);l.Ay.div.withConfig({componentId:"sc-f82f4260-1"})(["width:45%;margin-bottom:1rem;@media (max-width:","){width:100%;}"],s.KL.medium);let p=l.Ay.h1.withConfig({componentId:"sc-f82f4260-2"})(["margin-top:32px;"]);var m=o(37282),h=o(50279),u=o(28865),f=o(23303),x=o(64028),g=o(14),y=o(41957),b=o(25338),w=o(95132),j=o(96573),v=o(59085);let C=y.Ik().shape({email:(0,b.E)("Invalid email").required("Required"),name:y.Yj().required("Required"),body:y.Yj().required("Required"),phone:y.ai().required("Required")}),A=({setSuccess:e})=>{let[t,o]=(0,w.useState)([]),[n,l]=(0,w.useState)("#"),{config:s}=(0,w.useContext)(v.I),[y,b]=(0,w.useState)({width:void 0,height:void 0});return(0,w.useEffect)(()=>{function e(){b({width:window.innerWidth,height:window.innerHeight})}return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(p,{children:"Your story"}),(0,i.jsxs)(j.R2,{children:["Do you know someone who deserves their place in the spotlight? Is there a burning issue you think we should cover? Or have you captured a stunning picture or video you’d like to share?"," ",(0,i.jsx)("span",{className:"bold",children:"The
1n we want to hear from you! "}),(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),"Get in touch using the form below, providing as much information as possible and your contact details in case we need more information."]}),(0,i.jsx)(g.l1,{initialValues:{body:"",name:"",email:"",phone:""},onSubmit:async(o,{resetForm:i})=>{let r=(0,d.A)(),a=`https://flowservice-prod.s3.eu-west-2.amazonaws.com/send-a-story/${r}.png`;try{if("#"===n&&0===t.length)await x.A.post("/api/ses",{from:s.your_story,to:s.your_story,body:`<body><h1>Publication user has sent story to: ${s.pub}</h1><br/><p>Writers Information:</p><p>name:${o.name}</p><p>email: ${o.email}</p> <p>phone: ${o.phone}</p><br/><br/><p>Story:</p> <p>${o.body}</p></body> `,subject:`new story for ${s.pub}`}),e(!0);else{await x.A.post("/api/ses",{from:s.your_story,to:s.your_story,body:`<body><h1>Publication user has sent story to: ${s.pub}</h1><br/><p>Writers Information:</p><p>name:${o.name}</p> <p>email: ${o.email}</p> <p>phone: ${o.phone}</p><img src="${a}" style="max-width: 500px; width: 100%; height: auto;"/><br/><br/><p>Story:</p> <p>${o.body}</p></body> `,subject:`new story for ${s.pub}`});let i="#"===n?t[0]:n,d=await x.A.post("/api/s3",{imageId:`send-a-story/${r}.png`});await x.A.put(d.data.res,i,{headers:{"Content-Type":"image/png"}}),e(!0)}}catch(t){console.log(t),e(!0)}},validationSchema:C,children:({values:e,handleChange:d,handleBlur:s,handleSubmit:p,touched:x,errors:b,isSubmitting:w})=>(0,i.jsxs)(g.lV,{onSubmit:p,children:[(0,i.jsxs)(j.$8,{children:[(0,i.jsx)(j.M0,{children:(0,i.jsx)(h.A,{type:"form",name:"body",label:"Tell us your news",handleChange:d,placeholder:"Please provide us with your newsworthy details",required:!0})}),(0,i.jsx)(m.A,{cropData:n,setCropData:l,files:t,setFiles:o})]}),(0,i.jsxs)(c,{children:[(0,i.jsxs)("div",{className:"input-inner-wrapper",children:[(0,i.jsx)(f.default,{placeholder:"Insert name",inputStyles:"frosted",label:"Name",name:"name",handleChange:d,onBlur:s,required:!0,className:"input-name"}),(0,i.jsx)(a.A,{placeholder:"Insert phone number",inputStyles:"frosted",label:"Phone number",inputType:"tel",handleChange:d,onBlur:s,bottom_error:x.phone&&b.phone,required:!0,name:"phone",pattern:"^(?:0|\\(?\\+33\\)?\\s?|0033\\s?)[1-79](?:[\\.\\-\\s]?\\d\\d){4}$",className:"input-phone"})]}),(0,i.jsx)(j.EY,{children:(0,i.jsx)(a.A,{placeholder:"Insert email",inputStyles:"frosted",label:"Email",required:!0,name:"email",bottom_error:x.email&&b.email,handleChange:d,onBlur:s})})]}),(0,i.jsxs)(j.Hj,{children:["By sending a story you confirm that you have read and agree to our"," ",(0,i.jsx)("a",{href:"/terms",children:"Terms and Conditions"})," and"," ",(0,i.jsx)("a",{href:"/privacy",children:"Privacy Policy"}),"."]}),(0,i.jsx)(j.eM,{children:(0,i.jsx)(u.A,{disabled:w||(0,r.I)(b)||""===e.email||""===e.phone||""===e.body||""===e.name,buttonType:"submit",buttonStyles:"primary",fullwidth:!y.width||!(y.width>768),children:"Send Your Story"})})]})})]})};var k=o(4113);let I=()=>(0,i.jsx)(k.A,{type:"success",children:"Thank you! We received your story."}),$=()=>{let[e,t]=(0,w.useState)(!1);return(0,i.jsx)(n.A,{children:e?(0,i.jsx)(I,{}):(0,i.jsx)(A,{setSuccess:t})})}},96573:(e,t,o)=>{o.d(t,{$8:()=>a,EY:()=>l,Hj:()=>c,M0:()=>d,R2:()=>r,eM:()=>s});var i=o(71924),n=o(44258);let r=i.Ay.p.withConfig({componentId:"sc-6c42bc4f-0"})(["font-family:",";font-size:18px;font-style:normal;font-weight:400;line-height:24px;margin-bottom:32px;@media (max-width:","){margin-bottom:24px;}.bold{font-weight:700;}"],({theme:e})=>e.default.fontFamily.secondaryFont,n.KL.medium),a=i.Ay.div.withConfig({componentId:"sc-6c42bc4f-1"})(["display:flex;margin:0 0 0 auto;min-height:180px;@media (max-width:","){flex-direction:column;margin:0;}"],n.KL.medium),d=i.Ay.div.withConfig({componentId:"sc-6c42bc4f-2"})(["display:flex;flex-direction:column;width:65%;margin-right:16px;@media (max-width:","){width:100%;margin-right:0;}"],n.KL.medium),l=i.Ay.div.withConfig({componentId:"sc-6c42bc4f-3"})(["margin:0 0 16px 0;"]),s=i.Ay.div.withConfig({componentId:"sc-6c42bc4f-4"})(["margin:16px 0 32px 0;display:flex;align-items:flex-start;justify-content:flex-end;@media (max-width:","){align-items:flex-start;justify-content:flex-start;}"],n.KL.medium),c=i.Ay.span.withConfig({componentId:"sc-6c42bc4f-5"})(["font-family:",";font-size:12px;font-style:normal;font-weight:400;line-height:16px;a{text-decoration:underline;color:",";}"],({theme:e})=>e.default.fontFamily.secondaryFont,({theme:e})=>e.default.color.text.dark)}}]);

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.