(()=>{let t,e;const o=new shopSDK.Promise((t=>{shopSDK.register(["track"],(e=>{let{track:o}=e;o.getSessionId().then(t)}))})).then((e=>t=e));new shopSDK.Promise((t=>{shopSDK.register(["track"],(e=>{let{track:o}=e;o.getVisitorId().then(t)}))})).then((t=>e=t));window.getSessionId=()=>o;const r={actionsTrack(){for(var t=arguments.length,e=new Array(t),o=0;o{shopSDK.register(["track"],(async o=>{let{track:r}=o;const s=await r.actionsTrack(...e);t(s)}))}))},flagSession(){for(var t=arguments.length,e=new Array(t),o=0;o{shopSDK.register(["track"],(async o=>{let{track:r}=o;const s=await r.flagSession(...e);t(s)}))}))},getSessionId(){if(setTimeout((()=>{throw new Error("[shopSDK] This api (getSessionId) does not support immediate invocation")})),!t)throw new Error("This api (getSessionId) does not support immediate invocation");return t},getUuid(){if(setTimeout((()=>{throw new Error("[shopSDK] This api (getUuid) does not support immediate invocation")})),!getUuid)throw new Error("This api (getUuid) does not support immediate invocation");return e}};window.shopSDK||(window.shopSDK={}),shopSDK.track=r})();