import{r as a,j as s,I as e,g as i,w as o,x as d,bt as m,aC as c,b7 as h,aD as x,G as f}from"./index-Csef3-wA.js";import{I as u}from"./IconButton-DYCVe03c.js";import"./styles-CSDEd7mM.js";import"./styles-BI9QecvF.js";import"./styles-CBGM6aT5.js";import"./qr-code-styling-DzzIkFxD.js";const l={open:!1,subject:"",reason:"",message:"",file:"",emails:""},w=a.createContext(l);function v({children:t=null}){const[n,r]=a.useState(!1),p=()=>r(!0),g=()=>r(!1);return s.jsx(w.Provider,{value:{...l,open:n,openContact:p,closeContact:g},children:t})}const W={Container:e("div")({width:"100%",paddingTop:25},"UserContact-Container"),Form:e(h)({},"UserContact-Form-FormikForm"),FormContainer:e("div")(({theme:t})=>({display:"grid",rowGap:"23px",paddingRight:15,[t.breakpoints.down("lg")]:{paddingRight:10}}),"UserContact-FormContainer"),InputsWrapper:e("div")(({theme:t})=>({display:"grid",alignItems:"center",justifyContent:"space-between",gridTemplateColumns:"repeat(2, 1fr)",gap:16,[t.breakpoints.down("md")]:{gridTemplateColumns:"1fr"}})),TextField:e(x)(({theme:t})=>({height:"100%","& .MuiInput-multiline":{height:"auto",minHeight:140,paddingBottom:10,"& textarea":{maxHeight:"initial"},[t.breakpoints.down("md")]:{minHeight:105}}})),ActionsWrapper:e("div")(({theme:t})=>({display:"flex",justifyContent:"space-between",alignItems:"center",borderTop:`1px solid ${i.gray.normal}`,marginTop:18,paddingTop:24,paddingRight:15,[t.breakpoints.down("lg")]:{paddingRight:10}})),Button:o(t=>({root:{width:"auto",minWidth:200,[t.breakpoints.down("lg")]:{minWidth:114,height:40,fontSize:14,lineHeight:1}}}),"UserContact-Form-Button")(d),ErrorMessage:o({},"ErrorMessage")(({children:t,...n})=>s.jsx(m,{error:!0,...n,children:t}))},T={Dialog:o(t=>({paper:{width:"100%",maxWidth:792,paddingBottom:24,paddingRight:25,[t.breakpoints.down("lg")]:{paddingRight:10}}}))(c)},j={FileContainer:e("div")(({theme:t})=>({width:"100%",height:72,border:`2px dashed ${i.gray.normal}`,borderRadius:8,display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer",transition:f.transition(),"&.dragActive":{borderColor:i.gray.dark},[t.breakpoints.down("lg")]:{flexDirection:"column",height:120}})),FileInput:e("input")({display:"none"}),UploadButton:e(d)(({theme:t})=>({width:"auto",minWidth:132,height:40,order:2,[t.breakpoints.down("lg")]:{order:1}})),FilePlaceholder:e("p")(({theme:t})=>({fontWeight:600,fontSize:13,lineHeight:"16px",textAlign:"center",color:i.gray.dark,marginRight:20,order:1,[t.breakpoints.down("lg")]:{order:2,marginRight:0,marginTop:8,maxWidth:"70%"}})),FilesList:e("ul")({marginTop:16}),FileItemWrapper:e("li")({display:"flex",height:56,alignItems:"center",justifyContent:"space-between",border:"2px solid #CDD1E0",borderRadius:8,padding:"18px 20px","&:not(:last-child)":{marginBottom:8}}),TextWrapper:e("div")({display:"flex",alignItems:"center",justifyContent:"flex-start",marginRight:12}),FileInfo:e("div")(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",marginLeft:16,[t.breakpoints.down("lg")]:{flexDirection:"column",justifyContent:"center",alignItems:"flex-start"}})),FileName:e("p")(({theme:t})=>({fontWeight:600,fontSize:15,lineHeight:"18px",color:i.black,textOverflow:"ellipsis",overflow:"hidden",maxWidth:"50vw",[t.breakpoints.down("lg")]:{maxWidth:"calc(100vw - 212px)",whiteSpace:"nowrap"}})),FileSize:e("p")(({theme:t})=>({fontWeight:600,fontSize:11,lineHeight:"13px",color:i.gray.dark,marginLeft:12,[t.breakpoints.down("lg")]:{marginLeft:0,marginTop:4}})),IconButton:e(u)({color:i.red})};export{w as U,T as a,v as b,W as f,j as s};