import{a as n,f as i}from"./3MMtouT7.js";import{t as o}from"./Ce0VRwE1.js";import{s as m,d as c}from"./BTu-2gkj.js";var f=i("<div></div>");function g(t,e){var s=f();o(()=>{m(s,1,`shimmer ${e.classes??""??""}`,"svelte-v69ai"),c(s,"data-pw",typeof e.testId=="string"?e.testId:null)}),n(t,s)}const l=5e3;function p(t){try{sessionStorage.removeItem(t)}catch{}}function v(t,e=l){try{const s=sessionStorage.getItem(t);if(!s)return null;const{data:a,timestamp:r}=JSON.parse(s);return Date.now()-r>e?null:a}catch{return null}}function S(t,e){try{sessionStorage.setItem(t,JSON.stringify({data:e,timestamp:Date.now()}))}catch{}}export{g as S,p as c,v as g,S as s};
