(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4984],{8375:function(e,r,t){Promise.resolve().then(t.bind(t,4042)),Promise.resolve().then(t.bind(t,8001))},7176:function(e,r,t){"use strict";var a=t(7437);t(2265),r.Z=e=>{let{column:r}=e,{filterValue:t,setFilter:s}=r;return(0,a.jsx)("div",{className:"w-full mt-2.5  ",children:(0,a.jsx)("input",{type:"text",value:t||"",onChange:e=>s(e.target.value),onClick:e=>e.stopPropagation(),className:"w-full px-3 py-1 border border-stroke focus:border-primary outline-none rounded-md "})})}},4042:function(e,r,t){"use strict";var a=t(7437),s=t(2265),n=t(7176),o=t(9376),i=t(9317);let c=[{Header:"Pregunta",accessor:"pregunta"},{Header:"Respuesta",accessor:"respuesta"},{Header:"Observaci\xf3n",accessor:"observacion"}];r.default=()=>{(0,o.useSearchParams)();let[e,r]=(0,s.useState)(!1),[t,d]=(0,s.useState)(!1);return((0,s.useMemo)(()=>c,[]),(0,s.useMemo)(()=>({Filter:n.Z}),[]),e)?(0,a.jsx)(i.Z,{mensaje:"Cargando informaci\xf3n"}):(0,a.jsxs)("div",{className:"rounded-lg border border-stroke bg-white p-6 shadow-lg dark:border-strokedark dark:bg-boxdark text-center",children:[(0,a.jsx)("h2",{className:"text-xl font-semibold text-gray-800 dark:text-white",children:"\xa1Encuesta enviada con \xe9xito!"}),(0,a.jsx)("p",{className:"mt-2 text-gray-600 dark:text-gray-300",children:"Gracias por tu participaci\xf3n. Hemos recibido tus respuestas correctamente."})]})}},4474:function(e,r,t){"use strict";t.d(r,{o:function(){return s}});class a extends Error{}function s(e,r){let t;if("string"!=typeof e)throw new a("Invalid token specified: must be a string");r||(r={});let s=!0===r.header?0:1,n=e.split(".")[s];if("string"!=typeof n)throw new a(`Invalid token specified: missing part #${s+1}`);try{t=function(e){let r=e.replace(/-/g,"+").replace(/_/g,"/");switch(r.length%4){case 0:break;case 2:r+="==";break;case 3:r+="=";break;default:throw Error("base64 string is not of the correct length")}try{var t;return t=r,decodeURIComponent(atob(t).replace(/(.)/g,(e,r)=>{let t=r.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t="0"+t),"%"+t}))}catch(e){return atob(r)}}(n)}catch(e){throw new a(`Invalid token specified: invalid base64 for part #${s+1} (${e.message})`)}try{return JSON.parse(t)}catch(e){throw new a(`Invalid token specified: invalid json for part #${s+1} (${e.message})`)}}a.prototype.name="InvalidTokenError"}},function(e){e.O(0,[3587,9070,4609,5947,8316,798,1320,8001,2971,2117,1744],function(){return e(e.s=8375)}),_N_E=e.O()}]);