"use strict";(self.webpackChunkflow_web_extension=self.webpackChunkflow_web_extension||[]).push([["5827"],{285335:function(e,t,n){n.r(t),n.d(t,{ShareReceiveCreationMessageContentBlockPlugin:()=>u});var s=n(397458),o=n(652983),i=n(524112),a=n(582738),r=n(526694),c=n(979623),l=e=>{var t,{contentBlock:n,message:a}=e,l=(null==n?void 0:null===(t=n.content_obj)||void 0===t?void 0:t.creations)||[],u=(0,o.useMemo)(()=>l.reduce((e,t)=>{var n;return(null===(n=e[e.length-1])||void 0===n?void 0:n.type)!==t.type&&e.push({type:t.type,list:[]}),e[e.length-1].list.push(t),e},[]),[l]);return(0,s.jsx)(s.Fragment,{children:u.map((e,t)=>{var{type:n,list:o}=e;return n===i.PO.CreationTypeImage?(0,s.jsx)(c.U,{creationsImageList:o,message:a},"".concat(t,"_").concat(n)):n===i.PO.CreationTypeVideo?(0,s.jsx)(r.s,{creationsVideoList:o,message:a},"".concat(t,"_").concat(n)):null})})};class u{constructor(){this.pluginIdentifier=a.p,this.type="Content",this.Content=l}}}}]);
//# sourceMappingURL=5827.js.map