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]=`7697defa-f59f-4221-a3b8-93ee04e76ce6`,e._sentryDebugIdIdentifier=`sentry-dbid-7697defa-f59f-4221-a3b8-93ee04e76ce6`)}catch{}import"./rolldown-runtime-nx40z1zs.js";import"./entry.client-mpghtlrl.js";var e=class{constructor(e){this.logger=e}notifySignIn(e){try{let{ApplicationControl:t,ApplicationControlData:n,application:r}=tizen,i=`${r.getCurrentApplication().appInfo.packageId}.Service`,a=new t(`updateUserInfo`,null,null,null,[new n(`locale`,[e])]);tizen.application.launchAppControl(a,i,()=>this.logger.info(`BG service notified: ${i}`),e=>this.logger.error(`BG service notify failed: ${i} - ${e.message}`))}catch(e){this.logger.error(`notifySignIn failed`,e)}}clearUserData(){try{let{ApplicationControl:e,application:t}=tizen,n=`${t.getCurrentApplication().appInfo.packageId}.Service`,r=new e(`clearUserData`);tizen.application.launchAppControl(r,n,()=>this.logger.info(`BG service data cleared: ${n}`),e=>this.logger.error(`BG service clear failed: ${n} - ${e.message}`))}catch(e){this.logger.error(`clearUserData failed`,e)}}};export{e as TizenBackgroundServiceAdaptor};