PageSourceSearch

https://www.anthropic.com/_next/static/chunks/0zgp5us6zzclv.js

js anthropic.com collected 2026-10-01 06:18:46 UTC 154,369 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,54513,e=>{"use strict";var t=e.i(271645),l=Object.defineProperty,a=new Map,s=new WeakMap,r=0,i=void 0;t.Component,e.s(["useInView",0,function({threshold:e,delay:l,trackVisibility:n,rootMargin:o,root:d,triggerOnce:u,skip:c,initialInView:m,fallbackInView:f,onChange:h}={}){var _;let[p,x]=t.useState(null),b=t.useRef(h),[v,g]=t.useState({inView:!!m,entry:void 0});b.current=h,t.useEffect(()=>{let t;if(!c&&p)return t=function(e,t,l={},n=i){if(void 0===window.IntersectionObserver&&void 0!==n){let a=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof l.threshold?l.threshold:0,time:0,boundingClientRect:a,intersectionRect:a,rootBounds:a}),()=>{}}let{id:o,observer:d,elements:u}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var l;return`${t}_${"root"===t?!(l=e.root)?"0":(s.has(l)||(r+=1,s.set(l,r.toString())),s.get(l)):e[t]}`}).toString(),l=a.get(t);if(!l){let s,r=new Map,i=new IntersectionObserver(t=>{t.forEach(t=>{var l;let a=t.isIntersecting&&s.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=a),null==(l=r.get(t.target))||l.forEach(e=>{e(a,t)})})},e);s=i.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),l={id:t,observer:i,elements:r},a.set(t,l)}return l}(l),c=u.get(e)||[];return u.has(e)||u.set(e,c),c.push(t),d.observe(e),function(){c.splice(c.indexOf(t),1),0===c.length&&(u.delete(e),d.unobserve(e)),0===u.size&&(d.disconnect(),a.delete(o))}}(p,(e,l)=>{g({inView:e,entry:l}),b.current&&b.current(e,l),l.isIntersecting&&u&&t&&(t(),t=void 0)},{root:d,rootMargin:o,threshold:e,trackVisibility:n,delay:l},f),()=>{t&&t()}},[Array.isArray(e)?e.toString():e,p,d,o,u,c,n,f,l]);let y=null==(_=v.entry)?void 0:_.target,j=t.useRef(void 0);p||!y||u||c||j.current===y||(j.current=y,g({inView:!!m,entry:void 0}));let w=[x,v.inView,v.entry];return w.ref=w[0],w.inView=w[1],w.entry=w[2],w}])},660621,e=>{e.v({benchmark:"BenchmarkGrid-module-scss-module__zKqBAG__benchmark","beside-pin":"BenchmarkGrid-module-scss-module__zKqBAG__beside-pin",caption:"BenchmarkGrid-module-scss-module__zKqBAG__caption",category:"BenchmarkGrid-module-scss-module__zKqBAG__category",cloud:"BenchmarkGrid-module-scss-module__zKqBAG__cloud",corner:"BenchmarkGrid-module-scss-module__zKqBAG__corner","corner-label":"BenchmarkGrid-module-scss-module__zKqBAG__corner-label",figure:"BenchmarkGrid-module-scss-module__zKqBAG__figure","first-column":"BenchmarkGrid-module-scss-module__zKqBAG__first-column","first-data-row":"BenchmarkGrid-module-scss-module__zKqBAG__first-data-row","label-cell":"BenchmarkGrid-module-scss-module__zKqBAG__label-cell","label-row":"BenchmarkGrid-module-scss-module__zKqBAG__label-row","label-row-inner":"BenchmarkGrid-module-scss-module__zKqBAG__label-row-inner","label-row-pin":"BenchmarkGrid-module-scss-module__zKqBAG__label-row-pin","last-column":"BenchmarkGrid-module-scss-module__zKqBAG__last-column","last-row":"BenchmarkGrid-module-scss-module__zKqBAG__last-row",layer:"BenchmarkGrid-module-scss-module__zKqBAG__layer",peach:"BenchmarkGrid-module-scss-module__zKqBAG__peach",pinned:"BenchmarkGrid-module-scss-module__zKqBAG__pinned",qualifier:"BenchmarkGrid-module-scss-module__zKqBAG__qualifier",scroll:"BenchmarkGrid-module-scss-module__zKqBAG__scroll",spacer:"BenchmarkGrid-module-scss-module__zKqBAG__spacer","split-row":"BenchmarkGrid-module-scss-module__zKqBAG__split-row",subject:"BenchmarkGrid-module-scss-module__zKqBAG__subject",table:"BenchmarkGrid-module-scss-module__zKqBAG__table",value:"BenchmarkGrid-module-scss-module__zKqBAG__value","value-bold":"BenchmarkGrid-module-scss-module__zKqBAG__value-bold","win-ours":"BenchmarkGrid-module-scss-module__zKqBAG__win-ours","win-rival":"BenchmarkGrid-module-scss-module__zKqBAG__win-rival","win-sibling":"BenchmarkGrid-module-scss-module__zKqBAG__win-sibling",wrap:"BenchmarkGrid-module-scss-module__zKqBAG__wrap"})},508770,e=>{e.v({left:"ChartNote-module-scss-module__JQQKta__left",rich:"ChartNote-module-scss-module__JQQKta__rich"})},173154,e=>{e.v({"article-summary":"Body-module-scss-module__z40yvW__article-summary",blockquote:"Body-module-scss-module__z40yvW__blockquote",body:"Body-module-scss-module__z40yvW__body",footnote:"Body-module-scss-module__z40yvW__footnote","footnote-item":"Body-module-scss-module__z40yvW__footnote-item","footnote-ref":"Body-module-scss-module__z40yvW__footnote-ref","full-page":"Body-module-scss-module__z40yvW__full-page",inline:"Body-module-scss-module__z40yvW__inline","is-iframe-responsive":"Body-module-scss-module__z40yvW__is-iframe-responsive",landing:"Body-module-scss-module__z40yvW__landing","media-column":"Body-module-scss-module__z40yvW__media-column","reading-column":"Body-module-scss-module__z40yvW__reading-column",sup:"Body-module-scss-module__z40yvW__sup"})},585494,e=>{e.v({active:"TabbedSection-module-scss-module__ooR-QG__active",header:"TabbedSection-module-scss-module__ooR-QG__header","tab-content":"TabbedSection-module-scss-module__ooR-QG__tab-content","tab-panel":"TabbedSection-module-scss-module__ooR-QG__tab-panel","tabbed-section":"TabbedSection-module-scss-module__ooR-QG__tabbed-section"})},336254,80227,263336,846660,460630,e=>{"use strict";var t=e.i(843476),l=e.i(343794),a=e.i(271645),s=e.i(675e3),r=e.i(932101),i=e.i(249607),n=e.i(946952),o=e.i(926828),d=e.i(706586),u=e.i(130020),c=e.i(645533),m=e.i(272579),f=e.i(740709);let h={block:{h2:({children:e})=>(0,t.jsx)("h2",{children:e}),h3:({children:e})=>(0,t.jsx)("h3",{children:e}),h4:({children:e})=>(0,t.jsx)("h4",{children:e}),normal:({children:e})=>(0,t.jsx)("p",{className:"body-3 serif",children:e})},list:{bullet:({children:e})=>(0,t.jsx)("ul",{className:"body-3 serif",children:e}),number:({children:e})=>(0,t.jsx)("ol",{className:"body-3 serif",style:{display:"flex",flexDirection:"column",gap:"var(--spacer-04)",marginLeft:"var(--spacer-05)"},children:e})},listItem:{bullet:({children:e})=>(0,t.jsx)("li",{className:"body-3 serif",children:e}),number:({children:e})=>(0,t.jsx)("li",{className:"body-3 serif",children:e})},marks:{internalLink:i.InternalLink,sup:m.default}}
1,_=({id:e,title:a,content:s,isExpanded:r,itemNumber:i,onToggle:n})=>{let d=`accordion-header-${e}`,u=`accordion-content-${e}`;return(0,t.jsxs)("div",{className:f.default.accordionItem,children:[(0,t.jsxs)("button",{id:d,onClick:n,className:f.default.accordionButton,"aria-expanded":r,"aria-controls":u,children:[(0,t.jsxs)("p",{className:(0,l.default)(f.default.accordionTitle,"body-3 bold"),children:[i&&(0,t.jsxs)("span",{className:f.default.itemNumber,children:["0",i]}),a]}),(0,t.jsx)("span",{className:f.default.accordionIcon,children:(0,t.jsx)(c.IconCaretDown,{fill:"currentColor"})})]}),(0,t.jsx)("div",{id:u,className:(0,l.default)(f.default.accordionContent,r&&f.default.expanded),role:"region","aria-labelledby":d,children:(0,t.jsx)("div",{className:f.default.accordionBody,children:(0,t.jsx)(o.default,{value:s,components:h})})})]})},p=({className:e,items:s,showNumbers:r,title:i})=>{let[n,o]=(0,a.useState)(null);return(0,t.jsxs)("div",{className:(0,l.default)(f.default.accordionList,e),children:[i&&(0,t.jsx)("p",{className:(0,l.default)(f.default.title,"headline-6"),children:i}),s?.map((e,l)=>(0,t.jsx)(_,{...e,isExpanded:n===l,itemNumber:r?l+1:void 0,onToggle:()=>{o(e=>{let t=e!==l;return t&&document.getElementById(`accordion-header-${s[l].id}`)?.scrollIntoView({behavior:"smooth",block:"start"}),t?l:null})}},l))]})};var x=e.i(835056),b=e.i(66261),v=e.i(127679),g=e.i(179277);let y=({prompt:e,code:l,language:s="plaintext"})=>{let r=(0,a.useRef)(null),{isCopied:i,copy:n}=(e=>{let[t,l]=(0,a.useState)(!1);return{isCopied:t,copy:async()=>{if(e)try{await navigator.clipboard.writeText(e),l(!0),setTimeout(()=>l(!1),2e3)}catch(e){console.error("Failed to copy text:",e)}}}})(l);return(0,t.jsxs)("div",{className:g.default.terminal,children:[(0,t.jsxs)("div",{className:g.default.header,children:[(0,t.jsxs)("div",{className:g.default.windowButtons,children:[(0,t.jsx)("div",{className:g.default.windowButton,"aria-hidden":"true"}),(0,t.jsx)("div",{className:g.default.windowButton,"aria-hidden":"true"}),(0,t.jsx)("div",{className:g.default.windowButton,"aria-hidden":"true"})]}),(0,t.jsx)("div",{className:g.default.controls,children:(0,t.jsxs)("button",{onClick:n,"aria-label":"Copy code",children:[i?(0,t.jsx)(c.IconCheckCircle,{fill:"currentColor",height:16,width:16}):(0,t.jsx)(c.IconClipboard,{fill:"currentColor",height:14,width:14}),(0,t.jsx)("span",{className:"body-3",children:"Copy"})]})})]}),(0,t.jsx)("pre",{children:(0,t.jsxs)("code",{ref:r,className:s?.toLowerCase(),children:[e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:g.default.prompt,children:e}),"\n"]}),l]})})]})};var j=e.i(495062);let w={block:{h2:({children:e})=>(0,t.jsx)("h2",{children:e}),h3:({children:e})=>(0,t.jsx)("h3",{children:e}),h4:({children:e})=>(0,t.jsx)("h4",{children:e}),normal:({children:e})=>(0,t.jsx)("p",{className:"body-3 serif",children:e})},list:{bullet:({children:e})=>(0,t.jsx)("ul",{className:"body-3 serif",children:e}),number:({children:e})=>(0,t.jsx)("ol",{className:"body-3 serif",style:{display:"flex",flexDirection:"column",gap:"var(--spacer-04)",marginLeft:"var(--spacer-05)"},children:e})},listItem:{bullet:({children:e})=>(0,t.jsx)("li",{className:"body-3 serif",children:e}),number:({children:e})=>(0,t.jsx)("li",{className:"body-3 serif",children:e})},marks:{internalLink:i.InternalLink,sup:m.default}
1,types:{image:e=>(0,t.jsx)("div",{className:j.default.embeddedBlock,children:(0,t.jsx)(s.PostDetailImageWithCaption,{...e})}),table:({value:e})=>(0,t.jsx)("div",{className:j.default.embeddedBlock,children:(0,t.jsx)(v.Table,{...e,className:j.default.embeddedTable})}),terminal:({value:e})=>(0,t.jsx)("div",{className:j.default.embeddedBlock,children:(0,t.jsx)(y,{...e})}),codeBlock:({value:e})=>(0,t.jsx)("div",{className:j.default.embeddedBlock,children:(0,t.jsx)(b.default,{...e,className:j.default.embeddedCodeBlock})}),videoEmbed:({value:e})=>{let l={...e,embedUrl:e.url};return(0,t.jsx)("div",{className:j.default.embeddedBlock,children:(0,t.jsx)(d.PostDetailVideo,{value:l})})}}},k=({className:e,title:s,summary:r,body:i})=>{let[n,d]=(0,a.useState)(!1),u=(0,a.useRef)(null),m=(0,a.useId)(),f=`expandable-content-${m}`;return(0,t.jsxs)("div",{ref:u,className:(0,l.default)(j.default.expandableSection,n&&j.default.expanded,e),children:[(0,t.jsxs)("div",{className:j.default.header,children:[(0,t.jsx)("h3",{className:(0,l.default)(j.default.title,"headline-5"),children:s}),r&&(0,t.jsx)("p",{className:(0,l.default)(j.default.summary,"caption"),children:r})]}),(0,t.jsx)("div",{id:f,className:j.default.content,role:"region","aria-hidden":!n,children:(0,t.jsx)("div",{className:j.default.body,children:(0,t.jsx)(o.default,{value:i,components:w})})}),(0,t.jsx)("div",{className:j.default.buttonContainer,children:(0,t.jsx)(x.default,{className:j.default.toggleButton,ctaPosition:"expandable-section",onClick:()=>{d(e=>!e),n&&u.current&&requestAnimationFrame(()=>{if(u.current){let e=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--header-nav-height")||"0",10),t=u.current.getBoundingClientRect(),l=window.scrollY+t.top-e;window.scrollTo({top:l,behavior:"smooth"})}})},text:n?"Collapse":"Read more",icon:(0,t.jsx)("span",{className:(0,l.default)(j.default.icon,n&&j.default.rotated),children:(0,t.jsx)(c.IconMore,{fill:"currentColor",width:16,height:16})}),iconPosition:"right",variant:"tertiary","aria-expanded":n,"aria-controls":f})})]})};var N=e.i(365499),C=e.i(814324),S=e.i(758944),W=e.i(494591);function q(e){let{updates:a}=e;return a?(0,t.jsx)("ul",{className:W.wrapper,children:a.map((e,a)=>{let s=e.link?(0,S.entryPermalink)(e.link):function(e){if(e){if(e.startsWith("/")&&!e.startsWith("//"))return e;try{let{protocol:t}=new URL(e);return"https:"===t||"http:"===t?e:void 0}catch{return}}}(e.url);return(0,t.jsx)("li",{children:(0,t.jsxs)("div",{className:W.update,...e.noSnippet?{"data-nosnippet":""}:{},children:[(0,t.jsxs)("div",{className:(0,l.default)("body-3",W.headline),children:[e.label&&(0,t.jsx)("span",{className:(0,l.default)("caption",W.label),children:e.label}),(0,t.jsx)("p",{className:"body-3 bold",children:e.title}),(0,t.jsx)("p",{className:(0,l.default)("body-3",W.date),children:(0,t.jsx)(C.default,{date:e.date,format:"short"})})]}),(0,t.jsx)("p",{className:(0,l.default)("body-3 serif",W.summary),children:e.summary}),s&&(0,t.jsxs)(N.default,{className:W.link,href:s,children:[(0,t.jsx)("p",{className:"body-3",children:"Read more"}),(0,t.jsx)(c.IconArrowRight,{fill:"currentColor",width:16,height:16})]})]})},a)})}):null}var T=e.i(2861);function M(e){let{accentColor:a,metrics:s,variant:r="default"}=e,i="flyout"===r;return s?(0,t.jsx)("ul",{className:(0,l.default)(T.wrapper,i&&T["wrapper-flyout"]),children:s.map((e,s)=>{let{metric:r,subtitle:n,title:o}=e;return(0,t.jsxs)("li",{className:T.metric,children:[(0,t.jsx)("p",{className:(0,l.default)(i?"headline-2":"display-2 serif","olive"===a&&T.metricOlive),children:r}),(0,t.jsxs)("div",{className:T.titles,children:[(0,t.jsx)("p",{className:(0,l.default)(T.title,i?"caption":"headline-6"),children:o}),n&&(0,t.jsx)("p",{className:(0,l.default)(T.subtitle,"body-3 agate"),children:n})]})]},s)})}):null}var I=e.i(321436);function L(e){let{quote:a,author:s="",attribution:r=""}=e?.value||{};return a?(0,t.jsxs)("div",{className:I.default.root,children:[(0,t.jsx)("div",{className:I.default.divider}),(0,t.jsxs)("div",{className:I.default.content,children:[(0,t.jsxs)("div",{className:I.default.header,children:[(0,t.jsx)(c.IconQuote,{height:28,width:28}),a&&(0,t.jsx)("p",{className:(0,l.default)("headline-2 serif",I.default.quote),children:a})]}),(s||r)&&(0,t.jsxs)("div",{className:(0,l.default)(I.default.attribution,"body-3"),children:[s&&(0,t.jsx)("p",{className:(0,l.default)(I.default.author),children:s}),r&&(0,t.jsx)("p",{className:(0,l.default)(I.default.attributionText),children:r})]})]}),(0,t.jsx)("div",{className:I.default.divider})]}):null}var B=e.i(536988),E=e.i(762443),A=e.i(974271);let G=({className:e,cta:a,illustration:s,title:r})=>{let i=(0,t.jsxs)(t.Fragment,{children:[s?.illustration?.image?.url&&(0,t.jsx)("div",{className:(0,l.default)(A.default.illustration,s?.backgroundColor&&`bg-${s?.backgroundColor}`),children:(0,t.jsx)(B.default,{alt:s?.illustration?.description,src:s?.illustration?.image?.url,height:s?.illustration?.image?.height,width:s?.illustration?.image?.width})}),(0,t.jsxs)("div",{className:A.default.content,children:[(0,t.jsx)("div",{className:A.default.textWrapper,children:(0,t.jsx)("h3",{className:(0,l.default)("body-2 serif",A.default.title),children:r})}),a&&(0,t.jsxs)("div",{className:(0,l.default)("caption",A.default.cta),children:[(0,t.jsx)(c.IconArrowExternal,{className:A.default.icon}),(0,t.jsx)("span",{children:a.text})]})]})]});return a?(0,t.jsx)(E.default,{link:a,className:(0,l.default)(A.default.root,e),children:i}):(0,t.jsx)("div",{className:(0,l.default)(A.default.root,e),children:i})};var $=e.i(6447);let R=e=>{let{videos:s}=e,[r,i]=(0,a.useState)(0),n=(0,a.useRef)(null),o=s[r],u=(0,a.useCallback)(e=>{i(e)},[]),m=(0,a.useCallback)((e,t)=>{switch(e.key){case"Enter":case" ":e.preventDefault(),u(t);break;case"ArrowUp":e.preventDefault(),t>0&&u(t-1);break;case"ArrowDown":e.preventDefault(),t<s.length-1&&u(t+1)}},[u,s.length]),f=(0,t.jsx)("div",{className:(0,l.default)($.default.video),role:"region","aria-label":`Now playing: ${o.title}`,children:(o?.video?.embedUrl||o?.video?.url)&&(0,t.jsx)(d.default,{...o.video})});return(0,t.jsxs)("div",{className:(0,l.default)($.default.playlist),ref:n,role:"region","aria-label":"Video playlist",children:[(0,t.jsx)("div",{className:$.default["video-desktop"],children:f}),(0,t.jsx)("div",{className:(0,l.default)($.default["video-list-container"]),role:"region","aria-label":"Video selection menu",children:(0,t.jsx)("ul",{className:$.default["video-list"],role:"listbox","aria-label":"Select a video to play","aria-activedescendant":`video-${r}`,children:s?.map((e,s)=>(0,t.jsx)(a.default.Fragment,{children:(0,t.jsxs)("li",{role:"presentation",className:$.default["video-list-item-wrapper"],children:[(0,t.jsxs)("button",{className:(0,l.default)($.default["video-list-item"],s===r&&$.default.current),role:"option",id:`video-${s}`,"aria-selected":s===r,onClick:()=>u(s),onKeyDown:e=>m(e,s),tabIndex:s===r?0:-1,children:[s===r&&(0,t.jsx)("span",{className:$.default["indicator-dot"]}),(0,t.jsxs)("h3",{className:(0,l.default)("body-3",$.default["video-info"]),children:[(0,t.jsx)("span",{className:"body-3 bold",children:(s+1).toString().padStart(2,"0")}),e.title]}),(0,t.jsx)(c.IconPlay,{width:18,height:18,className:$.default["play-icon"]})]}),s===r&&(0,t.jsx)("span",{role:"presentation",className:$.default["video-mobile"],children:f})]})},s))})})]})};var F=e.i(442308);function V(e){let{items:r}=e,[i,n]=(0,a.useState)(0),[o,c]=(0,a.useState)(void 0),m=(0,a.useRef)([]);if((0,a.useEffect)(()=>{let e=()=>{let e=0;m.current.forEach(t=>{if(t){let l=t.scrollHeight;l>e&&(e=l)}}),c(e>0?e:void 0)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[r]),!r||0===r.length)return null;let f=r.map((e,t)=>({label:e.tabTitle,id:`media-${t}`}));return(0,t.jsxs)("div",{className:F.default["media-carousel"],children:[r.length>1&&(0,t.jsx)(u.default,{items:f,activeIndex:i,onTabChange:n,ariaLabel:"Media carousel tabs"}),(0,t.jsx)("div",{className:F.default["media-container"],style:{minHeight:o},children:r.map((e,a)=>(0,t.jsxs)("div",{ref:e=>{m.current[a]=e}
1,className:(0,l.default)(F.default["media-panel"],{[F.default.active]:a===i}),role:"tabpanel",id:`media-panel-${a}`,"aria-labelledby":`media-tab-${a}`,"aria-hidden":a!==i,children:["image"===e.media.mediaType&&e.media.image&&(0,t.jsx)(s.PostDetailImageWithCaption,{value:e.media.image,index:a}),"video"===e.media.mediaType&&e.media.video&&(0,t.jsx)(d.PostDetailVideo,{value:e.media.video})]},a))})]})}var O=e.i(45246),P=e.i(278856),z=e.i(834239);let K=e=>{let{items:s}=e,{currentIndex:r,isTablet:n,sliderRef:u,cardRefs:m,firstCardRef:f,handlePrevious:h,handleNext:_}=(0,O.useCarouselScroll)({itemCount:s?.length}),[p,x]=(0,a.useState)(void 0),b={block:{normal:P.BlockWithoutParent},marks:{internalLink:i.InternalLink,sup:({children:e})=>(0,t.jsx)("sup",{className:(0,l.default)("caption",z.default.sup),children:e})}};return((0,a.useEffect)(()=>{if(n&&m.current[r]){let e=m.current[r];e&&x(e.offsetHeight)}else x(void 0)},[r,n,m]),s&&0!==s.length)?(0,t.jsxs)("div",{className:z.default["media-gallery-wrapper"],children:[(0,t.jsx)("div",{className:z.default["media-gallery-container"],style:p?{height:`${p}px`}:void 0,children:(0,t.jsx)("div",{className:(0,l.default)(z.default["media-gallery"]),ref:u,children:s.map((e,l)=>{let a="image"===e.media.mediaType?e.media.image?.caption:e.media.video?.caption;return(0,t.jsxs)("figure",{className:z.default["media-item"],ref:e=>{m.current[l]=e,0===l&&(f.current=e)},children:[(0,t.jsxs)("div",{className:z.default["media-content"],children:["image"===e.media.mediaType&&e.media.image?.url&&(0,t.jsx)(B.default,{src:e.media.image.url,alt:e.media.image.description||"Media gallery image",width:e.media.image.width,height:e.media.image.height,className:z.default["media-image"]}),"video"===e.media.mediaType&&e.media.video&&(0,t.jsx)("div",{className:z.default["media-video"],children:(0,t.jsx)(d.default,{...e.media.video})})]}),a&&(0,t.jsx)("figcaption",{className:"caption",children:(0,t.jsx)(o.default,{components:b,value:a})})]},l)})})}),s.length>1&&n&&(0,t.jsxs)("div",{className:(0,l.default)(z.default["carousel-controls"],"body-3"),children:[(0,t.jsxs)("div",{className:(0,l.default)(z.default.counter),children:[(0,t.jsx)("span",{children:String(r+1).padStart(2,"0")})," /"," ",String(s.length).padStart(2,"0")]}),(0,t.jsxs)("div",{className:z.default["arrow-controls"],children:[(0,t.jsx)("button",{className:(0,l.default)(z.default["arrow-button"],z.default["arrow-prev"]),onClick:h,disabled:0===r,"aria-label":"Previous media",children:(0,t.jsx)(c.IconCaretDown,{height:16,width:16})}),(0,t.jsx)("button",{className:(0,l.default)(z.default["arrow-button"],z.default["arrow-next"]),onClick:_,disabled:r===s.length-1,"aria-label":"Next media",children:(0,t.jsx)(c.IconCaretDown,{height:16,width:16})})]})]})]}):null},D=async e=>{try{let t=await fetch(e);if(!t.ok)throw Error(`Failed to fetch CSV: ${t.statusText}`);let l=await t.text();return H(l)}catch(e){return console.error(e),null}},H=e=>e.replace(/"[^"]*"/g,e=>e.replace(/\n/g," ")).split("\n").map(e=>{let t=[],l="",a=!1;for(let s=0;s<e.length;s++){let r=e[s];'"'===r?a=!a:","!==r||a?l+=r:(t.push(l),l="")}return t.push(l),t}),J="Claude";var U=e.i(493902),Q=e.i(106123);let X=e=>{let{processedData:s,footnotes:r,columnOptionsState:i,filters:n,highlightCells:o,hideRows:d,filtersTitle:u}=e,[m,f]=(0,a.useState)(null),[h,_]=(0,a.useState)(!1),[p,x]=(0,a.useState)(!1),b=(0,a.useRef)(null);(0,a.useEffect)(()=>{let e=()=>{if(b.current){let{scrollWidth:e,clientWidth:t}=b.current;_(e>t),x(!1)}};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[s]),(0,a.useEffect)(()=>{let e=()=>{if(b.current){let{scrollWidth:e,clientWidth:t,scrollLeft:l}=b.current,a=l+t>=e-10;_(e>t&&!a),x(a)}},t=b.current;return t?.addEventListener("scroll",e),()=>t?.removeEventListener("scroll",e)},[]);let v=(e,t,l)=>{let a=o?.find(a=>a.rowIndex===e&&a.columnIndex===t&&a.cellItem.toLowerCase()===l.toLowerCase());return a?{color:a.highlightColor}:{}},g=(e,l,a)=>{let s=r?.find(t=>t.rowIndex===e&&t.columnIndex===l&&t.cellItem===a);return s?(0,t.jsx)("sup",{children:s.footnoteMarker}):(0,t.jsx)(t.Fragment,{})},y=m?.filterRows?.split(",").map(e=>e.trim()),j=null!==m&&y?s?.rows.map((e,t)=>(y.includes((t+2).toString())?e.isVisible=!0:e.isVisible=!1,e)):s?.rows;return d&&d.length>0&&(j=j?.map(e=>(d.includes(e.cells[0].rowIndex+2)?e.isVisible=!1:m||(e.isVisible=!0),e))),(0,t.jsxs)("div",{children:[n&&(0,t.jsxs)("div",{className:U.default["filters-container"],children:[u&&(0,t.jsx)("h3",{className:U.default["filters-title"],children:u}),n.map((e,a)=>(0,t.jsx)("div",{className:(0,l.default)(U.default.filter),onClick:()=>{m?.filterName===e.filterName?f(null):f(e)},children:(0,t.jsx)("p",{className:(0,l.default)(U.default["filter-label"],m?.filterName===e.filterName?U.default.selected:[]),children:e.filterName})},`filter-${a}`))]}),(0,t.jsxs)("div",{className:U.default.frame,children:[(0,t.jsxs)("div",{ref:b,className:U.default.grid,style:{gridTemplateColumns:`repeat(${s?.headerRow?.length}, minmax(135px, 1fr))`},role:"table","aria-label":"Benchmarks Table",children:[s?.headerRow?.map(e=>{var a;let s,r,n,o,d;return(0,t.jsxs)("div",{className:(0,l.default)(U.default.cell,U.default["header-cell"],(a=e.colIndex,s=[],i.filter(e=>e.isSelected).length<=1&&i.find(e=>e.index===a)?.isSelected&&s.push("selected-column-first-item"),r=a>0&&i.find(e=>e.index===a-1)?.isSelected,n=i.find(e=>e.index===a)?.isSelected,o=a<i.length-1&&i.find(e=>e.index===a+1)?.isSelected,r&&n&&o&&s.push("multi-select-header-middle-column"),r&&n&&!o&&s.push("multi-select-header-last-column"),!r&&n&&o&&s.push("multi-select-header-first-column"),s).map(e=>U.default[e]),(d=e.value).includes("Anthropic")||d.includes(J)||0===e.colIndex?"":U.default["header-compet
1itor"]),role:"columnheader","aria-colindex":e.colIndex+1,"aria-rowindex":1,children:[e.surtitle&&(0,t.jsxs)("div",{className:U.default["header-surtitle"],children:[e.surtitle," ",g(1,e.colIndex+1,"surtitle")]}),e.value&&(0,t.jsxs)("div",{className:(0,l.default)(U.default["header-value"]),children:[e.value.split(" ").map((e,l)=>e.includes(J)||e.includes("New")||e.includes("Upgraded")?(0,t.jsx)("span",{style:{fontWeight:600},children:e},l):(0,t.jsx)("span",{style:{fontWeight:400},children:e},l)).reduce((e,l)=>(0,t.jsxs)(t.Fragment,{children:[e," ",l]})),g(1,e.colIndex+1,"value")]}),e.subtitle&&(0,t.jsxs)("div",{className:(0,l.default)(U.default["header-subtitle"]),children:[e.subtitle," ",g(1,e.colIndex+1,"subtitle")]})]},`header-${e.colIndex}`)}),j?.map((e,a)=>e.cells.map((s,r)=>(0,t.jsxs)("div",{className:(0,l.default)(U.default.cell,(!s.value||""===s.value)&&0!==s.colIndex&&U.default["empty-cell"],e.isContinuation&&U.default["row-continued"],0===s.colIndex&&U.default["first-column"],((e,t,l,a)=>{let s=[];if(a.filter(e=>e.isSelected).length<=1){a.find(e=>e.index===t)?.isSelected&&s.push("selected-column");let r=e.findLastIndex(e=>!0===e.isVisible);return a.find(e=>e.index===t)?.isSelected&&l===r&&s.push("selected-column-last-item"),s}let r=t>0&&a.find(e=>e.index===t-1)?.isSelected,i=a.find(e=>e.index===t)?.isSelected,n=t<a.length-1&&a.find(e=>e.index===t+1)?.isSelected,o=e.findLastIndex(e=>!0===e.isVisible);return r&&i&&n&&(s.push("multi-select-middle-column-item"),l===o&&s.push("multi-select-middle-column-item-last-row")),r&&i&&!n&&(s.push("multi-select-last-column-item"),l===o&&s.push("multi-select-last-column-item-last-row")),!r&&i&&n&&(s.push("multi-select-first-column-item"),l===o&&s.push("multi-select-first-column-item-last-row")),s})(j,r,a,i).map(e=>U.default[e]),e.isVisible?U.default["cell-visible"]:U.default["cell-hidden"]),style:v(s.rowIndex+2,s.colIndex+1,"surtitle"),role:"cell","aria-rowindex":s.rowIndex+2,"aria-colindex":s.colIndex+1,children:[s.surtitle&&(0,t.jsxs)("div",{className:U.default["row-surtitle"],children:[s.surtitle,g(s.rowIndex+2,s.colIndex+1,"surtitle")]}),(0,t.jsxs)("div",{className:U.default["row-value"],style:v(s.rowIndex+2,s.colIndex+1,"value"),children:[s.value&&""!==s.value||0===s.colIndex?s.value:"—",g(s.rowIndex+2,s.colIndex+1,"value")]}),s.subtitle&&(0,t.jsxs)("div",{className:U.default["row-subtitle"],style:v(s.rowIndex+2,s.colIndex+1,"subtitle"),children:[s.subtitle,g(s.rowIndex+2,s.colIndex+1,"subtitle")]})]},`cell-${s.rowIndex}-${s.colIndex}`)))]}),h&&(0,t.jsx)("div",{className:(0,l.default)(U.default["scroll-indicator"],U.default["arrow-right"]),style:{opacity:+!!h},onClick:()=>{b.current&&(b.current.scrollLeft+=140)},children:(0,t.jsx)(c.IconArrowRight,{})}),p&&(0,t.jsx)("div",{className:(0,l.default)(U.default["scroll-indicator"],U.default["arrow-left"]),style:{opacity:+!!p,left:"140px",transform:"translateY(-50%) rotate(180deg)"},onClick:()=>{b.current&&(b.current.scrollLeft-=140)},children:(0,t.jsx)(c.IconArrowRight,{})}),(0,t.jsx)("div",{className:U.default["footnotes-container"],children:r?.map((e,l)=>(0,t.jsx)(Q.default,{value:e.footnoteText,classNames:{paragraph:U.default.footnote}},l))})]})]})},Z=e=>{let{benchmarksCSV:l,footnotes:s,hideRows:r,highlightColumns:i,highlightCells:n,filters:o,filtersTitle:d}=e,[u,c]=(0,a.useState)(null),m=[];(0,a.useEffect)(()=>{(async()=>{l?.asset?.url&&c(await D(l.asset.url))})()},[l?.asset?.url]);let f=null;if(u&&(f=function(e){if(e.length<3)return null;let t=e.slice(0,3),l=e.slice(3),a=[],s=t[1].map((e,l)=>({surtitle:t[0][l]?.trim()||"",value:e.trim(),subtitle:t[2][l]?.trim()||"",rowIndex:0,colIndex:l}));for(let e=0;e<l.length-1;e+=3){let t=l[e],s=l[e+1],r=l[e+2],i=s.map((l,a)=>({surtitle:t[a]?.trim()||"",value:l.trim(),subtitle:r[a]?.trim()||"",rowIndex:e/3,colIndex:a})),n=e>0&&!t[0].trim()&&!s[0].trim()&&!r[0].trim();a.push({cells:i,isContinuation:n,isVisible:!0})}let r=s.map((e,t)=>""===e.value&&a.every(e=>""===e.cells[t].value)).map((e,t)=>e?t:-1).filter(e=>-1!==e);return s=s.filter((e,t)=>!r.includes(t)),a.forEach(e=>{e.cells=e.cells.filter((e,t)=>
1!r.includes(t))}),{headerRow:s,rows:a}}(u))){let e=i?.map(e=>parseInt(e.replace("Column","")))||[];m=f.headerRow.map((t,l)=>({id:`${t.surtitle} ${t.value} ${t.subtitle}`,index:l,ariaColIndex:l+1,isSelected:e.includes(l),isHidden:!1}))}return(0,t.jsx)(t.Fragment,{children:f?(0,t.jsx)(X,{processedData:f,hideRows:r,footnotes:s,columnOptionsState:m,filters:o,filtersTitle:d,highlightCells:n}):(0,t.jsx)("div",{style:{height:"1000px"},children:" "})})};var Y=e.i(234361),ee=e.i(408557);let et=["https://claude.ai","https://assets.claude.ai","https://claude.site"],el=e=>{let{title:a,artifactUrl:s,aspectRatio:r="16:9",mobileFallbackImage:i,index:n}=e,o=!!i?.url;if(!s||!function(e){try{let t=new URL(e);if("https:"!==t.protocol)return!1;return et.some(e=>t.origin===e)}catch{return!1}}(s))return null;let d=(0,t.jsxs)(t.Fragment,{children:[a&&(0,t.jsx)("h2",{className:(0,l.default)("headline-4",ee.default.title),children:a}),o&&i&&(0,t.jsx)(B.default,{src:i.url,alt:i.description||a||"Embedded artifact",width:i.width,height:i.height,loading:"lazy",className:ee.default["mobile-fallback-image"]}),(0,t.jsx)("div",{className:(0,l.default)(ee.default["iframe-wrapper"],o&&ee.default["has-mobile-fallback"]),style:{paddingBottom:(()=>{switch(r){case"16:9":default:return"56.25%";case"4:3":return"75%";case"3:4":return"133.33%";case"1:1":return"100%"}})()},children:(0,t.jsx)("iframe",{src:s,className:ee.default.iframe,title:a||"Embedded artifact",loading:"lazy",sandbox:"allow-scripts allow-same-origin"})})]});return void 0!==n?(0,t.jsx)(Y.default,{...e,children:(0,t.jsx)("div",{className:"page-wrapper",children:d})}):d};var ea=e.i(172950);let es=function(e){let{title:s,file:r}=e.value,i=r?.asset?.url,n=(0,a.useRef)(null),[o,d]=(0,a.useState)(!1),[u,m]=(0,a.useState)(0),[f,h]=(0,a.useState)(0);(0,a.useEffect)(()=>{let e=n.current;if(!e||!i)return;let t=()=>m(e.currentTime),l=()=>{h(e.duration)},a=()=>d(!1);return e.addEventListener("timeupdate",t),e.addEventListener("loadedmetadata",l),e.addEventListener("ended",a),0===e.readyState?e.load():e.duration&&h(e.duration),()=>{e.removeEventListener("timeupdate",t),e.removeEventListener("loadedmetadata",l),e.removeEventListener("ended",a)}},[i]),(0,a.useEffect)(()=>()=>{let e=n.current;e&&(e.pause(),e.currentTime=0)},[]);let _=async()=>{let e=n.current;if(e)try{o?(e.pause(),d(!1)):(await e.play(),d(!0))}catch(e){console.error("Audio playback failed:",e),d(!1)}},p=e=>{let t=Math.floor(e/60),l=Math.floor(e%60);return`${t}:${l.toString().padStart(2,"0")}`};if(!i)return null;let x=f?u/f*100:0;return(0,t.jsxs)("div",{className:ea.default.root,children:[(0,t.jsxs)("audio",{ref:n,preload:"metadata",style:{display:"none"},children:[(0,t.jsx)("source",{src:i,type:r.asset?.mimeType}),"Your browser does not support the audio element."]}),s&&(0,t.jsx)("h3",{className:(0,l.default)(ea.default["audio-title"],"body-2"),children:s}),(0,t.jsxs)("div",{className:ea.default["audio-controls"],children:[(0,t.jsx)("button",{className:ea.default["play-button"],onClick:_,"aria-label":o?"Pause":"Play",children:o?(0,t.jsx)(c.IconStop,{}):(0,t.jsx)(c.IconPlay,{})}),(0,t.jsx)("div",{className:(0,l.default)(ea.default["time-display"],"caption"),children:(0,t.jsx)("span",{children:p(u)})}),(0,t.jsx)("div",{className:ea.default["progress-container"],onClick:e=>{let t=n.current;if(!t||!f)return;let l=e.currentTarget.getBoundingClientRect(),a=(e.clientX-l.left)/l.width*f;t.currentTime=a,m(a)},children:(0,t.jsx)("div",{className:ea.default["progress-bar"],children:(0,t.jsx)("div",{className:ea.default["progress-fill"],style:{width:`${x}%`}})})}),(0,t.jsx)("div",{className:(0,l.default)(ea.default["time-display"],"caption"),children:(0,t.jsx)("span",{children:p(f)})})]})]})};var er=e.i(136574);let ei=function({items:e,renderItem:a,getItemClassName:s,previousLabel:r="Previous item",nextLabel:i="Next item"}){let{currentIndex:n,isTablet:o,sliderRef:d,cardRefs:u,firstCardRef:m,handlePrevious:f,handleNext:h}=(0,O.useCarouselScroll)({itemCount:e.length});return e&&0!==e.length?(0,t.jsxs)("div",{className:er.default["carousel-wrapper"],children:[(0,t.jsx)("div",{className:er.default["carousel-container"],children:(0,t.jsx)("div",{className:er.default["carousel-track"],ref:d,children:e.map((e,r)=>(0,t.jsx)("div",{className:(0,l.default)(er.default["carousel-item"],s?.(e,r)),ref:e=>{u.current[r]=e,0===r&&(m.current=e)},children:a(e,r)},r))})}),e.length>1&&(0,t.jsxs)("div",{className:(0,l.default)(er.default["carousel-control
1s"],"body-3"),children:[(0,t.jsxs)("div",{className:(0,l.default)(er.default.counter),children:[(0,t.jsx)("span",{children:String(n+1).padStart(2,"0")})," /"," ",String(e.length).padStart(2,"0")]}),(0,t.jsxs)("div",{className:er.default["arrow-controls"],children:[(0,t.jsx)("button",{className:(0,l.default)(er.default["arrow-button"],er.default["arrow-prev"]),onClick:f,disabled:0===n,"aria-label":r,children:(0,t.jsx)(c.IconCaretDown,{height:16,width:16})}),(0,t.jsx)("button",{className:(0,l.default)(er.default["arrow-button"],er.default["arrow-next"]),onClick:h,disabled:o?n===e.length-1:n===e.length-2,"aria-label":i,children:(0,t.jsx)(c.IconCaretDown,{height:16,width:16})})]})]})]}):null};var en=e.i(661494);function eo({media:e,fallbackAlt:l,className:a}){switch(e._type){case"image":if(!e.url)return null;return(0,t.jsx)(B.default,{src:e.url,alt:e.description||l||"",width:e.width,height:e.height,className:a});case"video":return(0,t.jsx)("div",{className:a,children:(0,t.jsx)(d.default,{...e})});case"youtubeVideo":return(0,t.jsx)("div",{className:a,children:(0,t.jsx)(en.VideoEmbedPlayer,{url:`https://www.youtube.com/watch?v=${e.youtubeId}`,thumbnail:e.thumbnail,showControls:!0})});default:return null}}var ed=e.i(24159);function eu({value:e}){switch(e._type){case"textValue":return(0,t.jsx)(t.Fragment,{children:e.text});case"exploreAnchorLink":{let l=e.anchor?.trim();if(!l)return null;return(0,t.jsxs)("a",{href:l.startsWith("#")?l:`#${l}`,className:ed.default["meta-link"],children:[(0,t.jsx)(c.IconLinkSimple,{}),e.text]})}case"exploreInternalLink":case"exploreExternalLink":{let l="exploreInternalLink"===e._type?e.text||e.reference?.title||"":e.text,a="exploreInternalLink"===e._type?e.reference&&l?{text:l,page:e.reference}:null:e.url?{text:l,url:e.url,openInNewTab:e.openInNewTab}:null;if(!a)return null;return(0,t.jsxs)(E.default,{link:a,className:ed.default["meta-link"],"data-cta-copy":l,"data-cta-position":"caseStudyMeta",children:[(0,t.jsx)(c.IconLinkSimple,{}),l]})}default:return null}}function ec({meta:e,className:a}){return(0,t.jsx)("ul",{className:(0,l.default)(ed.default["meta-list"],"caption",a),children:e.map(e=>(0,t.jsxs)("li",{className:ed.default["meta-item"],children:[(0,t.jsx)("span",{className:ed.default["meta-label"],children:e.label}),(0,t.jsx)("span",{className:ed.default["meta-value"],children:e.value?.map(e=>(0,t.jsx)(eu,{value:e},e._key))})]},e._key))})}function em({header:e,overviewText:a,media:s,meta:r,className:i}){return(0,t.jsxs)("section",{className:(0,l.default)(ed.default["case-study"],i),children:[(0,t.jsx)("h3",{className:(0,l.default)(ed.default["case-study-header"],"headline-4"),children:e}),a&&a.length>0&&(0,t.jsx)("div",{className:(0,l.default)(ed.default["case-study-overview"],"body-2 serif"),children:(0,t.jsx)(Q.default,{value:a})}),s?.map(l=>(0,t.jsx)(eo,{media:l,fallbackAlt:e,className:ed.default["case-study-media"]},l._key)),r&&r.length>0&&(0,t.jsx)(ec,{meta:r})]})}var ef=e.i(846932),eh=e.i(772328),e_=e.i(174080),ep=e.i(54513),ex=e.i(51691);let eb={variants:{closed:{x:"100%"},open:{x:"0%"}},transition:{duration:.4,ease:[.215,.61,.355,1]}};var ev=e.i(636892);let eg=()=>()=>{};function ey(e){let{title:s,isOpen:r,onClose:i,getReturnFocus:n,animation:o=eb,children:d,className:u,...m}=e,f=(0,a.useId)(),h=(0,a.useRef)(null),_=(0,a.useRef)(null),[p,x]=(0,a.useState)(null),{ref:b,inView:v}=(0,ep.useInView)({root:p,initialInView:!0,skip:!p}),g=(0,a.useSyncExternalStore)(eg,()=>!0,()=>!1),y=(0,eh.useReducedMotion)(),{registry:j,pauseAll:w}=(0,ex.useMediaPlaybackRegistry)(),k=(0,a.useRef)(!1);(0,a.useEffect)(()=>{if(r){k.current=!0;return}k.current&&w()},[r,w]);let N=(0,a.useRef)(n);(0,a.useEffect)(()=>{N.current=n}),(0,a.useEffect)(()=>{if(r)return _.current?.focus({preventScroll:!0}),()=>{N.current?.()?.focus({preventScroll:!0})}},[r]);let C=(0,a.useRef)(i);(0,a.useEffect)(()=>{C.current=i}),(0,a.useEffect)(()=>{if(!r)return;let e=e=>{"Escape"===e.key&&C.current()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[r]);let[S,W]=(0,a.useState)(!1);(0,a.useEffect)(()=>{r&&W(!0)},[r]),(0,a.useEffect)(()=>
1{if(!S)return;let e=document.documentElement,t=document.body,l="u">typeof CSS&&CSS.supports("scrollbar-gutter","stable"),a={htmlOverflow:e.style.overflow,htmlScrollbarGutter:e.style.scrollbarGutter,bodyPaddingRight:t.style.paddingRight};if(l)e.style.scrollbarGutter="stable";else{let l=window.innerWidth-e.clientWidth;l>0&&(t.style.paddingRight=`${l}px`)}return e.style.overflow="hidden",()=>{e.style.overflow=a.htmlOverflow,e.style.scrollbarGutter=a.htmlScrollbarGutter,t.style.paddingRight=a.bodyPaddingRight}},[S]),(0,a.useEffect)(()=>{if(!r)return;let e=e=>{h.current&&!h.current.contains(e.target)&&_.current?.focus({preventScroll:!0})};return document.addEventListener("focusin",e),()=>document.removeEventListener("focusin",e)},[r]);let q=(0,t.jsxs)("div",{className:(0,l.default)(ev.default["flyout-root"],r&&ev.default["is-open"],u),...m,inert:!r,"data-theme":"ivory",children:[(0,t.jsx)("div",{className:ev.default["flyout-backdrop"],onClick:i,"aria-hidden":"true"}),(0,t.jsxs)(ef.motion.div,{ref:e=>{h.current=e,x(e)},className:ev.default["flyout-panel"],role:"dialog","aria-modal":"true","aria-labelledby":f,variants:o.variants,initial:!1,animate:r?"open":"closed",transition:y?{duration:0}:o.transition,onAnimationComplete:e=>{"closed"===e&&W(!1)},onKeyDown:e=>{if("Tab"!==e.key||!h.current)return;let t=h.current.querySelectorAll('a[href], button:not([disabled]), textarea, input, select, iframe, video, [tabindex]:not([tabindex="-1"])');if(0===t.length)return;let l=t[0],a=t[t.length-1];e.shiftKey&&document.activeElement===l?(e.preventDefault(),a.focus()):e.shiftKey||document.activeElement!==a||(e.preventDefault(),l.focus())},children:[(0,t.jsx)("div",{ref:b,className:ev.default["flyout-sentinel"],"aria-hidden":"true"}),(0,t.jsxs)("header",{className:(0,l.default)(ev.default["flyout-header"],!v&&ev.default["is-scrolled"]),children:[(0,t.jsx)("h2",{id:f,className:(0,l.default)(ev.default["flyout-title"],"caption"),children:s}),(0,t.jsx)("button",{ref:_,type:"button",className:ev.default["flyout-close"],onClick:i,"aria-label":"Close",children:(0,t.jsx)(c.IconSidebarClose,{})})]}),(0,t.jsx)("div",{className:(0,l.default)(ev.default["flyout-body"],"body-2"),children:(0,t.jsx)(ex.default.Provider,{value:j,children:d})})]})]});return g?(0,e_.createPortal)(q,document.body):q}let ej={accordionList:({value:e})=>(0,t.jsx)(p,{...e}),image:e=>(0,t.jsx)(s.PostDetailImageWithCaption,{...e}),metricsSnapshot:({value:e})=>(0,t.jsx)(M,{...e,variant:"flyout"}),video:({value:e})=>(0,t.jsx)(d.VideoWithCaption,{value:e})};function ew({value:e}){return e&&0!==e.length?(0,t.jsx)(Q.default,{value:e,types:ej}):null}var ek=e.i(800748);function eN({entry:e}){let[s,r]=(0,a.useState)(!1),i=(0,a.useRef)(null),{logo:n,caseStudyBlock:o,moreContext:d}=e,u=o?.header;return(0,t.jsxs)(t.Fragment,{children:[n?.asset?.url&&(0,t.jsx)("div",{className:ek.default["logo-container"],children:(0,t.jsx)(B.default,{src:n.asset.url,alt:`${u||"Case study"} logo`,className:ek.default["company-logo"],width:120,height:48})}),u&&(0,t.jsx)("h3",{className:(0,l.default)(ek.default["case-study-title"],"headline-6"),children:u}),o?.overviewText&&o.overviewText.length>0&&(0,t.jsx)("div",{className:(0,l.default)(ek.default["case-study-overview"],"body-3"),children:(0,t.jsx)(Q.default,{value:o.overviewText,classNames:{paragraph:"body-2"}})}),o&&(0,t.jsxs)("footer",{className:ek.default["case-study-footer"],children:[(0,t.jsx)(x.default,{ref:i,ctaPosition:"caseStudyCarousel",text:"Read more",icon:(0,t.jsx)(c.IconSidebarClose,{className:ek.default["flyout-trigger-icon"]}),iconPosition:"right",variant:"tertiary",size:"small",onClick:()=>r(!0),"aria-haspopup":"dialog","aria-expanded":s}),(0,t.jsxs)(ey,{title:o.name||u,isOpen:s,onClose:()=>r(!1),getReturnFocus:()=>i.current,children:[o&&(0,t.jsx)(em,{...o}),d&&(0,t.jsx)(ew,{value:d})]})]})]})}let eC=e=>{let{entries:a,backgroundColor:s}=e;return a&&0!==a.length?(0,t.jsx)(ei,{items:a,previousLabel:"Previous case study",nextLabel:"Next case study",getItemClassName:e=>(0,l.default)(e.logo?.asset?.url&&ek.default["with-logo"],s&&`bg-${s}`),renderItem:e=>(0,t.jsx)(eN,{entry:e},e._key)}):null};var eS=e.i(236726),eW=e.i(96750),eq=e.i(508770);function eT({value:e,as:a,className:s,...r}){return"string"==typeof e?(0,t.jsx)(a??"p",{...r,className:s,children:e}):0===e.length?null:(0,t.jsx)("figcaption"===a?"figcaption":"div",{...r,className:(0,l.default)(s,eq.default.rich),children:(0,t.jsx)(eS.PortableText,{value:e,components:eM})})}let eM={block:{left:({children:e})=>(0,t.jsx)("p",{className:eq.default.left,children:e})},marks:{link:({children:e,value:l})=>(0,t.jsx)("a",{href:(0,eW.safeHref)(l?.href),...l?.blank?{target:"_blank",rel:"noopener"}:{},children:e}),sup:({children:e})=>(0,t.jsx)("sup",{children:e})}};e.s(["default",0,eT],80227);var eI=e.i(660621);function eL({models:e,highlightModel:s,competitorModels:r=[],palette:i,rows:n,cornerLabel:o,caption:d,className:u,...c}){let m=(0,a.useRef)(null),f=(0,a.useRef)(null);(0,a.useEffect)(()=>{let e=m.current,t=f.current;if(!e||!t)return;let l=e.querySelector("table"),a=t.firstElementChild;if(!l||!a)return;let s=document.querySelector('header[class*="SiteHeader"]'),r=()=>{let l,a=(l=parseFloat(getComputedStyle(e).scrollPaddingTop)||0,s?Math.min(l,Math.max(0,s.getBoundingClientRect().bottom)):l);e.style.setProperty("--grid-scroll-x",`${t.scrollLeft}px`),e.style.setProperty("--grid-live-rest",`${a}px`),e.toggleAttribute("data-at-end",t.scrollLeft>=t.scrollWidth-t.clientWidth-1),e.toggleAttribute("data-stuck",e.getBoundingClientRect().top<a)},i=0,n=0,o=t.scrollLeft,d=()=>{r(),n=t.scrollLeft===o?n+1:0,o=t.scrollLeft,i=n<6?requestAnimationFrame(d):0},u=()=>{n=0,i||(i=requestAnimationFrame(d))},c=e=>{e.target===s&&r()},h=()=>{let t;t=l.offsetWidth,a.style.width=`${t}px`,e.style.setProperty("--grid-table-w",`${t}px`),r()};h(),t.addEventListener("scroll",u,{passive:!0}),window.addEventListener("scroll",r,{passive:!0}),window.addEventListener("resize",h),s?.addEventListener("transitionrun",c),s?.addEventListener("transitionend",c);let _=new ResizeObserver(h);return _.observe(l),_.observe(t),()=>{cancelAnimationFrame(i),t.removeEventListener("scroll",u),window.removeEventListener("scroll",r),window.removeEventListener("resize",h),s?.removeEventListener("transitionrun",c),s?.removeEventListener("transitionend",c),_.disconnect()}},[m,f]);let h=!!s&&e[0]===s;if(0===e.length||0===n.length)return null;let _=n.map(t=>(function(e,t,l,a){let s=e.cells.map(e=>parseFloat(e?.value??"")),r=Math.max(...s.filter(e=>Number.isFinite(e)));if(!Number.isFinite(r))return new Set;let i=new Set,n=[];t.forEach((e,t)=>{s[t]===r&&(l.includes(e)?i.add(t):n.push(t))});let o=n.find(e=>t[e]===a)??n[0];return void 0!==o&&i.add(o),i})(t,e,r,s));return(0,t.jsxs)("figure",{...c,className:(0,l.default)(eI.default.figure,
1i&&eI.default[i],u),children:[(0,t.jsxs)("div",{ref:m,className:eI.default.wrap,children:[(0,t.jsx)("div",{className:eI.default.layer,children:(0,t.jsxs)("table",{className:eI.default.table,children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{className:eI.default.corner,children:o&&(0,t.jsx)("span",{className:eI.default["corner-label"],children:o})}),e.map((e,a)=>(0,t.jsx)("th",{scope:"col",className:(0,l.default)(e===s&&eI.default.subject,0===a&&h&&eI.default.pinned),children:e},`${e}-${a}`))]})}),(0,t.jsx)("tbody",{children:n.map((i,o)=>(0,t.jsxs)(a.Fragment,{children:[void 0!==i.labelSpan&&(0,t.jsxs)("tr",{className:eI.default["label-row"],"aria-hidden":"true",children:[(0,t.jsx)("th",{className:eI.default["label-row-pin"],children:(0,t.jsx)("span",{className:eI.default["label-row-inner"],children:(0,t.jsx)(eB,{row:i})})}),e.length>1&&(0,t.jsx)("th",{colSpan:e.length-1})]}),(0,t.jsxs)("tr",{className:(0,l.default)(0===o&&eI.default["first-data-row"],(void 0===i.labelSpan||i.labelSpan>1)&&eI.default["split-row"]),children:[void 0!==i.labelSpan&&(0,t.jsx)("th",{scope:"row",rowSpan:i.labelSpan,className:eI.default["label-cell"],children:(0,t.jsx)(eB,{row:i})}),e.map((l,a)=>{var d,u,c;let m=i.cellSpans?.[a]??1;if(0===m)return null;let f=_.slice(o,o+m);return(0,t.jsx)(eE,{reading:i.cells[a],rowSpan:m,wins:f.some(e=>e.has(a)),subject:l===s,maker:(d=l,u=r,c=s,u.includes(d)?"rival":c&&d!==c?"sibling":"ours"),pinned:0===a&&h,firstColumn:0===a,besidePin:1===a&&h,lastColumn:a===e.length-1,lastRow:o+m===n.length},`${l}-${a}`)})]})]},`${i.benchmark}-${o}`))})]})}),(0,t.jsx)("div",{ref:f,className:eI.default.scroll,"aria-hidden":"true",children:(0,t.jsx)("div",{className:eI.default.spacer})})]}),d&&(0,t.jsx)(eT,{as:"figcaption",className:eI.default.caption,value:d})]})}function eB({row:e}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:eI.default.category,children:e.category}),(0,t.jsx)("span",{className:eI.default.benchmark,children:e.benchmark})]})}function eE({reading:e,rowSpan:a,wins:s,subject:r,maker:i,pinned:n,firstColumn:o,besidePin:d,lastColumn:u,lastRow:c}){let m=!!e&&s;return(0,t.jsxs)("td",{rowSpan:a>1?a:void 0,className:(0,l.default)(n&&eI.default.pinned,o&&eI.default["first-column"],d&&eI.default["beside-pin"],u&&eI.default["last-column"],c&&eI.default["last-row"],r&&eI.default.subject,m&&eI.default[`win-${i}`]),children:[(0,t.jsx)("span",{className:(0,l.default)(eI.default.value,(m||e?.emphasized)&&eI.default["value-bold"]),children:e?.value}),e?.qualifier&&(0,t.jsx)("span",{className:eI.default.qualifier,children:e.qualifier})]})}function eA(e){if("string"==typeof e)return e.trim()||void 0;if(!Array.isArray(e))return;let t=e.filter(e=>!!e&&"object"==typeof e&&"string"==typeof e._type);return t.some(eG)?t:void 0}function eG(e){return"block"===e._type&&(e.children??[]).some(e=>"string"==typeof e?.text&&e.text.trim())}function e$(e){let t=(e??"").split(/\r?\n/).map(e=>e.trim()).filter(Boolean),l=t.shift();if(!l)return{columns:[],rows:[]};let a=eR(l);return{columns:a,rows:t.map(e=>{let t=eR(e);return Object.fromEntries(a.map((e,l)=>[e,t[l]]))})}}function eR(e){let t=[],l="",a=!1;for(let s=0;s<e.length;s+=1){let r=e[s];a&&'"'===r&&'"'===e[s+1]?(l+='"',s+=1):'"'===r?a=!a:","!==r||a?l+=r:(t.push(l.trim()),l="")}return t.push(l.trim()),t}e.s(["readChartNote",0,eA],263336);let eF=["category","benchmark","qualifier"],eV=/^[—–-]+$/,eO=["matcha","peach","cloud"];function eP({data:e}){let l=function(e){var t;let l,{columns:a,rows:s}=e$(e?.data??void 0),r=a.filter(e=>!eF.includes(e));if(0===r.length||0===s.length)return null;let i=[];for(let e of s){let t=e.category?.trim()??"",a=e.benchmark?.trim()??"";if(!t&&!a)continue;let s=r.map(t=>(function(e,t){let l=e?.trim();if(!l)return null;let a=l.indexOf("|"),s=-1===a?l:l.slice(0,a).trim();if(!s)return null;let r=-1!==a?l.slice(a+1).trim():eV.test(s)?void 0:t?.trim();return r?{value:s,qualifier:r}:{value:s}})(e[t],e.qualifier));if(s.every(e=>!e))continue;let n=i[i.length-1];n&&n.category===t&&n.benchmark===a&&l?(l.labelSpan=(l.labelSpan??1)+1,i.push({category:t,benchmark:a,cells:s})):(l={category:t,benchmark:a,labelSpan:1,cells:s},i.push(l))}return 0===i.length?null:{models:r,highlightModel:e?.highlightModel?.trim()||void 0,competitorModels:(e?.competitorModels??"").split(",").map(e=>
1e.trim()).filter(Boolean),palette:(t=e?.palette,eO.find(e=>e===t?.trim())),cornerLabel:e?.cornerLabel?.trim()||void 0,rows:function(e,t){let l=[];for(let a=0;a<e.length;){let s=e[a].labelSpan??1,r=e.slice(a,a+s);if(a+=s,1===r.length){l.push(r[0]);continue}let i=Array.from({length:t},(e,t)=>{let l=r.flatMap(e=>e.cells[t]??[]);return l.length>1?void 0:{reading:l[0]??null}});if(i.every(e=>void 0!==e)){l.push({...r[0],labelSpan:1,cells:i.map(e=>e.reading)});continue}r.forEach((e,t)=>{l.push({...e,cells:e.cells.map((e,t)=>{let l=i[t];return l?l.reading:e}),cellSpans:i.map(e=>e?0===t?r.length:0:1)})})}return l}(i,r.length),caption:eA(e?.caption)}}(e);return l?(0,t.jsx)(eL,{...l}):null}let ez=(e,t,l=!0)=>{let s=(0,a.useRef)(t);s.current=t,(0,a.useEffect)(()=>{if(!l)return;let t=t=>{e.current?.contains(t.target)||s.current(t)};return document.addEventListener("pointerdown",t),()=>document.removeEventListener("pointerdown",t)},[e,l])};e.s(["useClickOutside",0,ez],846660);var eK=e.i(685865);let eD=()=>(0,t.jsxs)("svg",{className:eK.default["more-icon"],viewBox:"0 0 12 12","aria-hidden":"true",children:[(0,t.jsx)("line",{x1:"1",y1:"6",x2:"11",y2:"6"}),(0,t.jsx)("line",{className:eK.default["more-icon-vertical"],x1:"6",y1:"1",x2:"6",y2:"11"})]});function eH({labels:e,activeIndex:s,onTabChange:r,tabId:i,panelId:n,moreLabel:o,className:d,...u}){let c=(0,a.useRef)(null),m=(0,a.useRef)(null),f=(0,a.useRef)(null),[h,_]=(0,a.useState)(!1),[p,x]=(0,a.useState)(!1),{visible:b,hasOverflow:v}=function(e,t,l,s){let[r,i]=(0,a.useState)(()=>({visible:Array.from({length:l},(e,t)=>t),hasOverflow:!1}));return(0,a.useLayoutEffect)(()=>{let a=e.current,r=t.current;if(!a||!r)return;let n=()=>{let e=Array.from(r.children),t=e.at(-1)?.offsetWidth??0,n=e.slice(0,-1).map(e=>e.offsetWidth),o=parseFloat(getComputedStyle(a).columnGap)||0,d=a.offsetWidth,u=n.reduce((e,t)=>e+t,0)+o*(n.length-1),c=n.length;if(u>d){let e=t;for(let t of(c=0,n)){let l=e+t+o;if(l>d)break;e=l,c+=1}c=Math.max(1,c)}let m=Array.from({length:Math.min(c,l)},(e,t)=>t);m.length&&!m.includes(s)&&(m[m.length-1]=s),i({visible:m,hasOverflow:m.length<l})};n();let o=new ResizeObserver(n);return o.observe(a),document.fonts?.ready.then(n),()=>o.disconnect()},[e,t,l,s]),r}(c,m,e.length,s),g=e.map((e,t)=>t).filter(e=>!b.includes(e));ez(f,()=>_(!1),h),(0,a.useEffect)(()=>{if(!h)return;let e=e=>{"Escape"===e.key&&_(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[h]);let y=e=>{_(!1),r(e)},j=e=>{let t,l=b.indexOf(s);"ArrowRight"===e.key&&(t=b[(l+1)%b.length]),"ArrowLeft"===e.key&&(t=b[(l-1+b.length)%b.length]),"Home"===e.key&&(t=b[0]),"End"===e.key&&(t=b[b.length-1]),void 0!==t&&(e.preventDefault(),r(t),c.current?.querySelector(`#${CSS.escape(i(t))}`)?.focus())};return(0,t.jsxs)("div",{...u,ref:c,className:(0,l.default)(eK.default.tabs,d),role:"tablist",children:[e.map((e,a)=>(0,t.jsx)("button",{type:"button",role:"tab",id:i(a),"aria-selected":a===s,"aria-controls":n(a),tabIndex:a===s?0:-1,hidden:!b.includes(a),className:(0,l.default)(eK.default.tab,a===s&&eK.default["tab-active"]),onClick:()=>y(a),onKeyDown:j,children:e},a)),(0,t.jsxs)("div",{ref:f,className:eK.default.more,hidden:!v,children:[(0,t.jsx)("button",{type:"button",className:(0,l.default)(eK.default.tab,eK.default["more-button"]),"aria-label":o,"aria-haspopup":"menu","aria-expanded":h,onClick:()=>{let e=f.current,t=c.current;if(e&&t){let l=e.getBoundingClientRect(),a=t.getBoundingClientRect();x(l.left+l.width/2<a.left+a.width/2)}_(e=>!e)},children:(0,t.jsx)(eD,{})}),(0,t.jsx)("div",{className:(0,l.default)(eK.default.menu,p&&eK.default["menu-right"]),role:"menu",hidden:!h,children:g.map(a=>(0,t.jsx)("button",{type:"button",role:"menuitem",className:(0,l.default)("caption",eK.default["menu-item"]),onClick:()=>y(a),children:e[a]},a))})]}),(0,t.jsxs)("div",{ref:m,className:eK.default.measure,"aria-hidden":"true",children:[e.map((e,l)=>(0,t.jsx)("span",{className:eK.default.tab,children:e},l)),(0,t.jsx)("span",{className:(0,l.default)(eK.default.tab,eK.default["more-button"]),children:(0,t.jsx)(eD,{})})]})]})}var eJ=e.i(231856);function eU(e){if(!Number.isFinite(e)||e<0)return"00:00";let t=Math.floor(e),l=String(Math.floor(t/60)).padStart(2,"0"),a=String(t%60).padStart(2,"0");return`${l}:${a}`}function eQ({src:e,label:s}){let r=(0,a.useRef)(null),i=(0,a.useRef)(null),[n,o]=(0,a.useState)(!1),[d,u]=(0,a.useState)(0),[c,m]=(0,a.useState)(0),[f,h]=(0,a.useState)(240);(0,a.useEffect)(()=>{let e=i.current;if(!e)return;let t=()=>h(Math.max(2,Math.floor(e.clientWidth/2)));t();let l=new ResizeObserver(t);return l.observe(e),()=>l.disconnect()},[]),(0,a.useEffect)(()=>{let e=r.current;if(!e)return;let t=()=>m(Number.isFinite(e.duration)?e.duration:0),l=()=>u(e.currentTime),a=()=>o(!0),s=()=>o(!1);return e.readyState>=1&&t(),e.addEventListener("loadedmetadata",t),e.addEventListener("durationchange",t),e.addEventListener("timeupdate",l),e.addEventListener("play",a),e.addEventListener("pause",s),e.addEventListener("ended",s),()=>{e.removeEventListener("loadedmetadata",t),e.removeEventListener("durationchange",t),e.removeEventListener("timeupdate",l),e.removeEventListener("play",a),e.removeEventListener("pause",s),e.removeEventListener("ended",s)}},[e]);let _=c>0?d/c:0,p=function(e){let t=0;for(let l=0;l<e.length;l+=1)t=31*t+e.charCodeAt(l)|0;return Math.abs(t%997)/997}(e);return(0,t.jsxs)("div",{className:eJ.default.audio,children:[(0,t.jsx)("audio",{ref:r,
1src:e,preload:"metadata"}),(0,t.jsx)("button",{type:"button",className:eJ.default["audio-toggle"],onClick:()=>{let e=r.current;e&&(e.paused?e.play():e.pause())},"aria-label":`${n?"Pause":"Play"}${s?` ${s}`:" audio"}`,children:(0,t.jsx)("svg",{viewBox:"0 0 14 16",width:"14",height:"16","aria-hidden":"true",focusable:"false",children:n?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("line",{x1:"4",y1:"1.5",x2:"4",y2:"14.5",strokeWidth:"1.1"}),(0,t.jsx)("line",{x1:"10",y1:"1.5",x2:"10",y2:"14.5",strokeWidth:"1.1"})]}):(0,t.jsx)("path",{d:"M2 1 L13 8 L2 15 Z",strokeWidth:"1.1"})})}),(0,t.jsx)("div",{ref:i,className:eJ.default.waveform,onPointerDown:e=>{let t=r.current,l=i.current;if(!t||!l||!c)return;let{left:a,width:s}=l.getBoundingClientRect();t.currentTime=Math.min(1,Math.max(0,(e.clientX-a)/s))*c,u(t.currentTime)},role:"presentation",children:Array.from({length:f},(e,a)=>(0,t.jsx)("span",{className:(0,l.default)(eJ.default.bar,a/f<=_&&eJ.default["bar-played"]),style:{height:function(e,t=0){let l=.4*e+97*t,a=Math.abs(43758.5453*Math.sin(12.9898*l))%1,s=2+2*Math.round(12*(.12+.88*(.5+.5*Math.sin(.35*l+2.2*Math.sin(.08*l)))**1.5)*(.3+.7*a**.7));return a>.94?Math.min(28,s+6):s}(a,p)}},a))}),(0,t.jsxs)("span",{className:eJ.default.clock,children:[eU(d)," / ",eU(c)]})]})}function eX({testimonial:e,labels:a,className:s,...r}){let{quote:i,authorName:n,authorRole:o,company:d,audioSrc:u}=e;return(0,t.jsxs)("article",{...r,className:(0,l.default)(eJ.default.card,s),children:[(0,t.jsxs)("div",{className:eJ.default.body,children:[(0,t.jsx)("span",{className:eJ.default.label,children:a.testimonial}),(0,t.jsx)("blockquote",{className:eJ.default.quote,children:i})]}),(0,t.jsxs)("div",{className:eJ.default.split,children:[(0,t.jsxs)("div",{className:eJ.default.cell,children:[(0,t.jsx)("span",{className:eJ.default.label,children:a.company}),(0,t.jsx)("span",{className:eJ.default.value,children:d})]}),(0,t.jsxs)("div",{className:eJ.default.cell,children:[(0,t.jsx)("span",{className:eJ.default.label,children:a.author}),(0,t.jsx)("span",{className:eJ.default.value,children:[n,o].filter(Boolean).join(", ")})]})]}),u&&(0,t.jsx)(eQ,{src:u,label:`testimonial from ${d}`})]})}function eZ(e,t,{panelSelector:l="[data-panel]:not([hidden])",animateGrowth:s=!1}={}){let[r,i]=(0,a.useState)(!1),[n,o]=(0,a.useState)(!1),d=(0,a.useRef)(null),u=(0,a.useRef)(!1);return(0,a.useLayoutEffect)(()=>{let t=e.current,a=t?.querySelector(l);if(!t||!a)return;let r=()=>{let e=Math.ceil(a.getBoundingClientRect().height),l=d.current;!s&&null!==l&&e>l?(t.style.transition="none",t.style.height=`${e}px`,t.offsetHeight,t.style.transition=""):t.style.height=`${e}px`,u.current=null!==l&&(s?e!==l:e<l),d.current=e};r(),i(!0);let n=new ResizeObserver(r);return n.observe(a),()=>n.disconnect()},[e,t,l,s]),(0,a.useEffect)(()=>{if(!r)return;let t=e.current;if(!t)return;if(!u.current)return void o(!1);o(!0);let l=()=>o(!1),a=e=>{"height"===e.propertyName&&l()},s=window.setTimeout(l,450);return t.addEventListener("transitionend",a),()=>{window.clearTimeout(s),t.removeEventListener("transitionend",a)}},[e,r,t]),{isFluid:r,isAnimating:n}}var eY=e.i(703929);let e0="[data-slide]";function e1(e){return"auto"===getComputedStyle(e).overflowX}function e3({labels:e,quotes:s,palette:r,className:i,...n}){let[o,d]=(0,a.useState)(0),u=(0,a.useId)(),c=(0,a.useRef)(null),m=Math.min(o,Math.max(s.length-1,0)),{isFluid:f}=eZ(c,m,{panelSelector:'[data-slide="active"]',animateGrowth:!0}),h=function(e,{active:t,count:l,onSettle:s}){let r=(0,a.useRef)(null),i=(0,a.useRef)(t);(0,a.useEffect)(()=>{i.current=t},[t]);let n=(0,a.useCallback)((t,l="smooth")=>{let a=e.current,s=a?.querySelectorAll(e0)[t];if(!a||!s||!e1(a))return;let i=s.offsetLeft+s.offsetWidth/2-a.clientWidth/2;1>Math.abs(a.scrollLeft-i)||(r.current=t,a.scrollTo({left:i,behavior:l}))},[e]);return(0,a.useEffect)(()=>{let t=e.current;if(!t)return;let l=0,a=()=>{cancelAnimationFrame(l),l=requestAnimationFrame(()=>{let e,l,a=(e=t.scrollLeft+t.clientWidth/2,(l=[...t.querySelectorAll(e0)].map(t=>Math.abs(t.offsetLeft+t.offsetWidth/2-e))).indexOf(Math.min(...l)));if(null!==r.current){if(a!==r.current)return;r.current=null}s(a)})},o=()=>{r.current=null},d=e1(t);d&&n(i.current,"instant");let u=new ResizeObserver(()=>{let e=e1(t);e&&!d&&n(i.current,"instant"),d=e});return u.observe(t),t.addEventListener("scroll",a,{passive:!0}),t.addEventListener("pointerdown",o,{passive:!0}),t.addEventListener("touchstart",o,{passive:!0}),()=>{cancelAnimationFrame(l),u.disconnect(),t.removeEventListener("scroll",a),t.removeEventListener("pointerdown",o),t.removeEventListener("touchstart",o)}},[e,l,s,n]),n}(c,{active:m,count:s.length,onSettle:d});if(0===s.length)return null;let _=e=>{d(e),h(e)},p=s.length>1,x=e=>`${u}-tab-${e}`,b=e=>`${u}-panel-${e}`;return(0,t.jsxs)("section",{...n,className:(0,l.default)(eY.default.root,r&&eY.default[r],i),children:[p&&(0,t.jsx)(eH,{className:eY.default.tabs,labels:s.map(e=>e.company),activeIndex:m,onTabChange:_,tabId:x,panelId:b,"aria-label":e.company,moreLabel:"More customers"}),(0,t.jsxs)("div",{ref:c,className:(0,l.default)(eY.default.stage,f&&eY.default["is-fluid"]),children:[s.map((l,a)=>{let s=a===m?"active":a===m-1?"prev":a===m+1?"next":a<m?"far-prev":"far-next",r="active"===s;
1return(0,t.jsxs)("div",{className:eY.default.slide,"data-slide":s,children:[(0,t.jsx)("div",{className:eY.default.panel,id:b(a),role:p?"tabpanel":void 0,"aria-labelledby":p?x(a):void 0,"aria-hidden":!r||void 0,inert:!r,children:(0,t.jsx)(eX,{className:eY.default.card,testimonial:l,labels:e})}),("prev"===s||"next"===s)&&(0,t.jsx)("button",{type:"button",className:eY.default.reveal,tabIndex:-1,"aria-hidden":"true",onClick:()=>_(a)})]},`${l.company}-${a}`)}),(0,t.jsx)("div",{className:(0,l.default)(eY.default.veil,eY.default["veil-left"]),"aria-hidden":"true"}),(0,t.jsx)("div",{className:(0,l.default)(eY.default.veil,eY.default["veil-right"]),"aria-hidden":"true"})]})]})}let e2=["cloud","matcha","peach"];function e4(e){var l;if(!e||"object"!=typeof e)return null;let a=Array.isArray(l=e.quote)&&0!==l.length?(0,t.jsx)(Q.default,{value:l}):null,s=e6(e.authorName),r=e6(e.company);return a&&s&&r?{quote:a,authorName:s,authorRole:e6(e.authorRole),company:r,audioSrc:e6(e.audioUrl)}:null}function e6(e){return"string"==typeof e&&e.trim()||void 0}function e5({data:e}){var l,a;let s,r=(l=e,0===(s=(Array.isArray(l?.quotes)?l.quotes:[]).map(e4).filter(e=>null!==e)).length?null:{labels:{testimonial:e6(l?.testimonialLabel)??"Quote",author:e6(l?.authorLabel)??"Author",company:e6(l?.companyLabel)??"Company"},quotes:s,palette:(a=l?.palette,e2.find(e=>e===e6(a)))});return r?(0,t.jsx)(e3,{...r}):null}function e8(e){return e.split(/(\*\*[^*]+\*\*)/).filter(Boolean).map(e=>e.startsWith("**")&&e.endsWith("**")?{text:e.slice(2,-2),bold:!0}:{text:e,bold:!1})}function e7(e){return e.replace(/\*\*/g,"")}function e9({text:e,boldClass:l}){return(0,t.jsx)(t.Fragment,{children:e8(e).map((e,s)=>e.bold?(0,t.jsx)("tspan",{className:l,children:e.text},s):(0,t.jsx)(a.Fragment,{children:e.text},s))})}function te({text:e,boldClass:l}){return(0,t.jsx)(t.Fragment,{children:e8(e).map((e,s)=>e.bold?(0,t.jsx)("strong",{className:l,children:e.text},s):(0,t.jsx)(a.Fragment,{children:e.text},s))})}function tt(e,t,l){let a=.56*l,s=e=>e.length*a<=t,r=[],i="";for(let t of e.split(/\s+/).filter(Boolean)){let e=i?`${i} ${t}`:t;i&&!s(e)?(r.push(i),i=t):i=e}return i&&r.push(i),r}var tl=e.i(334562);function ta(e,t="number",l){var a;if("currency"===t){let t=l??2*!Number.isInteger(e);return`$${e.toFixed(t)}`}let s=void 0===l?Number.isInteger(a=e)?String(a):String(Number(a.toFixed(2))):e.toFixed(l);return"percent"===t?`${s}%`:s}function ts(e,t="number",l){let a="currency"===t&&void 0===l&&!Number.isInteger(e);return ta(e,"number",a?2:l)}e.i(947716);var tr=e.i(182984),tr=tr,ti=e.i(282803),tn=e.i(852785);let to={tickGap:10,labelGap:12,edgeGap:12,tickText:14,labelText:15},td={tickGap:4,labelGap:10,edgeGap:2,tickText:11,labelText:12};function tu(e,t,l){let{tickGap:a,labelGap:s,edgeGap:r,tickText:i,labelText:n}=e<500?td:to,o=e=>a+i+4+(e?r+n+s:0);return{left:o(!!l.y?.label)+(e<500?0:8),top:12,right:e-12,bottom:t-o(!!l.x?.label),tickGap:a,labelGap:s,edgeGap:r,tickText:i,labelText:n}}function tc(e,t,l,{includeZero:a=!1}={}){let s=e?.scale==="log",[r,i]=e?.domain??tp(t,s,a),n=!s&&r>0?l.bottom-tm:l.bottom;return(s?(0,tn.scaleLog)():(0,ti.scaleLinear)()).domain([r,i]).rangeRound([n,l.top])}let tm=28;function tf(e,t,l,{includeZero:a=!1}={}){let s=e?.scale==="log",[r,i]=e?.domain??tp(t,s,a);return(s?(0,tn.scaleLog)():(0,ti.scaleLinear)()).domain([r,i]).rangeRound([l.left,l.right])}function th(e,t,l=.3){return(0,tr.default)().domain(e).range([t.left,t.right]).padding(l)}function t_(e,t){return e?.ticks??t.ticks(5)}function tp(e,t,l){let a=t?e.filter(e=>e>0):e;if(0===a.length)return t?[1,10]:[0,1];let s=Math.min(...a,l&&!t?0:1/0),r=Math.max(...a,l&&!t?0:-1/0);return t?[s,r>s?r:10*s]:(0,ti.scaleLinear)().domain([s,r]).nice().domain()}function tx({axis:e,scale:l,ticks:a,area:s,gridlines:r=!0}){let i=l.domain?.()[0]??0,n=e?.scale!=="log"&&i>0,o=s.left,d=s.bottom-tm/2,u=.6*s.tickGap;return(0,t.jsxs)("g",{children:[a.map(a=>(0,t.jsxs)("g",{transform:`translate(0, ${l(a)})`,children:[r&&(0,t.jsx)("line",{className:tl.default.grid,x1:s.left,x2:s.right}),(0,t.jsx)("text",{className:tl.default.tick,x:s.left-s.tickGap,dy:"0.35em",textAnchor:"end",children:ts(a,e?.format,e?.decimals)})]},a)),(0,t.jsx)("line",{className:tl.default.axisLine,x1:s.left,x2:s.left,y1:s.top,y2:s.bottom}),n&&(0,t.jsx)("text",{className:tl.default.tick,x:s.left-s.tickGap,y:s.bottom,dy:"0.35em",textAnchor:"end",children:"0"}),n&&(0,t.jsxs)("g",{className:tl.default.axisBreak,children:[(0,t.jsx)("line",{x1:o,x2:o,y1:d-4-1,y2:d+4+1}),(0,t.jsx)("polyline",{points:`${o-u},${d-4} ${o+u},${d-2} ${o-u},${d+2} ${o+u},${d+4}`})]}),e?.label&&(0,t.jsx)("text",{className:tl.default.axisLabel,transform:`translate(${s.edgeGap}, ${(s.top+s.bottom)/2}) rotate(-90)`,dy:"1em",textAnchor:"middle",children:e.label})]})}function tb({labels:e,notes:l,scale:a,bandwidth:s,area:r,axis:i}){return(0,t.jsxs)("g",{children:[(0,t.jsx)("line",{className:tl.default.axisLine,x1:r.left,x2:r.right,y1:r.bottom,y2:r.bottom}),e.map(e=>{let i=(a(e)??0)+s/2;return(0,t.jsxs)("g",{children:[(0,t.jsx)("text",{className:tl.default.categoryLabel,x:i,y:r.bottom+r.tickGap,dy:"1em",textAnchor:"middle",children:(0,t.jsx)(e9,{text:e,boldClass:tl.default.emphasis})}),l?.[e]&&(0,t.jsx)("text",{className:tl.default.categoryNote,x:i,y:r.bottom+r.tickGap+23,dy:"1em",textAnchor:"middle",children:l[e]})]},e)}),i?.label&&(0,t.jsx)("text",{className:tl.default.axisLabel,x:(r.left+r.right)/2,y:r.bottom+r.tickGap+r.tickText+4+r.labelGap,dy:"1em",textAnchor:"middle",children:i.label})]})}function tv({labels:e,notes:a,noteWidth:s,above:r,scale:i,bandwidth:n,area:o}){return(0,t.jsxs)("g",{children:[(0,t.jsx)("line",{className:tl.default.axisLine,x1:o.left,x2:o.left,y1:o.top,y2:o.bottom}),e.map(e=>{let d=i(e)??0,u=a?.[e],c=u?tt(u,s??1/0,12):[],m=r?17:23,f=c.length?m+15*(c.length-1):0,h=r?d+12:d+n/2-f/2,_=r?o.left+8:o.left-o.tickGap,p=r?"start":"end";return(0,t.jsxs)("g",{children:[(0,t.jsx)("text",{className:(0,l.default)(tl.default.categoryLabel,r&&tl.default.categoryLabelAbove),x:_,y:h,dy:"0.35em",textAnchor:p,children:(0,t.jsx)(e9,{text:e,boldClass:tl.default.emphasis})}),c.length>0&&(0,t.jsx)("text",{className:(0,l.default)(tl.default.categoryNote,r&&tl.default.categoryNoteAbove),x:_,y:h+m,dy:"0.35em",textAnchor:p,children:c.map((e,l)=>(0,t.jsx)("tspan",{x:_,dy:l?15:void 0,children:e},l))})]},e)})]})}function tg({axis:e,scale:l,ticks:a,area:s,gridlines:r=!1,labelWidth:i}){let n=e?.label?tt(e.label,i??s.right-s.left,s.labelText):[],o=(s.left+s.right)/2;return(0,t.jsxs)("g",{children:[(0,t.jsx)("line",{className:tl.default.axisLine,x1:s.left,x2:s.right,y1:s.bottom,y2:s.bottom}),a.map(a=>(0,t.jsxs)("g",{transform:`translate(${l(a)}, 0)`,children:[r&&(0,t.jsx)("line",{className:tl.default.grid,y1:s.top,y2:s.bottom}),(0,t.jsx)("text",{className:tl.default.tick,y:s.bottom+s.tickGap,dy:"1em",textAnchor:"middle",children:ts(a,e?.format,e?.decimals)})]},a)),n.length>0&&(0,t.jsx)("text",{className:tl.default.axisLabel,x:o,y:s.bottom+s.tickGap+s.tickText+4+s.labelGap,dy:"1em",textAnchor:"middle",children:n.map((e,l)=>(0,t.jsx)("tspan",{x:o,dy:l?18:void 0,children:e},l))})]})}
1let ty=["paper","matcha","cloud","cactus","gray","heather","coral","peach","orange","aqua","sky","yellow","gray-550","gray-300"],tj=["hatch","fence","dots"];function tw(e="paper"){return`var(--chart-${e})`}function tk(e,t,l="paper"){return"solid"===t?tw(l):"ink"===t?"var(--chart-ink)":`url(#${e}-${t}-${l})`}let tN=new Set(["matcha","cloud","cactus","gray","heather","coral","peach","gray-300"]);function tC(e,t,l="paper"){return"solid"===t||"ink"===t?tk(e,t,l):`url(#${e}-${t}-${l}-mark)`}function tS({id:e,size:l,children:a}){return(0,t.jsx)("pattern",{id:e,width:l,height:l,patternUnits:"userSpaceOnUse",children:a})}function tW({id:e,tiles:l,children:a}){let s=1/l;return(0,t.jsx)("pattern",{id:e,width:s,height:s,patternUnits:"objectBoundingBox",patternContentUnits:"objectBoundingBox",children:a})}let tq="var(--chart-ink)";function tT({chartId:e,fill:l,color:a}){let s=`${e}-${l}-${a}`,r=tw(a);return"hatch"===l?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(tS,{id:s,size:6,children:[(0,t.jsx)("rect",{width:"6",height:"6",fill:r}),(0,t.jsx)("path",{d:"M-1 1 l2 -2 M0 6 l6 -6 M5 7 l2 -2",stroke:tq,strokeWidth:"1"})]}),(0,t.jsxs)(tW,{id:`${s}-mark`,tiles:3,children:[(0,t.jsx)("rect",{width:"0.334",height:"0.334",fill:r}),(0,t.jsx)("path",{d:"M-0.056 0.056 l0.111 -0.111 M0 0.334 l0.334 -0.334 M0.278 0.389 l0.111 -0.111",stroke:tq,strokeWidth:"0.06"})]})]}):"fence"===l?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(tS,{id:s,size:8,children:[(0,t.jsx)("rect",{width:"8",height:"8",fill:r}),(0,t.jsx)("path",{d:"M-1 1 l2 -2 M0 8 l8 -8 M7 9 l2 -2",stroke:tq,strokeWidth:"1"})]}),(0,t.jsxs)(tW,{id:`${s}-mark`,tiles:2,children:[(0,t.jsx)("rect",{width:"0.5",height:"0.5",fill:r}),(0,t.jsx)("path",{d:"M-0.06 0.06 l0.12 -0.12 M0 0.5 l0.5 -0.5 M0.44 0.56 l0.12 -0.12",stroke:tq,strokeWidth:"0.06"})]})]}):"dots"===l?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(tS,{id:s,size:6,children:[(0,t.jsx)("rect",{width:"6",height:"6",fill:r}),(0,t.jsx)("circle",{cx:"1.5",cy:"1.5",r:"0.8",fill:tq}),(0,t.jsx)("circle",{cx:"4.5",cy:"4.5",r:"0.8",fill:tq})]}),(0,t.jsxs)(tW,{id:`${s}-mark`,tiles:3,children:[(0,t.jsx)("rect",{width:"0.334",height:"0.334",fill:r}),(0,t.jsx)("circle",{cx:"0.083",cy:"0.083",r:"0.05",fill:tq}),(0,t.jsx)("circle",{cx:"0.25",cy:"0.25",r:"0.05",fill:tq})]})]}):null}function tM({chartId:e,only:l}){let a=l?.map(e=>({fill:e.fill,color:e.color??"paper"}))??tj.flatMap(e=>ty.map(t=>({fill:e,color:t})));return(0,t.jsx)("defs",{children:a.filter(e=>tj.includes(e.fill)).map(l=>(0,t.jsx)(tT,{chartId:e,fill:l.fill,color:l.color},`${l.fill}-${l.color}`))})}function tI({chartId:e,series:a,shape:s="square",isShown:r,onToggle:i,className:n}){return(0,t.jsx)("ul",{className:(0,l.default)(tl.default.legend,n),"aria-label":"Series",children:a.map((a,n)=>{let o=r?.(a.id)??!0,d=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(tL,{id:`${e}-legend-${n}`,series:a,shape:s}),(0,t.jsx)("span",{children:(0,t.jsx)(te,{text:a.name,boldClass:tl.default.emphasis})})]});return(0,t.jsx)("li",{className:(0,l.default)(tl.default.legendItem,!o&&tl.default.legendItemInactive),children:i?(0,t.jsx)("button",{type:"button",className:tl.default.legendButton,"aria-pressed":o,onClick:()=>i(a.id),children:d}):d},a.id)})})}function tL({id:e,series:a,shape:s}){let r=tC(e,a.fill,a.color);return(0,t.jsxs)("svg",{className:(0,l.default)(tl.default.swatch,a.outline&&tl.default.swatchOutlined),viewBox:a.outline?"-3 -3 20 20":"0 0 14 14","aria-hidden":"true",children:[(0,t.jsx)(tM,{chartId:e,only:[{fill:a.fill,color:a.color}]}),"circle"===s?(0,t.jsx)("circle",{cx:"7",cy:"7",r:"6.5",fill:r}):(0,t.jsx)("rect",{x:"0.5",y:"0.5",width:"13",height:"13",fill:r}),a.outline&&("circle"===s?(0,t.jsx)("circle",{cx:"7",cy:"7",r:"9.5",fill:"none",className:tl.default.ring}):(0,t.jsx)("rect",{x:"-2.5",y:"-2.5",width:"19",height:"19",fill:"none",className:tl.default.ring}))]})}function tB(){let[e,t]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let e=window.matchMedia("(prefers-reduced-motion: reduce)"),l=()=>t(e.matches);return l(),e.addEventListener("change",l),()=>e.removeEventListener("change",l)},[]),e}
1function tE({title:e,subtitle:s,footnote:r,series:i=[],showLegend:n=i.length>1,legendAlign:o="end",legendShape:d,isSeriesShown:u,onSeriesToggle:c,aspect:m=.56,animate:f=!0,className:h,children:_,...p}){let x=(0,a.useId)().replace(/:/g,""),b=(0,a.useRef)(null),v=function(e,t=960){let[l,s]=(0,a.useState)(t);return(0,a.useLayoutEffect)(()=>{let l=e.current;if(!l)return;let a=()=>{if(l.clientWidth)return void s(l.clientWidth);let e=(e,t)=>{let l=getComputedStyle(e),a=e=>parseFloat("border"===t?l[`border${e}Width`]:l[`${t}${e}`])||0;return a("Left")+a("Right")},a=0,r=l;for(;r&&!r.clientWidth;)r!==l&&(a+=e(r,"padding")),a+=e(r,"border")+e(r,"margin"),r=r.parentElement;s(r?r.clientWidth-e(r,"padding")-a:t)};a();let r=new ResizeObserver(a);return r.observe(l),()=>r.disconnect()},[e,t]),l}(b),g=Math.round("function"==typeof m?m(v):v*(v<500?1.75*m:m)),{ref:y,armed:j}=function(e){let t=tB(),l=!e||t,{ref:s,inView:r}=(0,ep.useInView)({threshold:.25,triggerOnce:!0,skip:l}),[i,n]=(0,a.useState)(!1);return(0,a.useLayoutEffect)(()=>n(!l&&!r),[l,r]),{ref:s,armed:i}}(f);return(0,t.jsxs)("figure",{...p,ref:y,className:(0,l.default)(tl.default.frame,h),"data-armed":j||void 0,children:[(0,t.jsxs)("div",{className:tl.default.panel,children:[(e||s)&&(0,t.jsxs)("figcaption",{className:tl.default.caption,children:[e&&(0,t.jsx)("span",{className:tl.default.title,children:e}),s&&(0,t.jsx)("span",{className:tl.default.subtitle,children:s})]}),n&&(0,t.jsx)(tI,{chartId:x,series:i,shape:d,isShown:u,onToggle:c,className:(0,l.default)(tl.default.legendRow,"start"===o&&tl.default.legendStart)}),(0,t.jsx)("div",{ref:b,className:tl.default.plot,children:(0,t.jsxs)("svg",{className:tl.default.svg,width:v,height:g,viewBox:`0 0 ${v} ${g}`,role:"img","aria-label":e,children:[(0,t.jsx)(tM,{chartId:x}),_({chartId:x,width:v,height:g})]})})]}),r&&(0,t.jsx)(eT,{className:tl.default.footnote,value:r})]})}function tA({line:e,x:a,y:s,area:r,quiet:i}){let n=(0,l.default)(tl.default.reference,i&&tl.default.referenceQuiet);return void 0!==a?(0,t.jsxs)("g",{children:[(0,t.jsx)("line",{className:n,x1:a,x2:a,y1:r.top,y2:r.bottom}),e.label&&(0,t.jsx)("text",{className:tl.default.referenceLabel,x:a,y:r.top-8,textAnchor:"middle",children:e.label})]}):(0,t.jsxs)("g",{children:[(0,t.jsx)("line",{className:n,x1:r.left,x2:r.right,y1:s,y2:s}),e.label&&(0,t.jsx)("text",{className:tl.default.referenceLabel,x:r.right,y:(s??0)+22,textAnchor:"end",children:e.label})]})}e.s(["useReducedMotion",0,tB],460630);let tG={width:0,height:0};function t$(e){if(!e)return tG;let t=e.getBBox();return{width:t.width,height:t.height}}function tR({tip:e,width:l}){let s=(0,a.useRef)(null),r=(0,a.useRef)(null),[i,n]=(0,a.useState)(tG),[o,d]=(0,a.useState)(tG);if((0,a.useLayoutEffect)(()=>{n(t$(s.current)),d(t$(r.current))},[e]),!e)return null;let u=Math.max(i.width,o.width)+24,c=24+i.height+4+o.height-5,m=Math.min(Math.max(e.x-u/2,0),Math.max(l-u,0)),f=Math.max(e.y-c-30,0);return(0,t.jsxs)("g",{className:tl.default.tooltip,transform:`translate(${m}, ${f})`,children:[(0,t.jsx)("rect",{className:tl.default.tooltipBox,width:u,height:c}),(0,t.jsx)("text",{ref:s,className:tl.default.tooltipLabel,dominantBaseline:"hanging",x:12,y:12,opacity:+!!i.height,children:e.label}),(0,t.jsx)("text",{ref:r,className:tl.default.tooltipValue,dominantBaseline:"hanging",x:12,y:12+i.height+4,opacity:+!!o.height,children:e.note?`${e.value} \xb7 ${e.note}`:e.value})]})}function tF(){let[e,t]=(0,a.useState)(null);return{tip:e,bind:(e,l,a,s,r)=>{let i={x:e,y:l,label:a,value:s,note:r};return{tabIndex:0,"aria-label":r?`${a}: ${s} ${r}`:`${a}: ${s}`,onMouseEnter:()=>t(i),onMouseLeave:()=>t(null),onFocus:()=>t(i),onBlur:()=>t(null)}}}}let tV=13*.54,tO=e=>Math.max(0,e<500?e-40:.3*e);function tP(e,t,l=!1){let a=e.note?tt(e.note,t,12).length:0;return 15+(a?(l?17:23)+15*(a-1):0)}let tz=(...e)=>e.filter(Boolean).map(e7).join(" · ");function tK({title:e,subtitle:l,footnote:a,series:s,panels:r,decimals:i=1,showLegend:n,legendAlign:o,aspect:d,barThickness:u=1,orientation:c="vertical",referenceLine:m,...f}){let{tip:h,bind:_}=tF(),p="horizontal"===c,x=d??(p?e=>{let t=(e-(e<500?8:48)*(r.length-1))/r.length,l=tO(t),a=t<500;return 12+Math.max(...r.map(e=>e.groups.length*Math.max(...e.groups.map(e=>{let t,s;return t=tP(e,l,a),s=Math.max(e.bars.length,1),a?t+10+28*s+6:Math.max(32*s,t)+24}))),56)+67+18*Math.max(0,(r[0]?.yAxis?.label?tt(r[0].yAxis.label,a?t-24:.7*t,(e<500?td:to).labelText).length:0)-1)+18*!!m?.label}:void 0),b=new Map(s.map(e=>[e.id,e])),v=new Set(r.flatMap(e=>e.groups.flatMap(e=>e.bars.filter(e=>e.segments).map(e=>e.seriesId)))),g=s.filter(e=>!v.has(e.id));
1return(0,t.jsx)(tE,{...f,title:e,subtitle:l,footnote:a,series:g,showLegend:n,legendAlign:o,aspect:x,children:({chartId:e,width:l,height:a})=>{let s=l<500?8:48,n=(l-s*(r.length-1))/r.length;return(0,t.jsxs)(t.Fragment,{children:[r.map((r,o)=>{let d=o>0&&l<500&&r.yAxis?{...r.yAxis,label:void 0}:r.yAxis,c=p?tu(n,a,{x:d}):tu(n,a,{y:d});!p&&r.groups.some(e=>e.note)&&(c.bottom-=23);let f=tO(n),h=n<500;if(p&&!h){let e=Math.max(...r.groups.map(e=>8.100000000000001*e7(e.label).length),...r.groups.flatMap(e=>e.note?tt(e.note,f,12).map(e=>6*e.length):[]));c.left=Math.max(c.left,e+c.tickGap+4)}if(p){let e=r.groups.flatMap(e=>e.bars),t=Math.max(...e.map(e=>e7(e.label??ta(e.value,d?.format,i)).length*tV)),l=Math.max(...e.map(e=>e.value)),[a,s]=d?.domain??[0,l],o=s>a?(s-l)/(s-a)*(c.right-c.left):0;c.right-=Math.max(0,t+8-o),m?.label&&(c.top+=18);let u=d?.label?tt(d.label,h?n-24:c.right-c.left,c.labelText).length:0;c.bottom-=18*Math.max(0,u-1)}let x=r.title?tt(e7(r.title),c.right-c.left,14):[];x.length&&(c.top+=24+18*(x.length-1));let v=(c.left+c.right)/2;return(0,t.jsxs)("g",{transform:`translate(${o*(n+s)}, 0)`,children:[x.length>0&&(0,t.jsx)("text",{className:tl.default.panelTitle,x:v,y:14,textAnchor:"middle",children:x.map((e,l)=>(0,t.jsx)("tspan",{x:v,dy:l?18:void 0,children:e},l))}),p?(0,t.jsx)(tJ,{panel:{...r,yAxis:d},chartId:e,area:c,seriesById:b,decimals:i,barThickness:u,referenceLine:m,noteWidth:f,above:h,panelWidth:n,bind:(e,t,l,a)=>_(e+o*(n+s),t,l,a)}):(0,t.jsx)(tH,{panel:{...r,yAxis:d},chartId:e,area:c,seriesById:b,decimals:i,barThickness:u,referenceLine:m,bind:(e,t,l,a)=>_(e+o*(n+s),t,l,a)})]},o)}),(0,t.jsx)(tR,{tip:h,width:l})]})}})}let tD=e=>Object.fromEntries(e.map(e=>[e.label,e.note]));function tH({panel:e,chartId:a,area:s,seriesById:r,decimals:i,bind:n,barThickness:o,referenceLine:d}){var u;let c,m,f,h=t=>ta(t,e.yAxis?.format,i),_=e.groups.flatMap(e=>e.bars.map(e=>e.value+(e.error??0)));d&&_.push(d.value);let p=tc(e.yAxis,_,s,{includeZero:!0}),x=th(e.groups.map(e=>e.label),s,0),b=x.bandwidth(),{size:v,gap:g,first:y}=(u=e.groups,m=Math.min(.6599999999999999*b*.78/(c=Math.max(...u.map(e=>e.bars.length),1))*o,.88*b/c),f=c>
11?Math.min(.28205128205128205*m,(.88*b-m*c)/(c-1)):0,{size:m,gap:f,first:(b-(m*c+f*(c-1)))/2}),j=p(0),w=Number.isFinite(j)?Math.min(j,s.bottom):s.bottom;return(0,t.jsxs)("g",{children:[(0,t.jsx)(tx,{axis:e.yAxis,scale:p,ticks:t_(e.yAxis,p),area:s}),(0,t.jsx)(tb,{labels:e.groups.map(e=>e.label),notes:tD(e.groups),scale:x,bandwidth:b,area:s}),d&&(0,t.jsx)(tA,{line:d,y:p(d.value),area:s}),e.groups.map(e=>(0,t.jsx)("g",{transform:`translate(${x(e.label)??0}, 0)`,children:e.bars.map((s,i)=>{let o=r.get(s.seriesId),d=y+i*(v+g),u=d+v/2,c=p(s.value),m=tt(s.label??h(s.value),1.8*b,13),f=s.overlay&&r.get(s.overlay.seriesId),_=s.overlay?p(s.overlay.value):w,j=tz(o?.name??s.seriesId,e.label),k=x(e.label)+u,N=w-_>=18,C=N||_-6-14>c;return(0,t.jsxs)("g",{style:{"--chart-delay":`${.08*i}s`},children:[s.segments?s.segments.reduce((s,i)=>{let o=s.from+i.value,u=r.get(i.seriesId),c=p(o),m=p(s.from);return s.nodes.push((0,t.jsx)("rect",{className:(0,l.default)(tl.default.mark,tl.default.bar),x:d,y:c,width:v,height:m-c,fill:tk(a,i.fill??u?.fill??"solid",i.ground??u?.color),...n(k,c,tz(u?.name??i.seriesId,e.label),h(i.value))},i.seriesId)),{from:o,nodes:s.nodes}},{from:0,nodes:[]}).nodes:(0,t.jsx)("rect",{className:(0,l.default)(tl.default.mark,tl.default.bar),x:d,y:c,width:v,height:w-c,fill:tk(a,o?.fill??"solid",o?.color),...n(k,c,j,e7(s.label??h(s.value)))}),f&&s.overlay&&(0,t.jsx)("rect",{className:(0,l.default)(tl.default.mark,tl.default.bar),x:d,y:_,width:v,height:w-_,fill:tk(a,f.fill,f.color),...n(k,_,tz(f.name,e.label),h(s.overlay.value))}),void 0!==s.error&&(0,t.jsxs)("g",{className:tl.default.whisker,children:[(0,t.jsx)("line",{x1:u,x2:u,y1:p(s.value-s.error),y2:p(s.value+s.error)}),(0,t.jsx)("line",{x1:u-6,x2:u+6,y1:p(s.value+s.error),y2:p(s.value+s.error)}),(0,t.jsx)("line",{x1:u-6,x2:u+6,y1:p(s.value-s.error),y2:p(s.value-s.error)})]}),(0,t.jsx)("text",{className:tl.default.valueLabel,x:u,y:(s.error?p(s.value+s.error):c)-8-15*(m.length-1),textAnchor:"middle",children:m.map((e,l)=>(0,t.jsx)("tspan",{x:u,dy:l?15:void 0,children:e},l))}),f&&s.overlay&&C&&(0,t.jsx)("text",{className:(0,l.default)(tl.default.valueLabel,N&&"ink"===f.fill&&tl.default.valueLabelInverse),x:u,y:N?_+14:_-6,textAnchor:"middle",children:h(s.overlay.value)})]},`${s.seriesId}-${i}`)})},e.label))]})}function tJ({panel:e,chartId:a,area:s,seriesById:r,decimals:i,bind:n,barThickness:o,referenceLine:d,noteWidth:u=1/0,above:c=!1,panelWidth:m=0}){let f=t=>ta(t,e.yAxis?.format,i),h=e.groups.flatMap(e=>e.bars.map(e=>e.value));d&&h.push(d.value);let _=tf(e.yAxis,h,s,{includeZero:!0}),p=function(e,t,l=.3){return(0,tr.default)().domain(e).range([t.top,t.bottom]).padding(l)}(e.groups.map(e=>e.label),s,0),x=p.bandwidth(),b=Math.max(...e.groups.map(e=>e.bars.length),1),v=c?Math.max(...e.groups.map(e=>tP(e,u,!0)))+10:0,g=x-v,y=Math.min(26*o,.88*g/b),j=.88*g-y*b,w=b>1?Math.min(.28205128205128205*y,j/(b-1)):0,k=c?v:(g-(y*b+w*(b-1)))/2,N=_(0),C=Number.isFinite(N)?Math.max(N,s.left):s.left;return(0,t.jsxs)("g",{children:[(0,t.jsx)(tg,{axis:e.yAxis,scale:_,ticks:t_(e.yAxis,_),area:s,gridlines:!0,labelWidth:c?m-24:void 0}),d&&(0,t.jsx)(tA,{line:d,x:_(d.value),area:s,quiet:c}),(0,t.jsx)(tv,{labels:e.groups.map(e=>e.label),notes:tD(e.groups),noteWidth:u,above:c,scale:p,bandwidth:x,area:s}),e.groups.map(e=>(0,t.jsx)("g",{transform:`translate(0, ${p(e.label)??0})`,children:e.bars.map((s,i)=>{let o=r.get(s.seriesId),d=k+i*(y+w),u=d+y/2,c=_(s.value),m=p(e.label)+u,h=tz(o?.name??s.seriesId,e.label);return(0,t.jsxs)("g",{style:{"--chart-delay":`${.08*i}s`},children:[s.segments?s.segments.reduce((s,i)=>{let o=s.from+i.value,u=r.get(i.seriesId),c=_(s.from),h=_(o);return s.nodes.push((0,t.jsx)("rect",{className:(0,l.default)(tl.default.mark,tl.default.bar),x:c,y:d,width:h-c,height:y,fill:tk(a,i.fill??u?.fill??"solid",i.ground??u?.color),...n(h,m,tz(u?.name??i.seriesId,e.label),f(i.value))},i.seriesId)),{from:o,nodes:s.nodes}},{from:0,nodes:[]}).nodes:(0,t.jsx)("rect",{className:(0,l.default)(tl.default.mark,tl.default.bar),x:C,y:d,width:c-C,height:y,fill:tk(a,o?.fill??"solid",o?.color),...n(c,m,h,e7(s.label??f(s.value)))}),(0,t.jsx)("text",{className:tl.default.valueLabel,x:c+8,y:u,dy:"0.35em",textAnchor:"start",children:e7(s.label??f(s.value))})]},`${s.seriesId}-${i}`)})},e.label))]})}
1function tU({title:e,subtitle:a,footnote:s,series:r,boxes:i,yAxis:n,referenceLine:o,decimals:d=2,showLegend:u=!1,aspect:c,...m}){let{tip:f,bind:h}=tF(),_=new Map(r.map(e=>[e.id,e]));return(0,t.jsx)(tE,{...m,title:e,subtitle:a,footnote:s,series:r,showLegend:u,aspect:c,children:({chartId:e,width:a,height:s})=>{let r=tu(a,s,{y:n}),u=tc(n,i.flatMap(e=>[e.min,e.max,o?.value??e.median]),r),c=th(i.map(e=>e.label),r,.55),m=c.bandwidth();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(tx,{axis:n,scale:u,ticks:t_(n,u),area:r}),(0,t.jsx)(tb,{labels:i.map(e=>e.label),scale:c,bandwidth:m,area:r}),o&&(0,t.jsx)(tA,{line:o,y:u(o.value),area:r}),i.map((a,s)=>{if(![a.min,a.q1,a.median,a.q3,a.max].every(e=>Number.isFinite(u(e))))return null;let r=c(a.label)??0,i=r+m/2,o=_.get(a.seriesId),f=`${e7(o?.name??a.label)} \xb7 median`;return(0,t.jsxs)("g",{style:{"--chart-delay":`${.08*s}s`},...h(i,u(a.max),f,ta(a.median,n?.format,d)),children:[(0,t.jsxs)("g",{className:tl.default.whisker,children:[(0,t.jsx)("line",{x1:i,x2:i,y1:u(a.max),y2:u(a.q3)}),(0,t.jsx)("line",{x1:i,x2:i,y1:u(a.q1),y2:u(a.min)}),(0,t.jsx)("line",{x1:i-m/4,x2:i+m/4,y1:u(a.max),y2:u(a.max)}),(0,t.jsx)("line",{x1:i-m/4,x2:i+m/4,y1:u(a.min),y2:u(a.min)})]}),(0,t.jsx)("rect",{className:(0,l.default)(tl.default.mark,tl.default.box),x:r,y:u(a.q3),width:m,height:Math.max(u(a.q1)-u(a.q3),1),fill:tk(e,o?.fill??"solid",o?.color)}),(0,t.jsx)("line",{className:tl.default.median,x1:r,x2:r+m,y1:u(a.median),y2:u(a.median)})]},a.label)}),(0,t.jsx)(tR,{tip:f,width:a})]})}})}var tQ=e.i(785833);function tX({title:e,subtitle:l,footnote:s,series:r,lines:i,xAxis:n,yAxis:o,decimals:d=1,showLegend:u,legendAlign:c,aspect:m,...f}){let{tip:h,bind:_}=tF(),p=new Map(r.map(e=>[e.id,e])),[x,b]=(0,a.useState)([]),v=e=>0===x.length||x.includes(e);return(0,t.jsx)(tE,{...f,title:e,subtitle:l,footnote:s,series:r,showLegend:u,legendAlign:c,legendShape:"circle",isSeriesShown:v,onSeriesToggle:e=>b(t=>(function(e,t,l){if(0===e.length)return[t];let a=e.includes(t)?e.filter(e=>e!==t):[...e,t];return a.length>=l?[]:a})(t,e,r.length)),aspect:m,children:({chartId:e,width:l,height:a})=>{let s=tu(l,a,{x:n,y:o}),r=n?.label?tt(n.label,s.right-s.left,s.labelText).length:0;s.bottom-=18*Math.max(0,r-1);let u=s.tickGap<10,c=u?4:7,m=u?12:17,f=u?5:7,x=i.flatMap(e=>e.points),b=tf(n,x.map(e=>e.x),s),g=tc(o,x.map(e=>e.y),s),y=e=>Number.isFinite(b(e.x))&&Number.isFinite(g(e.y)),j=(0,tQ.line)().x(e=>b(e.x)).y(e=>g(e.y)),w=i.flatMap((e,t)=>{if(!v(e.seriesId))return[];let l=p.get(e.seriesId),a=e7(l?.name??e.seriesId);return e.points.filter(y).map((s,r)=>{let i=b(s.x),u=g(s.y),c=s.tip??s.label,{onMouseEnter:m,onMouseLeave:h,...p}=_(i,u-f,c?`${a} \xb7 ${c}`:a,ta(s.y,o?.format,d),ta(s.x,n?.format,n?.decimals));return{key:`${e.seriesId}-${r}`,series:l,point:s,cx:i,cy:u,style:{"--chart-delay":`${.12*t+.04*r}s`},hover:{onMouseEnter:m,onMouseLeave:h},focus:p}})});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(tx,{axis:o,scale:g,ticks:t_(o,g),area:s}),(0,t.jsx)(tg,{axis:n,scale:b,ticks:t_(n,b),area:s}),i.map((e,l)=>{if(!v(e.seriesId))return null;let a=p.get(e.seriesId);return(0,t.jsx)(tZ,{d:j(e.points.filter(y))??void 0,stroke:function(e="solid",t="paper",l){return"slate"===l?"var(--chart-slate)":"ink"===l||"ink"===e||"paper"===t?"var(--chart-ink)":tN.has(t)?`color-mix(in oklab, ${tw(t)}, var(--chart-ink) var(--chart-line-shade))`:tw(t)}(a?.fill,a?.color,a?.line),delay:.12*l},e.seriesId)}).reverse(),[...w].reverse().map(({key:l,series:a,cx:s,cy:r,style:i,hover:n})=>(0,t.jsxs)("g",{className:tl.default.node,style:i,"aria-hidden":!0,...n,children:[a?.outline&&(0,t.jsx)("circle",{className:tl.default.outlineRing,cx:s,cy:r,r:f+3}),(0,t.jsx)("circle",{className:tl.default.mark,cx:s,cy:r,r:f,fill:tC(e,a?.fill??"solid",a?.color)})]},l)),w.map(({key:e,point:l,cx:a,cy:s,style:r})=>l.label&&"hidden"!==l.labelPlacement&&(0,t.jsx)("text",{className:tl.default.pointLabel,style:r,x:a,y:"below"===l.labelPlacement?s+f+m:s-f-c,textAnchor:"middle","aria-hidden":!0,children:l.label},e)),w.map(({key:e,cx:l,cy:a,focus:s})=>
1(0,t.jsx)("g",{className:tl.default.focusTarget,...s,children:(0,t.jsx)("circle",{cx:l,cy:a,r:f,fill:"none"})},e)),(0,t.jsx)(tR,{tip:h,width:l})]})}})}function tZ({d:e,stroke:l,delay:a}){return(0,t.jsx)("path",{className:tl.default.line,style:{"--chart-delay":`${a}s`,stroke:l},pathLength:1,d:e})}let tY=new Set(["solid","ink","hatch","fence","dots"]);function t0(e){let t=e?.trim();return t&&tY.has(t)?t:void 0}let t1=new Set(["paper","matcha","cloud","cactus","gray","heather","coral","peach","orange","aqua","sky","yellow","gray-550","gray-300"]);function t3(e){let t=e?.trim();return t&&t1.has(t)?t:void 0}let t2={olive:{fill:"solid",color:"matcha"},"olive-dots":{fill:"dots",color:"matcha"},pickle:{fill:"dots",color:"matcha"}};function t4(e){if(void 0===e)return;let t=e.trim().replace(/[$,%]/g,"");if(!t)return;let l=Number(t);return Number.isFinite(l)?l:void 0}function t6(e){if(!e)return;let t=(e.ticks??"").split(",").map(e=>t4(e)).filter(e=>void 0!==e),l=void 0!==e.min&&void 0!==e.max?[e.min,e.max]:void 0,a={label:e.label,scale:e.scale,format:e.format,domain:l,ticks:t.length?t:void 0};return Object.values(a).some(e=>void 0!==e)?a:void 0}function t5({data:e}){let l=function(e){var t,l,a;if(!e)return null;let s=(e.series??[]).flatMap(e=>{var t;
1let l,a=e?.id?.trim(),s=e?.name?.trim();if(!a||!s)return[];let r=(t=e.fill,t2[l=t?.trim()??""]??{fill:t0(l)??"solid"});return[{id:a,name:s,fill:r.fill,color:t3(e.color)??r.color,outline:e.outline||void 0,line:"slate"===e.line||"ink"===e.line?e.line:void 0}]}),r=e$(e.data).rows;if(0===s.length||0===r.length)return null;let i=new Set(s.map(e=>e.id)),n={title:e.title,subtitle:e.subtitle,footnote:eA(e.footnote)},o=t6(e.yAxis),d={series:s,...n,decimals:e.decimals??void 0,animate:e.animate??!0},u=(t=e.referenceLine,t?.value===void 0?void 0:{value:t.value,label:t.label});if("box"===e.chartType){let e=(l=r,a=i,l.flatMap(e=>{let t=e.series?.trim(),[l,s,r,i,n]=[e.min,e.q1,e.median,e.q3,e.max].map(t4);return!t||!a.has(t)||[l,s,r,i,n].some(e=>void 0===e)?[]:[{seriesId:t,label:e.label?.trim()||t,min:l,q1:s,median:r,q3:i,max:n}]}));return e.length?{kind:"box",...d,boxes:e,yAxis:o,referenceLine:u}:null}if("line"===e.chartType){let t=function(e,t){let l=new Map;for(let a of e){let e=a.series?.trim(),s=t4(a.x),r=t4(a.y);if(!e||!t.has(e)||void 0===s||void 0===r)continue;let i=l.get(e)??[];l.set(e,i);let{tip:n,drawn:o}=function(e){let[t,...l]=(e??"").split("|");if(0===l.length){let e=t.trim()||void 0;return{tip:e,drawn:e}}return{tip:t.trim(),drawn:l.join("|").trim()||void 0}}(a.label);i.push({x:s,y:r,label:o,tip:n,labelPlacement:["below","hidden"].find(e=>e===a.labelPlacement?.trim())})}return[...l.entries()].map(([e,t])=>({seriesId:e,points:t}))}(r,i);return t.length?{kind:"line",...d,lines:t,yAxis:o,xAxis:t6(e.xAxis)}:null}let c=(function(e,t){let l=new Map,a=new Map;for(let s of e){let e=s.series?.trim(),r=t4(s.value);if(!e||!t.has(e)||void 0===r)continue;let i=s.panel?.trim()||"",n=s.group?.trim()||"",o=l.get(i)??new Map;l.set(i,o);let d=s.panelTitle?.trim();d&&a.set(i,d);let u=o.get(n)??{label:n,bars:[]};o.set(n,u);let c=s.groupNote?.trim();c&&(u.note=c);let m=s.stack?.trim();if(m){let l=t.has(m),a=l?m:e,i=l?e:`stack:${m}`,n=t0(s.fill),o=t3(s.ground),d={seriesId:a,value:r,...n?{fill:n}:{},...o?{ground:o}:{}},c=s.label?.trim()||void 0,f=u.bars.find(e=>e.seriesId===i&&e.segments);f?(!d.ground&&f.segments[0]?.ground&&(d.ground=f.segments[0].ground),f.segments.push(d),f.value+=r,c&&(f.label=c)):u.bars.push({seriesId:i,value:r,segments:[d],label:c});continue}let f=s.overlaySeries?.trim(),h=t4(s.overlayValue);u.bars.push({seriesId:e,value:r,error:t4(s.error),label:s.label?.trim()||void 0,overlay:f&&t.has(f)&&void 0!==h?{seriesId:f,value:h}:void 0})}return[...l].map(([e,t])=>({title:a.get(e),groups:[...t.values()]}))})(r,i).map(e=>({...e,yAxis:o}));return c.length?{kind:"bar",...d,panels:c,barThickness:e.barThickness??void 0,orientation:"horizontal"===e.orientation?"horizontal":void 0,referenceLine:u}:null}(e);if(!l)return null;if("box"===l.kind){let{kind:e,...a}=l;return(0,t.jsx)(tU,{...a})}if("line"===l.kind){let{kind:e,...a}=l;return(0,t.jsx)(tX,{...a})}let{kind:a,...s}=l;return(0,t.jsx)(tK,{...s})}var t8=e.i(509991);let t7=[{replyDelay:1400,wordInterval:46},{replyDelay:700,wordInterval:40}],t9={bubbleShown:!1,typed:"",actionsShown:!1};function le({picker:e,model:s,question:r,answer:i,lane:n,playToken:o,onReplay:d}){let{bubbleShown:u,typed:m,actionsShown:f}=function(e,t,l){let s=tB(),[r,i]=(0,a.useState)(t9);return(0,a.useEffect)(()=>{if(s)return void i({bubbleShown:!0,typed:e,actionsShown:!0});if(i(t9),0===l)return;let a=[],r=(e,t)=>a.push(window.setTimeout(t,e)),{replyDelay:n,wordInterval:o}=t7[Math.min(t,t7.length-1)],d=e.split(" ");return r(60,()=>i(e=>({...e,bubbleShown:!0}))),d.forEach((e,t)=>{r(n+t*o,()=>i(e=>({...e,typed:d.slice(0,t+1).join(" "),actionsShown:t===d.length-1})))}),()=>a.forEach(e=>window.clearTimeout(e))},[e,t,l,s]),r}(i,n,o);return(0,t.jsxs)("article",{className:t8.default.card,children:[(0,t.jsxs)("header",{className:t8.default.cardHeader,children:[e,(0,t.jsx)("span",{className:t8.default.chip,children:s})]}),(0,t.jsxs)("div",{className:t8.default.transcript,children:[(0,t.jsx)("div",{className:t8.default.bubbleRow,children:(0,t.jsx)("p",{className:(0,l.default)(t8.default.bubble,u&&t8.default.shown),children:r})}),(0,t.jsxs)("div",{className:t8.default.replyStack,children:[(0,t.jsx)("p",{className:t8.default.replyGhost,"aria-hidden":"true",children:i}),(0,t.jsx)("p",{className:t8.default.reply,children:m})]}),(0,t.jsxs)("div",{className:(0,l.default)(t8.default.actions,f&&t8.default.shown),children:[(0,t.jsx)("span",{className:t8.default.action,"aria-hidden":"true",children:(0,t.jsx)(c.IconCopy,{fill:"currentColor",width:10,height:10})}),(0,t.jsx)("span",{className:t8.default.action,"aria-hidden":"true",children:(0,t.jsx)(c.IconThumbsUp,{fill:"currentColor"})}),(0,t.jsx)("span",{className:(0,l.default)(t8.default.action,t8.default.thumbsDown),"aria-hidden":"true",children:(0,t.jsx)(c.IconThumbsUp,{fill:"currentColor"})}),(0,t.jsx)("button",{type:"button",className:(0,l.default)(t8.default.action,t8.default.replay),"aria-label":"Replay the response",onClick:d,children:(0,t.jsx)(c.IconReload,{fill:"currentColor"})})]})]})]})}function lt({titles:e,activeIndex:s,onSelect:r}){let[i,n]=(0,a.useState)(!1),o=(0,a.useRef)(null),d=(0,a.useId)();return ez(o,()=>n(!1),i),(0,a.useEffect)(()=>
1{if(!i)return;let e=e=>{"Escape"===e.key&&n(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[i]),(0,t.jsxs)("span",{ref:o,className:t8.default.titleWrap,children:[(0,t.jsxs)("button",{type:"button",className:t8.default.cardTitle,"aria-haspopup":"menu","aria-expanded":i,"aria-controls":d,onClick:()=>n(e=>!e),children:[(0,t.jsx)("span",{className:t8.default.cardTitleText,children:e[s]}),(0,t.jsx)(c.IconCaretDown,{className:t8.default.caret,fill:"currentColor"})]}),(0,t.jsx)("div",{id:d,className:t8.default.promptMenu,role:"menu",hidden:!i,children:e.map((e,a)=>(0,t.jsx)("button",{type:"button",role:"menuitemradio","aria-checked":a===s,className:(0,l.default)(t8.default.menuItem,a===s&&t8.default.menuItemActive),onClick:()=>{n(!1),r(a)},children:e},a))})]})}function ll({prompts:e,className:s,...r}){let[i,n]=(0,a.useState)(0),[o,d]=(0,a.useState)(0),u=tB(),{ref:c}=(0,ep.useInView)({threshold:.25,triggerOnce:!0,skip:u,onChange:e=>e&&d(e=>e||1)}),m=e[i]??e[0];if(!m)return null;let f=()=>d(e=>e+1),h=e.length>1?(0,t.jsx)(lt,{titles:e.map(e=>e.title),activeIndex:i,onSelect:e=>{e!==i&&(n(e),f())}}):(0,t.jsx)("span",{className:t8.default.cardTitle,children:m.title});return(0,t.jsx)("section",{...r,ref:c,className:(0,l.default)(t8.default.root,s),children:(0,t.jsx)("div",{className:t8.default.cards,children:m.responses.map((e,l)=>(0,t.jsx)(le,{lane:l,picker:h,model:e.model,question:m.question,answer:e.answer,playToken:o,onReplay:f},l))})})}function la({data:e}){let l=function(e){let t=[];for(let[l,a]of(e?.prompts??[]).entries()){let e=a?.title?.trim(),s=a?.question?.trim(),r=(a?.responses??[]).map(e=>({model:e?.model?.trim()??"",answer:e?.answer?.trim()??""})).filter(e=>e.model&&e.answer).slice(0,2);e&&s&&0!==r.length&&t.push({id:a._key||`prompt-${l}`,title:e,question:s,responses:r})}return t}(e);return 0===l.length?null:(0,t.jsx)(ll,{prompts:l})}let ls=(0,a.createContext)(null);function lr(){let e=(0,a.use)(ls);if(!e)throw Error("Comparison parts must be rendered inside <Comparison.Root>.");return e}function li(e,t){let{examples:l}=lr();return l.indexOf(e)}let ln=()=>(0,t.jsx)("svg",{viewBox:"0 0 16 16","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M6 3.5v9M10 3.5v9"})}),lo=()=>(0,t.jsx)("svg",{viewBox:"0 0 16 16","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M5.5 3.5v9l7-4.5z"})}),ld=()=>(0,t.jsx)("svg",{viewBox:"0 0 14 14","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M11.6 7.2A4.6 4.6 0 1 1 10.2 3.6M10.6 1.4v2.6H8"})});var lu=e.i(251339);function lc({names:e,className:a,...s}){let{shown:r,show:i}=lr();return(0,t.jsx)("div",{...s,"aria-label":s["aria-label"]??"Model shown",className:(0,l.default)(lu.default.toggle,a),role:"group",children:["previous","latest"].map(l=>(0,t.jsx)("button",{type:"button",className:"body-3","aria-pressed":r===l,onClick:()=>i(l),children:e[l]},l))})}function lm({className:e,onClick:a,...s}){let{hasPlayback:r,playing:i,togglePlayback:n}=lr();return r?(0,t.jsx)("button",{...s,type:"button",className:(0,l.default)(lu.default["icon-button"],e),"aria-label":i?"Pause both sides":"Play both sides",onClick:e=>{a?.(e),n()},children:i?(0,t.jsx)(ln,{}):(0,t.jsx)(lo,{})}):null}function lf({className:e,onClick:a,...s}){let{canReplay:r,replay:i}=lr();return r?(0,t.jsx)("button",{...s,type:"button",className:(0,l.default)(lu.default["icon-button"],e),"aria-label":s["aria-label"]??"Replay the responses",onClick:e=>{a?.(e),i()},children:(0,t.jsx)(ld,{})}):null}function lh({example:e,className:a,...s}){let{tabbed:r,activeIndex:i,tabId:n,panelId:o}=lr(),d=li(e,"Example");return(0,t.jsx)("div",{...s,...r&&d>=0&&{id:o(d),role:"tabpanel","aria-labelledby":n(d)},className:(0,l.default)(lu.default.pair,a),"data-example":e,hidden:d!==i})}function l_({className:e,...a}){return(0,t.jsx)("div",{...a,className:(0,l.default)(lu.default.head,e)})}function lp({placement:e="head",className:a,...s}){return(0,t.jsx)("div",{...s,className:(0,l.default)(lu.default.controls,a),"data-placement":e})}function lx({children:e,controls:a,className:s,...r}){return(0,t.jsxs)("div",{...r,className:(0,l.default)(lu.default["prompt-row"],s),children:[(0,t.jsxs)("div",{className:lu.default["example-prompt"],children:[(0,t.jsx)("span",{className:lu.default["example-prompt-label"],children:"Prompt:"}),(0,t.jsx)("div",{className:lu.default["example-prompt-text"],children:e})]}),a&&(0,t.jsx)(lp,{placement:"prompt",children:a})]})}function lb({side:e,label:a,caption:s,children:r,className:i,...n}){return(0,t.jsxs)("figure",{...n,className:(0,l.default)(lu.default.side,i),"data-side":e,children:[(0,t.jsx)("div",{className:lu.default.label,children:a}),(0,t.jsx)("div",{className:lu.default.body,children:r}),s&&(0,t.jsx)("figcaption",{className:lu.default.caption,children:s})]})}let lv={panel:null,videos:[],frames:[],liveText:!1},lg=(e,t)=>e.length===t.length&&e.every((e,l)=>e===t[l]),ly=["https://assets.claude.ai/brand/","https://storage.googleapis.com/media-assets-299d7136-cb52-d546-ee02-34bc1307c35f/brand/"],lj="model-comparison",lw={protocol:lj,version:1,type:"play"},lk={protocol:lj,version:1,type:"pause"},lN=(e,t)=>e.contentWindow?.postMessage(t,"*"),lC=()=>
1"u"<typeof document||"hidden"!==document.visibilityState,lS=e=>"static"===e.dataset.playback,lW=e=>e.hasAttribute("data-poster"),lq=e=>{let t=e.closest("[data-side]");if(!t)return!0;let l=getComputedStyle(t);return"none"!==l.display&&"hidden"!==l.visibility},lT=e=>"number"==typeof e&&Number.isFinite(e)&&e>0?Math.min(1e3,Math.max(5,e)):void 0,lM=e=>{e.querySelectorAll("[data-prompt], [data-response] [data-word], [data-response] li").forEach(e=>e.setAttribute("data-on",""))},lI=e=>(lT(Number(e.dataset.tokensPerSecond))??120)/1.3,lL=()=>"function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function lB({examples:e,textAnimation:s="realistic",newModelColor:r,className:i,children:n,...o}){var d,u;let c,m,f=e.join("\0"),h=(0,a.useMemo)(()=>e,[f]),[_,p]=(0,a.useState)(0),[x,b]=(0,a.useState)("latest"),v=tB(),[g,y]=(0,a.useState)(null),[j,w]=(0,a.useState)(!1),k=j||(g??(v||lL())),[N,C]=(0,a.useState)(null),S=(0,a.useRef)(null),{ref:W,inView:q}=(0,ep.useInView)({rootMargin:"0px 0px -25% 0px",fallbackInView:!1}),{ref:T,inView:M}=(0,ep.useInView)({threshold:1,fallbackInView:!1}),I=q||M,{ref:L,inView:B}
1=(0,ep.useInView)({rootMargin:"100% 0px",triggerOnce:!0,fallbackInView:!1}),E=(0,a.useCallback)(e=>{S.current=e,W(e),T(e),L(e)},[W,T,L]),A=Math.min(_,Math.max(h.length-1,0)),G=function(e,t){let[l,s]=(0,a.useState)(lv);return(0,a.useLayoutEffect)(()=>{let l=e.current;if(!l)return;let a=()=>{let e=Array.from(l.querySelectorAll("[data-example]")).find(e=>e.dataset.example===t)??null,a=e?Array.from(e.querySelectorAll("video")):[],r=e?Array.from(e.querySelectorAll("iframe[data-src]")):[],i=!!e?.querySelector("[data-response]");s(t=>t.panel===e&&t.liveText===i&&lg(t.videos,a)&&lg(t.frames,r)?t:{panel:e,videos:a,frames:r,liveText:i})};a();let r=new MutationObserver(a);return r.observe(l,{childList:!0,subtree:!0}),()=>r.disconnect()},[e,t]),l}(S,h[A]??""),$="none"!==s&&G.liveText&&!v&&!lL()&&"function"==typeof window.IntersectionObserver,R=N===h[A],F=$&&!R,V=(d=(0,a.useCallback)(()=>S.current?.querySelector("[data-example]:not([hidden])")??null,[]),u=`${A}:${x}`,c=(0,a.useRef)(null),m=(0,a.useCallback)(()=>{let e=d();e&&!v&&e.offsetParent&&(c.current=e.getBoundingClientRect().height)},[d,v]),(0,a.useLayoutEffect)(()=>{let e=d(),t=c.current;if(c.current=null,!e||null===t)return;let l=e.getBoundingClientRect().height;if(1>Math.abs(l-t))return;let a=()=>{e.style.height="",e.style.overflow="",e.style.transition=""};e.style.transition="none",e.style.height=`${t}px`,e.style.overflow="hidden",e.getBoundingClientRect(),e.style.transition="height 320ms cubic-bezier(0.25, 0.8, 0.25, 1)",e.style.height=`${l}px`;let s=window.setTimeout(a,360);return()=>{window.clearTimeout(s),a()}},[u]),m),{playing:O,play:P}=function(e,t,{inView:l,near:s,paused:r,shown:i}
1){let[n,o]=(0,a.useState)(!1),d=(0,a.useRef)(void 0);(0,a.useEffect)(()=>{d.current=void 0},[t]);let u=(0,a.useCallback)(()=>{let e=t.filter(lq),l=d.current??e[0]?.currentTime;e.forEach(e=>{void 0!==l&&Math.abs(e.currentTime-l)>.1&&(e.currentTime=l)}),e.forEach(e=>e.play().catch(()=>{}))},[t]);return(0,a.useEffect)(()=>{let a=e.current;if(!a)return;let i=()=>{let e=t.find(e=>!e.paused);e&&(d.current=e.currentTime);let i=t.filter(lq);a.querySelectorAll("video").forEach(e=>{i.includes(e)||e.pause()}),s&&t.forEach(e=>{"none"===e.preload&&(e.preload="metadata")}),l&&!r?u():i.forEach(e=>e.pause())};if(i(),"function"!=typeof window.matchMedia)return;let n=window.matchMedia("(width < 768px)");return n.addEventListener?.("change",i),()=>n.removeEventListener?.("change",i)},[e,t,l,s,r,i,u]),(0,a.useEffect)(()=>{let e=()=>o(t.some(e=>!e.paused));return e(),t.forEach(t=>{t.addEventListener("play",e),t.addEventListener("pause",e)}),()=>t.forEach(t=>{t.removeEventListener("play",e),t.removeEventListener("pause",e)})},[t]),{playing:n,play:u}}(S,G.videos,{inView:I,near:B,paused:k,shown:x}),{available:z,playing:K,play:D}=function(e,{inView:t,near:l,paused:s,reducedMotion:r}){let[i,n]=(0,a.useState)(()=>new Set),[o,d]=(0,a.useState)(()=>new Set),[u,c]=(0,a.useState)(!1),[m,f]=(0,a.useState)(lC),h=(0,a.useRef)(new Set),_=(0,a.useRef)(new Map),p=(0,a.useRef)(new Set),x=e.length>0&&e.every(e=>i.has(e)),b=e.some(e=>!lS(e)),v=b&&x&&t&&!s&&m,g=b&&!e.some(e=>o.has(e));(0,a.useEffect)(()=>{let e=()=>f(lC());return document.addEventListener("visibilitychange",e),()=>document.removeEventListener("visibilitychange",e)},[]);let y=(0,a.useCallback)(e=>{clearTimeout(_.current.get(e)),d(t=>{if(!t.has(e))return t;let l=new Set(t);return l.delete(e),l}),n(t=>new Set(t).add(e))},[]);return(0,a.useEffect)(()=>{for(let t of e){let e=t.dataset.src;if(!e||h.current.has(t))continue;let a=lS(t),s=r&&!a&&lW(t);(u||l&&!s)&&(h.current.add(t),a?(t.addEventListener("load",()=>y(t),{once:!0}),t.src=new URL(e,window.location.href).href):t.src=function(e,t){let l=new URL(e,t);return l.searchParams.set("protocol",lj),l.href}(e,window.location.href),_.current.set(t,setTimeout(()=>{d(e=>new Set(e).add(t))},1e4)))}},[e,l,r,u,y]),(0,a.useEffect)(()=>{let e=e=>{var t;if(!e.source||"object"!=typeof(t=e.data)||null===t||t.protocol!==lj||1!==t.version||"ready"!==t.type)return;let l=[...h.current].find(t=>t.contentWindow===e.source);l&&!lS(l)&&y(l)};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[y]),(0,a.useEffect)(()=>{let e=_.current;return()=>e.forEach(e=>clearTimeout(e))},[]),(0,a.useEffect)(()=>{x&&e.forEach(e=>{e.dataset.frame="ready"})},[e,x]),(0,a.useEffect)(()=>{let t=p.current;v?e.forEach(e=>{lS(e)||(lN(e,lw),t.add(e))}):e.forEach(e=>{t.delete(e)&&lN(e,lk)})},[e,v,i]),(0,a.useEffect)(()=>{let t=p.current;return()=>{e.forEach(e=>{t.delete(e)&&lN(e,lk)})}},[e]),{available:g,playing:v,play:(0,a.useCallback)(()=>c(!0),[])}}(G.frames,{inView:I,near:B,paused:k,reducedMotion:v||lL()}),H=O||K,J=function(e,t,l,s="words"){let r=(0,a.useRef)(0),i=(0,a.useRef)(!0),n=(0,a.useRef)(new WeakSet),o=(0,a.useRef)(s),d=(0,a.useRef)(null),u=(0,a.useCallback)(()=>{if(cancelAnimationFrame(r.current),!e)return;let t=Array.from(e.querySelectorAll("[data-prompt]")),l=Array.from(e.querySelectorAll("[data-response]")),a=l.map(e=>((e,t)=>{if("words"===t)return e.map(e=>[e]);let l=[],a=null;for(let t of e){let e=t.closest("li, p, pre");l.length&&e===a||l.push([]),l[l.length-1].push(t),a=e}return l})(Array.from(e.querySelectorAll("[data-word]")),s)),i=l.map(e=>Array.from(e.querySelectorAll("li")));0!==a.length&&(n.current.add(e),[...t,...i.flat(),...a.flat(2)].forEach(e=>e.removeAttribute("data-on")),r.current=requestAnimationFrame(()=>{t.forEach(e=>e.setAttribute("data-on",""));let e=performance.now()+450,n="words"===s?l.map(lI):[],o=a.map(()=>0),d=a.map(()=>!1),u=-1/0,c=-1,m=t=>{let l=Math.max(0,t-e)/1e3,f=0;if("words"===s){if(!a.some((e,t)=>!d[t]&&Math.floor(l*n[t])>o[t])||t-u<60){r.current=requestAnimationFrame(m);return}u=t}else{if((f=t>e?Math.floor((t-e)/120)+1:0)===c){r.current=requestAnimationFrame(m);return}c=f}let h=!1;a.forEach((e,t)=>{if(d[t])return;let a=Math.min("blocks"===s?f:Math.floor(l*n[t]),e.length);for(let l=o[t];l<a;l++)for(let t of e[l]){t.setAttribute("data-on","");for(let e=t.closest("li");e;e=e.parentElement?.closest("li")??null)e.setAttribute("data-on","")}
1o[t]=a,a<e.length?h=!0:(i[t].forEach(e=>e.setAttribute("data-on","")),d[t]=!0)}),r.current=h?requestAnimationFrame(m):0};r.current=requestAnimationFrame(m)}))},[e,s]);return(0,a.useEffect)(()=>()=>cancelAnimationFrame(r.current),[]),(0,a.useEffect)(()=>{o.current!==s&&(o.current=s,n.current=new WeakSet);let t=d.current;d.current=e,t&&t!==e&&n.current.has(t)&&(r.current&&(cancelAnimationFrame(r.current),r.current=0),lM(t)),e&&n.current.has(e)?(i.current=!1,lM(e)):i.current=!0},[e,s]),(0,a.useEffect)(()=>{l&&t||!r.current||(cancelAnimationFrame(r.current),r.current=0,i.current=!0)},[l,t]),(0,a.useEffect)(()=>{l&&t&&i.current&&(i.current=!1,u())},[l,t,u]),u}(G.panel,I,F,"blocks"===s?"blocks":"words");(0,ex.useMediaPlaybackPause)(()=>w(!0)),(0,a.useEffect)(()=>{I||w(!1)},[I]);let[U,Q]=(0,a.useState)(!0);(0,a.useLayoutEffect)(()=>{let e;e=S.current,e?.getAnimations?.({subtree:!0}).some(e=>{let t=e.effect?.target;return"finished"===e.playState&&t instanceof Element&&t.matches("[data-word], [data-prompt]")})&&C(h[0]),Q(!1)},[]);let X=(0,a.useId)(),Z=(0,a.useMemo)(()=>({examples:h,tabbed:h.length>1,activeIndex:A,select:e=>{e===A||e<0||e>=h.length||(V(),p(e))},shown:x,show:e=>{e!==x&&(V(),b(e))},reducedMotion:v,hasPlayback:G.videos.length>0||z,playing:H,togglePlayback:()=>{y(H),w(!1),H||(P(),D())},canReplay:$,replay:R?()=>C(null):J,tabId:e=>`${X}-tab-${e}`,panelId:e=>`${X}-panel-${e}`}),[h,A,x,v,G.videos,z,H,P,D,$,R,J,V,X]);return(0,t.jsx)(ls,{value:Z,children:(0,t.jsxs)("section",{...o,ref:E,className:(0,l.default)(lu.default.root,i),"data-show":x,"data-stream":F?"":void 0,"data-reduced-motion":v?"":void 0,"data-hydrating":U&&"none"!==s?"":void 0,"data-text-animation":s,"data-new-model-color":r,children:[(0,t.jsx)("noscript",{children:(0,t.jsx)("style",{children:"[data-hydrating] [data-word], [data-hydrating] [data-prompt] { opacity: 1 !important; } [data-hydrating] [data-response] li::marker { color: inherit !important; }"})}),n]})})}function lE({className:e,onKeyDown:a,...s}){let{tabbed:r,examples:i,activeIndex:n,select:o,tabId:d}=lr();return r?(0,t.jsx)("div",{...s,"aria-label":s["aria-label"]??"Examples",className:(0,l.default)(lu.default.tabs,e),role:"tablist",onKeyDown:e=>{a?.(e);let t=i.length-1,l={ArrowRight:n===t?0:n+1,ArrowLeft:0===n?t:n-1,Home:0,End:t}[e.key];void 0!==l&&(e.preventDefault(),o(l),document.getElementById(d(l))?.focus())}}):null}function lA({example:e,onClick:l,...a}){let{activeIndex:s,select:r,tabId:i,panelId:n}=lr(),o=li(e,"Tab");if(o<0)return null;let d=o===s;return(0,t.jsx)("button",{...a,type:"button",role:"tab",id:i(o),"aria-selected":d,"aria-controls":n(o),tabIndex:d?0:-1,onClick:e=>{l?.(e),r(o)}})}let lG={"+":"added","-":"removed"};function l$({frameClassName:e,className:s,...r}){let i=(0,a.useRef)(null);return(0,a.useLayoutEffect)(()=>{let e=i.current;if(!e)return;let t=!1,l=0,a=()=>{let a=e.clientWidth>0;a&&!t&&(e.removeAttribute("data-fades-ready"),cancelAnimationFrame(l),l=requestAnimationFrame(()=>e.setAttribute("data-fades-ready",""))),t=a;let s=e.scrollWidth-e.clientWidth;e.toggleAttribute("data-fade-start",e.scrollLeft>1),e.toggleAttribute("data-fade-end",s>1&&e.scrollLeft<s-1)};a(),e.addEventListener("scroll",a,{passive:!0});let s="function"==typeof ResizeObserver?new ResizeObserver(a):null;return s?.observe(e),e.firstElementChild&&s?.observe(e.firstElementChild),()=>{cancelAnimationFrame(l),e.removeEventListener("scroll",a),s?.disconnect()}},[i]),(0,t.jsx)("div",{className:(0,l.default)(lu.default["scroller-frame"],e),children:(0,t.jsx)("pre",{ref:i,tabIndex:0,...r,className:(0,l.default)(lu.default.scroller,s)})})}let lR="(max-width: 767px) 100vw, 440px";function lF({src:e,poster:l,label:a}){return(0,t.jsx)("div",{className:lu.default.media,children:(0,t.jsx)("video",{src:e,poster:l,muted:!0,loop:!0,playsInline:!0,preload:"none","aria-label":a||void 0})})}function lV({image:e,alt:l}){return(0,t.jsx)("div",{className:lu.default.media,children:(0,t.jsx)(B.default,{src:e.url,width:e.width,height:e.height,alt:l,sizes:lR})})}function lO({src:e,poster:l,label:a,staticPage:s}){return(0,t.jsxs)("div",{className:lu.default.media,children:[l&&(0,t.jsx)(B.default,{src:l.url,width:l.width,height:l.height,alt:a,sizes:lR}),(0,t.jsx)("iframe",{"data-src":e,"data-playback":s?"static":"synced","data-
1poster":l?"":void 0,title:a,sandbox:"allow-scripts",tabIndex:-1})]})}function lP({fileName:e,code:l,diff:a}){return(0,t.jsxs)("div",{className:lu.default.code,children:[e&&(0,t.jsx)("div",{className:lu.default["file-name"],children:e}),(0,t.jsx)(l$,{frameClassName:lu.default["code-frame"],"aria-label":e?`Code: ${e}`:"Code",children:(0,t.jsx)("code",{children:l.split(/\r\n?|\n/).map(e=>({text:e,change:a?lG[e[0]]??null:null})).map((e,l)=>(0,t.jsx)("span",{className:lu.default.line,"data-change":e.change??void 0,children:e.text||" "},l))})})]})}function lz(e,l){return e.split(/(\s+)/).map((e,a)=>""===e?null:/^\s+$/.test(e)?l(e,a):(0,t.jsx)("span",{className:lu.default.word,"data-word":"",children:e},a))}let lK=(e,l)=>{let a=e.split("\n").length-1;return a?Array.from({length:a},(e,a)=>(0,t.jsx)("br",{},`${l}-${a}`)):" "};function lD({runs:e}){return e.map((e,l)=>{let s=lz(e.text,lK),r=e.code?(0,t.jsx)("code",{children:s}):s;return e.strong?(0,t.jsx)("strong",{children:r},l):(0,t.jsx)(a.Fragment,{children:r},l)})}function lH({code:e,place:l}){let a,s;return(0,t.jsx)(l$,{className:lu.default["response-code"],role:"group","aria-label":(a=(e.split("\n").find(e=>e.trim())??"").trim(),s=l?`Code ${l.n} of ${l.of}`:"Code",a?`${s}: ${a.length>60?`${a.slice(0,59)}…`:a}`:s),children:(0,t.jsx)("code",{children:lz(e,e=>e)})})}function lJ({items:e}){return(0,t.jsx)("ul",{children:e.map((e,l)=>(0,t.jsxs)("li",{children:[(0,t.jsx)(lD,{runs:e.runs}),e.items?.length?(0,t.jsx)(lJ,{items:e.items}):null]},l))})}function lU({block:e,place:l}){return"list"===e.kind?(0,t.jsx)(lJ,{items:e.items}):"code"===e.kind?(0,t.jsx)(lH,{code:e.code,place:l}):(0,t.jsx)("p",{children:(0,t.jsx)(lD,{runs:e.runs})})}function lQ({prompt:e,response:l,tokensPerSecond:a}){let s=l.filter(e=>"code"===e.kind).length,r=0,i=l.map(e=>"code"===e.kind&&s>1?{n:++r,of:s}:void 0);return(0,t.jsxs)("div",{className:lu.default.chat,children:[(0,t.jsx)("p",{className:lu.default.prompt,"data-prompt":"",children:e}),(0,t.jsx)("div",{className:lu.default.response,"data-response":"","data-tokens-per-second":a,children:l.map((e,l)=>(0,t.jsx)(lU,{block:e,place:i[l]},l))})]})}function lX({content:e}){switch(e.kind){case"video":return(0,t.jsx)(lF,{...e});case"image":return(0,t.jsx)(lV,{...e});case"code":return(0,t.jsx)(lP,{...e});case"chat":return(0,t.jsx)(lQ,{...e});case"hosted":return(0,t.jsx)(lO,{...e})}}let lZ=["previous","latest"];function lY({accessibleName:e,textAnimation:l,newModelColor:a,models:s,examples:r,...i}){if(0===r.length)return null;let n=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(lc,{names:{previous:s.previous.name,latest:s.latest.name}}),(0,t.jsx)(lm,{}),(0,t.jsx)(lf,{})]});return(0,t.jsxs)(lB,{...i,"aria-label":e,examples:r.map(({id:e})=>e),textAnimation:l,newModelColor:a,children:[(0,t.jsxs)(l_,{children:[(0,t.jsx)(lE,{children:r.map(({id:e,label:l})=>(0,t.jsx)(lA,{example:e,children:l},e))}),(0,t.jsx)(lp,{children:n})]}),r.map(e=>(0,t.jsxs)(lh,{example:e.id,children:[e.prompt&&(0,t.jsx)(lx,{controls:n,children:e.prompt}),lZ.map(l=>(0,t.jsx)(lb,{side:l,label:s[l].label,caption:e[l].caption,children:(0,t.jsx)(lX,{content:e[l].content})},l))]},e.id)),(0,t.jsx)(lp,{placement:"end",children:n})]})}var l0=e.i(976921);let l1=["none","blocks","realistic"],l3=["clay","blue"],l2=e=>e?.trim()??"";function l4(e,t){let l=function(e){let t;if(!e?.width||!e.height)return null;let{width:l,height:a,crop:s,hotspot:r}=e,i=(s?.left??0)*l,n=(s?.top??0)*a,o=l*(1-(s?.left??0)-(s?.right??0)),d=a*(1-(s?.top??0)-(s?.bottom??0));if(o<=0||d<=0)return null;let u=(r?.x??.5)*l,c=(r?.y??.5)*a,m=(e,t,l)=>Math.min(Math.max(e,t),l);if(o/d>1.6){let e=1.6*d;t={x:m(u-e/2,i,i+o-e),y:n,w:e,h:d}}else{let e=o/1.6;t={x:i,y:m(c-e/2,n,n+d-e),w:o,h:e}}let f=Math.round(t.x),h=Math.round(t.y),_=Math.min(Math.round(t.x+t.w),l)-f,p=Math.min(Math.round(t.y+t.h),a)-h;return _>0&&p>0?{x:f,y:h,w:_,h:p}:null}(e);if(!e?.url||!l)return null;let a=new URLSearchParams({rect:`${l.x},${l.y},${l.w},${l.h}`});if(t){let e=Math.min(1,t.w/l.w,t.h/l.h);a.set("w",String(Math.round(l.w*e))),a.set("h",String(Math.round(l.h*e))),a.set("auto","format")}return{url:`${e.url}?${a}`,width:l.w,height:l.h}}let l6=({children:e})=>(0,t.jsx)("p",{children:e}),l5=e=>(e.children??[]).some(e=>e.text?.trim());function l8(e){let t=function(e){switch(e?._type){case"artifactVideo":{if(!e.video?.url)return null;let t=l4(e.poster,{w:1600,h:1e3});return{kind:"video",src:e.video.url,poster:t?(0,l0.getCdnUrlFromUrl)(t.url):void 0,label:l2(e.description)}}case"artifactImage":{let t=l4(e.image);return t?{kind:"image",image:t,alt:l2(e.alt)}:null}case"artifactCode":{let t=l7(e.code??"");if(!t.trim())return null;return{kind:"code",fileName:l2(e.fileName)||void 0,code:t,diff:e.diff??!0}}case"artifactChat":{let t=l2(e.prompt),l=function(e){let t=[];for(let l of e??[]){if(l?._type==="responseCode"){let e=l7(function(e){let t=0;for(let l=0;l<e.length;l++){let a=e[l];
1if("\n"===a)t=l+1;else if(" "!==a&&"	"!==a)break}return e.slice(t)}(("string"==typeof l.code?l.code:"").replace(/\r\n?/g,"\n")));e.trim()&&t.push({kind:"code",code:e});continue}if(l?._type!=="block")continue;let e=(l.children??[]).filter(e=>e?.text).map(e=>({text:e.text,...e.marks?.includes("strong")&&{strong:!0},...e.marks?.includes("code")&&{code:!0}}));if(!e.some(e=>e.text.trim()))continue;let a=t[t.length-1];l.listItem?a?.kind==="list"?function(e,t,l){let a=e;for(let e=1;e<l;e++){let e=a[a.length-1];if(!e)break;a=e.items??=[]}a.push({runs:t})}(a.items,e,l.level??1):t.push({kind:"list",items:[{runs:e}]}):t.push({kind:"paragraph",runs:e})}return t}(e.response);if(!t||!l.length)return null;let a=lT(e.outputSpeed);return a?{kind:"chat",prompt:t,response:l,tokensPerSecond:a}:{kind:"chat",prompt:t,response:l}}case"artifactHosted":{if(!function(e){if("string"!=typeof e)return!1;try{let t=new URL(e);return"https:"===t.protocol&&ly.some(e=>t.href.startsWith(e))}catch{return!1}}(e.url))return null;let t=l4(e.poster);return{kind:"hosted",src:e.url,...t&&{poster:t},label:l2(e.description),staticPage:!0===e.staticPage}}default:return null}}(e?.artifact);if(!t)return null;let l=l2(e?.caption);return l?{content:t,caption:l}:{content:t}}function l7(e){let t=e.length;for(let l=e.length-1;l>=0;l--){let a=e[l];if("\n"===a||"\r"===a)t=l;else if(" "!==a&&"	"!==a)break}return e.slice(0,t)}function l9({data:e}){let l=function(e){let l=[];for(let[a,s]of(e?.examples??[]).entries()){let e=l8(s?.previous),r=l8(s?.latest);if(!e||!r)continue;let i=function(e){if(e?.some(l5))return(0,t.jsx)(Q.default,{value:e,block:{normal:l6}})}(s.prompt);l.push({id:s._key||`example-${a}`,label:l2(s.label)||`Example ${l.length+1}`,...void 0!==i&&{prompt:i},previous:e,latest:r})}if(0===l.length)return null;let a=l2(e?.previousModel),s=l2(e?.newModel),r=(e,t)=>e?{name:e,label:`Claude ${e}`}:{name:t,label:t},i={previous:r(a,"Previous model"),latest:r(s,"New model")},n=e?.textAnimation,o=e?.newModelColor;return{accessibleName:l2(e?.title)||`${i.previous.name} and ${i.latest.name} side by side`,..."string"==typeof n&&l1.includes(n)&&{textAnimation:n},..."string"==typeof o&&l3.includes(o)&&{newModelColor:o},models:i,examples:l}}(e);return l?(0,t.jsx)(lY,{...l}):null}var ae=e.i(257257);let at=e=>{let{quotes:a,backgroundColor:s}=e;return a&&a?.length!==0?(0,t.jsx)(ei,{items:a,previousLabel:"Previous quote",nextLabel:"Next quote",getItemClassName:e=>(0,l.default)(e.logo?.asset?.url&&ae.default["with-logo"],s&&`bg-${s}`),renderItem:e=>(0,t.jsxs)(t.Fragment,{children:[e.logo?.asset?.url&&(0,t.jsx)("div",{className:ae.default["logo-container"],children:(0,t.jsx)(B.default,{src:e.logo.asset.url,alt:`${e.companyName||""} logo`,className:ae.default["company-logo"],width:120,height:48})}),(0,t.jsx)("div",{className:ae.default["quote-mark-container"],children:(0,t.jsx)(c.IconQuote,{height:16,width:16,className:ae.default["quote-mark"]})}),(0,t.jsxs)("blockquote",{className:ae.default["quote-content"],children:[e.quote&&(0,t.jsx)("div",{className:(0,l.default)(ae.default["quote-text"],"body-2 serif"),children:(0,t.jsx)(Q.default,{value:e.quote,classNames:{paragraph:"body-2 serif"},stripBlock:!0})}),(0,t.jsx)("footer",{className:ae.default["quote-footer"],children:e.speakerName&&(0,t.jsxs)("cite",{className:(0,l.default)(ae.default["speaker-info"],"body-3"),children:[(0,t.jsx)("span",{className:ae.default["speaker-name"],children:e.speakerName}),(e.speakerTitle||e.companyName)&&(0,t.jsx)("br",{}),e.speakerTitle&&(0,t.jsx)("span",{className:ae.default["speaker-title"],children:e.speakerTitle}),e.speakerTitle&&e.companyName&&(0,t.jsx)("span",{className:ae.default.separator,children:", "}),e.companyName&&(0,t.jsx)("span",{className:ae.default["company-name"],children:e.companyName})]})})]})]})}):null};var al=e.i(105840);function aa({views:e,className:s,"aria-label":r="Views",...i}){let[n,o]=(0,a.useState)(0),d=(0,a.useId)(),u=(0,a.useRef)(null),c=Math.min(n,Math.max(e.length-1,0)),{isFluid:m,isAnimating:f}=eZ(u,c);if(0===e.length)return null;let h=e=>`${d}-tab-${e}`,_=e=>`${d}-panel-${e}`;return(0,t.jsxs)("section",{...i,className:(0,l.default)(al.default.root,s),children:[(0,t.jsx)(eH,{className:al.default.tabs,labels:e.map(e=>e.label),activeIndex:c,onTabChange:o,tabId:h,panelId:_,"aria-label":r,moreLabel:"More views"}),(0,t.jsx)("div",{ref:u,className:(0,l.default)(al.default.stage,m&&al.default.fluid,f&&al.default.animating),
1children:e.map((e,l)=>(0,t.jsx)("div",{id:_(l),role:"tabpanel","aria-labelledby":h(l),hidden:l!==c,className:al.default.panel,"data-panel":!0,children:e.content},e.id))})]})}function as({data:e,components:l}){let a=function(e){let t=[];for(let[l,a]of(e?.views??[]).entries()){let e=a?.label?.trim(),s=a?.body;e&&Array.isArray(s)&&0!==s.length&&t.push({id:a._key||`view-${l}`,label:e,body:s})}return t}(e);if(0===a.length)return null;let s=a.map(({id:e,label:a,body:s})=>({id:e,label:a,content:(0,t.jsx)(o.default,{value:s,components:l})}));return(0,t.jsx)(aa,{views:s})}var ar=e.i(276781),ai=e.i(828717),an=e.i(965248),ao=e.i(173154),ad=e.i(585494);let au=ao.default["reading-column"],ac=ao.default["media-column"],am=(0,l.default)(ao.default["media-column"],ao.default.inline),af=(0,l.default)(ao.default["media-column"],ao.default["full-page"]),ah=(0,a.memo)(function({value:e,components:s}){let r=e?.tabs,[i,n]=(0,a.useState)(0),d=r[i];if(!d?.title||!d?.body)return null;(0,an.generateId)(d?.title);let c=r.map((e,t)=>({label:e.title,id:`${t}`}));return(0,t.jsxs)("div",{className:ad.default["tabbed-section"],children:[(0,t.jsx)("div",{className:(0,l.default)(au,ad.default.header),children:(0,t.jsx)(u.default,{items:c,activeIndex:i,onTabChange:n,ariaLabel:"Section tabs"})}),(0,t.jsx)("div",{className:ad.default["tab-content"],children:r.map((e,a)=>(0,t.jsx)("div",{className:(0,l.default)(ad.default["tab-panel"],{[ad.default.active]:a===i}),role:"tabpanel",id:`panel-${a}`,"aria-labelledby":`tab-${a}`,"aria-hidden":a!==i,children:(0,t.jsx)(o.default,{components:s,value:e.body})},a))})]})});e.s(["default",0,function(e){let{body:u,className:c,bodyRef:m,headingIds:f,serifHeadings:h,types:_}=e,x=(0,an.bodyHasH2)(u),g=(0,a.useMemo)(()=>e.footnotes??(0,ai.indexFootnotes)(u),[e.footnotes,u]),j=(0,a.useMemo)(()=>{let e={list:{bullet:({children:e})=>(0,t.jsx)("ul",{className:(0,l.default)(au,"body-2 serif","post-text"),children:e}),number:({children:e})=>(0,t.jsx)("ol",{className:(0,l.default)(au,"body-2 serif","post-text"),children:e})},...Object.keys(g.numberByListItemKey).length>0&&{listItem:{bullet:({children:e})=>(0,t.jsx)("li",{children:e}),number:({children:e,value:l})=>{let a=g.numberByListItemKey[l._key];return void 0===a?(0,t.jsx)("li",{children:e}):(0,t.jsxs)("li",{id:(0,ai.footnoteId)(a),className:ao.default["footnote-item"],children:[e,g.referenced.has(a)&&(0,t.jsx)(r.default,{number:a})]})}}},types:{accordionList:({value:e})=>(0,t.jsx)("div",{className:am,children:(0,t.jsx)(p,{...e})}),expandableSection:({value:e})=>(0,t.jsx)("div",{className:am,children:(0,t.jsx)(k,{...e})}),codeBlock:({value:e})=>(0,t.jsx)("div",{className:am,children:(0,t.jsx)(b.default,{...e})}),terminal:({value:e})=>(0,t.jsx)("div",{className:am,children:(0,t.jsx)(y,{...e})}),image:e=>{let l=e?.value?.columnWidth==="full-width"?ac:am;return(0,t.jsx)("div",{className:l,children:(0,t.jsx)(s.PostDetailImageWithCaption,{...e})})},latestUpdates:({value:e})=>(0,t.jsx)("div",{className:au,children:(0,t.jsx)(q,{...e})}),metricsSnapshot:({value:e})=>{let l=e?.metrics?.length>2?ac:am;return(0,t.jsx)("div",{className:l,children:(0,t.jsx)(M,{...e})})},spotlight:e=>(0,t.jsx)("div",{className:ac,children:(0,t.jsx)(L,{...e})}),video:e=>{let l=e?.value?.columnWidth==="full-width"?ac:am;return(0,t.jsx)("div",{className:l,children:(0,t.jsx)(d.PostDetailVideo,{...e})})},videoEmbed:({value:e})=>(e.embedUrl=e.url,(0,t.jsx)("div",{className:ac,children:(0,t.jsx)(d.PostDetailVideo,{value:e})})),table:({value:e})=>(0,t.jsx)("div",{className:e?.columnWidth==="full-width"?ac:am,children:(0,t.jsx)(v.Table,{...e})}),videoPlaylist:({value:e})=>(0,t.jsx)("div",{className:ac,children:(0,t.jsx)(R,{...e})}),mediaCarousel:({value:e})=>(0,t.jsx)("div",{className:ac,children:(0,t.jsx)(V,{...e})}),mediaGallery:({value:e})=>{let l=e?.items?.length>2?af:ac;return(0,t.jsx)("div",{className:l,children:(0,t.jsx)(K,{...e})})},toutCallout:({value:e})=>(0,t.jsx)("div",{className:am,children:(0,t.jsx)(G,{...e})}),benchmarksTable:({value:e})=>(0,t.jsx)("div",{className:ac,children:(0,t.jsx)(Z,{...e})}),artifactEmbed:({value:e})=>{let l=e?.columnWidth==="full-width"?ac:am;return(0,t.jsx)("div",{className:l,children:(0,t.jsx)(el,{...e})})},quoteCarousel:({value:e})=>(0,t.jsx)("div",{className:ac,children:(0,t.jsx)(at,{...e})}),caseStudyCarousel:({value:e})=>(0,t.jsx)("div",{className:ac,children:(0,t.jsx)(eC,{...e})}),testimonialTabs:({value:e})=>(0,t.jsx)("div",{className:ac,children:(0,t.jsx)(e5,{data:e})}),benchmarkGrid:({value:e})=>(0,t.jsx)("div",{className:ac,children:(0,t.jsx)(eP,{data:e})}),chart:({value:e})=>(0,t.jsx)("div",{className:ac,children:(0,t.jsx)(t5,{data:e})}),chatComparison:({value:e})=>(0,t.jsx)("div",{className:ac,children:(0,t.jsx)(la,{data:e})}),modelComparison:({value:e})=>(0,t.jsx)("div",{className:ac,children:(0,t.jsx)(l9,{data:e})}),audio:({value:e})=>(0,t.jsx)("div",{className:am,children:(0,t.jsx)(es,{value:e})}),tabbedSection:null,viewSwitcher:null},marks:{internalLink:i.InternalLink,sup:({children:e})=>(0,t.jsx)("sup",{className:(0,l.default)("caption",ao.default.sup),children:e}),[ai.FOOTNOTE_SUP_MARK]:({children:e})=>(0,t.jsx)("sup",{className:(0,l.default)("caption",ao.default.sup),children:e}),[ai.FOOTNOTE_REF_MARK]:({children:e,value:a})=>a?(0,t.jsx)("sup",{className:(0,l.default)("caption",ao.default.sup),children:(0,t.jsx)("a",{href:`#${(0,ai.footnoteId)(a.number)}`,id:a.first?(0,ai.footnoteRefId)(a.number):void 0,className:ao.default["footnote-ref"],role:"doc-noteref","aria-label":`Footnote ${a.number}`,children:e})}):(0,t.jsx)("sup",{className:(0,l.default)("caption",ao.default.sup),children:e}),code:({children:e})=>(0,t.jsx)(n.default,{children:e}),link:({value:e,children:l})=>(0,t.jsx)("a",{href:(0,ar.transformUrlForCrossDomainTracking)(e?.href),target:e?.blank?"_blank":void 0,rel:e?.blank?"noopener noreferrer":void 0,children:l})},block:{h2:({children:e,value:a})=>{let s=(0,an.resolveHeadingId)(f,a,e);return(0,t.jsx)("h2",{className:(0,l.default)(au,"headline-4",h&&"serif","post-heading"),id:s,children:e})},h3:({children:e,value:a})=>{let s=(0,an.resolveHeadingId)(f,a,e),r=(0,an.renderedHeadingLevel)("h3",x);return(0,t.jsx)(r,{className:(0,l.default)(au,"headline-5",h&&"serif","post-section"),id:s,children:e})},h4:({children:e,value:a})=>{let s=(0,an.resolveHeadingId)(f,a,e),r=(0,an.renderedHeadingLevel)("h4",x);return(0,t.jsx)(r,{className:(0,l.default)(au,"headline-6",h&&"serif","post-subsection"),id:s,children:e})},normal:({children:e})=>(0,t.jsx)("p",{className:(0,l.default)(au,"body-2 serif","post-text"),children:e}),blockquote:({children:e})=>(0,t.jsx)("blockquote",{className:(0,l.default)(au,ao.default.blockquote,"body-2 serif","post-text"),children:e}),footnote:({children:e})=>(0,t.jsx)("p",{className:(0,l.default)(au,"body-3 serif","post-footnote",ao.default.footnote),children:e}),articleSummary:({children:e})=>(0,t.jsx)("p",{className:(0,l.default)(au,ao.default["article-summary"]),children:e})}};return e.types.tabbedSection=({value:l})=>(0,t.jsx)(ah,{value:l,components:e}),e.types.viewSwitcher=({value:l})=>(0,t.jsx)("div",{className:ac,children:(0,t.jsx)(as,{data:l,components:e})}),_&&(e.types={...e.types,..._}),e},[x,g,f,h,_]);return(0,t.jsx)("div",{className:(0,l.default)(ao.default.body,c),"data-theme":"ivory",ref:m,children:(0,t.jsx)(o.default,{components:j,value:g.body})})}],336254)},408557,e=>{e.v({"has-mobile-fallback":"ArtifactEmbed-module-scss-module__jMbSuG__has-mobile-fallback",iframe:"ArtifactEmbed-module-scss-module__jMbSuG__iframe","iframe-wrapper":"ArtifactEmbed-module-scss-module__jMbSuG__iframe-wrapper","mobile-fallback-image":"ArtifactEmbed-module-scss-module__jMbSuG__mobile-fallback-image",title:"ArtifactEmbed-module-scss-module__jMbSuG__title"})},172950,e=>{e.v({"audio-controls":"AudioPlayer-module-scss-module__F3TmVG__audio-controls","audio-title":"AudioPlayer-module-scss-module__F3TmVG__audio-title","play-button":"AudioPlayer-module-scss-module__F3TmVG__play-button","progress-bar":"AudioPlayer-module-scss-module__F3TmVG__progress-bar","progress-container":"AudioPlayer-module-scss-module__F3TmVG__progress-container","progress-fill":"AudioPlayer-module-scss-module__F3TmVG__progress-fill",root:"AudioPlayer-module-scss-module__F3TmVG__root","time-display":"AudioPlayer-module-scss-module__F3TmVG__time-display"})},136574,e=>{e.v({"arrow-button":"Carousel-module-scss-module__hqckjG__arrow-button","arrow-controls":"Carousel-module-scss-module__hqckjG__arrow-controls","arrow-next":"Carousel-module-scss-module__hqckjG__arrow-next","arrow-prev":"Carousel-module-scss-module__hqckjG__arrow-prev","carousel-container":"Carousel-module-scss-module__hqckjG__carousel-container","carousel-control
1s":"Carousel-module-scss-module__hqckjG__carousel-controls","carousel-item":"Carousel-module-scss-module__hqckjG__carousel-item","carousel-track":"Carousel-module-scss-module__hqckjG__carousel-track","carousel-wrapper":"Carousel-module-scss-module__hqckjG__carousel-wrapper",counter:"Carousel-module-scss-module__hqckjG__counter","is-dragging":"Carousel-module-scss-module__hqckjG__is-dragging"})},24159,e=>{e.v({"case-study":"CaseStudyBlock-module-scss-module__-93VvG__case-study","case-study-header":"CaseStudyBlock-module-scss-module__-93VvG__case-study-header","case-study-media":"CaseStudyBlock-module-scss-module__-93VvG__case-study-media","case-study-overview":"CaseStudyBlock-module-scss-module__-93VvG__case-study-overview","meta-item":"CaseStudyBlock-module-scss-module__-93VvG__meta-item","meta-label":"CaseStudyBlock-module-scss-module__-93VvG__meta-label","meta-link":"CaseStudyBlock-module-scss-module__-93VvG__meta-link","meta-list":"CaseStudyBlock-module-scss-module__-93VvG__meta-list","meta-value":"CaseStudyBlock-module-scss-module__-93VvG__meta-value"})},814324,e=>{"use strict";var t=e.i(843476),l=e.i(382346);e.s(["default",0,function({date:e,format:a,tz:s}){let r=(0,l.formatDate)(e,a,s);return r?(0,t.jsx)("time",{dateTime:(0,l.toDateTimeAttribute)(e),children:r}):null}])},636892,e=>{e.v({"flyout-backdrop":"Flyout-module-scss-module__XIkMnq__flyout-backdrop","flyout-body":"Flyout-module-scss-module__XIkMnq__flyout-body","flyout-close":"Flyout-module-scss-module__XIkMnq__flyout-close","flyout-header":"Flyout-module-scss-module__XIkMnq__flyout-header","flyout-panel":"Flyout-module-scss-module__XIkMnq__flyout-panel","flyout-root":"Flyout-module-scss-module__XIkMnq__flyout-root","flyout-sentinel":"Flyout-module-scss-module__XIkMnq__flyout-sentinel","flyout-title":"Flyout-module-scss-module__XIkMnq__flyout-title","is-open":"Flyout-module-scss-module__XIkMnq__is-open","is-scrolled":"Flyout-module-scss-module__XIkMnq__is-scrolled"})},800748,e=>{e.v({"case-study-footer":"CaseStudyCarousel-module-scss-module__evH4Ta__case-study-footer","case-study-overview":"CaseStudyCarousel-module-scss-module__evH4Ta__case-study-overview","case-study-title":"CaseStudyCarousel-module-scss-module__evH4Ta__case-study-title","company-logo":"CaseStudyCarousel-module-scss-module__evH4Ta__company-logo","flyout-trigger-icon":"CaseStudyCarousel-module-scss-module__evH4Ta__flyout-trigger-icon","logo-container":"CaseStudyCarousel-module-scss-module__evH4Ta__logo-container","with-logo":"CaseStudyCarousel-module-scss-module__evH4Ta__with-logo"})},749559,e=>{e.v({"e-imageWithCaption":"ImageWithCaption-module-scss-module__Duq99q__e-imageWithCaption",figureGridList:"ImageWithCaption-module-scss-module__Duq99q__figureGridList",sup:"ImageWithCaption-module-scss-module__Duq99q__sup"})},675e3,e=>{"use strict";var t=e.i(843476),l=e.i(343794),a=e.i(278856),s=e.i(536988),r=e.i(249607),i=e.i(926828),n=e.i(749559);let o=({index:e,value:o,eagerLoadIndex:d=0,narrowImageAspect:u=0,className:c})=>{let{caption:m,description:f,height:h,columnWidth:_,url:p,width:x}=o,b={block:{normal:a.BlockWithoutParent},marks:{internalLink:r.InternalLink,sup:({children:e})=>(0,t.jsx)("sup",{className:(0,l.default)("caption",n.default.sup),children:e})}},v=x/h;return(0,t.jsxs)("figure",{className:(0,l.default)(c,n.default["e-imageWithCaption"],n.default[`${_}-image`],v<=u&&n.default.narrow),children:[p&&(0,t.jsx)(s.default,{alt:f,height:h,loading:e<d?"eager":"lazy",src:p,width:x}),m&&(0,t.jsx)("figcaption",{className:"caption",children:(0,t.jsx)(i.default,{components:b,value:m})})]})};e.s(["PostDetailImageWithCaption",0,e=>(0,t.jsx)(o,{...e,narrowImageAspect:1,eagerLoadIndex:4})])},685865,e=>{e.v({measure:"OverflowTabs-module-scss-module__L6ovVW__measure",menu:"OverflowTabs-module-scss-module__L6ovVW__menu","menu-item":"OverflowTabs-module-scss-module__L6ovVW__menu-item","menu-right":"OverflowTabs-module-scss-module__L6ovVW__menu-right",more:"OverflowTabs-module-scss-module__L6ovVW__more","more-button":"OverflowTabs-module-scss-module__L6ovVW__more-button","more-icon":"OverflowTabs-module-scss-module__L6ovVW__more-icon","more-icon-vertical":"OverflowTabs-module-scss-module__L6ovVW__more-icon-vertical",tab:"OverflowTabs-module-scss-module__L6ovVW__tab","tab-active":"OverflowTabs-module-scss-module__L6ovVW__tab-active",tabs:"OverflowTabs-module-scss-module__L6ovVW__tabs"})},231856,e=>{e.v({audio:"TestimonialCard-module-scss-module__16pwma__audio","audio-toggle":"TestimonialCard-module-scss-module__16pwma__audio-toggle",bar:"TestimonialCard-module-scss-module__16pwma__bar","bar-played":"TestimonialCard-module-scss-module__16pwma__bar-played",body:"TestimonialCard-module-scss-module__16pwma__body",card:"TestimonialCard-module-scss-module__16pwma__card",cell:"TestimonialCard-module-scss-module__16pwma__cell",clock:"TestimonialCard-module-scss-module__16pwma__clock",label:"TestimonialCard-module-scss-module__16pwma__label",quote:"TestimonialCard-module-scss-module__16pwma__quote",split:"TestimonialCard-module-scss-module__16pwma__split",value:"TestimonialCard-module-scss-module__16pwma__value",waveform:"TestimonialCard-module-scss-module__16pwma__waveform"})},703929,e=>{e.v({card:"TestimonialTabs-module-scss-module__1oJwFW__card","is-fluid":"TestimonialTabs-module-scss-module__1oJwFW__is-fluid",matcha:"TestimonialTabs-module-scss-module__1oJwFW__matcha",panel:"TestimonialTabs-module-scss-module__1oJwFW__panel",peach:"TestimonialTabs-module-scss-module__1oJwFW__peach",reveal:"TestimonialTabs-module-scss-module__1oJwFW__reveal",root:"TestimonialTabs-module-scss-module__1oJwFW__root",slide:"TestimonialTabs-module-scss-module__1oJwFW__slide",stage:"TestimonialTabs-module-scss-module__1oJwFW__stage",tabs:"TestimonialTabs-module-scss-module__1oJwFW__tabs",veil:"TestimonialTabs-module-scss-module__1oJwFW__veil","veil-left":"TestimonialTabs-module-scss-module__1oJwFW__veil-left","veil-right":"TestimonialTabs-module-scss-module__1oJwFW__veil-right"})},334562,e=>{e.v({axisBreak:"chart-module-scss-module__3ia3wq__axisBreak",axisLabel:"chart-module-scss-module__3ia3wq__axisLabel",axisLine
1:"chart-module-scss-module__3ia3wq__axisLine",bar:"chart-module-scss-module__3ia3wq__bar",box:"chart-module-scss-module__3ia3wq__box",caption:"chart-module-scss-module__3ia3wq__caption",categoryLabel:"chart-module-scss-module__3ia3wq__categoryLabel",categoryLabelAbove:"chart-module-scss-module__3ia3wq__categoryLabelAbove",categoryNote:"chart-module-scss-module__3ia3wq__categoryNote",categoryNoteAbove:"chart-module-scss-module__3ia3wq__categoryNoteAbove",emphasis:"chart-module-scss-module__3ia3wq__emphasis",focusTarget:"chart-module-scss-module__3ia3wq__focusTarget",footnote:"chart-module-scss-module__3ia3wq__footnote",frame:"chart-module-scss-module__3ia3wq__frame",grid:"chart-module-scss-module__3ia3wq__grid",legend:"chart-module-scss-module__3ia3wq__legend",legendButton:"chart-module-scss-module__3ia3wq__legendButton",legendItem:"chart-module-scss-module__3ia3wq__legendItem",legendItemInactive:"chart-module-scss-module__3ia3wq__legendItemInactive",legendRow:"chart-module-scss-module__3ia3wq__legendRow",legendStart:"chart-module-scss-module__3ia3wq__legendStart",line:"chart-module-scss-module__3ia3wq__line",lineMuted:"chart-module-scss-module__3ia3wq__lineMuted",mark:"chart-module-scss-module__3ia3wq__mark",median:"chart-module-scss-module__3ia3wq__median",node:"chart-module-scss-module__3ia3wq__node",outlineRing:"chart-module-scss-module__3ia3wq__outlineRing",panel:"chart-module-scss-module__3ia3wq__panel",panelTitle:"chart-module-scss-module__3ia3wq__panelTitle",plot:"chart-module-scss-module__3ia3wq__plot",pointLabel:"chart-module-scss-module__3ia3wq__pointLabel",reference:"chart-module-scss-module__3ia3wq__reference",referenceLabel:"chart-module-scss-module__3ia3wq__referenceLabel",referenceQuiet:"chart-module-scss-module__3ia3wq__referenceQuiet",ring:"chart-module-scss-module__3ia3wq__ring",subtitle:"chart-module-scss-module__3ia3wq__subtitle",svg:"chart-module-scss-module__3ia3wq__svg",swatch:"chart-module-scss-module__3ia3wq__swatch",swatchOutlined:"chart-module-scss-module__3ia3wq__swatchOutlined",tick:"chart-module-scss-module__3ia3wq__tick",title:"chart-module-scss-module__3ia3wq__title",tooltip:"chart-module-scss-module__3ia3wq__tooltip",tooltipBox:"chart-module-scss-module__3ia3wq__tooltipBox",tooltipLabel:"chart-module-scss-module__3ia3wq__tooltipLabel",tooltipValue:"chart-module-scss-module__3ia3wq__tooltipValue",valueLabel:"chart-module-scss-module__3ia3wq__valueLabel",valueLabelInverse:"chart-module-scss-module__3ia3wq__valueLabelInverse",whisker:"chart-module-scss-module__3ia3wq__whisker"})},247769,e=>{e.v({backlink:"FootnoteBacklink-module-scss-module__7yvV1W__backlink"})},932101,965248,828717,272579,e=>{"use strict";var t=e.i(843476),l=e.i(645533);function a(e){let t=e=>"string"==typeof e?e:e&&"object"==typeof e&&e?.props&&e?.props?.children?Array.isArray(e.props.children)?"string"==typeof e?.props?.children?.[0]?e.props.children[0]:"":"string"==typeof e?.props?.children?e.props.children:"":"";return(Array.isArray(e)?e.map(t).filter(e=>""!==e).join(" "):t(e)).toLowerCase().replace(/[^\w\s-]/g,"").replace(/\s+/g,"-")}let s=new Set(["h2","h3","h4"]);function r(e){return(e??[]).filter(e=>"block"===e._type&&"string"==typeof e.style&&s.has(e.style))}function i(e){return(e??[]).some(e=>"block"===e._type&&"h2"===e.style)}function n(e,t){return t?e:"h3"===e?"h2":"h4"===e?"h3":e}function o(e){return a((e.children??[]).map(e=>(e.marks?.length??0)>1?"":e.text??""))}function d(e){return/[^-]/.test(e)}function u(e){let t=(e?.children??[]).map(e=>e.text??"").join("");return/^\s*(\d+)/.exec(t)?.[1]}e.s(["HEADING_STYLES",0,s,"bodyHasH2",0,i,"generateId",0,a,"generateIdFromBlock",0,o,"mapReferenceHeadingIds",0,function(e,t){let l=r(e),a=r(t),s=+(l.length===a.length+1&&void 0!==u(a[0])&&void 0===u(l[0]));if(l.length-s!==a.length)return;let c=i(l),m=i(a),f={};for(let[e,t]of a.entries()){let a=l[e+s];if(n(a.style,c)!==n(t.style,m))return;let r=u(a),i=u(t);if(void 0!==r&&void 0!==i&&r!==i)return;let h=o(t);d(h)&&(f[a._key]=h)}return f},"renderedHeadingLevel",0,n,"resolveHeadingId",0,function(e,t,l){let s=t?._key?e?.[t._key]:void 0;if(s)return s;let r=a(l);return d(r)?r:t?._key??r}
1],965248);let c="footnoteRef",m="footnoteSup",f=e=>`footnote-ref-${e}`,h=new Set;function _(e){return"block"===e._type&&"string"==typeof e.style&&s.has(e.style)}function p(e){return e?._type==="block"&&"number"===e.listItem}function x(e){return(e.level??1)<=1}let b={numberByKey:{},blockKeys:new Set};e.s(["FOOTNOTE_REF_MARK",0,c,"FOOTNOTE_SUP_MARK",0,m,"footnoteId",0,e=>`footnote-${e}`,"footnoteRefId",0,f,"indexFootnotes",0,function(e,t={}){let l=e??[],a=t.externalCount??0,s=a>0?b:function(e){for(let t=0;t<e.length;t++){if(!_(e[t])||"footnotes"!==o(e[t]))continue;let l={numberByKey:{},blockKeys:new Set},a=0;for(let s=t+1;p(e[s]);s++){let t=e[s];t._key&&(l.blockKeys.add(t._key),x(t)&&(l.numberByKey[t._key]=++a))}if(a>0)return l}return b}(l),r=s.numberByKey,i=a>0?a:Object.keys(r).length;if(0===i)return{body:l,count:i,numberByListItemKey:r,referenced:h};let n=new Set,d=!1,u=l.map(e=>{if("block"!==e._type||!e.children?.length||_(e)||e._key&&s.blockKeys.has(e._key))return e;let t=e.markDefs??[],l=[],a=e.children.map((e,a)=>{let s=function(e,t,l){let a=e.marks??[];if("span"!==e._type||!(a.includes("sup")||a.includes(m))||!e.text||!/^[1-9]\d*$/.test(e.text))return;let s=new Set(t.map(e=>e._key));if(e.marks.some(e=>s.has(e)))return;let r=Number(e.text);return r<=l?r:void 0}(e,t,i);if(void 0===s)return e;let r={_key:`${c}-${e._key??a}`,_type:c,number:s,first:!n.has(s)};return n.add(s),l.push(r),{...e,marks:e.marks.map(e=>"sup"===e||e===m?r._key:e)}});return 0===l.length?e:(d=!0,{...e,children:a,markDefs:[...t,...l]})});return{body:d?u:l,count:i,numberByListItemKey:r,referenced:n}},"numberFootnotes",0,function(e){let t={},l=0;for(let a of e??[])p(a)&&x(a)&&a._key&&(t[a._key]=++l);return t}],828717);var v=e.i(247769);e.s(["default",0,({number:e})=>(0,t.jsx)("a",{href:`#${f(e)}`,className:v.default.backlink,role:"doc-backlink","aria-label":`Back to reference ${e}`,children:(0,t.jsx)(l.IconArrowReturn,{"aria-hidden":!0})})],932101),e.s(["default",0,({children:e})=>(0,t.jsx)("sup",{children:e})],272579)},740709,e=>{e.v({accordionBody:"AccordionList-module-scss-module__fCjHva__accordionBody",accordionButton:"AccordionList-module-scss-module__fCjHva__accordionButton",accordionContent:"AccordionList-module-scss-module__fCjHva__accordionContent",accordionIcon:"AccordionList-module-scss-module__fCjHva__accordionIcon",accordionItem:"AccordionList-module-scss-module__fCjHva__accordionItem",accordionList:"AccordionList-module-scss-module__fCjHva__accordionList",accordionTitle:"AccordionList-module-scss-module__fCjHva__accordionTitle",expanded:"AccordionList-module-scss-module__fCjHva__expanded",itemNumber:"AccordionList-module-scss-module__fCjHva__itemNumber",title:"AccordionList-module-scss-module__fCjHva__title"})},509991,e=>{e.v({action:"ChatComparison-module-scss-module__-vqk3q__action",actions:"ChatComparison-module-scss-module__-vqk3q__actions",bubble:"ChatComparison-module-scss-module__-vqk3q__bubble",bubbleRow:"ChatComparison-module-scss-module__-vqk3q__bubbleRow",card:"ChatComparison-module-scss-module__-vqk3q__card",cardHeader:"ChatComparison-module-scss-module__-vqk3q__cardHeader",cardTitle:"ChatComparison-module-scss-module__-vqk3q__cardTitle",cardTitleText:"ChatComparison-module-scss-module__-vqk3q__cardTitleText",cards:"ChatComparison-module-scss-module__-vqk3q__cards",caret:"ChatComparison-module-scss-module__-vqk3q__caret",chip:"ChatComparison-module-scss-module__-vqk3q__chip",menuItem:"ChatComparison-module-scss-module__-vqk3q__menuItem",menuItemActive:"ChatComparison-module-scss-module__-vqk3q__menuItemActive",promptMenu:"ChatComparison-module-scss-module__-vqk3q__promptMenu",replay:"ChatComparison-module-scss-module__-vqk3q__replay",reply:"ChatComparison-module-scss-module__-vqk3q__reply",replyGhost:"ChatComparison-module-scss-module__-vqk3q__replyGhost",replyStack:"ChatComparison-module-scss-module__-vqk3q__replyStack",root:"ChatComparison-module-scss-module__-vqk3q__root",shown:"ChatComparison-module-scss-module__-vqk3q__shown",thumbsDown:"ChatComparison-module-scss-module__-vqk3q__thumbsDown",titleWrap:"ChatComparison-module-scss-module__-vqk3q__titleWrap",transcript:"ChatComparison-module-scss-module__-vqk3q__transcript"})},841948,e=>{e.v({borderTop:"LandingPageSection-module-scss-module__ZSMdoa__borderTop",flushBottom:"LandingPageSection-module-scss-module__ZSMdoa__flushBottom",flushTop:"LandingPageSection-module-scss-module__ZSMdoa__flushTop",fullWidth:"LandingPageSection-module-scss-module__ZSMdoa__fullWidth",root:"LandingPageSection-module-scss-module__ZSMdoa__root"})},234361,e=>{"use strict";var t=e.i(843476),l=e.i(343794),a=e.i(271645),s=e.i(841948);let r=(0,a.forwardRef)(function(e,a){let{backgroundColor:r,borderTop:i,className:n,children:o,flushBottom:d,flushTop:u,fullWidth:c,sectionId:m,style:f,theme:h="ivory"}=e;return(0,t.jsxs)("section",{className:(0,l.default)(n,s.default.root,r&&`bg-${r}`,d&&s.default.flushBottom,u&&s.default.flushTop,c&&s.default.fullWidth),id:m?.current,ref:a,style:f,"data-theme":h,children:[i&&(0,t.jsx)("div",{className:(0,l.default)("page-wrapper"),children:(0,t.jsx)("div",{className:(0,l.default)(s.default.borderTop)})}),o]})});e.s(["default",0,r])},494591,e=>{e.v({date:"LatestUpdates-module-scss-module__sg7Vka__date",headline:"LatestUpdates-module-scss-module__sg7Vka__headline",label:"LatestUpdates-module-scss-module__sg7Vka__label",link:"LatestUpdates-module-scss-module__sg7Vka__link",summary:"LatestUpdates-module-scss-module__sg7Vka__summary",update:"LatestUpdates-module-scss-module__sg7Vka__update",wrapper:"LatestUpdates-module-scss-module__sg7Vka__wrapper"})},2861,e=>{e.v({metric:"MetricsSnapshot-module-scss-module__nIiolq__metric",metricOlive:"MetricsSnapshot-module-scss-module__nIiolq__metricOlive",subtitle:"MetricsSnapshot-module-scss-module__nIiolq__subtitle",title:"MetricsSnapshot-module-scss-module__nIiolq__title",titles:"MetricsSnapshot-module-scss-module__nIiolq__titles",wrapper:"MetricsSnapshot-module-scss-module__nIiolq__wrapper","wrapper-flyout":"MetricsSnapshot-module-scss-module__nIiolq__wrapper-flyout"})},321436,e=>{e.v({attribution:"Spotlight-module-scss-module__0uJZhW__attribution",attributionText:"Spotlight-module-scss-module__0uJZhW__attributionText",author:"Spotlight-module-scss-module__0uJZhW__author",content:"Spotlight-module-scss-module__0uJZhW__content",divi
1der:"Spotlight-module-scss-module__0uJZhW__divider",header:"Spotlight-module-scss-module__0uJZhW__header",quote:"Spotlight-module-scss-module__0uJZhW__quote",root:"Spotlight-module-scss-module__0uJZhW__root",title:"Spotlight-module-scss-module__0uJZhW__title"})},834239,e=>{e.v({"arrow-button":"MediaGallery-module-scss-module__jsmn5q__arrow-button","arrow-controls":"MediaGallery-module-scss-module__jsmn5q__arrow-controls","arrow-next":"MediaGallery-module-scss-module__jsmn5q__arrow-next","arrow-prev":"MediaGallery-module-scss-module__jsmn5q__arrow-prev","carousel-controls":"MediaGallery-module-scss-module__jsmn5q__carousel-controls",counter:"MediaGallery-module-scss-module__jsmn5q__counter","media-content":"MediaGallery-module-scss-module__jsmn5q__media-content","media-gallery":"MediaGallery-module-scss-module__jsmn5q__media-gallery","media-gallery-container":"MediaGallery-module-scss-module__jsmn5q__media-gallery-container","media-gallery-wrapper":"MediaGallery-module-scss-module__jsmn5q__media-gallery-wrapper","media-image":"MediaGallery-module-scss-module__jsmn5q__media-image","media-item":"MediaGallery-module-scss-module__jsmn5q__media-item","media-video":"MediaGallery-module-scss-module__jsmn5q__media-video",sup:"MediaGallery-module-scss-module__jsmn5q__sup"})},493902,e=>{e.v({"arrow-right":"BenchmarksTable-module-scss-module__FhWWxW__arrow-right",cell:"BenchmarksTable-module-scss-module__FhWWxW__cell","cell-hidden":"BenchmarksTable-module-scss-module__FhWWxW__cell-hidden","cell-visible":"BenchmarksTable-module-scss-module__FhWWxW__cell-visible","empty-cell":"BenchmarksTable-module-scss-module__FhWWxW__empty-cell",filter:"BenchmarksTable-module-scss-module__FhWWxW__filter","filter-label":"BenchmarksTable-module-scss-module__FhWWxW__filter-label","filters-container":"BenchmarksTable-module-scss-module__FhWWxW__filters-container","filters-title":"BenchmarksTable-module-scss-module__FhWWxW__filters-title","first-column":"BenchmarksTable-module-scss-module__FhWWxW__first-column",footnote:"BenchmarksTable-module-scss-module__FhWWxW__footnote","footnotes-area":"BenchmarksTable-module-scss-module__FhWWxW__footnotes-area","footnotes-container":"BenchmarksTable-module-scss-module__FhWWxW__footnotes-container",frame:"BenchmarksTable-module-scss-module__FhWWxW__frame",grid:"BenchmarksTable-module-scss-module__FhWWxW__grid","header-cell":"BenchmarksTable-module-scss-module__FhWWxW__header-cell","header-competitor":"BenchmarksTable-module-scss-module__FhWWxW__header-competitor","header-subtitle":"BenchmarksTable-module-scss-module__FhWWxW__header-subtitle","header-surtitle":"BenchmarksTable-module-scss-module__FhWWxW__header-surtitle","header-value":"BenchmarksTable-module-scss-module__FhWWxW__header-value","multi-select-first-column-item":"BenchmarksTable-module-scss-module__FhWWxW__multi-select-first-column-item","multi-select-first-column-item-last-row":"BenchmarksTable-module-scss-module__FhWWxW__multi-select-first-column-item-last-row","multi-select-header-first-column":"BenchmarksTable-module-scss-module__FhWWxW__multi-select-header-first-column","multi-select-header-last-column":"BenchmarksTable-module-scss-module__FhWWxW__multi-select-header-last-column","multi-select-header-middle-column":"BenchmarksTable-module-scss-module__FhWWxW__multi-select-header-middle-column","multi-select-last-column-item":"BenchmarksTable-module-scss-module__FhWWxW__multi-select-last-column-item","multi-select-last-column-item-last-row":"BenchmarksTable-module-scss-module__FhWWxW__multi-select-last-column-item-last-row","multi-select-middle-column-item":"BenchmarksTable-module-scss-module__FhWWxW__multi-select-middle-column-item","multi-select-middle-column-item-last-row":"BenchmarksTable-module-scss-module__FhWWxW__multi-select-middle-column-item-last-row","row-continued":"BenchmarksTable-module-scss-module__FhWWxW__row-continued","row-subtitle":"BenchmarksTable-module-scss-module__FhWWxW__row-subtitle","row-surtitle":"BenchmarksTable-module-scss-module__FhWWxW__row-surtitle","row-value":"BenchmarksTable-module-scss-module__FhWWxW__row-value","scroll-indicator":"BenchmarksTable-module-scss-module__FhWWxW__scroll-indicator",selected:"BenchmarksTable-module-scss-module__FhWWxW__selected","selected-column":"BenchmarksTable-module-scss-module__FhWWxW__selected-column","selected-column-first-item":"BenchmarksTable-module-scss-module__FhWWxW__selected-column-first-item","selected-column-last-item":"BenchmarksTable-module-scss-module__FhWWxW__selected-column-last-item",value:"BenchmarksTable-module-scss-module__FhWWxW__value"})},251339,e=>{e.v({body:"ModelComparison-module-scss-module__mnfOdW__body",caption:"ModelComparison-module-scss-module__mnfOdW__caption",chat:"ModelComparison-module-scss-module__mnfOdW__chat",code:"ModelComparison-module-scss-module__mnfOdW__code","code-frame":"ModelComparison-module-scss-module__mnfOdW__code-frame",controls:"ModelComparison-module-scss-module__mnfOdW__controls","example-prompt":"ModelComparison-module-scss-module__mnfOdW__example-prompt","example-prompt-label":"ModelComparison-module-scss-module__mnfOdW__example-prompt-label","example-prompt-text":"ModelComparison-module-scss-module__mnfOdW__example-prompt-text","fade-in":"ModelComparison-module-scss-module__mnfOdW__fade-in","file-name":"ModelComparison-module-scss-module__mnfOdW__file-name",head:"ModelComparison-module-scss-module__mnfOdW__head","icon-button":"ModelComparison-module-scss-module__mnfOdW__icon-button",label:"ModelComparison-module-scss-module__mnfOdW__label",line:"ModelComparison-module-scss-module__mnfOdW__line",media:"ModelComparison-module-scss-module__mnfOdW__media",pair:"ModelComparison-module-scss-module__mnfOdW__pair",prompt:"ModelComparison-module-scss-module__mnfOdW__prompt","prompt-row":"ModelComparison-module-scss-module__mnfOdW__prompt-row",response:"ModelComparison-module-scss-module__mnfOdW__response","response-code":"ModelComparison-module-scss-module__mnfOdW__response-code",reveal:"ModelComparison-module-scss-module__mnfOdW__reveal","reveal-marker":"ModelComparison-module-scss-module__mnfOdW__reveal-marker",root:"ModelComparison-module-scss-module__mnfOdW__root",scroller:"ModelComparison-module-scss-module__mnfOdW__scroller","scroller-frame":"ModelComparison-module-scss-module__mnfOdW__scroller-frame",side:"ModelComparison-module-scss-module__mnfOdW__side",tabs:"ModelComparison-module-scss-module__mnfOdW__tabs",toggle:"ModelComparison-module-scss-module__mnfOdW__toggle",word:"ModelComparison-module-scss-module__mnfOdW__word"})},257257,e=>{e.v({"company-logo":"QuoteCarousel-module-scss-module__XVJWRG__company-logo","company-name":"QuoteCarousel-module-scss-module__XVJWRG__company-name","logo-container":"QuoteCarousel-module-scss-module__XVJWRG__logo-container","quote-content":"QuoteCarousel-module-scss-module__XVJWRG__quote-content","quote-footer":"QuoteCarousel-module-scss-module__XVJWRG__quote-footer","quote-mark-container":"QuoteCarousel-module-scss-module__XVJWRG__quote-mark-container","quote-text":"QuoteCarousel-module-scss-module__XVJWRG__quote-text",separator:"QuoteCarousel-module-scss-module__XVJWRG__separator","speaker-info":"QuoteCarousel-module-scss-module__XVJWRG__speaker-info","speaker-name":"QuoteCarousel-module-scss-module__XVJWRG__speaker-name","speaker-title":"QuoteCarousel-module-scss-module__XVJWRG__speaker-title","with-logo":"QuoteCarousel-module-scss-module__XVJWRG__with-logo"})},105840,e=>{e.v({animating:"ViewSwitcher-module-scss-module__kN30kq__animating",fluid:"ViewSwitcher-module-scss-module__kN30kq__fluid",panel:"ViewSwitcher-module-scss-module__kN30kq__panel",root:"ViewSwitcher-module-scss-module__kN30kq__root",stage:"ViewSwitcher-module-scss-module__kN30kq__stage",tabs:"ViewSwitcher-module-scss-module__kN30kq__tabs"})},179277,e=>{e.v({controls:"Terminal-module-scss-module__SolkaG__controls",header:"Terminal-module-scss-module__SolkaG__header",prompt:"Terminal-module-scss-module__SolkaG__prompt",terminal:"Terminal-module-scss-module__SolkaG__terminal",windowButton:"Terminal-module-scss-module__SolkaG__windowButton",windowButtons:"Terminal-module-scss-module__SolkaG__windowButtons"})},495062,e=>{e.v({body:"ExpandableSection-module-scss-module__KkSWWG__body",buttonContainer:"ExpandableSection-module-scss-module__KkSWWG__buttonContainer",content:"ExpandableSection-module-scss-module__KkSWWG__c
1ontent",embeddedBlock:"ExpandableSection-module-scss-module__KkSWWG__embeddedBlock",embeddedCodeBlock:"ExpandableSection-module-scss-module__KkSWWG__embeddedCodeBlock",embeddedTable:"ExpandableSection-module-scss-module__KkSWWG__embeddedTable",expandableSection:"ExpandableSection-module-scss-module__KkSWWG__expandableSection",expanded:"ExpandableSection-module-scss-module__KkSWWG__expanded",header:"ExpandableSection-module-scss-module__KkSWWG__header",icon:"ExpandableSection-module-scss-module__KkSWWG__icon",rotated:"ExpandableSection-module-scss-module__KkSWWG__rotated",summary:"ExpandableSection-module-scss-module__KkSWWG__summary",title:"ExpandableSection-module-scss-module__KkSWWG__title",toggleButton:"ExpandableSection-module-scss-module__KkSWWG__toggleButton"})},974271,e=>{e.v({content:"ToutCallout-module-scss-module__gZk6bG__content",cta:"ToutCallout-module-scss-module__gZk6bG__cta",icon:"ToutCallout-module-scss-module__gZk6bG__icon",illustration:"ToutCallout-module-scss-module__gZk6bG__illustration",root:"ToutCallout-module-scss-module__gZk6bG__root",textWrapper:"ToutCallout-module-scss-module__gZk6bG__textWrapper",title:"ToutCallout-module-scss-module__gZk6bG__title"})},6447,e=>{e.v({"indicator-dot":"VideoPlaylist-module-scss-module__GfCDRW__indicator-dot","play-icon":"VideoPlaylist-module-scss-module__GfCDRW__play-icon",playlist:"VideoPlaylist-module-scss-module__GfCDRW__playlist",video:"VideoPlaylist-module-scss-module__GfCDRW__video","video-desktop":"VideoPlaylist-module-scss-module__GfCDRW__video-desktop","video-info":"VideoPlaylist-module-scss-module__GfCDRW__video-info","video-list":"VideoPlaylist-module-scss-module__GfCDRW__video-list","video-list-container":"
1VideoPlaylist-module-scss-module__GfCDRW__video-list-container","video-list-item":"VideoPlaylist-module-scss-module__GfCDRW__video-list-item","video-list-item-wrapper":"VideoPlaylist-module-scss-module__GfCDRW__video-list-item-wrapper","video-mobile":"VideoPlaylist-module-scss-module__GfCDRW__video-mobile"})},442308,e=>{e.v({active:"MediaCarousel-module-scss-module__S2ancq__active","media-carousel":"MediaCarousel-module-scss-module__S2ancq__media-carousel","media-container":"MediaCarousel-module-scss-module__S2ancq__media-container","media-panel":"MediaCarousel-module-scss-module__S2ancq__media-panel"})},45246,e=>{"use strict";var t=e.i(271645);e.s(["useCarouselScroll",0,function({itemCount:e}){let[l,a]=(0,t.useState)(0),[s,r]=(0,t.useState)(0),[i,n]=(0,t.useState)(!1),[o,d]=(0,t.useState)(new Map),u=(0,t.useRef)(null),c=(0,t.useRef)(null),m=(0,t.useRef)([]);(0,t.useEffect)(()=>{let e=()=>{n(window.innerWidth<768)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,t.useEffect)(()=>{let e=()=>{if(c.current&&u.current){let e=c.current,t=parseInt(window.getComputedStyle(u.current).gap)||0;r(e.offsetWidth+t)}};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[e]),(0,t.useEffect)(()=>{let e=new IntersectionObserver(e=>{d(t=>{let l=new Map(t);e.forEach(e=>{let t=m.current.findIndex(t=>t===e.target);-1!==t&&(e.isIntersecting?l.set(t,!0):l.delete(t))});let s=Array.from(l.keys()).sort((e,t)=>e-t);return s.length>0&&a(s[0]),l})},{root:u.current,threshold:.2,rootMargin:"0px"});return m.current.forEach(t=>{t&&e.observe(t)}),()=>{m.current.forEach(t=>{t&&e.unobserve(t)}),e.disconnect()}},[e]);let f=e=>{u.current&&s&&(u.current.scrollTo({left:e*s,behavior:"smooth"}),setTimeout(()=>{a(e)},300))};return{currentIndex:l,isTablet:i,sliderRef:u,cardRefs:m,firstCardRef:c,scrollToIndex:f,handlePrevious:()=>{l>0&&f(l-1)},handleNext:()=>{l<e-1&&f(l+1)}}}])}]);

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.