PageSourceSearch

https://letsask.ai/_next/static/chunks/pages/share/[slug]-70b8b4f1c12e9bc0.js

js letsask.ai collected 2026-10-05 12:10:03 UTC 7,593 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4042],{60512:function(e,t,n){"use strict";var i=n(59499),r=n(4730),o=(n(67294),n(9008)),a=n.n(o),s=n(11163),c=n(85893),l=["children"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.Z=function(e){e.children;var t=(0,r.Z)(e,l),n=(0,s.useRouter)(),i=h(h(h({},{siteName:"LetsAsk.ai",domain:"https://letsask.ai",twitterHandle:"@cegritag"}),{title:"LetsAsk.ai",description:"A platform that allows you to build and launch conversational chatbots - No coding required.",image:"/images/social.png",type:"website"}),t);return(0,c.jsxs)(a(),{children:[(0,c.jsx)("title",{children:i.title}),(0,c.jsx)("meta",{content:i.description,name:"description"},"description"),i.domain&&(0,c.jsx)("link",{rel:"canonical",href:"".concat(i.domain).concat(n.asPath)},"canonical"),(0,c.jsx)("meta",{property:"og:title",content:i.title},"og-title"),(0,c.jsx)("meta",{property:"og:description",content:i.description},"og-description"),(0,c.jsx)("meta",{property:"og:site_name",content:i.siteName},"og-site-name"),(0,c.jsx)("meta",{property:"og:type",content:"website"},"og-type"),i.domain&&(0,c.jsx)("meta",{property:"og:url",content:"".concat(i.domain).concat(n.asPath)},"og-url"),i.domain&&i.image&&(0,c.jsx)("meta",{property:"og:image",content:"".concat(i.domain).concat(i.image)},"og-image"),(0,c.jsx)("meta",{name:"twitter:title",content:i.title},"twitter-title"),(0,c.jsx)("meta",{name:"twitter:description",content:i.description},"twitter-description"),(0,c.jsx)("meta",{name:"twitter:card",content:"summary_large_image"},"twitter-card"),i.twitterHandle&&(0,c.jsx)("meta",{name:"twitter:site",content:i.twitterHandle},"twitter-site"),i.domain&&i.image&&(0,c.jsx)("meta",{name:"twitter:image",content:"".concat(i.domain).concat(i.image)},"twitter-image")]})}},56274:function(e,t,n){"use strict";var i=n(59499),r=(n(67294),n(282)),o=n(1591),a="#8E6DEF",s="#DDC0FF",c="#fff -1px 1px 0,".repeat(4).split(",").map((function(e,t){if(!(e.length<2))return e.replace(/1/g,t+1)})).join(",");c=c.substr(0,c.length-1);var l=(0,o.Z)((function(e){var t;return{root:(t={boxShadow:"none",textTransform:"none",fontSize:16,fontWeight:600,padding:"6px 12px",border:"1px solid",lineHeight:1.5,color:"dark"===e.palette.type?"#fff":"#333",backgroundColor:"dark"===e.palette.type?a:s,borderColor:"dark"===e.palette.type?a:s},(0,i.Z)(t,"boxShadow","dark"===e.palette.type?c:c.replace(/#fff/g,"#333")),(0,i.Z)(t,"fontFamily",["-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"'].join(",")),(0,i.Z)(t,"&:hover",{boxShadow:"none",backgroundColor:"dark"===e.palette.type?a:s,borderColor:"dark"===e.palette.type?a:s}),(0,i.Z)(t,"&:active",{boxShadow:"none"}),(0,i.Z)(t,"&:focus",{}),(0,i.Z)(t,"&:disabled",{boxShadow:"none",borderColor:"#0000"}),t)}}))(r.Z);t.Z=l},1174:function(e,t,n){"use strict";n.r(t);n(59499),n(27812),n(50029),n(87794);var i=n(67294),r=n(88767),o=n(60512),a=n(50253),s=n(41749),c=n(16204),l=n(79895),d=n(78357),h=n(66083),u=n(52663),m=n(22318),p=n(89659),g=n(58365),x=n(44704),j=n(55517),f=n(71387),y=n(56274),b=n(83094),w=n(4998),Z=n(11163),v=(n(90405),n(64454)),S=n(42283),k=n(85893);t.default=(0,w.mk)((function(e){var t=(0,Z.useRouter)(),n=(0,i.useState)(null),O=n[0],C=(n[1],(0,i.useState)(null)),P=C[0],_=C[1],N=(0,i.useState)(!1),E=(N[0],N[1],(0,i.useState)("chat")),D=E[0],F=(E[1],(0,i.useState)(null)),L=(F[0],F[1],(0,i.useState)([])),T=(L[0],L[1],(0,i.useState)(!1)),A=(T[0],T[1],(0,i.useState)(!1)),H=(A[0],A[1],(0,i.use
1State)(!1)),I=H[0],R=H[1],U=(0,i.useState)(!1),B=(U[0],U[1],(0,S.cI)()),q=(B.register,B.handleSubmit,B.errors,(0,w.aC)(),t.query.slug,(0,r.useQuery)("bot",(function(){return(0,v.Nv)("get-bot","POST",{slug:t.query.slug})}),{enabled:!!t.query.slug})),W=q.data,X=q.status;return q.error,!P&&W&&"success"==X&&_(W),"loading"!=X&&"loading"!=D&&W?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(o.Z,{title:"Chatbot"}),(0,k.jsxs)(u.Z,{open:I,onClose:function(){R(!1)},children:[(0,k.jsx)(h.Z,{children:"Share with your friend and colleagues"}),(0,k.jsxs)(a.Z,{style:{width:"100%",padding:"0vh 3vh 3vh 3vh"},children:[(0,k.jsxs)(m.Z,{variant:"body1",children:["You can share this link with your friends and colleagues. Usage will be billed to ",2!=W.isPublic?"you":"them",". You can change this by going into the settings menu and adjusting the visibility option."]}),(0,k.jsx)(l.Z,{style:{marginBottom:"10px",padding:"4px","font-family":"monospace",backgroundColor:"rgb(45, 45, 45)",color:"#fff"},children:(0,k.jsx)(d.Z1,{language:"",text:window.location.href,showLineNumbers:!1,wrapLines:!0,codeBlock:!0,theme:d.cL})}),(0,k.jsx)(p.Z,{href:"https://twitter.com/intent/tweet?text="+encodeURI("Check this chatbot I found on 
1LetsAsk.ai! "+window.location.href),passHref:!0,style:{color:"inherit"},children:(0,k.jsxs)(y.Z,{fullWidth:!0,component:"a",style:{color:"#fff"},children:["Share on Twitter",(0,k.jsx)(x.Z,{style:{marginLeft:5}})]})})]})]}),O&&(0,k.jsx)(b.Z,{message:O.message,type:O.type},O.key),(0,k.jsxs)(s.Z,{container:!0,children:[(0,k.jsx)(s.Z,{item:!0,xs:1,md:3}),(0,k.jsx)(s.Z,{item:!0,xs:10,md:6,children:"chat"==D&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(s.Z,{container:!0,children:[(0,k.jsx)(s.Z,{item:!0,xs:12,md:6,children:(0,k.jsx)(m.Z,{variant:"h4",style:{textOverflow:"ellipsis",overflow:"hidden"},children:W.displayName})}),(0,k.jsx)(s.Z,{item:!0,xs:12,md:1,children:(0,k.jsx)(c.Z,{label:"Usage is billed to "+(2==W.isPublic?"you":"the owner")})}),(0,k.jsx)(s.Z,{item:!0,xs:12,md:5,children:(0,k.jsxs)(s.Z,{container:!0,justifyContent:"flex-end",children:[(0,k.jsx)(y.Z,{component:"a",href:"/create-new-bot",onClick:function(e){e.preventDefault(),t.replace("/create-new-bot")},variant:"contained",style:{marginRight:10},children:"Create your chatbot"}),(0,k.jsx)(y.Z,{onClick:function(){R(!0)},variant:"contained",style:{marginRight:10},children:"Share"})]})})]}),(0,k.jsx)(j.Z,{style:{margin:"1vh"}}),(0,k.jsx)(a.Z,{style:{height:"65vh",paddingBottom:"1vh"},children:(0,k.jsx)(f.Z,{botdata:W,chatid:W.id})})]})})]})]}):(0,k.jsxs)(s.Z,{container:!0,children:[(0,k.jsx)(s.Z,{item:!0,xs:1,md:3}),(0,k.jsx)(s.Z,{item:!0,xs:10,md:6,children:(0,k.jsx)(s.Z,{container:!0,justifyContent:"center",children:(0,k.jsxs)(s.Z,{container:!0,children:[(0,k.jsx)(s.Z,{item:!0,xs:7,md:7,children:(0,k.jsx)(g.Z,{variant:"rect"})}),(0,k.jsx)(s.Z,{item:!0,xs:5,md:5,children:(0,k.jsx)(s.Z,{container:!0,justifyContent:"flex-end",children:(0,k.jsx)(g.Z,{variant:"rect",style:{width:"98%"}})})}),(0,k.jsxs)(s.Z,{item:!0,xs:12,md:12,style:{marginTop:"1vh",marginBottom:"1vh"},children:[(0,k.jsx)(g.Z,{variant:"rect",style:{width:"100%",height:"60vh"}}),(0,k.jsx)(g.Z,{variant:"rect",style:{marginTop:"1vh",width:"100%",height:"5vh"}})]})]})})})]})}))},28863:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/share/[slug]",function(){return n(1174)}])}},function(e){e.O(0,[2283,9803,1344,376,8569,4186,1387,9774,2888,179],(function(){return t=28863,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.