PageSourceSearch

https://decentered.org/_next/static/chunks/601.8a0c2800cc6c99cc.js

js decentered.org collected 2026-10-07 22:31:21 UTC 3,310 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[601],{5601:function(e,l,i){i.r(l);var s=i(5893);i(7294);var d=i(1664),n=i.n(d),r=i(5501),a=i(1486);l.default=e=>{var l,i,d,o,c,t,v,m;let{title:u,nextEvent:f,futureEvents:h=[],description:x,location:p,photos:j=[],pastEvents:b=[],hideEventDetails:N=!1,titleAs:y="h2"}=e;if(!u)return null;let k=(null==(t=f||b&&b[0])?void 0:null===(m=t.fields)||void 0===m?void 0:null===(v=m.PromoImage)||void 0===v?void 0:v[0])?j.find(e=>e.id===t.fields.PromoImage[0]):null,g=(null==f?void 0:null===(l=f.fields)||void 0===l?void 0:l.Time)||"6:00pm – 9:00pm",D=(null==f?void 0:null===(i=f.fields)||void 0===i?void 0:i.Price)||"Free";return h=[f,...h],(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"border-t border-ink pt-8",children:(0,s.jsxs)("div",{className:"flex flex-col md:flex-row gap-8",children:[(0,s.jsx)("div",{className:"md:w-1/2",children:(0,s.jsx)("div",{className:"relative aspect-[4/3]",children:(0,s.jsx)(a.Z,{eventPhoto:k,alt:(null==k?void 0:null===(d=k.fields)||void 0===d?void 0:d.Description)||u,fallbackBgClass:"bg-ink/5"})})}),(0,s.jsx)("div",{className:"md:w-1/2 flex flex-col",children:(0,s.jsxs)("div",{children:[(0,s.jsx)(y,{className:"h1"===y?"text-3xl mb-4":"text-2xl mb-4",children:u}),x&&(0,s.jsx)("p",{className:"mb-4",children:x}),(0,s.jsxs)("div",{className:"space-y-2 mb-4",children:[(null==f?void 0:null===(o=f.fields)||void 0===o?void 0:o.EventSeries)==="Decentered Open Mic"&&(0,s.jsxs)("p",{className:"font-bold",children:["Every ",(null==f?void 0:null===(c=f.fields)||void 0===c?void 0:c.Date)?(0,r.$y)(f.fields.Date):"day"]}),(0,s.jsxs)("p",{children:[g," \xb7 ",D]}),(null==p?void 0:p.fields)&&(0,s.jsxs)("p",{children:[p.fields.Name," at"," ",p.fields["Address Link"]?(0,s.jsx)("a",{href:p.fields["Address Link"],target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-ink",children:p.fields.Address}):p.fields.Address]})]}),!N&&"Decentered Open Mic"===f.fields.EventSeries&&(0,s.jsx)(n(),{href:"/events/open-mic",className:"btn-primary inline-block px-6 py-2 mb-6",children:"Event Details"}),!N&&"Decentered Open Mic"!==f.fields.EventSeries&&(0,s.jsx)(n(),{href:"/events/".concat(f.slug),className:"btn-primary inline-block px-6 py-2 mb-6",children:"Event Details"}),(null==h?void 0:h.some(e=>{var l;return null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Date}))&&(0,s.jsx)("div",{className:"rounded-lg border border-ink/10 shadow-sm",children:(0,s.jsxs)("div",{className:"p-6",children:[(0,s.jsx)("h3",{className:"mb-4",children:"Upcoming Events"}),(0,s.jsx)("div",{className:"space-y-4",children:h.filter(e=>{var l;return null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Date}).map(e=>{var l,i;return(0,s.jsxs)("div",{className:"flex justify-between items-center",children:[(0,s.jsxs)("p",{children:[(0,s.jsx)("span",{className:"font-normal",children:(0,r.$y)(null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Date)})," "," ",(0,r.p6)(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Date,{month:"short",day:"numeric",year:"numeric"})]}),(0,s.jsx)(n(),{href:"/events/".concat(null==e?void 0:e.slug),className:"text-primary-strong hover:text-secondary-strong hover:underline text-sm",children:"More Info →"})]},null==e?void 0:e.id)})})]})})]})})]})})})}}}]);

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.