PageSourceSearch

https://www.bblat.se/assets/rev/js/geoguessr-module-ZAINHMOD.js

js bblat.se collected 2026-10-02 12:15:54 UTC 1,644 bytes, 2 lines download raw bytes

1import{j as l,l as a,n as i}from"./chunk-VJGBCIFP.js";import"./chunk-XCPXRTXT.js";import"./chunk-XJLSI5BW.js";import"./chunk-ZOYOJ6FT.js";import"./chunk-6KHOHYTW.js";var o={major:9,minor:0,patch:73},s=class{constructor(e){this.element=e,this._id=this.element.dataset.id,this._isSample=!1,this._init()}_init(){window.addEventListener("message",this._handleMessage.bind(this)),this._blocker=this.element.querySelector(".geoguessr__blocker"),this._iframe=this.element.querySelector("iframe"),l&&!i(o)&&this._showIOS()}_handleMessage(e){if(e.origin!=="https://www.geoguessr.com"||typeof e.data!="string")return;switch(JSON.parse(e.data).type){case"GameStarted":this._iframe.src=this._getUrl(this._isSample?"game/sample":"game"),this._toggleFullscreen(!0);break;case"GameAborted":case"GameFinished":this._toggleFullscreen(!1);break;case"ToggleFullscreen":this._toggleFullscreen();break;case"FreeRoundCompleted":this._toggleFullscreen(!1),this._showPaywall();break}}_getUrl(e){return`https://geoguessr.com/partners/${this._id}${e?"/"+e:""}`}_toggleFullscreen(e){e?this.element.classList.add("geoguessr--fullscreen"):e===!1?this.element.classList.remove("geoguessr--fullscreen"):this.element.classList.toggle("geoguessr--fullscreen")}_showPaywall(){let e=a?"app":"web",r=this.element.querySelector(`template[data-name="${e}"]`).content.cloneNode(!0);this._blocker.textContent="",this._blocker.appendChild(r)}_showIOS(){let t=this.element.querySelector('template[data-name="ios-app-version"]').content.cloneNode(!0);this._blocker.textContent="",this._blocker.appendChild(t)}};export{s as default};
2//# sourceMappingURL=geoguessr-module-ZAINHMOD.js.map

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.