PageSourceSearch

https://www.app.aisensy.com/static/js/1478.23d99934.chunk.js

js aisensy.com collected 2026-10-02 04:08:19 UTC 10,692 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwhatsapp_dashboard=self.webpackChunkwhatsapp_dashboard||[]).push([[1478],{11644:(e,t,s)=>{s.r(t),s.d(t,{default:()=>N});var a=s(47313),o=s(21144),i=s(57009),n=s(96083),r=s(73908),l=s(52376),c=s(45788),d=s(63830),p=s(79657),h=s(69641),x=s(98677),m=s(46417);const{isAiSensy:g}=(0,x.K)();const u=(0,c.connect)((e=>({agent:e.login.user,assistantDetails:e.assistantDetails.data})))((function(e){const t=(0,d.useLocation)(),s=(0,d.useHistory)(),a=(0,d.useParams)(),{classes:n,agent:l,assistantDetails:c}=e,x=g&&(null===l||void 0===l?void 0:l.power)>=1&&!(null!==c&&void 0!==c&&c.partnerId);return t.pathname.includes(["flow-page"])?null:(0,m.jsx)("div",{className:n.root,style:{width:e.isCollapse?"48px":"280px"},children:(0,m.jsxs)(r.Z,{mx:2,children:[(0,m.jsx)(r.Z,{my:2,mb:3,style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:!e.isCollapse&&(0,m.jsx)(r.Z,{color:"#000000",display:"flex",alignItems:"center",justifyContent:"start",children:(0,m.jsx)(i.Z,{variant:"h3",children:"Flows"})})}),!e.isCollapse&&x&&(0,m.jsx)(p.Z,{className:n.agentStudioCta,onClick:()=>{s.push("/projects/"+a.projectId+"/agent-studio")},children:(0,m.jsx)(i.Z,{variant:"body2",align:"left",style:{fontSize:14,fontWeight:600},children:"\u2728 Try the new AI Agent"})}),!e.isCollapse&&h.u.map(((e,d)=>{var h;let x="inactive";return t.pathname.includes(e.to)&&(x="active"),!e.cartPlus||e.isNotShow||e.power&&!(l.power>=(null===e||void 0===e?void 0:e.power))||e.specialAccess&&!0!==(null===c||void 0===c||null===(h=c.specialAccess)||void 0===h?void 0:h[e.specialAccess])?null:(0,m.jsx)(p.Z,{className:"".concat(n.linkButton," ").concat(n[x]),onClick:()=>{s.push("/projects/"+a.projectId+"/flows"+e.to)},children:(0,m.jsxs)(o.Z,{container:!0,spacing:2,alignItems:"center",children:[(0,m.jsx)(o.Z,{item:!0,children:(0,m.jsx)(r.Z,{display:"flex",alignItems:"center",className:n["icon_"+x],children:e.icon})}),(0,m.jsx)(o.Z,{item:!0,xs:!0,children:(0,m.jsx)(i.Z,{variant:"body2",align:"left",style:{fontSize:14,transition:"1s ease-out"},className:n["name_"+x],children:e.name})})]})},d)}))]})})})),j=(0,l.Z)((e=>({root:{width:"280px",height:"100vh",background:"rgb(255, 255, 255)",borderRight:"1px solid rgb(240,240,240)",display:"flex",flexDirection:"column",transition:"0.5s ease-out",justifyContent:"space-between",color:"gray",[e.breakpoints.down("md")]:{width:"260px !important"},[e.breakpoints.down("sm")]:{display:"none"}},logo:{height:50,marginTop:15},link_inactive:{display:"flex",justifyContent:"center",alignItems:"center",height:"35px",width:"35px",margin:"auto",borderRadius:"50%",cursor:"pointer",transition:"0.5s"},link_active:{display:"flex",justifyContent:"center",alignItems:"center",height:"35px",width:"35px",margin:"auto",borderRadius:"50%",backgroundColor:"white",color:"white",cursor:"pointer",transition:"0.5s"},icon_active:{color:e.palette.primary.main},icon_inactive:{color:"rgb(20,20,20)"},name_active:{color:e.palette.primary.main},name_inactive:{color:"rgb(20,20,20)"},linkButton:{margin:"3px 0em",width:"100%",borderRadius:"5px",padding:"10px"},agentStudioCta:{width:"100%",borderRadius:"5px",padding:"10px",marginBottom:"16px",justifyContent:"flex-start",color:e.palette.primary.main,backgroundColor:e.palette.primary.light,border:"1px solid ".concat(e.palette.primary.main),transition:"0.3s ease-out","&:hover":{backgroundColor:e.palette.primary.main,color:"#ffffff"}},active:{backgroundColor:e.palette.primary.light},inactive:{backgroundColor:"transparent"},betaBadge:{color:"white",fontWeight:"600",marginLeft:"0.4em",height:"1.5em",alignItems:"center",fontSize:"0.7em"}})))(u);var v=s(39399),w=s(1813),y=s(43579),b=(s(92884),s(88894),s(34473)),f=s(17834),C=s(81766),Z=s(56867),S=s(9841);let k=["Drag & Drop Chatbot builder","Showcase & Sell products on Whatsapp","Whatsapp Cart Management","Integrated with Shopify checkout","Share Catalogs & Products on Whatsapp"],A=["AI Agent with Knowledge Base (RAG)","Tool Calling \u2014 connect APIs for real-time actions","AI Orchestrator \u2014 custom system prompts & persona","Smart Routing \u2014 auto-classify queries to the right handler","Built-in Guardrails & Human Escalation"];class B extends a.Component{constructor(e){super(e),this.onSnackbarClose=()=>{this.setState({alert:"",alertMessage:""})},this.showSnackBar=(e,t)=>
1{this.setState({alert:e,alertMessage:t})},this.state={dialog:!1,alert:"",alertMessage:""}}render(){var e;const{classes:t,agent:s,match:a,isCollapse:l,switchCollapse:c,assistantDetails:p}=this.props,x=this.props.match.params.projectId,{power:g}=s,u="/projects/:projectId/flows",v=null===p||void 0===p?void 0:p.selectedMetaCatalogueId;return(0,m.jsxs)(m.Fragment,{children:[v?(0,m.jsxs)(o.Z,{container:!0,className:t.root,children:[(0,m.jsx)(o.Z,{item:!0,className:t.navBar,children:(0,m.jsx)(j,{isCollapse:l,collapse:()=>{c(!l)}})}),(0,m.jsx)(o.Z,{item:!0,xs:!0,className:t.routeWrapper,children:(0,m.jsx)("div",{id:"route-container",className:t.routeContainer,children:(0,m.jsxs)(d.Switch,{children:[(0,m.jsx)(d.Route,{exact:!0,path:u,render:e=>(0,m.jsx)(d.Redirect,{to:"/projects/".concat(x,"/flows/flow-builder"),...e})},30),h.u.map(((e,t)=>{var s;const{cartPlus:a,to:o}=e||{};return!a||e.power&&!(g>=(null===e||void 0===e?void 0:e.power))||e.specialAccess&&!0!==(null===p||void 0===p||null===(s=p.specialAccess)||void 0===s?void 0:s[e.specialAccess])?null:(0,m.jsx)(d.Route,{path:u+o,component:e.component},t)})),(0,m.jsx)(d.Route,{component:()=>(0,m.jsx)(d.Redirect,{to:"/error"})})]})})})]}):null!==p&&void 0!==p&&null!==(e=p.activePlan)&&void 0!==e&&e.includes("AUTOMATION_LITE")?(0,m.jsxs)("div",{style:{position:"relative",height:"100%"},children:[(0,m.jsx)("div",{className:t.overlayDiv,children:(0,m.jsxs)("div",{className:t.contentDiv,children:[(0,m.jsx)("img",{src:w,alt:"FlowBuilderBannner",className:t.contentImg}),(0,m.jsxs)("div",{className:t.contentTextDiv,children:[(0,m.jsxs)(i.Z,{variant:"h4",style:{textAlign:"center"},children:["Flow Builder"," ",(0,m.jsx)(n.Z,{size:"small",label:"Add-ON",color:"secondary",className:t.betaBadge})]}),(0,m.jsx)(r.Z,{my:2}),k.map(((e,s)=>(0,m.jsxs)(i.Z,{variant:"body1",color:"textSecondary",className:t.planBody,children:[(0,m.jsx)(f.Z,{style:{color:"#0c8879"}})," ",e," ",(0,m.jsx)("br",{})]},s))),(0,m.jsx)(r.Z,{my:2}),(0,m.jsx)(i.Z,{variant:"h6",style:{textAlign:"center",fontWeight:600},children:"AI Agent Flows"}),(0,m.jsx)(r.Z,{my:1}),A.map(((e,s)=>(0,m.jsxs)(i.Z,{variant:"body1",color:"textSecondary",className:t.planBody,children:[(0,m.jsx)(f.Z,{style:{color:"#0c8879"}})," ",e," ",(0,m.jsx)("br",{})]},"ai-".concat(s)))),(0,m.jsx)(b.Z,{isFromCartPage:!0,assistantDetails:p,power:g,isReloading:!1,updateAssistantStore:this.props.updateAssistantStore,showSnackBar:this.showSnackBar})]}),(0,m.jsxs)("div",{className:t.contentTextDiv,children:[(0,m.jsxs)(i.Z,{variant:"h4",style:{textAlign:"center"},children:["Flow Builder"," ",(0,m.jsx)(n.Z,{size:"small",label:"Add-ON",color:"secondary",className:t.betaBadge})]}),(0,m.jsx)(r.Z,{my:2}),k.map(((e,s)=>(0,m.jsxs)(i.Z,{variant:"body1",color:"textSecondary",className:t.planBody,children:[(0,m.jsx)(f.Z,{style:{color:"#0c8879"}})," ",e," ",(0,m.jsx)("br",{})]},s))),(0,m.jsx)(r.Z,{my:2}),(0,m.jsx)(i.Z,{variant:"h6",style:{textAlign:"center",fontWeight:600},children:"AI Agent Flows"}),(0,m.jsx)(r.Z,{my:1}),A.map(((e,s)=>(0,m.jsxs)(i.Z,{variant:"body1",color:"textSecondary",className:t.planBody,children:[(0,m.jsx)(f.Z,{style:{color:"#0c8879"}})," ",e," ",(0,m.jsx)("br",{})]},"ai-".concat(s)))),(0,m.jsx)(b.Z,{isFromCartPage:!0,assistantDetails:p,power:g,isReloading:!1,updateAssistantStore:this.props.updateAssistantStore,showSnackBar:this.showSnackBar})]})]})}),(0,m.jsx)("img",{src:y,alt:"FlowBuilderBannner",width:"100%",height:"100%"})]}):(0,m.jsxs)(o.Z,{container:!0,className:t.root,children:[(0,m.jsx)(o.Z,{item:!0,className:t.navBar,children:(0,m.jsx)(j,{isCollapse:l,collapse:()=>{c(!l)}})}),(0,m.jsx)(o.Z,{item:!0,xs:!0,className:t.routeWrapper,children:(0,m.jsx)("div",{id:"route-container",className:t.routeContainer,children:(0,m.jsxs)(d.Switch,{children:[(0,m.jsx)(d.Route,{exact:!0,path:u,render:e=>(0,m.jsx)(d.Redirect,{to:"/projects/".concat(x,"/flows/flow-builder"),...e})},30),h.u.map(((e,t)=>{var s;const{cartPlus:a,to:o}=e||{};return!a||e.power&&!(g>=(null===e||void 0===e?void 0:e.power))||e.specialAccess&&!0!==(null===p||void 0===p||null===(s=p.specialAccess)||void 0===s?void 0:s[e.specialAccess])?null:(0,m.jsx)(d.Route,{path:u+o,component:e.component},t)})),(0,m.jsx)(d.Route,{component:()=>(0,m.jsx)(d.Redirect,{to:"/error"})})]})})})]}),(0,m.jsx)(Z.default,{purchaseNew:!1,dialogOpen:this.state.dialog,toggleUpgradeDialog:()=>this.setState({dialog:!1})}),(0,m.jsx)(S.A9,{open:!!this.state.alert,anchorOrigin:{vertical:"top",horizontal:"center"},onClose:this.onSnackbarClose,severity:this.state.alert,message:this.state.alertMessage})]})}}const I=(0,c.connect)((e=>({agent:e.login.user,isCollapse:e.cartPlus.isCollapse,assistantDetails:e.assistantDetails.data})),{switchCollapse:v.Px,updateAssistantStore:C.sJ})(B),N=(0,l.Z)((e=>({root:{width:"100%",height:"100vh",overflow:"hidden",boxSizing:"border-box"},navBar:{zIndex:1},routeWrapper:{height:"100vh",overflow:"hidden",boxSizing:"border-box",background:"white"},routeContainer:{width:"100%",height:"100vh",transition:"1s",overflow:"hidden"},planBody:{padding:"0 12px 0 0px",lineHeight:"22px",fontSize:"14px",color:"#444444",dis
1play:"flex",alignItems:"center",gap:"8px"},betaBadge:{color:"white",fontWeight:"600",marginLeft:"0.4em",height:"1.5em",alignItems:"center",fontSize:"0.7em"},overlayDiv:{position:"absolute",width:"100%",height:"100%",top:0,bottom:0,left:0,right:0,backgroundColor:"rgb(0,0,0,0.5)",display:"flex",alignItems:"center",justifyContent:"center",[e.breakpoints.down("952")]:{backgroundColor:"rgb(0,0,0,0.75)"}},contentDiv:{background:"white",borderRadius:"8px",display:"flex",padding:"8px 32px 12px",alignItems:"center",justifyContent:"center",[e.breakpoints.down("800")]:{flexDirection:"column",padding:"8px 12px 12px"}},contentImg:{width:"650px",objectFit:"contain",borderRadius:"8px",[e.breakpoints.down("1200")]:{width:"450px"},[e.breakpoints.down("952")]:{width:"318px"}},contentTextDiv:{padding:"24px",[e.breakpoints.down("952")]:{padding:"0px"}}})))(I)},56342:(e,t,s)=>{s.d(t,{Z:()=>o});var a=s(47313);const o=(0,s(14214).Z)(a.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}),"Info")},43579:(e,t,s)=>{e.exports=s.p+"static/media/FLOW_BG.1e0b71efe2dda414fe8c.png"},1813:(e,t,s)=>{e.exports=s.p+"static/media/Flow_Builder_Banner.06a10688768cfd2ac7b7.png"}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.