PageSourceSearch

https://portal.metropolitana.edu.br/_next/static/chunks/app/(porta…/resultados/page-0b3e40b07f6e3beb.js

js metropolitana.edu.br collected 2026-10-02 12:27:14 UTC 4,926 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4146],{32364:(e,t,s)=>{"use strict";s.d(t,{ResultsView:()=>n});var r=s(95155),a=s(89123),l=s(96035),i=s(52514);function d({distribution:e,total:t}){let s=Object.entries(e).sort(([e],[t])=>e.localeCompare(t));return(0,r.jsx)("div",{className:"space-y-2",children:s.map(([e,s])=>{let a=t>0?Math.round(s/t*100):0;return(0,r.jsxs)("div",{className:"flex items-center gap-3 text-sm",children:[(0,r.jsx)("span",{className:"w-32 shrink-0 truncate text-gray-700 dark:text-gray-300",title:e,children:e}),(0,r.jsx)("div",{className:"flex-1 h-3 rounded-full bg-gray-100 dark:bg-gray-800 overflow-hidden",children:(0,r.jsx)("div",{className:"h-full rounded-full bg-blue-500",style:{width:`${a}%`}})}),(0,r.jsxs)("span",{className:"w-16 shrink-0 text-right text-gray-500 dark:text-gray-400",children:[s," (",a,"%)"]})]},e)})})}function n({results:e}){return 0===e.length?(0,r.jsxs)("div",{className:"rounded-lg border border-dashed border-gray-300 dark:border-gray-700 p-10 text-center",children:[(0,r.jsx)(a.A,{className:"mx-auto h-10 w-10 text-gray-400 mb-3"}),(0,r.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Ainda n\xe3o h\xe1 respostas para exibir resultados."})]}):(0,r.jsx)("div",{className:"space-y-4",children:e.map(e=>(0,r.jsxs)("div",{className:"rounded-lg border border-gray-200 dark:border-gray-800 bg-white dark:bg-gray-900 p-4",children:[(0,r.jsxs)("div",{className:"flex items-start justify-between gap-3 mb-3",children:[(0,r.jsx)("h3",{className:"font-medium text-gray-900 dark:text-white",children:e.prompt}),(0,r.jsxs)("span",{className:"shrink-0 text-xs text-gray-500 dark:text-gray-400",children:[i.YE[e.kind]," \xb7 ",e.total_responses," ",1===e.total_responses?"resposta":"respostas"]})]}),e.distribution&&e.total_responses>0&&(0,r.jsx)(d,{distribution:e.distribution,total:e.total_responses}),"text"===e.kind&&(0,r.jsx)("div",{className:"space-y-2",children:e.text_samples&&e.text_samples.length>0?e.text_samples.map((e,t)=>(0,r.jsxs)("div",{className:"flex items-start gap-2 rounded-md bg-gray-50 dark:bg-gray-800/50 p-2 text-sm text-gray-700 dark:text-gray-300",children:[(0,r.jsx)(l.A,{className:"mt-0.5 h-3.5 w-3.5 shrink-0 text-gray-400"}),(0,r.jsx)("span",{children:e})]},t)):(0,r.jsx)("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:"Nenhuma resposta ainda."})}),!e.distribution&&"text"!==e.kind&&0===e.total_responses&&(0,r.jsx)("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:"Nenhuma resposta ainda."})]},e.question_id))})}},52514:(e,t,s)=>{"use strict";s.d(t,{HD:()=>i,JH:()=>a,SB:()=>r,YE:()=>l});let r={institution:"Institucional",course:"Curso",class_offering:"Turma",teacher:"Professor"},a={student:"Alunos",teacher:"Professores",staff:"Funcion\xe1rios"},l={likert_5:"Escala 1–5",single_choice:"Escolha \xfanica",multi_choice:"M\xfaltipla escolha",text:"Texto livre"},i=[{value:"1",label:"1 — Discordo totalmente"},{value:"2",label:"2 — Discordo"},{value:"3",label:"3 — Neutro"},{value:"4",label:"4 — Concordo"},{value:"5",label:"5 — Concordo totalmente"}]},52628:(e,t,s)=>{Promise.resolve().then(s.bind(s,32364)),Promise.resolve().then(s.t.bind(s,98500,23))},78340:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var r=s(12115);let a=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,s)=>s?s.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},l=(...e)=>e.filter((e,t,s)=>!!e&&""!==e.trim()&&s.indexOf(e)===t).join(" ").trim();var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let d=(0,r.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:s=2,absoluteStrokeWidth:a,className:d="",children:n,iconNode:o,...c},h)=>(0,r.createElement)("svg",{ref:h,...i,width:t,height:t,stroke:e,strokeWidth:a?24*Number(s)/Number(t):s,className:l("lucide",d),...!n&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(c)&&{"aria-hidden":"true"},...c},[...o.map(([e,t])=>(0,r.createElement)(e,t)),...Array.isArray(n)?n:[n]])),n=(e,t)=>{let s=(0,r.forwardRef)(({className:s,...i},n)=>(0,r.createElement)(d,{ref:n,iconNode:t,className:l(`lucide-${a(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,s),...i}));return s.displayName=a(e),s}},89123:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(78340).A)("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]])},96035:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(78340).A)("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]])}},e=>{e.O(0,[8500,8441,5838,7358],()=>e(e.s=52628)),_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.