PageSourceSearch

https://ambulante.org/_next/static/chunks/4678-894df412776b7b1b.js

js ambulante.org collected 2026-10-02 06:59:00 UTC 16,905 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4678],{30805:(l,e,t)=>{t.d(e,{A:()=>p});var a=t(23798),n=t(21462),i=t(65860),s=t.n(i),r=t(60215),u=t(50207),d=t(74447),o=t(88779),c=t(46001),m=t.n(c),g=t(50084),v=t.n(g);let h={light:"bg-white text-neutral-900",dark:"bg-neutral-900 text-white"};function x(l){let{size:e="lg",film_image:t="https://images.unsplash.com/photo-1658686873732-c93680078088?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1287&q=80",film_metadata:i,film_link:c="",film_synopsis:g="",theme:v="dark",film_name:x="",film_trailer_link:p="",film_streaming_link:b="",film_original_title:_="",film_directors:f=[],grid_details:j=!1,slug:w=""}=l,[y,N]=(0,n.useState)(!1);return(0,a.jsxs)("div",{className:m()("w-full","aspect-[3/2]"),children:[(0,a.jsxs)(r.P.div,{onMouseEnter:()=>N(!0),onMouseLeave:()=>N(!1),className:"relative overflow-hidden bg-black",children:[(0,a.jsx)(s(),{href:w,passHref:!0,children:(0,a.jsx)(r.P.img,{alt:"movie poster",className:"relative aspect-[3/2] h-full w-full cursor-pointer object-cover transition duration-500 ".concat(y?"scale-125":"scale-100"),src:t})}),(0,a.jsx)(r.P.div,{animate:{opacity:+!!y},className:"absolute top-0 h-full w-full bg-neutral-1000/[.64] text-white sm:hidden lg:block ",children:(0,a.jsx)("div",{className:"flex h-full w-full items-center justify-center",children:(0,a.jsx)("div",{className:"pointer w-3/4 space-y-4 p-4",children:(0,a.jsxs)("div",{className:" flex w-full flex-col gap-2 ",children:[b?(0,a.jsx)(s(),{href:b,target:"_blank",className:"z-50 w-full",children:(0,a.jsx)(o.A,{size:"sm",color:"secondary-dark",className:" w-full",label:"Ver pel\xedcula",trailingIcon:(0,a.jsx)("img",{className:"ml-2 h-3 w-3",src:"/next_assets/img/film/play_icon.png",alt:"thumbnail"})})}):p?(0,a.jsx)(s(),{href:p,target:"_blank",className:"z-50 w-full",children:(0,a.jsx)(o.A,{size:"sm",color:"secondary-dark",className:" w-full",label:"Ver trailer",trailingIcon:(0,a.jsx)("img",{className:"ml-2 h-3 w-3",src:"/next_assets/img/film/play_icon.png",alt:"thumbnail"})})}):null,(0,a.jsx)(s(),{className:"",href:w,passHref:!0,rel:"noreferrer",children:(0,a.jsx)(o.A,{size:"sm",color:"terciary-dark",className:"w-full max-w-full",label:"Ver detalles"})})]})})})})]}),j&&(0,a.jsxs)("div",{className:m()(h[v],"".concat(j?"grid-rows-[0.3fr_0.2fr_0.1fr_0.1fr] ":""," md: grid grid-cols-1 space-y-2 px-1 py-2 ")),children:[(0,a.jsx)("div",{className:"",children:(0,a.jsx)(u.vq,{className:"mr-2  gap-2 sm:text-[16px] lg:text-[20px] ".concat("light"===v?"text-neutral-800":"text-neutral-100"," normal-case"),fontWeight:"bold",as:"span",size:"md",children:x})}),(0,a.jsx)("div",{children:_?(0,a.jsxs)(u.VI,{className:"".concat("light"===v?"text-neutral-700":"text-neutral-500"," font-semibold normal-case"),as:"span",size:"lg",children:["(",_,")"]}):null}),(0,a.jsx)(u.nB,{as:"div",className:"".concat("light"===v?"text-neutral-800":"text-neutral-500"," last:after:content-[''] sm:text-[14px] lg:text-[16px]"),size:"sm",children:f.map((l,e)=>(0,a.jsxs)("span",{className:" pr-2",children:[l," ",e===f.length-1?null:","]},e))}),"sm"!=e&&i?(0,a.jsx)(d.A,{theme:"light",size:"sm",film_metadata:i}):null]})]})}x.propTypes={film_trailer_link:v().string,film_synopsis:v().string,film_streaming_link:v().string,film_ama:v().bool,theme:v().oneOf(["light","dark"]),film_name:v().string,film_original_title:v().string,film_directors:v().array};let p=x},32143:(l,e,t)=>{t.d(e,{A:()=>j});var a=t(23798),n=t(21462),i=t(60958),s=t(65860),r=t.n(s),u=t(60215),d=t(50084),o=t.n(d),c=t(46001),m=t.n(c),g=t(50207),v=(t(79092),t(88779)),h=t(33911),x=t(30430),p=t(12819);t(39364),t(74447);var b=t(52193),_=t(20115);b.N,b.N.bind({}).args={label:"Textlink Extra Large",size:"xl",theme:"light",leadingIcon:(0,a.jsx)(_.A,{}),trailingIcon:(0,a.jsx)(i.A,{})},b.N.bind({}).args={label:"Textlink Large",size:"lg",leadingIcon:(0,a.jsx)(_.A,{}),trailingIcon:(0,a.jsx)(i.A,{})},b.N.bind({}).args={label:"Textlink Medium",size:"md",leadingIcon:(0,a.jsx)(_.A,{}),trailingIcon:(0,a.jsx)(i.A,{})},b.N.bind({}).args={label:"Textlink Small",size:"sm",leadingIcon:(0,a.jsx)(_.A,{}),trailingIcon:(0,a.jsx)(i.A,{})},b.N.bind({}).args={};let f=["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"];function j(l){var e,t;let{film_projections:s={from_date:"",to_date:"",date:"",time:"20:00",time_zone:"CST",venue:"Nombre de la sede",billboard_link:"www.google.com/venue_billboard",online_purchase_link:"www.google.com/buy_venue_ticket",type:"open_tv",cost:!1},image:d="",movie:o={},id:c="",fullDate:b=!0,imageDataLink:_="",trailer:j="",showTitle:w=!1,showImage:y=!1,type:N=s.type,label:A="",displayDate:z=null,view_more:k="",movie_title:I=s.movie_title,movie_link:C="",theme:D="light",show_location:R=!1,className:S,maps_url:E=s.maps_url||"",setChild:M}
1=l,[P,B]=(0,n.useState)(!1),T=(0,p.A)(),[L,V]=(0,n.useState)(!1),q=s.from_date?new Date(s.from_date):null;s.to_date?s.to_date:s.date,(0,n.useRef)(null);let H=E||(s.venue&&s.city?"https://www.google.com/maps/search/?api=1&query="+encodeURIComponent(s.venue+" "+s.city):null);return(0,a.jsx)(u.P.div,{initial:{opacity:0,scale:.7},whileInView:{opacity:1,scale:1},onMouseLeave:()=>V(!1),onMouseEnter:()=>V(!0),className:m()(y?"":"border-neutral-900 ","group relative min-w-[200px] overflow-hidden    "),children:(0,a.jsxs)("div",{className:m()(" left-0 top-0 z-40 flex h-full items-center gap-3 bg-transparent align-middle lg:gap-4   "),children:[(0,a.jsx)("div",{className:" aspect-[2/3] max-h-[216px] min-h-[152px] min-w-[96px] max-w-[96px] self-baseline bg-gray-100 lg:h-full lg:min-w-[124px] lg:max-w-[124px]  ",children:(0,a.jsx)("img",{className:"h-full w-full   object-cover ",src:d})}),(0,a.jsxs)("div",{className:"ml-3 space-y-3 lg:ml-4",children:[q&&(0,a.jsx)("div",{children:(0,a.jsxs)(g.nB,{className:"font-bold",size:T.width>x.A.lg?"xl":"lg",children:[b&&q.getDate(),"\xa0",b&&f[q.getMonth()],"\xa0",z||(0,h.A)(q,"p")]})}),A?(0,a.jsx)(g.nB,{size:"md",className:"bg-neutral-100 px-2 py-1",children:A}):null,(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(g.hE,{className:"line-clamp-3 max-w-[200px] normal-case",as:"p",size:T.width>x.A.lg?"md":"sm",children:I}),(null==s?void 0:s.venue)?(0,a.jsxs)("div",{className:"py-3",children:[(0,a.jsx)(g.vq,{as:"p",size:"md",children:null==s?void 0:s.venue}),(0,a.jsx)(g.vq,{as:"p",size:"sm",children:s.city})]}):null,(null==o||null==(t=o.attributes)||null==(e=t.Directores)?void 0:e.length[0])?(0,a.jsx)(g.nB,{size:"md",children:null==o?void 0:o.attributes.Directores.map((l,e)=>(0,a.jsxs)("span",{className:"pr-2",children:[l,"\xa0",e===(null==o?void 0:o.attributes.Directores.length)-1?null:","]},e))}):null,null!==s.cost?(0,a.jsx)(g.nB,{className:"text-neutral-500 ",size:"md",children:s.cost?"Con costo":"Gratuito"}):null]}),(0,a.jsxs)("div",{className:"flex gap-3",children:[j?(0,a.jsx)(r(),{href:j,target:"_blank",className:"z-20",children:(0,a.jsx)(v.A,{size:"sm",label:"Ver trailer",color:"terciary-light"})}):null,k?(0,a.jsx)(r(),{href:k,children:(0,a.jsx)(v.A,{size:"sm",label:"Ver detalle",color:"terciary-light"})}):null,H&&(0,a.jsx)(r(),{href:H,target:"_blank",children:(0,a.jsx)(v.A,{size:"sm",label:"Ubicar sede",color:"terciary-dark",trailingIcon:(0,a.jsx)(i.A,{})})})]})]})]})})}j.propTypes={film_projections:o().object,theme:o().oneOf(["light","dark"])}},56802:(l,e,t)=>{t.d(e,{A:()=>o});var a=t(23798);t(21462);var n=t(50084),i=t.n(n),s=t(46001),r=t.n(s),u=t(50207);let d={sm:"",md:"px-5 py-1"};function o(l){let{size:e="md",active:t=!1,children:n,...i}=l,s=r()(d[e],"flex b-radi rounded-2xl border border-neutral-300 hover:border-transparent text-neutral-700 justify-center hover:bg-neutral-900 hover:text-neutral-50 cursor-pointer",t?"bg-neutral-900 text-white":"bg-transparent text-neutral-700");return(0,a.jsx)("div",{...i,className:s,children:(0,a.jsx)(u.JU,{size:e,children:n})})}o.propTypes={size:i().oneOf(["sm","md","lg"]),active:i().bool}},74678:(l,e,t)=>{t.d(e,{A:()=>A});var a=t(23798),n=t(21462),i=t(84592),s=t(56802),r=t(88225),u=t(17370),d=t(85558),o=t.n(d),c=t(74439);let m=function(){let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=o().stringify({populate:"*",filters:{...l}}),{data:t,error:a,mutate:n}=(0,u.Ay)("/api/entradas?".concat(e),l=>c.A.get(l).then(l=>l.data));return{data:t,isLoading:!a&&!t,error:a,mutate:n}};var g=t(66059),v=t(32143),h=t(35878),x=t(12819),p=t(30430),b=t(21261),_=t(30805),f=t(74495),j=t(50207),w=t(27062),y=t(493),N=t(63518);function A(l){var e,t,u,d,o,c,A,z,k,I,C,D,R,S,E,M,P,B,T;let{movieId:L,showMovie:V=!1,showEvents:q=!0,showEntries:H=!0,showProjections:$=!0}=l,{width:G}=(0,x.A)(),[O,U]=(0,n.useState)({}),W=1e3*(0,f.A)(new Date),J=(0,y.useRouter)(),[X,Q]=(0,n.useState)("es-MX");(0,n.useEffect)(()=>{if(!J.isReady)return;let l=J.query.locale,e=localStorage.getItem("amb-locale"),t=l||e||"es-MX";Q(t),localStorage.setItem("amb-locale",t)},[J.isReady,J.query.locale]),(0,n.useEffect)(()=>{(0,r.kQ)({peliculas:{id:L}}).then(l=>{U(l.data)})},[]);let{data:Y,isLoading:F,isError:K}=m({peliculas:{id:L}}),{data:Z,isLoading:ll,isError:le}=(0,r.ur)({peliculas:{id:L},$or:[{tv_screenings:{date:{$gte:W}}},{live_screenings:{date:{$gte:W}}},{online_screenings:{start_date:{$gte:W}}}]}),{data:lt,isLoading:la,isError:ln}=(0,g.$H)({id:L}),li=[null==Z||null==(e=Z.data)?void 0:e.length,null==Y||null==(t=Y.data)?void 0:t.length,null==O||null==(u=O.data)?void 0:u.length].filter(
1Boolean);return(0,a.jsxs)("div",{className:"",children:[(null==lt||null==(d=lt.data)?void 0:d.length)&&V||(null==Z||null==(o=Z.data)?void 0:o.length)&&$||(null==O||null==(c=O.data)?void 0:c.length)&&q||(null==Y||null==(A=Y.data)?void 0:A.length)&&H?(0,a.jsx)("div",{className:"my-8 text-center",children:(0,a.jsx)(j.nl,{size:G<p.A.md?"xs":"md",fontWeight:"light",children:w.n[X].RelatedContent.title})}):null,(0,a.jsxs)(i.oz.Group,{children:[li.length>=2&&(0,a.jsxs)(i.oz.List,{className:"space-x-3 text-center",children:[(null==lt||null==(z=lt.data)?void 0:z.length)&&V?(0,a.jsx)(i.oz,{children:l=>{let{selected:e}=l;return(0,a.jsxs)(s.A,{active:e,children:[" ",w.n[X].RelatedContent.AnchorChip.films]})}}):null,(null==Z||null==(k=Z.data)?void 0:k.length)&&$?(0,a.jsx)(i.oz,{children:l=>{let{selected:e}=l;return(0,a.jsxs)(s.A,{active:e,children:[" ",w.n[X].RelatedContent.AnchorChip.screenings]})}}):null,(null==O||null==(I=O.data)?void 0:I.length)&&q?(0,a.jsx)(i.oz,{children:l=>{let{selected:e}=l;return(0,a.jsxs)(s.A,{active:e,children:[" ",w.n[X].RelatedContent.AnchorChip.events]})}}):null,(null==Y||null==(C=Y.data)?void 0:C.length)&&H?(0,a.jsx)(i.oz,{children:l=>{let{selected:e}=l;return(0,a.jsx)(s.A,{active:e,children:w.n[X].RelatedContent.AnchorChip.publications})}}):null]}),(0,a.jsxs)(i.oz.Panels,{children:[(null==lt||null==(D=lt.data)?void 0:D.length)&&V?(0,a.jsx)(i.oz.Panel,{className:"mt-10",children:(0,a.jsx)("div",{className:"grid-cols-4 gap-3 space-y-10 md:grid md:space-y-0",children:(null==lt||null==(R=lt.data)?void 0:R.length)>0?lt.data.map(l=>{var e,t,n,i,s;return(0,a.jsx)(_.A,{grid_details:!0,theme:"light",slug:"/catalogo/".concat(l.attributes.filmSlug),film_name:l.attributes.film_name,film_image:(null==(n=l.attributes)||null==(t=n.film_cover_image.data)||null==(e=t.attributes.formats.small)?void 0:e.url)||(null==(s=l.attributes)||null==(i=s.film_cover_image.data)?void 0:i.attributes.url),film_link:l.attributes.film_stream_link||"",film_directors:l.attributes.Directores.map(l=>{let{Director:e}=l;return e}),film_synopsis:l.attributes.film_excerpt,film_streaming_link:l.attributes.film_stream_link||""},l.id)}):null})}):null,(null==Z||null==(S=Z.data)?void 0:S.length)?(0,a.jsx)(i.oz.Panel,{className:"mt-10",children:(0,a.jsx)("div",{className:"grid-cols-2 gap-3 md:grid",children:(null==Z||null==(E=Z.data)?void 0:E.length)>0?Z.data.map(l=>{var e,t,n,i,s,r,u,d,o,c,m,g,h,x,p,b,_,f,j,w,y,N,A,z,k,I,C,D,R,S,E,M,P,B,T,L,V,q,H,$,G,O,U,W,J,X,Q,Y,F,K,Z,ll,le,lt,la,ln,li,ls,lr,lu,ld,lo,lc,lm,lg,lv,lh,lx,lp,lb,l_,lf,lj,lw,ly,lN,lA,lz,lk;return(null==(e=l.attributes)?void 0:e.online_screenings[0])?(0,a.jsx)(v.A,{label:"Proyecci\xf3n",fullDate:!0,movie_title:null==(n=l.attributes)||null==(t=n.online_screenings[0])?void 0:t.title,showTitle:!0,showImage:!1,maps_url:null==(u=l.attributes)||null==(r=u.sede)||null==(s=r.data)||null==(i=s.attributes)?void 0:i.venue_map_url,trailer:null==(m=l.attributes)||null==(c=m.peliculas)||null==(o=c.data[0])||null==(d=o.attributes)?void 0:d.film_trailer_link,movie_link:(null==(g=l.attributes)?void 0:g.online_screenings)?"/catalogo/".concat(null==(p=l.attributes.films)||null==(x=p.data[0])||null==(h=x.attributes)?void 0:h.slug):"/calendario/".concat(l.id),view_more:"/catalogo/".concat(null==(f=l.attributes)||null==(_=f.peliculas)||null==(b=_.data[0])?void 0:b.attributes.filmSlug),movie:l.attributes.peliculas.data[0],image:(null==(N=l.attributes)||null==(y=N.event_image)||null==(w=y.data)||null==(j=w.attributes)?void 0:j.url)||(null==(R=l.attributes)||null==(D=R.peliculas)||null==(C=D.data[0])||null==(I=C.attributes)||null==(k=I.film_cover_image)||null==(z=k.data)||null==(A=z.attributes)?void 0:A.url),film_projections:{from_date:null==(E=l.attributes)||null==(S=E.online_screenings[0])?void 0:S.start_date,to_date:null==(P=l.attributes)||null==(M=P.online_screenings[0])?void 0:M.end_date,cost:null==l||null==(T=l.attributes)||null==(B=T.online_screenings[0])?void 0:B.admission_fee,venue:(null==l||null==(H=l.attributes)||null==(q=H.sede)||null==(V=q.data)||null==(L=V.attributes)?void 0:L.name)||"",city:(null==l||null==(U=l.attributes)||null==(O=U.sede)||null==(G=O.data)||null==($=G.attributes)?void 0:$.states)||""}},l.id):(0,a.jsx)(v.A,{fullDate:!0,label:"Proyecci\xf3n",movie_title:(null==(W=l.attributes)?void 0:W.event_name)||(null==(J=l.attributes)?void 0:J.title),showTitle:!0,showImage:!1,view_more:(null==(X=l.attributes)?void 0:X.live_screenings)?"/catalogo/".concat(null==(F=l.attributes)||null==(Y=F.peliculas)||null==(Q=Y.data[0])?void 0:Q.attributes.filmSlug):"/calendario/".concat(l.id),movie_link:(null==(K=l.attributes)?void 0:K.live_screenings)?"":"/calendario/".concat(l.id),movie:l.attributes.peliculas.data[0],image:(null==(lt=l.attributes)||null==(le=lt.event_image)||null==(ll=le.data)||null==(Z=ll.attributes)?void 0:Z.url)||(null==(ld=l.attributes)||null==(lu=ld.peliculas)||null==(lr=lu.data[0])||null==(ls=lr.attributes)||null==(li=ls.film_cover_image)||null==(ln=li.data)||null==(la=ln.attributes)?void 0:la.url),film_projections:{maps_url:null==(lg=l.attributes)||null==(lm=lg.sede)||null==(lc=lm.data)||null==(lo=lc.attributes)?void 0:lo.venue_map_url,from_date:null==(lh=l.attributes)||null==(lv=lh.live_screenings[0])?void 0:lv.date,to_date:null==(lp=l.attributes)||null==(lx=lp.live_screenings[0])?void 0:lx.date,cost:null==l||null==(l_=l.attributes)||null==(lb=l_.live_screenings[0])?void 0:lb.admission_fee,venue:(null==l||null==(ly=l.attributes)||null==(lw=ly.sede)||null==(lj=lw.data)||null==(lf=lj.attributes)?void 0:lf.name)||"",city:(null==l||null==(lk=l.attributes)||null==(lz=lk.sede)||null==(lA=lz.data)||null==(lN=lA.attributes)?void 0:lN.states)||""}},l.id)}):null})}):null,(null==O||null==(M=O.data)?void 0:M.length)?(0,a.jsx)(i.oz.Panel,{className:"mt-10",children:(0,a.jsx)("div",{className:"grid-cols-4 gap-3 space-y-10 md:grid md:space-y-0",children:(null==O||null==(P=O.data)?void 0:P.length)>0?null==O?void 0:O.data.map(l=>{var e,t,n,i,s,r,u,d,o;return(0,a.jsx)(h.A,{size:G<p.A.md?"lg":"md",event_type:l.attributes.event_type,event_title:l.attributes.event_name,date_time:l.attributes.date_time,event_state:null==l||null==(i=l.attributes)||null==(n=i.sede)||null==(t=n.data)||null==(e=t.attributes)?void 0:e.states,event_venue:(null==(d=l.attributes)||null==(u=d.sede)||null==(r=u.data)||null==(s=r.attributes)?void 0:s.name)||"",event_image_url:(0,N.RJ)(null==l||null==(o=l.attributes)?void 0:o.event_image,"small"),event_url:"/calendario/".concat(l.id)},l.id)}):null})}):null,(null==Y||null==(B=Y.data)?void 0:B.length)?(0,a.jsx)(i.oz.Panel,{className:"mt-10",children:(0,a.jsx)("div",{className:"grid-cols-4 gap-3 md:grid",children:(null==Y||null==(T=Y.data)?void 0:T.length)>0?Y.data.map(l=>{var e,t,n,i,s,r,u;return(0,a.jsx)(b.A,{grid_details:!0,theme:"light",slug:"/blog/".concat(l.attributes.slug),title:l.attributes.titulo,date:new Date(l.attributes.publishedAt),description:l.attributes.contenido,tag:(null==(n=l.attributes.categorias)||null==(t=n.data[0])||null==(e=t.attributes)?void 0:e.name)||("post"===l.type?w.n[X].RelatedContent.Blogposter.news:w.n[X].RelatedContent.Blogposter.note),image:null==(u=l.attributes.cover_image.data)||null==(r=u.attributes)||null==(s=r.formats)||null==(i=s.medium)?void 0:i.url,metadata:{date:new Date(l.attributes.publishedAt),type:"post"===l.type?"Noticia":"",length:""}}
1,l.id)}):null})}):null]})]})]})}}}]);
2//# sourceMappingURL=4678-894df412776b7b1b.js.map

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.