/* OK ITHAKI R10F42 — single app URL/version owner */
(()=>{'use strict';const V='249526r10f42';window.ITHAKI_ACTIVE_VERSION=V;window.ITHAKI_R10F42_VERSION_OWNER_READY=true;const rr=history.replaceState.bind(history),pp=history.pushState.bind(history);function fix(x){const u=new URL(x==null?location.href:String(x),location.href);if(u.origin===location.origin||/appassets\.androidplatform\.net$/i.test(u.hostname)){u.searchParams.set('v',V);const l=u.searchParams.get('lang');if(l&&!['el','en'].includes(l))u.searchParams.set('lang','el')}return u.toString()}history.replaceState=(a,b,c)=>rr(a,b,c==null?c:fix(c));history.pushState=(a,b,c)=>pp(a,b,c==null?c:fix(c));function repair(){try{const u=new URL(location.href);if(u.searchParams.get('v')!==V)rr(history.state,'',fix(u));document.documentElement.dataset.ithakiVersion=V;let m=document.querySelector('meta[name="ok-ithaki-active-version"]');if(!m){m=document.createElement('meta');m.name='ok-ithaki-active-version';document.head.appendChild(m)}m.content=V}catch(_e){}}repair();addEventListener('pageshow',repair);addEventListener('popstate',repair);setInterval(repair,1500);})();
