PageSourceSearch

https://anda.jor.br/_next/static/chunks/pages/envie-sua-noticia-1f0af651851409c7.js

js anda.jor.br collected 2026-10-02 05:16:22 UTC 9,127 bytes, 7 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{1682:(e,a,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/envie-sua-noticia",function(){return s(3492)}])},3492:(e,a,s)=>{"use strict";s.r(a),s.d(a,{__N_SSG:()=>o,default:()=>n});var r=s(7876),l=s(8898),t=s(345),o=!0;let n=({data:e})=>(0,r.jsx)(t.A,{data:e,showSidebar:!0,children:(0,r.jsxs)("div",{className:"flex flex-col gap-16 mx-auto w-full",children:[(0,r.jsx)("h1",{className:"text-4xl",children:"Envia sua not\xedcia"}),(0,r.jsx)("p",{children:"Os leitores podem colaborar enviando not\xedcias e fotos de acontecimentos que sejam relevantes no Brasil e no mundo."}),(0,r.jsx)("p",{children:"Caso voc\xea presencie algo que possa influenciar o dia a dia de outras pessoas ou de sua cidade preencha o formul\xe1rio abaixo com um texto final ou informa\xe7\xf5es sobre o fato que voc\xea deseja ver publicado. Ap\xf3s a apura\xe7\xe3o dos dados, seu texto ou imagem poder\xe1 ser publicado."}),(0,r.jsxs)(l.A,{id:"136290",children:[(0,r.jsxs)("label",{className:"block",children:["Seu nome",(0,r.jsx)("input",{type:"text",name:"your-name",className:"form-input w-full peer",required:!0}),(0,r.jsx)("p",{className:"text-red-800 hidden peer-invalid:block",children:"Este campo \xe9 obrigat\xf3rio."})]}),(0,r.jsxs)("label",{className:"block",children:["Seu e-mail",(0,r.jsx)("input",{type:"email",name:"your-email",className:"form-input w-full peer",required:!0}),(0,r.jsx)("p",{className:"text-red-800 hidden peer-invalid:block",children:"Preencha um e-mail v\xe1lido."})]}),(0,r.jsxs)("label",{className:"block",children:["Seu telefone com DDD",(0,r.jsx)("input",{type:"tel",name:"telefone",className:"form-input w-full peer",required:!0}),(0,r.jsx)("p",{className:"text-red-800 hidden peer-invalid:block",children:"Preencha um telefone v\xe1lido."})]}),(0,r.jsxs)("label",{className:"block",children:["Local",(0,r.jsx)("input",{type:"text",name:"your-local",className:"form-input w-full peer",required:!0}),(0,r.jsx)("p",{className:"text-red-800 hidden peer-invalid:block",children:"Este campo \xe9 obrigat\xf3rio."})]}),(0,r.jsxs)("label",{className:"block",children:["Quando",(0,r.jsx)("input",{type:"text",name:"quando",className:"form-input w-full peer",required:!0}),(0,r.jsx)("p",{className:"text-red-800 hidden peer-invalid:block",children:"Este campo \xe9 obrigat\xf3rio."})]}),(0,r.jsxs)("label",{className:"block",children:["Resumo da informa\xe7\xe3o",(0,r.jsx)("textarea",{name:"your-message",className:"form-textarea w-full peer",rows:"3",required:!0}),(0,r.jsx)("p",{className:"text-red-800 hidden peer-invalid:block",children:"Este campo \xe9 obrigat\xf3rio."})]}),(0,r.jsxs)("label",{className:"block",children:["Anexos ",(0,r.jsx)("em",{children:"(o tamanho n\xe3o pode ultrapassar 3 MB)"}),(0,r.jsxs)("div",{className:"text-sm",children:[(0,r.jsx)("strong",{children:"V\xeddeos:"})," .avi, .mpg, .mpeg, .wmv, .mp4, .3gp, .mov",(0,r.jsx)("br",{}),(0,r.jsx)("strong",{children:"Imagens:"})," .jpg, .jpeg, .gif, .png, .bmp",(0,r.jsx)("br",{}),(0,r.jsx)("strong",{children:"Som:"})," .mp3, .wav, .wma, .m4a, .ogg",(0,r.jsx)("br",{}),(0,r.jsx)("strong",{children:"Documentos:"})," .doc, .xls, .pdf, .txt",(0,r.jsx)("br",{})]}),(0,r.jsx)("input",{type:"file",name:"arquivo",className:"w-full peer",accept:".avi,.mpg,.mpeg,.wmv,.mp4,.3gp,.mov,.jpg,.jpeg,.gif,.png,.bmp,.mp3,.wav,.wma,.m4a,.ogg,.doc,.xls,.pdf,.txt"})]})]})]})})},8423:(e,a,s)=>{"use strict";s.d(a,{A:()=>c});var r=s(7876),l=s(4232),t=s(8230),o=s.n(t);let n=(0,l.forwardRef)(({index:e,children:a,...s},l)=>(0,r.jsx)(o(),{...s,ref:l,children:a}));n.displayName="AnchorInsideLink";let c=e=>{let a=(0,l.useRef)(null),s=e.href?n:"button";return(0,r.jsx)(s,{ref:a,...e,className:`
2      block text-center rounded bg-customRed text-white uppercase p-4 w-fit text-lg
3      ${e.className||""}
4    `,children:e.children})}},8898:(e,a,s)=>{"use strict";s.d(a,{A:()=>u});var r,l=s(7876),t=s(4232),o=s(5105),n=s.n(o),c=s(8423);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var s=arguments[a];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e}).apply(null,arguments)}let d=function(e){return t.createElement("svg",i({id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"32.707px",height:"32.707px",viewBox:"0 0 32.707 32.707",style:{enableBackgroun
4d:"new 0 0 32.707 32.707"},xmlSpace:"preserve"},e),r||(r=t.createElement("g",null,t.createElement("path",{fill:"currentColor",d:"M21.477,4.511c0,2.487-2.021,4.508-4.508,4.508c-2.49,0-4.509-2.021-4.509-4.508c0-2.49,2.02-4.511,4.509-4.511 C19.458,0,21.477,2.021,21.477,4.511z M16.972,27.68c-1.386-0.002-2.513,1.119-2.517,2.508c-0.003,1.391,1.117,2.518,2.505,2.52 c1.39,0.004,2.517-1.117,2.519-2.506C19.484,28.811,18.361,27.684,16.972,27.68z M31.451,17.352c0-0.906-0.734-1.641-1.641-1.641 c-0.908,0-1.644,0.732-1.644,1.641c0,0.904,0.733,1.643,1.644,1.643C30.716,18.994,31.451,18.258,31.451,17.352z M6.995,17.352 c0-1.585-1.284-2.87-2.87-2.87s-2.869,1.285-2.869,2.87c0,1.584,1.283,2.869,2.869,2.869S6.995,18.936,6.995,17.352z M26.962,7.354 c-0.504-0.506-1.319-0.504-1.825,0c-0.505,0.506-0.505,1.328,0,1.832c0.506,0.506,1.321,0.506,1.825,0S27.466,7.86,26.962,7.354z  M9.973,24.354c-1.152-1.146-3.019-1.146-4.17-0.002c-1.151,1.146-1.152,3.012,0,4.16c1.152,1.148,3.018,1.15,4.168,0 C11.125,27.367,11.125,25.502,9.973,24.354z M27.251,27.631c0.658-0.662,0.658-1.734-0.002-2.396 c-0.658-0.658-1.726-0.658-2.385,0.004c-0.658,0.66-0.658,1.732,0,2.395C25.525,28.293,26.591,28.293,27.251,27.631z  M10.047,10.427c1.188-1.189,1.188-3.119,0-4.311c-1.188-1.189-3.115-1.189-4.305,0c-1.188,1.189-1.188,3.119,0.001,4.311 S8.858,11.618,10.047,10.427z"}))))},p="6Lf1hEMtAAAAAB9qEtnVyLtHEf7kU0WM-ccI1kCP",m={"your-name":"Nome","your-email":"E-mail",telefone:"Telefone","your-local":"Local",quando:"Quando","your-message":"Resumo da informa\xe7\xe3o",arquivo:"Anexos","link-noticia":"Link da not\xedcia"},u=e=>{let a=(0,t.useRef)(null),[s,r]=(0,t.useState)(null),[o,i]=(0,t.useState)(!1),[u,x]=(0,t.useState)(!1),f=(0,t.useCallback)(()=>!p||"u"<typeof grecaptcha?Promise.reject(Error("reCAPTCHA indispon\xedvel")):new Promise((e,a)=>{grecaptcha.ready(()=>{grecaptcha.execute(p,{action:"contactform"}).then(e).catch(a)})}),[]);return(0,t.useEffect)(()=>{u&&f().catch(()=>{})},[u,f]),(0,l.jsxs)("div",{className:"flex flex-col gap-16 mx-auto w-full",children:[(0,l.jsx)(n(),{src:`https://www.google.com/recaptcha/api.js?render=${p}`,onLoad:()=>x(!0)}),(0,l.jsxs)("form",{ref:a,className:" max-w-xl flex flex-col gap-8 [&>label]:flex [&>label]:flex-col [&>label]:gap-1 ",onSubmit:s=>{s.preventDefault(),i(!0),r(null),f().then(s=>{let r=a.current.querySelector('input[name="_wpcf7_recaptcha_response"]');r&&(r.value=s);let l=new FormData(a.current),t=new URLSearchParams(window.location.search);return e.isFeedback&&l.append("link-noticia",t.get("link")),l.set("_wpcf7",e.id),l.set("_wpcf7_version","5.9.8"),l.set("_wpcf7_locale","pt_BR"),l.set("_wpcf7_unit_tag",`wpcf7-f${e.id}-p0-o1`),l.set("_wpcf7_container_post","0"),l.set("_wpcf7_recaptcha_response",s),l.set("g-recaptcha-response",s),fetch(`https://cms.anda.jor.br/wp-json/contact-form-7/v1/contact-forms/${e.id}/feedback`,{method:"POST",body:l,redirect:"follow"})}).then(e=>e.json()).then(e=>{if("spam"===e.status&&(e.message="N\xe3o foi poss\xedvel enviar: o anti-spam (reCAPTCHA) bloqueou a mensagem. A equipe t\xe9cnica precisa conferir as chaves reCAPTCHA no WordPress (Contato → Integra\xe7\xe3o) e os dom\xednios anda.jor.br / www.anda.jor.br no Google reCAPTCHA."),"validation_failed"===e.status&&e.invalid_fields?.length){let a=e.invalid_fields.map(({field:e,message:a})=>{let s=m[e]||e;return a?`${s}: ${a}`:s}).join(" \xb7 ");e.message=a?`${e.message} (${a})`:e.message}r(e),a.current?.scrollIntoView(),"mail_sent"===e.status&&a.current.reset()}).catch(()=>{r({status:"error",message:"N\xe3o foi poss\xedvel enviar. Verifique sua conex\xe3o e tente novamente."})}).finally(()=>i(!1))},children:[(0,l.jsx)("input",{type:"hidden",name:"_wpcf7_recaptcha_response",value:""}),s?.message&&(0,l.jsx)("p",{className:`
5            p-4 border rounded
6            ${s?.status==="mail_sent"?"border-green-800 text-green-800 bg-green-200":"border-red-800 text-red-800 bg-red-200"}
7          `,children:s?.message}),e.children,(0,l.jsx)(c.A,{type:"submit",className:"cursor-pointer disabled:cursor-not-allowed",disabled:o||!u||void 0,children:o?(0,l.jsxs)("span",{className:"flex gap-2 items-center",children:[(0,l.jsx)(d,{className:"h-6 animate-spin"}
7)," Enviando..."]}):"Enviar"}),(0,l.jsxs)("p",{className:"text-sm",children:["Este site \xe9 protegido por reCAPTCHA. A ",(0,l.jsx)("a",{href:"https://policies.google.com/privacy",target:"_blank",rel:"noreferrer",className:"underline",children:"Pol\xedtica de Privacidade"})," e os ",(0,l.jsx)("a",{href:"https://policies.google.com/terms",target:"_blank",rel:"noreferrer",className:"underline",children:"Termos de Servi\xe7o"})," do Google se aplicam."]})]})]})}}},e=>{e.O(0,[149,345,636,593,792],()=>e(e.s=1682)),_N_E=e.O()}]);

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.