PageSourceSearch

https://www.interlaken.swiss/dist/js/event-bus-l3J59A_H.js

js interlaken.swiss collected 2026-09-25 00:14:43 UTC 715 bytes, 1 lines download raw bytes

1var e=class{constructor(e={}){this.events=e}on(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)this.on(e[n],t);this.events[e]=this.events[e]||[];let n=this.events[e].push(t)-1;return{remove(){delete this.events[e][n]}}}emit(e,...t){e.forEach(e=>{this.events[e]&&this.events[e].forEach(e=>{e(...t)})})}},t=class{constructor(t){this.components={},this.events=new e(t.events)}on(e,t){this.events.on(e,t)}emit(e){this.events.emit(e,this)}mount(e={}){this.emit([`before.mount`]),Object.keys(e).forEach(t=>{typeof e[t]==`function`&&(this.components[t]=e[t](this,this.components,this.events),typeof this.components[t].mount==`function`&&this.components[t].mount())}),this.emit([`after.mount`])}};export{t as n,e as t};

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.