");window.Helpdesk=Helpdesk=()=>{},Helpdesk.config=(a="Helpdesk - Abrir chamado",s="",o="",l="")=>{e&&e.ZammadForm&&e.ZammadForm({messageTitle:a,messageSubmit:"Enviar",messageThankYou:"Obrigado pela pergunta (chamado #%s criado)!, Nós responderemos assim que possível!",showTitle:!0,modal:!0,attachmentSupport:!0,lang:"pt",attributes:[{display:"Name",name:"name",tag:"input",type:"text",disabled:"disabled",placeholder:"Your Name",defaultValue:s},{display:"Email",name:"email",tag:"input",type:"email",placeholder:"Your Email",defaultValue:o},{display:"Message",name:"body",tag:"textarea",placeholder:"Your Message...",defaultValue:l,rows:7}],translations:{pt:{Name:"Nome","Your Name":"Seu nome",Email:"E-mail","Your Email":"Seu e-mail",Message:"Mensagem",Attachments:"Arquivos Anexos","Your Message...":"Sua mensagem..."}}})};const a=e=>{switch(e.keyCode){case 27:e.preventDefault(),e.stopPropagation(),Helpdesk.close()}};Helpdesk.open=()=>{Helpdesk.close(),e.click(),$(".zammad-form").append(''),document.body.addEventListener("keydown",a,!0)},Helpdesk.close=()=>{document.body.removeEventListener("keydown",a,!0),$(".js-close").click()},Helpdesk.config()}))