PageSourceSearch

https://congresonacional.hn/_next/static/chunks/pages/actividad-legislativa/sesiones/[id]-b5a84ef835c4fa87.js

js congresonacional.hn collected 2026-10-02 03:20:58 UTC 12,833 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2074],{94669:function(a,b,c){"use strict";var d=c(88169),e=c(85893);b.Z=(0,d.Z)((0,e.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack")},63252:function(a,b,c){"use strict";var d=c(88169),e=c(85893);b.Z=(0,d.Z)((0,e.jsx)("path",{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 16H5V10h14zM9 14H7v-2h2zm4 0h-2v-2h2zm4 0h-2v-2h2zm-8 4H7v-2h2zm4 0h-2v-2h2zm4 0h-2v-2h2z"}),"CalendarMonth")},21370:function(a,b,c){"use strict";var d=c(88169),e=c(85893);b.Z=(0,d.Z)((0,e.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M9.5 16.5v-9l7 4.5z"}),"PlayCircle")},17864:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/actividad-legislativa/sesiones/[id]",function(){return c(47754)}])},47754:function(a,b,c){"use strict";c.r(b),c.d(b,{default:function(){return E}});var d=c(34727),e=c(14251),f=c(52875),g=c(34051),h=c.n(g),i=c(85893),j=c(88169),k=(0,j.Z)((0,i.jsx)("path",{d:"M18 13h-.68l-2 2h1.91L19 17H5l1.78-2h2.05l-2-2H6l-3 3v4c0 1.1.89 2 1.99 2H19c1.1 0 2-.89 2-2v-4zm-1-5.05-4.95 4.95-3.54-3.54 4.95-4.95zm-4.24-5.66L6.39 8.66c-.39.39-.39 1.02 0 1.41l4.95 4.95c.39.39 1.02.39 1.41 0l6.36-6.36c.39-.39.39-1.02 0-1.41L14.16 2.3c-.38-.4-1.01-.4-1.4-.01"}),"HowToVote"),l=(0,j.Z)((0,i.jsx)("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm2 16H8v-2h8zm0-4H8v-2h8zm-3-5V3.5L18.5 9z"}),"Description"),m=c(94669),n=c(21370),o=c(63252),p=c(95537),q=c(11057),r=c(98456),s=c(50657),t=c(37645),u=c(93946),v=c(6514),w=c(11163),x=c(67294),y=c(30381),z=c.n(y),A=c(37317),B=c(59605),C=function(){var a,b,c,g=(0,w.useRouter)(),j=g.query.id,y=(0,x.useState)(null),C=y[0],E=y[1],F=(0,x.useState)(null),G=F[0],H=F[1],I=(0,x.useState)(!0),J=I[0],K=I[1],L=(0,x.useState)(1),M=L[0],N=L[1],O=(0,x.useState)(null),P=O[0],Q=O[1],R=(0,x.useState)(!1),S=R[0],T=R[1],U=(c=(0,d.Z)(h().mark(function a(){var b,c;return h().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(j){a.next=2;break}return a.abrupt("return");case 2:return a.prev=2,K(!0),N(1),a.next=7,(0,B.yt)(j.toString());case 7:return b=a.sent,a.next=10,(0,B.EY)(j.toString());case 10:c=a.sent,E(b),H(c),a.next=20;break;case 15:a.prev=15,a.t0=a.catch(2),console.error("ERROR CARGANDO SESI\xd3N:",a.t0),E(null),H(null);case 20:return a.prev=20,K(!1),a.finish(20);case 23:case"end":return a.stop()}},a,null,[[2,15,20,23]])})),function(){return c.apply(this,arguments)});(0,x.useEffect)(function(){U()},[j]);var V,W,X,Y,Z=function(a){var b=String(a||"").trim();return b&&"no disponible"!==b.toLowerCase()&&"undefined"!==b.toLowerCase()&&"null"!==b.toLowerCase()?b:""},$=function(){return Z((null==C?void 0:C.YoutubeURL)||(null==C?void 0:C.youtubeURL)||(null==C?void 0:C.youtubeUrl)||(null==C?void 0:C.youtubeLink)||(null==C?void 0:C.linkYoutube)||(null==C?void 0:C.urlYoutube)||"")},_=function(a){return(null==a?void 0:a.legislativeProject)||(null==a?void 0:a.proyecto)||(null==a?void 0:a.project)||{}},aa=function(a){var b,c,d,e,f,g,h,i,j=_(a),k=Array.isArray(null==a?void 0:a.subItems)?a.subItems.find(function(a){return Z(null==a?void 0:a.authorName)}):null;return Z((null==a?void 0:a.authorName)||(null==a?void 0:null===(b=a.author)|| void 0===b?void 0:b.displayName)||(null==a?void 0:null===(c=a.author)|| void 0===c?void 0:c.name)||(null==a?void 0:a.proponente)||(null==a?void 0:a.autor)||(null==a?void 0:a.presentadoPor)||(null==a?void 0:null===(d=a.createdBy)|| void 0===d?void 0:d.displayName)||(null==a?void 0:null===(e=a.createdBy)|| void 0===e?void 0:e.name)||(null==a?void 0:a.createdBy)||(null==j?void 0:j.authorName)||(null==j?void 0:null===(f=j.author)|| void 0===f?void 0:f.displayName)||(null==j?void 0:null===(g=j.author)|| void 0===g?void 0:g.name)||(null==j?void 0:j.proponente)||(null==j?void 0:j.autor)||(null==j?void 0:j.presentadoPor)||(null==j?void 0:null===(h=j.createdBy)|| void 0===h?void 0:h.displayName)||(null==j?void 0:null===(i=j.createdBy)|| void 0===i?void 0:i.name)||(null==j?void 0:j.createdBy)||(null==k?void 0:k.authorName)||"")},ab=function(a){var b=aa(a),c=ad(a);
1return b?"Propuesto por: ".concat(b):c&&"No disponible"!==c?c:""},ac=function(a){var b=_(a);return Z((null==a?void 0:a.docFile)||(null==a?void 0:a.documentFile)||(null==a?void 0:a.fileUrl)||(null==a?void 0:a.acta)||(null==b?void 0:b.docFile)||(null==b?void 0:b.documentFile)||(null==b?void 0:b.fileUrl)||(null==b?void 0:b.acta)||"")},ad=function(a){var b=_(a);return Z((null==b?void 0:b.number)||(null==b?void 0:b.numero)||(null==b?void 0:b.code)||(null==b?void 0:b.codigo)||(null==a?void 0:a.number)||(null==a?void 0:a.numero)||(null==a?void 0:a.code)||(null==a?void 0:a.codigo)||"")},ae=function(a){Q(a),T(!0)},af=(0,x.useMemo)(function(){return Array.isArray(null==G?void 0:G.items)?G.items:[]},[G]),ag=Math.max(1,Math.ceil(af.length/10)),ah=af.slice((M-1)*10,10*M),ai={fontFamily:"Times New Roman",color:"#425466",fontSize:"16px",whiteSpace:"pre-line"};return(0,i.jsxs)(A.Z,{main:!0,uploading:J,head_title:"Detalle de Sesi\xf3n",children:[(0,i.jsx)("div",{className:"diputados-page",style:{background:"#ffffff",fontFamily:"Times New Roman"},children:(0,i.jsxs)("div",{className:"container diputados-container",children:[(0,i.jsx)(q.Z,{startIcon:(0,i.jsx)(m.Z,{}),onClick:function(){return g.back()},sx:{mb:3,color:"#0b4f88",fontWeight:700,fontFamily:"Times New Roman"},children:"Volver"}),J?(0,i.jsx)("div",{className:"container py-5 text-center",children:(0,i.jsx)(r.Z,{sx:{color:"#0b4f88"}})}):C?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("h1",{className:"diputados-title",style:{fontFamily:"Times New Roman",color:"#0b2e59",fontSize:"42px",fontWeight:700,marginBottom:"28px"},children:C.name}),(0,i.jsx)("div",{style:{background:"#ffffff",borderRadius:"28px",padding:"32px",boxShadow:"0 12px 35px rgba(0,0,0,0.08)",border:"1px solid rgba(0,0,0,0.06)",marginBottom:"35px"},children:(0,i.jsxs)("div",{className:"row",children:[(0,i.jsx)("div",{className:"col-lg-4 col-md-6 mb-3",children:(0,i.jsx)(D,{icon:(0,i.jsx)(n.Z,{sx:{fontSize:38}}),title:"Transmisi\xf3n",value:$()?"Ver sesi\xf3n en YouTube":"Transmisi\xf3n no disponible",link:$()})}),(0,i.jsx)("div",{className:"col-lg-4 col-md-6 mb-3",children:(0,i.jsx)(D,{icon:(0,i.jsx)(o.Z,{sx:{fontSize:38}}),title:"Fecha",value:C.schedule?z()(C.schedule).format("LL"):"Fecha no disponible"})}),(0,i.jsx)("div",{className:"col-lg-4 col-md-6 mb-3",children:(0,i.jsx)(D,{icon:(0,i.jsx)(k,{sx:{fontSize:38}}),title:"Estado",value:C.roomState||"Sin estado"})})]})}),(0,i.jsxs)("div",{style:{background:"#ffffff",borderRadius:"28px",padding:"32px",boxShadow:"0 12px 35px rgba(0,0,0,0.08)",border:"1px solid rgba(0,0,0,0.06)"},children:[(0,i.jsx)("h2",{style:{color:"#0b2e59",fontFamily:"Times New Roman",fontSize:"34px",fontWeight:700,marginBottom:"25px",borderBottom:"2px solid rgba(11,46,89,0.18)",paddingBottom:"10px"},children:"Orden del D\xeda"}),af.length>0?(0,i.jsxs)(i.Fragment,{children:[ah.map(function(a){var b=ab(a);return(0,i.jsxs)("div",{onClick:function(){return ae(a)},style:{background:"#f8fbff",border:"1px solid #dceaf7",borderRadius:"18px",padding:"20px",marginBottom:"16px",cursor:"pointer",transition:"all .25s ease"},onMouseEnter:function(a){a.currentTarget.style.transform="translateY(-5px)",a.currentTarget.style.boxShadow="0 16px 32px rgba(0,70,140,0.18)"},onMouseLeave:function(a){a.currentTarget.style.transform="translateY(0px)",a.currentTarget.style.boxShadow="none"},children:[(0,i.jsx)("h3",{style:{color:"#0b2e59",fontFamily:"Times New Roman",fontSize:"23px",fontWeight:700,marginBottom:"8px"},children:a.name}),b&&(0,i.jsx)("span",{style:{background:"rgba(11,79,136,0.12)",color:"#0b4f88",padding:"7px 14px",borderRadius:"20px",fontWeight:700,display:"inline-block",marginBottom:"10px",fontFamily:"Times New Roman"},children:b})]},a.roomItemId)}),af.length>10&&(0,i.jsxs)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",gap:"14px",marginTop:"28px",flexWrap:"wrap"},children:[(0,i.jsx)(q.Z,{variant:"outlined",disabled:1===M,onClick:function(){return N(function(a){return Math.max(1,a-1)})},sx:{borderRadius:"20px",fontFamily:"Times New Roman",fontWeight:700,textTransform:"none",borderColor:"#0b4f88",color:"#0b4f88"},children:"Anterior"}),(0,i.jsxs)("span",{style:{fontFamily:"Times New Roman",color:"#0b2e59",fontWeight:700,fontSize:"16px"},children:["P\xe1gina ",M," de ",ag]}),(0,i.jsx)(q.Z,{variant:"outlined",disabled:M===ag,onClick:function(){return N(function(a){return Math.min(ag,a+1)})},sx:{borderRadius:"20px",fontFamily:"Times New Roman",fontWeight:700,textTransform:"none",borderColor:"#0b4f88",color:"#0b4f88"},children:"Siguiente"})]})]}):(0,i.jsx)("div",{className:"diputados-empty",children:"No hay orden del d\xeda disponible para esta sesi\xf3n."})]})]}):(0,i.jsx)("div",{className:"diputados-empty",children:"No se encontr\xf3 la sesi\xf3n."})]})}),(0,i.jsxs)(s.Z,{open:S,onClose:function(){return T(!1)},fullWidth:!0,maxWidth:"lg",children:[(0,i.jsxs)(t.Z,{style:{fontFamily:"Times New Roman",color:"#0b2e59",fontWeight:700,fontSize:"30px",paddingRight:"55px"},children:["Informaci\xf3n del Proyecto de Ley",(0,i.jsx)(u.Z,{onClick:function(){return T(!1)},style:{position:"absolute",right:12,top:12},children:(0,i.jsx)(p.Z,{})})]}),(0,i.jsxs)(v.Z,{children:[(0,i.jsxs)("div",{style:{background:"#f8fbff",border:"1px solid rgba(11,79,136,0.12)",borderRadius:"20px",padding:"22px",marginBottom:"24px"},children:[(0,i.jsx)("h3",{style:{fontFamily:"Times New Roman",color:"#0b2e59",fontWeight:700,marginBottom:"14px",fontSize:"28px"},children:(null==(W=_(V=P))?void 0:W.title)||(null==W?void 0:W.titulo)||(null==V?void 0:V.name)||(null==V?void 0:V.title)||"Proyecto de ley"}),ad(P)&&(0,i.jsxs)("p",{style:ai,children:[(0,i.jsx)("b",{children:"N\xfamero:"})," ",ad(P)]}),aa(P)&&(0,i.jsxs)("p",{style:ai,children:[(0,i.jsx)("b",{children:"Propuesto por:"})," ",aa(P)]}),(null==P?void 0:P.legislativeProjectId)&&(0,i.jsxs)("p",{style:ai,children:[(0,i.jsx)("b",{children:"ID del proyecto:"})," ",P.legislativeProjectId]}),ac(P)&&(0,i.jsx)(q.Z,{variant:"outlined",startIcon:(0,i.jsx)(l,{}),href:ac(P),target:"_blank",rel:"noopener noreferrer",sx:{mt:2,borderRadius:"20px",fontFamily:"Times New Roman",fontWeight:700,textTransform:"none",borderColor:"#0b4f88",color:"#0b4f88"},children:"Ver acta / documento"})]}),(0,i.jsxs)("div",{style:{background:"#ffffff",border:"1px solid rgba(0,0,0,0.08)",borderRadius:"20px",padding:"22px",marginBottom:"24px",boxShadow:"0 8px 22px rgba(0,0,0,0.06)"},children:[(0,i.jsx)("h4",{style:{fontFamily:"Times New Roman",color:"#0b4f88",fontWeight:700,marginBottom:"14px",fontSize:"24px"},children:"Detalle del Proyecto de Ley"}),(0,i.jsx)("p",{style:ai,children:(null==(Y=_(X=P))?void 0:Y.description)||(null==Y?void 0:Y.descripcion)||(null==Y?void 0:Y.summary)||(null==Y?void 0:Y.resumen)||(null==X?void 0:X.description)||(null==X?void 0:X.descripcion)||(null==X?void 0:X.detail)||(null==X?void 0:X.detalle)||(null==X?void 0:X.name)||(null==Y?void 0:Y.title)||"
1No hay detalle adicional disponible para este proyecto."}),(null==P?void 0:P.resultado)&&(0,i.jsxs)("div",{style:{background:"#eef7ff",borderRadius:"16px",padding:"16px",marginTop:"16px",color:"#0b2e59",fontFamily:"Times New Roman"},children:[(0,i.jsx)("b",{children:"Resultado:"})," ","string"==typeof P.resultado?P.resultado:(null===(a=P.resultado)|| void 0===a?void 0:a.resultado)||"No disponible"]}),(null==P?void 0:null===(b=P.subItems)|| void 0===b?void 0:b.length)>0&&(0,i.jsxs)("div",{style:{marginTop:"18px"},children:[(0,i.jsx)("h5",{style:{fontFamily:"Times New Roman",color:"#0b2e59",fontWeight:700,fontSize:"20px"},children:"Informaci\xf3n adicional"}),P.subItems.map(function(a){return(0,i.jsx)("p",{style:(0,f.Z)((0,e.Z)({},ai),{marginBottom:"8px"}),children:a.name},a.roomItemId)})]})]})]})]})]})},D=function(a){var b=a.icon,c=a.title,d=a.value,e=a.link,f=(0,i.jsxs)("div",{style:{background:"#f8fbff",border:"1px solid #dceaf7",borderRadius:"20px",padding:"22px",minHeight:"150px",textAlign:"center",cursor:e?"pointer":"default",transition:"all .25s ease"},children:[(0,i.jsx)("div",{style:{color:"#0b4f88",marginBottom:"10px"},children:b}),(0,i.jsx)("h4",{style:{color:"#0b2e59",fontFamily:"Times New Roman",fontSize:"20px",fontWeight:700,marginBottom:"8px"},children:c}),(0,i.jsx)("p",{style:{color:e?"#0b4f88":"#425466",fontSize:"16px",margin:0,fontWeight:e?700:400,textDecoration:e?"underline":"none",fontFamily:"Times New Roman"},children:d})]});return e?(0,i.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"none",color:"inherit",display:"block"},children:f}):f},E=C}},function(a){a.O(0,[3365,6638,8219,7401,9102,4652,9605,9774,2888,179],function(){var b;return a(a.s=17864)}),_N_E=a.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.