PageSourceSearch

https://dearcrisis.com/_next/static/chunks/22kxe1r4yatew.js

js dearcrisis.com collected 2026-10-02 15:21:25 UTC 31,285 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18566,(e,t,r)=>{t.exports=e.r(76562)},88589,e=>{"use strict";var t=e.i(43476),r=e.i(30551),a=e.i(86427),n=e.i(65566),s=e.i(71645),l=e.i(60830),o=e.i(87022);function i(e,t){let r,a=()=>{let{currentTime:a}=t,n=(null===a?0:a.value)/100;r!==n&&e(n),r=n};return o.frame.preUpdate(a,!0),()=>(0,o.cancelFrame)(a)}function c(e){return!("u"<typeof window)&&(e?(0,r.supportsViewTimeline)():(0,r.supportsScrollTimeline)())}var f=e.i(61327),d=e.i(83920),m=e.i(25791);let u=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),x={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function p(e,t,r,a){let n=r[t],{length:s,position:l}=x[t],o=n.current,i=r.time;n.current=Math.abs(e[`scroll${l}`]),n.scrollLength=e[`scroll${s}`]-e[`client${s}`],n.offset.length=0,n.offset[0]=0,n.offset[1]=n.scrollLength,n.progress=(0,d.progress)(0,n.scrollLength,n.current);let c=a-i;n.velocity=c>50?0:(0,m.velocityPerSecond)(n.current-o,c)}e.i(47167);var h=e.i(44230),g=e.i(15923),b=e.i(76959),v=e.i(72846);let y={start:0,center:.5,end:1};function k(e,t,r=0){let a=0;if(e in y&&(e=y[e]),"string"==typeof e){let t=parseFloat(e);e.endsWith("px")?a=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?a=t/100*document.documentElement.clientWidth:e.endsWith("vh")?a=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(a=t*e),r+a}let w=[0,0],j=[[0,0],[1,1]],N={x:0,y:0},C=new WeakMap,S=new WeakMap,E=new WeakMap,T=new WeakMap,L=new WeakMap,A=e=>e===document.scrollingElement?window:e;function P(e,{container:t=document.scrollingElement,trackContentSize:r=!1,...a}={}){if(!t)return l.noop;let n=E.get(t);n||(n=new Set,E.set(t,n));let s=function(e,t,r,a={}){return{measure:t=>{!function(e,t=e,r){if(r.x.targetOffset=0,r.y.targetOffset=0,t!==e){let a=t;for(;a&&a!==e;)r.x.targetOffset+=a.offsetLeft,r.y.targetOffset+=a.offsetTop,a=a.offsetParent}r.x.targetLength=t===e?t.scrollWidth:t.clientWidth,r.y.targetLength=t===e?t.scrollHeight:t.clientHeight,r.x.containerLength=e.clientWidth,r.y.containerLength=e.clientHeight}(e,a.target,r),p(e,"x",r,t),p(e,"y",r,t),r.time=t,(a.offset||a.target)&&function(e,t,r){let{offset:a=j}=r,{target:n=e,axis:s="y"}=r,l="y"===s?"height":"width",o=n!==e?function(e,t){let r={x:0,y:0},a=e;for(;a&&a!==t;)if((0,v.isHTMLElement)(a))r.x+=a.offsetLeft,r.y+=a.offsetTop,a=a.offsetParent;else if("svg"===a.tagName){let e=a.getBoundingClientRect(),t=(a=a.parentElement).getBoundingClientRect();r.x+=e.left-t.left,r.y+=e.top-t.top}else if(a instanceof SVGGraphicsElement){let{x:e,y:t}=a.getBBox();r.x+=e,r.y+=t;let n=null,s=a.parentNode;for(;!n;)"svg"===s.tagName&&(n=s),s=a.parentNode;a=n}else break;return r}(n,e):N,i=n===e?{width:e.scrollWidth,height:e.scrollHeight}:"getBBox"in n&&"svg"!==n.tagName?n.getBBox():{width:n.clientWidth,height:n.clientHeight},c={width:e.clientWidth,height:e.clientHeight};t[s].offset.length=0;let f=!t[s].interpolate,d=a.length;for(let e=0;e<d;e++){let r=function(e,t,r,a){let n=Array.isArray(e)?e:w,s=0;return"number"==typeof e?n=[e,e]:"string"==typeof e&&(n=(e=e.trim()).includes(" ")?e.split(" "):[e,y[e]?e:"0"]),(s=k(n[0],r,a))-k(n[1],t)}(a[e],c[l],i[l],o[s]);f||r===t[s].interpolatorOffsets[e]||(f=!0),t[s].offset[e]=r}f&&(t[s].interpolate=(0,h.interpolate)(t[s].offset,(0,g.defaultOffset)(a),{clamp:!1}),t[s].interpolatorOffsets=[...t[s].offset]),t[s].progress=(0,b.clamp)(0,1,t[s].interpolate(t[s].current))}(e,r,a)},notify:()=>t(r)}}(t,e,{time:0,x:u(),y:u()},a);if(n.add(s),!C.has(t)){let e=()=>{for(let e of n)e.measure(o.frameData.timestamp);o.frame.preUpdate(r)},r=()=>{for(let e of n)e.notify()},a=()=>o.frame.read(e);C.set(t,a);let s=A(t);window.addEventListener("resize",a),t!==document.documentElement&&S.set(t,(0,f.resize)(t,a)),s.addEventListener("scroll",a),a()}if(r&&!L.has(t)){let e=C.get(t),r={width:t.scrollWidth,height:t.scrollHeight};T.set(t,r);let a=o.frame.read(()=>{let a=t.scrollWidth,n=t.scrollHeight;(r.width!==a||r.height!==n)&&(e(),r.width=a,r.height=n)},!0);L.set(t,a)}let i=C.get(t);
1return o.frame.read(i,!1,!0),()=>{(0,o.cancelFrame)(i);let e=E.get(t);if(!e||(e.delete(s),e.size))return;let r=C.get(t);C.delete(t),r&&(A(t).removeEventListener("scroll",r),S.get(t)?.(),window.removeEventListener("resize",r));let a=L.get(t);a&&((0,o.cancelFrame)(a),L.delete(t)),T.delete(t)}}let R=[[[[0,1],[1,1]],"entry"],[[[0,0],[1,0]],"exit"],[[[1,0],[0,1]],"cover"],[j,"contain"]],W={start:0,end:1};function D(e){if(!e)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(let[t,r]of R)if(function(e,t){let r=function(e){if(2!==e.length)return;let t=[];for(let r of e)if(Array.isArray(r))t.push(r);else{if("string"!=typeof r)return;let e=function(e){let t=e.trim().split(/\s+/);if(2!==t.length)return;let r=W[t[0]],a=W[t[1]];if(void 0!==r&&void 0!==a)return[r,a]}(r);if(!e)return;t.push(e)}return t}(e);if(!r)return!1;for(let e=0;e<2;e++){let a=r[e],n=t[e];if(a[0]!==n[0]||a[1]!==n[1])return!1}return!0}(e,t))return{rangeStart:`${r} 0%`,rangeEnd:`${r} 100%`}}let M=new Map;function H(e){let t={value:0},r=P(r=>{t.value=100*r[e.axis].progress},e);return{currentTime:t,cancel:r}}function F({source:e,container:t,...r}){let{axis:a}=r;e&&(t=e);let n=M.get(t);n||(n=new Map,M.set(t,n));let s=r.target??"self",l=n.get(s);l||(l={},n.set(s,l));let o=a+(r.offset??[]).join(",");return l[o]||(r.target&&c(r.target)?D(r.offset)?l[o]=new ViewTimeline({subject:r.target,axis:a}):l[o]=H({container:t,...r}):c()?l[o]=new ScrollTimeline({source:t,axis:a}):l[o]=H({container:t,...r})),l[o]}function $(e,{axis:t="y",container:r=document.scrollingElement,...a}={}){var n,s;let o,f,d;if(!r)return l.noop;let m={axis:t,container:r,...a};return"function"==typeof e?(n=e,s=m,2===n.length?P(e=>{n(e[s.axis].progress,e)},s):i(n,F(s))):(o=F(m),f=m.target?D(m.offset):void 0,d=m.target?c(m.target)&&!!f:c(),e.attachTimeline({timeline:d?o:void 0,...f&&d&&{rangeStart:f.rangeStart,rangeEnd:f.rangeEnd},observe:e=>(e.pause(),i(t=>{e.time=e.iterationDuration*t},o))}))}var B=e.i(47414),U=e.i(74008);let I=()=>({scrollX:(0,a.motionValue)(0),scrollY:(0,a.motionValue)(0),scrollXProgress:(0,a.motionValue)(0),scrollYProgress:(0,a.motionValue)(0)}),O=e=>!!e&&!e.current;function _(e,t,r,a){return{factory:n=>$(n,{...t,axis:e,container:r?.current||void 0,target:a?.current||void 0}),times:[0,1],keyframes:[0,1],ease:e=>e,duration:1}}var V=e.i(18566),Y=e.i(22016);let z=[{label:"Upcoming",id:"upcoming"},{label:"Community",id:"community"}];e.s(["default",0,function(){var e;let a="/"===(0,V.usePathname)(),{scrollY:l}=function({container:e,target:t,...a}={}){var l;let o=(0,B.useConstant)(I);l=a.offset,!("u"<typeof window)&&(t?(0,r.supportsViewTimeline)()&&!!D(l):(0,r.supportsScrollTimeline)())&&(o.scrollXProgress.accelerate=_("x",a,e,t),o.scrollYProgress.accelerate=_("y",a,e,t));let i=(0,s.useRef)(null),c=(0,s.useRef)(!1),f=(0,s.useCallback)(()=>(i.current=$((e,{x:t,y:r})=>{o.scrollX.set(t.current),o.scrollXProgress.set(t.progress),o.scrollY.set(r.current),o.scrollYProgress.set(r.progress)},{...a,container:e?.current||void 0,target:t?.current||void 0}),()=>{i.current?.()}),[e,t,JSON.stringify(a.offset)]);return(0,U.useIsomorphicLayoutEffect)(()=>{if(c.current=!1,!(O(e)||O(t)))return f();c.current=!0},[f]),(0,s.useEffect)(()=>c.current?((0,n.invariant)(!O(e),"Container ref is defined but not hydrated","use-scroll-ref"),(0,n.invariant)(!O(t),"Target ref is defined but not hydrated","use-scroll-ref"),f()):void 0,[f]),o}(),[o,i]=(0,s.useState)(a);e=e=>{a&&i(e<.4*window.innerHeight)},(0,s.useInsertionEffect)(()=>l.on("change",e),[l,"change",e]);let c="font-[family-name:var(--font-sans)] text-[11px] sm:text-sm font-semibold uppercase tracking-wide sm:tracking-widest text-[var(--ink-black)] hover:text-[var(--riso-coral)] transition-colors duration-500";return(0,t.jsxs)("nav",{inert:o||void 0,className:`fixed top-0 left-0 right-0 z-50 flex items-center justify-center gap-3 sm:gap-6 md:gap-8 py-2 sm:py-3 px-2 bg-white border-b-2 border-[var(--ink-black)] transition-all duration-500 ${o?"opacity-0 -translate-y-2 pointer-events-none":"opacity-100 translate-y-0 pointer-events-auto"}`,children:[a&&(0,t.jsx)("button",{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}
1),className:"absolute left-3 sm:left-5 font-[family-name:var(--font-serif)] font-black text-sm sm:text-base text-[var(--ink-black)] hover:text-[var(--riso-coral)] transition-colors hidden sm:block","aria-label":"Back to the top of the page",children:"Dear Crisis"}),z.map(e=>a?(0,t.jsx)("button",{onClick:()=>{var t;return t=e.id,void document.getElementById(t)?.scrollIntoView({behavior:"smooth"})},className:c,children:e.label},e.id):(0,t.jsx)(Y.default,{href:`/#${e.id}`,className:c,children:e.label},e.id)),(0,t.jsx)(Y.default,{href:"/podcast",className:c,children:"Podcast"}),(0,t.jsx)(Y.default,{href:"/join",className:c,children:"Join"})]})}],88589)},73885,e=>{"use strict";var t=e.i(43476),r=e.i(71645);e.s(["default",0,function({id:e,name:a,label:n,help:s,placeholder:l,required:o=!1,maxLength:i=2e3,rows:c=2,textareaRef:f,labelClassName:d,showTab:m=!0}){let u=(0,r.useRef)(null),x=f??u,p=(0,r.useRef)(0),h=(0,r.useRef)(null),g=()=>{let e=x.current;e&&(e.style.height="auto",e.style.height=`${Math.max(p.current,e.scrollHeight+4)}px`)},b=e=>{p.current=Math.max(76,e),g()},v=e=>{h.current=null,e.currentTarget.hasPointerCapture(e.pointerId)&&e.currentTarget.releasePointerCapture(e.pointerId)};return(0,t.jsxs)("div",{children:[n?(0,t.jsx)("label",{htmlFor:e,className:d??"block font-[family-name:var(--font-sans)] text-xs uppercase tracking-wider text-[var(--charcoal)] mb-1",children:n}):null,(0,t.jsx)("textarea",{ref:x,id:e,name:a,rows:c,placeholder:l,required:o,maxLength:i,onInput:g,className:"w-full px-4 py-3 bg-white border-2 border-[var(--ink-black)] font-[family-name:var(--font-sans)] text-base sm:text-sm text-[var(--ink-black)] focus:outline-none focus:border-[var(--riso-coral)] resize-none overflow-hidden block"}),m?(0,t.jsx)("div",{className:"flex justify-center -mt-[2px]",children:(0,t.jsx)("button",{type:"button","aria-label":"Make this box taller (drag, or press the arrow keys)",onPointerDown:e=>{let t=x.current;t&&(h.current={startY:e.clientY,startH:t.offsetHeight},e.currentTarget.setPointerCapture(e.pointerId))},onPointerMove:e=>{h.current&&b(h.current.startH+(e.clientY-h.current.startY))},onPointerUp:v,onPointerCancel:v,onKeyDown:e=>{if("ArrowUp"!==e.key&&"ArrowDown"!==e.key)return;e.preventDefault();let t=x.current;t&&b(t.offsetHeight+("ArrowDown"===e.key?32:-32))},className:"h-4 w-14 bg-white border-2 border-t-0 border-[var(--ink-black)] cursor-ns-resize touch-none select-none flex items-center justify-center text-[var(--charcoal)] hover:text-[var(--riso-coral)] hover:border-[var(--riso-coral)] focus:outline-none focus:border-[var(--riso-coral)] focus:text-[var(--riso-coral)]",children:(0,t.jsx)("span",{"aria-hidden":"true",className:"text-[10px] leading-none",children:"≡"})})}):null,s&&(0,t.jsx)("p",{className:"font-[family-name:var(--font-sans)] text-xs sm:text-[11px] text-[var(--charcoal)] mt-1",children:s})]})}])},65254,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(73885);e.s(["default",0,function({defaultType:e="Host an event"}){let[n,s]=(0,r.useState)(!1),[l,o]=(0,r.useState)(!1),[i,c]=(0,r.useState)(""),f=(0,r.useRef)(0),d=(0,r.useRef)(null),m=(0,r.useRef)(null);(0,r.useEffect)(()=>{f.current=Date.now();let e=new URLSearchParams(window.location.search),t=e.get("intent_type"),r=e.get("intent_message");t&&d.current&&(d.current.value=t),r&&m.current&&(m.current.value=r,m.current.dispatchEvent(new Event("input",{bubbles:!0})))},[]);let u=async e=>{e.preventDefault(),o(!0),c("");let t=new FormData(e.currentTarget);try{let e=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:t.get("name"),email:t.get("email"),type:t.get("type"),message:t.get("message"),_honey:t.get("_honey"),_timestamp:f.current})});if(429===e.status){c("Too many submissions. Please try again later."),o(!1);return}if(!e.ok){let t=await e.json();c(t.error||"Something went wrong. Please try again."),o(!1);return}s(!0)}catch{c("Failed to send. Please email [email protected] directly."),o(!1)}};return n?(0,t.jsx)("div",{className:"text-center py-8",children:(0,t.jsx)("p",{className:"font-[family-name:var
1(--font-serif)] text-xl md:text-2xl font-black text-[var(--ink-black)]",children:"Message sent! We'll get back to you soon."})}):(0,t.jsxs)("form",{onSubmit:u,className:"relative max-w-lg mx-auto text-left border-2 border-dashed border-[var(--ink-black)] p-5 sm:p-7",children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"absolute -top-3.5 left-6 bg-[var(--paper-cream)] px-2 text-lg leading-none text-[var(--charcoal)] select-none",children:"✂"}),(0,t.jsx)("div",{className:"absolute opacity-0 -z-10","aria-hidden":"true",children:(0,t.jsx)("input",{type:"text",name:"_honey",tabIndex:-1,autoComplete:"off"})}),(0,t.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 mb-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block font-[family-name:var(--font-sans)] text-xs uppercase tracking-wider text-[var(--charcoal)] mb-1",children:"Name"}),(0,t.jsx)("input",{type:"text",name:"name",required:!0,className:"w-full px-4 py-3 bg-white border-2 border-[var(--ink-black)] font-[family-name:var(--font-sans)] text-sm text-[var(--ink-black)] focus:outline-none focus:border-[var(--riso-coral)]"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block font-[family-name:var(--font-sans)] text-xs uppercase tracking-wider text-[var(--charcoal)] mb-1",children:"Email"}),(0,t.jsx)("input",{type:"email",name:"email",required:!0,className:"w-full px-4 py-3 bg-white border-2 border-[var(--ink-black)] font-[family-name:var(--font-sans)] text-sm text-[var(--ink-black)] focus:outline-none focus:border-[var(--riso-coral)]"})]})]}),(0,t.jsxs)("div",{className:"mb-4",children:[(0,t.jsx)("label",{className:"block font-[family-name:var(--font-sans)] text-xs uppercase tracking-wider text-[var(--charcoal)] mb-1",children:"I want to..."}),(0,t.jsxs)("select",{ref:d,name:"type",required:!0,defaultValue:e,className:"w-full px-4 py-3 bg-white border-2 border-[var(--ink-black)] font-[family-name:var(--font-sans)] text-sm text-[var(--ink-black)] focus:outline-none focus:border-[var(--riso-coral)]",children:[(0,t.jsx)("option",{value:"Host an Action Lab",children:"Host an Action Lab"}),(0,t.jsx)("option",{value:"Host an event",children:"Host an event"}),(0,t.jsx)("option",{value:"Speak at a salon",children:"Speak at a salon"}),(0,t.jsx)("option",{value:"Collaborate and Volunteer",children:"Collaborate and Volunteer"}),(0,t.jsx)("option",{value:"Partner or support financially",children:"Partner or support financially"}),(0,t.jsx)("option",{value:"Say hello",children:"Just say hello"})]})]}),(0,t.jsx)("div",{className:"mb-6",children:(0,t.jsx)(a.default,{id:"cf-message",name:"message",label:"Message",required:!0,rows:4,maxLength:5e3,textareaRef:m})}),i&&(0,t.jsx)("p",{className:"text-[var(--riso-coral)] font-[family-name:var(--font-sans)] text-sm mb-4 text-center",children:i}),(0,t.jsx)("button",{type:"submit",disabled:l,className:"w-full px-6 py-3 bg-[var(--ink-black)] text-[var(--paper-cream)] font-[family-name:var(--font-sans)] font-semibold text-sm uppercase tracking-wider border-2 border-[var(--ink-black)] hover:bg-[var(--paper-cream)] hover:text-[var(--ink-black)] transition-colors duration-200 disabled:opacity-50 disabled:cursor-not-allowed",children:l?"Sending...":"Send"}),(0,t.jsxs)("p",{className:"text-center font-[family-name:var(--font-sans)] text-xs md:text-sm text-[var(--charcoal)] mt-5 pt-4 border-t border-[rgba(19,19,19,0.2)]",children:["Looking to join the WhatsApp community?"," ",(0,t.jsx)("a",{href:"/join",className:"underline decoration-[var(--riso-coral)] text-[var(--ink-black)]",children:"Request to join here →"}),(0,t.jsx)("br",{}),"Got thoughts on an event or this site?"," ",(0,t.jsx)("a",{href:"/feedback",className:"underline decoration-[var(--riso-coral)] text-[var(--ink-black)]",children:"Write back →"})]})]})}])},60738,e=>{"use strict";var t=e.i(43476),r=e.i(71645);let a={"metacrisis salon":{bg:"#1E4E96",text:"#ffffff"},"create-a-thon":{bg:"#C2201F",text:"#ffffff"},creationship:{bg:"#C2201F",text:"#ffffff"},workshop:{bg:"#131313",text:"#ffffff"},documentary:{bg:"#7A1E1E",text:"#ffffff"},screening:{bg:"#7A1E1E",text:"#ffffff"},panel:{bg:"#1E4E96",text:"#ffffff"},"field trip":{bg:"#2F5D3A",text:"#ffffff"}
1,"climate week":{bg:"#0B1733",text:"#E0BC64"}},n={bg:"#131313",text:"#ffffff"},s=["field trip","climate week"],l=Date.parse("2026-09-21T00:00:00-04:00"),o=Date.parse("2026-09-28T00:00:00-04:00");function i({tags:e,className:r}){return(0,t.jsx)("div",{className:r,children:e.map(e=>{let r=a[e]??n;return(0,t.jsx)("span",{className:"px-2 py-0.5 text-[10px] font-semibold font-[family-name:var(--font-sans)]",style:{backgroundColor:r.bg,color:r.text},children:e},e)})})}let c="https://api.lu.ma/ics/get?entity=calendar&id=cal-Cv4SfxulyNrsjTM",f=`https://calendar.google.com/calendar/r?cid=${encodeURIComponent("webcal://api.lu.ma/ics/get?entity=calendar&id=cal-Cv4SfxulyNrsjTM")}&name=${encodeURIComponent("Dear Crisis")}`,d=`https://outlook.office.com/calendar/0/addfromweb?url=${encodeURIComponent(c)}&name=${encodeURIComponent("Dear Crisis")}`;function m({onClose:e,toggleRef:a}){let n=(0,r.useRef)(null),[s,l]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{function t(t){let r=t.target;!n.current||n.current.contains(r)||a.current?.contains(r)||e()}return document.addEventListener("mousedown",t),()=>document.removeEventListener("mousedown",t)},[e,a]),(0,t.jsxs)("div",{ref:n,className:"absolute top-full left-1/2 -translate-x-1/2 mt-2 z-50 bg-white border-2 border-[var(--ink-black)] shadow-lg p-4 w-64",style:{boxShadow:"3px 3px 0px var(--ink-black)"},children:[(0,t.jsx)("p",{className:"font-[family-name:var(--font-sans)] text-xs font-bold text-[var(--ink-black)] mb-3 text-center",children:"Add to your calendar"}),(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("a",{href:f,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 px-3 py-2 text-sm font-[family-name:var(--font-sans)] font-semibold bg-[#4285f4] text-white hover:opacity-90 transition-opacity text-center justify-center",children:"Google Calendar"}),(0,t.jsx)("a",{href:d,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 px-3 py-2 text-sm font-[family-name:var(--font-sans)] font-semibold bg-[#0078d4] text-white hover:opacity-90 transition-opacity text-center justify-center",children:"Outlook Calendar"}),(0,t.jsx)("a",{href:"webcal://api.lu.ma/ics/get?entity=calendar&id=cal-Cv4SfxulyNrsjTM",className:"flex items-center gap-2 px-3 py-2 text-sm font-[family-name:var(--font-sans)] font-semibold bg-[var(--ink-black)] text-[var(--paper-cream)] hover:opacity-90 transition-opacity text-center justify-center",children:"Apple Calendar"}),(0,t.jsx)("button",{onClick:()=>{navigator.clipboard.writeText(c),l(!0),setTimeout(()=>l(!1),2e3)},className:"px-3 py-2 text-xs font-[family-name:var(--font-sans)] text-[var(--charcoal)] hover:text-[var(--riso-coral)] transition-colors underline underline-offset-2 cursor-pointer bg-transparent border-none",children:s?"Copied!":"Copy URL to Clipboard"})]})]})}e.s(["default",0,function(){let[e,c]=(0,r.useState)([]),[f,d]=(0,r.useState)([]),[u,x]=(0,r.useState)(null),[p,h]=(0,r.useState)("loading"),[g,b]=(0,r.useState)(!1),v=(0,r.useRef)(null);if((0,r.useEffect)(()=>{let e=e=>fetch(e,{cache:"no-store"}).then(e=>e.ok?e.json():null).catch(()=>null),t=e=>{let t=e.trim().toLowerCase();return"field trips"===t?"field trip":t},r=e=>{let r,a;return{...e,name:(e.name||"").replace(/ *\[[^\]]+\]$/,""),tags:Array.from(new Set([...(e.tags||[]).map(t),...(r=[],/field ?trip/i.test(e.name)&&r.push("field trip"),(a=new Date(e.date).getTime())>=l&&a<o&&r.push("climate week"),r)]))}},a=e=>Array.from(new Set(e.map(t)));Promise.all([e("/api/events"),e("/events.json")]).then(([e,t])=>{let n=Array.isArray(e?.events)?e.events.map(r):[],l=Array.isArray(e?.tags)?a(e.tags):[],o=Array.isArray(t?.events)?t.events.map(r):[],i=Array.isArray(t?.tags)?a(t.tags):[],f=e=>e.match(/(?:lu\.ma|luma\.com)\/([^/?#]+)/)?.[1]?.toLowerCase()??e,m=new Map(o.filter(e=>e.price).map(e=>[f(e.url),e.price])),u=(n.length?n:o).map(e=>e.price?e:{...e,price:m.get(f(e.url))}).filter(e=>new Date(e.date).getTime()>Date.now()),x=Array.from(new Set([...l.length?l:i,...s]));0===u.length?h("empty"):(c(u),d(x),h("loaded"))}).catch(()=>h("error"))},[]),"loading"===p)return(0,t.jsx)("div",{"aria-busy":"true","aria-label":"Loading events",children:(0,t.jsx)("div",{className:"max-w-3xl mx-auto divide-y-2 divide-dashed divide-[var(--ink-black)] border-y-2 border-dashed border-[var(--ink-black)]",children:[0,1,2].map(e=>(0,t.jsxs)("div",{className:"flex items-center gap-3 md:gap-6 py-2.5 md:py-3 px-2 md:px-4",children:[(0,t.jsx)("div",{className:"shrink-0 w-16 md:w-20 h-9 bg-black/[0.06] animate-pulse"}),(0,t.jsxs)("div",{className:"flex-1 space-y-2",children:[(0,t.jsx)("div",{className:"h-4 w-3/4 md:w-2/3 bg-black/[0.06] animate-pulse"}),(0,t.jsx)("div",{className:"h-3 w-1/2 md:w-1/3 bg-black/[0.06] animate-pulse"})]})]},e))})});if("error"===p||"empty"===p)return(0,t.jsx)("div",{className:"text-center",children:(0,t.jsx)("a",{href:"https://luma.com/dearcrisis",target:"_blank",rel:"noopener noreferrer",className:"inline-block px-8 py-4 bg-[var(--ink-black)] text-[var(--paper-cream)] font-[family-name:var
1(--font-sans)] font-semibold text-lg border-2 border-[var(--ink-black)] hover:bg-[var(--paper-cream)] hover:text-[var(--ink-black)] transition-colors duration-200",children:"View Upcoming Events →"})});let y=u?e.filter(e=>e.tags.includes(u)):e;if(!u){let e=!1;y=y.filter(t=>{if(/creationship/i.test(t.name)||t.tags.includes("create-a-thon")){if(e)return!1;e=!0}return!0})}let k=f.filter(t=>e.some(e=>e.tags.includes(t)));return(0,t.jsxs)("div",{children:[k.length>0&&(0,t.jsxs)("div",{className:"flex flex-wrap justify-center gap-2 mb-3",children:[(0,t.jsx)("button",{onClick:()=>x(null),className:`px-3 py-1 text-xs md:text-sm font-semibold font-[family-name:var(--font-sans)] border-2 border-[var(--ink-black)] transition-colors duration-200 ${null===u?"bg-[var(--ink-black)] text-[var(--paper-cream)]":"bg-transparent text-[var(--ink-black)] hover:bg-[#F2F2F0]"}`,children:"All"}),k.map(e=>{var r;let s;return(0,t.jsx)("button",{onClick:()=>x(u===e?null:e),className:"px-3 py-1 text-xs md:text-sm font-semibold font-[family-name:var(--font-sans)]",style:(r=u===e,s=a[e]??n,r?{backgroundColor:s.bg,borderColor:s.bg,color:s.text,borderWidth:2,borderStyle:"solid"}:{backgroundColor:"transparent",borderColor:s.bg,color:s.bg,borderWidth:2,borderStyle:"solid"}),children:e},e)})]}),(0,t.jsxs)("div",{className:"max-w-3xl mx-auto relative",children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"absolute -top-[9px] right-3 z-10 bg-[var(--paper-cream)] px-1.5 text-sm leading-none text-[#767676] select-none",children:"✂"}),(0,t.jsx)("div",{className:"divide-y-2 divide-dashed divide-[var(--ink-black)] border-y-2 border-dashed border-[var(--ink-black)]",children:y.map((e,r)=>{var a;let n;return(0,t.jsx)("div",{className:"flex flex-col",children:(0,t.jsxs)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-3 md:gap-6 py-2.5 md:py-3 px-2 md:px-4 hover:bg-[rgba(0,0,0,0.03)] transition-colors group",children:[(0,t.jsxs)("div",{className:"shrink-0 w-16 md:w-20 text-center",children:[(0,t.jsx)("p",{className:"font-[family-name:var(--font-serif)] font-black text-sm md:text-base text-[var(--ink-black)] leading-tight",children:function(e){try{let t=new Date(e),r=/^\d{4}-\d{2}-\d{2}$/.test(e);return t.toLocaleDateString("en-US",{weekday:"short",month:"short",day:"numeric",timeZone:r?"UTC":"America/New_York"})}catch{return e}}(e.date)}),(0,t.jsx)("p",{className:"font-[family-name:var(--font-sans)] text-[10px] md:text-xs text-[var(--charcoal)]",children:function(e){try{return new Date(e).toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit",timeZone:"America/New_York"})}catch{return""}}(e.date)})]}),(0,t.jsxs)("div",{className:"flex-1 text-left min-w-0",children:[(0,t.jsx)("h4",{className:"font-[family-name:var(--font-serif)] font-black text-sm md:text-base text-[var(--ink-black)] leading-tight",children:e.name}),(0,t.jsx)("p",{className:"font-[family-name:var(--font-sans)] text-[10px] md:text-xs text-[var(--charcoal)] mt-0.5 truncate",children:(n=(a=e.location).split(", ")).length>=3?`${n[0]}, ${n[n.length-3]}`:a}),e.tags.length>0&&(0,t.jsx)(i,{tags:e.tags,className:"flex md:hidden flex-wrap gap-1 mt-1"})]}),(0,t.jsx)(i,{tags:e.tags,className:"hidden md:flex gap-1.5 shrink-0"}),e.price&&(0,t.jsx)("span",{className:"shrink-0 font-[family-name:var(--font-sans)] font-bold text-[10px] md:text-xs tabular-nums whitespace-nowrap border border-dashed border-[var(--charcoal)] text-[var(--ink-black)] px-1.5 md:px-2 py-0.5",children:e.price}),(0,t.jsx)("span",{className:"shrink-0 text-[var(--riso-coral)] font-bold text-sm md:text-base group-hover:translate-x-1 transition-transform",children:"→"})]})},r)})})]}),0===y.length&&(0,t.jsx)("p",{className:"text-center text-[var(--charcoal)] mt-4 font-[family-name:var(--font-sans)]",children:u?"No events with this tag.":"No upcoming events right now."}),(0,t.jsxs)("div",{className:"flex flex-wrap justify-center items-center gap-x-5 gap-y-2 mt-4 relative",children:[(0,t.jsx)("button",{ref:v,onClick:()=>b(!g),className:"inline-flex items-center gap-1.5 font-[family-name:var(--font-sans)] text-xs md:text-sm text-[var(--charcoal)] hover:text-[var(--riso-coral)] transition-colors underline underline-offset-4 decoration-[var(--riso-coral)] bg-transparent border-none cursor-pointer",children:"📅 Subscribe to calendar"}),g&&(0,t.jsx)(m,{onClose:()=>b(!1),toggleRef:v}),(0,t.jsx)("a",{href:"https://luma.com/dearcrisis",target:"_blank",rel:"noopener noreferrer",className:"font-[family-name:var
1(--font-sans)] text-xs md:text-sm text-[var(--charcoal)] hover:text-[var(--riso-coral)] transition-colors underline underline-offset-4",children:"All Dear Crisis events on Luma"}),(0,t.jsx)("a",{href:"https://www.instagram.com/dear.crisis",target:"_blank",rel:"noopener noreferrer",className:"font-[family-name:var(--font-sans)] text-xs md:text-sm text-[var(--charcoal)] hover:text-[var(--riso-coral)] transition-colors underline underline-offset-4",children:"Follow @dear.crisis"})]}),(0,t.jsx)("div",{className:"max-w-sm mx-auto mt-6 md:mt-8",children:(0,t.jsxs)("div",{className:"border-4 border-double border-[var(--ink-black)] px-5 py-5 text-center bg-white",children:[(0,t.jsx)("p",{className:"font-[family-name:var(--font-serif)] font-black uppercase text-lg leading-snug text-[var(--ink-black)] mb-2",children:"Beyond our own rooms"}),(0,t.jsx)("p",{"aria-hidden":"true",className:"text-[var(--riso-coral)] text-xs tracking-[0.5em] mb-2",children:"✳ ✳ ✳"}),(0,t.jsxs)("p",{className:"font-[family-name:var(--font-serif)] text-[13px] leading-relaxed text-[var(--charcoal)] mb-3",children:["The list above is what ",(0,t.jsx)("em",{children:"we"})," host. The whole NYC metacrisis community is doing far more: salons, workshops, gatherings, summits."]}),(0,t.jsx)("a",{href:"https://events.dearcrisis.com",target:"_blank",rel:"noopener noreferrer",className:"inline-block font-[family-name:var(--font-sans)] text-xs font-bold uppercase tracking-[0.18em] text-[var(--ink-black)] underline decoration-[var(--riso-coral)] decoration-2 underline-offset-4 hover:text-[var(--riso-coral)] transition-colors",children:"☞ Browse the community calendar"})]})})]})}],60738)},16774,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(75418);let n=function(){let e=new Set,t=[];for(let r of a.SALONS)for(let a of r.speakers)a.testimonial&&!e.has(a.name)&&(e.add(a.name),t.push(a.testimonial));for(let r of a.TESTIMONIALS)e.has(r.author)||(e.add(r.author),t.push(r));return t}();function s(e,t){let r=[];for(let a=0;a<e.length;a+=t)r.push(e.slice(a,a+t));return r}function l({t:e}){return(0,t.jsxs)("figure",{className:"break-inside-avoid mb-4 pb-4",style:{borderBottom:"1px solid rgba(19,19,19,0.2)"},children:[(0,t.jsxs)("figcaption",{className:"mb-1",children:[(0,t.jsx)("span",{className:"font-[family-name:var(--font-sans)] font-bold uppercase tracking-[0.08em] text-[11px] text-[var(--ink-black)]",children:e.author}),(0,t.jsxs)("span",{className:"font-[family-name:var(--font-sans)] text-[10px] uppercase tracking-[0.08em] text-[var(--charcoal)]",children:[" ","· ",e.authorRole]})]}),(0,t.jsxs)("blockquote",{className:"font-[family-name:var(--font-serif)] text-[13px] leading-snug text-[var(--charcoal)]",children:["“",e.quote,"”"]})]})}e.s(["default",0,function(){let[e,a]=(0,r.useState)(0);if(0===n.length)return null;let o=s(n,7),i=s(n,3),c=Math.min(e,o.length-1);return(0,t.jsx)("section",{id:"speakers",className:"paper-texture bg-[var(--paper-cream)] py-2 md:py-4",children:(0,t.jsxs)("div",{className:"max-w-6xl mx-auto px-4 sm:px-8 w-full",children:[(0,t.jsx)("h2",{className:"font-[family-name:var(--font-serif)] text-xl sm:text-2xl font-black text-[var(--ink-black)] mb-1 text-center",children:"From our speakers"}),(0,t.jsx)("p",{className:"font-[family-name:var(--font-serif)] italic text-xs sm:text-sm text-[var(--charcoal)] text-center mb-6",children:"The people who came to share. And chose to stay."}),(0,t.jsxs)("div",{className:"hidden sm:block",children:[(0,t.jsx)("div",{className:"columns-2 lg:columns-3 gap-6 border-t border-[var(--ink-black)] pt-4",style:{columnRule:"1px solid rgba(19,19,19,0.25)"},children:o[c].map((e,r)=>(0,t.jsx)(l,{t:e},`${c}-${r}`))}),o.length>1&&(0,t.jsxs)("div",{className:"flex items-center justify-center gap-4 mt-2",children:[(0,t.jsx)("button",{onClick:()=>a(e=>Math.max(0,e-1)),disabled:0===c,"aria-label":"Previous page of letters",className:"px-3 py-1 font-[family-name:var(--font-sans)] text-sm font-bold border-2 border-[var(--ink-black)] disabled:opacity-30 hover:bg-[#F2F2F0] transition-colors",children:"←"}
1),(0,t.jsxs)("span",{className:"font-[family-name:var(--font-sans)] text-[11px] uppercase tracking-[0.15em] text-[#767676]",children:["Page ",c+1," of ",o.length]}),(0,t.jsx)("button",{onClick:()=>a(e=>Math.min(o.length-1,e+1)),disabled:c===o.length-1,"aria-label":"Next page of letters",className:"px-3 py-1 font-[family-name:var(--font-sans)] text-sm font-bold border-2 border-[var(--ink-black)] disabled:opacity-30 hover:bg-[#F2F2F0] transition-colors",children:"→"})]})]}),(0,t.jsxs)("div",{className:"sm:hidden border-t border-[var(--ink-black)] pt-4",children:[(0,t.jsx)("div",{className:"flex overflow-x-auto snap-x snap-mandatory gap-5 -mx-4 px-4 pb-1",children:i.map((e,r)=>(0,t.jsx)("div",{className:"w-[88%] shrink-0 snap-start",children:e.map((e,a)=>(0,t.jsx)(l,{t:e},`${r}-${a}`))},r))}),i.length>1&&(0,t.jsx)("p",{className:"text-right font-[family-name:var(--font-sans)] text-[10px] uppercase tracking-[0.15em] text-[#767676] mt-1",children:"Swipe for more →"})]})]})})}])}]);

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.