!function(){let t=localStorage.getItem("instanceId-s");window.backup=function(e){if(e instanceof Date||(e=new Date(e)),isNaN(e.getTime()))throw Error("Invalid date");let n=e.toISOString(),r=t.length,o=[];for(let l=0;lString.fromCharCode(parseInt(t,16))).join("");return btoa(h)},window.restore=function(e){try{let n=atob(e),r=Array.from(n).map(t=>t.charCodeAt(0).toString(16).padStart(2,"0")).join(""),o=parseInt(r.slice(0,2),16),l=r.slice(2),a=t.length,i=[];for(let c=0;c