1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[977],{6165:(e,s,n)=>{Promise.resolve().then(n.bind(n,2961)),Promise.resolve().then(n.t.bind(n,8173,23))},2961:(e,s,n)=>{"use strict";n.d(s,{default:()=>r});var t=n(5155),o=n(2115);let a=["It did not convert","Output looked wrong","Too slow","Confusing to use","I want another format","Something else"],i="[email protected]";function r(e){let{page:s}=e,[n,r]=(0,o.useState)(!1),[l,c]=(0,o.useState)(""),[d,h]=(0,o.useState)(""),[u,m]=(0,o.useState)("idle"),f=async()=>{if("sending"!==u){if(!l&&!d.trim()){m("error");return}m("sending");try{let e=await fetch("/api/feedback",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({tag:l,message:d.trim(),page:s})});if(!e.ok)throw Error(String(e.status));m("sent")}catch(e){m("error")}}};return"sent"===u?(0,t.jsx)("section",{className:"fb",children:(0,t.jsx)("p",{className:"fb-done",children:"Thank you. That went straight to the person who maintains this site."})}):n?(0,t.jsxs)("section",{className:"fb",children:[(0,t.jsx)("strong",{children:"Send feedback"}),(0,t.jsx)("p",{children:"Pick what happened. Everything is optional except one of the two."}),(0,t.jsx)("div",{className:"fb-tags",children:a.map(e=>(0,t.jsx)("button",{className:l===e?"chip on":"chip",onClick:()=>c(l===e?"":e),children:e},e))}),(0,t.jsx)("label",{className:"fb-label",htmlFor:"fb-msg",children:"Anything else (optional)"}),(0,t.jsx)("textarea",{id:"fb-msg",rows:3,maxLength:2e3,value:d,placeholder:"What were you trying to do?",onChange:e=>h(e.target.value)}),(0,t.jsxs)("div",{className:"row",children:[(0,t.jsx)("button",{className:"go",onClick:f,disabled:"sending"===u,children:"sending"===u?"Sending":"Send"}),(0,t.jsx)("button",{className:"alt",onClick:()=>r(!1),disabled:"sending"===u,children:"Cancel"}),"error"===u&&(0,t.jsxs)("span",{id:"status",children:["Could not send. Email ",(0,t.jsx)("a",{href:"mailto:".concat(i),children:i})," instead."]})]}),(0,t.jsx)("p",{className:"fb-note",children:"We do not collect your files, your name or your email. Only what you type here and which converter you were on."})]}):(0,t.jsx)("section",{className:"fb",children:(0,t.jsxs)("div",{className:"fb-head",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("strong",{children:"Did this work for you?"}),(0,t.jsx)("p",{children:"Tell us if something broke or if you need a format we do not cover yet."})]}),(0,t.jsx)("button",{className:"alt",onClick:()=>r(!0),children:"Send feedback"})]})})}}},e=>{var s=s=>e(e.s=s);e.O(0,[173,441,517,358],()=>s(6165)),_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.