PageSourceSearch

https://theoliveronlasalle.com/wp-content/themes/julepandjune/bloc…/view.js?ver=dce4fd2f293a9e0aa84f

js theoliveronlasalle.com collected 2026-10-04 07:59:30 UTC 3,067 bytes, 1 lines download raw bytes

1!function(){function e(){try{if(window.aF3MapAPIVars&&window.aF3MapAPIVars.snazzyMaps){const e=JSON.parse(window.aF3MapAPIVars.snazzyMaps);if(Array.isArray(e)&&e.length>0)return e}}catch(e){console.warn("[map-single-location] Failed to parse snazzy maps style:",e)}return[]}async function t(t){const n=t.getAttribute("data-address")||"",o=parseInt(t.getAttribute("data-zoom")||"15",10),a=t.getAttribute("data-marker")||"",r=t.getAttribute("data-map-marker-position")||"Center",i=function(e){try{return JSON.parse(e.getAttribute("data-additional-main-markers")||"[]")}catch(e){return[]}}(t),s="undefined"!=typeof window&&window.aF3MapAPIVars&&window.aF3MapAPIVars.apiKey||"";if(s)try{const d=await function(e){return new Promise((t,n)=>{if(window.google&&window.google.maps)return void t(window.google.maps);const o=document.querySelector("script[data-jj-gmaps]");if(o)return o.addEventListener("load",()=>t(window.google.maps)),void o.addEventListener("error",n);const a=document.createElement("script");a.src=`https://maps.googleapis.com/maps/api/js?key=${encodeURIComponent(e||"")}`,a.async=!0,a.defer=!0,a.setAttribute("data-jj-gmaps","1"),a.onload=()=>t(window.google.maps),a.onerror=n,document.head.appendChild(a)})}(s);if(!n)return void(t.innerHTML='<div style="display:flex;align-items:center;justify-content:center;height:100%;color:#6b7280">No address provided</div>');const c=await function(e,t){return new Promise((n,o)=>{(new e.Geocoder).geocode({address:t},(e,t)=>{"OK"===t&&e&&e[0]?n(e[0].geometry.location):o(new Error("Geocoding failed: "+t))})})}(d,n),l=function(e,t,n,o){const a=window.innerWidth;let r;r=a>1200?.05:a>=800?.03:.015;let i=0;switch(t){case"Left":i=r;break;case"Right":i=-r}return 15!==n||"Left"!==t&&"Right"!==t||(i*=.4),16!==n||"Left"!==t&&"Right"!==t||(i*=.2),new o.LatLng(e.lat()+0,e.lng()+i)}(c,r,o,d),p=t.querySelector(".jj-map-canvas")||t;if(p!==t)try{t.style.removeProperty("overflow"),t.style.removeProperty("position"),t.style.removeProperty("height")}catch(e){}const w=new d.Map(p,{center:l,zoom:o,disableDefaultUI:!0,styles:e()}),m={position:c,map:w};if(a&&(m.icon={url:a,scaledSize:new d.Size(56,56),anchor:new d.Point(28,56)}),new d.Marker(m),i&&i.length>0){const e=new d.Geocoder;i.forEach((t,n)=>{t.address&&e.geocode({address:t.address},(e,o)=>{if("OK"===o&&e[0]){let o;const r=56;t.icon?o={url:t.icon,scaledSize:new d.Size(r,r),anchor:new d.Point(r/2,r)}:a&&(o={url:a,scaledSize:new d.Size(r,r),anchor:new d.Point(r/2,r)}),new d.Marker({position:e[0].geometry.location,map:w,icon:o,title:`Additional Location ${n+1}`})}else console.warn(`[map-single-location] Geocoding additional marker ${n+1} failed`,{status:o,address:t.address})})})}}catch(e){console.error("[map-single-location]",e),t.innerHTML='<div style="display:flex;align-items:center;justify-content:center;height:100%;color:#c00">Map failed to load</div>'}else t.remove()}function n(){document.querySelectorAll(".wp-block-julepandjune-map-single-location").forEach(t)}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",n):n()}();

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.