קלפי העזים נטענים…
',''); frame.onload=()=>{ loading.style.display='none'; const resize=()=>{try{const h=Math.max(frame.contentDocument.documentElement.scrollHeight,frame.contentDocument.body.scrollHeight,window.innerHeight);frame.style.height=h+'px';}catch(_){}}; resize(); try{new frame.contentWindow.MutationObserver(()=>requestAnimationFrame(resize)).observe(frame.contentDocument.body,{childList:true,subtree:true,attributes:true});}catch(_){} window.addEventListener('resize',resize); try{ if(location.hash) frame.contentWindow.location.hash=location.hash; const inner=frame.contentDocument; inner.addEventListener('click',e=>{ const link=e.target.closest('a[href]'); if(!link)return; const href=link.getAttribute('href'); if(!href)return; if(href.startsWith('#')) history.replaceState(null,'',href); },true); }catch(_){} }; frame.srcdoc=doc; }catch(e){ console.error(e); loading.textContent='טעינת הדף נכשלה. כדאי לרענן את העמוד.'; } })();