"use strict";(self.webpackChunkflow_web_extension=self.webpackChunkflow_web_extension||[]).push([["7062"],{224107:function(e,t,l){l.d(t,{T:()=>c});var a=l(203210),o=l(290162),c=()=>(0,o.G)("useLocation",a.TH)()},571399:function(e,t,l){l.d(t,{S0:()=>r});var a=l(837222),o=l(531484),c=l(698127),n=l(706790),s=l(497176),i={batchDownloadSelected:!1,isAllSelectChecked:!1,selectedImageUrlWithMessageList:[]},r=(0,o.Ue)()((0,a.XR)((e,t)=>(0,n._)((0,c._)({},i),{onUpdateBatchDownloadSelected:t=>{e((0,s.Uy)(e=>{e.batchDownloadSelected=t}))},onUpdateAllSelectChecked:t=>{e((0,s.Uy)(e=>{e.isAllSelectChecked=t}))},toggleImageUrl:(l,a)=>{var o=t().selectedImageUrlWithMessageList;e({selectedImageUrlWithMessageList:o.map(e=>e.url).includes(l)?o.filter(e=>e.url!==l):[...o,{url:l,message:a}]})},clearSelectedImageUrl:()=>{e((0,s.Uy)(e=>{e.selectedImageUrlWithMessageList=[]}))},checkAllImage:t=>{e((0,s.Uy)(e=>{e.selectedImageUrlWithMessageList=t}))}})))},634771:function(e,t,l){l.r(t),l.d(t,{BatchDownloadFooterPlugin:()=>_,BatchDownloadToolbar:()=>m});var a=l(771197),o=l(652983),c=l(583753),n=l(698127),s=l(397458),i=l(233434),r=l(571399),d=l(508175),u=l(224107),h=l(932842),g=e=>function(t){var l=(0,u.T)(),[a]=(0,r.S0)(e=>[e.onUpdateBatchDownloadSelected],i.X);return(0,d.Z)(()=>{var e,t,o;(null===(e=l.state)||void 0===e?void 0:e.enter_from)&&["chat_item_menu_share","chat_item_menu_collection"].includes(null===(t=l.state)||void 0===t?void 0:t.enter_from)||(a(!1),null===(o=(0,h.GX)("chatMessageBoxLayoutStore"))||void 0===o||o.getLayoutSetter().setLayoutAreaVisible("bottom"))},[l]),(0,s.jsx)(e,(0,n._)({},t||{}))},m=(0,c.y)(o.lazy((0,a._)(function*(){var{BatchDownloadToolbar:e}=yield l.e("48810").then(l.bind(l,222800));return{default:g(e)}})));class _{constructor(){this.Content=m}}}}]);
//# sourceMappingURL=7062.js.map