1(globalThis.webpackChunk_N_E=globalThis.webpackChunk_N_E||[]).push([[1152],{1152:(e,t,r)=>{"use strict";r.d(t,{L:()=>v,n:()=>p});var n=r(87448),i=r(73605),c=r(23796),o=r(35586),s=r(20745),a=r(98497),u=r(42480),l=r(30080),d=r.n(l);function h(e){let{asset:t,slot:r,motion:a,telemetryScope:l}=e,h=(0,o.sf)(),p=(0,u.kJ)(r),{ref:v,visible:f,playbackVisible:g}=(0,u.$u)(),{complete:x}=(0,u.CT)(p,a,f,l),m=(0,c.useRef)(null),j=(0,c.useRef)(!1),y=(0,c.useRef)(!0),b=(0,c.useRef)(!1),k=(0,c.useRef)([]),w=(0,c.useRef)(0),_=(0,c.useRef)("manual"),[E,N]=(0,c.useState)(!1),C=(0,c.useRef)(!1),M=a&&g,R=(0,c.useRef)(M);R.current=M;let A=(0,c.useCallback)(()=>{let e=m.current;e&&!e.paused&&(y.current=!0,w.current+=1,e.pause())},[]),S=(0,c.useCallback)((e,r)=>{b.current=!0,N(!0),A(),C.current||(C.current=!0,console.warn("Executive video playback failed.",{asset:t.src,error_name:e,...void 0===r?{}:{media_code:r}}))},[t.src,A]),T=(0,c.useCallback)(e=>{if(!(e instanceof DOMException)||"AbortError"!==e.name)b.current=!0,e instanceof DOMException&&"NotAllowedError"===e.name||S(e instanceof DOMException&&["NotSupportedError","NetworkError","EncodingError","SecurityError"].includes(e.name)?e.name:"UnknownError")},[S]),q=(0,c.useCallback)(()=>{let e=m.current;if(!e||!R.current||j.current||b.current||!e.paused)return;if(!y.current&&!e.ended){j.current=!0;return}y.current=!1;let t={queuedEvent:!1};k.current.push(t),_.current="autoplay";let r=e.play();t.queuedEvent=!e.paused,r.catch(e=>{t.queuedEvent||(k.current=k.current.filter(e=>e!==t)),T(e)})},[T]);function z(e){p&&(0,s.fK)(h,"".concat(l,".demo.interacted"),{demo:p,section:r,control:e,media_kind:"video"})}return(0,c.useEffect)(()=>{M?q():f&&"autoplay"!==_.current||A()},[M,f,q,A]),(0,c.useEffect)(()=>{a||A()},[a,A]),(0,n.jsxs)("div",{ref:v,className:d().media,children:[(0,n.jsx)("video",{ref:m,style:E?{display:"none"}:void 0,src:t.src,poster:t.poster,width:t.width,height:t.height,"aria-label":t.label,controls:!0,muted:!0,playsInline:!0,preload:"none",onError:e=>{var t;let r=null==(t=e.currentTarget.error)?void 0:t.code;1!==r&&S("MediaError",r)},onPlay:e=>{if(k.current.shift()){R.current||A();return}j.current=!1,e.currentTarget.paused||(y.current=!1),b.current=!1,_.current="manual",z("play")},onPause:e=>{if(w.current>0){w.current-=1;return}e.currentTarget.ended||(j.current=!0,z("pause"))},onEnded:()=>{x(_.current),q()}}),E&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.default,{src:t.poster,alt:t.label,width:t.width,height:t.height,sizes:"(max-width: 900px) 100vw, 50vw"}),(0,n.jsxs)("div",{className:d().error,role:"status",children:[(0,n.jsx)("p",{children:"The video couldnât load. You can view the preview or try again."}),(0,n.jsx)("button",{type:"button",onClick:()=>{let e=m.current;e&&(b.current=!1,j.current=!1,k.current=[],N(!1),e.load(),e.play().catch(T))},children:"Retry video"})]})]})]})}function p(e){let{asset:t,slot:r,motion:c,priority:o=!1,telemetryScope:s="executive"}=e;if("component"===t.kind){let e=t.component;return(0,n.jsx)(e,{motion:c})}return"video"===t.kind?(0,n.jsx)(h,{asset:t,slot:r,motion:c,telemetryScope:s},t.src):(0,n.jsx)("div",{className:d().media,children:(0,n.jsx)(i.default,{src:t.src,alt:t.alt,width:t.width,height:t.height,sizes:"(max-width: 900px) 100vw, 50vw",priority:o})})}function v(e){let{slot:t,motion:r,children:i}=e,c=a.k[t];return c?(0,n.jsx)(p,{asset:c,slot:t,motion:r,priority:"hero"===t}):i}},20745:(e,t,r)=>{"use strict";r.d(t,{IM:()=>c,fK:()=>o,hC:()=>i});let n=["hero","production","continuity","portability","learning","own-cloud","closing","footer","direct"];function i(e){var t;return null!=(t=n.find(t=>t===e))?t:"direct"}function c(e){let t=i(e);return"direct"===t?"executive_apply":"executive_apply_".concat(t)}function o(e,t,r){try{void 0===r?null==e||e.capture(t):null==e||e.capture(t,r)}catch(e){console.warn("Application analytics unavailable.")}}},30080:e=>{e.exports={media:"executive-visual_media__8Q_o7",error:"executive-visual_error__GC4cz"}},42480:(e,t,r)=>{"use strict";r.d(t,{$u:()=>s,CT:()=>a,kJ:()=>o});var n=r(23796),i=r(35586);let c={hero:"hero",production:"production",continuity:"continuity",learning:"learning",cloud:"own-cloud"};function o(e){return Object.keys(c).find(t=>c[t]===e)}
1function s(){let e=(0,n.useRef)(null),[t,r]=(0,n.useState)(!1),[i,c]=(0,n.useState)(!1),[o,s]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let t=new IntersectionObserver(e=>{let[t]=e;r(t.isIntersecting),c(t.isIntersecting&&t.intersectionRatio>=.3)},{threshold:[0,.3]});e.current&&t.observe(e.current);let n=()=>s("hidden"!==document.visibilityState);return n(),document.addEventListener("visibilitychange",n),()=>{t.disconnect(),document.removeEventListener("visibilitychange",n)}},[]),{ref:e,visible:t&&o,playbackVisible:i&&o}}function a(e,t,r){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"executive",s=(0,i.sf)(),a=(0,n.useRef)(s);a.current=s;let u=(0,n.useRef)(!1),l=(0,n.useRef)(!1),d=(0,n.useCallback)(t=>{var r;if(e&&(null==(r=a.current)?void 0:r.capture)&&!l.current){l.current=!0;try{a.current.capture("".concat(o,".demo.completed"),{demo:e,section:c[e],completion_mode:t})}catch(e){}}},[e,o]),h=(0,n.useCallback)((t,r,n)=>{var i;if(!e||!(null==(i=a.current)?void 0:i.capture))return!1;try{a.current.capture("".concat(o,".demo.interacted"),void 0===n?{demo:e,section:c[e],control:t,step:r}:{demo:e,section:c[e],control:t,step:r,enabled:n})}catch(e){}return!0},[e,o]);return(0,n.useEffect)(()=>{if(e&&r&&(null==s?void 0:s.capture)&&!u.current){u.current=!0;try{s.capture("".concat(o,".demo.viewed"),{demo:e,section:c[e],motion:t?"normal":"reduced"})}catch(e){}}},[e,t,r,s,o]),{complete:d,interact:h}}},69062:e=>{e.exports={root:"cloud-architecture_root__WfY9q",figure:"cloud-architecture_figure__XSfa7",options:"cloud-architecture_options__5Ioow",option:"cloud-architecture_option__x677H",infrastructure:"cloud-architecture_infrastru
1cture__YvQMN",providers:"cloud-architecture_providers__jxCfq",providerMark:"cloud-architecture_providerMark__QTAe9"}},98497:(e,t,r)=>{"use strict";r.d(t,{A:()=>v,k:()=>f});var n=r(87448),i=r(73605),c=r(94271),o=r(24530),s=r(31623),a=r(23796),u=r(35586),l=r(20745),d=r(42480),h=r(69062),p=r.n(h);let v=["hero","production","continuity","portability","learning","own-cloud","channels"],f={hero:{kind:"video",src:"/videos/executive/hero-agency-v2.mp4",poster:"/images/executive/hero-agency-v2.webp",label:"An agent creates a quarterly spending report from product data and an uploaded invoice",width:1920,height:1536},production:{kind:"video",src:"/videos/executive/copilotkit-agent-production-debugging-v1.mp4",poster:"/images/executive/copilotkit-agent-production-debugging-v1.webp",label:"An engineer traces a report that failed because the agent dropped the requested team, revises the agent instructions, and retests the same request until the Marketing report is generated",width:1920,height:1200},continuity:{kind:"video",src:"/videos/executive/copilotkit-agent-thread-continuity-v1.mp4",poster:"/images/executive/copilotkit-agent-thread-continuity-v1.webp",label:"A spending report saved on Monday is still in Thread History on Thursday, and reopening it restores the conversation, chart, and context so the quarterly budget can be added",width:1440,height:1440},learning:{kind:"video",src:"/videos/executive/copilotkit-learning-v1.mp4",poster:"/images/executive/copilotkit-learning-v1.webp",label:"Learning from recurring corrections to improve the next agent run",width:1440,height:1152},"own-cloud":{kind:"component",component:function(){let e=(0,u.sf)(),t=(0,a.useRef)(!1),{ref:r,visible:h}=(0,d.$u)();return(0,a.useEffect)(()=>{h&&!t.current&&(null==e?void 0:e.capture)&&(t.current=!0,(0,l.fK)(e,"executive.cloud.architecture.viewed",{section:"own-cloud"}))},[h,e]),(0,n.jsx)("div",{ref:r,className:p().root,"data-media-kind":"native_architecture",children:(0,n.jsxs)("figure",{className:p().figure,"aria-label":"Deployment options",children:[(0,n.jsxs)("ul",{className:p().options,role:"list","aria-label":"Deployment options",children:[(0,n.jsxs)("li",{className:p().option,children:[(0,n.jsx)(c.A,{size:28,strokeWidth:1.5,"aria-hidden":"true"}),(0,n.jsxs)("div",{children:[(0,n.jsx)("strong",{children:"Self-hosted"}),(0,n.jsx)("p",{children:"Your infrastructure \xb7 Use your own database"})]})]}),(0,n.jsxs)("li",{className:p().option,children:[(0,n.jsx)(o.A,{size:28,strokeWidth:1.5,"aria-hidden":"true"}),(0,n.jsxs)("div",{children:[(0,n.jsx)("strong",{children:"Managed dedicated VPC"}),(0,n.jsx)("p",{children:"Isolated environment, managed by CopilotKit"})]})]}),(0,n.jsxs)("li",{className:p().option,children:[(0,n.jsx)(s.A,{size:28,strokeWidth:1.5,"aria-hidden":"true"}),(0,n.jsxs)("div",{children:[(0,n.jsx)("strong",{children:"Standard cloud"}),(0,n.jsx)("p",{children:"Managed by CopilotKit"})]})]})]}
1),(0,n.jsx)("div",{className:p().infrastructure,children:(0,n.jsxs)("ul",{className:p().providers,role:"list","aria-label":"Self-host on",children:[(0,n.jsxs)("li",{children:[(0,n.jsx)("span",{className:p().providerMark,children:(0,n.jsx)(i.default,{src:"/images/logos/aws.webp",alt:"",width:40,height:24})}),(0,n.jsx)("span",{children:"AWS"})]}),(0,n.jsxs)("li",{children:[(0,n.jsx)("span",{className:p().providerMark,children:(0,n.jsx)(i.default,{src:"/images/executive/infrastructure/azure.svg",alt:"",width:24,height:24})}),(0,n.jsx)("span",{children:"Azure"})]}),(0,n.jsxs)("li",{children:[(0,n.jsx)("span",{className:p().providerMark,children:(0,n.jsx)(i.default,{src:"/images/executive/infrastructure/google-cloud.svg",alt:"",width:28,height:24})}),(0,n.jsx)("span",{children:"Google Cloud"})]}),(0,n.jsxs)("li",{children:[(0,n.jsx)("span",{className:p().providerMark,children:(0,n.jsx)(c.A,{size:24,strokeWidth:1.5,"aria-hidden":"true"})}),(0,n.jsx)("span",{children:"On-Prem"})]})]})})]})})}}}}}]);
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.