@inkeep/cxkit-mintlify 0.0.0-dev-20250407200814 → 0.0.0-dev-20250407203750
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.
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -53,4 +53,4 @@ var KV=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u00
|
|
|
53
53
|
* @namespace
|
|
54
54
|
* @public
|
|
55
55
|
*)
|
|
56
|
-
*/;function C3(){const[e,t]=Z.useState(!1);return[e,Z.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 A3=PB("h1",{_id:"markdownH1"}),N3=PB("h2",{_id:"markdownH2"}),I3=PB("p",{_id:"markdownP"}),R3=PB("li",{_id:"markdownLi"}),O3=PB("ul",{_id:"markdownUl"}),P3=PB("ol",{_id:"markdownOl"}),L3=PB(NW,{_id:"markdownLink"}),D3=PB("sup",{_id:"markdownSourceLink"}),M3=PB("table",{_id:"markdownTable"}),F3=PB("th",{_id:"markdownTh"}),j3=PB("td",{_id:"markdownTd"}),B3=PB("code",{_id:"markdownCode"}),z3=PB("div",{_id:"codeblockContainer"}),H3=PB("div",{_id:"codeblockHeader"}),U3=PB("span",{_id:"codeblockHeaderLanguage"}),$3=PB("button",{_id:"codeblockCopyButton",type:"button"}),G3=PB("div",{_id:"codeblockHighlighterWrapper"}),V3=PB("div",{_id:"codeblockHighlighter"}),W3=PB("code",{_id:"codeblockCode"}),q3=PB("input",{_id:"markdownInput"}),Y3=Q5.oneLight,K3=Q5.vsDark,X3=({className:e="",children:t,onCopy:n})=>{var r;const a=e.replace(/^language-/,""),o=String(t).replace(/\n$/,""),[i,s]=C3(),{baseSettings:l}=ZO(),c=null==(r=l.theme)?void 0:r.syntaxHighlighter,{lightTheme:u=Y3,darkTheme:d=K3}=c??{},p=iB(u,d);return Gh.jsxs(z3,{children:[Gh.jsxs(H3,{children:[Gh.jsx(U3,{children:a}),Gh.jsx($3,{"aria-label":"Copy to clipboard",onClick:()=>{s(o),null==n||n(a,o)},"data-copied":OP(i),children:Gh.jsx(CW,{iconKey:i?"codeCopied":"codeCopy"})})]}),Gh.jsx(G3,{children:Gh.jsx(T3,{theme:p,code:o,language:a,prism:l.prism,children:({className:e,tokens:t,getLineProps:n,getTokenProps:r,style:a})=>Gh.jsx(V3,{className:e,children:Gh.jsx(W3,{style:a,children:t.map(((e,t)=>Gh.jsx("div",{...n({line:e}),children:e.map(((e,t)=>Gh.jsx("span",{...r({token:e})},t)))},t)))})})})})]})};function Q3(){return e=>{NX(e,"element",((e,t,n)=>{"code"===e.tagName&&(n&&"pre"===n.tagName?e.properties.inline=!1:e.properties.inline=!0)}))}}const Z3=({children:e,componentStyles:t,shouldOpenLinksInNewTab:n,onLinkClick:r,onCodeCopy:a,...o})=>{if(!e)return null;const i={h1:({children:e})=>Gh.jsx(A3,{children:e}),h2:({children:e})=>Gh.jsx(N3,{children:e}),p:({children:e})=>Gh.jsx(I3,{children:e}),li:({children:e})=>Gh.jsx(R3,{children:e}),ul:({children:e})=>Gh.jsx(O3,{children:e}),input:({type:e,checked:t,disabled:n,readOnly:r,required:a,value:o})=>Gh.jsx(q3,{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 Gh.jsx(P3,{style:{"--start":(null==r?void 0:r.toString())??"0"},start:a,children:e})},a:({children:e,href:t})=>{const a=J.Children.toArray(e),o=a[0],i="string"==typeof o&&/^\(\d+\)$/.test(o)&&1===a.length,s=i?o.match(/\d+/):e,l=Gh.jsx(L3,{isExternal:n,href:t,onClick:()=>{null==r||r(t,null==s?void 0:s.toString())},children:s});return i?Gh.jsx(D3,{children:l}):l},img:({src:e,alt:t})=>``,table:({children:e})=>Gh.jsx(M3,{children:e}),th:({children:e,isHeader:t})=>t?Gh.jsx(F3,{children:e}):Gh.jsx(j3,{children:e}),pre:({children:e})=>Gh.jsx("pre",{children:e}),code:({children:e,inline:t,className:n})=>t?Gh.jsx(B3,{children:e}):Gh.jsx(X3,{className:n,onCopy:a,children:e})},s=Gh.jsx(xQ,{remarkPlugins:[S5],rehypePlugins:[L1,Q3],components:i,disallowedElements:J3,children:e.toString(),...o});return Gh.jsx(Yj,{componentStyles:t,children:s})},J3=["script","iframe","frame","embed","meta","base","form","style","object"];function e4(){return Gh.jsxs("svg",{viewBox:"0 0 12 10",style:{width:"1.2em",fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},children:[Gh.jsx("title",{children:"Checkbox Icon"}),Gh.jsx("polyline",{points:"1.5 6 4.5 9 10.5 1"})]})}function t4(e){const t=Z.useId();return Gh.jsxs("svg",{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[Gh.jsx("title",{children:"Tag Line Logo Icon"}),Gh.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})`}),Gh.jsx("defs",{children:Gh.jsxs("linearGradient",{id:t,x1:"1.5893",y1:"25.285",x2:"24.0784",y2:"10.1057",gradientUnits:"userSpaceOnUse",children:[Gh.jsx("stop",{stopColor:"currentColor"}),Gh.jsx("stop",{offset:"1",stopColor:"currentColor"})]})})]})}const n4=e=>{const{logEvent:t}=bP(),{conversation:n}=nP(),{openForm:r}=gD(),a=dD();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&&t({eventName:"get_help_option_clicked",properties:{getHelpOption:e,conversation:n}})}}},r4=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 a4(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 o4(e){return e.toLowerCase().replace(/(^\w+:|^)\/\//,"").replace(/^www\./,"").replace(/\/$/,"").startsWith("github.com")}function i4(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 s4={js:".js",db:"DB",sql:"SQL"};function l4(e){return Object.entries(s4).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 c4=["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"],u4=["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"],d4=["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 p4(e){return`\\b${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}\\b`}function h4(e,t,n,r=!1){return r&&new RegExp(`^${n}\\b`,"i").test(e)?e:e.replace(new RegExp(n,"gi"),t)}const f4=(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(m4)}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=i4(t,r)),t=l4(t),t=function(e){let t=e;return t=u4.reduce(((e,t)=>h4(e,t,p4(t),!0)),t),t=d4.reduce(((e,t)=>h4(e,t,p4(t))),t),t=c4.reduce(((e,t)=>h4(e,t,p4(t))),t),t}(t),t}))??[]},m4=e=>e.split(/[-_]/).map((e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase())).join(" ");const g4=(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)},y4=e=>{let t="LuBookOpen";"documentation"===e.type&&"book"===e.contentType?t="IoBookOutline":"documentation"===e.type&&"pdf"===e.contentType?t="FaFilePdf":"github_issue"===e.type||o4(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}},b4=(e,t)=>{let n=e.title;if(!n)return"";const r=null==t?void 0:t.organizationDisplayName;return n=l4(n),r&&(n=i4(n,r)),n},v4=(e,t,n)=>{const{transformSource:r,...a}=n,o=f4(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||o4(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)??b4(e,n),description:(null==s?void 0:s.description)??g4(e,t),breadcrumbs:(null==s?void 0:s.breadcrumbs)??o,icon:(null==s?void 0:s.icon)??y4(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}};const k4=Z.createContext(void 0),w4=({children:e,open:t,setOpen:n})=>Gh.jsx(k4.Provider,{value:{open:t,setOpen:n},children:e}),x4=()=>{const e=Z.useContext(k4);if(!e)throw new Error("useHoverPopover must be used within a HoverPopoverProvider");return e},E4=PB("div",{_id:"aiChatWrapper"}),_4=Z.forwardRef(((e,t)=>{const{...n}=e,{isHidden:r,isMobile:a}=Dj(),[o,i]=function(){const e=Z.useRef(null),[t,n]=Z.useState({width:0,height:0});return Z.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=TB(t,o),l=!(null==i?void 0:i.width)||i.width>580,c=dD();return Gh.jsx(E4,{ref:s,"data-widget-md":OP(l),"data-hidden":OP(r),"data-in-modal":OP(!!c),"data-mobile":OP(a),...n})})),S4=PB("div",{_id:"aiChatConversationLoading"}),T4=e=>{const{isLoadingConversation:t}=Dj();return t?Gh.jsx(S4,{children:Gh.jsx("span",{children:"Loading..."}),...e}):null},C4=PB("div",{_id:"aiChatRoot"}),A4=e=>{const{isLoadingConversation:t,isHidden:n}=Dj(),{form:r}=gD();return t||r?null:Gh.jsx(C4,{"data-hidden":OP(n),...e})},N4=PB("div",{_id:"aiChatHeader"}),I4=PB("div",{_id:"aiChatHeader__Toolbar"}),R4=PB("div",{_id:"aiChatHeader__ToolbarHeaderWrapper"}),O4=PB("div",{_id:"aiChatHeader__ToolbarHeader"}),P4=Z.memo((e=>{const{aiChatSettings:t}=ZO(),n=`Ask ${t.aiAssistantName||"AI"}`;return Gh.jsx(O4,{...e,children:n})})),L4=PB("div",{_id:"aiChatContent"}),D4=PB(x$,{_id:"aiChatContentScrollArea"}),M4=PB(E$,{_id:"aiChatContentScrollArea__Viewport"}),F4=Z.forwardRef((({children:e,...t},n)=>{const{containerRef:r}=function(e={}){const{threshold:t=150,interactionTimeout:n=150}=e,r=Z.useRef(null),a=Z.useRef(!0),o=Z.useRef(!1),i=Z.useCallback((()=>{const e=r.current;return!!e&&e.scrollHeight-e.clientHeight-e.scrollTop<t}),[t]),s=Z.useCallback(((e=!1)=>{const t=r.current;t&&!o.current&&t.scrollTo({top:t.scrollHeight,behavior:e?"smooth":"auto"})}),[]);return Z.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]),Z.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]),Z.useEffect((()=>{r.current&&s()}),[s]),{containerRef:r,scrollToBottom:s,isNearBottom:i}}(),a=TB(n,r);return Gh.jsx(M4,{ref:a,children:Gh.jsx("div",{"data-part":"grid",style:{display:"grid"},children:e}),...t})})),j4=PB(QU,{_id:"aiChatContentScrollArea__Scrollbar"}),B4=PB(l$,{_id:"aiChatContentScrollArea__Thumb"}),z4=PB(_$,{_id:"aiChatContentScrollArea__Corner"}),H4=PB("div",{_id:"aiChatMessages"}),U4=e=>{const t=Dj(),{children:n,...r}=e;return Gh.jsx(H4,{children:LP(n,t),...r})},$4=PB("div",{_id:"aiChatDisclaimer"}),G4=Z.memo((e=>{var t;const{aiChatSettings:n}=ZO(),[r,a]=Z.useState(!1),o=function(e,t){const[n,r]=Z.useState(e);return Z.useEffect((()=>{const n=setTimeout((()=>{r(e)}),t);return()=>{clearTimeout(n)}}),[e,t]),n}(r,100);return(null==(t=n.disclaimerSettings)?void 0:t.isEnabled)?Gh.jsx(w4,{open:r,setOpen:a,children:Gh.jsx(DU,{open:o,onOpenChange:a,children:Gh.jsx($4,{...e})})}):null})),V4=PB("span",{_id:"aiChatDisclaimerLabel"}),W4=Z.memo((e=>{const{aiChatSettings:t}=ZO(),n=t.disclaimerSettings;return Gh.jsx(V4,{children:null==n?void 0:n.label,...e})})),q4=PB(MU,{_id:"aiChatDisclaimerTrigger",children:Gh.jsx(CW,{iconKey:"info"})}),Y4=Z.memo((e=>{const{setOpen:t}=x4();return Gh.jsx(q4,{onMouseEnter:()=>t(!0),onMouseLeave:()=>t(!1),...e})})),K4=PB(FU,{_id:"aiChatDisclaimerContent"}),X4=e=>{const{setOpen:t}=x4();return Gh.jsx(K4,{onMouseEnter:()=>t(!0),onMouseLeave:()=>t(!1),side:"top",sideOffset:8,align:"end",alignOffset:-10,...e})},Q4=PB(Z3,{_id:"aiChatDisclaimerText"}),Z4=Z.memo((e=>{const{aiChatSettings:t}=ZO(),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 Gh.jsx(Q4,{shouldOpenLinksInNewTab:!0,children:a,...e})})),J4=PB(jU,{_id:"aiChatDisclaimerArrow"}),e6=PB("div",{_id:"aiChatExampleQuestions"}),t6=e=>{var t;const{aiChatSettings:n}=ZO(),{messages:r}=Dj();return!(null==(t=n.exampleQuestions)?void 0:t.length)||r.length?null:Gh.jsx(e6,{...e})},n6=PB("h3",{_id:"aiChatExampleQuestionsLabel"}),r6=Z.memo((e=>{const{aiChatSettings:t}=ZO();return Gh.jsx(n6,{children:t.exampleQuestionsLabel,...e})})),a6=PB("div",{_id:"aiChatExampleQuestionsList"}),o6=Z.memo((e=>{const{aiChatSettings:t}=ZO(),n=t.exampleQuestions,{children:r,...a}=e;return Gh.jsx(a6,{children:LP(r,n),...a})})),i6=PB("div",{_id:"aiChatExampleQuestion"}),s6=Z.forwardRef(((e,t)=>{const{aiChatSettings:n}=ZO(),r=n.isFirstExampleQuestionHighlighted;return Gh.jsx(i6,{ref:t,"data-highlight":OP(r),...e})})),l6=PB("button",{_id:"aiChatExampleQuestionButton"}),c6=e=>{const{question:t,onClick:n,...r}=e,{handleSubmit:a}=Dj();return Gh.jsx(l6,{onClick:a4(n,(()=>a(t))),children:t,...r})};PB("div",{_id:"aiChatWorkflows"});const u6=PB("h3",{_id:"aiChatWorkflowsLabel"});Z.memo((e=>{const{aiChatSettings:t}=ZO();return Gh.jsx(u6,{children:t.workflowsHeader,...e})}));const d6=PB("div",{_id:"aiChatWorkflowsList"});Z.memo((e=>{const{aiChatSettings:t}=ZO(),n=t.workflows,{children:r,...a}=e;return Gh.jsx(d6,{children:LP(r,n),...a})})),PB("button",{_id:"aiChatWorkflow"}),PB((function(e){return GV({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 p6=PB("div",{_id:"aiChatMessageWrapper"}),h6=e=>{const{message:t,...n}=e;return"system"===t.role?null:Gh.jsx(Jj,{message:t,children:Gh.jsx(p6,{"data-role":t.role,...n})})},f6=Z.memo((e=>{const{message:t,...n}=e,{aiChatSettings:r,baseSettings:a}=ZO(),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 Gh.jsx(h6,{message:u,...n})})),m6=PB("div",{_id:"aiChatMessageHeader"}),g6=e=>{const{message:t}=eB();return Gh.jsx(m6,{"data-role":t.role,...e})},y6=PB("div",{_id:"aiChatMessageLoading"}),b6=e=>{var t;const{isLoading:n,isStreaming:r,messages:a}=Dj(),{message:o}=eB();return(null==(t=a.at(-1))?void 0:t.id)===(null==o?void 0:o.id)&&"assistant"===o.role&&n&&!r?Gh.jsx(y6,{children:"Thinking...",...e}):null},v6=PB("div",{_id:"aiChatMessageAvatar"}),k6=e=>{const{message:t}=eB();return Gh.jsx(v6,{"data-role":t.role,...e})},w6=PB(iz,{_id:"aiChatMessageAvatarContent"}),x6=e=>{const{message:t}=eB(),{baseSettings:n}=ZO();return Gh.jsx(w6,{"data-username":OP("user"===t.role&&!!n.userProperties.name),"data-role":t.role,...e})},E6=PB(lz,{_id:"aiChatMessageAvatarFallback"}),_6=Z.memo((e=>{const{baseSettings:t}=ZO(),{message:n}=eB();return t.userProperties.name?Gh.jsx(E6,{"data-role":n.role,children:PP(t.userProperties.name),...e}):null})),S6=PB(sz,{_id:"aiChatMessageAvatarImage"}),T6=Z.memo((e=>{const{onLoadingStatusChange:t,...n}=e,{aiChatSettings:r,baseSettings:{userProperties:a}}=ZO(),{message:o}=eB(),{aiAssistantAvatar:i}=r??{},s="string"==typeof i?i:null==i?void 0:i.light,l=iB(s,("string"==typeof i?i:null==i?void 0:i.dark)??s),[c,u]=Z.useState(l);Z.useEffect((()=>{u(l)}),[l]);return"user"===o.role?a.name?null:r.userAvatar?Gh.jsx(S6,{"data-type":"image","data-role":o.role,src:r.userAvatar,...e}):Gh.jsx(qV,{"data-type":"icon","data-role":o.role,...e}):c?Gh.jsx(S6,{src:c,"data-type":"image","data-role":o.role,onLoadingStatusChange:a4(t,(e=>{"error"===e&&u(null)})),...n}):Gh.jsx(WV,{"data-type":"icon","data-role":o.role,...e})})),C6=PB("span",{_id:"aiChatMessageName"}),A6=e=>{const{message:t}=eB();return Gh.jsx(C6,{"data-role":t.role,children:"user"===t.role?"You":"AI assistant",...e})},N6=PB("div",{_id:"aiChatMessageContentWrapper"}),I6=e=>{const{message:t}=eB();return Gh.jsx(N6,{"data-role":t.role,...e})},R6=PB("div",{_id:"aiChatMessageContent"}),O6=e=>{const{message:t}=eB();return Gh.jsx(R6,{"data-role":t.role,...e})},P6=PB("div",{_id:"aiChatMessageAttachments"}),L6=PB("div",{_id:"aiChatMessageAttachments__List"}),D6=e=>{var t,n;const{children:r,...a}=e,{message:o}=eB(),i=null==(n=null==(t=o.metadata)?void 0:t.attributes)?void 0:n.attachments;return i?Gh.jsx(L6,{children:LP(r,i),...a}):null},M6=PB("div",{_id:"aiChatMessageAttachments__Item"}),F6=e=>{const{attachment:t,onClick:n,...r}=e,{selectItem:a,onOpen:o}=Qj();return Gh.jsx(Wh,{attachment:t,children:Gh.jsx(M6,{onClick:a4(n,(()=>{a(t),o()})),...r})})},j6=PB(SW,{_id:"aiChatMessageAttachments__ItemIcon"}),B6=e=>{var t;const{attachment:n}=qh(),r=null==(t=n.contentType)?void 0:t.attachmentIcon;return r?Gh.jsx(j6,{iconSettings:r,...e}):null},z6=PB("span",{_id:"aiChatMessageAttachments__ItemTitle"}),H6=e=>{const{attachment:t}=qh();return Gh.jsx(z6,{children:t.title,...e})},U6=PB(NV,{_id:"aiChatMessageAttachmentsPreview"}),$6=PB(RV,{_id:"aiChatMessageAttachmentsPreview__Overlay"}),G6=PB(OV,{_id:"aiChatMessageAttachmentsPreview__Content","aria-describedby":void 0}),V6=PB(PV,{_id:"aiChatMessageAttachmentsPreview__Header"}),W6=e=>{const{selectedItem:t}=Qj();return Gh.jsx(V6,{children:(null==t?void 0:t.title)||"Attachment",...e})},q6=PB(LV,{_id:"aiChatMessageAttachmentsPreview__Close",children:Gh.jsx(CW,{iconKey:"close"})}),Y6=PB("p",{_id:"aiChatMessageAttachmentsPreview__Body"}),K6=e=>{const{selectedItem:t}=Qj();return Gh.jsx(Y6,{children:null==t?void 0:t.content,...e})},X6=PB("div",{_id:"aiChatMessage"}),Q6=e=>{const{aiChatSettings:t}=ZO(),{componentStyles:n,...r}=e,{message:a}=eB(),{logEvent:o}=bP(),i=DP(a),{conversation:s}=nP();return"user"===a.role?Gh.jsx(X6,{"data-role":a.role,children:i,...r}):Gh.jsx(X6,{"data-role":a.role,...r,children:Gh.jsx(Z3,{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=PB("div",{_id:"aiChatMessageToolbar"}),J6=e=>{var t;const{isLoading:n,messages:r}=Dj(),{message:a}=eB();return(null==(t=r.at(-1))?void 0:t.id)===(null==a?void 0:a.id)&&n||"user"===a.role?null:Gh.jsx(Z6,{...e})},e8=PB("div",{_id:"aiChatMessageToolActions"}),t8=e=>{const{children:t,...n}=e,{message:r}=eB(),{messageButtons:a}=Dj(),o=a[r.id]||[];return Gh.jsx(e8,{children:LP(t,o),...n})},n8=e=>{const{onClick:t,action:n,...r}=e,{handleAction:a}=n4(n),o=n.label||"Contact Support",i=Gh.jsxs(Gh.Fragment,{children:[n.icon&&Gh.jsx(SW,{iconSettings:n.icon}),o]}),s=n.action.type,l=PB("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:a4(t,(()=>{a()}))});return Gh.jsx(l,{...r})},r8=PB("button",{_id:"aiChatMessageAction"}),a8=e=>{var t,n,r;const{action:a,onClick:o,className:i,...s}=e,{conversation:l}=nP(),{message:c}=eB(),{isStreaming:u,messages:d}=Dj(),[p,h]=C3(),{feedback:f,submitPositiveFeedback:m,setCurrentFeedback:g,currentFeedback:y}=ID(),{logEvent:b}=bP(),[v,k]=function(){const[e,t]=Z.useState(!1);return[e,Z.useCallback((async()=>(t(!0),setTimeout((()=>{t(!1)}),1e3),!0)),[])]}(),{baseSettings:{privacyPreferences:w}}=ZO(),{optOutAllAnalytics:x}=w,E=(null==(t=d.at(-1))?void 0:t.id)===(null==c?void 0:c.id),_="assistant"===c.role;if(E&&u||!_||{copy:!1,upvote:x,downvote:x}[a])return null;const S={copy(){h(DP(c)),b({eventName:"assistant_message_copied",properties:{conversation:l}})},upvote(){m(c.id).then((()=>{k()}))},downvote(){g(c.id)}},T={copy:Gh.jsx(CW,{iconKey:p?"messageCopied":"messageCopy"}),upvote:Gh.jsx(CW,{iconKey:v?"messageCopied":"thumbsUp"}),downvote:Gh.jsx(CW,{iconKey:"thumbsDown"})},C={copy:{"data-copied":OP(p)},upvote:{"data-upvoted":OP("positive"===(null==(n=f[c.id])?void 0:n.type))},downvote:{"data-downvoted":OP("negative"===(null==(r=f[c.id])?void 0:r.type)),"data-state":null===y?"closed":"open"}};return Gh.jsx(r8,{"data-action":a,...C[a],children:T[a],"aria-label":{copy:"Copy Message",upvote:"Upvote Message",downvote:"Downvote Message"}[a],className:`${i} ${a}`,onClick:a4(o,S[a]),...s})},o8=PB("div",{_id:"aiChatMessageSources"}),i8=PB("div",{_id:"aiChatMessageSources__Header"}),s8=e=>Gh.jsx(i8,{children:"Sources",...e}),l8=PB("div",{_id:"aiChatMessageSources__List"}),c8=e=>{const{message:t}=eB(),{children:n,...r}=e,{baseSettings:{transformSource:a,organizationDisplayName:o},aiChatSettings:{shouldOpenLinksInNewTab:i},searchSettings:{tabs:s}}=ZO();if("assistant"!==t.role)return null;const l=t.links.map((e=>{const t=v4(e,"chatSourceItem",{organizationDisplayName:o,tabs:s,transformSource:a}),n=void 0!==t.shouldOpenInNewTab?t.shouldOpenInNewTab:i;return{...t,isExternal:n}}));return Gh.jsx(l8,{children:LP(n,l),...r})},u8=PB(NW,{_id:"aiChatMessageSourceItem"}),d8=e=>{var t;const{source:n,onClick:r,...a}=e,{logEvent:o}=bP(),{conversation:i}=nP();return Gh.jsx(wB,{source:n,children:Gh.jsx(u8,{"data-type":n.type,appendToUrl:n.appendToUrl,isExternal:n.isExternal,"data-breadcrumbs":!!(null==(t=n.breadcrumbs)?void 0:t.length),onClick:a4(r,(()=>{o({eventName:"assistant_source_item_clicked",properties:{conversation:i,link:n}})})),...a})})},p8=PB("div",{_id:"aiChatMessageSourceItem__Breadcrumbs"}),h8=e=>{var t;const{source:n}=xB();return(null==(t=n.breadcrumbs)?void 0:t.length)?Gh.jsx(p8,{"data-type":n.type,...e}):null},f8=PB(CW,{_id:"aiChatMessageSourceItem__BreadcrumbIcon",iconKey:"breadcrumbSeparator"}),m8=PB(SW,{_id:"aiChatMessageSourceItem__Icon"}),g8=e=>{const{source:t}=xB();return Gh.jsx(m8,{iconSettings:t.icon,"data-type":t.type,...e})},y8=PB("span",{_id:"aiChatMessageSourceItem__Title"}),b8=e=>{const{source:t}=xB();return Gh.jsx(y8,{"data-type":t.type,children:t.title,...e})},v8=PB("span",{_id:"aiChatMessageSourceItem__Tag"}),k8=e=>{const{source:t}=xB();return Gh.jsx(v8,{"data-type":t.type,...e})},w8=PB("span",{_id:"aiChatMessageSourceItem__Description"}),x8=e=>{const{source:t}=xB(),{children:n,...r}=e,a=Z.useMemo((()=>t.description?r4(t.description):[]),[t.description]);return a.length?Gh.jsx(w8,{"data-type":t.type,children:LP(n,a),...r}):null},E8=PB("span",{_id:"aiChatMessageSourceItem__DescriptionPart"}),_8=e=>{const{part:t,...n}=e,{source:r}=xB();return"string"==typeof t?t:Gh.jsx(E8,{"data-type":r.type,children:t.content,"data-highlighted":OP(t.highlighted),...n})},S8=PB(CW,{_id:"aiChatMessageSourceItem__Indicator"}),T8=e=>{const{source:t}=xB();return Gh.jsx(S8,{iconKey:t.isExternal?"openLinkInNewTab":"openLinkInSameTab",...e})},C8=PB("div",{_id:"aiChatFooter"}),A8=PB("div",{_id:"aiChatInput__Fieldset"}),N8=PB("div",{_id:"aiChatInput__Group"}),I8=PB("textarea",{_id:"aiChatInput"}),R8=Z.forwardRef((({onChange:e,onKeyDown:t,...n},r)=>{const{handleInputChange:a,handleInputKeyDown:o,input:i,error:s,shouldAutoFocusInput:l,inputRef:c}=Dj(),{aiChatSettings:u}=ZO(),d=TB(r,c),p=dD();return Z.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]),Gh.jsx(I8,{asChild:!0,ref:d,maxLength:99999,placeholder:u.placeholder,value:i,onChange:a4(e,a),onKeyDown:a4(t,o),disabled:!!s||u.isViewOnly,...n,children:Gh.jsx(KB,{})})})),O8=PB("button",{_id:"aiChatInput__SendButton"}),P8=e=>{const{handleSubmit:t,isSubmitDisabled:n,error:r}=Dj(),{aiChatSettings:a}=ZO(),{onClick:o,...i}=e;return Gh.jsx(O8,{onClick:a4(o,(()=>t())),"aria-label":"Send message",disabled:n||!!r||a.isViewOnly,...i})},L8=PB(CW,{_id:"aiChatInput__SendButtonIcon",iconKey:"chatSubmit"}),D8=PB("div",{_id:"aiChatAttachmentsBar"}),M8=e=>{var t;const{selectedWorkflow:n}=Dj();return n&&(null==(t=n.supportedInputs)?void 0:t.length)?Gh.jsx(Fj,{children:Gh.jsx(D8,{...e})}):null},F8=PB("div",{_id:"aiChatAttachmentsBar__List"}),j8=e=>{const{children:t,...n}=e,{messageAttachments:r}=Dj();return Gh.jsx(F8,{children:LP(t,r),...n})},B8=PB("div",{_id:"aiChatAttachmentsBar__Attachment"}),z8=e=>{const{attachment:t,...n}=e;return Gh.jsx(Wh,{attachment:t,children:Gh.jsx(B8,{...n})})},H8=PB(SW,{_id:"aiChatAttachmentsBar__AttachmentIcon"}),U8=e=>{var t;const{attachment:n}=qh(),r=null==(t=n.contentType)?void 0:t.attachmentIcon;return r?Gh.jsx(H8,{iconSettings:r,...e}):null},$8=PB("span",{_id:"aiChatAttachmentsBar__AttachmentTitle"}),G8=e=>{const{attachment:t}=qh();return Gh.jsx($8,{children:t.title,...e})},V8=PB("button",{_id:"aiChatAttachmentsBar__AttachmentDelete"}),W8=e=>{const{onClick:t,...n}=e,{attachment:r}=qh(),{setMessageAttachments:a}=Dj();return Gh.jsx(V8,{"aria-label":"Remove attachment",children:Gh.jsx(CW,{iconKey:"close"}),onClick:a4(t,(()=>{a((e=>e.filter((e=>e.id!==r.id))))})),...n})},q8=PB("div",{_id:"aiChatAttachmentsBar__Actions"}),Y8=PB(gj,{_id:"aiChatAttachmentsBar__InfoTip",delayDuration:0}),K8=PB(Ij,{_id:"aiChatAttachmentsBar__InfoTipIcon",children:Gh.jsx(CW,{iconKey:"info"})}),X8=PB(Oj,{_id:"aiChatAttachmentsBar__InfoTipArrow"}),Q8=PB(Rj,{_id:"aiChatAttachmentsBar__InfoTipText",side:"bottom",sideOffset:3,align:"center",children:Gh.jsxs(Gh.Fragment,{children:[Gh.jsx(X8,{}),"Attachments will be kept in context for the entire conversation."]})}),Z8=PB("div",{_id:"aiChatAttachmentsBar__Inputs"}),J8=e=>{const{children:t,...n}=e,{selectedWorkflow:r}=Dj();return(null==r?void 0:r.supportedInputs)?Gh.jsx(Z8,{children:LP(t,r.supportedInputs),...n}):null},e9=PB("button",{_id:"aiChatAttachmentsBar__Input"}),t9=e=>{const{input:t,onClick:n,...r}=e,{selectedWorkflow:a,messageAttachments:o,setMessageAttachments:i}=Dj(),{selectInput:s,onOpen:l}=jj();return Gh.jsx(e9,{children:t.displayName,onClick:a4(n,(()=>{if("FUNCTIONAL_MULTI_ATTACHMENT"===t.type){if(!a)return;return t.onInvoke(a,t,i,[...o])}s(t),l()})),...r})},n9=PB((function(e){return GV({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"}),r9=PB(NV,{_id:"aiChatAttachmentsBar__Modal"}),a9=PB(RV,{_id:"aiChatAttachmentsBar__ModalOverlay"}),o9=PB(OV,{_id:"aiChatAttachmentsBar__ModalContent","aria-describedby":void 0}),i9=PB("div",{_id:"aiChatAttachmentsBar__ModalHeader"}),s9=PB(PV,{_id:"aiChatAttachmentsBar__ModalHeading"}),l9=e=>{const{selectedInput:t}=jj(),n=`Add ${null==t?void 0:t.displayName}`;return Gh.jsx(s9,{children:n,...e})},c9=PB("span",{_id:"aiChatAttachmentsBar__ModalDescription"}),u9=e=>{var t;const{selectedInput:n}=jj(),r=null==(t=null==n?void 0:n.workflowModalProps)?void 0:t.modalHelpText;return r?Gh.jsx(c9,{children:r,...e}):null},d9=PB("div",{_id:"aiChatAttachmentsBar__ModalHelp"}),p9=PB(LV,{_id:"aiChatAttachmentsBar__ModalClose",children:Gh.jsx(CW,{iconKey:"close"})}),h9=PB("div",{_id:"aiChatAttachmentsBar__ModalBody"}),f9=PB("form",{_id:"aiChatAttachmentsBar__Form"}),m9=e=>{const{onSubmit:t,...n}=e,{form:r}=jj();return Gh.jsx(f9,{onSubmit:a4(t,r.onSubmit),...n})},g9=PB("div",{_id:"aiChatAttachmentsBar__FormTitle",role:"group"}),y9=PB("label",{_id:"aiChatAttachmentsBar__FormTitleLabel"}),b9=e=>{const{form:t,selectedInput:n}=jj();return Gh.jsx(y9,{htmlFor:`${null==n?void 0:n.id}-title`,children:t.labels.title,...e})},v9=PB("input",{_id:"aiChatAttachmentsBar__FormTitleInput"}),k9=e=>{const{onChange:t,...n}=e,{form:r,selectedInput:a}=jj();return Gh.jsx(v9,{name:"title",value:r.data.title,id:`${null==a?void 0:a.id}-title`,"data-invalid":OP(!!r.errors.title),"aria-invalid":!!r.errors.title,onChange:a4(t,r.onChange),...n})},w9=PB("span",{_id:"aiChatAttachmentsBar__FormTitleError"}),x9=e=>{const{form:t}=jj();return t.errors.title?Gh.jsx(w9,{"aria-live":"polite",children:t.errors.title,...e}):null},E9=PB("div",{_id:"aiChatAttachmentsBar__FormTitle",role:"group"}),_9=PB("label",{_id:"aiChatAttachmentsBar__FormContentLabel"}),S9=e=>{const{form:t,selectedInput:n}=jj();return Gh.jsx(_9,{htmlFor:`${null==n?void 0:n.id}-content`,children:t.labels.content,...e})},T9=PB("textarea",{_id:"aiChatAttachmentsBar__FormTitleInput"}),C9=e=>{const{onChange:t,...n}=e,{form:r,selectedInput:a}=jj();return Gh.jsx(T9,{asChild:!0,rows:4,name:"content",value:r.data.content,id:`${null==a?void 0:a.id}-content`,"data-invalid":OP(!!r.errors.content),"aria-invalid":!!r.errors.content,onChange:a4(t,r.onChange),...n,children:Gh.jsx(KB,{maxRows:10})})},A9=PB("span",{_id:"aiChatAttachmentsBar__FormContentError"}),N9=e=>{const{form:t}=jj();return t.errors.content?Gh.jsx(A9,{"aria-live":"polite",children:t.errors.content,...e}):null},I9=PB("button",{_id:"aiChatAttachmentsBar__FormSubmitButton",children:"Upload",type:"submit"}),R9=PB("div",{_id:"aiChatActionBar"}),O9=PB("div",{_id:"aiChat__ChatActions"}),P9=PB("div",{_id:"aiChatTagline__Container"}),L9=PB("span",{_id:"aiChatTagline__Text",children:"Powered by"}),D9=PB(t4,{_id:"aiChatTagline__Logo"}),M9=PB("a",{_id:"aiChatTagline__BrandName",children:"inkeep",href:"https://www.inkeep.com/",target:"_blank",rel:"noopener noreferrer"}),F9=PB("div",{_id:"aiChat__ChatAction"}),j9=e=>{const{action:t,onClick:n,className:r,...a}=e,{clear:o,stop:i,isLoading:s,messages:l,selectedWorkflow:c}=Dj(),{conversation:u}=nP(),{aiChatSettings:d,baseSettings:p}=ZO(),{logEvent:h}=bP(),[f,m]=C3(),[g,y]=C3();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=DP(e),o=EP(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,createdAt:void 0,updatedAt:void 0,id:Date.now().toString()+e.id,conversationId:void 0})))},{apiKey:t,analyticsApiBaseUrl:n}=p,r=await rP("",e,t,n);if(r){const e=`${d.shareChatUrlBasePath}?${JO}=${null==r?void 0:r.id}`;y(e),h({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:f,share:g};return Gh.jsx(gj,{delayDuration:0,open:v[t],children:Gh.jsx(F9,{"data-type":t,"data-copied":OP(f||g),className:`${r} ${t}`,children:Gh.jsx(z9,{action:t}),onClick:a4(n,b[t]),...a})})},B9=PB(Ij,{_id:"aiChat__ChatActionLabel"}),z9=e=>{const{action:t,...n}=e,{aiChatSettings:r}=ZO(),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 Gh.jsx(B9,{children:o[t],...n})},H9=PB(xj,{_id:"aiChat__ChatActionFeeback"}),U9=e=>{const{action:t,children:n,...r}=e;return Gh.jsxs(H9,{sideOffset:5,...r,children:[Gh.jsx(Oj,{}),n||{copy:"Copied!",share:"Link copied!"}[t]]})},$9=PB(DU,{_id:"aiChatHelpActions"}),G9=PB(j9,{_id:"aiChatHelpAction",action:"help"}),V9=PB("a",{_id:"aiChatHelpAction",target:"_blank",rel:"noreferrer"}),W9=e=>{const{action:t,onClick:n,...r}=e,{handleAction:a,logHelpAction:o}=n4(t),i=t.action.type,s={"aria-label":t.name,"data-name":t.name,children:t.name,onClick:a4(n,(()=>{a(),o()})),...r};return"open_link"===i?Gh.jsx(V9,{href:t.action.url,...s}):Gh.jsx(G9,{...s})},q9=PB(MU,{_id:"aiChatHelpActions__Trigger"}),Y9=Z.memo((e=>{var t;const{aiChatSettings:n}=ZO();return Gh.jsx(j9,{action:"help",...e,asChild:!0,children:Gh.jsx(q9,{children:(null==(t=n.toolbarButtonLabels)?void 0:t.getHelp)??"Get Help"})})})),K9=PB(FU,{_id:"aiChatHelpActions__Menu"}),X9=e=>Gh.jsx(K9,{side:"top",sideOffset:8,align:"center",alignOffset:-10,...e}),Q9=PB(jU,{_id:"aiChatHelpActions__MenuArrow"}),Z9=e=>{const{action:t,onClick:n,...r}=e,{handleAction:a,logHelpAction:o}=n4(t),{setOpen:i}=(()=>{const e=Z.useContext(Vj);if(!e)throw new Error("useHelpMenu must be used within a HelpMenuProvider");return e})(),s=t.action.type,l=PB("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:a4(n,(()=>{a({onOpenForm:()=>i(!1)}),o()}))});return Gh.jsx(l,{...r})},J9=PB(SW,{_id:"aiChatHelpActions_MenuItemIcon"}),e7=e=>{const{action:t,...n}=e;return t.icon?Gh.jsx(J9,{iconSettings:t.icon,...n}):null},t7=PB(NV,{_id:"aiChatFeedbackModal"}),n7=PB(RV,{_id:"aiChatFeedbackModal__Overlay"}),r7=PB(OV,{_id:"aiChatFeedbackModal__Content","aria-describedby":void 0}),a7=PB(PV,{_id:"aiChatFeedbackModal__Header",children:"Help improve my answers!"}),o7=PB(LV,{_id:"aiChatFeedbackModal__Close",children:Gh.jsx(CW,{iconKey:"close"})}),i7=PB("div",{_id:"aiChatFeedbackModal__Body"}),s7=PB("form",{_id:"aiChatFeedbackForm"}),l7=e=>{const{onSubmit:t,...n}=e,{submitNegativeFeedback:r,currentFeedback:a,setCurrentFeedback:o}=ID();return Gh.jsx(s7,{onSubmit:a4(t,(e=>{e.preventDefault();const t=e.target,n=new FormData(t),i=Object.fromEntries(n.entries());a&&(r(a,i),o(null))})),...n})},c7=PB("div",{_id:"aiChatFeedbackItem"}),u7=e=>{const{name:t,...n}=e;return Gh.jsx(zj,{name:t,children:Gh.jsx(c7,{...n})})},d7=PB(wz,{_id:"aiChatFeedbackItem__Checkbox"}),p7=e=>{const{name:t,focusItem:n}=Hj(),{onCheckedChange:r,...a}=e;return Gh.jsx(d7,{id:`feedback-${t}`,name:t,onCheckedChange:a4(r,(e=>{var t;e&&(null==(t=null==n?void 0:n.current)||t.focus())})),...a})},h7=PB(xz,{_id:"aiChatFeedbackItem__CheckboxIndicator",children:Gh.jsx(e4,{})}),f7=PB("label",{_id:"aiChatFeedbackItem__Label"}),m7=e=>{const{name:t}=Hj();return Gh.jsx(f7,{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})},g7=PB("textarea",{_id:"aiChatFeedbackItem__Description",placeholder:"Please describe"}),y7=e=>{const{name:t,focusItem:n}=Hj();return Gh.jsx(g7,{ref:n,name:`${t}:description`,...e})},b7=PB("button",{_id:"aiChatFeedbackForm__SubmitButton",children:"Submit",type:"submit"}),v7=PB("div",{_id:"aiChatForm__Wrapper"}),k7=e=>{const{form:t}=gD();return t?Gh.jsx(v7,{...e}):null},w7=PB("form",{_id:"aiChatForm"}),x7=e=>{const{onSubmit:t,...n}=e,{handleSubmit:r,isSuccess:a}=gD();return a?null:Gh.jsx(w7,{onSubmit:a4(t,r),...n})},E7=PB("button",{_id:"aiChatForm__Close",children:Gh.jsx(CW,{iconKey:"close"})}),_7=e=>{const{onClick:t,...n}=e,{closeForm:r}=gD();return Gh.jsx(E7,{onClick:a4(t,r),...n})},S7=PB("div",{_id:"aiChatForm__Header"}),T7=PB("h2",{_id:"aiChatForm__Heading"}),C7=e=>{const{form:t}=gD();return(null==t?void 0:t.heading)?Gh.jsx(T7,{children:t.heading,...e}):null},A7=PB("span",{_id:"aiChatForm__Description"}),N7=e=>{const{form:t}=gD();return(null==t?void 0:t.description)?Gh.jsx(A7,{children:t.description,...e}):null},I7=PB("div",{_id:"aiChatForm__Content"}),R7=e=>{const{children:t,...n}=e,{fields:r=[]}=gD();return Gh.jsx(I7,{children:LP(t,r),...n})},O7=PB("div",{_id:"aiChatForm__Field"}),P7=e=>{const{field:t,autoFocus:n,...r}=e,{control:a,errors:o}=gD();return Gh.jsx(SL,{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 Gh.jsx($j,{"data-invalid":OP(!!o[t.name]),field:t,fieldProps:e,autoFocus:n,children:a&&Gh.jsx(O7,{"data-input-type":t.inputType,"data-hidden":OP(t.isHidden),...r})})}})},L7=PB("label",{_id:"aiChatForm__FieldLabel"}),D7=e=>{const{field:t}=Gj();return Gh.jsx(L7,{"data-required":OP(t.isRequired),htmlFor:t.name,children:t.label,...e})},M7=PB("input",{_id:"aiChatForm__FieldText",type:"text"}),F7=e=>{const{field:t,error:n,fieldProps:{onChange:r,onBlur:a,...o},autoFocus:i}=Gj(),{onChange:s,onBlur:l,...c}=e;return Gh.jsx(M7,{id:t.name,autoFocus:i,placeholder:"placeholder"in t?t.placeholder:void 0,"data-invalid":OP(!!n),onChange:a4(s,r),onBlur:a4(l,a),...o,...c})},j7=PB(F7,{_id:"aiChatForm__FieldEmail",type:"email"}),B7=PB("input",{_id:"aiChatForm__FieldFile",type:"file",multiple:!0}),z7=e=>{const{field:t,error:n,fieldProps:{value:r,onChange:a,onBlur:o,...i},autoFocus:s}=Gj(),{onChange:l,onBlur:c,...u}=e;return Gh.jsx(B7,{id:t.name,autoFocus:s,"data-value":r,"data-invalid":OP(!!n),...u,...i,onChange:a4(l,(e=>{const t=e.target.files;a(t)})),onBlur:a4(c,o)})},H7=PB(F7,{_id:"aiChatForm__FieldTextArea",type:"textarea",asChild:!0,children:Gh.jsx(KB,{maxRows:8})}),U7=PB(wz,{_id:"aiChatForm__FieldCheckbox"}),$7=e=>{const{field:t,error:n,fieldProps:r,autoFocus:a}=Gj(),{onCheckedChange:o,...i}=e;return Gh.jsx(U7,{id:t.name,name:t.name,autoFocus:a,"data-invalid":OP(!!n),checked:r.value,onCheckedChange:a4(o,r.onChange),...i})},G7=PB(xz,{_id:"aiChatForm__FieldCheckboxIndicator",children:Gh.jsx(e4,{})}),V7=PB(EG,{_id:"aiChatForm__FieldSelect"}),W7=PB(_G,{_id:"aiChatForm__FieldSelect__Trigger"}),q7=PB(SG,{_id:"aiChatForm__FieldSelect__Value"}),Y7=PB(TG,{_id:"aiChatForm__FieldSelect__Icon",asChild:!0,children:Gh.jsx(SW,{iconSettings:{builtIn:"LuChevronDown"}})}),K7=PB(CG,{_id:"aiChatForm__FieldSelect__Content",position:"popper"}),X7=PB(AG,{_id:"aiChatForm__FieldSelect__Viewport"}),Q7=PB(NG,{_id:"aiChatForm__FieldSelect__Item"}),Z7=PB(IG,{_id:"aiChatForm__FieldSelect__ItemText"}),J7=PB(RG,{_id:"aiChatForm__FieldSelect__ItemIndicator",asChild:!0,children:Gh.jsx(SW,{iconSettings:{builtIn:"LuCheck"}})}),eee=PB("span",{_id:"aiChatForm__FieldError"}),tee=e=>{var t;const{error:n}=Gj();return n?Gh.jsx(eee,{children:null==(t=n.message)?void 0:t.toString(),...e}):null},nee=PB("span",{_id:"aiChatForm__Error"}),ree=e=>{const{formError:t}=gD();return t?Gh.jsx(nee,{children:t.message,...e}):null},aee=PB("div",{_id:"aiChatForm__Footer"}),oee=PB("button",{_id:"aiChatForm__Cancel",children:"Cancel"}),iee=e=>{const{onClick:t,...n}=e,{closeForm:r}=gD();return Gh.jsx(oee,{onClick:a4(t,r),...n})},see=PB("button",{_id:"aiChatForm__Submit",children:"Submit",type:"submit"}),lee=e=>{const{onClick:t,...n}=e,{isSubmitting:r}=gD();return Gh.jsx(see,{disabled:r,...n})},cee=PB("div",{_id:"aiChatForm__Success"}),uee=e=>{const{isSuccess:t}=gD();return t?Gh.jsx(cee,{...e}):null},dee=PB("h2",{_id:"aiChatForm__SuccessHeading"}),pee=e=>{const{form:t}=gD();return Gh.jsx(dee,{children:null==t?void 0:t.successView.heading,...e})},hee=PB(Z3,{_id:"aiChatForm__SuccessMessage"}),fee=PB("button",{_id:"aiChatForm__SuccessButton"}),mee=e=>{var t;const{onClick:n,...r}=e,{form:a,closeForm:o}=gD(),i=null==(t=null==a?void 0:a.successView)?void 0:t.doneButton;if(!i)return null;const s=i.icon&&Gh.jsx(SW,{iconSettings:i.icon}),l=i.label;return Gh.jsx(fee,{onClick:a4(n,o),children:Gh.jsxs(Gh.Fragment,{children:[s,l]}),...r})};var gee=.999,yee=/[\\\/_+.#"@\[\(\{&]/,bee=/[\\\/_+.#"@\[\(\{&]/g,vee=/[\s-]/,kee=/[\s-]/g;function wee(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),h=n.indexOf(p,a),f=0;h>=0;)(l=wee(e,t,n,r,h+1,o+1,i))>f&&(h===a?l*=1:yee.test(e.charAt(h-1))?(l*=.8,(u=e.slice(a,h-1).match(bee))&&a>0&&(l*=Math.pow(gee,u.length))):vee.test(e.charAt(h-1))?(l*=.9,(d=e.slice(a,h-1).match(kee))&&a>0&&(l*=Math.pow(gee,d.length))):(l*=.17,a>0&&(l*=Math.pow(gee,h-a))),e.charAt(h)!==t.charAt(o)&&(l*=.9999)),(l<.1&&n.charAt(h-1)===r.charAt(o+1)||r.charAt(o+1)===r.charAt(o)&&n.charAt(h-1)!==r.charAt(o))&&.1*(c=wee(e,t,n,r,h+1,o+2,i))>l&&(l=.1*c),l>f&&(f=l),h=n.indexOf(p,h+1);return i[s]=f,f}function xee(e){return e.toLowerCase().replace(kee," ")}function Eee(e,t,n){return wee(e=n&&n.length>0?""+(e+" "+n.join(" ")):e,t,xee(e),xee(t),0,0,{})}var _ee={exports:{}},See={},Tee=Z;var Cee="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Aee=Tee.useState,Nee=Tee.useEffect,Iee=Tee.useLayoutEffect,Ree=Tee.useDebugValue;function Oee(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Cee(e,n)}catch(r){return!0}}var Pee="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=Aee({inst:{value:n,getSnapshot:t}}),a=r[0].inst,o=r[1];return Iee((function(){a.value=n,a.getSnapshot=t,Oee(a)&&o({inst:a})}),[e,n,t]),Nee((function(){return Oee(a)&&o({inst:a}),e((function(){Oee(a)&&o({inst:a})}))}),[e]),Ree(n),n};See.useSyncExternalStore=void 0!==Tee.useSyncExternalStore?Tee.useSyncExternalStore:Pee,_ee.exports=See;var Lee=_ee.exports;const Dee="__ask_ai__",Mee='[cmdk-group=""]',Fee='[cmdk-group-items=""]',jee='[cmdk-item=""]',Bee=`${jee}:not([aria-disabled="true"])`,zee="cmdk-item-select",Hee="data-value",Uee=(e,t,n)=>Eee(e,t,n??[]),$ee=Z.createContext(void 0),Gee=()=>Z.useContext($ee),Vee=Z.createContext(void 0),Wee=()=>Z.useContext(Vee),qee=Z.createContext(void 0),Yee=Z.forwardRef(((e,t)=>{const n=lte((()=>new Set)),r=lte((()=>new Map)),a=lte((()=>new Map)),o=lte((()=>new Set)),i=ite(e),{label:s,children:l,value:c,onValueChange:u,filter:d,shouldFilter:p,loop:h,disablePointerSelection:f=!1,vimBindings:m=!0,defaultSearch:g,...y}=e,b=lte((()=>({search:g??"",value:e.value??e.defaultValue??"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}))),v=FO(),k=FO(),w=FO(),x=Z.useRef(null),E=pte();ste((()=>{if(void 0!==c){const e=c.trim();b.current.value=e,S.emit()}}),[c]),ste((()=>{E(6,R)}),[]);const _=BO(),S=Z.useMemo((()=>({subscribe:e=>(o.current.add(e),()=>o.current.delete(e)),snapshot:()=>b.current,setState:(e,t,n)=>{var r,a,o,s,l;if(!Object.is(b.current[e],t)){if(b.current[e]=t,"search"===e)I(),A(),E(1,N);else if("value"===e){const e=null==(a=null==(r=null==_?void 0:_.shadowHost)?void 0:r.shadowRoot)?void 0:a.activeElement;if((null==e?void 0:e.hasAttribute("cmdk-input"))||E(1,(()=>{const e=O();null==e||e.focus()})),E(7,(()=>{var e;b.current.selectedItemId=null==(e=O())?void 0:e.id,S.emit()})),n||E(5,R),void 0!==(null==(o=i.current)?void 0:o.value)){const e=t??"";return void(null==(l=(s=i.current).onValueChange)||l.call(s,e))}}S.emit()}},emit:()=>{o.current.forEach((e=>e()))}})),[]),T=Z.useMemo((()=>({value:(e,t,n)=>{var r;t!==(null==(r=a.current.get(e))?void 0:r.value)&&(a.current.set(e,{value:t,keywords:n}),b.current.filtered.items.set(e,C(t,n)),E(2,(()=>{A(),S.emit()})))},item:(e,t)=>{var o,i;return n.current.add(e),t&&(r.current.has(t)?null==(i=null==(o=r.current)?void 0:o.get(t))||i.add(e):r.current.set(t,new Set([e]))),E(3,(()=>{I(),A(),b.current.value||N(),S.emit()})),()=>{a.current.delete(e),n.current.delete(e),b.current.filtered.items.delete(e);const t=O();E(4,(()=>{I(),(null==t?void 0:t.getAttribute("id"))===e&&N(),S.emit()}))}},group:e=>(r.current.has(e)||r.current.set(e,new Set),()=>{a.current.delete(e),r.current.delete(e)}),filter:()=>!!i.current.shouldFilter,label:s||e["aria-label"]||"",getDisablePointerSelection:()=>!!i.current.disablePointerSelection,listId:v,inputId:w,labelId:k,listInnerRef:x})),[]);function C(e,t){var n;const r=(null==(n=i.current)?void 0:n.filter)??Uee;return e?null==r?void 0:r(e,b.current.search,t):0}function A(){if(!b.current.search||!1===i.current.shouldFilter)return;const e=b.current.filtered.items,t=[];b.current.filtered.groups.forEach((n=>{const a=r.current.get(n);let o=0;a.forEach((t=>{const n=e.get(t);o=Math.max(n,o)})),t.push([n,o])}));const n=x.current;P().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(Fee);if(t){const n=e.parentElement===t?e:e.closest(`${Fee} > *`);n&&t.appendChild(n)}else{const t=e.parentElement===n?e:e.closest(`${Fee} > *`);t&&(null==n||n.appendChild(t))}})),t.sort(((e,t)=>t[1]-e[1])).forEach((e=>{var t,n;const r=null==(t=x.current)?void 0:t.querySelector(`${Mee}[${Hee}="${encodeURIComponent(e[0])}"]`);null==(n=null==r?void 0:r.parentElement)||n.appendChild(r)}))}function N(){const e=P().find((e=>"true"!==e.getAttribute("aria-disabled")&&e.getAttribute("data-value")!==Dee)),t=null==e?void 0:e.getAttribute(Hee);S.setState("value",t||void 0)}function I(){var e,t;if(!b.current.search||!1===i.current.shouldFilter)return void(b.current.filtered.count=n.current.size);b.current.filtered.groups=new Set;let o=0;for(const r of n.current){const n=C((null==(e=a.current.get(r))?void 0:e.value)??"",(null==(t=a.current.get(r))?void 0:t.keywords)??[]);b.current.filtered.items.set(r,n),n>0&&o++}for(const[n,a]of r.current)for(const e of a){const t=b.current.filtered.items.get(e);if(t&&t>0){b.current.filtered.groups.add(n);break}}b.current.filtered.count=o}function R(){var e,t,n;const r=O();r&&((null==(e=r.parentElement)?void 0:e.firstChild)===r&&(null==(n=null==(t=r.closest(Mee))?void 0:t.querySelector('[cmdk-group-heading=""]'))||n.scrollIntoView({block:"nearest"})),r.scrollIntoView({block:"nearest"}))}function O(){var e;return null==(e=x.current)?void 0:e.querySelector(`${jee}[aria-selected="true"]`)}function P(){var e;return Array.from((null==(e=x.current)?void 0:e.querySelectorAll(Bee))||[])}function L(e){const t=P()[e];t&&S.setState("value",t.getAttribute(Hee))}function D(e){var t;const n=O(),r=P(),a=r.findIndex((e=>e===n));let o=r[a+e];(null==(t=i.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(Hee))}function M(e){const t=O();let n,r=null==t?void 0:t.closest(Mee);for(;r&&!n;)r=e>0?ate(r,Mee):ote(r,Mee),n=null==r?void 0:r.querySelector(Bee);n?S.setState("value",n.getAttribute(Hee)):D(e)}const F=e=>{e.preventDefault(),e.metaKey?L(P().length-1):e.altKey?M(1):D(1)},j=e=>{e.preventDefault(),e.metaKey?L(0):e.altKey?M(-1):D(-1)};return Gh.jsxs(Cz.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":m&&e.ctrlKey&&F(e);break;case"ArrowDown":F(e);break;case"p":case"k":m&&e.ctrlKey&&j(e);break;case"ArrowUp":j(e);break;case"Enter":if(!e.nativeEvent.isComposing&&229!==e.keyCode){e.preventDefault();const t=O();if(t){const e=new Event(zee);t.dispatchEvent(e)}}}},style:{display:"contents"},children:[Gh.jsx("label",{"cmdk-label":"",htmlFor:T.inputId,id:T.labelId,style:fte,children:s}),hte(e,(e=>Gh.jsx(Vee.Provider,{value:S,children:Gh.jsx($ee.Provider,{value:T,children:e})})))]})})),Kee=Z.forwardRef(((e,t)=>{var n;const{id:r}=e,a=Z.useRef(null),o=Z.useContext(qee),i=Gee(),s=ite(e),l=(null==(n=s.current)?void 0:n.forceMount)??(null==o?void 0:o.forceMount);ste((()=>{if(!l)return i.item(r,null==o?void 0:o.id)}),[l]);const c=dte(r,a,[e.value,e.children,a],e.keywords),u=Wee(),d=ute((e=>e.value&&e.value===c.current)),p=ute((e=>!!l||(!1===i.filter()||(!e.search||e.filtered.items.get(r)>0))));Z.useEffect((()=>{const t=a.current;if(!t||e.disabled)return;const n=()=>f("keyboard");return t.addEventListener(zee,n),()=>t.removeEventListener(zee,n)}),[p,e.onSelect,e.disabled]);const h=Z.useCallback((()=>{u.setState("value",c.current,!0)}),[u,c]),f=Z.useCallback(((e="click")=>{var t,n;h(),null==(n=(t=s.current).onSelect)||n.call(t,{value:c.current,trigger:e})}),[h,s,c]);if(!p)return null;const{disabled:m,value:g,onSelect:y,forceMount:b,keywords:v,onClick:k,...w}=e,x=Z.useMemo((()=>cte([a,t])),[a,t]),E=a4(k,f);return Gh.jsx(Cz.div,{ref:x,...w,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:E,onFocus:m?void 0:h,children:e.children})})),Xee=Z.forwardRef(((e,t)=>{const{heading:n,children:r,forceMount:a,...o}=e,i=FO(),s=Z.useRef(null),l=Z.useRef(null),c=FO(),u=Gee(),d=ute((e=>!!a||(!1===u.filter()||(!e.search||e.filtered.groups.has(i)))));ste((()=>u.group(i)),[]),dte(i,s,[e.value,e.heading,l]);const p=Z.useMemo((()=>({id:i,forceMount:a})),[a]);return Gh.jsxs(Cz.div,{ref:cte([s,t]),...o,"cmdk-group":"",role:"presentation",hidden:!d||void 0,children:[n&&Gh.jsx("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:c,children:n}),hte(e,(e=>Gh.jsx("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?c:void 0,children:Gh.jsx(qee.Provider,{value:p,children:e})})))]})})),Qee=Z.forwardRef(((e,t)=>{const{alwaysRender:n,...r}=e,a=Z.useRef(null),o=ute((e=>!e.search));return n||o?Gh.jsx(Cz.div,{ref:cte([a,t]),...r,"cmdk-separator":"",role:"separator"}):null})),Zee=Z.forwardRef(((e,t)=>{const{onValueChange:n,...r}=e,a=null!=e.value,o=Wee(),i=ute((e=>e.search)),s=Gee();return Z.useEffect((()=>{null!=e.value&&o.setState("search",e.value)}),[e.value]),Gh.jsx(Cz.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)}})})),Jee=Z.forwardRef(((e,t)=>{const{children:n,label:r="Suggestions",...a}=e,o=Z.useRef(null),i=Z.useRef(null),s=Gee();return Z.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)}}}),[]),Gh.jsx(Cz.div,{ref:cte([o,t]),...a,"cmdk-list":"",tabIndex:-1,"aria-label":r,id:s.listId,children:hte(e,(e=>Gh.jsx("div",{ref:cte([i,s.listInnerRef]),"cmdk-list-sizer":"",children:e})))})})),ete=Z.forwardRef(((e,t)=>{const{open:n,onOpenChange:r,overlayClassName:a,contentClassName:o,container:i,...s}=e;return Gh.jsx(NV,{open:n,onOpenChange:r,children:Gh.jsxs(IV,{container:i,children:[Gh.jsx(RV,{"cmdk-overlay":"",className:a}),Gh.jsx(OV,{"aria-label":e.label,"cmdk-dialog":"",className:o,children:Gh.jsx(Yee,{ref:t,...s})})]})})})),tte=Z.forwardRef(((e,t)=>ute((e=>0===e.filtered.count))?Gh.jsx(Cz.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null)),nte=Z.forwardRef(((e,t)=>{const{progress:n,children:r,label:a="Loading...",...o}=e;return Gh.jsx(Cz.div,{ref:t,...o,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":a,children:hte(e,(e=>Gh.jsx("div",{"aria-hidden":!0,children:e})))})})),rte=Object.assign(Yee,{List:Jee,Item:Kee,Input:Zee,Group:Xee,Separator:Qee,Dialog:ete,Empty:tte,Loading:nte});function ate(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function ote(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function ite(e){const t=Z.useRef(e);return ste((()=>{t.current=e})),t}const ste="undefined"==typeof window?Z.useEffect:Z.useLayoutEffect;function lte(e){const t=Z.useRef(void 0);return void 0===t.current&&(t.current=e()),t}function cte(e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}function ute(e){const t=Wee(),n=()=>e(t.snapshot());return Lee.useSyncExternalStore(t.subscribe,n,n)}function dte(e,t,n,r=[]){const a=Z.useRef(void 0),o=Gee();return ste((()=>{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(Hee,s),a.current=s})),a}const pte=()=>{const[e,t]=Z.useState(),n=lte((()=>new Map));return ste((()=>{n.current.forEach((e=>e())),n.current=new Map}),[e]),(e,r)=>{n.current.set(e,r),t({})}};function hte({asChild:e,children:t},n){return e&&Z.isValidElement(t)?Z.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 fte={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},mte=e=>{var t,n,r;switch(e.rootRecord.__typename){case"DocumentationRecord":{const a=yte((null==(n=null==(t=e.pathHeadings)?void 0:t.at(-1))?void 0:n.content)||""),o=yte((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}},gte=e=>{switch(e.rootRecord.__typename){case"StackOverflowRecord":return e.rootRecord.markedAsCorrectAnswer?"Resolved":void 0;case"GitHubIssueRecord":return"CLOSED"===e.rootRecord.state?"Closed":void 0}},yte=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"}};const vte=()=>{const{searchSettings:e}=ZO(),{tabs:t,searchFunctionsRef:n}=e,[r,a]=Z.useState(!1),o=Z.useRef(null),[i,s]=Z.useState(!1),l=(null==t?void 0:t.length)?"string"==typeof t[0]?t[0]:t[0][0]:"All",[c,u]=Z.useState(l),[d,p]=Z.useState([]),h=(e=>{const{baseSettings:{transformSource:t,organizationDisplayName:n},searchSettings:{tabs:r,shouldOpenLinksInNewTab:a}}=ZO();return Z.useMemo((()=>{var o;const i=r.length>0?r:["All"],s={},l=new Set,c=i.map((e=>"string"==typeof e?e:e[0]));for(const e of c)s[e]=[];for(const u of e){const e=u.url||"";if(l.has(e))continue;l.add(e);const o=v4({title:u.title,url:e,description:mte(u),type:bte(u.rootRecord.__typename),tag:gte(u),breadcrumbs:u.rootRecord.pathBreadcrumbs??[],contentType:u.rootRecord.contentType},"searchResultItem",{organizationDisplayName:n,tabs:r,transformSource:t}),i={...o,id:u.id,isExternal:void 0!==o.shouldOpenInNewTab?o.shouldOpenInNewTab:a},d=i.tabs||[];for(const t of d){const e="string"==typeof t?t:t[0];c.includes(e)?s[e].push(i):console.warn(`Tab "${e}" found in item but not configured in tabs`)}c.includes("All")&&s.All.push(i)}for(const e of Object.keys(s)){const t=i.find((t=>"string"==typeof t?t===e:t[0]===e)),n="object"==typeof t&&!0===(null==(o=t[1])?void 0:o.isAlwaysVisible);0!==s[e].length||n||delete s[e]}return s}),[e,t,n,r,a])})(d),{disableTransition:f,disabled:m}=function(){const[e,t]=Z.useState(!1);Z.useEffect((()=>{if(e){const e=setTimeout((()=>t(!1)),0);return()=>clearTimeout(e)}}),[e]);const n=Z.useCallback((()=>t(!0)),[]);return{disabled:e,disableTransition:n}}(),g=Wee();return Z.useImperativeHandle(n,(()=>({updateQuery(e){g.setState("search",e)},focusInput:()=>{var e;null==(e=o.current)||e.focus()}}))),{results:h,resultsList:d,setResultsList:p,hasContent:r&&(d.length>0||i),loading:i,setLoading:s,defaultTab:l,tab:c,setTab:u,disableTransition:f,transitionsDisabled:m,inputRef:o,showSearchResults:r,setShowSearchResults:a}},kte=Z.createContext(void 0),wte=({children:e})=>{const{logEvent:t}=fP();return Gh.jsx(kte.Provider,{value:{logEvent:t},children:e})},xte=({children:e})=>Gh.jsx(hP,{children:Gh.jsx(wte,{children:e})}),Ete=()=>{const e=Z.useContext(kte);if(!e)throw new Error("useSearchEvents must be used within a SearchEventsProvider");return e},_te=Z.createContext(void 0),Ste=e=>{const{searchSettings:{defaultQuery:t}}=ZO();return Gh.jsx(xte,{children:Gh.jsx(rte,{shouldFilter:!1,loop:!1,defaultSearch:t,children:Gh.jsx(Tte,{...e})})})},Tte=({children:e,...t})=>{const n=vte();return Gh.jsx(_te.Provider,{value:{...n,...t},children:e})},Cte=()=>{const e=Z.useContext(_te);if(!e)throw new Error("useSearch must be used within a SearchProvider");return e};var Ate="rovingFocusGroup.onEntryFocus",Nte={bubbles:!1,cancelable:!0},Ite="RovingFocusGroup",[Rte,Ote,Pte]=function(e){const t=e+"CollectionProvider",[n,r]=DD(t),[a,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=e=>{const{scope:t,children:n}=e,r=J.useRef(null),o=J.useRef(new Map).current;return Gh.jsx(a,{scope:t,itemMap:o,collectionRef:r,children:n})};i.displayName=t;const s=e+"CollectionSlot",l=J.forwardRef(((e,t)=>{const{scope:n,children:r}=e,a=LD(t,o(s,n).collectionRef);return Gh.jsx(FD,{ref:a,children:r})}));l.displayName=s;const c=e+"CollectionItemSlot",u="data-radix-collection-item",d=J.forwardRef(((e,t)=>{const{scope:n,children:r,...a}=e,i=J.useRef(null),s=LD(t,i),l=o(c,n);return J.useEffect((()=>(l.itemMap.set(i,{ref:i,...a}),()=>{l.itemMap.delete(i)}))),Gh.jsx(FD,{[u]:"",ref:s,children:r})}));return d.displayName=c,[{Provider:i,Slot:l,ItemSlot:d},function(t){const n=o(e+"CollectionConsumer",t),r=J.useCallback((()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${u}]`)),r=Array.from(n.itemMap.values()).sort(((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current)));return r}),[n.collectionRef,n.itemMap]);return r},r]}(Ite),[Lte,Dte]=DD(Ite,[Pte]),[Mte,Fte]=Lte(Ite),jte=Z.forwardRef(((e,t)=>Gh.jsx(Rte.Provider,{scope:e.__scopeRovingFocusGroup,children:Gh.jsx(Rte.Slot,{scope:e.__scopeRovingFocusGroup,children:Gh.jsx(Bte,{...e,ref:t})})})));jte.displayName=Ite;var Bte=Z.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=Z.useRef(null),h=LD(t,p),f=zU(o),[m=null,g]=tj({prop:i,defaultProp:s,onChange:l}),[y,b]=Z.useState(!1),v=$D(c),k=Ote(n),w=Z.useRef(!1),[x,E]=Z.useState(0);return Z.useEffect((()=>{const e=p.current;if(e)return e.addEventListener(Ate,v),()=>e.removeEventListener(Ate,v)}),[v]),Gh.jsx(Mte,{scope:n,orientation:r,dir:f,loop:a,currentTabStopId:m,onItemFocus:Z.useCallback((e=>g(e)),[g]),onItemShiftTab:Z.useCallback((()=>b(!0)),[]),onFocusableItemAdd:Z.useCallback((()=>E((e=>e+1))),[]),onFocusableItemRemove:Z.useCallback((()=>E((e=>e-1))),[]),children:Gh.jsx(UD.div,{tabIndex:y||0===x?-1:0,"data-orientation":r,...d,ref:h,style:{outline:"none",...e.style},onMouseDown:RD(e.onMouseDown,(()=>{w.current=!0})),onFocus:RD(e.onFocus,(e=>{const t=!w.current;if(e.target===e.currentTarget&&t&&!y){const t=new CustomEvent(Ate,Nte);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=k().filter((e=>e.focusable));$te([e.find((e=>e.active)),e.find((e=>e.id===m)),...e].filter(Boolean).map((e=>e.ref.current)),u)}}w.current=!1})),onBlur:RD(e.onBlur,(()=>b(!1)))})})})),zte="RovingFocusGroupItem",Hte=Z.forwardRef(((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:a=!1,tabStopId:o,...i}=e,s=FO(),l=o||s,c=Fte(zte,n),u=c.currentTabStopId===l,d=Ote(n),{onFocusableItemAdd:p,onFocusableItemRemove:h}=c;return Z.useEffect((()=>{if(r)return p(),()=>h()}),[r,p,h]),Gh.jsx(Rte.ItemSlot,{scope:n,id:l,focusable:r,active:a,children:Gh.jsx(UD.span,{tabIndex:u?0:-1,"data-orientation":c.orientation,...i,ref:t,onMouseDown:RD(e.onMouseDown,(e=>{r?c.onItemFocus(l):e.preventDefault()})),onFocus:RD(e.onFocus,(()=>c.onItemFocus(l))),onKeyDown:RD(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:Ute[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((()=>$te(a)))}var n,r}))})})}));Hte.displayName=zte;var Ute={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function $te(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 Gte=jte,Vte=Hte,Wte="Tabs",[qte,Yte]=DD(Wte,[Dte]),Kte=Dte(),[Xte,Qte]=qte(Wte),Zte=Z.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]=tj({prop:r,onChange:a,defaultProp:o});return Gh.jsx(Xte,{scope:n,baseId:FO(),value:d,onValueChange:p,orientation:i,dir:u,activationMode:l,children:Gh.jsx(UD.div,{dir:u,"data-orientation":i,...c,ref:t})})}));Zte.displayName=Wte;var Jte="TabsList",ene=Z.forwardRef(((e,t)=>{const{__scopeTabs:n,loop:r=!0,...a}=e,o=Qte(Jte,n),i=Kte(n);return Gh.jsx(Gte,{asChild:!0,...i,orientation:o.orientation,dir:o.dir,loop:r,children:Gh.jsx(UD.div,{role:"tablist","aria-orientation":o.orientation,...a,ref:t})})}));ene.displayName=Jte;var tne="TabsTrigger",nne=Z.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,disabled:a=!1,...o}=e,i=Qte(tne,n),s=Kte(n),l=one(i.baseId,r),c=ine(i.baseId,r),u=r===i.value;return Gh.jsx(Vte,{asChild:!0,...s,focusable:!a,active:u,children:Gh.jsx(UD.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:RD(e.onMouseDown,(e=>{a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():i.onValueChange(r)})),onKeyDown:RD(e.onKeyDown,(e=>{[" ","Enter"].includes(e.key)&&i.onValueChange(r)})),onFocus:RD(e.onFocus,(()=>{const e="manual"!==i.activationMode;u||a||!e||i.onValueChange(r)}))})})}));nne.displayName=tne;var rne="TabsContent",ane=Z.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,forceMount:a,children:o,...i}=e,s=Qte(rne,n),l=one(s.baseId,r),c=ine(s.baseId,r),u=r===s.value,d=Z.useRef(u);return Z.useEffect((()=>{const e=requestAnimationFrame((()=>d.current=!1));return()=>cancelAnimationFrame(e)}),[]),Gh.jsx(JF,{present:a||u,children:({present:n})=>Gh.jsx(UD.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 one(e,t){return`${e}-trigger-${t}`}function ine(e,t){return`${e}-content-${t}`}ane.displayName=rne;var sne=Zte,lne=ene,cne=nne,une=ane;const dne=()=>{const{setResultsList:e,setLoading:t,showSearchResults:n,setShowSearchResults:r}=Cte(),{baseSettings:a,searchSettings:o}=ZO(),{apiKey:i,aiApiBaseUrl:s,userAuthToken:l,filters:c}=a,{maxResults:u,debounceTimeMs:d,onQueryChange:p,filters:h}=o,{logEvent:f}=Ete(),m=Z.useRef({}),g=Z.useRef(null),y=Z.useRef(null),b=`${s}/graphql`,v=Z.useMemo((()=>({Authorization:`Bearer ${i}`,"Content-Type":"application/json",...l?{"User-Token":l}:{}})),[i,l]),k=Z.useCallback((async n=>{const r=new AbortController;g.current=r;try{const t=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}(b,"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:n},v,r.signal),a=null==t?void 0:t.search.searchHits;m.current[n.searchQuery]=a,e(a)}catch(Khe){if("AbortError"===Khe.name)return}finally{t(!1)}}),[b,v]),w=Z.useCallback((e=>{const t=m.current[e.searchQuery];f({eventName:"search_query_response_received",properties:{searchQuery:e.searchQuery,totalResults:null==t?void 0:t.length}})}),[]),x=()=>{g.current&&(g.current.abort(),t(!1))},E=Z.useCallback((n=>{if(y.current&&window.clearTimeout(y.current),!n.searchQuery)return x(),void e([]);y.current=window.setTimeout((()=>{x(),f({eventName:"search_query_submitted",properties:{searchQuery:n.searchQuery}}),m.current[n.searchQuery]?(e(m.current[n.searchQuery]),w(n)):(t(!0),k(n).then((()=>{w(n)})))}),d)}),[d,k]),_=ute((e=>e.search)),S=Z.useMemo((()=>({searchQuery:_,filters:{...c,...h,limit:u}})),[_,u,c,h]),T=Z.useRef(null);Z.useEffect((()=>{const e=()=>{null!==T.current&&(window.clearTimeout(T.current),T.current=null)},t=Boolean(_);return t&&!n?(e(),T.current=window.setTimeout((()=>{r(!0)}),400)):!t&&n&&(e(),r(!1)),e}),[_,n,r]),Z.useEffect((()=>{null==p||p(S.searchQuery),E(S)}),[E,S])};const pne=PB("div",{_id:"aiSearchWrapper"}),hne=e=>{const{searchSettings:{view:t}}=ZO(),{isHidden:n,hasContent:r}=Cte(),a=kD("(max-width: 768px)"),o=dD();return Gh.jsx(pne,{"data-hidden":OP(n),"data-has-content":OP(r),"data-in-modal":OP(!!o),"data-mobile":OP(a),"data-view":t,"data-dual-pane-search-expanded":OP(r&&"dual-pane"===t&&!n),...e})},fne=PB("div",{_id:"aiSearchRoot"}),mne=e=>{const{isHidden:t}=Cte(),n=kD("(max-width: 768px)");return Gh.jsx(fne,{"data-hidden":OP(t),"data-mobile":OP(n),...e})},gne=PB(rte.List,{_id:"aiSearchContent"}),yne=Z.forwardRef(((e,t)=>{const n=ute((e=>e.value));return Gh.jsx(gne,{"aria-activedescendant":`aiSearchResults__Item-${n}`,...e,ref:t})})),bne=PB("div",{_id:"aiSearchInputGroup"}),vne=PB(CW,{_id:"aiSearchInputIcon",iconKey:"search"}),kne=PB(rte.Input,{_id:"aiSearchInput"}),wne=Z.forwardRef((({onInput:e,...t},n)=>{const{inputRef:r,shouldAutoFocusInput:a}=Cte(),o=ute((e=>e.value)),i=kD("(max-width: 768px)"),{searchSettings:s}=ZO(),l=Z.useMemo((()=>s.placeholder||(i?"Search...":"Search for anything...")),[s.placeholder,i]),c=TB(n,r),u=dD();return Z.useEffect((()=>{requestAnimationFrame((()=>{a&&(null==r?void 0:r.current)&&(r.current.focus(),r.current.selectionStart=r.current.value.length)}))}),[a,r,null==u?void 0:u.isOpen]),dne(),Gh.jsx(kne,{ref:c,placeholder:l,"aria-activedescendant":`aiSearchResults__Item-${o}`,...t})})),xne=PB(SW,{_id:"aiSearchLoading",iconSettings:{builtIn:"LuLoaderCircle"}}),Ene=e=>{const{loading:t,resultsList:n}=Cte();return t&&0!==n.length?Gh.jsx(xne,{...e}):null},_ne=PB(rte.Item,{_id:"aiAskAITrigger",value:Dee}),Sne=e=>{var t,n;const{results:r,tab:a}=Cte(),o=Wee(),i=(null==(n=null==(t=r[a])?void 0:t[0])?void 0:n.id)??"NONE";return Gh.jsx(_ne,{...e,id:`aiSearchResults__Item-${Dee}`,tabIndex:0,onPointerLeave:()=>o.setState("value",i,!0)})},Tne=PB("img",{_id:"aiAskAITrigger__Icon"}),Cne=e=>{const{aiChatSettings:t}=ZO(),{aiAssistantAvatar:n}=t??{},r="string"==typeof n?n:null==n?void 0:n.light,a=iB(r,("string"==typeof n?n:null==n?void 0:n.dark)??r),[o,i]=Z.useState(a);Z.useEffect((()=>{i(a)}),[a]);return Gh.jsx(Tne,{asChild:!0,...e,children:o?Gh.jsx("img",{src:o,alt:"AI Avatar","data-type":"image",onError:a4((()=>{i(null)})),...e}):Gh.jsx(WV,{"data-type":"icon",...e})})},Ane=PB("span",{_id:"aiAskAITrigger__Label"}),Nne=PB(CW,{_id:"aiAskAITrigger__Indicator",iconKey:"openLinkInSameTab"}),Ine=PB(sne,{_id:"aiSearchResults"}),Rne=e=>{const{searchSettings:{view:t}}=ZO(),{tab:n,setTab:r,hasContent:a,isHidden:o,disableTransition:i,results:s,defaultTab:l}=Cte(),c=Wee(),u=Z.useCallback((e=>{var t;i(),r(e);const n=s[e][0]?null==(t=s[e][0])?void 0:t.id:void 0;c.setState("value",n,!0)}),[s,i]);return Z.useEffect((()=>{var e,t;let a=n in s?n:Object.keys(s)[0];if(!(null==(e=s[a])?void 0:e.length)){const e=Object.keys(s).find((e=>{var t;return null==(t=s[e])?void 0:t.length}));a=e||l}if(!a)return;r(a);const o=null==(t=s[a])?void 0:t[0];o&&c.setState("value",o.id,!0)}),[s]),Gh.jsx(Ine,{value:n,onValueChange:u,"data-has-content":OP(a),"data-dual-pane-search-expanded":OP(a&&"dual-pane"===t&&!o),...e})},One=PB("div",{_id:"aiSearchResults__Loading"}),Pne=e=>{const{loading:t,resultsList:n}=Cte();return!t||n.length>0?null:Gh.jsx(One,{...e})},Lne=PB(rte.Empty,{_id:"aiSearchResults__Empty"}),Dne=e=>{var t;const n=ute((e=>e.search)),{loading:r,results:a,tab:o}=Cte(),i=null==(t=a[o])?void 0:t.length;return r||!n||i?null:Gh.jsx(Lne,{children:"No results found.",...e})},Mne=PB(lne,{_id:"aiSearchResults__TabList"}),Fne=e=>{const{children:t,...n}=e,{searchSettings:{tabs:r}}=ZO(),{results:a,loading:o,resultsList:i}=Cte();if(o&&0===i.length)return null;const s=Object.keys(a);return r.length&&s.length?Gh.jsx(Mne,{tabIndex:-1,children:LP(t,s),...n}):null},jne=PB(cne,{_id:"aiSearchResults__Tab"}),Bne=Z.forwardRef(((e,t)=>{const n=Z.useRef(null),r=TB(t,n),{tab:a,onClick:o,...i}=e,{results:s,tab:l,inputRef:c}=Cte(),u=s[a].length,d=a===l,p=BO();return Z.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]),Gh.jsx(jne,{ref:r,"ikp-tab":"",tabIndex:d?0:-1,value:a,children:`${a} (${u})`,onClick:a4(o,(()=>{var e;null==(e=c.current)||e.focus()})),...i})})),zne=PB("div",{_id:"aiSearchResults__Content"}),Hne=PB(x$,{_id:"aiSearchResults__ScrollArea"}),Une=e=>{const{loading:t,resultsList:n}=Cte();return t&&0===n.length?null:Gh.jsx(Hne,{tabIndex:-1,...e})},$ne=PB(E$,{_id:"aiSearchResults__ScrollAreaViewport"}),Gne=Z.forwardRef((({children:e,...t},n)=>{const r=function(){const e=Z.useRef(null),t=Z.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 Z.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=TB(n,r),{tab:o}=Cte();return Z.useEffect((()=>{var e;o&&(null==(e=r.current)||e.scrollTo({top:0,behavior:"auto"}))}),[o]),Gh.jsx($ne,{ref:a,tabIndex:-1,children:Gh.jsx("div",{tabIndex:-1,style:{display:"grid"},children:e}),...t})})),Vne=PB(QU,{_id:"aiSearchResults__ScrollAreaScrollbar"}),Wne=PB(l$,{_id:"aiSearchResults__ScrollAreaThumb"}),qne=PB(_$,{_id:"aiSearchResults__ScrollAreaCorner"}),Yne=PB(une,{_id:"aiSearchResults__List"}),Kne=e=>{const{children:t,...n}=e,{results:r,tab:a}=Cte(),o=r[a]??[];return Gh.jsx(Yne,{value:a,"data-has-results":OP(o.length>0),"aria-label":"Search results",children:LP(t,o),tabIndex:-1,...n})},Xne=PB(rte.Item,{_id:"aiSearchResults__Item",asChild:!0}),Qne=Z.forwardRef((({item:e,onClick:t,onSelect:n,children:r,...a},o)=>{var i;const{searchSettings:{shouldOpenLinksInNewTab:s,view:l,searchQueryParamKey:c}}=ZO(),{logEvent:u}=Ete(),d=ute((e=>e.search)),{transitionsDisabled:p}=Cte(),h=ute((e=>e.value)),f=Z.useRef(null),m=TB(o,f),g=Z.useCallback((e=>{var t;"keyboard"===e.trigger&&(null==(t=f.current)||t.click())}),[]),y=Z.useCallback((()=>{u({eventName:"search_result_clicked",properties:{searchQuery:d,title:e.title,url:e.url}})}),[u,d,e.title,e.url]),b=Z.useMemo((()=>void 0!==e.shouldOpenInNewTab?e.shouldOpenInNewTab:s),[e.shouldOpenInNewTab,s]),v=h===e.id,k=v||("NONE"===h||h===Dee),w=Z.useMemo((()=>{const t=c?function(e,t,n){try{const r=new URL(e);return r.searchParams.set(n,t),r.toString()}catch{return e}}(e.url,d,c):e.url;return{href:t,isExternal:b,appendToUrl:e.appendToUrl,children:r,id:`aiSearchResults__Item-${e.id}`}}),[e.url,b,e.appendToUrl,r,e.id,c,d]);return Gh.jsx(wB,{source:{...e,isExternal:b},children:Gh.jsx(Xne,{ref:m,value:e.id,"data-type":e.type,"data-breadcrumbs":!!(null==(i=e.breadcrumbs)?void 0:i.length),"data-disable-transitions":OP(p),"data-view":l,onSelect:a4(n,g),onClick:a4(t,y),"data-selected":OP(v),tabIndex:k?0:-1,...a,children:Gh.jsx(NW,{...w})})})})),Zne=PB("div",{_id:"aiSearchResults__ItemBreadcrumbs"}),Jne=e=>{var t,n,r,a;const{source:o}=xB(),{tab:i}=Cte();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 Gh.jsx(Zne,{"aria-hidden":"true",children:LP(s,c),...l})},ere=PB(CW,{_id:"aiSearchResults__ItemBreadcrumbIcon",iconKey:"breadcrumbSeparator"}),tre=PB(SW,{_id:"aiSearchResults__ItemIcon"}),nre=e=>{const{source:t}=xB();return Gh.jsx(tre,{iconSettings:t.icon,"data-type":t.type,...e})},rre=PB("span",{_id:"aiSearchResults__ItemTitle"}),are=e=>{const{source:t}=xB();return Gh.jsx(rre,{"data-type":t.type,children:t.title,...e})},ore=PB("span",{_id:"aiSearchResults__ItemTag"}),ire=e=>{const{source:t}=xB();return Gh.jsx(ore,{"data-type":t.type,children:t.tag,...e})},sre=PB("span",{_id:"aiSearchResults__ItemDescription"}),lre=e=>{const{source:t}=xB(),{children:n,...r}=e,a=Z.useMemo((()=>t.description?r4(t.description):[]),[t.description]);return a.length?Gh.jsx(sre,{"data-type":t.type,"aria-hidden":"true",children:LP(n,a),...r}):null},cre=PB("span",{_id:"aiSearchResults__ItemDescriptionPart"}),ure=e=>{const{part:t,...n}=e,{source:r}=xB();return"string"==typeof t?t:Gh.jsx(cre,{"data-type":r.type,children:t.content,"data-highlighted":OP(t.highlighted),...n})},dre=PB(CW,{_id:"aiSearchResults__ItemIndicator"}),pre=e=>{const{source:t}=xB(),{searchSettings:{view:n}}=ZO();return Gh.jsx(dre,{iconKey:t.isExternal?"openLinkInNewTab":"openLinkInSameTab","data-view":n,...e})},hre=PB("div",{_id:"aiSearchResults__ItemPreview","aria-hidden":!0}),fre=e=>{const{searchSettings:{view:t,shouldOpenLinksInNewTab:n}}=ZO(),{results:r,tab:a}=Cte(),o=ute((e=>e.value)),i=r[a]??[],s=Z.useRef(null),l=Z.useMemo((()=>{if(o===Dee)return s.current;const e=i.find((e=>e.id===o));return s.current=e??null,e}),[o]);if("dual-pane"!==t||o===Dee)return null;if(!l)return null;const c=void 0!==l.shouldOpenInNewTab?l.shouldOpenInNewTab:n;return Gh.jsx(wB,{source:{...l,isExternal:c},children:Gh.jsx(hre,{...e})})},mre=PB("div",{_id:"aiSearchResults__ItemPreview__Header"}),gre=PB(NW,{_id:"aiSearchResults__ItemPreview__Heading"}),yre=e=>{const{source:t}=xB();return Gh.jsx(gre,{href:t.url,isExternal:t.isExternal,appendToUrl:t.appendToUrl,"data-type":t.type,...e})},bre=PB("span",{_id:"aiSearchResults__ItemPreview__Title"}),vre=e=>{const{source:t}=xB();return Gh.jsx(bre,{children:t.title,...e})},kre=PB(CW,{_id:"aiSearchResults__ItemPreview__Title__LinkIcon",iconKey:"openLinkInNewTab"}),wre=e=>{const{source:t}=xB();return Gh.jsx(kre,{iconKey:t.isExternal?"openLinkInNewTab":"openLinkInSameTab",...e})},xre=PB(Jne,{_id:"aiSearchResults__ItemPreview__Breadcrumbs"}),Ere=PB(ere,{_id:"aiSearchResults__ItemPreview__BreadcrumbIcon"}),_re=PB(Z3,{_id:"aiSearchResults__ItemPreview__Body"}),Sre=e=>{const{source:t}=xB(),{resultsList:n}=Cte(),r=n.find((e=>e.id===t.id)),{searchSettings:{shouldOpenLinksInNewTab:a}}=ZO();return r?Gh.jsx(_re,{shouldOpenLinksInNewTab:a,children:r.preview,...e}):null},Tre=PB("div",{_id:"aiSearchResults__ItemPreview__Outline"}),Cre=e=>{const{source:t}=xB(),{resultsList:n}=Cte(),r=n.find((e=>e.id===t.id)),a=null==r?void 0:r.rootRecord.topLevelHeadings;return(null==a?void 0:a.length)?Gh.jsx(Tre,{...e}):null},Are=PB("span",{_id:"aiSearchResults__ItemPreview__Outline__Title",children:"On this page"}),Nre=PB("ul",{_id:"aiSearchResults__ItemPreview__Outline__List"}),Ire=e=>{const{source:t}=xB(),{resultsList:n}=Cte(),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 Gh.jsx(Nre,{children:LP(i,o),...s})},Rre=PB(NW,{_id:"aiSearchResults__ItemPreview__Outline__Item"}),Ore=e=>{const{searchSettings:{shouldOpenLinksInNewTab:t}}=ZO();return Gh.jsx(Rre,{isExternal:t,...e})},Pre=PB(CW,{_id:"aiSearchResults__ItemPreview__Outline__ItemIcon",iconKey:"newLine"}),Lre=PB("span",{_id:"aiSearchResults__ItemPreview__Outline__ItemText"}),Dre=e=>Gh.jsx(Lre,{...e}),Mre=PB(SW,{_id:"aiSearchResults__ItemPreview__Outline__ItemLinkIcon",iconSettings:{builtIn:"LuLink"}}),Fre=PB("div",{_id:"aiSearchFooter"}),jre=e=>{const{hasContent:t}=Cte();return Gh.jsx(Fre,{"data-has-results":OP(t),...e})},Bre=PB("div",{_id:"aiSearchTagline__Container"}),zre=PB("span",{_id:"aiSearchTagline__Text",children:"Powered by"}),Hre=PB(t4,{_id:"aiSearchTagline__Logo"}),Ure=PB("a",{_id:"aiSearchTagline__BrandName",children:"inkeep",href:"https://www.inkeep.com/",target:"_blank",rel:"noopener noreferrer"}),$re=PB(NV,{_id:"modal"}),Gre=PB(RV,{_id:"modal__Overlay"}),Vre=PB(OV,{_id:"modal__Content","aria-describedby":void 0}),Wre=e=>{const t=kD("(max-width: 768px)");return Gh.jsx(Vre,{"data-mobile":OP(t),...e})},qre=PB(LV,{_id:"modal__Close",children:Gh.jsx(CW,{iconKey:"close"})}),Yre=e=>dD()?Gh.jsx(qre,{...e}):null,Kre={type:"object",properties:{aiAnnotations:{type:"object",properties:{answerConfidence:{anyOf:[{type:"string",const:"very_confident",description:"Very confident"},{type:"string",const:"somewhat_confident",description:"Somewhat confident"},{type:"string",const:"not_confident",description:"Not confident"},{type:"string",const:"no_sources",description:"No Sources"},{type:"string",const:"other",description:"Other"}]}},required:["answerConfidence"],additionalProperties:!0}},required:["aiAnnotations"],additionalProperties:!1},Xre=async(e,t,n)=>{var r,a,o,i;const s=await t.chat.completions.create({model:"inkeep-qa-expert",messages:e,tools:[{type:"function",function:{name:"provideAIAnnotations",description:"Provides AI confidence levels for the response",parameters:Kre}},{type:"function",function:{name:"provideRecordsConsidered",description:"Provides records considered in generating the response",parameters:{type:"object"}}}],tool_choice:"auto"},n?{headers:n}:void 0),l=null==(a=null==(r=s.choices[0])?void 0:r.message)?void 0:a.content;let c,u;const d=(null==(i=null==(o=s.choices[0])?void 0:o.message)?void 0:i.tool_calls)||[];for(const p of d){if("provideAIAnnotations"===p.function.name){c=JSON.parse(p.function.arguments).aiAnnotations}if("provideRecordsConsidered"===p.function.name){u=JSON.parse(p.function.arguments).recordsConsidered??[]}}return{answer:l||null,aiAnnotations:c,recordsConsidered:u,messages:e}},Qre=async(e,t,n)=>{var r,a;const o=JSON.stringify(e.primaryFieldValues,null,2),i=JSON.stringify(e.fieldsToGenerate,null,2),s=null==(a=null==(r=(await t.chat.completions.create({model:"inkeep-context-expert",messages:[{role:"system",content:"You are a helpful assistant that suggests form field values based on context. You will receive form field information including field names, descriptions, input types, and available options for select fields.\n\nFor each field, consider its description, input type, and available options (for select fields).\n\nYou must respond with a JSON object where keys are the field names and values match the expected input type and length for that field."},{role:"user",content:`Based on these primary field values:\n${o}\n\nSuggest values for these additional fields:\n${i}`}],response_format:{type:"json_object"}},n?{headers:n}:void 0)).choices[0])?void 0:r.message)?void 0:a.content;return{suggestedValues:s?JSON.parse(s):{}}},Zre=async(e,t)=>{if(t)return;const n=await _D(`${e}/v1/challenge`);return n?{"X-INKEEP-CHALLENGE-SOLUTION":btoa(JSON.stringify(n))}:void 0},Jre=e=>{var t;const{formSettings:n}=e,{baseSettings:r}=ZO(),{conversation:a}=nP(),{logEvent:o}=bP(),{aiApiBaseUrl:i,shouldBypassCaptcha:s}=r,l=Z.useMemo((()=>new db({baseURL:`${i}/v1`,apiKey:r.apiKey,dangerouslyAllowBrowser:!0})),[r.apiKey,i]),[c,u]=Z.useState(!1),[d,p]=Z.useState(!1),[h,f]=Z.useState(!1),[m,g]=Z.useState({}),y=Z.useMemo((()=>{const{primary:e,secondary:t}=n;return hD([...e.fields,...t.fields])}),[n]),{control:b,handleSubmit:v,formState:{errors:k,isSubmitting:w,isSubmitSuccessful:x},reset:E,trigger:_,setValue:S,setError:T}=lD({defaultValues:y});Z.useEffect((()=>{y&&E(y)}),[E,y]);const C=v((async e=>{try{await n.buttons.submit.onSubmit({values:e,conversation:a}),o({eventName:"intelligent_form_submitted",properties:{conversation:a,values:e}})}catch(t){T("root.serverError",{message:t instanceof Error?t.message:"Something went wrong."})}})),A=null==(t=null==k?void 0:k.root)?void 0:t.serverError;return{formSettings:n,control:b,errors:k,isSubmitSuccessful:x,isSubmitting:w,handleSubmit:C,loading:c,formError:A,submittedPrimaryForm:d,handleSubmitPrimaryForm:async()=>{var e;const t=n.primary.fields.map((e=>e.name));if(!(await _(t)))return;p(!0),u(!0);const r=b._formValues,a=n.primary.fields.reduce(((e,t)=>(e[t.name]=r[t.name],e)),{}),c=n.secondary.fields.filter((e=>!1!==e.shouldPrefillWithAI)),d=(e=>{const t=JSON.stringify(e,null,2);return[{id:`${Date.now()}1`,role:"system",content:'\n <guidance>\n <rule>\n <name>Direct Answer Provision</name>\n <conditions>\n <condition>When responding to form field inputs</condition>\n </conditions>\n <actions>\n <action>\n **Provide direct, complete answers** based solely on the form fields provided. Never ask follow-up questions or request additional information.\n\n ✅ Good Example:\n "Based on the provided information, the issue appears to be X. Here\'s how to resolve it..."\n\n ❌ Bad Example:\n "Could you provide more details about...?" or "Would you like me to explain...?"\n\n Guidelines:\n - Always provide the best possible answer with available information\n - Never use phrases like "would you like" or "do you need"\n - Focus on actionable solutions rather than gathering more information\n - Maintain a professional, direct tone throughout the response\n </action>\n </actions>\n </rule>\n </guidance>\n '},{id:`${Date.now()}2`,role:"user",content:`${t}`}]})(a);o({eventName:"intelligent_form_primary_section_submitted",properties:{}},d);try{const t=await Zre(i,s),n=await Zre(i,s),[r,u]=await Promise.all([Xre(d,l,t),Qre({primaryFieldValues:a,fieldsToGenerate:c},l,n)]);if(u.suggestedValues)for(const[e,a]of Object.entries(u.suggestedValues))S(e,a);const p=null==(e=r.aiAnnotations)?void 0:e.answerConfidence,h=p&&["very_confident","somewhat_confident"].includes(p),m=r.recordsConsidered&&r.recordsConsidered.length>0;h&&m&&r.answer?(g({answer:r.answer,answerConfidence:p,recordsConsidered:r.recordsConsidered}),o({eventName:"intelligent_form_ai_response_provided",properties:{recordsConsidered:r.recordsConsidered}},[...d,{id:Date.now().toString(),role:"assistant",content:r.answer,links:[]}])):(f(!0),g({answer:null,recordsConsidered:r.recordsConsidered,suggestedValues:u.suggestedValues}))}catch(h){console.error(h),f(!0)}finally{u(!1)}},aiResponse:m,showSecondaryFields:h,setShowSecondaryFields:f}},eae=Z.createContext(void 0),tae=({children:e,formSettings:t})=>{const n=Jre({formSettings:t});return Gh.jsx(eae.Provider,{value:n,children:e})},nae=e=>Gh.jsx(tP,{children:Gh.jsx(yP,{children:Gh.jsx(tae,{...e})})}),rae=()=>{const e=Z.useContext(eae);if(!e)throw new Error("useIntelligentForm must be used within a IntelligentFormProvider");return e},aae=Z.createContext(void 0),oae=({children:e,field:t,fieldProps:n,autoFocus:r})=>{const{errors:a}=rae(),o=a[t.name];return Gh.jsx(aae.Provider,{value:{field:t,fieldProps:n,error:o,autoFocus:r},children:e})},iae=()=>{const e=Z.useContext(aae);if(!e)throw new Error("useIntelligentFormField must be used within a IntelligentFormFieldProvider");return e},sae=PB("form",{_id:"intelligentForm__Root"}),lae=e=>{const{onSubmit:t,...n}=e,{handleSubmit:r}=rae();return Gh.jsx(sae,{onSubmit:a4(t,r),...n})},cae=PB("h2",{_id:"intelligentForm__Heading",children:"Contact Support"}),uae=PB("div",{_id:"intelligentForm__Content"}),dae=PB(x$,{_id:"intelligentForm__Content__ScrollArea"}),pae=PB(E$,{_id:"intelligentForm__Content__ScrollAreaViewport"}),hae=e=>{const{children:t,...n}=e;return Gh.jsx(pae,{children:Gh.jsx("div",{"data-part":"grid",style:{display:"grid"},children:t}),...n})},fae=PB(QU,{_id:"intelligentForm__Content__ScrollAreaScrollbar"}),mae=PB(l$,{_id:"intelligentForm__Content__ScrollAreaThumb"}),gae=PB(_$,{_id:"intelligentForm__Content__ScrollAreaCorner"}),yae=PB("div",{_id:"intelligentForm__Success"}),bae=e=>{const{children:t,...n}=e,{isSubmitSuccessful:r}=rae();return r?Gh.jsx(yae,{...n,children:t}):null},vae=PB(SW,{_id:"intelligentForm__SuccessIcon"}),kae=e=>{const{formSettings:{successView:t}}=rae();return Gh.jsx(vae,{iconSettings:t.icon??{builtIn:"LuCircleCheck"},...e})},wae=PB("h2",{_id:"intelligentForm__SuccessHeading"}),xae=e=>{const{formSettings:{successView:t}}=rae();return Gh.jsx(wae,{children:t.heading,...e})},Eae=PB("p",{_id:"intelligentForm__SuccessMessage"}),_ae=e=>{const{formSettings:{successView:t}}=rae();return Gh.jsx(Eae,{children:t.message,...e})},Sae=PB("div",{_id:"intelligentForm__PrimaryForm"}),Tae=PB("div",{_id:"intelligentForm__PrimaryFormFields"}),Cae=PB("p",{_id:"intelligentForm__PrimaryForm__Description"}),Aae=e=>{const{formSettings:{primary:t}}=rae();return t.description?Gh.jsx(Cae,{children:t.description,...e}):null},Nae=e=>{const{children:t,...n}=e,{formSettings:{primary:r}}=rae();return Gh.jsx(Tae,{children:LP(t,r.fields),...n})},Iae=PB("button",{_id:"intelligentForm__PrimaryFormSubmit",type:"button",children:"Next"}),Rae=e=>{const{onClick:t,...n}=e,{submittedPrimaryForm:r,handleSubmitPrimaryForm:a}=rae();return Gh.jsx(Iae,{"data-submitted":OP(r),onClick:a4(t,a),...n})},Oae=PB("div",{_id:"intelligentForm__Field"}),Pae=e=>{const{field:t,autoFocus:n,...r}=e,{control:a,errors:o}=rae();return Gh.jsx(SL,{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 Gh.jsx(oae,{"data-invalid":OP(!!o[t.name]),field:t,fieldProps:e,autoFocus:n,children:a&&Gh.jsx(Oae,{"data-input-type":t.inputType,"data-hidden":OP(t.isHidden),...r})})}})},Lae=PB("label",{_id:"intelligentForm__FieldLabel"}),Dae=e=>{const{field:t}=iae();return Gh.jsx(Lae,{"data-required":OP(t.isRequired),htmlFor:t.name,children:t.label,...e})},Mae=PB("input",{_id:"intelligentForm__FieldText",type:"text"}),Fae=Z.forwardRef(((e,t)=>{const{field:n,error:r,fieldProps:{onChange:a,onBlur:o,ref:i,...s},autoFocus:l}=iae(),c=TB(t,i);return Gh.jsx(Mae,{asChild:"textarea"===n.inputType,ref:c,id:n.name,autoFocus:l,placeholder:"placeholder"in n?n.placeholder:void 0,"data-invalid":OP(!!r),onChange:a4(e.onChange,a),onBlur:a4(e.onBlur,o),...s,...e,children:"textarea"===n.inputType?Gh.jsx(KB,{minRows:3,maxRows:10}):null})})),jae=PB(Fae,{_id:"intelligentForm__FieldEmail",type:"email"}),Bae=PB("input",{_id:"intelligentForm__FieldFile",type:"file",multiple:!0}),zae=e=>{const{field:t,error:n,fieldProps:{value:r,onChange:a,onBlur:o,...i},autoFocus:s}=iae(),{onChange:l,onBlur:c,...u}=e;return Gh.jsx(Bae,{id:t.name,autoFocus:s,"data-value":r,"data-invalid":OP(!!n),...u,...i,onChange:a4(l,(e=>{const t=e.target.files;a(t)})),onBlur:a4(c,o)})},Hae=PB(Fae,{_id:"intelligentForm__FieldTextArea",type:"textarea",asChild:!0,children:Gh.jsx(KB,{rows:1,maxRows:8})}),Uae=PB(wz,{_id:"intelligentForm__FieldCheckbox"}),$ae=e=>{const{field:t,error:n,fieldProps:r,autoFocus:a}=iae(),{onCheckedChange:o,...i}=e;return Gh.jsx(Uae,{id:t.name,name:t.name,autoFocus:a,"data-invalid":OP(!!n),checked:r.value,onCheckedChange:a4(o,r.onChange),...i})},Gae=PB(xz,{_id:"intelligentForm__FieldCheckboxIndicator",children:Gh.jsx(e4,{})}),Vae=PB(EG,{_id:"intelligentForm__FieldSelect"}),Wae=PB(_G,{_id:"intelligentForm__FieldSelect__Trigger"}),qae=PB(SG,{_id:"intelligentForm__FieldSelect__Value"}),Yae=PB(TG,{_id:"intelligentForm__FieldSelect__Icon",asChild:!0,children:Gh.jsx(SW,{iconSettings:{builtIn:"LuChevronDown"}})}),Kae=PB(CG,{_id:"intelligentForm__FieldSelect__Content",position:"popper"}),Xae=PB(AG,{_id:"intelligentForm__FieldSelect__Viewport"}),Qae=PB(NG,{_id:"intelligentForm__FieldSelect__Item"}),Zae=PB(IG,{_id:"intelligentForm__FieldSelect__ItemText"}),Jae=PB(RG,{_id:"intelligentForm__FieldSelect__ItemIndicator",asChild:!0,children:Gh.jsx(SW,{iconSettings:{builtIn:"LuCheck"}})}),eoe=PB("span",{_id:"intelligentForm__FieldError"}),toe=e=>{var t;const{error:n}=iae();return n?Gh.jsx(eoe,{children:null==(t=n.message)?void 0:t.toString(),...e}):null},noe=PB("div",{_id:"intelligentForm__BotHeading"}),roe=PB(SW,{_id:"intelligentForm__BotHeading__Icon",iconSettings:{builtIn:"LuSparkles"}}),aoe=PB("div",{_id:"intelligentForm__BotHeading__Name"}),ooe=e=>{const{baseSettings:t}=ZO(),{organizationDisplayName:n}=t??{},{formSettings:{aiAssistantName:r}}=rae();return Gh.jsx(aoe,{children:r??n,...e})},ioe=PB("div",{_id:"intelligentForm__Loading"}),soe=Z.forwardRef((({...e},t)=>{const{loading:n}=rae(),r=Z.useRef(null),a=TB(t,r);return Z.useEffect((()=>{n&&r.current&&r.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}),[n]),n?Gh.jsx(ioe,{ref:a,...e}):null})),loe=PB("div",{_id:"intelligentForm__ConfidentResponse"}),coe=Z.forwardRef((({...e},t)=>{const{aiResponse:n,loading:r}=rae(),a=Z.useRef(null),o=TB(t,a);return Z.useEffect((()=>{!r&&n.answerConfidence&&a.current&&a.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}),[r,n.answerConfidence]),n.answerConfidence?Gh.jsx(loe,{ref:o,...e}):null})),uoe=PB(Z3,{_id:"intelligentForm__ConfidentAnswer"}),doe=e=>{const{aiResponse:t}=rae();return Gh.jsx(uoe,{shouldOpenLinksInNewTab:!0,children:t.answer,...e})},poe=PB("button",{_id:"intelligentForm__ConfidentResponseButton",type:"button"}),hoe=e=>{const{onClick:t,...n}=e,{showSecondaryFields:r,setShowSecondaryFields:a}=rae();return Gh.jsx(poe,{"data-escalated":OP(r),onClick:a4(t,(()=>{a(!0)})),...n})},foe=PB(SW,{_id:"intelligentForm__ConfidentResponseButton__Icon",iconSettings:{builtIn:"LuUser"}}),moe=PB("span",{_id:"intelligentForm__ConfidentResponseButton__Label",children:"Escalate to human"}),goe=PB("div",{_id:"intelligentForm__SecondaryForm"}),yoe=Z.forwardRef((({...e},t)=>{const{showSecondaryFields:n}=rae(),r=Z.useRef(null),a=TB(t,r);return Z.useEffect((()=>{n&&r.current&&r.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}),[n]),n?Gh.jsx(goe,{ref:a,...e}):null})),boe=PB("p",{_id:"intelligentForm__SecondaryForm__Description"}),voe=e=>{const{formSettings:{secondary:t},aiResponse:{answerConfidence:n}}=rae();if(!t.description)return null;const r="string"==typeof t.description?t.description:n?t.description.confident:t.description.default;return Gh.jsx(boe,{children:r,...e})},koe=PB("div",{_id:"intelligentForm__SecondaryFormFields"}),woe=e=>{const{children:t,...n}=e,{formSettings:{secondary:r}}=rae();return Gh.jsx(koe,{children:LP(t,r.fields),...n})},xoe=PB("button",{_id:"intelligentForm__SecondaryFormSubmit",type:"submit",children:"Submit"}),Eoe=e=>{const{formSettings:t}=rae(),{label:n}=t.buttons.submit;return Gh.jsx(xoe,{children:n??"Submit",...e})},_oe=PB("span",{_id:"intelligentForm__Error"}),Soe=e=>{const{formError:t}=rae();return t?Gh.jsx(_oe,{children:t.message,...e}):null},Toe=PB("div",{_id:"intelligentForm__Sources"}),Coe=PB("p",{_id:"intelligentForm__SourcesCaption",children:"Here are the sources I considered:"}),Aoe=PB("div",{_id:"intelligentForm__SourcesList"}),Noe=e=>{const{children:t,...n}=e,{baseSettings:{transformSource:r,organizationDisplayName:a}}=ZO(),{aiResponse:{recordsConsidered:o}}=rae();if(!o)return null;const i=o.reduce(((e,t)=>{const n=v4(t,"intelligentFormSource",{organizationDisplayName:a,transformSource:r});return e.some((e=>e.url===n.url))||e.push(n),e}),[]);return Gh.jsx(Aoe,{children:LP(t,i),...n})},Ioe=PB(NW,{_id:"intelligentForm__Source"}),Roe=e=>{const{source:t,...n}=e;return Gh.jsx(wB,{source:{...t,isExternal:!!t.shouldOpenInNewTab},children:Gh.jsx(Ioe,{"data-type":t.type,appendToUrl:t.appendToUrl,href:t.url,isExternal:!1!==t.shouldOpenInNewTab,...n})})},Ooe=PB(SW,{_id:"intelligentForm__SourceIcon"}),Poe=e=>{const{source:t}=xB();return Gh.jsx(Ooe,{iconSettings:t.icon,"data-type":t.type,...e})},Loe=PB("span",{_id:"intelligentForm__SourceTitle"}),Doe=e=>{const{source:t}=xB();return Gh.jsx(Loe,{"data-type":t.type,children:t.title,...e})},Moe=PB("div",{_id:"chatButton__Container"}),Foe=PB("button",{_id:"chatButton__Button"}),joe=PB("div",{_id:"chatButton__Text"}),Boe=PB(iz,{_id:"chatButton__AvatarContent"}),zoe=PB(sz,{_id:"chatButton__AvatarImage"}),Hoe=Z.memo((e=>{const{onLoadingStatusChange:t,avatar:n,...r}=e,{aiChatSettings:a}=ZO(),{aiAssistantAvatar:o}=a??{},i="string"==typeof n?n:iB(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]=Z.useState(i??s);Z.useEffect((()=>{c(i??s)}),[i,s]);return l?Gh.jsx(zoe,{src:l,"data-type":"image",onLoadingStatusChange:a4(t,(e=>{"error"===e&&c(null)})),...r}):Gh.jsx(WV,{"data-type":"icon",...e})})),Uoe=PB("div",{_id:"searchBar__Container"}),$oe=PB("button",{_id:"searchBar__Button",type:"button"}),Goe=PB("div",{_id:"searchBar__ContentWrapper"}),Voe=PB("div",{_id:"searchBar__Text"}),Woe=e=>{const{searchSettings:{placeholder:t}}=ZO();return Gh.jsx(Voe,{...e,children:t})},qoe=PB(CW,{_id:"searchBar__Icon",iconKey:"search"}),Yoe=PB("kbd",{_id:"searchBar__KbdWrapper"}),Koe=PB("kbd",{_id:"searchBar__KbdShortcutKey"}),Xoe=e=>{const{shortcutKey:t,...n}=e;return Gh.jsx(Koe,{...n,children:null==t?void 0:t.toUpperCase()})},Qoe=()=>{var e,t;if("undefined"==typeof window)return!1;const n=null==(t=null==(e=window.navigator)?void 0:e.userAgent)?void 0:t.toLowerCase();return n.includes("macintosh")||n.includes("mac os x")},Zoe=PB("kbd",{_id:"searchBar__Ctrl",children:"Ctrl"}),Joe=PB(CW,{_id:"searchBar__CmdIcon",iconKey:"command"}),eie=e=>{const{shortcutKey:t,...n}=e;return Gh.jsx(Gh.Fragment,{children:t?Qoe()?Gh.jsx(Joe,{...n}):Gh.jsx(Zoe,{...n}):null})};const tie={width:void 0,height:void 0};function nie(e){const{ref:t,box:n="content-box"}=e,[{width:r,height:a},o]=Z.useState(tie),i=function(){const e=Z.useRef(!1);return Z.useEffect((()=>(e.current=!0,()=>{e.current=!1})),[]),Z.useCallback((()=>e.current),[])}(),s=Z.useRef({...tie}),l=Z.useRef(void 0);return l.current=e.onResize,Z.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=rie(e,t,"inlineSize"),a=rie(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 rie(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 aie="undefined"!=typeof document?Z.useLayoutEffect:Z.useEffect;function oie(e){const{children:t,target:n,tag:r,host:a}=e,o=Z.useRef(null),i=Z.useRef(null),[,s]=Z.useReducer((e=>e+1),0);aie((()=>{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?ue.createPortal(t,l):Z.createElement("span",{ref:o})}const iie=({children:e,...t})=>{const{baseSettings:n}=ZO(),{rootElement:r}=n;return Gh.jsx(oie,{host:r,...t,children:Gh.jsx(bB,{children:e})})},sie=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,lie=C5,cie=(e,t)=>n=>{var r;if(null==(null==t?void 0:t.variants))return lie(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=sie(t)||sie(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 lie(e,i,l,null==n?void 0:n.class,null==n?void 0:n.className)},uie=cie(["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"}}),die=cie(["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","focus-visible:ring-gray-500","dark:focus-visible:ring-white-alpha-900","focus-visible:ring-2","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"}}),pie=cie("",{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:[die({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"]}}}),hie=cie("",{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"]}}}),fie=cie(["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"]}}}),mie=cie("size-4 inline-block leading-[1em] shrink-0 text-current align-middle"),gie=cie(["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"}}}),yie=cie(["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-gray-500","dark:focus-visible:ring-white-alpha-900 dark:focus-visible:ring-offset-gray-950","hover:underline"]),bie=cie("tracking-tight font-semibold",{variants:{size:{lg:"text-xl",md:"text-md"}},defaultVariants:{size:"md"}}),vie=cie("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]"}}}),kie=cie("",{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:""}}}),wie=cie(["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"]),xie=cie(["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 "]),Eie=cie("",{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]"]}}}),_ie=cie("",{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:[die({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"]}}}),Sie=cie("",{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","focus:outline-none"],arrow:"fill-white dark:fill-gray-dark-800"}}}),Tie=cie("",{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"}}}),Cie=cie("",{variants:{slot:{trigger:[gie({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"]}}}),Aie=cie(["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]"]),Nie=e=>{const t=Pie(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),Iie(n,t)||Oie(e)},getConflictingClassGroupIds:(e,t)=>{const a=n[e]||[];return t&&r[e]?[...a,...r[e]]:a}}},Iie=(e,t)=>{var n;if(0===e.length)return t.classGroupId;const r=e[0],a=t.nextPart.get(r),o=a?Iie(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},Rie=/^\[(.+)\]$/,Oie=e=>{if(Rie.test(e)){const t=Rie.exec(e)[1],n=null==t?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Pie=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Fie(Object.entries(e.classGroups),n).forEach((([e,n])=>{Lie(n,r,e,t)})),r},Lie=(e,t,n,r)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return Mie(e)?void Lie(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach((([e,a])=>{Lie(a,Die(t,e),n,r)}))}else{(""===e?t:Die(t,e)).classGroupId=n}}))},Die=(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},Mie=e=>e.isThemeGetter,Fie=(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,jie=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)}}},Bie=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},zie=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},Hie=/\s+/;function Uie(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=$ie(e))&&(r&&(r+=" "),r+=t);return r}const $ie=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=$ie(e[r]))&&(n&&(n+=" "),n+=t);return n};function Gie(e,...t){let n,r,a,o=function(s){const l=t.reduce(((e,t)=>t(e)),e());return n=(e=>({cache:jie(e.cacheSize),parseClassName:Bie(e),...Nie(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(Hie);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),h=r(p?u.substring(0,d):u);if(!h){if(!p){s=e+(s.length>0?" "+s:s);continue}if(h=r(u),!h){s=e+(s.length>0?" "+s:s);continue}p=!1}const f=zie(t).join(":"),m=c?f+"!":f,g=m+h;if(o.includes(g))continue;o.push(g);const y=a(h,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(Uie.apply(null,arguments))}}const Vie=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},Wie=/^\[(?:([a-z-]+):)?(.+)\]$/i,qie=/^\d+\/\d+$/,Yie=new Set(["px","full","screen"]),Kie=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xie=/\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$/,Qie=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Zie=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Jie=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ese=e=>nse(e)||Yie.has(e)||qie.test(e),tse=e=>mse(e,"length",gse),nse=e=>Boolean(e)&&!Number.isNaN(Number(e)),rse=e=>mse(e,"number",nse),ase=e=>Boolean(e)&&Number.isInteger(Number(e)),ose=e=>e.endsWith("%")&&nse(e.slice(0,-1)),ise=e=>Wie.test(e),sse=e=>Kie.test(e),lse=new Set(["length","size","percentage"]),cse=e=>mse(e,lse,yse),use=e=>mse(e,"position",yse),dse=new Set(["image","url"]),pse=e=>mse(e,dse,vse),hse=e=>mse(e,"",bse),fse=()=>!0,mse=(e,t,n)=>{const r=Wie.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))},gse=e=>Xie.test(e)&&!Qie.test(e),yse=()=>!1,bse=e=>Zie.test(e),vse=e=>Jie.test(e),kse=Gie((()=>{const e=Vie("colors"),t=Vie("spacing"),n=Vie("blur"),r=Vie("brightness"),a=Vie("borderColor"),o=Vie("borderRadius"),i=Vie("borderSpacing"),s=Vie("borderWidth"),l=Vie("contrast"),c=Vie("grayscale"),u=Vie("hueRotate"),d=Vie("invert"),p=Vie("gap"),h=Vie("gradientColorStops"),f=Vie("gradientColorStopPositions"),m=Vie("inset"),g=Vie("margin"),y=Vie("opacity"),b=Vie("padding"),v=Vie("saturate"),k=Vie("scale"),w=Vie("sepia"),x=Vie("skew"),E=Vie("space"),_=Vie("translate"),S=()=>["auto",ise,t],T=()=>[ise,t],C=()=>["",ese,tse],A=()=>["auto",nse,ise],N=()=>["","0",ise],I=()=>[nse,ise];return{cacheSize:500,separator:":",theme:{colors:[fse],spacing:[ese,tse],blur:["none","",sse,ise],brightness:I(),borderColor:[e],borderRadius:["none","","full",sse,ise],borderSpacing:T(),borderWidth:C(),contrast:I(),grayscale:N(),hueRotate:I(),invert:N(),gap:T(),gradientColorStops:[e],gradientColorStopPositions:[ose,tse],inset:S(),margin:S(),opacity:I(),padding:T(),saturate:I(),scale:I(),sepia:N(),skew:I(),space:T(),translate:T()},classGroups:{aspect:[{aspect:["auto","square","video",ise]}],container:["container"],columns:[{columns:[sse]}],"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",ise]}],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",ase,ise]}],basis:[{basis:S()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ise]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",ase,ise]}],"grid-cols":[{"grid-cols":[fse]}],"col-start-end":[{col:["auto",{span:["full",ase,ise]},ise]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[fse]}],"row-start-end":[{row:["auto",{span:[ase,ise]},ise]}],"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",ise]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ise]}],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",ise,t]}],"min-w":[{"min-w":[ise,t,"min","max","fit"]}],"max-w":[{"max-w":[ise,t,"none","full","min","max","fit","prose",{screen:[sse]},sse]}],h:[{h:[ise,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ise,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ise,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ise,t,"auto","min","max","fit"]}],"font-size":[{text:["base",sse,tse]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",rse]}],"font-family":[{font:[fse]}],"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",ise]}],"line-clamp":[{"line-clamp":["none",nse,rse]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ese,ise]}],"list-image":[{"list-image":["none",ise]}],"list-style-type":[{list:["none","disc","decimal",ise]}],"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",ese,tse]}],"underline-offset":[{"underline-offset":["auto",ese,ise]}],"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",ise]}],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",ise]}],"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",use]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",cse]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},pse]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[f]}],"gradient-via-pos":[{via:[f]}],"gradient-to-pos":[{to:[f]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],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":[ese,ise]}],"outline-w":[{outline:[ese,tse]}],"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":[ese,tse]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",sse,hse]}],"shadow-color":[{shadow:[fse]}],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",sse,ise]}],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",ise]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",ise]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",ise]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[ase,ise]}],"translate-x":[{"translate-x":[_]}],"translate-y":[{"translate-y":[_]}],"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",ise]}],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",ise]}],"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",ise]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[ese,tse,rse]}],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 wse(...e){return kse(C5(e))}const xse=e=>e?"":void 0,Ese=cie("",{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:[wse(die({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")],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"]}}}),_se={markdownH1:wse(bie({size:"lg"}),"mb-3"),markdownH2:wse(bie({size:"md"}),"mb-2"),markdownP:wse("mb-3 break-words whitespace-pre-wrap","[&+ol,&+li]:mt-0"),markdownLi:wse("[&_a]:break-words [&_a]:inline"),markdownUl:vie({style:"unordered"}),markdownOl:wse(vie({style:"ordered"}),"[inset-inline-start:var(--start,0px)]","[counter-reset:item_calc(var(--start,0)_-_1)]"),markdownLink:wse(yie(),"text-inkeep-primary-stronger hover:text-inkeep-primary-strong","dark:text-inkeep-expanded-primary-100 dark:hover:text-inkeep-expanded-primary-300"),markdownSourceLink:wie(),markdownTable:kie({slot:"root"}),markdownTh:kie({slot:"th"}),markdownTd:kie({slot:"td"}),markdownCode:xie(),codeblockContainer:Eie({slot:"container"}),codeblockHeader:Eie({slot:"header"}),codeblockCopyButton:wse(die({}),Eie({slot:"copyButton"})),codeblockHighlighterWrapper:wse(),codeblockHighlighter:Eie({slot:"highlighter"}),codeblockCode:"font-mono",markdownInput:wse("mr-1")},Sse=["Thinking","Looking for content","Analyzing"];function Tse(){const[e,t]=Z.useState(0);return Z.useEffect((()=>{const e=setInterval((()=>{t((t=>t+1<Sse.length?t+1:(clearInterval(e),t)))}),3500);return()=>clearInterval(e)}),[]),Gh.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:[Gh.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:Sse[e]}),Gh.jsx("div",{className:"flex space-x-1",children:[0,1,2].map((e=>Gh.jsx("span",{className:"animate-bounce-dot opacity-30",style:{animationDelay:.2*e+"s"},children:"."},e)))})]})}const Cse=()=>Array.from({length:3}).map(((e,t)=>{const n=t%2==0;return Gh.jsxs("div",{className:wse("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":xse(n),children:[Gh.jsx("div",{"data-even":xse(n),className:wse(Aie(),"h-12 w-12 rounded-full","data-[even]:mr-4 ml-4 data-[even]:ml-0")}),Gh.jsxs("div",{"data-even":xse(n),className:"flex flex-col gap-2 items-end data-[even]:items-start",children:[Gh.jsx("div",{"data-even":xse(n),className:wse(Aie(),"h-4 rounded-lg w-60")}),Gh.jsx("div",{"data-even":xse(n),className:wse(Aie(),"h-4 rounded-lg w-56")})]})]},t)})),Ase=e=>Gh.jsx(tP,{children:Gh.jsx(yP,{children:Gh.jsx(mD,{children:Gh.jsx(Lj,{...e})})})}),Nse=Z.forwardRef((({className:e,size:t,variant:n,...r},a)=>Gh.jsx(_4,{ref:a,className:wse(uie({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}))),Ise=({className:e,...t})=>Gh.jsx(T4,{className:wse("flex flex-col items-center justify-center h-full gap-12 flex-1 p-8",e),children:Gh.jsx(Cse,{}),...t}),Rse=({className:e,...t})=>Gh.jsx(A4,{className:wse(Tie({section:"wrapper"}),"rounded-[inherit] font-body",e),...t}),Ose=({className:e,...t})=>Gh.jsx(N4,{className:wse(Tie({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}),Pse=({className:e,...t})=>Gh.jsx(I4,{className:wse("flex items-center gap-2 w-full pl-6 pr-1","ikp-md:px-4 py-2 justify-between *:m-0",e),...t}),Lse=({className:e,...t})=>Gh.jsx(R4,{className:wse("flex items-center gap-1.5",e),...t}),Dse=({className:e,...t})=>Gh.jsx(P4,{className:wse("text-gray-600 dark:text-gray-dark-100 text-sm",e),...t}),Mse=({className:e,...t})=>Gh.jsx(L4,{className:wse(Tie({section:"content"}),"justify-end",e),...t}),Fse=({className:e,...t})=>Gh.jsx(D4,{className:wse("overflow-hidden",e),...t}),jse=Z.forwardRef((({className:e,...t},n)=>Gh.jsx(F4,{ref:n,className:wse("h-full w-full rounded-[inherit]",e),...t}))),Bse=({className:e,...t})=>Gh.jsx(j4,{className:wse("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}),zse=({className:e,...t})=>Gh.jsx(B4,{className:wse("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),Hse=z4,Use=({className:e,...t})=>Gh.jsx(G4,{className:wse("ml-auto text-sm flex items-center gap-1",e),...t}),$se=({className:e,...t})=>Gh.jsx(W4,{className:wse("text-gray-700 dark:text-gray-dark-100",e),...t}),Gse=({className:e,...t})=>Gh.jsx(Y4,{className:wse("cursor-pointer text-gray-700 dark:text-gray-dark-100","focus-visible:ring-gray-500 dark:focus-visible:ring-white-alpha-900 focus-visible:ring-2 focus:outline-none",e),...t}),Vse=({className:e,...t})=>Gh.jsx(X4,{className:wse(Sie({slot:"content"}),"px-4 py-2 font-normal","w-[250px] sm:w-[420px]",e),...t}),Wse=Z4,qse=({className:e,...t})=>Gh.jsx(J4,{className:wse(Sie({slot:"arrow"}),e),...t}),Yse=({className:e,...t})=>Gh.jsx(t6,{className:wse("mt-4 flex flex-col gap-2",e),...t}),Kse=({className:e,...t})=>Gh.jsx(r6,{className:wse("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),Xse=({className:e,...t})=>Gh.jsx(o6,{className:wse("flex flex-col","ikp-md:flex-row","flex-wrap gap-2",e),...t}),Qse=Z.forwardRef((({className:e,style:t,...n},r)=>{const a=Z.useRef(null),o=SB(r,a),{width:i=0,height:s=0}=nie({ref:a,box:"border-box"}),l=Math.max(s,i);return Gh.jsx(s6,{ref:o,style:{"--before-size":`${l+100}px`,...t},className:wse("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})})),Zse=({className:e,...t})=>Gh.jsx(c6,{className:wse(die({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}),Jse=({className:e,...t})=>Gh.jsx(U4,{className:wse("flex flex-col w-full min-w-0 min-h-0 text-2sm relative",e),...t}),ele=cie(["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"]),tle=({className:e,...t})=>Gh.jsx(h6,{className:wse(ele(),e),...t}),nle=({className:e,...t})=>Gh.jsx(f6,{className:wse(ele(),e),...t}),rle=({className:e,...t})=>Gh.jsx(g6,{className:wse("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}),ale=({className:e,...t})=>Gh.jsx(b6,{className:wse("flex items-center gap-3 h-12 w-full",e),children:Gh.jsx(Tse,{}),...t}),ole=({className:e,...t})=>Gh.jsx(k6,{className:wse("flex items-center justify-center rounded-full","h-auto ikp-md:h-12",e),...t}),ile=({className:e,...t})=>Gh.jsx(x6,{className:wse("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}),sle=({className:e,...t})=>Gh.jsx(_6,{className:wse("hidden data-[role=user]:block",e),...t}),lle=({className:e,...t})=>Gh.jsx(T6,{className:wse("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}),cle=({className:e,...t})=>Gh.jsx(A6,{className:wse("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}),ule=({className:e,...t})=>Gh.jsx(I6,{className:wse("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}),dle=({className:e,...t})=>Gh.jsx(O6,{className:wse("text-2sm flex-wrap break-words min-w-0 shrink-1 max-w-full",e),...t}),ple=e=>{var t,n;const{message:r}=eB(),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)?Gh.jsx(Xj,{children:Gh.jsx(P6,{...e})}):null},hle=({className:e,...t})=>Gh.jsx(D6,{className:wse("flex flex-wrap gap-2",e),...t}),fle=({className:e,...t})=>Gh.jsx(F6,{className:wse(die({variant:"ghost"}),pie({slot:"root"}),"font-normal px-2",e),...t}),mle=({className:e,...t})=>Gh.jsx(B6,{className:wse(pie({slot:"icon"}),e),...t}),gle=({className:e,...t})=>Gh.jsx(H6,{className:wse(pie({slot:"title"}),e),...t}),yle=e=>{const{onOpenChange:t,...n}=e,{selectItem:r,isOpen:a,onClose:o,selectedItem:i}=Qj();return Gh.jsx(U6,{open:a&&null!==i,onOpenChange:a4(t,(e=>{e||(o(),r(null))})),...n})},ble=({className:e,...t})=>Gh.jsx($6,{className:wse(_ie({slot:"overlay"}),e),...t}),vle=({className:e,...t})=>Gh.jsx(G6,{className:wse(_ie({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),kle=({className:e,...t})=>Gh.jsx(W6,{className:wse(_ie({slot:"header"}),"px-0 pt-0 pb-8 flex flex-col gap-6","font-semibold",e),...t}),wle=({className:e,...t})=>Gh.jsx(q6,{className:wse(_ie({slot:"close"}),e),...t}),xle=({className:e,...t})=>Gh.jsx(K6,{className:wse(_ie({slot:"body"}),"p-0",e),...t}),Ele=({className:e,componentStyles:t,...n})=>Gh.jsx(Q6,{className:wse("data-[role=user]:whitespace-pre-wrap mb-3 max-w-full",e),componentStyles:u(_se,t??{}),...n}),_le=({className:e,...t})=>Gh.jsx(J6,{className:wse("flex items-center mt-2 mb-3",e),...t}),Sle=({className:e,...t})=>Gh.jsx(t8,{className:wse("mr-auto flex items-center gap-2",e),...t}),Tle=({className:e,...t})=>Gh.jsx(n8,{className:wse(die({size:"xs",variant:"outline"}),"text-xs h-[30px] text-gray-700 dark:text-gray-200 gap-1",e),...t}),Cle=({className:e,...t})=>Gh.jsx(a8,{className:wse(die({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}),Ale=e=>{var t;const{message:n}=eB();return"assistant"===n.role&&(null==(t=n.links)?void 0:t.length)?Gh.jsx(o8,{...e}):null},Nle=({className:e,...t})=>Gh.jsx(s8,{className:wse("block text-xs font-medium my-2 text-gray-700 dark:text-gray-dark-300",e),...t}),Ile=({className:e,...t})=>Gh.jsx(c8,{className:wse("w-full relative flex flex-col gap-3 py-[1px]",e),...t}),Rle=({className:e,...t})=>Gh.jsx(d8,{className:wse(fie({slot:"root"}),e),...t}),Ole=({className:e,...t})=>Gh.jsx(h8,{className:wse(fie({slot:"breadcrumbs"}),e),...t}),Ple=({className:e,...t})=>Gh.jsx(f8,{className:wse(fie({slot:"breadcrumbsIcon"}),e),...t}),Lle=({className:e,...t})=>Gh.jsx(g8,{className:wse(fie({slot:"icon"}),e),...t}),Dle=({className:e,...t})=>Gh.jsx(b8,{className:wse(fie({slot:"title"}),e),...t}),Mle=({className:e,...t})=>Gh.jsx(k8,{className:wse(fie({slot:"tag"}),e),...t}),Fle=({className:e,...t})=>Gh.jsx(x8,{className:wse(fie({slot:"description"}),e),...t}),jle=({className:e,...t})=>Gh.jsx(_8,{className:wse(fie({slot:"descriptionPart"}),e),...t}),Ble=({className:e,...t})=>Gh.jsx(T8,{className:wse(fie({slot:"indicator"}),e),...t}),zle=({className:e,...t})=>Gh.jsx(C8,{className:wse("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}),Hle=({className:e,...t})=>Gh.jsx(A8,{className:wse("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}),Ule=({className:e,...t})=>Gh.jsx(N8,{className:wse("flex",e),...t}),$le=Z.forwardRef((({className:e,...t},n)=>Gh.jsx(R8,{ref:n,className:wse("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}))),Gle=({className:e,...t})=>Gh.jsx(P8,{className:wse(die({}),"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}),Vle=({className:e,...t})=>Gh.jsx(L8,{className:wse(mie(),"text-inherit rotate-[-30deg]",e),...t}),Wle=({className:e,...t})=>Gh.jsx(M8,{className:wse("flex items-center justify-between","flex-wrap gap-2 px-1 pt-2 pb-1",e),...t}),qle=({className:e,...t})=>Gh.jsx(j8,{className:wse("flex items-center gap-2 flex-wrap px-3 min-w-0",e),...t}),Yle=({className:e,...t})=>Gh.jsx(z8,{className:wse(pie({slot:"root"}),e),...t}),Kle=({className:e,...t})=>Gh.jsx(U8,{className:wse(pie({slot:"icon"}),e),...t}),Xle=({className:e,...t})=>Gh.jsx(G8,{className:wse(pie({slot:"title"}),e),...t}),Qle=({className:e,...t})=>Gh.jsx(W8,{className:wse(pie({slot:"delete"}),e),...t}),Zle=({className:e,...t})=>Gh.jsx(q8,{className:wse("flex items-center justify-between","gap-2 flex-wrap px-3",e),...t}),Jle=Y8,ece=({className:e,...t})=>Gh.jsx(K8,{className:wse("cursor-pointer text-sm text-gray-600","dark:text-white-alpha-600",e),...t}),tce=({className:e,...t})=>Gh.jsx(Q8,{className:wse("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}),nce=({className:e,...t})=>Gh.jsx(J8,{className:wse("contents",e),...t}),rce=({className:e,...t})=>Gh.jsx(t9,{className:wse(die({variant:"outline",size:"xs"}),"light:text-gray-700 gap-1",e),...t}),ace=n9,oce=e=>{const{onOpenChange:t,...n}=e,{selectInput:r,isOpen:a,onClose:o,selectedInput:i}=jj();return Gh.jsx(r9,{open:a&&null!==i,onOpenChange:a4(t,(e=>{e||(o(),r(null))})),...n})},ice=({className:e,...t})=>Gh.jsx(a9,{className:wse(_ie({slot:"overlay"}),e),...t}),sce=({className:e,...t})=>Gh.jsx(o9,{className:wse(_ie({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),lce=({className:e,...t})=>Gh.jsx(i9,{className:wse(_ie({slot:"header"}),"px-0 pt-0 pb-8 gap-y-2","font-semibold",e),...t}),cce=({className:e,...t})=>Gh.jsx(l9,{className:wse("w-full semibold",e),...t}),uce=({className:e,...t})=>Gh.jsx(u9,{className:wse("text-gray-700 dark:text-white-alpha-700","text-sm font-normal w-full",e),...t}),dce=e=>{var t;const{children:n,...r}=e,{selectedInput:a}=jj(),o=null==(t=null==a?void 0:a.workflowModalProps)?void 0:t.modalHelpElement;return o?Gh.jsx(d9,{asChild:!n,children:n||o,...r}):null},pce=({className:e,...t})=>Gh.jsx(p9,{className:wse(_ie({slot:"close"}),e),...t}),hce=({className:e,...t})=>Gh.jsx(h9,{className:wse(_ie({slot:"body"}),"p-0",e),...t}),fce=({className:e,...t})=>Gh.jsx(m9,{className:wse("flex flex-col gap-8",e),...t}),mce=({className:e,...t})=>Gh.jsx(g9,{className:wse("flex flex-col gap-2",e),...t}),gce=({className:e,...t})=>Gh.jsx(b9,{className:wse("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),yce=({className:e,...t})=>Gh.jsx(k9,{className:wse("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}),bce=({className:e,...t})=>Gh.jsx(x9,{className:wse("text-sm text-red-500",e),...t}),vce=({className:e,...t})=>Gh.jsx(E9,{className:wse("flex flex-col gap-2",e),...t}),kce=({className:e,...t})=>Gh.jsx(S9,{className:wse("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),wce=({className:e,...t})=>Gh.jsx(C9,{className:wse(gie({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),xce=({className:e,...t})=>Gh.jsx(N9,{className:wse("text-sm text-red-500",e),...t}),Ece=({className:e,...t})=>Gh.jsx(I9,{className:wse(die({preset:"neutralFilled"}),"ml-auto",e),...t}),_ce=({className:e,...t})=>Gh.jsx(R9,{className:wse("mt-4 flex items-start justify-between flex-wrap-reverse gap-2.5",e),...t}),Sce=({className:e,...t})=>Gh.jsx(O9,{className:wse("flex items-center gap-2.5 flex-wrap",e),...t}),Tce=({className:e,...t})=>Gh.jsx(P9,{className:wse("flex items-center whitespace-nowrap",e),...t}),Cce=({className:e,...t})=>Gh.jsx(L9,{className:wse("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),Ace=({className:e,...t})=>Gh.jsx(D9,{className:wse("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),Nce=({className:e,...t})=>Gh.jsx(M9,{className:wse(yie(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t}),Ice=wse(die({size:"xs",variant:"outline"}),"text-gray-700 dark:text-white-alpha-700"),Rce=({className:e,...t})=>Gh.jsx(j9,{className:wse(Ice,e),...t}),Oce=({className:e,...t})=>Gh.jsx(z9,{className:wse("cursor-pointer",e),...t}),Pce=({className:e,...t})=>Gh.jsx(U9,{className:wse("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}),Lce=e=>{const{children:t,...n}=e,{aiChatSettings:r}=ZO(),{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]=Z.useState(!1);return{open:e,setOpen:t}}();return Gh.jsx(Wj,{value:c,children:Gh.jsx($9,{open:c.open,onOpenChange:c.setOpen,children:LP(t,{pinned:s,unpinned:l}),...n})})},Dce=({className:e,...t})=>Gh.jsx(W9,{className:wse(Ice,e),...t}),Mce=({className:e,...t})=>Gh.jsx(Y9,{className:wse(Ice,e),...t}),Fce=({className:e,...t})=>Gh.jsx(X9,{className:wse(Sie({slot:"content"}),"gap-3 px-3 py-4 ","w-[254px] text-sm font-normal",e),...t}),jce=({className:e,...t})=>Gh.jsx(Q9,{className:wse(Sie({slot:"arrow"}),e),...t}),Bce=({className:e,...t})=>Gh.jsx(Z9,{className:wse("flex items-center cursor-pointer hover:underline",e),...t}),zce=({className:e,...t})=>Gh.jsx(e7,{className:wse("mr-2 text-inkeep-primary-medium",e),...t}),Hce=e=>{const{onOpenChange:t,...n}=e,{currentFeedback:r,setCurrentFeedback:a}=ID();return Gh.jsx(t7,{open:null!==r,onOpenChange:a4(t,(()=>a(null))),...n})},Uce=({className:e,...t})=>Gh.jsx(n7,{className:wse(_ie({slot:"overlay"}),e),...t}),$ce=({className:e,...t})=>Gh.jsx(r7,{className:wse(_ie({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-[480px]",e),...t}),Gce=({className:e,...t})=>Gh.jsx(a7,{className:wse(_ie({slot:"header"}),"px-0 pt-0 pb-8","font-semibold",e),...t}),Vce=({className:e,...t})=>Gh.jsx(o7,{className:wse(_ie({slot:"close"}),e),...t}),Wce=({className:e,...t})=>Gh.jsx(i7,{className:wse(_ie({slot:"body"}),"p-0",e),...t}),qce=({className:e,...t})=>Gh.jsx(l7,{className:wse("flex flex-col gap-8",e),...t}),Yce=({className:e,...t})=>Gh.jsx(u7,{className:wse("flex flex-wrap items-center","gap-[1rem_0.5rem]",e),...t}),Kce=({className:e,...t})=>Gh.jsx(p7,{className:wse(hie({slot:"root"}),e),...t}),Xce=({className:e,...t})=>Gh.jsx(h7,{className:wse(hie({slot:"indicator"}),e),...t}),Qce=({className:e,...t})=>Gh.jsx(m7,{className:wse("select-none cursor-pointer font-medium text-sm","text-gray-700 dark:text-white-alpha-700",e),...t}),Zce=({className:e,...t})=>Gh.jsx(y7,{className:wse("flex-[0_0_100%]","min-h-20 py-2 border rounded-md","px-4",e),...t}),Jce=({className:e,...t})=>Gh.jsx(b7,{className:wse(die({preset:"neutralFilled"}),"ml-auto",e),...t}),eue=({className:e,...t})=>Gh.jsx(k7,{className:wse("w-full overflow-y-auto",e),...t}),tue=({className:e,...t})=>Gh.jsx(x7,{className:wse(Tie({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}),nue=({className:e,...t})=>Gh.jsx(_7,{className:wse(die({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}),rue=({className:e,...t})=>Gh.jsx(S7,{className:wse("mt-12 flex flex-col gap-6",e),...t}),aue=({className:e,...t})=>Gh.jsx(C7,{className:wse("font-semibold text-xl leading-5",e),...t}),oue=({className:e,...t})=>Gh.jsx(N7,{className:wse("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),iue=({className:e,...t})=>Gh.jsx(R7,{className:wse("w-full",e),...t}),sue=({className:e,...t})=>Gh.jsx(P7,{className:wse("mb-8 flex flex-col gap-2 data-[hidden]:hidden","data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:items-center",e),...t}),lue=({className:e,...t})=>Gh.jsx(D7,{className:wse("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}),cue=({className:e,...t})=>Gh.jsx(F7,{className:wse(gie({size:"md",variant:"outline"}),e),...t}),uue=({className:e,...t})=>Gh.jsx(j7,{className:wse(gie({size:"md",variant:"outline"}),e),...t}),due=({className:e,...t})=>Gh.jsx(z7,{className:wse(gie({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}),pue=({className:e,...t})=>Gh.jsx(H7,{className:wse(gie({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),hue=({className:e,...t})=>Gh.jsx($7,{className:wse(hie({slot:"root"}),e),...t}),fue=({className:e,...t})=>Gh.jsx(G7,{className:wse(hie({slot:"indicator"}),e),...t}),mue=e=>{const{field:t,error:n,fieldProps:r}=Gj(),{onValueChange:a,...o}=e;return Gh.jsx(V7,{name:t.name,"data-invalid":OP(!!n),value:r.value,onValueChange:a4(a,r.onChange),...o})},gue=({className:e,...t})=>Gh.jsx(W7,{className:wse(Cie({slot:"trigger"}),e),...t}),yue=e=>{const{field:t}=Gj();return Gh.jsx(q7,{placeholder:"placeholder"in t?t.placeholder:void 0,...e})},bue=({className:e,...t})=>Gh.jsx(Y7,{className:wse("h-4 w-4 opacity-45",e),...t}),vue=({className:e,...t})=>Gh.jsx(K7,{className:wse(Cie({slot:"content"}),e),...t}),kue=({className:e,...t})=>Gh.jsx(X7,{className:wse(Cie({slot:"viewport"}),e),...t}),wue=({className:e,...t})=>Gh.jsx(Q7,{className:wse(Cie({slot:"item"}),e),...t}),xue=Z7,Eue=({className:e,...t})=>Gh.jsx(J7,{className:wse(Cie({slot:"itemIndicator"}),e),...t}),_ue=({className:e,...t})=>Gh.jsx(tee,{className:wse("text-sm flex items-center text-red-500 dark:text-red-300",e),...t}),Sue=({className:e,...t})=>Gh.jsx(ree,{className:wse("text-red-500 dark:text-red-300",e),...t}),Tue=({className:e,...t})=>Gh.jsx(aee,{className:wse("flex items-center justify-end gap-6 w-full",e),...t}),Cue=({className:e,...t})=>Gh.jsx(iee,{className:wse(die({variant:"outline"}),e),...t}),Aue=({className:e,...t})=>Gh.jsx(lee,{className:wse(die({preset:"neutralFilled"}),e),...t}),Nue=({className:e,...t})=>Gh.jsx(uee,{className:wse("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}),Iue=({className:e,...t})=>Gh.jsx(pee,{className:wse("mb-6 font-bold tracking-tight","text-3xl md:text-4xl leading-6 md:leading-5",e),...t}),Rue=e=>{const{form:t}=gD();return Gh.jsx(hee,{children:null==t?void 0:t.successView.message,...e})},Oue=({className:e,...t})=>Gh.jsx(mee,{className:wse(die({preset:"neutralFilled"}),"w-full mt-12 gap-2 shrink-0",e),...t});function Pue(){const{searchSettings:{tabs:e}}=ZO();return Gh.jsxs("div",{className:"flex flex-col h-full",children:[Gh.jsxs("div",{className:wse("h-[calc(100%-24px)]"),children:[Gh.jsx("div",{className:"flex px-5 py-1 gap-3 data-[hidden]:hidden","data-hidden":xse(0===e.length),children:Array.from({length:2}).map(((e,t)=>Gh.jsx("div",{className:wse(Aie(),"h-[27.88px] w-16 rounded-full")},t)))}),Gh.jsxs("div",{className:"flex px-5 py-1 gap-5 h-full",children:[Gh.jsx("div",{className:"flex flex-col flex-1 [[data-view=dual-pane]_&]:flex-[0_0_40%]",children:Array.from({length:4}).map(((e,t)=>Gh.jsx("div",{className:"flex items-center pb-2.5 w-full",children:Gh.jsx("div",{className:wse(Aie(),"h-20 rounded-lg grow-[1]")})},t)))}),Gh.jsx("div",{className:wse(Aie(),"h-full w-full rounded-md","hidden [[data-view=dual-pane]_&]:block")})]})]}),Gh.jsx("div",{className:"flex pt-1 pb-3 px-5 justify-self-end",children:Gh.jsx("div",{className:wse(Aie(),"h-[24px] w-40 rounded-md")})})]})}const Lue=e=>Gh.jsx(Ste,{...e}),Due=({className:e,...t})=>Gh.jsx(hne,{className:wse("data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950",e),...t}),Mue=({className:e,...t})=>Gh.jsx(mne,{className:wse("data-[hidden]:hidden flex flex-col w-full","[--footer-height:theme(spacing.9)]","data-[mobile]:[--input-height:theme(spacing.16)]","[--ask-ai-trigger-height:0px]","[[data-show-ask-ai-card]_&]:[--ask-ai-trigger-height:theme(spacing.11)]",e),...t}),Fue=yne,jue=({className:e,...t})=>Gh.jsx(bne,{className:wse("flex items-center w-full px-5 pt-3 pb-3 gap-3","[[data-show-ask-ai-card]_&]:pb-1","[[data-mobile]_&]:max-h-[var(--input-height)]",e),...t}),Bue=({className:e,...t})=>Gh.jsx(vne,{className:wse("min-w-5 w-5 text-xl","text-gray-500 dark:text-white-alpha-600",e),...t}),zue=({className:e,...t})=>Gh.jsx(wne,{className:wse("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}),Hue=({className:e,...t})=>Gh.jsx(Ene,{className:wse("animate-spin text-gray-400 dark:text-white-alpha-500",e),...t}),Uue=({className:e,...t})=>Gh.jsx(Sne,{className:wse(fie({slot:"root"}),"m-auto w-[calc(100%_-_theme(spacing.5))]","border-transparent dark:border-transparent","mb-3 py-0 h-11 cursor-pointer","h-[var(--ask-ai-trigger-height)]",e),...t}),$ue=({className:e,...t})=>Gh.jsx(Cne,{className:wse("[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}),Gue=({className:e,...t})=>Gh.jsx(Ane,{className:wse(fie({slot:"title"}),"font-normal",e),...t}),Vue=({className:e,...t})=>Gh.jsx(Nne,{className:wse(fie({slot:"indicator"}),e),...t}),Wue=({className:e,...t})=>Gh.jsx(Rne,{className:wse(Tie({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))]","[[data-mobile]_&]:h-[calc(100vh-var(--input-height)-var(--footer-height)-var(--ask-ai-trigger-height))]","transition-all duration-300 ease-in-out data-[has-content]:pb-2",e),...t}),que=({className:e,...t})=>Gh.jsx(Pne,{className:wse("group mb-1 relative transition-all w-full h-full",e),children:Gh.jsx(Pue,{}),...t}),Yue=({className:e,...t})=>Gh.jsx(Dne,{className:wse("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}),Kue=({className:e,...t})=>Gh.jsx(Fne,{className:wse("shrink-0 max-w-full","flex gap-3 px-5 py-1","overflow-x-auto [scrollbar-width:thin]",e),...t}),Xue=({className:e,...t})=>Gh.jsx(Bne,{className:wse("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}),Que=({className:e,...t})=>Gh.jsx(zne,{className:wse("flex overflow-hidden h-full",e),...t}),Zue=({className:e,...t})=>Gh.jsx(Une,{className:wse("overflow-hidden h-full first:w-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}),Jue=({className:e,...t})=>Gh.jsx(Gne,{className:wse("h-full w-full rounded-[inherit]",e),...t}),ede=({className:e,...t})=>Gh.jsx(Vne,{className:wse("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}),tde=({className:e,...t})=>Gh.jsx(Wne,{className:wse("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),nde=qne,rde=({className:e,...t})=>Gh.jsx(Kne,{className:wse("w-full flex flex-col","items-center gap-2.5 h-full shrink-0","px-5 py-1 content-center -my-[1px]",e),...t}),ade=({className:e,...t})=>Gh.jsx(Qne,{className:wse(fie({slot:"root"}),e),...t}),ode=({className:e,...t})=>Gh.jsx(Jne,{className:wse(fie({slot:"breadcrumbs"}),e),...t}),ide=({className:e,...t})=>Gh.jsx(ere,{className:wse(fie({slot:"breadcrumbsIcon"}),e),...t}),sde=({className:e,...t})=>Gh.jsx(nre,{className:wse(fie({slot:"icon"}),e),...t}),lde=({className:e,...t})=>Gh.jsx(are,{className:wse(fie({slot:"title"}),e),...t}),cde=({className:e,...t})=>Gh.jsx(ire,{className:wse(fie({slot:"tag"}),e),...t}),ude=({className:e,...t})=>Gh.jsx(lre,{className:wse(fie({slot:"description"}),e),...t}),dde=({className:e,...t})=>Gh.jsx(ure,{className:wse(fie({slot:"descriptionPart"}),e),...t}),pde=({className:e,...t})=>Gh.jsx(pre,{className:wse(fie({slot:"indicator"}),e),...t}),hde=({className:e,...t})=>Gh.jsx(fre,{className:wse("flex-1 min-w-0 break-words py-4 pr-12 pl-8","hidden md:flex flex-col gap-6",e),...t}),fde=({className:e,...t})=>Gh.jsx(mre,{className:wse("flex flex-col gap-5",e),...t}),mde=({className:e,...t})=>Gh.jsx(yre,{className:wse("inline-block",e),...t}),gde=({className:e,...t})=>Gh.jsx(vre,{className:wse("text-3xl leading-snug tracking-tight","font-semibold hover:text-inkeep-primary-stronger","dark:hover:text-inkeep-expanded-primary-100",e),...t}),yde=({className:e,...t})=>Gh.jsx(wre,{className:wse("inline-block ml-2 mb-2 tracking-tight text-gray-500 dark:text-white-alpha-500",e),...t}),bde=({className:e,...t})=>Gh.jsx(xre,{className:wse(fie({slot:"breadcrumbs"}),"!line-clamp-none whitespace-normal text-gray-500 dark:text-gray-dark-200 text-sm",e),...t}),vde=({className:e,...t})=>Gh.jsx(Ere,{className:wse(fie({slot:"breadcrumbsIcon"}),e),...t}),kde=({className:e,componentStyles:t,...n})=>Gh.jsx(Sre,{className:wse("max-w-full text-gray-700 dark:text-gray-dark-100 [&_em]:font-bold [&_em]:not-italic",e),componentStyles:u(_se,t??{}),...n}),wde=({className:e,...t})=>Gh.jsx(Cre,{className:wse("flex flex-col gap-3",e),...t}),xde=({className:e,...t})=>Gh.jsx(Are,{className:wse("text-xs uppercase font-semibold tracking-widest","text-gray-500 dark:text-white-alpha-500",e),...t}),Ede=({className:e,...t})=>Gh.jsx(Ire,{className:wse("flex flex-col gap-4",e),...t}),_de=({className:e,...t})=>Gh.jsx(Ore,{className:wse("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}),Sde=({className:e,...t})=>Gh.jsx(Pre,{className:wse(e),...t}),Tde=({className:e,...t})=>Gh.jsx(Dre,{className:wse(e),...t}),Cde=({className:e,...t})=>Gh.jsx(Mre,{className:wse("h-3 !min-h-0 !min-w-0",e),...t}),Ade=({className:e,...t})=>Gh.jsx(jre,{className:wse("justify-self-end","px-5 pt-1 pb-3","[[data-mobile]_&]:py-0","[[data-mobile]_&]:items-center","[[data-mobile]_&]:h-[var(--footer-height)]","hidden data-[has-results]:flex",e),...t}),Nde=({className:e,...t})=>Gh.jsx(Bre,{className:wse("flex items-center whitespace-nowrap",e),...t}),Ide=({className:e,...t})=>Gh.jsx(zre,{className:wse("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),Rde=({className:e,...t})=>Gh.jsx(Hre,{className:wse("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),Ode=({className:e,...t})=>Gh.jsx(Ure,{className:wse(yie(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t}),Pde=e=>{const{onOpenChange:t,config:n,...r}=e,a=(e=>{const{isOpen:t,onOpenChange:n,shortcutKey:r}=e??{},[a=!1,o]=tj({prop:t,defaultProp:t,onChange:n});return Z.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 Gh.jsx(uD,{modal:a,children:Gh.jsx($re,{open:a.isOpen,onOpenChange:a4(t,(e=>a.setOpen(e))),...r})})},Lde=({className:e,...t})=>Gh.jsx(Gre,{className:wse(_ie({slot:"overlay"}),e),...t}),Dde=({className:e,...t})=>Gh.jsx(Wre,{className:wse(_ie({slot:"content"}),"w-[min(90vw,720px)]","has-[[data-dual-pane-search-expanded]]:w-[min(90vw,1000px)] transition-width duration-300",e),...t}),Mde=({className:e,...t})=>Gh.jsx(Yre,{className:wse(_ie({slot:"close"}),die({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}),Fde=({className:e,...t})=>Gh.jsx(Moe,{className:wse("fixed right-6 bottom-6 mr-[var(--removed-body-scroll-bar-size)]",e),...t}),jde=({className:e,...t})=>Gh.jsx(Foe,{className:wse("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}),Bde=({className:e,...t})=>Gh.jsx(joe,{className:wse("flex items-center",e),...t}),zde=({className:e,...t})=>Gh.jsx(Hoe,{className:wse("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}),Hde=({className:e,...t})=>Gh.jsx(Boe,{className:wse("",e),...t}),Ude=({className:e,...t})=>Gh.jsx(Uoe,{className:wse("md:min-w-[min(320px,100%)] w-full h-full min-h-9",e),...t}),$de=({className:e,...t})=>Gh.jsx($oe,{className:wse("rounded-md border px-3 min-w-0 min-h-9 flex items-center justify-between gap-2 h-full w-full hover:border-gray-300 dark:hover:border-white-alpha-300 transition-colors",e),...t}),Gde=({className:e,...t})=>Gh.jsx(Goe,{className:wse("flex items-center gap-2 min-w-0",e),...t}),Vde=({className:e,...t})=>Gh.jsx(Woe,{className:wse("text-md text-gray-500 dark:text-white-alpha-600",e),...t}),Wde=({className:e,...t})=>Gh.jsx(qoe,{className:wse("text-gray-500 dark:text-white-alpha-600 text-xl",e),...t}),qde=({className:e,...t})=>Gh.jsx(Yoe,{className:wse("text-sm text-gray-400 dark:text-white-alpha-500 font-bold flex items-center gap-0.5",e),...t}),Yde=({className:e,...t})=>Gh.jsx(eie,{className:wse("",e),...t}),Kde=({className:e,...t})=>Gh.jsx(Xoe,{className:wse("",e),...t}),Xde=e=>Gh.jsx(nae,{...e}),Qde=({className:e,...t})=>Gh.jsx(lae,{className:wse("max-w-full border divide-y","rounded-xl shadow h-full max-h-full","bg-white dark:bg-gray-dark-950","flex flex-col",e),...t}),Zde=({className:e,...t})=>Gh.jsx(cae,{className:wse("px-5 py-4 font-medium shrink-0",e),...t}),Jde=({className:e,...t})=>Gh.jsx(uae,{className:wse("flex-1 overflow-hidden",e),...t}),epe=({className:e,...t})=>Gh.jsx(dae,{className:wse("h-full",e),...t}),tpe=({className:e,...t})=>Gh.jsx(hae,{className:wse("h-full w-full rounded-[inherit] px-5","[&_[data-part=grid]]:px-1","[&_[data-part=grid]]:divide-y",e),...t}),npe=({className:e,...t})=>Gh.jsx(fae,{className:wse("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}),rpe=({className:e,...t})=>Gh.jsx(mae,{className:wse("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),ape=gae,ope=({className:e,...t})=>Gh.jsx(bae,{className:wse("flex flex-col items-center","justify-center mx-1 pt-12 pb-6",e),...t}),ipe=({className:e,...t})=>Gh.jsx(kae,{className:wse("w-6 h-6 text-green-500 mb-5",e),...t}),spe=({className:e,...t})=>Gh.jsx(xae,{className:wse("text-xl font-semibold","mb-3 tracking-tight",e),...t}),lpe=({className:e,...t})=>Gh.jsx(_ae,{className:wse("text-gray-800 dark:text-white-alpha-950",e),...t}),cpe=({className:e,...t})=>Gh.jsx(Sae,{className:wse("w-full flex flex-col py-6",e),...t}),upe=({className:e,...t})=>Gh.jsx(Aae,{className:wse("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),dpe=({className:e,...t})=>Gh.jsx(Nae,{className:wse("w-full gap-8",e),...t}),ppe=({className:e,...t})=>Gh.jsx(Rae,{className:wse(die({preset:"neutralFilled",size:"sm"}),"ml-auto data-[loading]:cursor-wait","data-[submitted]:hidden",e),...t}),hpe=({className:e,...t})=>Gh.jsx(Pae,{className:wse("mb-8 flex flex-col gap-2 data-[hidden]:hidden","data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:items-center",e),...t}),fpe=({className:e,...t})=>Gh.jsx(Dae,{className:wse("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}),mpe=({className:e,...t})=>Gh.jsx(Fae,{className:wse(gie({size:"sm",variant:"outline"}),e),...t}),gpe=({className:e,...t})=>Gh.jsx(jae,{className:wse(gie({size:"sm",variant:"outline"}),e),...t}),ype=({className:e,...t})=>Gh.jsx(zae,{className:wse(gie({size:"sm",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}),bpe=({className:e,...t})=>Gh.jsx(Hae,{className:wse(gie({size:"sm",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),vpe=({className:e,...t})=>Gh.jsx($ae,{className:wse(hie({slot:"root"}),e),...t}),kpe=({className:e,...t})=>Gh.jsx(Gae,{className:wse(hie({slot:"indicator"}),e),...t}),wpe=e=>{const{field:t,error:n,fieldProps:r}=iae(),{onValueChange:a,...o}=e;return Gh.jsx(Vae,{name:t.name,"data-invalid":OP(!!n),value:r.value,onValueChange:a4(a,r.onChange),...o})},xpe=({className:e,...t})=>Gh.jsx(Wae,{className:wse(Cie({slot:"trigger"}),"text-sm",e),...t}),Epe=e=>{const{field:t}=iae();return Gh.jsx(qae,{placeholder:"placeholder"in t?t.placeholder:void 0,...e})},_pe=({className:e,...t})=>Gh.jsx(Yae,{className:wse("h-4 w-4 opacity-45",e),...t}),Spe=({className:e,...t})=>Gh.jsx(Kae,{className:wse(Cie({slot:"content"}),e),...t}),Tpe=({className:e,...t})=>Gh.jsx(Xae,{className:wse(Cie({slot:"viewport"}),e),...t}),Cpe=({className:e,...t})=>Gh.jsx(Qae,{className:wse(Cie({slot:"item"}),"text-sm",e),...t}),Ape=Zae,Npe=({className:e,...t})=>Gh.jsx(Jae,{className:wse(Cie({slot:"itemIndicator"}),e),...t}),Ipe=({className:e,...t})=>Gh.jsx(toe,{className:wse("text-sm flex items-center text-red-500 dark:text-red-300",e),...t}),Rpe=({className:e,...t})=>Gh.jsx(noe,{className:wse("flex items-center gap-2",e),...t}),Ope=({className:e,...t})=>Gh.jsx(roe,{className:wse("border bg-gradient-to-t","from-gray-100 dark:from-gray-dark-600 p-1 rounded-md","w-6 h-6 text-gray-600 dark:text-white-alpha-700",e),...t}),Ppe=({className:e,...t})=>Gh.jsx(ooe,{className:wse("text-gray-800 dark:text-white-alpha-950 text-sm font-semibold",e),...t}),Lpe=({className:e,...t})=>Gh.jsx(soe,{className:wse("py-6 flex flex-wrap","gap-x-3 gap-y-6","[&>:first-child]:basis-full text-sm",e),...t}),Dpe=({className:e,...t})=>Gh.jsx(coe,{className:wse("w-full flex flex-col py-6 gap-6 min-w-0 text-sm",e),...t}),Mpe=({className:e,componentStyles:t,...n})=>Gh.jsx(doe,{className:wse("max-w-full ",e),componentStyles:u(_se,t??{}),...n}),Fpe=({className:e,...t})=>Gh.jsx(hoe,{className:wse(die({preset:"neutralFilled",size:"sm"}),"ml-auto gap-2 data-[escalated]:hidden",e),...t}),jpe=({className:e,...t})=>Gh.jsx(foe,{className:wse("",e),...t}),Bpe=moe,zpe=({className:e,...t})=>Gh.jsx(yoe,{className:wse("w-full flex flex-col py-6 gap-6",e),...t}),Hpe=({className:e,...t})=>Gh.jsx(voe,{className:wse("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),Upe=({className:e,...t})=>Gh.jsx(woe,{className:wse("w-full gap-8",e),...t}),$pe=({className:e,...t})=>Gh.jsx(Eoe,{className:wse(die({preset:"neutralFilled",size:"sm"}),"ml-auto data-[loading]:cursor-wait","data-[submitted]:hidden",e),...t}),Gpe=({className:e,...t})=>Gh.jsx(Soe,{className:wse("text-red-500 dark:text-red-300",e),...t}),Vpe=({className:e,...t})=>Gh.jsx(Toe,{className:wse("w-full flex flex-col gap-6",e),...t}),Wpe=({className:e,...t})=>Gh.jsx(Coe,{className:wse("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),qpe=({className:e,...t})=>Gh.jsx(Noe,{className:wse("w-full flex flex-wrap gap-2 items-center",e),...t}),Ype=({className:e,...t})=>Gh.jsx(Roe,{className:wse(die({size:"xs",variant:"outline"}),"text-gray-600 dark:text-white-alpha-700 gap-1",e),...t}),Kpe=({className:e,...t})=>Gh.jsx(Poe,{className:wse("",e),...t}),Xpe=({className:e,...t})=>Gh.jsx(Doe,{className:wse("line-clamp-1",e),...t}),Qpe=e=>Gh.jsx(HO,{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\\(--ask-ai-trigger-height\\)\\] {\n height: var(--ask-ai-trigger-height);\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-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.\\[--ask-ai-trigger-height\\:0px\\] {\n --ask-ai-trigger-height: 0px;\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.\\[--footer-height\\:theme\\(spacing\\.9\\)\\] {\n --footer-height: 2.25rem;\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.first\\:w-full:first-child {\n width: 100%;\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-gray-500:focus-visible {\n --tw-ring-color: var(--ikp-color-gray-500);\n}\n\n.focus-visible\\:ring-offset-2:focus-visible {\n --tw-ring-offset-width: 2px;\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-\\[mobile\\]\\:\\[--input-height\\:theme\\(spacing\\.16\\)\\][data-mobile] {\n --input-height: 4rem;\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\\:focus-visible\\:ring-white-alpha-900:focus-visible:is([data-theme="dark"] *) {\n --tw-ring-color: var(--ikp-color-white-alpha-900);\n}\n\n.dark\\:focus-visible\\:ring-offset-gray-950:focus-visible:is([data-theme="dark"] *) {\n --tw-ring-offset-color: var(--ikp-color-gray-950);\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-mobile] .\\[\\[data-mobile\\]_\\&\\]\\:h-\\[calc\\(100vh-var\\(--input-height\\)-var\\(--footer-height\\)-var\\(--ask-ai-trigger-height\\)\\)\\] {\n height: calc(100vh - var(--input-height) - var(--footer-height) - var(--ask-ai-trigger-height));\n}\n\n[data-mobile] .\\[\\[data-mobile\\]_\\&\\]\\:h-\\[var\\(--footer-height\\)\\] {\n height: var(--footer-height);\n}\n\n[data-mobile] .\\[\\[data-mobile\\]_\\&\\]\\:max-h-\\[var\\(--input-height\\)\\] {\n max-height: var(--input-height);\n}\n\n[data-mobile] .\\[\\[data-mobile\\]_\\&\\]\\:items-center {\n align-items: center;\n}\n\n[data-mobile] .\\[\\[data-mobile\\]_\\&\\]\\:py-0 {\n padding-top: 0px;\n padding-bottom: 0px;\n}\n\n[data-show-ask-ai-card] .\\[\\[data-show-ask-ai-card\\]_\\&\\]\\:pb-1 {\n padding-bottom: 0.25rem;\n}\n\n[data-show-ask-ai-card] .\\[\\[data-show-ask-ai-card\\]_\\&\\]\\:\\[--ask-ai-trigger-height\\:theme\\(spacing\\.11\\)\\] {\n --ask-ai-trigger-height: 2.75rem;\n}\n\n[data-view=dual-pane] .\\[\\[data-view\\=dual-pane\\]_\\&\\]\\:block {\n display: block;\n}\n\n[data-view=dual-pane] .\\[\\[data-view\\=dual-pane\\]_\\&\\]\\:flex-\\[0_0_40\\%\\] {\n flex: 0 0 40%;\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}),Zpe=PB("div",{_id:"view_toggle"}),Jpe=PB("button",{_id:"view_toggle_button",className:Ese({slot:"button"})}),ehe=PB(CW,{_id:"view_toggle_icon"});function the(e){const{handleToggle:t}=nhe(e);return Gh.jsxs(Zpe,{className:Ese({slot:"root"}),children:[Gh.jsxs(Jpe,{onClick:()=>t("search"),"data-active":OP("search"===e.view),children:[Gh.jsx(ehe,{"data-active":OP("search"===e.view),iconKey:"switchToSearch",className:Ese({slot:"icon"})}),e.searchLabel||"Search"]}),Gh.jsxs(Jpe,{onClick:()=>t("chat"),"data-active":OP("chat"===e.view),children:[Gh.jsx(ehe,{"data-active":OP("chat"===e.view),iconKey:"switchToChat",className:Ese({slot:"icon"})}),e.askAILabel||"Ask AI"]})]})}function nhe(e){const{onToggleView:t,query:n}=e;return{handleToggle:(e,r)=>{null==t||t({view:e,query:n,autoSubmit:r})}}}function rhe(e){const{componentType:t,children:n,modalSettings:r,...a}=e;return Gh.jsx(oie,{children:Gh.jsx(Qpe,{children:Gh.jsx(vB,{config:{...a},componentType:t,children:Gh.jsx(Pde,{config:r,children:n})})})})}function ahe(e){return Gh.jsx(Lde,{children:Gh.jsx(Dde,{children:e.children})})}function ohe(e){const{children:t,onToggleView:n,isHidden:r,shouldAutoFocusInput:a=!n}=e;return Gh.jsx(Ase,{isHidden:r,shouldAutoFocusInput:a,children:t})}function ihe(e){return Gh.jsx(ohe,{...e,children:Gh.jsx(she,{...e})})}function she(e){const{onToggleView:t}=e,n=dD(),r=vD(),a=n&&!r?ahe:Z.Fragment;return Gh.jsx(a,{children:Gh.jsxs(Nse,{variant:t?"no-shadow":"container-with-shadow","data-composite":OP(!!e.onToggleView||(null==n?void 0:n.isOpen)),children:[Gh.jsx(Ise,{}),Gh.jsxs(Rse,{children:[Gh.jsx(lhe,{...e}),Gh.jsx(che,{}),Gh.jsx(ghe,{})]}),Gh.jsx(vhe,{}),Gh.jsx(khe,{})]})})}function lhe(e){const{onToggleView:t,askAILabel:n,searchLabel:r}=e,a=!!t;return Gh.jsxs(Ose,{"data-show-toolbar":OP(a),children:[a&&Gh.jsxs(Pse,{children:[Gh.jsxs(Lse,{children:[Gh.jsx(Dse,{}),Gh.jsxs(Use,{children:[Gh.jsx(Gse,{}),Gh.jsxs(Vse,{side:"bottom",align:"start",children:[Gh.jsx(Wse,{}),Gh.jsx(qse,{})]})]})]}),Gh.jsx(the,{onToggleView:t,askAILabel:n,searchLabel:r,view:"chat"})]}),Gh.jsx(Mde,{})]})}function che(){return Gh.jsx(Mse,{children:Gh.jsxs(Fse,{children:[Gh.jsx(jse,{children:Gh.jsx(uhe,{})}),Gh.jsx(Bse,{children:Gh.jsx(zse,{})}),Gh.jsx(Hse,{})]})})}function uhe(){return Gh.jsx(Jse,{children:({messages:e})=>Gh.jsxs(Gh.Fragment,{children:[Gh.jsx(dhe,{}),e.map((e=>Gh.jsxs(tle,{message:e,children:[Gh.jsx(phe,{}),Gh.jsx(ale,{}),Gh.jsxs(ule,{children:[Gh.jsx(dle,{children:Gh.jsx(Ele,{})}),Gh.jsx(hhe,{}),Gh.jsx(fhe,{}),Gh.jsx(mhe,{})]})]},e.id)))]})})}function dhe(){return Gh.jsxs(nle,{children:[Gh.jsxs(rle,{children:[Gh.jsx(ole,{children:Gh.jsxs(ile,{children:[Gh.jsx(sle,{}),Gh.jsx(lle,{})]})}),Gh.jsx(cle,{})]}),Gh.jsxs(ule,{children:[Gh.jsx(dle,{children:Gh.jsx(Ele,{})}),Gh.jsxs(Use,{children:[Gh.jsx($se,{}),Gh.jsx(Gse,{}),Gh.jsxs(Vse,{children:[Gh.jsx(Wse,{}),Gh.jsx(qse,{})]})]}),Gh.jsxs(Yse,{children:[Gh.jsx(Kse,{}),Gh.jsx(Xse,{children:e=>e.map((e=>Gh.jsx(Qse,{children:Gh.jsx(Zse,{question:e})},e)))})]})]})]})}function phe(){return Gh.jsxs(rle,{children:[Gh.jsx(ole,{children:Gh.jsxs(ile,{children:[Gh.jsx(sle,{}),Gh.jsx(lle,{})]})}),Gh.jsx(cle,{})]})}function hhe(){return Gh.jsxs(ple,{children:[Gh.jsx(hle,{children:e=>e.map((e=>Gh.jsxs(fle,{attachment:e,children:[Gh.jsx(mle,{}),Gh.jsx(gle,{})]},e.id)))}),Gh.jsx(yle,{children:Gh.jsx(iie,{children:Gh.jsx(ble,{children:Gh.jsxs(vle,{children:[Gh.jsx(kle,{}),Gh.jsx(wle,{}),Gh.jsx(xle,{})]})})})})]})}function fhe(){return Gh.jsxs(_le,{children:[Gh.jsx(Sle,{children:e=>e.map(((e,t)=>Gh.jsx(Tle,{action:e},`action-${t}`)))}),Gh.jsx(Cle,{action:"copy"}),Gh.jsx(Cle,{action:"upvote"}),Gh.jsx(Cle,{action:"downvote"})]})}function mhe(){return Gh.jsxs(Ale,{children:[Gh.jsx(Nle,{}),Gh.jsx(Ile,{children:e=>e.map(((e,t)=>{var n;return Gh.jsxs(Rle,{href:e.url,source:e,children:[Gh.jsx(Ole,{children:null==(n=e.breadcrumbs)?void 0:n.map((e=>Gh.jsxs(Z.Fragment,{children:[e,Gh.jsx(Ple,{})]},e)))}),Gh.jsx(Lle,{}),Gh.jsx(Dle,{}),Gh.jsx(Mle,{}),Gh.jsx(Fle,{children:e=>e.map(((e,t)=>Gh.jsx(jle,{part:e},`part-${t}`)))}),Gh.jsx(Ble,{})]},t)}))})]})}function ghe(){return Gh.jsxs(zle,{children:[Gh.jsx(yhe,{}),Gh.jsx(bhe,{})]})}function yhe(){return Gh.jsxs(Hle,{children:[Gh.jsxs(Ule,{children:[Gh.jsx($le,{}),Gh.jsx(Gle,{children:Gh.jsx(Vle,{})})]}),Gh.jsxs(Wle,{children:[Gh.jsx(qle,{children:e=>e.map((e=>Gh.jsxs(Yle,{attachment:e,children:[Gh.jsx(Kle,{}),Gh.jsx(Xle,{}),Gh.jsx(Qle,{})]},e.id)))}),Gh.jsxs(Zle,{children:[Gh.jsxs(Jle,{children:[Gh.jsx(ece,{}),Gh.jsx(tce,{})]}),Gh.jsx(nce,{children:e=>e.map((e=>Gh.jsxs(rce,{input:e,children:[Gh.jsx(ace,{}),e.displayName]},e.id)))})]}),Gh.jsx(iie,{children:Gh.jsx(oce,{children:Gh.jsx(ice,{children:Gh.jsxs(sce,{children:[Gh.jsxs(lce,{children:[Gh.jsx(cce,{}),Gh.jsx(uce,{}),Gh.jsx(dce,{})]}),Gh.jsx(pce,{}),Gh.jsx(hce,{children:Gh.jsxs(fce,{children:[Gh.jsxs(mce,{children:[Gh.jsx(gce,{}),Gh.jsx(yce,{}),Gh.jsx(bce,{})]}),Gh.jsxs(vce,{children:[Gh.jsx(kce,{}),Gh.jsx(wce,{}),Gh.jsx(xce,{})]}),Gh.jsx(Ece,{})]})})]})})})})]})]})}function bhe(){return Gh.jsxs(_ce,{children:[Gh.jsxs(Tce,{children:[Gh.jsx(Cce,{}),Gh.jsx(Ace,{}),Gh.jsx(Nce,{})]}),Gh.jsxs(Sce,{children:[Gh.jsx(Lce,{children:({pinned:e,unpinned:t})=>Gh.jsxs(Gh.Fragment,{children:[e.map((e=>Gh.jsx(Dce,{action:e},e.name))),t.length>0&&Gh.jsx(Mce,{}),Gh.jsxs(Fce,{children:[Gh.jsx(jce,{}),t.map((e=>Gh.jsxs(Bce,{action:e,children:[Gh.jsx(zce,{action:e}),e.name]},e.name)))]})]})}),Gh.jsxs(Rce,{action:"copy",children:[Gh.jsx(Oce,{action:"copy"}),Gh.jsx(Pce,{action:"copy"})]}),Gh.jsxs(Rce,{action:"share",children:[Gh.jsx(Oce,{action:"share"}),Gh.jsx(Pce,{action:"share"})]}),Gh.jsx(Rce,{action:"clear"}),Gh.jsx(Rce,{action:"stop"})]})]})}function vhe(){return Gh.jsx(iie,{children:Gh.jsx(Hce,{children:Gh.jsx(Uce,{children:Gh.jsxs($ce,{children:[Gh.jsx(Gce,{}),Gh.jsx(Vce,{}),Gh.jsx(Wce,{children:Gh.jsxs(qce,{children:[Gh.jsxs(Yce,{name:"unrelated_response",children:[Gh.jsx(Kce,{children:Gh.jsx(Xce,{})}),Gh.jsx(Qce,{}),Gh.jsx(Zce,{})]}),Gh.jsxs(Yce,{name:"inaccurate_statement",children:[Gh.jsx(Kce,{children:Gh.jsx(Xce,{})}),Gh.jsx(Qce,{}),Gh.jsx(Zce,{})]}),Gh.jsxs(Yce,{name:"inaccurate_code_snippet",children:[Gh.jsx(Kce,{children:Gh.jsx(Xce,{})}),Gh.jsx(Qce,{}),Gh.jsx(Zce,{})]}),Gh.jsxs(Yce,{name:"irrelevant_citations",children:[Gh.jsx(Kce,{children:Gh.jsx(Xce,{})}),Gh.jsx(Qce,{})]}),Gh.jsx(Jce,{})]})})]})})})})}function khe(){return Gh.jsxs(eue,{children:[Gh.jsx(nue,{}),Gh.jsxs(tue,{children:[Gh.jsxs(rue,{children:[Gh.jsx(aue,{}),Gh.jsx(oue,{})]}),Gh.jsx(iue,{children:e=>Gh.jsxs(Gh.Fragment,{children:[e.map(((e,t)=>Gh.jsxs(sue,{field:e,autoFocus:0===t,children:[Gh.jsx(lue,{}),"text"===e.inputType&&Gh.jsx(cue,{}),"email"===e.inputType&&Gh.jsx(uue,{}),"file"===e.inputType&&Gh.jsx(due,{}),"textarea"===e.inputType&&Gh.jsx(pue,{}),"checkbox"===e.inputType&&Gh.jsx(hue,{children:Gh.jsx(fue,{})}),"select"===e.inputType&&Gh.jsxs(mue,{children:[Gh.jsxs(gue,{children:[Gh.jsx(yue,{}),Gh.jsx(bue,{})]}),Gh.jsx(vue,{children:Gh.jsx(kue,{children:e.items.map((e=>Gh.jsxs(wue,{value:e.value,children:[Gh.jsx(xue,{children:e.label}),Gh.jsx(Eue,{})]},e.value)))})})]}),Gh.jsx(_ue,{})]},e.name))),Gh.jsx(Sue,{})]})}),Gh.jsxs(Tue,{children:[Gh.jsx(Cue,{}),Gh.jsx(Aue,{})]})]}),Gh.jsxs(Nue,{children:[Gh.jsx(Iue,{}),Gh.jsx(Rue,{}),Gh.jsx(Oue,{})]})]})}function whe(e){const{children:t,onToggleView:n,isHidden:r,shouldAutoFocusInput:a=!n}=e;return Gh.jsx(Lue,{isHidden:r,shouldAutoFocusInput:a,children:t})}function xhe(e){return Gh.jsx(whe,{...e,children:Gh.jsx(Ehe,{...e})})}function Ehe(e){const{searchSettings:{view:t}}=ZO(),{onToggleView:n,shouldShowAskAICard:r=!!n&&"dual-pane"!==t}=e,a=dD(),o=vD(),i=a&&!o?ahe:Z.Fragment;return Gh.jsx(i,{children:Gh.jsx(Due,{"data-show-ask-ai-card":OP(r),"data-composite":OP(!!n||(null==a?void 0:a.isOpen)),children:Gh.jsxs(Mue,{children:[Gh.jsx(_he,{...e}),Gh.jsxs(Fue,{children:[Gh.jsx(She,{askAILabel:e.askAILabel,onToggleView:e.onToggleView,shouldShowAskAICard:r}),Gh.jsx(The,{})]}),Gh.jsx(Nhe,{})]})})})}function _he(e){const{onToggleView:t,askAILabel:n,searchLabel:r}=e,a=ute((e=>e.search));return Gh.jsxs(jue,{children:[Gh.jsx(Bue,{}),Gh.jsx(zue,{}),Gh.jsx(Hue,{}),t&&Gh.jsx(the,{onToggleView:t,query:a,askAILabel:n,searchLabel:r,view:"search"}),Gh.jsx(Mde,{})]})}function She(e){const{askAILabel:t,onToggleView:n,shouldShowAskAICard:r}=e,a=ute((e=>e.search)),{handleToggle:o}=nhe({onToggleView:n,query:a});return r?Gh.jsxs(Uue,{onSelect:()=>o("chat",!0),children:[Gh.jsx($ue,{}),Gh.jsxs(Gue,{children:[t||"Ask AI",a&&` "${a}"`]}),Gh.jsx(Vue,{})]}):null}function The(){return Gh.jsxs(Wue,{children:[Gh.jsx(que,{}),Gh.jsx(Kue,{children:e=>e.map((e=>Gh.jsx(Xue,{tab:e},e)))}),Gh.jsx(Yue,{}),Gh.jsxs(Que,{children:[Gh.jsx(Che,{}),Gh.jsx(Ahe,{})]})]})}function Che(){return Gh.jsxs(Zue,{children:[Gh.jsx(Jue,{children:Gh.jsx(rde,{children:e=>e.map((e=>Gh.jsxs(ade,{item:e,children:[Gh.jsx(ode,{children:e=>e.map(((e,t)=>Gh.jsxs(Z.Fragment,{children:[e,Gh.jsx(ide,{})]},`${e}-${t}`)))}),Gh.jsx(sde,{}),Gh.jsx(lde,{}),Gh.jsx(cde,{}),Gh.jsx(ude,{children:e=>e.map(((e,t)=>Gh.jsx(dde,{part:e},`part-${t}`)))}),Gh.jsx(pde,{})]},e.id)))})}),Gh.jsx(ede,{children:Gh.jsx(tde,{})}),Gh.jsx(nde,{})]})}function Ahe(){return Gh.jsxs(Zue,{children:[Gh.jsx(Jue,{children:Gh.jsxs(hde,{children:[Gh.jsxs(fde,{children:[Gh.jsxs(mde,{children:[Gh.jsx(gde,{}),Gh.jsx(yde,{})]}),Gh.jsx(bde,{children:e=>e.map(((e,t)=>Gh.jsxs(Z.Fragment,{children:[e,Gh.jsx(vde,{})]},`${e}-${t}`)))})]}),Gh.jsx(kde,{}),Gh.jsxs(wde,{children:[Gh.jsx(xde,{}),Gh.jsx(Ede,{children:e=>e.map(((e,t)=>Gh.jsxs(_de,{href:e.url??void 0,"data-is-match":OP(e.isMatch),children:[Gh.jsx(Sde,{}),Gh.jsx(Tde,{children:e.content}),e.url&&Gh.jsx(Cde,{})]},`${e.anchor}-${t}`)))})]})]})}),Gh.jsx(ede,{children:Gh.jsx(tde,{})}),Gh.jsx(nde,{})]})}function Nhe(){return Gh.jsx(Ade,{children:Gh.jsxs(Nde,{children:[Gh.jsx(Ide,{}),Gh.jsx(Rde,{}),Gh.jsx(Ode,{})]})})}function Ihe(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function Rhe(...e){return t=>{for(const n of e)Ihe(n,t)}}function Ohe(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 Phe(e){const{defaultView:t="search",aiChatSettings:n,baseSettings:r,searchSettings:a,shouldAutoFocusInput:o=!0,onToggleView:i,ref:s,...l}=e,c=Z.useRef(null),u=Rhe(c,null==n?void 0:n.chatFunctionsRef),d=Z.useRef(null),p=Rhe(d,null==a?void 0:a.searchFunctionsRef),h={...n,chatFunctionsRef:u},f={...a,searchFunctionsRef:p},[m,g]=Z.useState(t);Z.useImperativeHandle(s,(()=>({setView:g}))),Z.useEffect((()=>{var e,t;"chat"===m?null==(e=c.current)||e.focusInput():null==(t=d.current)||t.focusInput()}),[m]);return{config:{baseSettings:r,aiChatSettings:h,searchSettings:f},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}}function Lhe(e){const{view:t,setView:n,shouldShowAskAICard:r,onToggleView:a,defaultView:o,shouldAutoFocusInput:i,searchLabel:s,askAILabel:l}=e,c=dD()?ahe:Z.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 Gh.jsx(bD,{widget:{setView:n},children:Gh.jsx(whe,{...u,children:Gh.jsx(ohe,{...d,children:Gh.jsxs(c,{children:[Gh.jsx(Ehe,{...u}),Gh.jsx(she,{...d})]})})})})}function Dhe({label:e="Ask AI",avatar:t,onOpenChange:n}){return Gh.jsx(Fde,{children:Gh.jsxs(jde,{onClick:e=>{2!==e.button&&n((e=>!e))},children:[Gh.jsx(Bde,{children:e}),Gh.jsx(Hde,{children:Gh.jsx(zde,{avatar:t})})]})})}function Mhe({onOpenChange:e,modalSettings:t}){return Gh.jsx(Ude,{children:Gh.jsxs($de,{onClick:t=>{2!==t.button&&e((e=>!e))},children:[Gh.jsxs(Gde,{children:[Gh.jsx(Wde,{}),Gh.jsx(Vde,{})]}),Gh.jsxs(qde,{children:[Gh.jsx(Yde,{shortcutKey:null==t?void 0:t.shortcutKey}),Gh.jsx(Kde,{shortcutKey:null==t?void 0:t.shortcutKey})]})]})})}function Fhe(e){const{formSettings:t}=e;return Gh.jsx(Xde,{formSettings:t,children:Gh.jsxs(Qde,{children:[Gh.jsx(Zde,{}),Gh.jsx(Jde,{children:Gh.jsxs(epe,{children:[Gh.jsxs(tpe,{children:[Gh.jsx(jhe,{}),Gh.jsx(Bhe,{}),Gh.jsx(Hhe,{}),Gh.jsx(Uhe,{}),Gh.jsx($he,{})]}),Gh.jsx(npe,{children:Gh.jsx(rpe,{})}),Gh.jsx(ape,{})]})})]})})}function jhe(){return Gh.jsxs(ope,{children:[Gh.jsx(ipe,{}),Gh.jsx(spe,{}),Gh.jsx(lpe,{})]})}function Bhe(){const{isSubmitSuccessful:e}=rae();return e?null:Gh.jsxs(cpe,{children:[Gh.jsx(upe,{}),Gh.jsx(dpe,{children:e=>e.map((e=>Gh.jsx(Ghe,{field:e},e.name)))}),Gh.jsx(ppe,{})]})}function zhe(){return Gh.jsxs(Rpe,{children:[Gh.jsx(Ope,{}),Gh.jsx(Ppe,{})]})}function Hhe(){return Gh.jsxs(Lpe,{children:[Gh.jsx(zhe,{}),Gh.jsx(Tse,{})]})}function Uhe(){const{isSubmitSuccessful:e}=rae();return e?null:Gh.jsxs(Dpe,{children:[Gh.jsx(zhe,{}),Gh.jsxs(Vpe,{children:[Gh.jsx(Wpe,{}),Gh.jsx(qpe,{children:e=>e.map((e=>Gh.jsxs(Ype,{source:e,children:[Gh.jsx(Kpe,{}),Gh.jsx(Xpe,{})]},e.url)))})]}),Gh.jsx(Mpe,{}),Gh.jsxs(Fpe,{children:[Gh.jsx(jpe,{}),Gh.jsx(Bpe,{})]})]})}function $he(){const{aiResponse:e}=rae(),{isSubmitSuccessful:t}=rae();return t?null:Gh.jsxs(zpe,{children:[Gh.jsx(zhe,{}),!e.answerConfidence&&Gh.jsxs(Vpe,{children:[Gh.jsx(Wpe,{children:"I wasn't able to find a direct answer to your question, but here's some helpful sources:"}),Gh.jsx(qpe,{children:e=>e.map((e=>Gh.jsxs(Ype,{source:e,children:[Gh.jsx(Kpe,{}),Gh.jsx(Xpe,{})]},e.url)))})]}),Gh.jsx(Hpe,{}),Gh.jsx(Upe,{children:e=>e.map((e=>Gh.jsx(Ghe,{field:e},e.name)))}),Gh.jsx(Gpe,{}),Gh.jsx($pe,{})]})}function Ghe(e){const{field:t}=e;return Gh.jsxs(hpe,{field:t,children:[Gh.jsx(fpe,{}),"text"===t.inputType&&Gh.jsx(mpe,{}),"email"===t.inputType&&Gh.jsx(gpe,{}),"file"===t.inputType&&Gh.jsx(ype,{}),"textarea"===t.inputType&&Gh.jsx(bpe,{}),"checkbox"===t.inputType&&Gh.jsx(vpe,{children:Gh.jsx(kpe,{})}),"select"===t.inputType&&Gh.jsxs(wpe,{children:[Gh.jsxs(xpe,{children:[Gh.jsx(Epe,{}),Gh.jsx(_pe,{})]}),Gh.jsx(Spe,{children:Gh.jsx(Tpe,{children:t.items.map((e=>Gh.jsxs(Cpe,{value:e.value,children:[Gh.jsx(Ape,{children:e.label}),Gh.jsx(Npe,{})]},e.value)))})})]}),Gh.jsx(Ipe,{})]},t.name)}const Vhe={EmbeddedChat:function(e){const{baseSettings:t,aiChatSettings:n}=e;return Gh.jsx(Qpe,{wrapperStyles:{height:"inherit",width:"inherit"},children:Gh.jsx(vB,{config:{baseSettings:t,aiChatSettings:n},componentType:VO,children:Gh.jsx(ihe,{...e})})})},EmbeddedSearch:function(e){const{baseSettings:t,searchSettings:n}=e;return Gh.jsx(Qpe,{children:Gh.jsx(vB,{config:{baseSettings:t,searchSettings:n},componentType:WO,children:Gh.jsx(xhe,{...e})})})},EmbeddedSearchAndChat:function(e){const{config:t,...n}=Phe(e);return Gh.jsx(Qpe,{wrapperStyles:{height:"inherit",width:"inherit"},children:Gh.jsx(vB,{config:t,componentType:qO,children:Gh.jsx(Lhe,{...n})})})},ModalChat:function(e){const{modalSettings:t,baseSettings:n,aiChatSettings:r,...a}=e;return Gh.jsx(rhe,{componentType:$O,modalSettings:t,baseSettings:n,aiChatSettings:r,children:Gh.jsx(ihe,{...a})})},ModalSearch:function(e){const{modalSettings:t,baseSettings:n,searchSettings:r,...a}=e;return Gh.jsx(rhe,{componentType:$O,modalSettings:t,baseSettings:n,searchSettings:r,children:Gh.jsx(xhe,{shouldAutoFocusInput:!0,...a})})},ModalSearchAndChat:function(e){const{modalSettings:t,...n}=e,{config:r,...a}=Phe(n),o=Ohe(null==t?void 0:t.onOpenChange,(t=>{e.forceDefaultView&&!t&&a.setView(e.defaultView??"search")})),i={...t,onOpenChange:o};return Gh.jsx(rhe,{...r,modalSettings:i,componentType:$O,children:Gh.jsx(Lhe,{...a})})},IntelligentForm:function(e){const{baseSettings:t}=e;return Gh.jsx(Qpe,{wrapperStyles:{height:"inherit",width:"inherit"},children:Gh.jsx(vB,{config:{baseSettings:t},componentType:YO,children:Gh.jsx(Fhe,{...e})})})},ChatButton: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}=Phe({...s,defaultView:r}),[u=!1,d]=tj({prop:null==t?void 0:t.isOpen,defaultProp:!1,onChange:Ohe(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 Gh.jsxs(Gh.Fragment,{children:[Gh.jsx(Qpe,{wrapperStyles:{display:"contents"},children:Gh.jsx(vB,{config:l,componentType:UO,children:Gh.jsx(Dhe,{label:n,avatar:o,onOpenChange:d})})}),Gh.jsx(rhe,{...l,componentType:UO,modalSettings:p,children:a?Gh.jsx(Lhe,{...c}):Gh.jsx(ihe,{...i})})]})},SearchBar:function(e){const{modalSettings:t,defaultView:n="search",canToggleView:r=!0,...a}=e,o={...a,shouldShowAskAICard:!!r&&e.shouldShowAskAICard},{config:i,...s}=Phe({...o,defaultView:n}),[l=!1,c]=tj({prop:null==t?void 0:t.isOpen,defaultProp:!1,onChange:Ohe(null==t?void 0:t.onOpenChange,(r=>{void 0===(null==t?void 0:t.isOpen)&&(e.forceDefaultView&&!r&&s.setView(n),c(!!r))}))}),u={shortcutKey:"k",...t,isOpen:l,onOpenChange:c};return Gh.jsxs(Gh.Fragment,{children:[Gh.jsx(Qpe,{wrapperStyles:{display:"contents"},children:Gh.jsx(vB,{config:i,componentType:GO,children:Gh.jsx(Mhe,{onOpenChange:c,modalSettings:u})})}),Gh.jsx(rhe,{...i,modalSettings:u,componentType:GO,children:r?Gh.jsx(Lhe,{...s}):Gh.jsx(xhe,{...o})})]})}};function Whe(){window.Inkeep=Object.entries(Vhe).reduce(((e,[t,n])=>(e[t]=function(e,t){const n=new Map;return function(r,a){let o,i;if("string"==typeof r)i=r,o=a;else{if(!Mh.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-${Dh()}`;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);l||(l={root:Ih.createRoot(s),props:o,container:s,chatFunctionsRef:Z.createRef(),searchFunctionsRef:Z.createRef(),ref:Z.createRef()},n.set(i,l)),l.props=u(o,{aiChatSettings:{chatFunctionsRef:l.chatFunctionsRef},searchSettings:{searchFunctionsRef:l.searchFunctionsRef}},{ref:l.ref}),l.container=s;try{l.root.render(Z.createElement(e,l.props))}catch(p){console.error(`Error rendering component ${e.name}:`,p)}const c={update:t=>{const r=n.get(i);if(r){r.props=u(r.props??{},t??{});try{r.root.render(Z.createElement(e,r.props))}catch(p){console.error(`Error rendering component ${e.name} during update:`,p)}}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=Ih.createRoot(t.container);try{t.root.render(Z.createElement(e,t.props))}catch(p){console.error(`Error remounting component ${e.name}:`,p)}}else console.error(`Component at ${i} cannot be remounted.`)}},d=Fh[t];if("both"===d){const e=jh(i,"chatFunctionsRef",n),t=jh(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}})}return"chat"===d?new Proxy(c,{get(e,t){var r;if(t in e)return e[t];const a=n.get(i),o=null==(r=null==a?void 0:a.chatFunctionsRef.current)?void 0:r[t];return"function"==typeof o?o.bind(null==a?void 0:a.chatFunctionsRef.current):void 0}}):"search"===d?new Proxy(c,{get(e,t){var r;if(t in e)return e[t];const a=n.get(i),o=null==(r=null==a?void 0:a.searchFunctionsRef.current)?void 0:r[t];return"function"==typeof o?o.bind(null==a?void 0:a.searchFunctionsRef.current):void 0}}):c}}(n,t),e)),{})}"undefined"!=typeof window&&Whe(),"undefined"!=typeof window&&Whe();const qhe={colorMode:{sync:{target:document.documentElement,attributes:["class"],isDarkMode:e=>{var t;return!!(null==(t=e.class)?void 0:t.includes("dark"))}}}},Yhe=(e,t,n)=>{const r=e[t];if(!r)throw new Error(`${t} not found in Inkeep`);return e=>{const t="string"==typeof e?{targetSelector:e}:e,a={...t,baseSettings:u(qhe,t.baseSettings??{})},o=r(a);return o&&(null==n||n(o,a)),o}};if(!(null==(r=window.Inkeep)?void 0:r.ModalSearchAndChat))throw new Error("Inkeep failed to load properly");window.Inkeep={...window.Inkeep,ModalSearchAndChat:Yhe(window.Inkeep,"ModalSearchAndChat",((e,t)=>{var n;e.update({modalSettings:u(t.modalSettings??{},{onOpenChange:t=>e.update({modalSettings:{isOpen:t}})})}),((e,t)=>{const n=e=>{e&&!e.dataset.inkeepListenerAdded&&(e.dataset.inkeepListenerAdded="true",e.addEventListener("click",(e=>{e.preventDefault(),e.stopImmediatePropagation(),t()}),!0))};new MutationObserver((()=>{e.forEach((e=>{const t=document.getElementById(e);n(t)}))})).observe(document.body,{childList:!0,subtree:!0}),e.forEach((e=>{const t=document.getElementById(e);n(t)}))})(["search-bar-entry","search-bar-entry-mobile","home-search-entry"],(()=>e.update({modalSettings:{isOpen:!0}}))),n=()=>e.update({modalSettings:{isOpen:!0}}),window.addEventListener("keydown",(e=>{!e.metaKey&&!e.ctrlKey||"k"!==e.key&&"K"!==e.key||(e.preventDefault(),e.stopImmediatePropagation(),n())}),!0)})),ChatButton:Yhe(window.Inkeep,"ChatButton")}}();
|
|
56
|
+
*/;function C3(){const[e,t]=Z.useState(!1);return[e,Z.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 A3=PB("h1",{_id:"markdownH1"}),N3=PB("h2",{_id:"markdownH2"}),I3=PB("p",{_id:"markdownP"}),R3=PB("li",{_id:"markdownLi"}),O3=PB("ul",{_id:"markdownUl"}),P3=PB("ol",{_id:"markdownOl"}),L3=PB(NW,{_id:"markdownLink"}),D3=PB("sup",{_id:"markdownSourceLink"}),M3=PB("table",{_id:"markdownTable"}),F3=PB("th",{_id:"markdownTh"}),j3=PB("td",{_id:"markdownTd"}),B3=PB("code",{_id:"markdownCode"}),z3=PB("div",{_id:"codeblockContainer"}),H3=PB("div",{_id:"codeblockHeader"}),U3=PB("span",{_id:"codeblockHeaderLanguage"}),$3=PB("button",{_id:"codeblockCopyButton",type:"button"}),G3=PB("div",{_id:"codeblockHighlighterWrapper"}),V3=PB("div",{_id:"codeblockHighlighter"}),W3=PB("code",{_id:"codeblockCode"}),q3=PB("input",{_id:"markdownInput"}),Y3=Q5.oneLight,K3=Q5.vsDark,X3=({className:e="",children:t,onCopy:n})=>{var r;const a=e.replace(/^language-/,""),o=String(t).replace(/\n$/,""),[i,s]=C3(),{baseSettings:l}=ZO(),c=null==(r=l.theme)?void 0:r.syntaxHighlighter,{lightTheme:u=Y3,darkTheme:d=K3}=c??{},p=iB(u,d);return Gh.jsxs(z3,{children:[Gh.jsxs(H3,{children:[Gh.jsx(U3,{children:a}),Gh.jsx($3,{"aria-label":"Copy to clipboard",onClick:()=>{s(o),null==n||n(a,o)},"data-copied":OP(i),children:Gh.jsx(CW,{iconKey:i?"codeCopied":"codeCopy"})})]}),Gh.jsx(G3,{children:Gh.jsx(T3,{theme:p,code:o,language:a,prism:l.prism,children:({className:e,tokens:t,getLineProps:n,getTokenProps:r,style:a})=>Gh.jsx(V3,{className:e,children:Gh.jsx(W3,{style:a,children:t.map(((e,t)=>Gh.jsx("div",{...n({line:e}),children:e.map(((e,t)=>Gh.jsx("span",{...r({token:e})},t)))},t)))})})})})]})};function Q3(){return e=>{NX(e,"element",((e,t,n)=>{"code"===e.tagName&&(n&&"pre"===n.tagName?e.properties.inline=!1:e.properties.inline=!0)}))}}const Z3=({children:e,componentStyles:t,shouldOpenLinksInNewTab:n,onLinkClick:r,onCodeCopy:a,...o})=>{if(!e)return null;const i={h1:({children:e})=>Gh.jsx(A3,{children:e}),h2:({children:e})=>Gh.jsx(N3,{children:e}),p:({children:e})=>Gh.jsx(I3,{children:e}),li:({children:e})=>Gh.jsx(R3,{children:e}),ul:({children:e})=>Gh.jsx(O3,{children:e}),input:({type:e,checked:t,disabled:n,readOnly:r,required:a,value:o})=>Gh.jsx(q3,{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 Gh.jsx(P3,{style:{"--start":(null==r?void 0:r.toString())??"0"},start:a,children:e})},a:({children:e,href:t})=>{const a=J.Children.toArray(e),o=a[0],i="string"==typeof o&&/^\(\d+\)$/.test(o)&&1===a.length,s=i?o.match(/\d+/):e,l=Gh.jsx(L3,{isExternal:n,href:t,onClick:()=>{null==r||r(t,null==s?void 0:s.toString())},children:s});return i?Gh.jsx(D3,{children:l}):l},img:({src:e,alt:t})=>``,table:({children:e})=>Gh.jsx(M3,{children:e}),th:({children:e,isHeader:t})=>t?Gh.jsx(F3,{children:e}):Gh.jsx(j3,{children:e}),pre:({children:e})=>Gh.jsx("pre",{children:e}),code:({children:e,inline:t,className:n})=>t?Gh.jsx(B3,{children:e}):Gh.jsx(X3,{className:n,onCopy:a,children:e})},s=Gh.jsx(xQ,{remarkPlugins:[S5],rehypePlugins:[L1,Q3],components:i,disallowedElements:J3,children:e.toString(),...o});return Gh.jsx(Yj,{componentStyles:t,children:s})},J3=["script","iframe","frame","embed","meta","base","form","style","object"];function e4(){return Gh.jsxs("svg",{viewBox:"0 0 12 10",style:{width:"1.2em",fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},children:[Gh.jsx("title",{children:"Checkbox Icon"}),Gh.jsx("polyline",{points:"1.5 6 4.5 9 10.5 1"})]})}function t4(e){const t=Z.useId();return Gh.jsxs("svg",{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[Gh.jsx("title",{children:"Tag Line Logo Icon"}),Gh.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})`}),Gh.jsx("defs",{children:Gh.jsxs("linearGradient",{id:t,x1:"1.5893",y1:"25.285",x2:"24.0784",y2:"10.1057",gradientUnits:"userSpaceOnUse",children:[Gh.jsx("stop",{stopColor:"currentColor"}),Gh.jsx("stop",{offset:"1",stopColor:"currentColor"})]})})]})}const n4=e=>{const{logEvent:t}=bP(),{conversation:n}=nP(),{openForm:r}=gD(),a=dD();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&&t({eventName:"get_help_option_clicked",properties:{getHelpOption:e,conversation:n}})}}},r4=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 a4(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 o4(e){return e.toLowerCase().replace(/(^\w+:|^)\/\//,"").replace(/^www\./,"").replace(/\/$/,"").startsWith("github.com")}function i4(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 s4={js:".js",db:"DB",sql:"SQL"};function l4(e){return Object.entries(s4).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 c4=["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"],u4=["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"],d4=["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 p4(e){return`\\b${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}\\b`}function h4(e,t,n,r=!1){return r&&new RegExp(`^${n}\\b`,"i").test(e)?e:e.replace(new RegExp(n,"gi"),t)}const f4=(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(m4)}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=i4(t,r)),t=l4(t),t=function(e){let t=e;return t=u4.reduce(((e,t)=>h4(e,t,p4(t),!0)),t),t=d4.reduce(((e,t)=>h4(e,t,p4(t))),t),t=c4.reduce(((e,t)=>h4(e,t,p4(t))),t),t}(t),t}))??[]},m4=e=>e.split(/[-_]/).map((e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase())).join(" ");const g4=(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)},y4=e=>{let t="LuBookOpen";"documentation"===e.type&&"book"===e.contentType?t="IoBookOutline":"documentation"===e.type&&"pdf"===e.contentType?t="FaFilePdf":"github_issue"===e.type||o4(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}},b4=(e,t)=>{let n=e.title;if(!n)return"";const r=null==t?void 0:t.organizationDisplayName;return n=l4(n),r&&(n=i4(n,r)),n},v4=(e,t,n)=>{const{transformSource:r,...a}=n,o=f4(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||o4(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)??b4(e,n),description:(null==s?void 0:s.description)??g4(e,t),breadcrumbs:(null==s?void 0:s.breadcrumbs)??o,icon:(null==s?void 0:s.icon)??y4(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}};const k4=Z.createContext(void 0),w4=({children:e,open:t,setOpen:n})=>Gh.jsx(k4.Provider,{value:{open:t,setOpen:n},children:e}),x4=()=>{const e=Z.useContext(k4);if(!e)throw new Error("useHoverPopover must be used within a HoverPopoverProvider");return e},E4=PB("div",{_id:"aiChatWrapper"}),_4=Z.forwardRef(((e,t)=>{const{...n}=e,{isHidden:r,isMobile:a}=Dj(),[o,i]=function(){const e=Z.useRef(null),[t,n]=Z.useState({width:0,height:0});return Z.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=TB(t,o),l=!(null==i?void 0:i.width)||i.width>580,c=dD();return Gh.jsx(E4,{ref:s,"data-widget-md":OP(l),"data-hidden":OP(r),"data-in-modal":OP(!!c),"data-mobile":OP(a),...n})})),S4=PB("div",{_id:"aiChatConversationLoading"}),T4=e=>{const{isLoadingConversation:t}=Dj();return t?Gh.jsx(S4,{children:Gh.jsx("span",{children:"Loading..."}),...e}):null},C4=PB("div",{_id:"aiChatRoot"}),A4=e=>{const{isLoadingConversation:t,isHidden:n}=Dj(),{form:r}=gD();return t||r?null:Gh.jsx(C4,{"data-hidden":OP(n),...e})},N4=PB("div",{_id:"aiChatHeader"}),I4=PB("div",{_id:"aiChatHeader__Toolbar"}),R4=PB("div",{_id:"aiChatHeader__ToolbarHeaderWrapper"}),O4=PB("div",{_id:"aiChatHeader__ToolbarHeader"}),P4=Z.memo((e=>{const{aiChatSettings:t}=ZO(),n=`Ask ${t.aiAssistantName||"AI"}`;return Gh.jsx(O4,{...e,children:n})})),L4=PB("div",{_id:"aiChatContent"}),D4=PB(x$,{_id:"aiChatContentScrollArea"}),M4=PB(E$,{_id:"aiChatContentScrollArea__Viewport"}),F4=Z.forwardRef((({children:e,...t},n)=>{const{containerRef:r}=function(e={}){const{threshold:t=150,interactionTimeout:n=150}=e,r=Z.useRef(null),a=Z.useRef(!0),o=Z.useRef(!1),i=Z.useCallback((()=>{const e=r.current;return!!e&&e.scrollHeight-e.clientHeight-e.scrollTop<t}),[t]),s=Z.useCallback(((e=!1)=>{const t=r.current;t&&!o.current&&t.scrollTo({top:t.scrollHeight,behavior:e?"smooth":"auto"})}),[]);return Z.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]),Z.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]),Z.useEffect((()=>{r.current&&s()}),[s]),{containerRef:r,scrollToBottom:s,isNearBottom:i}}(),a=TB(n,r);return Gh.jsx(M4,{ref:a,children:Gh.jsx("div",{"data-part":"grid",style:{display:"grid"},children:e}),...t})})),j4=PB(QU,{_id:"aiChatContentScrollArea__Scrollbar"}),B4=PB(l$,{_id:"aiChatContentScrollArea__Thumb"}),z4=PB(_$,{_id:"aiChatContentScrollArea__Corner"}),H4=PB("div",{_id:"aiChatMessages"}),U4=e=>{const t=Dj(),{children:n,...r}=e;return Gh.jsx(H4,{children:LP(n,t),...r})},$4=PB("div",{_id:"aiChatDisclaimer"}),G4=Z.memo((e=>{var t;const{aiChatSettings:n}=ZO(),[r,a]=Z.useState(!1),o=function(e,t){const[n,r]=Z.useState(e);return Z.useEffect((()=>{const n=setTimeout((()=>{r(e)}),t);return()=>{clearTimeout(n)}}),[e,t]),n}(r,100);return(null==(t=n.disclaimerSettings)?void 0:t.isEnabled)?Gh.jsx(w4,{open:r,setOpen:a,children:Gh.jsx(DU,{open:o,onOpenChange:a,children:Gh.jsx($4,{...e})})}):null})),V4=PB("span",{_id:"aiChatDisclaimerLabel"}),W4=Z.memo((e=>{const{aiChatSettings:t}=ZO(),n=t.disclaimerSettings;return Gh.jsx(V4,{children:null==n?void 0:n.label,...e})})),q4=PB(MU,{_id:"aiChatDisclaimerTrigger",children:Gh.jsx(CW,{iconKey:"info"})}),Y4=Z.memo((e=>{const{setOpen:t}=x4();return Gh.jsx(q4,{onMouseEnter:()=>t(!0),onMouseLeave:()=>t(!1),...e})})),K4=PB(FU,{_id:"aiChatDisclaimerContent"}),X4=e=>{const{setOpen:t}=x4();return Gh.jsx(K4,{onMouseEnter:()=>t(!0),onMouseLeave:()=>t(!1),side:"top",sideOffset:8,align:"end",alignOffset:-10,...e})},Q4=PB(Z3,{_id:"aiChatDisclaimerText"}),Z4=Z.memo((e=>{const{aiChatSettings:t}=ZO(),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 Gh.jsx(Q4,{shouldOpenLinksInNewTab:!0,children:a,...e})})),J4=PB(jU,{_id:"aiChatDisclaimerArrow"}),e6=PB("div",{_id:"aiChatExampleQuestions"}),t6=e=>{var t;const{aiChatSettings:n}=ZO(),{messages:r}=Dj();return!(null==(t=n.exampleQuestions)?void 0:t.length)||r.length?null:Gh.jsx(e6,{...e})},n6=PB("h3",{_id:"aiChatExampleQuestionsLabel"}),r6=Z.memo((e=>{const{aiChatSettings:t}=ZO();return Gh.jsx(n6,{children:t.exampleQuestionsLabel,...e})})),a6=PB("div",{_id:"aiChatExampleQuestionsList"}),o6=Z.memo((e=>{const{aiChatSettings:t}=ZO(),n=t.exampleQuestions,{children:r,...a}=e;return Gh.jsx(a6,{children:LP(r,n),...a})})),i6=PB("div",{_id:"aiChatExampleQuestion"}),s6=Z.forwardRef(((e,t)=>{const{aiChatSettings:n}=ZO(),r=n.isFirstExampleQuestionHighlighted;return Gh.jsx(i6,{ref:t,"data-highlight":OP(r),...e})})),l6=PB("button",{_id:"aiChatExampleQuestionButton"}),c6=e=>{const{question:t,onClick:n,...r}=e,{handleSubmit:a}=Dj();return Gh.jsx(l6,{onClick:a4(n,(()=>a(t))),children:t,...r})};PB("div",{_id:"aiChatWorkflows"});const u6=PB("h3",{_id:"aiChatWorkflowsLabel"});Z.memo((e=>{const{aiChatSettings:t}=ZO();return Gh.jsx(u6,{children:t.workflowsHeader,...e})}));const d6=PB("div",{_id:"aiChatWorkflowsList"});Z.memo((e=>{const{aiChatSettings:t}=ZO(),n=t.workflows,{children:r,...a}=e;return Gh.jsx(d6,{children:LP(r,n),...a})})),PB("button",{_id:"aiChatWorkflow"}),PB((function(e){return GV({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 p6=PB("div",{_id:"aiChatMessageWrapper"}),h6=e=>{const{message:t,...n}=e;return"system"===t.role?null:Gh.jsx(Jj,{message:t,children:Gh.jsx(p6,{"data-role":t.role,...n})})},f6=Z.memo((e=>{const{message:t,...n}=e,{aiChatSettings:r,baseSettings:a}=ZO(),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 Gh.jsx(h6,{message:u,...n})})),m6=PB("div",{_id:"aiChatMessageHeader"}),g6=e=>{const{message:t}=eB();return Gh.jsx(m6,{"data-role":t.role,...e})},y6=PB("div",{_id:"aiChatMessageLoading"}),b6=e=>{var t;const{isLoading:n,isStreaming:r,messages:a}=Dj(),{message:o}=eB();return(null==(t=a.at(-1))?void 0:t.id)===(null==o?void 0:o.id)&&"assistant"===o.role&&n&&!r?Gh.jsx(y6,{children:"Thinking...",...e}):null},v6=PB("div",{_id:"aiChatMessageAvatar"}),k6=e=>{const{message:t}=eB();return Gh.jsx(v6,{"data-role":t.role,...e})},w6=PB(iz,{_id:"aiChatMessageAvatarContent"}),x6=e=>{const{message:t}=eB(),{baseSettings:n}=ZO();return Gh.jsx(w6,{"data-username":OP("user"===t.role&&!!n.userProperties.name),"data-role":t.role,...e})},E6=PB(lz,{_id:"aiChatMessageAvatarFallback"}),_6=Z.memo((e=>{const{baseSettings:t}=ZO(),{message:n}=eB();return t.userProperties.name?Gh.jsx(E6,{"data-role":n.role,children:PP(t.userProperties.name),...e}):null})),S6=PB(sz,{_id:"aiChatMessageAvatarImage"}),T6=Z.memo((e=>{const{onLoadingStatusChange:t,...n}=e,{aiChatSettings:r,baseSettings:{userProperties:a}}=ZO(),{message:o}=eB(),{aiAssistantAvatar:i}=r??{},s="string"==typeof i?i:null==i?void 0:i.light,l=iB(s,("string"==typeof i?i:null==i?void 0:i.dark)??s),[c,u]=Z.useState(l);Z.useEffect((()=>{u(l)}),[l]);return"user"===o.role?a.name?null:r.userAvatar?Gh.jsx(S6,{"data-type":"image","data-role":o.role,src:r.userAvatar,...e}):Gh.jsx(qV,{"data-type":"icon","data-role":o.role,...e}):c?Gh.jsx(S6,{src:c,"data-type":"image","data-role":o.role,onLoadingStatusChange:a4(t,(e=>{"error"===e&&u(null)})),...n}):Gh.jsx(WV,{"data-type":"icon","data-role":o.role,...e})})),C6=PB("span",{_id:"aiChatMessageName"}),A6=e=>{const{message:t}=eB();return Gh.jsx(C6,{"data-role":t.role,children:"user"===t.role?"You":"AI assistant",...e})},N6=PB("div",{_id:"aiChatMessageContentWrapper"}),I6=e=>{const{message:t}=eB();return Gh.jsx(N6,{"data-role":t.role,...e})},R6=PB("div",{_id:"aiChatMessageContent"}),O6=e=>{const{message:t}=eB();return Gh.jsx(R6,{"data-role":t.role,...e})},P6=PB("div",{_id:"aiChatMessageAttachments"}),L6=PB("div",{_id:"aiChatMessageAttachments__List"}),D6=e=>{var t,n;const{children:r,...a}=e,{message:o}=eB(),i=null==(n=null==(t=o.metadata)?void 0:t.attributes)?void 0:n.attachments;return i?Gh.jsx(L6,{children:LP(r,i),...a}):null},M6=PB("div",{_id:"aiChatMessageAttachments__Item"}),F6=e=>{const{attachment:t,onClick:n,...r}=e,{selectItem:a,onOpen:o}=Qj();return Gh.jsx(Wh,{attachment:t,children:Gh.jsx(M6,{onClick:a4(n,(()=>{a(t),o()})),...r})})},j6=PB(SW,{_id:"aiChatMessageAttachments__ItemIcon"}),B6=e=>{var t;const{attachment:n}=qh(),r=null==(t=n.contentType)?void 0:t.attachmentIcon;return r?Gh.jsx(j6,{iconSettings:r,...e}):null},z6=PB("span",{_id:"aiChatMessageAttachments__ItemTitle"}),H6=e=>{const{attachment:t}=qh();return Gh.jsx(z6,{children:t.title,...e})},U6=PB(NV,{_id:"aiChatMessageAttachmentsPreview"}),$6=PB(RV,{_id:"aiChatMessageAttachmentsPreview__Overlay"}),G6=PB(OV,{_id:"aiChatMessageAttachmentsPreview__Content","aria-describedby":void 0}),V6=PB(PV,{_id:"aiChatMessageAttachmentsPreview__Header"}),W6=e=>{const{selectedItem:t}=Qj();return Gh.jsx(V6,{children:(null==t?void 0:t.title)||"Attachment",...e})},q6=PB(LV,{_id:"aiChatMessageAttachmentsPreview__Close",children:Gh.jsx(CW,{iconKey:"close"})}),Y6=PB("p",{_id:"aiChatMessageAttachmentsPreview__Body"}),K6=e=>{const{selectedItem:t}=Qj();return Gh.jsx(Y6,{children:null==t?void 0:t.content,...e})},X6=PB("div",{_id:"aiChatMessage"}),Q6=e=>{const{aiChatSettings:t}=ZO(),{componentStyles:n,...r}=e,{message:a}=eB(),{logEvent:o}=bP(),i=DP(a),{conversation:s}=nP();return"user"===a.role?Gh.jsx(X6,{"data-role":a.role,children:i,...r}):Gh.jsx(X6,{"data-role":a.role,...r,children:Gh.jsx(Z3,{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=PB("div",{_id:"aiChatMessageToolbar"}),J6=e=>{var t;const{isLoading:n,messages:r}=Dj(),{message:a}=eB();return(null==(t=r.at(-1))?void 0:t.id)===(null==a?void 0:a.id)&&n||"user"===a.role?null:Gh.jsx(Z6,{...e})},e8=PB("div",{_id:"aiChatMessageToolActions"}),t8=e=>{const{children:t,...n}=e,{message:r}=eB(),{messageButtons:a}=Dj(),o=a[r.id]||[];return Gh.jsx(e8,{children:LP(t,o),...n})},n8=e=>{const{onClick:t,action:n,...r}=e,{handleAction:a}=n4(n),o=n.label||"Contact Support",i=Gh.jsxs(Gh.Fragment,{children:[n.icon&&Gh.jsx(SW,{iconSettings:n.icon}),o]}),s=n.action.type,l=PB("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:a4(t,(()=>{a()}))});return Gh.jsx(l,{...r})},r8=PB("button",{_id:"aiChatMessageAction"}),a8=e=>{var t,n,r;const{action:a,onClick:o,className:i,...s}=e,{conversation:l}=nP(),{message:c}=eB(),{isStreaming:u,messages:d}=Dj(),[p,h]=C3(),{feedback:f,submitPositiveFeedback:m,setCurrentFeedback:g,currentFeedback:y}=ID(),{logEvent:b}=bP(),[v,k]=function(){const[e,t]=Z.useState(!1);return[e,Z.useCallback((async()=>(t(!0),setTimeout((()=>{t(!1)}),1e3),!0)),[])]}(),{baseSettings:{privacyPreferences:w}}=ZO(),{optOutAllAnalytics:x}=w,E=(null==(t=d.at(-1))?void 0:t.id)===(null==c?void 0:c.id),_="assistant"===c.role;if(E&&u||!_||{copy:!1,upvote:x,downvote:x}[a])return null;const S={copy(){h(DP(c)),b({eventName:"assistant_message_copied",properties:{conversation:l}})},upvote(){m(c.id).then((()=>{k()}))},downvote(){g(c.id)}},T={copy:Gh.jsx(CW,{iconKey:p?"messageCopied":"messageCopy"}),upvote:Gh.jsx(CW,{iconKey:v?"messageCopied":"thumbsUp"}),downvote:Gh.jsx(CW,{iconKey:"thumbsDown"})},C={copy:{"data-copied":OP(p)},upvote:{"data-upvoted":OP("positive"===(null==(n=f[c.id])?void 0:n.type))},downvote:{"data-downvoted":OP("negative"===(null==(r=f[c.id])?void 0:r.type)),"data-state":null===y?"closed":"open"}};return Gh.jsx(r8,{"data-action":a,...C[a],children:T[a],"aria-label":{copy:"Copy Message",upvote:"Upvote Message",downvote:"Downvote Message"}[a],className:`${i} ${a}`,onClick:a4(o,S[a]),...s})},o8=PB("div",{_id:"aiChatMessageSources"}),i8=PB("div",{_id:"aiChatMessageSources__Header"}),s8=e=>Gh.jsx(i8,{children:"Sources",...e}),l8=PB("div",{_id:"aiChatMessageSources__List"}),c8=e=>{const{message:t}=eB(),{children:n,...r}=e,{baseSettings:{transformSource:a,organizationDisplayName:o},aiChatSettings:{shouldOpenLinksInNewTab:i},searchSettings:{tabs:s}}=ZO();if("assistant"!==t.role)return null;const l=t.links.map((e=>{const t=v4(e,"chatSourceItem",{organizationDisplayName:o,tabs:s,transformSource:a}),n=void 0!==t.shouldOpenInNewTab?t.shouldOpenInNewTab:i;return{...t,isExternal:n}}));return Gh.jsx(l8,{children:LP(n,l),...r})},u8=PB(NW,{_id:"aiChatMessageSourceItem"}),d8=e=>{var t;const{source:n,onClick:r,...a}=e,{logEvent:o}=bP(),{conversation:i}=nP();return Gh.jsx(wB,{source:n,children:Gh.jsx(u8,{"data-type":n.type,appendToUrl:n.appendToUrl,isExternal:n.isExternal,"data-breadcrumbs":!!(null==(t=n.breadcrumbs)?void 0:t.length),onClick:a4(r,(()=>{o({eventName:"assistant_source_item_clicked",properties:{conversation:i,link:n}})})),...a})})},p8=PB("div",{_id:"aiChatMessageSourceItem__Breadcrumbs"}),h8=e=>{var t;const{source:n}=xB();return(null==(t=n.breadcrumbs)?void 0:t.length)?Gh.jsx(p8,{"data-type":n.type,...e}):null},f8=PB(CW,{_id:"aiChatMessageSourceItem__BreadcrumbIcon",iconKey:"breadcrumbSeparator"}),m8=PB(SW,{_id:"aiChatMessageSourceItem__Icon"}),g8=e=>{const{source:t}=xB();return Gh.jsx(m8,{iconSettings:t.icon,"data-type":t.type,...e})},y8=PB("span",{_id:"aiChatMessageSourceItem__Title"}),b8=e=>{const{source:t}=xB();return Gh.jsx(y8,{"data-type":t.type,children:t.title,...e})},v8=PB("span",{_id:"aiChatMessageSourceItem__Tag"}),k8=e=>{const{source:t}=xB();return Gh.jsx(v8,{"data-type":t.type,...e})},w8=PB("span",{_id:"aiChatMessageSourceItem__Description"}),x8=e=>{const{source:t}=xB(),{children:n,...r}=e,a=Z.useMemo((()=>t.description?r4(t.description):[]),[t.description]);return a.length?Gh.jsx(w8,{"data-type":t.type,children:LP(n,a),...r}):null},E8=PB("span",{_id:"aiChatMessageSourceItem__DescriptionPart"}),_8=e=>{const{part:t,...n}=e,{source:r}=xB();return"string"==typeof t?t:Gh.jsx(E8,{"data-type":r.type,children:t.content,"data-highlighted":OP(t.highlighted),...n})},S8=PB(CW,{_id:"aiChatMessageSourceItem__Indicator"}),T8=e=>{const{source:t}=xB();return Gh.jsx(S8,{iconKey:t.isExternal?"openLinkInNewTab":"openLinkInSameTab",...e})},C8=PB("div",{_id:"aiChatFooter"}),A8=PB("div",{_id:"aiChatInput__Fieldset"}),N8=PB("div",{_id:"aiChatInput__Group"}),I8=PB("textarea",{_id:"aiChatInput"}),R8=Z.forwardRef((({onChange:e,onKeyDown:t,...n},r)=>{const{handleInputChange:a,handleInputKeyDown:o,input:i,error:s,shouldAutoFocusInput:l,inputRef:c}=Dj(),{aiChatSettings:u}=ZO(),d=TB(r,c),p=dD();return Z.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]),Gh.jsx(I8,{asChild:!0,ref:d,maxLength:99999,placeholder:u.placeholder,value:i,onChange:a4(e,a),onKeyDown:a4(t,o),disabled:!!s||u.isViewOnly,...n,children:Gh.jsx(KB,{})})})),O8=PB("button",{_id:"aiChatInput__SendButton"}),P8=e=>{const{handleSubmit:t,isSubmitDisabled:n,error:r}=Dj(),{aiChatSettings:a}=ZO(),{onClick:o,...i}=e;return Gh.jsx(O8,{onClick:a4(o,(()=>t())),"aria-label":"Send message",disabled:n||!!r||a.isViewOnly,...i})},L8=PB(CW,{_id:"aiChatInput__SendButtonIcon",iconKey:"chatSubmit"}),D8=PB("div",{_id:"aiChatAttachmentsBar"}),M8=e=>{var t;const{selectedWorkflow:n}=Dj();return n&&(null==(t=n.supportedInputs)?void 0:t.length)?Gh.jsx(Fj,{children:Gh.jsx(D8,{...e})}):null},F8=PB("div",{_id:"aiChatAttachmentsBar__List"}),j8=e=>{const{children:t,...n}=e,{messageAttachments:r}=Dj();return Gh.jsx(F8,{children:LP(t,r),...n})},B8=PB("div",{_id:"aiChatAttachmentsBar__Attachment"}),z8=e=>{const{attachment:t,...n}=e;return Gh.jsx(Wh,{attachment:t,children:Gh.jsx(B8,{...n})})},H8=PB(SW,{_id:"aiChatAttachmentsBar__AttachmentIcon"}),U8=e=>{var t;const{attachment:n}=qh(),r=null==(t=n.contentType)?void 0:t.attachmentIcon;return r?Gh.jsx(H8,{iconSettings:r,...e}):null},$8=PB("span",{_id:"aiChatAttachmentsBar__AttachmentTitle"}),G8=e=>{const{attachment:t}=qh();return Gh.jsx($8,{children:t.title,...e})},V8=PB("button",{_id:"aiChatAttachmentsBar__AttachmentDelete"}),W8=e=>{const{onClick:t,...n}=e,{attachment:r}=qh(),{setMessageAttachments:a}=Dj();return Gh.jsx(V8,{"aria-label":"Remove attachment",children:Gh.jsx(CW,{iconKey:"close"}),onClick:a4(t,(()=>{a((e=>e.filter((e=>e.id!==r.id))))})),...n})},q8=PB("div",{_id:"aiChatAttachmentsBar__Actions"}),Y8=PB(gj,{_id:"aiChatAttachmentsBar__InfoTip",delayDuration:0}),K8=PB(Ij,{_id:"aiChatAttachmentsBar__InfoTipIcon",children:Gh.jsx(CW,{iconKey:"info"})}),X8=PB(Oj,{_id:"aiChatAttachmentsBar__InfoTipArrow"}),Q8=PB(Rj,{_id:"aiChatAttachmentsBar__InfoTipText",side:"bottom",sideOffset:3,align:"center",children:Gh.jsxs(Gh.Fragment,{children:[Gh.jsx(X8,{}),"Attachments will be kept in context for the entire conversation."]})}),Z8=PB("div",{_id:"aiChatAttachmentsBar__Inputs"}),J8=e=>{const{children:t,...n}=e,{selectedWorkflow:r}=Dj();return(null==r?void 0:r.supportedInputs)?Gh.jsx(Z8,{children:LP(t,r.supportedInputs),...n}):null},e9=PB("button",{_id:"aiChatAttachmentsBar__Input"}),t9=e=>{const{input:t,onClick:n,...r}=e,{selectedWorkflow:a,messageAttachments:o,setMessageAttachments:i}=Dj(),{selectInput:s,onOpen:l}=jj();return Gh.jsx(e9,{children:t.displayName,onClick:a4(n,(()=>{if("FUNCTIONAL_MULTI_ATTACHMENT"===t.type){if(!a)return;return t.onInvoke(a,t,i,[...o])}s(t),l()})),...r})},n9=PB((function(e){return GV({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"}),r9=PB(NV,{_id:"aiChatAttachmentsBar__Modal"}),a9=PB(RV,{_id:"aiChatAttachmentsBar__ModalOverlay"}),o9=PB(OV,{_id:"aiChatAttachmentsBar__ModalContent","aria-describedby":void 0}),i9=PB("div",{_id:"aiChatAttachmentsBar__ModalHeader"}),s9=PB(PV,{_id:"aiChatAttachmentsBar__ModalHeading"}),l9=e=>{const{selectedInput:t}=jj(),n=`Add ${null==t?void 0:t.displayName}`;return Gh.jsx(s9,{children:n,...e})},c9=PB("span",{_id:"aiChatAttachmentsBar__ModalDescription"}),u9=e=>{var t;const{selectedInput:n}=jj(),r=null==(t=null==n?void 0:n.workflowModalProps)?void 0:t.modalHelpText;return r?Gh.jsx(c9,{children:r,...e}):null},d9=PB("div",{_id:"aiChatAttachmentsBar__ModalHelp"}),p9=PB(LV,{_id:"aiChatAttachmentsBar__ModalClose",children:Gh.jsx(CW,{iconKey:"close"})}),h9=PB("div",{_id:"aiChatAttachmentsBar__ModalBody"}),f9=PB("form",{_id:"aiChatAttachmentsBar__Form"}),m9=e=>{const{onSubmit:t,...n}=e,{form:r}=jj();return Gh.jsx(f9,{onSubmit:a4(t,r.onSubmit),...n})},g9=PB("div",{_id:"aiChatAttachmentsBar__FormTitle",role:"group"}),y9=PB("label",{_id:"aiChatAttachmentsBar__FormTitleLabel"}),b9=e=>{const{form:t,selectedInput:n}=jj();return Gh.jsx(y9,{htmlFor:`${null==n?void 0:n.id}-title`,children:t.labels.title,...e})},v9=PB("input",{_id:"aiChatAttachmentsBar__FormTitleInput"}),k9=e=>{const{onChange:t,...n}=e,{form:r,selectedInput:a}=jj();return Gh.jsx(v9,{name:"title",value:r.data.title,id:`${null==a?void 0:a.id}-title`,"data-invalid":OP(!!r.errors.title),"aria-invalid":!!r.errors.title,onChange:a4(t,r.onChange),...n})},w9=PB("span",{_id:"aiChatAttachmentsBar__FormTitleError"}),x9=e=>{const{form:t}=jj();return t.errors.title?Gh.jsx(w9,{"aria-live":"polite",children:t.errors.title,...e}):null},E9=PB("div",{_id:"aiChatAttachmentsBar__FormTitle",role:"group"}),_9=PB("label",{_id:"aiChatAttachmentsBar__FormContentLabel"}),S9=e=>{const{form:t,selectedInput:n}=jj();return Gh.jsx(_9,{htmlFor:`${null==n?void 0:n.id}-content`,children:t.labels.content,...e})},T9=PB("textarea",{_id:"aiChatAttachmentsBar__FormTitleInput"}),C9=e=>{const{onChange:t,...n}=e,{form:r,selectedInput:a}=jj();return Gh.jsx(T9,{asChild:!0,rows:4,name:"content",value:r.data.content,id:`${null==a?void 0:a.id}-content`,"data-invalid":OP(!!r.errors.content),"aria-invalid":!!r.errors.content,onChange:a4(t,r.onChange),...n,children:Gh.jsx(KB,{maxRows:10})})},A9=PB("span",{_id:"aiChatAttachmentsBar__FormContentError"}),N9=e=>{const{form:t}=jj();return t.errors.content?Gh.jsx(A9,{"aria-live":"polite",children:t.errors.content,...e}):null},I9=PB("button",{_id:"aiChatAttachmentsBar__FormSubmitButton",children:"Upload",type:"submit"}),R9=PB("div",{_id:"aiChatActionBar"}),O9=PB("div",{_id:"aiChat__ChatActions"}),P9=PB("div",{_id:"aiChatTagline__Container"}),L9=PB("span",{_id:"aiChatTagline__Text",children:"Powered by"}),D9=PB(t4,{_id:"aiChatTagline__Logo"}),M9=PB("a",{_id:"aiChatTagline__BrandName",children:"inkeep",href:"https://www.inkeep.com/",target:"_blank",rel:"noopener noreferrer"}),F9=PB(Ij,{_id:"aiChat__ChatAction"}),j9=e=>{const{action:t,onClick:n,className:r,...a}=e,{clear:o,stop:i,isLoading:s,messages:l,selectedWorkflow:c}=Dj(),{conversation:u}=nP(),{aiChatSettings:d,baseSettings:p}=ZO(),{logEvent:h}=bP(),[f,m]=C3(),[g,y]=C3();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=DP(e),o=EP(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,createdAt:void 0,updatedAt:void 0,id:Date.now().toString()+e.id,conversationId:void 0})))},{apiKey:t,analyticsApiBaseUrl:n}=p,r=await rP("",e,t,n);if(r){const e=`${d.shareChatUrlBasePath}?${JO}=${null==r?void 0:r.id}`;y(e),h({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:f,share:g};return Gh.jsx(gj,{delayDuration:0,open:v[t],children:Gh.jsx(F9,{"data-type":t,"data-copied":OP(f||g),className:`${r} ${t}`,children:Gh.jsx(z9,{action:t}),onClick:a4(n,b[t]),...a})})},B9=PB("span",{_id:"aiChat__ChatActionLabel"}),z9=e=>{const{action:t,...n}=e,{aiChatSettings:r}=ZO(),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 Gh.jsx(B9,{children:o[t],...n})},H9=PB(xj,{_id:"aiChat__ChatActionFeeback"}),U9=e=>{const{action:t,children:n,...r}=e;return Gh.jsxs(H9,{sideOffset:5,...r,children:[Gh.jsx(Oj,{}),n||{copy:"Copied!",share:"Link copied!"}[t]]})},$9=PB(DU,{_id:"aiChatHelpActions"}),G9=PB(j9,{_id:"aiChatHelpAction",action:"help"}),V9=PB("a",{_id:"aiChatHelpAction",target:"_blank",rel:"noreferrer"}),W9=e=>{const{action:t,onClick:n,...r}=e,{handleAction:a,logHelpAction:o}=n4(t),i=t.action.type,s={"aria-label":t.name,"data-name":t.name,children:t.name,onClick:a4(n,(()=>{a(),o()})),...r};return"open_link"===i?Gh.jsx(V9,{href:t.action.url,...s}):Gh.jsx(G9,{...s})},q9=PB(MU,{_id:"aiChatHelpActions__Trigger"}),Y9=Z.memo((e=>{var t;const{aiChatSettings:n}=ZO();return Gh.jsx(j9,{action:"help",...e,asChild:!0,children:Gh.jsx(q9,{children:(null==(t=n.toolbarButtonLabels)?void 0:t.getHelp)??"Get Help"})})})),K9=PB(FU,{_id:"aiChatHelpActions__Menu"}),X9=e=>Gh.jsx(K9,{side:"top",sideOffset:8,align:"center",alignOffset:-10,...e}),Q9=PB(jU,{_id:"aiChatHelpActions__MenuArrow"}),Z9=e=>{const{action:t,onClick:n,...r}=e,{handleAction:a,logHelpAction:o}=n4(t),{setOpen:i}=(()=>{const e=Z.useContext(Vj);if(!e)throw new Error("useHelpMenu must be used within a HelpMenuProvider");return e})(),s=t.action.type,l=PB("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:a4(n,(()=>{a({onOpenForm:()=>i(!1)}),o()}))});return Gh.jsx(l,{...r})},J9=PB(SW,{_id:"aiChatHelpActions_MenuItemIcon"}),e7=e=>{const{action:t,...n}=e;return t.icon?Gh.jsx(J9,{iconSettings:t.icon,...n}):null},t7=PB(NV,{_id:"aiChatFeedbackModal"}),n7=PB(RV,{_id:"aiChatFeedbackModal__Overlay"}),r7=PB(OV,{_id:"aiChatFeedbackModal__Content","aria-describedby":void 0}),a7=PB(PV,{_id:"aiChatFeedbackModal__Header",children:"Help improve my answers!"}),o7=PB(LV,{_id:"aiChatFeedbackModal__Close",children:Gh.jsx(CW,{iconKey:"close"})}),i7=PB("div",{_id:"aiChatFeedbackModal__Body"}),s7=PB("form",{_id:"aiChatFeedbackForm"}),l7=e=>{const{onSubmit:t,...n}=e,{submitNegativeFeedback:r,currentFeedback:a,setCurrentFeedback:o}=ID();return Gh.jsx(s7,{onSubmit:a4(t,(e=>{e.preventDefault();const t=e.target,n=new FormData(t),i=Object.fromEntries(n.entries());a&&(r(a,i),o(null))})),...n})},c7=PB("div",{_id:"aiChatFeedbackItem"}),u7=e=>{const{name:t,...n}=e;return Gh.jsx(zj,{name:t,children:Gh.jsx(c7,{...n})})},d7=PB(wz,{_id:"aiChatFeedbackItem__Checkbox"}),p7=e=>{const{name:t,focusItem:n}=Hj(),{onCheckedChange:r,...a}=e;return Gh.jsx(d7,{id:`feedback-${t}`,name:t,onCheckedChange:a4(r,(e=>{var t;e&&(null==(t=null==n?void 0:n.current)||t.focus())})),...a})},h7=PB(xz,{_id:"aiChatFeedbackItem__CheckboxIndicator",children:Gh.jsx(e4,{})}),f7=PB("label",{_id:"aiChatFeedbackItem__Label"}),m7=e=>{const{name:t}=Hj();return Gh.jsx(f7,{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})},g7=PB("textarea",{_id:"aiChatFeedbackItem__Description",placeholder:"Please describe"}),y7=e=>{const{name:t,focusItem:n}=Hj();return Gh.jsx(g7,{ref:n,name:`${t}:description`,...e})},b7=PB("button",{_id:"aiChatFeedbackForm__SubmitButton",children:"Submit",type:"submit"}),v7=PB("div",{_id:"aiChatForm__Wrapper"}),k7=e=>{const{form:t}=gD();return t?Gh.jsx(v7,{...e}):null},w7=PB("form",{_id:"aiChatForm"}),x7=e=>{const{onSubmit:t,...n}=e,{handleSubmit:r,isSuccess:a}=gD();return a?null:Gh.jsx(w7,{onSubmit:a4(t,r),...n})},E7=PB("button",{_id:"aiChatForm__Close",children:Gh.jsx(CW,{iconKey:"close"})}),_7=e=>{const{onClick:t,...n}=e,{closeForm:r}=gD();return Gh.jsx(E7,{onClick:a4(t,r),...n})},S7=PB("div",{_id:"aiChatForm__Header"}),T7=PB("h2",{_id:"aiChatForm__Heading"}),C7=e=>{const{form:t}=gD();return(null==t?void 0:t.heading)?Gh.jsx(T7,{children:t.heading,...e}):null},A7=PB("span",{_id:"aiChatForm__Description"}),N7=e=>{const{form:t}=gD();return(null==t?void 0:t.description)?Gh.jsx(A7,{children:t.description,...e}):null},I7=PB("div",{_id:"aiChatForm__Content"}),R7=e=>{const{children:t,...n}=e,{fields:r=[]}=gD();return Gh.jsx(I7,{children:LP(t,r),...n})},O7=PB("div",{_id:"aiChatForm__Field"}),P7=e=>{const{field:t,autoFocus:n,...r}=e,{control:a,errors:o}=gD();return Gh.jsx(SL,{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 Gh.jsx($j,{"data-invalid":OP(!!o[t.name]),field:t,fieldProps:e,autoFocus:n,children:a&&Gh.jsx(O7,{"data-input-type":t.inputType,"data-hidden":OP(t.isHidden),...r})})}})},L7=PB("label",{_id:"aiChatForm__FieldLabel"}),D7=e=>{const{field:t}=Gj();return Gh.jsx(L7,{"data-required":OP(t.isRequired),htmlFor:t.name,children:t.label,...e})},M7=PB("input",{_id:"aiChatForm__FieldText",type:"text"}),F7=e=>{const{field:t,error:n,fieldProps:{onChange:r,onBlur:a,...o},autoFocus:i}=Gj(),{onChange:s,onBlur:l,...c}=e;return Gh.jsx(M7,{id:t.name,autoFocus:i,placeholder:"placeholder"in t?t.placeholder:void 0,"data-invalid":OP(!!n),onChange:a4(s,r),onBlur:a4(l,a),...o,...c})},j7=PB(F7,{_id:"aiChatForm__FieldEmail",type:"email"}),B7=PB("input",{_id:"aiChatForm__FieldFile",type:"file",multiple:!0}),z7=e=>{const{field:t,error:n,fieldProps:{value:r,onChange:a,onBlur:o,...i},autoFocus:s}=Gj(),{onChange:l,onBlur:c,...u}=e;return Gh.jsx(B7,{id:t.name,autoFocus:s,"data-value":r,"data-invalid":OP(!!n),...u,...i,onChange:a4(l,(e=>{const t=e.target.files;a(t)})),onBlur:a4(c,o)})},H7=PB(F7,{_id:"aiChatForm__FieldTextArea",type:"textarea",asChild:!0,children:Gh.jsx(KB,{maxRows:8})}),U7=PB(wz,{_id:"aiChatForm__FieldCheckbox"}),$7=e=>{const{field:t,error:n,fieldProps:r,autoFocus:a}=Gj(),{onCheckedChange:o,...i}=e;return Gh.jsx(U7,{id:t.name,name:t.name,autoFocus:a,"data-invalid":OP(!!n),checked:r.value,onCheckedChange:a4(o,r.onChange),...i})},G7=PB(xz,{_id:"aiChatForm__FieldCheckboxIndicator",children:Gh.jsx(e4,{})}),V7=PB(EG,{_id:"aiChatForm__FieldSelect"}),W7=PB(_G,{_id:"aiChatForm__FieldSelect__Trigger"}),q7=PB(SG,{_id:"aiChatForm__FieldSelect__Value"}),Y7=PB(TG,{_id:"aiChatForm__FieldSelect__Icon",asChild:!0,children:Gh.jsx(SW,{iconSettings:{builtIn:"LuChevronDown"}})}),K7=PB(CG,{_id:"aiChatForm__FieldSelect__Content",position:"popper"}),X7=PB(AG,{_id:"aiChatForm__FieldSelect__Viewport"}),Q7=PB(NG,{_id:"aiChatForm__FieldSelect__Item"}),Z7=PB(IG,{_id:"aiChatForm__FieldSelect__ItemText"}),J7=PB(RG,{_id:"aiChatForm__FieldSelect__ItemIndicator",asChild:!0,children:Gh.jsx(SW,{iconSettings:{builtIn:"LuCheck"}})}),eee=PB("span",{_id:"aiChatForm__FieldError"}),tee=e=>{var t;const{error:n}=Gj();return n?Gh.jsx(eee,{children:null==(t=n.message)?void 0:t.toString(),...e}):null},nee=PB("span",{_id:"aiChatForm__Error"}),ree=e=>{const{formError:t}=gD();return t?Gh.jsx(nee,{children:t.message,...e}):null},aee=PB("div",{_id:"aiChatForm__Footer"}),oee=PB("button",{_id:"aiChatForm__Cancel",children:"Cancel"}),iee=e=>{const{onClick:t,...n}=e,{closeForm:r}=gD();return Gh.jsx(oee,{onClick:a4(t,r),...n})},see=PB("button",{_id:"aiChatForm__Submit",children:"Submit",type:"submit"}),lee=e=>{const{onClick:t,...n}=e,{isSubmitting:r}=gD();return Gh.jsx(see,{disabled:r,...n})},cee=PB("div",{_id:"aiChatForm__Success"}),uee=e=>{const{isSuccess:t}=gD();return t?Gh.jsx(cee,{...e}):null},dee=PB("h2",{_id:"aiChatForm__SuccessHeading"}),pee=e=>{const{form:t}=gD();return Gh.jsx(dee,{children:null==t?void 0:t.successView.heading,...e})},hee=PB(Z3,{_id:"aiChatForm__SuccessMessage"}),fee=PB("button",{_id:"aiChatForm__SuccessButton"}),mee=e=>{var t;const{onClick:n,...r}=e,{form:a,closeForm:o}=gD(),i=null==(t=null==a?void 0:a.successView)?void 0:t.doneButton;if(!i)return null;const s=i.icon&&Gh.jsx(SW,{iconSettings:i.icon}),l=i.label;return Gh.jsx(fee,{onClick:a4(n,o),children:Gh.jsxs(Gh.Fragment,{children:[s,l]}),...r})};var gee=.999,yee=/[\\\/_+.#"@\[\(\{&]/,bee=/[\\\/_+.#"@\[\(\{&]/g,vee=/[\s-]/,kee=/[\s-]/g;function wee(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),h=n.indexOf(p,a),f=0;h>=0;)(l=wee(e,t,n,r,h+1,o+1,i))>f&&(h===a?l*=1:yee.test(e.charAt(h-1))?(l*=.8,(u=e.slice(a,h-1).match(bee))&&a>0&&(l*=Math.pow(gee,u.length))):vee.test(e.charAt(h-1))?(l*=.9,(d=e.slice(a,h-1).match(kee))&&a>0&&(l*=Math.pow(gee,d.length))):(l*=.17,a>0&&(l*=Math.pow(gee,h-a))),e.charAt(h)!==t.charAt(o)&&(l*=.9999)),(l<.1&&n.charAt(h-1)===r.charAt(o+1)||r.charAt(o+1)===r.charAt(o)&&n.charAt(h-1)!==r.charAt(o))&&.1*(c=wee(e,t,n,r,h+1,o+2,i))>l&&(l=.1*c),l>f&&(f=l),h=n.indexOf(p,h+1);return i[s]=f,f}function xee(e){return e.toLowerCase().replace(kee," ")}function Eee(e,t,n){return wee(e=n&&n.length>0?""+(e+" "+n.join(" ")):e,t,xee(e),xee(t),0,0,{})}var _ee={exports:{}},See={},Tee=Z;var Cee="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Aee=Tee.useState,Nee=Tee.useEffect,Iee=Tee.useLayoutEffect,Ree=Tee.useDebugValue;function Oee(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Cee(e,n)}catch(r){return!0}}var Pee="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=Aee({inst:{value:n,getSnapshot:t}}),a=r[0].inst,o=r[1];return Iee((function(){a.value=n,a.getSnapshot=t,Oee(a)&&o({inst:a})}),[e,n,t]),Nee((function(){return Oee(a)&&o({inst:a}),e((function(){Oee(a)&&o({inst:a})}))}),[e]),Ree(n),n};See.useSyncExternalStore=void 0!==Tee.useSyncExternalStore?Tee.useSyncExternalStore:Pee,_ee.exports=See;var Lee=_ee.exports;const Dee="__ask_ai__",Mee='[cmdk-group=""]',Fee='[cmdk-group-items=""]',jee='[cmdk-item=""]',Bee=`${jee}:not([aria-disabled="true"])`,zee="cmdk-item-select",Hee="data-value",Uee=(e,t,n)=>Eee(e,t,n??[]),$ee=Z.createContext(void 0),Gee=()=>Z.useContext($ee),Vee=Z.createContext(void 0),Wee=()=>Z.useContext(Vee),qee=Z.createContext(void 0),Yee=Z.forwardRef(((e,t)=>{const n=lte((()=>new Set)),r=lte((()=>new Map)),a=lte((()=>new Map)),o=lte((()=>new Set)),i=ite(e),{label:s,children:l,value:c,onValueChange:u,filter:d,shouldFilter:p,loop:h,disablePointerSelection:f=!1,vimBindings:m=!0,defaultSearch:g,...y}=e,b=lte((()=>({search:g??"",value:e.value??e.defaultValue??"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}))),v=FO(),k=FO(),w=FO(),x=Z.useRef(null),E=pte();ste((()=>{if(void 0!==c){const e=c.trim();b.current.value=e,S.emit()}}),[c]),ste((()=>{E(6,R)}),[]);const _=BO(),S=Z.useMemo((()=>({subscribe:e=>(o.current.add(e),()=>o.current.delete(e)),snapshot:()=>b.current,setState:(e,t,n)=>{var r,a,o,s,l;if(!Object.is(b.current[e],t)){if(b.current[e]=t,"search"===e)I(),A(),E(1,N);else if("value"===e){const e=null==(a=null==(r=null==_?void 0:_.shadowHost)?void 0:r.shadowRoot)?void 0:a.activeElement;if((null==e?void 0:e.hasAttribute("cmdk-input"))||E(1,(()=>{const e=O();null==e||e.focus()})),E(7,(()=>{var e;b.current.selectedItemId=null==(e=O())?void 0:e.id,S.emit()})),n||E(5,R),void 0!==(null==(o=i.current)?void 0:o.value)){const e=t??"";return void(null==(l=(s=i.current).onValueChange)||l.call(s,e))}}S.emit()}},emit:()=>{o.current.forEach((e=>e()))}})),[]),T=Z.useMemo((()=>({value:(e,t,n)=>{var r;t!==(null==(r=a.current.get(e))?void 0:r.value)&&(a.current.set(e,{value:t,keywords:n}),b.current.filtered.items.set(e,C(t,n)),E(2,(()=>{A(),S.emit()})))},item:(e,t)=>{var o,i;return n.current.add(e),t&&(r.current.has(t)?null==(i=null==(o=r.current)?void 0:o.get(t))||i.add(e):r.current.set(t,new Set([e]))),E(3,(()=>{I(),A(),b.current.value||N(),S.emit()})),()=>{a.current.delete(e),n.current.delete(e),b.current.filtered.items.delete(e);const t=O();E(4,(()=>{I(),(null==t?void 0:t.getAttribute("id"))===e&&N(),S.emit()}))}},group:e=>(r.current.has(e)||r.current.set(e,new Set),()=>{a.current.delete(e),r.current.delete(e)}),filter:()=>!!i.current.shouldFilter,label:s||e["aria-label"]||"",getDisablePointerSelection:()=>!!i.current.disablePointerSelection,listId:v,inputId:w,labelId:k,listInnerRef:x})),[]);function C(e,t){var n;const r=(null==(n=i.current)?void 0:n.filter)??Uee;return e?null==r?void 0:r(e,b.current.search,t):0}function A(){if(!b.current.search||!1===i.current.shouldFilter)return;const e=b.current.filtered.items,t=[];b.current.filtered.groups.forEach((n=>{const a=r.current.get(n);let o=0;a.forEach((t=>{const n=e.get(t);o=Math.max(n,o)})),t.push([n,o])}));const n=x.current;P().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(Fee);if(t){const n=e.parentElement===t?e:e.closest(`${Fee} > *`);n&&t.appendChild(n)}else{const t=e.parentElement===n?e:e.closest(`${Fee} > *`);t&&(null==n||n.appendChild(t))}})),t.sort(((e,t)=>t[1]-e[1])).forEach((e=>{var t,n;const r=null==(t=x.current)?void 0:t.querySelector(`${Mee}[${Hee}="${encodeURIComponent(e[0])}"]`);null==(n=null==r?void 0:r.parentElement)||n.appendChild(r)}))}function N(){const e=P().find((e=>"true"!==e.getAttribute("aria-disabled")&&e.getAttribute("data-value")!==Dee)),t=null==e?void 0:e.getAttribute(Hee);S.setState("value",t||void 0)}function I(){var e,t;if(!b.current.search||!1===i.current.shouldFilter)return void(b.current.filtered.count=n.current.size);b.current.filtered.groups=new Set;let o=0;for(const r of n.current){const n=C((null==(e=a.current.get(r))?void 0:e.value)??"",(null==(t=a.current.get(r))?void 0:t.keywords)??[]);b.current.filtered.items.set(r,n),n>0&&o++}for(const[n,a]of r.current)for(const e of a){const t=b.current.filtered.items.get(e);if(t&&t>0){b.current.filtered.groups.add(n);break}}b.current.filtered.count=o}function R(){var e,t,n;const r=O();r&&((null==(e=r.parentElement)?void 0:e.firstChild)===r&&(null==(n=null==(t=r.closest(Mee))?void 0:t.querySelector('[cmdk-group-heading=""]'))||n.scrollIntoView({block:"nearest"})),r.scrollIntoView({block:"nearest"}))}function O(){var e;return null==(e=x.current)?void 0:e.querySelector(`${jee}[aria-selected="true"]`)}function P(){var e;return Array.from((null==(e=x.current)?void 0:e.querySelectorAll(Bee))||[])}function L(e){const t=P()[e];t&&S.setState("value",t.getAttribute(Hee))}function D(e){var t;const n=O(),r=P(),a=r.findIndex((e=>e===n));let o=r[a+e];(null==(t=i.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(Hee))}function M(e){const t=O();let n,r=null==t?void 0:t.closest(Mee);for(;r&&!n;)r=e>0?ate(r,Mee):ote(r,Mee),n=null==r?void 0:r.querySelector(Bee);n?S.setState("value",n.getAttribute(Hee)):D(e)}const F=e=>{e.preventDefault(),e.metaKey?L(P().length-1):e.altKey?M(1):D(1)},j=e=>{e.preventDefault(),e.metaKey?L(0):e.altKey?M(-1):D(-1)};return Gh.jsxs(Cz.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":m&&e.ctrlKey&&F(e);break;case"ArrowDown":F(e);break;case"p":case"k":m&&e.ctrlKey&&j(e);break;case"ArrowUp":j(e);break;case"Enter":if(!e.nativeEvent.isComposing&&229!==e.keyCode){e.preventDefault();const t=O();if(t){const e=new Event(zee);t.dispatchEvent(e)}}}},style:{display:"contents"},children:[Gh.jsx("label",{"cmdk-label":"",htmlFor:T.inputId,id:T.labelId,style:fte,children:s}),hte(e,(e=>Gh.jsx(Vee.Provider,{value:S,children:Gh.jsx($ee.Provider,{value:T,children:e})})))]})})),Kee=Z.forwardRef(((e,t)=>{var n;const{id:r}=e,a=Z.useRef(null),o=Z.useContext(qee),i=Gee(),s=ite(e),l=(null==(n=s.current)?void 0:n.forceMount)??(null==o?void 0:o.forceMount);ste((()=>{if(!l)return i.item(r,null==o?void 0:o.id)}),[l]);const c=dte(r,a,[e.value,e.children,a],e.keywords),u=Wee(),d=ute((e=>e.value&&e.value===c.current)),p=ute((e=>!!l||(!1===i.filter()||(!e.search||e.filtered.items.get(r)>0))));Z.useEffect((()=>{const t=a.current;if(!t||e.disabled)return;const n=()=>f("keyboard");return t.addEventListener(zee,n),()=>t.removeEventListener(zee,n)}),[p,e.onSelect,e.disabled]);const h=Z.useCallback((()=>{u.setState("value",c.current,!0)}),[u,c]),f=Z.useCallback(((e="click")=>{var t,n;h(),null==(n=(t=s.current).onSelect)||n.call(t,{value:c.current,trigger:e})}),[h,s,c]);if(!p)return null;const{disabled:m,value:g,onSelect:y,forceMount:b,keywords:v,onClick:k,...w}=e,x=Z.useMemo((()=>cte([a,t])),[a,t]),E=a4(k,f);return Gh.jsx(Cz.div,{ref:x,...w,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:E,onFocus:m?void 0:h,children:e.children})})),Xee=Z.forwardRef(((e,t)=>{const{heading:n,children:r,forceMount:a,...o}=e,i=FO(),s=Z.useRef(null),l=Z.useRef(null),c=FO(),u=Gee(),d=ute((e=>!!a||(!1===u.filter()||(!e.search||e.filtered.groups.has(i)))));ste((()=>u.group(i)),[]),dte(i,s,[e.value,e.heading,l]);const p=Z.useMemo((()=>({id:i,forceMount:a})),[a]);return Gh.jsxs(Cz.div,{ref:cte([s,t]),...o,"cmdk-group":"",role:"presentation",hidden:!d||void 0,children:[n&&Gh.jsx("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:c,children:n}),hte(e,(e=>Gh.jsx("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?c:void 0,children:Gh.jsx(qee.Provider,{value:p,children:e})})))]})})),Qee=Z.forwardRef(((e,t)=>{const{alwaysRender:n,...r}=e,a=Z.useRef(null),o=ute((e=>!e.search));return n||o?Gh.jsx(Cz.div,{ref:cte([a,t]),...r,"cmdk-separator":"",role:"separator"}):null})),Zee=Z.forwardRef(((e,t)=>{const{onValueChange:n,...r}=e,a=null!=e.value,o=Wee(),i=ute((e=>e.search)),s=Gee();return Z.useEffect((()=>{null!=e.value&&o.setState("search",e.value)}),[e.value]),Gh.jsx(Cz.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)}})})),Jee=Z.forwardRef(((e,t)=>{const{children:n,label:r="Suggestions",...a}=e,o=Z.useRef(null),i=Z.useRef(null),s=Gee();return Z.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)}}}),[]),Gh.jsx(Cz.div,{ref:cte([o,t]),...a,"cmdk-list":"",tabIndex:-1,"aria-label":r,id:s.listId,children:hte(e,(e=>Gh.jsx("div",{ref:cte([i,s.listInnerRef]),"cmdk-list-sizer":"",children:e})))})})),ete=Z.forwardRef(((e,t)=>{const{open:n,onOpenChange:r,overlayClassName:a,contentClassName:o,container:i,...s}=e;return Gh.jsx(NV,{open:n,onOpenChange:r,children:Gh.jsxs(IV,{container:i,children:[Gh.jsx(RV,{"cmdk-overlay":"",className:a}),Gh.jsx(OV,{"aria-label":e.label,"cmdk-dialog":"",className:o,children:Gh.jsx(Yee,{ref:t,...s})})]})})})),tte=Z.forwardRef(((e,t)=>ute((e=>0===e.filtered.count))?Gh.jsx(Cz.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null)),nte=Z.forwardRef(((e,t)=>{const{progress:n,children:r,label:a="Loading...",...o}=e;return Gh.jsx(Cz.div,{ref:t,...o,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":a,children:hte(e,(e=>Gh.jsx("div",{"aria-hidden":!0,children:e})))})})),rte=Object.assign(Yee,{List:Jee,Item:Kee,Input:Zee,Group:Xee,Separator:Qee,Dialog:ete,Empty:tte,Loading:nte});function ate(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function ote(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function ite(e){const t=Z.useRef(e);return ste((()=>{t.current=e})),t}const ste="undefined"==typeof window?Z.useEffect:Z.useLayoutEffect;function lte(e){const t=Z.useRef(void 0);return void 0===t.current&&(t.current=e()),t}function cte(e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}function ute(e){const t=Wee(),n=()=>e(t.snapshot());return Lee.useSyncExternalStore(t.subscribe,n,n)}function dte(e,t,n,r=[]){const a=Z.useRef(void 0),o=Gee();return ste((()=>{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(Hee,s),a.current=s})),a}const pte=()=>{const[e,t]=Z.useState(),n=lte((()=>new Map));return ste((()=>{n.current.forEach((e=>e())),n.current=new Map}),[e]),(e,r)=>{n.current.set(e,r),t({})}};function hte({asChild:e,children:t},n){return e&&Z.isValidElement(t)?Z.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 fte={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},mte=e=>{var t,n,r;switch(e.rootRecord.__typename){case"DocumentationRecord":{const a=yte((null==(n=null==(t=e.pathHeadings)?void 0:t.at(-1))?void 0:n.content)||""),o=yte((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}},gte=e=>{switch(e.rootRecord.__typename){case"StackOverflowRecord":return e.rootRecord.markedAsCorrectAnswer?"Resolved":void 0;case"GitHubIssueRecord":return"CLOSED"===e.rootRecord.state?"Closed":void 0}},yte=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"}};const vte=()=>{const{searchSettings:e}=ZO(),{tabs:t,searchFunctionsRef:n}=e,[r,a]=Z.useState(!1),o=Z.useRef(null),[i,s]=Z.useState(!1),l=(null==t?void 0:t.length)?"string"==typeof t[0]?t[0]:t[0][0]:"All",[c,u]=Z.useState(l),[d,p]=Z.useState([]),h=(e=>{const{baseSettings:{transformSource:t,organizationDisplayName:n},searchSettings:{tabs:r,shouldOpenLinksInNewTab:a}}=ZO();return Z.useMemo((()=>{var o;const i=r.length>0?r:["All"],s={},l=new Set,c=i.map((e=>"string"==typeof e?e:e[0]));for(const e of c)s[e]=[];for(const u of e){const e=u.url||"";if(l.has(e))continue;l.add(e);const o=v4({title:u.title,url:e,description:mte(u),type:bte(u.rootRecord.__typename),tag:gte(u),breadcrumbs:u.rootRecord.pathBreadcrumbs??[],contentType:u.rootRecord.contentType},"searchResultItem",{organizationDisplayName:n,tabs:r,transformSource:t}),i={...o,id:u.id,isExternal:void 0!==o.shouldOpenInNewTab?o.shouldOpenInNewTab:a},d=i.tabs||[];for(const t of d){const e="string"==typeof t?t:t[0];c.includes(e)?s[e].push(i):console.warn(`Tab "${e}" found in item but not configured in tabs`)}c.includes("All")&&s.All.push(i)}for(const e of Object.keys(s)){const t=i.find((t=>"string"==typeof t?t===e:t[0]===e)),n="object"==typeof t&&!0===(null==(o=t[1])?void 0:o.isAlwaysVisible);0!==s[e].length||n||delete s[e]}return s}),[e,t,n,r,a])})(d),{disableTransition:f,disabled:m}=function(){const[e,t]=Z.useState(!1);Z.useEffect((()=>{if(e){const e=setTimeout((()=>t(!1)),0);return()=>clearTimeout(e)}}),[e]);const n=Z.useCallback((()=>t(!0)),[]);return{disabled:e,disableTransition:n}}(),g=Wee();return Z.useImperativeHandle(n,(()=>({updateQuery(e){g.setState("search",e)},focusInput:()=>{var e;null==(e=o.current)||e.focus()}}))),{results:h,resultsList:d,setResultsList:p,hasContent:r&&(d.length>0||i),loading:i,setLoading:s,defaultTab:l,tab:c,setTab:u,disableTransition:f,transitionsDisabled:m,inputRef:o,showSearchResults:r,setShowSearchResults:a}},kte=Z.createContext(void 0),wte=({children:e})=>{const{logEvent:t}=fP();return Gh.jsx(kte.Provider,{value:{logEvent:t},children:e})},xte=({children:e})=>Gh.jsx(hP,{children:Gh.jsx(wte,{children:e})}),Ete=()=>{const e=Z.useContext(kte);if(!e)throw new Error("useSearchEvents must be used within a SearchEventsProvider");return e},_te=Z.createContext(void 0),Ste=e=>{const{searchSettings:{defaultQuery:t}}=ZO();return Gh.jsx(xte,{children:Gh.jsx(rte,{shouldFilter:!1,loop:!1,defaultSearch:t,children:Gh.jsx(Tte,{...e})})})},Tte=({children:e,...t})=>{const n=vte();return Gh.jsx(_te.Provider,{value:{...n,...t},children:e})},Cte=()=>{const e=Z.useContext(_te);if(!e)throw new Error("useSearch must be used within a SearchProvider");return e};var Ate="rovingFocusGroup.onEntryFocus",Nte={bubbles:!1,cancelable:!0},Ite="RovingFocusGroup",[Rte,Ote,Pte]=function(e){const t=e+"CollectionProvider",[n,r]=DD(t),[a,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=e=>{const{scope:t,children:n}=e,r=J.useRef(null),o=J.useRef(new Map).current;return Gh.jsx(a,{scope:t,itemMap:o,collectionRef:r,children:n})};i.displayName=t;const s=e+"CollectionSlot",l=J.forwardRef(((e,t)=>{const{scope:n,children:r}=e,a=LD(t,o(s,n).collectionRef);return Gh.jsx(FD,{ref:a,children:r})}));l.displayName=s;const c=e+"CollectionItemSlot",u="data-radix-collection-item",d=J.forwardRef(((e,t)=>{const{scope:n,children:r,...a}=e,i=J.useRef(null),s=LD(t,i),l=o(c,n);return J.useEffect((()=>(l.itemMap.set(i,{ref:i,...a}),()=>{l.itemMap.delete(i)}))),Gh.jsx(FD,{[u]:"",ref:s,children:r})}));return d.displayName=c,[{Provider:i,Slot:l,ItemSlot:d},function(t){const n=o(e+"CollectionConsumer",t),r=J.useCallback((()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${u}]`)),r=Array.from(n.itemMap.values()).sort(((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current)));return r}),[n.collectionRef,n.itemMap]);return r},r]}(Ite),[Lte,Dte]=DD(Ite,[Pte]),[Mte,Fte]=Lte(Ite),jte=Z.forwardRef(((e,t)=>Gh.jsx(Rte.Provider,{scope:e.__scopeRovingFocusGroup,children:Gh.jsx(Rte.Slot,{scope:e.__scopeRovingFocusGroup,children:Gh.jsx(Bte,{...e,ref:t})})})));jte.displayName=Ite;var Bte=Z.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=Z.useRef(null),h=LD(t,p),f=zU(o),[m=null,g]=tj({prop:i,defaultProp:s,onChange:l}),[y,b]=Z.useState(!1),v=$D(c),k=Ote(n),w=Z.useRef(!1),[x,E]=Z.useState(0);return Z.useEffect((()=>{const e=p.current;if(e)return e.addEventListener(Ate,v),()=>e.removeEventListener(Ate,v)}),[v]),Gh.jsx(Mte,{scope:n,orientation:r,dir:f,loop:a,currentTabStopId:m,onItemFocus:Z.useCallback((e=>g(e)),[g]),onItemShiftTab:Z.useCallback((()=>b(!0)),[]),onFocusableItemAdd:Z.useCallback((()=>E((e=>e+1))),[]),onFocusableItemRemove:Z.useCallback((()=>E((e=>e-1))),[]),children:Gh.jsx(UD.div,{tabIndex:y||0===x?-1:0,"data-orientation":r,...d,ref:h,style:{outline:"none",...e.style},onMouseDown:RD(e.onMouseDown,(()=>{w.current=!0})),onFocus:RD(e.onFocus,(e=>{const t=!w.current;if(e.target===e.currentTarget&&t&&!y){const t=new CustomEvent(Ate,Nte);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=k().filter((e=>e.focusable));$te([e.find((e=>e.active)),e.find((e=>e.id===m)),...e].filter(Boolean).map((e=>e.ref.current)),u)}}w.current=!1})),onBlur:RD(e.onBlur,(()=>b(!1)))})})})),zte="RovingFocusGroupItem",Hte=Z.forwardRef(((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:a=!1,tabStopId:o,...i}=e,s=FO(),l=o||s,c=Fte(zte,n),u=c.currentTabStopId===l,d=Ote(n),{onFocusableItemAdd:p,onFocusableItemRemove:h}=c;return Z.useEffect((()=>{if(r)return p(),()=>h()}),[r,p,h]),Gh.jsx(Rte.ItemSlot,{scope:n,id:l,focusable:r,active:a,children:Gh.jsx(UD.span,{tabIndex:u?0:-1,"data-orientation":c.orientation,...i,ref:t,onMouseDown:RD(e.onMouseDown,(e=>{r?c.onItemFocus(l):e.preventDefault()})),onFocus:RD(e.onFocus,(()=>c.onItemFocus(l))),onKeyDown:RD(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:Ute[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((()=>$te(a)))}var n,r}))})})}));Hte.displayName=zte;var Ute={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function $te(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 Gte=jte,Vte=Hte,Wte="Tabs",[qte,Yte]=DD(Wte,[Dte]),Kte=Dte(),[Xte,Qte]=qte(Wte),Zte=Z.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]=tj({prop:r,onChange:a,defaultProp:o});return Gh.jsx(Xte,{scope:n,baseId:FO(),value:d,onValueChange:p,orientation:i,dir:u,activationMode:l,children:Gh.jsx(UD.div,{dir:u,"data-orientation":i,...c,ref:t})})}));Zte.displayName=Wte;var Jte="TabsList",ene=Z.forwardRef(((e,t)=>{const{__scopeTabs:n,loop:r=!0,...a}=e,o=Qte(Jte,n),i=Kte(n);return Gh.jsx(Gte,{asChild:!0,...i,orientation:o.orientation,dir:o.dir,loop:r,children:Gh.jsx(UD.div,{role:"tablist","aria-orientation":o.orientation,...a,ref:t})})}));ene.displayName=Jte;var tne="TabsTrigger",nne=Z.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,disabled:a=!1,...o}=e,i=Qte(tne,n),s=Kte(n),l=one(i.baseId,r),c=ine(i.baseId,r),u=r===i.value;return Gh.jsx(Vte,{asChild:!0,...s,focusable:!a,active:u,children:Gh.jsx(UD.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:RD(e.onMouseDown,(e=>{a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():i.onValueChange(r)})),onKeyDown:RD(e.onKeyDown,(e=>{[" ","Enter"].includes(e.key)&&i.onValueChange(r)})),onFocus:RD(e.onFocus,(()=>{const e="manual"!==i.activationMode;u||a||!e||i.onValueChange(r)}))})})}));nne.displayName=tne;var rne="TabsContent",ane=Z.forwardRef(((e,t)=>{const{__scopeTabs:n,value:r,forceMount:a,children:o,...i}=e,s=Qte(rne,n),l=one(s.baseId,r),c=ine(s.baseId,r),u=r===s.value,d=Z.useRef(u);return Z.useEffect((()=>{const e=requestAnimationFrame((()=>d.current=!1));return()=>cancelAnimationFrame(e)}),[]),Gh.jsx(JF,{present:a||u,children:({present:n})=>Gh.jsx(UD.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 one(e,t){return`${e}-trigger-${t}`}function ine(e,t){return`${e}-content-${t}`}ane.displayName=rne;var sne=Zte,lne=ene,cne=nne,une=ane;const dne=()=>{const{setResultsList:e,setLoading:t,showSearchResults:n,setShowSearchResults:r}=Cte(),{baseSettings:a,searchSettings:o}=ZO(),{apiKey:i,aiApiBaseUrl:s,userAuthToken:l,filters:c}=a,{maxResults:u,debounceTimeMs:d,onQueryChange:p,filters:h}=o,{logEvent:f}=Ete(),m=Z.useRef({}),g=Z.useRef(null),y=Z.useRef(null),b=`${s}/graphql`,v=Z.useMemo((()=>({Authorization:`Bearer ${i}`,"Content-Type":"application/json",...l?{"User-Token":l}:{}})),[i,l]),k=Z.useCallback((async n=>{const r=new AbortController;g.current=r;try{const t=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}(b,"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:n},v,r.signal),a=null==t?void 0:t.search.searchHits;m.current[n.searchQuery]=a,e(a)}catch(Khe){if("AbortError"===Khe.name)return}finally{t(!1)}}),[b,v]),w=Z.useCallback((e=>{const t=m.current[e.searchQuery];f({eventName:"search_query_response_received",properties:{searchQuery:e.searchQuery,totalResults:null==t?void 0:t.length}})}),[]),x=()=>{g.current&&(g.current.abort(),t(!1))},E=Z.useCallback((n=>{if(y.current&&window.clearTimeout(y.current),!n.searchQuery)return x(),void e([]);y.current=window.setTimeout((()=>{x(),f({eventName:"search_query_submitted",properties:{searchQuery:n.searchQuery}}),m.current[n.searchQuery]?(e(m.current[n.searchQuery]),w(n)):(t(!0),k(n).then((()=>{w(n)})))}),d)}),[d,k]),_=ute((e=>e.search)),S=Z.useMemo((()=>({searchQuery:_,filters:{...c,...h,limit:u}})),[_,u,c,h]),T=Z.useRef(null);Z.useEffect((()=>{const e=()=>{null!==T.current&&(window.clearTimeout(T.current),T.current=null)},t=Boolean(_);return t&&!n?(e(),T.current=window.setTimeout((()=>{r(!0)}),400)):!t&&n&&(e(),r(!1)),e}),[_,n,r]),Z.useEffect((()=>{null==p||p(S.searchQuery),E(S)}),[E,S])};const pne=PB("div",{_id:"aiSearchWrapper"}),hne=e=>{const{searchSettings:{view:t}}=ZO(),{isHidden:n,hasContent:r}=Cte(),a=kD("(max-width: 768px)"),o=dD();return Gh.jsx(pne,{"data-hidden":OP(n),"data-has-content":OP(r),"data-in-modal":OP(!!o),"data-mobile":OP(a),"data-view":t,"data-dual-pane-search-expanded":OP(r&&"dual-pane"===t&&!n),...e})},fne=PB("div",{_id:"aiSearchRoot"}),mne=e=>{const{isHidden:t}=Cte(),n=kD("(max-width: 768px)");return Gh.jsx(fne,{"data-hidden":OP(t),"data-mobile":OP(n),...e})},gne=PB(rte.List,{_id:"aiSearchContent"}),yne=Z.forwardRef(((e,t)=>{const n=ute((e=>e.value));return Gh.jsx(gne,{"aria-activedescendant":`aiSearchResults__Item-${n}`,...e,ref:t})})),bne=PB("div",{_id:"aiSearchInputGroup"}),vne=PB(CW,{_id:"aiSearchInputIcon",iconKey:"search"}),kne=PB(rte.Input,{_id:"aiSearchInput"}),wne=Z.forwardRef((({onInput:e,...t},n)=>{const{inputRef:r,shouldAutoFocusInput:a}=Cte(),o=ute((e=>e.value)),i=kD("(max-width: 768px)"),{searchSettings:s}=ZO(),l=Z.useMemo((()=>s.placeholder||(i?"Search...":"Search for anything...")),[s.placeholder,i]),c=TB(n,r),u=dD();return Z.useEffect((()=>{requestAnimationFrame((()=>{a&&(null==r?void 0:r.current)&&(r.current.focus(),r.current.selectionStart=r.current.value.length)}))}),[a,r,null==u?void 0:u.isOpen]),dne(),Gh.jsx(kne,{ref:c,placeholder:l,"aria-activedescendant":`aiSearchResults__Item-${o}`,...t})})),xne=PB(SW,{_id:"aiSearchLoading",iconSettings:{builtIn:"LuLoaderCircle"}}),Ene=e=>{const{loading:t,resultsList:n}=Cte();return t&&0!==n.length?Gh.jsx(xne,{...e}):null},_ne=PB(rte.Item,{_id:"aiAskAITrigger",value:Dee}),Sne=e=>{var t,n;const{results:r,tab:a}=Cte(),o=Wee(),i=(null==(n=null==(t=r[a])?void 0:t[0])?void 0:n.id)??"NONE";return Gh.jsx(_ne,{...e,id:`aiSearchResults__Item-${Dee}`,tabIndex:0,onPointerLeave:()=>o.setState("value",i,!0)})},Tne=PB("img",{_id:"aiAskAITrigger__Icon"}),Cne=e=>{const{aiChatSettings:t}=ZO(),{aiAssistantAvatar:n}=t??{},r="string"==typeof n?n:null==n?void 0:n.light,a=iB(r,("string"==typeof n?n:null==n?void 0:n.dark)??r),[o,i]=Z.useState(a);Z.useEffect((()=>{i(a)}),[a]);return Gh.jsx(Tne,{asChild:!0,...e,children:o?Gh.jsx("img",{src:o,alt:"AI Avatar","data-type":"image",onError:a4((()=>{i(null)})),...e}):Gh.jsx(WV,{"data-type":"icon",...e})})},Ane=PB("span",{_id:"aiAskAITrigger__Label"}),Nne=PB(CW,{_id:"aiAskAITrigger__Indicator",iconKey:"openLinkInSameTab"}),Ine=PB(sne,{_id:"aiSearchResults"}),Rne=e=>{const{searchSettings:{view:t}}=ZO(),{tab:n,setTab:r,hasContent:a,isHidden:o,disableTransition:i,results:s,defaultTab:l}=Cte(),c=Wee(),u=Z.useCallback((e=>{var t;i(),r(e);const n=s[e][0]?null==(t=s[e][0])?void 0:t.id:void 0;c.setState("value",n,!0)}),[s,i]);return Z.useEffect((()=>{var e,t;let a=n in s?n:Object.keys(s)[0];if(!(null==(e=s[a])?void 0:e.length)){const e=Object.keys(s).find((e=>{var t;return null==(t=s[e])?void 0:t.length}));a=e||l}if(!a)return;r(a);const o=null==(t=s[a])?void 0:t[0];o&&c.setState("value",o.id,!0)}),[s]),Gh.jsx(Ine,{value:n,onValueChange:u,"data-has-content":OP(a),"data-dual-pane-search-expanded":OP(a&&"dual-pane"===t&&!o),...e})},One=PB("div",{_id:"aiSearchResults__Loading"}),Pne=e=>{const{loading:t,resultsList:n}=Cte();return!t||n.length>0?null:Gh.jsx(One,{...e})},Lne=PB(rte.Empty,{_id:"aiSearchResults__Empty"}),Dne=e=>{var t;const n=ute((e=>e.search)),{loading:r,results:a,tab:o}=Cte(),i=null==(t=a[o])?void 0:t.length;return r||!n||i?null:Gh.jsx(Lne,{children:"No results found.",...e})},Mne=PB(lne,{_id:"aiSearchResults__TabList"}),Fne=e=>{const{children:t,...n}=e,{searchSettings:{tabs:r}}=ZO(),{results:a,loading:o,resultsList:i}=Cte();if(o&&0===i.length)return null;const s=Object.keys(a);return r.length&&s.length?Gh.jsx(Mne,{tabIndex:-1,children:LP(t,s),...n}):null},jne=PB(cne,{_id:"aiSearchResults__Tab"}),Bne=Z.forwardRef(((e,t)=>{const n=Z.useRef(null),r=TB(t,n),{tab:a,onClick:o,...i}=e,{results:s,tab:l,inputRef:c}=Cte(),u=s[a].length,d=a===l,p=BO();return Z.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]),Gh.jsx(jne,{ref:r,"ikp-tab":"",tabIndex:d?0:-1,value:a,children:`${a} (${u})`,onClick:a4(o,(()=>{var e;null==(e=c.current)||e.focus()})),...i})})),zne=PB("div",{_id:"aiSearchResults__Content"}),Hne=PB(x$,{_id:"aiSearchResults__ScrollArea"}),Une=e=>{const{loading:t,resultsList:n}=Cte();return t&&0===n.length?null:Gh.jsx(Hne,{tabIndex:-1,...e})},$ne=PB(E$,{_id:"aiSearchResults__ScrollAreaViewport"}),Gne=Z.forwardRef((({children:e,...t},n)=>{const r=function(){const e=Z.useRef(null),t=Z.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 Z.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=TB(n,r),{tab:o}=Cte();return Z.useEffect((()=>{var e;o&&(null==(e=r.current)||e.scrollTo({top:0,behavior:"auto"}))}),[o]),Gh.jsx($ne,{ref:a,tabIndex:-1,children:Gh.jsx("div",{tabIndex:-1,style:{display:"grid"},children:e}),...t})})),Vne=PB(QU,{_id:"aiSearchResults__ScrollAreaScrollbar"}),Wne=PB(l$,{_id:"aiSearchResults__ScrollAreaThumb"}),qne=PB(_$,{_id:"aiSearchResults__ScrollAreaCorner"}),Yne=PB(une,{_id:"aiSearchResults__List"}),Kne=e=>{const{children:t,...n}=e,{results:r,tab:a}=Cte(),o=r[a]??[];return Gh.jsx(Yne,{value:a,"data-has-results":OP(o.length>0),"aria-label":"Search results",children:LP(t,o),tabIndex:-1,...n})},Xne=PB(rte.Item,{_id:"aiSearchResults__Item",asChild:!0}),Qne=Z.forwardRef((({item:e,onClick:t,onSelect:n,children:r,...a},o)=>{var i;const{searchSettings:{shouldOpenLinksInNewTab:s,view:l,searchQueryParamKey:c}}=ZO(),{logEvent:u}=Ete(),d=ute((e=>e.search)),{transitionsDisabled:p}=Cte(),h=ute((e=>e.value)),f=Z.useRef(null),m=TB(o,f),g=Z.useCallback((e=>{var t;"keyboard"===e.trigger&&(null==(t=f.current)||t.click())}),[]),y=Z.useCallback((()=>{u({eventName:"search_result_clicked",properties:{searchQuery:d,title:e.title,url:e.url}})}),[u,d,e.title,e.url]),b=Z.useMemo((()=>void 0!==e.shouldOpenInNewTab?e.shouldOpenInNewTab:s),[e.shouldOpenInNewTab,s]),v=h===e.id,k=v||("NONE"===h||h===Dee),w=Z.useMemo((()=>{const t=c?function(e,t,n){try{const r=new URL(e);return r.searchParams.set(n,t),r.toString()}catch{return e}}(e.url,d,c):e.url;return{href:t,isExternal:b,appendToUrl:e.appendToUrl,children:r,id:`aiSearchResults__Item-${e.id}`}}),[e.url,b,e.appendToUrl,r,e.id,c,d]);return Gh.jsx(wB,{source:{...e,isExternal:b},children:Gh.jsx(Xne,{ref:m,value:e.id,"data-type":e.type,"data-breadcrumbs":!!(null==(i=e.breadcrumbs)?void 0:i.length),"data-disable-transitions":OP(p),"data-view":l,onSelect:a4(n,g),onClick:a4(t,y),"data-selected":OP(v),tabIndex:k?0:-1,...a,children:Gh.jsx(NW,{...w})})})})),Zne=PB("div",{_id:"aiSearchResults__ItemBreadcrumbs"}),Jne=e=>{var t,n,r,a;const{source:o}=xB(),{tab:i}=Cte();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 Gh.jsx(Zne,{"aria-hidden":"true",children:LP(s,c),...l})},ere=PB(CW,{_id:"aiSearchResults__ItemBreadcrumbIcon",iconKey:"breadcrumbSeparator"}),tre=PB(SW,{_id:"aiSearchResults__ItemIcon"}),nre=e=>{const{source:t}=xB();return Gh.jsx(tre,{iconSettings:t.icon,"data-type":t.type,...e})},rre=PB("span",{_id:"aiSearchResults__ItemTitle"}),are=e=>{const{source:t}=xB();return Gh.jsx(rre,{"data-type":t.type,children:t.title,...e})},ore=PB("span",{_id:"aiSearchResults__ItemTag"}),ire=e=>{const{source:t}=xB();return Gh.jsx(ore,{"data-type":t.type,children:t.tag,...e})},sre=PB("span",{_id:"aiSearchResults__ItemDescription"}),lre=e=>{const{source:t}=xB(),{children:n,...r}=e,a=Z.useMemo((()=>t.description?r4(t.description):[]),[t.description]);return a.length?Gh.jsx(sre,{"data-type":t.type,"aria-hidden":"true",children:LP(n,a),...r}):null},cre=PB("span",{_id:"aiSearchResults__ItemDescriptionPart"}),ure=e=>{const{part:t,...n}=e,{source:r}=xB();return"string"==typeof t?t:Gh.jsx(cre,{"data-type":r.type,children:t.content,"data-highlighted":OP(t.highlighted),...n})},dre=PB(CW,{_id:"aiSearchResults__ItemIndicator"}),pre=e=>{const{source:t}=xB(),{searchSettings:{view:n}}=ZO();return Gh.jsx(dre,{iconKey:t.isExternal?"openLinkInNewTab":"openLinkInSameTab","data-view":n,...e})},hre=PB("div",{_id:"aiSearchResults__ItemPreview","aria-hidden":!0}),fre=e=>{const{searchSettings:{view:t,shouldOpenLinksInNewTab:n}}=ZO(),{results:r,tab:a}=Cte(),o=ute((e=>e.value)),i=r[a]??[],s=Z.useRef(null),l=Z.useMemo((()=>{if(o===Dee)return s.current;const e=i.find((e=>e.id===o));return s.current=e??null,e}),[o]);if("dual-pane"!==t||o===Dee)return null;if(!l)return null;const c=void 0!==l.shouldOpenInNewTab?l.shouldOpenInNewTab:n;return Gh.jsx(wB,{source:{...l,isExternal:c},children:Gh.jsx(hre,{...e})})},mre=PB("div",{_id:"aiSearchResults__ItemPreview__Header"}),gre=PB(NW,{_id:"aiSearchResults__ItemPreview__Heading"}),yre=e=>{const{source:t}=xB();return Gh.jsx(gre,{href:t.url,isExternal:t.isExternal,appendToUrl:t.appendToUrl,"data-type":t.type,...e})},bre=PB("span",{_id:"aiSearchResults__ItemPreview__Title"}),vre=e=>{const{source:t}=xB();return Gh.jsx(bre,{children:t.title,...e})},kre=PB(CW,{_id:"aiSearchResults__ItemPreview__Title__LinkIcon",iconKey:"openLinkInNewTab"}),wre=e=>{const{source:t}=xB();return Gh.jsx(kre,{iconKey:t.isExternal?"openLinkInNewTab":"openLinkInSameTab",...e})},xre=PB(Jne,{_id:"aiSearchResults__ItemPreview__Breadcrumbs"}),Ere=PB(ere,{_id:"aiSearchResults__ItemPreview__BreadcrumbIcon"}),_re=PB(Z3,{_id:"aiSearchResults__ItemPreview__Body"}),Sre=e=>{const{source:t}=xB(),{resultsList:n}=Cte(),r=n.find((e=>e.id===t.id)),{searchSettings:{shouldOpenLinksInNewTab:a}}=ZO();return r?Gh.jsx(_re,{shouldOpenLinksInNewTab:a,children:r.preview,...e}):null},Tre=PB("div",{_id:"aiSearchResults__ItemPreview__Outline"}),Cre=e=>{const{source:t}=xB(),{resultsList:n}=Cte(),r=n.find((e=>e.id===t.id)),a=null==r?void 0:r.rootRecord.topLevelHeadings;return(null==a?void 0:a.length)?Gh.jsx(Tre,{...e}):null},Are=PB("span",{_id:"aiSearchResults__ItemPreview__Outline__Title",children:"On this page"}),Nre=PB("ul",{_id:"aiSearchResults__ItemPreview__Outline__List"}),Ire=e=>{const{source:t}=xB(),{resultsList:n}=Cte(),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 Gh.jsx(Nre,{children:LP(i,o),...s})},Rre=PB(NW,{_id:"aiSearchResults__ItemPreview__Outline__Item"}),Ore=e=>{const{searchSettings:{shouldOpenLinksInNewTab:t}}=ZO();return Gh.jsx(Rre,{isExternal:t,...e})},Pre=PB(CW,{_id:"aiSearchResults__ItemPreview__Outline__ItemIcon",iconKey:"newLine"}),Lre=PB("span",{_id:"aiSearchResults__ItemPreview__Outline__ItemText"}),Dre=e=>Gh.jsx(Lre,{...e}),Mre=PB(SW,{_id:"aiSearchResults__ItemPreview__Outline__ItemLinkIcon",iconSettings:{builtIn:"LuLink"}}),Fre=PB("div",{_id:"aiSearchFooter"}),jre=e=>{const{hasContent:t}=Cte();return Gh.jsx(Fre,{"data-has-results":OP(t),...e})},Bre=PB("div",{_id:"aiSearchTagline__Container"}),zre=PB("span",{_id:"aiSearchTagline__Text",children:"Powered by"}),Hre=PB(t4,{_id:"aiSearchTagline__Logo"}),Ure=PB("a",{_id:"aiSearchTagline__BrandName",children:"inkeep",href:"https://www.inkeep.com/",target:"_blank",rel:"noopener noreferrer"}),$re=PB(NV,{_id:"modal"}),Gre=PB(RV,{_id:"modal__Overlay"}),Vre=PB(OV,{_id:"modal__Content","aria-describedby":void 0}),Wre=e=>{const t=kD("(max-width: 768px)");return Gh.jsx(Vre,{"data-mobile":OP(t),...e})},qre=PB(LV,{_id:"modal__Close",children:Gh.jsx(CW,{iconKey:"close"})}),Yre=e=>dD()?Gh.jsx(qre,{...e}):null,Kre={type:"object",properties:{aiAnnotations:{type:"object",properties:{answerConfidence:{anyOf:[{type:"string",const:"very_confident",description:"Very confident"},{type:"string",const:"somewhat_confident",description:"Somewhat confident"},{type:"string",const:"not_confident",description:"Not confident"},{type:"string",const:"no_sources",description:"No Sources"},{type:"string",const:"other",description:"Other"}]}},required:["answerConfidence"],additionalProperties:!0}},required:["aiAnnotations"],additionalProperties:!1},Xre=async(e,t,n)=>{var r,a,o,i;const s=await t.chat.completions.create({model:"inkeep-qa-expert",messages:e,tools:[{type:"function",function:{name:"provideAIAnnotations",description:"Provides AI confidence levels for the response",parameters:Kre}},{type:"function",function:{name:"provideRecordsConsidered",description:"Provides records considered in generating the response",parameters:{type:"object"}}}],tool_choice:"auto"},n?{headers:n}:void 0),l=null==(a=null==(r=s.choices[0])?void 0:r.message)?void 0:a.content;let c,u;const d=(null==(i=null==(o=s.choices[0])?void 0:o.message)?void 0:i.tool_calls)||[];for(const p of d){if("provideAIAnnotations"===p.function.name){c=JSON.parse(p.function.arguments).aiAnnotations}if("provideRecordsConsidered"===p.function.name){u=JSON.parse(p.function.arguments).recordsConsidered??[]}}return{answer:l||null,aiAnnotations:c,recordsConsidered:u,messages:e}},Qre=async(e,t,n)=>{var r,a;const o=JSON.stringify(e.primaryFieldValues,null,2),i=JSON.stringify(e.fieldsToGenerate,null,2),s=null==(a=null==(r=(await t.chat.completions.create({model:"inkeep-context-expert",messages:[{role:"system",content:"You are a helpful assistant that suggests form field values based on context. You will receive form field information including field names, descriptions, input types, and available options for select fields.\n\nFor each field, consider its description, input type, and available options (for select fields).\n\nYou must respond with a JSON object where keys are the field names and values match the expected input type and length for that field."},{role:"user",content:`Based on these primary field values:\n${o}\n\nSuggest values for these additional fields:\n${i}`}],response_format:{type:"json_object"}},n?{headers:n}:void 0)).choices[0])?void 0:r.message)?void 0:a.content;return{suggestedValues:s?JSON.parse(s):{}}},Zre=async(e,t)=>{if(t)return;const n=await _D(`${e}/v1/challenge`);return n?{"X-INKEEP-CHALLENGE-SOLUTION":btoa(JSON.stringify(n))}:void 0},Jre=e=>{var t;const{formSettings:n}=e,{baseSettings:r}=ZO(),{conversation:a}=nP(),{logEvent:o}=bP(),{aiApiBaseUrl:i,shouldBypassCaptcha:s}=r,l=Z.useMemo((()=>new db({baseURL:`${i}/v1`,apiKey:r.apiKey,dangerouslyAllowBrowser:!0})),[r.apiKey,i]),[c,u]=Z.useState(!1),[d,p]=Z.useState(!1),[h,f]=Z.useState(!1),[m,g]=Z.useState({}),y=Z.useMemo((()=>{const{primary:e,secondary:t}=n;return hD([...e.fields,...t.fields])}),[n]),{control:b,handleSubmit:v,formState:{errors:k,isSubmitting:w,isSubmitSuccessful:x},reset:E,trigger:_,setValue:S,setError:T}=lD({defaultValues:y});Z.useEffect((()=>{y&&E(y)}),[E,y]);const C=v((async e=>{try{await n.buttons.submit.onSubmit({values:e,conversation:a}),o({eventName:"intelligent_form_submitted",properties:{conversation:a,values:e}})}catch(t){T("root.serverError",{message:t instanceof Error?t.message:"Something went wrong."})}})),A=null==(t=null==k?void 0:k.root)?void 0:t.serverError;return{formSettings:n,control:b,errors:k,isSubmitSuccessful:x,isSubmitting:w,handleSubmit:C,loading:c,formError:A,submittedPrimaryForm:d,handleSubmitPrimaryForm:async()=>{var e;const t=n.primary.fields.map((e=>e.name));if(!(await _(t)))return;p(!0),u(!0);const r=b._formValues,a=n.primary.fields.reduce(((e,t)=>(e[t.name]=r[t.name],e)),{}),c=n.secondary.fields.filter((e=>!1!==e.shouldPrefillWithAI)),d=(e=>{const t=JSON.stringify(e,null,2);return[{id:`${Date.now()}1`,role:"system",content:'\n <guidance>\n <rule>\n <name>Direct Answer Provision</name>\n <conditions>\n <condition>When responding to form field inputs</condition>\n </conditions>\n <actions>\n <action>\n **Provide direct, complete answers** based solely on the form fields provided. Never ask follow-up questions or request additional information.\n\n ✅ Good Example:\n "Based on the provided information, the issue appears to be X. Here\'s how to resolve it..."\n\n ❌ Bad Example:\n "Could you provide more details about...?" or "Would you like me to explain...?"\n\n Guidelines:\n - Always provide the best possible answer with available information\n - Never use phrases like "would you like" or "do you need"\n - Focus on actionable solutions rather than gathering more information\n - Maintain a professional, direct tone throughout the response\n </action>\n </actions>\n </rule>\n </guidance>\n '},{id:`${Date.now()}2`,role:"user",content:`${t}`}]})(a);o({eventName:"intelligent_form_primary_section_submitted",properties:{}},d);try{const t=await Zre(i,s),n=await Zre(i,s),[r,u]=await Promise.all([Xre(d,l,t),Qre({primaryFieldValues:a,fieldsToGenerate:c},l,n)]);if(u.suggestedValues)for(const[e,a]of Object.entries(u.suggestedValues))S(e,a);const p=null==(e=r.aiAnnotations)?void 0:e.answerConfidence,h=p&&["very_confident","somewhat_confident"].includes(p),m=r.recordsConsidered&&r.recordsConsidered.length>0;h&&m&&r.answer?(g({answer:r.answer,answerConfidence:p,recordsConsidered:r.recordsConsidered}),o({eventName:"intelligent_form_ai_response_provided",properties:{recordsConsidered:r.recordsConsidered}},[...d,{id:Date.now().toString(),role:"assistant",content:r.answer,links:[]}])):(f(!0),g({answer:null,recordsConsidered:r.recordsConsidered,suggestedValues:u.suggestedValues}))}catch(h){console.error(h),f(!0)}finally{u(!1)}},aiResponse:m,showSecondaryFields:h,setShowSecondaryFields:f}},eae=Z.createContext(void 0),tae=({children:e,formSettings:t})=>{const n=Jre({formSettings:t});return Gh.jsx(eae.Provider,{value:n,children:e})},nae=e=>Gh.jsx(tP,{children:Gh.jsx(yP,{children:Gh.jsx(tae,{...e})})}),rae=()=>{const e=Z.useContext(eae);if(!e)throw new Error("useIntelligentForm must be used within a IntelligentFormProvider");return e},aae=Z.createContext(void 0),oae=({children:e,field:t,fieldProps:n,autoFocus:r})=>{const{errors:a}=rae(),o=a[t.name];return Gh.jsx(aae.Provider,{value:{field:t,fieldProps:n,error:o,autoFocus:r},children:e})},iae=()=>{const e=Z.useContext(aae);if(!e)throw new Error("useIntelligentFormField must be used within a IntelligentFormFieldProvider");return e},sae=PB("form",{_id:"intelligentForm__Root"}),lae=e=>{const{onSubmit:t,...n}=e,{handleSubmit:r}=rae();return Gh.jsx(sae,{onSubmit:a4(t,r),...n})},cae=PB("h2",{_id:"intelligentForm__Heading",children:"Contact Support"}),uae=PB("div",{_id:"intelligentForm__Content"}),dae=PB(x$,{_id:"intelligentForm__Content__ScrollArea"}),pae=PB(E$,{_id:"intelligentForm__Content__ScrollAreaViewport"}),hae=e=>{const{children:t,...n}=e;return Gh.jsx(pae,{children:Gh.jsx("div",{"data-part":"grid",style:{display:"grid"},children:t}),...n})},fae=PB(QU,{_id:"intelligentForm__Content__ScrollAreaScrollbar"}),mae=PB(l$,{_id:"intelligentForm__Content__ScrollAreaThumb"}),gae=PB(_$,{_id:"intelligentForm__Content__ScrollAreaCorner"}),yae=PB("div",{_id:"intelligentForm__Success"}),bae=e=>{const{children:t,...n}=e,{isSubmitSuccessful:r}=rae();return r?Gh.jsx(yae,{...n,children:t}):null},vae=PB(SW,{_id:"intelligentForm__SuccessIcon"}),kae=e=>{const{formSettings:{successView:t}}=rae();return Gh.jsx(vae,{iconSettings:t.icon??{builtIn:"LuCircleCheck"},...e})},wae=PB("h2",{_id:"intelligentForm__SuccessHeading"}),xae=e=>{const{formSettings:{successView:t}}=rae();return Gh.jsx(wae,{children:t.heading,...e})},Eae=PB("p",{_id:"intelligentForm__SuccessMessage"}),_ae=e=>{const{formSettings:{successView:t}}=rae();return Gh.jsx(Eae,{children:t.message,...e})},Sae=PB("div",{_id:"intelligentForm__PrimaryForm"}),Tae=PB("div",{_id:"intelligentForm__PrimaryFormFields"}),Cae=PB("p",{_id:"intelligentForm__PrimaryForm__Description"}),Aae=e=>{const{formSettings:{primary:t}}=rae();return t.description?Gh.jsx(Cae,{children:t.description,...e}):null},Nae=e=>{const{children:t,...n}=e,{formSettings:{primary:r}}=rae();return Gh.jsx(Tae,{children:LP(t,r.fields),...n})},Iae=PB("button",{_id:"intelligentForm__PrimaryFormSubmit",type:"button",children:"Next"}),Rae=e=>{const{onClick:t,...n}=e,{submittedPrimaryForm:r,handleSubmitPrimaryForm:a}=rae();return Gh.jsx(Iae,{"data-submitted":OP(r),onClick:a4(t,a),...n})},Oae=PB("div",{_id:"intelligentForm__Field"}),Pae=e=>{const{field:t,autoFocus:n,...r}=e,{control:a,errors:o}=rae();return Gh.jsx(SL,{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 Gh.jsx(oae,{"data-invalid":OP(!!o[t.name]),field:t,fieldProps:e,autoFocus:n,children:a&&Gh.jsx(Oae,{"data-input-type":t.inputType,"data-hidden":OP(t.isHidden),...r})})}})},Lae=PB("label",{_id:"intelligentForm__FieldLabel"}),Dae=e=>{const{field:t}=iae();return Gh.jsx(Lae,{"data-required":OP(t.isRequired),htmlFor:t.name,children:t.label,...e})},Mae=PB("input",{_id:"intelligentForm__FieldText",type:"text"}),Fae=Z.forwardRef(((e,t)=>{const{field:n,error:r,fieldProps:{onChange:a,onBlur:o,ref:i,...s},autoFocus:l}=iae(),c=TB(t,i);return Gh.jsx(Mae,{asChild:"textarea"===n.inputType,ref:c,id:n.name,autoFocus:l,placeholder:"placeholder"in n?n.placeholder:void 0,"data-invalid":OP(!!r),onChange:a4(e.onChange,a),onBlur:a4(e.onBlur,o),...s,...e,children:"textarea"===n.inputType?Gh.jsx(KB,{minRows:3,maxRows:10}):null})})),jae=PB(Fae,{_id:"intelligentForm__FieldEmail",type:"email"}),Bae=PB("input",{_id:"intelligentForm__FieldFile",type:"file",multiple:!0}),zae=e=>{const{field:t,error:n,fieldProps:{value:r,onChange:a,onBlur:o,...i},autoFocus:s}=iae(),{onChange:l,onBlur:c,...u}=e;return Gh.jsx(Bae,{id:t.name,autoFocus:s,"data-value":r,"data-invalid":OP(!!n),...u,...i,onChange:a4(l,(e=>{const t=e.target.files;a(t)})),onBlur:a4(c,o)})},Hae=PB(Fae,{_id:"intelligentForm__FieldTextArea",type:"textarea",asChild:!0,children:Gh.jsx(KB,{rows:1,maxRows:8})}),Uae=PB(wz,{_id:"intelligentForm__FieldCheckbox"}),$ae=e=>{const{field:t,error:n,fieldProps:r,autoFocus:a}=iae(),{onCheckedChange:o,...i}=e;return Gh.jsx(Uae,{id:t.name,name:t.name,autoFocus:a,"data-invalid":OP(!!n),checked:r.value,onCheckedChange:a4(o,r.onChange),...i})},Gae=PB(xz,{_id:"intelligentForm__FieldCheckboxIndicator",children:Gh.jsx(e4,{})}),Vae=PB(EG,{_id:"intelligentForm__FieldSelect"}),Wae=PB(_G,{_id:"intelligentForm__FieldSelect__Trigger"}),qae=PB(SG,{_id:"intelligentForm__FieldSelect__Value"}),Yae=PB(TG,{_id:"intelligentForm__FieldSelect__Icon",asChild:!0,children:Gh.jsx(SW,{iconSettings:{builtIn:"LuChevronDown"}})}),Kae=PB(CG,{_id:"intelligentForm__FieldSelect__Content",position:"popper"}),Xae=PB(AG,{_id:"intelligentForm__FieldSelect__Viewport"}),Qae=PB(NG,{_id:"intelligentForm__FieldSelect__Item"}),Zae=PB(IG,{_id:"intelligentForm__FieldSelect__ItemText"}),Jae=PB(RG,{_id:"intelligentForm__FieldSelect__ItemIndicator",asChild:!0,children:Gh.jsx(SW,{iconSettings:{builtIn:"LuCheck"}})}),eoe=PB("span",{_id:"intelligentForm__FieldError"}),toe=e=>{var t;const{error:n}=iae();return n?Gh.jsx(eoe,{children:null==(t=n.message)?void 0:t.toString(),...e}):null},noe=PB("div",{_id:"intelligentForm__BotHeading"}),roe=PB(SW,{_id:"intelligentForm__BotHeading__Icon",iconSettings:{builtIn:"LuSparkles"}}),aoe=PB("div",{_id:"intelligentForm__BotHeading__Name"}),ooe=e=>{const{baseSettings:t}=ZO(),{organizationDisplayName:n}=t??{},{formSettings:{aiAssistantName:r}}=rae();return Gh.jsx(aoe,{children:r??n,...e})},ioe=PB("div",{_id:"intelligentForm__Loading"}),soe=Z.forwardRef((({...e},t)=>{const{loading:n}=rae(),r=Z.useRef(null),a=TB(t,r);return Z.useEffect((()=>{n&&r.current&&r.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}),[n]),n?Gh.jsx(ioe,{ref:a,...e}):null})),loe=PB("div",{_id:"intelligentForm__ConfidentResponse"}),coe=Z.forwardRef((({...e},t)=>{const{aiResponse:n,loading:r}=rae(),a=Z.useRef(null),o=TB(t,a);return Z.useEffect((()=>{!r&&n.answerConfidence&&a.current&&a.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}),[r,n.answerConfidence]),n.answerConfidence?Gh.jsx(loe,{ref:o,...e}):null})),uoe=PB(Z3,{_id:"intelligentForm__ConfidentAnswer"}),doe=e=>{const{aiResponse:t}=rae();return Gh.jsx(uoe,{shouldOpenLinksInNewTab:!0,children:t.answer,...e})},poe=PB("button",{_id:"intelligentForm__ConfidentResponseButton",type:"button"}),hoe=e=>{const{onClick:t,...n}=e,{showSecondaryFields:r,setShowSecondaryFields:a}=rae();return Gh.jsx(poe,{"data-escalated":OP(r),onClick:a4(t,(()=>{a(!0)})),...n})},foe=PB(SW,{_id:"intelligentForm__ConfidentResponseButton__Icon",iconSettings:{builtIn:"LuUser"}}),moe=PB("span",{_id:"intelligentForm__ConfidentResponseButton__Label",children:"Escalate to human"}),goe=PB("div",{_id:"intelligentForm__SecondaryForm"}),yoe=Z.forwardRef((({...e},t)=>{const{showSecondaryFields:n}=rae(),r=Z.useRef(null),a=TB(t,r);return Z.useEffect((()=>{n&&r.current&&r.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}),[n]),n?Gh.jsx(goe,{ref:a,...e}):null})),boe=PB("p",{_id:"intelligentForm__SecondaryForm__Description"}),voe=e=>{const{formSettings:{secondary:t},aiResponse:{answerConfidence:n}}=rae();if(!t.description)return null;const r="string"==typeof t.description?t.description:n?t.description.confident:t.description.default;return Gh.jsx(boe,{children:r,...e})},koe=PB("div",{_id:"intelligentForm__SecondaryFormFields"}),woe=e=>{const{children:t,...n}=e,{formSettings:{secondary:r}}=rae();return Gh.jsx(koe,{children:LP(t,r.fields),...n})},xoe=PB("button",{_id:"intelligentForm__SecondaryFormSubmit",type:"submit",children:"Submit"}),Eoe=e=>{const{formSettings:t}=rae(),{label:n}=t.buttons.submit;return Gh.jsx(xoe,{children:n??"Submit",...e})},_oe=PB("span",{_id:"intelligentForm__Error"}),Soe=e=>{const{formError:t}=rae();return t?Gh.jsx(_oe,{children:t.message,...e}):null},Toe=PB("div",{_id:"intelligentForm__Sources"}),Coe=PB("p",{_id:"intelligentForm__SourcesCaption",children:"Here are the sources I considered:"}),Aoe=PB("div",{_id:"intelligentForm__SourcesList"}),Noe=e=>{const{children:t,...n}=e,{baseSettings:{transformSource:r,organizationDisplayName:a}}=ZO(),{aiResponse:{recordsConsidered:o}}=rae();if(!o)return null;const i=o.reduce(((e,t)=>{const n=v4(t,"intelligentFormSource",{organizationDisplayName:a,transformSource:r});return e.some((e=>e.url===n.url))||e.push(n),e}),[]);return Gh.jsx(Aoe,{children:LP(t,i),...n})},Ioe=PB(NW,{_id:"intelligentForm__Source"}),Roe=e=>{const{source:t,...n}=e;return Gh.jsx(wB,{source:{...t,isExternal:!!t.shouldOpenInNewTab},children:Gh.jsx(Ioe,{"data-type":t.type,appendToUrl:t.appendToUrl,href:t.url,isExternal:!1!==t.shouldOpenInNewTab,...n})})},Ooe=PB(SW,{_id:"intelligentForm__SourceIcon"}),Poe=e=>{const{source:t}=xB();return Gh.jsx(Ooe,{iconSettings:t.icon,"data-type":t.type,...e})},Loe=PB("span",{_id:"intelligentForm__SourceTitle"}),Doe=e=>{const{source:t}=xB();return Gh.jsx(Loe,{"data-type":t.type,children:t.title,...e})},Moe=PB("div",{_id:"chatButton__Container"}),Foe=PB("button",{_id:"chatButton__Button"}),joe=PB("div",{_id:"chatButton__Text"}),Boe=PB(iz,{_id:"chatButton__AvatarContent"}),zoe=PB(sz,{_id:"chatButton__AvatarImage"}),Hoe=Z.memo((e=>{const{onLoadingStatusChange:t,avatar:n,...r}=e,{aiChatSettings:a}=ZO(),{aiAssistantAvatar:o}=a??{},i="string"==typeof n?n:iB(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]=Z.useState(i??s);Z.useEffect((()=>{c(i??s)}),[i,s]);return l?Gh.jsx(zoe,{src:l,"data-type":"image",onLoadingStatusChange:a4(t,(e=>{"error"===e&&c(null)})),...r}):Gh.jsx(WV,{"data-type":"icon",...e})})),Uoe=PB("div",{_id:"searchBar__Container"}),$oe=PB("button",{_id:"searchBar__Button",type:"button"}),Goe=PB("div",{_id:"searchBar__ContentWrapper"}),Voe=PB("div",{_id:"searchBar__Text"}),Woe=e=>{const{searchSettings:{placeholder:t}}=ZO();return Gh.jsx(Voe,{...e,children:t})},qoe=PB(CW,{_id:"searchBar__Icon",iconKey:"search"}),Yoe=PB("kbd",{_id:"searchBar__KbdWrapper"}),Koe=PB("kbd",{_id:"searchBar__KbdShortcutKey"}),Xoe=e=>{const{shortcutKey:t,...n}=e;return Gh.jsx(Koe,{...n,children:null==t?void 0:t.toUpperCase()})},Qoe=()=>{var e,t;if("undefined"==typeof window)return!1;const n=null==(t=null==(e=window.navigator)?void 0:e.userAgent)?void 0:t.toLowerCase();return n.includes("macintosh")||n.includes("mac os x")},Zoe=PB("kbd",{_id:"searchBar__Ctrl",children:"Ctrl"}),Joe=PB(CW,{_id:"searchBar__CmdIcon",iconKey:"command"}),eie=e=>{const{shortcutKey:t,...n}=e;return Gh.jsx(Gh.Fragment,{children:t?Qoe()?Gh.jsx(Joe,{...n}):Gh.jsx(Zoe,{...n}):null})};const tie={width:void 0,height:void 0};function nie(e){const{ref:t,box:n="content-box"}=e,[{width:r,height:a},o]=Z.useState(tie),i=function(){const e=Z.useRef(!1);return Z.useEffect((()=>(e.current=!0,()=>{e.current=!1})),[]),Z.useCallback((()=>e.current),[])}(),s=Z.useRef({...tie}),l=Z.useRef(void 0);return l.current=e.onResize,Z.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=rie(e,t,"inlineSize"),a=rie(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 rie(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 aie="undefined"!=typeof document?Z.useLayoutEffect:Z.useEffect;function oie(e){const{children:t,target:n,tag:r,host:a}=e,o=Z.useRef(null),i=Z.useRef(null),[,s]=Z.useReducer((e=>e+1),0);aie((()=>{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?ue.createPortal(t,l):Z.createElement("span",{ref:o})}const iie=({children:e,...t})=>{const{baseSettings:n}=ZO(),{rootElement:r}=n;return Gh.jsx(oie,{host:r,...t,children:Gh.jsx(bB,{children:e})})},sie=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,lie=C5,cie=(e,t)=>n=>{var r;if(null==(null==t?void 0:t.variants))return lie(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=sie(t)||sie(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 lie(e,i,l,null==n?void 0:n.class,null==n?void 0:n.className)},uie=cie(["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"}}),die=cie(["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","focus-visible:ring-gray-500","dark:focus-visible:ring-white-alpha-900","focus-visible:ring-2","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"}}),pie=cie("",{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:[die({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"]}}}),hie=cie("",{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"]}}}),fie=cie(["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"]}}}),mie=cie("size-4 inline-block leading-[1em] shrink-0 text-current align-middle"),gie=cie(["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"}}}),yie=cie(["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-gray-500","dark:focus-visible:ring-white-alpha-900 dark:focus-visible:ring-offset-gray-950","hover:underline"]),bie=cie("tracking-tight font-semibold",{variants:{size:{lg:"text-xl",md:"text-md"}},defaultVariants:{size:"md"}}),vie=cie("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]"}}}),kie=cie("",{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:""}}}),wie=cie(["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"]),xie=cie(["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 "]),Eie=cie("",{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]"]}}}),_ie=cie("",{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:[die({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"]}}}),Sie=cie("",{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","focus:outline-none"],arrow:"fill-white dark:fill-gray-dark-800"}}}),Tie=cie("",{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"}}}),Cie=cie("",{variants:{slot:{trigger:[gie({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"]}}}),Aie=cie(["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]"]),Nie=e=>{const t=Pie(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),Iie(n,t)||Oie(e)},getConflictingClassGroupIds:(e,t)=>{const a=n[e]||[];return t&&r[e]?[...a,...r[e]]:a}}},Iie=(e,t)=>{var n;if(0===e.length)return t.classGroupId;const r=e[0],a=t.nextPart.get(r),o=a?Iie(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},Rie=/^\[(.+)\]$/,Oie=e=>{if(Rie.test(e)){const t=Rie.exec(e)[1],n=null==t?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Pie=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Fie(Object.entries(e.classGroups),n).forEach((([e,n])=>{Lie(n,r,e,t)})),r},Lie=(e,t,n,r)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return Mie(e)?void Lie(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach((([e,a])=>{Lie(a,Die(t,e),n,r)}))}else{(""===e?t:Die(t,e)).classGroupId=n}}))},Die=(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},Mie=e=>e.isThemeGetter,Fie=(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,jie=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)}}},Bie=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},zie=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},Hie=/\s+/;function Uie(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=$ie(e))&&(r&&(r+=" "),r+=t);return r}const $ie=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=$ie(e[r]))&&(n&&(n+=" "),n+=t);return n};function Gie(e,...t){let n,r,a,o=function(s){const l=t.reduce(((e,t)=>t(e)),e());return n=(e=>({cache:jie(e.cacheSize),parseClassName:Bie(e),...Nie(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(Hie);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),h=r(p?u.substring(0,d):u);if(!h){if(!p){s=e+(s.length>0?" "+s:s);continue}if(h=r(u),!h){s=e+(s.length>0?" "+s:s);continue}p=!1}const f=zie(t).join(":"),m=c?f+"!":f,g=m+h;if(o.includes(g))continue;o.push(g);const y=a(h,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(Uie.apply(null,arguments))}}const Vie=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},Wie=/^\[(?:([a-z-]+):)?(.+)\]$/i,qie=/^\d+\/\d+$/,Yie=new Set(["px","full","screen"]),Kie=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Xie=/\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$/,Qie=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Zie=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Jie=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ese=e=>nse(e)||Yie.has(e)||qie.test(e),tse=e=>mse(e,"length",gse),nse=e=>Boolean(e)&&!Number.isNaN(Number(e)),rse=e=>mse(e,"number",nse),ase=e=>Boolean(e)&&Number.isInteger(Number(e)),ose=e=>e.endsWith("%")&&nse(e.slice(0,-1)),ise=e=>Wie.test(e),sse=e=>Kie.test(e),lse=new Set(["length","size","percentage"]),cse=e=>mse(e,lse,yse),use=e=>mse(e,"position",yse),dse=new Set(["image","url"]),pse=e=>mse(e,dse,vse),hse=e=>mse(e,"",bse),fse=()=>!0,mse=(e,t,n)=>{const r=Wie.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))},gse=e=>Xie.test(e)&&!Qie.test(e),yse=()=>!1,bse=e=>Zie.test(e),vse=e=>Jie.test(e),kse=Gie((()=>{const e=Vie("colors"),t=Vie("spacing"),n=Vie("blur"),r=Vie("brightness"),a=Vie("borderColor"),o=Vie("borderRadius"),i=Vie("borderSpacing"),s=Vie("borderWidth"),l=Vie("contrast"),c=Vie("grayscale"),u=Vie("hueRotate"),d=Vie("invert"),p=Vie("gap"),h=Vie("gradientColorStops"),f=Vie("gradientColorStopPositions"),m=Vie("inset"),g=Vie("margin"),y=Vie("opacity"),b=Vie("padding"),v=Vie("saturate"),k=Vie("scale"),w=Vie("sepia"),x=Vie("skew"),E=Vie("space"),_=Vie("translate"),S=()=>["auto",ise,t],T=()=>[ise,t],C=()=>["",ese,tse],A=()=>["auto",nse,ise],N=()=>["","0",ise],I=()=>[nse,ise];return{cacheSize:500,separator:":",theme:{colors:[fse],spacing:[ese,tse],blur:["none","",sse,ise],brightness:I(),borderColor:[e],borderRadius:["none","","full",sse,ise],borderSpacing:T(),borderWidth:C(),contrast:I(),grayscale:N(),hueRotate:I(),invert:N(),gap:T(),gradientColorStops:[e],gradientColorStopPositions:[ose,tse],inset:S(),margin:S(),opacity:I(),padding:T(),saturate:I(),scale:I(),sepia:N(),skew:I(),space:T(),translate:T()},classGroups:{aspect:[{aspect:["auto","square","video",ise]}],container:["container"],columns:[{columns:[sse]}],"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",ise]}],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",ase,ise]}],basis:[{basis:S()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ise]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",ase,ise]}],"grid-cols":[{"grid-cols":[fse]}],"col-start-end":[{col:["auto",{span:["full",ase,ise]},ise]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[fse]}],"row-start-end":[{row:["auto",{span:[ase,ise]},ise]}],"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",ise]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ise]}],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",ise,t]}],"min-w":[{"min-w":[ise,t,"min","max","fit"]}],"max-w":[{"max-w":[ise,t,"none","full","min","max","fit","prose",{screen:[sse]},sse]}],h:[{h:[ise,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ise,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ise,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ise,t,"auto","min","max","fit"]}],"font-size":[{text:["base",sse,tse]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",rse]}],"font-family":[{font:[fse]}],"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",ise]}],"line-clamp":[{"line-clamp":["none",nse,rse]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ese,ise]}],"list-image":[{"list-image":["none",ise]}],"list-style-type":[{list:["none","disc","decimal",ise]}],"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",ese,tse]}],"underline-offset":[{"underline-offset":["auto",ese,ise]}],"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",ise]}],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",ise]}],"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",use]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",cse]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},pse]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[f]}],"gradient-via-pos":[{via:[f]}],"gradient-to-pos":[{to:[f]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],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":[ese,ise]}],"outline-w":[{outline:[ese,tse]}],"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":[ese,tse]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",sse,hse]}],"shadow-color":[{shadow:[fse]}],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",sse,ise]}],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",ise]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",ise]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",ise]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[ase,ise]}],"translate-x":[{"translate-x":[_]}],"translate-y":[{"translate-y":[_]}],"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",ise]}],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",ise]}],"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",ise]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[ese,tse,rse]}],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 wse(...e){return kse(C5(e))}const xse=e=>e?"":void 0,Ese=cie("",{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:[wse(die({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")],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"]}}}),_se={markdownH1:wse(bie({size:"lg"}),"mb-3"),markdownH2:wse(bie({size:"md"}),"mb-2"),markdownP:wse("mb-3 break-words whitespace-pre-wrap","[&+ol,&+li]:mt-0"),markdownLi:wse("[&_a]:break-words [&_a]:inline"),markdownUl:vie({style:"unordered"}),markdownOl:wse(vie({style:"ordered"}),"[inset-inline-start:var(--start,0px)]","[counter-reset:item_calc(var(--start,0)_-_1)]"),markdownLink:wse(yie(),"text-inkeep-primary-stronger hover:text-inkeep-primary-strong","dark:text-inkeep-expanded-primary-100 dark:hover:text-inkeep-expanded-primary-300"),markdownSourceLink:wie(),markdownTable:kie({slot:"root"}),markdownTh:kie({slot:"th"}),markdownTd:kie({slot:"td"}),markdownCode:xie(),codeblockContainer:Eie({slot:"container"}),codeblockHeader:Eie({slot:"header"}),codeblockCopyButton:wse(die({}),Eie({slot:"copyButton"})),codeblockHighlighterWrapper:wse(),codeblockHighlighter:Eie({slot:"highlighter"}),codeblockCode:"font-mono",markdownInput:wse("mr-1")},Sse=["Thinking","Looking for content","Analyzing"];function Tse(){const[e,t]=Z.useState(0);return Z.useEffect((()=>{const e=setInterval((()=>{t((t=>t+1<Sse.length?t+1:(clearInterval(e),t)))}),3500);return()=>clearInterval(e)}),[]),Gh.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:[Gh.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:Sse[e]}),Gh.jsx("div",{className:"flex space-x-1",children:[0,1,2].map((e=>Gh.jsx("span",{className:"animate-bounce-dot opacity-30",style:{animationDelay:.2*e+"s"},children:"."},e)))})]})}const Cse=()=>Array.from({length:3}).map(((e,t)=>{const n=t%2==0;return Gh.jsxs("div",{className:wse("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":xse(n),children:[Gh.jsx("div",{"data-even":xse(n),className:wse(Aie(),"h-12 w-12 rounded-full","data-[even]:mr-4 ml-4 data-[even]:ml-0")}),Gh.jsxs("div",{"data-even":xse(n),className:"flex flex-col gap-2 items-end data-[even]:items-start",children:[Gh.jsx("div",{"data-even":xse(n),className:wse(Aie(),"h-4 rounded-lg w-60")}),Gh.jsx("div",{"data-even":xse(n),className:wse(Aie(),"h-4 rounded-lg w-56")})]})]},t)})),Ase=e=>Gh.jsx(tP,{children:Gh.jsx(yP,{children:Gh.jsx(mD,{children:Gh.jsx(Lj,{...e})})})}),Nse=Z.forwardRef((({className:e,size:t,variant:n,...r},a)=>Gh.jsx(_4,{ref:a,className:wse(uie({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}))),Ise=({className:e,...t})=>Gh.jsx(T4,{className:wse("flex flex-col items-center justify-center h-full gap-12 flex-1 p-8",e),children:Gh.jsx(Cse,{}),...t}),Rse=({className:e,...t})=>Gh.jsx(A4,{className:wse(Tie({section:"wrapper"}),"rounded-[inherit] font-body",e),...t}),Ose=({className:e,...t})=>Gh.jsx(N4,{className:wse(Tie({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}),Pse=({className:e,...t})=>Gh.jsx(I4,{className:wse("flex items-center gap-2 w-full pl-6 pr-1","ikp-md:px-4 py-2 justify-between *:m-0",e),...t}),Lse=({className:e,...t})=>Gh.jsx(R4,{className:wse("flex items-center gap-1.5",e),...t}),Dse=({className:e,...t})=>Gh.jsx(P4,{className:wse("text-gray-600 dark:text-gray-dark-100 text-sm",e),...t}),Mse=({className:e,...t})=>Gh.jsx(L4,{className:wse(Tie({section:"content"}),"justify-end",e),...t}),Fse=({className:e,...t})=>Gh.jsx(D4,{className:wse("overflow-hidden",e),...t}),jse=Z.forwardRef((({className:e,...t},n)=>Gh.jsx(F4,{ref:n,className:wse("h-full w-full rounded-[inherit]",e),...t}))),Bse=({className:e,...t})=>Gh.jsx(j4,{className:wse("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}),zse=({className:e,...t})=>Gh.jsx(B4,{className:wse("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),Hse=z4,Use=({className:e,...t})=>Gh.jsx(G4,{className:wse("ml-auto text-sm flex items-center gap-1",e),...t}),$se=({className:e,...t})=>Gh.jsx(W4,{className:wse("text-gray-700 dark:text-gray-dark-100",e),...t}),Gse=({className:e,...t})=>Gh.jsx(Y4,{className:wse("cursor-pointer text-gray-700 dark:text-gray-dark-100","focus-visible:ring-gray-500 dark:focus-visible:ring-white-alpha-900 focus-visible:ring-2 focus:outline-none",e),...t}),Vse=({className:e,...t})=>Gh.jsx(X4,{className:wse(Sie({slot:"content"}),"px-4 py-2 font-normal","w-[250px] sm:w-[420px]",e),...t}),Wse=Z4,qse=({className:e,...t})=>Gh.jsx(J4,{className:wse(Sie({slot:"arrow"}),e),...t}),Yse=({className:e,...t})=>Gh.jsx(t6,{className:wse("mt-4 flex flex-col gap-2",e),...t}),Kse=({className:e,...t})=>Gh.jsx(r6,{className:wse("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),Xse=({className:e,...t})=>Gh.jsx(o6,{className:wse("flex flex-col","ikp-md:flex-row","flex-wrap gap-2",e),...t}),Qse=Z.forwardRef((({className:e,style:t,...n},r)=>{const a=Z.useRef(null),o=SB(r,a),{width:i=0,height:s=0}=nie({ref:a,box:"border-box"}),l=Math.max(s,i);return Gh.jsx(s6,{ref:o,style:{"--before-size":`${l+100}px`,...t},className:wse("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})})),Zse=({className:e,...t})=>Gh.jsx(c6,{className:wse(die({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}),Jse=({className:e,...t})=>Gh.jsx(U4,{className:wse("flex flex-col w-full min-w-0 min-h-0 text-2sm relative",e),...t}),ele=cie(["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"]),tle=({className:e,...t})=>Gh.jsx(h6,{className:wse(ele(),e),...t}),nle=({className:e,...t})=>Gh.jsx(f6,{className:wse(ele(),e),...t}),rle=({className:e,...t})=>Gh.jsx(g6,{className:wse("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}),ale=({className:e,...t})=>Gh.jsx(b6,{className:wse("flex items-center gap-3 h-12 w-full",e),children:Gh.jsx(Tse,{}),...t}),ole=({className:e,...t})=>Gh.jsx(k6,{className:wse("flex items-center justify-center rounded-full","h-auto ikp-md:h-12",e),...t}),ile=({className:e,...t})=>Gh.jsx(x6,{className:wse("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}),sle=({className:e,...t})=>Gh.jsx(_6,{className:wse("hidden data-[role=user]:block",e),...t}),lle=({className:e,...t})=>Gh.jsx(T6,{className:wse("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}),cle=({className:e,...t})=>Gh.jsx(A6,{className:wse("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}),ule=({className:e,...t})=>Gh.jsx(I6,{className:wse("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}),dle=({className:e,...t})=>Gh.jsx(O6,{className:wse("text-2sm flex-wrap break-words min-w-0 shrink-1 max-w-full",e),...t}),ple=e=>{var t,n;const{message:r}=eB(),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)?Gh.jsx(Xj,{children:Gh.jsx(P6,{...e})}):null},hle=({className:e,...t})=>Gh.jsx(D6,{className:wse("flex flex-wrap gap-2",e),...t}),fle=({className:e,...t})=>Gh.jsx(F6,{className:wse(die({variant:"ghost"}),pie({slot:"root"}),"font-normal px-2",e),...t}),mle=({className:e,...t})=>Gh.jsx(B6,{className:wse(pie({slot:"icon"}),e),...t}),gle=({className:e,...t})=>Gh.jsx(H6,{className:wse(pie({slot:"title"}),e),...t}),yle=e=>{const{onOpenChange:t,...n}=e,{selectItem:r,isOpen:a,onClose:o,selectedItem:i}=Qj();return Gh.jsx(U6,{open:a&&null!==i,onOpenChange:a4(t,(e=>{e||(o(),r(null))})),...n})},ble=({className:e,...t})=>Gh.jsx($6,{className:wse(_ie({slot:"overlay"}),e),...t}),vle=({className:e,...t})=>Gh.jsx(G6,{className:wse(_ie({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),kle=({className:e,...t})=>Gh.jsx(W6,{className:wse(_ie({slot:"header"}),"px-0 pt-0 pb-8 flex flex-col gap-6","font-semibold",e),...t}),wle=({className:e,...t})=>Gh.jsx(q6,{className:wse(_ie({slot:"close"}),e),...t}),xle=({className:e,...t})=>Gh.jsx(K6,{className:wse(_ie({slot:"body"}),"p-0",e),...t}),Ele=({className:e,componentStyles:t,...n})=>Gh.jsx(Q6,{className:wse("data-[role=user]:whitespace-pre-wrap mb-3 max-w-full",e),componentStyles:u(_se,t??{}),...n}),_le=({className:e,...t})=>Gh.jsx(J6,{className:wse("flex items-center mt-2 mb-3",e),...t}),Sle=({className:e,...t})=>Gh.jsx(t8,{className:wse("mr-auto flex items-center gap-2",e),...t}),Tle=({className:e,...t})=>Gh.jsx(n8,{className:wse(die({size:"xs",variant:"outline"}),"text-xs h-[30px] text-gray-700 dark:text-gray-200 gap-1",e),...t}),Cle=({className:e,...t})=>Gh.jsx(a8,{className:wse(die({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}),Ale=e=>{var t;const{message:n}=eB();return"assistant"===n.role&&(null==(t=n.links)?void 0:t.length)?Gh.jsx(o8,{...e}):null},Nle=({className:e,...t})=>Gh.jsx(s8,{className:wse("block text-xs font-medium my-2 text-gray-700 dark:text-gray-dark-300",e),...t}),Ile=({className:e,...t})=>Gh.jsx(c8,{className:wse("w-full relative flex flex-col gap-3 py-[1px]",e),...t}),Rle=({className:e,...t})=>Gh.jsx(d8,{className:wse(fie({slot:"root"}),e),...t}),Ole=({className:e,...t})=>Gh.jsx(h8,{className:wse(fie({slot:"breadcrumbs"}),e),...t}),Ple=({className:e,...t})=>Gh.jsx(f8,{className:wse(fie({slot:"breadcrumbsIcon"}),e),...t}),Lle=({className:e,...t})=>Gh.jsx(g8,{className:wse(fie({slot:"icon"}),e),...t}),Dle=({className:e,...t})=>Gh.jsx(b8,{className:wse(fie({slot:"title"}),e),...t}),Mle=({className:e,...t})=>Gh.jsx(k8,{className:wse(fie({slot:"tag"}),e),...t}),Fle=({className:e,...t})=>Gh.jsx(x8,{className:wse(fie({slot:"description"}),e),...t}),jle=({className:e,...t})=>Gh.jsx(_8,{className:wse(fie({slot:"descriptionPart"}),e),...t}),Ble=({className:e,...t})=>Gh.jsx(T8,{className:wse(fie({slot:"indicator"}),e),...t}),zle=({className:e,...t})=>Gh.jsx(C8,{className:wse("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}),Hle=({className:e,...t})=>Gh.jsx(A8,{className:wse("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}),Ule=({className:e,...t})=>Gh.jsx(N8,{className:wse("flex",e),...t}),$le=Z.forwardRef((({className:e,...t},n)=>Gh.jsx(R8,{ref:n,className:wse("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}))),Gle=({className:e,...t})=>Gh.jsx(P8,{className:wse(die({}),"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}),Vle=({className:e,...t})=>Gh.jsx(L8,{className:wse(mie(),"text-inherit rotate-[-30deg]",e),...t}),Wle=({className:e,...t})=>Gh.jsx(M8,{className:wse("flex items-center justify-between","flex-wrap gap-2 px-1 pt-2 pb-1",e),...t}),qle=({className:e,...t})=>Gh.jsx(j8,{className:wse("flex items-center gap-2 flex-wrap px-3 min-w-0",e),...t}),Yle=({className:e,...t})=>Gh.jsx(z8,{className:wse(pie({slot:"root"}),e),...t}),Kle=({className:e,...t})=>Gh.jsx(U8,{className:wse(pie({slot:"icon"}),e),...t}),Xle=({className:e,...t})=>Gh.jsx(G8,{className:wse(pie({slot:"title"}),e),...t}),Qle=({className:e,...t})=>Gh.jsx(W8,{className:wse(pie({slot:"delete"}),e),...t}),Zle=({className:e,...t})=>Gh.jsx(q8,{className:wse("flex items-center justify-between","gap-2 flex-wrap px-3",e),...t}),Jle=Y8,ece=({className:e,...t})=>Gh.jsx(K8,{className:wse("cursor-pointer text-sm text-gray-600","dark:text-white-alpha-600",e),...t}),tce=({className:e,...t})=>Gh.jsx(Q8,{className:wse("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}),nce=({className:e,...t})=>Gh.jsx(J8,{className:wse("contents",e),...t}),rce=({className:e,...t})=>Gh.jsx(t9,{className:wse(die({variant:"outline",size:"xs"}),"light:text-gray-700 gap-1",e),...t}),ace=n9,oce=e=>{const{onOpenChange:t,...n}=e,{selectInput:r,isOpen:a,onClose:o,selectedInput:i}=jj();return Gh.jsx(r9,{open:a&&null!==i,onOpenChange:a4(t,(e=>{e||(o(),r(null))})),...n})},ice=({className:e,...t})=>Gh.jsx(a9,{className:wse(_ie({slot:"overlay"}),e),...t}),sce=({className:e,...t})=>Gh.jsx(o9,{className:wse(_ie({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),lce=({className:e,...t})=>Gh.jsx(i9,{className:wse(_ie({slot:"header"}),"px-0 pt-0 pb-8 gap-y-2","font-semibold",e),...t}),cce=({className:e,...t})=>Gh.jsx(l9,{className:wse("w-full semibold",e),...t}),uce=({className:e,...t})=>Gh.jsx(u9,{className:wse("text-gray-700 dark:text-white-alpha-700","text-sm font-normal w-full",e),...t}),dce=e=>{var t;const{children:n,...r}=e,{selectedInput:a}=jj(),o=null==(t=null==a?void 0:a.workflowModalProps)?void 0:t.modalHelpElement;return o?Gh.jsx(d9,{asChild:!n,children:n||o,...r}):null},pce=({className:e,...t})=>Gh.jsx(p9,{className:wse(_ie({slot:"close"}),e),...t}),hce=({className:e,...t})=>Gh.jsx(h9,{className:wse(_ie({slot:"body"}),"p-0",e),...t}),fce=({className:e,...t})=>Gh.jsx(m9,{className:wse("flex flex-col gap-8",e),...t}),mce=({className:e,...t})=>Gh.jsx(g9,{className:wse("flex flex-col gap-2",e),...t}),gce=({className:e,...t})=>Gh.jsx(b9,{className:wse("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),yce=({className:e,...t})=>Gh.jsx(k9,{className:wse("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}),bce=({className:e,...t})=>Gh.jsx(x9,{className:wse("text-sm text-red-500",e),...t}),vce=({className:e,...t})=>Gh.jsx(E9,{className:wse("flex flex-col gap-2",e),...t}),kce=({className:e,...t})=>Gh.jsx(S9,{className:wse("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),wce=({className:e,...t})=>Gh.jsx(C9,{className:wse(gie({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),xce=({className:e,...t})=>Gh.jsx(N9,{className:wse("text-sm text-red-500",e),...t}),Ece=({className:e,...t})=>Gh.jsx(I9,{className:wse(die({preset:"neutralFilled"}),"ml-auto",e),...t}),_ce=({className:e,...t})=>Gh.jsx(R9,{className:wse("mt-4 flex items-start justify-between flex-wrap-reverse gap-2.5",e),...t}),Sce=({className:e,...t})=>Gh.jsx(O9,{className:wse("flex items-center gap-2.5 flex-wrap",e),...t}),Tce=({className:e,...t})=>Gh.jsx(P9,{className:wse("flex items-center whitespace-nowrap",e),...t}),Cce=({className:e,...t})=>Gh.jsx(L9,{className:wse("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),Ace=({className:e,...t})=>Gh.jsx(D9,{className:wse("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),Nce=({className:e,...t})=>Gh.jsx(M9,{className:wse(yie(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t}),Ice=wse(die({size:"xs",variant:"outline"}),"text-gray-700 dark:text-white-alpha-700"),Rce=({className:e,...t})=>Gh.jsx(j9,{className:wse(Ice,e),...t}),Oce=({className:e,...t})=>Gh.jsx(z9,{className:wse("cursor-pointer",e),...t}),Pce=({className:e,...t})=>Gh.jsx(U9,{className:wse("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}),Lce=e=>{const{children:t,...n}=e,{aiChatSettings:r}=ZO(),{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]=Z.useState(!1);return{open:e,setOpen:t}}();return Gh.jsx(Wj,{value:c,children:Gh.jsx($9,{open:c.open,onOpenChange:c.setOpen,children:LP(t,{pinned:s,unpinned:l}),...n})})},Dce=({className:e,...t})=>Gh.jsx(W9,{className:wse(Ice,e),...t}),Mce=({className:e,...t})=>Gh.jsx(Y9,{className:wse(Ice,e),...t}),Fce=({className:e,...t})=>Gh.jsx(X9,{className:wse(Sie({slot:"content"}),"gap-3 px-3 py-4 ","w-[254px] text-sm font-normal",e),...t}),jce=({className:e,...t})=>Gh.jsx(Q9,{className:wse(Sie({slot:"arrow"}),e),...t}),Bce=({className:e,...t})=>Gh.jsx(Z9,{className:wse("flex items-center cursor-pointer hover:underline",e),...t}),zce=({className:e,...t})=>Gh.jsx(e7,{className:wse("mr-2 text-inkeep-primary-medium",e),...t}),Hce=e=>{const{onOpenChange:t,...n}=e,{currentFeedback:r,setCurrentFeedback:a}=ID();return Gh.jsx(t7,{open:null!==r,onOpenChange:a4(t,(()=>a(null))),...n})},Uce=({className:e,...t})=>Gh.jsx(n7,{className:wse(_ie({slot:"overlay"}),e),...t}),$ce=({className:e,...t})=>Gh.jsx(r7,{className:wse(_ie({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-[480px]",e),...t}),Gce=({className:e,...t})=>Gh.jsx(a7,{className:wse(_ie({slot:"header"}),"px-0 pt-0 pb-8","font-semibold",e),...t}),Vce=({className:e,...t})=>Gh.jsx(o7,{className:wse(_ie({slot:"close"}),e),...t}),Wce=({className:e,...t})=>Gh.jsx(i7,{className:wse(_ie({slot:"body"}),"p-0",e),...t}),qce=({className:e,...t})=>Gh.jsx(l7,{className:wse("flex flex-col gap-8",e),...t}),Yce=({className:e,...t})=>Gh.jsx(u7,{className:wse("flex flex-wrap items-center","gap-[1rem_0.5rem]",e),...t}),Kce=({className:e,...t})=>Gh.jsx(p7,{className:wse(hie({slot:"root"}),e),...t}),Xce=({className:e,...t})=>Gh.jsx(h7,{className:wse(hie({slot:"indicator"}),e),...t}),Qce=({className:e,...t})=>Gh.jsx(m7,{className:wse("select-none cursor-pointer font-medium text-sm","text-gray-700 dark:text-white-alpha-700",e),...t}),Zce=({className:e,...t})=>Gh.jsx(y7,{className:wse("flex-[0_0_100%]","min-h-20 py-2 border rounded-md","px-4",e),...t}),Jce=({className:e,...t})=>Gh.jsx(b7,{className:wse(die({preset:"neutralFilled"}),"ml-auto",e),...t}),eue=({className:e,...t})=>Gh.jsx(k7,{className:wse("w-full overflow-y-auto",e),...t}),tue=({className:e,...t})=>Gh.jsx(x7,{className:wse(Tie({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}),nue=({className:e,...t})=>Gh.jsx(_7,{className:wse(die({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}),rue=({className:e,...t})=>Gh.jsx(S7,{className:wse("mt-12 flex flex-col gap-6",e),...t}),aue=({className:e,...t})=>Gh.jsx(C7,{className:wse("font-semibold text-xl leading-5",e),...t}),oue=({className:e,...t})=>Gh.jsx(N7,{className:wse("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),iue=({className:e,...t})=>Gh.jsx(R7,{className:wse("w-full",e),...t}),sue=({className:e,...t})=>Gh.jsx(P7,{className:wse("mb-8 flex flex-col gap-2 data-[hidden]:hidden","data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:items-center",e),...t}),lue=({className:e,...t})=>Gh.jsx(D7,{className:wse("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}),cue=({className:e,...t})=>Gh.jsx(F7,{className:wse(gie({size:"md",variant:"outline"}),e),...t}),uue=({className:e,...t})=>Gh.jsx(j7,{className:wse(gie({size:"md",variant:"outline"}),e),...t}),due=({className:e,...t})=>Gh.jsx(z7,{className:wse(gie({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}),pue=({className:e,...t})=>Gh.jsx(H7,{className:wse(gie({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),hue=({className:e,...t})=>Gh.jsx($7,{className:wse(hie({slot:"root"}),e),...t}),fue=({className:e,...t})=>Gh.jsx(G7,{className:wse(hie({slot:"indicator"}),e),...t}),mue=e=>{const{field:t,error:n,fieldProps:r}=Gj(),{onValueChange:a,...o}=e;return Gh.jsx(V7,{name:t.name,"data-invalid":OP(!!n),value:r.value,onValueChange:a4(a,r.onChange),...o})},gue=({className:e,...t})=>Gh.jsx(W7,{className:wse(Cie({slot:"trigger"}),e),...t}),yue=e=>{const{field:t}=Gj();return Gh.jsx(q7,{placeholder:"placeholder"in t?t.placeholder:void 0,...e})},bue=({className:e,...t})=>Gh.jsx(Y7,{className:wse("h-4 w-4 opacity-45",e),...t}),vue=({className:e,...t})=>Gh.jsx(K7,{className:wse(Cie({slot:"content"}),e),...t}),kue=({className:e,...t})=>Gh.jsx(X7,{className:wse(Cie({slot:"viewport"}),e),...t}),wue=({className:e,...t})=>Gh.jsx(Q7,{className:wse(Cie({slot:"item"}),e),...t}),xue=Z7,Eue=({className:e,...t})=>Gh.jsx(J7,{className:wse(Cie({slot:"itemIndicator"}),e),...t}),_ue=({className:e,...t})=>Gh.jsx(tee,{className:wse("text-sm flex items-center text-red-500 dark:text-red-300",e),...t}),Sue=({className:e,...t})=>Gh.jsx(ree,{className:wse("text-red-500 dark:text-red-300",e),...t}),Tue=({className:e,...t})=>Gh.jsx(aee,{className:wse("flex items-center justify-end gap-6 w-full",e),...t}),Cue=({className:e,...t})=>Gh.jsx(iee,{className:wse(die({variant:"outline"}),e),...t}),Aue=({className:e,...t})=>Gh.jsx(lee,{className:wse(die({preset:"neutralFilled"}),e),...t}),Nue=({className:e,...t})=>Gh.jsx(uee,{className:wse("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}),Iue=({className:e,...t})=>Gh.jsx(pee,{className:wse("mb-6 font-bold tracking-tight","text-3xl md:text-4xl leading-6 md:leading-5",e),...t}),Rue=e=>{const{form:t}=gD();return Gh.jsx(hee,{children:null==t?void 0:t.successView.message,...e})},Oue=({className:e,...t})=>Gh.jsx(mee,{className:wse(die({preset:"neutralFilled"}),"w-full mt-12 gap-2 shrink-0",e),...t});function Pue(){const{searchSettings:{tabs:e}}=ZO();return Gh.jsxs("div",{className:"flex flex-col h-full",children:[Gh.jsxs("div",{className:wse("h-[calc(100%-24px)]"),children:[Gh.jsx("div",{className:"flex px-5 py-1 gap-3 data-[hidden]:hidden","data-hidden":xse(0===e.length),children:Array.from({length:2}).map(((e,t)=>Gh.jsx("div",{className:wse(Aie(),"h-[27.88px] w-16 rounded-full")},t)))}),Gh.jsxs("div",{className:"flex px-5 py-1 gap-5 h-full",children:[Gh.jsx("div",{className:"flex flex-col flex-1 [[data-view=dual-pane]_&]:flex-[0_0_40%]",children:Array.from({length:4}).map(((e,t)=>Gh.jsx("div",{className:"flex items-center pb-2.5 w-full",children:Gh.jsx("div",{className:wse(Aie(),"h-20 rounded-lg grow-[1]")})},t)))}),Gh.jsx("div",{className:wse(Aie(),"h-full w-full rounded-md","hidden [[data-view=dual-pane]_&]:block")})]})]}),Gh.jsx("div",{className:"flex pt-1 pb-3 px-5 justify-self-end",children:Gh.jsx("div",{className:wse(Aie(),"h-[24px] w-40 rounded-md")})})]})}const Lue=e=>Gh.jsx(Ste,{...e}),Due=({className:e,...t})=>Gh.jsx(hne,{className:wse("data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950",e),...t}),Mue=({className:e,...t})=>Gh.jsx(mne,{className:wse("data-[hidden]:hidden flex flex-col w-full","[--footer-height:theme(spacing.9)]","data-[mobile]:[--input-height:theme(spacing.16)]","[--ask-ai-trigger-height:0px]","[[data-show-ask-ai-card]_&]:[--ask-ai-trigger-height:theme(spacing.11)]",e),...t}),Fue=yne,jue=({className:e,...t})=>Gh.jsx(bne,{className:wse("flex items-center w-full px-5 pt-3 pb-3 gap-3","[[data-show-ask-ai-card]_&]:pb-1","[[data-mobile]_&]:max-h-[var(--input-height)]",e),...t}),Bue=({className:e,...t})=>Gh.jsx(vne,{className:wse("min-w-5 w-5 text-xl","text-gray-500 dark:text-white-alpha-600",e),...t}),zue=({className:e,...t})=>Gh.jsx(wne,{className:wse("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}),Hue=({className:e,...t})=>Gh.jsx(Ene,{className:wse("animate-spin text-gray-400 dark:text-white-alpha-500",e),...t}),Uue=({className:e,...t})=>Gh.jsx(Sne,{className:wse(fie({slot:"root"}),"m-auto w-[calc(100%_-_theme(spacing.5))]","border-transparent dark:border-transparent","mb-3 py-0 h-11 cursor-pointer","h-[var(--ask-ai-trigger-height)]",e),...t}),$ue=({className:e,...t})=>Gh.jsx(Cne,{className:wse("[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}),Gue=({className:e,...t})=>Gh.jsx(Ane,{className:wse(fie({slot:"title"}),"font-normal",e),...t}),Vue=({className:e,...t})=>Gh.jsx(Nne,{className:wse(fie({slot:"indicator"}),e),...t}),Wue=({className:e,...t})=>Gh.jsx(Rne,{className:wse(Tie({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))]","[[data-mobile]_&]:h-[calc(100vh-var(--input-height)-var(--footer-height)-var(--ask-ai-trigger-height))]","transition-all duration-300 ease-in-out data-[has-content]:pb-2",e),...t}),que=({className:e,...t})=>Gh.jsx(Pne,{className:wse("group mb-1 relative transition-all w-full h-full",e),children:Gh.jsx(Pue,{}),...t}),Yue=({className:e,...t})=>Gh.jsx(Dne,{className:wse("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}),Kue=({className:e,...t})=>Gh.jsx(Fne,{className:wse("shrink-0 max-w-full","flex gap-3 px-5 py-1","overflow-x-auto [scrollbar-width:thin]",e),...t}),Xue=({className:e,...t})=>Gh.jsx(Bne,{className:wse("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}),Que=({className:e,...t})=>Gh.jsx(zne,{className:wse("flex overflow-hidden h-full",e),...t}),Zue=({className:e,...t})=>Gh.jsx(Une,{className:wse("overflow-hidden h-full first:w-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}),Jue=({className:e,...t})=>Gh.jsx(Gne,{className:wse("h-full w-full rounded-[inherit]",e),...t}),ede=({className:e,...t})=>Gh.jsx(Vne,{className:wse("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}),tde=({className:e,...t})=>Gh.jsx(Wne,{className:wse("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),nde=qne,rde=({className:e,...t})=>Gh.jsx(Kne,{className:wse("w-full flex flex-col","items-center gap-2.5 h-full shrink-0","px-5 py-1 content-center -my-[1px]",e),...t}),ade=({className:e,...t})=>Gh.jsx(Qne,{className:wse(fie({slot:"root"}),e),...t}),ode=({className:e,...t})=>Gh.jsx(Jne,{className:wse(fie({slot:"breadcrumbs"}),e),...t}),ide=({className:e,...t})=>Gh.jsx(ere,{className:wse(fie({slot:"breadcrumbsIcon"}),e),...t}),sde=({className:e,...t})=>Gh.jsx(nre,{className:wse(fie({slot:"icon"}),e),...t}),lde=({className:e,...t})=>Gh.jsx(are,{className:wse(fie({slot:"title"}),e),...t}),cde=({className:e,...t})=>Gh.jsx(ire,{className:wse(fie({slot:"tag"}),e),...t}),ude=({className:e,...t})=>Gh.jsx(lre,{className:wse(fie({slot:"description"}),e),...t}),dde=({className:e,...t})=>Gh.jsx(ure,{className:wse(fie({slot:"descriptionPart"}),e),...t}),pde=({className:e,...t})=>Gh.jsx(pre,{className:wse(fie({slot:"indicator"}),e),...t}),hde=({className:e,...t})=>Gh.jsx(fre,{className:wse("flex-1 min-w-0 break-words py-4 pr-12 pl-8","hidden md:flex flex-col gap-6",e),...t}),fde=({className:e,...t})=>Gh.jsx(mre,{className:wse("flex flex-col gap-5",e),...t}),mde=({className:e,...t})=>Gh.jsx(yre,{className:wse("inline-block",e),...t}),gde=({className:e,...t})=>Gh.jsx(vre,{className:wse("text-3xl leading-snug tracking-tight","font-semibold hover:text-inkeep-primary-stronger","dark:hover:text-inkeep-expanded-primary-100",e),...t}),yde=({className:e,...t})=>Gh.jsx(wre,{className:wse("inline-block ml-2 mb-2 tracking-tight text-gray-500 dark:text-white-alpha-500",e),...t}),bde=({className:e,...t})=>Gh.jsx(xre,{className:wse(fie({slot:"breadcrumbs"}),"!line-clamp-none whitespace-normal text-gray-500 dark:text-gray-dark-200 text-sm",e),...t}),vde=({className:e,...t})=>Gh.jsx(Ere,{className:wse(fie({slot:"breadcrumbsIcon"}),e),...t}),kde=({className:e,componentStyles:t,...n})=>Gh.jsx(Sre,{className:wse("max-w-full text-gray-700 dark:text-gray-dark-100 [&_em]:font-bold [&_em]:not-italic",e),componentStyles:u(_se,t??{}),...n}),wde=({className:e,...t})=>Gh.jsx(Cre,{className:wse("flex flex-col gap-3",e),...t}),xde=({className:e,...t})=>Gh.jsx(Are,{className:wse("text-xs uppercase font-semibold tracking-widest","text-gray-500 dark:text-white-alpha-500",e),...t}),Ede=({className:e,...t})=>Gh.jsx(Ire,{className:wse("flex flex-col gap-4",e),...t}),_de=({className:e,...t})=>Gh.jsx(Ore,{className:wse("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}),Sde=({className:e,...t})=>Gh.jsx(Pre,{className:wse(e),...t}),Tde=({className:e,...t})=>Gh.jsx(Dre,{className:wse(e),...t}),Cde=({className:e,...t})=>Gh.jsx(Mre,{className:wse("h-3 !min-h-0 !min-w-0",e),...t}),Ade=({className:e,...t})=>Gh.jsx(jre,{className:wse("justify-self-end","px-5 pt-1 pb-3","[[data-mobile]_&]:py-0","[[data-mobile]_&]:items-center","[[data-mobile]_&]:h-[var(--footer-height)]","hidden data-[has-results]:flex",e),...t}),Nde=({className:e,...t})=>Gh.jsx(Bre,{className:wse("flex items-center whitespace-nowrap",e),...t}),Ide=({className:e,...t})=>Gh.jsx(zre,{className:wse("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),Rde=({className:e,...t})=>Gh.jsx(Hre,{className:wse("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),Ode=({className:e,...t})=>Gh.jsx(Ure,{className:wse(yie(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t}),Pde=e=>{const{onOpenChange:t,config:n,...r}=e,a=(e=>{const{isOpen:t,onOpenChange:n,shortcutKey:r}=e??{},[a=!1,o]=tj({prop:t,defaultProp:t,onChange:n});return Z.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 Gh.jsx(uD,{modal:a,children:Gh.jsx($re,{open:a.isOpen,onOpenChange:a4(t,(e=>a.setOpen(e))),...r})})},Lde=({className:e,...t})=>Gh.jsx(Gre,{className:wse(_ie({slot:"overlay"}),e),...t}),Dde=({className:e,...t})=>Gh.jsx(Wre,{className:wse(_ie({slot:"content"}),"w-[min(90vw,720px)]","has-[[data-dual-pane-search-expanded]]:w-[min(90vw,1000px)] transition-width duration-300",e),...t}),Mde=({className:e,...t})=>Gh.jsx(Yre,{className:wse(_ie({slot:"close"}),die({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}),Fde=({className:e,...t})=>Gh.jsx(Moe,{className:wse("fixed right-6 bottom-6 mr-[var(--removed-body-scroll-bar-size)]",e),...t}),jde=({className:e,...t})=>Gh.jsx(Foe,{className:wse("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}),Bde=({className:e,...t})=>Gh.jsx(joe,{className:wse("flex items-center",e),...t}),zde=({className:e,...t})=>Gh.jsx(Hoe,{className:wse("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}),Hde=({className:e,...t})=>Gh.jsx(Boe,{className:wse("",e),...t}),Ude=({className:e,...t})=>Gh.jsx(Uoe,{className:wse("md:min-w-[min(320px,100%)] w-full h-full min-h-9",e),...t}),$de=({className:e,...t})=>Gh.jsx($oe,{className:wse("rounded-md border px-3 min-w-0 min-h-9 flex items-center justify-between gap-2 h-full w-full hover:border-gray-300 dark:hover:border-white-alpha-300 transition-colors",e),...t}),Gde=({className:e,...t})=>Gh.jsx(Goe,{className:wse("flex items-center gap-2 min-w-0",e),...t}),Vde=({className:e,...t})=>Gh.jsx(Woe,{className:wse("text-md text-gray-500 dark:text-white-alpha-600",e),...t}),Wde=({className:e,...t})=>Gh.jsx(qoe,{className:wse("text-gray-500 dark:text-white-alpha-600 text-xl",e),...t}),qde=({className:e,...t})=>Gh.jsx(Yoe,{className:wse("text-sm text-gray-400 dark:text-white-alpha-500 font-bold flex items-center gap-0.5",e),...t}),Yde=({className:e,...t})=>Gh.jsx(eie,{className:wse("",e),...t}),Kde=({className:e,...t})=>Gh.jsx(Xoe,{className:wse("",e),...t}),Xde=e=>Gh.jsx(nae,{...e}),Qde=({className:e,...t})=>Gh.jsx(lae,{className:wse("max-w-full border divide-y","rounded-xl shadow h-full max-h-full","bg-white dark:bg-gray-dark-950","flex flex-col",e),...t}),Zde=({className:e,...t})=>Gh.jsx(cae,{className:wse("px-5 py-4 font-medium shrink-0",e),...t}),Jde=({className:e,...t})=>Gh.jsx(uae,{className:wse("flex-1 overflow-hidden",e),...t}),epe=({className:e,...t})=>Gh.jsx(dae,{className:wse("h-full",e),...t}),tpe=({className:e,...t})=>Gh.jsx(hae,{className:wse("h-full w-full rounded-[inherit] px-5","[&_[data-part=grid]]:px-1","[&_[data-part=grid]]:divide-y",e),...t}),npe=({className:e,...t})=>Gh.jsx(fae,{className:wse("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}),rpe=({className:e,...t})=>Gh.jsx(mae,{className:wse("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),ape=gae,ope=({className:e,...t})=>Gh.jsx(bae,{className:wse("flex flex-col items-center","justify-center mx-1 pt-12 pb-6",e),...t}),ipe=({className:e,...t})=>Gh.jsx(kae,{className:wse("w-6 h-6 text-green-500 mb-5",e),...t}),spe=({className:e,...t})=>Gh.jsx(xae,{className:wse("text-xl font-semibold","mb-3 tracking-tight",e),...t}),lpe=({className:e,...t})=>Gh.jsx(_ae,{className:wse("text-gray-800 dark:text-white-alpha-950",e),...t}),cpe=({className:e,...t})=>Gh.jsx(Sae,{className:wse("w-full flex flex-col py-6",e),...t}),upe=({className:e,...t})=>Gh.jsx(Aae,{className:wse("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),dpe=({className:e,...t})=>Gh.jsx(Nae,{className:wse("w-full gap-8",e),...t}),ppe=({className:e,...t})=>Gh.jsx(Rae,{className:wse(die({preset:"neutralFilled",size:"sm"}),"ml-auto data-[loading]:cursor-wait","data-[submitted]:hidden",e),...t}),hpe=({className:e,...t})=>Gh.jsx(Pae,{className:wse("mb-8 flex flex-col gap-2 data-[hidden]:hidden","data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:items-center",e),...t}),fpe=({className:e,...t})=>Gh.jsx(Dae,{className:wse("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}),mpe=({className:e,...t})=>Gh.jsx(Fae,{className:wse(gie({size:"sm",variant:"outline"}),e),...t}),gpe=({className:e,...t})=>Gh.jsx(jae,{className:wse(gie({size:"sm",variant:"outline"}),e),...t}),ype=({className:e,...t})=>Gh.jsx(zae,{className:wse(gie({size:"sm",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}),bpe=({className:e,...t})=>Gh.jsx(Hae,{className:wse(gie({size:"sm",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),vpe=({className:e,...t})=>Gh.jsx($ae,{className:wse(hie({slot:"root"}),e),...t}),kpe=({className:e,...t})=>Gh.jsx(Gae,{className:wse(hie({slot:"indicator"}),e),...t}),wpe=e=>{const{field:t,error:n,fieldProps:r}=iae(),{onValueChange:a,...o}=e;return Gh.jsx(Vae,{name:t.name,"data-invalid":OP(!!n),value:r.value,onValueChange:a4(a,r.onChange),...o})},xpe=({className:e,...t})=>Gh.jsx(Wae,{className:wse(Cie({slot:"trigger"}),"text-sm",e),...t}),Epe=e=>{const{field:t}=iae();return Gh.jsx(qae,{placeholder:"placeholder"in t?t.placeholder:void 0,...e})},_pe=({className:e,...t})=>Gh.jsx(Yae,{className:wse("h-4 w-4 opacity-45",e),...t}),Spe=({className:e,...t})=>Gh.jsx(Kae,{className:wse(Cie({slot:"content"}),e),...t}),Tpe=({className:e,...t})=>Gh.jsx(Xae,{className:wse(Cie({slot:"viewport"}),e),...t}),Cpe=({className:e,...t})=>Gh.jsx(Qae,{className:wse(Cie({slot:"item"}),"text-sm",e),...t}),Ape=Zae,Npe=({className:e,...t})=>Gh.jsx(Jae,{className:wse(Cie({slot:"itemIndicator"}),e),...t}),Ipe=({className:e,...t})=>Gh.jsx(toe,{className:wse("text-sm flex items-center text-red-500 dark:text-red-300",e),...t}),Rpe=({className:e,...t})=>Gh.jsx(noe,{className:wse("flex items-center gap-2",e),...t}),Ope=({className:e,...t})=>Gh.jsx(roe,{className:wse("border bg-gradient-to-t","from-gray-100 dark:from-gray-dark-600 p-1 rounded-md","w-6 h-6 text-gray-600 dark:text-white-alpha-700",e),...t}),Ppe=({className:e,...t})=>Gh.jsx(ooe,{className:wse("text-gray-800 dark:text-white-alpha-950 text-sm font-semibold",e),...t}),Lpe=({className:e,...t})=>Gh.jsx(soe,{className:wse("py-6 flex flex-wrap","gap-x-3 gap-y-6","[&>:first-child]:basis-full text-sm",e),...t}),Dpe=({className:e,...t})=>Gh.jsx(coe,{className:wse("w-full flex flex-col py-6 gap-6 min-w-0 text-sm",e),...t}),Mpe=({className:e,componentStyles:t,...n})=>Gh.jsx(doe,{className:wse("max-w-full ",e),componentStyles:u(_se,t??{}),...n}),Fpe=({className:e,...t})=>Gh.jsx(hoe,{className:wse(die({preset:"neutralFilled",size:"sm"}),"ml-auto gap-2 data-[escalated]:hidden",e),...t}),jpe=({className:e,...t})=>Gh.jsx(foe,{className:wse("",e),...t}),Bpe=moe,zpe=({className:e,...t})=>Gh.jsx(yoe,{className:wse("w-full flex flex-col py-6 gap-6",e),...t}),Hpe=({className:e,...t})=>Gh.jsx(voe,{className:wse("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),Upe=({className:e,...t})=>Gh.jsx(woe,{className:wse("w-full gap-8",e),...t}),$pe=({className:e,...t})=>Gh.jsx(Eoe,{className:wse(die({preset:"neutralFilled",size:"sm"}),"ml-auto data-[loading]:cursor-wait","data-[submitted]:hidden",e),...t}),Gpe=({className:e,...t})=>Gh.jsx(Soe,{className:wse("text-red-500 dark:text-red-300",e),...t}),Vpe=({className:e,...t})=>Gh.jsx(Toe,{className:wse("w-full flex flex-col gap-6",e),...t}),Wpe=({className:e,...t})=>Gh.jsx(Coe,{className:wse("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),qpe=({className:e,...t})=>Gh.jsx(Noe,{className:wse("w-full flex flex-wrap gap-2 items-center",e),...t}),Ype=({className:e,...t})=>Gh.jsx(Roe,{className:wse(die({size:"xs",variant:"outline"}),"text-gray-600 dark:text-white-alpha-700 gap-1",e),...t}),Kpe=({className:e,...t})=>Gh.jsx(Poe,{className:wse("",e),...t}),Xpe=({className:e,...t})=>Gh.jsx(Doe,{className:wse("line-clamp-1",e),...t}),Qpe=e=>Gh.jsx(HO,{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\\(--ask-ai-trigger-height\\)\\] {\n height: var(--ask-ai-trigger-height);\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-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.\\[--ask-ai-trigger-height\\:0px\\] {\n --ask-ai-trigger-height: 0px;\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.\\[--footer-height\\:theme\\(spacing\\.9\\)\\] {\n --footer-height: 2.25rem;\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.first\\:w-full:first-child {\n width: 100%;\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-gray-500:focus-visible {\n --tw-ring-color: var(--ikp-color-gray-500);\n}\n\n.focus-visible\\:ring-offset-2:focus-visible {\n --tw-ring-offset-width: 2px;\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-\\[mobile\\]\\:\\[--input-height\\:theme\\(spacing\\.16\\)\\][data-mobile] {\n --input-height: 4rem;\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\\:focus-visible\\:ring-white-alpha-900:focus-visible:is([data-theme="dark"] *) {\n --tw-ring-color: var(--ikp-color-white-alpha-900);\n}\n\n.dark\\:focus-visible\\:ring-offset-gray-950:focus-visible:is([data-theme="dark"] *) {\n --tw-ring-offset-color: var(--ikp-color-gray-950);\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-mobile] .\\[\\[data-mobile\\]_\\&\\]\\:h-\\[calc\\(100vh-var\\(--input-height\\)-var\\(--footer-height\\)-var\\(--ask-ai-trigger-height\\)\\)\\] {\n height: calc(100vh - var(--input-height) - var(--footer-height) - var(--ask-ai-trigger-height));\n}\n\n[data-mobile] .\\[\\[data-mobile\\]_\\&\\]\\:h-\\[var\\(--footer-height\\)\\] {\n height: var(--footer-height);\n}\n\n[data-mobile] .\\[\\[data-mobile\\]_\\&\\]\\:max-h-\\[var\\(--input-height\\)\\] {\n max-height: var(--input-height);\n}\n\n[data-mobile] .\\[\\[data-mobile\\]_\\&\\]\\:items-center {\n align-items: center;\n}\n\n[data-mobile] .\\[\\[data-mobile\\]_\\&\\]\\:py-0 {\n padding-top: 0px;\n padding-bottom: 0px;\n}\n\n[data-show-ask-ai-card] .\\[\\[data-show-ask-ai-card\\]_\\&\\]\\:pb-1 {\n padding-bottom: 0.25rem;\n}\n\n[data-show-ask-ai-card] .\\[\\[data-show-ask-ai-card\\]_\\&\\]\\:\\[--ask-ai-trigger-height\\:theme\\(spacing\\.11\\)\\] {\n --ask-ai-trigger-height: 2.75rem;\n}\n\n[data-view=dual-pane] .\\[\\[data-view\\=dual-pane\\]_\\&\\]\\:block {\n display: block;\n}\n\n[data-view=dual-pane] .\\[\\[data-view\\=dual-pane\\]_\\&\\]\\:flex-\\[0_0_40\\%\\] {\n flex: 0 0 40%;\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}),Zpe=PB("div",{_id:"view_toggle"}),Jpe=PB("button",{_id:"view_toggle_button",className:Ese({slot:"button"})}),ehe=PB(CW,{_id:"view_toggle_icon"});function the(e){const{handleToggle:t}=nhe(e);return Gh.jsxs(Zpe,{className:Ese({slot:"root"}),children:[Gh.jsxs(Jpe,{onClick:()=>t("search"),"data-active":OP("search"===e.view),children:[Gh.jsx(ehe,{"data-active":OP("search"===e.view),iconKey:"switchToSearch",className:Ese({slot:"icon"})}),e.searchLabel||"Search"]}),Gh.jsxs(Jpe,{onClick:()=>t("chat"),"data-active":OP("chat"===e.view),children:[Gh.jsx(ehe,{"data-active":OP("chat"===e.view),iconKey:"switchToChat",className:Ese({slot:"icon"})}),e.askAILabel||"Ask AI"]})]})}function nhe(e){const{onToggleView:t,query:n}=e;return{handleToggle:(e,r)=>{null==t||t({view:e,query:n,autoSubmit:r})}}}function rhe(e){const{componentType:t,children:n,modalSettings:r,...a}=e;return Gh.jsx(oie,{children:Gh.jsx(Qpe,{children:Gh.jsx(vB,{config:{...a},componentType:t,children:Gh.jsx(Pde,{config:r,children:n})})})})}function ahe(e){return Gh.jsx(Lde,{children:Gh.jsx(Dde,{children:e.children})})}function ohe(e){const{children:t,onToggleView:n,isHidden:r,shouldAutoFocusInput:a=!n}=e;return Gh.jsx(Ase,{isHidden:r,shouldAutoFocusInput:a,children:t})}function ihe(e){return Gh.jsx(ohe,{...e,children:Gh.jsx(she,{...e})})}function she(e){const{onToggleView:t}=e,n=dD(),r=vD(),a=n&&!r?ahe:Z.Fragment;return Gh.jsx(a,{children:Gh.jsxs(Nse,{variant:t?"no-shadow":"container-with-shadow","data-composite":OP(!!e.onToggleView||(null==n?void 0:n.isOpen)),children:[Gh.jsx(Ise,{}),Gh.jsxs(Rse,{children:[Gh.jsx(lhe,{...e}),Gh.jsx(che,{}),Gh.jsx(ghe,{})]}),Gh.jsx(vhe,{}),Gh.jsx(khe,{})]})})}function lhe(e){const{onToggleView:t,askAILabel:n,searchLabel:r}=e,a=!!t;return Gh.jsxs(Ose,{"data-show-toolbar":OP(a),children:[a&&Gh.jsxs(Pse,{children:[Gh.jsxs(Lse,{children:[Gh.jsx(Dse,{}),Gh.jsxs(Use,{children:[Gh.jsx(Gse,{}),Gh.jsxs(Vse,{side:"bottom",align:"start",children:[Gh.jsx(Wse,{}),Gh.jsx(qse,{})]})]})]}),Gh.jsx(the,{onToggleView:t,askAILabel:n,searchLabel:r,view:"chat"})]}),Gh.jsx(Mde,{})]})}function che(){return Gh.jsx(Mse,{children:Gh.jsxs(Fse,{children:[Gh.jsx(jse,{children:Gh.jsx(uhe,{})}),Gh.jsx(Bse,{children:Gh.jsx(zse,{})}),Gh.jsx(Hse,{})]})})}function uhe(){return Gh.jsx(Jse,{children:({messages:e})=>Gh.jsxs(Gh.Fragment,{children:[Gh.jsx(dhe,{}),e.map((e=>Gh.jsxs(tle,{message:e,children:[Gh.jsx(phe,{}),Gh.jsx(ale,{}),Gh.jsxs(ule,{children:[Gh.jsx(dle,{children:Gh.jsx(Ele,{})}),Gh.jsx(hhe,{}),Gh.jsx(fhe,{}),Gh.jsx(mhe,{})]})]},e.id)))]})})}function dhe(){return Gh.jsxs(nle,{children:[Gh.jsxs(rle,{children:[Gh.jsx(ole,{children:Gh.jsxs(ile,{children:[Gh.jsx(sle,{}),Gh.jsx(lle,{})]})}),Gh.jsx(cle,{})]}),Gh.jsxs(ule,{children:[Gh.jsx(dle,{children:Gh.jsx(Ele,{})}),Gh.jsxs(Use,{children:[Gh.jsx($se,{}),Gh.jsx(Gse,{}),Gh.jsxs(Vse,{children:[Gh.jsx(Wse,{}),Gh.jsx(qse,{})]})]}),Gh.jsxs(Yse,{children:[Gh.jsx(Kse,{}),Gh.jsx(Xse,{children:e=>e.map((e=>Gh.jsx(Qse,{children:Gh.jsx(Zse,{question:e})},e)))})]})]})]})}function phe(){return Gh.jsxs(rle,{children:[Gh.jsx(ole,{children:Gh.jsxs(ile,{children:[Gh.jsx(sle,{}),Gh.jsx(lle,{})]})}),Gh.jsx(cle,{})]})}function hhe(){return Gh.jsxs(ple,{children:[Gh.jsx(hle,{children:e=>e.map((e=>Gh.jsxs(fle,{attachment:e,children:[Gh.jsx(mle,{}),Gh.jsx(gle,{})]},e.id)))}),Gh.jsx(yle,{children:Gh.jsx(iie,{children:Gh.jsx(ble,{children:Gh.jsxs(vle,{children:[Gh.jsx(kle,{}),Gh.jsx(wle,{}),Gh.jsx(xle,{})]})})})})]})}function fhe(){return Gh.jsxs(_le,{children:[Gh.jsx(Sle,{children:e=>e.map(((e,t)=>Gh.jsx(Tle,{action:e},`action-${t}`)))}),Gh.jsx(Cle,{action:"copy"}),Gh.jsx(Cle,{action:"upvote"}),Gh.jsx(Cle,{action:"downvote"})]})}function mhe(){return Gh.jsxs(Ale,{children:[Gh.jsx(Nle,{}),Gh.jsx(Ile,{children:e=>e.map(((e,t)=>{var n;return Gh.jsxs(Rle,{href:e.url,source:e,children:[Gh.jsx(Ole,{children:null==(n=e.breadcrumbs)?void 0:n.map((e=>Gh.jsxs(Z.Fragment,{children:[e,Gh.jsx(Ple,{})]},e)))}),Gh.jsx(Lle,{}),Gh.jsx(Dle,{}),Gh.jsx(Mle,{}),Gh.jsx(Fle,{children:e=>e.map(((e,t)=>Gh.jsx(jle,{part:e},`part-${t}`)))}),Gh.jsx(Ble,{})]},t)}))})]})}function ghe(){return Gh.jsxs(zle,{children:[Gh.jsx(yhe,{}),Gh.jsx(bhe,{})]})}function yhe(){return Gh.jsxs(Hle,{children:[Gh.jsxs(Ule,{children:[Gh.jsx($le,{}),Gh.jsx(Gle,{children:Gh.jsx(Vle,{})})]}),Gh.jsxs(Wle,{children:[Gh.jsx(qle,{children:e=>e.map((e=>Gh.jsxs(Yle,{attachment:e,children:[Gh.jsx(Kle,{}),Gh.jsx(Xle,{}),Gh.jsx(Qle,{})]},e.id)))}),Gh.jsxs(Zle,{children:[Gh.jsxs(Jle,{children:[Gh.jsx(ece,{}),Gh.jsx(tce,{})]}),Gh.jsx(nce,{children:e=>e.map((e=>Gh.jsxs(rce,{input:e,children:[Gh.jsx(ace,{}),e.displayName]},e.id)))})]}),Gh.jsx(iie,{children:Gh.jsx(oce,{children:Gh.jsx(ice,{children:Gh.jsxs(sce,{children:[Gh.jsxs(lce,{children:[Gh.jsx(cce,{}),Gh.jsx(uce,{}),Gh.jsx(dce,{})]}),Gh.jsx(pce,{}),Gh.jsx(hce,{children:Gh.jsxs(fce,{children:[Gh.jsxs(mce,{children:[Gh.jsx(gce,{}),Gh.jsx(yce,{}),Gh.jsx(bce,{})]}),Gh.jsxs(vce,{children:[Gh.jsx(kce,{}),Gh.jsx(wce,{}),Gh.jsx(xce,{})]}),Gh.jsx(Ece,{})]})})]})})})})]})]})}function bhe(){return Gh.jsxs(_ce,{children:[Gh.jsxs(Tce,{children:[Gh.jsx(Cce,{}),Gh.jsx(Ace,{}),Gh.jsx(Nce,{})]}),Gh.jsxs(Sce,{children:[Gh.jsx(Lce,{children:({pinned:e,unpinned:t})=>Gh.jsxs(Gh.Fragment,{children:[e.map((e=>Gh.jsx(Dce,{action:e},e.name))),t.length>0&&Gh.jsx(Mce,{}),Gh.jsxs(Fce,{children:[Gh.jsx(jce,{}),t.map((e=>Gh.jsxs(Bce,{action:e,children:[Gh.jsx(zce,{action:e}),e.name]},e.name)))]})]})}),Gh.jsxs(Rce,{action:"copy",children:[Gh.jsx(Oce,{action:"copy"}),Gh.jsx(Pce,{action:"copy"})]}),Gh.jsxs(Rce,{action:"share",children:[Gh.jsx(Oce,{action:"share"}),Gh.jsx(Pce,{action:"share"})]}),Gh.jsx(Rce,{action:"clear"}),Gh.jsx(Rce,{action:"stop"})]})]})}function vhe(){return Gh.jsx(iie,{children:Gh.jsx(Hce,{children:Gh.jsx(Uce,{children:Gh.jsxs($ce,{children:[Gh.jsx(Gce,{}),Gh.jsx(Vce,{}),Gh.jsx(Wce,{children:Gh.jsxs(qce,{children:[Gh.jsxs(Yce,{name:"unrelated_response",children:[Gh.jsx(Kce,{children:Gh.jsx(Xce,{})}),Gh.jsx(Qce,{}),Gh.jsx(Zce,{})]}),Gh.jsxs(Yce,{name:"inaccurate_statement",children:[Gh.jsx(Kce,{children:Gh.jsx(Xce,{})}),Gh.jsx(Qce,{}),Gh.jsx(Zce,{})]}),Gh.jsxs(Yce,{name:"inaccurate_code_snippet",children:[Gh.jsx(Kce,{children:Gh.jsx(Xce,{})}),Gh.jsx(Qce,{}),Gh.jsx(Zce,{})]}),Gh.jsxs(Yce,{name:"irrelevant_citations",children:[Gh.jsx(Kce,{children:Gh.jsx(Xce,{})}),Gh.jsx(Qce,{})]}),Gh.jsx(Jce,{})]})})]})})})})}function khe(){return Gh.jsxs(eue,{children:[Gh.jsx(nue,{}),Gh.jsxs(tue,{children:[Gh.jsxs(rue,{children:[Gh.jsx(aue,{}),Gh.jsx(oue,{})]}),Gh.jsx(iue,{children:e=>Gh.jsxs(Gh.Fragment,{children:[e.map(((e,t)=>Gh.jsxs(sue,{field:e,autoFocus:0===t,children:[Gh.jsx(lue,{}),"text"===e.inputType&&Gh.jsx(cue,{}),"email"===e.inputType&&Gh.jsx(uue,{}),"file"===e.inputType&&Gh.jsx(due,{}),"textarea"===e.inputType&&Gh.jsx(pue,{}),"checkbox"===e.inputType&&Gh.jsx(hue,{children:Gh.jsx(fue,{})}),"select"===e.inputType&&Gh.jsxs(mue,{children:[Gh.jsxs(gue,{children:[Gh.jsx(yue,{}),Gh.jsx(bue,{})]}),Gh.jsx(vue,{children:Gh.jsx(kue,{children:e.items.map((e=>Gh.jsxs(wue,{value:e.value,children:[Gh.jsx(xue,{children:e.label}),Gh.jsx(Eue,{})]},e.value)))})})]}),Gh.jsx(_ue,{})]},e.name))),Gh.jsx(Sue,{})]})}),Gh.jsxs(Tue,{children:[Gh.jsx(Cue,{}),Gh.jsx(Aue,{})]})]}),Gh.jsxs(Nue,{children:[Gh.jsx(Iue,{}),Gh.jsx(Rue,{}),Gh.jsx(Oue,{})]})]})}function whe(e){const{children:t,onToggleView:n,isHidden:r,shouldAutoFocusInput:a=!n}=e;return Gh.jsx(Lue,{isHidden:r,shouldAutoFocusInput:a,children:t})}function xhe(e){return Gh.jsx(whe,{...e,children:Gh.jsx(Ehe,{...e})})}function Ehe(e){const{searchSettings:{view:t}}=ZO(),{onToggleView:n,shouldShowAskAICard:r=!!n&&"dual-pane"!==t}=e,a=dD(),o=vD(),i=a&&!o?ahe:Z.Fragment;return Gh.jsx(i,{children:Gh.jsx(Due,{"data-show-ask-ai-card":OP(r),"data-composite":OP(!!n||(null==a?void 0:a.isOpen)),children:Gh.jsxs(Mue,{children:[Gh.jsx(_he,{...e}),Gh.jsxs(Fue,{children:[Gh.jsx(She,{askAILabel:e.askAILabel,onToggleView:e.onToggleView,shouldShowAskAICard:r}),Gh.jsx(The,{})]}),Gh.jsx(Nhe,{})]})})})}function _he(e){const{onToggleView:t,askAILabel:n,searchLabel:r}=e,a=ute((e=>e.search));return Gh.jsxs(jue,{children:[Gh.jsx(Bue,{}),Gh.jsx(zue,{}),Gh.jsx(Hue,{}),t&&Gh.jsx(the,{onToggleView:t,query:a,askAILabel:n,searchLabel:r,view:"search"}),Gh.jsx(Mde,{})]})}function She(e){const{askAILabel:t,onToggleView:n,shouldShowAskAICard:r}=e,a=ute((e=>e.search)),{handleToggle:o}=nhe({onToggleView:n,query:a});return r?Gh.jsxs(Uue,{onSelect:()=>o("chat",!0),children:[Gh.jsx($ue,{}),Gh.jsxs(Gue,{children:[t||"Ask AI",a&&` "${a}"`]}),Gh.jsx(Vue,{})]}):null}function The(){return Gh.jsxs(Wue,{children:[Gh.jsx(que,{}),Gh.jsx(Kue,{children:e=>e.map((e=>Gh.jsx(Xue,{tab:e},e)))}),Gh.jsx(Yue,{}),Gh.jsxs(Que,{children:[Gh.jsx(Che,{}),Gh.jsx(Ahe,{})]})]})}function Che(){return Gh.jsxs(Zue,{children:[Gh.jsx(Jue,{children:Gh.jsx(rde,{children:e=>e.map((e=>Gh.jsxs(ade,{item:e,children:[Gh.jsx(ode,{children:e=>e.map(((e,t)=>Gh.jsxs(Z.Fragment,{children:[e,Gh.jsx(ide,{})]},`${e}-${t}`)))}),Gh.jsx(sde,{}),Gh.jsx(lde,{}),Gh.jsx(cde,{}),Gh.jsx(ude,{children:e=>e.map(((e,t)=>Gh.jsx(dde,{part:e},`part-${t}`)))}),Gh.jsx(pde,{})]},e.id)))})}),Gh.jsx(ede,{children:Gh.jsx(tde,{})}),Gh.jsx(nde,{})]})}function Ahe(){return Gh.jsxs(Zue,{children:[Gh.jsx(Jue,{children:Gh.jsxs(hde,{children:[Gh.jsxs(fde,{children:[Gh.jsxs(mde,{children:[Gh.jsx(gde,{}),Gh.jsx(yde,{})]}),Gh.jsx(bde,{children:e=>e.map(((e,t)=>Gh.jsxs(Z.Fragment,{children:[e,Gh.jsx(vde,{})]},`${e}-${t}`)))})]}),Gh.jsx(kde,{}),Gh.jsxs(wde,{children:[Gh.jsx(xde,{}),Gh.jsx(Ede,{children:e=>e.map(((e,t)=>Gh.jsxs(_de,{href:e.url??void 0,"data-is-match":OP(e.isMatch),children:[Gh.jsx(Sde,{}),Gh.jsx(Tde,{children:e.content}),e.url&&Gh.jsx(Cde,{})]},`${e.anchor}-${t}`)))})]})]})}),Gh.jsx(ede,{children:Gh.jsx(tde,{})}),Gh.jsx(nde,{})]})}function Nhe(){return Gh.jsx(Ade,{children:Gh.jsxs(Nde,{children:[Gh.jsx(Ide,{}),Gh.jsx(Rde,{}),Gh.jsx(Ode,{})]})})}function Ihe(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function Rhe(...e){return t=>{for(const n of e)Ihe(n,t)}}function Ohe(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 Phe(e){const{defaultView:t="search",aiChatSettings:n,baseSettings:r,searchSettings:a,shouldAutoFocusInput:o=!0,onToggleView:i,ref:s,...l}=e,c=Z.useRef(null),u=Rhe(c,null==n?void 0:n.chatFunctionsRef),d=Z.useRef(null),p=Rhe(d,null==a?void 0:a.searchFunctionsRef),h={...n,chatFunctionsRef:u},f={...a,searchFunctionsRef:p},[m,g]=Z.useState(t);Z.useImperativeHandle(s,(()=>({setView:g}))),Z.useEffect((()=>{var e,t;"chat"===m?null==(e=c.current)||e.focusInput():null==(t=d.current)||t.focusInput()}),[m]);return{config:{baseSettings:r,aiChatSettings:h,searchSettings:f},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}}function Lhe(e){const{view:t,setView:n,shouldShowAskAICard:r,onToggleView:a,defaultView:o,shouldAutoFocusInput:i,searchLabel:s,askAILabel:l}=e,c=dD()?ahe:Z.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 Gh.jsx(bD,{widget:{setView:n},children:Gh.jsx(whe,{...u,children:Gh.jsx(ohe,{...d,children:Gh.jsxs(c,{children:[Gh.jsx(Ehe,{...u}),Gh.jsx(she,{...d})]})})})})}function Dhe({label:e="Ask AI",avatar:t,onOpenChange:n}){return Gh.jsx(Fde,{children:Gh.jsxs(jde,{onClick:e=>{2!==e.button&&n((e=>!e))},children:[Gh.jsx(Bde,{children:e}),Gh.jsx(Hde,{children:Gh.jsx(zde,{avatar:t})})]})})}function Mhe({onOpenChange:e,modalSettings:t}){return Gh.jsx(Ude,{children:Gh.jsxs($de,{onClick:t=>{2!==t.button&&e((e=>!e))},children:[Gh.jsxs(Gde,{children:[Gh.jsx(Wde,{}),Gh.jsx(Vde,{})]}),Gh.jsxs(qde,{children:[Gh.jsx(Yde,{shortcutKey:null==t?void 0:t.shortcutKey}),Gh.jsx(Kde,{shortcutKey:null==t?void 0:t.shortcutKey})]})]})})}function Fhe(e){const{formSettings:t}=e;return Gh.jsx(Xde,{formSettings:t,children:Gh.jsxs(Qde,{children:[Gh.jsx(Zde,{}),Gh.jsx(Jde,{children:Gh.jsxs(epe,{children:[Gh.jsxs(tpe,{children:[Gh.jsx(jhe,{}),Gh.jsx(Bhe,{}),Gh.jsx(Hhe,{}),Gh.jsx(Uhe,{}),Gh.jsx($he,{})]}),Gh.jsx(npe,{children:Gh.jsx(rpe,{})}),Gh.jsx(ape,{})]})})]})})}function jhe(){return Gh.jsxs(ope,{children:[Gh.jsx(ipe,{}),Gh.jsx(spe,{}),Gh.jsx(lpe,{})]})}function Bhe(){const{isSubmitSuccessful:e}=rae();return e?null:Gh.jsxs(cpe,{children:[Gh.jsx(upe,{}),Gh.jsx(dpe,{children:e=>e.map((e=>Gh.jsx(Ghe,{field:e},e.name)))}),Gh.jsx(ppe,{})]})}function zhe(){return Gh.jsxs(Rpe,{children:[Gh.jsx(Ope,{}),Gh.jsx(Ppe,{})]})}function Hhe(){return Gh.jsxs(Lpe,{children:[Gh.jsx(zhe,{}),Gh.jsx(Tse,{})]})}function Uhe(){const{isSubmitSuccessful:e}=rae();return e?null:Gh.jsxs(Dpe,{children:[Gh.jsx(zhe,{}),Gh.jsxs(Vpe,{children:[Gh.jsx(Wpe,{}),Gh.jsx(qpe,{children:e=>e.map((e=>Gh.jsxs(Ype,{source:e,children:[Gh.jsx(Kpe,{}),Gh.jsx(Xpe,{})]},e.url)))})]}),Gh.jsx(Mpe,{}),Gh.jsxs(Fpe,{children:[Gh.jsx(jpe,{}),Gh.jsx(Bpe,{})]})]})}function $he(){const{aiResponse:e}=rae(),{isSubmitSuccessful:t}=rae();return t?null:Gh.jsxs(zpe,{children:[Gh.jsx(zhe,{}),!e.answerConfidence&&Gh.jsxs(Vpe,{children:[Gh.jsx(Wpe,{children:"I wasn't able to find a direct answer to your question, but here's some helpful sources:"}),Gh.jsx(qpe,{children:e=>e.map((e=>Gh.jsxs(Ype,{source:e,children:[Gh.jsx(Kpe,{}),Gh.jsx(Xpe,{})]},e.url)))})]}),Gh.jsx(Hpe,{}),Gh.jsx(Upe,{children:e=>e.map((e=>Gh.jsx(Ghe,{field:e},e.name)))}),Gh.jsx(Gpe,{}),Gh.jsx($pe,{})]})}function Ghe(e){const{field:t}=e;return Gh.jsxs(hpe,{field:t,children:[Gh.jsx(fpe,{}),"text"===t.inputType&&Gh.jsx(mpe,{}),"email"===t.inputType&&Gh.jsx(gpe,{}),"file"===t.inputType&&Gh.jsx(ype,{}),"textarea"===t.inputType&&Gh.jsx(bpe,{}),"checkbox"===t.inputType&&Gh.jsx(vpe,{children:Gh.jsx(kpe,{})}),"select"===t.inputType&&Gh.jsxs(wpe,{children:[Gh.jsxs(xpe,{children:[Gh.jsx(Epe,{}),Gh.jsx(_pe,{})]}),Gh.jsx(Spe,{children:Gh.jsx(Tpe,{children:t.items.map((e=>Gh.jsxs(Cpe,{value:e.value,children:[Gh.jsx(Ape,{children:e.label}),Gh.jsx(Npe,{})]},e.value)))})})]}),Gh.jsx(Ipe,{})]},t.name)}const Vhe={EmbeddedChat:function(e){const{baseSettings:t,aiChatSettings:n}=e;return Gh.jsx(Qpe,{wrapperStyles:{height:"inherit",width:"inherit"},children:Gh.jsx(vB,{config:{baseSettings:t,aiChatSettings:n},componentType:VO,children:Gh.jsx(ihe,{...e})})})},EmbeddedSearch:function(e){const{baseSettings:t,searchSettings:n}=e;return Gh.jsx(Qpe,{children:Gh.jsx(vB,{config:{baseSettings:t,searchSettings:n},componentType:WO,children:Gh.jsx(xhe,{...e})})})},EmbeddedSearchAndChat:function(e){const{config:t,...n}=Phe(e);return Gh.jsx(Qpe,{wrapperStyles:{height:"inherit",width:"inherit"},children:Gh.jsx(vB,{config:t,componentType:qO,children:Gh.jsx(Lhe,{...n})})})},ModalChat:function(e){const{modalSettings:t,baseSettings:n,aiChatSettings:r,...a}=e;return Gh.jsx(rhe,{componentType:$O,modalSettings:t,baseSettings:n,aiChatSettings:r,children:Gh.jsx(ihe,{...a})})},ModalSearch:function(e){const{modalSettings:t,baseSettings:n,searchSettings:r,...a}=e;return Gh.jsx(rhe,{componentType:$O,modalSettings:t,baseSettings:n,searchSettings:r,children:Gh.jsx(xhe,{shouldAutoFocusInput:!0,...a})})},ModalSearchAndChat:function(e){const{modalSettings:t,...n}=e,{config:r,...a}=Phe(n),o=Ohe(null==t?void 0:t.onOpenChange,(t=>{e.forceDefaultView&&!t&&a.setView(e.defaultView??"search")})),i={...t,onOpenChange:o};return Gh.jsx(rhe,{...r,modalSettings:i,componentType:$O,children:Gh.jsx(Lhe,{...a})})},IntelligentForm:function(e){const{baseSettings:t}=e;return Gh.jsx(Qpe,{wrapperStyles:{height:"inherit",width:"inherit"},children:Gh.jsx(vB,{config:{baseSettings:t},componentType:YO,children:Gh.jsx(Fhe,{...e})})})},ChatButton: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}=Phe({...s,defaultView:r}),[u=!1,d]=tj({prop:null==t?void 0:t.isOpen,defaultProp:!1,onChange:Ohe(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 Gh.jsxs(Gh.Fragment,{children:[Gh.jsx(Qpe,{wrapperStyles:{display:"contents"},children:Gh.jsx(vB,{config:l,componentType:UO,children:Gh.jsx(Dhe,{label:n,avatar:o,onOpenChange:d})})}),Gh.jsx(rhe,{...l,componentType:UO,modalSettings:p,children:a?Gh.jsx(Lhe,{...c}):Gh.jsx(ihe,{...i})})]})},SearchBar:function(e){const{modalSettings:t,defaultView:n="search",canToggleView:r=!0,...a}=e,o={...a,shouldShowAskAICard:!!r&&e.shouldShowAskAICard},{config:i,...s}=Phe({...o,defaultView:n}),[l=!1,c]=tj({prop:null==t?void 0:t.isOpen,defaultProp:!1,onChange:Ohe(null==t?void 0:t.onOpenChange,(r=>{void 0===(null==t?void 0:t.isOpen)&&(e.forceDefaultView&&!r&&s.setView(n),c(!!r))}))}),u={shortcutKey:"k",...t,isOpen:l,onOpenChange:c};return Gh.jsxs(Gh.Fragment,{children:[Gh.jsx(Qpe,{wrapperStyles:{display:"contents"},children:Gh.jsx(vB,{config:i,componentType:GO,children:Gh.jsx(Mhe,{onOpenChange:c,modalSettings:u})})}),Gh.jsx(rhe,{...i,modalSettings:u,componentType:GO,children:r?Gh.jsx(Lhe,{...s}):Gh.jsx(xhe,{...o})})]})}};function Whe(){window.Inkeep=Object.entries(Vhe).reduce(((e,[t,n])=>(e[t]=function(e,t){const n=new Map;return function(r,a){let o,i;if("string"==typeof r)i=r,o=a;else{if(!Mh.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-${Dh()}`;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);l||(l={root:Ih.createRoot(s),props:o,container:s,chatFunctionsRef:Z.createRef(),searchFunctionsRef:Z.createRef(),ref:Z.createRef()},n.set(i,l)),l.props=u(o,{aiChatSettings:{chatFunctionsRef:l.chatFunctionsRef},searchSettings:{searchFunctionsRef:l.searchFunctionsRef}},{ref:l.ref}),l.container=s;try{l.root.render(Z.createElement(e,l.props))}catch(p){console.error(`Error rendering component ${e.name}:`,p)}const c={update:t=>{const r=n.get(i);if(r){r.props=u(r.props??{},t??{});try{r.root.render(Z.createElement(e,r.props))}catch(p){console.error(`Error rendering component ${e.name} during update:`,p)}}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=Ih.createRoot(t.container);try{t.root.render(Z.createElement(e,t.props))}catch(p){console.error(`Error remounting component ${e.name}:`,p)}}else console.error(`Component at ${i} cannot be remounted.`)}},d=Fh[t];if("both"===d){const e=jh(i,"chatFunctionsRef",n),t=jh(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}})}return"chat"===d?new Proxy(c,{get(e,t){var r;if(t in e)return e[t];const a=n.get(i),o=null==(r=null==a?void 0:a.chatFunctionsRef.current)?void 0:r[t];return"function"==typeof o?o.bind(null==a?void 0:a.chatFunctionsRef.current):void 0}}):"search"===d?new Proxy(c,{get(e,t){var r;if(t in e)return e[t];const a=n.get(i),o=null==(r=null==a?void 0:a.searchFunctionsRef.current)?void 0:r[t];return"function"==typeof o?o.bind(null==a?void 0:a.searchFunctionsRef.current):void 0}}):c}}(n,t),e)),{})}"undefined"!=typeof window&&Whe(),"undefined"!=typeof window&&Whe();const qhe={colorMode:{sync:{target:document.documentElement,attributes:["class"],isDarkMode:e=>{var t;return!!(null==(t=e.class)?void 0:t.includes("dark"))}}}},Yhe=(e,t,n)=>{const r=e[t];if(!r)throw new Error(`${t} not found in Inkeep`);return e=>{const t="string"==typeof e?{targetSelector:e}:e,a={...t,baseSettings:u(qhe,t.baseSettings??{})},o=r(a);return o&&(null==n||n(o,a)),o}};if(!(null==(r=window.Inkeep)?void 0:r.ModalSearchAndChat))throw new Error("Inkeep failed to load properly");window.Inkeep={...window.Inkeep,ModalSearchAndChat:Yhe(window.Inkeep,"ModalSearchAndChat",((e,t)=>{var n;e.update({modalSettings:u(t.modalSettings??{},{onOpenChange:t=>e.update({modalSettings:{isOpen:t}})})}),((e,t)=>{const n=e=>{e&&!e.dataset.inkeepListenerAdded&&(e.dataset.inkeepListenerAdded="true",e.addEventListener("click",(e=>{e.preventDefault(),e.stopImmediatePropagation(),t()}),!0))};new MutationObserver((()=>{e.forEach((e=>{const t=document.getElementById(e);n(t)}))})).observe(document.body,{childList:!0,subtree:!0}),e.forEach((e=>{const t=document.getElementById(e);n(t)}))})(["search-bar-entry","search-bar-entry-mobile","home-search-entry"],(()=>e.update({modalSettings:{isOpen:!0}}))),n=()=>e.update({modalSettings:{isOpen:!0}}),window.addEventListener("keydown",(e=>{!e.metaKey&&!e.ctrlKey||"k"!==e.key&&"K"!==e.key||(e.preventDefault(),e.stopImmediatePropagation(),n())}),!0)})),ChatButton:Yhe(window.Inkeep,"ChatButton")}}();
|