(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[487],{67204:function(e,t,r){"use strict";var s,o=r(94746);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)({}).hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(null,arguments)}t.Z=function(e){return o.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 12 13"},e),s||(s=o.createElement("path",{stroke:"currentColor",strokeWidth:1.4,d:"m10 4.5-4 4-4-4"})))}},27648:function(e,t,r){"use strict";r.d(t,{default:function(){return o.a}});var s=r(72972),o=r.n(s)},99376:function(e,t,r){"use strict";var s=r(35475);r.o(s,"useParams")&&r.d(t,{useParams:function(){return s.useParams}}),r.o(s,"usePathname")&&r.d(t,{usePathname:function(){return s.usePathname}}),r.o(s,"useRouter")&&r.d(t,{useRouter:function(){return s.useRouter}}),r.o(s,"useSearchParams")&&r.d(t,{useSearchParams:function(){return s.useSearchParams}}),r.o(s,"useServerInsertedHTML")&&r.d(t,{useServerInsertedHTML:function(){return s.useServerInsertedHTML}})},12119:function(e,t,r){"use strict";Object.defineProperty(t,"$",{enumerable:!0,get:function(){return o}});let s=r(83079);function o(e){let{createServerReference:t}=r(6671);return t(e,s.callServer)}},81523:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return o}});let s=r(18993);function o(e){let{reason:t,children:r}=e;if("undefined"==typeof window)throw new s.BailoutToCSRError(t);return r}},70049:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadCss",{enumerable:!0,get:function(){return n}});let s=r(57437),o=r(20544);function n(e){let{moduleIds:t}=e;if("undefined"!=typeof window)return null;let r=(0,o.getExpectedRequestStore)("next/dynamic css"),n=[];if(r.reactLoadableManifest&&t){let e=r.reactLoadableManifest;for(let r of t){if(!e[r])continue;let t=e[r].files.filter(e=>e.endsWith(".css"));n.push(...t)}}return 0===n.length?null:(0,s.jsx)(s.Fragment,{children:n.map(e=>(0,s.jsx)("link",{precedence:"dynamic",rel:"stylesheet",href:r.assetPrefix+"/_next/"+encodeURI(e),as:"style"},e))})}},14264:function(e,t){"use strict";var r=Symbol.for("react.element"),s=(Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.memo"),Symbol.for("react.lazy"),{isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}}),o=Object.assign,n={};function a(e,t,r){this.props=e,this.context=t,this.refs=n,this.updater=r||s}function i(){}function u(e,t,r){this.props=e,this.context=t,this.refs=n,this.updater=r||s}a.prototype.isReactComponent={},a.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},a.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},i.prototype=a.prototype;var c=u.prototype=new i;c.constructor=u,o(c,a.prototype),c.isPureReactComponent=!0;var l=Object.prototype.hasOwnProperty,f={key:!0,ref:!0,__self:!0,__source:!0};t.createElement=function(e,t,s){var o,n={},a=null,i=null;if(null!=t)for(o in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(a=""+t.key),t)l.call(t,o)&&!f.hasOwnProperty(o)&&(n[o]=t[o]);var u=arguments.length-2;if(1===u)n.children=s;else if(1<u){for(var c=Array(u),d=0;d<u;d++)c[d]=arguments[d+2];n.children=c}if(e&&e.defaultProps)for(o in u=e.defaultProps)void 0===n[o]&&(n[o]=u[o]);return{$$typeof:r,type:e,key:a,ref:i,props:n,_owner:null}}},94746:function(e,t,r){"use strict";e.exports=r(14264)},95135:function(e,t,r){"use strict";var s=r(57437),o=r(14929);r(69407);var n=r(61994),a=r(14476);r(91797),t.default=function(e){let{image:t,isDark:r=!1,children:i}=e,u=(0,a._)(t).ignoreImageParams().url();return(0,s.jsx)(o.Z,{classDialog:(0,n.Z)("zoom-modal",r&&"dark"),zoomImg:{src:u},zoomMargin:16,wrapElement:"span",children:i})}},17548:function(e,t,r){"use strict";r.d(t,{Z:function(){return u},O:function(){return i}});var s=r(57437),o=r(27648),n=r(61994);let a={base:"group inline-flex font-medium tracking-tight",transition:"transition-all duration-200",size:{lg:"text-22 leading-none",md:"text-15 leading-snug",sm:"text-14 leading-snug"},theme:{blue:"text-white bg-button-blue rounded-full px-5 py-2 hover:!text-white hover:!bg-button-dark-blue",black:"text-gray-5 hover:text-button-blue","blue-link":"text-button-blue hover:text-gray-30 inline","black-menu":"text-gray-12 hover:text-gray-30",white:"text-gray-98 hover:text-gray-70","white-menu":"text-gray-98 hover:text-gray-70",gray:"text-gray-40 hover:text-button-blue focus-visible:text-button-blue","gray-light-theme":"text-gray-50 hover:text-gray-30 focus-visible:text-gray-30","gray-dark-theme":"text-gray-50 hover:text-gray-70 focus-visible:text-gray-70"},withArrow:"items-center",arrowStyles:{base:"relative ml-1.5 transition-transform duration-200 inline-flex before:absolute before:border-current before:rotate-45 before:top-0 before:bottom-0 before:my-auto after:absolute after:bg-current after:w-0 after:top-0 after:bottom-0 after:my-auto after:transition-[width] after:duration-100",back:"rotate-180 -order-1 ml-0 mr-1.5 group-hover:!-translate-x-1.5",size:{lg:"w-4 h-5 before:size-2 before:border-t-2 before:border-r-2 after:h-0.5 after:w-0 after:right-2 group-hover:after:w-3 group-hover:translate-x-2",md:"w-3 h-4 before:size-2 before:border-t before:border-r after:h-px after:w-0 after:right-[3px] group-hover:after:w-3 group-hover:translate-x-1.5",sm:"w-2 h-4 before:size-[7px] before:border-t before:border-r after:h-px after:w-0 after:right-px group-hover:after:w-2.5 group-hover:translate-x-1.5",xs:"w-1.5 h-3.5 before:size-1.5 before:border-t before:border-r after:h-px after:w-0 after:right-px group-hover:after:w-1.5 group-hover:translate-x-1"}}},i=(e,t)=>(0,n.Z)(a.arrowStyles.base,e&&a.arrowStyles.size[e],t&&a.arrowStyles.back);var u=function(e){let{className:t,arrowClassName:r="",size:u,theme:c,href:l,children:f,withArrow:d,withBackArrow:g,...h}=e,p=(0,n.Z)(a.base,a.transition,u&&a.size[u],c&&a.theme[c],(d||g)&&a.withArrow,t),m=i(u,g),b=(0,s.jsx)(s.Fragment,{children:d||g?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{children:f}),(0,s.jsx)("span",{className:(0,n.Z)(m,r),"aria-hidden":!0})]}):f});return l.toString().startsWith("/")?(0,s.jsx)(o.default,{className:p,href:l,...h,children:b}):(0,s.jsx)("a",{className:p,href:l.toString(),...h,children:b})}},85380:function(e,t,r){"use strict";r.d(t,{default:function(){return h}});var s=r(57437),o=r(99376),n=r(2265),a=r(61994),i=r(17548),u=r(27453),c=r(96643),l=r(72943),f=r(67204);let d=[{width:767,count:1/0},{width:991,count:4},{width:1199,count:6},{width:1/0,count:7}],g=(e,t)=>[{_id:"all-posts",title:"All ".concat({[l._.BLOG]:"posts",[l._.WEBINAR]:"webinars",[l._.EVENT]:"events",[l._.PODCAST]:"podcasts",[l._.ANALYST_REPORT]:"analyst reports",[l._.EXECUTIVE_BRIEF]:"executive briefs",[l._.DEMOS_AND_VIDEOS]:"demos and videos",[l._.CUSTOMER_STORIES]:"customer stories",[l._.DATA_SHEETS]:"data sheets",[l._.NEWSROOM]:"newsroom posts",[l._.EXTERNAL]:""}[t]),slug:{current:""}},...e];function h(e){let{categories:t,resourceType:r}=e,{category:l=""}=(0,o.useParams)(),{width:h}=(0,c.Z)(),[p,m]=(0,n.useState)(g(t.slice(0,5),r)),[b,v]=(0,n.useState)([]),y=(0,n.useMemo)(()=>t.length<=1,[t]);return(0,n.useEffect)(()=>{if(y)return;let{count:e}=h&&d.find(e=>h<e.width)||d[d.length-1];m(g(t.slice(0,e-1),r)),v(t.slice(e-1))},[h,t,r,y]),(0,s.jsxs)("section",{className:"relative mt-12 flex max-w-5xl items-center justify-between gap-x-2 text-13 sm:left-1/2 sm:-ml-[50vw] sm:mt-[37px] sm:w-screen sm:overflow-hidden",children:[(0,s.jsx)("h2",{className:"sr-only",children:"Categories"}),!y&&(0,s.jsx)("div",{className:"sm:scrollbar-hidden sm:overflow-x-auto sm:px-5",children:(0,s.jsxs)("ul",{className:"flex w-fit items-center gap-x-1",children:[p.map(e=>{let{title:t,slug:o,_id:n}=e;return(0,s.jsx)("li",{className:"inline-flex",children:(0,s.jsxs)(i.Z,{className:(0,a.Z)("whitespace-nowrap rounded-full px-3 py-2 text-13 font-medium leading-none tracking-tight hover:text-gray-50",(null==o?void 0:o.current)===l?"inline-flex items-center justify-center bg-gray-20 text-white hover:bg-gray-30 hover:text-white":""),href:(0,u.Q)(r,o),children:[(0,s.jsx)("span",{className:"sr-only",children:"Category:"})," ",t]})},n)}),b.length>0&&(0,s.jsxs)("li",{className:"group relative inline-flex sm:hidden",children:[(0,s.jsxs)("button",{className:(0,a.Z)("flex items-center gap-1 whitespace-nowrap rounded-full px-3 py-2 text-13 font-medium leading-none tracking-tighter ","group-hover:text-gray-50 group-has-[:focus-visible]:text-gray-50"),type:"button",children:["More",(0,s.jsx)(f.Z,{className:"w-3 shrink-0 transition-[transform] duration-200 group-hover:-rotate-180 group-has-[:focus-visible]:-rotate-180"})]}),(0,s.jsx)("div",{className:"invisible absolute left-0 top-full z-30 pt-2.5 opacity-0 transition-all duration-100 group-hover:visible group-hover:opacity-100 group-has-[:focus-visible]:visible group-has-[:focus-visible]:opacity-100",children:(0,s.jsx)("ul",{className:"flex min-w-[200px] flex-col gap-y-1 rounded border border-solid border-gray-94 bg-white p-2 shadow-[0px_9px_12.7px_-6px_rgba(11,12,14,0.36)]",children:b.map(e=>{let{title:t,slug:o,_id:n}=e;return(0,s.jsx)("li",{className:"leading-none text-gray-5",children:(0,s.jsxs)(i.Z,{className:(0,a.Z)("group/link flex whitespace-nowrap rounded-full px-3 py-2 text-13 font-medium leading-none tracking-tight",(null==o?void 0:o.current)===l?"items-center justify-center bg-gray-20 text-white":"hover:text-gray-50 focus-visible:text-gray-50"),href:(0,u.Q)(r,o),children:[(0,s.jsx)("span",{className:"sr-only",children:"Category:"})," ",t]})},n)})})})]})]})})]})}},72943:function(e,t,r){"use strict";var s,o;r.d(t,{_:function(){return s}}),(o=s||(s={})).BLOG="blog",o.WEBINAR="webinar",o.EVENT="event",o.NEWSROOM="newsroom",o.PODCAST="podcast",o.ANALYST_REPORT="analystReport",o.EXECUTIVE_BRIEF="executiveBrief",o.DEMOS_AND_VIDEOS="demosAndVideos",o.CUSTOMER_STORIES="customerStories",o.EXTERNAL="external",o.DATA_SHEETS="dataSheets"},12978:function(e,t,r){"use strict";r.d(t,{l:function(){return s}});let s={index:"/",rag:"/retrieval-augmented-generation-everything-you-need-to-know",aboutUs:"/company/about-us",careers:"/company/careers-and-culture",solutionsVertical:"/business/solutions/vertical",solutionsUseCase:"/business/solutions/use-cases",versus:"/business/versus",blog:"/blog",blogCategory:"/blog/category",webinars:"/business/resources/webinars",webinarsCategory:"/business/resources/webinars/category",events:"/business/resources/events",eventsCategory:"/business/resources/events/category",podcasts:"/business/resources/podcasts",podcastsCategory:"/business/resources/podcasts/category",analystReports:"/business/resources/analyst-reports",analystReportsCategory:"/business/resources/analyst-reports/category",executiveBriefs:"/business/resources/executive-briefs",executiveBriefsCategory:"/business/resources/executive-briefs/category",demosAndVideos:"/business/resources/demos-and-videos",demosAndVideosCategory:"/business/resources/demos-and-videos/category",customerStories:"/business/resources/customer-stories",customerStoriesCategory:"/business/resources/customer-stories/category",legal:"/legal",startups:"/business/ecosystem/startups",resources:"/business/resources",partnerships:"/business/ecosystem/partnerships",models:"/business/platform/models",privacyPolicy:"/legal/privacy-policy",contact:"/contact-us",newsroom:"/company/newsroom",platform:"/business/platform",why:"/business/platform/why-vectara",retrieval:"/business/platform/vectara-for-retrieval",generation:"/business/platform/vectara-for-generation",evaluation:"/business/platform/vectara-for-evaluation",thankYouForReachingOut:"/thank-you-for-reaching-out",thankYouForSubscribing:"/thank-you-for-subscribing",thankYouForRegistering:"/thank-you-for-registering",thankYouForRequest:"/thank-you-for-your-request",integrations:"/developers/build/integrations",sampleCode:"/developers/build/sample-code",demos:"/developers/build/demos",pricing:"/pricing",ragSavingsCalculator:"/business/resources/rag-savings-calculator",untangleYourRag:"/business/resources/untangle-your-rag",dataSheets:"/business/resources/data-sheets",dataSheetsCategory:"/business/resources/data-sheets/category",email:"mailto:email@email.com",discourse:"https://discuss.vectara.com",linkedIn:"https://www.linkedin.com/company/vectara",twitter:"https://twitter.com/vectara",youtube:"https://www.youtube.com/channel/UCoP_hcyjJRLQr0CV050bfMg",github:"https://github.com/vectara",discord:"https://discord.com/invite/GFb8gMz6UH",status:"https://status.vectara.com",signup:"https://console.vectara.com/signup"}},96643:function(e,t,r){"use strict";var s=r(2265);t.Z=function(){let[e,t]=(0,s.useState)({width:void 0,height:void 0});return(0,s.useEffect)(()=>{function e(){t({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)},[]),e}},27453:function(e,t,r){"use strict";r.d(t,{Q:function(){return n}});var s=r(24101),o=r(72943);let n=(e,t)=>{if(!(null==t?void 0:t.current))return(0,s.U)(e);if(e===o._.EXTERNAL)return t.current;let r=(0,s.o)(e);return"".concat(r,"/").concat(t.current)}},24101:function(e,t,r){"use strict";r.d(t,{U:function(){return n},o:function(){return a}});var s=r(72943),o=r(12978);function n(e){return({[s._.BLOG]:o.l.blog,[s._.WEBINAR]:o.l.webinars,[s._.EVENT]:o.l.events,[s._.PODCAST]:o.l.podcasts,[s._.ANALYST_REPORT]:o.l.analystReports,[s._.EXECUTIVE_BRIEF]:o.l.executiveBriefs,[s._.DEMOS_AND_VIDEOS]:o.l.demosAndVideos,[s._.CUSTOMER_STORIES]:o.l.customerStories,[s._.NEWSROOM]:o.l.newsroom,[s._.DATA_SHEETS]:o.l.dataSheets,[s._.EXTERNAL]:""})[e]}function a(e){return({[s._.BLOG]:o.l.blogCategory,[s._.WEBINAR]:o.l.webinarsCategory,[s._.EVENT]:o.l.eventsCategory,[s._.PODCAST]:o.l.podcastsCategory,[s._.ANALYST_REPORT]:o.l.analystReportsCategory,[s._.EXECUTIVE_BRIEF]:o.l.executiveBriefsCategory,[s._.DEMOS_AND_VIDEOS]:o.l.demosAndVideosCategory,[s._.CUSTOMER_STORIES]:o.l.customerStoriesCategory,[s._.NEWSROOM]:o.l.newsroom,[s._.DATA_SHEETS]:o.l.dataSheetsCategory,[s._.EXTERNAL]:""})[e]}},14476:function(e,t,r){"use strict";r.d(t,{_:function(){return n}});var s=r(3740);let o=r.n(s)()({projectId:"p0pvmro2",dataset:"production"}),n=e=>null==o?void 0:o.image(e).auto("format").fit("max")},91797:function(){},26947:function(e,t,r){"use strict";r.r(t),t.default={src:"/_next/static/media/community-bg-illustration.e5f3fccc.png",height:1405,width:1728,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAMAAAACh/xsAAAAY1BMVEVFoOATkvgLWM52qf8JVsoHQawVXtIOWMQZf/lUov8ES8gfYcM/ZMkRQtUHSK4TqP8XedQcZeARl/wQo/8NZ8UitPcYTrWrsPFhw//k2emwn7ILSrIENJ0IPq4pT851fLYSXOJ/qtBCAAAAHXRSTlMBVbxj/vhA5xQM/vz9zM81/c/Ru/2x/MAvYOr//geXifwAAAAJcEhZcwAACxMAAAsTAQCanBgAAAA9SURBVHicBcEFAoAgAACxo1OxC4z/v9KNcz+UCsD1pvx0HvLW0nD3hS/qqmudkdG05syEdYuToxWAWIOHH2VtAtSIvoj/AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:7}},18487:function(e,t,r){"use strict";r.r(t),t.default={src:"/_next/static/media/community-bg-mobile-illustration.8bf28b5e.png",height:960,width:720,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAICAMAAADtGH4KAAAAY1BMVEVMaXEHT8QJWNIPUL8VVNYJRKyUt/8TYtEHQ8UEOaQHYscOWswzsv8hZ+Msw/0Vpv0BLY4jRZs7fNl/tP84XOFgZJsgWrFnh+BVhuTZ0fq9rsYIUM4PS7USeNwDNZ8GQ7MjheO8YAWEAAAAG3RSTlMA/uz4e/5I3v39yqEKz5qB/v7EGOD9/vf1df3MHSOhAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAOklEQVR4nAXBCQJAIBRAwYdWW8ruV9z/lGa4DWaF50zXpthjPbJDRH9F4xpZfEf7+potypZ+mIAwM/5T4ALFOgL0GgAAAABJRU5ErkJggg==",blurWidth:6,blurHeight:8}},64367:function(e,t,r){"use strict";r.r(t),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAxMCAxMSI+PGcgY2xpcC1wYXRoPSJ1cmwoI3N0YXJfc3ZnX19hKSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTkuOTkgNC4zOTJhLjIxLjIxIDAgMCAwLS4xOTgtLjE0MmgtMy40NUw1LjE5OS42NDVjLS4wNTUtLjE3My0uMzQyLS4xNzMtLjM5NyAwTDMuNjU4IDQuMjVILjIwOGEuMjA4LjIwOCAwIDAgMC0uMTI1LjM3NGwyLjc0OSAyLjA4NC0xLjE0NCAzLjUyYS4yMDguMjA4IDAgMCAwIC4zMi4yMzJMNSA4LjI4N2wyLjk5MiAyLjE3M2EuMjA4LjIwOCAwIDAgMCAuMzItLjIzM0w3LjE3IDYuNzA3bDIuNzUtMi4wODNhLjIxLjIxIDAgMCAwIC4wNzEtLjIzMiIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9InN0YXJfc3ZnX19hIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCAuNWgxMHYxMEgweiIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPg=="},72105:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return c}});var s=r(99376);r(83079);var o=(0,r(12119).$)("6d69f692d78a8846fad1639385fd46ffd3739cd7"),n=r(2265);function a(e){let t=e.indexOf("#"),r=e.indexOf("?"),s=r>-1&&(t<0||r<t);return s||t>-1?{pathname:e.substring(0,s?r:t),query:s?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}function i(e,t){if(!function(e,t){if("string"!=typeof e)return!1;let{pathname:r}=a(e);return r===t||r.startsWith("".concat(t,"/"))}(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/".concat(r)}let u=(e,t)=>{let{pathname:r,query:s,hash:o}=a(e);return t?r.endsWith("/")?"".concat(r).concat(s).concat(o):"".concat(r,"/").concat(s).concat(o):"".concat(r.replace(/\/$/,"")||"/").concat(s).concat(o)};function c(e){let{refresh:t,zIndex:c,basePath:l="",trailingSlash:f=!1}=e,d=(0,s.useRouter)(),g=(0,n.useRef)(d),[h,p]=(0,n.useState)();(0,n.useEffect)(()=>{g.current=d},[d]),(0,n.useEffect)(()=>{let e=function(e={}){let t=new AbortController;return Promise.all([r.e(1145),r.e(1007)]).then(r.bind(r,95533)).then(({renderVisualEditing:r})=>{let{signal:s}=t;s.aborted||r(s,e)}),()=>{t.abort()}}({zIndex:c,refresh:t||(e=>{switch(e.source){case"manual":return e.livePreviewEnabled?s():n();case"mutation":return e.livePreviewEnabled?a():u();default:throw Error("Unknown refresh source",{cause:e})}}),history:{subscribe:e=>(p(()=>e),()=>p(void 0)),update:e=>{switch(e.type){case"push":return g.current.push(i(e.url,l));case"pop":return g.current.back();case"replace":return g.current.replace(i(e.url,l));default:throw Error("Unknown update type: ".concat(e.type))}}}}),s=()=>(console.debug("Live preview is setup, calling router.refresh() to refresh the server components without refetching cached data"),g.current.refresh(),Promise.resolve()),n=()=>(console.debug("No loaders in live mode detected, or preview kit setup, revalidating root layout"),o()),a=()=>(console.debug("Live preview is setup, mutation is skipped assuming its handled by the live preview"),!1),u=()=>(console.debug("No loaders in live mode detected, or preview kit setup, revalidating root layout"),o());return()=>e()},[l,t,c]);let m=(0,s.usePathname)(),b=(0,s.useSearchParams)();return(0,n.useEffect)(()=>{h&&h({type:"push",url:u(function(e,t){if(!e.startsWith("/")||!t)return e;if("/"===e&&t)return t;let{pathname:r,query:s,hash:o}=a(e);return"".concat(t).concat(r).concat(s).concat(o)}("".concat(m).concat((null==b?void 0:b.size)?"?".concat(b):""),l),f)})},[l,h,m,b,f]),null}}}]);