1import{r as j,j as e,ae as v,H as w,C as i,c as n,d as l,e as o,B as c,af as m,a0 as S,n as T,v as d,I as h,U as F,F as C,q as u,s as k}from"./index-D6S94l3r.js";import{T as A}from"./textarea-zkxjn3Pk.js";import{A as x,a as g}from"./alert-BwV6f7kW.js";import{S as b}from"./shield-check-CSwpMBzX.js";import{F as N}from"./file-text-CYTKc2yI.js";import{B as P}from"./building-2-D3-zkHoT.js";import{S as D}from"./send-S7RClQ90.js";import{M as H}from"./mail-DIzBIgeW.js";const I=()=>{const[a,r]=j.useState({name:"",email:"",groupName:"",eventDetails:""}),[p,f]=j.useState(!1),y=async s=>{if(s.preventDefault(),!a.name.trim()||!a.email.trim()||!a.eventDetails.trim()){u.error("Please fill in all required fields");return}f(!0);try{const{error:t}=await k.functions.invoke("send-safeguarding-report",{body:a});if(t)throw t;u.success("Report submitted successfully"),r({name:"",email:"",groupName:"",eventDetails:""})}catch(t){console.error("Error submitting report:",t),u.error("Failed to submit report. Please try again or email [email protected] directly.")}finally{f(!1)}};return e.jsxs("div",{className:"min-h-screen flex flex-col bg-background",children:[e.jsxs(v,{children:[e.jsx("title",{children:"Safeguarding | Abbey Theatre Nuneaton"}),e.jsx("meta",{name:"description",content:"Safeguarding policy and reporting procedures at Abbey Theatre, Nuneaton. Learn about our commitment to protecting children and vulnerable adults."})]}),e.jsx(w,{}),e.jsxs("main",{className:"flex-1",children:[e.jsx("section",{className:"relative bg-gradient-to-b from-primary/10 to-background py-16 md:py-24",children:e.jsxs("div",{className:"container mx-auto px-4 text-center",children:[e.jsx("div",{className:"flex justify-center mb-6",children:e.jsx(b,{className:"h-16 w-16 text-primary"})}),e.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-foreground mb-4",children:"Safeguarding"}),e.jsx("p",{className:"text-lg md:text-xl text-muted-foreground max-w-2xl mx-auto",children:"Our policy and reporting procedures for safeguarding at the Abbey Theatre"})]})}),e.jsx("section",{className:"py-12 md:py-16",children:e.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[e.jsxs(i,{className:"mb-8",children:[e.jsx(n,{children:e.jsxs(l,{className:"flex items-center gap-2",children:[e.jsx(N,{className:"h-5 w-5 text-primary"}),'Abbey Theatre and "The Courtyard" Safeguarding Policies']})}),e.jsxs(o,{className:"space-y-4",children:[e.jsx("div",{className:"space-y-3",children:e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-2 p-4 bg-muted/50 rounded-lg",children:[e.jsxs("div",{children:[e.jsx("p",{className:"font-medium",children:"2026 Onwards"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Abbey Theatre Safeguarding Policy 2026."})]}),e.jsx(c,{variant:"outline",size:"sm",asChild:!0,children:e.jsxs("a",{href:"https://api.theabbeytheatre.com/storage/v1/object/public/policy-documents/1767866205570-ABBEY_Safeguarding_V1-5.pdf",className:"flex items-center gap-2",children:[e.jsx(N,{className:"h-4 w-4"}),"View Policy"]})})]})}),e.jsx("p",{className:"text-sm text-muted-foreground italic",children:"Note: Previous safeguarding policies are available on request, see the Contact Us page."})]})]}),e.jsxs(i,{className:"mb-8 border-primary/50",children:[e.jsx(n,{className:"bg-primary/5",children:e.jsxs(l,{className:"flex items-center gap-2",children:[e.jsx(m,{className:"h-5 w-5 text-primary"}),"Reporting Procedure"]})}),e.jsxs(o,{className:"pt-6 space-y-4",children:[e.jsx("p",{className:"text-foreground",children:"To report an incident that you wish to be investigated by the Safeguarding Team, please fill in the following form."}),e.jsx(c,{asChild:!0,className:"w-full sm:w-auto",children:e.jsxs("a",{href:"https://forms.cloud.microsoft/Pages/ResponsePage.aspx?id=VqL5M-5atESjVYMu-s1RHXw1cub1n2lKj6uZwHHpYfdUQVVOS1NJTkNHSjFKMldPSjA1NFZGSk01Ri4u",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2",children:[e.jsx(S,{className:"h-4 w-4"}),"Safeguarding Report Form"]})}),e.jsx("p",{className:"text-sm text-muted-foreground italic",children:"Note: You can remain entirely anonymous but if you choose to share your identity it might aid the safeguarding team."})]})]}),e.jsxs(i,{className:"mb-8 border-amber-500/50",children:[e.jsxs(n,{className:"bg-amber-50 dark:bg-amber-950/20",children:[e.jsxs(l,{className:"flex items-center gap-2",children:[e.jsx(P,{className:"h-5 w-5 text-amber-600"}),"User Group Incident Logging"]}),e.jsx(T,{children:"For theatre user groups to log safeguarding incidents they have already handled"})]}),e.jsxs(o,{className:"pt-6 space-y-6",children:[e.jsxs(x,{className:"border-amber-500/50 bg-amber-50 dark:bg-amber-950/20",children:[e.jsx(m,{className:"h-4 w-4 text-amber-600"}),e.jsxs(g,{className:"text-foreground",children:[e.jsx("strong",{children:"Important:"})," If a safeguarding incident occurs at an event at the Abbey Theatre, the ",e.jsx("strong",{children:"organisers of that event"})," are responsible for reporting within their own safeguarding policies. They should use this form to log that an event occurred and was handled."]})]}),e.jsxs(x,{className:"border-primary/50",children:[e.jsx(b,{className:"h-4 w-4 text-primary"}),e.jsxs(g,{className:"text-foreground",children:["If the incident relates to the ",e.jsx("strong",{children:"fixtures and fittings of the theatre itself"})," or an event that ",e.jsx("strong",{children:"Nuneaton Arts have organised"}),", it should be reported via the"," ",e.jsx("a",{href:"https://forms.cloud.microsoft/Pages/ResponsePage.aspx?id=VqL5M-5atESjVYMu-s1RHXw1cub1n2lKj6uZwHHpYfdUQVVOS1NJTkNHSjFKMldPSjA1NFZGSk01Ri4u",target:"_blank",rel:"noopener noreferrer",className:"text-primary underline hover:no-underline",children:"Safeguarding Report Form"})," ","above."]})]}),e.jsxs("form",{onSubmit:y,className:"space-y-4",children:[e.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(d,{htmlFor:"report-name",children:"Your Name *"}),e.jsx(h,{id:"report-name",value:a.name,onChange:s=>r({...a,name:s.target.value}),placeholder:"Enter your name",required:!0,maxLength:100})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(d,{htmlFor:"report-email",children:"Your Email *"}),e.jsx(h,{id:"report-email",type:"email",value:a.email,onChange:s=>r({...a,email:s.target.value}),placeholder:"Enter your email",required:!0,maxLength:255})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(d,{htmlFor:"report-group",children:"Group Name (if applicable)"}),e.jsx(h,{id:"report-group",value:a.groupName,onChange:s=>r({...a,groupName:s.target.value}),placeholder:"e.g., Drama Club, Dance School",maxLength:100})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(d,{htmlFor:"report-details",children:"Event Details *"}),e.jsx(A,{id:"report-details",value:a.eventDetails,onChange:s=>r({...a,eventDetails:s.target.value}),placeholder:"Please describe the safeguarding incident and how it was handled...",rows:5,required:!0,maxLength:5e3}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"This information will be emailed to the safeguarding team and will not be stored in our database."})]}),e.jsx(c,{type:"submit",disabled:p,className:"w-full sm:w-auto",children:p?"Submitting...":e.jsxs(e.Fragment,{children:[e.jsx(D,{className:"mr-2 h-4 w-4"}),"Submit Report"]})})]})]})]}),e.jsxs(i,{className:"mb-8",children:[e.jsx(n,{children:e.jsxs(l,{className:"flex items-center gap-2",children:[e.jsx(F,{className:"h-5 w-5 text-primary"}),"The Safeguarding Team"]})}),e.jsxs(o,{className:"space-y-4",children:[e.jsx("p",{className:"text-foreground",children:"The safeguarding team consists of:"}),e.jsxs("ul",{className:"list-disc list-inside space-y-1 text-foreground pl-4",children:[e.jsx("li",{children:"Thomas Larmour"}),e.jsx("li",{children:"Clare Benson"})]}),e.jsx("p",{className:"text-foreground",children:"To report a concern, see above. For general enquiries please send an email to the safeguarding team."}),e.jsx(c,{variant:"outline",asChild:!0,children:e.jsxs("a",{href:"mailto:[email protected]",className:"flex items-center gap-2",children:[e.jsx(H,{className:"h-4 w-4"}),"[email protected]"]})}),e.jsxs(x,{children:[e.jsx(m,{className:"h-4 w-4"}),e.jsx(g,{children:"Our team, like the vast majority of Abbey Theatre team members, are volunteers so are not available on the phone. For immediate issues, please contact the designated person on site at the show, performance or event."})]})]})]})]})})]}),e.jsx(C,{})]})};export{I as default};
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.