{"version":3,"file":"ShareButton.DIqlN6ED.mjs","names":["useState","_jsxs","_jsx","Fragment","_Fragment","RECESSED","DIR_CARD","INK","DIR_SHEET","EDGE","OFF","DIR_TEXT","useEffect","FONT","useRef","useIsoLayoutEffect","useId","p","useMemo","createPortal","useLayoutEffect","useState","useRef","useEffect","useId","_jsxs","_Fragment","_jsx","FONT","useLayoutEffect","useState","useRef","useEffect","_jsxs","_jsx","__esmMin","le","x","init_ssg_sandbox_shims","pe","navigator","init_npm_react_18_3_1","_e","de","init_jsx_runtime","Ha","l","init_npm_react_dom_18_3_1","c","p","ie","ce","window","init_framer_BWzg2IRg","RenderTarget","addPropertyControls","ControlType","sqR","v","sq","r","photoName","photo","index","total","a","text","num","fallback","clamp","n","lo","hi","toLayout","s","toTheme","photoKey","src","clean","cdnSrcSet","w","u","isUrl","findImage","depth","o","k","inner","hit","toPhoto","ratioOf","px","py","srcSet","h","isTall","TALL","isWide","arrange","photos","out","pull","from","to","i","backdropOf","pickSrc","BACKDROP_PX","wholeSize","ratio","height","linkText","toUrl","raw","toSeconds","m","youTubeId","host","id","YT_ID","parts","vimeoOf","hash","next","readVideo","file","link","f","VIDEO_FILE","yt","start","vm","ytThumb","size","toVideo","image","key","poster","VIDEO_RATIO","splitItem","credit","video","rest","countText","ph","buildPhotos","cover","images","venueName","keepOrder","lead","extra","img","leadKey","seen","had","what","readFeeds","nodes","el","room","href","safeHref","it","own","want","re","best","bestSize","tagged","role","tag","part","bits","sideSize","tall","GAP","creditFor","t","sourceKey","IS_GMS","hostOf","splitSources","body","CREDIT_LEAD","IS_DOMAIN","creditBits","b","names","name","gms","GMS_HREF","g","Credits","linkStyle","prefix","open","setOpen","shown","SR_ONLY","palette","theme","dark","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","query","setOn","lenis","lockScroll","lockDepth","html","y","bar","prev","BODY_KEYS","saved","padRight","unlockScroll","hideOthers","keep","changed","kids","restoreOthers","list","focusables","root","FOCUSABLE","Glyph","PlayBadge","PHOTO_PILL","LIME_TOKEN","VideoTag","inset","under","badge","FONT$2","PlayLayer","Pic","props","sizes","eager","style","onSize","broken","setBroken","told","report","Poster","radius","Tile","pal","deferred","whole","tagUnder","className","onOpen","RESET_BTN","INK_TOKEN","BACKDROP_WASH","ShowAllPill","label","glyph","mosaicPlan","golden","half","cellRadius","plan","INNER_RADIUS","top","bottom","left","right","Mosaic","onShowAll","fill","leadWhole","oneWide","shape","WIDE_MIN","WIDE_MAX","WIDE_GROW","cell","PLAY_ONE","VIEW_ONE","Carousel","reduced","rail","raf","current","setCurrent","count","single","at","anyVideo","running","setRunning","stepPx","first","onScroll","step","scrollToSlide","slideRight","arrow","dir","now","panLimit","fit","box","clampPan","lim","zoomTransform","moving","softScale","ZOOM_MAX","roundButton","Thumb","active","onPick","setRef","Filmstrip","before","after","thumbs","edges","max","centre","smooth","useIsoLayoutEffect$1","width","ro","glide","j","Lightbox","heading","named","creditHref","initial","returnTo","fallbackFocus","onClose","mode","setMode","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","dialog","opener","OPEN_GUARD","hidden","trap","inside","firstEl","lastEl","onKey","vertical","sx","KEY_PAN","sy","lastInside","onFocusIn","tg","back","acc","spent","idle","onWheel","near","sel","noPageZoom","d","grid","measure","im","openSingle","pointer","play","backToGrid","startFile","onPlayClick","paint","edge","dlg","SCRIM_RGB","animate","motion","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","cancelled","still","restId","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","anyCredit","gridBits","creditNode","creditLine","place","off","OFF_BUTTON","dialogStyle","Z_TOP","counted","gridLine","isPlaying","ON_DARK_HOVER","p$1","GalleryLightbox","creditLink","layout","showAllLabel","mosaicHeight","fillTiles","target","isCanvas","storefront","storefrontCredit","storefrontCreditLink","includeRooms","roomPhotos","setRoomPhotos","scan","PLACEHOLDERS","label0","madeBy","rootEl","setRootEl","setWidth","mounted","setMounted","view","setView","NARROW","pre","canOpen","openAt","openGrid","one","blockProps","rootStyle","CSS","init_GalleryLightbox","InfoTip","children","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","copiedLabel","shareTitle","hover","setHover","copied","setCopied","timer","onClick","url","title","nav","err","bg","DIR_SHEET","RECESSED","DIR_CARD","DIR_LINE_SOFT","fg","OFF","DIR_TEXT","border","INK","FONT","init_ShareButton"],"sources":["https:/framerusercontent.com/modules/uYGY0tueNjLzbGgNVb1z/qwSJXd41UH1jLEHPZ7CF/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:2px solid transparent;outline-offset:2px;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);}}// a11y 2026-11-27 (2.1.1): a playing video (its player or its embed) counts, so Tab can reach it.\nconst FOCUSABLE='a[href],button,input,select,textarea,iframe:not([tabindex=\"-1\"]),video[controls],[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);// a11y 2026-11-27 (2.1.1, 2.4.3): keys pressed inside a video embed never reach this page, so when\n// Tab leaves it, focus can land behind the viewer. Bring it back: the first control when it left\n// forwards, the last control when it left backwards. The chat bubble keeps its own focus.\nlet lastInside=null;const onFocusIn=e=>{const root=dialogRef.current;const tg=e.target;if(!root||!tg||tg===document.body||tg===document.documentElement)return;if(root.contains(tg)){lastInside=tg;return;}if(typeof tg.closest===\"function\"&&tg.closest(\"chat-widget, [id^='lc_text-widget'], [class*='lc_text-widget']\"))return;const list=focusables(root);if(!list.length){root.focus({preventScroll:true});return;}const firstEl=list[0];const lastEl=list[list.length-1];let back=false;if(lastInside===lastEl)back=false;else if(lastInside===firstEl)back=true;else back=!!(root.compareDocumentPosition(tg)&Node.DOCUMENT_POSITION_PRECEDING);(back?lastEl:firstEl).focus({preventScroll:true});};document.addEventListener(\"focusin\",onFocusIn,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);document.removeEventListener(\"focusin\",onFocusIn,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\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicHeight\":\"428\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"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,SAASyD,GAAIC,EAAE,CAAC,OAAO,OAAO,OAAOA,GAAI,SAASA,EAAE,KAAKA,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,IAAIT,GAAG,aAAa,KAAKA,CAAC,EAAEA,EAAE,KAAKA,CAAC,CAAC,CAAC,IAAIA,GAAG,WAAWA,CAAC,IAAI,EAAE,IAAI,QAAQA,EAAE,2EAA2E,CAAC,CAAC,KAAK,GAAG,CAAE,CAAC,SAASU,EAAGC,EAAE,CAAiG,OAA7FA,GAAmB,MAAMA,IAAI,GAAS,CAAC,EAAKA,IAAI,GAAGA,IAAI,KAAKA,IAAI,MAAY,CAAC,aAAa,CAAC,EAAQ,CAAE,0BAA2B,IAAI,aAAaH,GAAIG,CAAC,EAAE,YAAY,mB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