PageSourceSearch

https://sceniccityshakespeare.org/assets/PhotoRotation-C4wZbGR_.js

js sceniccityshakespeare.org collected 2026-10-08 06:46:43 UTC 11,762 bytes, 1 lines download raw bytes

1import{r as e}from"./rolldown-runtime-S-ySWqyJ.js";import{i as t,r as n}from"./framework-CXnKph_e.js";import{t as r}from"./photo-collections-qKdhhwnJ.js";import{t as i}from"./image-Jb477kro.js";var a=e(t(),1),o={"/images/photos/archive-hamlet.jpg":{width:1694,height:2200,variants:[{src:`/images/delivery/archive-hamlet-480-d236708789e7.webp`,width:480,bytes:44176},{src:`/images/delivery/archive-hamlet-800-62004df3f0c1.webp`,width:800,bytes:128434},{src:`/images/delivery/archive-hamlet-1200-65fcdbc6bf40.webp`,width:1200,bytes:249486},{src:`/images/delivery/archive-hamlet-1600-0d5e273ec5a5.webp`,width:1600,bytes:376810},{src:`/images/delivery/archive-hamlet-1694-8246b7924c73.webp`,width:1694,bytes:413838}]},"/images/photos/archive-macbeth.jpg":{width:2200,height:1956,variants:[{src:`/images/delivery/archive-macbeth-480-8c287946a5aa.webp`,width:480,bytes:27382},{src:`/images/delivery/archive-macbeth-800-bed5786bc765.webp`,width:800,bytes:50518},{src:`/images/delivery/archive-macbeth-1200-a332f08c947e.webp`,width:1200,bytes:78942},{src:`/images/delivery/archive-macbeth-1600-bab82b6b454d.webp`,width:1600,bytes:109750},{src:`/images/delivery/archive-macbeth-2200-2c5a50c26825.webp`,width:2200,bytes:157218}]},"/images/photos/archive-midsummer.jpg":{width:1650,height:2200,variants:[{src:`/images/delivery/archive-midsummer-480-4fc88717f68c.webp`,width:480,bytes:107006},{src:`/images/delivery/archive-midsummer-800-904caac9888e.webp`,width:800,bytes:263524},{src:`/images/delivery/archive-midsummer-1200-d7e2fa5b55ac.webp`,width:1200,bytes:469408},{src:`/images/delivery/archive-midsummer-1600-28acfae8a55d.webp`,width:1600,bytes:668370},{src:`/images/delivery/archive-midsummer-1650-11d00f0621fa.webp`,width:1650,bytes:698956}]},"/images/photos/archive-much-ado.jpg":{width:2200,height:1650,variants:[{src:`/images/delivery/archive-much-ado-480-62f970f90732.webp`,width:480,bytes:71958},{src:`/images/delivery/archive-much-ado-800-12733f1b0c35.webp`,width:800,bytes:195412},{src:`/images/delivery/archive-much-ado-1200-ac51bcbbdcfa.webp`,width:1200,bytes:413670},{src:`/images/delivery/archive-much-ado-1600-6f484fe5f6c6.webp`,width:1600,bytes:691636},{src:`/images/delivery/archive-much-ado-2200-ef160379ded8.webp`,width:2200,bytes:1158552}]},"/images/photos/archive-othello.jpg":{width:1650,height:2200,variants:[{src:`/images/delivery/archive-othello-480-189d1ecab530.webp`,width:480,bytes:69562},{src:`/images/delivery/archive-othello-800-6a3fa64acd2b.webp`,width:800,bytes:178698},{src:`/images/delivery/archive-othello-1200-13ec62b48329.webp`,width:1200,bytes:359926},{src:`/images/delivery/archive-othello-1600-6b5b65a348fc.webp`,width:1600,bytes:576674},{src:`/images/delivery/archive-othello-1650-5f0780b0be7b.webp`,width:1650,bytes:625668}]},"/images/photos/archive-twelfth-night.jpg":{width:2200,height:1650,variants:[{src:`/images/delivery/archive-twelfth-night-480-b47a0d046751.webp`,width:480,bytes:37460},{src:`/images/delivery/archive-twelfth-night-800-de15517bc119.webp`,width:800,bytes:97582},{src:`/images/delivery/archive-twelfth-night-1200-7489ca8daff8.webp`,width:1200,bytes:195570},{src:`/images/delivery/archive-twelfth-night-1600-95b193669f6e.webp`,width:1600,bytes:303768},{src:`/images/delivery/archive-twelfth-night-2200-078834c266c5.webp`,width:2200,bytes:477768}]},"/images/photos/archive-winters-tale.jpg":{width:2200,height:1618,variants:[{src:`/images/delivery/archive-winters-tale-480-3ba1e6fc26d9.webp`,width:480,bytes:65044},{src:`/images/delivery/archive-winters-tale-800-385f22f35ae8.webp`,width:800,bytes:173150},{src:`/images/delivery/archive-winters-tale-1200-7dcc6a8fc03f.webp`,width:1200,bytes:347152},{src:`/images/delivery/archive-winters-tale-1600-a98593b38196.webp`,width:1600,bytes:531116},{src:`/images/delivery/archive-winters-tale-2200-957ffd2ca64c.webp`,width:2200,bytes:828672}]},"/images/photos/company-dance.jpg":{width:2200,height:1650,variants:[{src:`/images/delivery/company-dance-480-e3578c3ba6a1.webp`,width:480,bytes:46580},{src:`/images/delivery/company-dance-800-e2fb9bf91ad4.webp`,width:800,bytes:92460},{src:`/images/delivery/company-dance-1200-486026515541.webp`,width:1200,bytes:157224},{src:`/images/delivery/company-dance-1600-bd8bba371d33.webp`,width:1600,bytes:236032},{src:`/images/delivery/company-dance-2200-9ea865f1ff85.webp`,width:2200,bytes:373480}]},"/images/photos/company-hillside.jpg":{width:2200,height:679,variants:[{src:`/images/delivery/company-hillside-480-cc182d6b6322.webp`,width:480,bytes:23846},{src:`/images/delivery/company-hillside-800-ca63aa6dc3ed.webp`,width:800,bytes:61268},{src:`/images/delivery/company-hillside-1200-054c26452706.webp`,width:1200,bytes:123694},{src:`/images/delivery/company-hillside-1600-bf331cf31fb3.webp`,width:1600,bytes:194810},{src:`/images/delivery/company-hillside-2200-d6ad622c1267.webp`,width:2200,bytes:321496}]},"/images/photos/founders.jpg":{width:2200,height:1650,variants:[{src:`/images/delivery/founders-480-a1b6c8a43079.webp`,width:480,bytes:9040},{src:`/images/delivery/founders-800-95b30e517b66.webp`,width:800,bytes:22920},{src:`/images/delivery/founders-1200-a450e3d6839e.webp`,width:1200,bytes:53244},{src:`/images/delivery/founders-1600-2111e4e02776.webp`,width:1600,bytes:113954},{src:`/images/delivery/founders-2200-0e108cc4137b.webp`,width:2200,bytes:279914}]},"/images/photos/hero-tempest.jpg":{width:2200,height:1650,variants:[{src:`/images/delivery/hero-tempest-480-686298800297.webp`,width:480,bytes:56454},{src:`/images/delivery/hero-tempest-800-37945543d11e.webp`,width:800,bytes:134570},{src:`/images/delivery/hero-tempest-1200-ea2692929f50.webp`,width:1200,bytes:248812},{src:`/images/delivery/hero-tempest-1600-e4ac498f45d1.webp`,width:1600,bytes:394696},{src:`/images/delivery/hero-tempest-2200-8b86b4b47565.webp`,width:2200,bytes:652316}]},"/images/photos/tempest-ensemble.jpg":{width:2200,height:1650,variants:[{src:`/images/delivery/tempest-ensemble-480-146cdca889aa.webp`,width:480,bytes:68154},{src:`/images/delivery/tempest-ensemble-800-cfd63d44d334.webp`,width:800,bytes:190470},{src:`/images/delivery/tempest-ensemble-1200-a81e7fbcff13.webp`,width:1200,bytes:411216},{src:`/images/delivery/tempest-ensemble-1600-1842d923bbec.webp`,width:1600,bytes:662512},{src:`/images/delivery/tempest-ensemble-2200-461dcd686634.webp`,width:2200,bytes:1100508}]},"/images/photos/venue-candles.jpg":{width:2200,height:1650,variants:[{src:`/images/delivery/venue-candles-480-1a4165df6010.webp`,width:480,bytes:58748},{src:`/images/delivery/venue-candles-800-d4652696a5e4.webp`,width:800,bytes:150984},{src:`/images/delivery/venue-candles-1200-a7a1c8851daf.webp`,width:1200,bytes:294448}
1,{src:`/images/delivery/venue-candles-1600-76b5ea422ecb.webp`,width:1600,bytes:453686},{src:`/images/delivery/venue-candles-2200-db57e2775357.webp`,width:2200,bytes:704484}]},"/images/textures/desk-wood.jpg":{width:2400,height:1600,variants:[{src:`/images/delivery/desk-wood-480-966bb4985143.webp`,width:480,bytes:32638},{src:`/images/delivery/desk-wood-800-26e1f61428a7.webp`,width:800,bytes:100970},{src:`/images/delivery/desk-wood-1200-d7d7cc6c5c63.webp`,width:1200,bytes:227212},{src:`/images/delivery/desk-wood-1600-4bef5431eac2.webp`,width:1600,bytes:351816},{src:`/images/delivery/desk-wood-2200-34a5d0c4445a.webp`,width:2200,bytes:559066}]},"/images/textures/distressed-panel.jpg":{width:2200,height:1238,variants:[{src:`/images/delivery/distressed-panel-480-c8b000e7c6b5.webp`,width:480,bytes:19878},{src:`/images/delivery/distressed-panel-800-0c43d7232350.webp`,width:800,bytes:69244},{src:`/images/delivery/distressed-panel-1200-1ef2b6ec6e62.webp`,width:1200,bytes:174954},{src:`/images/delivery/distressed-panel-1600-010e19d0fd9a.webp`,width:1600,bytes:286038},{src:`/images/delivery/distressed-panel-2200-f77ab0474ef7.webp`,width:2200,bytes:499884}]},"/images/textures/folio-leather.jpg":{width:2400,height:1025,variants:[{src:`/images/delivery/folio-leather-480-40e22c5fcf2a.webp`,width:480,bytes:25904},{src:`/images/delivery/folio-leather-800-278d51002343.webp`,width:800,bytes:98748},{src:`/images/delivery/folio-leather-1200-45391f4f3a7d.webp`,width:1200,bytes:248754},{src:`/images/delivery/folio-leather-1600-863aff353c04.webp`,width:1600,bytes:435828},{src:`/images/delivery/folio-leather-2200-f649bb953c09.webp`,width:2200,bytes:689640}]},"/images/textures/parchment.jpg":{width:2200,height:1238,variants:[{src:`/images/delivery/parchment-480-d668c14ffdcd.webp`,width:480,bytes:10744},{src:`/images/delivery/parchment-800-51f87b7b76cc.webp`,width:800,bytes:41166},{src:`/images/delivery/parchment-1200-957a10151b77.webp`,width:1200,bytes:96932},{src:`/images/delivery/parchment-1600-338d44262d6d.webp`,width:1600,bytes:159124},{src:`/images/delivery/parchment-2200-5ea67ae2fcd4.webp`,width:2200,bytes:260234}]},"/images/textures/white-paper.jpg":{width:2200,height:942,variants:[{src:`/images/delivery/white-paper-480-9a18bc5ad040.webp`,width:480,bytes:9780},{src:`/images/delivery/white-paper-800-da2c70e95869.webp`,width:800,bytes:53038},{src:`/images/delivery/white-paper-1200-30835d4872c7.webp`,width:1200,bytes:140146},{src:`/images/delivery/white-paper-1600-f55914bba6a3.webp`,width:1600,bytes:243482},{src:`/images/delivery/white-paper-2200-7beb59ac0f0f.webp`,width:2200,bytes:405410}]}},s=n();function c({src:e,fill:t,priority:n,sizes:r,style:a,width:c,height:l,alt:u=``,...d}){let f=o[e];return f?(0,s.jsx)(`img`,{...d,src:f.variants.at(-1).src,alt:u,srcSet:f.variants.map(e=>`${e.src}
1 ${e.width}w`).join(`, `),sizes:r||(t?`100vw`:`${c||f.width}px`),width:t?void 0:c||f.width,height:t?void 0:l||f.height,loading:n?`eager`:d.loading||`lazy`,fetchPriority:n?`high`:d.fetchPriority,decoding:`async`,"data-original-src":e,style:t?{position:`absolute`,inset:0,width:`100%`,height:`100%`,...a}:a}):(0,s.jsx)(i,{...d,src:e,alt:u,fill:t,priority:n,sizes:r,width:c,height:l,style:a,unoptimized:!0})}var l=(0,a.createContext)({paused:!0,visible:!0,register:()=>()=>{}});function u({children:e}){let[t,n]=(0,a.useState)(!0),[r,i]=(0,a.useState)(!0),[o,c]=(0,a.useState)(0),u=(0,a.useCallback)(()=>(c(e=>e+1),()=>c(e=>e-1)),[]);return(0,a.useEffect)(()=>{let e=window.matchMedia(`(prefers-reduced-motion: reduce)`),t=()=>n(e.matches),r=()=>i(!document.hidden);return t(),r(),e.addEventListener(`change`,t),document.addEventListener(`visibilitychange`,r),()=>{e.removeEventListener(`change`,t),document.removeEventListener(`visibilitychange`,r)}},[]),(0,s.jsxs)(l.Provider,{value:{paused:t,visible:r,register:u},children:[e,o>0?(0,s.jsx)(`button`,{className:`photo-rotation-control`,type:`button`,onClick:()=>n(e=>!e),"aria-pressed":t,children:t?`Resume photo rotation`:`Pause photo rotation`}):null]})}function d({collection:e,slot:t,...n}){let[i,o]=(0,a.useState)(0),u=(0,a.useRef)(!1),[d,f]=(0,a.useState)(!1),p=(0,a.useRef)(new Set),{paused:m,visible:h,register:g}=(0,a.useContext)(l),_=e.mode===`interval`&&e.photos.length>1;(0,a.useEffect)(()=>{if(!(e.mode!==`refresh`||u.current)){u.current=!0;try{let n=e.photos.map(e=>e.id).join(`,`),i=`scs-photo:${t}`,a=JSON.parse(sessionStorage.getItem(i)||`null`),s=r(a?.fingerprint===n?a.index:-1,e.photos.length);o(s),sessionStorage.setItem(i,JSON.stringify({fingerprint:n,index:s}))}catch{o(Math.floor(Math.random()*e.photos.length))}}},[e,t]),(0,a.useEffect)(()=>_?g():void 0,[_,g]),(0,a.useEffect)(()=>{if(!_||m||!h||d)return;let t=window.setInterval(()=>o(t=>r(t,e.photos.length)),e.intervalSeconds*1e3);return()=>window.clearInterval(t)},[_,m,h,e.intervalSeconds,e.photos.length,d]);let v=e.photos[i]||e.photos[0];return v?(0,s.jsx)(c,{...n,src:v.src,alt:v.alt,"data-backstage-photo-slot":t,onError:()=>{p.current.add(i);let t=e.photos.findIndex((e,t)=>!p.current.has(t));t>=0?o(t):f(!0)}}):null}export{u as PhotoRotationProvider,d as RotatingPhoto};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.