PageSourceSearch

https://content.www.wellcomecollection.org/_next/static/chunks/5912.956f86678de9dc90.js

js wellcomecollection.org collected 2026-09-24 08:28:06 UTC 2,527 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5912],{35912:(e,o,t)=>{t.r(o),t.d(o,{default:()=>w});var r=t(6029),i=t(85023),s=t(86796),n=t(74969),a=t(69342),l=t(9329);class p{constructor(e=null,o={}){if(this.apiKey=e,this.options=o,"undefined"==typeof window)throw Error("google-maps is supported only in browser environment")}load(){return void 0!==this.api?Promise.resolve(this.api):void 0!==this.loader?this.loader:(window[p.CALLBACK_NAME]=()=>{if(this.api=window.google,void 0===this.resolve)throw Error("Should not happen");this.resolve(this.api)},window.gm_authFailure=()=>{if(void 0===this.reject)throw Error("Should not happen");this.reject(Error("google-maps: authentication error"))},this.loader=new Promise((e,o)=>{this.resolve=e,this.reject=o;let t=document.createElement("script");t.src=this.createUrl(),t.async=!0,t.onerror=e=>o(e),document.head.appendChild(t)}))}createUrl(){let e=[`callback=${p.CALLBACK_NAME}`];for(let o in this.apiKey&&e.push(`key=${this.apiKey}`),this.options)if(this.options.hasOwnProperty(o)){let t=this.options[o];"version"===o&&(o="v"),"libraries"===o&&(t=t.join(",")),e.push(`${o}=${t}`)}return`https://maps.googleapis.com/maps/api/js?${e.join("&")}`}}p.CALLBACK_NAME="_dk_google_maps_loader_cb";var d=t(55729),h=t(79945);function c(){let e=(0,l._)(["\n    padding-top: 56.25%;\n  "]);return c=function(){return e},e}let u={version:"quartely"},m=h.Ay.div.withConfig({componentId:"sc-876f7765-0"})(["position:relative;width:100%;padding-top:100%;",""],e=>e.theme.media("sm")(c())),g=e=>{let{title:o,latitude:t,longitude:i}=e,s=(0,d.useRef)(null),[n,a]=(0,d.useState)();return(0,d.useEffect)(()=>{a(new p("AIzaSyCcrz-MyrCbbJNrpFpPXxUFl16FFGmOBKs",u))},[]),(0,d.useEffect)(()=>{if(n)return n.load().then(e=>{let r=s.current,n={lat:t,lng:i},a={center:n,zoom:15,mapTypeId:e.maps.MapTypeId.ROADMAP,zoomControl:!0,zoomControlOptions:{style:e.maps.ZoomControlStyle.SMALL}},l=new e.maps.Map(r,a);new e.maps.Marker({position:n,map:l,title:o})}),()=>{var e;(null==(e=window.google)?void 0:e.maps)&&(delete google.maps,document.querySelectorAll("script").forEach(e=>{["googleapis.com","maps.gstatic.com","earthbuilder.googleapis.com"].includes(new URL(e.src).hostname)&&e.remove()}))}},[n]),(0,r.jsx)(m,{"data-component":"map",ref:s})},w=e=>{let{slice:o,context:t}=e,l=(0,a.Vh)(o);return(0,r.jsx)(n.A,{$sliceType:l.type,children:(0,r.jsx)(i.A,{condition:!!t.gridSizes,wrapper:e=>(0,r.jsx)(s.Bf,{gridSizes:t.gridSizes,children:e}),children:(0,r.jsx)(g,{...l.value})})})}}}]);

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.