"use strict";(self.webpackChunkflow_web_extension=self.webpackChunkflow_web_extension||[]).push([["66109"],{882514:function(e,o,r){r.r(o),r.d(o,{ExtSharkMessageErrorPlugin:()=>g});var s=r(468461),a=r(932842),n=r(383154),l=r(918721),t=r(819412),i=r(78205),d=(0,s.Z)(()=>{(0,a.TB)("samanthaChatProtocolStore").then(e=>{e.setState({samanthaChatTaskMap:{}})}),(0,t.YB)("logout")},5e3,{leading:!0});class g{constructor(){this.handleSendingMessageError=e=>{var o,r,s,a,t;i.k.persist.info({eventName:"message-shark-error",meta:{messageId:e.message_id,message:null===(o=e.error_details)||void 0===o?void 0:o.error_message,logId:null===(r=e.local_info)||void 0===r?void 0:r.log_id,error_code:null===(s=e.error_details)||void 0===s?void 0:s.error_code}}),n.FN.warning({content:null===(a=e.error_details)||void 0===a?void 0:a.error_message,showClose:!1,zIndex:999999}),(null===(t=(0,l.hO)("shark_error"))||void 0===t?void 0:t.logout)&&d()}}}}}]);
//# sourceMappingURL=66109.js.map