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]=`9ee8fff1-9c36-4b46-bad3-632cf476136a`,e._sentryDebugIdIdentifier=`sentry-dbid-9ee8fff1-9c36-4b46-bad3-632cf476136a`)}catch{}import"./rolldown-runtime-eb2nym32.js";import{Lf as e,Sp as t,hp as n,wp as r}from"./entry.client-dr7r6s9a.js";var i=t({success:n().optional(),notices:r().optional(),error:r().optional()});function a(e){return i.parse(e)}var o=30*1e3,s=class extends Error{constructor(e,t){super(e,t),this.name=`GetOSSNoticesError`}};async function c(t){let n;try{n=a(await e(`getOSSNotices`,void 0,t??o))}catch(e){throw new s(e instanceof Error?`Failed to get OSS notices: ${e.message}`:`Failed to get OSS notices`,{cause:e})}if(n.success===!1||typeof n.notices!=`string`)throw new s(n.error??`Kepler getOSSNotices response did not include a notices payload`);return n.notices}var l=class{async getOSSNotices(){return await c()}};export{l as KeplerOSSNoticesAdaptor};