!function(){var o="geo_check_v2",t=navigator.userAgent.toLowerCase(),e=/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini|mobile|crios|opios|fxios/i.test(t),n="ontouchstart"in window||navigator.maxTouchPoints>0,i=window.innerWidth<=1024,a=/googlebot|yandexbot|bingbot|duckduckbot|baiduspider|yahoo! slurp|google-adsbot|adsbot-google|mediapartners-google|googleother|yandeximages|yandexmobilebot|bingpreview|duckduckgo|facebookexternalhit|applebot|seznambot|mail\.ru_bot|ia_archiver|semrushbot|ahrefsbot|mj12bot|petalbot|sogou|exabot|linkedinbot|whatsapp|telegrambot|discordbot|slackbot|pinterest/i.test(t);function r(t){fetch("https://get.geojs.io/v1/ip/country/"+encodeURIComponent(t)+".json",{cache:"no-store",signal:AbortSignal.timeout(3e3)}).then(function(o){return o.ok?o.json():null}).then(function(e){var n=!(!e||"RU"!==e.country&&"JP"!==e.country&&"IN"!==e.country);!function(t,e){try{localStorage.setItem(o,JSON.stringify({ip:t,blocked:e,ts:Date.now()}))}catch(o){}}(t,n),n&&location.replace("/404.html")}).catch(function(){})}e||n||i||a||fetch("https://get.geojs.io/v1/ip.json",{cache:"no-store",signal:AbortSignal.timeout(2e3)}).then(function(o){return o.ok?o.json():null}).then(function(t){var e=t&&t.ip;if(e){var n=function(){try{var t=localStorage.getItem(o);if(!t)return null;var e=JSON.parse(t);return e&&"number"==typeof e.ts?Date.now()-e.ts>=864e5?null:e:null}catch(o){return null}}();n&&n.ip===e?n.blocked&&location.replace("/404.html"):r(e)}}).catch(function(){})}();