@inkeep/cxkit-js 0.0.0-dev-20250318210845 → 0.0.0-dev-20250318212212

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -53,4 +53,4 @@ var UV=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u00
53
53
  * @namespace
54
54
  * @public
55
55
  *)
56
- */;function k3(){const[e,t]=V.useState(!1);return[e,V.useCallback((async e=>{if(!(null==navigator?void 0:navigator.clipboard))return console.warn("Clipboard not supported"),!1;try{return await navigator.clipboard.writeText(e),t(!0),setTimeout((()=>{t(!1)}),1e3),!0}catch(n){return console.warn("Copy failed",n),t(!1),!1}}),[])]}const w3=_B("h1",{_id:"markdownH1"}),x3=_B("h2",{_id:"markdownH2"}),E3=_B("p",{_id:"markdownP"}),S3=_B("li",{_id:"markdownLi"}),_3=_B("ul",{_id:"markdownUl"}),T3=_B("ol",{_id:"markdownOl"}),C3=_B(xW,{_id:"markdownLink"}),A3=_B("sup",{_id:"markdownSourceLink"}),N3=_B("table",{_id:"markdownTable"}),I3=_B("th",{_id:"markdownTh"}),R3=_B("td",{_id:"markdownTd"}),O3=_B("code",{_id:"markdownCode"}),P3=_B("div",{_id:"codeblockContainer"}),L3=_B("div",{_id:"codeblockHeader"}),D3=_B("span",{_id:"codeblockHeaderLanguage"}),M3=_B("button",{_id:"codeblockCopyButton",type:"button"}),F3=_B("div",{_id:"codeblockHighlighterWrapper"}),j3=_B("div",{_id:"codeblockHighlighter"}),B3=_B("code",{_id:"codeblockCode"}),H3=_B("input",{_id:"markdownInput"}),z3=G5.oneLight,U3=G5.vsDark,$3=({className:e="",children:t,onCopy:n})=>{var r;const a=e.replace(/^language-/,""),o=String(t).replace(/\n$/,""),[i,s]=k3(),{baseSettings:l}=WO(),c=null==(r=l.theme)?void 0:r.syntaxHighlighter,{lightTheme:u=z3,darkTheme:d=U3}=c??{},p=Zj(u,d);return $f.jsxs(P3,{children:[$f.jsxs(L3,{children:[$f.jsx(D3,{children:a}),$f.jsx(M3,{"aria-label":"Copy to clipboard",onClick:()=>{s(o),null==n||n(a,o)},"data-copied":_P(i),children:$f.jsx(kW,{iconKey:i?"codeCopied":"codeCopy"})})]}),$f.jsx(F3,{children:$f.jsx(v3,{theme:p,code:o,language:a,prism:l.prism,children:({className:e,tokens:t,getLineProps:n,getTokenProps:r,style:a})=>$f.jsx(j3,{className:e,children:$f.jsx(B3,{style:a,children:t.map(((e,t)=>$f.jsx("div",{...n({line:e}),children:e.map(((e,t)=>$f.jsx("span",{...r({token:e})},t)))},t)))})})})})]})};function G3(){return e=>{xX(e,"element",((e,t,n)=>{"code"===e.tagName&&(n&&"pre"===n.tagName?e.properties.inline=!1:e.properties.inline=!0)}))}}const V3=({children:e,componentStyles:t,shouldOpenLinksInNewTab:n,onLinkClick:r,onCodeCopy:a,...o})=>{if(!e)return null;const i={h1:({children:e})=>$f.jsx(w3,{children:e}),h2:({children:e})=>$f.jsx(x3,{children:e}),p:({children:e})=>$f.jsx(E3,{children:e}),li:({children:e})=>$f.jsx(S3,{children:e}),ul:({children:e})=>$f.jsx(_3,{children:e}),input:({type:e,checked:t,disabled:n,readOnly:r,required:a,value:o})=>$f.jsx(H3,{type:e,checked:t,disabled:n,readOnly:r,required:a,value:o}),ol:({children:e,node:t})=>{var n;const r=null==(n=null==t?void 0:t.properties)?void 0:n.start,a="number"==typeof r?r:void 0;return $f.jsx(T3,{style:{"--start":(null==r?void 0:r.toString())??"0"},start:a,children:e})},a:({children:e,href:t})=>{const a=W.Children.toArray(e),o=a[0],i="string"==typeof o&&/^\(\d+\)$/.test(o)&&1===a.length,s=i?o.match(/\d+/):e,l=$f.jsx(C3,{isExternal:n,href:t,onClick:()=>{null==r||r(t,null==s?void 0:s.toString())},children:s});return i?$f.jsx(A3,{children:l}):l},img:({src:e,alt:t})=>`![${t||""}](${e||""})`,table:({children:e})=>$f.jsx(N3,{children:e}),th:({children:e,isHeader:t})=>t?$f.jsx(I3,{children:e}):$f.jsx(R3,{children:e}),pre:({children:e})=>$f.jsx("pre",{children:e}),code:({children:e,inline:t,className:n})=>t?$f.jsx(O3,{children:e}):$f.jsx($3,{className:n,onCopy:a,children:e})},s=$f.jsx(mQ,{remarkPlugins:[b5],rehypePlugins:[C1,G3],components:i,disallowedElements:W3,children:e.toString(),...o});return $f.jsx(Hj,{componentStyles:t,children:s})},W3=["script","iframe","frame","embed","meta","base","form","style","object"];function q3(){return $f.jsxs("svg",{viewBox:"0 0 12 10",style:{width:"1.2em",fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},children:[$f.jsx("title",{children:"Checkbox Icon"}),$f.jsx("polyline",{points:"1.5 6 4.5 9 10.5 1"})]})}function Y3(e){const t=V.useId();return $f.jsxs("svg",{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[$f.jsx("title",{children:"Tag Line Logo Icon"}),$f.jsx("path",{d:"M32 4.01845V25.1411C32 26.3154 30.9971 27.2462 29.8223 27.1531L16.9277 26.1507C15.409 26.0361 13.8903 26.3727 12.565 27.1173L8.11641 29.6234C7.72241 29.8454 7.29259 29.3943 7.54332 29.0148L9.77121 25.5922L11.8415 22.4131C12.0636 22.0694 12.4934 21.9119 12.8874 22.0336C16.1397 23.079 19.8075 21.8761 21.7631 18.8831C24.0913 15.2886 23.0741 10.4913 19.4851 8.15706C15.8961 5.82282 11.0965 6.83958 8.76114 10.4269C6.81263 13.427 7.19946 17.272 9.4775 19.8139C9.74972 20.1218 9.77837 20.5729 9.5563 20.9237L6.92724 24.9621C6.76964 25.1984 6.49743 25.3344 6.21804 25.313L1.4184 24.9406C0.616073 24.8834 0 24.2175 0 23.4155V5.7369C0 4.93496 0.616073 4.26905 1.4184 4.21177L29.8294 2.00642C31.0043 1.91334 32 2.84417 32 4.01845ZM15.2586 9.35282C12.3286 9.35282 9.95747 11.7229 9.95747 14.6514C9.95747 16.0763 10.5234 17.3723 11.4403 18.3246C11.9991 18.9046 12.6868 19.3557 13.4605 19.6349C14.0264 19.8354 14.6282 19.95 15.2657 19.95C18.1957 19.95 20.5668 17.5799 20.5668 14.6514C20.5597 11.73 18.1885 9.35282 15.2586 9.35282Z",fill:`url(#${t})`}),$f.jsx("defs",{children:$f.jsxs("linearGradient",{id:t,x1:"1.5893",y1:"25.285",x2:"24.0784",y2:"10.1057",gradientUnits:"userSpaceOnUse",children:[$f.jsx("stop",{stopColor:"currentColor"}),$f.jsx("stop",{offset:"1",stopColor:"currentColor"})]})})]})}const K3=e=>{const{logEvent:t}=dP(),{conversation:n}=XO(),{openForm:r}=lD(),a=rD();return{handleAction:t=>{var o;"open_form"===e.action.type?(null==(o=null==t?void 0:t.onOpenForm)||o.call(t),null==r||r(e.action.formSettings)):"invoke_callback"===e.action.type&&(e.action.callback({conversation:n}),e.action.shouldCloseModal&&(null==a||a.setOpen(!1)))},logHelpAction:()=>{"name"in e&&n.id&&t({eventName:"get_help_option_clicked",properties:{getHelpOption:e,conversation:n}})}}},X3=e=>{const t=/<em>(.*?)<\/em>/gs;let n;const r=[];let a=0;for(;null!==(n=t.exec(e));){const[t,o]=n;n.index>a&&r.push(e.slice(a,n.index)),r.push({content:o,highlighted:!0}),a=n.index+t.length}return a<e.length&&r.push(e.slice(a)),r};function Q3(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function Z3(e){return e.toLowerCase().replace(/(^\w+:|^)\/\//,"").replace(/^www\./,"").replace(/\/$/,"").startsWith("github.com")}function J3(e,t){const n=["API","Docs","Documentation","Blogs",t],r=["\\|","-",":"],a=new RegExp(`^\\s*(${n.join("|")})(\\.\\w+)?\\s*(${r.join("|")})\\s*`,"gi"),o=new RegExp(`\\s*(${r.join("|")})\\s*(${n.join("|")})\\s*$`,"gi");return e.replace(a,"").replace(o,"").trim()}const e4={js:".js",db:"DB",sql:"SQL"};function t4(e){return Object.entries(e4).reduce(((e,[t,n])=>{const r=new RegExp(`([a-zA-Z0-9])${t}(?!\\w)`,"g");return e.replace(r,((e,t)=>t+n))}),e)}const n4=["API","AWS","GCP","SQL","CSS","JS","JDK","SDK","JRE","IDE","XML","GUI","CLI","AI","ML","DL","IoT","TCP","UDP","IP","FTP","RAM","ROM","SSD","HDD","VPS","VPN","OS","UI","UX","DB","OOP","CRM","ERP","POS","CAD","BI","CMS","SEO","SEM","PPC","B2B","B2C","SMB","ROI","KPI","CTA","CPC","CPM","CDN","MVC","FAQ","LMS","RPA","QA","QC","CRO","SVN","GIT","DOM","DNS","ISP","URL","URN","URI","SIP","NFC","LTE","OSI","RAS","DRM","DOS","WWW","LAN","WAN","SAN","NAS","NLP","OCR","IBM","HP","SAP","JWT","SSH","SSL","TLS","POP","NTP","BGP","ARP","2FA","MFA","RDP","VNC","SCP","PKI","XSS","DoS","CSV","HL7","SOP","PHP","JSP","NET","VBA","iOS","GNU","CPU","GPU","NIC","USB","VGA","AES","RSA","DES","ECC","WEP","WPA","IDS","IPS","PM","HR","TCO","BPM","SLA","SOW","AR","VR","XR","3D","2D","4D","iOS","OpenAPI","SSO"],r4=["a","an","the","and","as","but","or","nor","at","by","in","of","on","per","to","up","via","vs","with","is","it","for","are","not","out","off","yet","so","be","if","has","its","we","our","any","all","how","her","his","their","was","were"],a4=["BaaS","SaaS","PaaS","IaaS","HTML","JSON","HTTPS","HTTP","SMTP","DBMS","RDBMS","REST","SOAP","MVVM","VoIP","RFID","WYSIWYG","WLAN","OIDC","SAML","LDAP","IPSec","OAuth","OpenID","SFTP","IMAP","RTSP","DHCP","XMPP","SNMP","ICMP","IGMP","RARP","PPTP","L2TP","IPv4","IPv6","TOTP","HMAC","TFTP","CORS","CSRF","DDOS","YAML","MQTT","AMQP","HDLC","EDIFACT","DICOM","MATLAB","UNIX","HDMI","WiFi","WPA2","DDoS","ipadOS","watchOS","macOS","JavaScript","TypeScript","SSO","IDP","RBAC"];function o4(e){return`\\b${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}\\b`}function i4(e,t,n,r=!1){return r&&new RegExp(`^${n}\\b`,"i").test(e)?e:e.replace(new RegExp(n,"gi"),t)}const s4=(e,t)=>{var n;if("documentation"!==e.type)return[];const r=null==t?void 0:t.organizationDisplayName;return((null==(n=e.breadcrumbs)?void 0:n.length)?e.breadcrumbs:function(e){try{const t=new URL(e);return t.pathname.split("/").filter((e=>e.length>0)).slice(0,-1).map(l4)}catch(t){return console.error("Invalid URL:",t),[]}}(e.url)).map((e=>{let t=e;return r&&(t=function(e,t){if(!function(e){const t=e.split(" ");for(const n of t)if(n[0]!==n[0].toUpperCase()||n.slice(1)!==n.slice(1).toLowerCase())return!1;return!0}(t))return e;const n=`\\b${t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}\\b`;return new RegExp(`^${n}\\b`,"i").test(e)?e:e.replace(new RegExp(n,"gi"),t)}(e,r),t=J3(t,r)),t=t4(t),t=function(e){let t=e;return t=r4.reduce(((e,t)=>i4(e,t,o4(t),!0)),t),t=a4.reduce(((e,t)=>i4(e,t,o4(t))),t),t=n4.reduce(((e,t)=>i4(e,t,o4(t))),t),t}(t),t}))??[]},l4=e=>e.split(/[-_]/).map((e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase())).join(" ");const c4=(e,t)=>{var n;if("chatSourceItem"===t)return e.description??void 0;const r=e.breadcrumbs??[],a=r.length>0?r[r.length-1]:void 0,o=e.title||(null==(n=null==a?void 0:a.props)?void 0:n.str);return function(e,t){if(!e)return;if(!t)return e;const n=t.trim(),r=[n,`<em>${n}</em>`].find((t=>e.startsWith(t)));return r?e.slice(r.length).trim():e}(e.description,o)},u4=e=>{let t="LuBookOpen";"documentation"===e.type&&"book"===e.contentType?t="IoBookOutline":"documentation"===e.type&&"pdf"===e.contentType?t="FaFilePdf":"github_issue"===e.type||Z3(e.url)?t="FaGithub":"documentation"===e.type&&"site"===e.contentType?t="LuGlobe":"discourse"===e.type?t="FaDiscourse":"discord"===e.type?t="FaDiscord":"slack_message"===e.type?t="FaSlack":"stackoverflow"===e.type&&(t="FaStackOverflow");return{builtIn:t}},d4=(e,t)=>{let n=e.title;if(!n)return"";const r=null==t?void 0:t.organizationDisplayName;return n=t4(n),r&&(n=J3(n,r)),n},p4=(e,t,n)=>{const{transformSource:r,...a}=n,o=s4(e,n),i=((e,t)=>{var n,r,a;const o=[];"documentation"===e.type&&"book"===e.contentType?o.push("Publications"):"documentation"===e.type&&"pdf"===e.contentType&&o.push("PDFs"),("github_issue"===e.type||Z3(e.url))&&o.push("GitHub"),"discourse"===e.type&&o.push("Forums"),"discord"===e.type&&o.push("Discord"),"slack_message"===e.type&&o.push("Slack"),"stackoverflow"===e.type&&o.push("StackOverflow");const i=[],s=null==(n=null==t?void 0:t.tabs)?void 0:n.map((e=>"string"==typeof e?e:e[0]));for(const l of o)(null==s?void 0:s.includes(l))&&(l===(null==(r=e.breadcrumbs)?void 0:r[0])?i.push([l,{breadcrumbs:null==(a=e.breadcrumbs)?void 0:a.slice(1)}]):i.push(l));return i})(e,n),s=(null==r?void 0:r({...e,breadcrumbs:o,tabs:i},t,a))??{};return{id:(null==s?void 0:s.id)??e.id,title:(null==s?void 0:s.title)??d4(e,n),description:(null==s?void 0:s.description)??c4(e,t),breadcrumbs:(null==s?void 0:s.breadcrumbs)??o,icon:(null==s?void 0:s.icon)??u4(e),tabs:(null==s?void 0:s.tabs)??i,url:(null==s?void 0:s.url)??e.url,tag:(null==s?void 0:s.tag)??e.tag,type:(null==s?void 0:s.type)??e.type,shouldOpenInNewTab:(null==s?void 0:s.shouldOpenInNewTab)??void 0,appendToUrl:(null==s?void 0:s.appendToUrl)??void 0}},f4=_B("div",{_id:"aiChatWrapper"}),h4=V.forwardRef(((e,t)=>{const{...n}=e,{isHidden:r,isMobile:a}=Cj(),[o,i]=function(){const e=V.useRef(null),[t,n]=V.useState({width:0,height:0});return V.useEffect((()=>{if(!e.current)return;const t=new ResizeObserver((([e])=>{const{width:t,height:r}=e.contentRect;n({width:t,height:r})}));return t.observe(e.current),()=>{t.disconnect()}}),[e]),[e,t]}(),s=bB(t,o),l=!(null==i?void 0:i.width)||i.width>580,c=rD();return $f.jsx(f4,{ref:s,"data-widget-md":_P(l),"data-hidden":_P(r),"data-in-modal":_P(!!c),"data-mobile":_P(a),...n})})),m4=_B("div",{_id:"aiChatConversationLoading"}),g4=e=>{const{isLoadingConversation:t}=Cj();return t?$f.jsx(m4,{children:$f.jsx("span",{children:"Loading..."}),...e}):null},y4=_B("div",{_id:"aiChatRoot"}),b4=e=>{const{isLoadingConversation:t,isHidden:n}=Cj(),{form:r}=lD();return t||r?null:$f.jsx(y4,{"data-hidden":_P(n),...e})},v4=_B("div",{_id:"aiChatHeader"}),k4=_B("div",{_id:"aiChatHeader__Toolbar"}),w4=_B("div",{_id:"aiChatHeader__ToolbarHeaderWrapper"}),x4=_B("div",{_id:"aiChatHeader__ToolbarHeader"}),E4=V.memo((e=>{const{aiChatSettings:t}=WO(),n=`Ask ${t.aiAssistantName||"AI"}`;return $f.jsx(x4,{...e,children:n})})),S4=_B("div",{_id:"aiChatContent"}),_4=_B(L$,{_id:"aiChatContentScrollArea"}),T4=_B(D$,{_id:"aiChatContentScrollArea__Viewport"}),C4=V.forwardRef((({children:e,...t},n)=>{const{containerRef:r}=function(e={}){const{threshold:t=150,interactionTimeout:n=150}=e,r=V.useRef(null),a=V.useRef(!0),o=V.useRef(!1),i=V.useCallback((()=>{const e=r.current;return!!e&&e.scrollHeight-e.clientHeight-e.scrollTop<t}),[t]),s=V.useCallback(((e=!1)=>{const t=r.current;t&&!o.current&&t.scrollTo({top:t.scrollHeight,behavior:e?"smooth":"auto"})}),[]);return V.useEffect((()=>{const e=r.current;if(!e)return;let t;const s=()=>{o.current=!0,a.current=i(),window.clearTimeout(t),t=window.setTimeout((()=>{o.current=!1}),n)};return e.addEventListener("scroll",s,{passive:!0}),()=>{e.removeEventListener("scroll",s),window.clearTimeout(t)}}),[i,n]),V.useEffect((()=>{const e=r.current;if(!e)return;const t=new MutationObserver((e=>{e.some((e=>"childList"===e.type||"characterData"===e.type||"attributes"===e.type&&"style"===e.attributeName))&&a.current&&s(!0)}));return t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style"],characterData:!0}),()=>t.disconnect()}),[s]),V.useEffect((()=>{r.current&&s()}),[s]),{containerRef:r,scrollToBottom:s,isNearBottom:i}}(),a=bB(n,r);return $f.jsx(T4,{ref:a,children:$f.jsx("div",{"data-part":"grid",style:{display:"grid"},children:e}),...t})})),A4=_B(c$,{_id:"aiChatContentScrollArea__Scrollbar"}),N4=_B(k$,{_id:"aiChatContentScrollArea__Thumb"}),I4=_B(M$,{_id:"aiChatContentScrollArea__Corner"}),R4=_B("div",{_id:"aiChatMessages"}),O4=e=>{const t=Cj(),{children:n,...r}=e;return $f.jsx(R4,{children:CP(n,t),...r})},P4=_B("div",{_id:"aiChatDisclaimer"}),L4=V.memo((e=>{var t;const{aiChatSettings:n}=WO();return(null==(t=n.disclaimerSettings)?void 0:t.isEnabled)?$f.jsx(qU,{openDelay:100,children:$f.jsx(P4,{...e})}):null})),D4=_B("span",{_id:"aiChatDisclaimerLabel"}),M4=V.memo((e=>{const{aiChatSettings:t}=WO(),n=t.disclaimerSettings;return $f.jsx(D4,{children:null==n?void 0:n.label,...e})})),F4=_B(YU,{_id:"aiChatDisclaimerTrigger",children:$f.jsx(kW,{iconKey:"info"})}),j4=_B(KU,{_id:"aiChatDisclaimerContent"}),B4=e=>$f.jsx(j4,{side:"top",sideOffset:8,align:"end",alignOffset:-10,...e}),H4=_B(V3,{_id:"aiChatDisclaimerText"}),z4=V.memo((e=>{const{aiChatSettings:t}=WO(),n=t.aiAssistantName,r=t.disclaimerSettings,a=(null==r?void 0:r.tooltip)||`Information provided by ${n||"this AI assistant"} is not guaranteed to be accurate or comprehensive.`;return $f.jsx(H4,{shouldOpenLinksInNewTab:!0,children:a,...e})})),U4=_B(XU,{_id:"aiChatDisclaimerArrow"}),$4=_B("div",{_id:"aiChatExampleQuestions"}),G4=e=>{var t;const{aiChatSettings:n}=WO(),{messages:r}=Cj();return!(null==(t=n.exampleQuestions)?void 0:t.length)||r.length?null:$f.jsx($4,{...e})},V4=_B("h3",{_id:"aiChatExampleQuestionsLabel"}),W4=V.memo((e=>{const{aiChatSettings:t}=WO();return $f.jsx(V4,{children:t.exampleQuestionsLabel,...e})})),q4=_B("div",{_id:"aiChatExampleQuestionsList"}),Y4=V.memo((e=>{const{aiChatSettings:t}=WO(),n=t.exampleQuestions,{children:r,...a}=e;return $f.jsx(q4,{children:CP(r,n),...a})})),K4=_B("div",{_id:"aiChatExampleQuestion"}),X4=V.forwardRef(((e,t)=>{const{aiChatSettings:n}=WO(),r=n.isFirstExampleQuestionHighlighted;return $f.jsx(K4,{ref:t,"data-highlight":_P(r),...e})})),Q4=_B("button",{_id:"aiChatExampleQuestionButton"}),Z4=e=>{const{question:t,onClick:n,...r}=e,{handleSubmit:a}=Cj();return $f.jsx(Q4,{onClick:Q3(n,(()=>a(t))),children:t,...r})};_B("div",{_id:"aiChatWorkflows"});const J4=_B("h3",{_id:"aiChatWorkflowsLabel"});V.memo((e=>{const{aiChatSettings:t}=WO();return $f.jsx(J4,{children:t.workflowsHeader,...e})}));const e6=_B("div",{_id:"aiChatWorkflowsList"});V.memo((e=>{const{aiChatSettings:t}=WO(),n=t.workflows,{children:r,...a}=e;return $f.jsx(e6,{children:CP(r,n),...a})})),_B("button",{_id:"aiChatWorkflow"}),_B((function(e){return FV({attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{d:"M11.983 1.907a.75.75 0 0 0-1.292-.657l-8.5 9.5A.75.75 0 0 0 2.75 12h6.572l-1.305 6.093a.75.75 0 0 0 1.292.657l8.5-9.5A.75.75 0 0 0 17.25 8h-6.572l1.305-6.093Z"},child:[]}]})(e)}),{_id:"aiChatWorkflow__Icon"});const t6=_B("div",{_id:"aiChatMessageWrapper"}),n6=e=>{const{message:t,...n}=e;return"system"===t.role?null:$f.jsx(Vj,{message:t,children:$f.jsx(t6,{"data-role":t.role,...n})})},r6=V.memo((e=>{const{message:t,...n}=e,{aiChatSettings:r,baseSettings:a}=WO(),o=r.aiAssistantName,i=o?`Hi, I'm ${o}!`:"Hi!",s=r.chatSubjectName??a.organizationDisplayName,l=`${i} \n\n I'm an AI assistant trained on documentation, help articles, and other content.`,c=s?`\n\n Ask me anything about \`${s}\`.`:"\n\n Let me know how I can help.",u={content:r.introMessage??`${l}${c}`,id:"__intro__",...t,role:"assistant",links:[]};return $f.jsx(n6,{message:u,...n})})),a6=_B("div",{_id:"aiChatMessageHeader"}),o6=e=>{const{message:t}=Wj();return $f.jsx(a6,{"data-role":t.role,...e})},i6=_B("div",{_id:"aiChatMessageLoading"}),s6=e=>{var t;const{isLoading:n,isStreaming:r,messages:a}=Cj(),{message:o}=Wj();return(null==(t=a.at(-1))?void 0:t.id)===(null==o?void 0:o.id)&&"assistant"===o.role&&n&&!r?$f.jsx(i6,{children:"Thinking...",...e}):null},l6=_B("div",{_id:"aiChatMessageAvatar"}),c6=e=>{const{message:t}=Wj();return $f.jsx(l6,{"data-role":t.role,...e})},u6=_B(ZB,{_id:"aiChatMessageAvatarContent"}),d6=e=>{const{message:t}=Wj(),{baseSettings:n}=WO();return $f.jsx(u6,{"data-username":_P("user"===t.role&&!!n.userProperties.name),"data-role":t.role,...e})},p6=_B(eH,{_id:"aiChatMessageAvatarFallback"}),f6=V.memo((e=>{const{baseSettings:t}=WO(),{message:n}=Wj();return t.userProperties.name?$f.jsx(p6,{"data-role":n.role,children:TP(t.userProperties.name),...e}):null})),h6=_B(JB,{_id:"aiChatMessageAvatarImage"}),m6=V.memo((e=>{const{onLoadingStatusChange:t,...n}=e,{aiChatSettings:r,baseSettings:{userProperties:a}}=WO(),{message:o}=Wj(),{aiAssistantAvatar:i}=r??{},s="string"==typeof i?i:null==i?void 0:i.light,l=Zj(s,("string"==typeof i?i:null==i?void 0:i.dark)??s),[c,u]=V.useState(l);V.useEffect((()=>{u(l)}),[l]);return"user"===o.role?a.name?null:r.userAvatar?$f.jsx(h6,{"data-type":"image","data-role":o.role,src:r.userAvatar,...e}):$f.jsx(HV,{"data-type":"icon","data-role":o.role,...e}):c?$f.jsx(h6,{src:c,"data-type":"image","data-role":o.role,onLoadingStatusChange:Q3(t,(e=>{"error"===e&&u(null)})),...n}):$f.jsx(BV,{"data-type":"icon","data-role":o.role,...e})})),g6=_B("span",{_id:"aiChatMessageName"}),y6=e=>{const{message:t}=Wj();return $f.jsx(g6,{"data-role":t.role,children:"user"===t.role?"You":"AI assistant",...e})},b6=_B("div",{_id:"aiChatMessageContentWrapper"}),v6=e=>{const{message:t}=Wj();return $f.jsx(b6,{"data-role":t.role,...e})},k6=_B("div",{_id:"aiChatMessageContent"}),w6=e=>{const{message:t}=Wj();return $f.jsx(k6,{"data-role":t.role,...e})},x6=_B("div",{_id:"aiChatMessageAttachments"}),E6=_B("div",{_id:"aiChatMessageAttachments__List"}),S6=e=>{var t,n;const{children:r,...a}=e,{message:o}=Wj(),i=null==(n=null==(t=o.metadata)?void 0:t.attributes)?void 0:n.attachments;return i?$f.jsx(E6,{children:CP(r,i),...a}):null},_6=_B("div",{_id:"aiChatMessageAttachments__Item"}),T6=e=>{const{attachment:t,onClick:n,...r}=e,{selectItem:a,onOpen:o}=$j();return $f.jsx(Vf,{attachment:t,children:$f.jsx(_6,{onClick:Q3(n,(()=>{a(t),o()})),...r})})},C6=_B(bW,{_id:"aiChatMessageAttachments__ItemIcon"}),A6=e=>{var t;const{attachment:n}=Wf(),r=null==(t=n.contentType)?void 0:t.attachmentIcon;return r?$f.jsx(C6,{iconSettings:r,...e}):null},N6=_B("span",{_id:"aiChatMessageAttachments__ItemTitle"}),I6=e=>{const{attachment:t}=Wf();return $f.jsx(N6,{children:t.title,...e})},R6=_B(EV,{_id:"aiChatMessageAttachmentsPreview"}),O6=_B(SV,{_id:"aiChatMessageAttachmentsPreview__Overlay"}),P6=_B(_V,{_id:"aiChatMessageAttachmentsPreview__Content","aria-describedby":void 0}),L6=_B(TV,{_id:"aiChatMessageAttachmentsPreview__Header"}),D6=e=>{const{selectedItem:t}=$j();return $f.jsx(L6,{children:(null==t?void 0:t.title)||"Attachment",...e})},M6=_B(CV,{_id:"aiChatMessageAttachmentsPreview__Close",children:$f.jsx(kW,{iconKey:"close"})}),F6=_B("p",{_id:"aiChatMessageAttachmentsPreview__Body"}),j6=e=>{const{selectedItem:t}=$j();return $f.jsx(F6,{children:null==t?void 0:t.content,...e})},B6=_B("div",{_id:"aiChatMessage"}),H6=e=>{const{aiChatSettings:t}=WO(),{componentStyles:n,...r}=e,{message:a}=Wj(),{logEvent:o}=dP(),i=AP(a),{conversation:s}=XO();return"user"===a.role?$f.jsx(B6,{"data-role":a.role,children:i,...r}):$f.jsx(B6,{"data-role":a.role,...r,children:$f.jsx(V3,{children:i,componentStyles:n,shouldOpenLinksInNewTab:t.shouldOpenLinksInNewTab,onLinkClick:(e,t)=>{o({eventName:"assistant_message_inline_link_opened",properties:{title:null==t?void 0:t.toString(),url:e}})},onCodeCopy:(e,t)=>{o({eventName:"assistant_code_block_copied",properties:{conversation:s,language:e,code:t}})}})})},z6=_B("div",{_id:"aiChatMessageActions"}),U6=e=>{var t;const{isLoading:n,messages:r}=Cj(),{message:a}=Wj();return(null==(t=r.at(-1))?void 0:t.id)===(null==a?void 0:a.id)&&n||"user"===a.role?null:$f.jsx(z6,{...e})},$6=_B("div",{_id:"aiChatMessageToolActions"}),G6=e=>{const{children:t,...n}=e,{message:r}=Wj(),{messageToolCalls:a}=Cj(),o=a[r.id]||[];return $f.jsx($6,{children:CP(t,o),...n})},V6=e=>{const{onClick:t,action:n,...r}=e,{handleAction:a}=K3(n),o=n.label||"Contact Support",i=$f.jsxs($f.Fragment,{children:[n.icon&&$f.jsx(bW,{iconSettings:n.icon}),o]}),s=n.action.type,l=_B("open_link"===s?"a":"button",{_id:"aiChatMessageToolAction",children:i,"data-type":n.action.type,..."open_link"===s&&{href:n.action.url,target:"_blank",rel:"noopener"},onClick:Q3(t,(()=>{a()}))});return $f.jsx(l,{...r})},W6=_B("button",{_id:"aiChatMessageAction"}),q6=e=>{var t,n,r;const{action:a,onClick:o,className:i,...s}=e,{conversation:l}=XO(),{message:c}=Wj(),{isStreaming:u,messages:d}=Cj(),[p,f]=k3(),{feedback:h,submitPositiveFeedback:m,setCurrentFeedback:g,currentFeedback:y}=wD(),{logEvent:b}=dP(),[v,k]=function(){const[e,t]=V.useState(!1);return[e,V.useCallback((async()=>(t(!0),setTimeout((()=>{t(!1)}),1e3),!0)),[])]}(),{baseSettings:{privacyPreferences:w}}=WO(),{optOutAllAnalytics:x}=w,E=(null==(t=d.at(-1))?void 0:t.id)===(null==c?void 0:c.id),S="assistant"===c.role;if(E&&u||!S||{copy:!1,upvote:x,downvote:x}[a])return null;const _={copy(){f(AP(c)),b({eventName:"assistant_message_copied",properties:{conversation:l}})},upvote(){m(c.id).then((()=>{k()}))},downvote(){g(c.id)}},T={copy:$f.jsx(kW,{iconKey:p?"messageCopied":"messageCopy"}),upvote:$f.jsx(kW,{iconKey:v?"messageCopied":"thumbsUp"}),downvote:$f.jsx(kW,{iconKey:"thumbsDown"})},C={copy:{"data-copied":_P(p)},upvote:{"data-upvoted":_P("positive"===(null==(n=h[c.id])?void 0:n.type))},downvote:{"data-downvoted":_P("negative"===(null==(r=h[c.id])?void 0:r.type)),"data-state":null===y?"closed":"open"}};return $f.jsx(W6,{"data-action":a,...C[a],children:T[a],"aria-label":{copy:"Copy Message",upvote:"Upvote Message",downvote:"Downvote Message"}[a],className:`${i} ${a}`,onClick:Q3(o,_[a]),...s})},Y6=_B("div",{_id:"aiChatMessageSources"}),K6=_B("div",{_id:"aiChatMessageSources__Header"}),X6=e=>$f.jsx(K6,{children:"Sources",...e}),Q6=_B("div",{_id:"aiChatMessageSources__List"}),Z6=e=>{const{message:t}=Wj(),{children:n,...r}=e,{baseSettings:{transformSource:a,organizationDisplayName:o},aiChatSettings:{shouldOpenLinksInNewTab:i},searchSettings:{tabs:s}}=WO();if("assistant"!==t.role)return null;const l=t.links.map((e=>{const t=p4(e,"chatSourceItem",{organizationDisplayName:o,tabs:s,transformSource:a}),n=void 0!==t.shouldOpenInNewTab?t.shouldOpenInNewTab:i;return{...t,isExternal:n}}));return $f.jsx(Q6,{children:CP(n,l),...r})},J6=_B(xW,{_id:"aiChatMessageSourceItem"}),e8=e=>{var t;const{source:n,onClick:r,...a}=e,{logEvent:o}=dP(),{conversation:i}=XO();return $f.jsx(fB,{source:n,children:$f.jsx(J6,{"data-type":n.type,appendToUrl:n.appendToUrl,isExternal:n.isExternal,"data-breadcrumbs":!!(null==(t=n.breadcrumbs)?void 0:t.length),onClick:Q3(r,(()=>{o({eventName:"assistant_source_item_clicked",properties:{conversation:i,link:n}})})),...a})})},t8=_B("div",{_id:"aiChatMessageSourceItem__Breadcrumbs"}),n8=e=>{var t;const{source:n}=hB();return(null==(t=n.breadcrumbs)?void 0:t.length)?$f.jsx(t8,{"data-type":n.type,...e}):null},r8=_B(kW,{_id:"aiChatMessageSourceItem__BreadcrumbIcon",iconKey:"breadcrumbSeparator"}),a8=_B(bW,{_id:"aiChatMessageSourceItem__Icon"}),o8=e=>{const{source:t}=hB();return $f.jsx(a8,{iconSettings:t.icon,"data-type":t.type,...e})},i8=_B("span",{_id:"aiChatMessageSourceItem__Title"}),s8=e=>{const{source:t}=hB();return $f.jsx(i8,{"data-type":t.type,children:t.title,...e})},l8=_B("span",{_id:"aiChatMessageSourceItem__Tag"}),c8=e=>{const{source:t}=hB();return $f.jsx(l8,{"data-type":t.type,...e})},u8=_B("span",{_id:"aiChatMessageSourceItem__Description"}),d8=e=>{const{source:t}=hB(),{children:n,...r}=e,a=V.useMemo((()=>t.description?X3(t.description):[]),[t.description]);return a.length?$f.jsx(u8,{"data-type":t.type,children:CP(n,a),...r}):null},p8=_B("span",{_id:"aiChatMessageSourceItem__DescriptionPart"}),f8=e=>{const{part:t,...n}=e,{source:r}=hB();return"string"==typeof t?t:$f.jsx(p8,{"data-type":r.type,children:t.content,"data-highlighted":_P(t.highlighted),...n})},h8=_B(kW,{_id:"aiChatMessageSourceItem__Indicator"}),m8=e=>{const{source:t}=hB();return $f.jsx(h8,{iconKey:t.isExternal?"openLinkInNewTab":"openLinkInSameTab",...e})},g8=_B("div",{_id:"aiChatFooter"}),y8=_B("div",{_id:"aiChatInput__Fieldset"}),b8=_B("div",{_id:"aiChatInput__Group"}),v8=_B("textarea",{_id:"aiChatInput"}),k8=V.forwardRef((({onChange:e,onKeyDown:t,...n},r)=>{const{handleInputChange:a,handleInputKeyDown:o,input:i,error:s,shouldAutoFocusInput:l,inputRef:c}=Cj(),{aiChatSettings:u}=WO(),d=bB(r,c),p=rD();return V.useEffect((()=>{requestAnimationFrame((()=>{l&&(null==c?void 0:c.current)&&(c.current.focus(),c.current.selectionStart=c.current.value.length)}))}),[l,c,null==p?void 0:p.isOpen]),$f.jsx(v8,{asChild:!0,ref:d,maxLength:99999,placeholder:u.placeholder,value:i,onChange:Q3(e,a),onKeyDown:Q3(t,o),disabled:!!s||u.isViewOnly,...n,children:$f.jsx(zB,{})})})),w8=_B("button",{_id:"aiChatInput__SendButton"}),x8=e=>{const{handleSubmit:t,isSubmitDisabled:n,error:r}=Cj(),{aiChatSettings:a}=WO(),{onClick:o,...i}=e;return $f.jsx(w8,{onClick:Q3(o,(()=>t())),"aria-label":"Send message",disabled:n||!!r||a.isViewOnly,...i})},E8=_B(kW,{_id:"aiChatInput__SendButtonIcon",iconKey:"chatSubmit"}),S8=_B("div",{_id:"aiChatAttachmentsBar"}),_8=e=>{var t;const{selectedWorkflow:n}=Cj();return n&&(null==(t=n.supportedInputs)?void 0:t.length)?$f.jsx(Nj,{children:$f.jsx(S8,{...e})}):null},T8=_B("div",{_id:"aiChatAttachmentsBar__List"}),C8=e=>{const{children:t,...n}=e,{messageAttachments:r}=Cj();return $f.jsx(T8,{children:CP(t,r),...n})},A8=_B("div",{_id:"aiChatAttachmentsBar__Attachment"}),N8=e=>{const{attachment:t,...n}=e;return $f.jsx(Vf,{attachment:t,children:$f.jsx(A8,{...n})})},I8=_B(bW,{_id:"aiChatAttachmentsBar__AttachmentIcon"}),R8=e=>{var t;const{attachment:n}=Wf(),r=null==(t=n.contentType)?void 0:t.attachmentIcon;return r?$f.jsx(I8,{iconSettings:r,...e}):null},O8=_B("span",{_id:"aiChatAttachmentsBar__AttachmentTitle"}),P8=e=>{const{attachment:t}=Wf();return $f.jsx(O8,{children:t.title,...e})},L8=_B("button",{_id:"aiChatAttachmentsBar__AttachmentDelete"}),D8=e=>{const{onClick:t,...n}=e,{attachment:r}=Wf(),{setMessageAttachments:a}=Cj();return $f.jsx(L8,{"aria-label":"Remove attachment",children:$f.jsx(kW,{iconKey:"close"}),onClick:Q3(t,(()=>{a((e=>e.filter((e=>e.id!==r.id))))})),...n})},M8=_B("div",{_id:"aiChatAttachmentsBar__Actions"}),F8=_B(lj,{_id:"aiChatAttachmentsBar__InfoTip",delayDuration:0}),j8=_B(xj,{_id:"aiChatAttachmentsBar__InfoTipIcon",children:$f.jsx(kW,{iconKey:"info"})}),B8=_B(Sj,{_id:"aiChatAttachmentsBar__InfoTipArrow"}),H8=_B(Ej,{_id:"aiChatAttachmentsBar__InfoTipText",side:"bottom",sideOffset:3,align:"center",children:$f.jsxs($f.Fragment,{children:[$f.jsx(B8,{}),"Attachments will be kept in context for the entire conversation."]})}),z8=_B("div",{_id:"aiChatAttachmentsBar__Inputs"}),U8=e=>{const{children:t,...n}=e,{selectedWorkflow:r}=Cj();return(null==r?void 0:r.supportedInputs)?$f.jsx(z8,{children:CP(t,r.supportedInputs),...n}):null},$8=_B("button",{_id:"aiChatAttachmentsBar__Input"}),G8=e=>{const{input:t,onClick:n,...r}=e,{selectedWorkflow:a,messageAttachments:o,setMessageAttachments:i}=Cj(),{selectInput:s,onOpen:l}=Ij();return $f.jsx($8,{children:t.displayName,onClick:Q3(n,(()=>{if("FUNCTIONAL_MULTI_ATTACHMENT"===t.type){if(!a)return;return t.onInvoke(a,t,i,[...o])}s(t),l()})),...r})},V8=_B((function(e){return FV({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 112v288m144-144H112"},child:[]}]})(e)}),{_id:"aiChatAttachmentsBar__InputIcon"}),W8=_B(EV,{_id:"aiChatAttachmentsBar__Modal"}),q8=_B(SV,{_id:"aiChatAttachmentsBar__ModalOverlay"}),Y8=_B(_V,{_id:"aiChatAttachmentsBar__ModalContent","aria-describedby":void 0}),K8=_B("div",{_id:"aiChatAttachmentsBar__ModalHeader"}),X8=_B(TV,{_id:"aiChatAttachmentsBar__ModalHeading"}),Q8=e=>{const{selectedInput:t}=Ij(),n=`Add ${null==t?void 0:t.displayName}`;return $f.jsx(X8,{children:n,...e})},Z8=_B("span",{_id:"aiChatAttachmentsBar__ModalDescription"}),J8=e=>{var t;const{selectedInput:n}=Ij(),r=null==(t=null==n?void 0:n.workflowModalProps)?void 0:t.modalHelpText;return r?$f.jsx(Z8,{children:r,...e}):null},e9=_B("div",{_id:"aiChatAttachmentsBar__ModalHelp"}),t9=_B(CV,{_id:"aiChatAttachmentsBar__ModalClose",children:$f.jsx(kW,{iconKey:"close"})}),n9=_B("div",{_id:"aiChatAttachmentsBar__ModalBody"}),r9=_B("form",{_id:"aiChatAttachmentsBar__Form"}),a9=e=>{const{onSubmit:t,...n}=e,{form:r}=Ij();return $f.jsx(r9,{onSubmit:Q3(t,r.onSubmit),...n})},o9=_B("div",{_id:"aiChatAttachmentsBar__FormTitle",role:"group"}),i9=_B("label",{_id:"aiChatAttachmentsBar__FormTitleLabel"}),s9=e=>{const{form:t,selectedInput:n}=Ij();return $f.jsx(i9,{htmlFor:`${null==n?void 0:n.id}-title`,children:t.labels.title,...e})},l9=_B("input",{_id:"aiChatAttachmentsBar__FormTitleInput"}),c9=e=>{const{onChange:t,...n}=e,{form:r,selectedInput:a}=Ij();return $f.jsx(l9,{name:"title",value:r.data.title,id:`${null==a?void 0:a.id}-title`,"data-invalid":_P(!!r.errors.title),"aria-invalid":!!r.errors.title,onChange:Q3(t,r.onChange),...n})},u9=_B("span",{_id:"aiChatAttachmentsBar__FormTitleError"}),d9=e=>{const{form:t}=Ij();return t.errors.title?$f.jsx(u9,{"aria-live":"polite",children:t.errors.title,...e}):null},p9=_B("div",{_id:"aiChatAttachmentsBar__FormTitle",role:"group"}),f9=_B("label",{_id:"aiChatAttachmentsBar__FormContentLabel"}),h9=e=>{const{form:t,selectedInput:n}=Ij();return $f.jsx(f9,{htmlFor:`${null==n?void 0:n.id}-content`,children:t.labels.content,...e})},m9=_B("textarea",{_id:"aiChatAttachmentsBar__FormTitleInput"}),g9=e=>{const{onChange:t,...n}=e,{form:r,selectedInput:a}=Ij();return $f.jsx(m9,{asChild:!0,rows:4,name:"content",value:r.data.content,id:`${null==a?void 0:a.id}-content`,"data-invalid":_P(!!r.errors.content),"aria-invalid":!!r.errors.content,onChange:Q3(t,r.onChange),...n,children:$f.jsx(zB,{maxRows:10})})},y9=_B("span",{_id:"aiChatAttachmentsBar__FormContentError"}),b9=e=>{const{form:t}=Ij();return t.errors.content?$f.jsx(y9,{"aria-live":"polite",children:t.errors.content,...e}):null},v9=_B("button",{_id:"aiChatAttachmentsBar__FormSubmitButton",children:"Upload",type:"submit"}),k9=_B("div",{_id:"aiChatActionBar"}),w9=_B("div",{_id:"aiChat__ChatActions"}),x9=_B("div",{_id:"aiChatTagline__Container"}),E9=_B("span",{_id:"aiChatTagline__Text",children:"Powered by"}),S9=_B(Y3,{_id:"aiChatTagline__Logo"}),_9=_B("a",{_id:"aiChatTagline__BrandName",children:"inkeep",href:"https://www.inkeep.com/",target:"_blank",rel:"noopener noreferrer"}),T9=_B("div",{_id:"aiChat__ChatAction"}),C9=e=>{const{action:t,onClick:n,className:r,...a}=e,{clear:o,stop:i,isLoading:s,messages:l,selectedWorkflow:c}=Cj(),{conversation:u}=XO(),{aiChatSettings:d,baseSettings:p}=WO(),{logEvent:f}=dP(),[h,m]=k3(),[g,y]=k3();if({help:!1,copy:0===l.length||!d.isCopyChatButtonVisible||s,share:0===l.length||!d.isShareButtonVisible||!u.id||!!c||s,clear:0===l.length||d.isViewOnly||s,stop:!s}[t])return null;const b={help:()=>{},copy:()=>{const e=l.map((e=>{var t,n;const r=`**${"assistant"===e.role?"AI Assistant":"User"}**`,a=AP(e),o=gP(null==(n=null==(t=e.metadata)?void 0:t.attributes)?void 0:n.attachments);return`${r}\n\n${a}${o?`\n\n**Attachments**\n\n${o}`:""}`})).join("\n\n---\n\n");m(e)},share:async()=>{const e={visibility:"public",tags:[],userProperties:{},messages:u.messages.map((e=>({...e,id:Date.now().toString()+e.id,conversationId:void 0})))},{apiKey:t,analyticsApiBaseUrl:n}=p,r=await ub("",e,t,n);if(r){const e=`${d.shareChatUrlBasePath}?${qO}=${null==r?void 0:r.id}`;y(e),f({eventName:"chat_share_button_clicked",properties:{sharedConversationId:null==r?void 0:r.id,originalConversationId:u.id,sharedChatUrl:e,conversation:r}})}},clear:o,stop:i},v={copy:h,share:g};return $f.jsx(lj,{delayDuration:0,open:v[t],children:$f.jsx(T9,{"data-type":t,"data-copied":_P(h||g),className:`${r} ${t}`,children:$f.jsx(N9,{action:t}),onClick:Q3(n,b[t]),...a})})},A9=_B(xj,{_id:"aiChat__ChatActionLabel"}),N9=e=>{const{action:t,...n}=e,{aiChatSettings:r}=WO(),a=r.toolbarButtonLabels??{},o={help:a.getHelp??"Get Help",copy:a.copyChat??"Copy",share:a.share??"Share",clear:a.clear??"Clear",stop:a.stop??"Stop"};return $f.jsx(A9,{children:o[t],...n})},I9=_B(hj,{_id:"aiChat__ChatActionFeeback"}),R9=e=>{const{action:t,children:n,...r}=e;return $f.jsxs(I9,{sideOffset:5,...r,children:[$f.jsx(Sj,{}),n||{copy:"Copied!",share:"Link copied!"}[t]]})},O9=_B($z,{_id:"aiChatHelpActions"}),P9=_B(C9,{_id:"aiChatHelpAction",action:"help"}),L9=_B("a",{_id:"aiChatHelpAction",target:"_blank",rel:"noreferrer"}),D9=e=>{const{action:t,onClick:n,...r}=e,{handleAction:a,logHelpAction:o}=K3(t),i=t.action.type,s={"aria-label":t.name,"data-name":t.name,children:t.name,onClick:Q3(n,(()=>{a(),o()})),...r};return"open_link"===i?$f.jsx(L9,{href:t.action.url,...s}):$f.jsx(P9,{...s})},M9=_B(Gz,{_id:"aiChatHelpActions__Trigger"}),F9=V.memo((e=>{var t;const{aiChatSettings:n}=WO();return $f.jsx(C9,{action:"help",...e,asChild:!0,children:$f.jsx(M9,{children:(null==(t=n.toolbarButtonLabels)?void 0:t.getHelp)??"Get Help"})})})),j9=_B(Vz,{_id:"aiChatHelpActions__Menu"}),B9=e=>$f.jsx(j9,{side:"top",sideOffset:8,align:"center",alignOffset:-10,...e}),H9=_B(Wz,{_id:"aiChatHelpActions__MenuArrow"}),z9=e=>{const{action:t,onClick:n,...r}=e,{handleAction:a,logHelpAction:o}=K3(t),{setOpen:i}=(()=>{const e=V.useContext(Fj);if(!e)throw new Error("useHelpMenu must be used within a HelpMenuProvider");return e})(),s=t.action.type,l=_B("open_link"===s?"a":"button",{_id:"aiChatHelpActions__MenuItem",children:t.name,"aria-label":t.name,"data-name":t.name,"data-type":t.action.type,..."open_link"===s&&{href:t.action.url,target:"_blank",rel:"noopener"},onClick:Q3(n,(()=>{a({onOpenForm:()=>i(!1)}),o()}))});return $f.jsx(l,{...r})},U9=_B(bW,{_id:"aiChatHelpActions_MenuItemIcon"}),$9=e=>{const{action:t,...n}=e;return t.icon?$f.jsx(U9,{iconSettings:t.icon,...n}):null},G9=_B(EV,{_id:"aiChatFeedbackModal"}),V9=_B(SV,{_id:"aiChatFeedbackModal__Overlay"}),W9=_B(_V,{_id:"aiChatFeedbackModal__Content","aria-describedby":void 0}),q9=_B(TV,{_id:"aiChatFeedbackModal__Header",children:"Help improve my answers!"}),Y9=_B(CV,{_id:"aiChatFeedbackModal__Close",children:$f.jsx(kW,{iconKey:"close"})}),K9=_B("div",{_id:"aiChatFeedbackModal__Body"}),X9=_B("form",{_id:"aiChatFeedbackForm"}),Q9=e=>{const{onSubmit:t,...n}=e,{submitNegativeFeedback:r,currentFeedback:a,setCurrentFeedback:o}=wD();return $f.jsx(X9,{onSubmit:Q3(t,(e=>{e.preventDefault();const t=e.target,n=new FormData(t),i=Object.fromEntries(n.entries());a&&(r(a,i),o(null))})),...n})},Z9=_B("div",{_id:"aiChatFeedbackItem"}),J9=e=>{const{name:t,...n}=e;return $f.jsx(Oj,{name:t,children:$f.jsx(Z9,{...n})})},e7=_B(fH,{_id:"aiChatFeedbackItem__Checkbox"}),t7=e=>{const{name:t,focusItem:n}=Pj(),{onCheckedChange:r,...a}=e;return $f.jsx(e7,{id:`feedback-${t}`,name:t,onCheckedChange:Q3(r,(e=>{var t;e&&(null==(t=null==n?void 0:n.current)||t.focus())})),...a})},n7=_B(hH,{_id:"aiChatFeedbackItem__CheckboxIndicator",children:$f.jsx(q3,{})}),r7=_B("label",{_id:"aiChatFeedbackItem__Label"}),a7=e=>{const{name:t}=Pj();return $f.jsx(r7,{htmlFor:`feedback-${t}`,children:{unrelated_response:"Didn't answer my question",inaccurate_statement:"Inaccurate statement",inaccurate_code_snippet:"Inaccurate code snippet",irrelevant_citations:"Irrelevant citations"}[t],...e})},o7=_B("textarea",{_id:"aiChatFeedbackItem__Description",placeholder:"Please describe"}),i7=e=>{const{name:t,focusItem:n}=Pj();return $f.jsx(o7,{ref:n,name:`${t}:description`,...e})},s7=_B("button",{_id:"aiChatFeedbackForm__SubmitButton",children:"Submit",type:"submit"}),l7=_B("div",{_id:"aiChatForm__Wrapper"}),c7=e=>{const{form:t}=lD();return t?$f.jsx(l7,{...e}):null},u7=_B("form",{_id:"aiChatForm"}),d7=e=>{const{onSubmit:t,...n}=e,{handleSubmit:r,isSuccess:a}=lD();return a?null:$f.jsx(u7,{onSubmit:Q3(t,r),...n})},p7=_B("button",{_id:"aiChatForm__Close",children:$f.jsx(kW,{iconKey:"close"})}),f7=e=>{const{onClick:t,...n}=e,{closeForm:r}=lD();return $f.jsx(p7,{onClick:Q3(t,r),...n})},h7=_B("div",{_id:"aiChatForm__Header"}),m7=_B("h2",{_id:"aiChatForm__Heading"}),g7=e=>{const{form:t}=lD();return(null==t?void 0:t.heading)?$f.jsx(m7,{children:t.heading,...e}):null},y7=_B("span",{_id:"aiChatForm__Description"}),b7=e=>{const{form:t}=lD();return(null==t?void 0:t.description)?$f.jsx(y7,{children:t.description,...e}):null},v7=_B("div",{_id:"aiChatForm__Content"}),k7=e=>{const{children:t,...n}=e,{fields:r=[]}=lD();return $f.jsx(v7,{children:CP(t,r),...n})},w7=_B("div",{_id:"aiChatForm__Field"}),x7=e=>{const{field:t,autoFocus:n,...r}=e,{control:a,errors:o}=lD();return $f.jsx(bL,{name:t.name,control:a,rules:{required:t.isRequired?`${t.label} is required.`:void 0},render:({field:e})=>{const a=void 0!==e.value||"file"===t.inputType;return $f.jsx(Dj,{"data-invalid":_P(!!o[t.name]),field:t,fieldProps:e,autoFocus:n,children:a&&$f.jsx(w7,{"data-input-type":t.inputType,"data-hidden":_P(t.isHidden),...r})})}})},E7=_B("label",{_id:"aiChatForm__FieldLabel"}),S7=e=>{const{field:t}=Mj();return $f.jsx(E7,{"data-required":_P(t.isRequired),htmlFor:t.name,children:t.label,...e})},_7=_B("input",{_id:"aiChatForm__FieldText",type:"text"}),T7=e=>{const{field:t,error:n,fieldProps:{onChange:r,onBlur:a,...o},autoFocus:i}=Mj(),{onChange:s,onBlur:l,...c}=e;return $f.jsx(_7,{id:t.name,autoFocus:i,placeholder:"placeholder"in t?t.placeholder:void 0,"data-invalid":_P(!!n),onChange:Q3(s,r),onBlur:Q3(l,a),...o,...c})},C7=_B(T7,{_id:"aiChatForm__FieldEmail",type:"email"}),A7=_B("input",{_id:"aiChatForm__FieldFile",type:"file",multiple:!0}),N7=e=>{const{field:t,error:n,fieldProps:{value:r,onChange:a,onBlur:o,...i},autoFocus:s}=Mj(),{onChange:l,onBlur:c,...u}=e;return $f.jsx(A7,{id:t.name,autoFocus:s,"data-value":r,"data-invalid":_P(!!n),...u,...i,onChange:Q3(l,(e=>{const t=e.target.files;a(t)})),onBlur:Q3(c,o)})},I7=_B(T7,{_id:"aiChatForm__FieldTextArea",type:"textarea",asChild:!0,children:$f.jsx(zB,{maxRows:8})}),R7=_B(fH,{_id:"aiChatForm__FieldCheckbox"}),O7=e=>{const{field:t,error:n,fieldProps:r,autoFocus:a}=Mj(),{onCheckedChange:o,...i}=e;return $f.jsx(R7,{id:t.name,name:t.name,autoFocus:a,"data-invalid":_P(!!n),checked:r.value,onCheckedChange:Q3(o,r.onChange),...i})},P7=_B(hH,{_id:"aiChatForm__FieldCheckboxIndicator",children:$f.jsx(q3,{})}),L7=_B(DG,{_id:"aiChatForm__FieldSelect"}),D7=_B(MG,{_id:"aiChatForm__FieldSelect__Trigger"}),M7=_B(FG,{_id:"aiChatForm__FieldSelect__Value"}),F7=_B(jG,{_id:"aiChatForm__FieldSelect__Icon",asChild:!0,children:$f.jsx(bW,{iconSettings:{builtIn:"LuChevronDown"}})}),j7=_B(BG,{_id:"aiChatForm__FieldSelect__Content",position:"popper"}),B7=_B(HG,{_id:"aiChatForm__FieldSelect__Viewport"}),H7=_B(zG,{_id:"aiChatForm__FieldSelect__Item"}),z7=_B(UG,{_id:"aiChatForm__FieldSelect__ItemText"}),U7=_B($G,{_id:"aiChatForm__FieldSelect__ItemIndicator",asChild:!0,children:$f.jsx(bW,{iconSettings:{builtIn:"LuCheck"}})}),$7=_B("span",{_id:"aiChatForm__FieldError"}),G7=e=>{var t;const{error:n}=Mj();return n?$f.jsx($7,{children:null==(t=n.message)?void 0:t.toString(),...e}):null},V7=_B("span",{_id:"aiChatForm__Error"}),W7=e=>{const{formError:t}=lD();return t?$f.jsx(V7,{children:t.message,...e}):null},q7=_B("div",{_id:"aiChatForm__Footer"}),Y7=_B("button",{_id:"aiChatForm__Cancel",children:"Cancel"}),K7=e=>{const{onClick:t,...n}=e,{closeForm:r}=lD();return $f.jsx(Y7,{onClick:Q3(t,r),...n})},X7=_B("button",{_id:"aiChatForm__Submit",children:"Submit",type:"submit"}),Q7=e=>{const{onClick:t,...n}=e,{isSubmitting:r}=lD();return $f.jsx(X7,{disabled:r,...n})},Z7=_B("div",{_id:"aiChatForm__Success"}),J7=e=>{const{isSuccess:t}=lD();return t?$f.jsx(Z7,{...e}):null},eee=_B("h2",{_id:"aiChatForm__SuccessHeading"}),tee=e=>{const{form:t}=lD();return $f.jsx(eee,{children:null==t?void 0:t.successView.heading,...e})},nee=_B(V3,{_id:"aiChatForm__SuccessMessage"}),ree=_B("button",{_id:"aiChatForm__SuccessButton"}),aee=e=>{var t;const{onClick:n,...r}=e,{form:a,closeForm:o}=lD(),i=null==(t=null==a?void 0:a.successView)?void 0:t.doneButton;if(!i)return null;const s=i.icon&&$f.jsx(bW,{iconSettings:i.icon}),l=i.label;return $f.jsx(ree,{onClick:Q3(n,o),children:$f.jsxs($f.Fragment,{children:[s,l]}),...r})};var oee="Dialog",[iee,see]=TD(oee),[lee,cee]=iee(oee),uee=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:a,onOpenChange:o,modal:i=!0}=e,s=V.useRef(null),l=V.useRef(null),[c=!1,u]=qF({prop:r,defaultProp:a,onChange:o});return $f.jsx(lee,{scope:t,triggerRef:s,contentRef:l,contentId:FO(),titleId:FO(),descriptionId:FO(),open:c,onOpenChange:u,onOpenToggle:V.useCallback((()=>u((e=>!e))),[u]),modal:i,children:n})};uee.displayName=oee;var dee="DialogTrigger";V.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,a=cee(dee,n),o=_D(t,a.triggerRef);return $f.jsx(PD.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":Cee(a.open),...r,ref:o,onClick:xD(e.onClick,a.onOpenToggle)})})).displayName=dee;var pee="DialogPortal",[fee,hee]=iee(pee,{forceMount:void 0}),mee=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:a}=e,o=cee(pee,t);return $f.jsx(fee,{scope:t,forceMount:n,children:V.Children.map(r,(e=>$f.jsx(VF,{present:n||o.open,children:$f.jsx(GF,{asChild:!0,container:a,children:e})})))})};mee.displayName=pee;var gee="DialogOverlay",yee=V.forwardRef(((e,t)=>{const n=hee(gee,e.__scopeDialog),{forceMount:r=n.forceMount,...a}=e,o=cee(gee,e.__scopeDialog);return o.modal?$f.jsx(VF,{present:r||o.open,children:$f.jsx(bee,{...a,ref:t})}):null}));yee.displayName=gee;var bee=V.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,a=cee(gee,n);return $f.jsx(xz,{as:AD,allowPinchZoom:!0,shards:[a.contentRef],children:$f.jsx(PD.div,{"data-state":Cee(a.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})})),vee="DialogContent",kee=V.forwardRef(((e,t)=>{const n=hee(vee,e.__scopeDialog),{forceMount:r=n.forceMount,...a}=e,o=cee(vee,e.__scopeDialog);return $f.jsx(VF,{present:r||o.open,children:o.modal?$f.jsx(wee,{...a,ref:t}):$f.jsx(xee,{...a,ref:t})})}));kee.displayName=vee;var wee=V.forwardRef(((e,t)=>{const n=cee(vee,e.__scopeDialog),r=V.useRef(null),a=_D(t,n.contentRef,r);return V.useEffect((()=>{const e=r.current;if(e)return LH(e)}),[]),$f.jsx(Eee,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:xD(e.onCloseAutoFocus,(e=>{var t;e.preventDefault(),null==(t=n.triggerRef.current)||t.focus()})),onPointerDownOutside:xD(e.onPointerDownOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()})),onFocusOutside:xD(e.onFocusOutside,(e=>e.preventDefault()))})})),xee=V.forwardRef(((e,t)=>{const n=cee(vee,e.__scopeDialog),r=V.useRef(!1),a=V.useRef(!1);return $f.jsx(Eee,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,i;null==(o=e.onCloseAutoFocus)||o.call(e,t),t.defaultPrevented||(r.current||null==(i=n.triggerRef.current)||i.focus(),t.preventDefault()),r.current=!1,a.current=!1},onInteractOutside:t=>{var o,i;null==(o=e.onInteractOutside)||o.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));const s=t.target;(null==(i=n.triggerRef.current)?void 0:i.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})})),Eee=V.forwardRef(((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:o,...i}=e,s=cee(vee,n),l=V.useRef(null),c=_D(t,l);return gH(),$f.jsxs($f.Fragment,{children:[$f.jsx(wH,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:a,onUnmountAutoFocus:o,children:$f.jsx(zD,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Cee(s.open),...i,ref:c,onDismiss:()=>s.onOpenChange(!1)})}),$f.jsxs($f.Fragment,{children:[$f.jsx(Ree,{titleId:s.titleId}),$f.jsx(Oee,{contentRef:l,descriptionId:s.descriptionId})]})]})})),See="DialogTitle";V.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,a=cee(See,n);return $f.jsx(PD.h2,{id:a.titleId,...r,ref:t})})).displayName=See;var _ee="DialogDescription";V.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,a=cee(_ee,n);return $f.jsx(PD.p,{id:a.descriptionId,...r,ref:t})})).displayName=_ee;var Tee="DialogClose";function Cee(e){return e?"open":"closed"}V.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,a=cee(Tee,n);return $f.jsx(PD.button,{type:"button",...r,ref:t,onClick:xD(e.onClick,(()=>a.onOpenChange(!1)))})})).displayName=Tee;var Aee="DialogTitleWarning",[Nee,Iee]=function(e,t){const n=V.createContext(t),r=e=>{const{children:t,...r}=e,a=V.useMemo((()=>r),Object.values(r));return $f.jsx(n.Provider,{value:a,children:t})};return r.displayName=e+"Provider",[r,function(r){const a=V.useContext(n);if(a)return a;if(void 0!==t)return t;throw new Error(`\`${r}\` must be used within \`${e}\``)}]}(Aee,{contentName:vee,titleName:See,docsSlug:"dialog"}),Ree=({titleId:e})=>{const t=Iee(Aee),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return V.useEffect((()=>{if(e){document.getElementById(e)||console.error(n)}}),[n,e]),null},Oee=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Iee("DialogDescriptionWarning").contentName}}.`;return V.useEffect((()=>{var r;const a=null==(r=e.current)?void 0:r.getAttribute("aria-describedby");if(t&&a){document.getElementById(t)||console.warn(n)}}),[n,e,t]),null},Pee=uee,Lee=mee,Dee=yee,Mee=kee,Fee=.999,jee=/[\\\/_+.#"@\[\(\{&]/,Bee=/[\\\/_+.#"@\[\(\{&]/g,Hee=/[\s-]/,zee=/[\s-]/g;function Uee(e,t,n,r,a,o,i){if(o===t.length)return a===e.length?1:.99;var s=`${a},${o}`;if(void 0!==i[s])return i[s];for(var l,c,u,d,p=r.charAt(o),f=n.indexOf(p,a),h=0;f>=0;)(l=Uee(e,t,n,r,f+1,o+1,i))>h&&(f===a?l*=1:jee.test(e.charAt(f-1))?(l*=.8,(u=e.slice(a,f-1).match(Bee))&&a>0&&(l*=Math.pow(Fee,u.length))):Hee.test(e.charAt(f-1))?(l*=.9,(d=e.slice(a,f-1).match(zee))&&a>0&&(l*=Math.pow(Fee,d.length))):(l*=.17,a>0&&(l*=Math.pow(Fee,f-a))),e.charAt(f)!==t.charAt(o)&&(l*=.9999)),(l<.1&&n.charAt(f-1)===r.charAt(o+1)||r.charAt(o+1)===r.charAt(o)&&n.charAt(f-1)!==r.charAt(o))&&.1*(c=Uee(e,t,n,r,f+1,o+2,i))>l&&(l=.1*c),l>h&&(h=l),f=n.indexOf(p,f+1);return i[s]=h,h}function $ee(e){return e.toLowerCase().replace(zee," ")}function Gee(e,t,n){return Uee(e=n&&n.length>0?""+(e+" "+n.join(" ")):e,t,$ee(e),$ee(t),0,0,{})}var Vee={exports:{}},Wee={},qee=V;var Yee="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Kee=qee.useState,Xee=qee.useEffect,Qee=qee.useLayoutEffect,Zee=qee.useDebugValue;function Jee(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Yee(e,n)}catch(r){return!0}}var ete="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=Kee({inst:{value:n,getSnapshot:t}}),a=r[0].inst,o=r[1];return Qee((function(){a.value=n,a.getSnapshot=t,Jee(a)&&o({inst:a})}),[e,n,t]),Xee((function(){return Jee(a)&&o({inst:a}),e((function(){Jee(a)&&o({inst:a})}))}),[e]),Zee(n),n};Wee.useSyncExternalStore=void 0!==qee.useSyncExternalStore?qee.useSyncExternalStore:ete,Vee.exports=Wee;var tte=Vee.exports;const nte='[cmdk-group=""]',rte='[cmdk-group-items=""]',ate='[cmdk-item=""]',ote=`${ate}:not([aria-disabled="true"])`,ite="cmdk-item-select",ste="data-value",lte=(e,t,n)=>Gee(e,t,n??[]),cte=V.createContext(void 0),ute=()=>V.useContext(cte),dte=V.createContext(void 0),pte=()=>V.useContext(dte),fte=V.createContext(void 0),hte=V.forwardRef(((e,t)=>{const n=Ate((()=>({search:"",value:e.value??e.defaultValue??"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}))),r=Ate((()=>new Set)),a=Ate((()=>new Map)),o=Ate((()=>new Map)),i=Ate((()=>new Set)),s=Tte(e),{label:l,children:c,value:u,onValueChange:d,filter:p,shouldFilter:f,loop:h,disablePointerSelection:m=!1,vimBindings:g=!0,...y}=e,b=FO(),v=FO(),k=FO(),w=V.useRef(null),x=Ote();Cte((()=>{if(void 0!==u){const e=u.trim();n.current.value=e,S.emit()}}),[u]),Cte((()=>{x(6,I)}),[]);const E=BO(),S=V.useMemo((()=>({subscribe:e=>(i.current.add(e),()=>i.current.delete(e)),snapshot:()=>n.current,setState:(e,t,r)=>{var a,o,i,l,c;if(!Object.is(n.current[e],t)){if(n.current[e]=t,"search"===e)N(),C(),x(1,A);else if("value"===e){const e=null==(o=null==(a=null==E?void 0:E.shadowHost)?void 0:a.shadowRoot)?void 0:o.activeElement;if((null==e?void 0:e.hasAttribute("cmdk-input"))||x(1,(()=>{const e=R();null==e||e.focus()})),x(7,(()=>{var e;n.current.selectedItemId=null==(e=R())?void 0:e.id,S.emit()})),r||x(5,I),void 0!==(null==(i=s.current)?void 0:i.value)){const e=t??"";return void(null==(c=(l=s.current).onValueChange)||c.call(l,e))}}S.emit()}},emit:()=>{i.current.forEach((e=>e()))}})),[]),_=V.useMemo((()=>({value:(e,t,r)=>{var a;t!==(null==(a=o.current.get(e))?void 0:a.value)&&(o.current.set(e,{value:t,keywords:r}),n.current.filtered.items.set(e,T(t,r)),x(2,(()=>{C(),S.emit()})))},item:(e,t)=>{var i,s;return r.current.add(e),t&&(a.current.has(t)?null==(s=null==(i=a.current)?void 0:i.get(t))||s.add(e):a.current.set(t,new Set([e]))),x(3,(()=>{N(),C(),n.current.value||A(),S.emit()})),()=>{o.current.delete(e),r.current.delete(e),n.current.filtered.items.delete(e);const t=R();x(4,(()=>{N(),(null==t?void 0:t.getAttribute("id"))===e&&A(),S.emit()}))}},group:e=>(a.current.has(e)||a.current.set(e,new Set),()=>{o.current.delete(e),a.current.delete(e)}),filter:()=>!!s.current.shouldFilter,label:l||e["aria-label"]||"",getDisablePointerSelection:()=>!!s.current.disablePointerSelection,listId:b,inputId:k,labelId:v,listInnerRef:w})),[]);function T(e,t){var r;const a=(null==(r=s.current)?void 0:r.filter)??lte;return e?null==a?void 0:a(e,n.current.search,t):0}function C(){if(!n.current.search||!1===s.current.shouldFilter)return;const e=n.current.filtered.items,t=[];n.current.filtered.groups.forEach((n=>{const r=a.current.get(n);let o=0;r.forEach((t=>{const n=e.get(t);o=Math.max(n,o)})),t.push([n,o])}));const r=w.current;O().sort(((t,n)=>{const r=t.getAttribute("id"),a=n.getAttribute("id");return(e.get(a)??0)-(e.get(r)??0)})).forEach((e=>{const t=e.closest(rte);if(t){const n=e.parentElement===t?e:e.closest(`${rte} > *`);n&&t.appendChild(n)}else{const t=e.parentElement===r?e:e.closest(`${rte} > *`);t&&(null==r||r.appendChild(t))}})),t.sort(((e,t)=>t[1]-e[1])).forEach((e=>{var t,n;const r=null==(t=w.current)?void 0:t.querySelector(`${nte}[${ste}="${encodeURIComponent(e[0])}"]`);null==(n=null==r?void 0:r.parentElement)||n.appendChild(r)}))}function A(){const e=O().find((e=>"true"!==e.getAttribute("aria-disabled")&&e.getAttribute("data-value")!==One)),t=null==e?void 0:e.getAttribute(ste);S.setState("value",t||void 0)}function N(){var e,t;if(!n.current.search||!1===s.current.shouldFilter)return void(n.current.filtered.count=r.current.size);n.current.filtered.groups=new Set;let i=0;for(const a of r.current){const r=T((null==(e=o.current.get(a))?void 0:e.value)??"",(null==(t=o.current.get(a))?void 0:t.keywords)??[]);n.current.filtered.items.set(a,r),r>0&&i++}for(const[r,o]of a.current)for(const e of o){const t=n.current.filtered.items.get(e);if(t&&t>0){n.current.filtered.groups.add(r);break}}n.current.filtered.count=i}function I(){var e,t,n;const r=R();r&&((null==(e=r.parentElement)?void 0:e.firstChild)===r&&(null==(n=null==(t=r.closest(nte))?void 0:t.querySelector('[cmdk-group-heading=""]'))||n.scrollIntoView({block:"nearest"})),r.scrollIntoView({block:"nearest"}))}function R(){var e;return null==(e=w.current)?void 0:e.querySelector(`${ate}[aria-selected="true"]`)}function O(){var e;return Array.from((null==(e=w.current)?void 0:e.querySelectorAll(ote))||[])}function P(e){const t=O()[e];t&&S.setState("value",t.getAttribute(ste))}function L(e){var t;const n=R(),r=O(),a=r.findIndex((e=>e===n));let o=r[a+e];(null==(t=s.current)?void 0:t.loop)&&(o=a+e<0?r[r.length-1]:a+e===r.length?r[0]:r[a+e]),o&&S.setState("value",o.getAttribute(ste))}function D(e){const t=R();let n,r=null==t?void 0:t.closest(nte);for(;r&&!n;)r=e>0?Ste(r,nte):_te(r,nte),n=null==r?void 0:r.querySelector(ote);n?S.setState("value",n.getAttribute(ste)):L(e)}const M=()=>P(O().length-1),F=e=>{e.preventDefault(),e.metaKey?M():e.altKey?D(1):L(1)},j=e=>{e.preventDefault(),e.metaKey?P(0):e.altKey?D(-1):L(-1)};return $f.jsxs(Qz.div,{ref:t,tabIndex:-1,...y,"cmdk-root":"",onKeyDown:e=>{var t;if(null==(t=y.onKeyDown)||t.call(y,e),!e.defaultPrevented)switch(e.key){case"n":case"j":g&&e.ctrlKey&&F(e);break;case"ArrowDown":F(e);break;case"p":case"k":g&&e.ctrlKey&&j(e);break;case"ArrowUp":j(e);break;case"Home":e.preventDefault(),P(0);break;case"End":e.preventDefault(),M();break;case"Enter":if(!e.nativeEvent.isComposing&&229!==e.keyCode){e.preventDefault();const t=R();if(t){const e=new Event(ite);t.dispatchEvent(e)}}}},children:[$f.jsx("label",{"cmdk-label":"",htmlFor:_.inputId,id:_.labelId,style:Lte,children:l}),Pte(e,(e=>$f.jsx(dte.Provider,{value:S,children:$f.jsx(cte.Provider,{value:_,children:e})})))]})})),mte=V.forwardRef(((e,t)=>{var n;const{id:r}=e,a=V.useRef(null),o=V.useContext(fte),i=ute(),s=Tte(e),l=(null==(n=s.current)?void 0:n.forceMount)??(null==o?void 0:o.forceMount);Cte((()=>{if(!l)return i.item(r,null==o?void 0:o.id)}),[l]);const c=Rte(r,a,[e.value,e.children,a],e.keywords),u=pte(),d=Ite((e=>e.value&&e.value===c.current)),p=Ite((e=>!!l||(!1===i.filter()||(!e.search||e.filtered.items.get(r)>0))));function f(e="click"){var t,n;h(),null==(n=(t=s.current).onSelect)||n.call(t,{value:c.current,trigger:e})}function h(){u.setState("value",c.current,!0)}if(V.useEffect((()=>{const t=a.current;if(!t||e.disabled)return;const n=()=>f("keyboard");return t.addEventListener(ite,n),()=>t.removeEventListener(ite,n)}),[p,e.onSelect,e.disabled]),!p)return null;const{disabled:m,value:g,onSelect:y,forceMount:b,keywords:v,...k}=e;return $f.jsx(Qz.div,{ref:Nte([a,t]),...k,id:r,"cmdk-item":"",role:"option","aria-disabled":Boolean(m),"aria-selected":Boolean(d),"data-disabled":Boolean(m),"data-selected":Boolean(d),onPointerMove:m||i.getDisablePointerSelection()?void 0:h,onClick:m?void 0:()=>f(),onFocus:m?void 0:h,children:e.children})})),gte=V.forwardRef(((e,t)=>{const{heading:n,children:r,forceMount:a,...o}=e,i=FO(),s=V.useRef(null),l=V.useRef(null),c=FO(),u=ute(),d=Ite((e=>!!a||(!1===u.filter()||(!e.search||e.filtered.groups.has(i)))));Cte((()=>u.group(i)),[]),Rte(i,s,[e.value,e.heading,l]);const p=V.useMemo((()=>({id:i,forceMount:a})),[a]);return $f.jsxs(Qz.div,{ref:Nte([s,t]),...o,"cmdk-group":"",role:"presentation",hidden:!d||void 0,children:[n&&$f.jsx("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:c,children:n}),Pte(e,(e=>$f.jsx("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?c:void 0,children:$f.jsx(fte.Provider,{value:p,children:e})})))]})})),yte=V.forwardRef(((e,t)=>{const{alwaysRender:n,...r}=e,a=V.useRef(null),o=Ite((e=>!e.search));return n||o?$f.jsx(Qz.div,{ref:Nte([a,t]),...r,"cmdk-separator":"",role:"separator"}):null})),bte=V.forwardRef(((e,t)=>{const{onValueChange:n,...r}=e,a=null!=e.value,o=pte(),i=Ite((e=>e.search)),s=ute();return V.useEffect((()=>{null!=e.value&&o.setState("search",e.value)}),[e.value]),$f.jsx(Qz.input,{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":s.listId,"aria-labelledby":s.labelId,id:s.inputId,type:"text",value:a?e.value:i,onChange:e=>{a||o.setState("search",e.target.value),null==n||n(e.target.value)}})})),vte=V.forwardRef(((e,t)=>{const{children:n,label:r="Suggestions",...a}=e,o=V.useRef(null),i=V.useRef(null),s=ute();return V.useEffect((()=>{if(i.current&&o.current){const e=i.current,t=o.current;let n;const r=new ResizeObserver((()=>{n=requestAnimationFrame((()=>{const n=e.offsetHeight;t.style.setProperty("--cmdk-list-height",n.toFixed(1)+"px")}))}));return r.observe(e),()=>{cancelAnimationFrame(n),r.unobserve(e)}}}),[]),$f.jsx(Qz.div,{ref:Nte([o,t]),...a,"cmdk-list":"",tabIndex:-1,"aria-label":r,id:s.listId,children:Pte(e,(e=>$f.jsx("div",{ref:Nte([i,s.listInnerRef]),"cmdk-list-sizer":"",children:e})))})})),kte=V.forwardRef(((e,t)=>{const{open:n,onOpenChange:r,overlayClassName:a,contentClassName:o,container:i,...s}=e;return $f.jsx(Pee,{open:n,onOpenChange:r,children:$f.jsxs(Lee,{container:i,children:[$f.jsx(Dee,{"cmdk-overlay":"",className:a}),$f.jsx(Mee,{"aria-label":e.label,"cmdk-dialog":"",className:o,children:$f.jsx(hte,{ref:t,...s})})]})})})),wte=V.forwardRef(((e,t)=>Ite((e=>0===e.filtered.count))?$f.jsx(Qz.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null)),xte=V.forwardRef(((e,t)=>{const{progress:n,children:r,label:a="Loading...",...o}=e;return $f.jsx(Qz.div,{ref:t,...o,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":a,children:Pte(e,(e=>$f.jsx("div",{"aria-hidden":!0,children:e})))})})),Ete=Object.assign(hte,{List:vte,Item:mte,Input:bte,Group:gte,Separator:yte,Dialog:kte,Empty:wte,Loading:xte});function Ste(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function _te(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function Tte(e){const t=V.useRef(e);return Cte((()=>{t.current=e})),t}const Cte="undefined"==typeof window?V.useEffect:V.useLayoutEffect;function Ate(e){const t=V.useRef(void 0);return void 0===t.current&&(t.current=e()),t}function Nte(e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}function Ite(e){const t=pte(),n=()=>e(t.snapshot());return tte.useSyncExternalStore(t.subscribe,n,n)}function Rte(e,t,n,r=[]){const a=V.useRef(void 0),o=ute();return Cte((()=>{var i;const s=(()=>{var e;for(const t of n){if("string"==typeof t)return t.trim();if("object"==typeof t&&"current"in t)return t.current?null==(e=t.current.textContent)?void 0:e.trim():a.current}})(),l=r.map((e=>e.trim()));o.value(e,s,l),null==(i=t.current)||i.setAttribute(ste,s),a.current=s})),a}const Ote=()=>{const[e,t]=V.useState(),n=Ate((()=>new Map));return Cte((()=>{n.current.forEach((e=>e())),n.current=new Map}),[e]),(e,r)=>{n.current.set(e,r),t({})}};function Pte({asChild:e,children:t},n){return e&&V.isValidElement(t)?V.cloneElement(function(e){const t=e.type;return"function"==typeof t?t(e.props):"render"in t?t.render(e.props):e}(t),{ref:t.ref},n(t.props.children)):n(t)}const Lte={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};function Dte(e,t,n){try{const r=new URL(e);return r.searchParams.set(n,t),r.toString()}catch{return e}}const Mte=e=>{var t,n,r;switch(e.rootRecord.__typename){case"DocumentationRecord":{const a=jte((null==(n=null==(t=e.pathHeadings)?void 0:t.at(-1))?void 0:n.content)||""),o=jte((null==(r=e.content)?void 0:r.content)||"");return e.preview||o||a}case"GitHubIssueRecord":case"StackOverflowRecord":case"DiscourseRecord":return e.rootRecord.body;default:return e.preview}},Fte=e=>{switch(e.rootRecord.__typename){case"StackOverflowRecord":return e.rootRecord.markedAsCorrectAnswer?"Resolved":void 0;case"GitHubIssueRecord":return"CLOSED"===e.rootRecord.state?"Closed":void 0}},jte=e=>e.replace(/(https?:\/\/\S+)/g,(e=>{const t=e.split("/");return t.length>3?`...${t.slice(-2).join("/")}`:e})),Bte=e=>{switch(e){case"DocumentationRecord":return"documentation";case"GitHubIssueRecord":return"github_issue";case"DiscourseRecord":return"discourse";case"DiscordRecord":return"discord";case"StackOverflowRecord":return"stackoverflow";case"SlackEntry":return"slack_message";default:return"site"}},Hte=V.createContext(void 0),zte=({children:e})=>{const{logEvent:t}=sP();return $f.jsx(Hte.Provider,{value:{logEvent:t},children:e})},Ute=({children:e})=>$f.jsx(iP,{children:$f.jsx(zte,{children:e})}),$te=()=>{const e=V.useContext(Hte);if(!e)throw new Error("useSearchEvents must be used within a SearchEventsProvider");return e};const Gte=()=>{const{baseSettings:e,searchSettings:t}=WO(),{apiKey:n,aiApiBaseUrl:r,userAuthToken:a,filters:o}=e,{maxResults:i,placeholder:s,defaultQuery:l,debounceTimeMs:c,onQueryChange:u,searchFunctionsRef:d,tabs:p,filters:f}=t,{logEvent:h}=$te(),[m,g]=V.useState(l),y=V.useRef(null),[b,v]=V.useState(!1),[k,w]=V.useState(null),[x,E]=V.useState("NONE"),S=V.useCallback((e=>{E(e)}),[]),[_,T]=V.useState([]),C=((e,t)=>{const{baseSettings:{transformSource:n,organizationDisplayName:r},searchSettings:{tabs:a,searchQueryParamKey:o,shouldOpenLinksInNewTab:i}}=WO();return V.useMemo((()=>{var s;const l=a.length>0?a:["All"],c={},u=new Set,d=l.map((e=>"string"==typeof e?e:e[0]));for(const e of d)c[e]=[];for(const p of e){const e=p.url||"";if(u.has(e))continue;u.add(e);const s=o?Dte(e,t,o):e,l=p4({title:p.title,url:s,description:Mte(p),type:Bte(p.rootRecord.__typename),tag:Fte(p),breadcrumbs:p.rootRecord.pathBreadcrumbs??[],contentType:p.rootRecord.contentType},"searchResultItem",{organizationDisplayName:r,tabs:a,transformSource:n}),f={...l,id:p.id,isExternal:void 0!==l.shouldOpenInNewTab?l.shouldOpenInNewTab:i},h=f.tabs||[];for(const t of h){const e="string"==typeof t?t:t[0];d.includes(e)?c[e].push(f):console.warn(`Tab "${e}" found in item but not configured in tabs`)}d.includes("All")&&c.All.push(f)}for(const e of Object.keys(c)){const t=l.find((t=>"string"==typeof t?t===e:t[0]===e)),n="object"==typeof t&&!0===(null==(s=t[1])?void 0:s.isAlwaysVisible);0!==c[e].length||n||delete c[e]}return c}),[e,n,r,a,o,i])})(_,m),A=(null==p?void 0:p.length)?"string"==typeof p[0]?p[0]:p[0][0]:"All",[N,I]=V.useState(A),{disableTransition:R,disabled:O}=function(){const[e,t]=V.useState(!1);V.useEffect((()=>{if(e){const e=setTimeout((()=>t(!1)),0);return()=>clearTimeout(e)}}),[e]);const n=V.useCallback((()=>t(!0)),[]);return{disabled:e,disableTransition:n}}(),P=V.useCallback((e=>{R(),I(e);const t=C[e][0].id;E(t)}),[C,R]);V.useEffect((()=>{var e,t;let n=N in C?N:Object.keys(C)[0];if(!(null==(e=C[n])?void 0:e.length)){const e=Object.keys(C).find((e=>{var t;return null==(t=C[e])?void 0:t.length}));n=e||A}if(!n)return;I(n);const r=null==(t=C[n])?void 0:t[0];r&&E(r.id)}),[C]);const L=pD("(max-width: 768px)"),D=V.useRef({}),M=V.useRef(null),F=V.useRef(null);V.useImperativeHandle(d,(()=>({updateQuery(e){g(e)},focusInput:()=>{var e;null==(e=y.current)||e.focus()}})));const j=`${r}/graphql`,B=V.useMemo((()=>({Authorization:`Bearer ${n}`,"Content-Type":"application/json",...a?{"User-Token":a}:{}})),[n,a]),H=V.useCallback((async e=>{const t=new AbortController;M.current=t;try{w(null);const n=await async function(e,t,n,r,a){var o;const i=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json",...r},signal:a,body:JSON.stringify({query:t,variables:n})});if(!i.ok)throw new Error(`Network response was not OK (status: ${i.status})`);const s=await i.json();if(null==(o=s.errors)?void 0:o.length)throw new Error(s.errors[0].message);return s.data}(j,"query GetSearchResults($searchInput: SearchInput!) {\n search(searchInput: $searchInput) {\n searchHits {\n id\n hitOnRoot\n url\n title\n preview\n\n ... on DocumentationHit {\n rootRecord {\n __typename\n id\n title\n url\n preview\n ... on DocumentationRecord {\n pathBreadcrumbs\n contentType\n topLevelHeadings {\n anchor\n url\n content\n }\n }\n }\n pathHeadings {\n anchor\n content\n }\n content {\n anchor\n content\n }\n }\n\n ... on StackOverflowHit {\n rootRecord {\n __typename\n id\n title\n url\n preview\n ... on StackOverflowRecord {\n body\n createdAt\n\n markedAsCorrectAnswer {\n url\n score\n content\n }\n }\n }\n }\n\n ... on GitHubIssueHit {\n rootRecord {\n __typename\n id\n title\n url\n preview\n ... on GitHubIssueRecord {\n createdAt\n body\n state\n }\n }\n }\n\n ... on DiscourseHit {\n rootRecord {\n __typename\n id\n title\n url\n preview\n ... on DiscourseRecord {\n createdAt\n body\n }\n }\n }\n }\n searchQuery\n }\n}\n",{searchInput:e},B,t.signal),r=null==n?void 0:n.search.searchHits;D.current[e.searchQuery]=r,T(r)}catch(que){if("AbortError"===que.name)return;w("Failed to fetch search results. Please try again.")}finally{v(!1)}}),[j,B]),z=V.useCallback((e=>{const t=D.current[e.searchQuery];h({eventName:"search_query_response_received",properties:{searchQuery:e.searchQuery,totalResults:null==t?void 0:t.length}})}),[]),U=()=>{M.current&&(M.current.abort(),v(!1))},$=V.useCallback((e=>{if(F.current&&window.clearTimeout(F.current),!e.searchQuery)return U(),T([]),void w(null);F.current=window.setTimeout((()=>{U(),h({eventName:"search_query_submitted",properties:{searchQuery:e.searchQuery}}),D.current[e.searchQuery]?(T(D.current[e.searchQuery]),z(e)):(v(!0),H(e).then((()=>{z(e)})))}),c)}),[c,H]),G=V.useMemo((()=>({searchQuery:m,filters:{...o,...f,limit:i}})),[m,i,o,f]);V.useEffect((()=>{null==u||u(G.searchQuery),$(G)}),[$,G]);const W=V.useRef(null),[q,Y]=V.useState(!1);V.useEffect((()=>(null!==W.current&&window.clearTimeout(W.current),m?W.current=window.setTimeout((()=>{Y(!0)}),400):Y(!1),()=>{null!==W.current&&window.clearTimeout(W.current)})),[m]);const K=V.useCallback((e=>g(e.target.value)),[]),X=V.useMemo((()=>s||(L?"Search...":"Search for anything...")),[s,L]);return{results:C,resultsList:_,hasContent:q&&(_.length>0||b),loading:b,error:k,query:m,onInput:K,placeholder:X,tab:N,onTabChange:P,selectedItem:x,setSelectedItem:E,onSelectedItemChange:S,transitionsDisabled:O,inputRef:y,isMobile:L}},Vte=V.createContext(void 0),Wte=e=>$f.jsx(Ute,{children:$f.jsx(qte,{...e})}),qte=({children:e,...t})=>{const n=Gte();return $f.jsx(Vte.Provider,{value:{...n,...t},children:e})},Yte=()=>{const e=V.useContext(Vte);if(!e)throw new Error("useSearch must be used within a SearchProvider");return e};var Kte="rovingFocusGroup.onEntryFocus",Xte={bubbles:!1,cancelable:!0},Qte="RovingFocusGroup",[Zte,Jte,ene]=F$(Qte),[tne,nne]=TD(Qte,[ene]),[rne,ane]=tne(Qte),one=V.forwardRef(((e,t)=>$f.jsx(Zte.Provider,{scope:e.__scopeRovingFocusGroup,children:$f.jsx(Zte.Slot,{scope:e.__scopeRovingFocusGroup,children:$f.jsx(ine,{...e,ref:t})})})));one.displayName=Qte;var ine=V.forwardRef(((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:a=!1,dir:o,currentTabStopId:i,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:c,preventScrollOnEntryFocus:u=!1,...d}=e,p=V.useRef(null),f=_D(t,p),h=ZU(o),[m=null,g]=qF({prop:i,defaultProp:s,onChange:l}),[y,b]=V.useState(!1),v=LD(c),k=Jte(n),w=V.useRef(!1),[x,E]=V.useState(0);return V.useEffect((()=>{const e=p.current;if(e)return e.addEventListener(Kte,v),()=>e.removeEventListener(Kte,v)}),[v]),$f.jsx(rne,{scope:n,orientation:r,dir:h,loop:a,currentTabStopId:m,onItemFocus:V.useCallback((e=>g(e)),[g]),onItemShiftTab:V.useCallback((()=>b(!0)),[]),onFocusableItemAdd:V.useCallback((()=>E((e=>e+1))),[]),onFocusableItemRemove:V.useCallback((()=>E((e=>e-1))),[]),children:$f.jsx(PD.div,{tabIndex:y||0===x?-1:0,"data-orientation":r,...d,ref:f,style:{outline:"none",...e.style},onMouseDown:xD(e.onMouseDown,(()=>{w.current=!0})),onFocus:xD(e.onFocus,(e=>{const t=!w.current;if(e.target===e.currentTarget&&t&&!y){const t=new CustomEvent(Kte,Xte);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=k().filter((e=>e.focusable));une([e.find((e=>e.active)),e.find((e=>e.id===m)),...e].filter(Boolean).map((e=>e.ref.current)),u)}}w.current=!1})),onBlur:xD(e.onBlur,(()=>b(!1)))})})})),sne="RovingFocusGroupItem",lne=V.forwardRef(((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:a=!1,tabStopId:o,...i}=e,s=FO(),l=o||s,c=ane(sne,n),u=c.currentTabStopId===l,d=Jte(n),{onFocusableItemAdd:p,onFocusableItemRemove:f}=c;return V.useEffect((()=>{if(r)return p(),()=>f()}),[r,p,f]),$f.jsx(Zte.ItemSlot,{scope:n,id:l,focusable:r,active:a,children:$f.jsx(PD.span,{tabIndex:u?0:-1,"data-orientation":c.orientation,...i,ref:t,onMouseDown:xD(e.onMouseDown,(e=>{r?c.onItemFocus(l):e.preventDefault()})),onFocus:xD(e.onFocus,(()=>c.onItemFocus(l))),onKeyDown:xD(e.onKeyDown,(e=>{if("Tab"===e.key&&e.shiftKey)return void c.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=function(e,t,n){const r=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);return"vertical"===t&&["ArrowLeft","ArrowRight"].includes(r)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)?void 0:cne[r]}(e,c.orientation,c.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let a=d().filter((e=>e.focusable)).map((e=>e.ref.current));if("last"===t)a.reverse();else if("prev"===t||"next"===t){"prev"===t&&a.reverse();const o=a.indexOf(e.currentTarget);a=c.loop?(r=o+1,(n=a).map(((e,t)=>n[(r+t)%n.length]))):a.slice(o+1)}setTimeout((()=>une(a)))}var n,r}))})})}));lne.displayName=sne;var cne={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function une(e,t=!1){const n=document.activeElement;for(const r of e){if(r===n)return;if(r.focus({preventScroll:t}),document.activeElement!==n)return}}var dne=one,pne=lne,fne="Tabs",[hne,mne]=TD(fne,[nne]),gne=nne(),[yne,bne]=hne(fne),vne=V.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:a,defaultValue:o,orientation:i="horizontal",dir:s,activationMode:l="automatic",...c}=e,u=ZU(s),[d,p]=qF({prop:r,onChange:a,defaultProp:o});return $f.jsx(yne,{scope:n,baseId:FO(),value:d,onValueChange:p,orientation:i,dir:u,activationMode:l,children:$f.jsx(PD.div,{dir:u,"data-orientation":i,...c,ref:t})})}));vne.displayName=fne;var kne="TabsList",wne=V.forwardRef(((e,t)=>{const{__scopeTabs:n,loop:r=!0,...a}=e,o=bne(kne,n),i=gne(n);return $f.jsx(dne,{asChild:!0,...i,orientation:o.orientation,dir:o.dir,loop:r,children:$f.jsx(PD.div,{role:"tablist","aria-orientation":o.orientation,...a,ref:t})})}));wne.displayName=kne;var xne="TabsTrigger",Ene=V.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,disabled:a=!1,...o}=e,i=bne(xne,n),s=gne(n),l=Tne(i.baseId,r),c=Cne(i.baseId,r),u=r===i.value;return $f.jsx(pne,{asChild:!0,...s,focusable:!a,active:u,children:$f.jsx(PD.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":c,"data-state":u?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:l,...o,ref:t,onMouseDown:xD(e.onMouseDown,(e=>{a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():i.onValueChange(r)})),onKeyDown:xD(e.onKeyDown,(e=>{[" ","Enter"].includes(e.key)&&i.onValueChange(r)})),onFocus:xD(e.onFocus,(()=>{const e="manual"!==i.activationMode;u||a||!e||i.onValueChange(r)}))})})}));Ene.displayName=xne;var Sne="TabsContent",_ne=V.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,forceMount:a,children:o,...i}=e,s=bne(Sne,n),l=Tne(s.baseId,r),c=Cne(s.baseId,r),u=r===s.value,d=V.useRef(u);return V.useEffect((()=>{const e=requestAnimationFrame((()=>d.current=!1));return()=>cancelAnimationFrame(e)}),[]),$f.jsx(VF,{present:a||u,children:({present:n})=>$f.jsx(PD.div,{"data-state":u?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":l,hidden:!n,id:c,tabIndex:0,...i,ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0},children:n&&o})})}));function Tne(e,t){return`${e}-trigger-${t}`}function Cne(e,t){return`${e}-content-${t}`}_ne.displayName=Sne;var Ane=vne,Nne=wne,Ine=Ene,Rne=_ne;const One="__ask_ai__",Pne=_B("div",{_id:"aiSearchWrapper"}),Lne=e=>{const{searchSettings:{view:t}}=WO(),{isHidden:n,hasContent:r,isMobile:a}=Yte(),o=rD();return $f.jsx(Pne,{"data-hidden":_P(n),"data-has-content":_P(r),"data-in-modal":_P(!!o),"data-mobile":_P(a),"data-view":t,"data-dual-pane-search-expanded":_P(r&&"dual-pane"===t&&!n),...e})},Dne=_B(Ete,{_id:"aiSearchRoot"}),Mne=e=>{const{isHidden:t,selectedItem:n,onSelectedItemChange:r}=Yte();return $f.jsx(Dne,{"data-hidden":_P(t),shouldFilter:!1,loop:!1,value:n,onValueChange:r,...e})},Fne=_B(Ete.List,{_id:"aiSearchContent"}),jne=V.forwardRef(((e,t)=>{const{selectedItem:n}=Yte();return $f.jsx(Fne,{"aria-activedescendant":`aiSearchResults__Item-${n}`,...e,ref:t})})),Bne=_B("div",{_id:"aiSearchInputGroup"}),Hne=_B(kW,{_id:"aiSearchInputIcon",iconKey:"search"}),zne=_B(Ete.Input,{_id:"aiSearchInput"}),Une=V.forwardRef((({onInput:e,...t},n)=>{const{query:r,onInput:a,placeholder:o,inputRef:i,shouldAutoFocusInput:s,selectedItem:l}=Yte(),c=bB(n,i),u=rD();return V.useEffect((()=>{requestAnimationFrame((()=>{s&&(null==i?void 0:i.current)&&(i.current.focus(),i.current.selectionStart=i.current.value.length)}))}),[s,i,null==u?void 0:u.isOpen]),$f.jsx(zne,{ref:c,placeholder:o,value:r,onInput:Q3(e,a),"aria-activedescendant":`aiSearchResults__Item-${l}`,...t})})),$ne=_B(bW,{_id:"aiSearchLoading",iconSettings:{builtIn:"LuLoaderCircle"}}),Gne=e=>{const{loading:t,resultsList:n}=Yte();return t&&0!==n.length?$f.jsx($ne,{...e}):null},Vne=_B(Ete.Item,{_id:"aiAskAITrigger",value:One}),Wne=e=>{var t,n;const{setSelectedItem:r,results:a,tab:o}=Yte(),i=(null==(n=null==(t=a[o])?void 0:t[0])?void 0:n.id)??"NONE";return $f.jsx(Vne,{...e,id:`aiSearchResults__Item-${One}`,tabIndex:0,onPointerLeave:()=>r(i)})},qne=_B("img",{_id:"aiAskAITrigger__Icon"}),Yne=e=>{const{aiChatSettings:t}=WO(),{aiAssistantAvatar:n}=t??{},r="string"==typeof n?n:null==n?void 0:n.light,a=Zj(r,("string"==typeof n?n:null==n?void 0:n.dark)??r),[o,i]=V.useState(a);V.useEffect((()=>{i(a)}),[a]);return $f.jsx(qne,{asChild:!0,...e,children:o?$f.jsx("img",{src:o,alt:"AI Avatar","data-type":"image",onError:Q3((()=>{i(null)})),...e}):$f.jsx(BV,{"data-type":"icon",...e})})},Kne=_B("span",{_id:"aiAskAITrigger__Label"}),Xne=_B(kW,{_id:"aiAskAITrigger__Indicator",iconKey:"openLinkInSameTab"}),Qne=_B(Ane,{_id:"aiSearchResults"}),Zne=e=>{const{searchSettings:{view:t}}=WO(),{tab:n,onTabChange:r,hasContent:a,isHidden:o}=Yte();return $f.jsx(Qne,{value:n,onValueChange:r,"data-has-content":_P(a),"data-dual-pane-search-expanded":_P(a&&"dual-pane"===t&&!o),...e})},Jne=_B("div",{_id:"aiSearchResults__Loading"}),ere=e=>{const{loading:t,resultsList:n}=Yte();return!t||n.length>0?null:$f.jsx(Jne,{...e})},tre=_B(Ete.Empty,{_id:"aiSearchResults__Empty"}),nre=e=>{var t;const{query:n,loading:r,results:a,tab:o}=Yte(),i=null==(t=a[o])?void 0:t.length;return r||!n||i?null:$f.jsx(tre,{children:"No results found.",...e})},rre=_B(Nne,{_id:"aiSearchResults__TabList"}),are=e=>{const{children:t,...n}=e,{searchSettings:{tabs:r}}=WO(),{results:a,loading:o,resultsList:i}=Yte();if(o&&0===i.length)return null;const s=Object.keys(a);return r.length&&s.length?$f.jsx(rre,{tabIndex:-1,children:CP(t,s),...n}):null},ore=_B(Ine,{_id:"aiSearchResults__Tab"}),ire=V.forwardRef(((e,t)=>{const n=V.useRef(null),r=bB(t,n),{tab:a,onClick:o,...i}=e,{results:s,tab:l,inputRef:c}=Yte(),u=s[a].length,d=a===l,p=BO();return V.useEffect((()=>{var e,t,r;if(d){const a=null==(t=null==(e=null==p?void 0:p.shadowHost)?void 0:e.shadowRoot)?void 0:t.activeElement;(null==a?void 0:a.hasAttribute("ikp-tab"))&&(null==(r=n.current)||r.focus())}}),[d]),$f.jsx(ore,{ref:r,"ikp-tab":"",tabIndex:d?0:-1,value:a,children:`${a} (${u})`,onClick:Q3(o,(()=>{var e;null==(e=c.current)||e.focus()})),...i})})),sre=_B("div",{_id:"aiSearchResults__Content"}),lre=_B(L$,{_id:"aiSearchResults__ScrollArea"}),cre=e=>{const{loading:t,resultsList:n}=Yte();return t&&0===n.length?null:$f.jsx(lre,{tabIndex:-1,...e})},ure=_B(D$,{_id:"aiSearchResults__ScrollAreaViewport"}),dre=V.forwardRef((({children:e,...t},n)=>{const r=function(){const e=V.useRef(null),t=V.useCallback((()=>{const t=e.current;t&&(0===t.scrollTop?t.setAttribute("data-scroll-top",""):t.removeAttribute("data-scroll-top"),t.scrollTop+t.clientHeight>=t.scrollHeight-1?t.setAttribute("data-scroll-bottom",""):t.removeAttribute("data-scroll-bottom"))}),[]);return V.useEffect((()=>{const n=e.current;if(n)return t(),n.addEventListener("scroll",t),window.addEventListener("resize",t),()=>{n.removeEventListener("scroll",t),window.removeEventListener("resize",t)}}),[t]),e}(),a=bB(n,r),{tab:o}=Yte();return V.useEffect((()=>{var e;o&&(null==(e=r.current)||e.scrollTo({top:0,behavior:"auto"}))}),[o]),$f.jsx(ure,{ref:a,tabIndex:-1,children:$f.jsx("div",{tabIndex:-1,style:{display:"grid"},children:e}),...t})})),pre=_B(c$,{_id:"aiSearchResults__ScrollAreaScrollbar"}),fre=_B(k$,{_id:"aiSearchResults__ScrollAreaThumb"}),hre=_B(M$,{_id:"aiSearchResults__ScrollAreaCorner"}),mre=_B(Rne,{_id:"aiSearchResults__List"}),gre=e=>{const{children:t,...n}=e,{results:r,tab:a}=Yte(),o=r[a]??[];return $f.jsx(mre,{value:a,"data-has-results":_P(o.length>0),"aria-label":"Search results",children:CP(t,o),tabIndex:-1,...n})},yre=_B(Ete.Item,{_id:"aiSearchResults__Item",asChild:!0}),bre=V.forwardRef((({item:e,onClick:t,onSelect:n,children:r,...a},o)=>{var i;const{searchSettings:{shouldOpenLinksInNewTab:s,view:l}}=WO(),{logEvent:c}=$te(),{query:u,transitionsDisabled:d,selectedItem:p}=Yte(),f=V.useRef(null),h=bB(o,f),m=void 0!==e.shouldOpenInNewTab?e.shouldOpenInNewTab:s,g=p===e.id,y=g||("NONE"===p||p===One);return $f.jsx(fB,{source:{...e,isExternal:m},children:$f.jsx(yre,{ref:h,value:e.id,"data-type":e.type,"data-breadcrumbs":!!(null==(i=e.breadcrumbs)?void 0:i.length),"data-disable-transitions":_P(d),"data-view":l,onSelect:Q3(n,(e=>{var t;"keyboard"===e.trigger&&(null==(t=f.current)||t.click())})),onClick:Q3(t,(()=>{c({eventName:"search_result_clicked",properties:{searchQuery:u,title:e.title,url:e.url}})})),"data-selected":_P(g),tabIndex:y?0:-1,...a,children:$f.jsx(xW,{href:e.url,isExternal:m,appendToUrl:e.appendToUrl,children:r,id:`aiSearchResults__Item-${e.id}`})})})})),vre=_B("div",{_id:"aiSearchResults__ItemBreadcrumbs"}),kre=e=>{var t,n,r,a;const{source:o}=hB(),{tab:i}=Yte();if(!(null==(t=o.breadcrumbs)?void 0:t.length))return null;const{children:s,...l}=e,c=(null==(a=null==(r=null==(n=o.tabs)?void 0:n.find((e=>"string"!=typeof e&&e[0]===i)))?void 0:r[1])?void 0:a.breadcrumbs)??o.breadcrumbs??[];return $f.jsx(vre,{"aria-hidden":"true",children:CP(s,c),...l})},wre=_B(kW,{_id:"aiSearchResults__ItemBreadcrumbIcon",iconKey:"breadcrumbSeparator"}),xre=_B(bW,{_id:"aiSearchResults__ItemIcon"}),Ere=e=>{const{source:t}=hB();return $f.jsx(xre,{iconSettings:t.icon,"data-type":t.type,...e})},Sre=_B("span",{_id:"aiSearchResults__ItemTitle"}),_re=e=>{const{source:t}=hB();return $f.jsx(Sre,{"data-type":t.type,children:t.title,...e})},Tre=_B("span",{_id:"aiSearchResults__ItemTag"}),Cre=e=>{const{source:t}=hB();return $f.jsx(Tre,{"data-type":t.type,children:t.tag,...e})},Are=_B("span",{_id:"aiSearchResults__ItemDescription"}),Nre=e=>{const{source:t}=hB(),{children:n,...r}=e,a=V.useMemo((()=>t.description?X3(t.description):[]),[t.description]);return a.length?$f.jsx(Are,{"data-type":t.type,"aria-hidden":"true",children:CP(n,a),...r}):null},Ire=_B("span",{_id:"aiSearchResults__ItemDescriptionPart"}),Rre=e=>{const{part:t,...n}=e,{source:r}=hB();return"string"==typeof t?t:$f.jsx(Ire,{"data-type":r.type,children:t.content,"data-highlighted":_P(t.highlighted),...n})},Ore=_B(kW,{_id:"aiSearchResults__ItemIndicator"}),Pre=e=>{const{source:t}=hB(),{searchSettings:{view:n}}=WO();return $f.jsx(Ore,{iconKey:t.isExternal?"openLinkInNewTab":"openLinkInSameTab","data-view":n,...e})},Lre=_B("div",{_id:"aiSearchResults__ItemPreview","aria-hidden":!0}),Dre=e=>{const{searchSettings:{view:t,shouldOpenLinksInNewTab:n}}=WO(),{results:r,tab:a,selectedItem:o}=Yte(),i=r[a]??[],s=V.useRef(null),l=V.useMemo((()=>{if(o===One)return s.current;const e=i.find((e=>e.id===o));return s.current=e??null,e}),[o]);if("dual-pane"!==t||o===One)return null;if(!l)return null;const c=void 0!==l.shouldOpenInNewTab?l.shouldOpenInNewTab:n;return $f.jsx(fB,{source:{...l,isExternal:c},children:$f.jsx(Lre,{...e})})},Mre=_B("div",{_id:"aiSearchResults__ItemPreview__Header"}),Fre=_B(xW,{_id:"aiSearchResults__ItemPreview__Heading"}),jre=e=>{const{source:t}=hB();return $f.jsx(Fre,{href:t.url,isExternal:t.isExternal,appendToUrl:t.appendToUrl,"data-type":t.type,...e})},Bre=_B("span",{_id:"aiSearchResults__ItemPreview__Title"}),Hre=e=>{const{source:t}=hB();return $f.jsx(Bre,{children:t.title,...e})},zre=_B(kW,{_id:"aiSearchResults__ItemPreview__Title__LinkIcon",iconKey:"openLinkInNewTab"}),Ure=e=>{const{source:t}=hB();return $f.jsx(zre,{iconKey:t.isExternal?"openLinkInNewTab":"openLinkInSameTab",...e})},$re=_B(kre,{_id:"aiSearchResults__ItemPreview__Breadcrumbs"}),Gre=_B(wre,{_id:"aiSearchResults__ItemPreview__BreadcrumbIcon"}),Vre=_B(V3,{_id:"aiSearchResults__ItemPreview__Body"}),Wre=e=>{const{source:t}=hB(),{resultsList:n}=Yte(),r=n.find((e=>e.id===t.id)),{searchSettings:{shouldOpenLinksInNewTab:a}}=WO();return r?$f.jsx(Vre,{shouldOpenLinksInNewTab:a,children:r.preview,...e}):null},qre=_B("div",{_id:"aiSearchResults__ItemPreview__Outline"}),Yre=e=>{const{source:t}=hB(),{resultsList:n}=Yte(),r=n.find((e=>e.id===t.id)),a=null==r?void 0:r.rootRecord.topLevelHeadings;return(null==a?void 0:a.length)?$f.jsx(qre,{...e}):null},Kre=_B("span",{_id:"aiSearchResults__ItemPreview__Outline__Title",children:"On this page"}),Xre=_B("ul",{_id:"aiSearchResults__ItemPreview__Outline__List"}),Qre=e=>{const{source:t}=hB(),{resultsList:n}=Yte(),r=n.find((e=>e.id===t.id)),a=null==r?void 0:r.rootRecord.topLevelHeadings;if(!(null==a?void 0:a.length))return null;const o=a.map((e=>{var t,n,a;const o=(null==e?void 0:e.anchor)&&(null==e?void 0:e.anchor)===(null==(t=null==r?void 0:r.content)?void 0:t.anchor),i=(null==e?void 0:e.anchor)===(null==(a=null==(n=null==r?void 0:r.pathHeadings)?void 0:n[0])?void 0:a.anchor);return{...e,isMatch:o||i}})),{children:i,...s}=e;return $f.jsx(Xre,{children:CP(i,o),...s})},Zre=_B(xW,{_id:"aiSearchResults__ItemPreview__Outline__Item"}),Jre=e=>{const{searchSettings:{shouldOpenLinksInNewTab:t}}=WO();return $f.jsx(Zre,{isExternal:t,...e})},eae=_B(kW,{_id:"aiSearchResults__ItemPreview__Outline__ItemIcon",iconKey:"newLine"}),tae=_B("span",{_id:"aiSearchResults__ItemPreview__Outline__ItemText"}),nae=e=>$f.jsx(tae,{...e}),rae=_B(bW,{_id:"aiSearchResults__ItemPreview__Outline__ItemLinkIcon",iconSettings:{builtIn:"LuLink"}}),aae=_B("div",{_id:"aiSearchFooter"}),oae=e=>{const{hasContent:t}=Yte();return $f.jsx(aae,{"data-has-results":_P(t),...e})},iae=_B("div",{_id:"aiSearchTagline__Container"}),sae=_B("span",{_id:"aiSearchTagline__Text",children:"Powered by"}),lae=_B(Y3,{_id:"aiSearchTagline__Logo"}),cae=_B("a",{_id:"aiSearchTagline__BrandName",children:"inkeep",href:"https://www.inkeep.com/",target:"_blank",rel:"noopener noreferrer"}),uae=_B(EV,{_id:"modal"}),dae=_B(SV,{_id:"modal__Overlay"}),pae=_B(_V,{_id:"modal__Content","aria-describedby":void 0}),fae=e=>{const t=pD("(max-width: 768px)");return $f.jsx(pae,{"data-mobile":_P(t),...e})},hae=_B(CV,{_id:"modal__Close",children:$f.jsx(kW,{iconKey:"close"})}),mae=e=>rD()?$f.jsx(hae,{...e}):null,gae=_B("div",{_id:"chatButton__Container"}),yae=_B("button",{_id:"chatButton__Button"}),bae=_B("div",{_id:"chatButton__Text"}),vae=_B(ZB,{_id:"chatButton__AvatarContent"}),kae=_B(JB,{_id:"chatButton__AvatarImage"}),wae=V.memo((e=>{const{onLoadingStatusChange:t,avatar:n,...r}=e,{aiChatSettings:a}=WO(),{aiAssistantAvatar:o}=a??{},i="string"==typeof n?n:Zj(null==n?void 0:n.light,null==n?void 0:n.dark),s="string"==typeof o?o:null==o?void 0:o.dark,[l,c]=V.useState(i??s);V.useEffect((()=>{c(i??s)}),[i,s]);return l?$f.jsx(kae,{src:l,"data-type":"image",onLoadingStatusChange:Q3(t,(e=>{"error"===e&&c(null)})),...r}):$f.jsx(BV,{"data-type":"icon",...e})}));const xae={width:void 0,height:void 0};function Eae(e){const{ref:t,box:n="content-box"}=e,[{width:r,height:a},o]=V.useState(xae),i=function(){const e=V.useRef(!1);return V.useEffect((()=>(e.current=!0,()=>{e.current=!1})),[]),V.useCallback((()=>e.current),[])}(),s=V.useRef({...xae}),l=V.useRef(void 0);return l.current=e.onResize,V.useEffect((()=>{if(!t.current)return;if("undefined"==typeof window||!("ResizeObserver"in window))return;const e=new ResizeObserver((([e])=>{const t="border-box"===n?"borderBoxSize":"device-pixel-content-box"===n?"devicePixelContentBoxSize":"contentBoxSize",r=Sae(e,t,"inlineSize"),a=Sae(e,t,"blockSize");if(s.current.width!==r||s.current.height!==a){const e={width:r,height:a};s.current.width=r,s.current.height=a,l.current?l.current(e):i()&&o(e)}}));return e.observe(t.current,{box:n}),()=>{e.disconnect()}}),[n,t,i]),{width:r,height:a}}function Sae(e,t,n){return e[t]?Array.isArray(e[t])?e[t][0][n]:e[t][n]:"contentBoxSize"===t?e.contentRect["inlineSize"===n?"width":"height"]:void 0}const _ae="undefined"!=typeof document?V.useLayoutEffect:V.useEffect;function Tae(e){const{children:t,target:n,tag:r,host:a}=e,o=V.useRef(null),i=V.useRef(null),[,s]=V.useReducer((e=>e+1),0);_ae((()=>{if(!o.current)return;const e=o.current.ownerDocument,t=a??e.body;return i.current=e.createElement(r??"inkeep-portal"),t.appendChild(i.current),s(),()=>{i.current&&t.removeChild(i.current)}}),[]);const l=(null==n?void 0:n.current)??i.current;return l?re.createPortal(t,l):V.createElement("span",{ref:o})}const Cae=({children:e,...t})=>{const{baseSettings:n}=WO(),{rootElement:r}=n;return $f.jsx(Tae,{host:r,...t,children:$f.jsx(uB,{children:e})})},Aae=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,Nae=k5,Iae=(e,t)=>n=>{var r;if(null==(null==t?void 0:t.variants))return Nae(e,null==n?void 0:n.class,null==n?void 0:n.className);const{variants:a,defaultVariants:o}=t,i=Object.keys(a).map((e=>{const t=null==n?void 0:n[e],r=null==o?void 0:o[e];if(null===t)return null;const i=Aae(t)||Aae(r);return a[e][i]})),s=n&&Object.entries(n).reduce(((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e}),{}),l=null==t||null===(r=t.compoundVariants)||void 0===r?void 0:r.reduce(((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every((e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...o,...s}[t]):{...o,...s}[t]===n}))?[...e,n,r]:e}),[]);return Nae(e,i,l,null==n?void 0:n.class,null==n?void 0:n.className)},Rae=Iae(["max-h-screen max-w-screen relative","grow-[5] mx-auto justify-self-center text-left"],{variants:{size:{default:["grow-0 justify-self-center self-center","m-auto max-h-[100vw] max-w-screen","md:w-[min(600px,100%)] md:h-[min(760px,100%)]","lg:w-[min(640px,100%)] lg:h-[min(800px,100%)]","2xl:w-[min(760px,100%)] 2xl:h-[min(900px,100%)]"],expand:["w-full h-full"],"shrink-vertically":["w-full h-auto self-start max-h-full"],"full-viewport":["fixed top-0 left-0 w-screen h-screen z-dropdown"]},variant:{"container-with-shadow":"shadow-[0_25px_50px_-12px_rgba(0,0,0,0.25)] dark:shadow-[none]","no-shadow":"shadow-[none]"}},defaultVariants:{size:"default",variant:"container-with-shadow"}}),Oae=Iae(["inline-flex","items-center","justify-center","align-middle","select-none","relative","whitespace-nowrap","appearance-none","rounded-md","leading-[1.2]","transition-all","duration-300","cursor-pointer","font-semibold","focus:outline-none","focus:z-base","focus-visible:ring","disabled:opacity-40","disabled:cursor-not-allowed","disabled:shadow-none"],{variants:{variant:{solid:["bg-gray-100 dark:bg-white-alpha-100","text-gray-800 dark:text-white-alpha-950","hover:bg-gray-200 dark:hover:bg-white-alpha-200","hover:disabled:bg-gray-100 dark:hover:disabled:bg-white-alpha-100","active:bg-gray-300 dark:active:bg-white-alpha-400"],iconButton:["px-1 text-gray-500 text-md","hover:text-inkeep-primary-strong","dark:text-gray-dark-200","dark:hover:text-inkeep-expanded-primary-300"],ghost:["text-gray-800 dark:text-white-alpha-950","hover:bg-gray-100 dark:hover:bg-white-alpha-100","active:bg-gray-200 dark:active:bg-white-alpha-200"],outline:["border dark:border-white-alpha-200","text-gray-600 dark:text-gray-200","hover:bg-gray-50 dark:hover:bg-white-alpha-100","active:bg-gray-50 dark:active:bg-white-alpha-100"]},size:{sm:"h-8 min-w-8 text-sm px-3",md:"h-10 min-w-10 text-md px-4",xs:"h-6 min-w-6 text-xs px-2"},preset:{neutralFilled:["bg-gray-1000 text-white hover:bg-gray-900 active:bg-gray-900","dark:bg-inkeep-expanded-primary-300 dark:text-gray-dark-950","dark:hover:bg-inkeep-expanded-primary-200","dark:active:bg-inkeep-expanded-primary-200"]}},defaultVariants:{size:"md"}}),Pae=Iae("",{variants:{slot:{root:["flex items-center pl-2","text-xs rounded-md h-6","bg-gray-300 dark:bg-white-alpha-200","min-w-0 w-fit"],icon:["mr-[0.5em]","text-gray-600 dark:text-white-alpha-600"],title:["overflow-hidden whitespace-nowrap text-ellipsis inline-block"],delete:[Oae({variant:"iconButton",size:"md"}),"h-4 px-1 min-w-[unset]","text-gray-600 dark:text-white-alpha-600","hover:bg-transparent hover:text-gray-700","dark:hover:text-white-alpha-500","[&_svg]:w-4 [&_svg]:h-4"]}}}),Lae=Iae("",{variants:{slot:{root:["peer h-4 w-4 shrink-0 rounded-xs","border-2 border-inherit cursor-pointer","disabled:opacity-50","data-[state=checked]:bg-gray-1000","dark:data-[state=checked]:bg-white-alpha-950","data-[state=checked]:border-gray-1000","dark:data-[state=checked]:border-white-alpha-950","text-white data-[state=checked]:text-white","dark:data-[state=checked]:text-gray-1000"],indicator:["flex items-center justify-center","text-current animate-checkbox-check"]}}}),Dae=Iae(["transition-all data-[disable-transitions]:transition-none","duration-100 ease-in-out"],{variants:{slot:{root:["group w-full overflow-hidden border rounded-lg","text-inkeep-primary-text-bold selected:text-inkeep-primary-strong","focus:outline-inkeep-expanded-primary-700 dark:focus:outline-inkeep-expanded-primary-300","dark:text-white-alpha-950 dark:selected:text-inkeep-expanded-primary-300","bg-white selected:bg-inkeep-primary-light-subtle","dark:bg-transparent dark:selected:bg-white-alpha-200","border-gray-200 selected:border-inkeep-primary-medium-subtle","dark:border-white-alpha-200","dark:selected:border-inkeep-expanded-primary-300","py-2 px-5 grid gap-x-3 gap-y-1",'[grid-template:"breadcrumbs_breadcrumbs_breadcrumbs_indicator""icon_title_tag_indicator""description_description_description_indicator"/auto_auto_1fr_auto]',"items-center",'md:data-[view=dual-pane]:[grid-template:"breadcrumbs_breadcrumbs_breadcrumbs""icon_title_tag""description_description_description"/auto_auto_1fr]'],breadcrumbs:["[grid-area:breadcrumbs]","whitespace-nowrap line-clamp-1","flex items-center text-gray-600","dark:text-white-alpha-600 text-xs truncate inline-block"],breadcrumbsIcon:"last-of-type:hidden text-3xs mx-[5px]",icon:["[grid-area:icon]","text-gray-500","group-selected:text-inkeep-primary-text-subtle","dark:text-gray-dark-300 dark:group-selected:text-gray-dark-100"],title:["[grid-area:title]","text-gray-800 dark:text-white-alpha-950","group-selected:text-inkeep-primary-text-bold","dark:group-selected:text-white","font-medium line-clamp-1","whitespace-nowrap text-ellipsis inline-block"],tag:["[grid-area:tag] w-fit justify-self-end","text-xs px-1 uppercase rounded-sm align-middle","font-bold inline-block whitespace-nowrap",'data-[type^="github"]:text-purple-500','data-[type="stackoverflow"]:text-green-500',"shadow-[inset_0_0_0_1px_currentColor]"],description:["[grid-area:description]","text-1sm line-clamp-1","text-gray-700 dark:text-white-alpha-700"],descriptionPart:["data-[highlighted]:font-semibold","data-[highlighted]:text-inkeep-primary-text-subtle","dark:data-[highlighted]:text-gray-dark-50"],indicator:["[grid-area:indicator]","self-center justify-self-end","opacity-0 group-selected:opacity-100","transition-opacity duration-100 ease-in-out ml-auto","md:data-[view=dual-pane]:hidden"]}}}),Mae=Iae("size-4 inline-block leading-[1em] shrink-0 text-current align-middle"),Fae=Iae(["w-full min-w-0 outline-none relative","appearance-none [transition-property:common]","[transition-duration:0.02s]","disabled:opacity-40 disabled:cursor-not-allowed","[--focus-border-color:theme(colors.blue.500)]","[--error-border-color:theme(colors.red.500)]","dark:[--focus-border-color:theme(colors.blue.300)]","dark:[--error-border-color:theme(colors.red.300)]"],{variants:{variant:{outline:["border border-inherit bg-inherit","focus:[&:not([data-invalid])]:border-[--focus-border-color]","focus:[&:not([data-invalid])]:shadow-[0_0_0_1px_var(--focus-border-color)]","data-[invalid]:border-[--error-border-color]","data-[invalid]:shadow-[0_0_0_1px_var(--error-border-color)]"]},size:{md:"p-4 h-10 text-md rounded-md",sm:"px-3 py-2 text-sm rounded-md"}}}),jae=Iae(["transition-[common] ease-out duration-[180]","cursor-pointer text-decoration-none break-words","outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-offset-transparent","hover:underline"]),Bae=Iae("tracking-tight font-semibold",{variants:{size:{lg:"text-xl",md:"text-md"}},defaultVariants:{size:"md"}}),Hae=Iae("text-2sm ms-[1em] break-words pb-3 pl-7 relative [&_li]:mb-1",{variants:{style:{ordered:"list-decimal [counter-increment:item]",unordered:"list-[initial]"}}}),zae=Iae("",{variants:{slot:{root:"w-full border-collapse [font-variant-numeric:lining-nums_tabular-nums]",th:["font-heading font-bold uppercase tracking-wider text-start","data-[is-numeric=true]:text-end","border-b border-gray-100 dark:border-gray-700","text-gray-600 dark:text-gray-400","px-6 py-3 leading-4 text-xs"],td:["text-start data-[is-numeric=true]:text-end","border-b border-gray-100 dark:border-gray-700","px-6 py-4 leading-5"]},size:{md:""}}}),Uae=Iae(["ml-[3px] cursor-pointer","[&_a]:bg-inkeep-primary-light","[&_a]:px-1","[&_a]:py-[1px]","[&_a]:rounded-sm","[&_a]:no-underline","[&_a]:text-inkeep-primary-text-subtle","[&_a]:hover:text-inkeep-primary-text-bold","[&_a]:font-semibold","[&_a]:dark:bg-inkeep-primary-text-subtle","[&_a]:dark:hover:text-inkeep-expanded-primary-200","[&_a]:hover:no-underline"]),$ae=Iae(["bg-inkeep-primary-medium text-inkeep-primary-text-color-on-primary","[overflow-wrap:anywhere] min-w-0 py-[.2rem] my-[.1rem]","px-[.4rem] rounded-[6px] [font-size:85%!important]","font-semibold inline-block","font-mono "]),Gae=Iae("",{variants:{slot:{container:"overflow-y-auto mb-3",header:["flex items-center justify-between","bg-gray-50 dark:bg-gray-dark-800","text-gray-600 dark:text-gray-400","mb-0 leading-[1.25] px-2 text-xs","transition-all duration-200 ease-in-out","rounded-[6px_6px_0_0]"],copyButton:["px-0 bg-inherit text-inherit","hover:text-gray-800 dark:text-white-alpha-700 dark:hover:text-white-alpha-950","dark:hover:bg-transparent h-8 w-8 min-h-8 min-w-8 text-sm","data-[copied]:text-inkeep-primary-medium"],highlighter:["text-1sm overflow-x-auto","rounded-[0_0_6px_6px]","p-[1em] whitespace-pre","m-[0px_0px_0.5em]","bg-gray-50 dark:bg-gray-dark-900","[scrollbar-width:thin]","[--scrollbar-color:var(--color-gray-300)]","dark:[--scrollbar-color:var(--color-gray-dark-600)]","[scrollbar-color:var(--scrollbar-color)_transparent]"]}}}),Vae=Iae("",{variants:{slot:{overlay:["fixed inset-0","bg-overlay-light dark:bg-overlay-dark","data-[state=closed]:hidden","data-[state=open]:animate-fade-in","backdrop-blur-sm overflow-y-auto","place-items-center grid z-overlay"],content:["fixed","top-[5%]","left-1/2","translate-x-[-50%]","z-overlay","flex flex-col","w-full","duration-200","text-inherit rounded-md","bg-white shadow-lg dark:bg-gray-dark-950 dark:shadow-none","focus-visible:outline-none","focus:outline-none","data-[state=closed]:hidden","data-[state=closed]:animate-fade-out","data-[state=open]:animate-fade-in","data-[mobile]:inset-0","data-[mobile]:h-[unset]","data-[mobile]:w-[unset]","data-[mobile]:transform-none","data-[mobile]:rounded-none","[&[data-mobile]>div]:h-full","[&[data-mobile]>div]:max-h-dvh","[&[data-mobile]>div]:max-h-[unset]"],header:["px-6 py-4 text-xl font-semibold flex-0 flex flex-col"],close:[Oae({variant:"ghost",size:"md"}),"w-8 h-8 min-w-0","text-lg text-gray-500 dark:text-white-alpha-500","absolute top-2 right-3"],body:["px-6 py-2 flex-1"]}}}),Wae=Iae("",{variants:{slot:{content:["flex flex-col bg-white dark:bg-gray-dark-800","rounded-md z-popover","shadow-md relative","data-[state=open]:animate-fade-in","data-[state=closed]:animate-fade-out"],arrow:"fill-white dark:fill-gray-dark-800"}}}),qae=Iae("",{variants:{section:{wrapper:"w-full flex flex-col grow-[5] overflow-hidden justify-between max-h-full",header:"relative max-h-full",content:"w-full flex flex-col overflow-hidden p-0 grow-[2]",footer:"justify-self-end flex-shrink-0"}}}),Yae=Iae("",{variants:{slot:{trigger:[Fae({size:"md",variant:"outline"}),"px-4 py-0 flex items-center justify-between"],content:["relative z-dropdown max-h-96 min-w-[8rem]","overflow-hidden rounded-md border","bg-white dark:bg-gray-dark-950 shadow-md","data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out","data-[side=bottom]:translate-y-1.5","data-[side=left]:-translate-x-1.5","data-[side=right]:translate-x-1.5","data-[side=top]:-translate-y-1.5"],viewport:["p-1 h-[var(--radix-select-trigger-height)]","w-full min-w-[var(--radix-select-trigger-width)]"],item:["hover:bg-gray-100 dark:hover:bg-gray-dark-800","focus:bg-gray-100 dark:focus:bg-gray-dark-800","relative flex w-full text-md cursor-pointer py-1.5","select-none outline-none pl-2 pr-8 rounded-md items-center ","data-[disabled]:pointer-events-none data-[disabled]:opacity-50"],itemIndicator:["absolute right-2 flex h-3.5 w-3.5","items-center justify-center"]}}}),Kae=Iae(["h-5 opacity-70 rounded-sm shadow-none","bg-clip-padding cursor-default pointer-events-none","before:invisible after:invisible *:invisible","animate-skeleton-bg-fade select-none","[--start-color:theme(colors.gray.50)]","[--end-color:theme(colors.gray.300)]","dark:[--start-color:theme(colors.gray-dark.800)]","dark:[--end-color:theme(colors.gray-dark.600)]","bg-[--start-color] border-[--end-color]"]),Xae=e=>{const t=eoe(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),Qae(n,t)||Jae(e)},getConflictingClassGroupIds:(e,t)=>{const a=n[e]||[];return t&&r[e]?[...a,...r[e]]:a}}},Qae=(e,t)=>{var n;if(0===e.length)return t.classGroupId;const r=e[0],a=t.nextPart.get(r),o=a?Qae(e.slice(1),a):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join("-");return null==(n=t.validators.find((({validator:e})=>e(i))))?void 0:n.classGroupId},Zae=/^\[(.+)\]$/,Jae=e=>{if(Zae.test(e)){const t=Zae.exec(e)[1],n=null==t?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},eoe=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return aoe(Object.entries(e.classGroups),n).forEach((([e,n])=>{toe(n,r,e,t)})),r},toe=(e,t,n,r)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return roe(e)?void toe(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach((([e,a])=>{toe(a,noe(t,e),n,r)}))}else{(""===e?t:noe(t,e)).classGroupId=n}}))},noe=(e,t)=>{let n=e;return t.split("-").forEach((e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)})),n},roe=e=>e.isThemeGetter,aoe=(e,t)=>t?e.map((([e,n])=>[e,n.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,n])=>[t+e,n]))):e))])):e,ooe=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const a=(a,o)=>{n.set(a,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(a(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):a(e,t)}}},ioe=e=>{const{separator:t,experimentalParseClassName:n}=e,r=1===t.length,a=t[0],o=t.length,i=e=>{const n=[];let i,s=0,l=0;for(let d=0;d<e.length;d++){let c=e[d];if(0===s){if(c===a&&(r||e.slice(d,d+o)===t)){n.push(e.slice(l,d)),l=d+o;continue}if("/"===c){i=d;continue}}"["===c?s++:"]"===c&&s--}const c=0===n.length?e:e.substring(l),u=c.startsWith("!");return{modifiers:n,hasImportantModifier:u,baseClassName:u?c.substring(1):c,maybePostfixModifierPosition:i&&i>l?i-l:void 0}};return n?e=>n({className:e,parseClassName:i}):i},soe=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach((e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)})),t.push(...n.sort()),t},loe=/\s+/;function coe(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=uoe(e))&&(r&&(r+=" "),r+=t);return r}const uoe=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=uoe(e[r]))&&(n&&(n+=" "),n+=t);return n};function doe(e,...t){let n,r,a,o=function(s){const l=t.reduce(((e,t)=>t(e)),e());return n=(e=>({cache:ooe(e.cacheSize),parseClassName:ioe(e),...Xae(e)}))(l),r=n.cache.get,a=n.cache.set,o=i,i(s)};function i(e){const t=r(e);if(t)return t;const o=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a}=t,o=[],i=e.trim().split(loe);let s="";for(let l=i.length-1;l>=0;l-=1){const e=i[l],{modifiers:t,hasImportantModifier:c,baseClassName:u,maybePostfixModifierPosition:d}=n(e);let p=Boolean(d),f=r(p?u.substring(0,d):u);if(!f){if(!p){s=e+(s.length>0?" "+s:s);continue}if(f=r(u),!f){s=e+(s.length>0?" "+s:s);continue}p=!1}const h=soe(t).join(":"),m=c?h+"!":h,g=m+f;if(o.includes(g))continue;o.push(g);const y=a(f,p);for(let n=0;n<y.length;++n){const e=y[n];o.push(m+e)}s=e+(s.length>0?" "+s:s)}return s})(e,n);return a(e,o),o}return function(){return o(coe.apply(null,arguments))}}const poe=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},foe=/^\[(?:([a-z-]+):)?(.+)\]$/i,hoe=/^\d+\/\d+$/,moe=new Set(["px","full","screen"]),goe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,yoe=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,boe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,voe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,koe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,woe=e=>Eoe(e)||moe.has(e)||hoe.test(e),xoe=e=>Moe(e,"length",Foe),Eoe=e=>Boolean(e)&&!Number.isNaN(Number(e)),Soe=e=>Moe(e,"number",Eoe),_oe=e=>Boolean(e)&&Number.isInteger(Number(e)),Toe=e=>e.endsWith("%")&&Eoe(e.slice(0,-1)),Coe=e=>foe.test(e),Aoe=e=>goe.test(e),Noe=new Set(["length","size","percentage"]),Ioe=e=>Moe(e,Noe,joe),Roe=e=>Moe(e,"position",joe),Ooe=new Set(["image","url"]),Poe=e=>Moe(e,Ooe,Hoe),Loe=e=>Moe(e,"",Boe),Doe=()=>!0,Moe=(e,t,n)=>{const r=foe.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))},Foe=e=>yoe.test(e)&&!boe.test(e),joe=()=>!1,Boe=e=>voe.test(e),Hoe=e=>koe.test(e),zoe=doe((()=>{const e=poe("colors"),t=poe("spacing"),n=poe("blur"),r=poe("brightness"),a=poe("borderColor"),o=poe("borderRadius"),i=poe("borderSpacing"),s=poe("borderWidth"),l=poe("contrast"),c=poe("grayscale"),u=poe("hueRotate"),d=poe("invert"),p=poe("gap"),f=poe("gradientColorStops"),h=poe("gradientColorStopPositions"),m=poe("inset"),g=poe("margin"),y=poe("opacity"),b=poe("padding"),v=poe("saturate"),k=poe("scale"),w=poe("sepia"),x=poe("skew"),E=poe("space"),S=poe("translate"),_=()=>["auto",Coe,t],T=()=>[Coe,t],C=()=>["",woe,xoe],A=()=>["auto",Eoe,Coe],N=()=>["","0",Coe],I=()=>[Eoe,Coe];return{cacheSize:500,separator:":",theme:{colors:[Doe],spacing:[woe,xoe],blur:["none","",Aoe,Coe],brightness:I(),borderColor:[e],borderRadius:["none","","full",Aoe,Coe],borderSpacing:T(),borderWidth:C(),contrast:I(),grayscale:N(),hueRotate:I(),invert:N(),gap:T(),gradientColorStops:[e],gradientColorStopPositions:[Toe,xoe],inset:_(),margin:_(),opacity:I(),padding:T(),saturate:I(),scale:I(),sepia:N(),skew:I(),space:T(),translate:T()},classGroups:{aspect:[{aspect:["auto","square","video",Coe]}],container:["container"],columns:[{columns:[Aoe]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Coe]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",_oe,Coe]}],basis:[{basis:_()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Coe]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",_oe,Coe]}],"grid-cols":[{"grid-cols":[Doe]}],"col-start-end":[{col:["auto",{span:["full",_oe,Coe]},Coe]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[Doe]}],"row-start-end":[{row:["auto",{span:[_oe,Coe]},Coe]}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Coe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Coe]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Coe,t]}],"min-w":[{"min-w":[Coe,t,"min","max","fit"]}],"max-w":[{"max-w":[Coe,t,"none","full","min","max","fit","prose",{screen:[Aoe]},Aoe]}],h:[{h:[Coe,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Coe,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Coe,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Coe,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Aoe,xoe]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Soe]}],"font-family":[{font:[Doe]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Coe]}],"line-clamp":[{"line-clamp":["none",Eoe,Soe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",woe,Coe]}],"list-image":[{"list-image":["none",Coe]}],"list-style-type":[{list:["none","disc","decimal",Coe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",woe,xoe]}],"underline-offset":[{"underline-offset":["auto",woe,Coe]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Coe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Coe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Roe]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ioe]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Poe]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[woe,Coe]}],"outline-w":[{outline:[woe,xoe]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:C()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[woe,xoe]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Aoe,Loe]}],"shadow-color":[{shadow:[Doe]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Aoe,Coe]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[v]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Coe]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",Coe]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",Coe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[_oe,Coe]}],"translate-x":[{"translate-x":[S]}],"translate-y":[{"translate-y":[S]}],"skew-x":[{"skew-x":[x]}],"skew-y":[{"skew-y":[x]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Coe]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Coe]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Coe]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[woe,xoe,Soe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}));function Uoe(...e){return zoe(k5(e))}const $oe=e=>e?"":void 0,Goe=Iae("",{variants:{slot:{root:["bg-gray-50 dark:bg-transparent","border border-transparent dark:border-gray-dark-700","rounded-md p-0.5 flex items-center"],button:[Uoe(Oae({size:"xs"}),"group","rounded data-[active]:shadow","bg-transparent data-[active]:bg-white","text-gray-600 data-[active]:text-gray-800","dark:text-white-alpha-600 dark:data-[active]:text-white-alpha-950","dark:data-[active]:bg-gray-dark-700 dark:shadow-none","hover:text-gray-800 hover:dark:text-white-alpha-950","focus-visible:ring-transparent")],icon:["mr-1 text-gray-500 data-[active]:text-gray-600","dark:text-white-alpha-500 dark:data-[active]:text-white-alpha-600","group-hover:text-gray-600 dark:group-hover:text-white-alpha-600"]}}}),Voe={markdownH1:Uoe(Bae({size:"lg"}),"mb-3"),markdownH2:Uoe(Bae({size:"md"}),"mb-2"),markdownP:Uoe("mb-3 break-words whitespace-pre-wrap","[&+ol,&+li]:mt-0"),markdownLi:Uoe("[&_a]:break-words [&_a]:inline"),markdownUl:Hae({style:"unordered"}),markdownOl:Uoe(Hae({style:"ordered"}),"[inset-inline-start:var(--start,0px)]","[counter-reset:item_calc(var(--start,0)_-_1)]"),markdownLink:Uoe(jae(),"text-inkeep-primary-stronger hover:text-inkeep-primary-strong","dark:text-inkeep-expanded-primary-100 dark:hover:text-inkeep-expanded-primary-300"),markdownSourceLink:Uae(),markdownTable:zae({slot:"root"}),markdownTh:zae({slot:"th"}),markdownTd:zae({slot:"td"}),markdownCode:$ae(),codeblockContainer:Gae({slot:"container"}),codeblockHeader:Gae({slot:"header"}),codeblockCopyButton:Uoe(Oae({}),Gae({slot:"copyButton"})),codeblockHighlighterWrapper:Uoe(),codeblockHighlighter:Gae({slot:"highlighter"}),codeblockCode:"font-mono",markdownInput:Uoe("mr-1")},Woe=["Thinking","Looking for content","Analyzing"];function qoe(){const[e,t]=V.useState(0);return V.useEffect((()=>{const e=setInterval((()=>{t((t=>t+1<Woe.length?t+1:(clearInterval(e),t)))}),3500);return()=>clearInterval(e)}),[]),$f.jsxs("div",{className:"flex items-center space-x-2 font-medium text-sm text-gray-700 dark:text-gray-dark-300","aria-live":"polite",children:[$f.jsx("span",{className:"animate-shimmer bg-gradient-to-br from-gray-700 to-gray-400 dark:from-gray-dark-300 dark:to-gray-dark-100 bg-clip-text text-transparent",children:Woe[e]}),$f.jsx("div",{className:"flex space-x-1",children:[0,1,2].map((e=>$f.jsx("span",{className:"animate-bounce-dot opacity-30",style:{animationDelay:.2*e+"s"},children:"."},e)))})]})}const Yoe=()=>Array.from({length:3}).map(((e,t)=>{const n=t%2==0;return $f.jsxs("div",{className:Uoe("flex items-center flex-row-reverse","data-[even]:flex-row","[--end-color:theme(colors.white-alpha.100)]","dark:[--start-color:theme(colors.gray.300)]","dark:[--end-color:theme(colors.white-alpha.300)]"),"data-even":$oe(n),children:[$f.jsx("div",{"data-even":$oe(n),className:Uoe(Kae(),"h-12 w-12 rounded-full","data-[even]:mr-4 ml-4 data-[even]:ml-0")}),$f.jsxs("div",{"data-even":$oe(n),className:"flex flex-col gap-2 items-end data-[even]:items-start",children:[$f.jsx("div",{"data-even":$oe(n),className:Uoe(Kae(),"h-4 rounded-lg w-60")}),$f.jsx("div",{"data-even":$oe(n),className:Uoe(Kae(),"h-4 rounded-lg w-56")})]})]},t)})),Koe=e=>$f.jsx(KO,{children:$f.jsx(uP,{children:$f.jsx(sD,{children:$f.jsx(Tj,{...e})})})}),Xoe=V.forwardRef((({className:e,size:t,variant:n,...r},a)=>$f.jsx(h4,{ref:a,className:Uoe(Rae({size:t,variant:n}),"data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950","data-[composite]:w-full","max-h-[min(85vh,850px)]",e),...r}))),Qoe=({className:e,...t})=>$f.jsx(g4,{className:Uoe("flex flex-col items-center justify-center h-full gap-12 flex-1 p-8",e),children:$f.jsx(Yoe,{}),...t}),Zoe=({className:e,...t})=>$f.jsx(b4,{className:Uoe(qae({section:"wrapper"}),"rounded-[inherit] font-body",e),...t}),Joe=({className:e,...t})=>$f.jsx(v4,{className:Uoe(qae({section:"header"}),"flex items-center","bg-white dark:bg-gray-dark-950","data-[show-toolbar]:after:absolute","data-[show-toolbar]:after:left-0","data-[show-toolbar]:after:top-full","data-[show-toolbar]:after:h-[1rem]","data-[show-toolbar]:after:w-full","data-[show-toolbar]:after:text-white","data-[show-toolbar]:after:dark:text-gray-dark-950","data-[show-toolbar]:after:bg-[linear-gradient(currentColor,_transparent)]","data-[show-toolbar]:after:z-start",e),...t}),eie=({className:e,...t})=>$f.jsx(k4,{className:Uoe("flex items-center gap-2 w-full pl-6 pr-1","ikp-md:px-4 py-2 justify-between *:m-0",e),...t}),tie=({className:e,...t})=>$f.jsx(w4,{className:Uoe("flex items-center gap-1.5",e),...t}),nie=({className:e,...t})=>$f.jsx(E4,{className:Uoe("text-gray-600 dark:text-gray-dark-100 text-sm",e),...t}),rie=({className:e,...t})=>$f.jsx(S4,{className:Uoe(qae({section:"content"}),"justify-end",e),...t}),aie=({className:e,...t})=>$f.jsx(_4,{className:Uoe("overflow-hidden",e),...t}),oie=V.forwardRef((({className:e,...t},n)=>$f.jsx(C4,{ref:n,className:Uoe("h-full w-full rounded-[inherit]",e),...t}))),iie=({className:e,...t})=>$f.jsx(A4,{className:Uoe("flex select-none touch-none p-0.5","transition-colors duration-[160ms] ease-in-out","w-2.5 border-l border-l-transparent",e),...t}),sie=({className:e,...t})=>$f.jsx(N4,{className:Uoe("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),lie=I4,cie=({className:e,...t})=>$f.jsx(L4,{className:Uoe("ml-auto text-sm flex items-center gap-1",e),...t}),uie=({className:e,...t})=>$f.jsx(M4,{className:Uoe("text-gray-700 dark:text-gray-dark-100",e),...t}),die=({className:e,...t})=>$f.jsx(F4,{className:Uoe("cursor-pointer text-gray-700 dark:text-gray-dark-100",e),...t}),pie=({className:e,...t})=>$f.jsx(B4,{className:Uoe(Wae({slot:"content"}),"px-4 py-2 font-normal","w-[250px] sm:w-[420px]",e),...t}),fie=z4,hie=({className:e,...t})=>$f.jsx(U4,{className:Uoe(Wae({slot:"arrow"}),e),...t}),mie=({className:e,...t})=>$f.jsx(G4,{className:Uoe("mt-4 flex flex-col gap-2",e),...t}),gie=({className:e,...t})=>$f.jsx(W4,{className:Uoe("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),yie=({className:e,...t})=>$f.jsx(Y4,{className:Uoe("flex flex-col","ikp-md:flex-row","flex-wrap gap-2",e),...t}),bie=V.forwardRef((({className:e,style:t,...n},r)=>{const a=V.useRef(null),o=yB(r,a),{width:i=0,height:s=0}=Eae({ref:a,box:"border-box"}),l=Math.max(s,i);return $f.jsx(X4,{ref:o,style:{"--before-size":`${l+100}px`,...t},className:Uoe("flex items-center justify-center relative z-base","min-h-9 rounded-md overflow-hidden","before:absolute before:z-hide","before:bg-gray-300 dark:before:bg-gray-dark-950","before:bg-no-repeat before:[background-position:0_0]","before:[background-size:cover] before:m-auto","before:w-[--before-size] before:h-[--before-size]","data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.600),transparent_30%)]","dark:data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.300),transparent_30%)]","data-[highlight]:first:before:animate-[spin_4s_linear_infinite]","after:absolute after:z-base after:top-[1px] after:left-[1px]","after:w-[calc(100%-2px)] after:h-[calc(100%-2px)]","after:rounded-[5px] after:bg-white dark:after:bg-gray-dark-950",e),...n})})),vie=({className:e,...t})=>$f.jsx(Z4,{className:Uoe(Oae({size:"sm"}),"text-sm font-normal h-auto w-full py-2 z-start","whitespace-normal text-center leading-[unset]","border border-solid","text-gray-800 dark:text-white-alpha-950","border-white-alpha-200","[&:where(:hover,:focus)]:bg-slate-400/5","dark:[&:where(:hover,:focus)]:bg-white-alpha-100 focus:z-start",e),...t}),kie=({className:e,...t})=>$f.jsx(O4,{className:Uoe("flex flex-col w-full min-w-0 min-h-0 text-2sm relative",e),...t}),wie=Iae(["flex relative w-full overflow-hidden py-8","px-6 ikp-md:px-8","flex-col ikp-md:flex-row","min-w-0 grow-[2] data-[role=user]:grow-0","[&:not(:last-child)]:after:absolute","[&:not(:last-child)]:after:border-b","[&:not(:last-child)]:after:bottom-0","[&:not(:last-child)]:after:inset-x-6","ikp-md:[&:not(:last-child)]:after:inset-x-8"]),xie=({className:e,...t})=>$f.jsx(n6,{className:Uoe(wie(),e),...t}),Eie=({className:e,...t})=>$f.jsx(r6,{className:Uoe(wie(),e),...t}),Sie=({className:e,...t})=>$f.jsx(o6,{className:Uoe("flex justify-start overflow-hidden shrink-0 select-none","flex-row ikp-md:flex-col","items-center ikp-md:items-start","ikp-md:pl-3","ikp-md:pr-6","mb-6 ikp-md:mb-0",e),...t}),_ie=({className:e,...t})=>$f.jsx(s6,{className:Uoe("flex items-center gap-3 h-12 w-full",e),children:$f.jsx(qoe,{}),...t}),Tie=({className:e,...t})=>$f.jsx(c6,{className:Uoe("flex items-center justify-center rounded-full","h-auto ikp-md:h-12",e),...t}),Cie=({className:e,...t})=>$f.jsx(d6,{className:Uoe("relative flex h-8 w-8 shrink-0 overflow-hidden","data-[username]:bg-inkeep-primary-lighter","dark:data-[username]:bg-inkeep-expanded-primary-300","text-inkeep-primary-stronger font-semibold ","data-[role=user]:hidden ikp-md:flex","justify-center items-center",e),...t}),Aie=({className:e,...t})=>$f.jsx(f6,{className:Uoe("hidden data-[role=user]:block",e),...t}),Nie=({className:e,...t})=>$f.jsx(m6,{className:Uoe("data-[type=icon]:data-[role=user]:text-inkeep-primary-medium","dark:data-[type=icon]:data-[role=user]:text-inkeep-expanded-primary-300","data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.300)]","data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.700)]","dark:data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.50)]","dark:data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.300)]",e),...t}),Iie=({className:e,...t})=>$f.jsx(y6,{className:Uoe("px-3 py-1 ml-4 data-[role=user]:ml-0","text-sm rounded-full","bg-inkeep-primary-lighter data-[role=user]:bg-gray-50","text-inkeep-primary-stronger dark:text-inkeep-expanded-primary-300","data-[role=user]:text-gray-700 dark:data-[role=user]:text-white-alpha-700","dark:bg-gray-dark-700","ikp-md:hidden",e),...t}),Rie=({className:e,...t})=>$f.jsx(v6,{className:Uoe("overflow-hidden flex flex-col","justify-start grow-2 w-full","data-[role=user]:justify-end","data-[role=user]:shrink-2","data-[role=user]:grow-0","ikp-md:pr-3",e),...t}),Oie=({className:e,...t})=>$f.jsx(w6,{className:Uoe("text-2sm flex-wrap break-words min-w-0 shrink-1 max-w-full",e),...t}),Pie=e=>{var t,n;const{message:r}=Wj(),a=null==(n=null==(t=r.metadata)?void 0:t.attributes)?void 0:n.attachments;return"user"===r.role&&(null==a?void 0:a.length)?$f.jsx(Uj,{children:$f.jsx(x6,{...e})}):null},Lie=({className:e,...t})=>$f.jsx(S6,{className:Uoe("flex flex-wrap gap-2",e),...t}),Die=({className:e,...t})=>$f.jsx(T6,{className:Uoe(Oae({variant:"ghost"}),Pae({slot:"root"}),"font-normal px-2",e),...t}),Mie=({className:e,...t})=>$f.jsx(A6,{className:Uoe(Pae({slot:"icon"}),e),...t}),Fie=({className:e,...t})=>$f.jsx(I6,{className:Uoe(Pae({slot:"title"}),e),...t}),jie=e=>{const{onOpenChange:t,...n}=e,{selectItem:r,isOpen:a,onClose:o,selectedItem:i}=$j();return $f.jsx(R6,{open:a&&null!==i,onOpenChange:Q3(t,(e=>{e||(o(),r(null))})),...n})},Bie=({className:e,...t})=>$f.jsx(O6,{className:Uoe(Vae({slot:"overlay"}),e),...t}),Hie=({className:e,...t})=>$f.jsx(P6,{className:Uoe(Vae({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),zie=({className:e,...t})=>$f.jsx(D6,{className:Uoe(Vae({slot:"header"}),"px-0 pt-0 pb-8 flex flex-col gap-6","font-semibold",e),...t}),Uie=({className:e,...t})=>$f.jsx(M6,{className:Uoe(Vae({slot:"close"}),e),...t}),$ie=({className:e,...t})=>$f.jsx(j6,{className:Uoe(Vae({slot:"body"}),"p-0",e),...t}),Gie=({className:e,componentStyles:t,...n})=>$f.jsx(H6,{className:Uoe("data-[role=user]:whitespace-pre-wrap mb-3 max-w-full",e),componentStyles:If(Voe,t??{}),...n}),Vie=({className:e,...t})=>$f.jsx(U6,{className:Uoe("flex items-center mt-2 mb-3",e),...t}),Wie=({className:e,...t})=>$f.jsx(G6,{className:Uoe("mr-auto flex items-center gap-2",e),...t}),qie=({className:e,...t})=>$f.jsx(V6,{className:Uoe(Oae({size:"xs",variant:"outline"}),"text-xs h-[30px] text-gray-700 dark:text-gray-200 gap-1",e),...t}),Yie=({className:e,...t})=>$f.jsx(q6,{className:Uoe(Oae({variant:"iconButton",size:"sm"}),"data-[upvoted]:text-inkeep-primary-medium","data-[downvoted]:text-inkeep-primary-medium","data-[upvoted]:dark:text-inkeep-expanded-primary-300","data-[downvoted]:dark:text-inkeep-expanded-primary-300","dark:hover:text-inkeep-expanded-primary-300 px-2 text-md",e),...t}),Kie=e=>{var t;const{message:n}=Wj();return"assistant"===n.role&&(null==(t=n.links)?void 0:t.length)?$f.jsx(Y6,{...e}):null},Xie=({className:e,...t})=>$f.jsx(X6,{className:Uoe("block text-xs font-medium my-2 text-gray-700 dark:text-gray-dark-300",e),...t}),Qie=({className:e,...t})=>$f.jsx(Z6,{className:Uoe("w-full relative flex flex-col gap-3 py-[1px]",e),...t}),Zie=({className:e,...t})=>$f.jsx(e8,{className:Uoe(Dae({slot:"root"}),e),...t}),Jie=({className:e,...t})=>$f.jsx(n8,{className:Uoe(Dae({slot:"breadcrumbs"}),e),...t}),ese=({className:e,...t})=>$f.jsx(r8,{className:Uoe(Dae({slot:"breadcrumbsIcon"}),e),...t}),tse=({className:e,...t})=>$f.jsx(o8,{className:Uoe(Dae({slot:"icon"}),e),...t}),nse=({className:e,...t})=>$f.jsx(s8,{className:Uoe(Dae({slot:"title"}),e),...t}),rse=({className:e,...t})=>$f.jsx(c8,{className:Uoe(Dae({slot:"tag"}),e),...t}),ase=({className:e,...t})=>$f.jsx(d8,{className:Uoe(Dae({slot:"description"}),e),...t}),ose=({className:e,...t})=>$f.jsx(f8,{className:Uoe(Dae({slot:"descriptionPart"}),e),...t}),ise=({className:e,...t})=>$f.jsx(m8,{className:Uoe(Dae({slot:"indicator"}),e),...t}),sse=({className:e,...t})=>$f.jsx(g8,{className:Uoe("bg-white dark:bg-gray-dark-950 pt-6 pb-4","px-6 ikp-md:px-8 relative","before:absolute before:block before:top-0 before:left-0","before:pointer-events-none before:w-full before:h-3","before:bg-gradient-to-b before:from-transparent before:to-white","dark:before:to-gray-dark-950 before:-translate-y-full",e),...t}),lse=({className:e,...t})=>$f.jsx(y8,{className:Uoe("relative flex flex-col w-full p-2","rounded-lg items-stretch shadow-md dark:shadow-none","bg-gray-50 dark:bg-white-alpha-50",e),...t}),cse=({className:e,...t})=>$f.jsx(b8,{className:Uoe("flex",e),...t}),use=V.forwardRef((({className:e,...t},n)=>$f.jsx(k8,{ref:n,className:Uoe("min-h-[unset] overflow-hidden w-full resize-none","placeholder:text-gray-500 dark:placeholder:text-gray-dark-200","border-none outline-none shadow-none bg-transparent","px-3 py-2 ml-1 mr-2 max-h-[200px] overflow-y-auto disabled:cursor-not-allowed",e),...t}))),dse=({className:e,...t})=>$f.jsx(x8,{className:Uoe(Oae({}),"bg-transparent relative size-10 rounded-lg transition-all ease-linear","text-inkeep-primary-medium dark:text-inkeep-expanded-primary-500","active:bg-gray-300 dark:active:bg-white-alpha-100","hover:bg-gray-200 hover:text-inkeep-primary-strong","dark:hover:bg-white-alpha-100 dark:hover:text-inkeep-expanded-primary-300","disabled:text-gray-500 dark:disabled:text-white-alpha-200","disabled:cursor-not-allowed hover:disabled:[background:none] active:disabled:[background:none]",e),...t}),pse=({className:e,...t})=>$f.jsx(E8,{className:Uoe(Mae(),"text-inherit rotate-[-30deg]",e),...t}),fse=({className:e,...t})=>$f.jsx(_8,{className:Uoe("flex items-center justify-between","flex-wrap gap-2 px-1 pt-2 pb-1",e),...t}),hse=({className:e,...t})=>$f.jsx(C8,{className:Uoe("flex items-center gap-2 flex-wrap px-3 min-w-0",e),...t}),mse=({className:e,...t})=>$f.jsx(N8,{className:Uoe(Pae({slot:"root"}),e),...t}),gse=({className:e,...t})=>$f.jsx(R8,{className:Uoe(Pae({slot:"icon"}),e),...t}),yse=({className:e,...t})=>$f.jsx(P8,{className:Uoe(Pae({slot:"title"}),e),...t}),bse=({className:e,...t})=>$f.jsx(D8,{className:Uoe(Pae({slot:"delete"}),e),...t}),vse=({className:e,...t})=>$f.jsx(M8,{className:Uoe("flex items-center justify-between","gap-2 flex-wrap px-3",e),...t}),kse=F8,wse=({className:e,...t})=>$f.jsx(j8,{className:Uoe("cursor-pointer text-sm text-gray-600","dark:text-white-alpha-600",e),...t}),xse=({className:e,...t})=>$f.jsx(H8,{className:Uoe("bg-white text-gray-800 fill-white","dark:bg-gray-dark-800 dark:text-white-alpha-950 dark:fill-gray-dark-800","shadow-[0_8px_30px_rgba(0,0,0,0.12)] z-dropdown","px-3 py-2 rounded-md text-sm font-normal max-w-[200px]",e),...t}),Ese=({className:e,...t})=>$f.jsx(U8,{className:Uoe("contents",e),...t}),Sse=({className:e,...t})=>$f.jsx(G8,{className:Uoe(Oae({variant:"outline",size:"xs"}),"light:text-gray-700 gap-1",e),...t}),_se=V8,Tse=e=>{const{onOpenChange:t,...n}=e,{selectInput:r,isOpen:a,onClose:o,selectedInput:i}=Ij();return $f.jsx(W8,{open:a&&null!==i,onOpenChange:Q3(t,(e=>{e||(o(),r(null))})),...n})},Cse=({className:e,...t})=>$f.jsx(q8,{className:Uoe(Vae({slot:"overlay"}),e),...t}),Ase=({className:e,...t})=>$f.jsx(Y8,{className:Uoe(Vae({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),Nse=({className:e,...t})=>$f.jsx(K8,{className:Uoe(Vae({slot:"header"}),"px-0 pt-0 pb-8 gap-y-2","font-semibold",e),...t}),Ise=({className:e,...t})=>$f.jsx(Q8,{className:Uoe("w-full semibold",e),...t}),Rse=({className:e,...t})=>$f.jsx(J8,{className:Uoe("text-gray-700 dark:text-white-alpha-700","text-sm font-normal w-full",e),...t}),Ose=e=>{var t;const{children:n,...r}=e,{selectedInput:a}=Ij(),o=null==(t=null==a?void 0:a.workflowModalProps)?void 0:t.modalHelpElement;return o?$f.jsx(e9,{asChild:!n,children:n||o,...r}):null},Pse=({className:e,...t})=>$f.jsx(t9,{className:Uoe(Vae({slot:"close"}),e),...t}),Lse=({className:e,...t})=>$f.jsx(n9,{className:Uoe(Vae({slot:"body"}),"p-0",e),...t}),Dse=({className:e,...t})=>$f.jsx(a9,{className:Uoe("flex flex-col gap-8",e),...t}),Mse=({className:e,...t})=>$f.jsx(o9,{className:Uoe("flex flex-col gap-2",e),...t}),Fse=({className:e,...t})=>$f.jsx(s9,{className:Uoe("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),jse=({className:e,...t})=>$f.jsx(c9,{className:Uoe("h-10 px-4 rounded-md border","focus:outline-none focus:[--shadow-color:theme(colors.blue.500)]","data-[invalid]:[--shadow-color:theme(colors.red.500)]","shadow-[0_0_0_2px_var(--shadow-color)]",e),...t}),Bse=({className:e,...t})=>$f.jsx(d9,{className:Uoe("text-sm text-red-500",e),...t}),Hse=({className:e,...t})=>$f.jsx(p9,{className:Uoe("flex flex-col gap-2",e),...t}),zse=({className:e,...t})=>$f.jsx(h9,{className:Uoe("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),Use=({className:e,...t})=>$f.jsx(g9,{className:Uoe(Fae({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),$se=({className:e,...t})=>$f.jsx(b9,{className:Uoe("text-sm text-red-500",e),...t}),Gse=({className:e,...t})=>$f.jsx(v9,{className:Uoe(Oae({preset:"neutralFilled"}),"ml-auto",e),...t}),Vse=({className:e,...t})=>$f.jsx(k9,{className:Uoe("mt-4 flex items-start justify-between flex-wrap-reverse gap-2.5",e),...t}),Wse=({className:e,...t})=>$f.jsx(w9,{className:Uoe("flex items-center gap-2.5 flex-wrap",e),...t}),qse=({className:e,...t})=>$f.jsx(x9,{className:Uoe("flex items-center whitespace-nowrap",e),...t}),Yse=({className:e,...t})=>$f.jsx(E9,{className:Uoe("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),Kse=({className:e,...t})=>$f.jsx(S9,{className:Uoe("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),Xse=({className:e,...t})=>$f.jsx(_9,{className:Uoe(jae(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t}),Qse=Uoe(Oae({size:"xs",variant:"outline"}),"text-gray-700 dark:text-white-alpha-700"),Zse=({className:e,...t})=>$f.jsx(C9,{className:Uoe(Qse,e),...t}),Jse=({className:e,...t})=>$f.jsx(N9,{className:Uoe("cursor-pointer",e),...t}),ele=({className:e,...t})=>$f.jsx(R9,{className:Uoe("bg-white text-gray-800 fill-white","dark:bg-gray-dark-800 dark:text-white-alpha-900 dark:fill-gray-dark-800","shadow-[0_8px_30px_rgba(0,0,0,0.12)]","px-2 py-3 rounded-md text-sm font-normal",e),...t}),tle=e=>{const{children:t,...n}=e,{aiChatSettings:r}=WO(),{getHelpOptions:a}=r;if(!a||0===(a??[]).length)return null;const{_pinned:o,_unpinned:i}=a.reduce(((e,t)=>{const n=t.isPinnedToToolbar?"_pinned":"_unpinned";return{...e,[n]:[...e[n],t]}}),{_pinned:[],_unpinned:[]}),s=1===i.length?[...o,i[0]]:o,l=1===i.length?[]:i,c=function(){const[e,t]=V.useState(!1);return{open:e,setOpen:t}}();return $f.jsx(jj,{value:c,children:$f.jsx(O9,{open:c.open,onOpenChange:c.setOpen,children:CP(t,{pinned:s,unpinned:l}),...n})})},nle=({className:e,...t})=>$f.jsx(D9,{className:Uoe(Qse,e),...t}),rle=({className:e,...t})=>$f.jsx(F9,{className:Uoe(Qse,e),...t}),ale=({className:e,...t})=>$f.jsx(B9,{className:Uoe(Wae({slot:"content"}),"gap-3 px-3 py-4 ","w-[254px] text-sm font-normal",e),...t}),ole=({className:e,...t})=>$f.jsx(H9,{className:Uoe(Wae({slot:"arrow"}),e),...t}),ile=({className:e,...t})=>$f.jsx(z9,{className:Uoe("flex items-center cursor-pointer hover:underline",e),...t}),sle=({className:e,...t})=>$f.jsx($9,{className:Uoe("mr-2 text-inkeep-primary-medium",e),...t}),lle=e=>{const{onOpenChange:t,...n}=e,{currentFeedback:r,setCurrentFeedback:a}=wD();return $f.jsx(G9,{open:null!==r,onOpenChange:Q3(t,(()=>a(null))),...n})},cle=({className:e,...t})=>$f.jsx(V9,{className:Uoe(Vae({slot:"overlay"}),e),...t}),ule=({className:e,...t})=>$f.jsx(W9,{className:Uoe(Vae({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-[480px]",e),...t}),dle=({className:e,...t})=>$f.jsx(q9,{className:Uoe(Vae({slot:"header"}),"px-0 pt-0 pb-8","font-semibold",e),...t}),ple=({className:e,...t})=>$f.jsx(Y9,{className:Uoe(Vae({slot:"close"}),e),...t}),fle=({className:e,...t})=>$f.jsx(K9,{className:Uoe(Vae({slot:"body"}),"p-0",e),...t}),hle=({className:e,...t})=>$f.jsx(Q9,{className:Uoe("flex flex-col gap-8",e),...t}),mle=({className:e,...t})=>$f.jsx(J9,{className:Uoe("flex flex-wrap items-center","gap-[1rem_0.5rem]",e),...t}),gle=({className:e,...t})=>$f.jsx(t7,{className:Uoe(Lae({slot:"root"}),e),...t}),yle=({className:e,...t})=>$f.jsx(n7,{className:Uoe(Lae({slot:"indicator"}),e),...t}),ble=({className:e,...t})=>$f.jsx(a7,{className:Uoe("select-none cursor-pointer font-medium text-sm","text-gray-700 dark:text-white-alpha-700",e),...t}),vle=({className:e,...t})=>$f.jsx(i7,{className:Uoe("flex-[0_0_100%]","min-h-20 py-2 border rounded-md","px-4",e),...t}),kle=({className:e,...t})=>$f.jsx(s7,{className:Uoe(Oae({preset:"neutralFilled"}),"ml-auto",e),...t}),wle=({className:e,...t})=>$f.jsx(c7,{className:Uoe("w-full overflow-y-auto",e),...t}),xle=({className:e,...t})=>$f.jsx(d7,{className:Uoe(qae({section:"content"}),"relative pt-4 pb-8 gap-8","items-start justify-center w-full","px-6 ikp-md:px-14 ikp-md:pb-14",e),...t}),Ele=({className:e,...t})=>$f.jsx(f7,{className:Uoe(Oae({variant:"ghost"}),"absolute right-1 top-1","text-xl text-gray-500 dark:text-white-alpha-500 w-10 h-10 z-modal",e),...t}),Sle=({className:e,...t})=>$f.jsx(h7,{className:Uoe("mt-12 flex flex-col gap-6",e),...t}),_le=({className:e,...t})=>$f.jsx(g7,{className:Uoe("font-semibold text-xl leading-5",e),...t}),Tle=({className:e,...t})=>$f.jsx(b7,{className:Uoe("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),Cle=({className:e,...t})=>$f.jsx(k7,{className:Uoe("w-full",e),...t}),Ale=({className:e,...t})=>$f.jsx(x7,{className:Uoe("mb-8 flex flex-col gap-2 data-[hidden]:hidden","data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:items-center",e),...t}),Nle=({className:e,...t})=>$f.jsx(S7,{className:Uoe("font-medium text-sm text-gray-700","dark:text-white-alpha-700 ","font-medium relative","data-[required]:after:absolute",'data-[required]:after:[content:"*"]',"data-[required]:after:ml-1","data-[required]:after:mt-0","data-[required]:after:text-red-500","dark:data-[required]:after:text-red-300",e),...t}),Ile=({className:e,...t})=>$f.jsx(T7,{className:Uoe(Fae({size:"md",variant:"outline"}),e),...t}),Rle=({className:e,...t})=>$f.jsx(C7,{className:Uoe(Fae({size:"md",variant:"outline"}),e),...t}),Ole=({className:e,...t})=>$f.jsx(N7,{className:Uoe(Fae({size:"md",variant:"outline"}),"text-sm pl-2 file:h-full file:cursor-pointer py-0","file:bg-transparent file:border-none file:font-medium","file:text-sm file:text-gray-700 dark:file:text-white-alpha-700",e),...t}),Ple=({className:e,...t})=>$f.jsx(I7,{className:Uoe(Fae({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),Lle=({className:e,...t})=>$f.jsx(O7,{className:Uoe(Lae({slot:"root"}),e),...t}),Dle=({className:e,...t})=>$f.jsx(P7,{className:Uoe(Lae({slot:"indicator"}),e),...t}),Mle=e=>{const{field:t,error:n,fieldProps:r}=Mj(),{onValueChange:a,...o}=e;return $f.jsx(L7,{name:t.name,"data-invalid":_P(!!n),value:r.value,onValueChange:Q3(a,r.onChange),...o})},Fle=({className:e,...t})=>$f.jsx(D7,{className:Uoe(Yae({slot:"trigger"}),e),...t}),jle=e=>{const{field:t}=Mj();return $f.jsx(M7,{placeholder:"placeholder"in t?t.placeholder:void 0,...e})},Ble=({className:e,...t})=>$f.jsx(F7,{className:Uoe("h-4 w-4 opacity-45",e),...t}),Hle=({className:e,...t})=>$f.jsx(j7,{className:Uoe(Yae({slot:"content"}),e),...t}),zle=({className:e,...t})=>$f.jsx(B7,{className:Uoe(Yae({slot:"viewport"}),e),...t}),Ule=({className:e,...t})=>$f.jsx(H7,{className:Uoe(Yae({slot:"item"}),e),...t}),$le=z7,Gle=({className:e,...t})=>$f.jsx(U7,{className:Uoe(Yae({slot:"itemIndicator"}),e),...t}),Vle=({className:e,...t})=>$f.jsx(G7,{className:Uoe("text-sm flex items-center text-red-500 dark:text-red-300",e),...t}),Wle=({className:e,...t})=>$f.jsx(W7,{className:Uoe("text-red-500 dark:text-red-300",e),...t}),qle=({className:e,...t})=>$f.jsx(q7,{className:Uoe("flex items-center justify-end gap-6 w-full",e),...t}),Yle=({className:e,...t})=>$f.jsx(K7,{className:Uoe(Oae({variant:"outline"}),e),...t}),Kle=({className:e,...t})=>$f.jsx(Q7,{className:Uoe(Oae({preset:"neutralFilled"}),e),...t}),Xle=({className:e,...t})=>$f.jsx(J7,{className:Uoe("flex flex-col items-center justify-center h-auto","m-auto px-6 py-8 ikp-md:py-14 ikp-md:px-14",e),...t}),Qle=({className:e,...t})=>$f.jsx(tee,{className:Uoe("mb-6 font-bold tracking-tight","text-3xl md:text-4xl leading-6 md:leading-5",e),...t}),Zle=e=>{const{form:t}=lD();return $f.jsx(nee,{children:null==t?void 0:t.successView.message,...e})},Jle=({className:e,...t})=>$f.jsx(aee,{className:Uoe(Oae({preset:"neutralFilled"}),"w-full mt-12 gap-2 shrink-0",e),...t});function ece(){const{searchSettings:{tabs:e}}=WO();return $f.jsxs("div",{className:"flex flex-col h-full",children:[$f.jsxs("div",{className:Uoe("h-[calc(100%-24px)]"),children:[$f.jsx("div",{className:"flex px-5 py-1 gap-3 data-[hidden]:hidden","data-hidden":$oe(0===e.length),children:Array.from({length:2}).map(((e,t)=>$f.jsx("div",{className:Uoe(Kae(),"h-[27.88px] w-16 rounded-full")},t)))}),$f.jsxs("div",{className:"flex px-5 py-1 gap-5 h-full",children:[$f.jsx("div",{className:"flex flex-col flex-[0_0_40%]",children:Array.from({length:4}).map(((e,t)=>$f.jsx("div",{className:"flex items-center pb-2.5 w-full",children:$f.jsx("div",{className:Uoe(Kae(),"h-20 rounded-lg grow-[1]")})},t)))}),$f.jsx("div",{className:Uoe(Kae(),"h-full w-full rounded-md")})]})]}),$f.jsx("div",{className:"flex pt-1 pb-3 px-5 justify-self-end",children:$f.jsx("div",{className:Uoe(Kae(),"h-[24px] w-40 rounded-md")})})]})}const tce=e=>$f.jsx(Wte,{...e}),nce=({className:e,...t})=>$f.jsx(Lne,{className:Uoe("data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950",e),...t}),rce=({className:e,...t})=>$f.jsx(Mne,{className:Uoe("data-[hidden]:hidden flex flex-col w-full",e),...t}),ace=jne,oce=({className:e,...t})=>$f.jsx(Bne,{className:Uoe("flex items-center w-full px-5 pt-3 pb-3 gap-3","[[data-show-ask-ai-card]_&]:pb-1",e),...t}),ice=({className:e,...t})=>$f.jsx(Hne,{className:Uoe("min-w-5 w-5 text-xl","text-gray-500 dark:text-white-alpha-600",e),...t}),sce=({className:e,...t})=>$f.jsx(Une,{className:Uoe("min-h-[38px] overflow-hidden w-full resize-none","py-1.5 max-h-[10vh] placeholder:text-gray-500","w-full dark:placeholder:text-gray-dark-200","border-none outline-none shadow-none bg-transparent",e),...t}),lce=({className:e,...t})=>$f.jsx(Gne,{className:Uoe("animate-spin text-gray-400 dark:text-white-alpha-500",e),...t}),cce=({className:e,...t})=>$f.jsx(Wne,{className:Uoe(Dae({slot:"root"}),"m-auto w-[calc(100%_-_theme(spacing.5))]","border-transparent dark:border-transparent","mb-3 py-0 h-11 cursor-pointer",e),...t}),uce=({className:e,...t})=>$f.jsx(Yne,{className:Uoe("[grid-area:icon] h-5 w-5","[--start-color:theme(colors.inkeep-expanded-primary.300)]","[--end-color:theme(colors.inkeep-expanded-primary.700)]","dark:[--start-color:theme(colors.inkeep-expanded-primary.50)]","dark:[--end-color:theme(colors.inkeep-expanded-primary.300)]",e),...t}),dce=({className:e,...t})=>$f.jsx(Kne,{className:Uoe(Dae({slot:"title"}),"font-normal",e),...t}),pce=({className:e,...t})=>$f.jsx(Xne,{className:Uoe(Dae({slot:"indicator"}),e),...t}),fce=({className:e,...t})=>$f.jsx(Zne,{className:Uoe(qae({section:"content"}),"h-0 max-h-full","data-[has-content]:h-[min(calc(85vh_-_72px),calc(850px_-_72px_-_275px))]","md:data-[dual-pane-search-expanded]:h-[min(calc(85vh_-_72px),calc(900px_-_72px_-_135px))]","transition-all duration-300 ease-in-out data-[has-content]:pb-2",e),...t}),hce=({className:e,...t})=>$f.jsx(ere,{className:Uoe("group mb-1 relative transition-all w-full h-full",e),children:$f.jsx(ece,{}),...t}),mce=({className:e,...t})=>$f.jsx(nre,{className:Uoe("flex w-full h-full","overflow-hidden relative grow-[2]","items-center justify-center text-gray-600","dark:text-gray-dark-400 mt-8",e),...t}),gce=({className:e,...t})=>$f.jsx(are,{className:Uoe("shrink-0 max-w-full","flex gap-3 px-5 py-1","overflow-x-auto [scrollbar-width:thin]",e),...t}),yce=({className:e,...t})=>$f.jsx(ire,{className:Uoe("px-3 text-1sm font-medium rounded-full shrink-0","py-1 transition-all duration-200 leading-snug","border border-gray-300 dark:border-gray-dark-500","hover:bg-gray-50 dark:hover:bg-white-alpha-50","data-[state=active]:bg-inkeep-primary-light-subtle","hover:data-[state=active]:bg-inkeep-primary-light-subtle","data-[state=active]:text-inkeep-expanded-primary-900","data-[state=active]:border-inkeep-primary-medium-subtle","dark:data-[state=active]:bg-white-alpha-100","dark:hover:data-[state=active]:bg-white-alpha-100","dark:data-[state=active]:text-inkeep-expanded-primary-300","dark:data-[state=active]:border-inkeep-expanded-primary-300","focus:outline-inkeep-expanded-primary-700 dark:focus:outline-inkeep-expanded-primary-300",e),...t}),bce=({className:e,...t})=>$f.jsx(sre,{className:Uoe("flex overflow-hidden",e),...t}),vce=({className:e,...t})=>$f.jsx(cre,{className:Uoe("overflow-hidden h-full","first:[[data-view=dual-pane]_&]:flex-1 md:first:[[data-view=dual-pane]_&]:flex-[0_0_40%]",'befter:content-[""] befter:absolute befter:inset-x-0',"befter:h-10 befter:pointer-events-none","befter:transition-opacity befter:duration-300","befter:ease-in-out befter:from-white","befter:dark:from-gray-dark-950 befter:to-transparent","before:top-0 after:bottom-0","before:bg-gradient-to-b after:bg-gradient-to-t","has-[[data-scroll-top]]:before:opacity-0","has-[[data-scroll-bottom]]:after:opacity-0",e),...t}),kce=({className:e,...t})=>$f.jsx(dre,{className:Uoe("h-full w-full rounded-[inherit]",e),...t}),wce=({className:e,...t})=>$f.jsx(pre,{className:Uoe("flex select-none touch-none p-0.5","transition-colors duration-[160ms] ease-in-out","w-2.5 border-l border-l-transparent",e),...t}),xce=({className:e,...t})=>$f.jsx(fre,{className:Uoe("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),Ece=hre,Sce=({className:e,...t})=>$f.jsx(gre,{className:Uoe("w-full flex flex-col","items-center gap-2.5 h-full shrink-0","px-5 py-1 content-center -my-[1px]",e),...t}),_ce=({className:e,...t})=>$f.jsx(bre,{className:Uoe(Dae({slot:"root"}),e),...t}),Tce=({className:e,...t})=>$f.jsx(kre,{className:Uoe(Dae({slot:"breadcrumbs"}),e),...t}),Cce=({className:e,...t})=>$f.jsx(wre,{className:Uoe(Dae({slot:"breadcrumbsIcon"}),e),...t}),Ace=({className:e,...t})=>$f.jsx(Ere,{className:Uoe(Dae({slot:"icon"}),e),...t}),Nce=({className:e,...t})=>$f.jsx(_re,{className:Uoe(Dae({slot:"title"}),e),...t}),Ice=({className:e,...t})=>$f.jsx(Cre,{className:Uoe(Dae({slot:"tag"}),e),...t}),Rce=({className:e,...t})=>$f.jsx(Nre,{className:Uoe(Dae({slot:"description"}),e),...t}),Oce=({className:e,...t})=>$f.jsx(Rre,{className:Uoe(Dae({slot:"descriptionPart"}),e),...t}),Pce=({className:e,...t})=>$f.jsx(Pre,{className:Uoe(Dae({slot:"indicator"}),e),...t}),Lce=({className:e,...t})=>$f.jsx(Dre,{className:Uoe("flex-1 min-w-0 break-words py-4 pr-12 pl-8","hidden md:flex flex-col gap-6",e),...t}),Dce=({className:e,...t})=>$f.jsx(Mre,{className:Uoe("flex flex-col gap-5",e),...t}),Mce=({className:e,...t})=>$f.jsx(jre,{className:Uoe("inline-block",e),...t}),Fce=({className:e,...t})=>$f.jsx(Hre,{className:Uoe("text-3xl leading-snug tracking-tight","font-semibold hover:text-inkeep-primary-stronger","dark:hover:text-inkeep-expanded-primary-100",e),...t}),jce=({className:e,...t})=>$f.jsx(Ure,{className:Uoe("inline-block ml-2 mb-2 tracking-tight text-gray-500 dark:text-white-alpha-500",e),...t}),Bce=({className:e,...t})=>$f.jsx($re,{className:Uoe(Dae({slot:"breadcrumbs"}),"!line-clamp-none whitespace-normal text-gray-500 dark:text-gray-dark-200 text-sm",e),...t}),Hce=({className:e,...t})=>$f.jsx(Gre,{className:Uoe(Dae({slot:"breadcrumbsIcon"}),e),...t}),zce=({className:e,componentStyles:t,...n})=>$f.jsx(Wre,{className:Uoe("max-w-full text-gray-700 dark:text-gray-dark-100 [&_em]:font-bold [&_em]:not-italic",e),componentStyles:If(Voe,t??{}),...n}),Uce=({className:e,...t})=>$f.jsx(Yre,{className:Uoe("flex flex-col gap-3",e),...t}),$ce=({className:e,...t})=>$f.jsx(Kre,{className:Uoe("text-xs uppercase font-semibold tracking-widest","text-gray-500 dark:text-white-alpha-500",e),...t}),Gce=({className:e,...t})=>$f.jsx(Qre,{className:Uoe("flex flex-col gap-4",e),...t}),Vce=({className:e,...t})=>$f.jsx(Jre,{className:Uoe("flex items-center gap-1 text-gray-600 dark:text-white-alpha-600 font-medium ",""+(t.href?"cursor-pointer hover:text-gray-800 dark:hover:text-white-alpha-800 dark:data-[is-match]:hover:text-inkeep-expanded-primary-200 data-[is-match]:hover:text-inkeep-expanded-primary-800 ":""),"data-[is-match]:text-inkeep-expanded-primary-700","dark:data-[is-match]:text-inkeep-expanded-primary-300",e),...t}),Wce=({className:e,...t})=>$f.jsx(eae,{className:Uoe(e),...t}),qce=({className:e,...t})=>$f.jsx(nae,{className:Uoe(e),...t}),Yce=({className:e,...t})=>$f.jsx(rae,{className:Uoe("h-3 !min-h-0 !min-w-0",e),...t}),Kce=({className:e,...t})=>$f.jsx(oae,{className:Uoe("justify-self-end pt-1 pb-3 px-5","hidden data-[has-results]:flex",e),...t}),Xce=({className:e,...t})=>$f.jsx(iae,{className:Uoe("flex items-center whitespace-nowrap",e),...t}),Qce=({className:e,...t})=>$f.jsx(sae,{className:Uoe("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),Zce=({className:e,...t})=>$f.jsx(lae,{className:Uoe("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),Jce=({className:e,...t})=>$f.jsx(cae,{className:Uoe(jae(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t}),eue=e=>{const{onOpenChange:t,config:n,...r}=e,a=(e=>{const{isOpen:t,onOpenChange:n,shortcutKey:r}=e??{},[a=!1,o]=qF({prop:t,defaultProp:t,onChange:n});return V.useEffect((()=>{const e=e=>{r&&(e.metaKey||e.ctrlKey)&&e.key.toLowerCase()===r.toLowerCase()&&(e.preventDefault(),e.stopPropagation(),o(!0)),"Escape"===e.key&&t&&(e.preventDefault(),o(!1))};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[r,o,t]),{isOpen:a,setOpen:o,shortcutKey:r}})(n);return $f.jsx(nD,{modal:a,children:$f.jsx(uae,{open:a.isOpen,onOpenChange:Q3(t,(e=>a.setOpen(e))),...r})})},tue=({className:e,...t})=>$f.jsx(dae,{className:Uoe(Vae({slot:"overlay"}),e),...t}),nue=({className:e,...t})=>$f.jsx(fae,{className:Uoe(Vae({slot:"content"}),"w-[min(90vw,720px)]","has-[[data-dual-pane-search-expanded]]:w-[min(90vw,1000px)] transition-width duration-300",e),...t}),rue=({className:e,...t})=>$f.jsx(mae,{className:Uoe(Vae({slot:"close"}),Oae({variant:"ghost",size:"xs"}),"relative inset-[unset] ml-auto text-lg text-gray-500 dark:text-white-alpha-500 px-0","md:hidden",e),...t}),aue=({className:e,...t})=>$f.jsx(gae,{className:Uoe("fixed right-6 bottom-6 mr-[var(--removed-body-scroll-bar-size)]",e),...t}),oue=({className:e,...t})=>$f.jsx(yae,{className:Uoe("bg-inkeep-primary-text-bold dark:bg-gray-dark-600 rounded-full px-[18px] py-3 text-white font-medium flex items-center space-x-2 shadow-2xl dark:shadow-none transition-transform ease-in-out hover:scale-110",e),...t}),iue=({className:e,...t})=>$f.jsx(bae,{className:Uoe("flex items-center",e),...t}),sue=({className:e,...t})=>$f.jsx(wae,{className:Uoe("data-[type=icon]:[--start-color:theme(colors.inkeep-expanded-primary.50)]","data-[type=icon]:[--end-color:theme(colors.inkeep-expanded-primary.300)]","h-6 w-6",e),...t}),lue=({className:e,...t})=>$f.jsx(vae,{className:Uoe("",e),...t}),cue=e=>$f.jsx(zO,{styles:'*, ::before, ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n\n::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}/*\n! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com\n*//*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: var(--ikp-color-gray-200); /* 2 */\n}\n\n::before,\n::after {\n --tw-content: \'\';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user\'s configured `sans` font-family by default.\n5. Use the user\'s configured `sans` font-feature-settings by default.\n6. Use the user\'s configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\n\nhtml,\n:host {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n -webkit-tap-highlight-color: transparent; /* 7 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\n\nbody {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user\'s configured `mono` font-family by default.\n2. Use the user\'s configured `mono` font-feature-settings by default.\n3. Use the user\'s configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family: var(--ikp-font-family-mono); /* 1 */\n font-feature-settings: normal; /* 2 */\n font-variation-settings: normal; /* 3 */\n font-size: 1em; /* 4 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n letter-spacing: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\nbutton,\ninput:where([type=\'button\']),\ninput:where([type=\'reset\']),\ninput:where([type=\'submit\']) {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring {\n outline: auto;\n}\n\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n[type=\'search\'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nlegend {\n padding: 0;\n}\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nReset default styling for dialogs.\n*/\ndialog {\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\ntextarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user\'s configured gray 400 color.\n*/\n\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1; /* 1 */\n color: var(--ikp-color-gray-400); /* 2 */\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1; /* 1 */\n color: var(--ikp-color-gray-400); /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\nbutton,\n[role="button"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don\'t get the pointer cursor.\n*/\n:disabled {\n cursor: default;\n}\n\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden]:where(:not([hidden="until-found"])) {\n display: none;\n}\n.container {\n width: 100%;\n}\n@media (min-width: 640px) {\n\n .container {\n max-width: 640px;\n }\n}\n@media (min-width: 768px) {\n\n .container {\n max-width: 768px;\n }\n}\n@media (min-width: 1024px) {\n\n .container {\n max-width: 1024px;\n }\n}\n@media (min-width: 1280px) {\n\n .container {\n max-width: 1280px;\n }\n}\n@media (min-width: 1536px) {\n\n .container {\n max-width: 1536px;\n }\n}\n.pointer-events-none {\n pointer-events: none;\n}\n.fixed {\n position: fixed;\n}\n.absolute {\n position: absolute;\n}\n.relative {\n position: relative;\n}\n.inset-0 {\n inset: 0px;\n}\n.inset-\\[unset\\] {\n inset: unset;\n}\n.bottom-6 {\n bottom: 1.5rem;\n}\n.left-0 {\n left: 0px;\n}\n.left-1\\/2 {\n left: 50%;\n}\n.left-\\[unset\\] {\n left: unset;\n}\n.right-1 {\n right: 0.25rem;\n}\n.right-2 {\n right: 0.5rem;\n}\n.right-3 {\n right: 0.75rem;\n}\n.right-6 {\n right: 1.5rem;\n}\n.top-0 {\n top: 0px;\n}\n.top-1 {\n top: 0.25rem;\n}\n.top-1\\/2 {\n top: 50%;\n}\n.top-2 {\n top: 0.5rem;\n}\n.top-\\[5\\%\\] {\n top: 5%;\n}\n.z-base {\n z-index: var(--ikp-z-index-base);\n}\n.z-dropdown {\n z-index: var(--ikp-z-index-dropdown);\n}\n.z-modal {\n z-index: var(--ikp-z-index-modal);\n}\n.z-overlay {\n z-index: var(--ikp-z-index-overlay);\n}\n.z-popover {\n z-index: var(--ikp-z-index-popover);\n}\n.z-start {\n z-index: var(--ikp-z-index-start);\n}\n.m-\\[0px_0px_0\\.5em\\] {\n margin: 0px 0px 0.5em;\n}\n.m-auto {\n margin: auto;\n}\n.-my-\\[1px\\] {\n margin-top: -1px;\n margin-bottom: -1px;\n}\n.mx-1 {\n margin-left: 0.25rem;\n margin-right: 0.25rem;\n}\n.mx-\\[5px\\] {\n margin-left: 5px;\n margin-right: 5px;\n}\n.mx-auto {\n margin-left: auto;\n margin-right: auto;\n}\n.my-2 {\n margin-top: 0.5rem;\n margin-bottom: 0.5rem;\n}\n.my-6 {\n margin-top: 1.5rem;\n margin-bottom: 1.5rem;\n}\n.my-\\[\\.1rem\\] {\n margin-top: .1rem;\n margin-bottom: .1rem;\n}\n.mb-0 {\n margin-bottom: 0px;\n}\n.mb-1 {\n margin-bottom: 0.25rem;\n}\n.mb-2 {\n margin-bottom: 0.5rem;\n}\n.mb-3 {\n margin-bottom: 0.75rem;\n}\n.mb-5 {\n margin-bottom: 1.25rem;\n}\n.mb-6 {\n margin-bottom: 1.5rem;\n}\n.mb-8 {\n margin-bottom: 2rem;\n}\n.ml-1 {\n margin-left: 0.25rem;\n}\n.ml-2 {\n margin-left: 0.5rem;\n}\n.ml-4 {\n margin-left: 1rem;\n}\n.ml-\\[3px\\] {\n margin-left: 3px;\n}\n.ml-auto {\n margin-left: auto;\n}\n.mr-1 {\n margin-right: 0.25rem;\n}\n.mr-2 {\n margin-right: 0.5rem;\n}\n.mr-\\[0\\.5em\\] {\n margin-right: 0.5em;\n}\n.mr-\\[var\\(--removed-body-scroll-bar-size\\)\\] {\n margin-right: var(--removed-body-scroll-bar-size);\n}\n.mr-auto {\n margin-right: auto;\n}\n.ms-\\[1em\\] {\n margin-inline-start: 1em;\n}\n.mt-12 {\n margin-top: 3rem;\n}\n.mt-2 {\n margin-top: 0.5rem;\n}\n.mt-4 {\n margin-top: 1rem;\n}\n.mt-8 {\n margin-top: 2rem;\n}\n.line-clamp-1 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n}\n.\\!line-clamp-none {\n overflow: visible !important;\n display: block !important;\n -webkit-box-orient: horizontal !important;\n -webkit-line-clamp: none !important;\n}\n.block {\n display: block;\n}\n.inline-block {\n display: inline-block;\n}\n.flex {\n display: flex;\n}\n.inline-flex {\n display: inline-flex;\n}\n.table {\n display: table;\n}\n.grid {\n display: grid;\n}\n.contents {\n display: contents;\n}\n.hidden {\n display: none;\n}\n.size-10 {\n width: 2.5rem;\n height: 2.5rem;\n}\n.size-4 {\n width: 1rem;\n height: 1rem;\n}\n.h-0 {\n height: 0px;\n}\n.h-10 {\n height: 2.5rem;\n}\n.h-11 {\n height: 2.75rem;\n}\n.h-12 {\n height: 3rem;\n}\n.h-20 {\n height: 5rem;\n}\n.h-3 {\n height: 0.75rem;\n}\n.h-3\\.5 {\n height: 0.875rem;\n}\n.h-4 {\n height: 1rem;\n}\n.h-5 {\n height: 1.25rem;\n}\n.h-6 {\n height: 1.5rem;\n}\n.h-8 {\n height: 2rem;\n}\n.h-\\[24px\\] {\n height: 24px;\n}\n.h-\\[27\\.88px\\] {\n height: 27.88px;\n}\n.h-\\[30px\\] {\n height: 30px;\n}\n.h-\\[calc\\(100\\%-24px\\)\\] {\n height: calc(100% - 24px);\n}\n.h-\\[var\\(--radix-select-trigger-height\\)\\] {\n height: var(--radix-select-trigger-height);\n}\n.h-auto {\n height: auto;\n}\n.h-full {\n height: 100%;\n}\n.h-screen {\n height: 100vh;\n}\n.max-h-96 {\n max-height: 24rem;\n}\n.max-h-\\[100vw\\] {\n max-height: 100vw;\n}\n.max-h-\\[10vh\\] {\n max-height: 10vh;\n}\n.max-h-\\[200px\\] {\n max-height: 200px;\n}\n.max-h-\\[min\\(85vh\\2c 850px\\)\\] {\n max-height: min(85vh,850px);\n}\n.max-h-full {\n max-height: 100%;\n}\n.max-h-screen {\n max-height: 100vh;\n}\n.\\!min-h-0 {\n min-height: 0px !important;\n}\n.min-h-0 {\n min-height: 0px;\n}\n.min-h-20 {\n min-height: 5rem;\n}\n.min-h-8 {\n min-height: 2rem;\n}\n.min-h-9 {\n min-height: 2.25rem;\n}\n.min-h-\\[38px\\] {\n min-height: 38px;\n}\n.min-h-\\[unset\\] {\n min-height: unset;\n}\n.w-10 {\n width: 2.5rem;\n}\n.w-12 {\n width: 3rem;\n}\n.w-16 {\n width: 4rem;\n}\n.w-2\\.5 {\n width: 0.625rem;\n}\n.w-3\\.5 {\n width: 0.875rem;\n}\n.w-4 {\n width: 1rem;\n}\n.w-40 {\n width: 10rem;\n}\n.w-5 {\n width: 1.25rem;\n}\n.w-56 {\n width: 14rem;\n}\n.w-6 {\n width: 1.5rem;\n}\n.w-60 {\n width: 15rem;\n}\n.w-8 {\n width: 2rem;\n}\n.w-\\[18px\\] {\n width: 18px;\n}\n.w-\\[250px\\] {\n width: 250px;\n}\n.w-\\[254px\\] {\n width: 254px;\n}\n.w-\\[calc\\(100\\%_-_theme\\(spacing\\.5\\)\\)\\] {\n width: calc(100% - 1.25rem);\n}\n.w-\\[min\\(90vw\\2c 720px\\)\\] {\n width: min(90vw,720px);\n}\n.w-fit {\n width: -moz-fit-content;\n width: fit-content;\n}\n.w-full {\n width: 100%;\n}\n.w-screen {\n width: 100vw;\n}\n.\\!min-w-0 {\n min-width: 0px !important;\n}\n.min-w-0 {\n min-width: 0px;\n}\n.min-w-10 {\n min-width: 2.5rem;\n}\n.min-w-5 {\n min-width: 1.25rem;\n}\n.min-w-6 {\n min-width: 1.5rem;\n}\n.min-w-8 {\n min-width: 2rem;\n}\n.min-w-\\[8rem\\] {\n min-width: 8rem;\n}\n.min-w-\\[unset\\] {\n min-width: unset;\n}\n.min-w-\\[var\\(--radix-select-trigger-width\\)\\] {\n min-width: var(--radix-select-trigger-width);\n}\n.max-w-2xl {\n max-width: 42rem;\n}\n.max-w-\\[200px\\] {\n max-width: 200px;\n}\n.max-w-\\[480px\\] {\n max-width: 480px;\n}\n.max-w-full {\n max-width: 100%;\n}\n.max-w-lg {\n max-width: 32rem;\n}\n.flex-1 {\n flex: 1 1 0%;\n}\n.flex-\\[0_0_100\\%\\] {\n flex: 0 0 100%;\n}\n.flex-\\[0_0_40\\%\\] {\n flex: 0 0 40%;\n}\n.flex-shrink-0 {\n flex-shrink: 0;\n}\n.shrink-0 {\n flex-shrink: 0;\n}\n.grow-0 {\n flex-grow: 0;\n}\n.grow-\\[1\\] {\n flex-grow: 1;\n}\n.grow-\\[2\\] {\n flex-grow: 2;\n}\n.grow-\\[5\\] {\n flex-grow: 5;\n}\n.border-collapse {\n border-collapse: collapse;\n}\n.-translate-x-1\\/2 {\n --tw-translate-x: -50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.-translate-y-1\\/2 {\n --tw-translate-y: -50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.translate-x-\\[-50\\%\\] {\n --tw-translate-x: -50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.rotate-\\[-30deg\\] {\n --tw-rotate: -30deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.transform-none {\n transform: none;\n}\n@keyframes bounce-dot {\n\n 0%, 100% {\n transform: translateY(0);\n opacity: 0.3;\n }\n\n 50% {\n transform: translateY(-5px);\n opacity: 1;\n }\n}\n.animate-bounce-dot {\n animation: bounce-dot 1.5s infinite ease-in-out;\n}\n@keyframes checkbox-check {\n\n from {\n opacity: 0;\n stroke-dashoffset: 16;\n transform: scale(0.95);\n }\n\n to {\n opacity: 1;\n stroke-dashoffset: 0;\n transform: scale(1);\n }\n}\n.animate-checkbox-check {\n animation: checkbox-check 200ms linear;\n}\n@keyframes shimmer {\n\n 0% {\n background-size: 200% 200%;\n background-position: 100% 0;\n }\n\n 100% {\n background-size: 200% 200%;\n background-position: -100% 0;\n }\n}\n.animate-shimmer {\n animation: shimmer 3.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n}\n@keyframes skeleton-bg-fade {\n\n from {\n border-color: var(--start-color);\n background: var(--start-color);\n }\n\n to {\n border-color: var(--end-color);\n background: var(--end-color);\n }\n}\n.animate-skeleton-bg-fade {\n animation: 0.8s linear infinite alternate skeleton-bg-fade;\n}\n@keyframes spin {\n\n to {\n transform: rotate(360deg);\n }\n}\n.animate-spin {\n animation: spin 1s linear infinite;\n}\n.cursor-default {\n cursor: default;\n}\n.cursor-pointer {\n cursor: pointer;\n}\n.touch-none {\n touch-action: none;\n}\n.select-none {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.resize-none {\n resize: none;\n}\n.list-\\[initial\\] {\n list-style-type: initial;\n}\n.list-decimal {\n list-style-type: decimal;\n}\n.appearance-none {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.flex-row {\n flex-direction: row;\n}\n.flex-row-reverse {\n flex-direction: row-reverse;\n}\n.flex-col {\n flex-direction: column;\n}\n.flex-wrap {\n flex-wrap: wrap;\n}\n.flex-wrap-reverse {\n flex-wrap: wrap-reverse;\n}\n.place-items-center {\n place-items: center;\n}\n.content-center {\n align-content: center;\n}\n.items-start {\n align-items: flex-start;\n}\n.items-end {\n align-items: flex-end;\n}\n.items-center {\n align-items: center;\n}\n.items-stretch {\n align-items: stretch;\n}\n.justify-start {\n justify-content: flex-start;\n}\n.justify-end {\n justify-content: flex-end;\n}\n.justify-center {\n justify-content: center;\n}\n.justify-between {\n justify-content: space-between;\n}\n.gap-0\\.5 {\n gap: 0.125rem;\n}\n.gap-1 {\n gap: 0.25rem;\n}\n.gap-1\\.5 {\n gap: 0.375rem;\n}\n.gap-12 {\n gap: 3rem;\n}\n.gap-2 {\n gap: 0.5rem;\n}\n.gap-2\\.5 {\n gap: 0.625rem;\n}\n.gap-3 {\n gap: 0.75rem;\n}\n.gap-4 {\n gap: 1rem;\n}\n.gap-5 {\n gap: 1.25rem;\n}\n.gap-6 {\n gap: 1.5rem;\n}\n.gap-8 {\n gap: 2rem;\n}\n.gap-\\[1rem_0\\.5rem\\] {\n gap: 1rem 0.5rem;\n}\n.gap-x-3 {\n -moz-column-gap: 0.75rem;\n column-gap: 0.75rem;\n}\n.gap-y-1 {\n row-gap: 0.25rem;\n}\n.gap-y-2 {\n row-gap: 0.5rem;\n}\n.gap-y-6 {\n row-gap: 1.5rem;\n}\n.space-x-1 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-x-reverse: 0;\n margin-right: calc(0.25rem * var(--tw-space-x-reverse));\n margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse)));\n}\n.space-x-2 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-x-reverse: 0;\n margin-right: calc(0.5rem * var(--tw-space-x-reverse));\n margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));\n}\n.divide-y > :not([hidden]) ~ :not([hidden]) {\n --tw-divide-y-reverse: 0;\n border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n border-bottom-width: calc(1px * var(--tw-divide-y-reverse));\n}\n.self-start {\n align-self: flex-start;\n}\n.self-center {\n align-self: center;\n}\n.justify-self-end {\n justify-self: end;\n}\n.justify-self-center {\n justify-self: center;\n}\n.overflow-hidden {\n overflow: hidden;\n}\n.overflow-x-auto {\n overflow-x: auto;\n}\n.overflow-y-auto {\n overflow-y: auto;\n}\n.truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.text-ellipsis {\n text-overflow: ellipsis;\n}\n.whitespace-normal {\n white-space: normal;\n}\n.whitespace-nowrap {\n white-space: nowrap;\n}\n.whitespace-pre {\n white-space: pre;\n}\n.whitespace-pre-wrap {\n white-space: pre-wrap;\n}\n.break-words {\n overflow-wrap: break-word;\n}\n.rounded {\n border-radius: 0.25rem;\n}\n.rounded-\\[0_0_6px_6px\\] {\n border-radius: 0 0 6px 6px;\n}\n.rounded-\\[6px\\] {\n border-radius: 6px;\n}\n.rounded-\\[6px_6px_0_0\\] {\n border-radius: 6px 6px 0 0;\n}\n.rounded-\\[inherit\\] {\n border-radius: inherit;\n}\n.rounded-full {\n border-radius: 9999px;\n}\n.rounded-lg {\n border-radius: 0.5rem;\n}\n.rounded-md {\n border-radius: 0.375rem;\n}\n.rounded-sm {\n border-radius: 0.125rem;\n}\n.rounded-xl {\n border-radius: 0.75rem;\n}\n.border {\n border-width: 1px;\n}\n.border-2 {\n border-width: 2px;\n}\n.border-b {\n border-bottom-width: 1px;\n}\n.border-l {\n border-left-width: 1px;\n}\n.border-solid {\n border-style: solid;\n}\n.border-none {\n border-style: none;\n}\n.border-\\[--end-color\\] {\n border-color: var(--end-color);\n}\n.border-gray-100 {\n border-color: var(--ikp-color-gray-100);\n}\n.border-gray-200 {\n border-color: var(--ikp-color-gray-200);\n}\n.border-gray-300 {\n border-color: var(--ikp-color-gray-300);\n}\n.border-inherit {\n border-color: inherit;\n}\n.border-inkeep-expanded-primary-200 {\n border-color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n.border-transparent {\n border-color: transparent;\n}\n.border-white-alpha-200 {\n border-color: var(--ikp-color-white-alpha-200);\n}\n.border-l-transparent {\n border-left-color: transparent;\n}\n.bg-\\[--start-color\\] {\n background-color: var(--start-color);\n}\n.bg-gray-100 {\n background-color: var(--ikp-color-gray-100);\n}\n.bg-gray-1000 {\n background-color: var(--ikp-color-gray-1000);\n}\n.bg-gray-300 {\n background-color: var(--ikp-color-gray-300);\n}\n.bg-gray-50 {\n background-color: var(--ikp-color-gray-50);\n}\n.bg-inherit {\n background-color: inherit;\n}\n.bg-inkeep-primary-lighter {\n background-color: var(--ikp-color-inkeep-primary-lighter);\n}\n.bg-inkeep-primary-medium {\n background-color: var(--ikp-color-inkeep-primary-medium);\n}\n.bg-inkeep-primary-text-bold {\n background-color: var(--ikp-color-inkeep-primary-text-bold);\n}\n.bg-overlay-light {\n background-color: var(--ikp-color-overlay-light);\n}\n.bg-transparent {\n background-color: transparent;\n}\n.bg-white {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n.bg-gradient-to-br {\n background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));\n}\n.bg-gradient-to-t {\n background-image: linear-gradient(to top, var(--tw-gradient-stops));\n}\n.from-gray-100 {\n --tw-gradient-from: var(--ikp-color-gray-100) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n.from-gray-700 {\n --tw-gradient-from: var(--ikp-color-gray-700) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n.to-gray-400 {\n --tw-gradient-to: var(--ikp-color-gray-400) var(--tw-gradient-to-position);\n}\n.bg-clip-padding {\n background-clip: padding-box;\n}\n.bg-clip-text {\n -webkit-background-clip: text;\n background-clip: text;\n}\n.fill-white {\n fill: #fff;\n}\n.p-0 {\n padding: 0px;\n}\n.p-0\\.5 {\n padding: 0.125rem;\n}\n.p-1 {\n padding: 0.25rem;\n}\n.p-2 {\n padding: 0.5rem;\n}\n.p-4 {\n padding: 1rem;\n}\n.p-8 {\n padding: 2rem;\n}\n.p-\\[1em\\] {\n padding: 1em;\n}\n.px-0 {\n padding-left: 0px;\n padding-right: 0px;\n}\n.px-1 {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n.px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n.px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n.px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n.px-5 {\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n.px-6 {\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n}\n.px-\\[\\.4rem\\] {\n padding-left: .4rem;\n padding-right: .4rem;\n}\n.px-\\[18px\\] {\n padding-left: 18px;\n padding-right: 18px;\n}\n.py-0 {\n padding-top: 0px;\n padding-bottom: 0px;\n}\n.py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n.py-1\\.5 {\n padding-top: 0.375rem;\n padding-bottom: 0.375rem;\n}\n.py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n.py-3 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n.py-4 {\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n.py-6 {\n padding-top: 1.5rem;\n padding-bottom: 1.5rem;\n}\n.py-8 {\n padding-top: 2rem;\n padding-bottom: 2rem;\n}\n.py-\\[\\.2rem\\] {\n padding-top: .2rem;\n padding-bottom: .2rem;\n}\n.py-\\[1px\\] {\n padding-top: 1px;\n padding-bottom: 1px;\n}\n.pb-1 {\n padding-bottom: 0.25rem;\n}\n.pb-2\\.5 {\n padding-bottom: 0.625rem;\n}\n.pb-3 {\n padding-bottom: 0.75rem;\n}\n.pb-4 {\n padding-bottom: 1rem;\n}\n.pb-6 {\n padding-bottom: 1.5rem;\n}\n.pb-8 {\n padding-bottom: 2rem;\n}\n.pl-2 {\n padding-left: 0.5rem;\n}\n.pl-6 {\n padding-left: 1.5rem;\n}\n.pl-7 {\n padding-left: 1.75rem;\n}\n.pl-8 {\n padding-left: 2rem;\n}\n.pr-1 {\n padding-right: 0.25rem;\n}\n.pr-12 {\n padding-right: 3rem;\n}\n.pr-8 {\n padding-right: 2rem;\n}\n.pt-0 {\n padding-top: 0px;\n}\n.pt-1 {\n padding-top: 0.25rem;\n}\n.pt-12 {\n padding-top: 3rem;\n}\n.pt-2 {\n padding-top: 0.5rem;\n}\n.pt-3 {\n padding-top: 0.75rem;\n}\n.pt-4 {\n padding-top: 1rem;\n}\n.pt-6 {\n padding-top: 1.5rem;\n}\n.text-left {\n text-align: left;\n}\n.text-center {\n text-align: center;\n}\n.text-start {\n text-align: start;\n}\n.align-middle {\n vertical-align: middle;\n}\n.font-body {\n font-family: var(--ikp-font-family-body);\n}\n.font-heading {\n font-family: var(--ikp-font-family-heading);\n}\n.font-mono {\n font-family: var(--ikp-font-family-mono);\n}\n.text-1sm {\n font-size: var(--ikp-font-size-1sm);\n}\n.text-2sm {\n font-size: var(--ikp-font-size-2sm);\n}\n.text-2xs {\n font-size: var(--ikp-font-size-2xs);\n}\n.text-3xl {\n font-size: var(--ikp-font-size-3xl);\n}\n.text-3xs {\n font-size: var(--ikp-font-size-3xs);\n}\n.text-lg {\n font-size: var(--ikp-font-size-lg);\n}\n.text-md {\n font-size: var(--ikp-font-size-md);\n}\n.text-sm {\n font-size: var(--ikp-font-size-sm);\n}\n.text-xl {\n font-size: var(--ikp-font-size-xl);\n}\n.text-xs {\n font-size: var(--ikp-font-size-xs);\n}\n.font-bold {\n font-weight: 700;\n}\n.font-medium {\n font-weight: 500;\n}\n.font-normal {\n font-weight: 400;\n}\n.font-semibold {\n font-weight: 600;\n}\n.uppercase {\n text-transform: uppercase;\n}\n.leading-4 {\n line-height: 1rem;\n}\n.leading-5 {\n line-height: 1.25rem;\n}\n.leading-6 {\n line-height: 1.5rem;\n}\n.leading-\\[1\\.25\\] {\n line-height: 1.25;\n}\n.leading-\\[1\\.2\\] {\n line-height: 1.2;\n}\n.leading-\\[1em\\] {\n line-height: 1em;\n}\n.leading-\\[unset\\] {\n line-height: unset;\n}\n.leading-snug {\n line-height: 1.375;\n}\n.tracking-tight {\n letter-spacing: -0.025em;\n}\n.tracking-wider {\n letter-spacing: 0.05em;\n}\n.tracking-widest {\n letter-spacing: 0.1em;\n}\n.text-current {\n color: currentColor;\n}\n.text-gray-400 {\n color: var(--ikp-color-gray-400);\n}\n.text-gray-500 {\n color: var(--ikp-color-gray-500);\n}\n.text-gray-600 {\n color: var(--ikp-color-gray-600);\n}\n.text-gray-700 {\n color: var(--ikp-color-gray-700);\n}\n.text-gray-800 {\n color: var(--ikp-color-gray-800);\n}\n.text-green-500 {\n --tw-text-opacity: 1;\n color: rgb(34 197 94 / var(--tw-text-opacity, 1));\n}\n.text-inherit {\n color: inherit;\n}\n.text-inkeep-primary-medium {\n color: var(--ikp-color-inkeep-primary-medium);\n}\n.text-inkeep-primary-strong {\n color: var(--ikp-color-inkeep-primary-strong);\n}\n.text-inkeep-primary-stronger {\n color: var(--ikp-color-inkeep-primary-stronger);\n}\n.text-inkeep-primary-text-bold {\n color: var(--ikp-color-inkeep-primary-text-bold);\n}\n.text-inkeep-primary-text-color-on-primary {\n color: var(--ikp-color-inkeep-primary-text-color-on-primary);\n}\n.text-purple-500 {\n --tw-text-opacity: 1;\n color: rgb(168 85 247 / var(--tw-text-opacity, 1));\n}\n.text-red-500 {\n --tw-text-opacity: 1;\n color: rgb(239 68 68 / var(--tw-text-opacity, 1));\n}\n.text-transparent {\n color: transparent;\n}\n.text-white {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n.opacity-0 {\n opacity: 0;\n}\n.opacity-30 {\n opacity: 0.3;\n}\n.opacity-45 {\n opacity: 0.45;\n}\n.opacity-70 {\n opacity: 0.7;\n}\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-2xl {\n --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);\n --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-\\[0_0_0_2px_var\\(--shadow-color\\)\\] {\n --tw-shadow: 0 0 0 2px var(--shadow-color);\n --tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-\\[0_25px_50px_-12px_rgba\\(0\\2c 0\\2c 0\\2c 0\\.25\\)\\] {\n --tw-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);\n --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-\\[0_8px_30px_rgba\\(0\\2c 0\\2c 0\\2c 0\\.12\\)\\] {\n --tw-shadow: 0 8px 30px rgba(0,0,0,0.12);\n --tw-shadow-colored: 0 8px 30px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-\\[inset_0_0_0_1px_currentColor\\] {\n --tw-shadow: inset 0 0 0 1px currentColor;\n --tw-shadow-colored: inset 0 0 0 1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-lg {\n --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-md {\n --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-none {\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-\\[none\\] {\n --tw-shadow-color: none;\n --tw-shadow: var(--tw-shadow-colored);\n}\n.outline-none {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n.outline {\n outline-style: solid;\n}\n.backdrop-blur-sm {\n --tw-backdrop-blur: blur(4px);\n -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n}\n.transition-\\[common\\] {\n transition-property: common;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-all {\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-colors {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-opacity {\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-transform {\n transition-property: transform;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.duration-100 {\n transition-duration: 100ms;\n}\n.duration-200 {\n transition-duration: 200ms;\n}\n.duration-300 {\n transition-duration: 300ms;\n}\n.duration-\\[160ms\\] {\n transition-duration: 160ms;\n}\n.duration-\\[180\\] {\n transition-duration: 180;\n}\n.ease-in-out {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n.ease-linear {\n transition-timing-function: linear;\n}\n.ease-out {\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n.\\[--end-color\\:theme\\(colors\\.gray\\.300\\)\\] {\n --end-color: var(--ikp-color-gray-300);\n}\n.\\[--end-color\\:theme\\(colors\\.inkeep-expanded-primary\\.700\\)\\] {\n --end-color: var(--ikp-color-inkeep-expanded-primary-700);\n}\n.\\[--end-color\\:theme\\(colors\\.white-alpha\\.100\\)\\] {\n --end-color: var(--ikp-color-white-alpha-100);\n}\n.\\[--error-border-color\\:theme\\(colors\\.red\\.500\\)\\] {\n --error-border-color: #ef4444;\n}\n.\\[--focus-border-color\\:theme\\(colors\\.blue\\.500\\)\\] {\n --focus-border-color: #3b82f6;\n}\n.\\[--scrollbar-color\\:var\\(--color-gray-300\\)\\] {\n --scrollbar-color: var(--color-gray-300);\n}\n.\\[--start-color\\:theme\\(colors\\.gray\\.50\\)\\] {\n --start-color: var(--ikp-color-gray-50);\n}\n.\\[--start-color\\:theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\] {\n --start-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n.\\[counter-increment\\:item\\] {\n counter-increment: item;\n}\n.\\[counter-reset\\:item_calc\\(var\\(--start\\2c 0\\)_-_1\\)\\] {\n counter-reset: item calc(var(--start,0) - 1);\n}\n.\\[font-size\\:85\\%\\!important\\] {\n font-size: 85% !important;\n}\n.\\[font-variant-numeric\\:lining-nums_tabular-nums\\] {\n font-variant-numeric: lining-nums tabular-nums;\n}\n.\\[grid-area\\:breadcrumbs\\] {\n grid-area: breadcrumbs;\n}\n.\\[grid-area\\:description\\] {\n grid-area: description;\n}\n.\\[grid-area\\:icon\\] {\n grid-area: icon;\n}\n.\\[grid-area\\:indicator\\] {\n grid-area: indicator;\n}\n.\\[grid-area\\:tag\\] {\n grid-area: tag;\n}\n.\\[grid-area\\:title\\] {\n grid-area: title;\n}\n.\\[grid-template\\:\\"breadcrumbs_breadcrumbs_breadcrumbs_indicator\\"\\"icon_title_tag_indicator\\"\\"description_description_description_indicator\\"\\/auto_auto_1fr_auto\\] {\n grid-template: "breadcrumbs breadcrumbs breadcrumbs indicator""icon title tag indicator""description description description indicator"/auto auto 1fr auto;\n}\n.\\[inset-inline-start\\:var\\(--start\\2c 0px\\)\\] {\n inset-inline-start: var(--start,0px);\n}\n.\\[overflow-wrap\\:anywhere\\] {\n overflow-wrap: anywhere;\n}\n.\\[scrollbar-color\\:var\\(--scrollbar-color\\)_transparent\\] {\n scrollbar-color: var(--scrollbar-color) transparent;\n}\n.\\[scrollbar-width\\:thin\\] {\n scrollbar-width: thin;\n}\n.\\[transition-duration\\:0\\.02s\\] {\n transition-duration: 0.02s;\n}\n.\\[transition-property\\:common\\] {\n transition-property: common;\n}\n\n:where(.inkeep-widget-vars) {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n font-family: var(--ikp-font-family-body);\n font-size: var(--ikp-font-size-md);\n line-height: 1.5;\n color: var(--ikp-color-gray-800);\n}\n\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) {\n color: var(--ikp-color-white-alpha-950);\n}\n\n:where(.inkeep-widget-vars) *,\n:where(.inkeep-widget-vars) *::before,\n:where(.inkeep-widget-vars) *::after {\n border-color: var(--ikp-color-gray-200);\n}\n\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) *,\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) *::before,\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) *::after {\n border-color: var(--ikp-color-white-alpha-200);\n}\n\n:where(.inkeep-widget-vars) input::-moz-placeholder, :where(.inkeep-widget-vars) textarea::-moz-placeholder {\n color: var(--ikp-color-gray-500);\n}\n\n:where(.inkeep-widget-vars) input::placeholder,\n:where(.inkeep-widget-vars) textarea::placeholder {\n color: var(--ikp-color-gray-500);\n}\n\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) input::-moz-placeholder, [data-theme=\'dark\'] :where(.inkeep-widget-vars) textarea::-moz-placeholder {\n color: var(--ikp-color-white-alpha-500);\n}\n\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) input::placeholder,\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) textarea::placeholder {\n color: var(--ikp-color-white-alpha-500);\n}\n\n:where(.inkeep-widget-vars) [data-part=\'icon\'][data-type=\'built-in\'] {\n display: inline-block;\n min-height: 1em;\n min-width: 1em;\n flex-shrink: 0;\n vertical-align: middle;\n line-height: 1em;\n}\n\nsvg[data-part=\'icon\'][data-type=\'custom\'] {\n /* we don\'t want the wrapper divs to affect layout / positioning of icon */\n display: contents;\n}\n\nsvg[data-part=\'icon\'][data-type=\'custom\'] div {\n display: contents;\n}\n\nimg[data-part=\'icon\'][data-type=\'custom\'] {\n display: inline-block;\n min-height: 1em;\n min-width: 1em;\n}\n\n.\\*\\:invisible > * {\n visibility: hidden;\n}\n\n.\\*\\:m-0 > * {\n margin: 0px;\n}\n\n.file\\:h-full::file-selector-button {\n height: 100%;\n}\n\n.file\\:cursor-pointer::file-selector-button {\n cursor: pointer;\n}\n\n.file\\:border-none::file-selector-button {\n border-style: none;\n}\n\n.file\\:bg-transparent::file-selector-button {\n background-color: transparent;\n}\n\n.file\\:text-sm::file-selector-button {\n font-size: var(--ikp-font-size-sm);\n}\n\n.file\\:font-medium::file-selector-button {\n font-weight: 500;\n}\n\n.file\\:text-gray-700::file-selector-button {\n color: var(--ikp-color-gray-700);\n}\n\n.placeholder\\:text-gray-500::-moz-placeholder {\n color: var(--ikp-color-gray-500);\n}\n\n.placeholder\\:text-gray-500::placeholder {\n color: var(--ikp-color-gray-500);\n}\n\n.before\\:pointer-events-none::before {\n content: var(--tw-content);\n pointer-events: none;\n}\n\n.before\\:invisible::before {\n content: var(--tw-content);\n visibility: hidden;\n}\n\n.before\\:absolute::before {\n content: var(--tw-content);\n position: absolute;\n}\n\n.before\\:left-0::before {\n content: var(--tw-content);\n left: 0px;\n}\n\n.before\\:top-0::before {\n content: var(--tw-content);\n top: 0px;\n}\n\n.before\\:z-hide::before {\n content: var(--tw-content);\n z-index: var(--ikp-z-index-hide);\n}\n\n.before\\:m-auto::before {\n content: var(--tw-content);\n margin: auto;\n}\n\n.before\\:block::before {\n content: var(--tw-content);\n display: block;\n}\n\n.before\\:h-3::before {\n content: var(--tw-content);\n height: 0.75rem;\n}\n\n.before\\:h-\\[--before-size\\]::before {\n content: var(--tw-content);\n height: var(--before-size);\n}\n\n.before\\:w-\\[--before-size\\]::before {\n content: var(--tw-content);\n width: var(--before-size);\n}\n\n.before\\:w-full::before {\n content: var(--tw-content);\n width: 100%;\n}\n\n.before\\:-translate-y-full::before {\n content: var(--tw-content);\n --tw-translate-y: -100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.before\\:bg-gray-300::before {\n content: var(--tw-content);\n background-color: var(--ikp-color-gray-300);\n}\n\n.before\\:bg-gradient-to-b::before {\n content: var(--tw-content);\n background-image: linear-gradient(to bottom, var(--tw-gradient-stops));\n}\n\n.before\\:from-transparent::before {\n content: var(--tw-content);\n --tw-gradient-from: transparent var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.before\\:to-white::before {\n content: var(--tw-content);\n --tw-gradient-to: #fff var(--tw-gradient-to-position);\n}\n\n.before\\:bg-no-repeat::before {\n content: var(--tw-content);\n background-repeat: no-repeat;\n}\n\n.before\\:\\[background-position\\:0_0\\]::before {\n content: var(--tw-content);\n background-position: 0 0;\n}\n\n.before\\:\\[background-size\\:cover\\]::before {\n content: var(--tw-content);\n background-size: cover;\n}\n\n.after\\:invisible::after {\n content: var(--tw-content);\n visibility: hidden;\n}\n\n.after\\:absolute::after {\n content: var(--tw-content);\n position: absolute;\n}\n\n.after\\:bottom-0::after {\n content: var(--tw-content);\n bottom: 0px;\n}\n\n.after\\:left-\\[1px\\]::after {\n content: var(--tw-content);\n left: 1px;\n}\n\n.after\\:top-\\[1px\\]::after {\n content: var(--tw-content);\n top: 1px;\n}\n\n.after\\:z-base::after {\n content: var(--tw-content);\n z-index: var(--ikp-z-index-base);\n}\n\n.after\\:h-\\[calc\\(100\\%-2px\\)\\]::after {\n content: var(--tw-content);\n height: calc(100% - 2px);\n}\n\n.after\\:w-\\[calc\\(100\\%-2px\\)\\]::after {\n content: var(--tw-content);\n width: calc(100% - 2px);\n}\n\n.after\\:rounded-\\[5px\\]::after {\n content: var(--tw-content);\n border-radius: 5px;\n}\n\n.after\\:bg-white::after {\n content: var(--tw-content);\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.after\\:bg-gradient-to-t::after {\n content: var(--tw-content);\n background-image: linear-gradient(to top, var(--tw-gradient-stops));\n}\n\n.last-of-type\\:hidden:last-of-type {\n display: none;\n}\n\n.focus\\:z-base:focus {\n z-index: var(--ikp-z-index-base);\n}\n\n.focus\\:z-start:focus {\n z-index: var(--ikp-z-index-start);\n}\n\n.focus\\:bg-gray-100:focus {\n background-color: var(--ikp-color-gray-100);\n}\n\n.focus\\:outline-none:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.focus\\:outline-inkeep-expanded-primary-700:focus {\n outline-color: var(--ikp-color-inkeep-expanded-primary-700);\n}\n\n.focus\\:\\[--shadow-color\\:theme\\(colors\\.blue\\.500\\)\\]:focus {\n --shadow-color: #3b82f6;\n}\n\n.focus-visible\\:outline-none:focus-visible {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.focus-visible\\:ring:focus-visible {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n.focus-visible\\:ring-2:focus-visible {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n.focus-visible\\:ring-transparent:focus-visible {\n --tw-ring-color: transparent;\n}\n\n.focus-visible\\:ring-offset-2:focus-visible {\n --tw-ring-offset-width: 2px;\n}\n\n.focus-visible\\:ring-offset-transparent:focus-visible {\n --tw-ring-offset-color: transparent;\n}\n\n.active\\:bg-gray-200:active {\n background-color: var(--ikp-color-gray-200);\n}\n\n.active\\:bg-gray-300:active {\n background-color: var(--ikp-color-gray-300);\n}\n\n.active\\:bg-gray-50:active {\n background-color: var(--ikp-color-gray-50);\n}\n\n.active\\:bg-gray-900:active {\n background-color: var(--ikp-color-gray-900);\n}\n\n.disabled\\:cursor-not-allowed:disabled {\n cursor: not-allowed;\n}\n\n.disabled\\:text-gray-500:disabled {\n color: var(--ikp-color-gray-500);\n}\n\n.disabled\\:opacity-40:disabled {\n opacity: 0.4;\n}\n\n.disabled\\:opacity-50:disabled {\n opacity: 0.5;\n}\n\n.disabled\\:shadow-none:disabled {\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.active\\:disabled\\:\\[background\\:none\\]:disabled:active {\n background: none;\n}\n\n.group:hover .group-hover\\:text-gray-600 {\n color: var(--ikp-color-gray-600);\n}\n\n.has-\\[\\[data-dual-pane-search-expanded\\]\\]\\:w-\\[min\\(90vw\\2c 1000px\\)\\]:has([data-dual-pane-search-expanded]) {\n width: min(90vw,1000px);\n}\n\n.has-\\[\\[data-scroll-top\\]\\]\\:before\\:opacity-0:has([data-scroll-top])::before {\n content: var(--tw-content);\n opacity: 0;\n}\n\n.has-\\[\\[data-scroll-bottom\\]\\]\\:after\\:opacity-0:has([data-scroll-bottom])::after {\n content: var(--tw-content);\n opacity: 0;\n}\n\n.data-\\[disabled\\]\\:pointer-events-none[data-disabled] {\n pointer-events: none;\n}\n\n.data-\\[mobile\\]\\:inset-0[data-mobile] {\n inset: 0px;\n}\n\n.data-\\[even\\]\\:ml-0[data-even] {\n margin-left: 0px;\n}\n\n.data-\\[even\\]\\:mr-4[data-even] {\n margin-right: 1rem;\n}\n\n.data-\\[role\\=user\\]\\:ml-0[data-role="user"] {\n margin-left: 0px;\n}\n\n.data-\\[role\\=user\\]\\:block[data-role="user"] {\n display: block;\n}\n\n.data-\\[has-results\\]\\:flex[data-has-results] {\n display: flex;\n}\n\n.data-\\[escalated\\]\\:hidden[data-escalated] {\n display: none;\n}\n\n.data-\\[hidden\\]\\:hidden[data-hidden] {\n display: none;\n}\n\n.data-\\[role\\=user\\]\\:hidden[data-role="user"] {\n display: none;\n}\n\n.data-\\[state\\=closed\\]\\:hidden[data-state="closed"] {\n display: none;\n}\n\n.data-\\[submitted\\]\\:hidden[data-submitted] {\n display: none;\n}\n\n.data-\\[has-content\\]\\:h-\\[min\\(calc\\(85vh_-_72px\\)\\2c calc\\(850px_-_72px_-_275px\\)\\)\\][data-has-content] {\n height: min(calc(85vh - 72px),calc(850px - 72px - 275px));\n}\n\n.data-\\[mobile\\]\\:h-\\[unset\\][data-mobile] {\n height: unset;\n}\n\n.data-\\[composite\\]\\:w-full[data-composite] {\n width: 100%;\n}\n\n.data-\\[mobile\\]\\:w-\\[unset\\][data-mobile] {\n width: unset;\n}\n\n.data-\\[role\\=user\\]\\:grow-0[data-role="user"] {\n flex-grow: 0;\n}\n\n.data-\\[side\\=bottom\\]\\:translate-y-1\\.5[data-side="bottom"] {\n --tw-translate-y: 0.375rem;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.data-\\[side\\=left\\]\\:-translate-x-1\\.5[data-side="left"] {\n --tw-translate-x: -0.375rem;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.data-\\[side\\=right\\]\\:translate-x-1\\.5[data-side="right"] {\n --tw-translate-x: 0.375rem;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.data-\\[side\\=top\\]\\:-translate-y-1\\.5[data-side="top"] {\n --tw-translate-y: -0.375rem;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.data-\\[mobile\\]\\:transform-none[data-mobile] {\n transform: none;\n}\n\n@keyframes fade-out {\n\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n}\n\n.data-\\[state\\=closed\\]\\:animate-fade-out[data-state="closed"] {\n animation: fade-out 0.2s ease-out;\n}\n\n@keyframes fade-in {\n\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n.data-\\[state\\=open\\]\\:animate-fade-in[data-state="open"] {\n animation: fade-in 0.25s ease-out;\n}\n\n.data-\\[loading\\]\\:cursor-wait[data-loading] {\n cursor: wait;\n}\n\n.data-\\[even\\]\\:flex-row[data-even] {\n flex-direction: row;\n}\n\n.data-\\[input-type\\=checkbox\\]\\:flex-row[data-input-type="checkbox"] {\n flex-direction: row;\n}\n\n.data-\\[even\\]\\:items-start[data-even] {\n align-items: flex-start;\n}\n\n.data-\\[input-type\\=checkbox\\]\\:items-center[data-input-type="checkbox"] {\n align-items: center;\n}\n\n.data-\\[role\\=user\\]\\:justify-end[data-role="user"] {\n justify-content: flex-end;\n}\n\n.data-\\[role\\=user\\]\\:whitespace-pre-wrap[data-role="user"] {\n white-space: pre-wrap;\n}\n\n.data-\\[mobile\\]\\:rounded-none[data-mobile] {\n border-radius: 0px;\n}\n\n.data-\\[invalid\\]\\:border-\\[--error-border-color\\][data-invalid] {\n border-color: var(--error-border-color);\n}\n\n.data-\\[state\\=active\\]\\:border-inkeep-primary-medium-subtle[data-state="active"] {\n border-color: var(--ikp-color-inkeep-primary-medium-subtle);\n}\n\n.data-\\[state\\=checked\\]\\:border-gray-1000[data-state="checked"] {\n border-color: var(--ikp-color-gray-1000);\n}\n\n.data-\\[active\\]\\:bg-white[data-active] {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.data-\\[role\\=user\\]\\:bg-gray-50[data-role="user"] {\n background-color: var(--ikp-color-gray-50);\n}\n\n.data-\\[state\\=active\\]\\:bg-inkeep-primary-light-subtle[data-state="active"] {\n background-color: var(--ikp-color-inkeep-primary-light-subtle);\n}\n\n.data-\\[state\\=checked\\]\\:bg-gray-1000[data-state="checked"] {\n background-color: var(--ikp-color-gray-1000);\n}\n\n.data-\\[username\\]\\:bg-inkeep-primary-lighter[data-username] {\n background-color: var(--ikp-color-inkeep-primary-lighter);\n}\n\n.data-\\[has-content\\]\\:pb-2[data-has-content] {\n padding-bottom: 0.5rem;\n}\n\n.data-\\[is-numeric\\=true\\]\\:text-end[data-is-numeric="true"] {\n text-align: end;\n}\n\n.data-\\[highlighted\\]\\:font-semibold[data-highlighted] {\n font-weight: 600;\n}\n\n.data-\\[active\\]\\:text-gray-600[data-active] {\n color: var(--ikp-color-gray-600);\n}\n\n.data-\\[active\\]\\:text-gray-800[data-active] {\n color: var(--ikp-color-gray-800);\n}\n\n.data-\\[copied\\]\\:text-inkeep-primary-medium[data-copied] {\n color: var(--ikp-color-inkeep-primary-medium);\n}\n\n.data-\\[downvoted\\]\\:text-inkeep-primary-medium[data-downvoted] {\n color: var(--ikp-color-inkeep-primary-medium);\n}\n\n.data-\\[highlighted\\]\\:text-inkeep-primary-text-subtle[data-highlighted] {\n color: var(--ikp-color-inkeep-primary-text-subtle);\n}\n\n.data-\\[is-match\\]\\:text-inkeep-expanded-primary-700[data-is-match] {\n color: var(--ikp-color-inkeep-expanded-primary-700);\n}\n\n.data-\\[role\\=user\\]\\:text-gray-700[data-role="user"] {\n color: var(--ikp-color-gray-700);\n}\n\n.data-\\[state\\=active\\]\\:text-inkeep-expanded-primary-900[data-state="active"] {\n color: var(--ikp-color-inkeep-expanded-primary-900);\n}\n\n.data-\\[state\\=checked\\]\\:text-white[data-state="checked"] {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[type\\=\\"stackoverflow\\"\\]\\:text-green-500[data-type="stackoverflow"] {\n --tw-text-opacity: 1;\n color: rgb(34 197 94 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[type\\=icon\\]\\:data-\\[role\\=user\\]\\:text-inkeep-primary-medium[data-role="user"][data-type="icon"] {\n color: var(--ikp-color-inkeep-primary-medium);\n}\n\n.data-\\[type\\^\\=\\"github\\"\\]\\:text-purple-500[data-type^="github"] {\n --tw-text-opacity: 1;\n color: rgb(168 85 247 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[upvoted\\]\\:text-inkeep-primary-medium[data-upvoted] {\n color: var(--ikp-color-inkeep-primary-medium);\n}\n\n.data-\\[disabled\\]\\:opacity-50[data-disabled] {\n opacity: 0.5;\n}\n\n.data-\\[active\\]\\:shadow[data-active] {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.data-\\[invalid\\]\\:shadow-\\[0_0_0_1px_var\\(--error-border-color\\)\\][data-invalid] {\n --tw-shadow: 0 0 0 1px var(--error-border-color);\n --tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.data-\\[disable-transitions\\]\\:transition-none[data-disable-transitions] {\n transition-property: none;\n}\n\n.data-\\[type\\=icon\\]\\:\\[--end-color\\:theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\][data-type="icon"] {\n --end-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.data-\\[type\\=icon\\]\\:data-\\[role\\=assistant\\]\\:\\[--end-color\\:theme\\(colors\\.inkeep-expanded-primary\\.700\\)\\][data-role="assistant"][data-type="icon"] {\n --end-color: var(--ikp-color-inkeep-expanded-primary-700);\n}\n\n.data-\\[invalid\\]\\:\\[--shadow-color\\:theme\\(colors\\.red\\.500\\)\\][data-invalid] {\n --shadow-color: #ef4444;\n}\n\n.data-\\[type\\=icon\\]\\:data-\\[role\\=assistant\\]\\:\\[--start-color\\:theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\][data-role="assistant"][data-type="icon"] {\n --start-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.data-\\[type\\=icon\\]\\:\\[--start-color\\:theme\\(colors\\.inkeep-expanded-primary\\.50\\)\\][data-type="icon"] {\n --start-color: var(--ikp-color-inkeep-expanded-primary-50);\n}\n\n.data-\\[required\\]\\:after\\:absolute[data-required]::after {\n content: var(--tw-content);\n position: absolute;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:absolute[data-show-toolbar]::after {\n content: var(--tw-content);\n position: absolute;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:left-0[data-show-toolbar]::after {\n content: var(--tw-content);\n left: 0px;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:top-full[data-show-toolbar]::after {\n content: var(--tw-content);\n top: 100%;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:z-start[data-show-toolbar]::after {\n content: var(--tw-content);\n z-index: var(--ikp-z-index-start);\n}\n\n.data-\\[required\\]\\:after\\:ml-1[data-required]::after {\n content: var(--tw-content);\n margin-left: 0.25rem;\n}\n\n.data-\\[required\\]\\:after\\:mt-0[data-required]::after {\n content: var(--tw-content);\n margin-top: 0px;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:h-\\[1rem\\][data-show-toolbar]::after {\n content: var(--tw-content);\n height: 1rem;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:w-full[data-show-toolbar]::after {\n content: var(--tw-content);\n width: 100%;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:bg-\\[linear-gradient\\(currentColor\\2c _transparent\\)\\][data-show-toolbar]::after {\n content: var(--tw-content);\n background-image: linear-gradient(currentColor, transparent);\n}\n\n.data-\\[required\\]\\:after\\:text-red-500[data-required]::after {\n content: var(--tw-content);\n --tw-text-opacity: 1;\n color: rgb(239 68 68 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[show-toolbar\\]\\:after\\:text-white[data-show-toolbar]::after {\n content: var(--tw-content);\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[required\\]\\:after\\:\\[content\\:\\"\\*\\"\\][data-required]::after {\n content: "*";\n}\n\n@keyframes spin {\n\n to {\n content: var(--tw-content);\n transform: rotate(360deg);\n }\n}\n\n.data-\\[highlight\\]\\:first\\:before\\:animate-\\[spin_4s_linear_infinite\\]:first-child[data-highlight]::before {\n content: var(--tw-content);\n animation: spin 4s linear infinite;\n}\n\n.data-\\[highlight\\]\\:first\\:before\\:\\[background-image\\:conic-gradient\\(transparent\\2c theme\\(colors\\.inkeep-expanded-primary\\.600\\)\\2c transparent_30\\%\\)\\]:first-child[data-highlight]::before {\n content: var(--tw-content);\n background-image: conic-gradient(transparent,var(--ikp-color-inkeep-expanded-primary-600),transparent 30%);\n}\n\n:not(.dark) .light\\:text-gray-700 {\n color: var(--ikp-color-gray-700);\n}\n\n[data-widget-md] .ikp-md\\:mb-0 {\n margin-bottom: 0px;\n}\n\n[data-widget-md] .ikp-md\\:flex {\n display: flex;\n}\n\n[data-widget-md] .ikp-md\\:hidden {\n display: none;\n}\n\n[data-widget-md] .ikp-md\\:h-12 {\n height: 3rem;\n}\n\n[data-widget-md] .ikp-md\\:flex-row {\n flex-direction: row;\n}\n\n[data-widget-md] .ikp-md\\:flex-col {\n flex-direction: column;\n}\n\n[data-widget-md] .ikp-md\\:items-start {\n align-items: flex-start;\n}\n\n[data-widget-md] .ikp-md\\:px-14 {\n padding-left: 3.5rem;\n padding-right: 3.5rem;\n}\n\n[data-widget-md] .ikp-md\\:px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n\n[data-widget-md] .ikp-md\\:px-8 {\n padding-left: 2rem;\n padding-right: 2rem;\n}\n\n[data-widget-md] .ikp-md\\:py-14 {\n padding-top: 3.5rem;\n padding-bottom: 3.5rem;\n}\n\n[data-widget-md] .ikp-md\\:pb-14 {\n padding-bottom: 3.5rem;\n}\n\n[data-widget-md] .ikp-md\\:pl-3 {\n padding-left: 0.75rem;\n}\n\n[data-widget-md] .ikp-md\\:pr-3 {\n padding-right: 0.75rem;\n}\n\n[data-widget-md] .ikp-md\\:pr-6 {\n padding-right: 1.5rem;\n}\n\n.hover\\:scale-110:hover:not(:disabled) {\n --tw-scale-x: 1.1;\n --tw-scale-y: 1.1;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.hover\\:border-gray-300:hover:not(:disabled) {\n border-color: var(--ikp-color-gray-300);\n}\n\n.hover\\:bg-gray-100:hover:not(:disabled) {\n background-color: var(--ikp-color-gray-100);\n}\n\n.hover\\:bg-gray-200:hover:not(:disabled) {\n background-color: var(--ikp-color-gray-200);\n}\n\n.hover\\:bg-gray-50:hover:not(:disabled) {\n background-color: var(--ikp-color-gray-50);\n}\n\n.hover\\:bg-gray-900:hover:not(:disabled) {\n background-color: var(--ikp-color-gray-900);\n}\n\n.hover\\:bg-inkeep-primary-light-subtle:hover:not(:disabled) {\n background-color: var(--ikp-color-inkeep-primary-light-subtle);\n}\n\n.hover\\:bg-transparent:hover:not(:disabled) {\n background-color: transparent;\n}\n\n.hover\\:text-gray-700:hover:not(:disabled) {\n color: var(--ikp-color-gray-700);\n}\n\n.hover\\:text-gray-800:hover:not(:disabled) {\n color: var(--ikp-color-gray-800);\n}\n\n.hover\\:text-inkeep-primary-strong:hover:not(:disabled) {\n color: var(--ikp-color-inkeep-primary-strong);\n}\n\n.hover\\:text-inkeep-primary-stronger:hover:not(:disabled) {\n color: var(--ikp-color-inkeep-primary-stronger);\n}\n\n.hover\\:underline:hover:not(:disabled) {\n text-decoration-line: underline;\n}\n\n.hover\\:disabled\\:bg-gray-100:disabled:hover:not(:disabled) {\n background-color: var(--ikp-color-gray-100);\n}\n\n.hover\\:disabled\\:\\[background\\:none\\]:disabled:hover:not(:disabled) {\n background: none;\n}\n\n.hover\\:data-\\[state\\=active\\]\\:bg-inkeep-primary-light-subtle[data-state="active"]:hover:not(:disabled) {\n background-color: var(--ikp-color-inkeep-primary-light-subtle);\n}\n\n.data-\\[is-match\\]\\:hover\\:text-inkeep-expanded-primary-800:hover:not(:disabled)[data-is-match] {\n color: var(--ikp-color-inkeep-expanded-primary-800);\n}\n\n.befter\\:pointer-events-none::before {\n pointer-events: none;\n}\n\n.befter\\:absolute::before {\n position: absolute;\n}\n\n.befter\\:inset-x-0::before {\n left: 0px;\n right: 0px;\n}\n\n.befter\\:h-10::before {\n height: 2.5rem;\n}\n\n.befter\\:from-white::before {\n --tw-gradient-from: #fff var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.befter\\:to-transparent::before {\n --tw-gradient-to: transparent var(--tw-gradient-to-position);\n}\n\n.befter\\:transition-opacity::before {\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.befter\\:duration-300::before {\n transition-duration: 300ms;\n}\n\n.befter\\:ease-in-out::before {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.befter\\:content-\\[\\"\\"\\]::before {\n --tw-content: "";\n content: var(--tw-content);\n}\n\n.befter\\:pointer-events-none::after {\n pointer-events: none;\n}\n\n.befter\\:absolute::after {\n position: absolute;\n}\n\n.befter\\:inset-x-0::after {\n left: 0px;\n right: 0px;\n}\n\n.befter\\:h-10::after {\n height: 2.5rem;\n}\n\n.befter\\:from-white::after {\n --tw-gradient-from: #fff var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.befter\\:to-transparent::after {\n --tw-gradient-to: transparent var(--tw-gradient-to-position);\n}\n\n.befter\\:transition-opacity::after {\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.befter\\:duration-300::after {\n transition-duration: 300ms;\n}\n\n.befter\\:ease-in-out::after {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.befter\\:content-\\[\\"\\"\\]::after {\n --tw-content: "";\n content: var(--tw-content);\n}\n\n.selected\\:border-inkeep-primary-medium-subtle[data-selected="true"] {\n border-color: var(--ikp-color-inkeep-primary-medium-subtle);\n}\n\n.selected\\:bg-inkeep-primary-light-subtle[data-selected="true"] {\n background-color: var(--ikp-color-inkeep-primary-light-subtle);\n}\n\n.selected\\:text-inkeep-primary-strong[data-selected="true"] {\n color: var(--ikp-color-inkeep-primary-strong);\n}\n\n.selected\\:border-inkeep-primary-medium-subtle:hover {\n border-color: var(--ikp-color-inkeep-primary-medium-subtle);\n}\n\n.selected\\:bg-inkeep-primary-light-subtle:hover {\n background-color: var(--ikp-color-inkeep-primary-light-subtle);\n}\n\n.selected\\:text-inkeep-primary-strong:hover {\n color: var(--ikp-color-inkeep-primary-strong);\n}\n\n.group[data-selected="true"] .group-selected\\:text-inkeep-primary-text-bold {\n color: var(--ikp-color-inkeep-primary-text-bold);\n}\n\n.group[data-selected="true"] .group-selected\\:text-inkeep-primary-text-subtle {\n color: var(--ikp-color-inkeep-primary-text-subtle);\n}\n\n.group[data-selected="true"] .group-selected\\:opacity-100 {\n opacity: 1;\n}\n\n.group:hover .group-selected\\:text-inkeep-primary-text-bold {\n color: var(--ikp-color-inkeep-primary-text-bold);\n}\n\n.group:hover .group-selected\\:text-inkeep-primary-text-subtle {\n color: var(--ikp-color-inkeep-primary-text-subtle);\n}\n\n.group:hover .group-selected\\:opacity-100 {\n opacity: 1;\n}\n\n.dark\\:border-gray-700:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-gray-700);\n}\n\n.dark\\:border-gray-dark-500:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-gray-dark-500);\n}\n\n.dark\\:border-gray-dark-700:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-gray-dark-700);\n}\n\n.dark\\:border-inkeep-expanded-primary-200:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n\n.dark\\:border-transparent:is([data-theme="dark"] *) {\n border-color: transparent;\n}\n\n.dark\\:border-white-alpha-200:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:bg-gray-dark-600:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-600);\n}\n\n.dark\\:bg-gray-dark-700:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-700);\n}\n\n.dark\\:bg-gray-dark-800:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-800);\n}\n\n.dark\\:bg-gray-dark-900:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-900);\n}\n\n.dark\\:bg-gray-dark-950:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-950);\n}\n\n.dark\\:bg-inkeep-expanded-primary-300:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:bg-overlay-dark:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-overlay-dark);\n}\n\n.dark\\:bg-transparent:is([data-theme="dark"] *) {\n background-color: transparent;\n}\n\n.dark\\:bg-white-alpha-100:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:bg-white-alpha-200:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:bg-white-alpha-50:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-50);\n}\n\n.dark\\:from-gray-dark-300:is([data-theme="dark"] *) {\n --tw-gradient-from: var(--ikp-color-gray-dark-300) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.dark\\:from-gray-dark-600:is([data-theme="dark"] *) {\n --tw-gradient-from: var(--ikp-color-gray-dark-600) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.dark\\:to-gray-dark-100:is([data-theme="dark"] *) {\n --tw-gradient-to: var(--ikp-color-gray-dark-100) var(--tw-gradient-to-position);\n}\n\n.dark\\:fill-gray-dark-800:is([data-theme="dark"] *) {\n fill: var(--ikp-color-gray-dark-800);\n}\n\n.dark\\:text-gray-200:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-200);\n}\n\n.dark\\:text-gray-400:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-400);\n}\n\n.dark\\:text-gray-dark-100:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-100);\n}\n\n.dark\\:text-gray-dark-200:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-200);\n}\n\n.dark\\:text-gray-dark-300:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-300);\n}\n\n.dark\\:text-gray-dark-400:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-400);\n}\n\n.dark\\:text-gray-dark-950:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-950);\n}\n\n.dark\\:text-inkeep-expanded-primary-100:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-100);\n}\n\n.dark\\:text-inkeep-expanded-primary-300:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:text-inkeep-expanded-primary-500:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-500);\n}\n\n.dark\\:text-red-300:is([data-theme="dark"] *) {\n --tw-text-opacity: 1;\n color: rgb(252 165 165 / var(--tw-text-opacity, 1));\n}\n\n.dark\\:text-white-alpha-500:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-500);\n}\n\n.dark\\:text-white-alpha-600:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-600);\n}\n\n.dark\\:text-white-alpha-700:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-700);\n}\n\n.dark\\:text-white-alpha-900:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-900);\n}\n\n.dark\\:text-white-alpha-950:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-950);\n}\n\n.dark\\:shadow-none:is([data-theme="dark"] *) {\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.dark\\:shadow-\\[none\\]:is([data-theme="dark"] *) {\n --tw-shadow-color: none;\n --tw-shadow: var(--tw-shadow-colored);\n}\n\n.dark\\:\\[--end-color\\:theme\\(colors\\.gray-dark\\.600\\)\\]:is([data-theme="dark"] *) {\n --end-color: var(--ikp-color-gray-dark-600);\n}\n\n.dark\\:\\[--end-color\\:theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\]:is([data-theme="dark"] *) {\n --end-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:\\[--end-color\\:theme\\(colors\\.white-alpha\\.300\\)\\]:is([data-theme="dark"] *) {\n --end-color: var(--ikp-color-white-alpha-300);\n}\n\n.dark\\:\\[--error-border-color\\:theme\\(colors\\.red\\.300\\)\\]:is([data-theme="dark"] *) {\n --error-border-color: #fca5a5;\n}\n\n.dark\\:\\[--focus-border-color\\:theme\\(colors\\.blue\\.300\\)\\]:is([data-theme="dark"] *) {\n --focus-border-color: #93c5fd;\n}\n\n.dark\\:\\[--scrollbar-color\\:var\\(--color-gray-dark-600\\)\\]:is([data-theme="dark"] *) {\n --scrollbar-color: var(--color-gray-dark-600);\n}\n\n.dark\\:\\[--start-color\\:theme\\(colors\\.gray-dark\\.800\\)\\]:is([data-theme="dark"] *) {\n --start-color: var(--ikp-color-gray-dark-800);\n}\n\n.dark\\:\\[--start-color\\:theme\\(colors\\.gray\\.300\\)\\]:is([data-theme="dark"] *) {\n --start-color: var(--ikp-color-gray-300);\n}\n\n.dark\\:\\[--start-color\\:theme\\(colors\\.inkeep-expanded-primary\\.50\\)\\]:is([data-theme="dark"] *) {\n --start-color: var(--ikp-color-inkeep-expanded-primary-50);\n}\n\n.dark\\:file\\:text-white-alpha-700:is([data-theme="dark"] *)::file-selector-button {\n color: var(--ikp-color-white-alpha-700);\n}\n\n.dark\\:placeholder\\:text-gray-dark-200:is([data-theme="dark"] *)::-moz-placeholder {\n color: var(--ikp-color-gray-dark-200);\n}\n\n.dark\\:placeholder\\:text-gray-dark-200:is([data-theme="dark"] *)::placeholder {\n color: var(--ikp-color-gray-dark-200);\n}\n\n.dark\\:before\\:bg-gray-dark-950:is([data-theme="dark"] *)::before {\n content: var(--tw-content);\n background-color: var(--ikp-color-gray-dark-950);\n}\n\n.dark\\:before\\:to-gray-dark-950:is([data-theme="dark"] *)::before {\n content: var(--tw-content);\n --tw-gradient-to: var(--ikp-color-gray-dark-950) var(--tw-gradient-to-position);\n}\n\n.dark\\:after\\:bg-gray-dark-950:is([data-theme="dark"] *)::after {\n content: var(--tw-content);\n background-color: var(--ikp-color-gray-dark-950);\n}\n\n.dark\\:focus\\:bg-gray-dark-800:focus:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-800);\n}\n\n.dark\\:focus\\:outline-inkeep-expanded-primary-300:focus:is([data-theme="dark"] *) {\n outline-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:active\\:bg-inkeep-expanded-primary-200:active:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n\n.dark\\:active\\:bg-white-alpha-100:active:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:active\\:bg-white-alpha-200:active:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:active\\:bg-white-alpha-400:active:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-400);\n}\n\n.dark\\:disabled\\:text-white-alpha-200:disabled:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-200);\n}\n\n.group:hover .dark\\:group-hover\\:text-white-alpha-600:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-600);\n}\n\n.dark\\:data-\\[state\\=active\\]\\:border-inkeep-expanded-primary-300[data-state="active"]:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[state\\=checked\\]\\:border-white-alpha-950[data-state="checked"]:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-white-alpha-950);\n}\n\n.dark\\:data-\\[active\\]\\:bg-gray-dark-700[data-active]:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-700);\n}\n\n.dark\\:data-\\[state\\=active\\]\\:bg-white-alpha-100[data-state="active"]:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:data-\\[state\\=checked\\]\\:bg-white-alpha-950[data-state="checked"]:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-950);\n}\n\n.dark\\:data-\\[username\\]\\:bg-inkeep-expanded-primary-300[data-username]:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[active\\]\\:text-white-alpha-600[data-active]:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-600);\n}\n\n.dark\\:data-\\[active\\]\\:text-white-alpha-950[data-active]:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-950);\n}\n\n.dark\\:data-\\[highlighted\\]\\:text-gray-dark-50[data-highlighted]:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-50);\n}\n\n.dark\\:data-\\[is-match\\]\\:text-inkeep-expanded-primary-300[data-is-match]:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[role\\=user\\]\\:text-white-alpha-700[data-role="user"]:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-700);\n}\n\n.dark\\:data-\\[state\\=active\\]\\:text-inkeep-expanded-primary-300[data-state="active"]:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[state\\=checked\\]\\:text-gray-1000[data-state="checked"]:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-1000);\n}\n\n.dark\\:data-\\[type\\=icon\\]\\:data-\\[role\\=user\\]\\:text-inkeep-expanded-primary-300[data-role="user"][data-type="icon"]:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.data-\\[downvoted\\]\\:dark\\:text-inkeep-expanded-primary-300:is([data-theme="dark"] *)[data-downvoted] {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.data-\\[upvoted\\]\\:dark\\:text-inkeep-expanded-primary-300:is([data-theme="dark"] *)[data-upvoted] {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[type\\=icon\\]\\:data-\\[role\\=assistant\\]\\:\\[--end-color\\:theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\][data-role="assistant"][data-type="icon"]:is([data-theme="dark"] *) {\n --end-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[type\\=icon\\]\\:data-\\[role\\=assistant\\]\\:\\[--start-color\\:theme\\(colors\\.inkeep-expanded-primary\\.50\\)\\][data-role="assistant"][data-type="icon"]:is([data-theme="dark"] *) {\n --start-color: var(--ikp-color-inkeep-expanded-primary-50);\n}\n\n.dark\\:data-\\[required\\]\\:after\\:text-red-300[data-required]:is([data-theme="dark"] *)::after {\n content: var(--tw-content);\n --tw-text-opacity: 1;\n color: rgb(252 165 165 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[show-toolbar\\]\\:after\\:dark\\:text-gray-dark-950:is([data-theme="dark"] *)[data-show-toolbar]::after {\n content: var(--tw-content);\n color: var(--ikp-color-gray-dark-950);\n}\n\n.dark\\:data-\\[highlight\\]\\:first\\:before\\:\\[background-image\\:conic-gradient\\(transparent\\2c theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\2c transparent_30\\%\\)\\]:first-child[data-highlight]:is([data-theme="dark"] *)::before {\n content: var(--tw-content);\n background-image: conic-gradient(transparent,var(--ikp-color-inkeep-expanded-primary-300),transparent 30%);\n}\n\n.dark\\:hover\\:border-white-alpha-300:hover:not(:disabled):is([data-theme="dark"] *) {\n border-color: var(--ikp-color-white-alpha-300);\n}\n\n.dark\\:hover\\:bg-gray-dark-800:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-800);\n}\n\n.dark\\:hover\\:bg-inkeep-expanded-primary-200:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n\n.dark\\:hover\\:bg-transparent:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: transparent;\n}\n\n.dark\\:hover\\:bg-white-alpha-100:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:hover\\:bg-white-alpha-200:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:hover\\:bg-white-alpha-50:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-50);\n}\n\n.dark\\:hover\\:text-inkeep-expanded-primary-100:hover:not(:disabled):is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-100);\n}\n\n.dark\\:hover\\:text-inkeep-expanded-primary-300:hover:not(:disabled):is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:hover\\:text-white-alpha-500:hover:not(:disabled):is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-500);\n}\n\n.dark\\:hover\\:text-white-alpha-800:hover:not(:disabled):is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-800);\n}\n\n.dark\\:hover\\:text-white-alpha-950:hover:not(:disabled):is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-950);\n}\n\n.hover\\:dark\\:text-white-alpha-950:is([data-theme="dark"] *):hover:not(:disabled) {\n color: var(--ikp-color-white-alpha-950);\n}\n\n.dark\\:hover\\:disabled\\:bg-white-alpha-100:disabled:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:hover\\:data-\\[state\\=active\\]\\:bg-white-alpha-100[data-state="active"]:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:data-\\[is-match\\]\\:hover\\:text-inkeep-expanded-primary-200:hover:not(:disabled)[data-is-match]:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n\n.befter\\:dark\\:from-gray-dark-950:is([data-theme="dark"] *)::before {\n --tw-gradient-from: var(--ikp-color-gray-dark-950) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.befter\\:dark\\:from-gray-dark-950:is([data-theme="dark"] *)::after {\n --tw-gradient-from: var(--ikp-color-gray-dark-950) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.dark\\:selected\\:border-inkeep-expanded-primary-300[data-selected="true"]:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:selected\\:bg-white-alpha-200[data-selected="true"]:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:selected\\:text-inkeep-expanded-primary-300[data-selected="true"]:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:selected\\:border-inkeep-expanded-primary-300:hover:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:selected\\:bg-white-alpha-200:hover:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:selected\\:text-inkeep-expanded-primary-300:hover:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.group[data-selected="true"] .dark\\:group-selected\\:text-gray-dark-100:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-100);\n}\n\n.group[data-selected="true"] .dark\\:group-selected\\:text-white:is([data-theme="dark"] *) {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.group:hover .dark\\:group-selected\\:text-gray-dark-100:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-100);\n}\n\n.group:hover .dark\\:group-selected\\:text-white:is([data-theme="dark"] *) {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n@media (min-width: 640px) {\n\n .sm\\:w-\\[420px\\] {\n width: 420px;\n }\n}\n\n@media (min-width: 768px) {\n\n .md\\:my-12 {\n margin-top: 3rem;\n margin-bottom: 3rem;\n }\n\n .md\\:flex {\n display: flex;\n }\n\n .md\\:hidden {\n display: none;\n }\n\n .md\\:h-\\[min\\(760px\\2c 100\\%\\)\\] {\n height: min(760px,100%);\n }\n\n .md\\:w-\\[min\\(600px\\2c 100\\%\\)\\] {\n width: min(600px,100%);\n }\n\n .md\\:min-w-\\[min\\(320px\\2c 100\\%\\)\\] {\n min-width: min(320px,100%);\n }\n\n .md\\:p-10 {\n padding: 2.5rem;\n }\n\n .md\\:text-4xl {\n font-size: var(--ikp-font-size-4xl);\n }\n\n .md\\:text-sm {\n font-size: var(--ikp-font-size-sm);\n }\n\n .md\\:leading-5 {\n line-height: 1.25rem;\n }\n\n .md\\:data-\\[view\\=dual-pane\\]\\:hidden[data-view="dual-pane"] {\n display: none;\n }\n\n .md\\:data-\\[dual-pane-search-expanded\\]\\:h-\\[min\\(calc\\(85vh_-_72px\\)\\2c calc\\(900px_-_72px_-_135px\\)\\)\\][data-dual-pane-search-expanded] {\n height: min(calc(85vh - 72px),calc(900px - 72px - 135px));\n }\n\n .md\\:data-\\[view\\=dual-pane\\]\\:\\[grid-template\\:\\"breadcrumbs_breadcrumbs_breadcrumbs\\"\\"icon_title_tag\\"\\"description_description_description\\"\\/auto_auto_1fr\\][data-view="dual-pane"] {\n grid-template: "breadcrumbs breadcrumbs breadcrumbs""icon title tag""description description description"/auto auto 1fr;\n }\n}\n\n@media (min-width: 1024px) {\n\n .lg\\:h-\\[min\\(800px\\2c 100\\%\\)\\] {\n height: min(800px,100%);\n }\n\n .lg\\:w-\\[min\\(640px\\2c 100\\%\\)\\] {\n width: min(640px,100%);\n }\n}\n\n@media (min-width: 1536px) {\n\n .\\32xl\\:h-\\[min\\(900px\\2c 100\\%\\)\\] {\n height: min(900px,100%);\n }\n\n .\\32xl\\:w-\\[min\\(760px\\2c 100\\%\\)\\] {\n width: min(760px,100%);\n }\n}\n\n.\\[\\&\\:not\\(\\:last-child\\)\\]\\:after\\:absolute:not(:last-child)::after {\n content: var(--tw-content);\n position: absolute;\n}\n\n.\\[\\&\\:not\\(\\:last-child\\)\\]\\:after\\:inset-x-6:not(:last-child)::after {\n content: var(--tw-content);\n left: 1.5rem;\n right: 1.5rem;\n}\n\n.\\[\\&\\:not\\(\\:last-child\\)\\]\\:after\\:bottom-0:not(:last-child)::after {\n content: var(--tw-content);\n bottom: 0px;\n}\n\n.\\[\\&\\:not\\(\\:last-child\\)\\]\\:after\\:border-b:not(:last-child)::after {\n content: var(--tw-content);\n border-bottom-width: 1px;\n}\n\n[data-widget-md] .ikp-md\\:\\[\\&\\:not\\(\\:last-child\\)\\]\\:after\\:inset-x-8:not(:last-child)::after {\n content: var(--tw-content);\n left: 2rem;\n right: 2rem;\n}\n\n.focus\\:\\[\\&\\:not\\(\\[data-invalid\\]\\)\\]\\:border-\\[--focus-border-color\\]:not([data-invalid]):focus {\n border-color: var(--focus-border-color);\n}\n\n.focus\\:\\[\\&\\:not\\(\\[data-invalid\\]\\)\\]\\:shadow-\\[0_0_0_1px_var\\(--focus-border-color\\)\\]:not([data-invalid]):focus {\n --tw-shadow: 0 0 0 1px var(--focus-border-color);\n --tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.\\[\\&\\:where\\(\\:hover\\2c \\:focus\\)\\]\\:bg-slate-400\\/5:where(:hover,:focus) {\n background-color: rgb(148 163 184 / 0.05);\n}\n\n.dark\\:\\[\\&\\:where\\(\\:hover\\2c \\:focus\\)\\]\\:bg-white-alpha-100:where(:hover,:focus):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.\\[\\&\\>\\:first-child\\]\\:basis-full>:first-child {\n flex-basis: 100%;\n}\n\n.\\[\\&\\[data-mobile\\]\\>div\\]\\:h-full[data-mobile]>div {\n height: 100%;\n}\n\n.\\[\\&\\[data-mobile\\]\\>div\\]\\:max-h-\\[unset\\][data-mobile]>div {\n max-height: unset;\n}\n\n.\\[\\&\\[data-mobile\\]\\>div\\]\\:max-h-dvh[data-mobile]>div {\n max-height: 100dvh;\n}\n\n.\\[\\&_\\[data-part\\=grid\\]\\]\\:divide-y [data-part=grid] > :not([hidden]) ~ :not([hidden]) {\n --tw-divide-y-reverse: 0;\n border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n border-bottom-width: calc(1px * var(--tw-divide-y-reverse));\n}\n\n.\\[\\&_\\[data-part\\=grid\\]\\]\\:px-1 [data-part=grid] {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n\n.\\[\\&_a\\]\\:inline a {\n display: inline;\n}\n\n.\\[\\&_a\\]\\:break-words a {\n overflow-wrap: break-word;\n}\n\n.\\[\\&_a\\]\\:rounded-sm a {\n border-radius: 0.125rem;\n}\n\n.\\[\\&_a\\]\\:bg-inkeep-primary-light a {\n background-color: var(--ikp-color-inkeep-primary-light);\n}\n\n.\\[\\&_a\\]\\:px-1 a {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n\n.\\[\\&_a\\]\\:py-\\[1px\\] a {\n padding-top: 1px;\n padding-bottom: 1px;\n}\n\n.\\[\\&_a\\]\\:font-semibold a {\n font-weight: 600;\n}\n\n.\\[\\&_a\\]\\:text-inkeep-primary-text-subtle a {\n color: var(--ikp-color-inkeep-primary-text-subtle);\n}\n\n.\\[\\&_a\\]\\:no-underline a {\n text-decoration-line: none;\n}\n\n.\\[\\&_a\\]\\:hover\\:text-inkeep-primary-text-bold:hover:not(:disabled) a {\n color: var(--ikp-color-inkeep-primary-text-bold);\n}\n\n.\\[\\&_a\\]\\:hover\\:no-underline:hover:not(:disabled) a {\n text-decoration-line: none;\n}\n\n.\\[\\&_a\\]\\:dark\\:bg-inkeep-primary-text-subtle:is([data-theme="dark"] *) a {\n background-color: var(--ikp-color-inkeep-primary-text-subtle);\n}\n\n.\\[\\&_a\\]\\:dark\\:hover\\:text-inkeep-expanded-primary-200:hover:not(:disabled):is([data-theme="dark"] *) a {\n color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n\n.\\[\\&_em\\]\\:font-bold em {\n font-weight: 700;\n}\n\n.\\[\\&_em\\]\\:not-italic em {\n font-style: normal;\n}\n\n.\\[\\&_li\\]\\:mb-1 li {\n margin-bottom: 0.25rem;\n}\n\n.\\[\\&_svg\\]\\:h-4 svg {\n height: 1rem;\n}\n\n.\\[\\&_svg\\]\\:w-4 svg {\n width: 1rem;\n}\n\n[data-show-ask-ai-card] .\\[\\[data-show-ask-ai-card\\]_\\&\\]\\:pb-1 {\n padding-bottom: 0.25rem;\n}\n\n[data-view=dual-pane] .first\\:\\[\\[data-view\\=dual-pane\\]_\\&\\]\\:flex-1:first-child {\n flex: 1 1 0%;\n}\n\n@media (min-width: 768px) {\n\n [data-view=dual-pane] .md\\:first\\:\\[\\[data-view\\=dual-pane\\]_\\&\\]\\:flex-\\[0_0_40\\%\\]:first-child {\n flex: 0 0 40%;\n }\n}\n',...e}),uue=_B("div",{_id:"view_toggle"}),due=_B("button",{_id:"view_toggle_button",className:Goe({slot:"button"})}),pue=_B(kW,{_id:"view_toggle_icon"});function fue(e){const{handleToggle:t}=hue(e);return $f.jsxs(uue,{className:Goe({slot:"root"}),children:[$f.jsxs(due,{onClick:()=>t("search"),"data-active":_P("search"===e.view),children:[$f.jsx(pue,{"data-active":_P("search"===e.view),iconKey:"switchToSearch",className:Goe({slot:"icon"})}),e.searchLabel||"Search"]}),$f.jsxs(due,{onClick:()=>t("chat"),"data-active":_P("chat"===e.view),children:[$f.jsx(pue,{"data-active":_P("chat"===e.view),iconKey:"switchToChat",className:Goe({slot:"icon"})}),e.askAILabel||"Ask AI"]})]})}function hue(e){const{onToggleView:t,query:n}=e;return{handleToggle:(e,r)=>{null==t||t({view:e,query:n,autoSubmit:r})}}}function mue(e){const{componentType:t,children:n,modalSettings:r,...a}=e;return $f.jsx(Tae,{children:$f.jsx(cue,{children:$f.jsx(dB,{config:{...a},componentType:t,children:$f.jsx(eue,{config:r,children:n})})})})}function gue(e){return $f.jsx(tue,{children:$f.jsx(nue,{children:e.children})})}function yue(e){const{children:t,onToggleView:n,isHidden:r,shouldAutoFocusInput:a=!n}=e;return $f.jsx(Koe,{isHidden:r,shouldAutoFocusInput:a,children:t})}function bue(e){return $f.jsx(yue,{...e,children:$f.jsx(vue,{...e})})}function vue(e){const{onToggleView:t}=e,n=rD(),r=dD(),a=n&&!r?gue:V.Fragment;return $f.jsx(a,{children:$f.jsxs(Xoe,{variant:t?"no-shadow":"container-with-shadow","data-composite":_P(!!e.onToggleView||(null==n?void 0:n.isOpen)),children:[$f.jsx(Qoe,{}),$f.jsxs(Zoe,{children:[$f.jsx(kue,{...e}),$f.jsx(wue,{}),$f.jsx(Aue,{})]}),$f.jsx(Rue,{}),$f.jsx(Oue,{})]})})}function kue(e){const{onToggleView:t,askAILabel:n,searchLabel:r}=e,a=!!t;return $f.jsxs(Joe,{"data-show-toolbar":_P(a),children:[a&&$f.jsxs(eie,{children:[$f.jsxs(tie,{children:[$f.jsx(nie,{}),$f.jsxs(cie,{children:[$f.jsx(die,{}),$f.jsxs(pie,{side:"bottom",align:"start",children:[$f.jsx(fie,{}),$f.jsx(hie,{})]})]})]}),$f.jsx(fue,{onToggleView:t,askAILabel:n,searchLabel:r,view:"chat"})]}),$f.jsx(rue,{})]})}function wue(){return $f.jsx(rie,{children:$f.jsxs(aie,{children:[$f.jsx(oie,{children:$f.jsx(xue,{})}),$f.jsx(iie,{children:$f.jsx(sie,{})}),$f.jsx(lie,{})]})})}function xue(){return $f.jsx(kie,{children:({messages:e})=>$f.jsxs($f.Fragment,{children:[$f.jsx(Eue,{}),e.map((e=>$f.jsxs(xie,{message:e,children:[$f.jsx(Sue,{}),$f.jsx(_ie,{}),$f.jsxs(Rie,{children:[$f.jsx(Oie,{children:$f.jsx(Gie,{})}),$f.jsx(_ue,{}),$f.jsx(Tue,{}),$f.jsx(Cue,{})]})]},e.id)))]})})}function Eue(){return $f.jsxs(Eie,{children:[$f.jsxs(Sie,{children:[$f.jsx(Tie,{children:$f.jsxs(Cie,{children:[$f.jsx(Aie,{}),$f.jsx(Nie,{})]})}),$f.jsx(Iie,{})]}),$f.jsxs(Rie,{children:[$f.jsx(Oie,{children:$f.jsx(Gie,{})}),$f.jsxs(cie,{children:[$f.jsx(uie,{}),$f.jsx(die,{}),$f.jsxs(pie,{children:[$f.jsx(fie,{}),$f.jsx(hie,{})]})]}),$f.jsxs(mie,{children:[$f.jsx(gie,{}),$f.jsx(yie,{children:e=>e.map((e=>$f.jsx(bie,{children:$f.jsx(vie,{question:e})},e)))})]})]})]})}function Sue(){return $f.jsxs(Sie,{children:[$f.jsx(Tie,{children:$f.jsxs(Cie,{children:[$f.jsx(Aie,{}),$f.jsx(Nie,{})]})}),$f.jsx(Iie,{})]})}function _ue(){return $f.jsxs(Pie,{children:[$f.jsx(Lie,{children:e=>e.map((e=>$f.jsxs(Die,{attachment:e,children:[$f.jsx(Mie,{}),$f.jsx(Fie,{})]},e.id)))}),$f.jsx(jie,{children:$f.jsx(Cae,{children:$f.jsx(Bie,{children:$f.jsxs(Hie,{children:[$f.jsx(zie,{}),$f.jsx(Uie,{}),$f.jsx($ie,{})]})})})})]})}function Tue(){return $f.jsxs(Vie,{children:[$f.jsx(Wie,{children:e=>e.map(((e,t)=>$f.jsx(qie,{action:e},`action-${t}`)))}),$f.jsx(Yie,{action:"copy"}),$f.jsx(Yie,{action:"upvote"}),$f.jsx(Yie,{action:"downvote"})]})}function Cue(){return $f.jsxs(Kie,{children:[$f.jsx(Xie,{}),$f.jsx(Qie,{children:e=>e.map(((e,t)=>{var n;return $f.jsxs(Zie,{href:e.url,source:e,children:[$f.jsx(Jie,{children:null==(n=e.breadcrumbs)?void 0:n.map((e=>$f.jsxs(V.Fragment,{children:[e,$f.jsx(ese,{})]},e)))}),$f.jsx(tse,{}),$f.jsx(nse,{}),$f.jsx(rse,{}),$f.jsx(ase,{children:e=>e.map(((e,t)=>$f.jsx(ose,{part:e},`part-${t}`)))}),$f.jsx(ise,{})]},t)}))})]})}function Aue(){return $f.jsxs(sse,{children:[$f.jsx(Nue,{}),$f.jsx(Iue,{})]})}function Nue(){return $f.jsxs(lse,{children:[$f.jsxs(cse,{children:[$f.jsx(use,{}),$f.jsx(dse,{children:$f.jsx(pse,{})})]}),$f.jsxs(fse,{children:[$f.jsx(hse,{children:e=>e.map((e=>$f.jsxs(mse,{attachment:e,children:[$f.jsx(gse,{}),$f.jsx(yse,{}),$f.jsx(bse,{})]},e.id)))}),$f.jsxs(vse,{children:[$f.jsxs(kse,{children:[$f.jsx(wse,{}),$f.jsx(xse,{})]}),$f.jsx(Ese,{children:e=>e.map((e=>$f.jsxs(Sse,{input:e,children:[$f.jsx(_se,{}),e.displayName]},e.id)))})]}),$f.jsx(Cae,{children:$f.jsx(Tse,{children:$f.jsx(Cse,{children:$f.jsxs(Ase,{children:[$f.jsxs(Nse,{children:[$f.jsx(Ise,{}),$f.jsx(Rse,{}),$f.jsx(Ose,{})]}),$f.jsx(Pse,{}),$f.jsx(Lse,{children:$f.jsxs(Dse,{children:[$f.jsxs(Mse,{children:[$f.jsx(Fse,{}),$f.jsx(jse,{}),$f.jsx(Bse,{})]}),$f.jsxs(Hse,{children:[$f.jsx(zse,{}),$f.jsx(Use,{}),$f.jsx($se,{})]}),$f.jsx(Gse,{})]})})]})})})})]})]})}function Iue(){return $f.jsxs(Vse,{children:[$f.jsxs(qse,{children:[$f.jsx(Yse,{}),$f.jsx(Kse,{}),$f.jsx(Xse,{})]}),$f.jsxs(Wse,{children:[$f.jsx(tle,{children:({pinned:e,unpinned:t})=>$f.jsxs($f.Fragment,{children:[e.map((e=>$f.jsx(nle,{action:e},e.name))),t.length>0&&$f.jsx(rle,{}),$f.jsxs(ale,{children:[$f.jsx(ole,{}),t.map((e=>$f.jsxs(ile,{action:e,children:[$f.jsx(sle,{action:e}),e.name]},e.name)))]})]})}),$f.jsxs(Zse,{action:"copy",children:[$f.jsx(Jse,{action:"copy"}),$f.jsx(ele,{action:"copy"})]}),$f.jsxs(Zse,{action:"share",children:[$f.jsx(Jse,{action:"share"}),$f.jsx(ele,{action:"share"})]}),$f.jsx(Zse,{action:"clear"}),$f.jsx(Zse,{action:"stop"})]})]})}function Rue(){return $f.jsx(Cae,{children:$f.jsx(lle,{children:$f.jsx(cle,{children:$f.jsxs(ule,{children:[$f.jsx(dle,{}),$f.jsx(ple,{}),$f.jsx(fle,{children:$f.jsxs(hle,{children:[$f.jsxs(mle,{name:"unrelated_response",children:[$f.jsx(gle,{children:$f.jsx(yle,{})}),$f.jsx(ble,{}),$f.jsx(vle,{})]}),$f.jsxs(mle,{name:"inaccurate_statement",children:[$f.jsx(gle,{children:$f.jsx(yle,{})}),$f.jsx(ble,{}),$f.jsx(vle,{})]}),$f.jsxs(mle,{name:"inaccurate_code_snippet",children:[$f.jsx(gle,{children:$f.jsx(yle,{})}),$f.jsx(ble,{}),$f.jsx(vle,{})]}),$f.jsxs(mle,{name:"irrelevant_citations",children:[$f.jsx(gle,{children:$f.jsx(yle,{})}),$f.jsx(ble,{})]}),$f.jsx(kle,{})]})})]})})})})}function Oue(){return $f.jsxs(wle,{children:[$f.jsx(Ele,{}),$f.jsxs(xle,{children:[$f.jsxs(Sle,{children:[$f.jsx(_le,{}),$f.jsx(Tle,{})]}),$f.jsx(Cle,{children:e=>$f.jsxs($f.Fragment,{children:[e.map(((e,t)=>$f.jsxs(Ale,{field:e,autoFocus:0===t,children:[$f.jsx(Nle,{}),"text"===e.inputType&&$f.jsx(Ile,{}),"email"===e.inputType&&$f.jsx(Rle,{}),"file"===e.inputType&&$f.jsx(Ole,{}),"textarea"===e.inputType&&$f.jsx(Ple,{}),"checkbox"===e.inputType&&$f.jsx(Lle,{children:$f.jsx(Dle,{})}),"select"===e.inputType&&$f.jsxs(Mle,{children:[$f.jsxs(Fle,{children:[$f.jsx(jle,{}),$f.jsx(Ble,{})]}),$f.jsx(Hle,{children:$f.jsx(zle,{children:e.items.map((e=>$f.jsxs(Ule,{value:e.value,children:[$f.jsx($le,{children:e.label}),$f.jsx(Gle,{})]},e.value)))})})]}),$f.jsx(Vle,{})]},e.name))),$f.jsx(Wle,{})]})}),$f.jsxs(qle,{children:[$f.jsx(Yle,{}),$f.jsx(Kle,{})]})]}),$f.jsxs(Xle,{children:[$f.jsx(Qle,{}),$f.jsx(Zle,{}),$f.jsx(Jle,{})]})]})}function Pue(e){const{children:t,onToggleView:n,isHidden:r,shouldAutoFocusInput:a=!n}=e;return $f.jsx(tce,{isHidden:r,shouldAutoFocusInput:a,children:t})}function Lue(e){const{onToggleView:t,shouldShowAskAICard:n}=e,r=rD(),a=dD(),o=r&&!a?gue:V.Fragment;return $f.jsx(o,{children:$f.jsx(nce,{"data-show-ask-ai-card":_P(n),"data-composite":_P(!!t||(null==r?void 0:r.isOpen)),children:$f.jsxs(rce,{children:[$f.jsx(Due,{...e}),$f.jsxs(ace,{children:[$f.jsx(Mue,{...e}),$f.jsx(Fue,{})]}),$f.jsx(Hue,{})]})})})}function Due(e){const{onToggleView:t,askAILabel:n,searchLabel:r}=e,{query:a}=Yte();return $f.jsxs(oce,{children:[$f.jsx(ice,{}),$f.jsx(sce,{}),$f.jsx(lce,{}),t&&$f.jsx(fue,{onToggleView:t,query:a,askAILabel:n,searchLabel:r,view:"search"}),$f.jsx(rue,{})]})}function Mue(e){const{searchSettings:{view:t}}=WO(),{askAILabel:n,onToggleView:r,shouldShowAskAICard:a=!!r&&"dual-pane"!==t}=e,{query:o}=Yte(),{handleToggle:i}=hue({onToggleView:r,query:o});return a?$f.jsxs(cce,{onSelect:()=>i("chat",!0),children:[$f.jsx(uce,{}),$f.jsxs(dce,{children:[n||"Ask AI",o&&` "${o}"`]}),$f.jsx(pce,{})]}):null}function Fue(){return $f.jsxs(fce,{children:[$f.jsx(hce,{}),$f.jsx(gce,{children:e=>e.map((e=>$f.jsx(yce,{tab:e},e)))}),$f.jsx(mce,{}),$f.jsxs(bce,{children:[$f.jsx(jue,{}),$f.jsx(Bue,{})]})]})}function jue(){return $f.jsxs(vce,{children:[$f.jsx(kce,{children:$f.jsx(Sce,{children:e=>e.map((e=>$f.jsxs(_ce,{item:e,children:[$f.jsx(Tce,{children:e=>e.map(((e,t)=>$f.jsxs(V.Fragment,{children:[e,$f.jsx(Cce,{})]},`${e}-${t}`)))}),$f.jsx(Ace,{}),$f.jsx(Nce,{}),$f.jsx(Ice,{}),$f.jsx(Rce,{children:e=>e.map(((e,t)=>$f.jsx(Oce,{part:e},`part-${t}`)))}),$f.jsx(Pce,{})]},e.id)))})}),$f.jsx(wce,{children:$f.jsx(xce,{})}),$f.jsx(Ece,{})]})}function Bue(){return $f.jsxs(vce,{children:[$f.jsx(kce,{children:$f.jsxs(Lce,{children:[$f.jsxs(Dce,{children:[$f.jsxs(Mce,{children:[$f.jsx(Fce,{}),$f.jsx(jce,{})]}),$f.jsx(Bce,{children:e=>e.map(((e,t)=>$f.jsxs(V.Fragment,{children:[e,$f.jsx(Hce,{})]},`${e}-${t}`)))})]}),$f.jsx(zce,{}),$f.jsxs(Uce,{children:[$f.jsx($ce,{}),$f.jsx(Gce,{children:e=>e.map(((e,t)=>$f.jsxs(Vce,{href:e.url??void 0,"data-is-match":_P(e.isMatch),children:[$f.jsx(Wce,{}),$f.jsx(qce,{children:e.content}),e.url&&$f.jsx(Yce,{})]},`${e.anchor}-${t}`)))})]})]})}),$f.jsx(wce,{children:$f.jsx(xce,{})}),$f.jsx(Ece,{})]})}function Hue(){return $f.jsx(Kce,{children:$f.jsxs(Xce,{children:[$f.jsx(Qce,{}),$f.jsx(Zce,{}),$f.jsx(Jce,{})]})})}function zue(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function Uue(...e){return t=>{for(const n of e)zue(n,t)}}function $ue(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function Gue(e){const{view:t,setView:n,shouldShowAskAICard:r,onToggleView:a,defaultView:o,shouldAutoFocusInput:i,searchLabel:s,askAILabel:l}=e,c=rD()?gue:V.Fragment,u={isHidden:"chat"===t,onToggleView:a,shouldShowAskAICard:r,shouldAutoFocusInput:i&&"search"===o,searchLabel:s,askAILabel:l},d={isHidden:"search"===t,onToggleView:a,shouldAutoFocusInput:i&&"chat"===o,searchLabel:s,askAILabel:l};return $f.jsx(uD,{widget:{setView:n},children:$f.jsx(Pue,{...u,children:$f.jsx(yue,{...d,children:$f.jsxs(c,{children:[$f.jsx(Lue,{...u}),$f.jsx(vue,{...d})]})})})})}function Vue({label:e="Ask AI",avatar:t,onOpenChange:n}){return $f.jsx(aue,{children:$f.jsxs(oue,{onClick:e=>{2!==e.button&&n((e=>!e))},children:[$f.jsx(iue,{children:e}),$f.jsx(lue,{children:$f.jsx(sue,{avatar:t})})]})})}const Wue=function(e,t){const n=new Map;return function(r,a){let o,i;if("string"==typeof r)i=r,o=a;else{if(!Mf.includes(t))throw new Error(`You must provide a target selector to render the ${t} component`);const e=document.createElement("div");e.style.position="absolute",document.body.appendChild(e);const n=`inkeep-widget-${Df()}`;i=`#${e.id||n}`,e.id=i.slice(1),o=r}const s=document.querySelector(i);if(!s)return void console.error(`Target ${i} not found.`);let l=n.get(i);if(!l){l={root:Sf.createRoot(s),props:o,container:s,chatFunctionsRef:V.createRef(),searchFunctionsRef:V.createRef(),ref:V.createRef()},n.set(i,l)}l.props=If(o,{aiChatSettings:{chatFunctionsRef:l.chatFunctionsRef},searchSettings:{searchFunctionsRef:l.searchFunctionsRef}},{ref:l.ref}),l.container=s;try{l.root.render(V.createElement(e,l.props))}catch(u){console.error(`Error rendering component ${e.name}:`,u)}const c={update:t=>{const r=n.get(i);if(r){r.props=If(r.props??{},t??{});try{r.root.render(V.createElement(e,r.props))}catch(u){console.error(`Error rendering component ${e.name} during update:`,u)}}else console.error(`Component at ${i} is not mounted.`)},unmount(){const e=n.get(i);e&&e.container?(e.root.unmount(),e.container.innerHTML=""):console.error(`Component at ${i} is not mounted.`)},remount(){const t=n.get(i);if(t&&t.container){t.root=Sf.createRoot(t.container);try{t.root.render(V.createElement(e,t.props))}catch(u){console.error(`Error remounting component ${e.name}:`,u)}}else console.error(`Component at ${i} cannot be remounted.`)}};{const e=Ff(i,"chatFunctionsRef",n),t=Ff(i,"searchFunctionsRef",n);return new Proxy(c,{get(r,a){var o;if("chat"===a)return e;if("search"===a)return t;if(a in r)return r[a];const s=n.get(i),l=null==(o=null==s?void 0:s.ref.current)?void 0:o[a];return"function"==typeof l?l.bind(null==s?void 0:s.ref.current):void 0}})}}}((function(e){const{modalSettings:t,label:n,defaultView:r="chat",canToggleView:a=!0,avatar:o,...i}=e,s={...i,shouldShowAskAICard:!!a&&e.shouldShowAskAICard},{config:l,...c}=function(e){const{defaultView:t="search",aiChatSettings:n,baseSettings:r,searchSettings:a,shouldAutoFocusInput:o=!0,onToggleView:i,ref:s,...l}=e,c=V.useRef(null),u=Uue(c,null==n?void 0:n.chatFunctionsRef),d=V.useRef(null),p=Uue(d,null==a?void 0:a.searchFunctionsRef),f={...n,chatFunctionsRef:u},h={...a,searchFunctionsRef:p},[m,g]=V.useState(t);return V.useImperativeHandle(s,(()=>({setView:g}))),V.useEffect((()=>{var e,t;"chat"===m?null==(e=c.current)||e.focusInput():null==(t=d.current)||t.focusInput()}),[m]),{config:{baseSettings:r,aiChatSettings:f,searchSettings:h},defaultView:t,view:m,setView:g,onToggleView:e=>{var t;e.autoSubmit&&e.query&&(null==(t=c.current)||t.submitMessage(e.query)),null==i||i(e),g(e.view)},shouldAutoFocusInput:o,...l}}({...s,defaultView:r}),[u=!1,d]=qF({prop:null==t?void 0:t.isOpen,defaultProp:!1,onChange:$ue(null==t?void 0:t.onOpenChange,(n=>{void 0===(null==t?void 0:t.isOpen)&&(e.forceDefaultView&&!n&&c.setView(r??"search"),d(!!n))}))}),p={...t,isOpen:u,onOpenChange:d};return $f.jsxs($f.Fragment,{children:[$f.jsx(cue,{wrapperStyles:{display:"contents"},children:$f.jsx(dB,{config:l,componentType:UO,children:$f.jsx(Vue,{label:n,avatar:o,onOpenChange:d})})}),$f.jsx(mue,{...l,componentType:UO,modalSettings:p,children:a?$f.jsx(Gue,{...c}):$f.jsx(bue,{...i})})]})}),"ChatButton");window.Inkeep={ChatButton:Wue}}();
56
+ */;function k3(){const[e,t]=V.useState(!1);return[e,V.useCallback((async e=>{if(!(null==navigator?void 0:navigator.clipboard))return console.warn("Clipboard not supported"),!1;try{return await navigator.clipboard.writeText(e),t(!0),setTimeout((()=>{t(!1)}),1e3),!0}catch(n){return console.warn("Copy failed",n),t(!1),!1}}),[])]}const w3=_B("h1",{_id:"markdownH1"}),x3=_B("h2",{_id:"markdownH2"}),E3=_B("p",{_id:"markdownP"}),S3=_B("li",{_id:"markdownLi"}),_3=_B("ul",{_id:"markdownUl"}),T3=_B("ol",{_id:"markdownOl"}),C3=_B(xW,{_id:"markdownLink"}),A3=_B("sup",{_id:"markdownSourceLink"}),N3=_B("table",{_id:"markdownTable"}),I3=_B("th",{_id:"markdownTh"}),R3=_B("td",{_id:"markdownTd"}),O3=_B("code",{_id:"markdownCode"}),P3=_B("div",{_id:"codeblockContainer"}),L3=_B("div",{_id:"codeblockHeader"}),D3=_B("span",{_id:"codeblockHeaderLanguage"}),M3=_B("button",{_id:"codeblockCopyButton",type:"button"}),F3=_B("div",{_id:"codeblockHighlighterWrapper"}),j3=_B("div",{_id:"codeblockHighlighter"}),B3=_B("code",{_id:"codeblockCode"}),H3=_B("input",{_id:"markdownInput"}),z3=G5.oneLight,U3=G5.vsDark,$3=({className:e="",children:t,onCopy:n})=>{var r;const a=e.replace(/^language-/,""),o=String(t).replace(/\n$/,""),[i,s]=k3(),{baseSettings:l}=WO(),c=null==(r=l.theme)?void 0:r.syntaxHighlighter,{lightTheme:u=z3,darkTheme:d=U3}=c??{},p=Zj(u,d);return $f.jsxs(P3,{children:[$f.jsxs(L3,{children:[$f.jsx(D3,{children:a}),$f.jsx(M3,{"aria-label":"Copy to clipboard",onClick:()=>{s(o),null==n||n(a,o)},"data-copied":_P(i),children:$f.jsx(kW,{iconKey:i?"codeCopied":"codeCopy"})})]}),$f.jsx(F3,{children:$f.jsx(v3,{theme:p,code:o,language:a,prism:l.prism,children:({className:e,tokens:t,getLineProps:n,getTokenProps:r,style:a})=>$f.jsx(j3,{className:e,children:$f.jsx(B3,{style:a,children:t.map(((e,t)=>$f.jsx("div",{...n({line:e}),children:e.map(((e,t)=>$f.jsx("span",{...r({token:e})},t)))},t)))})})})})]})};function G3(){return e=>{xX(e,"element",((e,t,n)=>{"code"===e.tagName&&(n&&"pre"===n.tagName?e.properties.inline=!1:e.properties.inline=!0)}))}}const V3=({children:e,componentStyles:t,shouldOpenLinksInNewTab:n,onLinkClick:r,onCodeCopy:a,...o})=>{if(!e)return null;const i={h1:({children:e})=>$f.jsx(w3,{children:e}),h2:({children:e})=>$f.jsx(x3,{children:e}),p:({children:e})=>$f.jsx(E3,{children:e}),li:({children:e})=>$f.jsx(S3,{children:e}),ul:({children:e})=>$f.jsx(_3,{children:e}),input:({type:e,checked:t,disabled:n,readOnly:r,required:a,value:o})=>$f.jsx(H3,{type:e,checked:t,disabled:n,readOnly:r,required:a,value:o}),ol:({children:e,node:t})=>{var n;const r=null==(n=null==t?void 0:t.properties)?void 0:n.start,a="number"==typeof r?r:void 0;return $f.jsx(T3,{style:{"--start":(null==r?void 0:r.toString())??"0"},start:a,children:e})},a:({children:e,href:t})=>{const a=W.Children.toArray(e),o=a[0],i="string"==typeof o&&/^\(\d+\)$/.test(o)&&1===a.length,s=i?o.match(/\d+/):e,l=$f.jsx(C3,{isExternal:n,href:t,onClick:()=>{null==r||r(t,null==s?void 0:s.toString())},children:s});return i?$f.jsx(A3,{children:l}):l},img:({src:e,alt:t})=>`![${t||""}](${e||""})`,table:({children:e})=>$f.jsx(N3,{children:e}),th:({children:e,isHeader:t})=>t?$f.jsx(I3,{children:e}):$f.jsx(R3,{children:e}),pre:({children:e})=>$f.jsx("pre",{children:e}),code:({children:e,inline:t,className:n})=>t?$f.jsx(O3,{children:e}):$f.jsx($3,{className:n,onCopy:a,children:e})},s=$f.jsx(mQ,{remarkPlugins:[b5],rehypePlugins:[C1,G3],components:i,disallowedElements:W3,children:e.toString(),...o});return $f.jsx(Hj,{componentStyles:t,children:s})},W3=["script","iframe","frame","embed","meta","base","form","style","object"];function q3(){return $f.jsxs("svg",{viewBox:"0 0 12 10",style:{width:"1.2em",fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},children:[$f.jsx("title",{children:"Checkbox Icon"}),$f.jsx("polyline",{points:"1.5 6 4.5 9 10.5 1"})]})}function Y3(e){const t=V.useId();return $f.jsxs("svg",{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[$f.jsx("title",{children:"Tag Line Logo Icon"}),$f.jsx("path",{d:"M32 4.01845V25.1411C32 26.3154 30.9971 27.2462 29.8223 27.1531L16.9277 26.1507C15.409 26.0361 13.8903 26.3727 12.565 27.1173L8.11641 29.6234C7.72241 29.8454 7.29259 29.3943 7.54332 29.0148L9.77121 25.5922L11.8415 22.4131C12.0636 22.0694 12.4934 21.9119 12.8874 22.0336C16.1397 23.079 19.8075 21.8761 21.7631 18.8831C24.0913 15.2886 23.0741 10.4913 19.4851 8.15706C15.8961 5.82282 11.0965 6.83958 8.76114 10.4269C6.81263 13.427 7.19946 17.272 9.4775 19.8139C9.74972 20.1218 9.77837 20.5729 9.5563 20.9237L6.92724 24.9621C6.76964 25.1984 6.49743 25.3344 6.21804 25.313L1.4184 24.9406C0.616073 24.8834 0 24.2175 0 23.4155V5.7369C0 4.93496 0.616073 4.26905 1.4184 4.21177L29.8294 2.00642C31.0043 1.91334 32 2.84417 32 4.01845ZM15.2586 9.35282C12.3286 9.35282 9.95747 11.7229 9.95747 14.6514C9.95747 16.0763 10.5234 17.3723 11.4403 18.3246C11.9991 18.9046 12.6868 19.3557 13.4605 19.6349C14.0264 19.8354 14.6282 19.95 15.2657 19.95C18.1957 19.95 20.5668 17.5799 20.5668 14.6514C20.5597 11.73 18.1885 9.35282 15.2586 9.35282Z",fill:`url(#${t})`}),$f.jsx("defs",{children:$f.jsxs("linearGradient",{id:t,x1:"1.5893",y1:"25.285",x2:"24.0784",y2:"10.1057",gradientUnits:"userSpaceOnUse",children:[$f.jsx("stop",{stopColor:"currentColor"}),$f.jsx("stop",{offset:"1",stopColor:"currentColor"})]})})]})}const K3=e=>{const{logEvent:t}=dP(),{conversation:n}=XO(),{openForm:r}=lD(),a=rD();return{handleAction:t=>{var o;"open_form"===e.action.type?(null==(o=null==t?void 0:t.onOpenForm)||o.call(t),null==r||r(e.action.formSettings)):"invoke_callback"===e.action.type&&(e.action.callback({conversation:n}),e.action.shouldCloseModal&&(null==a||a.setOpen(!1)))},logHelpAction:()=>{"name"in e&&n.id&&t({eventName:"get_help_option_clicked",properties:{getHelpOption:e,conversation:n}})}}},X3=e=>{const t=/<em>(.*?)<\/em>/gs;let n;const r=[];let a=0;for(;null!==(n=t.exec(e));){const[t,o]=n;n.index>a&&r.push(e.slice(a,n.index)),r.push({content:o,highlighted:!0}),a=n.index+t.length}return a<e.length&&r.push(e.slice(a)),r};function Q3(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function Z3(e){return e.toLowerCase().replace(/(^\w+:|^)\/\//,"").replace(/^www\./,"").replace(/\/$/,"").startsWith("github.com")}function J3(e,t){const n=["API","Docs","Documentation","Blogs",t],r=["\\|","-",":"],a=new RegExp(`^\\s*(${n.join("|")})(\\.\\w+)?\\s*(${r.join("|")})\\s*`,"gi"),o=new RegExp(`\\s*(${r.join("|")})\\s*(${n.join("|")})\\s*$`,"gi");return e.replace(a,"").replace(o,"").trim()}const e4={js:".js",db:"DB",sql:"SQL"};function t4(e){return Object.entries(e4).reduce(((e,[t,n])=>{const r=new RegExp(`([a-zA-Z0-9])${t}(?!\\w)`,"g");return e.replace(r,((e,t)=>t+n))}),e)}const n4=["API","AWS","GCP","SQL","CSS","JS","JDK","SDK","JRE","IDE","XML","GUI","CLI","AI","ML","DL","IoT","TCP","UDP","IP","FTP","RAM","ROM","SSD","HDD","VPS","VPN","OS","UI","UX","DB","OOP","CRM","ERP","POS","CAD","BI","CMS","SEO","SEM","PPC","B2B","B2C","SMB","ROI","KPI","CTA","CPC","CPM","CDN","MVC","FAQ","LMS","RPA","QA","QC","CRO","SVN","GIT","DOM","DNS","ISP","URL","URN","URI","SIP","NFC","LTE","OSI","RAS","DRM","DOS","WWW","LAN","WAN","SAN","NAS","NLP","OCR","IBM","HP","SAP","JWT","SSH","SSL","TLS","POP","NTP","BGP","ARP","2FA","MFA","RDP","VNC","SCP","PKI","XSS","DoS","CSV","HL7","SOP","PHP","JSP","NET","VBA","iOS","GNU","CPU","GPU","NIC","USB","VGA","AES","RSA","DES","ECC","WEP","WPA","IDS","IPS","PM","HR","TCO","BPM","SLA","SOW","AR","VR","XR","3D","2D","4D","iOS","OpenAPI","SSO"],r4=["a","an","the","and","as","but","or","nor","at","by","in","of","on","per","to","up","via","vs","with","is","it","for","are","not","out","off","yet","so","be","if","has","its","we","our","any","all","how","her","his","their","was","were"],a4=["BaaS","SaaS","PaaS","IaaS","HTML","JSON","HTTPS","HTTP","SMTP","DBMS","RDBMS","REST","SOAP","MVVM","VoIP","RFID","WYSIWYG","WLAN","OIDC","SAML","LDAP","IPSec","OAuth","OpenID","SFTP","IMAP","RTSP","DHCP","XMPP","SNMP","ICMP","IGMP","RARP","PPTP","L2TP","IPv4","IPv6","TOTP","HMAC","TFTP","CORS","CSRF","DDOS","YAML","MQTT","AMQP","HDLC","EDIFACT","DICOM","MATLAB","UNIX","HDMI","WiFi","WPA2","DDoS","ipadOS","watchOS","macOS","JavaScript","TypeScript","SSO","IDP","RBAC"];function o4(e){return`\\b${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}\\b`}function i4(e,t,n,r=!1){return r&&new RegExp(`^${n}\\b`,"i").test(e)?e:e.replace(new RegExp(n,"gi"),t)}const s4=(e,t)=>{var n;if("documentation"!==e.type)return[];const r=null==t?void 0:t.organizationDisplayName;return((null==(n=e.breadcrumbs)?void 0:n.length)?e.breadcrumbs:function(e){try{const t=new URL(e);return t.pathname.split("/").filter((e=>e.length>0)).slice(0,-1).map(l4)}catch(t){return console.error("Invalid URL:",t),[]}}(e.url)).map((e=>{let t=e;return r&&(t=function(e,t){if(!function(e){const t=e.split(" ");for(const n of t)if(n[0]!==n[0].toUpperCase()||n.slice(1)!==n.slice(1).toLowerCase())return!1;return!0}(t))return e;const n=`\\b${t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}\\b`;return new RegExp(`^${n}\\b`,"i").test(e)?e:e.replace(new RegExp(n,"gi"),t)}(e,r),t=J3(t,r)),t=t4(t),t=function(e){let t=e;return t=r4.reduce(((e,t)=>i4(e,t,o4(t),!0)),t),t=a4.reduce(((e,t)=>i4(e,t,o4(t))),t),t=n4.reduce(((e,t)=>i4(e,t,o4(t))),t),t}(t),t}))??[]},l4=e=>e.split(/[-_]/).map((e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase())).join(" ");const c4=(e,t)=>{var n;if("chatSourceItem"===t)return e.description??void 0;const r=e.breadcrumbs??[],a=r.length>0?r[r.length-1]:void 0,o=e.title||(null==(n=null==a?void 0:a.props)?void 0:n.str);return function(e,t){if(!e)return;if(!t)return e;const n=t.trim(),r=[n,`<em>${n}</em>`].find((t=>e.startsWith(t)));return r?e.slice(r.length).trim():e}(e.description,o)},u4=e=>{let t="LuBookOpen";"documentation"===e.type&&"book"===e.contentType?t="IoBookOutline":"documentation"===e.type&&"pdf"===e.contentType?t="FaFilePdf":"github_issue"===e.type||Z3(e.url)?t="FaGithub":"documentation"===e.type&&"site"===e.contentType?t="LuGlobe":"discourse"===e.type?t="FaDiscourse":"discord"===e.type?t="FaDiscord":"slack_message"===e.type?t="FaSlack":"stackoverflow"===e.type&&(t="FaStackOverflow");return{builtIn:t}},d4=(e,t)=>{let n=e.title;if(!n)return"";const r=null==t?void 0:t.organizationDisplayName;return n=t4(n),r&&(n=J3(n,r)),n},p4=(e,t,n)=>{const{transformSource:r,...a}=n,o=s4(e,n),i=((e,t)=>{var n,r,a;const o=[];"documentation"===e.type&&"book"===e.contentType?o.push("Publications"):"documentation"===e.type&&"pdf"===e.contentType&&o.push("PDFs"),("github_issue"===e.type||Z3(e.url))&&o.push("GitHub"),"discourse"===e.type&&o.push("Forums"),"discord"===e.type&&o.push("Discord"),"slack_message"===e.type&&o.push("Slack"),"stackoverflow"===e.type&&o.push("StackOverflow");const i=[],s=null==(n=null==t?void 0:t.tabs)?void 0:n.map((e=>"string"==typeof e?e:e[0]));for(const l of o)(null==s?void 0:s.includes(l))&&(l===(null==(r=e.breadcrumbs)?void 0:r[0])?i.push([l,{breadcrumbs:null==(a=e.breadcrumbs)?void 0:a.slice(1)}]):i.push(l));return i})(e,n),s=(null==r?void 0:r({...e,breadcrumbs:o,tabs:i},t,a))??{};return{id:(null==s?void 0:s.id)??e.id,title:(null==s?void 0:s.title)??d4(e,n),description:(null==s?void 0:s.description)??c4(e,t),breadcrumbs:(null==s?void 0:s.breadcrumbs)??o,icon:(null==s?void 0:s.icon)??u4(e),tabs:(null==s?void 0:s.tabs)??i,url:(null==s?void 0:s.url)??e.url,tag:(null==s?void 0:s.tag)??e.tag,type:(null==s?void 0:s.type)??e.type,shouldOpenInNewTab:(null==s?void 0:s.shouldOpenInNewTab)??void 0,appendToUrl:(null==s?void 0:s.appendToUrl)??void 0}},f4=_B("div",{_id:"aiChatWrapper"}),h4=V.forwardRef(((e,t)=>{const{...n}=e,{isHidden:r,isMobile:a}=Cj(),[o,i]=function(){const e=V.useRef(null),[t,n]=V.useState({width:0,height:0});return V.useEffect((()=>{if(!e.current)return;const t=new ResizeObserver((([e])=>{const{width:t,height:r}=e.contentRect;n({width:t,height:r})}));return t.observe(e.current),()=>{t.disconnect()}}),[e]),[e,t]}(),s=bB(t,o),l=!(null==i?void 0:i.width)||i.width>580,c=rD();return $f.jsx(f4,{ref:s,"data-widget-md":_P(l),"data-hidden":_P(r),"data-in-modal":_P(!!c),"data-mobile":_P(a),...n})})),m4=_B("div",{_id:"aiChatConversationLoading"}),g4=e=>{const{isLoadingConversation:t}=Cj();return t?$f.jsx(m4,{children:$f.jsx("span",{children:"Loading..."}),...e}):null},y4=_B("div",{_id:"aiChatRoot"}),b4=e=>{const{isLoadingConversation:t,isHidden:n}=Cj(),{form:r}=lD();return t||r?null:$f.jsx(y4,{"data-hidden":_P(n),...e})},v4=_B("div",{_id:"aiChatHeader"}),k4=_B("div",{_id:"aiChatHeader__Toolbar"}),w4=_B("div",{_id:"aiChatHeader__ToolbarHeaderWrapper"}),x4=_B("div",{_id:"aiChatHeader__ToolbarHeader"}),E4=V.memo((e=>{const{aiChatSettings:t}=WO(),n=`Ask ${t.aiAssistantName||"AI"}`;return $f.jsx(x4,{...e,children:n})})),S4=_B("div",{_id:"aiChatContent"}),_4=_B(L$,{_id:"aiChatContentScrollArea"}),T4=_B(D$,{_id:"aiChatContentScrollArea__Viewport"}),C4=V.forwardRef((({children:e,...t},n)=>{const{containerRef:r}=function(e={}){const{threshold:t=150,interactionTimeout:n=150}=e,r=V.useRef(null),a=V.useRef(!0),o=V.useRef(!1),i=V.useCallback((()=>{const e=r.current;return!!e&&e.scrollHeight-e.clientHeight-e.scrollTop<t}),[t]),s=V.useCallback(((e=!1)=>{const t=r.current;t&&!o.current&&t.scrollTo({top:t.scrollHeight,behavior:e?"smooth":"auto"})}),[]);return V.useEffect((()=>{const e=r.current;if(!e)return;let t;const s=()=>{o.current=!0,a.current=i(),window.clearTimeout(t),t=window.setTimeout((()=>{o.current=!1}),n)};return e.addEventListener("scroll",s,{passive:!0}),()=>{e.removeEventListener("scroll",s),window.clearTimeout(t)}}),[i,n]),V.useEffect((()=>{const e=r.current;if(!e)return;const t=new MutationObserver((e=>{e.some((e=>"childList"===e.type||"characterData"===e.type||"attributes"===e.type&&"style"===e.attributeName))&&a.current&&s(!0)}));return t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style"],characterData:!0}),()=>t.disconnect()}),[s]),V.useEffect((()=>{r.current&&s()}),[s]),{containerRef:r,scrollToBottom:s,isNearBottom:i}}(),a=bB(n,r);return $f.jsx(T4,{ref:a,children:$f.jsx("div",{"data-part":"grid",style:{display:"grid"},children:e}),...t})})),A4=_B(c$,{_id:"aiChatContentScrollArea__Scrollbar"}),N4=_B(k$,{_id:"aiChatContentScrollArea__Thumb"}),I4=_B(M$,{_id:"aiChatContentScrollArea__Corner"}),R4=_B("div",{_id:"aiChatMessages"}),O4=e=>{const t=Cj(),{children:n,...r}=e;return $f.jsx(R4,{children:CP(n,t),...r})},P4=_B("div",{_id:"aiChatDisclaimer"}),L4=V.memo((e=>{var t;const{aiChatSettings:n}=WO();return(null==(t=n.disclaimerSettings)?void 0:t.isEnabled)?$f.jsx(qU,{openDelay:100,children:$f.jsx(P4,{...e})}):null})),D4=_B("span",{_id:"aiChatDisclaimerLabel"}),M4=V.memo((e=>{const{aiChatSettings:t}=WO(),n=t.disclaimerSettings;return $f.jsx(D4,{children:null==n?void 0:n.label,...e})})),F4=_B(YU,{_id:"aiChatDisclaimerTrigger",children:$f.jsx(kW,{iconKey:"info"})}),j4=_B(KU,{_id:"aiChatDisclaimerContent"}),B4=e=>$f.jsx(j4,{side:"top",sideOffset:8,align:"end",alignOffset:-10,...e}),H4=_B(V3,{_id:"aiChatDisclaimerText"}),z4=V.memo((e=>{const{aiChatSettings:t}=WO(),n=t.aiAssistantName,r=t.disclaimerSettings,a=(null==r?void 0:r.tooltip)||`Information provided by ${n||"this AI assistant"} is not guaranteed to be accurate or comprehensive.`;return $f.jsx(H4,{shouldOpenLinksInNewTab:!0,children:a,...e})})),U4=_B(XU,{_id:"aiChatDisclaimerArrow"}),$4=_B("div",{_id:"aiChatExampleQuestions"}),G4=e=>{var t;const{aiChatSettings:n}=WO(),{messages:r}=Cj();return!(null==(t=n.exampleQuestions)?void 0:t.length)||r.length?null:$f.jsx($4,{...e})},V4=_B("h3",{_id:"aiChatExampleQuestionsLabel"}),W4=V.memo((e=>{const{aiChatSettings:t}=WO();return $f.jsx(V4,{children:t.exampleQuestionsLabel,...e})})),q4=_B("div",{_id:"aiChatExampleQuestionsList"}),Y4=V.memo((e=>{const{aiChatSettings:t}=WO(),n=t.exampleQuestions,{children:r,...a}=e;return $f.jsx(q4,{children:CP(r,n),...a})})),K4=_B("div",{_id:"aiChatExampleQuestion"}),X4=V.forwardRef(((e,t)=>{const{aiChatSettings:n}=WO(),r=n.isFirstExampleQuestionHighlighted;return $f.jsx(K4,{ref:t,"data-highlight":_P(r),...e})})),Q4=_B("button",{_id:"aiChatExampleQuestionButton"}),Z4=e=>{const{question:t,onClick:n,...r}=e,{handleSubmit:a}=Cj();return $f.jsx(Q4,{onClick:Q3(n,(()=>a(t))),children:t,...r})};_B("div",{_id:"aiChatWorkflows"});const J4=_B("h3",{_id:"aiChatWorkflowsLabel"});V.memo((e=>{const{aiChatSettings:t}=WO();return $f.jsx(J4,{children:t.workflowsHeader,...e})}));const e6=_B("div",{_id:"aiChatWorkflowsList"});V.memo((e=>{const{aiChatSettings:t}=WO(),n=t.workflows,{children:r,...a}=e;return $f.jsx(e6,{children:CP(r,n),...a})})),_B("button",{_id:"aiChatWorkflow"}),_B((function(e){return FV({attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{d:"M11.983 1.907a.75.75 0 0 0-1.292-.657l-8.5 9.5A.75.75 0 0 0 2.75 12h6.572l-1.305 6.093a.75.75 0 0 0 1.292.657l8.5-9.5A.75.75 0 0 0 17.25 8h-6.572l1.305-6.093Z"},child:[]}]})(e)}),{_id:"aiChatWorkflow__Icon"});const t6=_B("div",{_id:"aiChatMessageWrapper"}),n6=e=>{const{message:t,...n}=e;return"system"===t.role?null:$f.jsx(Vj,{message:t,children:$f.jsx(t6,{"data-role":t.role,...n})})},r6=V.memo((e=>{const{message:t,...n}=e,{aiChatSettings:r,baseSettings:a}=WO(),o=r.aiAssistantName,i=o?`Hi, I'm ${o}!`:"Hi!",s=r.chatSubjectName??a.organizationDisplayName,l=`${i} \n\n I'm an AI assistant trained on documentation, help articles, and other content.`,c=s?`\n\n Ask me anything about \`${s}\`.`:"\n\n Let me know how I can help.",u={content:r.introMessage??`${l}${c}`,id:"__intro__",...t,role:"assistant",links:[]};return $f.jsx(n6,{message:u,...n})})),a6=_B("div",{_id:"aiChatMessageHeader"}),o6=e=>{const{message:t}=Wj();return $f.jsx(a6,{"data-role":t.role,...e})},i6=_B("div",{_id:"aiChatMessageLoading"}),s6=e=>{var t;const{isLoading:n,isStreaming:r,messages:a}=Cj(),{message:o}=Wj();return(null==(t=a.at(-1))?void 0:t.id)===(null==o?void 0:o.id)&&"assistant"===o.role&&n&&!r?$f.jsx(i6,{children:"Thinking...",...e}):null},l6=_B("div",{_id:"aiChatMessageAvatar"}),c6=e=>{const{message:t}=Wj();return $f.jsx(l6,{"data-role":t.role,...e})},u6=_B(ZB,{_id:"aiChatMessageAvatarContent"}),d6=e=>{const{message:t}=Wj(),{baseSettings:n}=WO();return $f.jsx(u6,{"data-username":_P("user"===t.role&&!!n.userProperties.name),"data-role":t.role,...e})},p6=_B(eH,{_id:"aiChatMessageAvatarFallback"}),f6=V.memo((e=>{const{baseSettings:t}=WO(),{message:n}=Wj();return t.userProperties.name?$f.jsx(p6,{"data-role":n.role,children:TP(t.userProperties.name),...e}):null})),h6=_B(JB,{_id:"aiChatMessageAvatarImage"}),m6=V.memo((e=>{const{onLoadingStatusChange:t,...n}=e,{aiChatSettings:r,baseSettings:{userProperties:a}}=WO(),{message:o}=Wj(),{aiAssistantAvatar:i}=r??{},s="string"==typeof i?i:null==i?void 0:i.light,l=Zj(s,("string"==typeof i?i:null==i?void 0:i.dark)??s),[c,u]=V.useState(l);V.useEffect((()=>{u(l)}),[l]);return"user"===o.role?a.name?null:r.userAvatar?$f.jsx(h6,{"data-type":"image","data-role":o.role,src:r.userAvatar,...e}):$f.jsx(HV,{"data-type":"icon","data-role":o.role,...e}):c?$f.jsx(h6,{src:c,"data-type":"image","data-role":o.role,onLoadingStatusChange:Q3(t,(e=>{"error"===e&&u(null)})),...n}):$f.jsx(BV,{"data-type":"icon","data-role":o.role,...e})})),g6=_B("span",{_id:"aiChatMessageName"}),y6=e=>{const{message:t}=Wj();return $f.jsx(g6,{"data-role":t.role,children:"user"===t.role?"You":"AI assistant",...e})},b6=_B("div",{_id:"aiChatMessageContentWrapper"}),v6=e=>{const{message:t}=Wj();return $f.jsx(b6,{"data-role":t.role,...e})},k6=_B("div",{_id:"aiChatMessageContent"}),w6=e=>{const{message:t}=Wj();return $f.jsx(k6,{"data-role":t.role,...e})},x6=_B("div",{_id:"aiChatMessageAttachments"}),E6=_B("div",{_id:"aiChatMessageAttachments__List"}),S6=e=>{var t,n;const{children:r,...a}=e,{message:o}=Wj(),i=null==(n=null==(t=o.metadata)?void 0:t.attributes)?void 0:n.attachments;return i?$f.jsx(E6,{children:CP(r,i),...a}):null},_6=_B("div",{_id:"aiChatMessageAttachments__Item"}),T6=e=>{const{attachment:t,onClick:n,...r}=e,{selectItem:a,onOpen:o}=$j();return $f.jsx(Vf,{attachment:t,children:$f.jsx(_6,{onClick:Q3(n,(()=>{a(t),o()})),...r})})},C6=_B(bW,{_id:"aiChatMessageAttachments__ItemIcon"}),A6=e=>{var t;const{attachment:n}=Wf(),r=null==(t=n.contentType)?void 0:t.attachmentIcon;return r?$f.jsx(C6,{iconSettings:r,...e}):null},N6=_B("span",{_id:"aiChatMessageAttachments__ItemTitle"}),I6=e=>{const{attachment:t}=Wf();return $f.jsx(N6,{children:t.title,...e})},R6=_B(EV,{_id:"aiChatMessageAttachmentsPreview"}),O6=_B(SV,{_id:"aiChatMessageAttachmentsPreview__Overlay"}),P6=_B(_V,{_id:"aiChatMessageAttachmentsPreview__Content","aria-describedby":void 0}),L6=_B(TV,{_id:"aiChatMessageAttachmentsPreview__Header"}),D6=e=>{const{selectedItem:t}=$j();return $f.jsx(L6,{children:(null==t?void 0:t.title)||"Attachment",...e})},M6=_B(CV,{_id:"aiChatMessageAttachmentsPreview__Close",children:$f.jsx(kW,{iconKey:"close"})}),F6=_B("p",{_id:"aiChatMessageAttachmentsPreview__Body"}),j6=e=>{const{selectedItem:t}=$j();return $f.jsx(F6,{children:null==t?void 0:t.content,...e})},B6=_B("div",{_id:"aiChatMessage"}),H6=e=>{const{aiChatSettings:t}=WO(),{componentStyles:n,...r}=e,{message:a}=Wj(),{logEvent:o}=dP(),i=AP(a),{conversation:s}=XO();return"user"===a.role?$f.jsx(B6,{"data-role":a.role,children:i,...r}):$f.jsx(B6,{"data-role":a.role,...r,children:$f.jsx(V3,{children:i,componentStyles:n,shouldOpenLinksInNewTab:t.shouldOpenLinksInNewTab,onLinkClick:(e,t)=>{o({eventName:"assistant_message_inline_link_opened",properties:{title:null==t?void 0:t.toString(),url:e}})},onCodeCopy:(e,t)=>{o({eventName:"assistant_code_block_copied",properties:{conversation:s,language:e,code:t}})}})})},z6=_B("div",{_id:"aiChatMessageActions"}),U6=e=>{var t;const{isLoading:n,messages:r}=Cj(),{message:a}=Wj();return(null==(t=r.at(-1))?void 0:t.id)===(null==a?void 0:a.id)&&n||"user"===a.role?null:$f.jsx(z6,{...e})},$6=_B("div",{_id:"aiChatMessageToolActions"}),G6=e=>{const{children:t,...n}=e,{message:r}=Wj(),{messageToolCalls:a}=Cj(),o=a[r.id]||[];return $f.jsx($6,{children:CP(t,o),...n})},V6=e=>{const{onClick:t,action:n,...r}=e,{handleAction:a}=K3(n),o=n.label||"Contact Support",i=$f.jsxs($f.Fragment,{children:[n.icon&&$f.jsx(bW,{iconSettings:n.icon}),o]}),s=n.action.type,l=_B("open_link"===s?"a":"button",{_id:"aiChatMessageToolAction",children:i,"data-type":n.action.type,..."open_link"===s&&{href:n.action.url,target:"_blank",rel:"noopener"},onClick:Q3(t,(()=>{a()}))});return $f.jsx(l,{...r})},W6=_B("button",{_id:"aiChatMessageAction"}),q6=e=>{var t,n,r;const{action:a,onClick:o,className:i,...s}=e,{conversation:l}=XO(),{message:c}=Wj(),{isStreaming:u,messages:d}=Cj(),[p,f]=k3(),{feedback:h,submitPositiveFeedback:m,setCurrentFeedback:g,currentFeedback:y}=wD(),{logEvent:b}=dP(),[v,k]=function(){const[e,t]=V.useState(!1);return[e,V.useCallback((async()=>(t(!0),setTimeout((()=>{t(!1)}),1e3),!0)),[])]}(),{baseSettings:{privacyPreferences:w}}=WO(),{optOutAllAnalytics:x}=w,E=(null==(t=d.at(-1))?void 0:t.id)===(null==c?void 0:c.id),S="assistant"===c.role;if(E&&u||!S||{copy:!1,upvote:x,downvote:x}[a])return null;const _={copy(){f(AP(c)),b({eventName:"assistant_message_copied",properties:{conversation:l}})},upvote(){m(c.id).then((()=>{k()}))},downvote(){g(c.id)}},T={copy:$f.jsx(kW,{iconKey:p?"messageCopied":"messageCopy"}),upvote:$f.jsx(kW,{iconKey:v?"messageCopied":"thumbsUp"}),downvote:$f.jsx(kW,{iconKey:"thumbsDown"})},C={copy:{"data-copied":_P(p)},upvote:{"data-upvoted":_P("positive"===(null==(n=h[c.id])?void 0:n.type))},downvote:{"data-downvoted":_P("negative"===(null==(r=h[c.id])?void 0:r.type)),"data-state":null===y?"closed":"open"}};return $f.jsx(W6,{"data-action":a,...C[a],children:T[a],"aria-label":{copy:"Copy Message",upvote:"Upvote Message",downvote:"Downvote Message"}[a],className:`${i} ${a}`,onClick:Q3(o,_[a]),...s})},Y6=_B("div",{_id:"aiChatMessageSources"}),K6=_B("div",{_id:"aiChatMessageSources__Header"}),X6=e=>$f.jsx(K6,{children:"Sources",...e}),Q6=_B("div",{_id:"aiChatMessageSources__List"}),Z6=e=>{const{message:t}=Wj(),{children:n,...r}=e,{baseSettings:{transformSource:a,organizationDisplayName:o},aiChatSettings:{shouldOpenLinksInNewTab:i},searchSettings:{tabs:s}}=WO();if("assistant"!==t.role)return null;const l=t.links.map((e=>{const t=p4(e,"chatSourceItem",{organizationDisplayName:o,tabs:s,transformSource:a}),n=void 0!==t.shouldOpenInNewTab?t.shouldOpenInNewTab:i;return{...t,isExternal:n}}));return $f.jsx(Q6,{children:CP(n,l),...r})},J6=_B(xW,{_id:"aiChatMessageSourceItem"}),e8=e=>{var t;const{source:n,onClick:r,...a}=e,{logEvent:o}=dP(),{conversation:i}=XO();return $f.jsx(fB,{source:n,children:$f.jsx(J6,{"data-type":n.type,appendToUrl:n.appendToUrl,isExternal:n.isExternal,"data-breadcrumbs":!!(null==(t=n.breadcrumbs)?void 0:t.length),onClick:Q3(r,(()=>{o({eventName:"assistant_source_item_clicked",properties:{conversation:i,link:n}})})),...a})})},t8=_B("div",{_id:"aiChatMessageSourceItem__Breadcrumbs"}),n8=e=>{var t;const{source:n}=hB();return(null==(t=n.breadcrumbs)?void 0:t.length)?$f.jsx(t8,{"data-type":n.type,...e}):null},r8=_B(kW,{_id:"aiChatMessageSourceItem__BreadcrumbIcon",iconKey:"breadcrumbSeparator"}),a8=_B(bW,{_id:"aiChatMessageSourceItem__Icon"}),o8=e=>{const{source:t}=hB();return $f.jsx(a8,{iconSettings:t.icon,"data-type":t.type,...e})},i8=_B("span",{_id:"aiChatMessageSourceItem__Title"}),s8=e=>{const{source:t}=hB();return $f.jsx(i8,{"data-type":t.type,children:t.title,...e})},l8=_B("span",{_id:"aiChatMessageSourceItem__Tag"}),c8=e=>{const{source:t}=hB();return $f.jsx(l8,{"data-type":t.type,...e})},u8=_B("span",{_id:"aiChatMessageSourceItem__Description"}),d8=e=>{const{source:t}=hB(),{children:n,...r}=e,a=V.useMemo((()=>t.description?X3(t.description):[]),[t.description]);return a.length?$f.jsx(u8,{"data-type":t.type,children:CP(n,a),...r}):null},p8=_B("span",{_id:"aiChatMessageSourceItem__DescriptionPart"}),f8=e=>{const{part:t,...n}=e,{source:r}=hB();return"string"==typeof t?t:$f.jsx(p8,{"data-type":r.type,children:t.content,"data-highlighted":_P(t.highlighted),...n})},h8=_B(kW,{_id:"aiChatMessageSourceItem__Indicator"}),m8=e=>{const{source:t}=hB();return $f.jsx(h8,{iconKey:t.isExternal?"openLinkInNewTab":"openLinkInSameTab",...e})},g8=_B("div",{_id:"aiChatFooter"}),y8=_B("div",{_id:"aiChatInput__Fieldset"}),b8=_B("div",{_id:"aiChatInput__Group"}),v8=_B("textarea",{_id:"aiChatInput"}),k8=V.forwardRef((({onChange:e,onKeyDown:t,...n},r)=>{const{handleInputChange:a,handleInputKeyDown:o,input:i,error:s,shouldAutoFocusInput:l,inputRef:c}=Cj(),{aiChatSettings:u}=WO(),d=bB(r,c),p=rD();return V.useEffect((()=>{requestAnimationFrame((()=>{l&&(null==c?void 0:c.current)&&(c.current.focus(),c.current.selectionStart=c.current.value.length)}))}),[l,c,null==p?void 0:p.isOpen]),$f.jsx(v8,{asChild:!0,ref:d,maxLength:99999,placeholder:u.placeholder,value:i,onChange:Q3(e,a),onKeyDown:Q3(t,o),disabled:!!s||u.isViewOnly,...n,children:$f.jsx(zB,{})})})),w8=_B("button",{_id:"aiChatInput__SendButton"}),x8=e=>{const{handleSubmit:t,isSubmitDisabled:n,error:r}=Cj(),{aiChatSettings:a}=WO(),{onClick:o,...i}=e;return $f.jsx(w8,{onClick:Q3(o,(()=>t())),"aria-label":"Send message",disabled:n||!!r||a.isViewOnly,...i})},E8=_B(kW,{_id:"aiChatInput__SendButtonIcon",iconKey:"chatSubmit"}),S8=_B("div",{_id:"aiChatAttachmentsBar"}),_8=e=>{var t;const{selectedWorkflow:n}=Cj();return n&&(null==(t=n.supportedInputs)?void 0:t.length)?$f.jsx(Nj,{children:$f.jsx(S8,{...e})}):null},T8=_B("div",{_id:"aiChatAttachmentsBar__List"}),C8=e=>{const{children:t,...n}=e,{messageAttachments:r}=Cj();return $f.jsx(T8,{children:CP(t,r),...n})},A8=_B("div",{_id:"aiChatAttachmentsBar__Attachment"}),N8=e=>{const{attachment:t,...n}=e;return $f.jsx(Vf,{attachment:t,children:$f.jsx(A8,{...n})})},I8=_B(bW,{_id:"aiChatAttachmentsBar__AttachmentIcon"}),R8=e=>{var t;const{attachment:n}=Wf(),r=null==(t=n.contentType)?void 0:t.attachmentIcon;return r?$f.jsx(I8,{iconSettings:r,...e}):null},O8=_B("span",{_id:"aiChatAttachmentsBar__AttachmentTitle"}),P8=e=>{const{attachment:t}=Wf();return $f.jsx(O8,{children:t.title,...e})},L8=_B("button",{_id:"aiChatAttachmentsBar__AttachmentDelete"}),D8=e=>{const{onClick:t,...n}=e,{attachment:r}=Wf(),{setMessageAttachments:a}=Cj();return $f.jsx(L8,{"aria-label":"Remove attachment",children:$f.jsx(kW,{iconKey:"close"}),onClick:Q3(t,(()=>{a((e=>e.filter((e=>e.id!==r.id))))})),...n})},M8=_B("div",{_id:"aiChatAttachmentsBar__Actions"}),F8=_B(lj,{_id:"aiChatAttachmentsBar__InfoTip",delayDuration:0}),j8=_B(xj,{_id:"aiChatAttachmentsBar__InfoTipIcon",children:$f.jsx(kW,{iconKey:"info"})}),B8=_B(Sj,{_id:"aiChatAttachmentsBar__InfoTipArrow"}),H8=_B(Ej,{_id:"aiChatAttachmentsBar__InfoTipText",side:"bottom",sideOffset:3,align:"center",children:$f.jsxs($f.Fragment,{children:[$f.jsx(B8,{}),"Attachments will be kept in context for the entire conversation."]})}),z8=_B("div",{_id:"aiChatAttachmentsBar__Inputs"}),U8=e=>{const{children:t,...n}=e,{selectedWorkflow:r}=Cj();return(null==r?void 0:r.supportedInputs)?$f.jsx(z8,{children:CP(t,r.supportedInputs),...n}):null},$8=_B("button",{_id:"aiChatAttachmentsBar__Input"}),G8=e=>{const{input:t,onClick:n,...r}=e,{selectedWorkflow:a,messageAttachments:o,setMessageAttachments:i}=Cj(),{selectInput:s,onOpen:l}=Ij();return $f.jsx($8,{children:t.displayName,onClick:Q3(n,(()=>{if("FUNCTIONAL_MULTI_ATTACHMENT"===t.type){if(!a)return;return t.onInvoke(a,t,i,[...o])}s(t),l()})),...r})},V8=_B((function(e){return FV({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 112v288m144-144H112"},child:[]}]})(e)}),{_id:"aiChatAttachmentsBar__InputIcon"}),W8=_B(EV,{_id:"aiChatAttachmentsBar__Modal"}),q8=_B(SV,{_id:"aiChatAttachmentsBar__ModalOverlay"}),Y8=_B(_V,{_id:"aiChatAttachmentsBar__ModalContent","aria-describedby":void 0}),K8=_B("div",{_id:"aiChatAttachmentsBar__ModalHeader"}),X8=_B(TV,{_id:"aiChatAttachmentsBar__ModalHeading"}),Q8=e=>{const{selectedInput:t}=Ij(),n=`Add ${null==t?void 0:t.displayName}`;return $f.jsx(X8,{children:n,...e})},Z8=_B("span",{_id:"aiChatAttachmentsBar__ModalDescription"}),J8=e=>{var t;const{selectedInput:n}=Ij(),r=null==(t=null==n?void 0:n.workflowModalProps)?void 0:t.modalHelpText;return r?$f.jsx(Z8,{children:r,...e}):null},e9=_B("div",{_id:"aiChatAttachmentsBar__ModalHelp"}),t9=_B(CV,{_id:"aiChatAttachmentsBar__ModalClose",children:$f.jsx(kW,{iconKey:"close"})}),n9=_B("div",{_id:"aiChatAttachmentsBar__ModalBody"}),r9=_B("form",{_id:"aiChatAttachmentsBar__Form"}),a9=e=>{const{onSubmit:t,...n}=e,{form:r}=Ij();return $f.jsx(r9,{onSubmit:Q3(t,r.onSubmit),...n})},o9=_B("div",{_id:"aiChatAttachmentsBar__FormTitle",role:"group"}),i9=_B("label",{_id:"aiChatAttachmentsBar__FormTitleLabel"}),s9=e=>{const{form:t,selectedInput:n}=Ij();return $f.jsx(i9,{htmlFor:`${null==n?void 0:n.id}-title`,children:t.labels.title,...e})},l9=_B("input",{_id:"aiChatAttachmentsBar__FormTitleInput"}),c9=e=>{const{onChange:t,...n}=e,{form:r,selectedInput:a}=Ij();return $f.jsx(l9,{name:"title",value:r.data.title,id:`${null==a?void 0:a.id}-title`,"data-invalid":_P(!!r.errors.title),"aria-invalid":!!r.errors.title,onChange:Q3(t,r.onChange),...n})},u9=_B("span",{_id:"aiChatAttachmentsBar__FormTitleError"}),d9=e=>{const{form:t}=Ij();return t.errors.title?$f.jsx(u9,{"aria-live":"polite",children:t.errors.title,...e}):null},p9=_B("div",{_id:"aiChatAttachmentsBar__FormTitle",role:"group"}),f9=_B("label",{_id:"aiChatAttachmentsBar__FormContentLabel"}),h9=e=>{const{form:t,selectedInput:n}=Ij();return $f.jsx(f9,{htmlFor:`${null==n?void 0:n.id}-content`,children:t.labels.content,...e})},m9=_B("textarea",{_id:"aiChatAttachmentsBar__FormTitleInput"}),g9=e=>{const{onChange:t,...n}=e,{form:r,selectedInput:a}=Ij();return $f.jsx(m9,{asChild:!0,rows:4,name:"content",value:r.data.content,id:`${null==a?void 0:a.id}-content`,"data-invalid":_P(!!r.errors.content),"aria-invalid":!!r.errors.content,onChange:Q3(t,r.onChange),...n,children:$f.jsx(zB,{maxRows:10})})},y9=_B("span",{_id:"aiChatAttachmentsBar__FormContentError"}),b9=e=>{const{form:t}=Ij();return t.errors.content?$f.jsx(y9,{"aria-live":"polite",children:t.errors.content,...e}):null},v9=_B("button",{_id:"aiChatAttachmentsBar__FormSubmitButton",children:"Upload",type:"submit"}),k9=_B("div",{_id:"aiChatActionBar"}),w9=_B("div",{_id:"aiChat__ChatActions"}),x9=_B("div",{_id:"aiChatTagline__Container"}),E9=_B("span",{_id:"aiChatTagline__Text",children:"Powered by"}),S9=_B(Y3,{_id:"aiChatTagline__Logo"}),_9=_B("a",{_id:"aiChatTagline__BrandName",children:"inkeep",href:"https://www.inkeep.com/",target:"_blank",rel:"noopener noreferrer"}),T9=_B("div",{_id:"aiChat__ChatAction"}),C9=e=>{const{action:t,onClick:n,className:r,...a}=e,{clear:o,stop:i,isLoading:s,messages:l,selectedWorkflow:c}=Cj(),{conversation:u}=XO(),{aiChatSettings:d,baseSettings:p}=WO(),{logEvent:f}=dP(),[h,m]=k3(),[g,y]=k3();if({help:!1,copy:0===l.length||!d.isCopyChatButtonVisible||s,share:0===l.length||!d.isShareButtonVisible||!u.id||!!c||s,clear:0===l.length||d.isViewOnly||s,stop:!s}[t])return null;const b={help:()=>{},copy:()=>{const e=l.map((e=>{var t,n;const r=`**${"assistant"===e.role?"AI Assistant":"User"}**`,a=AP(e),o=gP(null==(n=null==(t=e.metadata)?void 0:t.attributes)?void 0:n.attachments);return`${r}\n\n${a}${o?`\n\n**Attachments**\n\n${o}`:""}`})).join("\n\n---\n\n");m(e)},share:async()=>{const e={visibility:"public",tags:[],userProperties:{},messages:u.messages.map((e=>({...e,id:Date.now().toString()+e.id,conversationId:void 0})))},{apiKey:t,analyticsApiBaseUrl:n}=p,r=await ub("",e,t,n);if(r){const e=`${d.shareChatUrlBasePath}?${qO}=${null==r?void 0:r.id}`;y(e),f({eventName:"chat_share_button_clicked",properties:{sharedConversationId:null==r?void 0:r.id,originalConversationId:u.id,sharedChatUrl:e,conversation:r}})}},clear:o,stop:i},v={copy:h,share:g};return $f.jsx(lj,{delayDuration:0,open:v[t],children:$f.jsx(T9,{"data-type":t,"data-copied":_P(h||g),className:`${r} ${t}`,children:$f.jsx(N9,{action:t}),onClick:Q3(n,b[t]),...a})})},A9=_B(xj,{_id:"aiChat__ChatActionLabel"}),N9=e=>{const{action:t,...n}=e,{aiChatSettings:r}=WO(),a=r.toolbarButtonLabels??{},o={help:a.getHelp??"Get Help",copy:a.copyChat??"Copy",share:a.share??"Share",clear:a.clear??"Clear",stop:a.stop??"Stop"};return $f.jsx(A9,{children:o[t],...n})},I9=_B(hj,{_id:"aiChat__ChatActionFeeback"}),R9=e=>{const{action:t,children:n,...r}=e;return $f.jsxs(I9,{sideOffset:5,...r,children:[$f.jsx(Sj,{}),n||{copy:"Copied!",share:"Link copied!"}[t]]})},O9=_B($z,{_id:"aiChatHelpActions"}),P9=_B(C9,{_id:"aiChatHelpAction",action:"help"}),L9=_B("a",{_id:"aiChatHelpAction",target:"_blank",rel:"noreferrer"}),D9=e=>{const{action:t,onClick:n,...r}=e,{handleAction:a,logHelpAction:o}=K3(t),i=t.action.type,s={"aria-label":t.name,"data-name":t.name,children:t.name,onClick:Q3(n,(()=>{a(),o()})),...r};return"open_link"===i?$f.jsx(L9,{href:t.action.url,...s}):$f.jsx(P9,{...s})},M9=_B(Gz,{_id:"aiChatHelpActions__Trigger"}),F9=V.memo((e=>{var t;const{aiChatSettings:n}=WO();return $f.jsx(C9,{action:"help",...e,asChild:!0,children:$f.jsx(M9,{children:(null==(t=n.toolbarButtonLabels)?void 0:t.getHelp)??"Get Help"})})})),j9=_B(Vz,{_id:"aiChatHelpActions__Menu"}),B9=e=>$f.jsx(j9,{side:"top",sideOffset:8,align:"center",alignOffset:-10,...e}),H9=_B(Wz,{_id:"aiChatHelpActions__MenuArrow"}),z9=e=>{const{action:t,onClick:n,...r}=e,{handleAction:a,logHelpAction:o}=K3(t),{setOpen:i}=(()=>{const e=V.useContext(Fj);if(!e)throw new Error("useHelpMenu must be used within a HelpMenuProvider");return e})(),s=t.action.type,l=_B("open_link"===s?"a":"button",{_id:"aiChatHelpActions__MenuItem",children:t.name,"aria-label":t.name,"data-name":t.name,"data-type":t.action.type,..."open_link"===s&&{href:t.action.url,target:"_blank",rel:"noopener"},onClick:Q3(n,(()=>{a({onOpenForm:()=>i(!1)}),o()}))});return $f.jsx(l,{...r})},U9=_B(bW,{_id:"aiChatHelpActions_MenuItemIcon"}),$9=e=>{const{action:t,...n}=e;return t.icon?$f.jsx(U9,{iconSettings:t.icon,...n}):null},G9=_B(EV,{_id:"aiChatFeedbackModal"}),V9=_B(SV,{_id:"aiChatFeedbackModal__Overlay"}),W9=_B(_V,{_id:"aiChatFeedbackModal__Content","aria-describedby":void 0}),q9=_B(TV,{_id:"aiChatFeedbackModal__Header",children:"Help improve my answers!"}),Y9=_B(CV,{_id:"aiChatFeedbackModal__Close",children:$f.jsx(kW,{iconKey:"close"})}),K9=_B("div",{_id:"aiChatFeedbackModal__Body"}),X9=_B("form",{_id:"aiChatFeedbackForm"}),Q9=e=>{const{onSubmit:t,...n}=e,{submitNegativeFeedback:r,currentFeedback:a,setCurrentFeedback:o}=wD();return $f.jsx(X9,{onSubmit:Q3(t,(e=>{e.preventDefault();const t=e.target,n=new FormData(t),i=Object.fromEntries(n.entries());a&&(r(a,i),o(null))})),...n})},Z9=_B("div",{_id:"aiChatFeedbackItem"}),J9=e=>{const{name:t,...n}=e;return $f.jsx(Oj,{name:t,children:$f.jsx(Z9,{...n})})},e7=_B(fH,{_id:"aiChatFeedbackItem__Checkbox"}),t7=e=>{const{name:t,focusItem:n}=Pj(),{onCheckedChange:r,...a}=e;return $f.jsx(e7,{id:`feedback-${t}`,name:t,onCheckedChange:Q3(r,(e=>{var t;e&&(null==(t=null==n?void 0:n.current)||t.focus())})),...a})},n7=_B(hH,{_id:"aiChatFeedbackItem__CheckboxIndicator",children:$f.jsx(q3,{})}),r7=_B("label",{_id:"aiChatFeedbackItem__Label"}),a7=e=>{const{name:t}=Pj();return $f.jsx(r7,{htmlFor:`feedback-${t}`,children:{unrelated_response:"Didn't answer my question",inaccurate_statement:"Inaccurate statement",inaccurate_code_snippet:"Inaccurate code snippet",irrelevant_citations:"Irrelevant citations"}[t],...e})},o7=_B("textarea",{_id:"aiChatFeedbackItem__Description",placeholder:"Please describe"}),i7=e=>{const{name:t,focusItem:n}=Pj();return $f.jsx(o7,{ref:n,name:`${t}:description`,...e})},s7=_B("button",{_id:"aiChatFeedbackForm__SubmitButton",children:"Submit",type:"submit"}),l7=_B("div",{_id:"aiChatForm__Wrapper"}),c7=e=>{const{form:t}=lD();return t?$f.jsx(l7,{...e}):null},u7=_B("form",{_id:"aiChatForm"}),d7=e=>{const{onSubmit:t,...n}=e,{handleSubmit:r,isSuccess:a}=lD();return a?null:$f.jsx(u7,{onSubmit:Q3(t,r),...n})},p7=_B("button",{_id:"aiChatForm__Close",children:$f.jsx(kW,{iconKey:"close"})}),f7=e=>{const{onClick:t,...n}=e,{closeForm:r}=lD();return $f.jsx(p7,{onClick:Q3(t,r),...n})},h7=_B("div",{_id:"aiChatForm__Header"}),m7=_B("h2",{_id:"aiChatForm__Heading"}),g7=e=>{const{form:t}=lD();return(null==t?void 0:t.heading)?$f.jsx(m7,{children:t.heading,...e}):null},y7=_B("span",{_id:"aiChatForm__Description"}),b7=e=>{const{form:t}=lD();return(null==t?void 0:t.description)?$f.jsx(y7,{children:t.description,...e}):null},v7=_B("div",{_id:"aiChatForm__Content"}),k7=e=>{const{children:t,...n}=e,{fields:r=[]}=lD();return $f.jsx(v7,{children:CP(t,r),...n})},w7=_B("div",{_id:"aiChatForm__Field"}),x7=e=>{const{field:t,autoFocus:n,...r}=e,{control:a,errors:o}=lD();return $f.jsx(bL,{name:t.name,control:a,rules:{required:t.isRequired?`${t.label} is required.`:void 0},render:({field:e})=>{const a=void 0!==e.value||"file"===t.inputType;return $f.jsx(Dj,{"data-invalid":_P(!!o[t.name]),field:t,fieldProps:e,autoFocus:n,children:a&&$f.jsx(w7,{"data-input-type":t.inputType,"data-hidden":_P(t.isHidden),...r})})}})},E7=_B("label",{_id:"aiChatForm__FieldLabel"}),S7=e=>{const{field:t}=Mj();return $f.jsx(E7,{"data-required":_P(t.isRequired),htmlFor:t.name,children:t.label,...e})},_7=_B("input",{_id:"aiChatForm__FieldText",type:"text"}),T7=e=>{const{field:t,error:n,fieldProps:{onChange:r,onBlur:a,...o},autoFocus:i}=Mj(),{onChange:s,onBlur:l,...c}=e;return $f.jsx(_7,{id:t.name,autoFocus:i,placeholder:"placeholder"in t?t.placeholder:void 0,"data-invalid":_P(!!n),onChange:Q3(s,r),onBlur:Q3(l,a),...o,...c})},C7=_B(T7,{_id:"aiChatForm__FieldEmail",type:"email"}),A7=_B("input",{_id:"aiChatForm__FieldFile",type:"file",multiple:!0}),N7=e=>{const{field:t,error:n,fieldProps:{value:r,onChange:a,onBlur:o,...i},autoFocus:s}=Mj(),{onChange:l,onBlur:c,...u}=e;return $f.jsx(A7,{id:t.name,autoFocus:s,"data-value":r,"data-invalid":_P(!!n),...u,...i,onChange:Q3(l,(e=>{const t=e.target.files;a(t)})),onBlur:Q3(c,o)})},I7=_B(T7,{_id:"aiChatForm__FieldTextArea",type:"textarea",asChild:!0,children:$f.jsx(zB,{maxRows:8})}),R7=_B(fH,{_id:"aiChatForm__FieldCheckbox"}),O7=e=>{const{field:t,error:n,fieldProps:r,autoFocus:a}=Mj(),{onCheckedChange:o,...i}=e;return $f.jsx(R7,{id:t.name,name:t.name,autoFocus:a,"data-invalid":_P(!!n),checked:r.value,onCheckedChange:Q3(o,r.onChange),...i})},P7=_B(hH,{_id:"aiChatForm__FieldCheckboxIndicator",children:$f.jsx(q3,{})}),L7=_B(DG,{_id:"aiChatForm__FieldSelect"}),D7=_B(MG,{_id:"aiChatForm__FieldSelect__Trigger"}),M7=_B(FG,{_id:"aiChatForm__FieldSelect__Value"}),F7=_B(jG,{_id:"aiChatForm__FieldSelect__Icon",asChild:!0,children:$f.jsx(bW,{iconSettings:{builtIn:"LuChevronDown"}})}),j7=_B(BG,{_id:"aiChatForm__FieldSelect__Content",position:"popper"}),B7=_B(HG,{_id:"aiChatForm__FieldSelect__Viewport"}),H7=_B(zG,{_id:"aiChatForm__FieldSelect__Item"}),z7=_B(UG,{_id:"aiChatForm__FieldSelect__ItemText"}),U7=_B($G,{_id:"aiChatForm__FieldSelect__ItemIndicator",asChild:!0,children:$f.jsx(bW,{iconSettings:{builtIn:"LuCheck"}})}),$7=_B("span",{_id:"aiChatForm__FieldError"}),G7=e=>{var t;const{error:n}=Mj();return n?$f.jsx($7,{children:null==(t=n.message)?void 0:t.toString(),...e}):null},V7=_B("span",{_id:"aiChatForm__Error"}),W7=e=>{const{formError:t}=lD();return t?$f.jsx(V7,{children:t.message,...e}):null},q7=_B("div",{_id:"aiChatForm__Footer"}),Y7=_B("button",{_id:"aiChatForm__Cancel",children:"Cancel"}),K7=e=>{const{onClick:t,...n}=e,{closeForm:r}=lD();return $f.jsx(Y7,{onClick:Q3(t,r),...n})},X7=_B("button",{_id:"aiChatForm__Submit",children:"Submit",type:"submit"}),Q7=e=>{const{onClick:t,...n}=e,{isSubmitting:r}=lD();return $f.jsx(X7,{disabled:r,...n})},Z7=_B("div",{_id:"aiChatForm__Success"}),J7=e=>{const{isSuccess:t}=lD();return t?$f.jsx(Z7,{...e}):null},eee=_B("h2",{_id:"aiChatForm__SuccessHeading"}),tee=e=>{const{form:t}=lD();return $f.jsx(eee,{children:null==t?void 0:t.successView.heading,...e})},nee=_B(V3,{_id:"aiChatForm__SuccessMessage"}),ree=_B("button",{_id:"aiChatForm__SuccessButton"}),aee=e=>{var t;const{onClick:n,...r}=e,{form:a,closeForm:o}=lD(),i=null==(t=null==a?void 0:a.successView)?void 0:t.doneButton;if(!i)return null;const s=i.icon&&$f.jsx(bW,{iconSettings:i.icon}),l=i.label;return $f.jsx(ree,{onClick:Q3(n,o),children:$f.jsxs($f.Fragment,{children:[s,l]}),...r})};var oee="Dialog",[iee,see]=TD(oee),[lee,cee]=iee(oee),uee=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:a,onOpenChange:o,modal:i=!0}=e,s=V.useRef(null),l=V.useRef(null),[c=!1,u]=qF({prop:r,defaultProp:a,onChange:o});return $f.jsx(lee,{scope:t,triggerRef:s,contentRef:l,contentId:FO(),titleId:FO(),descriptionId:FO(),open:c,onOpenChange:u,onOpenToggle:V.useCallback((()=>u((e=>!e))),[u]),modal:i,children:n})};uee.displayName=oee;var dee="DialogTrigger";V.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,a=cee(dee,n),o=_D(t,a.triggerRef);return $f.jsx(PD.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":Cee(a.open),...r,ref:o,onClick:xD(e.onClick,a.onOpenToggle)})})).displayName=dee;var pee="DialogPortal",[fee,hee]=iee(pee,{forceMount:void 0}),mee=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:a}=e,o=cee(pee,t);return $f.jsx(fee,{scope:t,forceMount:n,children:V.Children.map(r,(e=>$f.jsx(VF,{present:n||o.open,children:$f.jsx(GF,{asChild:!0,container:a,children:e})})))})};mee.displayName=pee;var gee="DialogOverlay",yee=V.forwardRef(((e,t)=>{const n=hee(gee,e.__scopeDialog),{forceMount:r=n.forceMount,...a}=e,o=cee(gee,e.__scopeDialog);return o.modal?$f.jsx(VF,{present:r||o.open,children:$f.jsx(bee,{...a,ref:t})}):null}));yee.displayName=gee;var bee=V.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,a=cee(gee,n);return $f.jsx(xz,{as:AD,allowPinchZoom:!0,shards:[a.contentRef],children:$f.jsx(PD.div,{"data-state":Cee(a.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})})),vee="DialogContent",kee=V.forwardRef(((e,t)=>{const n=hee(vee,e.__scopeDialog),{forceMount:r=n.forceMount,...a}=e,o=cee(vee,e.__scopeDialog);return $f.jsx(VF,{present:r||o.open,children:o.modal?$f.jsx(wee,{...a,ref:t}):$f.jsx(xee,{...a,ref:t})})}));kee.displayName=vee;var wee=V.forwardRef(((e,t)=>{const n=cee(vee,e.__scopeDialog),r=V.useRef(null),a=_D(t,n.contentRef,r);return V.useEffect((()=>{const e=r.current;if(e)return LH(e)}),[]),$f.jsx(Eee,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:xD(e.onCloseAutoFocus,(e=>{var t;e.preventDefault(),null==(t=n.triggerRef.current)||t.focus()})),onPointerDownOutside:xD(e.onPointerDownOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()})),onFocusOutside:xD(e.onFocusOutside,(e=>e.preventDefault()))})})),xee=V.forwardRef(((e,t)=>{const n=cee(vee,e.__scopeDialog),r=V.useRef(!1),a=V.useRef(!1);return $f.jsx(Eee,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,i;null==(o=e.onCloseAutoFocus)||o.call(e,t),t.defaultPrevented||(r.current||null==(i=n.triggerRef.current)||i.focus(),t.preventDefault()),r.current=!1,a.current=!1},onInteractOutside:t=>{var o,i;null==(o=e.onInteractOutside)||o.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));const s=t.target;(null==(i=n.triggerRef.current)?void 0:i.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})})),Eee=V.forwardRef(((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:o,...i}=e,s=cee(vee,n),l=V.useRef(null),c=_D(t,l);return gH(),$f.jsxs($f.Fragment,{children:[$f.jsx(wH,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:a,onUnmountAutoFocus:o,children:$f.jsx(zD,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Cee(s.open),...i,ref:c,onDismiss:()=>s.onOpenChange(!1)})}),$f.jsxs($f.Fragment,{children:[$f.jsx(Ree,{titleId:s.titleId}),$f.jsx(Oee,{contentRef:l,descriptionId:s.descriptionId})]})]})})),See="DialogTitle";V.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,a=cee(See,n);return $f.jsx(PD.h2,{id:a.titleId,...r,ref:t})})).displayName=See;var _ee="DialogDescription";V.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,a=cee(_ee,n);return $f.jsx(PD.p,{id:a.descriptionId,...r,ref:t})})).displayName=_ee;var Tee="DialogClose";function Cee(e){return e?"open":"closed"}V.forwardRef(((e,t)=>{const{__scopeDialog:n,...r}=e,a=cee(Tee,n);return $f.jsx(PD.button,{type:"button",...r,ref:t,onClick:xD(e.onClick,(()=>a.onOpenChange(!1)))})})).displayName=Tee;var Aee="DialogTitleWarning",[Nee,Iee]=function(e,t){const n=V.createContext(t),r=e=>{const{children:t,...r}=e,a=V.useMemo((()=>r),Object.values(r));return $f.jsx(n.Provider,{value:a,children:t})};return r.displayName=e+"Provider",[r,function(r){const a=V.useContext(n);if(a)return a;if(void 0!==t)return t;throw new Error(`\`${r}\` must be used within \`${e}\``)}]}(Aee,{contentName:vee,titleName:See,docsSlug:"dialog"}),Ree=({titleId:e})=>{const t=Iee(Aee),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return V.useEffect((()=>{if(e){document.getElementById(e)||console.error(n)}}),[n,e]),null},Oee=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Iee("DialogDescriptionWarning").contentName}}.`;return V.useEffect((()=>{var r;const a=null==(r=e.current)?void 0:r.getAttribute("aria-describedby");if(t&&a){document.getElementById(t)||console.warn(n)}}),[n,e,t]),null},Pee=uee,Lee=mee,Dee=yee,Mee=kee,Fee=.999,jee=/[\\\/_+.#"@\[\(\{&]/,Bee=/[\\\/_+.#"@\[\(\{&]/g,Hee=/[\s-]/,zee=/[\s-]/g;function Uee(e,t,n,r,a,o,i){if(o===t.length)return a===e.length?1:.99;var s=`${a},${o}`;if(void 0!==i[s])return i[s];for(var l,c,u,d,p=r.charAt(o),f=n.indexOf(p,a),h=0;f>=0;)(l=Uee(e,t,n,r,f+1,o+1,i))>h&&(f===a?l*=1:jee.test(e.charAt(f-1))?(l*=.8,(u=e.slice(a,f-1).match(Bee))&&a>0&&(l*=Math.pow(Fee,u.length))):Hee.test(e.charAt(f-1))?(l*=.9,(d=e.slice(a,f-1).match(zee))&&a>0&&(l*=Math.pow(Fee,d.length))):(l*=.17,a>0&&(l*=Math.pow(Fee,f-a))),e.charAt(f)!==t.charAt(o)&&(l*=.9999)),(l<.1&&n.charAt(f-1)===r.charAt(o+1)||r.charAt(o+1)===r.charAt(o)&&n.charAt(f-1)!==r.charAt(o))&&.1*(c=Uee(e,t,n,r,f+1,o+2,i))>l&&(l=.1*c),l>h&&(h=l),f=n.indexOf(p,f+1);return i[s]=h,h}function $ee(e){return e.toLowerCase().replace(zee," ")}function Gee(e,t,n){return Uee(e=n&&n.length>0?""+(e+" "+n.join(" ")):e,t,$ee(e),$ee(t),0,0,{})}var Vee={exports:{}},Wee={},qee=V;var Yee="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Kee=qee.useState,Xee=qee.useEffect,Qee=qee.useLayoutEffect,Zee=qee.useDebugValue;function Jee(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Yee(e,n)}catch(r){return!0}}var ete="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=Kee({inst:{value:n,getSnapshot:t}}),a=r[0].inst,o=r[1];return Qee((function(){a.value=n,a.getSnapshot=t,Jee(a)&&o({inst:a})}),[e,n,t]),Xee((function(){return Jee(a)&&o({inst:a}),e((function(){Jee(a)&&o({inst:a})}))}),[e]),Zee(n),n};Wee.useSyncExternalStore=void 0!==qee.useSyncExternalStore?qee.useSyncExternalStore:ete,Vee.exports=Wee;var tte=Vee.exports;const nte='[cmdk-group=""]',rte='[cmdk-group-items=""]',ate='[cmdk-item=""]',ote=`${ate}:not([aria-disabled="true"])`,ite="cmdk-item-select",ste="data-value",lte=(e,t,n)=>Gee(e,t,n??[]),cte=V.createContext(void 0),ute=()=>V.useContext(cte),dte=V.createContext(void 0),pte=()=>V.useContext(dte),fte=V.createContext(void 0),hte=V.forwardRef(((e,t)=>{const n=Ate((()=>({search:"",value:e.value??e.defaultValue??"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}))),r=Ate((()=>new Set)),a=Ate((()=>new Map)),o=Ate((()=>new Map)),i=Ate((()=>new Set)),s=Tte(e),{label:l,children:c,value:u,onValueChange:d,filter:p,shouldFilter:f,loop:h,disablePointerSelection:m=!1,vimBindings:g=!0,...y}=e,b=FO(),v=FO(),k=FO(),w=V.useRef(null),x=Ote();Cte((()=>{if(void 0!==u){const e=u.trim();n.current.value=e,S.emit()}}),[u]),Cte((()=>{x(6,I)}),[]);const E=BO(),S=V.useMemo((()=>({subscribe:e=>(i.current.add(e),()=>i.current.delete(e)),snapshot:()=>n.current,setState:(e,t,r)=>{var a,o,i,l,c;if(!Object.is(n.current[e],t)){if(n.current[e]=t,"search"===e)N(),C(),x(1,A);else if("value"===e){const e=null==(o=null==(a=null==E?void 0:E.shadowHost)?void 0:a.shadowRoot)?void 0:o.activeElement;if((null==e?void 0:e.hasAttribute("cmdk-input"))||x(1,(()=>{const e=R();null==e||e.focus()})),x(7,(()=>{var e;n.current.selectedItemId=null==(e=R())?void 0:e.id,S.emit()})),r||x(5,I),void 0!==(null==(i=s.current)?void 0:i.value)){const e=t??"";return void(null==(c=(l=s.current).onValueChange)||c.call(l,e))}}S.emit()}},emit:()=>{i.current.forEach((e=>e()))}})),[]),_=V.useMemo((()=>({value:(e,t,r)=>{var a;t!==(null==(a=o.current.get(e))?void 0:a.value)&&(o.current.set(e,{value:t,keywords:r}),n.current.filtered.items.set(e,T(t,r)),x(2,(()=>{C(),S.emit()})))},item:(e,t)=>{var i,s;return r.current.add(e),t&&(a.current.has(t)?null==(s=null==(i=a.current)?void 0:i.get(t))||s.add(e):a.current.set(t,new Set([e]))),x(3,(()=>{N(),C(),n.current.value||A(),S.emit()})),()=>{o.current.delete(e),r.current.delete(e),n.current.filtered.items.delete(e);const t=R();x(4,(()=>{N(),(null==t?void 0:t.getAttribute("id"))===e&&A(),S.emit()}))}},group:e=>(a.current.has(e)||a.current.set(e,new Set),()=>{o.current.delete(e),a.current.delete(e)}),filter:()=>!!s.current.shouldFilter,label:l||e["aria-label"]||"",getDisablePointerSelection:()=>!!s.current.disablePointerSelection,listId:b,inputId:k,labelId:v,listInnerRef:w})),[]);function T(e,t){var r;const a=(null==(r=s.current)?void 0:r.filter)??lte;return e?null==a?void 0:a(e,n.current.search,t):0}function C(){if(!n.current.search||!1===s.current.shouldFilter)return;const e=n.current.filtered.items,t=[];n.current.filtered.groups.forEach((n=>{const r=a.current.get(n);let o=0;r.forEach((t=>{const n=e.get(t);o=Math.max(n,o)})),t.push([n,o])}));const r=w.current;O().sort(((t,n)=>{const r=t.getAttribute("id"),a=n.getAttribute("id");return(e.get(a)??0)-(e.get(r)??0)})).forEach((e=>{const t=e.closest(rte);if(t){const n=e.parentElement===t?e:e.closest(`${rte} > *`);n&&t.appendChild(n)}else{const t=e.parentElement===r?e:e.closest(`${rte} > *`);t&&(null==r||r.appendChild(t))}})),t.sort(((e,t)=>t[1]-e[1])).forEach((e=>{var t,n;const r=null==(t=w.current)?void 0:t.querySelector(`${nte}[${ste}="${encodeURIComponent(e[0])}"]`);null==(n=null==r?void 0:r.parentElement)||n.appendChild(r)}))}function A(){const e=O().find((e=>"true"!==e.getAttribute("aria-disabled")&&e.getAttribute("data-value")!==One)),t=null==e?void 0:e.getAttribute(ste);S.setState("value",t||void 0)}function N(){var e,t;if(!n.current.search||!1===s.current.shouldFilter)return void(n.current.filtered.count=r.current.size);n.current.filtered.groups=new Set;let i=0;for(const a of r.current){const r=T((null==(e=o.current.get(a))?void 0:e.value)??"",(null==(t=o.current.get(a))?void 0:t.keywords)??[]);n.current.filtered.items.set(a,r),r>0&&i++}for(const[r,o]of a.current)for(const e of o){const t=n.current.filtered.items.get(e);if(t&&t>0){n.current.filtered.groups.add(r);break}}n.current.filtered.count=i}function I(){var e,t,n;const r=R();r&&((null==(e=r.parentElement)?void 0:e.firstChild)===r&&(null==(n=null==(t=r.closest(nte))?void 0:t.querySelector('[cmdk-group-heading=""]'))||n.scrollIntoView({block:"nearest"})),r.scrollIntoView({block:"nearest"}))}function R(){var e;return null==(e=w.current)?void 0:e.querySelector(`${ate}[aria-selected="true"]`)}function O(){var e;return Array.from((null==(e=w.current)?void 0:e.querySelectorAll(ote))||[])}function P(e){const t=O()[e];t&&S.setState("value",t.getAttribute(ste))}function L(e){var t;const n=R(),r=O(),a=r.findIndex((e=>e===n));let o=r[a+e];(null==(t=s.current)?void 0:t.loop)&&(o=a+e<0?r[r.length-1]:a+e===r.length?r[0]:r[a+e]),o&&S.setState("value",o.getAttribute(ste))}function D(e){const t=R();let n,r=null==t?void 0:t.closest(nte);for(;r&&!n;)r=e>0?Ste(r,nte):_te(r,nte),n=null==r?void 0:r.querySelector(ote);n?S.setState("value",n.getAttribute(ste)):L(e)}const M=()=>P(O().length-1),F=e=>{e.preventDefault(),e.metaKey?M():e.altKey?D(1):L(1)},j=e=>{e.preventDefault(),e.metaKey?P(0):e.altKey?D(-1):L(-1)};return $f.jsxs(Qz.div,{ref:t,tabIndex:-1,...y,"cmdk-root":"",onKeyDown:e=>{var t;if(null==(t=y.onKeyDown)||t.call(y,e),!e.defaultPrevented)switch(e.key){case"n":case"j":g&&e.ctrlKey&&F(e);break;case"ArrowDown":F(e);break;case"p":case"k":g&&e.ctrlKey&&j(e);break;case"ArrowUp":j(e);break;case"Home":e.preventDefault(),P(0);break;case"End":e.preventDefault(),M();break;case"Enter":if(!e.nativeEvent.isComposing&&229!==e.keyCode){e.preventDefault();const t=R();if(t){const e=new Event(ite);t.dispatchEvent(e)}}}},children:[$f.jsx("label",{"cmdk-label":"",htmlFor:_.inputId,id:_.labelId,style:Lte,children:l}),Pte(e,(e=>$f.jsx(dte.Provider,{value:S,children:$f.jsx(cte.Provider,{value:_,children:e})})))]})})),mte=V.forwardRef(((e,t)=>{var n;const{id:r}=e,a=V.useRef(null),o=V.useContext(fte),i=ute(),s=Tte(e),l=(null==(n=s.current)?void 0:n.forceMount)??(null==o?void 0:o.forceMount);Cte((()=>{if(!l)return i.item(r,null==o?void 0:o.id)}),[l]);const c=Rte(r,a,[e.value,e.children,a],e.keywords),u=pte(),d=Ite((e=>e.value&&e.value===c.current)),p=Ite((e=>!!l||(!1===i.filter()||(!e.search||e.filtered.items.get(r)>0))));function f(e="click"){var t,n;h(),null==(n=(t=s.current).onSelect)||n.call(t,{value:c.current,trigger:e})}function h(){u.setState("value",c.current,!0)}if(V.useEffect((()=>{const t=a.current;if(!t||e.disabled)return;const n=()=>f("keyboard");return t.addEventListener(ite,n),()=>t.removeEventListener(ite,n)}),[p,e.onSelect,e.disabled]),!p)return null;const{disabled:m,value:g,onSelect:y,forceMount:b,keywords:v,...k}=e;return $f.jsx(Qz.div,{ref:Nte([a,t]),...k,id:r,"cmdk-item":"",role:"option","aria-disabled":Boolean(m),"aria-selected":Boolean(d),"data-disabled":Boolean(m),"data-selected":Boolean(d),onPointerMove:m||i.getDisablePointerSelection()?void 0:h,onClick:m?void 0:()=>f(),onFocus:m?void 0:h,children:e.children})})),gte=V.forwardRef(((e,t)=>{const{heading:n,children:r,forceMount:a,...o}=e,i=FO(),s=V.useRef(null),l=V.useRef(null),c=FO(),u=ute(),d=Ite((e=>!!a||(!1===u.filter()||(!e.search||e.filtered.groups.has(i)))));Cte((()=>u.group(i)),[]),Rte(i,s,[e.value,e.heading,l]);const p=V.useMemo((()=>({id:i,forceMount:a})),[a]);return $f.jsxs(Qz.div,{ref:Nte([s,t]),...o,"cmdk-group":"",role:"presentation",hidden:!d||void 0,children:[n&&$f.jsx("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:c,children:n}),Pte(e,(e=>$f.jsx("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?c:void 0,children:$f.jsx(fte.Provider,{value:p,children:e})})))]})})),yte=V.forwardRef(((e,t)=>{const{alwaysRender:n,...r}=e,a=V.useRef(null),o=Ite((e=>!e.search));return n||o?$f.jsx(Qz.div,{ref:Nte([a,t]),...r,"cmdk-separator":"",role:"separator"}):null})),bte=V.forwardRef(((e,t)=>{const{onValueChange:n,...r}=e,a=null!=e.value,o=pte(),i=Ite((e=>e.search)),s=ute();return V.useEffect((()=>{null!=e.value&&o.setState("search",e.value)}),[e.value]),$f.jsx(Qz.input,{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":s.listId,"aria-labelledby":s.labelId,id:s.inputId,type:"text",value:a?e.value:i,onChange:e=>{a||o.setState("search",e.target.value),null==n||n(e.target.value)}})})),vte=V.forwardRef(((e,t)=>{const{children:n,label:r="Suggestions",...a}=e,o=V.useRef(null),i=V.useRef(null),s=ute();return V.useEffect((()=>{if(i.current&&o.current){const e=i.current,t=o.current;let n;const r=new ResizeObserver((()=>{n=requestAnimationFrame((()=>{const n=e.offsetHeight;t.style.setProperty("--cmdk-list-height",n.toFixed(1)+"px")}))}));return r.observe(e),()=>{cancelAnimationFrame(n),r.unobserve(e)}}}),[]),$f.jsx(Qz.div,{ref:Nte([o,t]),...a,"cmdk-list":"",tabIndex:-1,"aria-label":r,id:s.listId,children:Pte(e,(e=>$f.jsx("div",{ref:Nte([i,s.listInnerRef]),"cmdk-list-sizer":"",children:e})))})})),kte=V.forwardRef(((e,t)=>{const{open:n,onOpenChange:r,overlayClassName:a,contentClassName:o,container:i,...s}=e;return $f.jsx(Pee,{open:n,onOpenChange:r,children:$f.jsxs(Lee,{container:i,children:[$f.jsx(Dee,{"cmdk-overlay":"",className:a}),$f.jsx(Mee,{"aria-label":e.label,"cmdk-dialog":"",className:o,children:$f.jsx(hte,{ref:t,...s})})]})})})),wte=V.forwardRef(((e,t)=>Ite((e=>0===e.filtered.count))?$f.jsx(Qz.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null)),xte=V.forwardRef(((e,t)=>{const{progress:n,children:r,label:a="Loading...",...o}=e;return $f.jsx(Qz.div,{ref:t,...o,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":a,children:Pte(e,(e=>$f.jsx("div",{"aria-hidden":!0,children:e})))})})),Ete=Object.assign(hte,{List:vte,Item:mte,Input:bte,Group:gte,Separator:yte,Dialog:kte,Empty:wte,Loading:xte});function Ste(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function _te(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function Tte(e){const t=V.useRef(e);return Cte((()=>{t.current=e})),t}const Cte="undefined"==typeof window?V.useEffect:V.useLayoutEffect;function Ate(e){const t=V.useRef(void 0);return void 0===t.current&&(t.current=e()),t}function Nte(e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}function Ite(e){const t=pte(),n=()=>e(t.snapshot());return tte.useSyncExternalStore(t.subscribe,n,n)}function Rte(e,t,n,r=[]){const a=V.useRef(void 0),o=ute();return Cte((()=>{var i;const s=(()=>{var e;for(const t of n){if("string"==typeof t)return t.trim();if("object"==typeof t&&"current"in t)return t.current?null==(e=t.current.textContent)?void 0:e.trim():a.current}})(),l=r.map((e=>e.trim()));o.value(e,s,l),null==(i=t.current)||i.setAttribute(ste,s),a.current=s})),a}const Ote=()=>{const[e,t]=V.useState(),n=Ate((()=>new Map));return Cte((()=>{n.current.forEach((e=>e())),n.current=new Map}),[e]),(e,r)=>{n.current.set(e,r),t({})}};function Pte({asChild:e,children:t},n){return e&&V.isValidElement(t)?V.cloneElement(function(e){const t=e.type;return"function"==typeof t?t(e.props):"render"in t?t.render(e.props):e}(t),{ref:t.ref},n(t.props.children)):n(t)}const Lte={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};function Dte(e,t,n){try{const r=new URL(e);return r.searchParams.set(n,t),r.toString()}catch{return e}}const Mte=e=>{var t,n,r;switch(e.rootRecord.__typename){case"DocumentationRecord":{const a=jte((null==(n=null==(t=e.pathHeadings)?void 0:t.at(-1))?void 0:n.content)||""),o=jte((null==(r=e.content)?void 0:r.content)||"");return e.preview||o||a}case"GitHubIssueRecord":case"StackOverflowRecord":case"DiscourseRecord":return e.rootRecord.body;default:return e.preview}},Fte=e=>{switch(e.rootRecord.__typename){case"StackOverflowRecord":return e.rootRecord.markedAsCorrectAnswer?"Resolved":void 0;case"GitHubIssueRecord":return"CLOSED"===e.rootRecord.state?"Closed":void 0}},jte=e=>e.replace(/(https?:\/\/\S+)/g,(e=>{const t=e.split("/");return t.length>3?`...${t.slice(-2).join("/")}`:e})),Bte=e=>{switch(e){case"DocumentationRecord":return"documentation";case"GitHubIssueRecord":return"github_issue";case"DiscourseRecord":return"discourse";case"DiscordRecord":return"discord";case"StackOverflowRecord":return"stackoverflow";case"SlackEntry":return"slack_message";default:return"site"}},Hte=V.createContext(void 0),zte=({children:e})=>{const{logEvent:t}=sP();return $f.jsx(Hte.Provider,{value:{logEvent:t},children:e})},Ute=({children:e})=>$f.jsx(iP,{children:$f.jsx(zte,{children:e})}),$te=()=>{const e=V.useContext(Hte);if(!e)throw new Error("useSearchEvents must be used within a SearchEventsProvider");return e};const Gte=()=>{const{baseSettings:e,searchSettings:t}=WO(),{apiKey:n,aiApiBaseUrl:r,userAuthToken:a,filters:o}=e,{maxResults:i,placeholder:s,defaultQuery:l,debounceTimeMs:c,onQueryChange:u,searchFunctionsRef:d,tabs:p,filters:f}=t,{logEvent:h}=$te(),[m,g]=V.useState(l),y=V.useRef(null),[b,v]=V.useState(!1),[k,w]=V.useState(null),[x,E]=V.useState("NONE"),S=V.useCallback((e=>{E(e)}),[]),[_,T]=V.useState([]),C=((e,t)=>{const{baseSettings:{transformSource:n,organizationDisplayName:r},searchSettings:{tabs:a,searchQueryParamKey:o,shouldOpenLinksInNewTab:i}}=WO();return V.useMemo((()=>{var s;const l=a.length>0?a:["All"],c={},u=new Set,d=l.map((e=>"string"==typeof e?e:e[0]));for(const e of d)c[e]=[];for(const p of e){const e=p.url||"";if(u.has(e))continue;u.add(e);const s=o?Dte(e,t,o):e,l=p4({title:p.title,url:s,description:Mte(p),type:Bte(p.rootRecord.__typename),tag:Fte(p),breadcrumbs:p.rootRecord.pathBreadcrumbs??[],contentType:p.rootRecord.contentType},"searchResultItem",{organizationDisplayName:r,tabs:a,transformSource:n}),f={...l,id:p.id,isExternal:void 0!==l.shouldOpenInNewTab?l.shouldOpenInNewTab:i},h=f.tabs||[];for(const t of h){const e="string"==typeof t?t:t[0];d.includes(e)?c[e].push(f):console.warn(`Tab "${e}" found in item but not configured in tabs`)}d.includes("All")&&c.All.push(f)}for(const e of Object.keys(c)){const t=l.find((t=>"string"==typeof t?t===e:t[0]===e)),n="object"==typeof t&&!0===(null==(s=t[1])?void 0:s.isAlwaysVisible);0!==c[e].length||n||delete c[e]}return c}),[e,n,r,a,o,i])})(_,m),A=(null==p?void 0:p.length)?"string"==typeof p[0]?p[0]:p[0][0]:"All",[N,I]=V.useState(A),{disableTransition:R,disabled:O}=function(){const[e,t]=V.useState(!1);V.useEffect((()=>{if(e){const e=setTimeout((()=>t(!1)),0);return()=>clearTimeout(e)}}),[e]);const n=V.useCallback((()=>t(!0)),[]);return{disabled:e,disableTransition:n}}(),P=V.useCallback((e=>{R(),I(e);const t=C[e][0].id;E(t)}),[C,R]);V.useEffect((()=>{var e,t;let n=N in C?N:Object.keys(C)[0];if(!(null==(e=C[n])?void 0:e.length)){const e=Object.keys(C).find((e=>{var t;return null==(t=C[e])?void 0:t.length}));n=e||A}if(!n)return;I(n);const r=null==(t=C[n])?void 0:t[0];r&&E(r.id)}),[C]);const L=pD("(max-width: 768px)"),D=V.useRef({}),M=V.useRef(null),F=V.useRef(null);V.useImperativeHandle(d,(()=>({updateQuery(e){g(e)},focusInput:()=>{var e;null==(e=y.current)||e.focus()}})));const j=`${r}/graphql`,B=V.useMemo((()=>({Authorization:`Bearer ${n}`,"Content-Type":"application/json",...a?{"User-Token":a}:{}})),[n,a]),H=V.useCallback((async e=>{const t=new AbortController;M.current=t;try{w(null);const n=await async function(e,t,n,r,a){var o;const i=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json",...r},signal:a,body:JSON.stringify({query:t,variables:n})});if(!i.ok)throw new Error(`Network response was not OK (status: ${i.status})`);const s=await i.json();if(null==(o=s.errors)?void 0:o.length)throw new Error(s.errors[0].message);return s.data}(j,"query GetSearchResults($searchInput: SearchInput!) {\n search(searchInput: $searchInput) {\n searchHits {\n id\n hitOnRoot\n url\n title\n preview\n\n ... on DocumentationHit {\n rootRecord {\n __typename\n id\n title\n url\n preview\n ... on DocumentationRecord {\n pathBreadcrumbs\n contentType\n topLevelHeadings {\n anchor\n url\n content\n }\n }\n }\n pathHeadings {\n anchor\n content\n }\n content {\n anchor\n content\n }\n }\n\n ... on StackOverflowHit {\n rootRecord {\n __typename\n id\n title\n url\n preview\n ... on StackOverflowRecord {\n body\n createdAt\n\n markedAsCorrectAnswer {\n url\n score\n content\n }\n }\n }\n }\n\n ... on GitHubIssueHit {\n rootRecord {\n __typename\n id\n title\n url\n preview\n ... on GitHubIssueRecord {\n createdAt\n body\n state\n }\n }\n }\n\n ... on DiscourseHit {\n rootRecord {\n __typename\n id\n title\n url\n preview\n ... on DiscourseRecord {\n createdAt\n body\n }\n }\n }\n }\n searchQuery\n }\n}\n",{searchInput:e},B,t.signal),r=null==n?void 0:n.search.searchHits;D.current[e.searchQuery]=r,T(r)}catch(que){if("AbortError"===que.name)return;w("Failed to fetch search results. Please try again.")}finally{v(!1)}}),[j,B]),z=V.useCallback((e=>{const t=D.current[e.searchQuery];h({eventName:"search_query_response_received",properties:{searchQuery:e.searchQuery,totalResults:null==t?void 0:t.length}})}),[]),U=()=>{M.current&&(M.current.abort(),v(!1))},$=V.useCallback((e=>{if(F.current&&window.clearTimeout(F.current),!e.searchQuery)return U(),T([]),void w(null);F.current=window.setTimeout((()=>{U(),h({eventName:"search_query_submitted",properties:{searchQuery:e.searchQuery}}),D.current[e.searchQuery]?(T(D.current[e.searchQuery]),z(e)):(v(!0),H(e).then((()=>{z(e)})))}),c)}),[c,H]),G=V.useMemo((()=>({searchQuery:m,filters:{...o,...f,limit:i}})),[m,i,o,f]);V.useEffect((()=>{null==u||u(G.searchQuery),$(G)}),[$,G]);const W=V.useRef(null),[q,Y]=V.useState(!1);V.useEffect((()=>(null!==W.current&&window.clearTimeout(W.current),m?W.current=window.setTimeout((()=>{Y(!0)}),400):Y(!1),()=>{null!==W.current&&window.clearTimeout(W.current)})),[m]);const K=V.useCallback((e=>g(e.target.value)),[]),X=V.useMemo((()=>s||(L?"Search...":"Search for anything...")),[s,L]);return{results:C,resultsList:_,hasContent:q&&(_.length>0||b),loading:b,error:k,query:m,onInput:K,placeholder:X,tab:N,onTabChange:P,selectedItem:x,setSelectedItem:E,onSelectedItemChange:S,transitionsDisabled:O,inputRef:y,isMobile:L}},Vte=V.createContext(void 0),Wte=e=>$f.jsx(Ute,{children:$f.jsx(qte,{...e})}),qte=({children:e,...t})=>{const n=Gte();return $f.jsx(Vte.Provider,{value:{...n,...t},children:e})},Yte=()=>{const e=V.useContext(Vte);if(!e)throw new Error("useSearch must be used within a SearchProvider");return e};var Kte="rovingFocusGroup.onEntryFocus",Xte={bubbles:!1,cancelable:!0},Qte="RovingFocusGroup",[Zte,Jte,ene]=F$(Qte),[tne,nne]=TD(Qte,[ene]),[rne,ane]=tne(Qte),one=V.forwardRef(((e,t)=>$f.jsx(Zte.Provider,{scope:e.__scopeRovingFocusGroup,children:$f.jsx(Zte.Slot,{scope:e.__scopeRovingFocusGroup,children:$f.jsx(ine,{...e,ref:t})})})));one.displayName=Qte;var ine=V.forwardRef(((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:a=!1,dir:o,currentTabStopId:i,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:c,preventScrollOnEntryFocus:u=!1,...d}=e,p=V.useRef(null),f=_D(t,p),h=ZU(o),[m=null,g]=qF({prop:i,defaultProp:s,onChange:l}),[y,b]=V.useState(!1),v=LD(c),k=Jte(n),w=V.useRef(!1),[x,E]=V.useState(0);return V.useEffect((()=>{const e=p.current;if(e)return e.addEventListener(Kte,v),()=>e.removeEventListener(Kte,v)}),[v]),$f.jsx(rne,{scope:n,orientation:r,dir:h,loop:a,currentTabStopId:m,onItemFocus:V.useCallback((e=>g(e)),[g]),onItemShiftTab:V.useCallback((()=>b(!0)),[]),onFocusableItemAdd:V.useCallback((()=>E((e=>e+1))),[]),onFocusableItemRemove:V.useCallback((()=>E((e=>e-1))),[]),children:$f.jsx(PD.div,{tabIndex:y||0===x?-1:0,"data-orientation":r,...d,ref:f,style:{outline:"none",...e.style},onMouseDown:xD(e.onMouseDown,(()=>{w.current=!0})),onFocus:xD(e.onFocus,(e=>{const t=!w.current;if(e.target===e.currentTarget&&t&&!y){const t=new CustomEvent(Kte,Xte);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=k().filter((e=>e.focusable));une([e.find((e=>e.active)),e.find((e=>e.id===m)),...e].filter(Boolean).map((e=>e.ref.current)),u)}}w.current=!1})),onBlur:xD(e.onBlur,(()=>b(!1)))})})})),sne="RovingFocusGroupItem",lne=V.forwardRef(((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:a=!1,tabStopId:o,...i}=e,s=FO(),l=o||s,c=ane(sne,n),u=c.currentTabStopId===l,d=Jte(n),{onFocusableItemAdd:p,onFocusableItemRemove:f}=c;return V.useEffect((()=>{if(r)return p(),()=>f()}),[r,p,f]),$f.jsx(Zte.ItemSlot,{scope:n,id:l,focusable:r,active:a,children:$f.jsx(PD.span,{tabIndex:u?0:-1,"data-orientation":c.orientation,...i,ref:t,onMouseDown:xD(e.onMouseDown,(e=>{r?c.onItemFocus(l):e.preventDefault()})),onFocus:xD(e.onFocus,(()=>c.onItemFocus(l))),onKeyDown:xD(e.onKeyDown,(e=>{if("Tab"===e.key&&e.shiftKey)return void c.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=function(e,t,n){const r=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);return"vertical"===t&&["ArrowLeft","ArrowRight"].includes(r)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)?void 0:cne[r]}(e,c.orientation,c.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let a=d().filter((e=>e.focusable)).map((e=>e.ref.current));if("last"===t)a.reverse();else if("prev"===t||"next"===t){"prev"===t&&a.reverse();const o=a.indexOf(e.currentTarget);a=c.loop?(r=o+1,(n=a).map(((e,t)=>n[(r+t)%n.length]))):a.slice(o+1)}setTimeout((()=>une(a)))}var n,r}))})})}));lne.displayName=sne;var cne={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function une(e,t=!1){const n=document.activeElement;for(const r of e){if(r===n)return;if(r.focus({preventScroll:t}),document.activeElement!==n)return}}var dne=one,pne=lne,fne="Tabs",[hne,mne]=TD(fne,[nne]),gne=nne(),[yne,bne]=hne(fne),vne=V.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:a,defaultValue:o,orientation:i="horizontal",dir:s,activationMode:l="automatic",...c}=e,u=ZU(s),[d,p]=qF({prop:r,onChange:a,defaultProp:o});return $f.jsx(yne,{scope:n,baseId:FO(),value:d,onValueChange:p,orientation:i,dir:u,activationMode:l,children:$f.jsx(PD.div,{dir:u,"data-orientation":i,...c,ref:t})})}));vne.displayName=fne;var kne="TabsList",wne=V.forwardRef(((e,t)=>{const{__scopeTabs:n,loop:r=!0,...a}=e,o=bne(kne,n),i=gne(n);return $f.jsx(dne,{asChild:!0,...i,orientation:o.orientation,dir:o.dir,loop:r,children:$f.jsx(PD.div,{role:"tablist","aria-orientation":o.orientation,...a,ref:t})})}));wne.displayName=kne;var xne="TabsTrigger",Ene=V.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,disabled:a=!1,...o}=e,i=bne(xne,n),s=gne(n),l=Tne(i.baseId,r),c=Cne(i.baseId,r),u=r===i.value;return $f.jsx(pne,{asChild:!0,...s,focusable:!a,active:u,children:$f.jsx(PD.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":c,"data-state":u?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:l,...o,ref:t,onMouseDown:xD(e.onMouseDown,(e=>{a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():i.onValueChange(r)})),onKeyDown:xD(e.onKeyDown,(e=>{[" ","Enter"].includes(e.key)&&i.onValueChange(r)})),onFocus:xD(e.onFocus,(()=>{const e="manual"!==i.activationMode;u||a||!e||i.onValueChange(r)}))})})}));Ene.displayName=xne;var Sne="TabsContent",_ne=V.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,forceMount:a,children:o,...i}=e,s=bne(Sne,n),l=Tne(s.baseId,r),c=Cne(s.baseId,r),u=r===s.value,d=V.useRef(u);return V.useEffect((()=>{const e=requestAnimationFrame((()=>d.current=!1));return()=>cancelAnimationFrame(e)}),[]),$f.jsx(VF,{present:a||u,children:({present:n})=>$f.jsx(PD.div,{"data-state":u?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":l,hidden:!n,id:c,tabIndex:0,...i,ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0},children:n&&o})})}));function Tne(e,t){return`${e}-trigger-${t}`}function Cne(e,t){return`${e}-content-${t}`}_ne.displayName=Sne;var Ane=vne,Nne=wne,Ine=Ene,Rne=_ne;const One="__ask_ai__",Pne=_B("div",{_id:"aiSearchWrapper"}),Lne=e=>{const{searchSettings:{view:t}}=WO(),{isHidden:n,hasContent:r,isMobile:a}=Yte(),o=rD();return $f.jsx(Pne,{"data-hidden":_P(n),"data-has-content":_P(r),"data-in-modal":_P(!!o),"data-mobile":_P(a),"data-view":t,"data-dual-pane-search-expanded":_P(r&&"dual-pane"===t&&!n),...e})},Dne=_B(Ete,{_id:"aiSearchRoot"}),Mne=e=>{const{isHidden:t,selectedItem:n,onSelectedItemChange:r}=Yte();return $f.jsx(Dne,{"data-hidden":_P(t),shouldFilter:!1,loop:!1,value:n,onValueChange:r,...e})},Fne=_B(Ete.List,{_id:"aiSearchContent"}),jne=V.forwardRef(((e,t)=>{const{selectedItem:n}=Yte();return $f.jsx(Fne,{"aria-activedescendant":`aiSearchResults__Item-${n}`,...e,ref:t})})),Bne=_B("div",{_id:"aiSearchInputGroup"}),Hne=_B(kW,{_id:"aiSearchInputIcon",iconKey:"search"}),zne=_B(Ete.Input,{_id:"aiSearchInput"}),Une=V.forwardRef((({onInput:e,...t},n)=>{const{query:r,onInput:a,placeholder:o,inputRef:i,shouldAutoFocusInput:s,selectedItem:l}=Yte(),c=bB(n,i),u=rD();return V.useEffect((()=>{requestAnimationFrame((()=>{s&&(null==i?void 0:i.current)&&(i.current.focus(),i.current.selectionStart=i.current.value.length)}))}),[s,i,null==u?void 0:u.isOpen]),$f.jsx(zne,{ref:c,placeholder:o,value:r,onInput:Q3(e,a),"aria-activedescendant":`aiSearchResults__Item-${l}`,...t})})),$ne=_B(bW,{_id:"aiSearchLoading",iconSettings:{builtIn:"LuLoaderCircle"}}),Gne=e=>{const{loading:t,resultsList:n}=Yte();return t&&0!==n.length?$f.jsx($ne,{...e}):null},Vne=_B(Ete.Item,{_id:"aiAskAITrigger",value:One}),Wne=e=>{var t,n;const{setSelectedItem:r,results:a,tab:o}=Yte(),i=(null==(n=null==(t=a[o])?void 0:t[0])?void 0:n.id)??"NONE";return $f.jsx(Vne,{...e,id:`aiSearchResults__Item-${One}`,tabIndex:0,onPointerLeave:()=>r(i)})},qne=_B("img",{_id:"aiAskAITrigger__Icon"}),Yne=e=>{const{aiChatSettings:t}=WO(),{aiAssistantAvatar:n}=t??{},r="string"==typeof n?n:null==n?void 0:n.light,a=Zj(r,("string"==typeof n?n:null==n?void 0:n.dark)??r),[o,i]=V.useState(a);V.useEffect((()=>{i(a)}),[a]);return $f.jsx(qne,{asChild:!0,...e,children:o?$f.jsx("img",{src:o,alt:"AI Avatar","data-type":"image",onError:Q3((()=>{i(null)})),...e}):$f.jsx(BV,{"data-type":"icon",...e})})},Kne=_B("span",{_id:"aiAskAITrigger__Label"}),Xne=_B(kW,{_id:"aiAskAITrigger__Indicator",iconKey:"openLinkInSameTab"}),Qne=_B(Ane,{_id:"aiSearchResults"}),Zne=e=>{const{searchSettings:{view:t}}=WO(),{tab:n,onTabChange:r,hasContent:a,isHidden:o}=Yte();return $f.jsx(Qne,{value:n,onValueChange:r,"data-has-content":_P(a),"data-dual-pane-search-expanded":_P(a&&"dual-pane"===t&&!o),...e})},Jne=_B("div",{_id:"aiSearchResults__Loading"}),ere=e=>{const{loading:t,resultsList:n}=Yte();return!t||n.length>0?null:$f.jsx(Jne,{...e})},tre=_B(Ete.Empty,{_id:"aiSearchResults__Empty"}),nre=e=>{var t;const{query:n,loading:r,results:a,tab:o}=Yte(),i=null==(t=a[o])?void 0:t.length;return r||!n||i?null:$f.jsx(tre,{children:"No results found.",...e})},rre=_B(Nne,{_id:"aiSearchResults__TabList"}),are=e=>{const{children:t,...n}=e,{searchSettings:{tabs:r}}=WO(),{results:a,loading:o,resultsList:i}=Yte();if(o&&0===i.length)return null;const s=Object.keys(a);return r.length&&s.length?$f.jsx(rre,{tabIndex:-1,children:CP(t,s),...n}):null},ore=_B(Ine,{_id:"aiSearchResults__Tab"}),ire=V.forwardRef(((e,t)=>{const n=V.useRef(null),r=bB(t,n),{tab:a,onClick:o,...i}=e,{results:s,tab:l,inputRef:c}=Yte(),u=s[a].length,d=a===l,p=BO();return V.useEffect((()=>{var e,t,r;if(d){const a=null==(t=null==(e=null==p?void 0:p.shadowHost)?void 0:e.shadowRoot)?void 0:t.activeElement;(null==a?void 0:a.hasAttribute("ikp-tab"))&&(null==(r=n.current)||r.focus())}}),[d]),$f.jsx(ore,{ref:r,"ikp-tab":"",tabIndex:d?0:-1,value:a,children:`${a} (${u})`,onClick:Q3(o,(()=>{var e;null==(e=c.current)||e.focus()})),...i})})),sre=_B("div",{_id:"aiSearchResults__Content"}),lre=_B(L$,{_id:"aiSearchResults__ScrollArea"}),cre=e=>{const{loading:t,resultsList:n}=Yte();return t&&0===n.length?null:$f.jsx(lre,{tabIndex:-1,...e})},ure=_B(D$,{_id:"aiSearchResults__ScrollAreaViewport"}),dre=V.forwardRef((({children:e,...t},n)=>{const r=function(){const e=V.useRef(null),t=V.useCallback((()=>{const t=e.current;t&&(0===t.scrollTop?t.setAttribute("data-scroll-top",""):t.removeAttribute("data-scroll-top"),t.scrollTop+t.clientHeight>=t.scrollHeight-1?t.setAttribute("data-scroll-bottom",""):t.removeAttribute("data-scroll-bottom"))}),[]);return V.useEffect((()=>{const n=e.current;if(n)return t(),n.addEventListener("scroll",t),window.addEventListener("resize",t),()=>{n.removeEventListener("scroll",t),window.removeEventListener("resize",t)}}),[t]),e}(),a=bB(n,r),{tab:o}=Yte();return V.useEffect((()=>{var e;o&&(null==(e=r.current)||e.scrollTo({top:0,behavior:"auto"}))}),[o]),$f.jsx(ure,{ref:a,tabIndex:-1,children:$f.jsx("div",{tabIndex:-1,style:{display:"grid"},children:e}),...t})})),pre=_B(c$,{_id:"aiSearchResults__ScrollAreaScrollbar"}),fre=_B(k$,{_id:"aiSearchResults__ScrollAreaThumb"}),hre=_B(M$,{_id:"aiSearchResults__ScrollAreaCorner"}),mre=_B(Rne,{_id:"aiSearchResults__List"}),gre=e=>{const{children:t,...n}=e,{results:r,tab:a}=Yte(),o=r[a]??[];return $f.jsx(mre,{value:a,"data-has-results":_P(o.length>0),"aria-label":"Search results",children:CP(t,o),tabIndex:-1,...n})},yre=_B(Ete.Item,{_id:"aiSearchResults__Item",asChild:!0}),bre=V.forwardRef((({item:e,onClick:t,onSelect:n,children:r,...a},o)=>{var i;const{searchSettings:{shouldOpenLinksInNewTab:s,view:l}}=WO(),{logEvent:c}=$te(),{query:u,transitionsDisabled:d,selectedItem:p}=Yte(),f=V.useRef(null),h=bB(o,f),m=V.useCallback((e=>{var t;"keyboard"===e.trigger&&(null==(t=f.current)||t.click())}),[]),g=V.useCallback((()=>{c({eventName:"search_result_clicked",properties:{searchQuery:u,title:e.title,url:e.url}})}),[c,u,e.title,e.url]),y=V.useMemo((()=>void 0!==e.shouldOpenInNewTab?e.shouldOpenInNewTab:s),[e.shouldOpenInNewTab,s]),b=p===e.id,v=b||("NONE"===p||p===One),k=V.useMemo((()=>({href:e.url,isExternal:y,appendToUrl:e.appendToUrl,children:r,id:`aiSearchResults__Item-${e.id}`})),[e.url,y,e.appendToUrl,r,e.id]);return $f.jsx(fB,{source:{...e,isExternal:y},children:$f.jsx(yre,{ref:h,value:e.id,"data-type":e.type,"data-breadcrumbs":!!(null==(i=e.breadcrumbs)?void 0:i.length),"data-disable-transitions":_P(d),"data-view":l,onSelect:Q3(n,m),onClick:Q3(t,g),"data-selected":_P(b),tabIndex:v?0:-1,...a,children:$f.jsx(xW,{...k})})})})),vre=_B("div",{_id:"aiSearchResults__ItemBreadcrumbs"}),kre=e=>{var t,n,r,a;const{source:o}=hB(),{tab:i}=Yte();if(!(null==(t=o.breadcrumbs)?void 0:t.length))return null;const{children:s,...l}=e,c=(null==(a=null==(r=null==(n=o.tabs)?void 0:n.find((e=>"string"!=typeof e&&e[0]===i)))?void 0:r[1])?void 0:a.breadcrumbs)??o.breadcrumbs??[];return $f.jsx(vre,{"aria-hidden":"true",children:CP(s,c),...l})},wre=_B(kW,{_id:"aiSearchResults__ItemBreadcrumbIcon",iconKey:"breadcrumbSeparator"}),xre=_B(bW,{_id:"aiSearchResults__ItemIcon"}),Ere=e=>{const{source:t}=hB();return $f.jsx(xre,{iconSettings:t.icon,"data-type":t.type,...e})},Sre=_B("span",{_id:"aiSearchResults__ItemTitle"}),_re=e=>{const{source:t}=hB();return $f.jsx(Sre,{"data-type":t.type,children:t.title,...e})},Tre=_B("span",{_id:"aiSearchResults__ItemTag"}),Cre=e=>{const{source:t}=hB();return $f.jsx(Tre,{"data-type":t.type,children:t.tag,...e})},Are=_B("span",{_id:"aiSearchResults__ItemDescription"}),Nre=e=>{const{source:t}=hB(),{children:n,...r}=e,a=V.useMemo((()=>t.description?X3(t.description):[]),[t.description]);return a.length?$f.jsx(Are,{"data-type":t.type,"aria-hidden":"true",children:CP(n,a),...r}):null},Ire=_B("span",{_id:"aiSearchResults__ItemDescriptionPart"}),Rre=e=>{const{part:t,...n}=e,{source:r}=hB();return"string"==typeof t?t:$f.jsx(Ire,{"data-type":r.type,children:t.content,"data-highlighted":_P(t.highlighted),...n})},Ore=_B(kW,{_id:"aiSearchResults__ItemIndicator"}),Pre=e=>{const{source:t}=hB(),{searchSettings:{view:n}}=WO();return $f.jsx(Ore,{iconKey:t.isExternal?"openLinkInNewTab":"openLinkInSameTab","data-view":n,...e})},Lre=_B("div",{_id:"aiSearchResults__ItemPreview","aria-hidden":!0}),Dre=e=>{const{searchSettings:{view:t,shouldOpenLinksInNewTab:n}}=WO(),{results:r,tab:a,selectedItem:o}=Yte(),i=r[a]??[],s=V.useRef(null),l=V.useMemo((()=>{if(o===One)return s.current;const e=i.find((e=>e.id===o));return s.current=e??null,e}),[o]);if("dual-pane"!==t||o===One)return null;if(!l)return null;const c=void 0!==l.shouldOpenInNewTab?l.shouldOpenInNewTab:n;return $f.jsx(fB,{source:{...l,isExternal:c},children:$f.jsx(Lre,{...e})})},Mre=_B("div",{_id:"aiSearchResults__ItemPreview__Header"}),Fre=_B(xW,{_id:"aiSearchResults__ItemPreview__Heading"}),jre=e=>{const{source:t}=hB();return $f.jsx(Fre,{href:t.url,isExternal:t.isExternal,appendToUrl:t.appendToUrl,"data-type":t.type,...e})},Bre=_B("span",{_id:"aiSearchResults__ItemPreview__Title"}),Hre=e=>{const{source:t}=hB();return $f.jsx(Bre,{children:t.title,...e})},zre=_B(kW,{_id:"aiSearchResults__ItemPreview__Title__LinkIcon",iconKey:"openLinkInNewTab"}),Ure=e=>{const{source:t}=hB();return $f.jsx(zre,{iconKey:t.isExternal?"openLinkInNewTab":"openLinkInSameTab",...e})},$re=_B(kre,{_id:"aiSearchResults__ItemPreview__Breadcrumbs"}),Gre=_B(wre,{_id:"aiSearchResults__ItemPreview__BreadcrumbIcon"}),Vre=_B(V3,{_id:"aiSearchResults__ItemPreview__Body"}),Wre=e=>{const{source:t}=hB(),{resultsList:n}=Yte(),r=n.find((e=>e.id===t.id)),{searchSettings:{shouldOpenLinksInNewTab:a}}=WO();return r?$f.jsx(Vre,{shouldOpenLinksInNewTab:a,children:r.preview,...e}):null},qre=_B("div",{_id:"aiSearchResults__ItemPreview__Outline"}),Yre=e=>{const{source:t}=hB(),{resultsList:n}=Yte(),r=n.find((e=>e.id===t.id)),a=null==r?void 0:r.rootRecord.topLevelHeadings;return(null==a?void 0:a.length)?$f.jsx(qre,{...e}):null},Kre=_B("span",{_id:"aiSearchResults__ItemPreview__Outline__Title",children:"On this page"}),Xre=_B("ul",{_id:"aiSearchResults__ItemPreview__Outline__List"}),Qre=e=>{const{source:t}=hB(),{resultsList:n}=Yte(),r=n.find((e=>e.id===t.id)),a=null==r?void 0:r.rootRecord.topLevelHeadings;if(!(null==a?void 0:a.length))return null;const o=a.map((e=>{var t,n,a;const o=(null==e?void 0:e.anchor)&&(null==e?void 0:e.anchor)===(null==(t=null==r?void 0:r.content)?void 0:t.anchor),i=(null==e?void 0:e.anchor)===(null==(a=null==(n=null==r?void 0:r.pathHeadings)?void 0:n[0])?void 0:a.anchor);return{...e,isMatch:o||i}})),{children:i,...s}=e;return $f.jsx(Xre,{children:CP(i,o),...s})},Zre=_B(xW,{_id:"aiSearchResults__ItemPreview__Outline__Item"}),Jre=e=>{const{searchSettings:{shouldOpenLinksInNewTab:t}}=WO();return $f.jsx(Zre,{isExternal:t,...e})},eae=_B(kW,{_id:"aiSearchResults__ItemPreview__Outline__ItemIcon",iconKey:"newLine"}),tae=_B("span",{_id:"aiSearchResults__ItemPreview__Outline__ItemText"}),nae=e=>$f.jsx(tae,{...e}),rae=_B(bW,{_id:"aiSearchResults__ItemPreview__Outline__ItemLinkIcon",iconSettings:{builtIn:"LuLink"}}),aae=_B("div",{_id:"aiSearchFooter"}),oae=e=>{const{hasContent:t}=Yte();return $f.jsx(aae,{"data-has-results":_P(t),...e})},iae=_B("div",{_id:"aiSearchTagline__Container"}),sae=_B("span",{_id:"aiSearchTagline__Text",children:"Powered by"}),lae=_B(Y3,{_id:"aiSearchTagline__Logo"}),cae=_B("a",{_id:"aiSearchTagline__BrandName",children:"inkeep",href:"https://www.inkeep.com/",target:"_blank",rel:"noopener noreferrer"}),uae=_B(EV,{_id:"modal"}),dae=_B(SV,{_id:"modal__Overlay"}),pae=_B(_V,{_id:"modal__Content","aria-describedby":void 0}),fae=e=>{const t=pD("(max-width: 768px)");return $f.jsx(pae,{"data-mobile":_P(t),...e})},hae=_B(CV,{_id:"modal__Close",children:$f.jsx(kW,{iconKey:"close"})}),mae=e=>rD()?$f.jsx(hae,{...e}):null,gae=_B("div",{_id:"chatButton__Container"}),yae=_B("button",{_id:"chatButton__Button"}),bae=_B("div",{_id:"chatButton__Text"}),vae=_B(ZB,{_id:"chatButton__AvatarContent"}),kae=_B(JB,{_id:"chatButton__AvatarImage"}),wae=V.memo((e=>{const{onLoadingStatusChange:t,avatar:n,...r}=e,{aiChatSettings:a}=WO(),{aiAssistantAvatar:o}=a??{},i="string"==typeof n?n:Zj(null==n?void 0:n.light,null==n?void 0:n.dark),s="string"==typeof o?o:null==o?void 0:o.dark,[l,c]=V.useState(i??s);V.useEffect((()=>{c(i??s)}),[i,s]);return l?$f.jsx(kae,{src:l,"data-type":"image",onLoadingStatusChange:Q3(t,(e=>{"error"===e&&c(null)})),...r}):$f.jsx(BV,{"data-type":"icon",...e})}));const xae={width:void 0,height:void 0};function Eae(e){const{ref:t,box:n="content-box"}=e,[{width:r,height:a},o]=V.useState(xae),i=function(){const e=V.useRef(!1);return V.useEffect((()=>(e.current=!0,()=>{e.current=!1})),[]),V.useCallback((()=>e.current),[])}(),s=V.useRef({...xae}),l=V.useRef(void 0);return l.current=e.onResize,V.useEffect((()=>{if(!t.current)return;if("undefined"==typeof window||!("ResizeObserver"in window))return;const e=new ResizeObserver((([e])=>{const t="border-box"===n?"borderBoxSize":"device-pixel-content-box"===n?"devicePixelContentBoxSize":"contentBoxSize",r=Sae(e,t,"inlineSize"),a=Sae(e,t,"blockSize");if(s.current.width!==r||s.current.height!==a){const e={width:r,height:a};s.current.width=r,s.current.height=a,l.current?l.current(e):i()&&o(e)}}));return e.observe(t.current,{box:n}),()=>{e.disconnect()}}),[n,t,i]),{width:r,height:a}}function Sae(e,t,n){return e[t]?Array.isArray(e[t])?e[t][0][n]:e[t][n]:"contentBoxSize"===t?e.contentRect["inlineSize"===n?"width":"height"]:void 0}const _ae="undefined"!=typeof document?V.useLayoutEffect:V.useEffect;function Tae(e){const{children:t,target:n,tag:r,host:a}=e,o=V.useRef(null),i=V.useRef(null),[,s]=V.useReducer((e=>e+1),0);_ae((()=>{if(!o.current)return;const e=o.current.ownerDocument,t=a??e.body;return i.current=e.createElement(r??"inkeep-portal"),t.appendChild(i.current),s(),()=>{i.current&&t.removeChild(i.current)}}),[]);const l=(null==n?void 0:n.current)??i.current;return l?re.createPortal(t,l):V.createElement("span",{ref:o})}const Cae=({children:e,...t})=>{const{baseSettings:n}=WO(),{rootElement:r}=n;return $f.jsx(Tae,{host:r,...t,children:$f.jsx(uB,{children:e})})},Aae=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,Nae=k5,Iae=(e,t)=>n=>{var r;if(null==(null==t?void 0:t.variants))return Nae(e,null==n?void 0:n.class,null==n?void 0:n.className);const{variants:a,defaultVariants:o}=t,i=Object.keys(a).map((e=>{const t=null==n?void 0:n[e],r=null==o?void 0:o[e];if(null===t)return null;const i=Aae(t)||Aae(r);return a[e][i]})),s=n&&Object.entries(n).reduce(((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e}),{}),l=null==t||null===(r=t.compoundVariants)||void 0===r?void 0:r.reduce(((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every((e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...o,...s}[t]):{...o,...s}[t]===n}))?[...e,n,r]:e}),[]);return Nae(e,i,l,null==n?void 0:n.class,null==n?void 0:n.className)},Rae=Iae(["max-h-screen max-w-screen relative","grow-[5] mx-auto justify-self-center text-left"],{variants:{size:{default:["grow-0 justify-self-center self-center","m-auto max-h-[100vw] max-w-screen","md:w-[min(600px,100%)] md:h-[min(760px,100%)]","lg:w-[min(640px,100%)] lg:h-[min(800px,100%)]","2xl:w-[min(760px,100%)] 2xl:h-[min(900px,100%)]"],expand:["w-full h-full"],"shrink-vertically":["w-full h-auto self-start max-h-full"],"full-viewport":["fixed top-0 left-0 w-screen h-screen z-dropdown"]},variant:{"container-with-shadow":"shadow-[0_25px_50px_-12px_rgba(0,0,0,0.25)] dark:shadow-[none]","no-shadow":"shadow-[none]"}},defaultVariants:{size:"default",variant:"container-with-shadow"}}),Oae=Iae(["inline-flex","items-center","justify-center","align-middle","select-none","relative","whitespace-nowrap","appearance-none","rounded-md","leading-[1.2]","transition-all","duration-300","cursor-pointer","font-semibold","focus:outline-none","focus:z-base","focus-visible:ring","disabled:opacity-40","disabled:cursor-not-allowed","disabled:shadow-none"],{variants:{variant:{solid:["bg-gray-100 dark:bg-white-alpha-100","text-gray-800 dark:text-white-alpha-950","hover:bg-gray-200 dark:hover:bg-white-alpha-200","hover:disabled:bg-gray-100 dark:hover:disabled:bg-white-alpha-100","active:bg-gray-300 dark:active:bg-white-alpha-400"],iconButton:["px-1 text-gray-500 text-md","hover:text-inkeep-primary-strong","dark:text-gray-dark-200","dark:hover:text-inkeep-expanded-primary-300"],ghost:["text-gray-800 dark:text-white-alpha-950","hover:bg-gray-100 dark:hover:bg-white-alpha-100","active:bg-gray-200 dark:active:bg-white-alpha-200"],outline:["border dark:border-white-alpha-200","text-gray-600 dark:text-gray-200","hover:bg-gray-50 dark:hover:bg-white-alpha-100","active:bg-gray-50 dark:active:bg-white-alpha-100"]},size:{sm:"h-8 min-w-8 text-sm px-3",md:"h-10 min-w-10 text-md px-4",xs:"h-6 min-w-6 text-xs px-2"},preset:{neutralFilled:["bg-gray-1000 text-white hover:bg-gray-900 active:bg-gray-900","dark:bg-inkeep-expanded-primary-300 dark:text-gray-dark-950","dark:hover:bg-inkeep-expanded-primary-200","dark:active:bg-inkeep-expanded-primary-200"]}},defaultVariants:{size:"md"}}),Pae=Iae("",{variants:{slot:{root:["flex items-center pl-2","text-xs rounded-md h-6","bg-gray-300 dark:bg-white-alpha-200","min-w-0 w-fit"],icon:["mr-[0.5em]","text-gray-600 dark:text-white-alpha-600"],title:["overflow-hidden whitespace-nowrap text-ellipsis inline-block"],delete:[Oae({variant:"iconButton",size:"md"}),"h-4 px-1 min-w-[unset]","text-gray-600 dark:text-white-alpha-600","hover:bg-transparent hover:text-gray-700","dark:hover:text-white-alpha-500","[&_svg]:w-4 [&_svg]:h-4"]}}}),Lae=Iae("",{variants:{slot:{root:["peer h-4 w-4 shrink-0 rounded-xs","border-2 border-inherit cursor-pointer","disabled:opacity-50","data-[state=checked]:bg-gray-1000","dark:data-[state=checked]:bg-white-alpha-950","data-[state=checked]:border-gray-1000","dark:data-[state=checked]:border-white-alpha-950","text-white data-[state=checked]:text-white","dark:data-[state=checked]:text-gray-1000"],indicator:["flex items-center justify-center","text-current animate-checkbox-check"]}}}),Dae=Iae(["transition-all data-[disable-transitions]:transition-none","duration-100 ease-in-out"],{variants:{slot:{root:["group w-full overflow-hidden border rounded-lg","text-inkeep-primary-text-bold selected:text-inkeep-primary-strong","focus:outline-inkeep-expanded-primary-700 dark:focus:outline-inkeep-expanded-primary-300","dark:text-white-alpha-950 dark:selected:text-inkeep-expanded-primary-300","bg-white selected:bg-inkeep-primary-light-subtle","dark:bg-transparent dark:selected:bg-white-alpha-200","border-gray-200 selected:border-inkeep-primary-medium-subtle","dark:border-white-alpha-200","dark:selected:border-inkeep-expanded-primary-300","py-2 px-5 grid gap-x-3 gap-y-1",'[grid-template:"breadcrumbs_breadcrumbs_breadcrumbs_indicator""icon_title_tag_indicator""description_description_description_indicator"/auto_auto_1fr_auto]',"items-center",'md:data-[view=dual-pane]:[grid-template:"breadcrumbs_breadcrumbs_breadcrumbs""icon_title_tag""description_description_description"/auto_auto_1fr]'],breadcrumbs:["[grid-area:breadcrumbs]","whitespace-nowrap line-clamp-1","flex items-center text-gray-600","dark:text-white-alpha-600 text-xs truncate inline-block"],breadcrumbsIcon:"last-of-type:hidden text-3xs mx-[5px]",icon:["[grid-area:icon]","text-gray-500","group-selected:text-inkeep-primary-text-subtle","dark:text-gray-dark-300 dark:group-selected:text-gray-dark-100"],title:["[grid-area:title]","text-gray-800 dark:text-white-alpha-950","group-selected:text-inkeep-primary-text-bold","dark:group-selected:text-white","font-medium line-clamp-1","whitespace-nowrap text-ellipsis inline-block"],tag:["[grid-area:tag] w-fit justify-self-end","text-xs px-1 uppercase rounded-sm align-middle","font-bold inline-block whitespace-nowrap",'data-[type^="github"]:text-purple-500','data-[type="stackoverflow"]:text-green-500',"shadow-[inset_0_0_0_1px_currentColor]"],description:["[grid-area:description]","text-1sm line-clamp-1","text-gray-700 dark:text-white-alpha-700"],descriptionPart:["data-[highlighted]:font-semibold","data-[highlighted]:text-inkeep-primary-text-subtle","dark:data-[highlighted]:text-gray-dark-50"],indicator:["[grid-area:indicator]","self-center justify-self-end","opacity-0 group-selected:opacity-100","transition-opacity duration-100 ease-in-out ml-auto","md:data-[view=dual-pane]:hidden"]}}}),Mae=Iae("size-4 inline-block leading-[1em] shrink-0 text-current align-middle"),Fae=Iae(["w-full min-w-0 outline-none relative","appearance-none [transition-property:common]","[transition-duration:0.02s]","disabled:opacity-40 disabled:cursor-not-allowed","[--focus-border-color:theme(colors.blue.500)]","[--error-border-color:theme(colors.red.500)]","dark:[--focus-border-color:theme(colors.blue.300)]","dark:[--error-border-color:theme(colors.red.300)]"],{variants:{variant:{outline:["border border-inherit bg-inherit","focus:[&:not([data-invalid])]:border-[--focus-border-color]","focus:[&:not([data-invalid])]:shadow-[0_0_0_1px_var(--focus-border-color)]","data-[invalid]:border-[--error-border-color]","data-[invalid]:shadow-[0_0_0_1px_var(--error-border-color)]"]},size:{md:"p-4 h-10 text-md rounded-md",sm:"px-3 py-2 text-sm rounded-md"}}}),jae=Iae(["transition-[common] ease-out duration-[180]","cursor-pointer text-decoration-none break-words","outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-offset-transparent","hover:underline"]),Bae=Iae("tracking-tight font-semibold",{variants:{size:{lg:"text-xl",md:"text-md"}},defaultVariants:{size:"md"}}),Hae=Iae("text-2sm ms-[1em] break-words pb-3 pl-7 relative [&_li]:mb-1",{variants:{style:{ordered:"list-decimal [counter-increment:item]",unordered:"list-[initial]"}}}),zae=Iae("",{variants:{slot:{root:"w-full border-collapse [font-variant-numeric:lining-nums_tabular-nums]",th:["font-heading font-bold uppercase tracking-wider text-start","data-[is-numeric=true]:text-end","border-b border-gray-100 dark:border-gray-700","text-gray-600 dark:text-gray-400","px-6 py-3 leading-4 text-xs"],td:["text-start data-[is-numeric=true]:text-end","border-b border-gray-100 dark:border-gray-700","px-6 py-4 leading-5"]},size:{md:""}}}),Uae=Iae(["ml-[3px] cursor-pointer","[&_a]:bg-inkeep-primary-light","[&_a]:px-1","[&_a]:py-[1px]","[&_a]:rounded-sm","[&_a]:no-underline","[&_a]:text-inkeep-primary-text-subtle","[&_a]:hover:text-inkeep-primary-text-bold","[&_a]:font-semibold","[&_a]:dark:bg-inkeep-primary-text-subtle","[&_a]:dark:hover:text-inkeep-expanded-primary-200","[&_a]:hover:no-underline"]),$ae=Iae(["bg-inkeep-primary-medium text-inkeep-primary-text-color-on-primary","[overflow-wrap:anywhere] min-w-0 py-[.2rem] my-[.1rem]","px-[.4rem] rounded-[6px] [font-size:85%!important]","font-semibold inline-block","font-mono "]),Gae=Iae("",{variants:{slot:{container:"overflow-y-auto mb-3",header:["flex items-center justify-between","bg-gray-50 dark:bg-gray-dark-800","text-gray-600 dark:text-gray-400","mb-0 leading-[1.25] px-2 text-xs","transition-all duration-200 ease-in-out","rounded-[6px_6px_0_0]"],copyButton:["px-0 bg-inherit text-inherit","hover:text-gray-800 dark:text-white-alpha-700 dark:hover:text-white-alpha-950","dark:hover:bg-transparent h-8 w-8 min-h-8 min-w-8 text-sm","data-[copied]:text-inkeep-primary-medium"],highlighter:["text-1sm overflow-x-auto","rounded-[0_0_6px_6px]","p-[1em] whitespace-pre","m-[0px_0px_0.5em]","bg-gray-50 dark:bg-gray-dark-900","[scrollbar-width:thin]","[--scrollbar-color:var(--color-gray-300)]","dark:[--scrollbar-color:var(--color-gray-dark-600)]","[scrollbar-color:var(--scrollbar-color)_transparent]"]}}}),Vae=Iae("",{variants:{slot:{overlay:["fixed inset-0","bg-overlay-light dark:bg-overlay-dark","data-[state=closed]:hidden","data-[state=open]:animate-fade-in","backdrop-blur-sm overflow-y-auto","place-items-center grid z-overlay"],content:["fixed","top-[5%]","left-1/2","translate-x-[-50%]","z-overlay","flex flex-col","w-full","duration-200","text-inherit rounded-md","bg-white shadow-lg dark:bg-gray-dark-950 dark:shadow-none","focus-visible:outline-none","focus:outline-none","data-[state=closed]:hidden","data-[state=closed]:animate-fade-out","data-[state=open]:animate-fade-in","data-[mobile]:inset-0","data-[mobile]:h-[unset]","data-[mobile]:w-[unset]","data-[mobile]:transform-none","data-[mobile]:rounded-none","[&[data-mobile]>div]:h-full","[&[data-mobile]>div]:max-h-dvh","[&[data-mobile]>div]:max-h-[unset]"],header:["px-6 py-4 text-xl font-semibold flex-0 flex flex-col"],close:[Oae({variant:"ghost",size:"md"}),"w-8 h-8 min-w-0","text-lg text-gray-500 dark:text-white-alpha-500","absolute top-2 right-3"],body:["px-6 py-2 flex-1"]}}}),Wae=Iae("",{variants:{slot:{content:["flex flex-col bg-white dark:bg-gray-dark-800","rounded-md z-popover","shadow-md relative","data-[state=open]:animate-fade-in","data-[state=closed]:animate-fade-out"],arrow:"fill-white dark:fill-gray-dark-800"}}}),qae=Iae("",{variants:{section:{wrapper:"w-full flex flex-col grow-[5] overflow-hidden justify-between max-h-full",header:"relative max-h-full",content:"w-full flex flex-col overflow-hidden p-0 grow-[2]",footer:"justify-self-end flex-shrink-0"}}}),Yae=Iae("",{variants:{slot:{trigger:[Fae({size:"md",variant:"outline"}),"px-4 py-0 flex items-center justify-between"],content:["relative z-dropdown max-h-96 min-w-[8rem]","overflow-hidden rounded-md border","bg-white dark:bg-gray-dark-950 shadow-md","data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out","data-[side=bottom]:translate-y-1.5","data-[side=left]:-translate-x-1.5","data-[side=right]:translate-x-1.5","data-[side=top]:-translate-y-1.5"],viewport:["p-1 h-[var(--radix-select-trigger-height)]","w-full min-w-[var(--radix-select-trigger-width)]"],item:["hover:bg-gray-100 dark:hover:bg-gray-dark-800","focus:bg-gray-100 dark:focus:bg-gray-dark-800","relative flex w-full text-md cursor-pointer py-1.5","select-none outline-none pl-2 pr-8 rounded-md items-center ","data-[disabled]:pointer-events-none data-[disabled]:opacity-50"],itemIndicator:["absolute right-2 flex h-3.5 w-3.5","items-center justify-center"]}}}),Kae=Iae(["h-5 opacity-70 rounded-sm shadow-none","bg-clip-padding cursor-default pointer-events-none","before:invisible after:invisible *:invisible","animate-skeleton-bg-fade select-none","[--start-color:theme(colors.gray.50)]","[--end-color:theme(colors.gray.300)]","dark:[--start-color:theme(colors.gray-dark.800)]","dark:[--end-color:theme(colors.gray-dark.600)]","bg-[--start-color] border-[--end-color]"]),Xae=e=>{const t=eoe(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),Qae(n,t)||Jae(e)},getConflictingClassGroupIds:(e,t)=>{const a=n[e]||[];return t&&r[e]?[...a,...r[e]]:a}}},Qae=(e,t)=>{var n;if(0===e.length)return t.classGroupId;const r=e[0],a=t.nextPart.get(r),o=a?Qae(e.slice(1),a):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join("-");return null==(n=t.validators.find((({validator:e})=>e(i))))?void 0:n.classGroupId},Zae=/^\[(.+)\]$/,Jae=e=>{if(Zae.test(e)){const t=Zae.exec(e)[1],n=null==t?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},eoe=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return aoe(Object.entries(e.classGroups),n).forEach((([e,n])=>{toe(n,r,e,t)})),r},toe=(e,t,n,r)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return roe(e)?void toe(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach((([e,a])=>{toe(a,noe(t,e),n,r)}))}else{(""===e?t:noe(t,e)).classGroupId=n}}))},noe=(e,t)=>{let n=e;return t.split("-").forEach((e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)})),n},roe=e=>e.isThemeGetter,aoe=(e,t)=>t?e.map((([e,n])=>[e,n.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,n])=>[t+e,n]))):e))])):e,ooe=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const a=(a,o)=>{n.set(a,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(a(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):a(e,t)}}},ioe=e=>{const{separator:t,experimentalParseClassName:n}=e,r=1===t.length,a=t[0],o=t.length,i=e=>{const n=[];let i,s=0,l=0;for(let d=0;d<e.length;d++){let c=e[d];if(0===s){if(c===a&&(r||e.slice(d,d+o)===t)){n.push(e.slice(l,d)),l=d+o;continue}if("/"===c){i=d;continue}}"["===c?s++:"]"===c&&s--}const c=0===n.length?e:e.substring(l),u=c.startsWith("!");return{modifiers:n,hasImportantModifier:u,baseClassName:u?c.substring(1):c,maybePostfixModifierPosition:i&&i>l?i-l:void 0}};return n?e=>n({className:e,parseClassName:i}):i},soe=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach((e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)})),t.push(...n.sort()),t},loe=/\s+/;function coe(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=uoe(e))&&(r&&(r+=" "),r+=t);return r}const uoe=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=uoe(e[r]))&&(n&&(n+=" "),n+=t);return n};function doe(e,...t){let n,r,a,o=function(s){const l=t.reduce(((e,t)=>t(e)),e());return n=(e=>({cache:ooe(e.cacheSize),parseClassName:ioe(e),...Xae(e)}))(l),r=n.cache.get,a=n.cache.set,o=i,i(s)};function i(e){const t=r(e);if(t)return t;const o=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a}=t,o=[],i=e.trim().split(loe);let s="";for(let l=i.length-1;l>=0;l-=1){const e=i[l],{modifiers:t,hasImportantModifier:c,baseClassName:u,maybePostfixModifierPosition:d}=n(e);let p=Boolean(d),f=r(p?u.substring(0,d):u);if(!f){if(!p){s=e+(s.length>0?" "+s:s);continue}if(f=r(u),!f){s=e+(s.length>0?" "+s:s);continue}p=!1}const h=soe(t).join(":"),m=c?h+"!":h,g=m+f;if(o.includes(g))continue;o.push(g);const y=a(f,p);for(let n=0;n<y.length;++n){const e=y[n];o.push(m+e)}s=e+(s.length>0?" "+s:s)}return s})(e,n);return a(e,o),o}return function(){return o(coe.apply(null,arguments))}}const poe=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},foe=/^\[(?:([a-z-]+):)?(.+)\]$/i,hoe=/^\d+\/\d+$/,moe=new Set(["px","full","screen"]),goe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,yoe=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,boe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,voe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,koe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,woe=e=>Eoe(e)||moe.has(e)||hoe.test(e),xoe=e=>Moe(e,"length",Foe),Eoe=e=>Boolean(e)&&!Number.isNaN(Number(e)),Soe=e=>Moe(e,"number",Eoe),_oe=e=>Boolean(e)&&Number.isInteger(Number(e)),Toe=e=>e.endsWith("%")&&Eoe(e.slice(0,-1)),Coe=e=>foe.test(e),Aoe=e=>goe.test(e),Noe=new Set(["length","size","percentage"]),Ioe=e=>Moe(e,Noe,joe),Roe=e=>Moe(e,"position",joe),Ooe=new Set(["image","url"]),Poe=e=>Moe(e,Ooe,Hoe),Loe=e=>Moe(e,"",Boe),Doe=()=>!0,Moe=(e,t,n)=>{const r=foe.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))},Foe=e=>yoe.test(e)&&!boe.test(e),joe=()=>!1,Boe=e=>voe.test(e),Hoe=e=>koe.test(e),zoe=doe((()=>{const e=poe("colors"),t=poe("spacing"),n=poe("blur"),r=poe("brightness"),a=poe("borderColor"),o=poe("borderRadius"),i=poe("borderSpacing"),s=poe("borderWidth"),l=poe("contrast"),c=poe("grayscale"),u=poe("hueRotate"),d=poe("invert"),p=poe("gap"),f=poe("gradientColorStops"),h=poe("gradientColorStopPositions"),m=poe("inset"),g=poe("margin"),y=poe("opacity"),b=poe("padding"),v=poe("saturate"),k=poe("scale"),w=poe("sepia"),x=poe("skew"),E=poe("space"),S=poe("translate"),_=()=>["auto",Coe,t],T=()=>[Coe,t],C=()=>["",woe,xoe],A=()=>["auto",Eoe,Coe],N=()=>["","0",Coe],I=()=>[Eoe,Coe];return{cacheSize:500,separator:":",theme:{colors:[Doe],spacing:[woe,xoe],blur:["none","",Aoe,Coe],brightness:I(),borderColor:[e],borderRadius:["none","","full",Aoe,Coe],borderSpacing:T(),borderWidth:C(),contrast:I(),grayscale:N(),hueRotate:I(),invert:N(),gap:T(),gradientColorStops:[e],gradientColorStopPositions:[Toe,xoe],inset:_(),margin:_(),opacity:I(),padding:T(),saturate:I(),scale:I(),sepia:N(),skew:I(),space:T(),translate:T()},classGroups:{aspect:[{aspect:["auto","square","video",Coe]}],container:["container"],columns:[{columns:[Aoe]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Coe]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",_oe,Coe]}],basis:[{basis:_()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Coe]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",_oe,Coe]}],"grid-cols":[{"grid-cols":[Doe]}],"col-start-end":[{col:["auto",{span:["full",_oe,Coe]},Coe]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[Doe]}],"row-start-end":[{row:["auto",{span:[_oe,Coe]},Coe]}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Coe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Coe]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Coe,t]}],"min-w":[{"min-w":[Coe,t,"min","max","fit"]}],"max-w":[{"max-w":[Coe,t,"none","full","min","max","fit","prose",{screen:[Aoe]},Aoe]}],h:[{h:[Coe,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Coe,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Coe,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Coe,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Aoe,xoe]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Soe]}],"font-family":[{font:[Doe]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Coe]}],"line-clamp":[{"line-clamp":["none",Eoe,Soe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",woe,Coe]}],"list-image":[{"list-image":["none",Coe]}],"list-style-type":[{list:["none","disc","decimal",Coe]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",woe,xoe]}],"underline-offset":[{"underline-offset":["auto",woe,Coe]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Coe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Coe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Roe]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ioe]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Poe]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[woe,Coe]}],"outline-w":[{outline:[woe,xoe]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:C()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[woe,xoe]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Aoe,Loe]}],"shadow-color":[{shadow:[Doe]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Aoe,Coe]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[v]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Coe]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",Coe]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",Coe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[_oe,Coe]}],"translate-x":[{"translate-x":[S]}],"translate-y":[{"translate-y":[S]}],"skew-x":[{"skew-x":[x]}],"skew-y":[{"skew-y":[x]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Coe]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Coe]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Coe]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[woe,xoe,Soe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}));function Uoe(...e){return zoe(k5(e))}const $oe=e=>e?"":void 0,Goe=Iae("",{variants:{slot:{root:["bg-gray-50 dark:bg-transparent","border border-transparent dark:border-gray-dark-700","rounded-md p-0.5 flex items-center"],button:[Uoe(Oae({size:"xs"}),"group","rounded data-[active]:shadow","bg-transparent data-[active]:bg-white","text-gray-600 data-[active]:text-gray-800","dark:text-white-alpha-600 dark:data-[active]:text-white-alpha-950","dark:data-[active]:bg-gray-dark-700 dark:shadow-none","hover:text-gray-800 hover:dark:text-white-alpha-950","focus-visible:ring-transparent")],icon:["mr-1 text-gray-500 data-[active]:text-gray-600","dark:text-white-alpha-500 dark:data-[active]:text-white-alpha-600","group-hover:text-gray-600 dark:group-hover:text-white-alpha-600"]}}}),Voe={markdownH1:Uoe(Bae({size:"lg"}),"mb-3"),markdownH2:Uoe(Bae({size:"md"}),"mb-2"),markdownP:Uoe("mb-3 break-words whitespace-pre-wrap","[&+ol,&+li]:mt-0"),markdownLi:Uoe("[&_a]:break-words [&_a]:inline"),markdownUl:Hae({style:"unordered"}),markdownOl:Uoe(Hae({style:"ordered"}),"[inset-inline-start:var(--start,0px)]","[counter-reset:item_calc(var(--start,0)_-_1)]"),markdownLink:Uoe(jae(),"text-inkeep-primary-stronger hover:text-inkeep-primary-strong","dark:text-inkeep-expanded-primary-100 dark:hover:text-inkeep-expanded-primary-300"),markdownSourceLink:Uae(),markdownTable:zae({slot:"root"}),markdownTh:zae({slot:"th"}),markdownTd:zae({slot:"td"}),markdownCode:$ae(),codeblockContainer:Gae({slot:"container"}),codeblockHeader:Gae({slot:"header"}),codeblockCopyButton:Uoe(Oae({}),Gae({slot:"copyButton"})),codeblockHighlighterWrapper:Uoe(),codeblockHighlighter:Gae({slot:"highlighter"}),codeblockCode:"font-mono",markdownInput:Uoe("mr-1")},Woe=["Thinking","Looking for content","Analyzing"];function qoe(){const[e,t]=V.useState(0);return V.useEffect((()=>{const e=setInterval((()=>{t((t=>t+1<Woe.length?t+1:(clearInterval(e),t)))}),3500);return()=>clearInterval(e)}),[]),$f.jsxs("div",{className:"flex items-center space-x-2 font-medium text-sm text-gray-700 dark:text-gray-dark-300","aria-live":"polite",children:[$f.jsx("span",{className:"animate-shimmer bg-gradient-to-br from-gray-700 to-gray-400 dark:from-gray-dark-300 dark:to-gray-dark-100 bg-clip-text text-transparent",children:Woe[e]}),$f.jsx("div",{className:"flex space-x-1",children:[0,1,2].map((e=>$f.jsx("span",{className:"animate-bounce-dot opacity-30",style:{animationDelay:.2*e+"s"},children:"."},e)))})]})}const Yoe=()=>Array.from({length:3}).map(((e,t)=>{const n=t%2==0;return $f.jsxs("div",{className:Uoe("flex items-center flex-row-reverse","data-[even]:flex-row","[--end-color:theme(colors.white-alpha.100)]","dark:[--start-color:theme(colors.gray.300)]","dark:[--end-color:theme(colors.white-alpha.300)]"),"data-even":$oe(n),children:[$f.jsx("div",{"data-even":$oe(n),className:Uoe(Kae(),"h-12 w-12 rounded-full","data-[even]:mr-4 ml-4 data-[even]:ml-0")}),$f.jsxs("div",{"data-even":$oe(n),className:"flex flex-col gap-2 items-end data-[even]:items-start",children:[$f.jsx("div",{"data-even":$oe(n),className:Uoe(Kae(),"h-4 rounded-lg w-60")}),$f.jsx("div",{"data-even":$oe(n),className:Uoe(Kae(),"h-4 rounded-lg w-56")})]})]},t)})),Koe=e=>$f.jsx(KO,{children:$f.jsx(uP,{children:$f.jsx(sD,{children:$f.jsx(Tj,{...e})})})}),Xoe=V.forwardRef((({className:e,size:t,variant:n,...r},a)=>$f.jsx(h4,{ref:a,className:Uoe(Rae({size:t,variant:n}),"data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950","data-[composite]:w-full","max-h-[min(85vh,850px)]",e),...r}))),Qoe=({className:e,...t})=>$f.jsx(g4,{className:Uoe("flex flex-col items-center justify-center h-full gap-12 flex-1 p-8",e),children:$f.jsx(Yoe,{}),...t}),Zoe=({className:e,...t})=>$f.jsx(b4,{className:Uoe(qae({section:"wrapper"}),"rounded-[inherit] font-body",e),...t}),Joe=({className:e,...t})=>$f.jsx(v4,{className:Uoe(qae({section:"header"}),"flex items-center","bg-white dark:bg-gray-dark-950","data-[show-toolbar]:after:absolute","data-[show-toolbar]:after:left-0","data-[show-toolbar]:after:top-full","data-[show-toolbar]:after:h-[1rem]","data-[show-toolbar]:after:w-full","data-[show-toolbar]:after:text-white","data-[show-toolbar]:after:dark:text-gray-dark-950","data-[show-toolbar]:after:bg-[linear-gradient(currentColor,_transparent)]","data-[show-toolbar]:after:z-start",e),...t}),eie=({className:e,...t})=>$f.jsx(k4,{className:Uoe("flex items-center gap-2 w-full pl-6 pr-1","ikp-md:px-4 py-2 justify-between *:m-0",e),...t}),tie=({className:e,...t})=>$f.jsx(w4,{className:Uoe("flex items-center gap-1.5",e),...t}),nie=({className:e,...t})=>$f.jsx(E4,{className:Uoe("text-gray-600 dark:text-gray-dark-100 text-sm",e),...t}),rie=({className:e,...t})=>$f.jsx(S4,{className:Uoe(qae({section:"content"}),"justify-end",e),...t}),aie=({className:e,...t})=>$f.jsx(_4,{className:Uoe("overflow-hidden",e),...t}),oie=V.forwardRef((({className:e,...t},n)=>$f.jsx(C4,{ref:n,className:Uoe("h-full w-full rounded-[inherit]",e),...t}))),iie=({className:e,...t})=>$f.jsx(A4,{className:Uoe("flex select-none touch-none p-0.5","transition-colors duration-[160ms] ease-in-out","w-2.5 border-l border-l-transparent",e),...t}),sie=({className:e,...t})=>$f.jsx(N4,{className:Uoe("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),lie=I4,cie=({className:e,...t})=>$f.jsx(L4,{className:Uoe("ml-auto text-sm flex items-center gap-1",e),...t}),uie=({className:e,...t})=>$f.jsx(M4,{className:Uoe("text-gray-700 dark:text-gray-dark-100",e),...t}),die=({className:e,...t})=>$f.jsx(F4,{className:Uoe("cursor-pointer text-gray-700 dark:text-gray-dark-100",e),...t}),pie=({className:e,...t})=>$f.jsx(B4,{className:Uoe(Wae({slot:"content"}),"px-4 py-2 font-normal","w-[250px] sm:w-[420px]",e),...t}),fie=z4,hie=({className:e,...t})=>$f.jsx(U4,{className:Uoe(Wae({slot:"arrow"}),e),...t}),mie=({className:e,...t})=>$f.jsx(G4,{className:Uoe("mt-4 flex flex-col gap-2",e),...t}),gie=({className:e,...t})=>$f.jsx(W4,{className:Uoe("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),yie=({className:e,...t})=>$f.jsx(Y4,{className:Uoe("flex flex-col","ikp-md:flex-row","flex-wrap gap-2",e),...t}),bie=V.forwardRef((({className:e,style:t,...n},r)=>{const a=V.useRef(null),o=yB(r,a),{width:i=0,height:s=0}=Eae({ref:a,box:"border-box"}),l=Math.max(s,i);return $f.jsx(X4,{ref:o,style:{"--before-size":`${l+100}px`,...t},className:Uoe("flex items-center justify-center relative z-base","min-h-9 rounded-md overflow-hidden","before:absolute before:z-hide","before:bg-gray-300 dark:before:bg-gray-dark-950","before:bg-no-repeat before:[background-position:0_0]","before:[background-size:cover] before:m-auto","before:w-[--before-size] before:h-[--before-size]","data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.600),transparent_30%)]","dark:data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.300),transparent_30%)]","data-[highlight]:first:before:animate-[spin_4s_linear_infinite]","after:absolute after:z-base after:top-[1px] after:left-[1px]","after:w-[calc(100%-2px)] after:h-[calc(100%-2px)]","after:rounded-[5px] after:bg-white dark:after:bg-gray-dark-950",e),...n})})),vie=({className:e,...t})=>$f.jsx(Z4,{className:Uoe(Oae({size:"sm"}),"text-sm font-normal h-auto w-full py-2 z-start","whitespace-normal text-center leading-[unset]","border border-solid","text-gray-800 dark:text-white-alpha-950","border-white-alpha-200","[&:where(:hover,:focus)]:bg-slate-400/5","dark:[&:where(:hover,:focus)]:bg-white-alpha-100 focus:z-start",e),...t}),kie=({className:e,...t})=>$f.jsx(O4,{className:Uoe("flex flex-col w-full min-w-0 min-h-0 text-2sm relative",e),...t}),wie=Iae(["flex relative w-full overflow-hidden py-8","px-6 ikp-md:px-8","flex-col ikp-md:flex-row","min-w-0 grow-[2] data-[role=user]:grow-0","[&:not(:last-child)]:after:absolute","[&:not(:last-child)]:after:border-b","[&:not(:last-child)]:after:bottom-0","[&:not(:last-child)]:after:inset-x-6","ikp-md:[&:not(:last-child)]:after:inset-x-8"]),xie=({className:e,...t})=>$f.jsx(n6,{className:Uoe(wie(),e),...t}),Eie=({className:e,...t})=>$f.jsx(r6,{className:Uoe(wie(),e),...t}),Sie=({className:e,...t})=>$f.jsx(o6,{className:Uoe("flex justify-start overflow-hidden shrink-0 select-none","flex-row ikp-md:flex-col","items-center ikp-md:items-start","ikp-md:pl-3","ikp-md:pr-6","mb-6 ikp-md:mb-0",e),...t}),_ie=({className:e,...t})=>$f.jsx(s6,{className:Uoe("flex items-center gap-3 h-12 w-full",e),children:$f.jsx(qoe,{}),...t}),Tie=({className:e,...t})=>$f.jsx(c6,{className:Uoe("flex items-center justify-center rounded-full","h-auto ikp-md:h-12",e),...t}),Cie=({className:e,...t})=>$f.jsx(d6,{className:Uoe("relative flex h-8 w-8 shrink-0 overflow-hidden","data-[username]:bg-inkeep-primary-lighter","dark:data-[username]:bg-inkeep-expanded-primary-300","text-inkeep-primary-stronger font-semibold ","data-[role=user]:hidden ikp-md:flex","justify-center items-center",e),...t}),Aie=({className:e,...t})=>$f.jsx(f6,{className:Uoe("hidden data-[role=user]:block",e),...t}),Nie=({className:e,...t})=>$f.jsx(m6,{className:Uoe("data-[type=icon]:data-[role=user]:text-inkeep-primary-medium","dark:data-[type=icon]:data-[role=user]:text-inkeep-expanded-primary-300","data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.300)]","data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.700)]","dark:data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.50)]","dark:data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.300)]",e),...t}),Iie=({className:e,...t})=>$f.jsx(y6,{className:Uoe("px-3 py-1 ml-4 data-[role=user]:ml-0","text-sm rounded-full","bg-inkeep-primary-lighter data-[role=user]:bg-gray-50","text-inkeep-primary-stronger dark:text-inkeep-expanded-primary-300","data-[role=user]:text-gray-700 dark:data-[role=user]:text-white-alpha-700","dark:bg-gray-dark-700","ikp-md:hidden",e),...t}),Rie=({className:e,...t})=>$f.jsx(v6,{className:Uoe("overflow-hidden flex flex-col","justify-start grow-2 w-full","data-[role=user]:justify-end","data-[role=user]:shrink-2","data-[role=user]:grow-0","ikp-md:pr-3",e),...t}),Oie=({className:e,...t})=>$f.jsx(w6,{className:Uoe("text-2sm flex-wrap break-words min-w-0 shrink-1 max-w-full",e),...t}),Pie=e=>{var t,n;const{message:r}=Wj(),a=null==(n=null==(t=r.metadata)?void 0:t.attributes)?void 0:n.attachments;return"user"===r.role&&(null==a?void 0:a.length)?$f.jsx(Uj,{children:$f.jsx(x6,{...e})}):null},Lie=({className:e,...t})=>$f.jsx(S6,{className:Uoe("flex flex-wrap gap-2",e),...t}),Die=({className:e,...t})=>$f.jsx(T6,{className:Uoe(Oae({variant:"ghost"}),Pae({slot:"root"}),"font-normal px-2",e),...t}),Mie=({className:e,...t})=>$f.jsx(A6,{className:Uoe(Pae({slot:"icon"}),e),...t}),Fie=({className:e,...t})=>$f.jsx(I6,{className:Uoe(Pae({slot:"title"}),e),...t}),jie=e=>{const{onOpenChange:t,...n}=e,{selectItem:r,isOpen:a,onClose:o,selectedItem:i}=$j();return $f.jsx(R6,{open:a&&null!==i,onOpenChange:Q3(t,(e=>{e||(o(),r(null))})),...n})},Bie=({className:e,...t})=>$f.jsx(O6,{className:Uoe(Vae({slot:"overlay"}),e),...t}),Hie=({className:e,...t})=>$f.jsx(P6,{className:Uoe(Vae({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),zie=({className:e,...t})=>$f.jsx(D6,{className:Uoe(Vae({slot:"header"}),"px-0 pt-0 pb-8 flex flex-col gap-6","font-semibold",e),...t}),Uie=({className:e,...t})=>$f.jsx(M6,{className:Uoe(Vae({slot:"close"}),e),...t}),$ie=({className:e,...t})=>$f.jsx(j6,{className:Uoe(Vae({slot:"body"}),"p-0",e),...t}),Gie=({className:e,componentStyles:t,...n})=>$f.jsx(H6,{className:Uoe("data-[role=user]:whitespace-pre-wrap mb-3 max-w-full",e),componentStyles:If(Voe,t??{}),...n}),Vie=({className:e,...t})=>$f.jsx(U6,{className:Uoe("flex items-center mt-2 mb-3",e),...t}),Wie=({className:e,...t})=>$f.jsx(G6,{className:Uoe("mr-auto flex items-center gap-2",e),...t}),qie=({className:e,...t})=>$f.jsx(V6,{className:Uoe(Oae({size:"xs",variant:"outline"}),"text-xs h-[30px] text-gray-700 dark:text-gray-200 gap-1",e),...t}),Yie=({className:e,...t})=>$f.jsx(q6,{className:Uoe(Oae({variant:"iconButton",size:"sm"}),"data-[upvoted]:text-inkeep-primary-medium","data-[downvoted]:text-inkeep-primary-medium","data-[upvoted]:dark:text-inkeep-expanded-primary-300","data-[downvoted]:dark:text-inkeep-expanded-primary-300","dark:hover:text-inkeep-expanded-primary-300 px-2 text-md",e),...t}),Kie=e=>{var t;const{message:n}=Wj();return"assistant"===n.role&&(null==(t=n.links)?void 0:t.length)?$f.jsx(Y6,{...e}):null},Xie=({className:e,...t})=>$f.jsx(X6,{className:Uoe("block text-xs font-medium my-2 text-gray-700 dark:text-gray-dark-300",e),...t}),Qie=({className:e,...t})=>$f.jsx(Z6,{className:Uoe("w-full relative flex flex-col gap-3 py-[1px]",e),...t}),Zie=({className:e,...t})=>$f.jsx(e8,{className:Uoe(Dae({slot:"root"}),e),...t}),Jie=({className:e,...t})=>$f.jsx(n8,{className:Uoe(Dae({slot:"breadcrumbs"}),e),...t}),ese=({className:e,...t})=>$f.jsx(r8,{className:Uoe(Dae({slot:"breadcrumbsIcon"}),e),...t}),tse=({className:e,...t})=>$f.jsx(o8,{className:Uoe(Dae({slot:"icon"}),e),...t}),nse=({className:e,...t})=>$f.jsx(s8,{className:Uoe(Dae({slot:"title"}),e),...t}),rse=({className:e,...t})=>$f.jsx(c8,{className:Uoe(Dae({slot:"tag"}),e),...t}),ase=({className:e,...t})=>$f.jsx(d8,{className:Uoe(Dae({slot:"description"}),e),...t}),ose=({className:e,...t})=>$f.jsx(f8,{className:Uoe(Dae({slot:"descriptionPart"}),e),...t}),ise=({className:e,...t})=>$f.jsx(m8,{className:Uoe(Dae({slot:"indicator"}),e),...t}),sse=({className:e,...t})=>$f.jsx(g8,{className:Uoe("bg-white dark:bg-gray-dark-950 pt-6 pb-4","px-6 ikp-md:px-8 relative","before:absolute before:block before:top-0 before:left-0","before:pointer-events-none before:w-full before:h-3","before:bg-gradient-to-b before:from-transparent before:to-white","dark:before:to-gray-dark-950 before:-translate-y-full",e),...t}),lse=({className:e,...t})=>$f.jsx(y8,{className:Uoe("relative flex flex-col w-full p-2","rounded-lg items-stretch shadow-md dark:shadow-none","bg-gray-50 dark:bg-white-alpha-50",e),...t}),cse=({className:e,...t})=>$f.jsx(b8,{className:Uoe("flex",e),...t}),use=V.forwardRef((({className:e,...t},n)=>$f.jsx(k8,{ref:n,className:Uoe("min-h-[unset] overflow-hidden w-full resize-none","placeholder:text-gray-500 dark:placeholder:text-gray-dark-200","border-none outline-none shadow-none bg-transparent","px-3 py-2 ml-1 mr-2 max-h-[200px] overflow-y-auto disabled:cursor-not-allowed",e),...t}))),dse=({className:e,...t})=>$f.jsx(x8,{className:Uoe(Oae({}),"bg-transparent relative size-10 rounded-lg transition-all ease-linear","text-inkeep-primary-medium dark:text-inkeep-expanded-primary-500","active:bg-gray-300 dark:active:bg-white-alpha-100","hover:bg-gray-200 hover:text-inkeep-primary-strong","dark:hover:bg-white-alpha-100 dark:hover:text-inkeep-expanded-primary-300","disabled:text-gray-500 dark:disabled:text-white-alpha-200","disabled:cursor-not-allowed hover:disabled:[background:none] active:disabled:[background:none]",e),...t}),pse=({className:e,...t})=>$f.jsx(E8,{className:Uoe(Mae(),"text-inherit rotate-[-30deg]",e),...t}),fse=({className:e,...t})=>$f.jsx(_8,{className:Uoe("flex items-center justify-between","flex-wrap gap-2 px-1 pt-2 pb-1",e),...t}),hse=({className:e,...t})=>$f.jsx(C8,{className:Uoe("flex items-center gap-2 flex-wrap px-3 min-w-0",e),...t}),mse=({className:e,...t})=>$f.jsx(N8,{className:Uoe(Pae({slot:"root"}),e),...t}),gse=({className:e,...t})=>$f.jsx(R8,{className:Uoe(Pae({slot:"icon"}),e),...t}),yse=({className:e,...t})=>$f.jsx(P8,{className:Uoe(Pae({slot:"title"}),e),...t}),bse=({className:e,...t})=>$f.jsx(D8,{className:Uoe(Pae({slot:"delete"}),e),...t}),vse=({className:e,...t})=>$f.jsx(M8,{className:Uoe("flex items-center justify-between","gap-2 flex-wrap px-3",e),...t}),kse=F8,wse=({className:e,...t})=>$f.jsx(j8,{className:Uoe("cursor-pointer text-sm text-gray-600","dark:text-white-alpha-600",e),...t}),xse=({className:e,...t})=>$f.jsx(H8,{className:Uoe("bg-white text-gray-800 fill-white","dark:bg-gray-dark-800 dark:text-white-alpha-950 dark:fill-gray-dark-800","shadow-[0_8px_30px_rgba(0,0,0,0.12)] z-dropdown","px-3 py-2 rounded-md text-sm font-normal max-w-[200px]",e),...t}),Ese=({className:e,...t})=>$f.jsx(U8,{className:Uoe("contents",e),...t}),Sse=({className:e,...t})=>$f.jsx(G8,{className:Uoe(Oae({variant:"outline",size:"xs"}),"light:text-gray-700 gap-1",e),...t}),_se=V8,Tse=e=>{const{onOpenChange:t,...n}=e,{selectInput:r,isOpen:a,onClose:o,selectedInput:i}=Ij();return $f.jsx(W8,{open:a&&null!==i,onOpenChange:Q3(t,(e=>{e||(o(),r(null))})),...n})},Cse=({className:e,...t})=>$f.jsx(q8,{className:Uoe(Vae({slot:"overlay"}),e),...t}),Ase=({className:e,...t})=>$f.jsx(Y8,{className:Uoe(Vae({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),Nse=({className:e,...t})=>$f.jsx(K8,{className:Uoe(Vae({slot:"header"}),"px-0 pt-0 pb-8 gap-y-2","font-semibold",e),...t}),Ise=({className:e,...t})=>$f.jsx(Q8,{className:Uoe("w-full semibold",e),...t}),Rse=({className:e,...t})=>$f.jsx(J8,{className:Uoe("text-gray-700 dark:text-white-alpha-700","text-sm font-normal w-full",e),...t}),Ose=e=>{var t;const{children:n,...r}=e,{selectedInput:a}=Ij(),o=null==(t=null==a?void 0:a.workflowModalProps)?void 0:t.modalHelpElement;return o?$f.jsx(e9,{asChild:!n,children:n||o,...r}):null},Pse=({className:e,...t})=>$f.jsx(t9,{className:Uoe(Vae({slot:"close"}),e),...t}),Lse=({className:e,...t})=>$f.jsx(n9,{className:Uoe(Vae({slot:"body"}),"p-0",e),...t}),Dse=({className:e,...t})=>$f.jsx(a9,{className:Uoe("flex flex-col gap-8",e),...t}),Mse=({className:e,...t})=>$f.jsx(o9,{className:Uoe("flex flex-col gap-2",e),...t}),Fse=({className:e,...t})=>$f.jsx(s9,{className:Uoe("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),jse=({className:e,...t})=>$f.jsx(c9,{className:Uoe("h-10 px-4 rounded-md border","focus:outline-none focus:[--shadow-color:theme(colors.blue.500)]","data-[invalid]:[--shadow-color:theme(colors.red.500)]","shadow-[0_0_0_2px_var(--shadow-color)]",e),...t}),Bse=({className:e,...t})=>$f.jsx(d9,{className:Uoe("text-sm text-red-500",e),...t}),Hse=({className:e,...t})=>$f.jsx(p9,{className:Uoe("flex flex-col gap-2",e),...t}),zse=({className:e,...t})=>$f.jsx(h9,{className:Uoe("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),Use=({className:e,...t})=>$f.jsx(g9,{className:Uoe(Fae({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),$se=({className:e,...t})=>$f.jsx(b9,{className:Uoe("text-sm text-red-500",e),...t}),Gse=({className:e,...t})=>$f.jsx(v9,{className:Uoe(Oae({preset:"neutralFilled"}),"ml-auto",e),...t}),Vse=({className:e,...t})=>$f.jsx(k9,{className:Uoe("mt-4 flex items-start justify-between flex-wrap-reverse gap-2.5",e),...t}),Wse=({className:e,...t})=>$f.jsx(w9,{className:Uoe("flex items-center gap-2.5 flex-wrap",e),...t}),qse=({className:e,...t})=>$f.jsx(x9,{className:Uoe("flex items-center whitespace-nowrap",e),...t}),Yse=({className:e,...t})=>$f.jsx(E9,{className:Uoe("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),Kse=({className:e,...t})=>$f.jsx(S9,{className:Uoe("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),Xse=({className:e,...t})=>$f.jsx(_9,{className:Uoe(jae(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t}),Qse=Uoe(Oae({size:"xs",variant:"outline"}),"text-gray-700 dark:text-white-alpha-700"),Zse=({className:e,...t})=>$f.jsx(C9,{className:Uoe(Qse,e),...t}),Jse=({className:e,...t})=>$f.jsx(N9,{className:Uoe("cursor-pointer",e),...t}),ele=({className:e,...t})=>$f.jsx(R9,{className:Uoe("bg-white text-gray-800 fill-white","dark:bg-gray-dark-800 dark:text-white-alpha-900 dark:fill-gray-dark-800","shadow-[0_8px_30px_rgba(0,0,0,0.12)]","px-2 py-3 rounded-md text-sm font-normal",e),...t}),tle=e=>{const{children:t,...n}=e,{aiChatSettings:r}=WO(),{getHelpOptions:a}=r;if(!a||0===(a??[]).length)return null;const{_pinned:o,_unpinned:i}=a.reduce(((e,t)=>{const n=t.isPinnedToToolbar?"_pinned":"_unpinned";return{...e,[n]:[...e[n],t]}}),{_pinned:[],_unpinned:[]}),s=1===i.length?[...o,i[0]]:o,l=1===i.length?[]:i,c=function(){const[e,t]=V.useState(!1);return{open:e,setOpen:t}}();return $f.jsx(jj,{value:c,children:$f.jsx(O9,{open:c.open,onOpenChange:c.setOpen,children:CP(t,{pinned:s,unpinned:l}),...n})})},nle=({className:e,...t})=>$f.jsx(D9,{className:Uoe(Qse,e),...t}),rle=({className:e,...t})=>$f.jsx(F9,{className:Uoe(Qse,e),...t}),ale=({className:e,...t})=>$f.jsx(B9,{className:Uoe(Wae({slot:"content"}),"gap-3 px-3 py-4 ","w-[254px] text-sm font-normal",e),...t}),ole=({className:e,...t})=>$f.jsx(H9,{className:Uoe(Wae({slot:"arrow"}),e),...t}),ile=({className:e,...t})=>$f.jsx(z9,{className:Uoe("flex items-center cursor-pointer hover:underline",e),...t}),sle=({className:e,...t})=>$f.jsx($9,{className:Uoe("mr-2 text-inkeep-primary-medium",e),...t}),lle=e=>{const{onOpenChange:t,...n}=e,{currentFeedback:r,setCurrentFeedback:a}=wD();return $f.jsx(G9,{open:null!==r,onOpenChange:Q3(t,(()=>a(null))),...n})},cle=({className:e,...t})=>$f.jsx(V9,{className:Uoe(Vae({slot:"overlay"}),e),...t}),ule=({className:e,...t})=>$f.jsx(W9,{className:Uoe(Vae({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-[480px]",e),...t}),dle=({className:e,...t})=>$f.jsx(q9,{className:Uoe(Vae({slot:"header"}),"px-0 pt-0 pb-8","font-semibold",e),...t}),ple=({className:e,...t})=>$f.jsx(Y9,{className:Uoe(Vae({slot:"close"}),e),...t}),fle=({className:e,...t})=>$f.jsx(K9,{className:Uoe(Vae({slot:"body"}),"p-0",e),...t}),hle=({className:e,...t})=>$f.jsx(Q9,{className:Uoe("flex flex-col gap-8",e),...t}),mle=({className:e,...t})=>$f.jsx(J9,{className:Uoe("flex flex-wrap items-center","gap-[1rem_0.5rem]",e),...t}),gle=({className:e,...t})=>$f.jsx(t7,{className:Uoe(Lae({slot:"root"}),e),...t}),yle=({className:e,...t})=>$f.jsx(n7,{className:Uoe(Lae({slot:"indicator"}),e),...t}),ble=({className:e,...t})=>$f.jsx(a7,{className:Uoe("select-none cursor-pointer font-medium text-sm","text-gray-700 dark:text-white-alpha-700",e),...t}),vle=({className:e,...t})=>$f.jsx(i7,{className:Uoe("flex-[0_0_100%]","min-h-20 py-2 border rounded-md","px-4",e),...t}),kle=({className:e,...t})=>$f.jsx(s7,{className:Uoe(Oae({preset:"neutralFilled"}),"ml-auto",e),...t}),wle=({className:e,...t})=>$f.jsx(c7,{className:Uoe("w-full overflow-y-auto",e),...t}),xle=({className:e,...t})=>$f.jsx(d7,{className:Uoe(qae({section:"content"}),"relative pt-4 pb-8 gap-8","items-start justify-center w-full","px-6 ikp-md:px-14 ikp-md:pb-14",e),...t}),Ele=({className:e,...t})=>$f.jsx(f7,{className:Uoe(Oae({variant:"ghost"}),"absolute right-1 top-1","text-xl text-gray-500 dark:text-white-alpha-500 w-10 h-10 z-modal",e),...t}),Sle=({className:e,...t})=>$f.jsx(h7,{className:Uoe("mt-12 flex flex-col gap-6",e),...t}),_le=({className:e,...t})=>$f.jsx(g7,{className:Uoe("font-semibold text-xl leading-5",e),...t}),Tle=({className:e,...t})=>$f.jsx(b7,{className:Uoe("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),Cle=({className:e,...t})=>$f.jsx(k7,{className:Uoe("w-full",e),...t}),Ale=({className:e,...t})=>$f.jsx(x7,{className:Uoe("mb-8 flex flex-col gap-2 data-[hidden]:hidden","data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:items-center",e),...t}),Nle=({className:e,...t})=>$f.jsx(S7,{className:Uoe("font-medium text-sm text-gray-700","dark:text-white-alpha-700 ","font-medium relative","data-[required]:after:absolute",'data-[required]:after:[content:"*"]',"data-[required]:after:ml-1","data-[required]:after:mt-0","data-[required]:after:text-red-500","dark:data-[required]:after:text-red-300",e),...t}),Ile=({className:e,...t})=>$f.jsx(T7,{className:Uoe(Fae({size:"md",variant:"outline"}),e),...t}),Rle=({className:e,...t})=>$f.jsx(C7,{className:Uoe(Fae({size:"md",variant:"outline"}),e),...t}),Ole=({className:e,...t})=>$f.jsx(N7,{className:Uoe(Fae({size:"md",variant:"outline"}),"text-sm pl-2 file:h-full file:cursor-pointer py-0","file:bg-transparent file:border-none file:font-medium","file:text-sm file:text-gray-700 dark:file:text-white-alpha-700",e),...t}),Ple=({className:e,...t})=>$f.jsx(I7,{className:Uoe(Fae({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),Lle=({className:e,...t})=>$f.jsx(O7,{className:Uoe(Lae({slot:"root"}),e),...t}),Dle=({className:e,...t})=>$f.jsx(P7,{className:Uoe(Lae({slot:"indicator"}),e),...t}),Mle=e=>{const{field:t,error:n,fieldProps:r}=Mj(),{onValueChange:a,...o}=e;return $f.jsx(L7,{name:t.name,"data-invalid":_P(!!n),value:r.value,onValueChange:Q3(a,r.onChange),...o})},Fle=({className:e,...t})=>$f.jsx(D7,{className:Uoe(Yae({slot:"trigger"}),e),...t}),jle=e=>{const{field:t}=Mj();return $f.jsx(M7,{placeholder:"placeholder"in t?t.placeholder:void 0,...e})},Ble=({className:e,...t})=>$f.jsx(F7,{className:Uoe("h-4 w-4 opacity-45",e),...t}),Hle=({className:e,...t})=>$f.jsx(j7,{className:Uoe(Yae({slot:"content"}),e),...t}),zle=({className:e,...t})=>$f.jsx(B7,{className:Uoe(Yae({slot:"viewport"}),e),...t}),Ule=({className:e,...t})=>$f.jsx(H7,{className:Uoe(Yae({slot:"item"}),e),...t}),$le=z7,Gle=({className:e,...t})=>$f.jsx(U7,{className:Uoe(Yae({slot:"itemIndicator"}),e),...t}),Vle=({className:e,...t})=>$f.jsx(G7,{className:Uoe("text-sm flex items-center text-red-500 dark:text-red-300",e),...t}),Wle=({className:e,...t})=>$f.jsx(W7,{className:Uoe("text-red-500 dark:text-red-300",e),...t}),qle=({className:e,...t})=>$f.jsx(q7,{className:Uoe("flex items-center justify-end gap-6 w-full",e),...t}),Yle=({className:e,...t})=>$f.jsx(K7,{className:Uoe(Oae({variant:"outline"}),e),...t}),Kle=({className:e,...t})=>$f.jsx(Q7,{className:Uoe(Oae({preset:"neutralFilled"}),e),...t}),Xle=({className:e,...t})=>$f.jsx(J7,{className:Uoe("flex flex-col items-center justify-center h-auto","m-auto px-6 py-8 ikp-md:py-14 ikp-md:px-14",e),...t}),Qle=({className:e,...t})=>$f.jsx(tee,{className:Uoe("mb-6 font-bold tracking-tight","text-3xl md:text-4xl leading-6 md:leading-5",e),...t}),Zle=e=>{const{form:t}=lD();return $f.jsx(nee,{children:null==t?void 0:t.successView.message,...e})},Jle=({className:e,...t})=>$f.jsx(aee,{className:Uoe(Oae({preset:"neutralFilled"}),"w-full mt-12 gap-2 shrink-0",e),...t});function ece(){const{searchSettings:{tabs:e}}=WO();return $f.jsxs("div",{className:"flex flex-col h-full",children:[$f.jsxs("div",{className:Uoe("h-[calc(100%-24px)]"),children:[$f.jsx("div",{className:"flex px-5 py-1 gap-3 data-[hidden]:hidden","data-hidden":$oe(0===e.length),children:Array.from({length:2}).map(((e,t)=>$f.jsx("div",{className:Uoe(Kae(),"h-[27.88px] w-16 rounded-full")},t)))}),$f.jsxs("div",{className:"flex px-5 py-1 gap-5 h-full",children:[$f.jsx("div",{className:"flex flex-col flex-[0_0_40%]",children:Array.from({length:4}).map(((e,t)=>$f.jsx("div",{className:"flex items-center pb-2.5 w-full",children:$f.jsx("div",{className:Uoe(Kae(),"h-20 rounded-lg grow-[1]")})},t)))}),$f.jsx("div",{className:Uoe(Kae(),"h-full w-full rounded-md")})]})]}),$f.jsx("div",{className:"flex pt-1 pb-3 px-5 justify-self-end",children:$f.jsx("div",{className:Uoe(Kae(),"h-[24px] w-40 rounded-md")})})]})}const tce=e=>$f.jsx(Wte,{...e}),nce=({className:e,...t})=>$f.jsx(Lne,{className:Uoe("data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950",e),...t}),rce=({className:e,...t})=>$f.jsx(Mne,{className:Uoe("data-[hidden]:hidden flex flex-col w-full",e),...t}),ace=jne,oce=({className:e,...t})=>$f.jsx(Bne,{className:Uoe("flex items-center w-full px-5 pt-3 pb-3 gap-3","[[data-show-ask-ai-card]_&]:pb-1",e),...t}),ice=({className:e,...t})=>$f.jsx(Hne,{className:Uoe("min-w-5 w-5 text-xl","text-gray-500 dark:text-white-alpha-600",e),...t}),sce=({className:e,...t})=>$f.jsx(Une,{className:Uoe("min-h-[38px] overflow-hidden w-full resize-none","py-1.5 max-h-[10vh] placeholder:text-gray-500","w-full dark:placeholder:text-gray-dark-200","border-none outline-none shadow-none bg-transparent",e),...t}),lce=({className:e,...t})=>$f.jsx(Gne,{className:Uoe("animate-spin text-gray-400 dark:text-white-alpha-500",e),...t}),cce=({className:e,...t})=>$f.jsx(Wne,{className:Uoe(Dae({slot:"root"}),"m-auto w-[calc(100%_-_theme(spacing.5))]","border-transparent dark:border-transparent","mb-3 py-0 h-11 cursor-pointer",e),...t}),uce=({className:e,...t})=>$f.jsx(Yne,{className:Uoe("[grid-area:icon] h-5 w-5","[--start-color:theme(colors.inkeep-expanded-primary.300)]","[--end-color:theme(colors.inkeep-expanded-primary.700)]","dark:[--start-color:theme(colors.inkeep-expanded-primary.50)]","dark:[--end-color:theme(colors.inkeep-expanded-primary.300)]",e),...t}),dce=({className:e,...t})=>$f.jsx(Kne,{className:Uoe(Dae({slot:"title"}),"font-normal",e),...t}),pce=({className:e,...t})=>$f.jsx(Xne,{className:Uoe(Dae({slot:"indicator"}),e),...t}),fce=({className:e,...t})=>$f.jsx(Zne,{className:Uoe(qae({section:"content"}),"h-0 max-h-full","data-[has-content]:h-[min(calc(85vh_-_72px),calc(850px_-_72px_-_275px))]","md:data-[dual-pane-search-expanded]:h-[min(calc(85vh_-_72px),calc(900px_-_72px_-_135px))]","transition-all duration-300 ease-in-out data-[has-content]:pb-2",e),...t}),hce=({className:e,...t})=>$f.jsx(ere,{className:Uoe("group mb-1 relative transition-all w-full h-full",e),children:$f.jsx(ece,{}),...t}),mce=({className:e,...t})=>$f.jsx(nre,{className:Uoe("flex w-full h-full","overflow-hidden relative grow-[2]","items-center justify-center text-gray-600","dark:text-gray-dark-400 mt-8",e),...t}),gce=({className:e,...t})=>$f.jsx(are,{className:Uoe("shrink-0 max-w-full","flex gap-3 px-5 py-1","overflow-x-auto [scrollbar-width:thin]",e),...t}),yce=({className:e,...t})=>$f.jsx(ire,{className:Uoe("px-3 text-1sm font-medium rounded-full shrink-0","py-1 transition-all duration-200 leading-snug","border border-gray-300 dark:border-gray-dark-500","hover:bg-gray-50 dark:hover:bg-white-alpha-50","data-[state=active]:bg-inkeep-primary-light-subtle","hover:data-[state=active]:bg-inkeep-primary-light-subtle","data-[state=active]:text-inkeep-expanded-primary-900","data-[state=active]:border-inkeep-primary-medium-subtle","dark:data-[state=active]:bg-white-alpha-100","dark:hover:data-[state=active]:bg-white-alpha-100","dark:data-[state=active]:text-inkeep-expanded-primary-300","dark:data-[state=active]:border-inkeep-expanded-primary-300","focus:outline-inkeep-expanded-primary-700 dark:focus:outline-inkeep-expanded-primary-300",e),...t}),bce=({className:e,...t})=>$f.jsx(sre,{className:Uoe("flex overflow-hidden",e),...t}),vce=({className:e,...t})=>$f.jsx(cre,{className:Uoe("overflow-hidden h-full","first:[[data-view=dual-pane]_&]:flex-1 md:first:[[data-view=dual-pane]_&]:flex-[0_0_40%]",'befter:content-[""] befter:absolute befter:inset-x-0',"befter:h-10 befter:pointer-events-none","befter:transition-opacity befter:duration-300","befter:ease-in-out befter:from-white","befter:dark:from-gray-dark-950 befter:to-transparent","before:top-0 after:bottom-0","before:bg-gradient-to-b after:bg-gradient-to-t","has-[[data-scroll-top]]:before:opacity-0","has-[[data-scroll-bottom]]:after:opacity-0",e),...t}),kce=({className:e,...t})=>$f.jsx(dre,{className:Uoe("h-full w-full rounded-[inherit]",e),...t}),wce=({className:e,...t})=>$f.jsx(pre,{className:Uoe("flex select-none touch-none p-0.5","transition-colors duration-[160ms] ease-in-out","w-2.5 border-l border-l-transparent",e),...t}),xce=({className:e,...t})=>$f.jsx(fre,{className:Uoe("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),Ece=hre,Sce=({className:e,...t})=>$f.jsx(gre,{className:Uoe("w-full flex flex-col","items-center gap-2.5 h-full shrink-0","px-5 py-1 content-center -my-[1px]",e),...t}),_ce=({className:e,...t})=>$f.jsx(bre,{className:Uoe(Dae({slot:"root"}),e),...t}),Tce=({className:e,...t})=>$f.jsx(kre,{className:Uoe(Dae({slot:"breadcrumbs"}),e),...t}),Cce=({className:e,...t})=>$f.jsx(wre,{className:Uoe(Dae({slot:"breadcrumbsIcon"}),e),...t}),Ace=({className:e,...t})=>$f.jsx(Ere,{className:Uoe(Dae({slot:"icon"}),e),...t}),Nce=({className:e,...t})=>$f.jsx(_re,{className:Uoe(Dae({slot:"title"}),e),...t}),Ice=({className:e,...t})=>$f.jsx(Cre,{className:Uoe(Dae({slot:"tag"}),e),...t}),Rce=({className:e,...t})=>$f.jsx(Nre,{className:Uoe(Dae({slot:"description"}),e),...t}),Oce=({className:e,...t})=>$f.jsx(Rre,{className:Uoe(Dae({slot:"descriptionPart"}),e),...t}),Pce=({className:e,...t})=>$f.jsx(Pre,{className:Uoe(Dae({slot:"indicator"}),e),...t}),Lce=({className:e,...t})=>$f.jsx(Dre,{className:Uoe("flex-1 min-w-0 break-words py-4 pr-12 pl-8","hidden md:flex flex-col gap-6",e),...t}),Dce=({className:e,...t})=>$f.jsx(Mre,{className:Uoe("flex flex-col gap-5",e),...t}),Mce=({className:e,...t})=>$f.jsx(jre,{className:Uoe("inline-block",e),...t}),Fce=({className:e,...t})=>$f.jsx(Hre,{className:Uoe("text-3xl leading-snug tracking-tight","font-semibold hover:text-inkeep-primary-stronger","dark:hover:text-inkeep-expanded-primary-100",e),...t}),jce=({className:e,...t})=>$f.jsx(Ure,{className:Uoe("inline-block ml-2 mb-2 tracking-tight text-gray-500 dark:text-white-alpha-500",e),...t}),Bce=({className:e,...t})=>$f.jsx($re,{className:Uoe(Dae({slot:"breadcrumbs"}),"!line-clamp-none whitespace-normal text-gray-500 dark:text-gray-dark-200 text-sm",e),...t}),Hce=({className:e,...t})=>$f.jsx(Gre,{className:Uoe(Dae({slot:"breadcrumbsIcon"}),e),...t}),zce=({className:e,componentStyles:t,...n})=>$f.jsx(Wre,{className:Uoe("max-w-full text-gray-700 dark:text-gray-dark-100 [&_em]:font-bold [&_em]:not-italic",e),componentStyles:If(Voe,t??{}),...n}),Uce=({className:e,...t})=>$f.jsx(Yre,{className:Uoe("flex flex-col gap-3",e),...t}),$ce=({className:e,...t})=>$f.jsx(Kre,{className:Uoe("text-xs uppercase font-semibold tracking-widest","text-gray-500 dark:text-white-alpha-500",e),...t}),Gce=({className:e,...t})=>$f.jsx(Qre,{className:Uoe("flex flex-col gap-4",e),...t}),Vce=({className:e,...t})=>$f.jsx(Jre,{className:Uoe("flex items-center gap-1 text-gray-600 dark:text-white-alpha-600 font-medium ",""+(t.href?"cursor-pointer hover:text-gray-800 dark:hover:text-white-alpha-800 dark:data-[is-match]:hover:text-inkeep-expanded-primary-200 data-[is-match]:hover:text-inkeep-expanded-primary-800 ":""),"data-[is-match]:text-inkeep-expanded-primary-700","dark:data-[is-match]:text-inkeep-expanded-primary-300",e),...t}),Wce=({className:e,...t})=>$f.jsx(eae,{className:Uoe(e),...t}),qce=({className:e,...t})=>$f.jsx(nae,{className:Uoe(e),...t}),Yce=({className:e,...t})=>$f.jsx(rae,{className:Uoe("h-3 !min-h-0 !min-w-0",e),...t}),Kce=({className:e,...t})=>$f.jsx(oae,{className:Uoe("justify-self-end pt-1 pb-3 px-5","hidden data-[has-results]:flex",e),...t}),Xce=({className:e,...t})=>$f.jsx(iae,{className:Uoe("flex items-center whitespace-nowrap",e),...t}),Qce=({className:e,...t})=>$f.jsx(sae,{className:Uoe("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),Zce=({className:e,...t})=>$f.jsx(lae,{className:Uoe("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),Jce=({className:e,...t})=>$f.jsx(cae,{className:Uoe(jae(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t}),eue=e=>{const{onOpenChange:t,config:n,...r}=e,a=(e=>{const{isOpen:t,onOpenChange:n,shortcutKey:r}=e??{},[a=!1,o]=qF({prop:t,defaultProp:t,onChange:n});return V.useEffect((()=>{const e=e=>{r&&(e.metaKey||e.ctrlKey)&&e.key.toLowerCase()===r.toLowerCase()&&(e.preventDefault(),e.stopPropagation(),o(!0)),"Escape"===e.key&&t&&(e.preventDefault(),o(!1))};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}),[r,o,t]),{isOpen:a,setOpen:o,shortcutKey:r}})(n);return $f.jsx(nD,{modal:a,children:$f.jsx(uae,{open:a.isOpen,onOpenChange:Q3(t,(e=>a.setOpen(e))),...r})})},tue=({className:e,...t})=>$f.jsx(dae,{className:Uoe(Vae({slot:"overlay"}),e),...t}),nue=({className:e,...t})=>$f.jsx(fae,{className:Uoe(Vae({slot:"content"}),"w-[min(90vw,720px)]","has-[[data-dual-pane-search-expanded]]:w-[min(90vw,1000px)] transition-width duration-300",e),...t}),rue=({className:e,...t})=>$f.jsx(mae,{className:Uoe(Vae({slot:"close"}),Oae({variant:"ghost",size:"xs"}),"relative inset-[unset] ml-auto text-lg text-gray-500 dark:text-white-alpha-500 px-0","md:hidden",e),...t}),aue=({className:e,...t})=>$f.jsx(gae,{className:Uoe("fixed right-6 bottom-6 mr-[var(--removed-body-scroll-bar-size)]",e),...t}),oue=({className:e,...t})=>$f.jsx(yae,{className:Uoe("bg-inkeep-primary-text-bold dark:bg-gray-dark-600 rounded-full px-[18px] py-3 text-white font-medium flex items-center space-x-2 shadow-2xl dark:shadow-none transition-transform ease-in-out hover:scale-110",e),...t}),iue=({className:e,...t})=>$f.jsx(bae,{className:Uoe("flex items-center",e),...t}),sue=({className:e,...t})=>$f.jsx(wae,{className:Uoe("data-[type=icon]:[--start-color:theme(colors.inkeep-expanded-primary.50)]","data-[type=icon]:[--end-color:theme(colors.inkeep-expanded-primary.300)]","h-6 w-6",e),...t}),lue=({className:e,...t})=>$f.jsx(vae,{className:Uoe("",e),...t}),cue=e=>$f.jsx(zO,{styles:'*, ::before, ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n\n::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}/*\n! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com\n*//*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: var(--ikp-color-gray-200); /* 2 */\n}\n\n::before,\n::after {\n --tw-content: \'\';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user\'s configured `sans` font-family by default.\n5. Use the user\'s configured `sans` font-feature-settings by default.\n6. Use the user\'s configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\n\nhtml,\n:host {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n -webkit-tap-highlight-color: transparent; /* 7 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\n\nbody {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user\'s configured `mono` font-family by default.\n2. Use the user\'s configured `mono` font-feature-settings by default.\n3. Use the user\'s configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family: var(--ikp-font-family-mono); /* 1 */\n font-feature-settings: normal; /* 2 */\n font-variation-settings: normal; /* 3 */\n font-size: 1em; /* 4 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n letter-spacing: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\nbutton,\ninput:where([type=\'button\']),\ninput:where([type=\'reset\']),\ninput:where([type=\'submit\']) {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring {\n outline: auto;\n}\n\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n[type=\'search\'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nlegend {\n padding: 0;\n}\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nReset default styling for dialogs.\n*/\ndialog {\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\ntextarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user\'s configured gray 400 color.\n*/\n\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1; /* 1 */\n color: var(--ikp-color-gray-400); /* 2 */\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1; /* 1 */\n color: var(--ikp-color-gray-400); /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\nbutton,\n[role="button"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don\'t get the pointer cursor.\n*/\n:disabled {\n cursor: default;\n}\n\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden]:where(:not([hidden="until-found"])) {\n display: none;\n}\n.container {\n width: 100%;\n}\n@media (min-width: 640px) {\n\n .container {\n max-width: 640px;\n }\n}\n@media (min-width: 768px) {\n\n .container {\n max-width: 768px;\n }\n}\n@media (min-width: 1024px) {\n\n .container {\n max-width: 1024px;\n }\n}\n@media (min-width: 1280px) {\n\n .container {\n max-width: 1280px;\n }\n}\n@media (min-width: 1536px) {\n\n .container {\n max-width: 1536px;\n }\n}\n.pointer-events-none {\n pointer-events: none;\n}\n.fixed {\n position: fixed;\n}\n.absolute {\n position: absolute;\n}\n.relative {\n position: relative;\n}\n.inset-0 {\n inset: 0px;\n}\n.inset-\\[unset\\] {\n inset: unset;\n}\n.bottom-6 {\n bottom: 1.5rem;\n}\n.left-0 {\n left: 0px;\n}\n.left-1\\/2 {\n left: 50%;\n}\n.left-\\[unset\\] {\n left: unset;\n}\n.right-1 {\n right: 0.25rem;\n}\n.right-2 {\n right: 0.5rem;\n}\n.right-3 {\n right: 0.75rem;\n}\n.right-6 {\n right: 1.5rem;\n}\n.top-0 {\n top: 0px;\n}\n.top-1 {\n top: 0.25rem;\n}\n.top-1\\/2 {\n top: 50%;\n}\n.top-2 {\n top: 0.5rem;\n}\n.top-\\[5\\%\\] {\n top: 5%;\n}\n.z-base {\n z-index: var(--ikp-z-index-base);\n}\n.z-dropdown {\n z-index: var(--ikp-z-index-dropdown);\n}\n.z-modal {\n z-index: var(--ikp-z-index-modal);\n}\n.z-overlay {\n z-index: var(--ikp-z-index-overlay);\n}\n.z-popover {\n z-index: var(--ikp-z-index-popover);\n}\n.z-start {\n z-index: var(--ikp-z-index-start);\n}\n.m-\\[0px_0px_0\\.5em\\] {\n margin: 0px 0px 0.5em;\n}\n.m-auto {\n margin: auto;\n}\n.-my-\\[1px\\] {\n margin-top: -1px;\n margin-bottom: -1px;\n}\n.mx-1 {\n margin-left: 0.25rem;\n margin-right: 0.25rem;\n}\n.mx-\\[5px\\] {\n margin-left: 5px;\n margin-right: 5px;\n}\n.mx-auto {\n margin-left: auto;\n margin-right: auto;\n}\n.my-2 {\n margin-top: 0.5rem;\n margin-bottom: 0.5rem;\n}\n.my-6 {\n margin-top: 1.5rem;\n margin-bottom: 1.5rem;\n}\n.my-\\[\\.1rem\\] {\n margin-top: .1rem;\n margin-bottom: .1rem;\n}\n.mb-0 {\n margin-bottom: 0px;\n}\n.mb-1 {\n margin-bottom: 0.25rem;\n}\n.mb-2 {\n margin-bottom: 0.5rem;\n}\n.mb-3 {\n margin-bottom: 0.75rem;\n}\n.mb-5 {\n margin-bottom: 1.25rem;\n}\n.mb-6 {\n margin-bottom: 1.5rem;\n}\n.mb-8 {\n margin-bottom: 2rem;\n}\n.ml-1 {\n margin-left: 0.25rem;\n}\n.ml-2 {\n margin-left: 0.5rem;\n}\n.ml-4 {\n margin-left: 1rem;\n}\n.ml-\\[3px\\] {\n margin-left: 3px;\n}\n.ml-auto {\n margin-left: auto;\n}\n.mr-1 {\n margin-right: 0.25rem;\n}\n.mr-2 {\n margin-right: 0.5rem;\n}\n.mr-\\[0\\.5em\\] {\n margin-right: 0.5em;\n}\n.mr-\\[var\\(--removed-body-scroll-bar-size\\)\\] {\n margin-right: var(--removed-body-scroll-bar-size);\n}\n.mr-auto {\n margin-right: auto;\n}\n.ms-\\[1em\\] {\n margin-inline-start: 1em;\n}\n.mt-12 {\n margin-top: 3rem;\n}\n.mt-2 {\n margin-top: 0.5rem;\n}\n.mt-4 {\n margin-top: 1rem;\n}\n.mt-8 {\n margin-top: 2rem;\n}\n.line-clamp-1 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n}\n.\\!line-clamp-none {\n overflow: visible !important;\n display: block !important;\n -webkit-box-orient: horizontal !important;\n -webkit-line-clamp: none !important;\n}\n.block {\n display: block;\n}\n.inline-block {\n display: inline-block;\n}\n.flex {\n display: flex;\n}\n.inline-flex {\n display: inline-flex;\n}\n.table {\n display: table;\n}\n.grid {\n display: grid;\n}\n.contents {\n display: contents;\n}\n.hidden {\n display: none;\n}\n.size-10 {\n width: 2.5rem;\n height: 2.5rem;\n}\n.size-4 {\n width: 1rem;\n height: 1rem;\n}\n.h-0 {\n height: 0px;\n}\n.h-10 {\n height: 2.5rem;\n}\n.h-11 {\n height: 2.75rem;\n}\n.h-12 {\n height: 3rem;\n}\n.h-20 {\n height: 5rem;\n}\n.h-3 {\n height: 0.75rem;\n}\n.h-3\\.5 {\n height: 0.875rem;\n}\n.h-4 {\n height: 1rem;\n}\n.h-5 {\n height: 1.25rem;\n}\n.h-6 {\n height: 1.5rem;\n}\n.h-8 {\n height: 2rem;\n}\n.h-\\[24px\\] {\n height: 24px;\n}\n.h-\\[27\\.88px\\] {\n height: 27.88px;\n}\n.h-\\[30px\\] {\n height: 30px;\n}\n.h-\\[calc\\(100\\%-24px\\)\\] {\n height: calc(100% - 24px);\n}\n.h-\\[var\\(--radix-select-trigger-height\\)\\] {\n height: var(--radix-select-trigger-height);\n}\n.h-auto {\n height: auto;\n}\n.h-full {\n height: 100%;\n}\n.h-screen {\n height: 100vh;\n}\n.max-h-96 {\n max-height: 24rem;\n}\n.max-h-\\[100vw\\] {\n max-height: 100vw;\n}\n.max-h-\\[10vh\\] {\n max-height: 10vh;\n}\n.max-h-\\[200px\\] {\n max-height: 200px;\n}\n.max-h-\\[min\\(85vh\\2c 850px\\)\\] {\n max-height: min(85vh,850px);\n}\n.max-h-full {\n max-height: 100%;\n}\n.max-h-screen {\n max-height: 100vh;\n}\n.\\!min-h-0 {\n min-height: 0px !important;\n}\n.min-h-0 {\n min-height: 0px;\n}\n.min-h-20 {\n min-height: 5rem;\n}\n.min-h-8 {\n min-height: 2rem;\n}\n.min-h-9 {\n min-height: 2.25rem;\n}\n.min-h-\\[38px\\] {\n min-height: 38px;\n}\n.min-h-\\[unset\\] {\n min-height: unset;\n}\n.w-10 {\n width: 2.5rem;\n}\n.w-12 {\n width: 3rem;\n}\n.w-16 {\n width: 4rem;\n}\n.w-2\\.5 {\n width: 0.625rem;\n}\n.w-3\\.5 {\n width: 0.875rem;\n}\n.w-4 {\n width: 1rem;\n}\n.w-40 {\n width: 10rem;\n}\n.w-5 {\n width: 1.25rem;\n}\n.w-56 {\n width: 14rem;\n}\n.w-6 {\n width: 1.5rem;\n}\n.w-60 {\n width: 15rem;\n}\n.w-8 {\n width: 2rem;\n}\n.w-\\[18px\\] {\n width: 18px;\n}\n.w-\\[250px\\] {\n width: 250px;\n}\n.w-\\[254px\\] {\n width: 254px;\n}\n.w-\\[calc\\(100\\%_-_theme\\(spacing\\.5\\)\\)\\] {\n width: calc(100% - 1.25rem);\n}\n.w-\\[min\\(90vw\\2c 720px\\)\\] {\n width: min(90vw,720px);\n}\n.w-fit {\n width: -moz-fit-content;\n width: fit-content;\n}\n.w-full {\n width: 100%;\n}\n.w-screen {\n width: 100vw;\n}\n.\\!min-w-0 {\n min-width: 0px !important;\n}\n.min-w-0 {\n min-width: 0px;\n}\n.min-w-10 {\n min-width: 2.5rem;\n}\n.min-w-5 {\n min-width: 1.25rem;\n}\n.min-w-6 {\n min-width: 1.5rem;\n}\n.min-w-8 {\n min-width: 2rem;\n}\n.min-w-\\[8rem\\] {\n min-width: 8rem;\n}\n.min-w-\\[unset\\] {\n min-width: unset;\n}\n.min-w-\\[var\\(--radix-select-trigger-width\\)\\] {\n min-width: var(--radix-select-trigger-width);\n}\n.max-w-2xl {\n max-width: 42rem;\n}\n.max-w-\\[200px\\] {\n max-width: 200px;\n}\n.max-w-\\[480px\\] {\n max-width: 480px;\n}\n.max-w-full {\n max-width: 100%;\n}\n.max-w-lg {\n max-width: 32rem;\n}\n.flex-1 {\n flex: 1 1 0%;\n}\n.flex-\\[0_0_100\\%\\] {\n flex: 0 0 100%;\n}\n.flex-\\[0_0_40\\%\\] {\n flex: 0 0 40%;\n}\n.flex-shrink-0 {\n flex-shrink: 0;\n}\n.shrink-0 {\n flex-shrink: 0;\n}\n.grow-0 {\n flex-grow: 0;\n}\n.grow-\\[1\\] {\n flex-grow: 1;\n}\n.grow-\\[2\\] {\n flex-grow: 2;\n}\n.grow-\\[5\\] {\n flex-grow: 5;\n}\n.border-collapse {\n border-collapse: collapse;\n}\n.-translate-x-1\\/2 {\n --tw-translate-x: -50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.-translate-y-1\\/2 {\n --tw-translate-y: -50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.translate-x-\\[-50\\%\\] {\n --tw-translate-x: -50%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.rotate-\\[-30deg\\] {\n --tw-rotate: -30deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n.transform-none {\n transform: none;\n}\n@keyframes bounce-dot {\n\n 0%, 100% {\n transform: translateY(0);\n opacity: 0.3;\n }\n\n 50% {\n transform: translateY(-5px);\n opacity: 1;\n }\n}\n.animate-bounce-dot {\n animation: bounce-dot 1.5s infinite ease-in-out;\n}\n@keyframes checkbox-check {\n\n from {\n opacity: 0;\n stroke-dashoffset: 16;\n transform: scale(0.95);\n }\n\n to {\n opacity: 1;\n stroke-dashoffset: 0;\n transform: scale(1);\n }\n}\n.animate-checkbox-check {\n animation: checkbox-check 200ms linear;\n}\n@keyframes shimmer {\n\n 0% {\n background-size: 200% 200%;\n background-position: 100% 0;\n }\n\n 100% {\n background-size: 200% 200%;\n background-position: -100% 0;\n }\n}\n.animate-shimmer {\n animation: shimmer 3.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n}\n@keyframes skeleton-bg-fade {\n\n from {\n border-color: var(--start-color);\n background: var(--start-color);\n }\n\n to {\n border-color: var(--end-color);\n background: var(--end-color);\n }\n}\n.animate-skeleton-bg-fade {\n animation: 0.8s linear infinite alternate skeleton-bg-fade;\n}\n@keyframes spin {\n\n to {\n transform: rotate(360deg);\n }\n}\n.animate-spin {\n animation: spin 1s linear infinite;\n}\n.cursor-default {\n cursor: default;\n}\n.cursor-pointer {\n cursor: pointer;\n}\n.touch-none {\n touch-action: none;\n}\n.select-none {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.resize-none {\n resize: none;\n}\n.list-\\[initial\\] {\n list-style-type: initial;\n}\n.list-decimal {\n list-style-type: decimal;\n}\n.appearance-none {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.flex-row {\n flex-direction: row;\n}\n.flex-row-reverse {\n flex-direction: row-reverse;\n}\n.flex-col {\n flex-direction: column;\n}\n.flex-wrap {\n flex-wrap: wrap;\n}\n.flex-wrap-reverse {\n flex-wrap: wrap-reverse;\n}\n.place-items-center {\n place-items: center;\n}\n.content-center {\n align-content: center;\n}\n.items-start {\n align-items: flex-start;\n}\n.items-end {\n align-items: flex-end;\n}\n.items-center {\n align-items: center;\n}\n.items-stretch {\n align-items: stretch;\n}\n.justify-start {\n justify-content: flex-start;\n}\n.justify-end {\n justify-content: flex-end;\n}\n.justify-center {\n justify-content: center;\n}\n.justify-between {\n justify-content: space-between;\n}\n.gap-0\\.5 {\n gap: 0.125rem;\n}\n.gap-1 {\n gap: 0.25rem;\n}\n.gap-1\\.5 {\n gap: 0.375rem;\n}\n.gap-12 {\n gap: 3rem;\n}\n.gap-2 {\n gap: 0.5rem;\n}\n.gap-2\\.5 {\n gap: 0.625rem;\n}\n.gap-3 {\n gap: 0.75rem;\n}\n.gap-4 {\n gap: 1rem;\n}\n.gap-5 {\n gap: 1.25rem;\n}\n.gap-6 {\n gap: 1.5rem;\n}\n.gap-8 {\n gap: 2rem;\n}\n.gap-\\[1rem_0\\.5rem\\] {\n gap: 1rem 0.5rem;\n}\n.gap-x-3 {\n -moz-column-gap: 0.75rem;\n column-gap: 0.75rem;\n}\n.gap-y-1 {\n row-gap: 0.25rem;\n}\n.gap-y-2 {\n row-gap: 0.5rem;\n}\n.gap-y-6 {\n row-gap: 1.5rem;\n}\n.space-x-1 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-x-reverse: 0;\n margin-right: calc(0.25rem * var(--tw-space-x-reverse));\n margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse)));\n}\n.space-x-2 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-x-reverse: 0;\n margin-right: calc(0.5rem * var(--tw-space-x-reverse));\n margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));\n}\n.divide-y > :not([hidden]) ~ :not([hidden]) {\n --tw-divide-y-reverse: 0;\n border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n border-bottom-width: calc(1px * var(--tw-divide-y-reverse));\n}\n.self-start {\n align-self: flex-start;\n}\n.self-center {\n align-self: center;\n}\n.justify-self-end {\n justify-self: end;\n}\n.justify-self-center {\n justify-self: center;\n}\n.overflow-hidden {\n overflow: hidden;\n}\n.overflow-x-auto {\n overflow-x: auto;\n}\n.overflow-y-auto {\n overflow-y: auto;\n}\n.truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.text-ellipsis {\n text-overflow: ellipsis;\n}\n.whitespace-normal {\n white-space: normal;\n}\n.whitespace-nowrap {\n white-space: nowrap;\n}\n.whitespace-pre {\n white-space: pre;\n}\n.whitespace-pre-wrap {\n white-space: pre-wrap;\n}\n.break-words {\n overflow-wrap: break-word;\n}\n.rounded {\n border-radius: 0.25rem;\n}\n.rounded-\\[0_0_6px_6px\\] {\n border-radius: 0 0 6px 6px;\n}\n.rounded-\\[6px\\] {\n border-radius: 6px;\n}\n.rounded-\\[6px_6px_0_0\\] {\n border-radius: 6px 6px 0 0;\n}\n.rounded-\\[inherit\\] {\n border-radius: inherit;\n}\n.rounded-full {\n border-radius: 9999px;\n}\n.rounded-lg {\n border-radius: 0.5rem;\n}\n.rounded-md {\n border-radius: 0.375rem;\n}\n.rounded-sm {\n border-radius: 0.125rem;\n}\n.rounded-xl {\n border-radius: 0.75rem;\n}\n.border {\n border-width: 1px;\n}\n.border-2 {\n border-width: 2px;\n}\n.border-b {\n border-bottom-width: 1px;\n}\n.border-l {\n border-left-width: 1px;\n}\n.border-solid {\n border-style: solid;\n}\n.border-none {\n border-style: none;\n}\n.border-\\[--end-color\\] {\n border-color: var(--end-color);\n}\n.border-gray-100 {\n border-color: var(--ikp-color-gray-100);\n}\n.border-gray-200 {\n border-color: var(--ikp-color-gray-200);\n}\n.border-gray-300 {\n border-color: var(--ikp-color-gray-300);\n}\n.border-inherit {\n border-color: inherit;\n}\n.border-inkeep-expanded-primary-200 {\n border-color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n.border-transparent {\n border-color: transparent;\n}\n.border-white-alpha-200 {\n border-color: var(--ikp-color-white-alpha-200);\n}\n.border-l-transparent {\n border-left-color: transparent;\n}\n.bg-\\[--start-color\\] {\n background-color: var(--start-color);\n}\n.bg-gray-100 {\n background-color: var(--ikp-color-gray-100);\n}\n.bg-gray-1000 {\n background-color: var(--ikp-color-gray-1000);\n}\n.bg-gray-300 {\n background-color: var(--ikp-color-gray-300);\n}\n.bg-gray-50 {\n background-color: var(--ikp-color-gray-50);\n}\n.bg-inherit {\n background-color: inherit;\n}\n.bg-inkeep-primary-lighter {\n background-color: var(--ikp-color-inkeep-primary-lighter);\n}\n.bg-inkeep-primary-medium {\n background-color: var(--ikp-color-inkeep-primary-medium);\n}\n.bg-inkeep-primary-text-bold {\n background-color: var(--ikp-color-inkeep-primary-text-bold);\n}\n.bg-overlay-light {\n background-color: var(--ikp-color-overlay-light);\n}\n.bg-transparent {\n background-color: transparent;\n}\n.bg-white {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n.bg-gradient-to-br {\n background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));\n}\n.bg-gradient-to-t {\n background-image: linear-gradient(to top, var(--tw-gradient-stops));\n}\n.from-gray-100 {\n --tw-gradient-from: var(--ikp-color-gray-100) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n.from-gray-700 {\n --tw-gradient-from: var(--ikp-color-gray-700) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n.to-gray-400 {\n --tw-gradient-to: var(--ikp-color-gray-400) var(--tw-gradient-to-position);\n}\n.bg-clip-padding {\n background-clip: padding-box;\n}\n.bg-clip-text {\n -webkit-background-clip: text;\n background-clip: text;\n}\n.fill-white {\n fill: #fff;\n}\n.p-0 {\n padding: 0px;\n}\n.p-0\\.5 {\n padding: 0.125rem;\n}\n.p-1 {\n padding: 0.25rem;\n}\n.p-2 {\n padding: 0.5rem;\n}\n.p-4 {\n padding: 1rem;\n}\n.p-8 {\n padding: 2rem;\n}\n.p-\\[1em\\] {\n padding: 1em;\n}\n.px-0 {\n padding-left: 0px;\n padding-right: 0px;\n}\n.px-1 {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n.px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n.px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n.px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n.px-5 {\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n.px-6 {\n padding-left: 1.5rem;\n padding-right: 1.5rem;\n}\n.px-\\[\\.4rem\\] {\n padding-left: .4rem;\n padding-right: .4rem;\n}\n.px-\\[18px\\] {\n padding-left: 18px;\n padding-right: 18px;\n}\n.py-0 {\n padding-top: 0px;\n padding-bottom: 0px;\n}\n.py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n.py-1\\.5 {\n padding-top: 0.375rem;\n padding-bottom: 0.375rem;\n}\n.py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n.py-3 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n.py-4 {\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n.py-6 {\n padding-top: 1.5rem;\n padding-bottom: 1.5rem;\n}\n.py-8 {\n padding-top: 2rem;\n padding-bottom: 2rem;\n}\n.py-\\[\\.2rem\\] {\n padding-top: .2rem;\n padding-bottom: .2rem;\n}\n.py-\\[1px\\] {\n padding-top: 1px;\n padding-bottom: 1px;\n}\n.pb-1 {\n padding-bottom: 0.25rem;\n}\n.pb-2\\.5 {\n padding-bottom: 0.625rem;\n}\n.pb-3 {\n padding-bottom: 0.75rem;\n}\n.pb-4 {\n padding-bottom: 1rem;\n}\n.pb-6 {\n padding-bottom: 1.5rem;\n}\n.pb-8 {\n padding-bottom: 2rem;\n}\n.pl-2 {\n padding-left: 0.5rem;\n}\n.pl-6 {\n padding-left: 1.5rem;\n}\n.pl-7 {\n padding-left: 1.75rem;\n}\n.pl-8 {\n padding-left: 2rem;\n}\n.pr-1 {\n padding-right: 0.25rem;\n}\n.pr-12 {\n padding-right: 3rem;\n}\n.pr-8 {\n padding-right: 2rem;\n}\n.pt-0 {\n padding-top: 0px;\n}\n.pt-1 {\n padding-top: 0.25rem;\n}\n.pt-12 {\n padding-top: 3rem;\n}\n.pt-2 {\n padding-top: 0.5rem;\n}\n.pt-3 {\n padding-top: 0.75rem;\n}\n.pt-4 {\n padding-top: 1rem;\n}\n.pt-6 {\n padding-top: 1.5rem;\n}\n.text-left {\n text-align: left;\n}\n.text-center {\n text-align: center;\n}\n.text-start {\n text-align: start;\n}\n.align-middle {\n vertical-align: middle;\n}\n.font-body {\n font-family: var(--ikp-font-family-body);\n}\n.font-heading {\n font-family: var(--ikp-font-family-heading);\n}\n.font-mono {\n font-family: var(--ikp-font-family-mono);\n}\n.text-1sm {\n font-size: var(--ikp-font-size-1sm);\n}\n.text-2sm {\n font-size: var(--ikp-font-size-2sm);\n}\n.text-2xs {\n font-size: var(--ikp-font-size-2xs);\n}\n.text-3xl {\n font-size: var(--ikp-font-size-3xl);\n}\n.text-3xs {\n font-size: var(--ikp-font-size-3xs);\n}\n.text-lg {\n font-size: var(--ikp-font-size-lg);\n}\n.text-md {\n font-size: var(--ikp-font-size-md);\n}\n.text-sm {\n font-size: var(--ikp-font-size-sm);\n}\n.text-xl {\n font-size: var(--ikp-font-size-xl);\n}\n.text-xs {\n font-size: var(--ikp-font-size-xs);\n}\n.font-bold {\n font-weight: 700;\n}\n.font-medium {\n font-weight: 500;\n}\n.font-normal {\n font-weight: 400;\n}\n.font-semibold {\n font-weight: 600;\n}\n.uppercase {\n text-transform: uppercase;\n}\n.leading-4 {\n line-height: 1rem;\n}\n.leading-5 {\n line-height: 1.25rem;\n}\n.leading-6 {\n line-height: 1.5rem;\n}\n.leading-\\[1\\.25\\] {\n line-height: 1.25;\n}\n.leading-\\[1\\.2\\] {\n line-height: 1.2;\n}\n.leading-\\[1em\\] {\n line-height: 1em;\n}\n.leading-\\[unset\\] {\n line-height: unset;\n}\n.leading-snug {\n line-height: 1.375;\n}\n.tracking-tight {\n letter-spacing: -0.025em;\n}\n.tracking-wider {\n letter-spacing: 0.05em;\n}\n.tracking-widest {\n letter-spacing: 0.1em;\n}\n.text-current {\n color: currentColor;\n}\n.text-gray-400 {\n color: var(--ikp-color-gray-400);\n}\n.text-gray-500 {\n color: var(--ikp-color-gray-500);\n}\n.text-gray-600 {\n color: var(--ikp-color-gray-600);\n}\n.text-gray-700 {\n color: var(--ikp-color-gray-700);\n}\n.text-gray-800 {\n color: var(--ikp-color-gray-800);\n}\n.text-green-500 {\n --tw-text-opacity: 1;\n color: rgb(34 197 94 / var(--tw-text-opacity, 1));\n}\n.text-inherit {\n color: inherit;\n}\n.text-inkeep-primary-medium {\n color: var(--ikp-color-inkeep-primary-medium);\n}\n.text-inkeep-primary-strong {\n color: var(--ikp-color-inkeep-primary-strong);\n}\n.text-inkeep-primary-stronger {\n color: var(--ikp-color-inkeep-primary-stronger);\n}\n.text-inkeep-primary-text-bold {\n color: var(--ikp-color-inkeep-primary-text-bold);\n}\n.text-inkeep-primary-text-color-on-primary {\n color: var(--ikp-color-inkeep-primary-text-color-on-primary);\n}\n.text-purple-500 {\n --tw-text-opacity: 1;\n color: rgb(168 85 247 / var(--tw-text-opacity, 1));\n}\n.text-red-500 {\n --tw-text-opacity: 1;\n color: rgb(239 68 68 / var(--tw-text-opacity, 1));\n}\n.text-transparent {\n color: transparent;\n}\n.text-white {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n.opacity-0 {\n opacity: 0;\n}\n.opacity-30 {\n opacity: 0.3;\n}\n.opacity-45 {\n opacity: 0.45;\n}\n.opacity-70 {\n opacity: 0.7;\n}\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-2xl {\n --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);\n --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-\\[0_0_0_2px_var\\(--shadow-color\\)\\] {\n --tw-shadow: 0 0 0 2px var(--shadow-color);\n --tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-\\[0_25px_50px_-12px_rgba\\(0\\2c 0\\2c 0\\2c 0\\.25\\)\\] {\n --tw-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);\n --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-\\[0_8px_30px_rgba\\(0\\2c 0\\2c 0\\2c 0\\.12\\)\\] {\n --tw-shadow: 0 8px 30px rgba(0,0,0,0.12);\n --tw-shadow-colored: 0 8px 30px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-\\[inset_0_0_0_1px_currentColor\\] {\n --tw-shadow: inset 0 0 0 1px currentColor;\n --tw-shadow-colored: inset 0 0 0 1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-lg {\n --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-md {\n --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-none {\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n.shadow-\\[none\\] {\n --tw-shadow-color: none;\n --tw-shadow: var(--tw-shadow-colored);\n}\n.outline-none {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n.outline {\n outline-style: solid;\n}\n.backdrop-blur-sm {\n --tw-backdrop-blur: blur(4px);\n -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n}\n.transition-\\[common\\] {\n transition-property: common;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-all {\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-colors {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-opacity {\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.transition-transform {\n transition-property: transform;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n.duration-100 {\n transition-duration: 100ms;\n}\n.duration-200 {\n transition-duration: 200ms;\n}\n.duration-300 {\n transition-duration: 300ms;\n}\n.duration-\\[160ms\\] {\n transition-duration: 160ms;\n}\n.duration-\\[180\\] {\n transition-duration: 180;\n}\n.ease-in-out {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n.ease-linear {\n transition-timing-function: linear;\n}\n.ease-out {\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n.\\[--end-color\\:theme\\(colors\\.gray\\.300\\)\\] {\n --end-color: var(--ikp-color-gray-300);\n}\n.\\[--end-color\\:theme\\(colors\\.inkeep-expanded-primary\\.700\\)\\] {\n --end-color: var(--ikp-color-inkeep-expanded-primary-700);\n}\n.\\[--end-color\\:theme\\(colors\\.white-alpha\\.100\\)\\] {\n --end-color: var(--ikp-color-white-alpha-100);\n}\n.\\[--error-border-color\\:theme\\(colors\\.red\\.500\\)\\] {\n --error-border-color: #ef4444;\n}\n.\\[--focus-border-color\\:theme\\(colors\\.blue\\.500\\)\\] {\n --focus-border-color: #3b82f6;\n}\n.\\[--scrollbar-color\\:var\\(--color-gray-300\\)\\] {\n --scrollbar-color: var(--color-gray-300);\n}\n.\\[--start-color\\:theme\\(colors\\.gray\\.50\\)\\] {\n --start-color: var(--ikp-color-gray-50);\n}\n.\\[--start-color\\:theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\] {\n --start-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n.\\[counter-increment\\:item\\] {\n counter-increment: item;\n}\n.\\[counter-reset\\:item_calc\\(var\\(--start\\2c 0\\)_-_1\\)\\] {\n counter-reset: item calc(var(--start,0) - 1);\n}\n.\\[font-size\\:85\\%\\!important\\] {\n font-size: 85% !important;\n}\n.\\[font-variant-numeric\\:lining-nums_tabular-nums\\] {\n font-variant-numeric: lining-nums tabular-nums;\n}\n.\\[grid-area\\:breadcrumbs\\] {\n grid-area: breadcrumbs;\n}\n.\\[grid-area\\:description\\] {\n grid-area: description;\n}\n.\\[grid-area\\:icon\\] {\n grid-area: icon;\n}\n.\\[grid-area\\:indicator\\] {\n grid-area: indicator;\n}\n.\\[grid-area\\:tag\\] {\n grid-area: tag;\n}\n.\\[grid-area\\:title\\] {\n grid-area: title;\n}\n.\\[grid-template\\:\\"breadcrumbs_breadcrumbs_breadcrumbs_indicator\\"\\"icon_title_tag_indicator\\"\\"description_description_description_indicator\\"\\/auto_auto_1fr_auto\\] {\n grid-template: "breadcrumbs breadcrumbs breadcrumbs indicator""icon title tag indicator""description description description indicator"/auto auto 1fr auto;\n}\n.\\[inset-inline-start\\:var\\(--start\\2c 0px\\)\\] {\n inset-inline-start: var(--start,0px);\n}\n.\\[overflow-wrap\\:anywhere\\] {\n overflow-wrap: anywhere;\n}\n.\\[scrollbar-color\\:var\\(--scrollbar-color\\)_transparent\\] {\n scrollbar-color: var(--scrollbar-color) transparent;\n}\n.\\[scrollbar-width\\:thin\\] {\n scrollbar-width: thin;\n}\n.\\[transition-duration\\:0\\.02s\\] {\n transition-duration: 0.02s;\n}\n.\\[transition-property\\:common\\] {\n transition-property: common;\n}\n\n:where(.inkeep-widget-vars) {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n font-family: var(--ikp-font-family-body);\n font-size: var(--ikp-font-size-md);\n line-height: 1.5;\n color: var(--ikp-color-gray-800);\n}\n\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) {\n color: var(--ikp-color-white-alpha-950);\n}\n\n:where(.inkeep-widget-vars) *,\n:where(.inkeep-widget-vars) *::before,\n:where(.inkeep-widget-vars) *::after {\n border-color: var(--ikp-color-gray-200);\n}\n\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) *,\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) *::before,\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) *::after {\n border-color: var(--ikp-color-white-alpha-200);\n}\n\n:where(.inkeep-widget-vars) input::-moz-placeholder, :where(.inkeep-widget-vars) textarea::-moz-placeholder {\n color: var(--ikp-color-gray-500);\n}\n\n:where(.inkeep-widget-vars) input::placeholder,\n:where(.inkeep-widget-vars) textarea::placeholder {\n color: var(--ikp-color-gray-500);\n}\n\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) input::-moz-placeholder, [data-theme=\'dark\'] :where(.inkeep-widget-vars) textarea::-moz-placeholder {\n color: var(--ikp-color-white-alpha-500);\n}\n\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) input::placeholder,\n[data-theme=\'dark\'] :where(.inkeep-widget-vars) textarea::placeholder {\n color: var(--ikp-color-white-alpha-500);\n}\n\n:where(.inkeep-widget-vars) [data-part=\'icon\'][data-type=\'built-in\'] {\n display: inline-block;\n min-height: 1em;\n min-width: 1em;\n flex-shrink: 0;\n vertical-align: middle;\n line-height: 1em;\n}\n\nsvg[data-part=\'icon\'][data-type=\'custom\'] {\n /* we don\'t want the wrapper divs to affect layout / positioning of icon */\n display: contents;\n}\n\nsvg[data-part=\'icon\'][data-type=\'custom\'] div {\n display: contents;\n}\n\nimg[data-part=\'icon\'][data-type=\'custom\'] {\n display: inline-block;\n min-height: 1em;\n min-width: 1em;\n}\n\n.\\*\\:invisible > * {\n visibility: hidden;\n}\n\n.\\*\\:m-0 > * {\n margin: 0px;\n}\n\n.file\\:h-full::file-selector-button {\n height: 100%;\n}\n\n.file\\:cursor-pointer::file-selector-button {\n cursor: pointer;\n}\n\n.file\\:border-none::file-selector-button {\n border-style: none;\n}\n\n.file\\:bg-transparent::file-selector-button {\n background-color: transparent;\n}\n\n.file\\:text-sm::file-selector-button {\n font-size: var(--ikp-font-size-sm);\n}\n\n.file\\:font-medium::file-selector-button {\n font-weight: 500;\n}\n\n.file\\:text-gray-700::file-selector-button {\n color: var(--ikp-color-gray-700);\n}\n\n.placeholder\\:text-gray-500::-moz-placeholder {\n color: var(--ikp-color-gray-500);\n}\n\n.placeholder\\:text-gray-500::placeholder {\n color: var(--ikp-color-gray-500);\n}\n\n.before\\:pointer-events-none::before {\n content: var(--tw-content);\n pointer-events: none;\n}\n\n.before\\:invisible::before {\n content: var(--tw-content);\n visibility: hidden;\n}\n\n.before\\:absolute::before {\n content: var(--tw-content);\n position: absolute;\n}\n\n.before\\:left-0::before {\n content: var(--tw-content);\n left: 0px;\n}\n\n.before\\:top-0::before {\n content: var(--tw-content);\n top: 0px;\n}\n\n.before\\:z-hide::before {\n content: var(--tw-content);\n z-index: var(--ikp-z-index-hide);\n}\n\n.before\\:m-auto::before {\n content: var(--tw-content);\n margin: auto;\n}\n\n.before\\:block::before {\n content: var(--tw-content);\n display: block;\n}\n\n.before\\:h-3::before {\n content: var(--tw-content);\n height: 0.75rem;\n}\n\n.before\\:h-\\[--before-size\\]::before {\n content: var(--tw-content);\n height: var(--before-size);\n}\n\n.before\\:w-\\[--before-size\\]::before {\n content: var(--tw-content);\n width: var(--before-size);\n}\n\n.before\\:w-full::before {\n content: var(--tw-content);\n width: 100%;\n}\n\n.before\\:-translate-y-full::before {\n content: var(--tw-content);\n --tw-translate-y: -100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.before\\:bg-gray-300::before {\n content: var(--tw-content);\n background-color: var(--ikp-color-gray-300);\n}\n\n.before\\:bg-gradient-to-b::before {\n content: var(--tw-content);\n background-image: linear-gradient(to bottom, var(--tw-gradient-stops));\n}\n\n.before\\:from-transparent::before {\n content: var(--tw-content);\n --tw-gradient-from: transparent var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.before\\:to-white::before {\n content: var(--tw-content);\n --tw-gradient-to: #fff var(--tw-gradient-to-position);\n}\n\n.before\\:bg-no-repeat::before {\n content: var(--tw-content);\n background-repeat: no-repeat;\n}\n\n.before\\:\\[background-position\\:0_0\\]::before {\n content: var(--tw-content);\n background-position: 0 0;\n}\n\n.before\\:\\[background-size\\:cover\\]::before {\n content: var(--tw-content);\n background-size: cover;\n}\n\n.after\\:invisible::after {\n content: var(--tw-content);\n visibility: hidden;\n}\n\n.after\\:absolute::after {\n content: var(--tw-content);\n position: absolute;\n}\n\n.after\\:bottom-0::after {\n content: var(--tw-content);\n bottom: 0px;\n}\n\n.after\\:left-\\[1px\\]::after {\n content: var(--tw-content);\n left: 1px;\n}\n\n.after\\:top-\\[1px\\]::after {\n content: var(--tw-content);\n top: 1px;\n}\n\n.after\\:z-base::after {\n content: var(--tw-content);\n z-index: var(--ikp-z-index-base);\n}\n\n.after\\:h-\\[calc\\(100\\%-2px\\)\\]::after {\n content: var(--tw-content);\n height: calc(100% - 2px);\n}\n\n.after\\:w-\\[calc\\(100\\%-2px\\)\\]::after {\n content: var(--tw-content);\n width: calc(100% - 2px);\n}\n\n.after\\:rounded-\\[5px\\]::after {\n content: var(--tw-content);\n border-radius: 5px;\n}\n\n.after\\:bg-white::after {\n content: var(--tw-content);\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.after\\:bg-gradient-to-t::after {\n content: var(--tw-content);\n background-image: linear-gradient(to top, var(--tw-gradient-stops));\n}\n\n.last-of-type\\:hidden:last-of-type {\n display: none;\n}\n\n.focus\\:z-base:focus {\n z-index: var(--ikp-z-index-base);\n}\n\n.focus\\:z-start:focus {\n z-index: var(--ikp-z-index-start);\n}\n\n.focus\\:bg-gray-100:focus {\n background-color: var(--ikp-color-gray-100);\n}\n\n.focus\\:outline-none:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.focus\\:outline-inkeep-expanded-primary-700:focus {\n outline-color: var(--ikp-color-inkeep-expanded-primary-700);\n}\n\n.focus\\:\\[--shadow-color\\:theme\\(colors\\.blue\\.500\\)\\]:focus {\n --shadow-color: #3b82f6;\n}\n\n.focus-visible\\:outline-none:focus-visible {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n.focus-visible\\:ring:focus-visible {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n.focus-visible\\:ring-2:focus-visible {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n.focus-visible\\:ring-transparent:focus-visible {\n --tw-ring-color: transparent;\n}\n\n.focus-visible\\:ring-offset-2:focus-visible {\n --tw-ring-offset-width: 2px;\n}\n\n.focus-visible\\:ring-offset-transparent:focus-visible {\n --tw-ring-offset-color: transparent;\n}\n\n.active\\:bg-gray-200:active {\n background-color: var(--ikp-color-gray-200);\n}\n\n.active\\:bg-gray-300:active {\n background-color: var(--ikp-color-gray-300);\n}\n\n.active\\:bg-gray-50:active {\n background-color: var(--ikp-color-gray-50);\n}\n\n.active\\:bg-gray-900:active {\n background-color: var(--ikp-color-gray-900);\n}\n\n.disabled\\:cursor-not-allowed:disabled {\n cursor: not-allowed;\n}\n\n.disabled\\:text-gray-500:disabled {\n color: var(--ikp-color-gray-500);\n}\n\n.disabled\\:opacity-40:disabled {\n opacity: 0.4;\n}\n\n.disabled\\:opacity-50:disabled {\n opacity: 0.5;\n}\n\n.disabled\\:shadow-none:disabled {\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.active\\:disabled\\:\\[background\\:none\\]:disabled:active {\n background: none;\n}\n\n.group:hover .group-hover\\:text-gray-600 {\n color: var(--ikp-color-gray-600);\n}\n\n.has-\\[\\[data-dual-pane-search-expanded\\]\\]\\:w-\\[min\\(90vw\\2c 1000px\\)\\]:has([data-dual-pane-search-expanded]) {\n width: min(90vw,1000px);\n}\n\n.has-\\[\\[data-scroll-top\\]\\]\\:before\\:opacity-0:has([data-scroll-top])::before {\n content: var(--tw-content);\n opacity: 0;\n}\n\n.has-\\[\\[data-scroll-bottom\\]\\]\\:after\\:opacity-0:has([data-scroll-bottom])::after {\n content: var(--tw-content);\n opacity: 0;\n}\n\n.data-\\[disabled\\]\\:pointer-events-none[data-disabled] {\n pointer-events: none;\n}\n\n.data-\\[mobile\\]\\:inset-0[data-mobile] {\n inset: 0px;\n}\n\n.data-\\[even\\]\\:ml-0[data-even] {\n margin-left: 0px;\n}\n\n.data-\\[even\\]\\:mr-4[data-even] {\n margin-right: 1rem;\n}\n\n.data-\\[role\\=user\\]\\:ml-0[data-role="user"] {\n margin-left: 0px;\n}\n\n.data-\\[role\\=user\\]\\:block[data-role="user"] {\n display: block;\n}\n\n.data-\\[has-results\\]\\:flex[data-has-results] {\n display: flex;\n}\n\n.data-\\[escalated\\]\\:hidden[data-escalated] {\n display: none;\n}\n\n.data-\\[hidden\\]\\:hidden[data-hidden] {\n display: none;\n}\n\n.data-\\[role\\=user\\]\\:hidden[data-role="user"] {\n display: none;\n}\n\n.data-\\[state\\=closed\\]\\:hidden[data-state="closed"] {\n display: none;\n}\n\n.data-\\[submitted\\]\\:hidden[data-submitted] {\n display: none;\n}\n\n.data-\\[has-content\\]\\:h-\\[min\\(calc\\(85vh_-_72px\\)\\2c calc\\(850px_-_72px_-_275px\\)\\)\\][data-has-content] {\n height: min(calc(85vh - 72px),calc(850px - 72px - 275px));\n}\n\n.data-\\[mobile\\]\\:h-\\[unset\\][data-mobile] {\n height: unset;\n}\n\n.data-\\[composite\\]\\:w-full[data-composite] {\n width: 100%;\n}\n\n.data-\\[mobile\\]\\:w-\\[unset\\][data-mobile] {\n width: unset;\n}\n\n.data-\\[role\\=user\\]\\:grow-0[data-role="user"] {\n flex-grow: 0;\n}\n\n.data-\\[side\\=bottom\\]\\:translate-y-1\\.5[data-side="bottom"] {\n --tw-translate-y: 0.375rem;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.data-\\[side\\=left\\]\\:-translate-x-1\\.5[data-side="left"] {\n --tw-translate-x: -0.375rem;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.data-\\[side\\=right\\]\\:translate-x-1\\.5[data-side="right"] {\n --tw-translate-x: 0.375rem;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.data-\\[side\\=top\\]\\:-translate-y-1\\.5[data-side="top"] {\n --tw-translate-y: -0.375rem;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.data-\\[mobile\\]\\:transform-none[data-mobile] {\n transform: none;\n}\n\n@keyframes fade-out {\n\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n}\n\n.data-\\[state\\=closed\\]\\:animate-fade-out[data-state="closed"] {\n animation: fade-out 0.2s ease-out;\n}\n\n@keyframes fade-in {\n\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n.data-\\[state\\=open\\]\\:animate-fade-in[data-state="open"] {\n animation: fade-in 0.25s ease-out;\n}\n\n.data-\\[loading\\]\\:cursor-wait[data-loading] {\n cursor: wait;\n}\n\n.data-\\[even\\]\\:flex-row[data-even] {\n flex-direction: row;\n}\n\n.data-\\[input-type\\=checkbox\\]\\:flex-row[data-input-type="checkbox"] {\n flex-direction: row;\n}\n\n.data-\\[even\\]\\:items-start[data-even] {\n align-items: flex-start;\n}\n\n.data-\\[input-type\\=checkbox\\]\\:items-center[data-input-type="checkbox"] {\n align-items: center;\n}\n\n.data-\\[role\\=user\\]\\:justify-end[data-role="user"] {\n justify-content: flex-end;\n}\n\n.data-\\[role\\=user\\]\\:whitespace-pre-wrap[data-role="user"] {\n white-space: pre-wrap;\n}\n\n.data-\\[mobile\\]\\:rounded-none[data-mobile] {\n border-radius: 0px;\n}\n\n.data-\\[invalid\\]\\:border-\\[--error-border-color\\][data-invalid] {\n border-color: var(--error-border-color);\n}\n\n.data-\\[state\\=active\\]\\:border-inkeep-primary-medium-subtle[data-state="active"] {\n border-color: var(--ikp-color-inkeep-primary-medium-subtle);\n}\n\n.data-\\[state\\=checked\\]\\:border-gray-1000[data-state="checked"] {\n border-color: var(--ikp-color-gray-1000);\n}\n\n.data-\\[active\\]\\:bg-white[data-active] {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));\n}\n\n.data-\\[role\\=user\\]\\:bg-gray-50[data-role="user"] {\n background-color: var(--ikp-color-gray-50);\n}\n\n.data-\\[state\\=active\\]\\:bg-inkeep-primary-light-subtle[data-state="active"] {\n background-color: var(--ikp-color-inkeep-primary-light-subtle);\n}\n\n.data-\\[state\\=checked\\]\\:bg-gray-1000[data-state="checked"] {\n background-color: var(--ikp-color-gray-1000);\n}\n\n.data-\\[username\\]\\:bg-inkeep-primary-lighter[data-username] {\n background-color: var(--ikp-color-inkeep-primary-lighter);\n}\n\n.data-\\[has-content\\]\\:pb-2[data-has-content] {\n padding-bottom: 0.5rem;\n}\n\n.data-\\[is-numeric\\=true\\]\\:text-end[data-is-numeric="true"] {\n text-align: end;\n}\n\n.data-\\[highlighted\\]\\:font-semibold[data-highlighted] {\n font-weight: 600;\n}\n\n.data-\\[active\\]\\:text-gray-600[data-active] {\n color: var(--ikp-color-gray-600);\n}\n\n.data-\\[active\\]\\:text-gray-800[data-active] {\n color: var(--ikp-color-gray-800);\n}\n\n.data-\\[copied\\]\\:text-inkeep-primary-medium[data-copied] {\n color: var(--ikp-color-inkeep-primary-medium);\n}\n\n.data-\\[downvoted\\]\\:text-inkeep-primary-medium[data-downvoted] {\n color: var(--ikp-color-inkeep-primary-medium);\n}\n\n.data-\\[highlighted\\]\\:text-inkeep-primary-text-subtle[data-highlighted] {\n color: var(--ikp-color-inkeep-primary-text-subtle);\n}\n\n.data-\\[is-match\\]\\:text-inkeep-expanded-primary-700[data-is-match] {\n color: var(--ikp-color-inkeep-expanded-primary-700);\n}\n\n.data-\\[role\\=user\\]\\:text-gray-700[data-role="user"] {\n color: var(--ikp-color-gray-700);\n}\n\n.data-\\[state\\=active\\]\\:text-inkeep-expanded-primary-900[data-state="active"] {\n color: var(--ikp-color-inkeep-expanded-primary-900);\n}\n\n.data-\\[state\\=checked\\]\\:text-white[data-state="checked"] {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[type\\=\\"stackoverflow\\"\\]\\:text-green-500[data-type="stackoverflow"] {\n --tw-text-opacity: 1;\n color: rgb(34 197 94 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[type\\=icon\\]\\:data-\\[role\\=user\\]\\:text-inkeep-primary-medium[data-role="user"][data-type="icon"] {\n color: var(--ikp-color-inkeep-primary-medium);\n}\n\n.data-\\[type\\^\\=\\"github\\"\\]\\:text-purple-500[data-type^="github"] {\n --tw-text-opacity: 1;\n color: rgb(168 85 247 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[upvoted\\]\\:text-inkeep-primary-medium[data-upvoted] {\n color: var(--ikp-color-inkeep-primary-medium);\n}\n\n.data-\\[disabled\\]\\:opacity-50[data-disabled] {\n opacity: 0.5;\n}\n\n.data-\\[active\\]\\:shadow[data-active] {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.data-\\[invalid\\]\\:shadow-\\[0_0_0_1px_var\\(--error-border-color\\)\\][data-invalid] {\n --tw-shadow: 0 0 0 1px var(--error-border-color);\n --tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.data-\\[disable-transitions\\]\\:transition-none[data-disable-transitions] {\n transition-property: none;\n}\n\n.data-\\[type\\=icon\\]\\:\\[--end-color\\:theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\][data-type="icon"] {\n --end-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.data-\\[type\\=icon\\]\\:data-\\[role\\=assistant\\]\\:\\[--end-color\\:theme\\(colors\\.inkeep-expanded-primary\\.700\\)\\][data-role="assistant"][data-type="icon"] {\n --end-color: var(--ikp-color-inkeep-expanded-primary-700);\n}\n\n.data-\\[invalid\\]\\:\\[--shadow-color\\:theme\\(colors\\.red\\.500\\)\\][data-invalid] {\n --shadow-color: #ef4444;\n}\n\n.data-\\[type\\=icon\\]\\:data-\\[role\\=assistant\\]\\:\\[--start-color\\:theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\][data-role="assistant"][data-type="icon"] {\n --start-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.data-\\[type\\=icon\\]\\:\\[--start-color\\:theme\\(colors\\.inkeep-expanded-primary\\.50\\)\\][data-type="icon"] {\n --start-color: var(--ikp-color-inkeep-expanded-primary-50);\n}\n\n.data-\\[required\\]\\:after\\:absolute[data-required]::after {\n content: var(--tw-content);\n position: absolute;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:absolute[data-show-toolbar]::after {\n content: var(--tw-content);\n position: absolute;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:left-0[data-show-toolbar]::after {\n content: var(--tw-content);\n left: 0px;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:top-full[data-show-toolbar]::after {\n content: var(--tw-content);\n top: 100%;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:z-start[data-show-toolbar]::after {\n content: var(--tw-content);\n z-index: var(--ikp-z-index-start);\n}\n\n.data-\\[required\\]\\:after\\:ml-1[data-required]::after {\n content: var(--tw-content);\n margin-left: 0.25rem;\n}\n\n.data-\\[required\\]\\:after\\:mt-0[data-required]::after {\n content: var(--tw-content);\n margin-top: 0px;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:h-\\[1rem\\][data-show-toolbar]::after {\n content: var(--tw-content);\n height: 1rem;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:w-full[data-show-toolbar]::after {\n content: var(--tw-content);\n width: 100%;\n}\n\n.data-\\[show-toolbar\\]\\:after\\:bg-\\[linear-gradient\\(currentColor\\2c _transparent\\)\\][data-show-toolbar]::after {\n content: var(--tw-content);\n background-image: linear-gradient(currentColor, transparent);\n}\n\n.data-\\[required\\]\\:after\\:text-red-500[data-required]::after {\n content: var(--tw-content);\n --tw-text-opacity: 1;\n color: rgb(239 68 68 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[show-toolbar\\]\\:after\\:text-white[data-show-toolbar]::after {\n content: var(--tw-content);\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[required\\]\\:after\\:\\[content\\:\\"\\*\\"\\][data-required]::after {\n content: "*";\n}\n\n@keyframes spin {\n\n to {\n content: var(--tw-content);\n transform: rotate(360deg);\n }\n}\n\n.data-\\[highlight\\]\\:first\\:before\\:animate-\\[spin_4s_linear_infinite\\]:first-child[data-highlight]::before {\n content: var(--tw-content);\n animation: spin 4s linear infinite;\n}\n\n.data-\\[highlight\\]\\:first\\:before\\:\\[background-image\\:conic-gradient\\(transparent\\2c theme\\(colors\\.inkeep-expanded-primary\\.600\\)\\2c transparent_30\\%\\)\\]:first-child[data-highlight]::before {\n content: var(--tw-content);\n background-image: conic-gradient(transparent,var(--ikp-color-inkeep-expanded-primary-600),transparent 30%);\n}\n\n:not(.dark) .light\\:text-gray-700 {\n color: var(--ikp-color-gray-700);\n}\n\n[data-widget-md] .ikp-md\\:mb-0 {\n margin-bottom: 0px;\n}\n\n[data-widget-md] .ikp-md\\:flex {\n display: flex;\n}\n\n[data-widget-md] .ikp-md\\:hidden {\n display: none;\n}\n\n[data-widget-md] .ikp-md\\:h-12 {\n height: 3rem;\n}\n\n[data-widget-md] .ikp-md\\:flex-row {\n flex-direction: row;\n}\n\n[data-widget-md] .ikp-md\\:flex-col {\n flex-direction: column;\n}\n\n[data-widget-md] .ikp-md\\:items-start {\n align-items: flex-start;\n}\n\n[data-widget-md] .ikp-md\\:px-14 {\n padding-left: 3.5rem;\n padding-right: 3.5rem;\n}\n\n[data-widget-md] .ikp-md\\:px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n\n[data-widget-md] .ikp-md\\:px-8 {\n padding-left: 2rem;\n padding-right: 2rem;\n}\n\n[data-widget-md] .ikp-md\\:py-14 {\n padding-top: 3.5rem;\n padding-bottom: 3.5rem;\n}\n\n[data-widget-md] .ikp-md\\:pb-14 {\n padding-bottom: 3.5rem;\n}\n\n[data-widget-md] .ikp-md\\:pl-3 {\n padding-left: 0.75rem;\n}\n\n[data-widget-md] .ikp-md\\:pr-3 {\n padding-right: 0.75rem;\n}\n\n[data-widget-md] .ikp-md\\:pr-6 {\n padding-right: 1.5rem;\n}\n\n.hover\\:scale-110:hover:not(:disabled) {\n --tw-scale-x: 1.1;\n --tw-scale-y: 1.1;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.hover\\:border-gray-300:hover:not(:disabled) {\n border-color: var(--ikp-color-gray-300);\n}\n\n.hover\\:bg-gray-100:hover:not(:disabled) {\n background-color: var(--ikp-color-gray-100);\n}\n\n.hover\\:bg-gray-200:hover:not(:disabled) {\n background-color: var(--ikp-color-gray-200);\n}\n\n.hover\\:bg-gray-50:hover:not(:disabled) {\n background-color: var(--ikp-color-gray-50);\n}\n\n.hover\\:bg-gray-900:hover:not(:disabled) {\n background-color: var(--ikp-color-gray-900);\n}\n\n.hover\\:bg-inkeep-primary-light-subtle:hover:not(:disabled) {\n background-color: var(--ikp-color-inkeep-primary-light-subtle);\n}\n\n.hover\\:bg-transparent:hover:not(:disabled) {\n background-color: transparent;\n}\n\n.hover\\:text-gray-700:hover:not(:disabled) {\n color: var(--ikp-color-gray-700);\n}\n\n.hover\\:text-gray-800:hover:not(:disabled) {\n color: var(--ikp-color-gray-800);\n}\n\n.hover\\:text-inkeep-primary-strong:hover:not(:disabled) {\n color: var(--ikp-color-inkeep-primary-strong);\n}\n\n.hover\\:text-inkeep-primary-stronger:hover:not(:disabled) {\n color: var(--ikp-color-inkeep-primary-stronger);\n}\n\n.hover\\:underline:hover:not(:disabled) {\n text-decoration-line: underline;\n}\n\n.hover\\:disabled\\:bg-gray-100:disabled:hover:not(:disabled) {\n background-color: var(--ikp-color-gray-100);\n}\n\n.hover\\:disabled\\:\\[background\\:none\\]:disabled:hover:not(:disabled) {\n background: none;\n}\n\n.hover\\:data-\\[state\\=active\\]\\:bg-inkeep-primary-light-subtle[data-state="active"]:hover:not(:disabled) {\n background-color: var(--ikp-color-inkeep-primary-light-subtle);\n}\n\n.data-\\[is-match\\]\\:hover\\:text-inkeep-expanded-primary-800:hover:not(:disabled)[data-is-match] {\n color: var(--ikp-color-inkeep-expanded-primary-800);\n}\n\n.befter\\:pointer-events-none::before {\n pointer-events: none;\n}\n\n.befter\\:absolute::before {\n position: absolute;\n}\n\n.befter\\:inset-x-0::before {\n left: 0px;\n right: 0px;\n}\n\n.befter\\:h-10::before {\n height: 2.5rem;\n}\n\n.befter\\:from-white::before {\n --tw-gradient-from: #fff var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.befter\\:to-transparent::before {\n --tw-gradient-to: transparent var(--tw-gradient-to-position);\n}\n\n.befter\\:transition-opacity::before {\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.befter\\:duration-300::before {\n transition-duration: 300ms;\n}\n\n.befter\\:ease-in-out::before {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.befter\\:content-\\[\\"\\"\\]::before {\n --tw-content: "";\n content: var(--tw-content);\n}\n\n.befter\\:pointer-events-none::after {\n pointer-events: none;\n}\n\n.befter\\:absolute::after {\n position: absolute;\n}\n\n.befter\\:inset-x-0::after {\n left: 0px;\n right: 0px;\n}\n\n.befter\\:h-10::after {\n height: 2.5rem;\n}\n\n.befter\\:from-white::after {\n --tw-gradient-from: #fff var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.befter\\:to-transparent::after {\n --tw-gradient-to: transparent var(--tw-gradient-to-position);\n}\n\n.befter\\:transition-opacity::after {\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.befter\\:duration-300::after {\n transition-duration: 300ms;\n}\n\n.befter\\:ease-in-out::after {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.befter\\:content-\\[\\"\\"\\]::after {\n --tw-content: "";\n content: var(--tw-content);\n}\n\n.selected\\:border-inkeep-primary-medium-subtle[data-selected="true"] {\n border-color: var(--ikp-color-inkeep-primary-medium-subtle);\n}\n\n.selected\\:bg-inkeep-primary-light-subtle[data-selected="true"] {\n background-color: var(--ikp-color-inkeep-primary-light-subtle);\n}\n\n.selected\\:text-inkeep-primary-strong[data-selected="true"] {\n color: var(--ikp-color-inkeep-primary-strong);\n}\n\n.selected\\:border-inkeep-primary-medium-subtle:hover {\n border-color: var(--ikp-color-inkeep-primary-medium-subtle);\n}\n\n.selected\\:bg-inkeep-primary-light-subtle:hover {\n background-color: var(--ikp-color-inkeep-primary-light-subtle);\n}\n\n.selected\\:text-inkeep-primary-strong:hover {\n color: var(--ikp-color-inkeep-primary-strong);\n}\n\n.group[data-selected="true"] .group-selected\\:text-inkeep-primary-text-bold {\n color: var(--ikp-color-inkeep-primary-text-bold);\n}\n\n.group[data-selected="true"] .group-selected\\:text-inkeep-primary-text-subtle {\n color: var(--ikp-color-inkeep-primary-text-subtle);\n}\n\n.group[data-selected="true"] .group-selected\\:opacity-100 {\n opacity: 1;\n}\n\n.group:hover .group-selected\\:text-inkeep-primary-text-bold {\n color: var(--ikp-color-inkeep-primary-text-bold);\n}\n\n.group:hover .group-selected\\:text-inkeep-primary-text-subtle {\n color: var(--ikp-color-inkeep-primary-text-subtle);\n}\n\n.group:hover .group-selected\\:opacity-100 {\n opacity: 1;\n}\n\n.dark\\:border-gray-700:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-gray-700);\n}\n\n.dark\\:border-gray-dark-500:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-gray-dark-500);\n}\n\n.dark\\:border-gray-dark-700:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-gray-dark-700);\n}\n\n.dark\\:border-inkeep-expanded-primary-200:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n\n.dark\\:border-transparent:is([data-theme="dark"] *) {\n border-color: transparent;\n}\n\n.dark\\:border-white-alpha-200:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:bg-gray-dark-600:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-600);\n}\n\n.dark\\:bg-gray-dark-700:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-700);\n}\n\n.dark\\:bg-gray-dark-800:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-800);\n}\n\n.dark\\:bg-gray-dark-900:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-900);\n}\n\n.dark\\:bg-gray-dark-950:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-950);\n}\n\n.dark\\:bg-inkeep-expanded-primary-300:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:bg-overlay-dark:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-overlay-dark);\n}\n\n.dark\\:bg-transparent:is([data-theme="dark"] *) {\n background-color: transparent;\n}\n\n.dark\\:bg-white-alpha-100:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:bg-white-alpha-200:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:bg-white-alpha-50:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-50);\n}\n\n.dark\\:from-gray-dark-300:is([data-theme="dark"] *) {\n --tw-gradient-from: var(--ikp-color-gray-dark-300) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.dark\\:from-gray-dark-600:is([data-theme="dark"] *) {\n --tw-gradient-from: var(--ikp-color-gray-dark-600) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.dark\\:to-gray-dark-100:is([data-theme="dark"] *) {\n --tw-gradient-to: var(--ikp-color-gray-dark-100) var(--tw-gradient-to-position);\n}\n\n.dark\\:fill-gray-dark-800:is([data-theme="dark"] *) {\n fill: var(--ikp-color-gray-dark-800);\n}\n\n.dark\\:text-gray-200:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-200);\n}\n\n.dark\\:text-gray-400:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-400);\n}\n\n.dark\\:text-gray-dark-100:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-100);\n}\n\n.dark\\:text-gray-dark-200:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-200);\n}\n\n.dark\\:text-gray-dark-300:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-300);\n}\n\n.dark\\:text-gray-dark-400:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-400);\n}\n\n.dark\\:text-gray-dark-950:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-950);\n}\n\n.dark\\:text-inkeep-expanded-primary-100:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-100);\n}\n\n.dark\\:text-inkeep-expanded-primary-300:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:text-inkeep-expanded-primary-500:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-500);\n}\n\n.dark\\:text-red-300:is([data-theme="dark"] *) {\n --tw-text-opacity: 1;\n color: rgb(252 165 165 / var(--tw-text-opacity, 1));\n}\n\n.dark\\:text-white-alpha-500:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-500);\n}\n\n.dark\\:text-white-alpha-600:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-600);\n}\n\n.dark\\:text-white-alpha-700:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-700);\n}\n\n.dark\\:text-white-alpha-900:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-900);\n}\n\n.dark\\:text-white-alpha-950:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-950);\n}\n\n.dark\\:shadow-none:is([data-theme="dark"] *) {\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.dark\\:shadow-\\[none\\]:is([data-theme="dark"] *) {\n --tw-shadow-color: none;\n --tw-shadow: var(--tw-shadow-colored);\n}\n\n.dark\\:\\[--end-color\\:theme\\(colors\\.gray-dark\\.600\\)\\]:is([data-theme="dark"] *) {\n --end-color: var(--ikp-color-gray-dark-600);\n}\n\n.dark\\:\\[--end-color\\:theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\]:is([data-theme="dark"] *) {\n --end-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:\\[--end-color\\:theme\\(colors\\.white-alpha\\.300\\)\\]:is([data-theme="dark"] *) {\n --end-color: var(--ikp-color-white-alpha-300);\n}\n\n.dark\\:\\[--error-border-color\\:theme\\(colors\\.red\\.300\\)\\]:is([data-theme="dark"] *) {\n --error-border-color: #fca5a5;\n}\n\n.dark\\:\\[--focus-border-color\\:theme\\(colors\\.blue\\.300\\)\\]:is([data-theme="dark"] *) {\n --focus-border-color: #93c5fd;\n}\n\n.dark\\:\\[--scrollbar-color\\:var\\(--color-gray-dark-600\\)\\]:is([data-theme="dark"] *) {\n --scrollbar-color: var(--color-gray-dark-600);\n}\n\n.dark\\:\\[--start-color\\:theme\\(colors\\.gray-dark\\.800\\)\\]:is([data-theme="dark"] *) {\n --start-color: var(--ikp-color-gray-dark-800);\n}\n\n.dark\\:\\[--start-color\\:theme\\(colors\\.gray\\.300\\)\\]:is([data-theme="dark"] *) {\n --start-color: var(--ikp-color-gray-300);\n}\n\n.dark\\:\\[--start-color\\:theme\\(colors\\.inkeep-expanded-primary\\.50\\)\\]:is([data-theme="dark"] *) {\n --start-color: var(--ikp-color-inkeep-expanded-primary-50);\n}\n\n.dark\\:file\\:text-white-alpha-700:is([data-theme="dark"] *)::file-selector-button {\n color: var(--ikp-color-white-alpha-700);\n}\n\n.dark\\:placeholder\\:text-gray-dark-200:is([data-theme="dark"] *)::-moz-placeholder {\n color: var(--ikp-color-gray-dark-200);\n}\n\n.dark\\:placeholder\\:text-gray-dark-200:is([data-theme="dark"] *)::placeholder {\n color: var(--ikp-color-gray-dark-200);\n}\n\n.dark\\:before\\:bg-gray-dark-950:is([data-theme="dark"] *)::before {\n content: var(--tw-content);\n background-color: var(--ikp-color-gray-dark-950);\n}\n\n.dark\\:before\\:to-gray-dark-950:is([data-theme="dark"] *)::before {\n content: var(--tw-content);\n --tw-gradient-to: var(--ikp-color-gray-dark-950) var(--tw-gradient-to-position);\n}\n\n.dark\\:after\\:bg-gray-dark-950:is([data-theme="dark"] *)::after {\n content: var(--tw-content);\n background-color: var(--ikp-color-gray-dark-950);\n}\n\n.dark\\:focus\\:bg-gray-dark-800:focus:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-800);\n}\n\n.dark\\:focus\\:outline-inkeep-expanded-primary-300:focus:is([data-theme="dark"] *) {\n outline-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:active\\:bg-inkeep-expanded-primary-200:active:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n\n.dark\\:active\\:bg-white-alpha-100:active:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:active\\:bg-white-alpha-200:active:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:active\\:bg-white-alpha-400:active:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-400);\n}\n\n.dark\\:disabled\\:text-white-alpha-200:disabled:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-200);\n}\n\n.group:hover .dark\\:group-hover\\:text-white-alpha-600:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-600);\n}\n\n.dark\\:data-\\[state\\=active\\]\\:border-inkeep-expanded-primary-300[data-state="active"]:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[state\\=checked\\]\\:border-white-alpha-950[data-state="checked"]:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-white-alpha-950);\n}\n\n.dark\\:data-\\[active\\]\\:bg-gray-dark-700[data-active]:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-700);\n}\n\n.dark\\:data-\\[state\\=active\\]\\:bg-white-alpha-100[data-state="active"]:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:data-\\[state\\=checked\\]\\:bg-white-alpha-950[data-state="checked"]:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-950);\n}\n\n.dark\\:data-\\[username\\]\\:bg-inkeep-expanded-primary-300[data-username]:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[active\\]\\:text-white-alpha-600[data-active]:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-600);\n}\n\n.dark\\:data-\\[active\\]\\:text-white-alpha-950[data-active]:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-950);\n}\n\n.dark\\:data-\\[highlighted\\]\\:text-gray-dark-50[data-highlighted]:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-50);\n}\n\n.dark\\:data-\\[is-match\\]\\:text-inkeep-expanded-primary-300[data-is-match]:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[role\\=user\\]\\:text-white-alpha-700[data-role="user"]:is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-700);\n}\n\n.dark\\:data-\\[state\\=active\\]\\:text-inkeep-expanded-primary-300[data-state="active"]:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[state\\=checked\\]\\:text-gray-1000[data-state="checked"]:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-1000);\n}\n\n.dark\\:data-\\[type\\=icon\\]\\:data-\\[role\\=user\\]\\:text-inkeep-expanded-primary-300[data-role="user"][data-type="icon"]:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.data-\\[downvoted\\]\\:dark\\:text-inkeep-expanded-primary-300:is([data-theme="dark"] *)[data-downvoted] {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.data-\\[upvoted\\]\\:dark\\:text-inkeep-expanded-primary-300:is([data-theme="dark"] *)[data-upvoted] {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[type\\=icon\\]\\:data-\\[role\\=assistant\\]\\:\\[--end-color\\:theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\][data-role="assistant"][data-type="icon"]:is([data-theme="dark"] *) {\n --end-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:data-\\[type\\=icon\\]\\:data-\\[role\\=assistant\\]\\:\\[--start-color\\:theme\\(colors\\.inkeep-expanded-primary\\.50\\)\\][data-role="assistant"][data-type="icon"]:is([data-theme="dark"] *) {\n --start-color: var(--ikp-color-inkeep-expanded-primary-50);\n}\n\n.dark\\:data-\\[required\\]\\:after\\:text-red-300[data-required]:is([data-theme="dark"] *)::after {\n content: var(--tw-content);\n --tw-text-opacity: 1;\n color: rgb(252 165 165 / var(--tw-text-opacity, 1));\n}\n\n.data-\\[show-toolbar\\]\\:after\\:dark\\:text-gray-dark-950:is([data-theme="dark"] *)[data-show-toolbar]::after {\n content: var(--tw-content);\n color: var(--ikp-color-gray-dark-950);\n}\n\n.dark\\:data-\\[highlight\\]\\:first\\:before\\:\\[background-image\\:conic-gradient\\(transparent\\2c theme\\(colors\\.inkeep-expanded-primary\\.300\\)\\2c transparent_30\\%\\)\\]:first-child[data-highlight]:is([data-theme="dark"] *)::before {\n content: var(--tw-content);\n background-image: conic-gradient(transparent,var(--ikp-color-inkeep-expanded-primary-300),transparent 30%);\n}\n\n.dark\\:hover\\:border-white-alpha-300:hover:not(:disabled):is([data-theme="dark"] *) {\n border-color: var(--ikp-color-white-alpha-300);\n}\n\n.dark\\:hover\\:bg-gray-dark-800:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-gray-dark-800);\n}\n\n.dark\\:hover\\:bg-inkeep-expanded-primary-200:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n\n.dark\\:hover\\:bg-transparent:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: transparent;\n}\n\n.dark\\:hover\\:bg-white-alpha-100:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:hover\\:bg-white-alpha-200:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:hover\\:bg-white-alpha-50:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-50);\n}\n\n.dark\\:hover\\:text-inkeep-expanded-primary-100:hover:not(:disabled):is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-100);\n}\n\n.dark\\:hover\\:text-inkeep-expanded-primary-300:hover:not(:disabled):is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:hover\\:text-white-alpha-500:hover:not(:disabled):is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-500);\n}\n\n.dark\\:hover\\:text-white-alpha-800:hover:not(:disabled):is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-800);\n}\n\n.dark\\:hover\\:text-white-alpha-950:hover:not(:disabled):is([data-theme="dark"] *) {\n color: var(--ikp-color-white-alpha-950);\n}\n\n.hover\\:dark\\:text-white-alpha-950:is([data-theme="dark"] *):hover:not(:disabled) {\n color: var(--ikp-color-white-alpha-950);\n}\n\n.dark\\:hover\\:disabled\\:bg-white-alpha-100:disabled:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:hover\\:data-\\[state\\=active\\]\\:bg-white-alpha-100[data-state="active"]:hover:not(:disabled):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.dark\\:data-\\[is-match\\]\\:hover\\:text-inkeep-expanded-primary-200:hover:not(:disabled)[data-is-match]:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n\n.befter\\:dark\\:from-gray-dark-950:is([data-theme="dark"] *)::before {\n --tw-gradient-from: var(--ikp-color-gray-dark-950) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.befter\\:dark\\:from-gray-dark-950:is([data-theme="dark"] *)::after {\n --tw-gradient-from: var(--ikp-color-gray-dark-950) var(--tw-gradient-from-position);\n --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n}\n\n.dark\\:selected\\:border-inkeep-expanded-primary-300[data-selected="true"]:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:selected\\:bg-white-alpha-200[data-selected="true"]:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:selected\\:text-inkeep-expanded-primary-300[data-selected="true"]:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:selected\\:border-inkeep-expanded-primary-300:hover:is([data-theme="dark"] *) {\n border-color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.dark\\:selected\\:bg-white-alpha-200:hover:is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-200);\n}\n\n.dark\\:selected\\:text-inkeep-expanded-primary-300:hover:is([data-theme="dark"] *) {\n color: var(--ikp-color-inkeep-expanded-primary-300);\n}\n\n.group[data-selected="true"] .dark\\:group-selected\\:text-gray-dark-100:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-100);\n}\n\n.group[data-selected="true"] .dark\\:group-selected\\:text-white:is([data-theme="dark"] *) {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.group:hover .dark\\:group-selected\\:text-gray-dark-100:is([data-theme="dark"] *) {\n color: var(--ikp-color-gray-dark-100);\n}\n\n.group:hover .dark\\:group-selected\\:text-white:is([data-theme="dark"] *) {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n@media (min-width: 640px) {\n\n .sm\\:w-\\[420px\\] {\n width: 420px;\n }\n}\n\n@media (min-width: 768px) {\n\n .md\\:my-12 {\n margin-top: 3rem;\n margin-bottom: 3rem;\n }\n\n .md\\:flex {\n display: flex;\n }\n\n .md\\:hidden {\n display: none;\n }\n\n .md\\:h-\\[min\\(760px\\2c 100\\%\\)\\] {\n height: min(760px,100%);\n }\n\n .md\\:w-\\[min\\(600px\\2c 100\\%\\)\\] {\n width: min(600px,100%);\n }\n\n .md\\:min-w-\\[min\\(320px\\2c 100\\%\\)\\] {\n min-width: min(320px,100%);\n }\n\n .md\\:p-10 {\n padding: 2.5rem;\n }\n\n .md\\:text-4xl {\n font-size: var(--ikp-font-size-4xl);\n }\n\n .md\\:text-sm {\n font-size: var(--ikp-font-size-sm);\n }\n\n .md\\:leading-5 {\n line-height: 1.25rem;\n }\n\n .md\\:data-\\[view\\=dual-pane\\]\\:hidden[data-view="dual-pane"] {\n display: none;\n }\n\n .md\\:data-\\[dual-pane-search-expanded\\]\\:h-\\[min\\(calc\\(85vh_-_72px\\)\\2c calc\\(900px_-_72px_-_135px\\)\\)\\][data-dual-pane-search-expanded] {\n height: min(calc(85vh - 72px),calc(900px - 72px - 135px));\n }\n\n .md\\:data-\\[view\\=dual-pane\\]\\:\\[grid-template\\:\\"breadcrumbs_breadcrumbs_breadcrumbs\\"\\"icon_title_tag\\"\\"description_description_description\\"\\/auto_auto_1fr\\][data-view="dual-pane"] {\n grid-template: "breadcrumbs breadcrumbs breadcrumbs""icon title tag""description description description"/auto auto 1fr;\n }\n}\n\n@media (min-width: 1024px) {\n\n .lg\\:h-\\[min\\(800px\\2c 100\\%\\)\\] {\n height: min(800px,100%);\n }\n\n .lg\\:w-\\[min\\(640px\\2c 100\\%\\)\\] {\n width: min(640px,100%);\n }\n}\n\n@media (min-width: 1536px) {\n\n .\\32xl\\:h-\\[min\\(900px\\2c 100\\%\\)\\] {\n height: min(900px,100%);\n }\n\n .\\32xl\\:w-\\[min\\(760px\\2c 100\\%\\)\\] {\n width: min(760px,100%);\n }\n}\n\n.\\[\\&\\:not\\(\\:last-child\\)\\]\\:after\\:absolute:not(:last-child)::after {\n content: var(--tw-content);\n position: absolute;\n}\n\n.\\[\\&\\:not\\(\\:last-child\\)\\]\\:after\\:inset-x-6:not(:last-child)::after {\n content: var(--tw-content);\n left: 1.5rem;\n right: 1.5rem;\n}\n\n.\\[\\&\\:not\\(\\:last-child\\)\\]\\:after\\:bottom-0:not(:last-child)::after {\n content: var(--tw-content);\n bottom: 0px;\n}\n\n.\\[\\&\\:not\\(\\:last-child\\)\\]\\:after\\:border-b:not(:last-child)::after {\n content: var(--tw-content);\n border-bottom-width: 1px;\n}\n\n[data-widget-md] .ikp-md\\:\\[\\&\\:not\\(\\:last-child\\)\\]\\:after\\:inset-x-8:not(:last-child)::after {\n content: var(--tw-content);\n left: 2rem;\n right: 2rem;\n}\n\n.focus\\:\\[\\&\\:not\\(\\[data-invalid\\]\\)\\]\\:border-\\[--focus-border-color\\]:not([data-invalid]):focus {\n border-color: var(--focus-border-color);\n}\n\n.focus\\:\\[\\&\\:not\\(\\[data-invalid\\]\\)\\]\\:shadow-\\[0_0_0_1px_var\\(--focus-border-color\\)\\]:not([data-invalid]):focus {\n --tw-shadow: 0 0 0 1px var(--focus-border-color);\n --tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.\\[\\&\\:where\\(\\:hover\\2c \\:focus\\)\\]\\:bg-slate-400\\/5:where(:hover,:focus) {\n background-color: rgb(148 163 184 / 0.05);\n}\n\n.dark\\:\\[\\&\\:where\\(\\:hover\\2c \\:focus\\)\\]\\:bg-white-alpha-100:where(:hover,:focus):is([data-theme="dark"] *) {\n background-color: var(--ikp-color-white-alpha-100);\n}\n\n.\\[\\&\\>\\:first-child\\]\\:basis-full>:first-child {\n flex-basis: 100%;\n}\n\n.\\[\\&\\[data-mobile\\]\\>div\\]\\:h-full[data-mobile]>div {\n height: 100%;\n}\n\n.\\[\\&\\[data-mobile\\]\\>div\\]\\:max-h-\\[unset\\][data-mobile]>div {\n max-height: unset;\n}\n\n.\\[\\&\\[data-mobile\\]\\>div\\]\\:max-h-dvh[data-mobile]>div {\n max-height: 100dvh;\n}\n\n.\\[\\&_\\[data-part\\=grid\\]\\]\\:divide-y [data-part=grid] > :not([hidden]) ~ :not([hidden]) {\n --tw-divide-y-reverse: 0;\n border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n border-bottom-width: calc(1px * var(--tw-divide-y-reverse));\n}\n\n.\\[\\&_\\[data-part\\=grid\\]\\]\\:px-1 [data-part=grid] {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n\n.\\[\\&_a\\]\\:inline a {\n display: inline;\n}\n\n.\\[\\&_a\\]\\:break-words a {\n overflow-wrap: break-word;\n}\n\n.\\[\\&_a\\]\\:rounded-sm a {\n border-radius: 0.125rem;\n}\n\n.\\[\\&_a\\]\\:bg-inkeep-primary-light a {\n background-color: var(--ikp-color-inkeep-primary-light);\n}\n\n.\\[\\&_a\\]\\:px-1 a {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n\n.\\[\\&_a\\]\\:py-\\[1px\\] a {\n padding-top: 1px;\n padding-bottom: 1px;\n}\n\n.\\[\\&_a\\]\\:font-semibold a {\n font-weight: 600;\n}\n\n.\\[\\&_a\\]\\:text-inkeep-primary-text-subtle a {\n color: var(--ikp-color-inkeep-primary-text-subtle);\n}\n\n.\\[\\&_a\\]\\:no-underline a {\n text-decoration-line: none;\n}\n\n.\\[\\&_a\\]\\:hover\\:text-inkeep-primary-text-bold:hover:not(:disabled) a {\n color: var(--ikp-color-inkeep-primary-text-bold);\n}\n\n.\\[\\&_a\\]\\:hover\\:no-underline:hover:not(:disabled) a {\n text-decoration-line: none;\n}\n\n.\\[\\&_a\\]\\:dark\\:bg-inkeep-primary-text-subtle:is([data-theme="dark"] *) a {\n background-color: var(--ikp-color-inkeep-primary-text-subtle);\n}\n\n.\\[\\&_a\\]\\:dark\\:hover\\:text-inkeep-expanded-primary-200:hover:not(:disabled):is([data-theme="dark"] *) a {\n color: var(--ikp-color-inkeep-expanded-primary-200);\n}\n\n.\\[\\&_em\\]\\:font-bold em {\n font-weight: 700;\n}\n\n.\\[\\&_em\\]\\:not-italic em {\n font-style: normal;\n}\n\n.\\[\\&_li\\]\\:mb-1 li {\n margin-bottom: 0.25rem;\n}\n\n.\\[\\&_svg\\]\\:h-4 svg {\n height: 1rem;\n}\n\n.\\[\\&_svg\\]\\:w-4 svg {\n width: 1rem;\n}\n\n[data-show-ask-ai-card] .\\[\\[data-show-ask-ai-card\\]_\\&\\]\\:pb-1 {\n padding-bottom: 0.25rem;\n}\n\n[data-view=dual-pane] .first\\:\\[\\[data-view\\=dual-pane\\]_\\&\\]\\:flex-1:first-child {\n flex: 1 1 0%;\n}\n\n@media (min-width: 768px) {\n\n [data-view=dual-pane] .md\\:first\\:\\[\\[data-view\\=dual-pane\\]_\\&\\]\\:flex-\\[0_0_40\\%\\]:first-child {\n flex: 0 0 40%;\n }\n}\n',...e}),uue=_B("div",{_id:"view_toggle"}),due=_B("button",{_id:"view_toggle_button",className:Goe({slot:"button"})}),pue=_B(kW,{_id:"view_toggle_icon"});function fue(e){const{handleToggle:t}=hue(e);return $f.jsxs(uue,{className:Goe({slot:"root"}),children:[$f.jsxs(due,{onClick:()=>t("search"),"data-active":_P("search"===e.view),children:[$f.jsx(pue,{"data-active":_P("search"===e.view),iconKey:"switchToSearch",className:Goe({slot:"icon"})}),e.searchLabel||"Search"]}),$f.jsxs(due,{onClick:()=>t("chat"),"data-active":_P("chat"===e.view),children:[$f.jsx(pue,{"data-active":_P("chat"===e.view),iconKey:"switchToChat",className:Goe({slot:"icon"})}),e.askAILabel||"Ask AI"]})]})}function hue(e){const{onToggleView:t,query:n}=e;return{handleToggle:(e,r)=>{null==t||t({view:e,query:n,autoSubmit:r})}}}function mue(e){const{componentType:t,children:n,modalSettings:r,...a}=e;return $f.jsx(Tae,{children:$f.jsx(cue,{children:$f.jsx(dB,{config:{...a},componentType:t,children:$f.jsx(eue,{config:r,children:n})})})})}function gue(e){return $f.jsx(tue,{children:$f.jsx(nue,{children:e.children})})}function yue(e){const{children:t,onToggleView:n,isHidden:r,shouldAutoFocusInput:a=!n}=e;return $f.jsx(Koe,{isHidden:r,shouldAutoFocusInput:a,children:t})}function bue(e){return $f.jsx(yue,{...e,children:$f.jsx(vue,{...e})})}function vue(e){const{onToggleView:t}=e,n=rD(),r=dD(),a=n&&!r?gue:V.Fragment;return $f.jsx(a,{children:$f.jsxs(Xoe,{variant:t?"no-shadow":"container-with-shadow","data-composite":_P(!!e.onToggleView||(null==n?void 0:n.isOpen)),children:[$f.jsx(Qoe,{}),$f.jsxs(Zoe,{children:[$f.jsx(kue,{...e}),$f.jsx(wue,{}),$f.jsx(Aue,{})]}),$f.jsx(Rue,{}),$f.jsx(Oue,{})]})})}function kue(e){const{onToggleView:t,askAILabel:n,searchLabel:r}=e,a=!!t;return $f.jsxs(Joe,{"data-show-toolbar":_P(a),children:[a&&$f.jsxs(eie,{children:[$f.jsxs(tie,{children:[$f.jsx(nie,{}),$f.jsxs(cie,{children:[$f.jsx(die,{}),$f.jsxs(pie,{side:"bottom",align:"start",children:[$f.jsx(fie,{}),$f.jsx(hie,{})]})]})]}),$f.jsx(fue,{onToggleView:t,askAILabel:n,searchLabel:r,view:"chat"})]}),$f.jsx(rue,{})]})}function wue(){return $f.jsx(rie,{children:$f.jsxs(aie,{children:[$f.jsx(oie,{children:$f.jsx(xue,{})}),$f.jsx(iie,{children:$f.jsx(sie,{})}),$f.jsx(lie,{})]})})}function xue(){return $f.jsx(kie,{children:({messages:e})=>$f.jsxs($f.Fragment,{children:[$f.jsx(Eue,{}),e.map((e=>$f.jsxs(xie,{message:e,children:[$f.jsx(Sue,{}),$f.jsx(_ie,{}),$f.jsxs(Rie,{children:[$f.jsx(Oie,{children:$f.jsx(Gie,{})}),$f.jsx(_ue,{}),$f.jsx(Tue,{}),$f.jsx(Cue,{})]})]},e.id)))]})})}function Eue(){return $f.jsxs(Eie,{children:[$f.jsxs(Sie,{children:[$f.jsx(Tie,{children:$f.jsxs(Cie,{children:[$f.jsx(Aie,{}),$f.jsx(Nie,{})]})}),$f.jsx(Iie,{})]}),$f.jsxs(Rie,{children:[$f.jsx(Oie,{children:$f.jsx(Gie,{})}),$f.jsxs(cie,{children:[$f.jsx(uie,{}),$f.jsx(die,{}),$f.jsxs(pie,{children:[$f.jsx(fie,{}),$f.jsx(hie,{})]})]}),$f.jsxs(mie,{children:[$f.jsx(gie,{}),$f.jsx(yie,{children:e=>e.map((e=>$f.jsx(bie,{children:$f.jsx(vie,{question:e})},e)))})]})]})]})}function Sue(){return $f.jsxs(Sie,{children:[$f.jsx(Tie,{children:$f.jsxs(Cie,{children:[$f.jsx(Aie,{}),$f.jsx(Nie,{})]})}),$f.jsx(Iie,{})]})}function _ue(){return $f.jsxs(Pie,{children:[$f.jsx(Lie,{children:e=>e.map((e=>$f.jsxs(Die,{attachment:e,children:[$f.jsx(Mie,{}),$f.jsx(Fie,{})]},e.id)))}),$f.jsx(jie,{children:$f.jsx(Cae,{children:$f.jsx(Bie,{children:$f.jsxs(Hie,{children:[$f.jsx(zie,{}),$f.jsx(Uie,{}),$f.jsx($ie,{})]})})})})]})}function Tue(){return $f.jsxs(Vie,{children:[$f.jsx(Wie,{children:e=>e.map(((e,t)=>$f.jsx(qie,{action:e},`action-${t}`)))}),$f.jsx(Yie,{action:"copy"}),$f.jsx(Yie,{action:"upvote"}),$f.jsx(Yie,{action:"downvote"})]})}function Cue(){return $f.jsxs(Kie,{children:[$f.jsx(Xie,{}),$f.jsx(Qie,{children:e=>e.map(((e,t)=>{var n;return $f.jsxs(Zie,{href:e.url,source:e,children:[$f.jsx(Jie,{children:null==(n=e.breadcrumbs)?void 0:n.map((e=>$f.jsxs(V.Fragment,{children:[e,$f.jsx(ese,{})]},e)))}),$f.jsx(tse,{}),$f.jsx(nse,{}),$f.jsx(rse,{}),$f.jsx(ase,{children:e=>e.map(((e,t)=>$f.jsx(ose,{part:e},`part-${t}`)))}),$f.jsx(ise,{})]},t)}))})]})}function Aue(){return $f.jsxs(sse,{children:[$f.jsx(Nue,{}),$f.jsx(Iue,{})]})}function Nue(){return $f.jsxs(lse,{children:[$f.jsxs(cse,{children:[$f.jsx(use,{}),$f.jsx(dse,{children:$f.jsx(pse,{})})]}),$f.jsxs(fse,{children:[$f.jsx(hse,{children:e=>e.map((e=>$f.jsxs(mse,{attachment:e,children:[$f.jsx(gse,{}),$f.jsx(yse,{}),$f.jsx(bse,{})]},e.id)))}),$f.jsxs(vse,{children:[$f.jsxs(kse,{children:[$f.jsx(wse,{}),$f.jsx(xse,{})]}),$f.jsx(Ese,{children:e=>e.map((e=>$f.jsxs(Sse,{input:e,children:[$f.jsx(_se,{}),e.displayName]},e.id)))})]}),$f.jsx(Cae,{children:$f.jsx(Tse,{children:$f.jsx(Cse,{children:$f.jsxs(Ase,{children:[$f.jsxs(Nse,{children:[$f.jsx(Ise,{}),$f.jsx(Rse,{}),$f.jsx(Ose,{})]}),$f.jsx(Pse,{}),$f.jsx(Lse,{children:$f.jsxs(Dse,{children:[$f.jsxs(Mse,{children:[$f.jsx(Fse,{}),$f.jsx(jse,{}),$f.jsx(Bse,{})]}),$f.jsxs(Hse,{children:[$f.jsx(zse,{}),$f.jsx(Use,{}),$f.jsx($se,{})]}),$f.jsx(Gse,{})]})})]})})})})]})]})}function Iue(){return $f.jsxs(Vse,{children:[$f.jsxs(qse,{children:[$f.jsx(Yse,{}),$f.jsx(Kse,{}),$f.jsx(Xse,{})]}),$f.jsxs(Wse,{children:[$f.jsx(tle,{children:({pinned:e,unpinned:t})=>$f.jsxs($f.Fragment,{children:[e.map((e=>$f.jsx(nle,{action:e},e.name))),t.length>0&&$f.jsx(rle,{}),$f.jsxs(ale,{children:[$f.jsx(ole,{}),t.map((e=>$f.jsxs(ile,{action:e,children:[$f.jsx(sle,{action:e}),e.name]},e.name)))]})]})}),$f.jsxs(Zse,{action:"copy",children:[$f.jsx(Jse,{action:"copy"}),$f.jsx(ele,{action:"copy"})]}),$f.jsxs(Zse,{action:"share",children:[$f.jsx(Jse,{action:"share"}),$f.jsx(ele,{action:"share"})]}),$f.jsx(Zse,{action:"clear"}),$f.jsx(Zse,{action:"stop"})]})]})}function Rue(){return $f.jsx(Cae,{children:$f.jsx(lle,{children:$f.jsx(cle,{children:$f.jsxs(ule,{children:[$f.jsx(dle,{}),$f.jsx(ple,{}),$f.jsx(fle,{children:$f.jsxs(hle,{children:[$f.jsxs(mle,{name:"unrelated_response",children:[$f.jsx(gle,{children:$f.jsx(yle,{})}),$f.jsx(ble,{}),$f.jsx(vle,{})]}),$f.jsxs(mle,{name:"inaccurate_statement",children:[$f.jsx(gle,{children:$f.jsx(yle,{})}),$f.jsx(ble,{}),$f.jsx(vle,{})]}),$f.jsxs(mle,{name:"inaccurate_code_snippet",children:[$f.jsx(gle,{children:$f.jsx(yle,{})}),$f.jsx(ble,{}),$f.jsx(vle,{})]}),$f.jsxs(mle,{name:"irrelevant_citations",children:[$f.jsx(gle,{children:$f.jsx(yle,{})}),$f.jsx(ble,{})]}),$f.jsx(kle,{})]})})]})})})})}function Oue(){return $f.jsxs(wle,{children:[$f.jsx(Ele,{}),$f.jsxs(xle,{children:[$f.jsxs(Sle,{children:[$f.jsx(_le,{}),$f.jsx(Tle,{})]}),$f.jsx(Cle,{children:e=>$f.jsxs($f.Fragment,{children:[e.map(((e,t)=>$f.jsxs(Ale,{field:e,autoFocus:0===t,children:[$f.jsx(Nle,{}),"text"===e.inputType&&$f.jsx(Ile,{}),"email"===e.inputType&&$f.jsx(Rle,{}),"file"===e.inputType&&$f.jsx(Ole,{}),"textarea"===e.inputType&&$f.jsx(Ple,{}),"checkbox"===e.inputType&&$f.jsx(Lle,{children:$f.jsx(Dle,{})}),"select"===e.inputType&&$f.jsxs(Mle,{children:[$f.jsxs(Fle,{children:[$f.jsx(jle,{}),$f.jsx(Ble,{})]}),$f.jsx(Hle,{children:$f.jsx(zle,{children:e.items.map((e=>$f.jsxs(Ule,{value:e.value,children:[$f.jsx($le,{children:e.label}),$f.jsx(Gle,{})]},e.value)))})})]}),$f.jsx(Vle,{})]},e.name))),$f.jsx(Wle,{})]})}),$f.jsxs(qle,{children:[$f.jsx(Yle,{}),$f.jsx(Kle,{})]})]}),$f.jsxs(Xle,{children:[$f.jsx(Qle,{}),$f.jsx(Zle,{}),$f.jsx(Jle,{})]})]})}function Pue(e){const{children:t,onToggleView:n,isHidden:r,shouldAutoFocusInput:a=!n}=e;return $f.jsx(tce,{isHidden:r,shouldAutoFocusInput:a,children:t})}function Lue(e){const{onToggleView:t,shouldShowAskAICard:n}=e,r=rD(),a=dD(),o=r&&!a?gue:V.Fragment;return $f.jsx(o,{children:$f.jsx(nce,{"data-show-ask-ai-card":_P(n),"data-composite":_P(!!t||(null==r?void 0:r.isOpen)),children:$f.jsxs(rce,{children:[$f.jsx(Due,{...e}),$f.jsxs(ace,{children:[$f.jsx(Mue,{...e}),$f.jsx(Fue,{})]}),$f.jsx(Hue,{})]})})})}function Due(e){const{onToggleView:t,askAILabel:n,searchLabel:r}=e,{query:a}=Yte();return $f.jsxs(oce,{children:[$f.jsx(ice,{}),$f.jsx(sce,{}),$f.jsx(lce,{}),t&&$f.jsx(fue,{onToggleView:t,query:a,askAILabel:n,searchLabel:r,view:"search"}),$f.jsx(rue,{})]})}function Mue(e){const{searchSettings:{view:t}}=WO(),{askAILabel:n,onToggleView:r,shouldShowAskAICard:a=!!r&&"dual-pane"!==t}=e,{query:o}=Yte(),{handleToggle:i}=hue({onToggleView:r,query:o});return a?$f.jsxs(cce,{onSelect:()=>i("chat",!0),children:[$f.jsx(uce,{}),$f.jsxs(dce,{children:[n||"Ask AI",o&&` "${o}"`]}),$f.jsx(pce,{})]}):null}function Fue(){return $f.jsxs(fce,{children:[$f.jsx(hce,{}),$f.jsx(gce,{children:e=>e.map((e=>$f.jsx(yce,{tab:e},e)))}),$f.jsx(mce,{}),$f.jsxs(bce,{children:[$f.jsx(jue,{}),$f.jsx(Bue,{})]})]})}function jue(){return $f.jsxs(vce,{children:[$f.jsx(kce,{children:$f.jsx(Sce,{children:e=>e.map((e=>$f.jsxs(_ce,{item:e,children:[$f.jsx(Tce,{children:e=>e.map(((e,t)=>$f.jsxs(V.Fragment,{children:[e,$f.jsx(Cce,{})]},`${e}-${t}`)))}),$f.jsx(Ace,{}),$f.jsx(Nce,{}),$f.jsx(Ice,{}),$f.jsx(Rce,{children:e=>e.map(((e,t)=>$f.jsx(Oce,{part:e},`part-${t}`)))}),$f.jsx(Pce,{})]},e.id)))})}),$f.jsx(wce,{children:$f.jsx(xce,{})}),$f.jsx(Ece,{})]})}function Bue(){return $f.jsxs(vce,{children:[$f.jsx(kce,{children:$f.jsxs(Lce,{children:[$f.jsxs(Dce,{children:[$f.jsxs(Mce,{children:[$f.jsx(Fce,{}),$f.jsx(jce,{})]}),$f.jsx(Bce,{children:e=>e.map(((e,t)=>$f.jsxs(V.Fragment,{children:[e,$f.jsx(Hce,{})]},`${e}-${t}`)))})]}),$f.jsx(zce,{}),$f.jsxs(Uce,{children:[$f.jsx($ce,{}),$f.jsx(Gce,{children:e=>e.map(((e,t)=>$f.jsxs(Vce,{href:e.url??void 0,"data-is-match":_P(e.isMatch),children:[$f.jsx(Wce,{}),$f.jsx(qce,{children:e.content}),e.url&&$f.jsx(Yce,{})]},`${e.anchor}-${t}`)))})]})]})}),$f.jsx(wce,{children:$f.jsx(xce,{})}),$f.jsx(Ece,{})]})}function Hue(){return $f.jsx(Kce,{children:$f.jsxs(Xce,{children:[$f.jsx(Qce,{}),$f.jsx(Zce,{}),$f.jsx(Jce,{})]})})}function zue(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function Uue(...e){return t=>{for(const n of e)zue(n,t)}}function $ue(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function Gue(e){const{view:t,setView:n,shouldShowAskAICard:r,onToggleView:a,defaultView:o,shouldAutoFocusInput:i,searchLabel:s,askAILabel:l}=e,c=rD()?gue:V.Fragment,u={isHidden:"chat"===t,onToggleView:a,shouldShowAskAICard:r,shouldAutoFocusInput:i&&"search"===o,searchLabel:s,askAILabel:l},d={isHidden:"search"===t,onToggleView:a,shouldAutoFocusInput:i&&"chat"===o,searchLabel:s,askAILabel:l};return $f.jsx(uD,{widget:{setView:n},children:$f.jsx(Pue,{...u,children:$f.jsx(yue,{...d,children:$f.jsxs(c,{children:[$f.jsx(Lue,{...u}),$f.jsx(vue,{...d})]})})})})}function Vue({label:e="Ask AI",avatar:t,onOpenChange:n}){return $f.jsx(aue,{children:$f.jsxs(oue,{onClick:e=>{2!==e.button&&n((e=>!e))},children:[$f.jsx(iue,{children:e}),$f.jsx(lue,{children:$f.jsx(sue,{avatar:t})})]})})}const Wue=function(e,t){const n=new Map;return function(r,a){let o,i;if("string"==typeof r)i=r,o=a;else{if(!Mf.includes(t))throw new Error(`You must provide a target selector to render the ${t} component`);const e=document.createElement("div");e.style.position="absolute",document.body.appendChild(e);const n=`inkeep-widget-${Df()}`;i=`#${e.id||n}`,e.id=i.slice(1),o=r}const s=document.querySelector(i);if(!s)return void console.error(`Target ${i} not found.`);let l=n.get(i);if(!l){l={root:Sf.createRoot(s),props:o,container:s,chatFunctionsRef:V.createRef(),searchFunctionsRef:V.createRef(),ref:V.createRef()},n.set(i,l)}l.props=If(o,{aiChatSettings:{chatFunctionsRef:l.chatFunctionsRef},searchSettings:{searchFunctionsRef:l.searchFunctionsRef}},{ref:l.ref}),l.container=s;try{l.root.render(V.createElement(e,l.props))}catch(u){console.error(`Error rendering component ${e.name}:`,u)}const c={update:t=>{const r=n.get(i);if(r){r.props=If(r.props??{},t??{});try{r.root.render(V.createElement(e,r.props))}catch(u){console.error(`Error rendering component ${e.name} during update:`,u)}}else console.error(`Component at ${i} is not mounted.`)},unmount(){const e=n.get(i);e&&e.container?(e.root.unmount(),e.container.innerHTML=""):console.error(`Component at ${i} is not mounted.`)},remount(){const t=n.get(i);if(t&&t.container){t.root=Sf.createRoot(t.container);try{t.root.render(V.createElement(e,t.props))}catch(u){console.error(`Error remounting component ${e.name}:`,u)}}else console.error(`Component at ${i} cannot be remounted.`)}};{const e=Ff(i,"chatFunctionsRef",n),t=Ff(i,"searchFunctionsRef",n);return new Proxy(c,{get(r,a){var o;if("chat"===a)return e;if("search"===a)return t;if(a in r)return r[a];const s=n.get(i),l=null==(o=null==s?void 0:s.ref.current)?void 0:o[a];return"function"==typeof l?l.bind(null==s?void 0:s.ref.current):void 0}})}}}((function(e){const{modalSettings:t,label:n,defaultView:r="chat",canToggleView:a=!0,avatar:o,...i}=e,s={...i,shouldShowAskAICard:!!a&&e.shouldShowAskAICard},{config:l,...c}=function(e){const{defaultView:t="search",aiChatSettings:n,baseSettings:r,searchSettings:a,shouldAutoFocusInput:o=!0,onToggleView:i,ref:s,...l}=e,c=V.useRef(null),u=Uue(c,null==n?void 0:n.chatFunctionsRef),d=V.useRef(null),p=Uue(d,null==a?void 0:a.searchFunctionsRef),f={...n,chatFunctionsRef:u},h={...a,searchFunctionsRef:p},[m,g]=V.useState(t);return V.useImperativeHandle(s,(()=>({setView:g}))),V.useEffect((()=>{var e,t;"chat"===m?null==(e=c.current)||e.focusInput():null==(t=d.current)||t.focusInput()}),[m]),{config:{baseSettings:r,aiChatSettings:f,searchSettings:h},defaultView:t,view:m,setView:g,onToggleView:e=>{var t;e.autoSubmit&&e.query&&(null==(t=c.current)||t.submitMessage(e.query)),null==i||i(e),g(e.view)},shouldAutoFocusInput:o,...l}}({...s,defaultView:r}),[u=!1,d]=qF({prop:null==t?void 0:t.isOpen,defaultProp:!1,onChange:$ue(null==t?void 0:t.onOpenChange,(n=>{void 0===(null==t?void 0:t.isOpen)&&(e.forceDefaultView&&!n&&c.setView(r??"search"),d(!!n))}))}),p={...t,isOpen:u,onOpenChange:d};return $f.jsxs($f.Fragment,{children:[$f.jsx(cue,{wrapperStyles:{display:"contents"},children:$f.jsx(dB,{config:l,componentType:UO,children:$f.jsx(Vue,{label:n,avatar:o,onOpenChange:d})})}),$f.jsx(mue,{...l,componentType:UO,modalSettings:p,children:a?$f.jsx(Gue,{...c}):$f.jsx(bue,{...i})})]})}),"ChatButton");window.Inkeep={ChatButton:Wue}}();