PageSourceSearch

https://homepage-cdn.tidio.com/_next/static/chunks/pages/[locale]/ai-agent/playground-75c01e5993dd35f5.js

js tidio.com collected 2026-10-01 07:34:43 UTC 32,667 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1094918b-5df3-4855-8677-b746e9b0a244",e._sentryDebugIdIdentifier="sentry-dbid-1094918b-5df3-4855-8677-b746e9b0a244")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1345],{1363:(e,t,i)=>{"use strict";i.d(t,{f:()=>o});var r=i(55462),n=i(36471);let o=(e="/",t=n.z2.defaultLanguage,i={},o)=>{let a;if(o)return o;let l=0===(a=e.charAt(0)).length||""===a?"/":"/"!==a?`/${e}`:e,d=Object.entries(i),s=0===d.length,c=((e,t)=>{let[i,o]=e.split("/"),a=0===i.length&&0===o.length,l=t===n.z2.defaultLanguage;return a&&l?`${r.p0}${e}`:a&&!l?`${r.p0}/${t}${e}`:!a&&l?`${r.p0}${e}/`:`${r.p0}/${t}${e}/`})(l,t);return s||d.forEach(([e,t])=>{Array.isArray(t)||!t||c.includes(`[${e}]`)&&(c=c.replace(`[${e}]`,t))}),c.toLowerCase()}},2358:(e,t,i)=>{"use strict";i.d(t,{A:()=>C});var r=i(18153),n=i(15060),o=i(7234),a=i(83846),l=i(56267),d=i(19631),s=i(31038),c=i(76252),u=i(3424);i(14232);let g=({fill:e="#080F1A"})=>(0,r.Y)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:(0,r.Y)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.1894 3.51386L10.8034 2.39595C10.7605 2.3598 10.7074 2.33398 10.6468 2.33398C10.5863 2.33398 10.5307 2.3598 10.4878 2.39853L5.44608 9.02341C5.44608 9.02341 3.46423 7.07416 3.40869 7.01736C3.35315 6.96056 3.27994 6.86503 3.16885 6.86503C3.05777 6.86503 3.00727 6.94507 2.94921 7.00445C2.90629 7.05092 2.19939 7.80997 1.85099 8.18691C1.83079 8.21015 1.81817 8.22305 1.80049 8.24113C1.7702 8.28502 1.75 8.33407 1.75 8.38829C1.75 8.44509 1.7702 8.49156 1.80049 8.53545L1.87118 8.60258C1.87118 8.60258 5.38801 12.057 5.44608 12.1164C5.50415 12.1758 5.57484 12.2507 5.67835 12.2507C5.77933 12.2507 5.86265 12.1396 5.91062 12.0906L12.1995 3.82884C12.2298 3.78495 12.25 3.7359 12.25 3.6791C12.25 3.61455 12.2248 3.56034 12.1894 3.51386Z",fill:e})}),h=({fill:e})=>(0,r.Y)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:(0,r.Y)("path",{d:"M10.8816 4.962L10.3109 3.63473L8.93052 3.02419L10.3109 2.42692L10.8816 1.16602L11.4523 2.42692L12.8327 3.02419L11.4523 3.63473L10.8816 4.962ZM10.8816 12.8592L10.3109 11.5851L8.93052 10.9878L10.3109 10.3905L10.8816 9.04997L11.4523 10.3905L12.8327 10.9878L11.4523 11.5851L10.8816 12.8592ZM5.0549 10.8152L3.83382 8.20052L1.16602 7.00598L3.83382 5.81145L5.0549 3.21L6.28926 5.81145L8.94379 7.00598L6.28926 8.20052L5.0549 10.8152Z",fill:e})}),p=(0,c.A)(o.A,{shouldForwardProp:e=>"variant"!==e,target:"e1kknhz80"})(({theme:e,variant:t})=>({padding:"32px 40px",position:"relative",overflow:"hidden",backgroundColor:"dark"===t?e.colors.background.defaultInverted:d.L.WHITE,border:"dark"===t?"none":`1px solid ${d.L.BLUE_100}`,borderRadius:16})),m=(0,c.A)("span",{target:"e1kknhz81"})(({height:e})=>({display:"block",height:e})),b=(0,c.A)("div",{target:"e1kknhz82"})(({variant:e})=>({fontSize:13,fontWeight:600,letterSpacing:-.13,color:"dark"===e?d.L.BLUE_200:d.L.BLUE_600,textTransform:"uppercase"})),f=(0,c.A)("div",{target:"e1kknhz83"})(({theme:e,variant:t})=>({...e.typo.heading.H32,fontWeight:500,color:"dark"===t?e.colors.text.white:"inherit"})),v=(0,c.A)("div",{target:"e1kknhz84"})(({theme:e,variant:t})=>({borderRadius:"50%",position:"absolute",zIndex:1,background:"dark"===t?e.colors.background.primaryBlue:d.L.BLUE_100,..."dark"===t?{width:318,height:318,top:0,right:0,filter:"blur(182px)"}:{width:1067,height:1067,top:-420,left:250,filter:"blur(394.2412109375px)"}})),A=(0,c.A)(o.A,{target:"e1kknhz85"})({zIndex:2,[(0,s.A)("tabletLandscape","down")]:{flexDirection:"column"}}),y=(0,c.A)("a",{target:"e1kknhz86"})(({theme:e,variant:t})=>({backgroundColor:"dark"===t?d.L.WHITE:e.colors.background.defaultInverted,color:"dark"===t?e.colors.text.default:e.colors.text.white,padding:"10px 32px",justifyContent:"center",alignItems:"center",borderRadius:8,textDecoration:"none",textAlign:"center",...e.typo.content.UI16,whiteSpace:"nowrap","&:hover":{backgroundColor:"dark"===t?d.L.BLUE_100:e.colors.buttons.altHover},[(0,s.A)("tabletLandscape","down")]:{marginTop:32,alignSelf:"flex-start",marginLeft:0}})),x=(0,c.A)("div",{target:"e1kknhz87"})({display:"grid",gridTemplateColumns:"repeat(auto-fill, 50%)",gridRowGap:12,padding:0,margin:0}),w=(0,c.A)(o.A,{target:"e1kknhz88"})({flex:"0 0 50%",boxSizing:"border-box",svg:{flexShrink:0}}),k="/custom-ai-agents/?hs_track=need_custom_ai_agent",C=({translations:e,ctaHref:t=k,variant:i="light"})=>{let{sendCTAEventToGoogleAnalytics:s,sendCTAEventToAmplitude:c}=(0,u.s)(),C="dark"===i,Y=C?d.L.BLUE_200:d.L.BLUE_600,L=C?d.L.WHITE:d.L.BLACK,I=[e.list1,e.list2,e.list3,e.list4,e.list5,e.list6];return(0,r.FD)(p,{variant:i,children:[(0,r.Y)(v,{variant:i}),(0,r.FD)(A,{space:60,children:[(0,r.FD)(a.A,{style:{zIndex:2},children:[(0,r.FD)(o.A,{space:4,children:[(0,r.Y)(h,{fill:Y}),(0,r.Y)(b,{variant:i,children:e.tailored})]}),(0,r.Y)(m,{height:12}),(0,r.Y)(f,{variant:i,children:e.header}),(0,r.Y)(m,{height:12}
1),(0,r.Y)(n.A,{color:C?"subduedInverted":"default",size:"UI16",children:e.description}),(0,r.Y)(m,{height:20}),(0,r.Y)(x,{children:I.map(e=>(0,r.FD)(w,{space:8,children:[(0,r.Y)(g,{fill:L}),(0,r.Y)(n.A,{color:C?"white":"default",size:"UI14",as:"span",children:e})]},e))})]}),(0,r.Y)(y,{variant:i,href:t,onClick:()=>{let e="Contact Sales",i=`${l.p7.PRICING_COLUMN_BUTTON} ${e}`;c({ctaName:i,ctaDestination:t,ctaText:e}),s({gaAction:i,gaLabel:i,gaCtaText:e})},children:e.cta})]})]})}},7234:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});let r=(0,i(76252).A)("div",{target:"erbhjdy0"})(({space:e=0,align:t="left",alignY:i="center",splitAfter:r})=>({display:"flex",flexDirection:"row",justifyContent:({left:"flex-start",right:"flex-end",center:"center"})[t],alignItems:({top:"flex-start",bottom:"flex-end",center:"center"})[i],"& > * + *":{marginLeft:`${e}px`},...r&&{"&:only-child":{width:"100%"},[`& > :nth-of-type(${r})`]:{marginRight:"auto"}}}))},18749:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});var r=i(41228);let n=i.n(r)()(()=>Promise.all([i.e(8992),i.e(9421),i.e(9002),i.e(2129),i.e(5469),i.e(4385),i.e(6771)]).then(i.bind(i,56771)),{loadableGenerated:{webpack:()=>[56771]}})},27048:(e,t,i)=>{"use strict";i.d(t,{A:()=>l});var r=i(18153),n=i(14232);let o=(0,i(76252).A)("button",{target:"e1a9zt9b0"})(({theme:{colorsOld:e}})=>({height:36,width:36,outline:"none",position:"absolute",background:e.WHITE,borderRadius:"50%",border:`3px solid ${e.WHITE}`,boxShadow:"0px 12px 32px rgba(0, 27, 71, 0.12)",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",padding:0,zIndex:1,svg:{fill:e.GRAY_500},":hover":{background:e.PRIMARY_BLUE_100,svg:{fill:e.PRIMARY_BLUE_500}},":active":{background:e.PRIMARY_BLUE_200,svg:{fill:e.PRIMARY_BLUE_500}}})),a=e=>(0,r.Y)("svg",{xmlns:"http://www.w3.org/2000/svg",width:22,height:22,fill:"none",...e,children:(0,r.Y)("path",{d:"m17.416 5.876-1.292-1.293L11 9.707 5.876 4.583 4.583 5.876 9.707 11l-5.124 5.124 1.293 1.293L11 12.292l5.124 5.125 1.292-1.293L12.292 11z",clipRule:"evenodd"})}),l=(0,n.memo)(({onClick:e})=>(0,r.Y)(o,{type:"button",onClick:e,"aria-label":"Close button",children:(0,r.Y)(a,{})}))},29174:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var r=i(18153),n=i(14232),o=i(76252),a=i(79216);let l={NONE:{_:0,tablet:0},SMALL:{_:30,tablet:40},MEDIUM:{_:50,tablet:80},LARGE:{_:50,tablet:120}},d=(0,o.A)("section",{target:"e1p4nv0z0"})(({backgroundColor:e,backgroundImageUrl:t,theme:{colors:i}})=>({...{backgroundColor:e?i.background[e]:"unset",backgroundImage:t?`url("${t}")`:"unset",backgroundPosition:"center",backgroundSize:"cover"}}),a.xe,a.Zp,a.G1),s=(0,n.forwardRef)(({backgroundColor:e,backgroundImageUrl:t,children:i,as:n="section",id:o,spacingY:a,spacingBottom:s,spacingTop:c,...u},g)=>(0,r.Y)(d,{backgroundColor:e,backgroundImageUrl:t,ref:g,as:n,id:o,mx:"auto",py:a?l[a]:null,pt:c?l[c]:null,pb:s?l[s]:null,...u,children:i}))},29818:function(e){e.exports=function(){"use strict";function e(){return(e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e}).apply(this,arguments)}return function(){var t,i=[],r={vendor:void 0,id:void 0,src:void 0,thumbnail:void 0,title:void 0,initialized:!1,y:void 0,debounce:250,lazyload:!0,autoplay:!0,initinview:!1,onLoad:function(e){},onAppend:function(e){},onThumbnailLoad:function(e){}},n={youtube_nocookie:/(?:youtube-nocookie\.com\/\S*(?:(?:\/e(?:mbed))?\/|watch\?(?:\S*?&?v\=)))([a-zA-Z0-9_-]{6,11})/,youtube:/(?:youtube\.com\/\S*(?:(?:\/e(?:mbed))?\/|watch\?(?:\S*?&?v\=))|youtu\.be\/)([a-zA-Z0-9_-]{6,11})/,vimeo:/vimeo\.com\/(?:video\/)?([0-9]*)(?:\?|)/},o={youtube:function(e){return!(!e||11!=e[1].length)&&e[1]},youtube_nocookie:function(e){return!(!e||11!=e[1].length)&&e[1]},vimeo:function(e){return!!(e&&9===e[1].length||8===e[1].length)&&e[1]}},a={youtube:function(e){return"https://www.youtube.com/embed/".concat(e.id,"/?autoplay=").concat(e.autoplay?"1":"0","&").concat(e.query)},youtube_nocookie:function(e){return"https://www.youtube-nocookie.com/embed/".concat(e.id,"/?auto
1play=").concat(e.autoplay?"1":"0","&").concat(e.query)},vimeo:function(e){return"https://player.vimeo.com/video/".concat(e.id,"/?autoplay=").concat(e.autoplay?"1":"0","&").concat(e.query)}},l=function(e){return e.title},d=function(e){return e.thumbnail_url};function s(i){var r=this;if(i instanceof HTMLElement!=!1&&!i.classList.contains("lazyframe--loaded")){var a={el:i,settings:function(i){var r,a=Array.prototype.slice.apply(i.attributes).filter(function(e){return""!==e.value}).reduce(function(e,t){return e[0===t.name.indexOf("data-")?t.name.split("data-")[1]:t.name]=t.value,e},{}),l=e({},t,a,{y:i.offsetTop,originalSrc:a.src,query:(r=a.src.split("?"))[1]?r[1]:null});if(l.vendor){var d=l.src.match(n[l.vendor]);l.id=o[l.vendor](d)}return l}(i)};a.el.addEventListener("click",function(){a.el.appendChild(a.iframe);var e=i.querySelectorAll("iframe");a.settings.onAppend.call(r,e[0])}),t.lazyload?u(a):c(a,a.settings.thumbnail)}}function c(e){var t,i,r,n,o,a=this;!(i=e.settings).vendor||i.title&&i.thumbnail?u(e,!0):(r=function(t,i){if(!t){var r=i[0],n=i[1];if(n.settings.title||(n.settings.title=l(r)),!n.settings.thumbnail){var o=d(r);n.settings.thumbnail=o,e.settings.onThumbnailLoad.call(a,o)}u(n,!0)}},t=e.settings,n="https://noembed.com/embed?url=".concat(t.src),(o=new XMLHttpRequest).open("GET",n,!0),o.onload=function(){o.status>=200&&o.status<400?r(null,[JSON.parse(o.responseText),e]):r(!0)},o.onerror=function(){r(!0)},o.send())}function u(e,r){if(n=e.settings,o=document.createDocumentFragment(),l=document.createElement("iframe"),n.vendor&&(n.src=a[n.vendor](n)),l.setAttribute("id","lazyframe-".concat(n.id)),l.setAttribute("src",n.src),l.setAttribute("frameborder",0),l.setAttribute("allowfullscreen",""),n.autoplay&&(l.allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"),o.appendChild(l),e.iframe=o,e.settings.thumbnail&&r&&(e.el.style.backgroundImage="url(".concat(e.settings.thumbnail,")")),e.settings.title&&0===e.el.children.length){var n,o,l,d=document.createDocumentFragment(),s=document.createElement("span");s.className="lazyframe__title",s.innerHTML=e.settings.title,d.appendChild(s),e.el.appendChild(d)}t.lazyload||(e.el.classList.add("lazyframe--loaded"),e.settings.onLoad.call(this,e),i.push(e)),e.settings.initialized||i.push(e)}return function(n){if(t=e({},r,arguments.length<=1?void 0:arguments[1]),"string"==typeof n)for(var o=document.querySelectorAll(n),a=0;a<o.length;a++)s(o[a]);else if(void 0===n.length)s(n);else for(var l=0;l<n.length;l++)s(n[l]);t.lazyload&&function(){var e=this,r=window.innerHeight,n=i.length,o=function(t,i){t.settings.initialized=!0,t.el.classList.add("lazyframe--loaded"),n--,c(t),t.settings.initinview&&t.el.click(),t.settings.onLoad.call(e,t)};i.filter(function(e){return e.settings.y<r}).forEach(o);var a,l,d,s,u=(a=function(){h=g<window.pageYOffset,g=window.pageYOffset,h&&i.filter(function(e){return e.settings.y<r+g&&!1===e.settings.initialized}).forEach(o),0===n&&window.removeEventListener("scroll",u,!1)},l=t.debounce,function(){var e=this,t=arguments,i=d&&!s;clearTimeout(s),s=setTimeout(function(){s=null,d||a.apply(e,t)},l),i&&a.apply(e,t)}),g=0,h=!1;window.addEventListener("scroll",u,!1)}()}}()}()},33364:(e,t,i)=>{"use strict";i.d(t,{A:()=>u});var r=i(18153),n=i(14232),o=i(97286),a=i(65286),l=i(56267),d=i(29818),s=i.n(d),c=i(3424);let u=({src:e,title:t,thumbnail:i,vendor:d,inModal:u})=>{let{sendEventToAmplitude:g}=(0,c.s)();return(0,n.useEffect)(()=>{let e=document.getElementById("lazyVideo");s()(e)},[]),(0,r.Y)(a.A,{style:{...u&&{width:"100%",padding:0}},children:(0,r.Y)(o.V,{children:(0,r.Y)(o.b,{inModal:u,id:"lazyVideo","data-vendor":d,"data-src":e,"data-ratio":"16:9","data-title":t,"data-thumbnail":i,onClick:()=>{g(l.Mj.VIDEO_STARTED,{video_link:e})}})})})}},48905:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[locale]/ai-agent/playground",function(){return i(85867)}])},51057:(e,t,i)=>{"use strict";i.d(t,{$m:()=>c,Is:()=>h,cM:()=>g,h9:()=>d,hJ:()=>a,jl:()=>u,mc:()=>l,rQ:()=>s});var r=i(71528),n=i(31038),o=i(76252);let a=(0,o.A)("div",{target:"e5sjndl0"})(({theme:{zIndex:e}})=>({background:"rgba(8, 15, 26, 0.8)",position:"fixed",left:0,top:0,right:0,bottom:0,zIndex:e.ON_TOP_OR_MODAL,overflow:"hidden",[(0,n.A)("tablet","down","tablet")]:{overflow:"scroll","::-webkit-scrollbar":{display:"none"}}})),l=(0,o.A)("div",{target:"e5sjndl1"})(({theme:{zIndex:e}
1,forVideo:t})=>({width:"100%",position:"relative",zIndex:e.MODAL_CONTAINER,top:40,marginTop:"40px",[(0,n.A)("tablet")]:{marginTop:0,maxWidth:516,left:"50%",top:"50%",transform:"translate(-50%,-50%)"},...t&&{left:"50%",top:"50%",transform:"translate(-50%,-50%)",[(0,n.A)("tablet")]:{marginTop:0,maxWidth:"80%",left:"50%",top:"50%",transform:"translate(-50%,-50%)"},[(0,n.A)("tabletLandscape")]:{aspectRatio:"16 / 9",height:"auto",maxWidth:840},[(0,n.A)("laptop")]:{maxWidth:1116}}})),d=(0,o.A)(r.A,{target:"e5sjndl2"})({marginBottom:24}),s=(0,o.A)("div",{target:"e5sjndl3"})(({theme:e,paddingType:t})=>({padding:"small"===t?"0":"40px 35px",backgroundColor:e.colorsOld.GRAY_100})),c=(0,o.A)("div",{target:"e5sjndl4"})(({theme:e,isHeader:t,paddingType:i,isFooterHidden:r})=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"small"===i?"0":"20px 16px",backgroundColor:e.colorsOld.WHITE,borderTopLeftRadius:12*!t,borderTopRightRadius:12*!t,borderBottomRightRadius:12*!!r,borderBottomLeftRadius:12*!!r,[(0,n.A)("tablet")]:{padding:"small"===i?"0":"42px 32px",..."no-bottom"===i&&{padding:"42px 32px 0"}}})),u=(0,o.A)("div",{target:"e5sjndl5"})(({theme:e,paddingType:t})=>({display:"flex",alignItems:"center",justifyContent:"center",borderBottomLeftRadius:12,borderBottomRightRadius:12,padding:"small"===t?"10px":"16px 46px 44px 46px",backgroundColor:e.colorsOld.WHITE,[(0,n.A)("tablet")]:{padding:"small"===t?"16px":"24px 0 32px 0"}})),g=(0,o.A)("div",{target:"e5sjndl6"})({marginRight:12,[(0,n.A)("tablet")]:{display:"none"}}),h=(0,o.A)("div",{target:"e5sjndl7"})({display:"flex",position:"absolute",right:20,top:-20,alignItems:"center",justifyContent:"center",borderRadius:100,[(0,n.A)("tablet")]:{right:0,top:0}})},67438:(e,t,i)=>{"use strict";i.d(t,{A:()=>p});var r=i(18153),n=i(55462),o=i(36471),a=i(1363),l=i(62867),d=i(77328),s=i.n(d),c=i(14660);let u=`${n.p0}/images/seo/tidio-og-image.png`,g=1200,h=630,p=({seo:e={title:"The Ultimate Communication Toolbox for Your Online Business | Tidio",metaDesc:"Connect with your website visitors instantly and convert them into paying customers. Use Tidio communication and marketing solutions to grow your business.",metaRobotsNoindex:"index",metaRobotsNofollow:"follow",schema:{raw:""},opengraphImage:{sourceUrl:u,mediaDetails:{height:h,width:g}}},customCanonicalUrl:t,customSchema:i})=>{let{query:n,locale:d,pathname:p}=(0,c.A)(),m=d===o.z2.defaultLanguage,{title:b,metaDesc:f,metaRobotsNoindex:v,metaRobotsNofollow:A,schema:y}=e,x=(0,a.f)(p,d,n,t),w={type:"website",locale:d,url:x,..."PostTypeSEO"===e.__typename?{title:e.opengraphTitle,description:e.opengraphDescription,images:[{url:e.opengraphImage?.sourceUrl||u,width:e.opengraphImage?.mediaDetails?.width||g,height:e.opengraphImage?.mediaDetails?.height||h}],site_name:e.opengraphSiteName}:{title:b,description:"Connect with your website visitors instantly and convert them into paying customers. Use Tidio communication and marketing solutions to grow your business.",images:[{url:u,width:g,height:h}],site_name:"Tidio"}};return(0,r.FD)(r.FK,{children:[(0,r.Y)(l.bV,{title:b,description:f,canonical:x,noindex:"index"!==v,nofollow:"follow"!==A,openGraph:w,twitter:{handle:"@tidiocx",site:"@tidiocx",cardType:"summary_large_image"}}),m&&(0,r.FD)(s(),{children:[y?.raw&&(0,r.Y)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:y?.raw}},"schema"),i&&(0,r.Y)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:i}},"custom-schema")]})]})}},71528:(e,t,i)=>{"use strict";i.d(t,{A:()=>c});var r=i(18153),n=i(34416),o=i(87960),a=i(31038),l=i(76252),d=i(79216);let s=(0,l.A)("header",{target:"e1fchrgz0"})(({size:e,theme:t,fontWeight:i,color:r,whiteSpace:l,gradient:d,additionalColor:s})=>{let c={color:n.$.text[r]?n.$.text[r]:r,fontWeight:i,whiteSpace:l,strong:{wordBreak:"break-all"},...d&&{em:{background:o.H[d],fontStyle:"normal",backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",WebkitBoxDecorationBreak:"clone"}},...s&&{em:{background:n.$.text[s],fontStyle:"normal",backgroundClip:"text",WebkitBackgroun
1dClip:"text",WebkitTextFillColor:"transparent",WebkitBoxDecorationBreak:"clone"}}};return"H1"===e?{...c,...t.typo.heading.H32,fontWeight:600,[(0,a.A)("tablet")]:{...t.typo.heading.H52}}:"H2"===e?{...c,...t.typo.heading.H24,fontWeight:600,[(0,a.A)("tablet")]:{...t.typo.heading.H40}}:"H3"===e?{...c,...t.typo.heading.H20,fontWeight:600,[(0,a.A)("tablet")]:{...t.typo.heading.H32}}:null},d.xe,d.Il),c=({size:e,children:t,fontWeight:i,as:o="h2",color:a=n.$.BLACK,additionalColor:l,whiteSpace:d="pre-line",gradient:c,...u})=>(0,r.Y)(s,{color:a,as:o,size:e,fontWeight:i,whiteSpace:d,gradient:c,additionalColor:l,...u,children:t})},75735:(e,t,i)=>{"use strict";i.d(t,{A:()=>g});var r=i(18153),n=i(29720),o=i(76252);let a=(0,o.A)("ul",{target:"e1v686mv0"})({display:"inline-grid",width:"100%",margin:"20px 0",paddingLeft:40,listStyleType:"disc"}),l=(0,o.A)("p",{target:"e1v686mv1"})({margin:0}),d=(0,o.A)("ol",{target:"e1v686mv2"})({margin:0,display:"inline-grid",marginBlockStart:0,marginBlockEnd:0,paddingInlineStart:20}),s=({href:e,children:t,shouldOpenInNewTab:i})=>e?e.includes("tidio")&&!i?(0,r.Y)("a",{href:e,children:t}):(0,r.Y)("a",{href:e,target:"_blank",rel:"nofollow noreferrer",children:t}):(0,r.Y)(r.FK,{children:t}),c=({children:e})=>(0,r.Y)(a,{children:e}),u=({children:e})=>(0,r.Y)(d,{children:e}),g=({children:e,shouldOpenInNewTab:t=!1,shouldBeEmptyParagraph:i=!1})=>(0,r.Y)(n.oz,{components:{p:function(e){return i?(0,r.Y)(r.FK,{children:e.children}):(0,r.Y)(l,{children:e.children})},a:function(e){return(0,r.Y)(s,{shouldOpenInNewTab:t,...e})},ul:c,ol:u},children:e})},78131:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var r=i(18153),n=i(14232),o=i(85453),a=i(15060),l=i(51057),d=i(27048);let s=(0,n.memo)(({isOpen:e,children:t,title:i,text:n,header:s,onSubmit:c,onClose:u,submitText:g,cancelText:h,hideCancel:p,paddingType:m="large",isFooterHidden:b,forVideo:f})=>e?(0,r.Y)(l.hJ,{children:(0,r.FD)(l.mc,{forVideo:f,children:[!p&&u&&(0,r.Y)(l.Is,{children:(0,r.Y)(d.A,{onClick:u})}),s&&(0,r.Y)(l.rQ,{paddingType:m,children:s}),(0,r.FD)(l.$m,{isHeader:!!s,isFooterHidden:b,paddingType:m,children:[i&&(0,r.Y)(l.h9,{size:"H2",fontWeight:600,children:i}),n&&(0,r.Y)(a.A,{size:"PS",color:"default",m:0,mt:2,textAlign:"center",children:n}),t]}),!b&&(0,r.FD)(l.jl,{paddingType:m,children:[!p&&(0,r.Y)(l.cM,{children:(0,r.Y)(o.A,{size:"s",onClick:u,children:h})}),g&&(0,r.Y)(o.A,{size:"s",colorScheme:"ALT",onClick:c,children:g})]})]})}):null)},83846:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var r=i(76252);let n={default:"normal",start:"flex-start",end:"flex-end",center:"center"},o={default:"normal",start:"flex-start",end:"flex-end","space-between":"space-between","space-around":"space-around"},a=(0,r.A)("div",{target:"eurwqrg0"})(({space:e=0,splitAfter:t,align:i="default",justifyContent:r="start",direction:a="column"})=>({display:"flex",flexDirection:a,justifyContent:o[r],alignItems:n[i],"&& > *":{marginTop:"0",marginBottom:"0"},"&& > * + *":{..."column-reverse"===a?{marginBottom:`${e}px`}:"column"===a?{marginTop:`${e}px`}:{marginLeft:`${e}px`}},...t&&{"&:only-child":{height:"100%"},[`& > :nth-of-type(${t})`]:{marginBottom:"auto"}}}))},85453:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var r=i(18153),n=i(14232),o=i(27257);let a=(0,n.memo)(({children:e,size:t,onClick:i,colorScheme:n,analytics:a,type:l="button",testId:d,loading:s,loadingText:c,disabled:u,icon:g,textUnderButton:h})=>(0,r.Y)(o.A,{size:t,colorScheme:n,onClick:i,analytics:a,as:"button",type:l,testId:d,loading:s,loadingText:c,disabled:u,icon:g,textUnderButton:h,children:s?c:e}))},85867:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSG:()=>eb,default:()=>ef});var r=i(18153),n=i(14232),o=i(67438),a=i(96871),l=i(77786),d=i(44331),s=i(65286),c=i(31038),u=i(76252);let g=(0,u.A)(s.A,{target:"e19vgj7v0"})({display:"none",[(0,c.A)("tabletLandscape")]:{display:"block",height:72}}),h=(0,u.A)("div",{target:"e19vgj7v1"})({display:"flex",alignItems:"center",justifyContent:"space-between",height:"100%",gap:16});var p=i(98978),m=i(29174),b=i(98122);let f=({buttons:e,logo:t,logoTitle:i,brandsMenu:n})=>(0,r.Y)(m.A,{backgroundColor:"surfaceSubdued",children:(0,r.Y)(g,{children:(0,r.FD)(d.A,{justifyContent:"space-between",alignItems:"center",height:"100%",children:["boolean"==typeof t?(0,r.Y)(b.A,{isMobileMenuOpen:!1,color:"black",logoTitle:i,brands:n}):(0,r.Y)(p.A,{...t}),(0,r.FD)(h,{children:[(0,r.Y)(p.A,{...e[0]}),(0,r.Y)(p.A,{...e[1]})]})]})})});var v=i(55512);let A=(0,u.A)("div",{target:"e3uysew0"})({display:"flex",width:"100%",justifyContent:"center",gap:8,marginBottom:24,flexWrap:"wrap"}),y=(0,u.A)("div",{target:"e3uysew1"})({display:"flex",width:"100%",height:50,justifyContent:"center",paddingTop:12}),x=(0,u.A)("div",{target:"e3uysew2"})({display:"flex",width:"100%",justifyContent:"center",gap:8}),w=(0,u.A)("div",{target:"e3uysew3"})(({theme:{typo:e}})=>({padding:2,textAlign:"center",transition:"background-color 0.2s linear, color 0.2s linear",...e.content.UI12})),k={ACTION:{backgroundColor:v.w.colors.surface.disabled,backgroundColorActive:v.w.colors.text.disabled,headerBackgroun
1d:v.w.colors.surface.subduedInverted,textColor:v.w.colors.text.default,textColorActive:v.w.colors.text.default},PINK:{backgroundColor:v.w.colors.surface.disabled,backgroundColorActive:v.w.colors.utility.klarnaPink,headerBackground:v.w.colors.surface.subduedInverted,textColor:v.w.colors.surface.subduedInverted,textColorActive:v.w.colors.text.white},CTA:{backgroundColor:v.w.colors.surface.blue50,backgroundColorActive:v.w.colors.surface.blue50,headerBackground:v.w.colors.surface.blue500,textColor:v.w.colors.text.white,textColorActive:v.w.colors.text.white}},C=(0,u.A)("button",{target:"e3uysew4"})(({isActive:e,colorScheme:t})=>({borderRadius:8,width:"100%",maxWidth:138,minHeight:74,borderWidth:2,backgroundColor:k[t].backgroundColor,borderColor:e?k[t].backgroundColorActive:k[t].backgroundColor,transition:"background-color 0.2s linear",padding:0,overflow:"hidden",borderStyle:"solid",cursor:"pointer",..."CTA"===t&&{borderColor:k[t].headerBackground,":hover":{backgroundColor:v.w.colors.surface.blue100},[(0,c.A)("tablet","down")]:{maxWidth:284}},[(0,c.A)("tablet")]:{maxWidth:198},[`${w}`]:{backgroundColor:e?k[t].backgroundColorActive:k[t].headerBackground,color:e?k[t].textColorActive:k[t].textColor}}));var Y=i(3653),L=i(15060),I=i(56267),_=i(54587),T=i.n(_),z=i(3424);let D=({projects:e,activeProject:t,setActiveProject:i,customElement:n,onCustomElementClick:o})=>{let{sendEventToAmplitude:a}=(0,z.s)();return(0,r.FD)(A,{children:[e.map(e=>(0,r.FD)(C,{type:"button",onClick:()=>{var t;let r;return t=e.id,a(I.Mj.PLAYGROUND_AI_ASSISTANT_PICKER,{cta_text:t}),r=document.getElementById("playground"),void(i(t),r&&r.scrollIntoView({block:"nearest",behavior:"smooth"}))},isActive:t===e.id,colorScheme:e.colorScheme,children:[(0,r.Y)(w,{children:e.header}),(0,r.Y)(y,{children:(0,r.Y)(T(),{...e.image})})]},e.id)),n&&(0,r.FD)(C,{type:"button",onClick:o,isActive:!1,colorScheme:"CTA",children:[(0,r.Y)(w,{children:n.title}),(0,r.Y)(y,{children:(0,r.FD)(x,{children:[(0,r.Y)(Y.A,{type:"material",name:"open_in_browser",size:20,fill:"default"}),(0,r.Y)(L.A,{size:"UI16",color:"default",m:0,children:n.cta})]})})]},"custom")]})};var S=i(7234);let R=(0,u.A)("div",{target:"e1fv10pj0"})({display:"grid",gap:20,gridTemplateColumns:"1fr",[(0,c.A)("tabletLandscape")]:{gridTemplateColumns:"1fr min-content"}}),j=(0,u.A)("div",{target:"e1fv10pj1"})({display:"flex",flexDirection:"column"}),E=(0,u.A)("div",{target:"e1fv10pj2"})(({theme:{colors:e}})=>({display:"flex",justifyContent:"space-between",paddingBottom:16,borderBottom:`1px solid ${e.border.default}`,button:{svg:{width:20,height:20}}})),B=(0,u.A)("div",{target:"e1fv10pj3"})({paddingTop:20}),H=(0,u.A)(S.A,{target:"e1fv10pj4"})({flexDirection:"column",alignItems:"flex-start",gap:8,marginTop:12,[(0,c.A)("tabletLandscape")]:{marginTop:68}}),F=(0,u.A)("div",{target:"e1fv10pj5"})({display:"flex",marginTop:20,width:"100%",button:{fontSize:14}}),W=(0,u.A)("button",{target:"e1fv10pj6"})(({theme:{colors:e,typo:t}})=>({borderRadius:20,padding:"8px 16px",margin:0,color:e.text.default,backgroundColor:e.surface.subduedInverted,height:"auto",whiteSpace:"normal",textAlign:"left",border:"none",cursor:"pointer",...t.content.UI14,":hover":{color:e.text.default,backgroundColor:e.surface.disabled}})),$=(e,t)=>{let i,r=[...e],n=r.length;for(;0!==n;)i=Math.floor(Math.random()*n),n-=1,[r[n],r[i]]=[r[i],r[n]];return r.slice(0,t)};var M=i(47228),P=i(85453),O=i(90140),U=i(23444),N=i(76017);let q=({project:e,labels:t})=>
1{let[i,o]=(0,n.useState)(null),[a,l]=(0,n.useState)(null),[d,s]=(0,n.useState)(),c=(0,N.A)(e.pk),{mediaMatched:u}=(0,U.A)("tabletLandscape"),g=(0,n.useRef)(null),h=u?5:3;return(0,n.useEffect)(()=>{(null===i||e.pk!==c)&&o((0,O.Z)())},[i,c,e.pk]),(0,n.useEffect)(()=>{l($(e.questions,h))},[h,e.questions]),(0,r.FD)(R,{children:[(0,r.FD)(j,{children:[(0,r.FD)(E,{children:[(0,r.Y)(L.A,{color:"default",size:"UI16",fontWeight:500,my:0,whiteSpace:"nowrap",children:t.boxHeader}),(0,r.Y)(P.A,{type:"button",size:"m",colorScheme:"LINK_ALT",icon:{prefix:{type:"material",name:"restart_alt",size:20}},onClick:()=>{o((0,O.Z)())},children:t.reset})]}),(0,r.FD)(B,{children:[(0,r.Y)(L.A,{color:"default",size:"UI16",fontWeight:400,my:0,children:t.questionHeader}),a&&(0,r.FD)(H,{children:[a?.map(e=>(0,r.Y)(W,{onClick:()=>{d?.tidioChatApi?.messageFromVisitor(e),!u&&g.current&&g.current.scrollIntoView({block:"nearest",behavior:"smooth"})},children:e},e)),(0,r.Y)(F,{children:(0,r.Y)(P.A,{type:"button",size:"s",colorScheme:"LINK",onClick:()=>{l($(e.questions,h))},children:t.showOther})})]})]})]}),(0,r.Y)("div",{ref:g,children:(0,r.Y)(M.A,{sandboxData:{pk:e.pk,triggerId:e.triggerId},onWidgetReady:({widgetWindow:e})=>{s(e),e.tidioChatApi?.messageFromVisitor(t.firstMessage)},resetSandboxTriggerId:i})})]})},G=({projects:e,labels:t,activeProject:i})=>{let n={pk:e[i].pk,triggerId:e[i].triggerId,questions:e[i].questions};return(0,r.Y)(q,{project:n,labels:t,questions:n.questions})},K=(0,u.A)("div",{target:"e1m8ri2d0"})(({theme:{colors:e}})=>({width:"100%",height:"auto",background:e.background.white,borderRadius:8,padding:"24px 12px",[(0,c.A)("tabletLandscape")]:{padding:"24px 32px",minHeight:690}}));var V=i(33364),Z=i(97286);let J=(0,u.A)("div",{target:"e1x0t2uz0"})(({theme:{colors:e}})=>({width:"100%",height:"auto",background:e.background.white,borderRadius:8,padding:"28px 32px",margin:"40px 0",display:"flex",flexFlow:"column",[(0,c.A)("tabletLandscape")]:{borderRadius:16,minHeight:140,flexFlow:"row nowrap",gap:32}})),X=(0,u.A)("div",{target:"e1x0t2uz1"})({border:"4px solid white",position:"relative",borderRadius:16,background:"white",width:"100%",[`${s.A}`]:{padding:0},[`${Z.b}`]:{width:"100%",minHeight:"auto"},[(0,c.A)("tabletLandscape")]:{order:-1,width:"auto",maxWidth:"50%",[`${Z.b}`]:{width:480,height:240}}}),Q=(0,u.A)("div",{target:"e1x0t2uz2"})({display:"flex",flexFlow:"column"});var ee=i(44503);let et=({header:e,subheader:t,video:i})=>(0,r.FD)(J,{children:[(0,r.FD)(Q,{children:[(0,r.Y)(ee.A,{size:"H3",color:"default",children:e}),(0,r.Y)(L.A,{size:"PM",color:"subdued",children:t})]}),(0,r.Y)(X,{children:(0,r.Y)(V.A,{...i,vendor:"youtube"})})]});var ei=i(75735),er=i(38822),en=i(18749),eo=i(78131),ea=i(51057),el=i(56326);let ed=(0,u.A)("div",{target:"eey19lv0"})({[`${ea.mc}`]:{maxWidth:580},[`${ea.$m}`]:{borderRadius:12,h2:{textAlign:"center",margin:0,...el.I.heading.H28}},[`${ea.jl}`]:{display:"none"}}),es=(0,u.A)("div",{target:"eey19lv1"})({marginTop:16}),ec=({isOpen:e,data:t,onClose:i})=>{let{form:n,formType:o,title:a,text:l}=t;return(0,r.Y)(ed,{children:(0,r.Y)(eo.A,{isOpen:e,onClose:i,title:a,text:l,children:(0,r.Y)(es,{children:"multistep"===o&&(0,r.Y)(en.A,{...n})})})})};var eu=i(2358),eg=i(24833),eh=i(59162);let ep=(0,u.A)(L.A,{target:"e1rj205h0"})(({theme:{colors:e}})=>({margin:"16px 0 0",a:{color:e.text.subdued}})),em=({sectionHeader:e,layout:t,breadcrumbs:i,labels:o,projectData:d,tracking:c,aiAssistantPickerData:u,aiAssistantPickerCustomElementData:g,defaultProject:h,navbar:p,videoBox:b,modal:v,needCustomAiAgent:A})=>{let[y,x]=(0,n.useState)(h),[w,k]=(0,n.useState)(!1),{sendEventToAmplitude:C}=(0,z.s)();return(0,r.Y)(l.A,{children:(0,r.Y)(eh.A.Provider,{value:c,children:(0,r.FD)(er.A,{...t,breadcrumbs:i,hideNotificationBar:!0,hidePreHeader:!0,hidePageHeader:!0,footer:{...t.footer,isSocialMediaHidden:!0,isBenefitsHidden:!0,isCtaBlockHidden:!0,isPlatformsHidden:!0,isNavHidden:!0,isBlogArticlesHidden:!0,paddingY:15},children:[(0,r.Y)(a.A,{}),(0,r.Y)(f,{...p,logoTitle:t.pageHeader.labels.logoTitle,brandsMenu:t.brandsMenu.menu}),(0,r.Y)(m.A,{backgroundColor:"surfaceSubdued",spacingY:"MEDIUM",children:(0,r.FD)(s.A,{children:[(0,r.Y)(eg.A,{...e,mb:42,header:{...e.header,headingType:"h1"}}),(0,r.Y)(D,{projects:u,activeProject:y,setActiveProject:x,customElement:g,onCustomElementClick:()=>void(k(!0),C(I.Mj.PLAYGROUND_AI_ASSISTANT_PICKER,{cta_text:g?.cta||"Get a demo"}))}),(0,r.Y)(ec,{data:v.data,isOpen:w,onClose:()=>k(!1)}),b&&(0,r.Y)(et,{...b}),(0,r.Y)(K,{id:"playground",children:(0,r.Y)(G,{projects:d,labels:o.aiAssistant,activeProject:y})}),(0,r.Y)(ep,{size:"UI12",color:"subdued",as:"div",children:(0,r.Y)(ei.A,{shouldOpenInNewTab:!0,children:o.infoBox})})]})}),A&&(0,r.Y)(m.A,{backgroundColor:"surfaceSubdued",spacingBottom:"MEDIUM",children:(0,r.Y)(s.A,{children:(0,r.Y)(eu.A,{translations:A,ctaHref:"/custom-ai-agents/?hs_track=ai-agent_playground",variant:"dark"})})})]})})})};var eb=!0;let ef=e=>(0,r.FD)(r.FK,{children:[(0,r.Y)(o.A,{seo:e.data.seo}),(0,r.Y)(em,{layout:e.layout,breadcrumbs:e.data.seo.breadcrumbs,labels:e.labels,aiAssistantPickerData:e.aiAssistantPickerData,aiAssistantPickerCustomElementData:e.aiAssistantPickerCustomElementData,defaultProject:e.defaultProject,projectData:e.projectData,sectionHeader:e.sectionHeader,tracking:e.tracking,navbar:e.navbar,modal:e.modal,needCustomAiAgent:e.needCustomAiAgent})]})},97286:(e,t,i)=>{"use strict";i.d(t,{V:()=>o,b:()=>a});var r=i(31038),n=i(76252);let o=(0,n.A)("div",{target:"e1rnj3vu0"})({width:"100%",display:"flex",alignItems:"center",justifyContent:"center",maxWidth:1144,margin:"0 auto"}),a=(0,n.A)("div",{target:"e1rnj3vu1"})(({inModal:e})=>({overflow:"hidden",position:"relative",width:"100%",backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",cursor:"pointer",borderRadius:4,".lazyframe__title":{display:"none"},...e?{aspectRatio:"16 / 9",height:"auto",maxWidth:"100%"}:{height:192,maxWidth:340,[(0,r.A)("tablet")]:{height:292,maxWidth:520},[(0,r.A)("laptop")]:{height:572,maxWidth:1016,borderRadius:13},[(0,r.A)("desktop")]:{height:644,maxWidth:1144}},iframe:{position:"absolute",top:0,left:0,width:"100%",height:"100%",[(0,r.A)("laptop","between","desktop")]:{minHeight:"calc(100% + 1px)"}}}))}},e=>{e.O(0,[8626,357,2867,9076,9720,7786,4637,8822,6871,4977,636,6593,8792],()=>e(e.s=48905)),_N_E=e.O()}]);

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.