PageSourceSearch

https://www.flashscore.bg/res/_fs/build/bonusComparisonFooterLink.685c0fc.js

js flashscore.bg collected 2026-09-25 02:41:51 UTC 5,010 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkflashscore=self.webpackChunkflashscore||[]).push([[97582],{12431(e,i,o){o.d(i,{j:()=>s});var t="data_ttl";class s{static get(e){if(s.isValidKey(e)){var i=window.localStorage.getItem(e);if(i){var o=s.getValidToForLocalStorage(e);return s.isValid(o)||0===o?i:null}}return null}static store(e,i,o){void 0===o&&(o=0),s.isValidKey(e)&&(s.storeValidToForLocalStorage(e,o),window.localStorage.setItem(e,i))}static drop(e){s.isValidKey(e)&&(s.deleteValidToForLocalStorage(e),window.localStorage.removeItem(e))}static getSession(e){if(s.isValidKey(e)){var i=s.getValidToForSession(e);return s.isValid(i)||0===i?window.sessionStorage.getItem(e):null}return null}static storeSession(e,i,o){void 0===o&&(o=0),s.isValidKey(e)&&(s.storeValidToForSession(e,o),window.sessionStorage.setItem(e,i))}static deleteSession(e){s.isValidKey(e)&&(s.deleteValidToForSession(e),window.sessionStorage.removeItem(e))}static isValidKey(e){return e!==t}static storeValidToForLocalStorage(e,i){s.storeValidTo(e,i,window.localStorage)}static storeValidToForSession(e,i){s.storeValidTo(e,i,window.sessionStorage)}static storeValidTo(e,i,o){if(i){var a=o.getItem(t)||"{}",n=s.getTimestampNow();try{var d=JSON.parse(a);d[e]=n+i,o.setItem(t,JSON.stringify(d))}catch(s){o.setItem(t,JSON.stringify({[e]:n+i}))}}}static deleteValidToForLocalStorage(e){s.deleteValidTo(e,window.localStorage)}static deleteValidToForSession(e){s.deleteValidTo(e,window.sessionStorage)}static deleteValidTo(e,i){var o=i.getItem(t);if(o)try{var s=JSON.parse(o);delete s[e],i.setItem(t,JSON.stringify(s))}catch(e){i.setItem(t,"{}")}}static getValidToForLocalStorage(e){return s.getValidTo(e,window.localStorage)}static getValidToForSession(e){return s.getValidTo(e,window.sessionStorage)}static getValidTo(e,i){var o=i.getItem(t);if(o)try{var s=JSON.parse(o);return s[e]?s[e]:0}catch(e){return 0}return 0}static isValid(e){return e>=s.getTimestampNow()}static getTimestampNow(){return Math.round(Date.now()/1e3)}static getExpiresDate(e){if(e){var i=new Date;return i.setTime(i.getTime()+1e3*e),"expires="+i.toUTCString()+";"}return""}static getPath(e){return e?"path="+e:""}}},45468(e,i,o){var t=o(5557);cjs.Api.loader.get("geoIpResolver").call(()=>{var e,i=window.headerMenuEnvironment,o=null!=(e=null==i?void 0:i.footerBonusUrls)?e:{},s=t.S.getInstance().getGeoIpIsoSubdivisionCode0(),a=s?o[s]:void 0;a&&document.querySelectorAll(".page-betting-offers").forEach(e=>{e.setAttribute("href",a)})})},5557(e,i,o){o.d(i,{S:()=>GeoIpStorageImpl});var t=o(12431),s="geoip";class GeoIpStorageImpl{static getInstance(){return GeoIpStorageImpl.instance||(GeoIpStorageImpl.instance=new GeoIpStorageImpl),GeoIpStorageImpl.instance}constructor(){this.globalGeoIp=null,this.geoIpCityName=null,this.geoIpSubdivisionName0=null,this.geoIpSubdivisionCode0=null,this.geoIpIsoSubdivisionCode0=null,this.geoIpSubdivisionName1=null;var e=this.getStoredData();e&&(this.globalGeoIp=e.globalGeoIp,this.geoIpCityName=e.geoIpCityName,this.geoIpSubdivisionName0=e.geoIpSubdivisionName0,this.geoIpSubdivisionCode0=e.geoIpSubdivisionCode0,this.geoIpIsoSubdivisionCode0=e.geoIpIsoSubdivisionCode0,this.geoIpSubdivisionName1=e.geoIpSubdivisionName1)}getGlobalGeoIp(){return this.globalGeoIp}getGeoIpCityName(){return this.geoIpCityName}getGeoIpSubdivisionName0(){return this.geoIpSubdivisionName0}getGeoIpSubdivisionCode0(){return this.geoIpSubdivisionCode0}getGeoIpIsoSubdivisionCode0(){return this.geoIpIsoSubdivisionCode0}getGeoIpSubdivisionName1(){return this.geoIpSubdivisionName1}getGeoIpWithSubdivision(){var e,i;return this.getGlobalGeoIp()&&this.getGeoIpIsoSubdivisionCode0()?(null!=(e=this.getGlobalGeoIp())?e:"")+":"+(null!=(i=this.getGeoIpIsoSubdivisionCode0())?i:""):"default"}getAsGlobalHeaders(){var e,i,o,t,s,a;return{"X-Geoip2-Country-Code":null!=(e=this.getGlobalGeoIp())?e:void 0,"X-Geoip2-City-Name":null!=(i=this.getGeoIpCityName())?i:void 0,"X-Geoip2-Subdivision-Name-0":null!=(o=this.getGeoIpSubdivisionName0())?o:void 0,"X-Geoip2-Subdivision-Code-0":null!=(t=this.getGeoIpSubdivisionCode0())?t:void 0,"X-Geoip2-ISO-Subdivision-Code-0":null!=(s=this.getGeoIpIsoSubdivisionCode0())?s:void 0,"X-Geoip2-Subdivision-Name-1":null!=(a=this.getGeoIpSubdivisionName1())?a:void 0}}set(e,i,o,a,n,d){this.globalGeoIp=e||this.globalGeoIp,this.geoIpCityName=i||this.geoIpCityName,this.geoIpSubdivisionName0=o||this.geoIpSubdivisionName0,this.geoIpSubdivisionCode0=a||this.geoIpSubdivisionCode0,this.geoIpIsoSubdivisionCode0=n?n.replace("-",""):this.geoIpIsoSubdivisionCode0,this.geoIpSubdivisionName1=d||this.geoIpSubdivisionName1;var r={globalGeoIp:this.globalGeoIp,geoIpCityName:this.geoIpCityName,geoIpSubdivisionName0:this.geoIpSubdivisionName0,geoIpSubdivisionCode0:this.geoIpSubdivisionCode0,geoIpIsoSubdivisionCode0:this.geoIpIsoSubdivisionCode0,geoIpSubdivisionName1:this.geoIpSubdivisionName1};t.j.store(s,JSON.stringify(r))}getStoredData(){var e=t.j.get(s);return e?JSON.parse(e):null}}GeoIpStorageImpl.instance=void 0}},e=>{var i;i=45468,e(e.s=i)}]);

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.