const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/nativeStorage-3cu859fw.js","assets/rolldown-runtime-nx40z1zs.js","assets/entry.client-mpghtlrl.js"])))=>i.map(i=>d[i]);
try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`f04d4e9c-6da9-4fa6-81cb-f5681eee4f6e`,e._sentryDebugIdIdentifier=`sentry-dbid-f04d4e9c-6da9-4fa6-81cb-f5681eee4f6e`)}catch{}import"./rolldown-runtime-nx40z1zs.js";import{Bc as e,Lh as t}from"./entry.client-mpghtlrl.js";var n=class n{static platformInterop=t(()=>import(`./nativeStorage-3cu859fw.js`),__vite__mapDeps([0,1,2]));async readValue(t){let{getNativeVariable:r}=await n.platformInterop,i=r(t);if(i==null)throw new e(`not-found`,t);try{return JSON.parse(i)}catch{throw new e(`invalid-content`,t)}}async writeValue(e,t){let{setNativeVariable:r}=await n.platformInterop;r(e,JSON.stringify(t))}};export{n as TizenNativePlatformStorageAdaptor};