"use strict";(self.webpackChunkflow_web_extension=self.webpackChunkflow_web_extension||[]).push([["62974"],{349658:function(n,e){e.Z={icon:"icon-omhRa7"}},798582:function(n,e){e.Z={font:"font-FvKupi",spin:"spin-J3uJm7",container:"container-kVzOZz","container-hoverable":"container-hoverable-H8Gkvr",containerHoverable:"container-hoverable-H8Gkvr",title:"title-vitxuC",desc:"desc-Ey5BLC",icon:"icon-Y2VQX3","default-thinking":"default-thinking-_D6Pan",defaultThinking:"default-thinking-_D6Pan","default-thinking-text":"default-thinking-text-mMrk6X",defaultThinkingText:"default-thinking-text-mMrk6X"}},136615:function(n,e,t){t.d(e,{Z:()=>c});var i=t(397458);t(652983);var a=t(465031),l=t(698127),o=t(706790),c=(0,a.G)((0,i.jsx)(n=>(0,i.jsx)("svg",(0,o._)((0,l._)({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24"},n),{children:(0,i.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.74 2.94a1.5 1.5 0 0 1 2.12 0l7.647 7.646a2 2 0 0 1 0 2.828l-7.646 7.647a1.5 1.5 0 0 1-2.122-2.122L14.68 12l-6.94-6.94a1.5 1.5 0 0 1 0-2.12",clipRule:"evenodd"})})),{}))},305813:function(n,e,t){t.d(e,{e:()=>i});var i=n=>n()},622498:function(n,e,t){t.d(e,{n:()=>u,y:()=>s});var i=t(397458),a=t(297488),l=t(47846),o=t(642494),c=t(305813),r=t(349658),s=n=>{var{isBlockFinished:e,isBroken:t,blockContent:o}=n,{summary:s,start:u,end:d}=o||{},v=(0,c.e)(()=>u&&d&&!e?"".concat(u," \u2192 ").concat(d):"");return!e&&t?null:(0,i.jsx)(l.R,{title:s,loading:!e,desc:v,hoverable:!1,prefixIcon:(0,i.jsx)(a.Z,{className:r.Z.icon}),showSuffixIcon:!1})},u=n=>{var e,t,{message:a,contentBlock:l}=n,c=null===(e=null==l?void 0:l.is_finish)||void 0===e||e,r=(0,o.vlk)(a),u=null!==(t=null==l?void 0:l.content_obj)&&void 0!==t?t:{};return(0,i.jsx)(s,{isBlockFinished:c,isBroken:r,blockContent:u})}},742917:function(n,e,t){t.r(e),t.d(e,{ShareReceiveRoutePlanBlockContentPlugin:()=>l});var i=t(427384),a=t(622498);class l{constructor(){this.pluginIdentifier=i.v,this.type="Content",this.Content=a.n}}},47846:function(n,e,t){t.d(e,{R:()=>v});var i=t(397458),a=t(136615),l=t(652983),o=t(681429),c=t(195463),r=t(87608),s=t.n(r),u=t(609842),d=t(798582),v=n=>{var{title:e,desc:t,loading:r,classname:v,prefixIcon:h,hoverable:f=!0,overrideDesc:x,showSuffixIcon:k,query:m=[],onClick:p,renderContent:g,parseQueryText:w=n=>"\u201C".concat(n||"","\u201D")}=n,[j,Z]=(0,l.useState)(0),[b,y]=(0,l.useState)(!0),C=0===m.length,_=x||t;(0,l.useEffect)(()=>{if(b&&!C){var n=setInterval(()=>{j<m.length-1?Z(n=>n+1):(clearInterval(n),y(!1))},600);return()=>clearInterval(n)}},[j,b]);var I=!C&&r?(0,i.jsx)(o.M,{mode:"wait",children:(0,i.jsx)(c.E.div,{layoutId:"query-text",initial:{opacity:0,y:0},animate:{opacity:1,y:0},exit:{opacity:0,y:0},transition:{duration:.1},className:s()(d.Z.title,"inline-block whitespace-nowrap truncate"),children:w(m[j])},j)}):void 0,N=_&&(0,i.jsx)("div",{className:d.Z.desc,children:x||'"'.concat(t,'"')}),R=n=>n?(0,i.jsx)("div",{className:s()(d.Z.title,{"font-normal!":!1}),children:n}):null,B=g?g({renderTitle:R,title:e,queryNode:I,desNode:N}):(0,i.jsxs)(i.Fragment,{children:[R(e),N,I]});return(0,i.jsxs)("div",{className:s()(d.Z.container,v,{[d.Z["container-hoverable"]]:f}),onClick:p,children:[r?(0,i.jsx)(u.Z,{wrapperClassName:d.Z.spin,size:"small"}):h,B,k&&!r&&(0,i.jsx)(a.Z,{className:s()(d.Z.icon,"text-12 -ml-4")})]})}}}]);
//# sourceMappingURL=62974.js.map