PageSourceSearch

https://www.vacaciones-bretana.com/app/dist/crt-bretagne/addons/wo…/get-there-link-component.236c7b036d.mjs

js vacaciones-bretana.com collected 2026-09-26 08:45:19 UTC 1,009 bytes, 1 lines download raw bytes

1import o from"woody_library_woody_component";class s extends o{#n={};#e=null;#t=null;constructor(){super()}init(n){super.init(n),this.style.display="contents",this.config=Object.assign(this.#n,this.config),this.addEventListener("click",t=>{this.openReveal()}),this.addEventListener("keyup",t=>{(t.key==="Enter"||t.key==="Space")&&this.openReveal()})}async openReveal(){if(!this.#e){this.#t=Math.random().toString(16).slice(2);const e=document.createElement("woody-reveal");if(e.setAttribute("id",this.#t),document.body.appendChild(e),this.#e=document.getElementById(this.#t),!this.#e)throw new Error("GetThereLinkComponent - no reveal found")}await customElements.whenDefined("woody-reveal"),this.#e.setContent(null),this.#e.open();const n=parseFloat(this.dataset.lat),t=parseFloat(this.dataset.lng);fetch(`/wp-json/woody/render/get-there-links?lat=${n}&lng=${t}`).then(e=>e.json()).then(e=>{this.#e.setContent(e)}).catch(e=>{console.warn("GetThereLinkComponent - render error : ",e)})}}export{s as default};

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.