var story={Get:function(n){const t=n.getAttribute("data-url");n.style.display="none";this.AjaxRequest(t,"stories_list")},AjaxRequest:function(n,t){const i=document.getElementById("stories_loader"),r=document.getElementById(t),u=r.innerHTML;i.style.display="";fetch(n).then(n=>{if(!n.ok)throw new Error("Network response was not ok");return n.text()}).then(n=>{r.innerHTML=u+n}).catch(n=>{console.error("Fetch error:",n)}).finally(()=>{i.style.display="none"})}}