PageSourceSearch

https://heritage-navigator.com/_next/static/chunks/7442.717904b7dbd431ac.js

js heritage-navigator.com collected 2026-09-25 09:01:23 UTC 22,055 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7442],{16353:(e,t,r)=>{r.d(t,{G:()=>a});let n=/<li[^>]*>\s*<(b|strong)>([^<]*\d[^<]*?)\s*[–—:-]?\s*<\/\1>/i,a=e=>e.replace(/<ol>(?:<li>https?:\/\/[^<]+<\/li>)+<\/ol>/g,e=>{var t;let r=((null==(t=e.match(/<li>(https?:\/\/[^<]+)<\/li>/g))?void 0:t.map(e=>{let t=e.replace(/<li>|<\/li>/g,"");return{full:t,short:(e=>{try{return new URL(e).hostname.replace("www.","")+"..."}catch(t){return e}})(t)}}))||[]).map((e,t)=>'<li><a href="'.concat(e.full,'" target="_blank" rel="noopener noreferrer" class="citation-link">').concat(t+1,". ").concat(e.short,"</a></li>")).join("");return'<ol class="citations-list">'.concat(r,"</ol>")}).replace(/<ul(\s[^>]*)?>([\s\S]*?)<\/ul>/gi,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2?arguments[2]:void 0,a=r.match(/<li[^>]*>[\s\S]*?<\/li>/gi)||[];if(a.length<3||a.filter(e=>n.test(e)).length/a.length<.6)return e;let l=r.replace(/(<li[^>]*>)\s*<(b|strong)>([^<]*\d[^<]*?)\s*[–—:-]?\s*<\/\2>\s*/gi,'$1<span class="timeline-year">$3</span> '),i=String(t||""),s=/class=/i.test(i)?i.replace(/class="([^"]*)"/i,'class="$1 timeline-list"'):"".concat(i,' class="timeline-list"');return"<ul".concat(s,">").concat(l,"</ul>")})},22392:(e,t,r)=>{r.d(t,{Wu:()=>s,Zp:()=>i});var n=r(95155),a=r(12115),l=r(64269);let i=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,l.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...a})});i.displayName="Card",a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,l.cn)("flex flex-col space-y-1.5 p-6",r),...a})}).displayName="CardHeader",a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("h3",{ref:t,className:(0,l.cn)("font-semibold leading-none tracking-tight",r),...a})}).displayName="CardTitle",a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("p",{ref:t,className:(0,l.cn)("text-sm text-muted-foreground",r),...a})}).displayName="CardDescription";let s=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,l.cn)("p-6 pt-0",r),...a})});s.displayName="CardContent",a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,n.jsx)("div",{ref:t,className:(0,l.cn)("flex items-center p-6 pt-0",r),...a})}).displayName="CardFooter"},28720:(e,t,r)=>{r.d(t,{FC:()=>i,HI:()=>s,ar:()=>o,c3:()=>l});var n=r(12115),a=r(74412);let l=()=>{let e=(0,n.useContext)(a.EH);if(!e)throw Error("useTranslations must be used within a MessagesProvider");return e},i=()=>{let{translate:e}=l();return{translate:t=>{let r=e("common.".concat(t));return Array.isArray(r)?r.join(", "):r}}},s=()=>{let{translate:e}=l();return{translate:t=>{let r=e("site.".concat(t));return Array.isArray(r)?r.join(", "):r}}},o=()=>{let{translate:e}=l();return{translate:t=>{let r=e("map.".concat(t));return Array.isArray(r)?r.join(", "):r}}}},29213:(e,t,r)=>{r.d(t,{A:()=>v});var n=r(95155),a=r(12115),l=r(67909),i=r(21873),s=r(95664),o=r(76561),c=r(46980),d=r.n(c),u=r(22392),h=r(74412),L=r(60080),f=r(85814),p=r(84453);function g(e){let{then:t,now:r,thenLabel:l,nowLabel:i,sliderLabel:s,onFirstInteraction:o}=e,[c,d]=(0,a.useState)(.5),u=(0,a.useRef)(null),h=(0,a.useRef)(!1),L=(0,a.useRef)(!1),f=(0,a.useCallback)(()=>{L.current||(L.current=!0,null==o||o())},[o]),g=(0,a.useCallback)(e=>{var t;let r=null==(t=u.current)?void 0:t.getBoundingClientRect();r&&d((0,p.t8)(e,r))},[]),x=(0,a.useCallback)(e=>{h.current=!0,e.currentTarget.setPointerCapture(e.pointerId),f(),g(e.clientX)},[f,g]),m=(0,a.useCallback)(e=>{h.current&&g(e.clientX)},[g]),b=(0,a.useCallback)(()=>{h.current=!1},[]),w=(0,a.useCallback)(e=>{let t=e.shiftKey?.1:.02,r=null;("ArrowLeft"===e.key||"ArrowDown"===e.key)&&(r=c-t),("ArrowRight"===e.key||"ArrowUp"===e.key)&&(r=c+t),"Home"===e.key&&(r=0),"End"===e.key&&(r=1),null!==r&&(e.preventDefault(),f(),d((0,p.xv)(r)))},[f,c]),y=Math.round(100*c),v=t.large_url||t.image_url,j=r.large_url||r.image_url;return(0,n.jsxs)("div",{ref:u,className:"relative w-full overflow-hidden rounded-xl bg-gray-200 select-none touch-none cursor-ew-resize",style:{aspectRatio:String((0,p.Ez)(t))},onPointerDown:x,onPointerMove:m,onPointerUp:b,onPointerCancel:b,children:[(0,n.jsx)("img",{src:j,alt:i,draggable:!1,
1className:"absolute inset-0 w-full h-full object-cover",loading:"lazy"}),(0,n.jsx)("img",{src:v,alt:l,draggable:!1,className:"absolute inset-0 w-full h-full object-cover",style:{clipPath:"inset(0 ".concat(100-y,"% 0 0)")},loading:"lazy"}),(0,n.jsx)("span",{className:"absolute top-2 left-2 rounded-full bg-black/60 text-white text-xs font-medium px-2 py-0.5 pointer-events-none",children:l}),(0,n.jsx)("span",{className:"absolute top-2 right-2 rounded-full bg-black/60 text-white text-xs font-medium px-2 py-0.5 pointer-events-none",children:i}),(0,n.jsx)("div",{className:"absolute top-0 bottom-0 w-0.5 bg-white shadow-[0_0_4px_rgba(0,0,0,0.6)] pointer-events-none",style:{left:"calc(".concat(y,"% - 1px)")},"aria-hidden":"true"}),(0,n.jsx)("div",{role:"slider",tabIndex:0,"aria-label":s,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":y,"aria-valuetext":"".concat(y,"% ").concat(l),onKeyDown:w,className:"absolute top-1/2 -translate-y-1/2 -translate-x-1/2 w-10 h-10 rounded-full bg-white shadow-lg flex items-center justify-center text-[#1a2942] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1a2942] focus-visible:ring-offset-2",style:{left:"".concat(y,"%")},children:(0,n.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,n.jsx)("path",{d:"M9 6 3 12l6 6"}),(0,n.jsx)("path",{d:"m15 6 6 6-6 6"})]})})]})}var x=r(85203),m=r.n(x);let b=(0,l.default)(()=>Promise.all([r.e(8051),r.e(1761),r.e(8472)]).then(r.bind(r,88472)),{loadableGenerated:{webpack:()=>[88472]},ssr:!1}),w=(0,l.default)(()=>r.e(9214).then(r.bind(r,39214)),{loadableGenerated:{webpack:()=>[39214]},ssr:!1});function y(e){let{image:t,label:r}=e,a=t.artist||t.credit,l=[t.year?String(t.year):null,a].filter(Boolean).join(" \xb7 ");if(!l)return null;let i=d().sanitize(l,{ADD_ATTR:["target","rel","href"],ADD_TAGS:["a"]}).replace(/<a /g,'<a target="_blank" rel="noopener noreferrer" ');return(0,n.jsxs)("p",{className:"text-xs text-gray-500 leading-snug [&_a]:underline",children:[(0,n.jsxs)("span",{className:"font-medium text-gray-600",children:[r,": "]}),(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:i}})]})}function v(e){var t;let{pairs:r,siteId:l,cityId:c,siteName:d,siteLocation:x,className:v}=e,{translate:j,getMessage:N}=(0,h.ot)(),[H,C]=(0,a.useState)(!1),[V,k]=(0,a.useState)(null),[A,M]=(0,a.useState)(null);(0,a.useEffect)(()=>{C((0,p.W6)(navigator,window.isSecureContext))},[]);let _=(0,a.useCallback)((e,t)=>{(0,L.s)("before_after_open",{city_id:c,site_id:l,pair_id:e.id,mode:t})},[c,l]),S=(0,a.useCallback)(e=>{k(t=>t===e.id?null:(_(e,"map"),e.id))},[_]),D=(0,a.useCallback)(e=>{_(e,"camera"),M(e)},[_]),Z=(0,a.useCallback)(()=>M(null),[]);if(0===r.length)return null;let R=j("beforeAfter.then"),I=j("beforeAfter.now");return(0,n.jsxs)(u.Zp,{className:m()("shadow-[0_6px_32px_rgba(200,190,170,0.8)] bg-background-primary border-0 rounded-2xl overflow-hidden",v),children:[(0,n.jsxs)(u.Wu,{className:"p-6 space-y-6",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:"text-lg font-semibold text-primary",children:j("beforeAfter.title")}),(0,n.jsx)("p",{className:"text-sm text-gray-600 mt-1",children:j("beforeAfter.intro")})]}),r.map(e=>{var t;let r=e.then.year?String(e.then.year):R,a=(null==(t=e.point)?void 0:t.bearing)!=null?N("beforeAfter.lookTowards",{direction:j("beforeAfter.compass.".concat((0,p.D0)(e.point.bearing)))}):null,l=V===e.id;return(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsx)(g,{then:e.then,now:e.now,thenLabel:r,nowLabel:e.now.year?String(e.now.year):I,sliderLabel:j("beforeAfter.sliderLabel"),onFirstInteraction:()=>_(e,"slider")}),e.caption&&(0,n.jsx)("p",{className:"text-sm text-gray-700 leading-relaxed",children:e.caption}),(0,n.jsxs)("div",{className:"space-y-1",children:[(0,n.jsx)(y,{image:e.then,label:R}),(0,n.jsx)(y,{image:e.now,label:I})]}),e.point&&(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,n.jsxs)("button",{type:"button",onClick:()=>S(e),"aria-expanded":l,className:"rounded-full px-3 py-1.5 text-sm font-medium flex items-center gap-2 bg-white text-[#1a2942] border border-gray-200 hover:bg-gray-50 transition-colors",children:[(0,n.jsx)(i.A,{className:"w-4 h-4","aria-hidden":"true"}),j("beforeAfter.standHere")]}),H&&(0,n.jsxs)("button",{type:"button",onClick:()=>D(e),className:"rounded-full px-3 py-1.5 text-sm font-medium flex items-center gap-2 bg-[#1a2942] text-white hover:bg-[#243a5e] transition-colors",children:[(0,n.jsx)(s.A,{className:"w-4 h-4","aria-hidden":"true"}),j("beforeAfter.findTheAngle")]})]}),l&&(0,n.jsxs)("div",{className:"space-y-2",children:[(0,n.jsx)("div",{className:"h-48 rounded-xl overflow-hidden border border-gray-200",children:(0,n.jsx)(b,{point:e.point,site:x,standpointLabel:j("beforeAfter.standHere")}
1)}),(0,n.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2 text-sm",children:[(0,n.jsxs)("span",{className:"text-gray-600",children:[j("beforeAfter.standHereHint"),a?" ".concat(a):""]}),(0,n.jsxs)("a",{href:(0,f.d)(e.point),target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-[#1a2942] font-medium underline",children:[(0,n.jsx)(o.A,{className:"w-4 h-4","aria-hidden":"true"}),j("beforeAfter.directions")]})]})]})]})]},e.id)})]}),A&&(0,n.jsx)(w,{then:A.then,siteId:l,pairId:A.id,title:N("beforeAfter.cameraTitle",{site:d,year:A.then.year?String(A.then.year):R}),hint:(null==(t=A.point)?void 0:t.bearing)!=null?N("beforeAfter.lookTowards",{direction:j("beforeAfter.compass.".concat((0,p.D0)(A.point.bearing)))}):j("beforeAfter.cameraHint"),onClose:Z})]})}},44756:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(95155);r(12115);let a=e=>(0,n.jsxs)("svg",{width:"676",height:"515",viewBox:"0 0 676 515",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,n.jsx)("path",{d:"M51.28 2.71207H55.376V6.80807L155.728 4.76007L198.736 10.9041L251.984 23.1921L288.848 37.5281L321.616 53.9121L335.952 62.1041L346.192 58.0081L381.008 39.5761L411.728 27.2881L438.352 19.0961L473.168 10.9041H485.456L487.504 6.80807L522.32 4.76007H620.624L624.72 2.71207L632.912 6.80807L637.008 19.0961V55.9601L651.344 53.9121L669.776 60.0561L675.92 70.2961V481.944L669.776 492.184L663.632 496.28H616.528V492.184L632.912 483.992L639.056 477.848L645.2 463.512L647.248 406.168H649.296V84.6321L632.912 82.5841L634.96 86.6801V414.36L618.576 402.072L606.288 387.736V31.3841L585.808 33.4321L526.416 35.4801L473.168 43.6721L419.92 58.0081L383.056 74.3921L360.528 86.6801L354.384 90.7761L352.336 129.688L331.856 148.12L329.808 152.216H321.616V90.7761L297.04 78.4881V74.3921L278.608 68.2481L258.128 60.0561L243.792 55.9601L225.36 49.8161L178.256 39.5761L145.488 35.4801L86.096 33.4321L69.712 31.3841L71.76 414.36L100.432 416.408H172.112L213.072 422.552L270.416 438.936L290.896 445.08L292.944 449.176L303.184 451.224L323.664 461.464L321.616 449.176V365.208L329.808 369.304L354.384 393.88V459.416L387.152 445.08L440.4 428.696L493.648 418.456L524.368 414.36L546.896 438.936L548.944 445.08L487.504 451.224L438.352 461.464L421.968 465.56L573.52 467.608L591.952 486.04L604.24 492.184V496.28H393.296L374.864 508.568L356.432 514.712H319.568L297.04 506.52L288.848 502.424V498.328L12.368 496.28L2.12796 492.184L0.
10799561 486.04V68.2481L8.27196 58.0081H41.04L43.088 12.9521L51.28 2.71207ZM26.704 82.5841V469.656H258.128L249.936 465.56L243.792 461.464L211.024 453.272L200.784 451.224L178.256 447.128V445.08L143.44 440.984H49.232L51.28 434.84H43.088L41.04 428.696L43.088 422.552V84.6321L41.04 82.5841H26.704Z",fill:"#0C2C4A"}),(0,n.jsx)("path",{d:"M434.256 123.544L467.024 127.64L495.696 137.88L522.32 154.264L544.848 176.792L561.232 205.464L569.424 232.088L571.472 242.328V275.096L567.376 297.624L557.136 322.2L544.848 342.68V348.824L553.04 359.064L565.328 369.304L571.472 381.592L620.624 430.744L634.96 447.128L639.056 453.272L637.008 471.704L628.816 479.896H612.432L598.096 467.608V463.512L591.952 465.56L589.904 459.416H585.808L571.472 443.032L559.184 428.696L548.944 418.456L516.176 383.64L507.984 379.544L485.456 389.784L464.976 395.928L428.112 397.976H417.872L415.824 395.928L395.344 391.832L370.768 381.592L348.24 365.208L329.808 346.776L313.424 320.152L305.232 299.672L301.136 279.192V242.328L309.328 209.56L319.568 189.08L333.904 170.648L344.144 160.408L360.528 146.072L389.2 131.736L409.68 125.592L434.256 123.544ZM426.064 156.312L405.584 160.408L387.152 168.6L368.72 180.888L354.384 195.224L338 223.896L333.904 240.28V281.24L342.096 305.816L356.432 328.344L378.96 348.824L405.584 361.112L417.872 363.16H454.736L477.264 357.016L497.744 344.728L518.224 326.296L532.56 301.72L538.704 281.24V240.28L530.512 215.704L514.128 191.128H510.032L505.936 182.936H501.84V178.84L477.264 164.504L458.832 158.36L446.544 156.312H426.064Z",fill:"#0C2C49"}),(0,n.jsx)("path",{d:"M632.912 82.5841L649.296 82.5841L651.344 84.6321V459.416H649.296L647.248 354.968H645.2V86.6801L639.056 88.7281L637.008 416.408L632.912 414.36L632.912 82.5841Z",fill:"#1C3A54"}),(0,n.jsx)("path",{d:"M38.992 82.5841L43.088 84.6321V422.552L38.992 428.696L36.944 225.944L38.992 82.5841Z",fill:"#091B2E"}),(0,n.jsx)("path",{d:"M26.704 82.5841L38.992 82.5841L38.992 84.6321H28.7519V467.608H26.7039L26.704 82.5841Z",fill:"#091B2E"}),(0,n.jsx)("path",{d:"M28.7519 84.6321H38.992L30.8 86.68V465.56H28.752L28.7519 84.6321Z",fill:"#0C2D4B"}),(0,n.jsx)("path",{d:"M567.376 373.4L581.712 385.688L596.048 402.072L639.056 445.08L641.104 449.176V471.704L630.864 481.944L618.576 486.04L610.384 483.992L594 467.608V463.512L598.096 463.512L608.336 475.8L612.432 477.848H628.816L634.96 471.704L637.008 453.272L626.768 438.936L567.376 379.544V373.4Z",fill:"#0C1F33"}),(0,n.jsx)("path",{d:"M41.0399 430.744L43.088 434.84L51.2799 436.888L49.232 440.984H143.44L178.256 445.08V447.128H75.8559L49.2319 445.08L41.0399 436.888V430.744Z",fill:"#122A42"}),(0,n.jsx)("path",{d:"M26.7039 467.608L258.128 467.608L258.128 469.656H26.704L26.7039 467.608Z",fill:"#091B2E"}),(0,n.jsx)("path",{d:"M28.752 465.56L249.936 465.56L249.936 467.608H28.7519L28.752 465.56Z",fill:"#0C2D4B"}),(0,n.jsx)("path",{d:"M393.296 494.232H598.096V496.28L393.296 496.28V494.232Z",fill:"#18324C"}),(0,n.jsx)("path",{d:"M575.568 0.664062H596.048L620.624 2.71206L622.672 6.80806H522.32L522.32 4.76007L532.56 2.71206L575.568 0.664062Z",fill:"#0C2036"}),(0,n.jsx)("path",{d:"M647.248 334.488H649.296V406.168L647.248 463.512L645.2 463.512L643.152 402.072V354.968L647.248 354.968V334.488Z",fill:"#1C394C"}),(0,n.jsx)("path",{d:"M63.568 0.664062H114.768L147.536 4.76006V6.80806L55.376 6.80807V2.71207L63.568 0.664062Z",fill:"#0B1F36"}),(0,n.jsx)("path",{d:"M49.2319 2.71207V8.85607L45.1359 12.9521L43.0879 58.0081L41.0399 60.0561H12.368L16.464 55.9601L30.7999 53.9121L38.9919 55.9601V15.0001L45.1359 4.76007L49.2319 2.71207Z",fill:"#0C2035"}),(0,n.jsx)("path",{d:"M421.968 463.512L571.472 465.56V467.608H415.824L421.968 463.512Z",fill:"#18324C"}),(0,n.jsx)("path",{d:"M71.7599 412.312H106.576L155.728 414.36V418.456H86.0959L71.7599 416.408V412.312Z",fill:"#091A3B"})]})},47460:(e,t,r)=>{r.d(t,{V:()=>n});function n(e,t){var r,n;if(!e||0===e.length)return!1;if(1===e.length&&(null==(r=e[0].open)?void 0:r.day)===0&&(null==(n=e[0].open)?void 0:n.time)==="0000"&&void 0===e[0].close)return!0;let a=new Date(new Date().toLocaleString("en-US",{timeZone:t})),l=a.getDay(),i=a.getHours().toString().padStart(2,"0")+a.getMinutes().toString().padStart(2,"0");return e.filter(e=>{var t,r;let n=null==e||null==(t=e.open)?void 0:t.day,a=null==e||null==(r=e.close)?void 0:r.day;return void 0!==n&&void 0!==a&&(n===l||n<a&&l>=n&&l<=a||n>a&&(l>=n||l<=a))}).some(e=>{var t,r,n,a;
1let s=null==e||null==(t=e.open)?void 0:t.time,o=null==e||null==(r=e.close)?void 0:r.time,c=null==e||null==(n=e.open)?void 0:n.day,d=null==e||null==(a=e.close)?void 0:a.day;return void 0!==s&&void 0!==o&&void 0!==c&&void 0!==d&&(c===d?i>=s&&i<o:c>d?l===c?i>=s:l!==d||i<o:l===c?i>=s:l===d?i<o:l>c&&l<d)})}},47916:(e,t,r)=>{r.d(t,{default:()=>o});var n=r(95155),a=r(95740),l=r(74412),i=r(85203),s=r.n(i);function o(e){let{withAudio:t=!1,className:r,label:i,text:o}=e,{translate:c}=(0,l.ot)();return(0,n.jsxs)("aside",{className:s()("rounded-lg border border-gray-200 bg-gray-50 px-4 py-3 text-xs leading-relaxed text-gray-500",r),children:[(0,n.jsxs)("p",{className:"flex items-center gap-1.5 font-semibold uppercase tracking-wide text-gray-400",children:[(0,n.jsx)(a.A,{className:"w-3.5 h-3.5 shrink-0","aria-hidden":"true"}),null!=i?i:c("aiDisclosure.label")]}),(0,n.jsx)("p",{className:"mt-1",children:null!=o?o:c(t?"aiDisclosure.textAndAudio":"aiDisclosure.text")})]})}},64269:(e,t,r)=>{r.d(t,{cn:()=>l});var n=r(2821),a=r(75889);function l(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,a.QP)((0,n.$)(t))}},69593:(e,t,r)=>{r.d(t,{Sf:()=>l,TV:()=>i,x4:()=>a});let n=["free","hours","exterior","limited"];function a(e){return"string"==typeof e&&n.includes(e)?e:null}function l(e){return null==e||"hours"===e}let i={free:{label:"accessFree",note:"accessFreeNote"},exterior:{label:"accessExterior",note:"accessExteriorNote"},limited:{label:"accessLimited",note:"accessLimitedNote"}}},84453:(e,t,r)=>{function n(e){return Number.isNaN(e)?.5:Math.min(1,Math.max(0,e))}function a(e,t){return t.width<=0?.5:n((e-t.left)/t.width)}function l(e){return e.width>0&&e.height>0?e.width/e.height:1.5}r.d(t,{CK:()=>u,D0:()=>s,DH:()=>c,EG:()=>L,Ez:()=>l,W6:()=>o,Wc:()=>h,hm:()=>d,nv:()=>f,t8:()=>a,xv:()=>n});let i=["n","ne","e","se","s","sw","w","nw"];function s(e){return i[Math.round((e%360+360)%360/45)%8]}function o(e,t){var r;return t&&"function"==typeof(null==e||null==(r=e.mediaDevices)?void 0:r.getUserMedia)}function c(e){return Number.isNaN(e)?.5:Math.min(.85,Math.max(.15,e))}function d(e,t,r){if(t<=0||r<=0||e<=0)return{x:0,y:0,width:0,height:0};let n=t,a=n/e;return a>r&&(n=(a=r)*e),{x:(t-n)/2,y:(r-a)/2,width:n,height:a}}function u(e,t,r){if(r.width<=0||r.height<=0||t.width<=0||t.height<=0)return{x:0,y:0,width:0,height:0};let n=Math.max(t.width/r.width,t.height/r.height),a=(t.width-r.width*n)/2,l=(t.height-r.height*n)/2,i=Math.max(0,(e.x-a)/n),s=Math.max(0,(e.y-l)/n),o=Math.min(r.width-i,e.width/n),c=Math.min(r.height-s,e.height/n);return{x:i,y:s,width:Math.max(0,o),height:Math.max(0,c)}}function h(e,t){let r=e=>e.replace(/[^a-z0-9-]+/gi,"-").replace(/^-|-$/g,"").toLowerCase();return"".concat(r(e),"--").concat(r(t),"--now.jpg")}function L(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3,r=e>0?e:1.5,n=Math.round(.012*t),a=Math.round(.06*t);if(r>=1){let e=Math.round(t/r);return{width:t,height:2*e+n+a,then:{x:0,y:0,width:t,height:e},now:{x:0,y:e+n,width:t,height:e},caption:{x:0,y:2*e+n,width:t,height:a},gap:n}}let l=Math.round((t-n)/2),i=Math.round(l/r),s=2*l+n;return{width:s,height:i+a,then:{x:0,y:0,width:l,height:i},now:{x:l+n,y:0,width:l,height:i},caption:{x:0,y:i,width:s,height:a},gap:n}}function f(e,t){return h(e,t).replace(/--now\.jpg$/,"--before-after.jpg")}},85814:(e,t,r)=>{function n(e){let{latitude:t,longitude:r,placeId:n,googleMapsUrl:a,name:l}=e;if(n){let e=encodeURIComponent((null==l?void 0:l.trim())||"".concat(t,",").concat(r));return"https://www.google.com/maps/search/?api=1&query=".concat(e,"&query_place_id=").concat(encodeURIComponent(n))}return a||"https://www.google.com/maps/search/?api=1&query=".concat(t,",").concat(r)}function a(e,t){let r="https://www.google.com/maps/dir/?api=1&destination=".concat(e.latitude,",").concat(e.longitude,"&travelmode=walking");return t&&(r+="&origin=".concat(t.latitude,",").concat(t.longitude)),e.placeId&&(r+="&destination_place_id=".concat(encodeURIComponent(e.placeId))),r}r.d(t,{N:()=>n,d:()=>a})},91226:(e,t,r)=>{r.d(t,{SR:()=>a});var n=r(15239);function a(e){return function(e,t,r){var a,l;let{props:i}=(0,n.getImageProps)({src:e,alt:"",width:640,height:640,quality:50});return(null==(l=i.srcSet)||null==(a=l.split(",")[0])?void 0:a.trim().split(/\s+/)[0])||i.src}(e.thumbnail_url||e.image_url,640,0)}},92275:(e,t,r)=>{r.d(t,{x:()=>o});var n=r(95155);r(12115);var a=r(68276),l=r(20063),i=r(64269),s=r(74412);let o=e=>{let{periodId:t,periods:r,selectedLanguage:o,cityId:c="tavira",siteId:d,className:u="",isSelected:h=!1}=e,L=(0,l.useRouter)(),{translate:f}=(0,s.ot)(),p=r.find(e=>e.id===t);if(!p)return null;let g=(0,a.bT)(p.translations,o,"name"),x=e=>e?e<0?"".concat(Math.abs(e)," ").concat(f("common.bce")):e.toString():"?",m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;3===(e=e.replace("#","")).length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);let r=parseInt(e.substring(0,2),16),n=parseInt(e.substring(2,4),16),a=parseInt(e.substring(4,6),16);return isNaN(r)||isNaN(n)||isNaN(a)?"rgba(200, 190, 170, ".concat(t,")"):"rgba(".concat(r,", ").concat(n,", ").concat(a,", ").concat(t,")")};return(0,n.jsxs)("button",{onClick:()=>{let e="/".concat(o,"/").concat(c,"/period/").concat(t);L.push(e)},className:(0,i.cn)("cursor-pointer rounded-lg px-3 py-1.5 text-sm font-medium","flex flex-col items-center justify-center","transition-all duration-200","shadow-[0_2px_12px_rgba(200,190,170,0.4)]","hover:shadow-[0_4px_20px_rgba(200,190,170,0.7)]","hover:scale-105","active:scale-95","text-gray-600",h&&"ring-2 ring-offset-1",u),style:{backgroundColor:"#FFFFFF",backgroundImage:"linear-gradient(".concat(m(p.color,.15),", ").concat(m(p.color,.15),")"),filter:"drop-shadow(0 1px 2px rgba(0,0,0,0.1))",borderWidth:"1px",borderStyle:"solid",borderColor:p.color,paddingBottom:"0.3rem"},children:[(0,n.jsx)("span",{className:"font-medium font-sans",children:g}),(p.startYear||p.endYear)&&(0,n.jsxs)("span",{className:"text-[10px] mt-0.5 opacity-80 font-sans",children:[x(p.startYear),"-",x(p.endYear)]})]})}}}]);

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.