"use strict";(self.webpackChunkflow_web_extension=self.webpackChunkflow_web_extension||[]).push([["87830"],{350237:function(e,t,n){n.r(t),n.d(t,{NotReadFinishTipReceiveMessageBoxTopPlugin:()=>g});var s=n(397458),l=n(894978),i=n(788825),o=n(87608),c=n.n(o),r=n(48243),a=n(74172),d=n(407690),_=n(57723),v=n(642494),u=n(828005),x=n(651481),p=n(221330),b=e=>{if(e.content_blocks_v2){var t,n,s=e.content_blocks_v2.find(e=>{var t,n;return e.block_type===d.zc.BLOCK_TEXT&&(null===(n=e.content)||void 0===n?void 0:null===(t=n.text_block)||void 0===t?void 0:t.text_block_scene)===_.Eq.LONG_FILE_PARSE_LIMIT_TIPS});return null==s?void 0:null===(n=s.content)||void 0===n?void 0:null===(t=n.text_block)||void 0===t?void 0:t.text}},m=e=>{var t,{className:n,message:l}=e,o=(0,r.wD)({message:l}),d=(0,u.PP)(x.GH.getState(),l.conversation_id||"",l.reply_id||""),_=(0,v.mQ9)(d)&&(0,a.tK)(d).length>1,m=null!==(t=null==o?void 0:o.readRatio)&&void 0!==t?t:0,f=(0,p.g1)(),g=b(l)||f(_?"multi_files_exceed_limit":"single_file_exceed_limit",{postProcess:"sprintf",sprintf:[f("brandName_doubao"),"".concat(m,"%")]});return(0,s.jsx)("div",{className:c()("bg-[var(--s-color-bg-trans)] text-s-color-text-secondary rounded-10 max-w-400",n,"pl-8 pr-12 py-12"),children:(0,s.jsxs)("div",{className:c()("flex gap-4 items-center"),children:[(0,s.jsx)(i.Z,{className:"p-3 text-16"}),(0,s.jsx)("p",{className:"s-font-small",children:g})]})})},f=e=>{var{message:t}=e;return(0,s.jsx)(m,{message:t,className:"mb-20"})};class g{constructor(){this.pluginIdentifier=l.q,this.Content=f}}}}]);
//# sourceMappingURL=87830.js.map