PageSourceSearch

https://convoi.ai/_next/static/chunks/0~eqzvxpyimnr.js

js convoi.ai collected 2026-10-05 12:02:40 UTC 63,667 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,37727,e=>{"use strict";let t=(0,e.i(475254).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],37727)},126568,(e,t,r)=>{"use strict";var i=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,a=/\n/g,s=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,l=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,d=/^\s+|\s+$/g;function u(e){return e?e.replace(d,""):""}t.exports=function(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];t=t||{};var r=1,d=1;function p(e){var t=e.match(a);t&&(r+=t.length);var i=e.lastIndexOf("\n");d=~i?e.length-i:d+e.length}function m(){var e={line:r,column:d};return function(t){return t.position=new x(e),f(s),t}}function x(e){this.start=e,this.end={line:r,column:d},this.source=t.source}function h(i){var a=Error(t.source+":"+r+":"+d+": "+i);if(a.reason=i,a.filename=t.source,a.line=r,a.column=d,a.source=e,t.silent);else throw a}function f(t){var r=t.exec(e);if(r){var i=r[0];return p(i),e=e.slice(i.length),r}}function g(e){var t;for(e=e||[];t=v();)!1!==t&&e.push(t);return e}function v(){var t=m();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;""!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,""===e.charAt(r-1))return h("End of comment missing");var i=e.slice(2,r-2);return d+=2,p(i),e=e.slice(r),d+=2,t({type:"comment",comment:i})}}x.prototype.content=e,f(s);var b,w=[];for(g(w);b=function(){var e=m(),t=f(n);if(t){if(v(),!f(l))return h("property missing ':'");var r=f(o),a=e({type:"declaration",property:u(t[0].replace(i,"")),value:r?u(r[0].replace(i,"")):""});return f(c),a}}();)!1!==b&&(w.push(b),g(w));return w}},270454,(e,t,r)=>{"use strict";var i=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){let r=null;if(!e||"string"!=typeof e)return r;let i=(0,a.default)(e),s="function"==typeof t;return i.forEach(e=>{if("declaration"!==e.type)return;let{property:i,value:a}=e;s?t(i,a,e):a&&((r=r||{})[i]=a)}),r};let a=i(e.r(126568))},965185,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.camelCase=void 0;var i=/^--[a-zA-Z0-9_-]+$/,a=/-([a-z])/g,s=/^[^-]+$/,n=/^-(webkit|moz|ms|o|khtml)-/,l=/^-(ms)-/,o=function(e,t){return t.toUpperCase()},c=function(e,t){return"".concat(t,"-")};r.camelCase=function(e,t){var r;return(void 0===t&&(t={}),!(r=e)||s.test(r)||i.test(r))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(l,c):e.replace(n,c)).replace(a,o))}},515511,(e,t,r)=>{"use strict";var i=(e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(e.r(270454)),a=e.r(965185);function s(e,t){var r={};return e&&"string"==typeof e&&(0,i.default)(e,function(e,i){e&&i&&(r[(0,a.camelCase)(e,t)]=i)}),r}s.default=s,t.exports=s},499475,e=>{"use strict";var t=e.i(843476),r=e.i(271645),i=e.i(37727),a=e.i(475254);let s=(0,a.default)("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]),n=(0,a.default)("mic",[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]]),l=(0,a.default)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]),o=(0,a.default)("square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);function c(e){let i=`convoi-bot-${(0,r.useId)().replace(/:/g,"")}`;return(0,t.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",...e,children:[(0,t.jsxs)("mask",{id:i,children:[(0,t.jsx)("rect",{x:"0",y:"0",width:"24",height:"24",fill:"#000"}),(0,t.jsxs)("g",{fill:"#fff",children:[(0,t.jsx)("rect",{x:"4.5",y:"9",width:"15",height:"11",rx:"3.5"}),(0,t.jsx)("rect",{x:"2.2",y:"12.6",width:"3.2",height:"4.6",rx:"1.6"}),(0,t.jsx)("rect",{x:"18.6",y:"12.6",width:"3.2",height:"4.6",rx:"1.6"}),(0,t.jsx)("circle",{cx:"12",cy:"5.2",r:"1.35"})]}),(0,t.jsx)("path",{d:"M12 9.4V6.2",stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round"}),(0,t.jsxs)("g",{fill:"#000",children:[(0,t.jsx)("circle",{cx:"9",cy:"13.4",r:"1.45"}),(0,t.jsx)("circle",{cx:"15",cy:"13.4",r:"1.45"})]}),(0,t.jsx)("path",{d:"M9.2 16.9Q12 19.2 14.8 16.9",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",fill:"none"})]}
1),(0,t.jsx)("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${i})`})]})}function d(e){return(0,t.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",...e,children:[(0,t.jsx)("path",{d:"M5 1H19A4 4 0 0 1 23 5V13A4 4 0 0 1 19 17H12L6.8 21.8L7.4 17H5A4 4 0 0 1 1 13V5A4 4 0 0 1 5 1Z",fill:"#fff",stroke:"var(--palette-page)",strokeWidth:1,strokeLinejoin:"round"}),(0,t.jsxs)("g",{stroke:"var(--palette-accent)",strokeWidth:2.2,strokeLinecap:"round",children:[(0,t.jsx)("path",{d:"M6 7H18"}),(0,t.jsx)("path",{d:"M6 11.6H14"})]})]})}let u="convoi.assistant.session_id";function p(){return"u">typeof crypto&&"randomUUID"in crypto?crypto.randomUUID():`${Date.now().toString(36)}-${Math.random().toString(36).slice(2,10)}`}function m(){return window.SpeechRecognition??window.webkitSpeechRecognition}let x=()=>()=>{};var h=e.i(420061),f=e.i(76696);let g=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,v=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,b={};function w(e,t){return((t||b).jsx?v:g).test(e)}var y=e.i(124963),j=e.i(640553);let k={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var N=e.i(157871),C=e.i(359091),S=e.i(515511),E=e.i(329422),z=e.i(660787);let _={}.hasOwnProperty,M=new Map,A=/[A-Z]/g,I=new Set(["table","tbody","thead","tfoot","tr"]),$=new Set(["td","th"]),L="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function R(e,t,r){var i,a,s,n,l,o,c,d,u;let p,m,x,g,v,b,w,E,M,R,H;return"element"===t.type?(i=e,a=t,s=r,m=p=i.schema,"svg"===a.tagName.toLowerCase()&&"html"===p.space&&(i.schema=N.svg),i.ancestors.push(a),x=W(i,a.tagName,!1),g=function(e,t){let r,i,a={};for(i in t.properties)if("children"!==i&&_.call(t.properties,i)){let s=function(e,t,r){let i=(0,j.find)(e.schema,t);if(!(null==r||"number"==typeof r&&Number.isNaN(r))){if(Array.isArray(r)&&(r=i.commaSeparated?(0,f.stringify)(r):(0,C.stringify)(r)),"style"===i.property){let t="object"==typeof r?r:function(e,t){try{return(0,S.default)(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};let t=new z.VFileMessage("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=L+"#cannot-parse-style-attribute",t}}(e,String(r));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,r={};for(t in e)_.call(e,t)&&(r[function(e){let t=e.replace(A,F);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return r}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&i.space?k[i.property]||i.property:i.attribute,r]}}(e,i,t.properties[i]);if(s){let[i,n]=s;e.tableCellAlignToStyle&&"align"===i&&"string"==typeof n&&$.has(t.tagName)?r=n:a[i]=n}}return r&&((a.style||(a.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r),a}(i,a),v=O(i,a),I.has(a.tagName)&&(v=v.filter(function(e){return"string"!=typeof e||!(0,y.whitespace)(e)})),T(i,g,x,a),P(g,v),i.ancestors.pop(),i.schema=p,i.create(a,x,g,s)):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let r=t.data.estree.body[0];return(0,h.ok)("ExpressionStatement"===r.type),e.evaluater.evaluateExpression(r.expression)}D(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?(n=e,l=t,o=r,w=b=n.schema,"svg"===l.name&&"html"===b.space&&(n.schema=N.svg),n.ancestors.push(l),E=null===l.name?n.Fragment:W(n,l.name,!0),M=function(e,t){let r={};for(let i of t.attributes)if("mdxJsxExpressionAttribute"===i.type)if(i.data&&i.data.estree&&e.evaluater){let t=i.data.estree.body[0];(0,h.ok)("ExpressionStatement"===t.type);let a=t.expression;(0,h.ok)("ObjectExpression"===a.type);let s=a.properties[0];(0,h.ok)("SpreadElement"===s.type),Object.assign(r,e.evaluater.evaluateExpression(s.argument))}else D(e,t.position);else{let a,s=i.name;if(i.value&&"object"==typeof i.value)if(i.value.data&&i.value.data.estree&&e.evaluater){let t=i.value.data.estree.body[0];(0,h.ok)("ExpressionStatement"===t.type),a=e.evaluater.evaluateExpression(t.expression)}else D(e,t.position);else a=null===i.value||i.value;r[s]=a}return r}(n,l),R=O(n,l),T(n,M,E,l),P(M,R),n.ancestors.pop(),n.schema=b,n.create(l,E,M,o)):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);D(e,t.position)}(e,t):"root"===t.type?(c=e,d=t,u=r,P(H={},O(c,d)),c.create(d,c.Fragment,H,u)):"text"===t.type?t.value:void 0}
1function T(e,t,r,i){"string"!=typeof r&&r!==e.Fragment&&e.passNode&&(t.node=i)}function P(e,t){if(t.length>0){let r=t.length>1?t:t[0];r&&(e.children=r)}}function O(e,t){let r=[],i=-1,a=e.passKeys?new Map:M;for(;++i<t.children.length;){let s,n=t.children[i];if(e.passKeys){let e="element"===n.type?n.tagName:"mdxJsxFlowElement"===n.type||"mdxJsxTextElement"===n.type?n.name:void 0;if(e){let t=a.get(e)||0;s=e+"-"+t,a.set(e,t+1)}}let l=R(e,n,s);void 0!==l&&r.push(l)}return r}function W(e,t,r){let i;if(r)if(t.includes(".")){let e,r=t.split("."),a=-1;for(;++a<r.length;){let t=w(r[a])?{type:"Identifier",name:r[a]}:{type:"Literal",value:r[a]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(a&&"Literal"===t.type),optional:!1}:t}(0,h.ok)(e,"always a result"),i=e}else i=w(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else i={type:"Literal",value:t};if("Literal"===i.type){let t=i.value;return _.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(i);D(e)}function D(e,t){let r=new z.VFileMessage("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=L+"#cannot-handle-mdx-estrees-without-createevaluater",r}function F(e){return"-"+e.toLowerCase()}let H={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var U=e.i(713059),V=e.i(878999),q=e.i(175765),B=e.i(784801),K=e.i(541991);let X=[],J={allowDangerousHtml:!0},Z=/^(https?|ircs?|mailto|xmpp)$/i,G=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Y(e){var r;let i,a,s,n,l,o=(i=(r=e).rehypePlugins||X,a=r.remarkPlugins||X,s=r.remarkRehypeOptions?{...r.remarkRehypeOptions,...J}:J,(0,q.unified)().use(U.default).use(a).use(V.default,s).use(i)),c=(n=e.children||"",l=new K.VFile,"string"==typeof n?l.value=n:(0,h.unreachable)("Unexpected value `"+n+"` for `children` prop, expected `string`"),l);return function(e,r){let i=r.allowedElements,a=r.allowElement,s=r.components,n=r.disallowedElements,l=r.skipHtml,o=r.unwrapDisallowed,c=r.urlTransform||Q;for(let e of G)Object.hasOwn(r,e.from)&&(0,h.unreachable)("Unexpected `"+e.from+"` prop, "+(e.to?"use `"+e.to+"` instead":"remove it")+" (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#"+e.id+"> for more info)");return i&&n&&(0,h.unreachable)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),(0,B.visit)(e,function(e,t,r){if("raw"===e.type&&r&&"number"==typeof t)return l?r.children.splice(t,1):r.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in H)if(Object.hasOwn(H,t)&&Object.hasOwn(e.properties,t)){let r=e.properties[t],i=H[t];(null===i||i.includes(e.tagName))&&(e.properties[t]=c(String(r||""),t,e))}}if("element"===e.type){let s=i?!i.includes(e.tagName):!!n&&n.includes(e.tagName);if(!s&&a&&"number"==typeof t&&(s=!a(e,t,r)),s&&r&&"number"==typeof t)return o&&e.children?r.children.splice(t,1,...e.children):r.children.splice(t,1),t}}),function(e,t){var r,i,a,s;let n;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let l=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");r=l,i=t.jsxDEV,n=function(e,t,a,s){let n=Array.isArray(a.children),l=(0,E.pointStart)(e);return i(t,a,s,n,{columnNumber:l?l.column-1:void 0,fileName:r,lineNumber:l?l.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");
1if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");a=t.jsx,s=t.jsxs,n=function(e,t,r,i){let n=Array.isArray(r.children)?s:a;return i?n(t,r,i):n(t,r)}}let o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:n,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:l,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?N.svg:N.html,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},c=R(o,e,void 0);return c&&"string"!=typeof c?c:o.create(e,o.Fragment,{children:c||void 0},void 0)}(e,{Fragment:t.Fragment,components:s,ignoreInvalidStyle:!0,jsx:t.jsx,jsxs:t.jsxs,passKeys:!0,passNode:!0})}(o.runSync(o.parse(c),c),e)}function Q(e){let t=e.indexOf(":"),r=e.indexOf("?"),i=e.indexOf("#"),a=e.indexOf("/");return -1===t||-1!==a&&t>a||-1!==r&&t>r||-1!==i&&t>i||Z.test(e.slice(0,t))?e:""}var ee=e.i(742531);let et={p:({node:e,...r})=>(0,t.jsx)("p",{className:"text-[15px] leading-relaxed text-[#e7e7e7]",...r}),a:({node:e,...r})=>(0,t.jsx)("a",{className:"font-medium text-[var(--palette-accent-bright)] underline decoration-[var(--palette-accent)]/40 underline-offset-2 transition-colors hover:decoration-[var(--palette-accent-bright)]",target:"_blank",rel:"noreferrer noopener",...r}),strong:({node:e,...r})=>(0,t.jsx)("strong",{className:"font-semibold text-white",...r}),em:({node:e,...r})=>(0,t.jsx)("em",{className:"italic",...r}),del:({node:e,...r})=>(0,t.jsx)("del",{className:"text-[var(--palette-text-subtle)]",...r}),h1:({node:e,...r})=>(0,t.jsx)("h1",{className:"mt-1 text-lg font-semibold leading-tight text-white",...r}),h2:({node:e,...r})=>(0,t.jsx)("h2",{className:"mt-1 text-base font-semibold leading-tight text-white",...r}),h3:({node:e,...r})=>(0,t.jsx)("h3",{className:"mt-1 text-sm font-semibold uppercase tracking-wide text-[var(--palette-text-nav)]",...r}),h4:({node:e,...r})=>(0,t.jsx)("h4",{className:"text-sm font-semibold text-white",...r}),ul:({node:e,...r})=>(0,t.jsx)("ul",{className:"ml-1 list-disc space-y-1.5 pl-4 marker:text-[var(--palette-accent)]",...r}),ol:({node:e,...r})=>(0,t.jsx)("ol",{className:"ml-1 list-decimal space-y-1.5 pl-4 marker:text-[var(--palette-text-subtle)]",...r}),li:({node:e,...r})=>(0,t.jsx)("li",{className:"text-[15px] leading-relaxed text-[#e7e7e7] [&>ul]:mt-1.5 [&>ol]:mt-1.5",...r}),blockquote:({node:e,...r})=>(0,t.jsx)("blockquote",{className:"border-l-2 border-[var(--palette-accent)]/60 pl-3 text-[15px] italic leading-relaxed text-[var(--palette-text-muted)]",...r}),code:({node:e,...r})=>(0,t.jsx)("code",{className:"rounded-md bg-white/10 px-1.5 py-0.5 font-mono text-[13px] text-[var(--palette-accent-bright)]",...r}),pre:({node:e,...r})=>(0,t.jsx)("pre",{className:"overflow-x-auto rounded-xl border border-white/10 bg-black/40 p-3 font-mono text-[13px] leading-relaxed text-[#e7e7e7] [&>code]:bg-transparent [&>code]:p-0 [&>code]:text-inherit",...r}),hr:({node:e,...r})=>(0,t.jsx)("hr",{className:"border-white/10",...r}),table:({node:e,...r})=>(0,t.jsx)("div",{className:"overflow-x-auto rounded-lg border border-white/10",children:(0,t.jsx)("table",{className:"w-full border-collapse text-left text-[13px]",...r})}),thead:({node:e,...r})=>(0,t.jsx)("thead",{className:"bg-white/[0.04]",...r}),th:({node:e,...r})=>(0,t.jsx)("th",{className:"border-b border-white/10 px-3 py-2 font-semibold text-white",...r}),td:({node:e,...r})=>(0,t.jsx)("td",{className:"border-b border-white/[0.06] px-3 py-2 text-[var(--palette-text-nav)]",...r}),img:({node:e,...r})=>(0,t.jsx)("img",{className:"max-w-full rounded-lg border border-white/10",alt:"",...r})},er=(0,r.memo)(function({content:e}){return(0,t.jsx)("div",{className:"min-w-0 space-y-3 break-words [&>*:first-child]:mt-0",children:(0,t.jsx)(Y,{remarkPlugins:[ee.default],components:et,children:e})})});var ei=e.i(247167);let ea=ei.default.env.NEXT_PUBLIC_TURNSTILE_SITE_KEY?.trim()||"",es="https://challenges.cloudflare.com/turnstile/v0/api.js";function en({onToken:e}){let i=(0,r.useRef)(null),a=(0,r.useRef)(null);return((0,r.useEffect)(()=>
1{if(!ea)return;let t=!1;return new Promise(e=>{if(window.turnstile)return e();let t=document.querySelector(`script[src="${es}"]`);if(t)return void t.addEventListener("load",()=>e(),{once:!0});let r=document.createElement("script");r.src=es,r.async=!0,r.defer=!0,r.addEventListener("load",()=>e(),{once:!0}),document.head.appendChild(r)}).then(()=>{!t&&i.current&&window.turnstile&&(a.current=window.turnstile.render(i.current,{sitekey:ea,theme:"dark",callback:t=>e(t),"expired-callback":()=>e(""),"error-callback":()=>e("")}))}),()=>{if(t=!0,a.current&&window.turnstile){try{window.turnstile.remove(a.current)}catch{}a.current=null}}},[e]),ea)?(0,t.jsx)("div",{ref:i,className:"flex justify-center [&>*]:!max-w-full"}):null}let el=["What is Convoi AI?","How does pricing work?","What languages are supported?","How do I get started?"];function eo(){return(0,t.jsx)("span",{className:"inline-flex items-center gap-1 py-1","aria-label":"Assistant is typing",children:[0,1,2].map(e=>(0,t.jsx)("span",{className:"size-1.5 animate-bounce rounded-full bg-[var(--palette-text-subtle)]",style:{animationDelay:`${.15*e}s`}},e))})}function ec({message:e,streaming:r}){return"user"===e.role?(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)("div",{className:"max-w-[85%] whitespace-pre-wrap break-words rounded-2xl rounded-br-md border border-[rgba(255,119,56,0.22)] bg-[rgba(255,119,56,0.13)] px-3.5 py-2.5 text-[15px] leading-relaxed text-white",children:e.content})}):r&&!e.content?(0,t.jsx)(eo,{}):e.error?(0,t.jsx)("p",{className:"text-[15px] leading-relaxed text-[var(--palette-accent-secondary)]",children:e.content}):(0,t.jsx)(er,{content:e.content})}function ed({onClose:e}){let{messages:a,status:d,send:h,stop:f,reset:g}=function(){let[e,t]=(0,r.useState)([]),[i,a]=(0,r.useState)("idle"),s=(0,r.useRef)([]),n=(0,r.useRef)("idle"),l=(0,r.useRef)(null),o=(0,r.useRef)("");(0,r.useEffect)(()=>{s.current=e},[e]),(0,r.useEffect)(()=>{n.current=i},[i]),(0,r.useEffect)(()=>{o.current=function(){try{let e=window.sessionStorage.getItem(u);return e||(e=p(),window.sessionStorage.setItem(u,e)),e}catch{return p()}}()},[]);let c=(0,r.useCallback)((e,r)=>{t(t=>t.map(t=>t.id===e?r(t):t))},[]),d=(0,r.useCallback)(async(e,r)=>{let i=e.trim();if(!i||"streaming"===n.current)return;let d={id:p(),role:"user",content:i},u=p(),m=[...s.current.filter(e=>!e.error&&e.content.trim()).map(e=>({role:e.role,content:e.content})),{role:"user",content:i}];t(e=>[...e,d,{id:u,role:"assistant",content:""}]),a("streaming");let x=new AbortController;l.current=x;let h=e=>{c(u,t=>({...t,content:e,error:!0})),a("idle")};try{let e=await fetch("/api/chat-assistant",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({messages:m,session_id:o.current,turnstile_token:r??""}),signal:x.signal});if(!e.ok||!e.body)return void h("The assistant is unavailable right now. Please try again.");let t=e.body.getReader(),i=new TextDecoder,s="",n=!1;for(;;){let{value:e,done:r}=await t.read();if(r)break;let a=(s+=i.decode(e,{stream:!0})).split("\n\n");for(let e of(s=a.pop()??"",a)){let t,r=e.match(/event: (.+)/)?.[1]?.trim(),i=e.match(/data: ([\s\S]+)/)?.[1];if(r&&i){try{t=JSON.parse(i)}catch{continue}if("sources"===r){let e=t.sources??[];c(u,t=>({...t,sources:e}))}else if("token"===r){n=!0;let e=String(t.text??"");c(u,t=>({...t,content:t.content+e}))}else if("error"===r)return void h(String(t.message||"Something went wrong. Please try again."))}}}n||c(u,e=>e.content?e:{...e,content:"I don't have that information yet."}),a("idle")}catch(e){if(x.signal.aborted)return void a("idle");h("The assistant is unavailable right now. Please try again.")}finally{l.current=null}},[c]);return{messages:e,status:i,send:d,stop:(0,r.useCallback)(()=>{l.current?.abort(),l.current=null,a("idle")},[]),reset:(0,r.useCallback)(()=>{l.current?.abort(),l.current=null,t([]),a("idle")},[])}}(),[v,b]=(0,r.useState)(""),[w,y]=(0,r.useState)(""),j=(0,r.useRef)(null),k=(0,r.useRef)(null),N="streaming"===d,C=a[a.length-1]?.id;(0,r.useEffect)(()=>{k.current?.focus()},[]),(0,r.useEffect)(()=>{let e=j.current;e&&(e.scrollTop=e.scrollHeight)},[a]);let S=e=>{e.style.height="auto",e.style.height=`${Math.min(e.scrollHeight,128)}px`},E=(0,r.useRef)(""),{supported:z,listening:_,start:M,stop:A}=function({lang:e="en-US",onResult:t,onError:i}){let a=(0,r.useSyncExternalStore)(x,()=>!!m(),()=>!1),[s,n]=(0,r.useState)(!1),l=(0,r.useRef)(null),o=(0,r.useRef)(""),c=(0,r.useCallback)(()=>{l.current?.stop()},[]),d=(0,r.useCallback)(()=>{let r=m();if(!r||l.current)return;let a=new r;a.lang=e,a.continuous=!0,a.interimResults=!0,o.current="",a.onresult=e=>{let r="";for(let t=e.resultIndex;t<e.results.length;t+=1){let i=e.results[t],a=i[0]?.transcript??"";i.isFinal?o.current+=a:r+=a}t((o.current+r).trim())},a.onerror=e=>{i?.(e.error),n(!1),l.current=null},a.onend=()=>{n(!1),l.current=null};try{a.start(),l.current=a,n(!0)}catch{l.current=null,n(!1)}},[e,t,i]);return(0,r.useEffect)(()=>()=>{l.current?.abort(),l.current=null},[]),{supported:a,listening:s,start:d,stop:c}}({onResult:e=>{let t=E.current;b(t?`${t} ${e}`:e),k.current&&S(k.current)}}),I=e=>{let t=(e??v).trim();t&&!N&&(_&&A(),h(t,w),b(""),k.current&&(k.current.style.height="auto"))};return(0,t.jsxs)("div",{role:"dialog","aria-label":"ConvoiAI Support","data-lenis-prevent":!0,className:"flex h-[min(600px,72vh)] w-[min(400px,calc(100vw-2rem))] flex-col overflow-hidden rounded-[24px] border border-[var(--palette-border-strong)] bg-[var(--palette-surface-elevated)] shadow-[0_24px_80px_-20px_rgba(0,0,0,0.75)]",children:[(0,t.jsxs)("header",{className:"flex items-center gap-3 border-b border-white/[0.06] px-4 py-3",children:[(0,t.jsx)("div",{className:"flex size-9 shrink-0 items-center justify-center rounded-full",style:{background:"var(--gradient-talk-convoi-cta)",boxShadow:"var(--shadow-button-primary)"},children:(0,t.jsx)(c,{className:"size-6 text-white"})}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("p",{className:"text-sm font-semibold leading-tight text-white",children:"ConvoiAI Support"}),(0,t.jsx)("p",{className:"text-xs leading-tight text-[var(--palette-text-subtle)]",children:"Ask about Convoi AI"})]}),a.length>0?(0,t.jsx)("button",{type:"button",onClick:g,"aria-label":"New chat",className:"flex size-8 items-center justify-center rounded-full text-[var(--palette-text-subtle)] transition-colors hover:bg-white/[0.06] hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/40",children:(0,t.jsx)(l,{className:"size-4"})}):null,(0,t.jsx)("button",{type:"button",onClick:e,"aria-label":"Close assistant",className:"flex size-8 items-center justify-center rounded-full text-[var(--palette-text-subtle)] transition-colors hover:bg-white/[0.06] hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/40",children:(0,t.jsx)(i.X,{className:"size-4"})})]}),(0,t.jsx)("div",{ref:j,className:"assistant-scroll min-h-0 flex-1 space-y-4 overflow-y-auto overscroll-contain px-4 py-4",children:0===a.length?(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("p",{className:"text-[15px] font-medium text-white",children:"Hi! 👋 How can I help?"}),(0,t.jsx)("p",{className:"text-sm leading-relaxed text-[var(--palette-text-muted)]",children:"Ask me anything about C
1onvoi AI — pricing, features, integrations, or getting started."})]}),(0,t.jsx)("div",{className:"flex flex-col gap-2",children:el.map(e=>(0,t.jsx)("button",{type:"button",onClick:()=>I(e),className:"w-fit rounded-full border border-[var(--palette-border-control)] px-3 py-1.5 text-left text-sm text-[var(--palette-text-nav)] transition-colors hover:border-[var(--palette-accent)]/50 hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/40",children:e},e))})]}):a.map(e=>(0,t.jsx)(ec,{message:e,streaming:N&&e.id===C},e.id))}),(0,t.jsxs)("div",{className:"border-t border-white/[0.06] p-3",children:[ea.length>0?(0,t.jsx)("div",{className:"pb-2",children:(0,t.jsx)(en,{onToken:y})}):null,(0,t.jsxs)("div",{className:"flex items-end gap-2 rounded-2xl border border-[var(--palette-border-control)] bg-[var(--palette-page)] px-3 py-2 transition-colors focus-within:border-[var(--palette-accent)]/60",children:[(0,t.jsx)("textarea",{ref:k,rows:1,value:v,disabled:N,onChange:e=>{b(e.target.value),S(e.target)},onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),I())},placeholder:_?"Listening…":"Ask anything about Convoi AI…",className:"max-h-32 flex-1 resize-none bg-transparent py-1 text-[15px] leading-relaxed text-white placeholder:text-[var(--palette-text-faint)] focus:outline-none disabled:opacity-60"}),z?(0,t.jsx)("button",{type:"button",onClick:()=>{_?A():(E.current=v.trim(),M())},disabled:N,"aria-label":_?"Stop dictation":"Dictate with microphone","aria-pressed":_,className:`flex size-8 shrink-0 items-center justify-center rounded-full transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/40 disabled:cursor-not-allowed disabled:opacity-40 ${_?"animate-pulse bg-[rgba(255,119,56,0.16)] text-[var(--palette-accent-bright)]":"text-[var(--palette-text-subtle)] hover:bg-white/[0.06] hover:text-white"}`,children:(0,t.jsx)(n,{className:"size-4"})}):null,N?(0,t.jsx)("button",{type:"button",onClick:f,"aria-label":"Stop generating",className:"flex size-8 shrink-0 items-center justify-center rounded-full border border-white/20 bg-white/[0.06] text-white transition-colors hover:bg-white/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/40",children:(0,t.jsx)(o,{className:"size-3.5",fill:"currentColor"})}):(0,t.jsx)("button",{type:"button",onClick:()=>I(),disabled:!v.trim(),"aria-label":"Send message",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-white transition-[filter,opacity] hover:brightness-110 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/60 disabled:cursor-not-allowed disabled:opacity-40",style:{background:"var(--gradient-talk-convoi-cta)",boxShadow:"var(--shadow-button-primary)"},children:(0,t.jsx)(s,{className:"size-4",strokeWidth:2.5})})]})]})]})}e.s(["AssistantWidget",0,function(){let[e,a]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(!e)return;let t=e=>{"Escape"===e.key&&a(!1)};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)},[e]),(0,t.jsxs)("div",{className:"pointer-events-none fixed bottom-4 right-4 z-50 flex flex-col items-end gap-3 sm:bottom-6 sm:right-6",children:[e?(0,t.jsx)("div",{className:"assistant-pop-in pointer-events-auto",children:(0,t.jsx)(ed,{onClose:()=>a(!1)})}):null,(0,t.jsx)("button",{type:"button",onClick:()=>a(e=>!e),"aria-expanded":e,"aria-label":e?"Close support chat":"Open ConvoiAI Support",className:"pointer-events-auto relative flex size-14 items-center justify-center rounded-full text-white transition-[filter,transform] hover:brightness-110 active:scale-95 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/70 focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--palette-page)]",style:{background:"var(--gradient-talk-convoi-cta)",boxShadow:"var(--shadow-button-primary)"},children:e?(0,t.jsx)(i.X,{className:"size-6",strokeWidth:2.2}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c,{className:"size-10"}),(0,t.jsx)(d,{className:"pointer-events-none absolute -right-[7px] -top-[7px] size-[25px]"})]})})]})}],499475)},403265,e=>{"use strict";var t=e.i(843476),r=e.i(88653),i=e.i(846932);let a=(0,e.i(475254).default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);var s=e.i(37727),n=e.i(522016),l=e.i(271645),o=e.i(347053),c=e.i(730442);let d={href:"/blog",title:"Blogs",description:"Articles, news and how-tos shaping modern business ops.",illustration:"blog"},u={href:"/knowledge-base",title:"Knowledge Base",description:"Product documentation, FAQs, and technical walkthroughs",illustration:"kb"},p={href:"/case-studies",title:"Case Studies",description:"Success stories from companies that made smarter moves with Convoi AI",illustration:"case"},m={href:"/guides",title:"Guides",description:"Clear, thorough, and practical guides for early-stage problem-solving",illustration:"guides"},x=[d,u,p,m],h=[[d,p],[u,m]];var f=e.i(809754),g=e.i(164796),v=e.i(657688);let b="/navbar-icons/convoi-ai-logo.svg";function w({className:e,variant:r="lockup",markSlotWidth:i=36,markHeight:a=40}){return"navbar"===r?(0,t.jsx)("span",{className:`inline-flex h-[62px] w-[min(192px,70vw)] max-w-[192px] shrink-0 items-center justify-start overflow-hidden ${e??""}`,children:(0,t.jsx)(v.default,{src:b,alt:"ConvoiAi",width:109,height:40,className:"h-[62px] w-auto max-w-full shrink-0 object-contain object-left select-none",sizes:"(max-width: 768px) 70vw, 192px",priority:!0})}):"lockup"===r?(0,t.jsx)("span",{className:`inline-flex items-center ${e??""}`,children:(0,t.jsx)(v.default,{src:b,alt:"ConvoiAi",width:109,height:40,className:"h-10 w-auto max-w-[min(220px,70vw)] shrink-0 object-left object-contain",priority:!0})}):(0,t.jsxs)("span",{className:`inline-flex items-center gap-2.5 ${e??""}`,children:[(0,t.jsx)("span",{className:"relative shrink-0 overflow-hidden",style:{width:i,height:a}
1,"aria-hidden":!0,children:(0,t.jsx)(v.default,{src:b,alt:"",fill:!0,className:"object-contain object-left",sizes:`${i}px`,priority:!0})}),(0,t.jsx)("span",{className:"text-[1.05rem] font-semibold tracking-tight text-white",children:"ConvoiAi"})]})}let y="gap-4",j={blog:{mask:"/images/Mask-group.svg",dashed:"/images/Vector-1.svg",icon:"/images/file-01.svg"},case:{mask:"/images/Mask-group.svg",dashed:"/images/Vector-1.svg",icon:"/images/note-01.svg"},kb:{mask:"/images/Mask-group.svg",dashed:"/images/Vector.svg",icon:"/images/database-01.svg"},guides:{mask:"/images/Mask-group.svg",dashed:"/images/Vector.svg",icon:"/images/book-open-02.svg"}};function k({item:e,onNavigate:r}){let i=j[e.illustration];return(0,t.jsx)(n.default,{href:e.href,onClick:r,className:"group convoi-hover-gradient-border relative flex h-[129.29px] w-full cursor-pointer overflow-hidden rounded-2xl border border-[#222] bg-[#111]",children:(0,t.jsxs)("div",{className:"relative z-10 flex h-full min-h-0 min-w-0 flex-1 flex-row items-stretch",children:[(0,t.jsxs)("div",{className:"relative z-30 flex min-w-0 flex-1 flex-col justify-center gap-2 p-4",children:[(0,t.jsx)("span",{className:"convoi-hover-gradient-title text-base font-medium leading-[30px] text-white",children:e.title}),(0,t.jsx)("p",{className:"text-xs leading-5 text-[#b4b4b4]",children:e.description})]}),(0,t.jsxs)("div",{className:"relative aspect-[600/520] h-full shrink-0 overflow-hidden bg-[#111]",children:[(0,t.jsx)(v.default,{src:i.mask,alt:"",fill:!0,className:"object-cover object-[56%_38%]",sizes:"150px",priority:!1,unoptimized:i.mask.endsWith(".svg")}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 z-[1] h-[52%] bg-gradient-to-t from-[#111] from-0% via-[#111]/90 via-40% to-transparent to-100%","aria-hidden":!0}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-[18%_8%_6%_28%] z-[2] opacity-50","aria-hidden":!0,children:(0,t.jsx)(v.default,{src:i.dashed,alt:"",fill:!0,className:"object-contain object-center",sizes:"120px",unoptimized:i.dashed.endsWith(".svg")})}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-[18%_6%_6%_26%] z-[2] opacity-50","aria-hidden":!0,children:(0,t.jsx)(v.default,{src:i.icon,alt:"",fill:!0,className:"object-contain object-center",sizes:"96px",unoptimized:i.icon.endsWith(".svg")})})]}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 z-[12] overflow-hidden rounded-2xl","aria-hidden":!0,style:{backgroundImage:"radial-gradient(120% 95% at 55% 110%, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.045) 42%, rgba(255,255,255,0) 78%), linear-gradient(to top, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 66%)",WebkitMaskImage:"linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 42%, rgba(0,0,0,0.18) 72%, rgba(0,0,0,0) 100%)",WebkitMaskSize:"100% 100%",WebkitMaskRepeat:"no-repeat",maskImage:"linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 42%, rgba(0,0,0,0.18) 72%, rgba(0,0,0,0) 100%)",maskSize:"100% 100%",maskRepeat:"no-repeat"}})]})})}function N({onNavigate:e}){let[r,i]=h;return(0,t.jsx)("div",{className:"w-full",children:(0,t.jsx)("div",{className:`flex min-w-0 flex-col ${y} lg:flex-row lg:items-stretch`,children:(0,t.jsxs)("div",{className:`flex min-h-0 min-w-0 flex-1 flex-col ${y} sm:flex-row lg:max-w-[781px]`,children:[(0,t.jsx)("div",{className:`flex min-w-0 flex-1 flex-col ${y} lg:max-w-[382.5px]`,children:r.map(r=>(0,t.jsx)(k,{item:r,onNavigate:e},r.href))}),(0,t.jsx)("div",{className:`flex min-w-0 flex-1 flex-col ${y} lg:max-w-[382.5px]`,children:i.map(r=>(0,t.jsx)(k,{item:r,onNavigate:e},r.href))})]})})})}let C="radial-gradient(120% 95% at 55% 110%, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.045) 42%, rgba(255,255,255,0) 78%), linear-gradient(to top, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 66%)";function S({onNavigate:e}){return(0,t.jsx)("div",{className:"flex w-full flex-col gap-4",children:(0,t.jsxs)("div",{className:"grid w-full grid-cols-1 gap-4 lg:grid-cols-[450px_1fr] lg:items-stretch lg:gap-4",children:[(0,t.jsx)("div",{className:"flex min-h-0 flex-col gap-4",children:(0,t.jsx)("div",{className:"flex min-h-0 flex-col gap-4 lg:flex-1",children:c.servicesListItems.map(r=>{let i="appointment-booking"===r.slug?"/services-appointment-booking-nav.webp":"lead-qualification"===r.slug?"/services-lead-qualification-nav.webp":null;return(0,t.jsx)(n.default,{href:`/services/${r.slug}`,onClick:e,className:"group convoi-hover-gradient-border relative flex overflow-hidden rounded-2xl border border-[#222] bg-[#111] lg:h-[175px]",children:(0,t.jsxs)("div",{className:"relative z-10 flex min-w-0 flex-1 items-stretch",children:[(0,t.jsxs)("div",{className:"relative z-30 flex min-w-0 flex-[0_0_60%] flex-col gap-2 p-4",children:[(0,t.jsx)("div",{className:"convoi-hover-gradient-title text-base font-medium leading-[30px] text-white",children:r.title}),(0,t.jsx)("div",{className:"text-muted text-xs leading-5",children:"lead-qualification"===r.slug?(0,t.jsxs)(t.Fragment,{children:["Automate cold calls, screen prospects, and",(0,t.jsx)("br",{}),"route only the best leads."]}):r.description})]}),(0,t.jsx)("div",{className:"relative flex-[0_0_40%] overflow-hidden","aria-hidden":!0,style:{maxWidth:190},children:i?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(v.default,{src:i,alt:"",fill:!0,className:"object-contain object-right",sizes:"190px",priority:!1}),(0,t.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(to left, rgba(15,15,15,0.22) 0%, rgba(15,15,15,0.0) 58%)"}})]}):null}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 overflow-hidden rounded-2xl","aria-hidden":!0,style:{to
1p:"50%",backgroundImage:C,WebkitMaskImage:"linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0) 100%)",WebkitMaskSize:"100% 100%",WebkitMaskRepeat:"no-repeat",maskImage:"linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0) 100%)",maskSize:"100% 100%",maskRepeat:"no-repeat"}})]})},r.slug)})})}),(0,t.jsxs)("div",{className:"flex h-full flex-col gap-3",children:[(0,t.jsxs)(n.default,{href:`/services/${c.featuredService.slug}`,onClick:e,className:"group relative h-[244px] shrink-0 overflow-hidden rounded-2xl","aria-label":c.featuredService.title,children:[(0,t.jsx)(v.default,{src:"/services/services-hero.webp",alt:"",fill:!0,className:"object-cover",sizes:"(min-width: 1024px) 330px, 100vw",priority:!1}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/20"})]}),(0,t.jsxs)(n.default,{href:`/services/${c.featuredService.slug}`,onClick:e,className:"group convoi-hover-gradient-border relative h-[110px] shrink-0 overflow-hidden rounded-2xl border border-[#222] bg-[#111] p-4",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 overflow-hidden rounded-2xl","aria-hidden":!0,style:{top:"50%",backgroundImage:C,WebkitMaskImage:"linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0) 100%)",WebkitMaskSize:"100% 100%",WebkitMaskRepeat:"no-repeat",maskImage:"linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0) 100%)",maskSize:"100% 100%",maskRepeat:"no-repeat"}}),(0,t.jsx)("div",{className:"convoi-hover-gradient-title relative z-30 text-base font-medium leading-[30px] text-white",children:c.featuredService.title}),(0,t.jsx)("div",{className:"relative z-30 mt-2 text-muted text-xs leading-5",children:c.featuredService.description})]})]})]})})}var E=e.i(791844);function z({slug:e,className:r}){return"insurance"===e?(0,t.jsx)("div",{className:`relative isolate flex-1 h-full min-h-[120px] w-full max-w-full overflow-visible ${r??""}`,"aria-hidden":!0,children:(0,t.jsx)(v.default,{src:E.convoiHomeAssets.solutionInsuranceLooperSvg,alt:"",fill:!0,unoptimized:!0,className:"object-contain",style:{objectPosition:"right bottom"},sizes:"(max-width: 1024px) 45vw, 200px"})}):"financial-services"===e?(0,t.jsx)("div",{className:`relative isolate flex-1 h-full min-h-[120px] w-full max-w-full overflow-visible ${r??""}`,"aria-hidden":!0,children:(0,t.jsx)(v.default,{src:E.convoiHomeAssets.solutionFinancialServicesLooperSvg,alt:"",fill:!0,unoptimized:!0,className:"object-contain",style:{objectPosition:"right bottom"},sizes:"(max-width: 1024px) 45vw, 200px"})}):"home-services"===e?(0,t.jsx)("div",{className:`relative isolate flex-1 h-full min-h-[120px] w-full max-w-full overflow-visible ${r??""}`,"aria-hidden":!0,children:(0,t.jsx)(v.default,{src:E.convoiHomeAssets.solutionHomeServicesTopologySvg,alt:"",fill:!0,unoptimized:!0,className:"object-contain",style:{objectPosition:"right bottom"},sizes:"(max-width: 1024px) 45vw, 200px"})}):"retail-ecommerce"===e?(0,t.jsx)("div",{className:`relative isolate flex-1 h-full min-h-[120px] w-full max-w-full overflow-visible ${r??""}`,"aria-hidden":!0,children:(0,t.jsx)(v.default,{src:E.convoiHomeAssets.solutionRetailEcommerceTopologySvg,alt:"",fill:!0,unoptimized:!0,className:"object-contain",style:{objectPosition:"right bottom"},sizes:"(max-width: 1024px) 45vw, 200px"})}):"healthcare"===e?(0,t.jsx)("div",{className:`relative isolate flex-1 h-full min-h-[120px] w-full max-w-full overflow-visible ${r??""}`,"aria-hidden":!0,children:(0,t.jsx)(v.default,{src:E.convoiHomeAssets.solutionHealthcareHeartSvg,alt:"",fill:!0,unoptimized:!0,className:"object-contain",style:{objectPosition:"right bottom"},sizes:"(max-width: 1024px) 45vw, 200px"})}):"travel-hospitality"===e?(0,t.jsx)("div",{className:`relative isolate flex-1 h-full min-h-[120px] w-full max-w-full overflow-visible ${r??""}`,"aria-hidden":!0,children:(0,t.jsx)(v.default,{src:E.convoiHomeAssets.solutionTravelHospitalityLooperSvg,alt:"",fill:!0,unoptimized:!0,className:"object-contain",style:{objectPosition:"right bottom"},sizes:"(max-width: 1024px) 45vw, 200px"})}):(0,t.jsx)("svg",{viewBox:"0 0 120 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:`w-full max-w-[140px] opacity-90 ${r??""}`,"aria-hidden":!0})}let _="linear-gradient(to bottom, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.26) 40%, rgba(255,255,255,0.60) 100%)",M={healthcare:_,"financial-services":_,"home-services":_,insurance:_,"travel-hospitality":_,"retail-ecommerce":_},A="radial-gradient(circle at center, rgba(255,255,255,0.14) 1px, transparent 2px)",I={healthcare:[11,11,11,11,6,5,5,3,2,2,1,0,0],"financial-services":[4,2,1,0,5,7,8,9,9,9,9,8,8],"home-services":[11,11,9,8,4,0,0,2,3,2,2,3,2],insurance:[11,11,11,11,11,11,{top:3,bottom:4},{top:2,bottom:2},{top:1,bottom:2},0,0,1,0],"travel-hospitality":[7,5,4,3,3,3,3,2,3,3,4,6,7],"retail-ecommerce":[11,11,{top:1,bottom:6}
1,{top:1,bottom:3,bottomSkip:2},0,0,0,1,2,1,0,1,10]};function $(e){return Math.max(0,Math.min(11,Math.round(e)))}function L({onNavigate:e}){return(0,t.jsx)("div",{className:"grid w-full grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-6",children:c.solutions.map(r=>{let i=r.slug,a=I[i],s=a&&13===a.length,l="healthcare"===i||"financial-services"===i||"home-services"===i||"insurance"===i||"travel-hospitality"===i||"retail-ecommerce"===i,o="healthcare"===i?"/vector-backgrounds-3.webp":"financial-services"===i?"/vector-backgrounds-4.webp":"home-services"===i?"/vector-backgrounds-5.webp":"insurance"===i?"/vector-backgrounds-6.webp":"travel-hospitality"===i?"/vector-backgrounds-7.webp":"retail-ecommerce"===i?"/vector-backgrounds-8.webp":null;return(0,t.jsxs)(n.default,{href:`/solutions/${i}`,onClick:e,className:"group convoi-hover-gradient-border relative flex h-[298px] w-full flex-col overflow-hidden rounded-2xl border border-[var(--palette-ui-border-dark)] bg-[var(--palette-mega-dropdown)]",children:[(0,t.jsxs)("div",{className:"relative z-[30] box-border flex h-[130px] shrink-0 flex-col gap-4 px-4 py-4 text-left",children:[(0,t.jsx)("div",{className:"convoi-hover-gradient-title text-[16px] font-semibold leading-[30px] text-white",children:r.title}),(0,t.jsx)("p",{className:"text-[12px] font-normal leading-5 text-[var(--palette-text-muted)]",children:r.description})]}),(0,t.jsxs)("div",{className:`relative flex h-[168px] w-full shrink-0 flex-col items-start justify-end overflow-hidden rounded-b-2xl transition ${l?"opacity-100":"opacity-80 group-hover:opacity-100"}`,style:o?{backgroundImage:`url(${o})`,backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"cover"}:void 0,children:[(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 z-[1] overflow-hidden rounded-b-2xl",style:{backgroundImage:"radial-gradient(115% 90% at 55% 108%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.035) 40%, rgba(255,255,255,0) 78%), linear-gradient(to top, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 66%)"}}),!l&&(s?(0,t.jsx)(t.Fragment,{children:a.map((e,r)=>{let a=M[i];if("number"==typeof e){let i=$(e);return(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute top-0 z-0 h-full overflow-hidden",style:{left:`calc(${r} * 100% / 13)`,width:"calc(100% / 13)",backgroundImage:A,backgroundSize:"100% calc(100% / 11)",backgroundRepeat:"repeat",backgroundPosition:"left top",clipPath:`inset(0 0 ${i<=0?100:(11-i)/11*100}% 0)`,WebkitMaskImage:a,WebkitMaskSize:"100% 100%",WebkitMaskRepeat:"no-repeat",maskImage:a,maskSize:"100% 100%",maskRepeat:"no-repeat"}},r)}let s=function(e,t,r=0){let i=$(e),a=$(t),s=Math.max(0,Math.min(11,Math.round(r)));if(i+a+s>11&&(a=Math.max(0,11-i-s)),i<=0&&a<=0)return"linear-gradient(to bottom, transparent 0%, transparent 100%)";let n=i/11*100,l=(11-s-a)/11*100,o=(11-s)/11*100;return a<=0?i<=0?"linear-gradient(to bottom, transparent 0%, transparent 100%)":`linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,1) ${n}%, transparent ${n}%, transparent 100%)`:i<=0?`linear-gradient(to bottom, transparent 0%, transparent ${l}%, rgba(255,255,255,1) ${l}%, rgba(255,255,255,1) ${o}%, transparent ${o}%, transparent 100%)`:`linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,1) ${n}%, transparent ${n}%, transparent ${l}%, rgba(255,255,255,1) ${l}%, rgba(255,255,255,1) ${o}%, transparent ${o}%, transparent 100%)`}
1(e.top,e.bottom,e.bottomSkip??0);return(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute top-0 z-0 h-full overflow-hidden",style:{left:`calc(${r} * 100% / 13)`,width:"calc(100% / 13)",backgroundImage:A,backgroundSize:"100% calc(100% / 11)",backgroundRepeat:"repeat",backgroundPosition:"left top",WebkitMaskImage:`${s}, ${a}`,WebkitMaskSize:"100% 100%, 100% 100%",WebkitMaskRepeat:"no-repeat, no-repeat",WebkitMaskComposite:"source-in",maskImage:`${s}, ${a}`,maskSize:"100% 100%, 100% 100%",maskRepeat:"no-repeat, no-repeat",maskComposite:"intersect"}},r)})}):(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 z-0 overflow-hidden rounded-b-2xl",style:{backgroundImage:A,backgroundSize:"15px 15px",backgroundRepeat:"repeat",backgroundPosition:"left top",WebkitMaskImage:M[i],WebkitMaskSize:"100% 100%",WebkitMaskRepeat:"no-repeat",maskImage:M[i],maskSize:"100% 100%",maskRepeat:"no-repeat"}})),!l&&!s&&(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 z-[5] overflow-hidden rounded-b-2xl",style:{background:"radial-gradient(ellipse 62% 56% at 62% 88%, var(--palette-mega-dropdown) 0%, var(--palette-mega-dropdown) 52%, transparent 58%)"}}),!l&&(0,t.jsx)("div",{className:"relative z-[30] flex min-h-0 w-full flex-1 flex-col items-start justify-end px-2 pb-2",children:(0,t.jsx)(z,{slug:i})})]})]},i)})})}let R=[.22,1,.36,1],T={type:"spring",stiffness:380,damping:30,mass:.85},P={hidden:{opacity:0,y:-8,scale:.98},visible:{opacity:1,y:0,scale:1,transition:{opacity:{duration:.2,ease:R},y:T,scale:T}},leaving:{opacity:0,y:-6,scale:.99,transition:{duration:.18,ease:R}}},O={hidden:{},visible:{transition:{staggerChildren:.036,delayChildren:.03}}},W={hidden:{opacity:0,y:8},visible:{opacity:1,y:0,transition:{duration:.2,ease:R}}};function D({open:e,children:a,presenceKey:s="navbar-mega-dropdown"}){return(0,t.jsx)(r.AnimatePresence,{initial:!1,children:e?(0,t.jsx)(i.motion.div,{className:"pointer-events-auto absolute inset-x-0 top-full z-50 mt-1 transform-gpu will-change-[transform,opacity] backface-hidden",style:{transformOrigin:"50% 0%"},variants:P,initial:"hidden",animate:"visible",exit:"leaving",children:a},s):null})}function F({className:e}){return(0,t.jsx)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,"aria-hidden":!0,children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 9.29181C7.96673 9.25959 7.92885 9.22175 7.88215 9.17504L4.35355 5.64645C4.15829 5.45119 3.84171 5.45119 3.64645 5.64645C3.45118 5.84171 3.45118 6.15829 3.64645 6.35356L7.17504 9.88215C7.18043 9.88754 7.18584 9.89295 7.19127 9.89839C7.28793 9.99512 7.39244 10.0997 7.49256 10.1761C7.60985 10.2656 7.77769 10.3619 8 10.3619C8.22231 10.3619 8.39015 10.2656 8.50744 10.1761C8.60756 10.0997 8.71207 9.99512 8.80873 9.89839C8.81416 9.89295 8.81957 9.88754 8.82496 9.88215L12.3536 6.35356C12.5488 6.15829 12.5488 5.84171 12.3536 5.64645C12.1583 5.45119 11.8417 5.45119 11.6464 5.64645L8.11785 9.17504C8.07115 9.22175 8.03327 9.25959 8 9.29181Z",fill:"currentColor"})})}function H({id:e,active:r,children:a,onMouseEnter:s,onToggle:n}){return(0,t.jsxs)("button",{type:"button",className:`group relative flex h-10 items-center gap-1.5 rounded-full px-4 text-[15px] font-medium leading-none transition-colors duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--palette-accent)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--palette-navbar)] ${r?"text-white":"text-[var(--palette-text-nav)] hover:bg-white/[0.06] hover:text-white"}`,"aria-expanded":r,"aria-haspopup":"true",onMouseEnter:s,onClick:()=>n(e),children:[r&&(0,t.jsx)(i.motion.span,{layoutId:"navbar-active-pill","aria-hidden":!0,className:"absolute inset-0 -z-10 rounded-full bg-[var(--palette-accent)]/8 ring-1 ring-inset ring-[var(--palette-accent)]/50",transition:{type:"spring",stiffness:380,damping:32,mass:.7}}),(0,t.jsx)("span",{className:"relative",children:a}),(0,t.jsx)(F,{className:`size-3.5 shrink-0 transition-all duration-200 ${r?"rotate-180 text-white":"text-[var(--palette-text-nav)] group-hover:text-white"}`})]})}e.s(["Navbar",0,function(){let[e,d]=(0,l.useState)(null),[u,p]=(0,l.useState)(!1),[m,h]=(0,l.useState)(!1),v=(0,l.useRef)(null),b=(0,l.useRef)(null),y=(0,l.useRef)(null),j=(0,l.useRef)(null),k=(0,l.useRef)(null),C=(0,l.useRef)(!1),E=(0,l.useCallback)(()=>{v.current&&(clearTimeout(v.current),v.current=null)},[]),z=(0,l.useCallback)(()=>{E(),d(null)},[E]),_=(0,l.useCallback)(()=>{E(),v.current=setTimeout(()=>d(null),160)},[E]),M=(0,l.useCallback)(e=>{E(),d(e)},[E]),A=(0,l.useCallback)(e=>{E(),d(t=>t===e?null:e)},[E]);return(0,l.useEffect)(()=>{function e(e){"Escape"===e.key&&(d(null),p(!1))}return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[]),(0,l.useEffect)(()=>{function e(e){b.current?.contains(e.target)||d(null)}return window.addEventListener("pointerdown",e),()=>window.removeEventListener("pointerdown",e)},[]),(0,l.useEffect)(()=>{function e(){h(window.scrollY>8)}return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,l.useEffect)(()=>(document.body.style.overflowY=u?"hidden":"",()=>{document.body.style.overflowY=""}),[u]),(0,l.useEffect)(()=>{C.current&&!u&&queueMicrotask(()=>(0,o.dispatchLenisRemeasure)()),C.current=u},[u]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{ref:b,className:`sticky top-0 z-50 bg-black py-2 transition-colors duration-300 lg:py-2.5 ${m||null!==e?"border-b border-white/[0.08]":"border-b border-transparent"}`,style:{willChange:"transform",transform:"translateZ(0)"},"data-figma-component":"Navigation-Bar",onMouseLeave:e=>{let t=e.relatedTarget;return t instanceof Node?y.current?.contains(t)?void 0:void(!j.current?.contains(t)&&_()):_()},children:[(0,t.jsx)("div",{className:"mx-auto w-full max-w-[1280px] px-3 sm:px-4 lg:px-6",children:(0,t.jsxs)("div",{className:"flex min-h-[48px] items-center justify-between gap-6",onMouseEnter:E,children:[(0,t.jsx)(n.default,{href:"/",className:"shrink-0 transition-opacity hover:opacity-80","aria-label":"Convoi AI home",onClick:z,children:(0,t.jsx)(w,{variant:"navbar"})}),(0,t.jsx)("nav",{ref:y,className:"hidden flex-1 items-center justify-center lg:flex","aria-label":"Primary",children:(0,t.jsxs)("div",{className:"relative flex items-center gap-1 rounded-full border border-white/[0.08] bg-white/[0.03] p-0.5 shadow-[inset_0_1px_0_rgba(255,255,255,0.05)]",children:[(0,t.jsx)(H,{id:"solutions",active:"solutions"===e,onMouseEnter:()=>M("solutions"),onToggle:A,children:"Solutions"}),(0,t.jsx)(H,{id:"services",active:"services"===e,onMouseEnter:()=>M("services"),onToggle:A,children:"Services"}),(0,t.jsx)(H,{id:"resources",active:"resources"===e,onMouseEnter:()=>M("resources"),onToggle:A,children:"Resources"}),(0,t.jsx)(n.default,{href:"/pricing",onClick:z,onMouseEnter:z,onF
1ocus:z,className:"relative flex h-10 items-center rounded-full px-4 text-[15px] font-medium leading-none text-[var(--palette-text-nav)] transition-colors duration-200 hover:bg-white/[0.06] hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--palette-accent)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--palette-navbar)]",children:"Pricing"}),(0,t.jsx)(n.default,{href:"/docs",onClick:z,onMouseEnter:z,onFocus:z,className:"relative flex h-10 items-center rounded-full px-4 text-[15px] font-medium leading-none text-[var(--palette-text-nav)] transition-colors duration-200 hover:bg-white/[0.06] hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--palette-accent)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--palette-navbar)]",children:"Docs"})]})}),(0,t.jsxs)("div",{className:"hidden shrink-0 items-center gap-3 lg:flex",children:[(0,t.jsx)(n.default,{href:f.siteConfig.bookingsUrl,target:"_blank",rel:"noreferrer noopener",onClick:z,className:"group relative inline-flex h-10 items-center justify-center rounded-full border border-white/15 bg-white/[0.04] px-5 text-[15px] font-semibold leading-none text-white/90 transition-all duration-200 hover:border-white/25 hover:bg-white/[0.08] hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--palette-accent)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--palette-navbar)]",children:"Contact Us"}),(0,t.jsxs)(n.default,{href:f.siteConfig.dashboardUrl,target:"_blank",rel:"noreferrer noopener",onClick:z,className:"group relative inline-flex h-10 items-center justify-center gap-2 overflow-hidden rounded-full border border-transparent px-5 text-[15px] font-semibold leading-none text-white transition-[filter,box-shadow] duration-200 hover:brightness-110 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--palette-accent-bright)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--palette-navbar)]",style:{backgroundImage:"var(--gradient-talk-convoi-cta), var(--gradient-brand-button-border)",backgroundOrigin:"border-box",backgroundClip:"padding-box, border-box",boxShadow:"var(--shadow-button-primary)"},children:[(0,t.jsx)("span",{className:"relative",children:"Get Started"}),(0,t.jsx)(g.NavbarCtaArrow,{className:"size-4 shrink-0 text-white transition-transform duration-200 group-hover:translate-x-0.5"})]})]}),(0,t.jsx)("button",{type:"button",className:"inline-flex size-11 items-center justify-center rounded-full border border-white/10 bg-white/[0.03] text-white transition-all duration-200 hover:border-white/20 hover:bg-white/[0.06] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--palette-accent)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--palette-navbar)] lg:hidden","aria-expanded":u,"aria-label":u?"Close menu":"Open menu",onClick:()=>p(e=>!e),children:u?(0,t.jsx)(s.X,{className:"size-5"}):(0,t.jsx)(a,{className:"size-5"})})]})}),(0,t.jsx)(D,{open:null!==e,children:(0,t.jsxs)("div",{ref:j,className:"pointer-events-auto mx-auto flex w-full max-w-[1280px] flex-col px-3 pb-2 sm:px-4 lg:px-6",onMouseEnter:E,children:[(0,t.jsx)("div",{className:"h-3 shrink-0 bg-transparent","aria-hidden":!0,onMouseEnter:E}),(0,t.jsx)("div",{ref:k,className:"services"===e?"mx-auto w-full min-w-[375px] max-w-[800px]":"resources"===e?"mx-auto w-full min-w-[375px] max-w-[820px]":"w-full min-w-0",onMouseEnter:E,onMouseLeave:_,children:(0,t.jsx)("div",{className:"services"===e?"w-full rounded-3xl border border-white/[0.08] bg-[#0d0d0d] p-5 shadow-[0_30px_60px_-20px_rgba(0,0,0,0.7)]":"resources"===e?"w-full min-w-0 rounded-3xl border border-white/[0.08] bg-[#0d0d0d] p-5 shadow-[0_30px_60px_-20px_rgba(0,0,0,0.7)]":"w-full min-w-0 rounded-3xl border border-white/[0.08] bg-[#0d0d0d] px-4 pb-4 pt-5 shadow-[0_30px_60px_-20px_rgba(0,0,0,0.7)]",children:(0,t.jsxs)(i.motion.div,{className:"min-w-0",variants:O,initial:"hidden",animate:"visible",children:[(0,t.jsxs)(i.motion.h2,{variants:W,className:"mb-4 text-[22px] font-semibold leading-[32px] tracking-tight text-white",children:["solutions"===e&&"Solutions","services"===e&&"Services","resources"===e&&"Resources"]}),(0,t.jsxs)(i.motion.div,{className:"min-w-0",variants:W,children:["solutions"===e&&(0,t.jsx)(L,{onNavigate:z}),"services"===e&&(0,t.jsx)(S,{onNavigate:z}),"resources"===e&&(0,t.jsx)(N,{onNavigate:z})]})]},e)})})]})})]}),(0,t.jsx)(r.AnimatePresence,{children:u&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.motion.div,{className:"fixed inset-0 z-[55] bg-black/70 lg:hidden",initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},onClick:()=>p(!1),"aria-hidden":!0},"mobile-backdrop"),(0,t.jsxs)(i.motion.div,{className:"fixed inset-y-0 right-0 z-[60] flex w-full max-w-sm flex-col border-l border-white/[0.08] bg-[#0a0a0a] lg:hidden",role:"dialog","aria-modal":"true","aria-label":"Menu",initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{type:"spring",stiffness:380,damping:38,mass:.85},children:[(0,t.jsxs)("div",{className:"flex min-h-[72px] shrink-0 items-center justify-between border-b border-white/[0.06] px-5",children:[(0,t.jsx)(n.default,{href:"/",onClick:()=>p(!1),children:(0,t.jsx)(w,{variant:"navbar"})}),(0,t.jsx)("button",{type:"button",className:"inline-flex size-10 items-center justify-center rounded-full border border-white/10 bg-white/[0.03] text-white transition-all duration-200 hover:border-white/20 hover:bg-white/[0.06] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--palette-accent)]","aria-label":"Close menu",onClick:()=>p(!1),children:(0,t.jsx)(s.X,{className:"size-5"})})]}),(0,t.jsxs)("div",{"data-lenis-prevent":!0,className:"flex min-h-0 flex-1 flex-col overflow-y-auto overscroll-contain px-5 py-6 pb-[max(1.5rem,env(safe-area-inset-bottom))]",children:[(0,t.jsx)("p",{className:"text-[11px] font-semibold uppercase tracking-[0.14em] text-white/40",children:"Solutions"}),(0,t.jsxs)("ul",{className:"mt-3 space-y-1 border-b border-white/[0.06] pb-5",children:[(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/solutions",className:"flex items-center rounded-xl px-3 py-2.5 text-[15px] font-medium text-white transition-colors hover:bg-white/[0.05]",onClick:()=>p(!1),children:"All solutions"})}),c.solutions.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:`/solutions/${e.slug}`,className:"flex items-center rounded-xl px-3 py-2.5 text-[15px] text-white/70 transition-colors hover:bg-white/[0.05] hover:text-white",onClick:()=>p(!1),children:e.title})},e.slug))]}),(0,t.jsx)("p",{className:"mt-5 text-[11px] font-semibold uppercase tracking-[0.14em] text-white/40",children:"Services"}),(0,t.jsxs)("ul",{className:"mt-3 space-y-1 border-b border-white/[0.06] pb-5",children:[(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/services/appointment-booking",className:"flex items-center rounded-xl px-3 py-2.5 text-[15px] text-white/70 transition-colors hover:bg-white/[0.05] hover:text-white",onClick:()=>p(!1),children:"Appointment Booking"})}),(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/services/lead-qualification",className:"flex items-center rounded-xl px-3 py-2.5 text-[15px] text-white/70 transition-colors hover:bg-white/[0.05] hover:text-white",onClick:()=>p(!1),children:"Lead Qualification"})}),(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/services/customer-support",className:"flex items-center rounded-xl px-3 py-2.5 text-[15px] text-white/70 transition-colors hover:bg-white/[0.05] hover:text-white",onClick:()=>p(!1),children:"Customer Support"})})]}),(0,t.jsx)("p",{className:"mt-5 text-[11px] font-semibold uppercase tracking-[0.14em] text-white/40",children:"Resources"}),(0,t.jsxs)("ul",{className:"mt-3 space-y-1 border-b border-white/[0.06] pb-5",children:[x.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:e.href,className:"flex items-center rounded-xl px-3 py-2.5 text-[15px] text-white/70 transition-colors hover:bg-white/[0.05] hover:text-white",onClick:()=>p(!1),children:e.title})},e.href)),(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/integrations",className:"flex items-center rounded-xl px-3 py-2.5 text-[15px] text-white/70 transition-colors hover:bg-white/[0.05] hover:text-white",onClick:()=>p(!1),children:"Integrations"})})]}),(0,t.jsx)(n.default,{href:"/pricing",className:"mt-3 flex items-center rounded-xl px-3 py-3 text-[15px] font-medium text-white transition-colors hover:bg-white/[0.05]",onClick:()=>p(!1),children:"Pricing"}),(0,t.jsx)(n.default,{href:"/docs",className:"flex items-center rounded-xl px-3 py-3 text-[15px] font-medium text-white transition-colors hover:bg-white/[0.05]",onClick:()=>p(!1),children:"Docs"}),(0,t.jsxs)("div",{className:"mt-auto flex flex-col gap-3 pt-8",children:[(0,t.jsx)(n.default,{href:f.siteConfig.bookingsUrl,target:"_blank",rel:"noreferrer noopener",className:"inline-flex h-12 items-center justify-center rounded-full border border-white/15 bg-white/[0.03] px-5 text-[15px] font-semibold text-white/90 transition-all duration-200 hover:border-white/30 hover:bg-white/[0.06] hover:text-white",onClick:()=>p(!1),children:"Contact Us"}),(0,t.jsxs)(n.default,{href:f.siteConfig.dashboardUrl,target:"_blank",rel:"noreferrer noopener",className:"group inline-flex h-12 items-center justify-center gap-2 rounded-full bg-[var(--palette-accent)] px-5 text-[15px] font-semibold text-white shadow-[0_8px_24px_-8px_rgba(255,119,56,0.6),inset_0_1px_0_rgba(255,255,255,0.25)] transition-all duration-200 hover:bg-[var(--palette-accent-bright)]",onClick:()=>p(!1),children:["Get Started",(0,t.jsx)(g.NavbarCtaArrow,{className:"size-4 shrink-0 text-white transition-transform duration-200 group-hover:translate-x-0.5"})]})]})]})]},"mobile-drawer")]})})]})}],403265)},885812,e=>{"use strict";var t=e.i(843476),r=e.i(88653),i=e.i(846932),a=e.i(618566),s=e.i(957210),n=e.i(708335);e.s(["PageTransition",0,function({children:e}){let l=(0,a.usePathname)();return(0,t.jsx)(r.AnimatePresence,{mode:"sync",initial:!1,onExitComplete:()=>{window.dispatchEvent(new Event(n.CONVOI_ROUTE_EXIT_COMPLETE))},children:(0,t.jsx)(i.motion.div,{className:"flex min-h-0 w-full flex-1 flex-col bg-(--palette-page)",initial:{opacity:1}
1,animate:{opacity:1},exit:{opacity:1},transition:s.PAGE_CROSSFADE,children:e},l)})}])},302847,e=>{"use strict";var t=e.i(843476),r=e.i(347053),i=e.i(255667),a=e.i(271645);e.s(["SmoothScroll",0,function({children:e}){let[s,n]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{if(!window.matchMedia)return;let e=window.matchMedia("(prefers-reduced-motion: reduce)"),t=()=>n(e.matches);return t(),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),(0,t.jsxs)(i.ReactLenis,{root:!0,options:{lerp:.14,syncTouch:!1,smoothWheel:!s,anchors:{offset:-96}},children:[(0,t.jsx)(r.RouteAnimationSync,{}),e]})}])}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.