{"version":3,"file":"ShareButton.DTYV4mpY.mjs","names":["useState","Fragment","_Fragment","RECESSED","DIR_CARD","INK","DIR_SHEET","EDGE","OFF","DIR_TEXT","FONT","useRef","useId","p","useMemo","useIsoLayoutEffect","useEffect","useLayoutEffect","useState","useRef","useId","_Fragment","FONT","useLayoutEffect","useEffect","useState","useRef","__esmMin","le","x","init_ssg_sandbox_shims","pe","navigator","init_npm_react_18_3_1","_e","de","init_jsx_runtime","Ha","init_npm_react_dom_18_3_1","c","p","ie","ce","window","init_framer_BisrWwwE","RenderTarget","addPropertyControls","ControlType","sqR","v","sq","r","photoName","a","photo","index","total","text","num","fallback","clamp","hi","lo","n","toLayout","s","toTheme","photoKey","clean","src","cdnSrcSet","u","w","isUrl","findImage","o","depth","k","inner","hit","toPhoto","ratioOf","px","py","srcSet","h","isTall","TALL","isWide","arrange","out","photos","pull","i","from","to","backdropOf","pickSrc","BACKDROP_PX","wholeSize","ratio","height","linkText","toUrl","raw","toSeconds","m","youTubeId","host","id","YT_ID","parts","vimeoOf","hash","next","readVideo","f","file","link","VIDEO_FILE","yt","start","vm","ytThumb","size","toVideo","key","poster","image","VIDEO_RATIO","splitItem","credit","video","rest","countText","ph","buildPhotos","cover","images","img","leadKey","lead","seen","had","extra","keepOrder","what","venueName","readFeeds","nodes","el","room","href","safeHref","it","own","re","best","bestSize","want","tagged","tag","role","bits","part","sideSize","tall","GAP","creditFor","t","sourceKey","IS_GMS","hostOf","splitSources","body","CREDIT_LEAD","IS_DOMAIN","creditBits","b","names","name","gms","GMS_HREF","g","Credits","open","setOpen","shown","prefix","SR_ONLY","linkStyle","l","palette","dark","theme","RECESSED$1","DIR_CARD$1","ON_RECESSED_FAINT","DIR_FAINT","DARK_SECONDARY","DIR_SECONDARY","INK$1","DIR_SHEET$1","EDGE$1","DIR_OUTLINE","OFF$1","DIR_TEXT$1","ON_DARK","LIME","useReducedMotion","reduce","setReduce","mq","on","useMedia","setOn","query","lenis","lockScroll","lockDepth","html","y","bar","prev","BODY_KEYS","padRight","unlockScroll","saved","hideOthers","changed","keep","kids","restoreOthers","list","focusables","root","FOCUSABLE","Glyph","PlayBadge","PHOTO_PILL","LIME_TOKEN","VideoTag","under","badge","inset","FONT$2","PlayLayer","Pic","props","broken","setBroken","told","report","onSize","eager","sizes","style","Poster","radius","Tile","pal","className","onOpen","RESET_BTN","INK_TOKEN","tagUnder","deferred","whole","BACKDROP_WASH","ShowAllPill","glyph","label","mosaicPlan","golden","half","cellRadius","INNER_RADIUS","top","bottom","plan","left","right","Mosaic","leadWhole","fill","oneWide","shape","WIDE_MIN","WIDE_MAX","WIDE_GROW","cell","onShowAll","PLAY_ONE","VIEW_ONE","Carousel","rail","raf","current","setCurrent","count","single","at","anyVideo","running","setRunning","stepPx","first","onScroll","step","scrollToSlide","reduced","slideRight","arrow","dir","now","panLimit","fit","box","clampPan","lim","zoomTransform","moving","softScale","ZOOM_MAX","roundButton","Thumb","setRef","active","onPick","Filmstrip","thumbs","edges","max","centre","smooth","useIsoLayoutEffect$1","width","ro","glide","before","j","after","Lightbox","mode","setMode","initial","setIndex","setDir","ratios","setRatios","setBox","zoomed","setZoomed","clip","setClip","sharpReady","setSharpReady","gridSeen","setGridSeen","loaded","setLoaded","compact","COMPACT","dialogRef","closeRef","gridRef","frameRef","slideRef","zoomRef","itemRefs","returnIndex","gesture","touches","swallowClick","pressAt","guardUntil","outerSeq","switchedByPointer","firstMode","pan","scale","fingers","pinch","rafId","lastTap","clipTimer","wheelTimer","titleId","playing","setPlaying","videoRef","vid","hasVideo","fitTo","slot","PROVISIONAL","zoomTransition","ZOOM_MS","EASE_OUT","known","record","arrived","markLoaded","stopMoving","stillZoomed","endGesture","settle","dropPinch","pz","resetZoom","zoomIn","ZOOM","live","frame","zoomOut","toggleZoom","panBy","dx","dy","jump","towards","go","onClose","dialog","opener","returnTo","OPEN_GUARD","hidden","trap","inside","firstEl","lastEl","onKey","vertical","sx","KEY_PAN","sy","acc","spent","idle","onWheel","near","sel","noPageZoom","back","d","grid","measure","im","openSingle","pointer","play","backToGrid","startFile","onPlayClick","paint","edge","dlg","SCRIM_RGB","motion","animate","SCRIM","startMoving","draw","movePinch","schedule","movePan","startPinch","ids","A","B","d0","cx","cy","s0","p0","mx","my","endPinch","ZOOM_SNAP","onDialogPointerDown","onDialogPointerEnd","onPointerDown","touch","onPointerMove","dt","inst","slop","PAN_SLOP","onPointerEnd","still","restId","cancelled","vx","flick","FLICK_X","FLICK_SPEED","SWIPE_X","SWIPE_CLOSE","onDialogClickCapture","onDialogClick","press","photoEl","t0","ZOOM_TAP_GUARD","DOUBLE_TAP_SLOP","ZOOM_DOUBLE","slideAnim","SPRING","hasStrip","sharp","thumbFile","standIn","creditHref","anyCredit","gridBits","creditNode","creditLine","off","OFF_BUTTON","place","dialogStyle","Z_TOP","counted","gridLine","isPlaying","heading","named","ON_DARK_HOVER","p$1","GalleryLightbox","target","isCanvas","storefront","storefrontCredit","storefrontCreditLink","roomPhotos","setRoomPhotos","includeRooms","scan","PLACEHOLDERS","layout","mosaicHeight","label0","showAllLabel","madeBy","creditLink","rootEl","setRootEl","setWidth","mounted","setMounted","view","setView","NARROW","pre","canOpen","openAt","openGrid","one","fallbackFocus","blockProps","fillTiles","rootStyle","CSS","init_GalleryLightbox","InfoTip","surface","setSurface","btnRef","themeNow","pick","read","cs","lum","mo","onMq","tipRef","setPlace","useIsoLayoutEffect","placeTip","tip","btn","vw","vh","below","EDGE","above","up","left0","onDown","TIP_CSS","InfoTipButton","DEFAULT_TIP","tipText","FONT$1","init_InfoTipButton","cleanUrl","copyText","ta","ok","ShareButton","hover","setHover","copied","setCopied","timer","onClick","url","title","shareTitle","nav","err","bg","DIR_SHEET","RECESSED","DIR_CARD","DIR_LINE_SOFT","fg","OFF","DIR_TEXT","border","INK","FONT","copiedLabel","init_ShareButton"],"sources":["https:/framerusercontent.com/modules/uYGY0tueNjLzbGgNVb1z/tLhyRJmmu5TRkci9Ufmn/GalleryLightbox.js","https:/framerusercontent.com/modules/3p47CKueGEXJaUQcbMkX/Dl9mdtQQe6kk74K8qBsZ/InfoTipButton.js","https:/framerusercontent.com/modules/YAVxjJaaMCkTSseWhPvj/Dh9lWzOswb12xjpReQoB/ShareButton.js"],"sourcesContent":["// SideKick Venues · Gallery lightbox\n// The photo gallery for a venue page, Airbnb style: a 1+4 mosaic (a swipe carousel on phones)\n// that opens a full-screen viewer: a grid of every photo, and a full-size photo view with arrows,\n// a thumbnail strip along the bottom and click-to-zoom (2x) or pinch-zoom to look around the space.\n// It replaces the native FixedOverlay, which the clipped \"Photo mosaic\" frame cut off and the fixed\n// nav sat on top of. The viewer renders in a portal on <body>, so no parent can clip or cover it.\n// Photo credits show under the gallery and in the viewer. Zoom: a tap, a click, the zoom button or\n// the \"z\" key zooms 2x (a double tap 2.5x) and back; on touch screens two fingers pinch the photo\n// itself from 1x to 4x around the fingers (the page never zooms; a pinch neither swipes nor closes).\n// While zoomed, a drag, the wheel, ↑/↓ and Shift+←/→ move around.\n// Arrows: desktops and tablets (700px and up, or any mouse) get large round arrows either side of\n// the photo. Phones held upright get smaller ones either side of the thumbnail strip, so they never\n// cover the photo and sit within thumb reach; swiping works everywhere.\n// Glyphs (grid, close, chevrons, image, zoom, play) are original.\n// Videos (2026-10-04): a Gallery entry can be a video: an uploaded file (Video) or a YouTube, Vimeo\n// or direct .mp4 link (Video link). Its Photo, if set, is the poster; else a YouTube thumbnail; else\n// an Ink tile. It sits in the gallery order as a 16:9 tile with a play badge and plays in the viewer:\n// a native <video> for files, youtube-nocookie or Vimeo (dnt) for links. No video bytes and no player\n// request before a tap; moving to another slide or closing stops it. Videos never take the lead tile\n// from a photo.\n// 2026-10-16: flat colours only (no see-through pills, rings or buttons; each value is the old look\n// composited on what it sits on). Phone carousel: a video slide's \"Video\" tag sits under the play badge,\n// clear of the listing badge chips in the photo's top-left corner, and the carousel root says\n// data-cesgl-carousel=\"single\" | \"multi\" so the page can line its Share button up with the slide. The viewer's\n// slide-in keeps its springy move but fades with a plain ease-out (opacity never overshoots).\n// 2026-11-09 (Brad): the Storefront photo (the one search cards show) leads the gallery with its own credit, so the page\n// opens on the photo the guest just tapped. Then the Cover and the Gallery. Then every room's photos and videos: each room\n// on the page carries a hidden GalleryFeed (GalleryFeed.tsx) and this gallery adds them after it mounts, so the main gallery\n// shows every room, patio and terrace while each room page keeps only its own.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{Fragment,useEffect,useId,useLayoutEffect,useMemo,useRef,useState}from\"react\";// @ts-ignore - react-dom is there at runtime in Framer, but its type checker has no react-dom types\nimport{createPortal}from\"react-dom\";// Brand squircle 60% (2026-10-04): the same CSS Framer publishes for \"Squircle 60%\". Browsers with CSS corner-shape draw the\n// squircle at the full radius; others (every iPhone browser, Safari) get a round corner at 0.71 x radius, which the site's\n// gm-squircle head block then clips to the true squircle. Fully round pills keep plain border-radius.\nfunction sqR(v){return String(typeof v===\"number\"?v+\"px\":v).trim().split(/\\s+/).map(p=>/^-?[\\d.]+$/.test(p)?p+\"px\":p).map(p=>parseFloat(p)===0?\"0\":\"calc(\"+p+\" * var(--one-if-corner-shape-supported, var(--corner-shape-fallback, 1)))\").join(\" \");}function sq(r){if(r===undefined||r===null||r===\"\")return{};if(r===0||r===\"0\"||r===\"0px\")return{borderRadius:0};return{[\"--corner-shape-fallback\"]:.71,borderRadius:sqR(r),cornerShape:\"superellipse(1.6)\"};}const FONT='\"Switzer\", \"Switzer Placeholder\", sans-serif';// Brand tokens only. Never pure black or white.\nconst INK=\"#141414\";const OFF=\"#F2F2F2\"// Off-white\n;const PAGE=\"#FCFCFC\";const LIME=\"#88FF00\"// focus rings on dark only\n;const RECESSED=\"#1A1A1A\"// Dark/Recessed: photo slots on dark\n;const EDGE=\"#333333\"// was Off-white at 14% on Ink / Ground: the same look, flat\n;const SCRIM_RGB=\"15,15,15\"// Ground #0F0F0F\n;const SCRIM=`rgba(${SCRIM_RGB},1)`// opaque, so the page never shows through (Brad disliked a dimmed page)\n;const PHOTO_PILL=INK// pills on photos: flat Ink (was Ink at 80%)\n;const CHIP_LINE=\"rgba(20,20,20,0.15)\";const DARK_SECONDARY=\"#999999\";const ON_DARK=\"#212121\"// round viewer buttons on Ground: Off-white at 8%, flat\n;const ON_DARK_HOVER=\"#333333\"// and at 16% on hover, flat\n;// A switched-off round button: what the old 32% opacity showed on Ground, drawn flat (fill, edge, icon).\nconst OFF_BUTTON={background:\"#151515\",border:\"1px solid #1B1B1B\",color:\"#585858\"};const ON_RECESSED_FAINT=\"#707070\"// a faint glyph on Recessed #1A1A1A (was Off-white at 40%)\n;// Directory/* colour styles (dark-mode-2026-10-03/PLAN.md section 6). Only the LIGHT palette uses them. Each light\n// value equals the literal fallback, so light mode is unchanged; the published site swaps the value in dark mode.\n// The fallback keeps the canvas and old browsers on today's look. Never put these in SVG attributes (use style).\nconst DIR_SHEET=\"var(--token-a8dbafe7-00a0-42b2-ad4a-ef0b7fb63c86, #FCFCFC)\"// Directory/Sheet\n;const DIR_CARD=\"var(--token-6bd6f173-246d-4162-b46d-e3fcfa96384c, #F2F2F2)\"// Directory/Card\n;const DIR_TEXT=\"var(--token-d2361962-1174-4c6b-8b53-bf38d6143601, #141414)\"// Directory/Text\n;const DIR_SECONDARY=\"var(--token-7bccaf81-d024-42a3-a1fe-5a6543382219, #5C5C5C)\"// Directory/Text secondary\n;const DIR_FAINT=\"var(--token-8c0018a3-ff61-4b69-94b2-63b553b3b719, #9E9E9E)\"// Directory/Text faint (flat since 2026-10-16)\n;const DIR_OUTLINE=\"var(--token-7d4e7cc5-3f40-453d-9bd0-0f9eebaa1e95, #D9D9D9)\"// Directory/Outline (flat since 2026-10-16)\n;// Brand tokens for video tiles: an Ink tile when a video has no poster, and the Lime play glyph (an\n// accent fill inside an Ink circle, as in RoomVideo). Both stay the same in both themes.\nconst INK_TOKEN=\"var(--token-e9bfaeaa-db3f-443e-b7b2-2bf9e3553c9f, #141414)\"// Brand/Ink\n;const LIME_TOKEN=\"var(--token-5456b9c9-89ef-4fe4-ad10-403c94e1ba6a, #88FF00)\"// Brand/Lime\n;const GAP=8// mosaic, carousel and grid gap\n;const INNER_RADIUS=8// inner mosaic corners: the design-system floor\n;const Z_TOP=2147483e3// above Framer's fixed nav and its overlays\n;const NARROW=600// below this own width the mosaic becomes a carousel\n;const SWIPE_X=48// px sideways to change photo\n;const FLICK_X=24// a fast flick changes photo from this far\n;const FLICK_SPEED=.45// px per ms that counts as a flick\n;const SWIPE_CLOSE=80// px down to close\n;const OPEN_GUARD=350// ms after opening (or switching view) when a pointer click is ignored\n;const ZOOM=2// click-to-zoom scale\n;const ZOOM_DOUBLE=2.5// a double tap (or double click) on the whole photo\n;const ZOOM_MAX=4// a pinch goes no further (a little past it under the fingers, then it eases back)\n;const ZOOM_SNAP=1.05// a pinch let go below this goes back to the whole photo\n;const DOUBLE_TAP_SLOP=40// px: the second tap of a double tap lands this close to the first\n;const ZOOM_MS=220// zoom in / out transition\n;const ZOOM_TAP_GUARD=300// ms: the second tap of a double tap doesn't undo the zoom it just made\n;const PAN_SLOP=4// px a zoomed drag moves before it counts as a pan (and not a click)\n;const KEY_PAN=.2// share of the frame one arrow-key press moves a zoomed photo\n;const PROVISIONAL=3/2// the photo's shape until its file (or its thumbnail) says otherwise\n;// Photo shapes (width / height), read from the file's URL so the server HTML already knows them.\nconst TALL=1.2// below this a photo counts as tall or square: it is shown whole, never cropped to a strip\n;const WIDE_MIN=16/9// one wide photo: its frame follows its shape, but no taller than 16:9...\n;const WIDE_MAX=2.4// ...and no thinner than 2.4:1\n;const WIDE_GROW=1.25// and at most this much taller than the mosaic height\n;const BACKDROP_PX=64// the soft backdrop behind a whole photo: a tiny copy of it (about 5 KB), stretched\n;const BACKDROP_WASH=\"rgba(15,15,15,0.45)\"// Ground at 45% over that copy, in both themes (it sits on a photo)\n;const VIDEO_RATIO=16/9// a video tile's shape for the layout rules (and the player's until the file says otherwise)\n;// Phones held upright: arrows beside the strip. Must match the two CSS rules that use 699px.\nconst COMPACT=\"(pointer: coarse) and (max-width: 699px)\";const EASE_OUT=\"cubic-bezier(0.22, 1, 0.36, 1)\";const SPRING=\"cubic-bezier(0.2, 1.12, 0.32, 1)\"// a short ease with a hint of overshoot\n;const SR_ONLY={position:\"absolute\",width:1,height:1,padding:0,margin:-1,overflow:\"hidden\",clip:\"rect(0 0 0 0)\",whiteSpace:\"nowrap\",border:0};const RESET_BTN={boxSizing:\"border-box\",margin:0,padding:0,border:\"none\",background:\"none\",color:\"inherit\",font:\"inherit\",textAlign:\"inherit\",appearance:\"none\",WebkitAppearance:\"none\",WebkitTapHighlightColor:\"transparent\"};// Hover, focus-visible, breakpoints and keyframes need real CSS. Class names are prefixed so\n// they never touch the rest of the site. Injected raw, so \">\" stays a selector in server HTML.\nconst CSS=`\n.cesgl-btn{-webkit-tap-highlight-color:transparent;touch-action:manipulation;}\n.cesgl-btn:focus{outline:none;}\n.cesgl-btn:focus-visible{outline:2px solid var(--cesgl-ring);outline-offset:2px;}\n.cesgl-pill:focus-visible{outline:none;box-shadow:0 0 0 2px var(--cesgl-ring-gap),0 0 0 4px var(--cesgl-ring) !important;}\n.cesgl-hit::after{content:\"\";position:absolute;inset:-5px;}\n.cesgl-shade{opacity:0;transition:opacity 160ms ease;}\n.cesgl-bd{position:absolute;inset:-16px;background-size:cover;background-position:50% 50%;background-repeat:no-repeat;filter:blur(10px);pointer-events:none;}\n@media (max-width:809px){.cesgl-bd{filter:none;inset:0;}}\n@media (hover:hover) and (pointer:fine){\n.cesgl-tile:hover .cesgl-shade{opacity:1;}\n.cesgl-pill:hover{background:var(--cesgl-pill-hover) !important;}\n.cesgl-outline:hover{background:var(--cesgl-outline-hover) !important;}\n.cesgl-round:hover{background:${ON_DARK_HOVER} !important;}\n.cesgl-round[aria-disabled=\"true\"]:hover{background:#151515 !important;}\n}\n.cesgl-rail{scrollbar-width:none;}\n.cesgl-rail::-webkit-scrollbar{display:none;}\n.cesgl-rail-arrow{display:none !important;}\n@media (hover:hover) and (pointer:fine){.cesgl-rail-arrow{display:flex !important;}}\n@media (pointer:coarse) and (max-width:699px){.cesgl-arrow{display:none !important;}}\n.cesgl-head{padding:calc(8px + env(safe-area-inset-top,0px)) calc(13px + env(safe-area-inset-right,0px)) 8px calc(13px + env(safe-area-inset-left,0px));}\n@media (min-width:900px){.cesgl-head{padding:calc(21px + env(safe-area-inset-top,0px)) calc(34px + env(safe-area-inset-right,0px)) 13px calc(34px + env(safe-area-inset-left,0px));}}\n.cesgl-frame{top:5px;right:env(safe-area-inset-right,0px);bottom:calc(34px + env(safe-area-inset-bottom,0px));left:env(safe-area-inset-left,0px);}\n@media not all and (pointer:coarse),(min-width:700px){.cesgl-frame{top:8px;right:calc(89px + env(safe-area-inset-right,0px));bottom:calc(55px + env(safe-area-inset-bottom,0px));left:calc(89px + env(safe-area-inset-left,0px));}}\n.cesgl-stage-strip .cesgl-frame{bottom:0;}\n.cesgl-strip{padding:8px calc(13px + env(safe-area-inset-right,0px)) calc(13px + env(safe-area-inset-bottom,0px)) calc(13px + env(safe-area-inset-left,0px));}\n@media (min-width:900px),(pointer:fine){.cesgl-strip{padding:13px calc(34px + env(safe-area-inset-right,0px)) calc(21px + env(safe-area-inset-bottom,0px)) calc(34px + env(safe-area-inset-left,0px));}}\n.cesgl-strip-rail{scrollbar-width:none;--cesgl-mask:linear-gradient(to right,transparent 0,${INK} var(--cesgl-fl,0px),${INK} calc(100% - var(--cesgl-fr,0px)),transparent 100%);-webkit-mask-image:var(--cesgl-mask);mask-image:var(--cesgl-mask);}\n.cesgl-strip-rail::-webkit-scrollbar{display:none;}\n.cesgl-thumb{width:64px;height:48px;filter:brightness(.55);transition:filter 160ms ease,box-shadow 160ms ease;}\n@media (min-width:600px){.cesgl-thumb{width:85px;height:64px;}}\n.cesgl-thumb[aria-current=\"true\"]{filter:none;box-shadow:0 0 0 2px ${OFF};}\n@media (hover:hover) and (pointer:fine){.cesgl-thumb:hover{filter:brightness(.85);}.cesgl-thumb[aria-current=\"true\"]:hover{filter:none;}}\n.cesgl-credit-wide{display:none;}\n@media (min-width:600px){.cesgl-credit-wide{display:block;}.cesgl-credit-narrow{display:none;}}\n@media (max-height:500px){\n.cesgl-head{padding-top:calc(4px + env(safe-area-inset-top,0px));padding-bottom:4px;}\n.cesgl-frame{top:0;}\n.cesgl-strip{padding-top:4px;padding-bottom:max(4px,env(safe-area-inset-bottom,0px));}\n.cesgl-thumb{width:56px;height:42px;}\n}\n.cesgl-clip{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top;padding-bottom:2px;margin-bottom:-2px;}\n.cesgl-link{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;border-radius:2px;}\n.cesgl-link:focus{outline:none;}\n.cesgl-link:focus-visible{outline:2px solid var(--cesgl-ring);outline-offset:2px;}\n@media (hover:hover) and (pointer:fine){.cesgl-link:hover{color:var(--cesgl-link-hover);}}\n.cesgl-pad{padding:5px calc(16px + env(safe-area-inset-right,0px)) calc(55px + env(safe-area-inset-bottom,0px)) calc(16px + env(safe-area-inset-left,0px));}\n@media (min-width:900px){.cesgl-pad{padding:8px 60px 89px;}}\n.cesgl-cols{grid-template-columns:minmax(0,1fr);}\n@media (min-width:900px){.cesgl-cols{grid-template-columns:repeat(2,minmax(0,1fr));}}\n@keyframes cesgl-fade{from{opacity:0}to{opacity:1}}\n@keyframes cesgl-rise{from{opacity:0;transform:translate3d(0,13px,0)}to{opacity:1;transform:none}}\n@keyframes cesgl-pop{from{transform:scale(0.97)}to{transform:none}}\n@keyframes cesgl-from-next{from{transform:translate3d(56px,0,0)}to{transform:none}}\n@keyframes cesgl-from-prev{from{transform:translate3d(-56px,0,0)}to{transform:none}}\n.cesgl-ytbox{position:absolute;inset:0;overflow:hidden;container-type:size;pointer-events:none;}\n.cesgl-yt{position:absolute;left:50%;top:50%;display:block;width:100%;max-width:none;height:auto;aspect-ratio:4/3;transform:translate(-50%,-50%);object-fit:cover;}\n@supports (width:1cqw){.cesgl-yt{width:max(100cqw,177.78cqh);}}\n.cesgl-playbadge{transition:transform 200ms cubic-bezier(0.22,1,0.36,1);}\n@container cesgl-slide (max-width:279.98px){.cesgl-vtag-u{top:calc(50% + 32px) !important;}}\n@container cesgl-slide (max-width:271.98px){.cesgl-vtag-u{display:none !important;}}\n@media (hover:hover) and (pointer:fine){.cesgl-tile:hover .cesgl-playbadge,.cesgl-play:hover .cesgl-playbadge,.cesgl-gitem:hover .cesgl-playbadge{transform:scale(1.06);}}\n@media (prefers-reduced-motion:reduce){.cesgl-anim{animation:none !important;}.cesgl-shade,.cesgl-thumb,.cesgl-playbadge{transition:none;}}\n@media (max-width:599px){\n.cesgl-pre .cesgl-mosaic{aspect-ratio:4/3 !important;max-height:none !important;grid-template-columns:minmax(0,1fr) !important;grid-template-rows:minmax(0,1fr) !important;}\n.cesgl-pre .cesgl-mosaic>.cesgl-side{display:none !important;}\n.cesgl-pre .cesgl-mosaic>.cesgl-main{grid-column:1/-1 !important;grid-row:1/-1 !important;}\n.cesgl-pre .cesgl-mosaic>.cesgl-main,.cesgl-pre .cesgl-mosaic>.cesgl-main img,.cesgl-pre .cesgl-mosaic>.cesgl-main .cesgl-shade{--corner-shape-fallback:.71;border-radius:calc(var(--cesgl-r)*var(--one-if-corner-shape-supported,var(--corner-shape-fallback,1))) !important;corner-shape:superellipse(1.6);}\n}\n`;// a11y: a photo button's name includes the photo's own CMS alt text (never the generic \"Venue photo 3\" fallback).\nfunction photoName(photo,index,total){const a=(photo.rawAlt||\"\").trim();return a?`${a} (photo ${index+1} of ${total})`:`Photo ${index+1} of ${total}`;}function text(v){return typeof v===\"string\"?v.trim():\"\";}function num(v,fallback){const n=typeof v===\"number\"?v:typeof v===\"string\"?parseFloat(v):NaN;return Number.isFinite(n)?n:fallback;}function clamp(n,lo,hi){return Math.min(hi,Math.max(lo,n));}// Enum values arrive as the option (\"carousel\") or, from older setups, as its title (\"Button only\").\nfunction toLayout(v){const s=text(v).toLowerCase();if(s.indexOf(\"car\")===0)return\"carousel\";if(s.indexOf(\"button\")===0)return\"button\";return\"mosaic\";}function toTheme(v){return text(v).toLowerCase()===\"dark\"?\"dark\":\"light\";}// The same file at another size is the same photo.\nfunction photoKey(src){const clean=src.split(\"#\")[0];return clean.indexOf(\"framerusercontent.com/\")!==-1?clean.split(\"?\")[0]:clean;}// Framer's image CDN resizes on request. Used only when an image comes without a srcSet.\nfunction cdnSrcSet(src){if(src.indexOf(\"framerusercontent.com/images/\")===-1)return\"\";try{return[512,1024,2048].map(w=>{const u=new URL(src);u.searchParams.set(\"scale-down-to\",String(w));return`${u.toString()} ${w}w`;}).join(\", \");}catch(_){return\"\";}}function isUrl(s){return/^(https?:)?\\/\\//i.test(s)||s.charAt(0)===\"/\"||/^(data:image|blob:)/i.test(s);}// Finds the image in a value. A ResponsiveImage is { src, srcSet, alt }. A CMS image is { url }.\n// A CMS gallery item can wrap it one or two levels down ({ <field>: { src } } or\n// { fieldData: { <field>: { value: { url } } } }), so look inside before giving up.\nfunction findImage(v,depth){if(!v||typeof v!==\"object\"||Array.isArray(v))return null;const o=v;if(text(o.src)||text(o.url))return o;if(depth<=0)return null;for(const k of Object.keys(o)){const inner=o[k];if(typeof inner===\"string\"){if(k!==\"id\"&&isUrl(inner.trim()))return{src:inner};continue;}const hit=findImage(inner,depth-1);if(hit)return hit;}return null;}function toPhoto(v){if(typeof v===\"string\"){const src=v.trim();return src?{key:photoKey(src),src,srcSet:cdnSrcSet(src),alt:\"\",position:\"\",credit:\"\",ratio:ratioOf(src,\"\")}:null;}const o=findImage(v,3);if(!o)return null;const src=text(o.src)||text(o.url);if(!src)return null;const px=text(o.positionX);const py=text(o.positionY);const srcSet=text(o.srcSet)||cdnSrcSet(src);return{key:photoKey(src),src,srcSet,alt:text(o.alt),position:px||py?`${px||\"50%\"} ${py||\"50%\"}`:\"\",credit:\"\",ratio:ratioOf(src,srcSet)};}// Framer's image URLs carry the file's size (\"…jpg?width=1201&height=1600\"), so a photo's shape is\n// known on the server and the layout never jumps once the file arrives. 0 when the URL doesn't say.\nfunction ratioOf(src,srcSet){for(const u of[src,srcSet]){const w=/[?&]width=(\\d+)/.exec(u);const h=/[?&]height=(\\d+)/.exec(u);if(w&&h&&+w[1]>0&&+h[1]>0)return+w[1]/+h[1];}return 0;}function isTall(p){return!p.placeholder&&!!p.ratio&&p.ratio<TALL;}function isWide(p){return!p.placeholder&&!!p.ratio&&p.ratio>=TALL;}// A wide photo leads (the big tile, the first slide): a tall cover moves behind the first wide photo\n// and lands in a side tile. A wide cover stays first. In the 4-photo mosaic the top-right tile is\n// wide, so it gets a wide photo when one is there. The viewer uses the same order.\n// Videos count as wide (16:9) and may fill that top-right tile, but never take the lead from a photo.\nfunction arrange(photos){const out=photos.slice();const pull=(from,to)=>{const k=out.findIndex((p,i)=>i>=from&&isWide(p)&&(to>0||!p.video));if(k>to)out.splice(to,0,out.splice(k,1)[0]);};if(out.length>1&&isTall(out[0]))pull(1,0);if(out.length===4&&isTall(out[1]))pull(2,1);return out;}// The soft backdrop behind a whole (uncropped) photo: the same file at 64px, stretched to cover the\n// frame, which reads as a blur by itself. CSS adds a small static blur on desktop and tablet only.\nfunction backdropOf(p){const src=p.src.split(\"#\")[0];if(src.indexOf(\"framerusercontent.com/images/\")===-1)return pickSrc(p,\"min\").split(\"#\")[0];try{const u=new URL(src);u.searchParams.delete(\"width\");u.searchParams.delete(\"height\");u.searchParams.set(\"scale-down-to\",String(BACKDROP_PX));return u.toString();}catch(_){return src;}}// The width a whole photo shows at, as one plain length. The lead photo uses the same value in the\n// mosaic and the carousel: both copies share its file, so they must pick the same one. Mosaic: the\n// frame is at most the mosaic height tall. Carousel: a 4:3 slide of a phone-wide gallery.\nfunction wholeSize(ratio,height){return`min(${+(75*ratio).toFixed(2)}vw, ${Math.round(height*ratio)}px)`;}// ── Video links (the parsing RoomVideo uses) ────────────────────────────────────\n// A Link control or a CMS link can arrive as a string or as { href }; a file as a string or as an\n// asset ({ url }).\nfunction linkText(v){if(typeof v===\"string\")return v.trim();if(!v||typeof v!==\"object\")return\"\";const o=v;if(typeof o.href===\"string\")return o.href.trim();if(typeof o.url===\"string\")return o.url.trim();return\"\";}// Only http(s). A bare \"www.example.com\" gets https:// in front. Anything else is ignored.\nfunction toUrl(raw){if(!raw)return null;let s=raw;if(/^\\/\\//.test(s))s=\"https:\"+s;else if(!/^[a-z][a-z0-9+.-]*:/i.test(s))s=\"https://\"+s;try{const u=new URL(s);if(u.protocol!==\"https:\"&&u.protocol!==\"http:\")return null;return u;}catch(_){return null;}}// \"90\", \"90s\", \"1m30s\", \"1h2m3s\" -> seconds\nfunction toSeconds(v){if(!v)return 0;if(/^\\d+$/.test(v))return parseInt(v,10);const m=v.match(/^(?:(\\d+)h)?(?:(\\d+)m)?(?:(\\d+)s)?$/);if(!m)return 0;return parseInt(m[1]||\"0\",10)*3600+parseInt(m[2]||\"0\",10)*60+parseInt(m[3]||\"0\",10);}const YT_ID=/^[A-Za-z0-9_-]{11}$/;function youTubeId(u){const host=u.hostname.replace(/^www\\.|^m\\.|^music\\./,\"\");if(host===\"youtu.be\"){const id=u.pathname.split(\"/\")[1]||\"\";return YT_ID.test(id)?id:\"\";}if(host===\"youtube.com\"||host===\"youtube-nocookie.com\"){const v=u.searchParams.get(\"v\")||\"\";if(YT_ID.test(v))return v;const parts=u.pathname.split(\"/\").filter(Boolean);if(parts.length>=2&&[\"embed\",\"shorts\",\"live\",\"v\"].indexOf(parts[0])!==-1)return YT_ID.test(parts[1])?parts[1]:\"\";}return\"\";}function vimeoOf(u){const host=u.hostname.replace(/^www\\./,\"\");if(host!==\"vimeo.com\"&&host!==\"player.vimeo.com\")return{id:\"\",hash:\"\"};const parts=u.pathname.split(\"/\").filter(Boolean);let id=\"\";let hash=u.searchParams.get(\"h\")||\"\";for(let i=0;i<parts.length;i++){if(/^\\d{5,}$/.test(parts[i])){id=parts[i];const next=parts[i+1]||\"\";if(!hash&&/^[a-f0-9]{6,}$/i.test(next))hash=next;break;}}return{id,hash};}// A direct link to a video file.\nconst VIDEO_FILE=/\\.(mp4|webm|mov|m4v)(\\?|#|$)/i;// An uploaded file (Video) wins over a link (Video link). A link that is neither YouTube, Vimeo nor a\n// video file (a tour, a page) is not a video, so the entry stays a photo.\nfunction readVideo(file,link){const f=linkText(file);if(f&&(/^(https?:)?\\/\\//i.test(f)||f.charAt(0)===\"/\"||/^blob:/i.test(f)))return{kind:\"file\",src:f,id:\"\"};const u=toUrl(linkText(link));if(!u)return null;if(VIDEO_FILE.test(u.pathname))return{kind:\"file\",src:u.href,id:\"\"};const yt=youTubeId(u);if(yt){const start=toSeconds(u.searchParams.get(\"t\")||u.searchParams.get(\"start\"));return{kind:\"youtube\",id:yt,src:`https://www.youtube-nocookie.com/embed/${yt}?autoplay=1&rel=0&playsinline=1&modestbranding=1${start>0?`&start=${start}`:\"\"}`};}const vm=vimeoOf(u);if(vm.id)return{kind:\"vimeo\",id:vm.id,src:`https://player.vimeo.com/video/${vm.id}?autoplay=1&dnt=1&title=0&byline=0&portrait=0${vm.hash?`&h=${encodeURIComponent(vm.hash)}`:\"\"}`};return null;}// YouTube's own still: hq (480x360, 4:3 with letterbox bars, cropped by .cesgl-yt) for tiles, mq\n// (320x180, 16:9) for the thumbnail strip. i.ytimg.com serves images only: no player, no cookies.\nfunction ytThumb(id,size){return`https://i.ytimg.com/vi/${id}/${size}default.jpg`;}// A video entry: its photo (if any) is the poster. The key is the video's, so a poster that is also\n// a photo in the gallery (or the cover) stays a separate tile.\nfunction toVideo(v,image){const key=`video:${v.kind===\"file\"?photoKey(v.src):`${v.kind}:${v.id}`}`;const poster=toPhoto(image);if(poster)return{...poster,key,ratio:VIDEO_RATIO,posterRatio:poster.ratio||0,video:v};if(v.kind===\"youtube\")return{key,src:ytThumb(v.id,\"hq\"),srcSet:\"\",alt:\"\",position:\"\",credit:\"\",ratio:VIDEO_RATIO,video:v,yt:true};return{key,src:\"\",srcSet:\"\",alt:\"\",position:\"\",credit:\"\",ratio:VIDEO_RATIO,video:v};}// ── End video links ─────────────────────────────────────────────────────────────\n// An Images item is { photo, video, videoLink, credit }. Its credit and video fields are read by name,\n// never searched as an image, so a credit or a video URL can't be mistaken for the photo.\nfunction splitItem(v){if(!v||typeof v!==\"object\"||Array.isArray(v))return{image:v,credit:\"\",video:null};const o=v;const credit=text(o.credit);const video=readVideo(o.video,o.videoLink);if(\"photo\"in o)return{image:o.photo,credit,video};if(!(\"credit\"in o)&&!(\"video\"in o)&&!(\"videoLink\"in o))return{image:v,credit,video};const rest={};for(const k of Object.keys(o))if(k!==\"credit\"&&k!==\"video\"&&k!==\"videoLink\")rest[k]=o[k];return{image:rest,credit,video};}// \"6 photos\" (as before), or \"6 photos · 2 videos\" once a video is in.\nfunction countText(photos){const v=photos.filter(p=>!!p.video).length;if(!v)return`${photos.length} photos`;const ph=photos.length-v;return`${ph?`${ph} ${ph===1?\"photo\":\"photos\"} \\xb7 `:\"\"}${v} ${v===1?\"video\":\"videos\"}`;}// Cover first, then the gallery (unless the cover is tall: see arrange). Empty entries are skipped\n// and repeats (the cover is often in the gallery too) are dropped by file.\nfunction buildPhotos(cover,images,venueName,keepOrder=true,lead,extra){const raw=[cover];if(Array.isArray(images))for(const img of images)raw.push(img);const leadKey=lead?(toPhoto(lead.image)||{key:\"\"}).key:\"\";if(lead&&leadKey)raw.unshift({photo:lead.image,credit:lead.credit});const seen={};const out=[];for(const r of raw){const{image,credit,video}=splitItem(r);const p=video?toVideo(video,image):toPhoto(image);if(!p)continue;const had=seen[p.key];if(had){// The cover repeated in the gallery: keep the first, but not at the cost of its credit.\nif(!had.credit&&credit)had.credit=credit;continue;}p.credit=credit;if(lead&&leadKey&&p.key===leadKey&&credit)p.creditHref=lead.href;seen[p.key]=p;out.push(p);}// Room photos and videos (from the page's GalleryFeeds), after the venue's own, repeats dropped.\nif(extra){for(const e of extra)if(!seen[e.key]){seen[e.key]=e;out.push(e);}}// Keep CMS order: the cover is the big photo and the gallery follows the CMS order exactly.\nreturn(keepOrder?out:arrange(out)).map((p,i)=>{const what=p.video?\"video\":\"photo\";return{...p,rawAlt:p.alt||\"\",alt:p.alt||(venueName?`${venueName} ${what} ${i+1}`:`${p.video?\"Video\":\"Photo\"} ${i+1}`)};});}// The page's hidden GalleryFeeds (one per room, GalleryFeed.tsx) as photos and video tiles, in page order.\n// A feed is <script type=\"application/json\" data-cesgl-feed>{room, photo, images, video, poster, videoLink, credit, creditLink}</script>.\n// Breakpoint copies of a feed repeat the same files, which the key check drops.\nfunction readFeeds(){const out=[];const seen={};let nodes;try{nodes=document.querySelectorAll(\"script[data-cesgl-feed]\");}catch{return out;}nodes.forEach(el=>{let f=null;try{f=JSON.parse(el.textContent||\"null\");}catch{f=null;}if(!f||typeof f!==\"object\")return;const room=text(f.room);const credit=text(f.credit);const href=safeHref(f.creditLink);const raw=[];if(f.photo)raw.push({photo:f.photo});if(Array.isArray(f.images))for(const it of f.images)raw.push(it);const v=readVideo(f.video,f.videoLink);if(v)raw.push({photo:f.poster,video:f.video,videoLink:f.videoLink});let n=0;for(const r of raw){const{image,credit:own,video}=splitItem(r);const p=video?toVideo(video,image):toPhoto(image);if(!p||seen[p.key])continue;seen[p.key]=true;n++;p.credit=own||credit;if(!own&&credit&&href)p.creditHref=href;const what=p.video?\"video\":\"photo\";p.rawAlt=p.alt||\"\";p.alt=p.alt||(room?`${room} ${what} ${n}`:\"\");out.push(p);}});return out;}// Canvas-only stand-ins so the gallery can be laid out before the CMS is bound.\nconst PLACEHOLDERS=[0,1,2,3,4].map(i=>({key:`placeholder-${i}`,src:\"\",srcSet:\"\",alt:\"\",position:\"\",credit:\"\",placeholder:true}));// The smallest or largest file in a srcSet (\"url 512w, url 1024w\"). Thumbnails take the\n// smallest; a zoomed photo swaps to the largest so it stays sharp at 2x.\nfunction pickSrc(photo,want){const re=/\\s*([^\\s]+)\\s+(\\d+(?:\\.\\d+)?)([wx])\\s*(?:,|$)/g;let best=\"\";let bestSize=want===\"min\"?Infinity:-1;let m;while(m=re.exec(photo.srcSet)){const size=parseFloat(m[2])*(m[3]===\"x\"?1e3:1);if(want===\"min\"?size<bestSize:size>bestSize){bestSize=size;best=m[1];}}return best||photo.src;}// Framer's publish step merges the sizes of every <img> that shares a src into one string per\n// breakpoint (a mosaic tile, the phone carousel copy and a page thumbnail of the same photo became\n// \"max(88vw, (max-width: 809px) 50vw, 25vw, 89px)\", which is invalid, so browsers fell back to\n// 100vw and fetched the full original). A #fragment per role gives each use its own src. Browsers\n// drop the fragment when they fetch, so the file, its AVIF/WebP format and the cache are unchanged.\n// The first photo stays untagged: both gallery copies (desktop and phone) then share one download.\n// A video's poster can be the same file as a photo tile, so each poster gets its own role (mv3, cv3).\nfunction tagged(photo,role){if(!photo.src||photo.yt)return photo;const tag=u=>`${u.split(\"#\")[0]}#gl-${role}`;const srcSet=photo.srcSet?photo.srcSet.split(\",\").map(part=>{const bits=part.trim().split(/\\s+/);return bits[0]?[tag(bits[0]),...bits.slice(1)].join(\" \"):\"\";}).filter(Boolean).join(\", \"):\"\";return{...photo,src:tag(photo.src),srcSet};}// Sizes must be one plain length (math is fine, media conditions are not): the publish step\n// wraps each value in its own per-breakpoint list. Side tiles of the mosaic, by photo count.\n// Tiles crop with cover, so a short wide tile still needs the photo at about 1.5x its height\n// (3:2 photos); on a tablet the narrow side tiles would otherwise get a soft 512 file.\n// tall: the shape of a tall or square photo (0 for the rest). Cropped into a tile it needs about\n// the tile's width, not 1.5x its height, so it gets a file near its shown size instead of ~2.5x.\nfunction sideSize(n,i,height,tall=0){if(n<=2)return`max(min(38vw, 430px), ${Math.round((tall||1.5)*height)}px)`;if(n===3)return\"min(38vw, 430px)\";if(n===4&&i===1)return\"min(50vw, 560px)\";if(tall)return`max(min(23vw, 320px), ${Math.round(.5*tall*(height-GAP))}px)`;return`max(min(25vw, 320px), ${Math.round(.75*(height-GAP))}px)`;}// The credit link: web and mail links, site paths, and a bare domain (\"lindeys.com\"). Anything\n// else (javascript:, data:) is dropped and the credit shows as plain text.\nfunction safeHref(v){const s=text(v);if(!s)return\"\";if(/^(https?:\\/\\/|mailto:)/i.test(s))return s;if(/^\\/\\//.test(s))return`https:${s}`;if(s.charAt(0)===\"/\")return s;if(/^[a-z0-9-]+(\\.[a-z0-9-]+)+([/?#:]|$)/i.test(s))return`https://${s}`;return\"\";}function creditFor(p,credit,href){const t=p.credit||credit;return{text:t,href:p.credit&&p.creditHref?p.creditHref:t&&t===credit?href:\"\"};}// Brad 2026-11-10: the line under the gallery names each SOURCE once, never the same maker twice.\n// \"Photo: GM SideKick\", \"Photos: GM SideKick™ and macsproperpub.com\" and \"Photos: GM SideKick\" become\n// \"Photos: GM SideKick™ + macsproperpub.com\". GM SideKick goes first, the rest in photo order. With more than two\n// sources the line ends in \"+ others\", and a tap on it shows them all.\nconst GMS_HREF=\"https://gmsidekick.app\";const CREDIT_LEAD=/^\\s*(?:photos?|videos?|images?|pictures?)(?:\\s*(?:and|&)\\s*(?:photos?|videos?))?\\s*(?::|by\\b|-|–)\\s*/i;const IS_GMS=t=>/^gm\\s*sidekick/i.test(t.replace(/[™®]/g,\"\").trim());const IS_DOMAIN=t=>/^(?:https?:\\/\\/)?(?:www\\.)?[a-z0-9-]+(?:\\.[a-z0-9-]+)*\\.[a-z]{2,}(?:\\/\\S*)?$/i.test(t.trim());function sourceKey(t){if(IS_GMS(t))return\"gm sidekick\";return t.replace(/[™®]/g,\"\").replace(/^https?:\\/\\//i,\"\").replace(/^www\\./i,\"\").replace(/\\/+$/,\"\").trim().toLowerCase();}function hostOf(u){const m=/^(?:https?:)?\\/\\/([^/?#]+)/i.exec(u);return m?m[1].replace(/^www\\./i,\"\").toLowerCase():\"\";}// One credit text → its sources. Splits on commas, \"+\", \"·\", \"&\" and \" and \", but only when a part is GM SideKick or a\n// web address, so names like \"Barrel and Boar\" or \"4th & State\" stay whole.\nfunction splitSources(raw){const body=raw.replace(CREDIT_LEAD,\"\").trim();if(!body)return[];const parts=body.split(/\\s*,\\s*|\\s+(?:\\+|·|&|and)\\s+/i).map(x=>x.trim()).filter(Boolean);return parts.length>1&&parts.some(x=>IS_GMS(x)||IS_DOMAIN(x))?parts:[body];}function creditBits(photos,credit,href){const out=[];const seen={};for(const p of photos){const b=creditFor(p,credit,href);if(!b.text)continue;const names=splitSources(b.text);for(const name of names){const key=sourceKey(name);if(!key)continue;const gms=IS_GMS(name);const text=gms?\"GM SideKick™\":name.replace(/[™®]$/,\"\").trim();// The bit's link belongs to this source when it is the only one, or when the link's site is this address.\nconst own=b.href&&(names.length===1||hostOf(b.href)&&key.split(\"/\")[0]===hostOf(b.href)||gms&&/gmsidekick\\.app/i.test(b.href))?b.href:\"\";const link=gms?own||GMS_HREF:own||(IS_DOMAIN(name)?safeHref(name):\"\");if(key in seen){if(!out[seen[key]].href&&link)out[seen[key]].href=link;continue;}seen[key]=out.length;out.push({text,href:link});}}const g=out.findIndex(b=>sourceKey(b.text)===\"gm sidekick\");if(g>0)out.unshift(out.splice(g,1)[0]);return out;}function Credits({bits,linkStyle,prefix=\"Photos: \"}){const[open,setOpen]=useState(false);if(!bits.length)return null;const shown=open||bits.length<=2?bits:bits.slice(0,2);return /*#__PURE__*/_jsxs(\"span\",{style:open?{whiteSpace:\"normal\"}:undefined,children:[prefix?/*#__PURE__*/_jsx(\"span\",{children:prefix}):null,shown.map((b,k)=>/*#__PURE__*/_jsxs(Fragment,{children:[k>0?/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",children:\" + \"}):null,k>0?/*#__PURE__*/_jsx(\"span\",{style:SR_ONLY,children:\" and \"}):null,b.href?/*#__PURE__*/_jsx(\"a\",{className:\"cesgl-link\",href:b.href,target:\"_blank\",rel:\"noopener noreferrer\",style:linkStyle,children:b.text}):/*#__PURE__*/_jsx(\"span\",{children:b.text})]},b.text)),!open&&bits.length>2?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",children:\" + \"}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"cesgl-link cesgl-more\",\"aria-label\":\"Show all \"+bits.length+\" photo sources\",onClick:e=>{e.stopPropagation();setOpen(true);},style:{font:\"inherit\",color:\"inherit\",background:\"none\",border:0,padding:0,margin:0,cursor:\"pointer\",...linkStyle},children:\"others\"})]}):null]});}function palette(theme){const dark=theme===\"dark\";return{dark,tile:dark?RECESSED:DIR_CARD,icon:dark?ON_RECESSED_FAINT:DIR_FAINT,caption:dark?DARK_SECONDARY:DIR_SECONDARY,shade:\"rgba(20,20,20,0.12)\",pillBg:dark?INK:DIR_SHEET,pillLine:dark?EDGE:DIR_OUTLINE,pillText:dark?OFF:DIR_TEXT,pillHover:dark?RECESSED:DIR_CARD,outline:dark?OFF:DIR_TEXT,outlineHover:dark?ON_DARK:DIR_CARD,ring:dark?LIME:DIR_TEXT,ringGap:dark?INK:DIR_SHEET};}function useReducedMotion(){const[reduce,setReduce]=useState(false);useEffect(()=>{if(typeof window===\"undefined\"||typeof window.matchMedia!==\"function\")return;const mq=window.matchMedia(\"(prefers-reduced-motion: reduce)\");const on=()=>setReduce(mq.matches);on();if(typeof mq.addEventListener===\"function\"){mq.addEventListener(\"change\",on);return()=>mq.removeEventListener(\"change\",on);}mq.addListener(on);return()=>mq.removeListener(on);},[]);return reduce;}// A media query, live. Only the viewer uses it, and the viewer only renders in the browser after\n// mount, so reading it on the first render can't cause a hydration mismatch.\nfunction useMedia(query){const[on,setOn]=useState(()=>typeof window!==\"undefined\"&&typeof window.matchMedia===\"function\"&&window.matchMedia(query).matches);useEffect(()=>{if(typeof window===\"undefined\"||typeof window.matchMedia!==\"function\")return;const mq=window.matchMedia(query);const f=()=>setOn(mq.matches);f();if(typeof mq.addEventListener===\"function\"){mq.addEventListener(\"change\",f);return()=>mq.removeEventListener(\"change\",f);}mq.addListener(f);return()=>mq.removeListener(f);},[query]);return on;}// useLayoutEffect warns during server render, so fall back to useEffect there.\nconst useIsoLayoutEffect=typeof window===\"undefined\"?useEffect:useLayoutEffect;// ── Page lock while the viewer is open ─────────────────────────────────────────\n// position: fixed + a negative top is the lock iOS Safari respects. Every inline style it\n// touches is put back exactly, then the page returns to the same scroll position.\nconst BODY_KEYS=[\"position\",\"top\",\"left\",\"right\",\"width\",\"overflow\",\"paddingRight\"];let lockDepth=0;let saved=null;// A smooth-scroll library (Lenis, which Framer sites often run) keeps its own scroll position.\nfunction lenis(){const l=window.lenis;return l&&typeof l===\"object\"?l:null;}function lockScroll(){lockDepth+=1;if(lockDepth>1||typeof document===\"undefined\")return;const html=document.documentElement;const body=document.body;const x=window.scrollX||window.pageXOffset||0;const y=window.scrollY||window.pageYOffset||0;const bar=Math.max(0,window.innerWidth-html.clientWidth);const prev={};for(const k of BODY_KEYS)prev[k]=body.style[k];saved={x,y,bodyHadStyle:body.hasAttribute(\"style\"),htmlHadStyle:html.hasAttribute(\"style\"),body:prev,scrollBehavior:html.style.scrollBehavior,overscroll:html.style.overscrollBehavior};const padRight=parseFloat(window.getComputedStyle(body).paddingRight)||0;const l=lenis();if(l&&typeof l.stop===\"function\")l.stop();body.style.position=\"fixed\";body.style.top=`${-y}px`;body.style.left=\"0\";body.style.right=\"0\";body.style.overflow=\"hidden\";if(bar>0){// Keep the page from shifting when a desktop scrollbar disappears. Width stays auto\n// (pinned by left and right) so the padding comes out of the content, whatever the box-sizing.\nbody.style.width=\"auto\";body.style.paddingRight=`${padRight+bar}px`;}else{body.style.width=\"100%\";}// No pull-to-refresh, and no trackpad swipe back to the last page, while the viewer is open.\nhtml.style.overscrollBehavior=\"none\";}function unlockScroll(){if(lockDepth===0)return;lockDepth-=1;if(lockDepth>0||!saved||typeof document===\"undefined\")return;const s=saved;saved=null;const html=document.documentElement;const body=document.body;for(const k of BODY_KEYS)body.style[k]=s.body[k];if(!s.bodyHadStyle&&body.getAttribute(\"style\")===\"\")body.removeAttribute(\"style\");html.style.overscrollBehavior=s.overscroll;// A smooth-scroll site would otherwise animate the jump back.\nhtml.style.scrollBehavior=\"auto\";window.scrollTo(s.x,s.y);html.style.scrollBehavior=s.scrollBehavior;if(!s.htmlHadStyle&&html.getAttribute(\"style\")===\"\")html.removeAttribute(\"style\");const l=lenis();if(l&&typeof l.start===\"function\")l.start();}// Screen readers stay inside the dialog: everything else on <body> is hidden while it's open.\nfunction hideOthers(keep){const changed=[];if(!keep||typeof document===\"undefined\")return changed;const kids=Array.prototype.slice.call(document.body.children);for(const el of kids){if(el===keep||el.contains(keep))continue;const tag=el.tagName;if(tag===\"SCRIPT\"||tag===\"STYLE\"||tag===\"LINK\"||tag===\"TEMPLATE\"||tag===\"NOSCRIPT\")continue;const prev=el.getAttribute(\"aria-hidden\");if(prev===\"true\")continue;el.setAttribute(\"aria-hidden\",\"true\");changed.push([el,prev]);}return changed;}function restoreOthers(list){for(const[el,prev]of list){if(prev===null)el.removeAttribute(\"aria-hidden\");else el.setAttribute(\"aria-hidden\",prev);}}const FOCUSABLE='a[href],button,input,select,textarea,[tabindex]:not([tabindex=\"-1\"])';function focusables(root){const all=Array.prototype.slice.call(root.querySelectorAll(FOCUSABLE));return all.filter(el=>{if(el.disabled)return false;if(el.closest(\"[inert]\"))return false;if(!el.getClientRects().length)return false;return window.getComputedStyle(el).visibility!==\"hidden\";});}function Glyph({name,size=16}){const s={fill:\"none\",stroke:\"currentColor\",strokeWidth:1.75,strokeLinecap:\"round\",strokeLinejoin:\"round\"};return /*#__PURE__*/_jsxs(\"svg\",{width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",\"aria-hidden\":\"true\",focusable:\"false\",style:{display:\"block\",flex:\"0 0 auto\"},children:[name===\"grid\"?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"rect\",{x:\"4\",y:\"4\",width:\"6.5\",height:\"6.5\",rx:\"1.5\",...s}),/*#__PURE__*/_jsx(\"rect\",{x:\"13.5\",y:\"4\",width:\"6.5\",height:\"6.5\",rx:\"1.5\",...s}),/*#__PURE__*/_jsx(\"rect\",{x:\"4\",y:\"13.5\",width:\"6.5\",height:\"6.5\",rx:\"1.5\",...s}),/*#__PURE__*/_jsx(\"rect\",{x:\"13.5\",y:\"13.5\",width:\"6.5\",height:\"6.5\",rx:\"1.5\",...s})]}):null,name===\"close\"?/*#__PURE__*/_jsx(\"path\",{d:\"M6.5 6.5l11 11M17.5 6.5l-11 11\",...s,strokeWidth:2}):null,name===\"prev\"?/*#__PURE__*/_jsx(\"path\",{d:\"M14.5 5.5L8 12l6.5 6.5\",...s,strokeWidth:2}):null,name===\"next\"?/*#__PURE__*/_jsx(\"path\",{d:\"M9.5 5.5L16 12l-6.5 6.5\",...s,strokeWidth:2}):null,name===\"zoomIn\"||name===\"zoomOut\"?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"10.5\",cy:\"10.5\",r:\"6.25\",...s}),/*#__PURE__*/_jsx(\"path\",{d:\"M15.25 15.25L20 20\",...s}),/*#__PURE__*/_jsx(\"path\",{d:name===\"zoomIn\"?\"M8 10.5h5M10.5 8v5\":\"M8 10.5h5\",...s})]}):null,name===\"image\"?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"rect\",{x:\"3.5\",y:\"4.5\",width:\"17\",height:\"15\",rx:\"2.5\",...s}),/*#__PURE__*/_jsx(\"circle\",{cx:\"9\",cy:\"10\",r:\"1.75\",...s}),/*#__PURE__*/_jsx(\"path\",{d:\"M20.5 15.5l-4.8-4.6a1 1 0 0 0-1.4 0L6.5 19.5\",...s})]}):null,name===\"play\"?/*#__PURE__*/_jsx(\"path\",{d:\"M8 5.75v12.5a.75.75 0 0 0 1.14.64l9.6-6.25a.75.75 0 0 0 0-1.28l-9.6-6.25A.75.75 0 0 0 8 5.75Z\",...s}):null]});}// The play badge on a video: a Lime glyph inside an Ink circle (as in RoomVideo). Decorative: the\n// button around it carries the name.\nfunction PlayBadge({size}){const g=Math.round(size*.36);return /*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",className:\"cesgl-playbadge\",style:{position:\"relative\",zIndex:1,boxSizing:\"border-box\",flex:\"0 0 auto\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:size,height:size,borderRadius:999,background:PHOTO_PILL,border:`1px solid ${EDGE}`,pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(\"svg\",{width:g,height:g,viewBox:\"0 0 24 24\",\"aria-hidden\":\"true\",focusable:\"false\",style:{display:\"block\",marginLeft:Math.max(1,Math.round(size*.04))},children:/*#__PURE__*/_jsx(\"path\",{d:\"M7 4.8v14.4a1 1 0 0 0 1.52.85l11.2-7.2a1 1 0 0 0 0-1.7L8.52 3.95A1 1 0 0 0 7 4.8Z\",style:{fill:LIME_TOKEN}})})});}// The small \"Video\" label in a video tile's top-left corner (the bottom corners hold the counter and\n// the Show all pill). Under: centred just below the play badge instead (phone carousel slides, whose\n// top-left corner holds the listing badge chips laid over the gallery). On a short slide the\n// cesgl-vtag-u container rules in CSS pull it closer to the badge, then hide it (under 272px wide,\n// e.g. 320px screens) so it never sits on the 1 / N counter or the Show all pill. The play badge\n// and the button's \"Play video\" label still say it is a video.\nfunction VideoTag({inset,under=false,badge=56}){return /*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",className:under?\"cesgl-vtag-u\":undefined,style:{position:\"absolute\",zIndex:1,...under?{left:\"50%\",top:`calc(50% + ${Math.round(badge/2)+8}px)`,transform:\"translateX(-50%)\"}:{left:inset,top:inset},padding:\"5px 8px\",borderRadius:999,background:PHOTO_PILL,color:OFF,fontFamily:FONT,fontSize:12,fontWeight:600,lineHeight:1,letterSpacing:0,whiteSpace:\"nowrap\",pointerEvents:\"none\"},children:\"Video\"});}// The centred play badge layer over a video tile.\nfunction PlayLayer({size}){return /*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",inset:0,zIndex:1,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(PlayBadge,{size:size})});}// One <img>. \"loading\" and \"srcset\" are set before \"src\" so the browser picks the right file once.\nfunction Pic(props){const{photo,sizes,eager,style,onSize}=props;// Remembers which file failed, so a new file in the same slot gets a fresh try.\nconst[broken,setBroken]=useState(\"\");// Each file reports its size once. The ref runs on every commit, and reporting again each\n// time would set state from every commit, a loop React stops with \"Maximum update depth\".\nconst told=useRef(\"\");const report=el=>{if(!el||!onSize||!el.complete||!el.naturalWidth)return;const file=el.currentSrc||el.src;if(told.current===file)return;told.current=file;onSize(el.naturalWidth,el.naturalHeight);};return /*#__PURE__*/_jsx(\"img\",{ref:report,loading:eager?\"eager\":\"lazy\",...eager?{fetchpriority:\"high\"}:{},decoding:eager?\"auto\":\"async\",sizes:photo.srcSet?sizes:undefined,srcSet:photo.srcSet||undefined,src:photo.src,alt:photo.alt,draggable:false,onLoad:e=>report(e.currentTarget),onError:()=>setBroken(photo.src),onDragStart:e=>e.preventDefault(),style:{...style,visibility:broken&&broken===photo.src?\"hidden\":undefined}});}// A video's poster, filling its box (cropped like a tile): its own photo, else the YouTube still (its\n// letterbox bars cropped off), else nothing, so the Ink tile shows. Never a video file or a player.\nfunction Poster({photo,sizes,eager,radius}){if(photo.yt){return /*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",className:\"cesgl-ytbox\",style:{...sq(radius)},children:/*#__PURE__*/_jsx(\"img\",{className:\"cesgl-yt\",loading:eager?\"eager\":\"lazy\",decoding:\"async\",src:photo.src,alt:\"\",draggable:false,onError:e=>{e.currentTarget.style.visibility=\"hidden\";},onDragStart:e=>e.preventDefault()})});}if(!photo.src)return null;return /*#__PURE__*/_jsx(Pic,{photo:photo,sizes:sizes,eager:eager,style:{position:\"absolute\",inset:0,display:\"block\",width:\"100%\",height:\"100%\",objectFit:\"cover\",objectPosition:photo.position||\"50% 50%\",...sq(radius)}});}function Tile({photo,index,total,radius,pal,sizes,eager,deferred,whole,badge=44,tagUnder=false,className,style,onOpen}){if(photo.placeholder){return /*#__PURE__*/_jsxs(\"span\",{\"aria-hidden\":\"true\",className:className,style:{...style,boxSizing:\"border-box\",display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",gap:8,...sq(radius),background:pal.tile,color:pal.icon,fontFamily:FONT},children:[/*#__PURE__*/_jsx(Glyph,{name:\"image\",size:index===0?21:16}),index===0?/*#__PURE__*/_jsx(\"span\",{style:{fontSize:13,fontWeight:500,lineHeight:1.3,color:pal.caption},children:\"Photos show here\"}):null]});}// A video: its poster (or an Ink tile), a play badge and a \"Video\" label. It opens the viewer\n// and plays there. No <video> or player here, so the page loads no video bytes.\nif(photo.video){return /*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:`cesgl-btn cesgl-tile ${className}`,\"aria-label\":`Play video ${index+1} of ${total}`,\"data-cesgl-i\":index,\"data-cesgl-video-tile\":\"\",onClick:e=>onOpen(index,e.currentTarget,e.detail>0),style:{...RESET_BTN,...style,position:\"relative\",display:\"block\",overflow:\"hidden\",...sq(radius),background:photo.src?pal.tile:INK_TOKEN,cursor:\"pointer\",// A query container, so the \"Video\" tag under the badge can react to the slide's\n// size (a 4:3 slide: its width sets its height).\n...tagUnder?{containerType:\"inline-size\",containerName:\"cesgl-slide\"}:null},children:[deferred?null:/*#__PURE__*/_jsx(Poster,{photo:photo,sizes:sizes,eager:eager,radius:radius}),/*#__PURE__*/_jsx(PlayLayer,{size:badge}),/*#__PURE__*/_jsx(VideoTag,{inset:badge>=56?13:8,under:tagUnder,badge:badge}),/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",className:\"cesgl-shade\",style:{position:\"absolute\",inset:0,...sq(radius),background:pal.shade,pointerEvents:\"none\"}})]});}return /*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:`cesgl-btn cesgl-tile ${className}`,\"aria-label\":photoName(photo,index,total),\"data-cesgl-i\":index,onClick:e=>onOpen(index,e.currentTarget,e.detail>0),style:{...RESET_BTN,...style,position:\"relative\",display:\"block\",overflow:\"hidden\",...sq(radius),background:pal.tile,cursor:\"pointer\"},children:[whole&&!deferred?/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",className:\"cesgl-bd\",style:{backgroundColor:pal.tile,backgroundImage:`linear-gradient(${BACKDROP_WASH}, ${BACKDROP_WASH}), url(\"${backdropOf(photo)}\")`}}):null,deferred?null:/*#__PURE__*/_jsx(Pic,{photo:photo,sizes:sizes,eager:eager,style:{position:\"absolute\",inset:0,display:\"block\",width:\"100%\",height:\"100%\",objectFit:whole?\"contain\":\"cover\",objectPosition:whole?\"50% 50%\":photo.position||\"50% 50%\",...sq(radius)}}),/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",className:\"cesgl-shade\",style:{position:\"absolute\",inset:0,...sq(radius),background:pal.shade,pointerEvents:\"none\"}})]});}function ShowAllPill({label,pal,style,glyph=\"grid\",onOpen}){return /*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"cesgl-btn cesgl-pill cesgl-hit\",onClick:e=>onOpen(e.currentTarget,e.detail>0),style:{...RESET_BTN,position:\"absolute\",zIndex:1,display:\"inline-flex\",alignItems:\"center\",gap:8,padding:\"8px 13px\",borderRadius:999,background:pal.pillBg,border:`1px solid ${pal.pillLine}`,color:pal.pillText,fontFamily:FONT,fontSize:14,fontWeight:500,lineHeight:\"16px\",letterSpacing:0,whiteSpace:\"nowrap\",cursor:\"pointer\",transition:\"background-color 160ms ease\",...style},children:[/*#__PURE__*/_jsx(Glyph,{name:glyph,size:16}),/*#__PURE__*/_jsx(\"span\",{children:label})]});}// One photo has nothing to \"show all\" of; the chip opens it in the viewer instead.\nconst VIEW_ONE=\"View photo\";const PLAY_ONE=\"Play video\";function mosaicPlan(n){const golden=\"minmax(0,1.618fr) minmax(0,1fr)\";const half=\"minmax(0,2fr) minmax(0,1fr) minmax(0,1fr)\";if(n<=1)return{cols:\"minmax(0,1fr)\",colCount:1,rows:1,cells:[{col:[1,2],row:[1,2]}],mainSize:\"min(100vw, 1280px)\"};if(n===2)return{cols:golden,colCount:2,rows:1,cells:[{col:[1,2],row:[1,2]},{col:[2,3],row:[1,2]}],mainSize:\"min(62vw, 720px)\"};if(n===3)return{cols:golden,colCount:2,rows:2,cells:[{col:[1,2],row:[1,3]},{col:[2,3],row:[1,2]},{col:[2,3],row:[2,3]}],mainSize:\"min(62vw, 720px)\"};if(n===4)return{cols:half,colCount:3,rows:2,cells:[{col:[1,2],row:[1,3]},{col:[2,4],row:[1,2]},{col:[2,3],row:[2,3]},{col:[3,4],row:[2,3]}],mainSize:\"min(50vw, 640px)\"};return{cols:half,colCount:3,rows:2,cells:[{col:[1,2],row:[1,3]},{col:[2,3],row:[1,2]},{col:[3,4],row:[1,2]},{col:[2,3],row:[2,3]},{col:[3,4],row:[2,3]}],mainSize:\"min(50vw, 640px)\"};}// Only the corners on the outside of the mosaic are round. Inside corners stay at the floor.\nfunction cellRadius(c,plan,r){const inner=Math.min(INNER_RADIUS,r);const top=c.row[0]===1;const bottom=c.row[1]===plan.rows+1;const left=c.col[0]===1;const right=c.col[1]===plan.colCount+1;return`${top&&left?r:inner}px ${top&&right?r:inner}px ${bottom&&right?r:inner}px ${bottom&&left?r:inner}px`;}function Mosaic({photos,radius,height,pal,label,onOpen,onShowAll,fill}){const shown=photos.slice(0,5);const plan=mosaicPlan(shown.length);const lead=shown[0];// A tall lead (only when no wide photo exists) shows whole. One wide photo gets a frame of its\n// own shape, within 16:9 to 2.4:1, so it isn't cut to a thin strip.\nconst leadWhole=!fill&&isTall(lead);const oneWide=shown.length===1&&isWide(lead);const shape=oneWide?clamp(lead.ratio||2,WIDE_MIN,WIDE_MAX):2;return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"div\",{className:\"cesgl-mosaic\",style:{display:\"grid\",width:\"100%\",aspectRatio:`${+shape.toFixed(4)} / 1`,maxHeight:oneWide?Math.round(height*WIDE_GROW):height,minHeight:0,gridTemplateColumns:plan.cols,gridTemplateRows:`repeat(${plan.rows}, minmax(0, 1fr))`,gap:GAP},children:shown.map((p,i)=>{const cell=plan.cells[i];return /*#__PURE__*/_jsx(Tile,{photo:i===0?p:tagged(p,p.video?`mv${i}`:\"m\"),index:i,total:photos.length,radius:cellRadius(cell,plan,radius),pal:pal,sizes:i===0?leadWhole?wholeSize(lead.ratio||1,height):plan.mainSize:sideSize(shown.length,i,height,isTall(p)?p.ratio||1:0),eager:i===0,whole:i===0&&leadWhole,badge:i===0?56:44,className:i===0?\"cesgl-main\":\"cesgl-side\",style:{gridColumn:`${cell.col[0]} / ${cell.col[1]}`,gridRow:`${cell.row[0]} / ${cell.row[1]}`,minWidth:0,minHeight:0},onOpen:onOpen},p.key);})}),photos.length>1?/*#__PURE__*/_jsx(ShowAllPill,{label:label,pal:pal,style:{right:13,bottom:13},onOpen:onShowAll}):lead.placeholder?null:/*#__PURE__*/_jsx(ShowAllPill,{label:lead.video?PLAY_ONE:VIEW_ONE,glyph:lead.video?\"play\":\"image\",pal:pal,style:{right:13,bottom:13},onOpen:onShowAll})]});}function Carousel({photos,radius,height,pal,label,reduced,onOpen,onShowAll,fill}){const rail=useRef(null);const raf=useRef(0);const[current,setCurrent]=useState(0);const count=photos.length;const single=count===1;const at=Math.min(current,count-1);// With a video in the rail the next slide can be a video, so the arrows drop the word \"photo\".\nconst anyVideo=photos.some(p=>!!p.video);// The server HTML carries only the first two slides' photos, so a phone spends its first\n// bandwidth on the photo it shows. The rest render once the page runs (lazy, as before).\nconst[running,setRunning]=useState(false);useEffect(()=>setRunning(true),[]);const stepPx=()=>{const first=rail.current?rail.current.firstElementChild:null;return first?first.offsetWidth+GAP:0;};const onScroll=()=>{if(raf.current||typeof requestAnimationFrame===\"undefined\")return;raf.current=requestAnimationFrame(()=>{raf.current=0;const el=rail.current;const step=stepPx();if(!el||!step)return;setCurrent(clamp(Math.round(el.scrollLeft/step),0,count-1));});};useEffect(()=>()=>{if(raf.current)cancelAnimationFrame(raf.current);},[]);const scrollToSlide=i=>{const el=rail.current;const step=stepPx();if(!el||!step)return;const left=clamp(i,0,count-1)*step;try{el.scrollTo({left,behavior:reduced?\"auto\":\"smooth\"});}catch(_){el.scrollLeft=left;}};// Pills sit inside the snapped slide, which always fills the left 88%.\nconst slideRight=single?\"13px\":\"calc(12% + 13px)\";const arrow=dir=>({...RESET_BTN,position:\"absolute\",top:\"50%\",marginTop:-17,zIndex:1,width:34,height:34,borderRadius:999,alignItems:\"center\",justifyContent:\"center\",background:pal.pillBg,border:`1px solid ${pal.pillLine}`,color:pal.pillText,cursor:\"pointer\",opacity:(dir<0?at===0:at===count-1)?0:1,pointerEvents:(dir<0?at===0:at===count-1)?\"none\":\"auto\",transition:reduced?\"none\":\"opacity 160ms ease, background-color 160ms ease\",...dir<0?{left:13}:{right:slideRight}});return /*#__PURE__*/_jsxs(\"div\",{\"data-cesgl-carousel\":single?\"single\":\"multi\",style:{position:\"relative\",width:\"100%\"},children:[/*#__PURE__*/_jsxs(\"div\",{ref:rail,className:\"cesgl-rail\",onScroll:onScroll,style:{display:\"flex\",alignItems:\"flex-start\",gap:GAP,overflowX:single?\"hidden\":\"auto\",overflowY:\"hidden\",scrollSnapType:\"x mandatory\",scrollPaddingLeft:4,overscrollBehaviorX:\"contain\",WebkitOverflowScrolling:\"touch\",padding:\"4px 0 4px 4px\",margin:\"-4px 0 -4px -4px\"},children:[photos.map((p,i)=>/*#__PURE__*/_jsx(Tile,{photo:i===0?p:tagged(p,p.video?`cv${i}`:\"c\"),index:i,total:count,radius:`${radius}px`,pal:pal,sizes:!fill&&isTall(p)?i===0?wholeSize(p.ratio||1,height):`min(${+(66*(p.ratio||1)).toFixed(2)}vw - ${+(21*(p.ratio||1)).toFixed(2)}px, ${Math.round(480*(p.ratio||1))}px)`:single?\"min(100vw, 1280px)\":i===0?\"min(88vw, 640px)\":\"min(88vw - 28px, 640px)\",eager:i===0,deferred:!running&&i>1,whole:!fill&&isTall(p),badge:56,tagUnder:true,className:\"\",style:{flex:single?\"0 0 100%\":\"0 0 88%\",aspectRatio:\"4 / 3\",scrollSnapAlign:\"start\",scrollSnapStop:\"always\"},onOpen:onOpen},p.key)),single?null:/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{flex:\"0 0 calc(12% - 8px)\",alignSelf:\"stretch\"}})]}),single?photos[0].placeholder?null:/*#__PURE__*/_jsx(ShowAllPill,{label:photos[0].video?PLAY_ONE:VIEW_ONE,glyph:photos[0].video?\"play\":\"image\",pal:pal,style:{right:13,bottom:13},onOpen:onShowAll}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",left:13,bottom:13,zIndex:1,padding:\"5px 8px\",borderRadius:999,background:PHOTO_PILL,color:OFF,fontFamily:FONT,fontSize:12,fontWeight:600,lineHeight:1,fontVariantNumeric:\"tabular-nums\",pointerEvents:\"none\"},children:`${at+1} / ${count}`}),/*#__PURE__*/_jsx(ShowAllPill,{label:label,pal:pal,style:{right:slideRight,bottom:13},onOpen:onShowAll}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"cesgl-btn cesgl-pill cesgl-rail-arrow\",\"aria-label\":anyVideo?\"Previous\":\"Previous photo\",onClick:()=>scrollToSlide((at-1+count)%count),style:arrow(-1),children:/*#__PURE__*/_jsx(Glyph,{name:\"prev\",size:16})}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"cesgl-btn cesgl-pill cesgl-rail-arrow\",\"aria-label\":anyVideo?\"Next\":\"Next photo\",onClick:()=>scrollToSlide((at+1)%count),style:arrow(1),children:/*#__PURE__*/_jsx(Glyph,{name:\"next\",size:16})})]})]});}function now(){return typeof performance!==\"undefined\"&&typeof performance.now===\"function\"?performance.now():Date.now();}// How far a zoomed photo can move each way before an edge would come inside the frame, at zoom s.\n// A side that still fits at that zoom stays centred.\nfunction panLimit(fit,box,s){if(!fit)return{x:0,y:0};return{x:Math.max(0,(fit.width*s-box.w)/2),y:Math.max(0,(fit.height*s-box.h)/2)};}function clampPan(p,lim){return{x:clamp(p.x,-lim.x,lim.x),y:clamp(p.y,-lim.y,lim.y)};}// moving: a finger is moving it, so it gets its own GPU layer (translate3d). At rest it's a plain 2D\n// transform, so the browser redraws the photo sharp at its new size.\nfunction zoomTransform(p,s,moving=false){const x=Math.round(p.x*100)/100;const y=Math.round(p.y*100)/100;const k=Math.round(s*1e3)/1e3;return moving?`translate3d(${x}px, ${y}px, 0) scale(${k})`:`translate(${x}px, ${y}px) scale(${k})`;}// Past 1x or ZOOM_MAX a pinch meets some resistance; letting go eases it back inside.\nfunction softScale(raw){if(raw<1)return Math.max(.6,1-(1-raw)*.45);if(raw>ZOOM_MAX)return Math.min(ZOOM_MAX*1.3,ZOOM_MAX+(raw-ZOOM_MAX)*.35);return raw;}function roundButton(size){return{...RESET_BTN,position:\"relative\",width:size,height:size,flex:\"0 0 auto\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",borderRadius:999,background:ON_DARK,border:`1px solid ${EDGE}`,color:OFF,cursor:\"pointer\",transition:\"background-color 160ms ease, opacity 160ms ease\"};}function Thumb(props){const{photo,index,total,active,onPick,onSize,setRef}=props;const[broken,setBroken]=useState(false);// A video: its poster (the YouTube still at 16:9, no bars) or an Ink tile, with a small play badge.\n// Its size is never reported: the video's shape is not its poster's.\nif(photo.video){const file=photo.yt&&photo.video.kind===\"youtube\"?ytThumb(photo.video.id,\"mq\"):photo.src?pickSrc(photo,\"min\"):\"\";return /*#__PURE__*/_jsxs(\"button\",{ref:setRef,type:\"button\",className:\"cesgl-btn cesgl-thumb\",\"data-cesgl-thumb\":\"\",\"aria-label\":`Video ${index+1} of ${total}`,\"aria-current\":active?\"true\":undefined,onClick:()=>onPick(index),style:{...RESET_BTN,position:\"relative\",flex:\"0 0 auto\",display:\"block\",overflow:\"hidden\",...sq(8),background:file?RECESSED:INK_TOKEN,cursor:\"pointer\"},children:[file?/*#__PURE__*/_jsx(\"img\",{loading:\"lazy\",decoding:\"async\",src:file,alt:\"\",draggable:false,onError:()=>setBroken(true),onDragStart:e=>e.preventDefault(),style:{display:\"block\",width:\"100%\",height:\"100%\",objectFit:\"cover\",objectPosition:photo.position||\"50% 50%\",...sq(8),visibility:broken?\"hidden\":undefined}}):null,/*#__PURE__*/_jsx(PlayLayer,{size:24})]});}return /*#__PURE__*/_jsx(\"button\",{ref:setRef,type:\"button\",className:\"cesgl-btn cesgl-thumb\",\"data-cesgl-thumb\":\"\",\"aria-label\":photoName(photo,index,total),\"aria-current\":active?\"true\":undefined,onClick:()=>onPick(index),style:{...RESET_BTN,position:\"relative\",flex:\"0 0 auto\",display:\"block\",overflow:\"hidden\",...sq(8),background:RECESSED,cursor:\"pointer\"},children:/*#__PURE__*/_jsx(\"img\",{loading:\"lazy\",decoding:\"async\",src:pickSrc(photo,\"min\"),alt:\"\",draggable:false,onLoad:e=>onSize(photo.key,e.currentTarget.naturalWidth,e.currentTarget.naturalHeight),onError:()=>setBroken(true),onDragStart:e=>e.preventDefault(),style:{display:\"block\",width:\"100%\",height:\"100%\",objectFit:\"cover\",objectPosition:photo.position||\"50% 50%\",...sq(8),visibility:broken?\"hidden\":undefined}})});}// The thumbnail strip along the bottom. It scrolls on its own (swipe, trackpad, wheel) and never\n// changes the photo; a tap on a thumbnail does. The photo shown stays in view, centred.\nfunction Filmstrip({photos,index,reduced,onPick,onSize,before,after}){const rail=useRef(null);const thumbs=useRef([]);const first=useRef(true);const at=useRef(index);at.current=index;const n=photos.length;// A soft fade on an edge only while there is more to scroll that way.\nconst edges=()=>{const el=rail.current;if(!el)return;const max=el.scrollWidth-el.clientWidth;el.style.setProperty(\"--cesgl-fl\",el.scrollLeft>1?\"21px\":\"0px\");el.style.setProperty(\"--cesgl-fr\",el.scrollLeft<max-1?\"21px\":\"0px\");};// The current thumbnail to the middle of the strip (or as near as its ends allow).\nconst centre=smooth=>{const el=rail.current;const t=thumbs.current[at.current];if(!el||!t)return;const max=Math.max(0,el.scrollWidth-el.clientWidth);const left=clamp(Math.round(t.offsetLeft-(el.clientWidth-t.offsetWidth)/2),0,max);if(Math.abs(el.scrollLeft-left)<1)return;try{el.scrollTo({left,behavior:smooth?\"smooth\":\"auto\"});}catch(_){el.scrollLeft=left;}};// A thumbnail reached with Tab comes fully clear of the edge fades, focus ring and all. (The\n// current one is centred by the effect below; moving it here would cut that glide short.)\nconst onFocusThumb=e=>{const el=rail.current;const t=e.target;if(!el||!t.hasAttribute(\"data-cesgl-thumb\")||t.getAttribute(\"aria-current\")===\"true\")return;const room=21+6// the fade, plus the 2px ring and its 2px gap, plus a little air\n;const left=t.offsetLeft-el.scrollLeft;const right=left+t.offsetWidth;let to=el.scrollLeft;if(left<room)to+=left-room;else if(right>el.clientWidth-room)to+=right-(el.clientWidth-room);to=clamp(Math.round(to),0,Math.max(0,el.scrollWidth-el.clientWidth));if(Math.abs(to-el.scrollLeft)>=1)el.scrollLeft=to;};useIsoLayoutEffect(()=>{const el=rail.current;if(!el)return;edges();if(typeof ResizeObserver===\"undefined\")return;// A new width (a resized window, a phone turned) brings the current thumbnail back to the middle.\nlet width=el.clientWidth;const ro=new ResizeObserver(()=>{edges();if(el.clientWidth===width)return;width=el.clientWidth;centre(false);});ro.observe(el);return()=>ro.disconnect();},[]);useIsoLayoutEffect(()=>{const el=rail.current;const t=thumbs.current[index];if(!el||!t)return;const max=Math.max(0,el.scrollWidth-el.clientWidth);const left=clamp(Math.round(t.offsetLeft-(el.clientWidth-t.offsetWidth)/2),0,max);// Glide a short way; jump the first time (the viewer just opened) and across long\n// distances (End, a far thumbnail), where a long swoosh would only blur past.\nconst glide=!first.current&&!reduced&&Math.abs(el.scrollLeft-left)<=el.clientWidth*1.5;first.current=false;centre(glide);// Keyboard focus on a thumbnail follows the photo (← and → while in the strip).\nconst a=document.activeElement;if(a&&a!==t&&el.contains(a))t.focus({preventScroll:true});},[index]);return /*#__PURE__*/_jsxs(\"div\",{className:\"cesgl-strip\",\"data-cesgl-strip\":\"\",style:{flex:\"0 0 auto\",boxSizing:\"border-box\",display:\"flex\",alignItems:\"center\",gap:GAP,minWidth:0},children:[before,/*#__PURE__*/_jsx(\"div\",{ref:rail,role:\"group\",\"aria-label\":\"Thumbnails\",className:\"cesgl-strip-rail\",\"data-cesgl-strip-rail\":\"\",onScroll:edges,onFocus:onFocusThumb,style:{position:\"relative\",flex:\"1 1 auto\",minWidth:0,overflowX:\"auto\",overflowY:\"hidden\",overscrollBehaviorX:\"contain\",WebkitOverflowScrolling:\"touch\",touchAction:\"pan-x\"},children:/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap:GAP,width:\"max-content\",margin:\"0 auto\",padding:4},children:photos.map((p,j)=>/*#__PURE__*/_jsx(Thumb,{photo:p,index:j,total:n,active:j===index,onPick:onPick,onSize:onSize,setRef:el=>{thumbs.current[j]=el;}},p.key))})}),after]});}function Lightbox({photos,heading,named,credit,creditHref,initial,reduced,returnTo,fallbackFocus,onClose}){const n=photos.length;const[mode,setMode]=useState(n>1?initial.mode:\"single\");const[index,setIndex]=useState(clamp(initial.index,0,n-1));const[dir,setDir]=useState(0);const[ratios,setRatios]=useState({});const[box,setBox]=useState({w:0,h:0});const[zoomed,setZoomed]=useState(false);// The frame clips the photo while it's zoomed and while it shrinks back to fit.\nconst[clip,setClip]=useState(false);const[sharpReady,setSharpReady]=useState(\"\");// The grid's photos load only once the grid has been shown: opened straight at a photo, the\n// hidden grid underneath mustn't fetch full-size files ahead of the photo and its thumbnails.\nconst[gridSeen,setGridSeen]=useState(initial.mode===\"grid\"&&n>1);// Full-size files that have arrived; until then the photo's thumbnail stands in.\nconst[loaded,setLoaded]=useState({});// Phones held upright: the arrows sit either side of the strip, never on the photo.\nconst compact=useMedia(COMPACT);const dialogRef=useRef(null);const closeRef=useRef(null);const gridRef=useRef(null);const frameRef=useRef(null);const slideRef=useRef(null);const zoomRef=useRef(null);const itemRefs=useRef([]);const returnIndex=useRef(null);const gesture=useRef(null);const touches=useRef([])// fingers down anywhere in the viewer; two means a pinch, not a swipe\n;const swallowClick=useRef(false);// Where the last press began. A click counts only where its press began, so pressing a\n// control and letting go elsewhere (a change of mind) neither closes nor zooms.\nconst pressAt=useRef(null);const guardUntil=useRef(0);// The click sequence (a double click) that opened the viewer or switched its view is still\n// going: its later clicks (detail 2, 3…) are its tail and never land on the new view.\nconst outerSeq=useRef(initial.pointer);const switchedByPointer=useRef(false);const firstMode=useRef(true);const pan=useRef({x:0,y:0});// The zoom right now: 1 is the whole photo; a tap makes it ZOOM, a pinch anything up to ZOOM_MAX.\nconst scale=useRef(1);// Fingers down on the photo's stage (touch only), where they are now. Two of them make a pinch.\nconst fingers=useRef(new Map);const pinch=useRef(null);// One frame's worth of pinch or pan moves, drawn together in the next animation frame.\nconst rafId=useRef(0);// The last tap (or click) that zoomed in or out: when, where, and whether it zoomed in.\nconst lastTap=useRef(null);const clipTimer=useRef(0);const wheelTimer=useRef(0);const titleId=useId();const i=clamp(index,0,n-1);const photo=photos[i];// The video playing (its key), or \"\". Only the video on screen ever plays; any move clears it.\n// Opened from a video tile (\"Play video\"), that video starts at once.\nconst[playing,setPlaying]=useState(()=>{const p=photos[clamp(initial.index,0,n-1)];return initial.play&&p&&p.video?p.key:\"\";});const videoRef=useRef(null);const vid=photo&&photo.video?photo.video:null;const hasVideo=photos.some(p=>!!p.video);const fitTo=r=>r&&box.w>0&&box.h>0?box.w/box.h>r?{width:Math.round(box.h*r),height:box.h}:{width:box.w,height:Math.round(box.w/r)}:null;// A video's frame: its file's own shape once it has loaded, else its poster's (a file's poster is\n// usually a still of it), else 16:9. YouTube and Vimeo players stay 16:9.\nconst ratio=photo?ratios[photo.key]||(vid?vid.kind===\"file\"&&photo.posterRatio?photo.posterRatio:VIDEO_RATIO:0):0;// The photo's frame once its shape is known (from its file or its thumbnail). Zoom needs it.\nconst fit=fitTo(ratio);// Until then a stand-in of a usual photo shape holds the place, so a slow photo shows a\n// dark slot (not nothing) and a tap there neither closes the viewer nor zooms.\nconst slot=fit||fitTo(PROVISIONAL);// A resize while zoomed keeps the photo inside its new limits.\nif(zoomed)pan.current=clampPan(pan.current,panLimit(fit,box,scale.current));const zoomTransition=reduced?\"none\":`transform ${ZOOM_MS}ms ${EASE_OUT}`;// Photo shapes as they load. Kept in a ref too, so a size already known never sets state.\nconst known=useRef({});const record=(key,w,h)=>{if(!w||!h)return;const r=w/h;const had=known.current[key];if(had&&Math.abs(had-r)<.001)return;known.current={...known.current,[key]:r};setRatios(known.current);};const arrived=useRef({});const markLoaded=key=>{if(arrived.current[key])return;arrived.current={...arrived.current,[key]:true};setLoaded(arrived.current);};// Ends a drag in progress at once: a zoom-out, a new photo or a pinch mid-drag. Without this\n// a pan still under way would keep writing a 2x transform after the zoom had ended.\n// stillZoomed: what React renders next, so the direct DOM writes agree with it.\n// A finger stopped moving the photo (a pan or a pinch ended): drop the frame still to draw, put it\n// at rest where the refs say (a plain 2D transform, drawn sharp), and let it glide again.\nconst stopMoving=(el,stillZoomed)=>{if(rafId.current){window.cancelAnimationFrame(rafId.current);rafId.current=0;}if(!el)return;el.style.willChange=\"\";el.style.transition=zoomTransition;if(stillZoomed)el.style.transform=zoomTransform(pan.current,scale.current);el.style.cursor=stillZoomed?\"zoom-out\":\"zoom-in\";};const endGesture=stillZoomed=>{const g=gesture.current;if(!g)return;gesture.current=null;try{if(g.stage.hasPointerCapture(g.id))g.stage.releasePointerCapture(g.id);}catch(_){}if(g.pan)stopMoving(g.el,stillZoomed);else settle(true);};// A pinch stops where it is (a new photo, a zoom-out): no more frames from it.\nconst dropPinch=()=>{const pz=pinch.current;if(!pz)return;pinch.current=null;stopMoving(pz.el,false);};// Back to the whole photo at once (a new photo, or another view).\nconst resetZoom=()=>{endGesture(false);dropPinch();window.clearTimeout(clipTimer.current);pan.current={x:0,y:0};scale.current=1;setZoomed(false);setClip(false);};// Zoom to `to` (2x for a click or tap, 2.5x for a double tap) around a point, or around the centre\n// (button, keyboard). It always starts from the whole photo, so the spot under the pointer stays\n// put: it moves (to - 1)x its distance from the centre, then the photo is kept from showing empty\n// space past its edges.\nconst zoomIn=(at,to=ZOOM)=>{const s=live.current;const frame=frameRef.current;// Videos don't zoom.\nif(s.mode!==\"single\"||!s.fit||!frame||s.vid)return;let p={x:0,y:0};if(at){const r=frame.getBoundingClientRect();p={x:-(at.x-(r.left+r.width/2))*(to-1),y:-(at.y-(r.top+r.height/2))*(to-1)};}scale.current=to;pan.current=clampPan(p,panLimit(s.fit,s.box,to));window.clearTimeout(clipTimer.current);// Already zoomed (the second tap of a double tap): React has nothing new to render, so the\n// photo glides on from where the first tap's zoom has got to.\nconst el=zoomRef.current;if(s.zoomed&&el){el.style.transition=zoomTransition;el.style.transform=zoomTransform(pan.current,to);}setClip(true);setZoomed(true);s.zoomed=true;};const zoomOut=()=>{const s=live.current;if(!s.zoomed)return;endGesture(false);dropPinch();pan.current={x:0,y:0};scale.current=1;setZoomed(false);s.zoomed=false;window.clearTimeout(clipTimer.current);if(reduced)setClip(false);else clipTimer.current=window.setTimeout(()=>setClip(false),ZOOM_MS+40);};const toggleZoom=at=>live.current.zoomed?zoomOut():zoomIn(at);// A trackpad or wheel moves a zoomed photo around, at once; the arrow keys glide it.\nconst panBy=(dx,dy,glide)=>{const el=zoomRef.current;const s=live.current;if(!el||!s.zoomed||pinch.current)return;pan.current=clampPan({x:pan.current.x+dx,y:pan.current.y+dy},panLimit(s.fit,s.box,scale.current));window.clearTimeout(wheelTimer.current);el.style.transition=glide?zoomTransition:\"none\";el.style.transform=zoomTransform(pan.current,scale.current);if(glide)return;wheelTimer.current=window.setTimeout(()=>{if(zoomRef.current)zoomRef.current.style.transition=zoomTransition;},160);};const jump=(to,towards)=>{const from=live.current.i;const next=clamp(to,0,n-1);if(next===from)return;// A wrap (last → first, first → last) still slides the way the visitor pressed.\nsetDir(towards||(next>from?1:-1));setIndex(next);// A video playing stops: only the one on screen may play.\nsetPlaying(\"\");// Two presses before React re-renders must still count as two steps.\nlive.current.i=next;live.current.zoomed=false;resetZoom();};// Loops: right from the last photo starts over at the first, left from the first goes to the last.\nconst go=step=>{if(n<2)return;jump((live.current.i+step+n)%n,step);};// Keyboard and gesture handlers are bound once, so they read the latest state from here.\nconst live=useRef({mode,i,close:onClose,go,jump,fallbackFocus,zoomed,fit,box,zoomIn,zoomOut,toggleZoom,panBy,vid:!!vid});live.current={mode,i,close:onClose,go,jump,fallbackFocus,zoomed,fit,box,zoomIn,zoomOut,toggleZoom,panBy,vid:!!vid};// Open: lock the page, hide it from screen readers, move focus in. Close: undo all of it.\n// Runs before paint, so the scrollbar and the page never shift under a visible viewer.\nuseIsoLayoutEffect(()=>{const dialog=dialogRef.current;const opener=returnTo||document.activeElement;if(initial.pointer)guardUntil.current=now()+OPEN_GUARD;lockScroll();const hidden=hideOthers(dialog);const first=mode===\"grid\"?closeRef.current:dialog;if(first)first.focus({preventScroll:true});const trap=e=>{const root=dialogRef.current;if(!root)return;const list=focusables(root);const active=document.activeElement;const inside=!!active&&root.contains(active);if(!list.length){e.preventDefault();root.focus({preventScroll:true});return;}const firstEl=list[0];const lastEl=list[list.length-1];if(e.shiftKey){if(!inside||active===firstEl||active===root){e.preventDefault();lastEl.focus();}}else if(!inside||active===lastEl){e.preventDefault();firstEl.focus();}};const onKey=e=>{const s=live.current;if(e.key===\"Escape\"||e.key===\"Esc\"){e.preventDefault();e.stopPropagation();// A zoomed photo zooms out first; the next Esc closes.\nif(s.mode===\"single\"&&s.zoomed)s.zoomOut();else s.close();return;}if(e.key===\"Tab\"){trap(e);return;}if(s.mode!==\"single\"||e.altKey||e.ctrlKey||e.metaKey)return;// A playing video with keyboard focus keeps its own keys (arrows seek, Home/End jump).\nconst a=document.activeElement;if(a&&typeof a.closest===\"function\"&&a.closest(\"[data-cesgl-live]\"))return;// Zoomed: ↑/↓ and Shift+←/→ look around the photo (plain ←/→ still change photo).\nconst vertical=e.key===\"ArrowUp\"||e.key===\"ArrowDown\";if(s.zoomed&&(vertical||e.shiftKey&&(e.key===\"ArrowLeft\"||e.key===\"ArrowRight\"))){e.preventDefault();const sx=Math.round(s.box.w*KEY_PAN);const sy=Math.round(s.box.h*KEY_PAN);if(e.key===\"ArrowUp\")s.panBy(0,sy,true);else if(e.key===\"ArrowDown\")s.panBy(0,-sy,true);else if(e.key===\"ArrowLeft\")s.panBy(sx,0,true);else s.panBy(-sx,0,true);return;}if(e.key===\"ArrowRight\"){e.preventDefault();s.go(1);}else if(e.key===\"ArrowLeft\"){e.preventDefault();s.go(-1);}else if(e.key===\"Home\"){e.preventDefault();s.jump(0);}else if(e.key===\"End\"){e.preventDefault();s.jump(n-1);}else if(e.key===\"z\"||e.key===\"Z\"){e.preventDefault();s.toggleZoom(null);}else if(e.key===\"+\"||e.key===\"=\"){e.preventDefault();if(!s.zoomed)s.zoomIn(null);}else if(e.key===\"-\"||e.key===\"_\"){e.preventDefault();s.zoomOut();}};document.addEventListener(\"keydown\",onKey,true);// A sideways trackpad swipe (or Shift + wheel) changes photo, once per gesture. It also\n// stops the browser treating that swipe as Back. On a zoomed photo it pans instead, and\n// over the thumbnail strip it scrolls the strip (a mouse wheel scrolls it sideways).\nlet acc=0;let spent=false;let idle=0;const onWheel=e=>{const s=live.current;if(s.mode!==\"single\")return;const scale=e.deltaMode===1?16:e.deltaMode===2?400:1;const dx=e.deltaX*scale;const dy=e.deltaY*scale;const t=e.target;const near=sel=>t&&typeof t.closest===\"function\"?t.closest(sel):null;const rail=near(\"[data-cesgl-strip-rail]\");if(rail){if(!e.ctrlKey&&Math.abs(dy)>Math.abs(dx)&&rail.scrollWidth>rail.clientWidth){e.preventDefault();rail.scrollLeft+=dy;}return;}if(near(\"[data-cesgl-strip]\"))return;if(s.zoomed){if(e.ctrlKey)return;e.preventDefault();s.panBy(-dx,-dy,false);return;}if(Math.abs(dx)<=Math.abs(dy))return;e.preventDefault();window.clearTimeout(idle);idle=window.setTimeout(()=>{acc=0;spent=false;},220);if(spent)return;acc+=dx;if(Math.abs(acc)>=60){spent=true;s.go(acc>0?1:-1);}};if(dialog)dialog.addEventListener(\"wheel\",onWheel,{passive:false});// iOS Safari's own pinch (its gesture events) never zooms the page under the viewer: a pinch\n// on the photo zooms the photo, and one anywhere else does nothing.\nconst noPageZoom=e=>e.preventDefault();if(dialog){dialog.addEventListener(\"gesturestart\",noPageZoom,{passive:false});dialog.addEventListener(\"gesturechange\",noPageZoom,{passive:false});}return()=>{document.removeEventListener(\"keydown\",onKey,true);if(dialog){dialog.removeEventListener(\"wheel\",onWheel);dialog.removeEventListener(\"gesturestart\",noPageZoom);dialog.removeEventListener(\"gesturechange\",noPageZoom);}window.clearTimeout(idle);window.clearTimeout(clipTimer.current);window.clearTimeout(wheelTimer.current);window.cancelAnimationFrame(rafId.current);restoreOthers(hidden);unlockScroll();let back=opener&&opener.isConnected?opener:null;if(!back){try{back=live.current.fallbackFocus(live.current.i);}catch(_){back=null;}}if(back&&typeof back.focus===\"function\"){try{back.focus({preventScroll:true});}catch(_){}}};},[]);// Focus never leaves the dialog. When the focused element goes away (the credit link of a\n// photo whose own credit has no link), it lands on the dialog, not on the hidden page.\nuseIsoLayoutEffect(()=>{const d=dialogRef.current;const a=document.activeElement;if(d&&(!a||a===document.body))d.focus({preventScroll:true});});// Switching views: back in the grid, return to the photo you were on.\nuseEffect(()=>{const grid=gridRef.current;if(grid){if(mode===\"grid\")grid.removeAttribute(\"inert\");else grid.setAttribute(\"inert\",\"\");}if(firstMode.current){firstMode.current=false;return;}// The second tap of a double tap would otherwise land on the new view. A keyboard switch\n// can't be followed by one, so it lifts any guard still running.\nguardUntil.current=switchedByPointer.current?now()+OPEN_GUARD:0;if(mode===\"grid\"){const back=returnIndex.current;returnIndex.current=null;const el=back!==null?itemRefs.current[back]:null;if(el){el.scrollIntoView({block:\"center\",inline:\"nearest\"});el.focus({preventScroll:true});}else if(closeRef.current)closeRef.current.focus({preventScroll:true});}else if(dialogRef.current){dialogRef.current.focus({preventScroll:true});}},[mode]);// The photo fits the frame exactly, so taps beside it land on the scrim.\nuseIsoLayoutEffect(()=>{if(mode!==\"single\")return;const el=frameRef.current;if(!el)return;const measure=()=>setBox(b=>b.w===el.clientWidth&&b.h===el.clientHeight?b:{w:el.clientWidth,h:el.clientHeight});measure();if(typeof ResizeObserver===\"undefined\"){window.addEventListener(\"resize\",measure);return()=>window.removeEventListener(\"resize\",measure);}const ro=new ResizeObserver(measure);ro.observe(el);return()=>ro.disconnect();},[mode]);// Warm up the photos on either side.\nuseEffect(()=>{if(mode!==\"single\")return;for(const j of n>1?[(i+1)%n,(i-1+n)%n]:[]){const p=photos[j];// Videos: nothing to warm up (their poster's shape isn't theirs, and no video loads early).\nif(!p||p.video)continue;const im=new Image;im.decoding=\"async\";if(p.srcSet){im.sizes=\"100vw\";im.srcset=p.srcSet;}im.onload=()=>record(p.key,im.naturalWidth,im.naturalHeight);im.src=p.src;}},[mode,i,photos]);// play: a video picked from the grid (\"Play video\") starts at once.\nconst openSingle=(j,pointer,play=false)=>{switchedByPointer.current=pointer;outerSeq.current=pointer;resetZoom();setDir(0);setIndex(j);setPlaying(play&&photos[j]&&photos[j].video?photos[j].key:\"\");setMode(\"single\");};const backToGrid=pointer=>{switchedByPointer.current=pointer;outerSeq.current=pointer;returnIndex.current=i;resetZoom();setPlaying(\"\");setGridSeen(true);setMode(\"grid\");};// ── Video playback ──\n// A file plays in a native <video> that sits under the poster with no src (so not a byte loads);\n// the src is set and play() called inside the tap itself, which mobile browsers require for sound.\nconst startFile=p=>{const v=videoRef.current;if(!v||!p.video||p.video.kind!==\"file\")return false;if(!v.getAttribute(\"src\")){v.src=p.video.src;try{const r=v.play();if(r&&typeof r.catch===\"function\")r.catch(()=>{});}catch(_){}}return true;};// The poster's play button. A pointer click counts only where its press began, and never after a\n// swipe (the swipe may start on the poster).\nconst onPlayClick=e=>{e.stopPropagation();if(swallowClick.current){swallowClick.current=false;return;}if(e.detail>0){const p=pressAt.current;if(!p||!e.currentTarget.contains(p))return;}if(!photo||!photo.video)return;startFile(photo);setPlaying(photo.key);};// Opened from a video tile (or picked in the grid): start it as soon as its player is there. Then\n// hand keyboard focus to a file's player (Space pauses, arrows seek). A YouTube or Vimeo frame\n// doesn't get focus, so Esc and the arrows keep working; Tab reaches it.\nuseIsoLayoutEffect(()=>{if(mode!==\"single\"||!photo||!photo.video||playing!==photo.key)return;if(!startFile(photo))return;const v=videoRef.current;if(v){try{v.focus({preventScroll:true});}catch(_){}}},[playing,i,mode]);// Leaving a video (another slide, the grid, closing): stop it and drop its download.\nuseEffect(()=>{const v=videoRef.current;return()=>{if(!v)return;try{v.pause();if(v.getAttribute(\"src\")){v.removeAttribute(\"src\");v.load();}}catch(_){}};},[photo?photo.key:\"\",mode]);// ── Swipe: sideways changes photo, down closes. Direct DOM writes keep it at 60fps. ──\nconst paint=g=>{const el=slideRef.current;if(!el)return;el.style.transition=\"none\";if(g.axis===\"x\"){// The gallery loops, so there is no end to resist (a single photo still resists).\nconst edge=n<2;el.style.transform=`translate3d(${edge?g.dx*.3:g.dx}px,0,0)`;return;}const y=Math.max(0,g.dy);el.style.transform=`translate3d(0,${y}px,0) scale(${1-Math.min(y/1600,.1)})`;const dlg=dialogRef.current;if(dlg){dlg.style.transition=\"none\";dlg.style.backgroundColor=`rgba(${SCRIM_RGB},${(1-Math.min(y/480,.55)).toFixed(3)})`;}};const settle=animate=>{const motion=animate&&!reduced;const el=slideRef.current;if(el){el.style.transition=motion?`transform 280ms ${EASE_OUT}`:\"none\";el.style.transform=\"\";}const dlg=dialogRef.current;if(dlg){dlg.style.transition=motion?`background-color 280ms ${EASE_OUT}`:\"none\";dlg.style.backgroundColor=SCRIM;}};// ── Pan and pinch: direct DOM writes, at most one per animation frame. ──\n// The photo is on its own GPU layer only while a finger moves it (will-change), and the frame\n// never re-lays out: only the zoom layer's transform changes.\nconst startMoving=el=>{if(el.style.willChange===\"transform\")return;el.style.transition=\"none\";el.style.willChange=\"transform\";};const draw=()=>{rafId.current=0;const el=zoomRef.current;if(!el)return;if(pinch.current){if(pinch.current.el===el)movePinch(pinch.current);el.style.transform=zoomTransform(pan.current,scale.current,true);return;}const g=gesture.current;if(g&&g.pan&&g.el===el)el.style.transform=zoomTransform(pan.current,scale.current,true);};const schedule=()=>{if(!rafId.current)rafId.current=window.requestAnimationFrame(draw);};// Pan: a zoomed photo follows the finger or mouse, never past its own edges.\nconst movePan=g=>{const el=zoomRef.current;// Only while still zoomed, and only the photo the drag began on.\nif(!el||el!==g.el||!live.current.zoomed){endGesture(live.current.zoomed);return;}const s=live.current;pan.current=clampPan({x:g.px+g.dx,y:g.py+g.dy},panLimit(s.fit,s.box,scale.current));startMoving(el);el.style.cursor=\"grabbing\";schedule();};// Pinch: two fingers on the stage zoom the photo around their midpoint, from 1x up to ZOOM_MAX.\n// Whatever spot of the photo was under the midpoint stays under it as the fingers spread, close\n// and move together (so a pinch also pans); the photo's edges never come inside the frame.\nconst startPinch=()=>{const s=live.current;const el=zoomRef.current;const frame=frameRef.current;// Videos and photos whose shape isn't known yet don't zoom (as with a tap).\nif(s.mode!==\"single\"||s.vid||!s.fit||!el||!frame)return;const ids=Array.from(fingers.current.keys());const A=fingers.current.get(ids[0]);const B=fingers.current.get(ids[1]);if(!A||!B)return;const d0=Math.hypot(B.x-A.x,B.y-A.y);if(d0<8)return;const r=frame.getBoundingClientRect();const cx=r.left+r.width/2;const cy=r.top+r.height/2;const s0=s.zoomed?scale.current:1;const p0=s.zoomed?pan.current:{x:0,y:0};const mx=(A.x+B.x)/2;const my=(A.y+B.y)/2;pinch.current={a:ids[0],b:ids[1],d0,s0,ux:(mx-cx-p0.x)/s0,uy:(my-cy-p0.y)/s0,cx,cy,el};// Neither finger's lift is a tap.\nswallowClick.current=true;window.clearTimeout(clipTimer.current);window.clearTimeout(wheelTimer.current);scale.current=s0;pan.current=p0;startMoving(el);el.style.transform=zoomTransform(p0,s0,true);if(!s.zoomed){// From the whole photo: the frame clips it from now on, and the sharp file loads.\nsetClip(true);setZoomed(true);s.zoomed=true;}};// The zoom and pan for where the two fingers are now.\nconst movePinch=pz=>{const A=fingers.current.get(pz.a);const B=fingers.current.get(pz.b);if(!A||!B)return;const s=live.current;const k=softScale(pz.s0*Math.hypot(B.x-A.x,B.y-A.y)/pz.d0);const p={x:(A.x+B.x)/2-pz.cx-k*pz.ux,y:(A.y+B.y)/2-pz.cy-k*pz.uy};scale.current=k;pan.current=clampPan(p,panLimit(s.fit,s.box,k));};// The pinch ends when either finger lifts. Below ZOOM_SNAP it goes back to the whole photo; past\n// ZOOM_MAX it eases back to ZOOM_MAX around the fingers. Returns whether the photo is still zoomed.\nconst endPinch=()=>{const pz=pinch.current;if(!pz)return live.current.zoomed;if(rafId.current){window.cancelAnimationFrame(rafId.current);rafId.current=0;}if(zoomRef.current===pz.el)movePinch(pz);pinch.current=null;if(scale.current<ZOOM_SNAP||zoomRef.current!==pz.el){stopMoving(pz.el,false);zoomOut();return false;}if(scale.current>ZOOM_MAX){const s=live.current;const A=fingers.current.get(pz.a);const B=fingers.current.get(pz.b);const mx=A&&B?(A.x+B.x)/2:pz.cx;const my=A&&B?(A.y+B.y)/2:pz.cy;scale.current=ZOOM_MAX;pan.current=clampPan({x:mx-pz.cx-ZOOM_MAX*pz.ux,y:my-pz.cy-ZOOM_MAX*pz.uy},panLimit(s.fit,s.box,ZOOM_MAX));}// Set the transition before the resting transform, so an overshoot glides back.\nstopMoving(pz.el,true);return true;};// Every press anywhere in the viewer: where it began (for the click that follows), and how\n// many fingers are down. A second finger, wherever it lands, makes it a pinch: any swipe or\n// pan under way ends, and the photo neither changes nor closes. Both fingers on the stage\n// zoom the photo.\nconst onDialogPointerDown=e=>{if(e.isPrimary){pressAt.current=e.target;// A touch swipe is followed by no click at all, so its \"swallow the next click\" can't\n// outlive it: every new press starts clean.\nswallowClick.current=false;}if(e.pointerType===\"mouse\")return;// The first finger down starts a fresh count, so a lift we never saw can't leave a ghost.\ntouches.current=e.isPrimary?[e.pointerId]:touches.current.concat(e.pointerId);if(touches.current.length>1)endGesture(live.current.zoomed);};const onDialogPointerEnd=e=>{const k=touches.current.indexOf(e.pointerId);if(k!==-1)touches.current.splice(k,1);};const onPointerDown=e=>{const touch=e.pointerType!==\"mouse\";if(!touch&&e.button!==0)return;const t=e.target;// Buttons keep their press, except a video's poster (a swipe across it still changes slide).\n// A playing video keeps every drag (its own seek bar).\nif(t&&typeof t.closest===\"function\"&&(t.closest(\"button\")&&!t.closest(\"[data-cesgl-play]\")||t.closest(\"[data-cesgl-live]\")))return;// Fingers on the stage, for a pinch. The first finger down starts a fresh set.\nif(e.pointerType===\"touch\"){if(e.isPrimary){fingers.current.clear();if(pinch.current)dropPinch();}fingers.current.set(e.pointerId,{x:e.clientX,y:e.clientY});}// A second finger: this is a pinch, not a swipe or a pan. With both on the stage it zooms.\nif(touch&&touches.current.length>1){if(!pinch.current&&fingers.current.size===2)startPinch();return;}// A mouse press always starts fresh, even if the last release happened outside the window.\nconst at=now();gesture.current={id:e.pointerId,x0:e.clientX,y0:e.clientY,dx:0,dy:0,axis:\"\",mouse:!touch,lastX:e.clientX,lastT:at,vx:0,pan:zoomed,px:pan.current.x,py:pan.current.y,el:zoomRef.current,stage:e.currentTarget};};const onPointerMove=e=>{const f=fingers.current.get(e.pointerId);if(f){f.x=e.clientX;f.y=e.clientY;}const pz=pinch.current;if(pz){if(e.pointerId===pz.a||e.pointerId===pz.b)schedule();return;}const g=gesture.current;if(!g||e.pointerId!==g.id)return;const at=now();const dt=at-g.lastT;if(dt>0){const inst=(e.clientX-g.lastX)/dt;g.vx=dt>100?inst:g.vx*.4+inst*.6;g.lastX=e.clientX;g.lastT=at;}g.dx=e.clientX-g.x0;g.dy=e.clientY-g.y0;if(!g.axis){const slop=g.pan?PAN_SLOP:8;if(Math.abs(g.dx)<slop&&Math.abs(g.dy)<slop)return;g.axis=g.pan?\"pan\":Math.abs(g.dx)>=Math.abs(g.dy)?\"x\":\"y\";swallowClick.current=true;if(g.mouse){try{e.currentTarget.setPointerCapture(e.pointerId);}catch(_){}}}if(g.pan)movePan(g);else paint(g);};const onPointerEnd=(e,cancelled)=>{const pz=pinch.current;if(pz&&(e.pointerId===pz.a||e.pointerId===pz.b)){const still=endPinch();fingers.current.delete(e.pointerId);// One finger still down on a zoomed photo carries on moving it around.\nconst restId=e.pointerId===pz.a?pz.b:pz.a;const rest=fingers.current.get(restId);const el=zoomRef.current;if(still&&rest&&!cancelled&&el){gesture.current={id:restId,x0:rest.x,y0:rest.y,dx:0,dy:0,axis:\"pan\",mouse:false,lastX:rest.x,lastT:now(),vx:0,pan:true,px:pan.current.x,py:pan.current.y,el,stage:e.currentTarget};}return;}fingers.current.delete(e.pointerId);const g=gesture.current;if(!g||e.pointerId!==g.id)return;gesture.current=null;// Zoomed: the drag only moved the photo. Swipe-to-change and drag-down-to-close are off.\nif(g.pan){stopMoving(g.el,live.current.zoomed);return;}// A finger that stopped before lifting is not a flick.\nconst vx=now()-g.lastT>90?0:g.vx;const flick=Math.abs(g.dx)>FLICK_X&&Math.abs(vx)>FLICK_SPEED&&vx*g.dx>0;if(!cancelled&&g.axis===\"x\"&&(Math.abs(g.dx)>SWIPE_X||flick)){const step=g.dx<0?1:-1;if(n>1){settle(false);go(step);return;}}if(!cancelled&&g.axis===\"y\"&&g.dy>SWIPE_CLOSE){// Close after this event finishes, so the trailing click never reaches the page.\nwindow.setTimeout(()=>live.current.close(),0);return;}settle(true);};// Right after the viewer opens or changes view, a pointer click is the tail of a double click\n// or double tap on what opened it. Swallow it, so it can't close the viewer, open a photo or\n// zoom: within OPEN_GUARD of the switch, or at any speed while the browser still counts it as\n// part of that same double click (detail 2, 3…). A fresh single click ends the sequence.\n// Keyboard clicks (detail 0) always go through.\nconst onDialogClickCapture=e=>{if(e.detail<=0)return;if(now()<guardUntil.current||e.detail>1&&outerSeq.current){e.stopPropagation();e.preventDefault();return;}if(e.detail===1)outerSeq.current=false;};// A click on the photo zooms in around that spot, or back out; a double tap (or double click) on\n// the whole photo zooms on to 2.5x around the first tap. A tap on the scrim (anything\n// marked data-scrim) closes, or, while zoomed, zooms back out. Text and buttons do neither.\n// A pointer click counts only where its press began: the browser sends a click that starts on\n// one thing and ends on another to their common parent (often the scrim), and that is a\n// change of mind, not a tap. A keyboard or scripted click (detail 0) has no press.\nconst onDialogClick=e=>{e.stopPropagation();if(swallowClick.current){swallowClick.current=false;return;}const t=e.target;if(!t||typeof t.closest!==\"function\")return;const press=e.detail>0?pressAt.current:t;const photoEl=mode===\"single\"?t.closest(\"[data-cesgl-photo]\"):null;if(photoEl){if(!press||typeof press.closest!==\"function\"||press.closest(\"[data-cesgl-photo]\")!==photoEl)return;const at={x:e.clientX,y:e.clientY};const t0=now();const prev=lastTap.current;if(prev&&t0-prev.t<ZOOM_TAP_GUARD){// The second tap of a double tap never undoes what the first one did. After a zoom in,\n// the pair goes on to 2.5x around the first tap (a zoom out stays out).\nlastTap.current=null;if(prev.zoomedIn&&live.current.zoomed&&Math.hypot(at.x-prev.x,at.y-prev.y)<DOUBLE_TAP_SLOP)zoomIn(prev,ZOOM_DOUBLE);return;}lastTap.current={t:t0,x:at.x,y:at.y,zoomedIn:!live.current.zoomed};toggleZoom(at);return;}if(t.hasAttribute(\"data-scrim\")&&press===t){if(mode===\"single\"&&zoomed)zoomOut();else onClose();}};// The move keeps its spring; the fade runs on its own plain ease-out, so opacity never overshoots or dips.\nconst slideAnim=reduced?\"none\":`${dir>0?\"cesgl-from-next\":dir<0?\"cesgl-from-prev\":\"cesgl-pop\"} ${dir?340:260}ms ${SPRING} backwards, cesgl-fade ${dir?220:200}ms ${EASE_OUT} backwards`;const hasStrip=n>1;// Sharp at 2x: the largest file in the srcSet, laid over the photo once it has loaded.\nconst sharp=photo&&photo.srcSet?pickSrc(photo,\"max\"):\"\";// The stand-in while it loads: the strip's thumbnail file (only when it's a smaller file).\nconst thumbFile=photo&&photo.srcSet?pickSrc(photo,\"min\"):\"\";const standIn=thumbFile&&thumbFile!==photo.src?thumbFile:\"\";const shown=photo?creditFor(photo,credit,creditHref):{text:\"\",href:\"\"};const anyCredit=!!credit||photos.some(p=>!!p.credit);const gridBits=creditBits(photos,credit,creditHref);// A link truncates inside its own box, so its focus ring never runs past the line's clipping.\nconst creditNode=shown.text?shown.href?/*#__PURE__*/_jsx(\"a\",{className:\"cesgl-link cesgl-clip\",href:shown.href,target:\"_blank\",rel:\"noopener noreferrer\",children:shown.text}):shown.text:null;// 4px of padding (taken back by the margin) keeps a link's focus ring clear of the clipping.\nconst creditLine={boxSizing:\"border-box\",margin:-4,padding:4,minHeight:24,maxWidth:\"calc(100% + 8px)\",fontSize:12,fontWeight:400,lineHeight:\"16px\",color:DARK_SECONDARY,whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\"};const arrow=(step,size,place,className)=>{// Arrows never switch off: the gallery loops.\nconst off=n<2;return /*#__PURE__*/_jsx(\"button\",{type:\"button\",className:`cesgl-btn cesgl-round cesgl-hit ${className}`,\"aria-label\":step<0?hasVideo?\"Previous\":\"Previous photo\":hasVideo?\"Next\":\"Next photo\",\"aria-disabled\":off||undefined,onClick:()=>go(step),style:{...roundButton(size),...off?OFF_BUTTON:null,cursor:off?\"default\":\"pointer\",...place},children:/*#__PURE__*/_jsx(Glyph,{name:step<0?\"prev\":\"next\",size:size>=48?22:18})});};const dialogStyle={position:\"fixed\",inset:0,zIndex:Z_TOP,display:\"flex\",flexDirection:\"column\",backgroundColor:SCRIM,color:OFF,fontFamily:FONT,WebkitFontSmoothing:\"antialiased\",outline:\"none\",overscrollBehavior:\"contain\",isolation:\"isolate\",animation:reduced?\"none\":`cesgl-fade 200ms ${EASE_OUT} backwards`,\"--cesgl-ring\":LIME,\"--cesgl-ring-gap\":INK,\"--cesgl-link-hover\":OFF,// Scrolling (the grid, the strip) stays; pinch-zooming the page under a full-screen viewer\n// would crop it and push Close off-screen. The stage handles its own gestures (swipe, pan, pinch).\ntouchAction:\"pan-x pan-y\"};// Long credits end in an ellipsis; the whole text shows on hover.\nconst counted=countText(photos);const gridLine=`${counted}${gridBits.length?` \\xb7 ${gridBits.map(b=>b.text).join(\" + \")}`:\"\"}`;const what=hasVideo?\" photos and videos\":\" photos\";const isPlaying=!!vid&&!!photo&&playing===photo.key;const fill={position:\"absolute\",inset:0,display:\"block\",width:\"100%\",height:\"100%\",border:0};return /*#__PURE__*/_jsxs(\"div\",{ref:dialogRef,role:\"dialog\",\"aria-modal\":\"true\",\"aria-labelledby\":titleId,tabIndex:-1,\"data-lenis-prevent\":\"\",\"data-scrim\":\"\",className:\"cesgl-anim\",onClickCapture:onDialogClickCapture,onClick:onDialogClick,onPointerDownCapture:onDialogPointerDown,onPointerUpCapture:onDialogPointerEnd,onPointerCancelCapture:onDialogPointerEnd,onPointerDown:e=>e.stopPropagation(),onPointerUp:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),style:dialogStyle,children:[/*#__PURE__*/_jsxs(\"div\",{\"data-scrim\":\"\",className:\"cesgl-head\",style:{flex:\"0 0 auto\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsxs(\"div\",{\"data-scrim\":\"\",style:{display:\"grid\",gridTemplateColumns:\"minmax(0,1fr) auto minmax(0,1fr)\",alignItems:\"center\",gap:13},children:[/*#__PURE__*/_jsx(\"div\",{\"data-scrim\":\"\",style:{display:\"flex\",alignItems:\"center\",minWidth:0,justifySelf:\"stretch\"},children:mode===\"grid\"?/*#__PURE__*/_jsxs(\"div\",{style:{minWidth:0,display:\"flex\",flexDirection:\"column\",gap:5},children:[/*#__PURE__*/_jsxs(\"h2\",{id:titleId,style:{// Holds the screen-reader-only \" photos\" inside its own clipping.\nposition:\"relative\",margin:0,fontFamily:FONT,fontSize:21,fontWeight:500,letterSpacing:\"-0.02em\",lineHeight:1.2,color:OFF,whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\"},children:[heading,named?/*#__PURE__*/_jsx(\"span\",{style:SR_ONLY,children:what}):null]}),/*#__PURE__*/_jsxs(\"p\",{title:gridLine,style:{...creditLine,minHeight:0,fontSize:13,fontWeight:500,lineHeight:1.3},children:[counted,gridBits.length?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",children:\" \\xb7 \"}),/*#__PURE__*/_jsx(\"span\",{style:{fontWeight:400},children:/*#__PURE__*/_jsx(Credits,{bits:gridBits,prefix:\"\"})})]}):null]})]}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"h2\",{id:titleId,style:SR_ONLY,children:named?`${heading}${what}`:heading}),n>1?/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"cesgl-btn cesgl-round\",onClick:e=>backToGrid(e.detail>0),style:{...roundButton(44),width:\"auto\",gap:8,padding:\"0 16px 0 13px\",fontFamily:FONT,fontSize:14,fontWeight:500,lineHeight:1,whiteSpace:\"nowrap\"},children:[/*#__PURE__*/_jsx(Glyph,{name:\"grid\",size:16}),/*#__PURE__*/_jsx(\"span\",{children:hasVideo?\"Show all\":\"All photos\"})]}):null]})}),/*#__PURE__*/_jsxs(\"div\",{\"data-scrim\":\"\",style:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",gap:3,minWidth:0},children:[/*#__PURE__*/_jsx(\"p\",{\"aria-hidden\":\"true\",style:{margin:0,fontSize:14,fontWeight:500,lineHeight:1,color:OFF,fontVariantNumeric:\"tabular-nums\",whiteSpace:\"nowrap\",visibility:mode===\"single\"&&n>1?\"visible\":\"hidden\"},children:`${i+1} / ${n}`}),mode===\"single\"&&anyCredit?/*#__PURE__*/_jsx(\"p\",{className:\"cesgl-credit-wide\",\"data-cesgl-credit\":\"\",title:shown.text||undefined,style:{...creditLine,maxWidth:\"min(40vw, 480px)\",textAlign:\"center\"},children:creditNode}):null]}),/*#__PURE__*/_jsxs(\"div\",{\"data-scrim\":\"\",style:{display:\"flex\",justifyContent:\"flex-end\",alignItems:\"center\",gap:8,minWidth:0},children:[mode===\"single\"?/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"cesgl-btn cesgl-round\",\"aria-label\":zoomed?\"Zoom out\":\"Zoom in\",\"aria-pressed\":zoomed,\"aria-disabled\":fit?undefined:true,onClick:()=>zoomed?zoomOut():zoomIn(null),// A video has nothing to zoom: the button steps out, its place kept so Close never moves.\nstyle:{...roundButton(44),background:zoomed?ON_DARK_HOVER:ON_DARK,...fit?null:OFF_BUTTON,cursor:fit?\"pointer\":\"default\",visibility:vid?\"hidden\":undefined},children:/*#__PURE__*/_jsx(Glyph,{name:zoomed?\"zoomOut\":\"zoomIn\",size:20})}):null,/*#__PURE__*/_jsx(\"button\",{ref:closeRef,type:\"button\",className:\"cesgl-btn cesgl-round\",\"aria-label\":\"Close\",onClick:onClose,style:roundButton(44),children:/*#__PURE__*/_jsx(Glyph,{name:\"close\",size:20})})]})]}),mode===\"single\"&&anyCredit?/*#__PURE__*/_jsx(\"p\",{className:\"cesgl-credit-narrow\",\"data-cesgl-credit\":\"\",title:shown.text||undefined,style:{...creditLine,margin:\"1px -4px -4px\",textAlign:\"center\"},children:creditNode}):null]}),/*#__PURE__*/_jsxs(\"div\",{\"data-scrim\":\"\",style:{position:\"relative\",flex:\"1 1 auto\",minHeight:0},children:[n>1?/*#__PURE__*/_jsx(\"div\",{ref:gridRef,\"data-scrim\":\"\",\"aria-hidden\":mode!==\"grid\"||undefined,style:{position:\"absolute\",inset:0,overflowX:\"hidden\",overflowY:\"auto\",overscrollBehavior:\"contain\",WebkitOverflowScrolling:\"touch\",visibility:mode===\"grid\"?\"visible\":\"hidden\"},children:/*#__PURE__*/_jsx(\"div\",{\"data-scrim\":\"\",className:\"cesgl-pad\",style:{boxSizing:\"border-box\",width:\"100%\",maxWidth:1240,margin:\"0 auto\"},children:/*#__PURE__*/_jsx(\"ul\",{className:\"cesgl-cols cesgl-anim\",style:{listStyle:\"none\",margin:0,padding:0,display:\"grid\",gap:GAP,alignItems:\"start\",animation:reduced||initial.mode!==\"grid\"?\"none\":`cesgl-rise 320ms ${EASE_OUT} backwards`},children:photos.map((p,j)=>/*#__PURE__*/_jsx(\"li\",{style:{margin:0,padding:0,minWidth:0},children:p.video?// A video: its poster in a 16:9 box with the play badge. It plays in the full-size view.\n    /*#__PURE__*/_jsxs(\"button\",{ref:el=>{itemRefs.current[j]=el;},type:\"button\",className:\"cesgl-btn cesgl-gitem\",\"aria-label\":`Play video ${j+1} of ${n}`,onClick:e=>openSingle(j,e.detail>0,true),style:{...RESET_BTN,position:\"relative\",display:\"block\",width:\"100%\",aspectRatio:\"16 / 9\",overflow:\"hidden\",...sq(8),background:p.src?RECESSED:INK_TOKEN,cursor:\"pointer\"},children:[gridSeen?/*#__PURE__*/_jsx(Poster,{photo:p,sizes:\"(min-width: 900px) 50vw, 100vw\",radius:\"8px\"}):null,/*#__PURE__*/_jsx(PlayLayer,{size:56}),/*#__PURE__*/_jsx(VideoTag,{inset:13})]}):/*#__PURE__*/_jsx(\"button\",{ref:el=>{itemRefs.current[j]=el;},type:\"button\",className:\"cesgl-btn\",\"aria-label\":photoName(p,j,n),onClick:e=>openSingle(j,e.detail>0),style:{...RESET_BTN,display:\"block\",width:\"100%\",...sq(8),background:RECESSED,cursor:\"zoom-in\"},children:gridSeen?/*#__PURE__*/_jsx(Pic,{photo:p,sizes:\"(min-width: 900px) 50vw, 100vw\",onSize:(w,h)=>record(p.key,w,h),style:{display:\"block\",width:\"100%\",height:\"auto\",aspectRatio:\"auto 4 / 3\",...sq(8)}}):/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{display:\"block\",width:\"100%\",aspectRatio:\"4 / 3\"}})})},p.key))})})}):null,mode===\"single\"&&photo?/*#__PURE__*/_jsxs(\"div\",{\"data-scrim\":\"\",style:{position:\"absolute\",inset:0,display:\"flex\",flexDirection:\"column\"},children:[/*#__PURE__*/_jsxs(\"div\",{\"data-scrim\":\"\",className:hasStrip?\"cesgl-stage cesgl-stage-strip\":\"cesgl-stage\",onPointerDown:onPointerDown,onPointerMove:onPointerMove,onPointerUp:e=>onPointerEnd(e,false),onPointerCancel:e=>onPointerEnd(e,true),style:{position:\"relative\",flex:\"1 1 auto\",minHeight:0,touchAction:\"none\",userSelect:\"none\",WebkitUserSelect:\"none\"},children:[/*#__PURE__*/_jsx(\"div\",{ref:frameRef,\"data-scrim\":\"\",className:\"cesgl-frame\",style:{position:\"absolute\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",overflow:clip?\"hidden\":undefined},children:/*#__PURE__*/_jsx(\"div\",{ref:slideRef,\"data-scrim\":\"\",className:\"cesgl-anim\",style:{width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",// A promoted layer would keep its 1x raster and blur at 2x.\nwillChange:clip?\"auto\":\"transform\",animation:slideAnim},children:vid?/*#__PURE__*/_jsxs(\"div\",{\"data-cesgl-video\":\"\",style:{position:\"relative\",flex:\"0 0 auto\",...slot?{width:slot.width,height:slot.height}:{width:\"100%\",maxHeight:\"100%\",aspectRatio:\"16 / 9\"},overflow:\"hidden\",...sq(8),background:INK_TOKEN,isolation:\"isolate\"},children:[vid.kind===\"file\"?/*#__PURE__*/_jsx(\"video\",{ref:videoRef,\"data-cesgl-live\":\"\",controls:true,playsInline:true,preload:\"none\",\"aria-label\":`Video ${i+1} of ${n}`,onLoadedMetadata:e=>record(photo.key,e.currentTarget.videoWidth,e.currentTarget.videoHeight),style:{...fill,objectFit:\"contain\",background:INK_TOKEN,visibility:isPlaying?\"visible\":\"hidden\"}}):isPlaying?/*#__PURE__*/_jsx(\"iframe\",{\"data-cesgl-live\":\"\",src:vid.src,title:`Video ${i+1} of ${n}`,allow:\"autoplay; encrypted-media; picture-in-picture; fullscreen\",allowFullScreen:true,referrerPolicy:\"strict-origin-when-cross-origin\",style:fill}):null,isPlaying?null:/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"cesgl-btn cesgl-play\",\"data-cesgl-play\":\"\",\"aria-label\":`Play video ${i+1} of ${n}`,onClick:onPlayClick,style:{...RESET_BTN,...fill,zIndex:1,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:\"pointer\",...sq(8)},children:[/*#__PURE__*/_jsx(Poster,{photo:photo,sizes:\"100vw\",eager:true,radius:\"8px\"}),/*#__PURE__*/_jsx(PlayBadge,{size:64})]})]}):/* The zoom layer: exactly the fitted photo, scaled around its centre. Until the\n                                        photo's shape is known it holds a usual photo shape (the slot); the frame\n                                        is measured before the first paint, so it only steps aside for that instant. *//*#__PURE__*/_jsxs(\"div\",{ref:zoomRef,\"data-cesgl-photo\":\"\",style:slot?{position:\"relative\",flex:\"0 0 auto\",width:slot.width,height:slot.height,// Square, no fill: a click right in a corner still lands on the photo.\nisolation:\"isolate\",transform:zoomed?zoomTransform(pan.current,scale.current,!!pinch.current||!!(gesture.current&&gesture.current.axis===\"pan\")):\"none\",transformOrigin:\"50% 50%\",transition:zoomTransition,cursor:fit?zoomed?\"zoom-out\":\"zoom-in\":\"default\"}:{display:\"contents\"},children:[/*#__PURE__*/_jsx(Pic,{photo:photo,eager:true,sizes:\"100vw\",onSize:(w,h)=>{record(photo.key,w,h);markLoaded(photo.key);},style:{position:\"relative\",zIndex:1,display:\"block\",objectFit:\"contain\",...sq(8),...slot?{width:\"100%\",height:\"100%\"}:{width:\"auto\",height:\"auto\",maxWidth:\"100%\",maxHeight:\"100%\"}}}),slot&&!loaded[photo.key]?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",zIndex:-1,inset:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",...sq(8),background:RECESSED,color:ON_RECESSED_FAINT,pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(Glyph,{name:\"image\",size:21})}),standIn?/*#__PURE__*/_jsx(\"img\",{src:standIn,alt:\"\",\"aria-hidden\":\"true\",\"data-cesgl-standin\":\"\",decoding:\"async\",draggable:false,onLoad:e=>record(photo.key,e.currentTarget.naturalWidth,e.currentTarget.naturalHeight),onError:e=>{e.currentTarget.style.visibility=\"hidden\";},onDragStart:e=>e.preventDefault(),style:{position:\"absolute\",inset:0,display:\"block\",width:\"100%\",height:\"100%\",objectFit:fit?\"cover\":\"contain\",objectPosition:photo.position||\"50% 50%\",...sq(8),pointerEvents:\"none\"}}):null]}):null,clip&&fit&&sharp?/*#__PURE__*/_jsx(\"img\",{src:sharp,alt:\"\",\"aria-hidden\":\"true\",\"data-cesgl-sharp\":\"\",decoding:\"async\",draggable:false,onLoad:()=>setSharpReady(sharp),onDragStart:e=>e.preventDefault(),style:{position:\"absolute\",zIndex:2,inset:0,display:\"block\",width:\"100%\",height:\"100%\",objectFit:\"contain\",...sq(8),opacity:sharpReady===sharp?1:0,transition:reduced?\"none\":\"opacity 160ms ease\",pointerEvents:\"none\"}}):null]})},photo.key)}),hasStrip&&!compact?/*#__PURE__*/_jsxs(_Fragment,{children:[arrow(-1,56,{position:\"absolute\",top:\"50%\",marginTop:-28,left:\"calc(16px + env(safe-area-inset-left, 0px))\"},\"cesgl-arrow\"),arrow(1,56,{position:\"absolute\",top:\"50%\",marginTop:-28,right:\"calc(16px + env(safe-area-inset-right, 0px))\"},\"cesgl-arrow\")]}):null]}),hasStrip?/*#__PURE__*/_jsx(Filmstrip,{photos:photos,index:i,reduced:reduced,onPick:jump,onSize:record,before:compact?arrow(-1,40,{},\"cesgl-strip-arrow\"):null,after:compact?arrow(1,40,{},\"cesgl-strip-arrow\"):null}):null,/*#__PURE__*/_jsx(\"p\",{\"aria-live\":\"polite\",\"aria-atomic\":\"true\",style:SR_ONLY,children:`${vid?\"Video\":\"Photo\"} ${i+1} of ${n}${photo&&!vid&&(photo.rawAlt||\"\").trim()?\": \"+(photo.rawAlt||\"\").trim():\"\"}`})]}):null]})]});}/**\n * Photo and video gallery for a venue page. Bind Cover to Cover Photo and Images to the Gallery field.\n * Mosaic on desktop and tablet, a swipe carousel when it is narrower than 600px.\n * Any photo opens it full size, above the nav: arrows, a thumbnail strip, click to zoom 2x, pinch to zoom on touch screens.\n * A Gallery entry with a Video (file) or Video link is a video tile that plays in the viewer.\n * Credit shows under the gallery and in the viewer.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1080\n * @framerIntrinsicHeight 428\n */export default function GalleryLightbox(props){const{cover,images,venueName=\"\",credit=\"\",creditLink=\"\",layout=\"mosaic\",showAllLabel=\"Show all photos\",radius=21,mosaicHeight=428,keepOrder=true,fillTiles=true,theme=\"light\",style}=props;const target=RenderTarget.current();const isCanvas=target===RenderTarget.canvas||target===RenderTarget.thumbnail;const name=text(venueName);const{storefront,storefrontCredit=\"\",storefrontCreditLink=\"\",includeRooms=true}=props;const lead=useMemo(()=>storefront?{image:storefront,credit:text(storefrontCredit),href:safeHref(storefrontCreditLink)}:undefined,[storefront,storefrontCredit,storefrontCreditLink]);const[roomPhotos,setRoomPhotos]=useState([]);useEffect(()=>{if(!includeRooms||typeof document===\"undefined\")return;const scan=()=>{const next=readFeeds();setRoomPhotos(prev=>prev.length===next.length&&prev.every((p,i)=>p.key===next[i].key)?prev:next);};scan();const t=window.setTimeout(scan,800);window.addEventListener(\"cesgl-feed\",scan);return()=>{window.clearTimeout(t);window.removeEventListener(\"cesgl-feed\",scan);};},[includeRooms]);const photos=useMemo(()=>buildPhotos(cover,images,name,keepOrder!==false,lead,includeRooms?roomPhotos:undefined),[cover,images,name,keepOrder,lead,roomPhotos,includeRooms]);const placeholders=isCanvas&&photos.length===0;const shown=placeholders?PLACEHOLDERS:photos;const want=toLayout(layout);const pal=palette(toTheme(theme));const r=clamp(num(radius,21),0,64);const h=clamp(num(mosaicHeight,428),120,1600);// With a video in, the default \"Show all photos\" becomes \"Show all\". A custom label stays.\nconst label0=text(showAllLabel)||\"Show all photos\";const label=label0===\"Show all photos\"&&photos.some(p=>!!p.video)?\"Show all\":label0;const madeBy=text(credit);const href=madeBy?safeHref(creditLink):\"\";const bits=creditBits(shown,madeBy,href);const reduced=useReducedMotion();const[rootEl,setRootEl]=useState(null);const[width,setWidth]=useState(0);const[mounted,setMounted]=useState(false);const[view,setView]=useState(null);const returnTo=useRef(null);useEffect(()=>setMounted(true),[]);// Own width, not the window's, so one instance works in any column. offsetWidth ignores\n// the canvas zoom. Measured before paint so a phone never flashes the mosaic after load.\nuseIsoLayoutEffect(()=>{if(!rootEl)return;const measure=()=>setWidth(rootEl.offsetWidth);measure();if(typeof ResizeObserver===\"undefined\"){window.addEventListener(\"resize\",measure);return()=>window.removeEventListener(\"resize\",measure);}const ro=new ResizeObserver(measure);ro.observe(rootEl);return()=>ro.disconnect();},[rootEl]);// Photos removed while the viewer is open: close it.\nuseEffect(()=>{if(view&&!photos.length)setView(null);},[view,photos.length]);if(!shown.length)return null;const mode=want===\"mosaic\"&&width>0&&width<NARROW?\"carousel\":want;// Before the first measure (server HTML) a CSS fallback shows just the cover on phones.\nconst pre=want===\"mosaic\"&&width===0;// The viewer never opens on the Framer canvas: it would cover the editor.\nconst canOpen=!isCanvas&&photos.length>0;// A video tile (\"Play video\") opens the viewer on it and starts it.\nconst openAt=(i,el,pointer)=>{if(!canOpen||view)return;returnTo.current=el;const k=clamp(i,0,photos.length-1);setView({mode:\"single\",index:k,pointer,play:!!photos[k].video});};const openGrid=(el,pointer)=>{if(!canOpen||view)return;returnTo.current=el;const one=photos.length===1;setView({mode:one?\"single\":\"grid\",index:0,pointer,play:one&&!!photos[0].video});};// Focus target on close when the opener left the page (the layout switched while open):\n// the tile for the photo last shown, else Show all, else the first button.\nconst fallbackFocus=i=>{if(!rootEl||!rootEl.isConnected)return null;return rootEl.querySelector(`[data-cesgl-i=\"${i}\"]`)||rootEl.querySelector(\".cesgl-pill\")||rootEl.querySelector(\"button\");};const blockProps={photos:shown,radius:r,height:h,pal,label,reduced,onOpen:openAt,onShowAll:openGrid,fill:fillTiles!==false};const rootStyle={position:\"relative\",width:\"100%\",boxSizing:\"border-box\",fontFamily:FONT,WebkitFontSmoothing:\"antialiased\",\"--cesgl-ring\":pal.ring,\"--cesgl-ring-gap\":pal.ringGap,\"--cesgl-r\":`${r}px`,\"--cesgl-pill-hover\":pal.pillHover,\"--cesgl-outline-hover\":pal.outlineHover,\"--cesgl-link-hover\":pal.pillText,...style};return /*#__PURE__*/_jsxs(\"div\",{ref:setRootEl,className:pre?\"cesgl-root cesgl-pre\":\"cesgl-root\",style:rootStyle,children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:CSS}}),mode===\"button\"?/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"cesgl-btn cesgl-outline\",onClick:e=>openGrid(e.currentTarget,e.detail>0),style:{...RESET_BTN,display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",gap:8,height:44,padding:\"0 21px\",borderRadius:999,border:`1px solid ${pal.outline}`,background:\"transparent\",color:pal.outline,fontFamily:FONT,fontSize:14,fontWeight:500,lineHeight:1.3,whiteSpace:\"nowrap\",cursor:\"pointer\",transition:\"background-color 160ms ease\"},children:[/*#__PURE__*/_jsx(Glyph,{name:\"grid\",size:16}),/*#__PURE__*/_jsx(\"span\",{children:label})]}):mode===\"carousel\"?/*#__PURE__*/_jsx(Carousel,{...blockProps}):/*#__PURE__*/_jsx(Mosaic,{...blockProps}),mode!==\"button\"&&bits.length?/*#__PURE__*/_jsx(\"p\",{className:\"cesgl-cap\",style:{margin:\"8px 0 0\",textAlign:\"right\",fontFamily:FONT,fontSize:13,fontWeight:400,lineHeight:1.3,letterSpacing:0,color:pal.caption,overflowWrap:\"anywhere\"},children:/*#__PURE__*/_jsx(Credits,{bits:bits})}):null,mounted&&view&&canOpen?/*#__PURE__*/createPortal(/*#__PURE__*/_jsx(Lightbox,{photos:photos,heading:name||\"Photos\",named:!!name,credit:madeBy,creditHref:href,initial:view,reduced:reduced,returnTo:returnTo.current,fallbackFocus:fallbackFocus,onClose:()=>setView(null)}),document.body):null]});}// Titles double as Framer's stored control keys, so each title camel-cases to its prop name.\naddPropertyControls(GalleryLightbox,{storefront:{type:ControlType.ResponsiveImage,title:\"Storefront\",description:\"Bind to Storefront Photo (the photo search cards show). It leads the gallery.\"},storefrontCredit:{type:ControlType.String,title:\"Storefront credit\",defaultValue:\"\",description:\"Bind to Storefront Credit. Shows when that photo is on screen.\"},storefrontCreditLink:{type:ControlType.Link,title:\"Storefront credit link\",description:\"Bind to Storefront Source.\"},includeRooms:{type:ControlType.Boolean,title:\"Include rooms\",defaultValue:true,description:\"Adds every room's photos and videos from the page's GalleryFeeds after the venue's own.\"},cover:{type:ControlType.ResponsiveImage,title:\"Cover\",description:\"Bind to Cover Photo. It shows first.\"},// An array of objects, not of images: Framer binds a CMS gallery only to object arrays\n// (map the Gallery's Photo field onto Photo). The field key and title are both \"photo\".\n// Video and Video link (keys \"video\", \"videoLink\", from their titles) make an entry a video.\nimages:{type:ControlType.Array,title:\"Images\",control:{type:ControlType.Object,controls:{photo:{type:ControlType.ResponsiveImage,title:\"Photo\"},video:{type:ControlType.File,title:\"Video\",allowedFileTypes:[\"mp4\",\"mov\",\"webm\",\"m4v\"]},videoLink:{type:ControlType.Link,title:\"Video link\"},credit:{type:ControlType.String,title:\"Credit\"}}},maxCount:60,description:\"Bind to the Gallery field (Photo → Photo, Video → Video, Video Link → Video link). A video's Photo is its poster. Repeats of the cover are skipped. Credit is optional.\"},venueName:{type:ControlType.String,title:\"Venue name\",defaultValue:\"\",placeholder:\"Venue name\",description:\"Alt text reads “Venue name photo 3”.\"},credit:{type:ControlType.String,title:\"Credit\",defaultValue:\"\",placeholder:\"Photos: lindeys.com\",description:\"Who made the photos. Shows under the gallery and in the viewer. A photo's own Credit wins. Empty shows nothing.\"},creditLink:{type:ControlType.Link,title:\"Credit link\",description:\"Optional. The Credit opens it in a new tab.\"},layout:{type:ControlType.Enum,title:\"Layout\",options:[\"mosaic\",\"carousel\",\"button\"],optionTitles:[\"Mosaic\",\"Carousel\",\"Button only\"],defaultValue:\"mosaic\",description:\"Mosaic turns into the carousel below 600px wide.\"},showAllLabel:{type:ControlType.String,title:\"Show all label\",defaultValue:\"Show all photos\"},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:21,min:0,max:64,step:1,unit:\"px\",description:\"Outer corners. Inner mosaic corners stay 8.\",hidden:p=>toLayout(p.layout)===\"button\"},mosaicHeight:{type:ControlType.Number,title:\"Mosaic height\",defaultValue:428,min:120,max:1200,step:1,unit:\"px\",description:\"Most it grows to on desktop. Narrower screens keep a 2:1 shape.\",hidden:p=>toLayout(p.layout)!==\"mosaic\"},fillTiles:{type:ControlType.Boolean,title:\"Fill tiles\",defaultValue:true,description:\"On: every photo fills its tile edge to edge (cropped). Off: a tall or square photo shows whole on a soft backdrop. The full-screen viewer always shows the whole photo.\"},keepOrder:{type:ControlType.Boolean,title:\"Keep CMS order\",defaultValue:true,description:\"On: the Cover is always the big photo and the Gallery shows in your CMS order. Off: when the Cover is tall or square, the first wide photo takes the big tile.\"},theme:{type:ControlType.Enum,title:\"Theme\",options:[\"light\",\"dark\"],optionTitles:[\"Light\",\"Dark\"],defaultValue:\"light\",displaySegmentedControl:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GalleryLightbox\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"428\",\"framerIntrinsicWidth\":\"1080\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GalleryLightbox.map","// SideKick Venues · Premium badge\n// Info button (i in a circle) that opens a short explanation on click or tap, for badges like \"GM SideKick™ partner\".\n// Copied from PremiumBadge.tsx (code files cannot import each other here). Keep the two in sync.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect,useId,useLayoutEffect,useRef,useState}from\"react\";const FONT=\"Switzer, Funnel Sans, -apple-system, BlinkMacSystemFont, Helvetica Neue, Arial, sans-serif\";const DEFAULT_TIP=\"GM SideKick™ partners work with GM SideKick™ or Spark Leads Agency, LLC, the company behind it. For some events we earn a fee when you book through us. It never changes a score.\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */// ---- Info tip (i in a circle): click or tap opens a short explanation; outside click, tap again or Escape closes it.\n// The same block lives in PremiumBadge.tsx and FeaturedMark.tsx (Framer code files can't import each other here).\nconst TIP_FONT='\"Switzer\", \"Switzer Placeholder\", \"Funnel Sans\", -apple-system, BlinkMacSystemFont, \"Helvetica Neue\", Arial, sans-serif';const TIP_CSS=`\n.cesi-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;margin:-4px;padding:0;border:0;border-radius:999px;background:transparent;color:#5C5C5C;cursor:pointer;flex:0 0 auto;transition:color .15s ease,background-color .15s ease}\n.cesi-btn:hover,.cesi-btn[aria-expanded=\"true\"]{color:#141414}\nhtml:not([data-ces-theme=\"light\"]) .cesi-btn{color:#999999}\nhtml:not([data-ces-theme=\"light\"]) .cesi-btn:hover,html:not([data-ces-theme=\"light\"]) .cesi-btn[aria-expanded=\"true\"]{color:#F2F2F2}\n:root .cesi-btn[data-surface=\"light\"]{color:#5C5C5C}\n:root .cesi-btn[data-surface=\"dark\"]{color:#999999}\n:root .cesi-btn[data-surface=\"light\"]:hover,:root .cesi-btn[data-surface=\"light\"][aria-expanded=\"true\"]{color:#141414}\n:root .cesi-btn[data-surface=\"dark\"]:hover,:root .cesi-btn[data-surface=\"dark\"][aria-expanded=\"true\"]{color:#F2F2F2}\n.cesi-btn:focus-visible{outline:2px solid #88FF00;outline-offset:1px}\n.cesi-btn svg{display:block;width:18px;height:18px}\n.cesi-tip{display:block;position:absolute;top:calc(100% + 8px);left:0;z-index:30;box-sizing:border-box;width:max-content;max-width:min(300px,calc(100vw - 32px));padding:12px 14px;border-radius:14px;background:#141414;color:#F2F2F2;box-shadow:0 8px 24px rgba(20,20,20,0.24),inset 0 0 0 1px rgb(51,51,51);font-family:${TIP_FONT};font-size:14px;font-weight:500;line-height:1.4;letter-spacing:-0.02em;text-align:left;white-space:normal;animation:cesi-in .14s ease-out}\nhtml[data-ces-theme=\"dark\"] .cesi-tip{background:#1A1A1A}\n@keyframes cesi-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}\n.cesi-tip.cesi-up{top:auto;bottom:calc(100% + 8px);animation-name:cesi-up}\n@keyframes cesi-up{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}\n@media (prefers-reduced-motion:reduce){.cesi-tip{animation:none}.cesi-btn{transition:none}}\n`;// Layout effect on the client only (no server warning).\nconst useIsoLayoutEffect=typeof window!==\"undefined\"?useLayoutEffect:useEffect;const EDGE=16// keep the open tip this far inside the screen edges\n;/** Wrap the badge row in an element with position:relative; the tip opens under it,\n * or above it when there is no room below (e.g. in the bottom Ask bar), and it shifts sideways to stay on screen. */function InfoTip(props){const{label,children}=props;const[open,setOpen]=useState(false);const[surface,setSurface]=useState(\"\");const btnRef=useRef(null);// Color the icon for what is actually behind it (the group hero is dark in both themes; venue sheets follow the theme).\nuseEffect(()=>{if(typeof window===\"undefined\")return;// The CSS already paints the icon for the page theme, so the server HTML and the first paint match: light only\n// under html[data-ces-theme=\"light\"] (/venues light), dark otherwise (/venues dark, and the GM SideKick pages,\n// which are dark: gm-ink sets color-scheme dark). data-surface is set only when the real surface differs.\nconst themeNow=()=>document.documentElement.getAttribute(\"data-ces-theme\")===\"light\"?\"light\":\"dark\";const pick=s=>setSurface(s===themeNow()?\"\":s);const read=()=>{let el=btnRef.current;while(el){const cs=getComputedStyle(el);// A gradient fill has a transparent backgroundColor, so read its first colour stop instead.\nconst m=cs.backgroundColor.match(/rgba?\\(([^)]+)\\)/)?.[1].split(\",\")[3]?.trim()===\"0\"?cs.backgroundImage.match(/rgba?\\(([^)]+)\\)/):cs.backgroundColor.match(/rgba?\\(([^)]+)\\)/)||cs.backgroundImage.match(/rgba?\\(([^)]+)\\)/);if(m){const[r,g,b,a=\"1\"]=m[1].split(\",\").map(x=>x.trim());if(parseFloat(a)>.5){const lum=.2126*+r+.7152*+g+.0722*+b;pick(lum<128?\"dark\":\"light\");return;}}el=el.parentElement;}pick(\"light\");};read();const t=window.setTimeout(read,400);const mo=new MutationObserver(()=>window.setTimeout(read,60));mo.observe(document.documentElement,{attributes:true,attributeFilter:[\"data-ces-theme\",\"class\",\"style\"]});const mq=window.matchMedia?window.matchMedia(\"(prefers-color-scheme: dark)\"):null;const onMq=()=>window.setTimeout(read,60);mq?.addEventListener?.(\"change\",onMq);return()=>{window.clearTimeout(t);mo.disconnect();mq?.removeEventListener?.(\"change\",onMq);};},[]);const tipRef=useRef(null);const id=\"cesi-\"+(useId()||\"t\").replace(/[^A-Za-z0-9_-]/g,\"\");const[place,setPlace]=useState({up:false,dx:0});// Before the open tip paints: open upward when it would run past the bottom of the screen and fits above,\n// and slide it left/right so it stays EDGE px inside the screen. Re-placed on resize while open.\nuseIsoLayoutEffect(()=>{if(!open||typeof window===\"undefined\")return;const placeTip=()=>{const tip=tipRef.current;const btn=btnRef.current;if(!tip||!btn)return;const vw=document.documentElement.clientWidth||window.innerWidth;const vh=window.innerHeight;const b=btn.getBoundingClientRect();const h=tip.offsetHeight;const w=tip.offsetWidth;const below=vh-b.bottom-8-EDGE;const above=b.top-8-EDGE;const up=h>below&&above>below;// The tip's left edge sits at the wrapper's left edge (left:0), which is the button's left edge plus its -4px margin.\nconst left0=tip.offsetParent?.getBoundingClientRect().left??b.left;let dx=0;if(left0+w>vw-EDGE)dx=vw-EDGE-(left0+w);if(left0+dx<EDGE)dx=EDGE-left0;setPlace(p=>p.up===up&&Math.abs(p.dx-dx)<.5?p:{up,dx});};placeTip();window.addEventListener(\"resize\",placeTip);return()=>window.removeEventListener(\"resize\",placeTip);},[open]);useEffect(()=>{if(!open||typeof document===\"undefined\")return;const onDown=e=>{const t=e.target;if(btnRef.current?.contains(t)||tipRef.current?.contains(t))return;setOpen(false);};const onKey=e=>{if(e.key===\"Escape\"){setOpen(false);btnRef.current?.focus();}};document.addEventListener(\"pointerdown\",onDown);document.addEventListener(\"keydown\",onKey);return()=>{document.removeEventListener(\"pointerdown\",onDown);document.removeEventListener(\"keydown\",onKey);};},[open]);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:TIP_CSS}}),/*#__PURE__*/_jsx(\"button\",{ref:btnRef,type:\"button\",className:\"cesi-btn\",\"data-surface\":surface||undefined,\"aria-label\":label,\"aria-expanded\":open,\"aria-controls\":id,onClick:()=>setOpen(v=>!v),children:/*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 24 24\",fill:\"none\",\"aria-hidden\":\"true\",focusable:\"false\",children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"12\",r:\"9.25\",stroke:\"currentColor\",strokeWidth:\"1.6\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M12 10.75v5.75\",stroke:\"currentColor\",strokeWidth:\"1.8\",strokeLinecap:\"round\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"7.6\",r:\"1.1\",fill:\"currentColor\"})]})}),open?/*#__PURE__*/_jsx(\"span\",{ref:tipRef,id:id,role:\"note\",className:place.up?\"cesi-tip cesi-up\":\"cesi-tip\",style:place.dx?{left:place.dx}:undefined,children:children}):null]});}export default function InfoTipButton(props){const{tip=DEFAULT_TIP,label=\"What this means\"}=props;const tipText=String(tip||\"\").trim()||DEFAULT_TIP;return /*#__PURE__*/_jsx(\"span\",{style:{position:\"relative\",display:\"inline-flex\",alignItems:\"center\",fontFamily:FONT},children:/*#__PURE__*/_jsx(InfoTip,{label:label,children:tipText})});}addPropertyControls(InfoTipButton,{tip:{type:ControlType.String,title:\"Tooltip\",defaultValue:DEFAULT_TIP,displayTextArea:true},label:{type:ControlType.String,title:\"Button label\",defaultValue:\"What this means\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"InfoTipButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./InfoTipButton.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect,useRef,useState}from\"react\";/**\n * Round Share button for venue pages.\n * Opens the device share sheet when the browser has one. Otherwise it copies\n * the page link and shows \"Link copied\" for a moment.\n * Size it with the frame (40 x 40 by default).\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */const INK=\"#141414\";const OFF=\"#F2F2F2\";const PAGE=\"#FCFCFC\";const LINE_SOFT=\"#E6E6E6\";const RECESSED=\"#1A1A1A\";// Directory/* colour styles (dark-mode-2026-10-03/PLAN.md section 6). Only the LIGHT palette uses them. Each light\n// value equals the literal fallback, so light mode is unchanged; the published site swaps the value in dark mode.\n// The fallback keeps the canvas and old browsers on today's look. Never put these in SVG attributes (use style).\nconst DIR_SHEET=\"var(--token-a8dbafe7-00a0-42b2-ad4a-ef0b7fb63c86, #FCFCFC)\"// Directory/Sheet\n;const DIR_CARD=\"var(--token-6bd6f173-246d-4162-b46d-e3fcfa96384c, #F2F2F2)\"// Directory/Card\n;const DIR_LINE_SOFT=\"var(--token-c60e483d-0007-4e9a-8bfa-6cb427a20501, #E6E6E6)\"// Directory/Line soft\n;const DIR_TEXT=\"var(--token-d2361962-1174-4c6b-8b53-bf38d6143601, #141414)\"// Directory/Text\n;const DIR_OUTLINE=\"var(--token-7d4e7cc5-3f40-453d-9bd0-0f9eebaa1e95, rgb(217, 217, 217))\"// Directory/Outline\n;const DIR_EDGE=\"var(--token-56c56e96-ddff-421e-8305-1e8f65768b56, rgba(242, 242, 242, 0))\"// Directory/Edge\n;const FONT='\"Switzer\", \"Switzer Placeholder\", system-ui, -apple-system, sans-serif';function cleanUrl(){if(typeof window===\"undefined\")return\"\";return window.location.origin+window.location.pathname;}async function copyText(text){try{if(navigator.clipboard&&window.isSecureContext){await navigator.clipboard.writeText(text);return true;}}catch(e){}try{const ta=document.createElement(\"textarea\");ta.value=text;ta.setAttribute(\"readonly\",\"\");ta.style.position=\"fixed\";ta.style.opacity=\"0\";document.body.appendChild(ta);ta.select();const ok=document.execCommand(\"copy\");ta.remove();return ok;}catch(e){return false;}}export default function ShareButton(props){const{theme=\"card\",label=\"Share\",copiedLabel=\"Link copied\",shareTitle=\"\",style}=props;const[hover,setHover]=useState(false);const[copied,setCopied]=useState(false);const timer=useRef(null);useEffect(()=>{return()=>{if(timer.current)window.clearTimeout(timer.current);};},[]);const onClick=async e=>{e.preventDefault();e.stopPropagation();const url=cleanUrl();const title=shareTitle||(typeof document!==\"undefined\"?document.title:\"\");const nav=typeof navigator!==\"undefined\"?navigator:null;if(nav&&typeof nav.share===\"function\"){try{await nav.share({title,url});return;}catch(err){if(err&&err.name===\"AbortError\")return;}}const ok=await copyText(url);if(ok){setCopied(true);if(timer.current)window.clearTimeout(timer.current);timer.current=window.setTimeout(()=>setCopied(false),1800);}};const dark=theme===\"dark\";let bg=theme===\"page\"?DIR_SHEET:dark?RECESSED:DIR_CARD;if(hover)bg=dark?\"#262626\":theme===\"page\"?DIR_CARD:DIR_LINE_SOFT;const fg=dark?OFF:DIR_TEXT;const border=theme===\"page\"?\"1px solid \"+DIR_OUTLINE:dark?\"1px solid #383838\":\"1px solid transparent\";return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",...style},children:[/*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":label,title:label,onClick:onClick,onPointerEnter:e=>{if(e.pointerType===\"mouse\")setHover(true);},onPointerLeave:()=>setHover(false),style:{width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",margin:0,padding:0,boxSizing:\"border-box\",borderRadius:999,border,background:bg,color:fg,cursor:\"pointer\",transition:\"background-color 160ms ease\",WebkitTapHighlightColor:\"transparent\"},children:/*#__PURE__*/_jsxs(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",\"aria-hidden\":\"true\",focusable:\"false\",style:{display:\"block\"},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M12 14V3.5M8 7.5l4-4 4 4\",style:{stroke:fg},strokeWidth:\"1.6\",strokeLinecap:\"round\",strokeLinejoin:\"round\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M8.5 10.5H7a1.5 1.5 0 0 0-1.5 1.5v7A1.5 1.5 0 0 0 7 20.5h10a1.5 1.5 0 0 0 1.5-1.5v-7a1.5 1.5 0 0 0-1.5-1.5h-1.5\",style:{stroke:fg},strokeWidth:\"1.6\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})]})}),/*#__PURE__*/_jsx(\"div\",{role:\"status\",\"aria-live\":\"polite\",style:{position:\"absolute\",top:\"calc(100% + 8px)\",right:0,padding:\"8px 13px\",borderRadius:999,background:dark?OFF:INK,color:dark?INK:OFF,boxShadow:dark?\"none\":\"inset 0 0 0 1px \"+DIR_EDGE,fontFamily:FONT,fontSize:13,fontWeight:500,lineHeight:1,whiteSpace:\"nowrap\",pointerEvents:\"none\",opacity:copied?1:0,transform:copied?\"translateY(0)\":\"translateY(-4px)\",transition:\"opacity 160ms ease, transform 160ms ease\",zIndex:5},children:copied?copiedLabel:\"\"})]});}addPropertyControls(ShareButton,{theme:{type:ControlType.Enum,title:\"Theme\",options:[\"card\",\"page\",\"dark\"],optionTitles:[\"Card\",\"Page\",\"Dark\"],defaultValue:\"card\"},label:{type:ControlType.String,title:\"Label\",defaultValue:\"Share\"},copiedLabel:{type:ControlType.String,title:\"Copied label\",defaultValue:\"Link copied\"},shareTitle:{type:ControlType.String,title:\"Share title\",defaultValue:\"\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ShareButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ShareButton.map"],"mappings":"A,6QAiCA,SAASgD,GAAI,EA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