"use strict";(self.webpackChunk_flagship_io_js_sdk=self.webpackChunk_flagship_io_js_sdk||[]).push([[581],{581:(s,i,a)=>{a.r(i),a.d(i,{sendFsHitToQA:()=>o,sendMessageToIframe:()=>t,sendVisitorAllocatedVariations:()=>e,sendVisitorExposedVariations:()=>n});var _=a(629),A=a(429);function t(s){window?.frames?.ABTastyQaAssistant&&(0,_.isBrowser)()&&window.frames.ABTastyQaAssistant.postMessage(s,"*")}function e(s){(0,_.isBrowser)()&&(window.flagship={...window.flagship,visitorVariations:s},t({name:A.MSG_NAME_TO_IFRAME.FsUpdateVisitorAllocatedVariation,value:s}))}function n(s){t({name:A.MSG_NAME_TO_IFRAME.FsVisitorExposedVariation,value:s})}function o(s){t({name:A.MSG_NAME_TO_IFRAME.FsHIT,value:s.map((s=>({...s,timestamp:Date.now()-s.qt})))})}},429:(s,i,a)=>{var _,A,t;a.d(i,{INTERNAL_EVENTS:()=>t,MSG_NAME_FROM_IFRAME:()=>_,MSG_NAME_TO_IFRAME:()=>A}),function(s){s.QaAssistantClose="ABTASTY_QA_ASSISTANT_CLOSE",s.FsApplyForcedVariations="FS_APPLY_FORCED_VARIATIONS",s.FsResetForcedVariations="FS_RESET_FORCED_VARIATIONS",s.FsQaAssistantReady="FS_QA_ASSISTANT_READY",s.MinimizeQaAssistantClose="ABTASTY_QA_MINIMIZE_QA_ASSISTANT_CLOSE",s.FsTriggerRender="FS_TRIGGER_RENDER"}(_||(_={})),function(s){s.FsUpdateVisitorAllocatedVariation="FS_UPDATE_VISITOR_ALLOCATED_VARIATION",s.FsVisitorExposedVariation="FS_VISITOR_EXPOSED_VARIATION",s.FsHIT="FS_HIT"}(A||(A={})),function(s){s.FsTriggerRendering="FS_TRIGGER_RENDERING"}(t||(t={}))}}]);
//# sourceMappingURL=581.7854f04da032943d5a63.js.map