1import{t as e}from"./2c1ab0fe.RaLGJvq2.js";import{P as t}from"./711bf263.Bng0aqrK.js";import{B as i}from"./7b900b08.Cy47tHoj.js";import"./e12db40c.CeuzD2R-.js";import"./f67abd2c.BTHhdhoM.js";import"./app.CPIYcwpp.js";import"./5c5c2e96.DctAGUtF.js";import"./6f2620f5.bY_JOuNn.js";class s extends i{#e;#t=!1;#i;constructor(e){super(e),this.version=e.embed.protocol.version,this.#e=new t({observability:e.observability}),this.observability.bridgeInitialized("Embed bridge initialized with legacy protocol")}async ready(){}async start(){this.#s()}async resumeFromReceipt(){this.#s()}async complete(){}error(e){}cleanup(){this.#e.cleanup(),this.#i?.()}unstable_providePreactContext(){}#s(){this.#i=e(()=>{const e=this.context.checkout.latestReceipt.value;e&&"processed"===e.status&&!e.redirectUrl&&(this.#t?this.observability.completedEventSkipped():(this.#t=!0,this.observability.completedEventEmitted(),this.complete(),this.cleanup()))})}}export{s as LegacyClient};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.