"use strict";(self.webpackChunkflow_web_extension=self.webpackChunkflow_web_extension||[]).push([["10758"],{625173:function(e,t){t.Z={"ppt-card-container":"ppt-card-container-DMSqPk",pptCardContainer:"ppt-card-container-DMSqPk",intro:"intro-wORrfu","ppt-card":"ppt-card-jcVlUf",pptCard:"ppt-card-jcVlUf",top:"top-ZKmLZg",title:"title-qUlOwJ",img:"img-TjjMpQ",thinking:"thinking-vgWKNo",failed:"failed-AyCYIs","failed-text":"failed-text-rqDzO_",failedText:"failed-text-rqDzO_","error-text":"error-text-ABQjHN",errorText:"error-text-ABQjHN","thinking-text":"thinking-text-czZIFl",thinkingText:"thinking-text-czZIFl","prev-message-tip":"prev-message-tip-4Cs3Kq",prevMessageTip:"prev-message-tip-4Cs3Kq"}},982295:function(e,t,l){l.r(t),l.d(t,{ShareReceivePPTCardPlugin:()=>$});var i=l(6325),a=l(397458),r=l(599776),s=l(13573);l(652983);var n=l(642494),o=l(221330),c=l(754751),d=l(383154),p=l(625173),m=e=>{var t,l,i,m,{message:$}=e,x=(0,o.g1)();if(!(0,n.C3X)($))return null;var h=null==$?void 0:null===(t=$.content_obj)||void 0===t?void 0:t.status,R=h===c.AiPPTDetailStatusEnum.Success,k=h===c.AiPPTDetailStatusEnum.Error||h===c.AiPPTDetailStatusEnum.Cancel,u=h===c.AiPPTDetailStatusEnum.Delete;return(0,a.jsxs)("div",{className:p.Z["ppt-card-container"],children:[(0,a.jsx)("div",{className:p.Z.intro,children:x("skill_aippt_pptCard_leading_content")}),(0,a.jsx)(a.Fragment,{children:(R||u)&&(0,a.jsxs)("div",{className:p.Z["ppt-card"],onClick:()=>{var e;if(u){d.pJ.error({content:x("skill_aippt_pptCard_status_deleted_click_toast"),showClose:!1,theme:"light"});return}window.open((0,s.C)(null==$?void 0:null===(e=$.content_obj)||void 0===e?void 0:e.share_url,null,{logType:"js.window.location",reportOnly:"false",blackConfig:"{}",configMode:"merge",isCloseSSRReport:!1,bid:"flow_web_ext",region:"cn",urlLimit:"-1",htmlLimit:"-1",isSaveValidUrl:!1,isRuntimeLog:!1,isDOMParser:!0,escapeRule:"escape-report",reportUrl:"https://mon.zijieapi.com/monitor_browser/collect/batch/security/?bid=flow_web_ext",scmBranch:"release-ext-sprint-2025_50",scmName:"$20xN*Rt%j$P$3hs%0Z*Mldr-z$N$mx0%m5aWldFcH$aRmhO%FE9PQ",scmVersion:"1.24.1.5547",webpackPluginVersion:"3.4.3",filename:"$ERJNWQy%kRP$EJo$jJSc1kyaz$hb%l5T$hkaF-zaHNXRE5D-%dSSFozWmpNMHBx$ERKT2RscEhWWFZa-m13d1dsZFJk$0l6%201T%1scHpZak5qZ*xwd*$IWmtl$E$6$2xkSmRHSlhPWFZpTTBwc1kw-zRkb%5I%m1waE1rWn$Xb*hOZ*xSR$R-%lNi$lpvWk$o$2$WcFRP$2xr$0%1d1ltM$dlb%41T1hOaF-wbDBX$Epv-%dSRE1Xb*hXRzkwWTBoQ01Fd3p%bmxaZ$RscFlWaHZkRmt5T1hSalJ6bDFXb*MxT%$3elNteFpNbFp3Wkcx$mRHTklRakJN$jA1MlltN$NiR0p1$$haak1ta*9ZMjFWZFdSS$Rq%lpXRXB1WkZoTlBRPT0"}))},children:[(0,a.jsxs)("div",{className:p.Z.top,children:[(0,a.jsx)(r.Z,{className:"text-18"}),(0,a.jsx)("div",{className:p.Z.title,children:null==$?void 0:null===(l=$.content_obj)||void 0===l?void 0:l.title})]}),(0,a.jsx)("img",{className:p.Z.img,src:(0,s.C)(null==$?void 0:null===(i=$.content_obj)||void 0===i?void 0:i.cover_url,null,{logType:"js.href/src",reportOnly:"false",blackConfig:"{}",configMode:"merge",isCloseSSRReport:!1,bid:"flow_web_ext",region:"cn",urlLimit:"-1",htmlLimit:"-1",isSaveValidUrl:!1,isRuntimeLog:!1,isDOMParser:!0,escapeRule:"escape-report",reportUrl:"https://mon.zijieapi.com/monitor_browser/collect/batch/security/?bid=flow_web_ext",scmBranch:"release-ext-sprint-2025_50",scmName:"$20xN*Rt%j$P$3hs%0Z*Mldr-z$N$mx0%m5aWldFcH$aRmhO%FE9PQ",scmVersion:"1.24.1.5547",webpackPluginVersion:"3.4.3",filename:"$ERJNWQy%kRP$EJo$jJSc1kyaz$hb%l5T$hkaF-zaHNXRE5D-%dSSFozWmpNMHBx$ERKT2RscEhWWFZa-m13d1dsZFJk$0l6%201T%1scHpZak5qZ*xwd*$IWmtl$E$6$2xkSmRHSlhPWFZpTTBwc1kw-zRkb%5I%m1waE1rWn$Xb*hOZ*xSR$R-%lNi$lpvWk$o$2$WcFRP$2xr$0%1d1ltM$dlb%41T1hOaF-wbDBX$Epv-%dSRE1Xb*hXRzkwWTBoQ01Fd3p%bmxaZ$RscFlWaHZkRmt5T1hSalJ6bDFXb*MxT%$3elNteFpNbFp3Wkcx$mRHTklRakJN$jA1MlltN$NiR0p1$$haak1ta*9ZMjFWZFdSS$Rq%lpXRXB1WkZoTlBRPT0"})})]})}),(0,a.jsx)(a.Fragment,{children:k&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:p.Z.failed,children:[(0,a.jsx)(r.Z,{className:"text-18 text-s-color-text-disable"}),(0,a.jsx)("div",{className:p.Z["failed-text"],children:null==$?void 0:null===(m=$.content_obj)||void 0===m?void 0:m.title})]}),(0,a.jsx)("div",{className:p.Z["error-text"],children:x("skill_aippt_pptCard_status_generation_failed")})]})})]})};class ${constructor(){this.pluginIdentifier=i.W,this.Content=m}}}}]);
//# sourceMappingURL=10758.js.map