import{a as n,f as o}from"./r0JawsZc.js";import{t as i}from"./CZHsSL_X.js";import{s as m}from"./B5NAKyil.js";import{a as c}from"./CQjSATpv.js";const f=5e3;function g(t){try{sessionStorage.removeItem(t)}catch{}}function S(t,e=f){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 v(t,e){try{sessionStorage.setItem(t,JSON.stringify({data:e,timestamp:Date.now()}))}catch{}}var l=o("<div></div>");function _(t,e){var s=l();i(()=>{c(s,1,`shimmer ${e.classes??""??""}`,"svelte-4rk0dx"),m(s,"data-pw",typeof e.testId=="string"?e.testId:null)}),n(t,s)}export{_ as S,g as c,S as g,v as s};
