"use strict";(self.webpackChunk_flagship_io_js_sdk=self.webpackChunk_flagship_io_js_sdk||[]).push([[618],{4618:(s,i,a)=>{a.r(i),a.d(i,{sendFsHitToQA:()=>o,sendMessageToIframe:()=>e,sendVisitorAllocatedVariations:()=>A,sendVisitorExposedVariations:()=>n});var t=a(1358),_=a(2799);function e(s){window?.frames?.ABTastyQaAssistant&&(0,t.isBrowser)()&&window.frames.ABTastyQaAssistant.postMessage(s,"*")}function A(s){(0,t.isBrowser)()&&(window.flagship={...window.flagship,visitorVariations:s},e({name:_.MSG_NAME_TO_IFRAME.FsUpdateVisitorAllocatedVariation,value:s}))}function n(s){e({name:_.MSG_NAME_TO_IFRAME.FsVisitorExposedVariation,value:s})}function o(s){e({name:_.MSG_NAME_TO_IFRAME.FsHIT,value:s.map((s=>({...s,timestamp:Date.now()-s.qt})))})}},2799:(s,i,a)=>{a.d(i,{INTERNAL_EVENTS:()=>e,MSG_NAME_FROM_IFRAME:()=>t,MSG_NAME_TO_IFRAME:()=>_});let t=function(s){return 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",s}({}),_=function(s){return s.FsUpdateVisitorAllocatedVariation="FS_UPDATE_VISITOR_ALLOCATED_VARIATION",s.FsVisitorExposedVariation="FS_VISITOR_EXPOSED_VARIATION",s.FsHIT="FS_HIT",s}({}),e=function(s){return s.FsTriggerRendering="FS_TRIGGER_RENDERING",s}({})}}]);
//# sourceMappingURL=618.e9648d0f41b2ae723378.js.map