1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="22cae837-92b8-b356-d0f1-0fa47eed2f00")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,440828,e=>{"use strict";var t=e.i(328497),r=e.i(297865),n=e.i(507303);let o=(0,n.createServerReference)("00f072255d09c222f1c2ee167e304b2a336a7e79df",n.callServer,void 0,n.findSourceMapURL,"disableDraftMode");e.i(158455),e.i(665196),e.i(321694),e.i(190121),e.i(974240);var a=e.i(256054);function i(){return null}e.i(454198),e.i(110548),Object.prototype.hasOwnProperty,e.s(["DisableDraftMode",0,function(){let e,n,[s,l]=(0,r.useTransition)(),[u,d]=(0,r.useState)(!1);if(null===(e=(0,r.useSyncExternalStore)(a.m,a.p,i),n=(0,r.useDeferredValue)(e,null))?null:"presentation-iframe"===n||"presentation-window"===n)return null;let c=()=>{d(!1),l(async()=>{try{await o(),window.location.reload()}catch{d(!0)}})};return(0,t.jsx)("div",{style:{position:"fixed",bottom:16,right:16,zIndex:50},children:s?(0,t.jsx)("span",{style:{padding:"8px 12px",background:"#111827",color:"white",borderRadius:8,fontSize:14},children:"Disabling draft modeâ¦"}):u?(0,t.jsx)("button",{type:"button",onClick:c,"aria-live":"polite",style:{padding:"8px 12px",background:"#991b1b",color:"white",borderRadius:8,fontSize:14},children:"Failed â retry"}):(0,t.jsx)("button",{type:"button",onClick:c,style:{padding:"8px 12px",background:"#111827",color:"white",borderRadius:8,fontSize:14},children:"Disable draft mode"})})}],440828)},449067,e=>{"use strict";var t=e.i(297865),r=e.i(492967);e.s(["DreamdataRouteHandler",0,function(){let e=(0,r.usePathname)(),n=(0,r.useSearchParams)().toString(),o=n?`${e}?${n}`:e,a=(0,t.useRef)(null),i=(0,t.useRef)(null);return(0,t.useEffect)(()=>{let e;if(null===a.current){a.current=o;return}if(i.current===o)return;let t=!1,r=0,n=()=>{if(t)return;let a=window.location.search.slice(1);if((a?`${window.location.pathname}?${a}`:window.location.pathname)!==o)return;let s=window.google_tag_data?.ics?.entries?.analytics_storage?.update===!0?window.dreamdata:window["dreamdata-cl"];if(!s){(r+=1)<20&&(e=setTimeout(n,250));return}i.current=o;try{Promise.resolve(s.page()).catch(e=>{console.error("Dreamdata route tracking failed",e)})}catch(e){i.current=null,console.error("Dreamdata route tracking failed",e)}};return e=setTimeout(n,0),()=>{t=!0,e&&clearTimeout(e)}},[o]),null}])},450342,e=>{"use strict";var t=e.i(492967),r=e.i(297865);e.s(["IntellimizeRouteHandler",0,function(){let e=(0,t.usePathname)();return(0,r.useEffect)(()=>{window.intellimize&&"function"==typeof window.intellimize.activate&&window.intellimize.activate()},[e]),null}])},398125,e=>{"use strict";var t=e.i(328497),r=e.i(297865),n=e.i(492967),o=e.i(734804),a=e.i(573348),i=e.i(294237),s=e.i(555913),l=e.i(234276),u=e.i(283418);e.i(357567);var d=e.i(758582),c=e.i(97552),f=e.i(764615);e.i(499041);var p=e.i(404524);let h=(0,i.cva)("fixed right-4 bottom-4 z-100 w-full max-w-[384px] max-h-[calc(100vh-2rem)] overflow-y-auto rounded-3xl border-container-default p-3 text-body md:right-10 md:bottom-6 md:max-h-[calc(100vh-3rem)]",{variants:{theme:{light:"force-light bg-white",dark:"dark bg-purple-700","light-purple":"force-light bg-purple-25"}},defaultVariants:{theme:"light"}}),m=(0,i.cva)("text-md font-semibold font-inter",{variants:{theme:{light:"text-eyebrow",dark:"text-purple-25","light-purple":"text-eyebrow"}},defaultVariants:{theme:"light"}}),g=({popup:e,onClose:n})=>{let o=(0,r.useId)(),i=(0,u.useReducedMotion)()??!1,[g,y]=(0,r.useState)(!1),b=e.theme||"light";(0,r.useEffect)(()=>{y(!0)},[]),(0,r.useEffect)(()=>{let e=e=>{"Escape"===e.key&&n()};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[n]);let v=e.image?.image?.asset?(0,c.urlForImage)(e.image.image).width(384).height(208).url():null,w=e.form?.externalRedirectUrl,x=(0,t.jsx)(l.AnimatePresence,{mode:"wait",children:(0,t.jsxs)(s.motion.div,{className:h({theme:b}),"data-popup-theme":"dark"===b?"dark":"light",style:{boxShadow:"0 0 0 6px rgba(255, 255, 255, 0.35), 0 20px 24px -4px rgba(16, 24, 40, 0.08), 0 8px 8px -4px rgba(16, 24, 40, 0.03)"},initial:"hidden",animate:"visible",exit:"exit",variants:{hidden:{opacity:0,x:80*!i},visible:{opacity:1,x:0,transition:i?{duration:.15}:{type:"spring",damping:25,stiffness:300,mass:.8}},exit:{opacity:0,x:80*!i,transition:{duration:.15}}},role:"dialog","aria-labelledby":o,children:[(0,t.jsx)("button",{className:"absolute top-5 right-5 z-10 cursor-pointer rounded-full border-container-default p-1",onClick:n,children:(0,t.jsx)(d.Icon,{icon:"x-close",size:14,className:"text-current"})}),(0,t.jsxs)(s.motion.div,{variants:{hidden:{opacity:0}
2,visible:{opacity:1,transition:{delay:.15*!i,duration:i?.15:.3,ease:"easeOut"}},exit:{opacity:0,transition:{duration:.15}}},children:[v&&(0,t.jsx)("div",{className:"mb-2 aspect-[384/208] w-full overflow-hidden rounded-2xl bg-purple-100",children:(0,t.jsx)("img",{src:v,alt:e.image?.alt||"",className:"h-full w-full object-cover"})}),(0,t.jsxs)("div",{className:"flex flex-col p-3",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[e.eyebrow&&(0,t.jsx)("span",{className:m({theme:b}),children:e.eyebrow}),e.heading&&(0,t.jsx)("h2",{className:"font-grotesk text-accent-xs uppercase text-heading tracking-[0.015rem]",id:o,children:e.heading})]}),e.body&&(0,t.jsx)(p.default,{blocks:e.body,className:"text-md"}),e.form?.formId&&(0,t.jsx)(f.default,{formId:e.form.formId,formValues:(e.formValues??[]).reduce((e,{key:t,value:r})=>({...e,[t]:r}),{}),redirectUrl:w,enableClearbitEnrichment:!0,buttonColor:"rose",buttonLabel:e.buttonLabel||"Learn more"})]})]})]})});return g?(0,a.createPortal)(x,document.body):null};var y=e.i(226761);let b=({popup:e,onClose:n})=>{let o=(0,r.useId)(),i=(0,u.useReducedMotion)()??!1,[h,m]=(0,r.useState)(!1);(0,r.useEffect)(()=>{m(!0)},[]);let g=e.image?.image?.asset?(0,c.urlForImage)(e.image.image).width(604).height(327).url():null,b=e.form?.externalRedirectUrl,v=(0,t.jsx)(l.AnimatePresence,{mode:"wait",children:(0,t.jsx)(s.motion.div,{className:"fixed bottom-4 left-4 right-4 z-100 lg:right-auto lg:left-6 lg:bottom-6 lg:max-w-7xl",initial:"hidden",animate:"visible",exit:"exit",role:"dialog","aria-labelledby":o,children:(0,t.jsx)(s.motion.div,{className:"relative overflow-hidden rounded-3xl border border-neutral-200 bg-white p-3",style:{boxShadow:"0 0 0 6px rgba(255, 255, 255, 0.35), 0 20px 24px -4px rgba(16, 24, 40, 0.08), 0 8px 8px -4px rgba(16, 24, 40, 0.03)"},variants:{hidden:{y:i?0:"100%",opacity:0}
2,visible:{y:0,opacity:1,transition:i?{duration:.15}:{type:"spring",damping:30,stiffness:300}},exit:{y:i?0:"100%",opacity:0,transition:{duration:.15}}},children:(0,t.jsxs)(s.motion.div,{className:"flex flex-col-reverse gap-4 lg:grid lg:grid-cols-2 lg:gap-12",variants:{hidden:{opacity:0},visible:{opacity:1,transition:{delay:.15*!i,duration:i?.15:.3,ease:"easeOut"}},exit:{opacity:0,transition:{duration:.15}}},children:[g&&(0,t.jsx)("div",{className:"relative aspect-video lg:aspect-auto w-full overflow-hidden rounded-2xl bg-purple-100",children:(0,t.jsx)(y.default,{src:g,alt:e.image?.alt||"",fill:!0,className:"object-cover"})}),(0,t.jsxs)("div",{className:"flex flex-1 flex-col justify-center p-3",children:[(0,t.jsx)("button",{className:"z-10 p-1 cursor-pointer ml-auto border border-black rounded-full",onClick:n,children:(0,t.jsx)(d.Icon,{icon:"x-close",size:12,className:"text-black hover:text-neutral-600"})}),(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[e.eyebrow&&(0,t.jsx)("span",{className:"text-md font-semibold text-eyebrow font-inter",children:e.eyebrow}),e.heading&&(0,t.jsx)("h3",{className:"font-grotesk text-accent-md uppercase text-heading tracking-[0.0225rem]",id:o,children:e.heading}),e.body&&(0,t.jsx)(p.default,{blocks:e.body,className:"text-md text-neutral-700"})]}),e.form?.formId&&(0,t.jsx)(f.default,{formId:e.form.formId,formValues:(e.formValues??[]).reduce((e,{key:t,value:r})=>({...e,[t]:r}),{}),redirectUrl:b,enableClearbitEnrichment:!0,buttonColor:"rose",buttonLabel:e.buttonLabel||"Book a Demo"})]})]})})})});return h?(0,a.createPortal)(v,document.body):null};var v=e.i(821492);function w(e){return`gong_popup_dismissed_${e}`}let x=({popups:e,isDraftMode:a=!1})=>{let i=(0,n.usePathname)(),s=(0,n.useSearchParams)().get("previewPopup"),l=(0,r.useMemo)(()=>s&&e?.length?e.find(e=>e._id.replace(/^drafts\./,"")===s)??null:null,[e,s]),u=(0,r.useMemo)(()=>e?.length?e.find(e=>!(!1===e.isActive||!e.pageTargeting?.length||o.default.get(w(e._id)))&&e.pageTargeting.some(({path:e,matchType:t})=>{switch(t){case"equals":return i===e;case"startsWith":return i.startsWith(e);case"contains":return i.includes(e);default:return!1}}))??null:null,[e,i]),d=l||u;return d?(0,t.jsx)(E,{popup:d,forceOpen:!!l&&l?._id===d._id,skipCookieOnDismiss:a},d._id):null},E=({popup:e,forceOpen:n=!1,skipCookieOnDismiss:a=!1})=>{let[i,s]=(0,r.useState)(n),[l,u]=(0,r.useState)(!1),d=(e=>{let[t,n]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(t||e>100)return;let r=()=>{let t=document.documentElement.scrollHeight-window.innerHeight;t<=0||window.scrollY/t*100>=e&&n(!0)};return window.addEventListener("scroll",r,{passive:!0}),r(),()=>window.removeEventListener("scroll",r)},[e,t]),t})("scrollDepth"===e.triggerType?e.triggerValue??50:101),c=(e=>{let[t,n]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(t||!e||!window.matchMedia("(hover: hover)").matches)return;let r=e=>{e.clientY<=0&&n(!0)},o=setTimeout(()=>{document.documentElement.addEventListener("mouseleave",r)},3e4);return()=>{clearTimeout(o),document.documentElement.removeEventListener("mouseleave",r)}},[e,t]),t})("exitIntent"===e.triggerType),f=(e=>{let[t,n]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(t||e<=0)return;let r=setTimeout(()=>{n(!0)},1e3*e);return()=>clearTimeout(r)},[e,t]),t})("timeOnPage"===e.triggerType?e.triggerValue??10:999999);(0,r.useEffect)(()=>{n||l||("scrollDepth"===e.triggerType&&d||"exitIntent"===e.triggerType&&c||"timeOnPage"===e.triggerType&&f)&&s(!0)},[d,c,f,e.triggerType,l,n]);let p=()=>{s(!1),u(!0),n||a||o.default.set(w(e._id),"dismissed",{expires:e.cookieDurationDays||30,path:"/",sameSite:"Lax"})};return i?"popupCard"===e.popupType?(0,t.jsx)(g,{popup:e,onClose:p}):"popupModal"===e.popupType?(0,t.jsx)(v.FormModal,{isOpen:!0,onClose:p,formId:e.form?.formId,formValues:e.formValues,heading:e.heading,body:e.body,redirectUrl:e.form?.externalRedirectUrl,buttonLabel:e.buttonLabel}):(0,t.jsx)(b,{popup:e,onClose:p}):null};e.s(["PopupManager",0,({popups:e,isDraftMode:n})=>(0,t.jsx)(r.Suspense,{fallback:null,children:(0,t.jsx)(x,{popups:e,isDraftMode:n})})],398125)},679079,96845,415843,e=>{"use strict";let t;var r=e.i(48937);function n(e){if("function"==typeof AbortSignal.any)return AbortSignal.any(e);let t=new AbortController;for(let r of e)if(r.aborted)return t.abort(r.reason),t.signal;let r=()=>{for(let n of(t.abort(e.find(e=>e.aborted)?.reason),e))n.removeEventListener("abort",r)};for(let t of e)t.addEventListener("abort",r);return t.signal}
2var o=class extends Error{constructor(e){let t=e.url.length>400?e.url.slice(0,399)+"â¦":e.url;super(`${e.method}-request to ${t} resulted in HTTP ${e.status} ${e.statusText}`),this.name="HttpError",this.url=e.url,this.method=e.method,this.status=e.status,this.statusText=e.statusText,this.headers=e.headers,this.body=e.body,this.response=e.response}},a=class extends Error{constructor(e){let t=e.url.length>400?e.url.slice(0,399)+"â¦":e.url;super(`Request timed out after ${e.timeoutMs}ms waiting for response headers: ${e.method} ${t}`),this.name="TimeoutError",this.url=e.url,this.method=e.method,this.timeoutMs=e.timeoutMs,this.phase=e.phase,this.code="ETIMEDOUT"}};function i(e,r,n,o,a,i){let s,l;return{status:e,statusText:r,headers:n,url:a,redirected:i,body:o,text:()=>s??=(t??=new TextDecoder).decode(o),json(){return(l??={value:JSON.parse(this.text())}).value},bytes:()=>o}}function s(e){let t=e?.fetch,r=e?.base,o=e?.httpErrors,s=e?.timeout,b=e?.credentials,v=e?.middleware??[],w=[],x=[];for(let e of v)"object"==typeof e?w.push(e):x.push(e);async function E(e,t){var r,o,i;let d,c,{totalMs:f,headersMs:p,attachSignal:h}="number"==typeof(r=void 0===t.timeout?s:t.timeout)||!1===r?{totalMs:l(r),headersMs:void 0,attachSignal:!0}:{totalMs:r?.total===void 0?12e4:l(r.total),headersMs:l(r?.headers),attachSignal:r?.signal!==!1},{url:m,init:g,clearTotalTimer:y}=function(e,t,r){let o=e.url;if(e.query){let t=e.query instanceof URLSearchParams?e.query.entries():Object.entries(e.query),r=new URLSearchParams;for(let[e,n]of t)void 0!==n&&r.append(e,`${n}`);let n=r.toString();if(n){let e=o.indexOf("#"),t=-1===e?o:o.slice(0,e),r=-1===e?"":o.slice(e);o=`${t}${t.includes("?")?"&":"?"}${n}${r}`}}let a=new Headers(e.headers),i={};if(e.method&&(i.method=e.method),e.method||void 0===e.body||null===e.body||(i.method="POST"),void 0!==e.body&&null!==e.body)if("string"==typeof e.body)i.body=e.body;else if(function(e){if("object"!=typeof e||!e||Array.isArray(e))return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}(e.body)||Array.isArray(e.body))i.body=JSON.stringify(e.body),a.has("content-type")||a.set("content-type","application/json");else{var s;if((s=e.body)instanceof Blob||s instanceof ArrayBuffer||s instanceof ReadableStream||ArrayBuffer.isView(s)||s instanceof FormData||s instanceof URLSearchParams)i.body=e.body;else throw TypeError(`Unsupported body type: ${typeof e.body}`)}i.headers=a;let l=e.signal,d;if(void 0!==t){let e=new AbortController,r=setTimeout(()=>e.abort(new DOMException("The operation was aborted due to timeout","TimeoutError")),t);u(r),d=()=>clearTimeout(r),l=l?n([l,e.signal]):e.signal}l&&(i.signal=l);let c=e.credentials??r;return void 0!==c&&(i.credentials=c),e.redirect&&(i.redirect=e.redirect),{url:o,init:i,clearTotalTimer:d}}(t,h?f:void 0,b),v=g.method??"GET",w=h||void 0===f?void 0:(o=f,i=new DOMException("The operation was aborted due to timeout","TimeoutError"),(c=new Promise((e,t)=>{u(d=setTimeout(()=>t(i),o))})).catch(()=>{}),{deadline:c,clear:()=>clearTimeout(d)}),x=w?.deadline,E=()=>{y?.(),w?.clear()};if(void 0===p&&void 0===x)try{return{response:await e(m,g),url:m,method:v,totalDeadline:x,clearDeadline:E}}catch(e){throw E(),e}let S=void 0===x?[]:[x],T,j;if(void 0!==p){let e=new a({url:m,method:v,timeoutMs:p,phase:"headers"});j=h?new AbortController:void 0,S.push(new Promise((t,r)=>{T=setTimeout(()=>{r(e),j?.abort(e)},p)}))}let $=j&&g.signal?n([g.signal,j.signal]):j?.signal??g.signal,P;try{return P=Promise.resolve(e(m,j?{...g,signal:$}:g)),{response:await Promise.race([P,...S]),url:m,method:v,totalDeadline:x,clearDeadline:E}}catch(e){throw P?.then(e=>e.body?.cancel()).catch(()=>{}),E(),e}finally{clearTimeout(T)}}async function S(e){let{response:r,url:n,method:a,totalDeadline:i,clearDeadline:s}=await E(e.fetch??t??globalThis.fetch,e),l=e.httpErrors??o??!0;try{return await d(f(r,l,n,a),i)}finally{s()}}let T=p(S,x);async function j(e){let t=h(e,w),r=m(await T(t),t,w);try{return g(r,JSON.parse(r.text()))}catch(t){throw TypeError(`Failed to parse JSON response from ${e.url}: ${t instanceof Error?t.message:t}`,{cause:t})}}async function $(e){let t=h(e,w),r=m(await T(t),t,w);return g(r,r.text())}async function P(e){let r=h(e,w),n;async function a(e){let{response:r,url:a,method:s,totalDeadline:l,clearDeadline:u}=await E(e.fetch??t??globalThis.fetch,e),c=e.httpErrors??o??!0;if(c&&r.status>=400)try{return await d(f(r,c,a,s),l)}finally{u()}return void 0!==l&&u(),n=r,i(r.status,r.statusText,r.headers,new Uint8Array,r.url,r.redirected)}if(y(a,"getItStreamed"),await p(a,x)(r),!n)throw Error("Stream response was not captured");let s=n.body??new ReadableStream({start(e){e.close()}});return g(n,s)}async function O(t){var n,o;let a,i,s="string"==typeof t?{url:t}:t,l=s.url;r&&!/^https?:\/\//.test(l)&&(l=r.replace(/\/$/,"")+"/"+l.replace(/^\//,""));let u={...s,url:l,headers:(n=e?.headers,o=s.headers,a=new Headers(n?c(n):void 0),o&&new Headers(c(o)).forEac
2h((e,t)=>{a.set(t,e)}),i={},a.forEach((e,t)=>{i[t]=e}),i)};switch(u.as??e?.as){case"json":return await j(u);case"text":return await $(u);case"stream":return await P(u);default:{let e=h(u,w);return m(await T(e),e,w)}}}return y(E,"performFetch"),y(S,"getItBuffered"),y(P,"requestStream"),y(j,"requestJson"),y($,"requestText"),y(O,"request"),O}function l(e){if(!(void 0===e||!1===e||e<=0))return e}function u(e){"object"==typeof e&&e&&"unref"in e&&"function"==typeof e.unref&&e.unref()}async function d(e,t){if(void 0===t)return e;try{return await Promise.race([e,t])}catch(t){throw e.catch(()=>{}),t}}function c(e){if(e instanceof Headers||Array.isArray(e))return e;let t={};for(let[r,n]of Object.entries(e))void 0!==n&&(t[r]=n);return t}async function f(e,t,r,n){let a=new Uint8Array(await e.arrayBuffer()),s=i(e.status,e.statusText,e.headers,a,e.url,e.redirected);if(t&&e.status>=400){let t=new o({url:r,method:n,status:e.status,statusText:e.statusText,headers:e.headers,body:s.text(),response:s});throw"captureStackTrace"in Error&&Error.captureStackTrace(t,f),t}return s}function p(e,t){let r=e;for(let e=t.length-1;e>=0;e--){let n=t[e],o=r;r=e=>n(e,o)}return r}function h(e,t){let r=e;for(let e of t)e.beforeRequest&&(r=e.beforeRequest(r));return r}function m(e,t,r){let n=e;for(let e of r)e.afterResponse&&(n=e.afterResponse(n,t));return n}function g(e,t){return{status:e.status,statusText:e.statusText,headers:e.headers,url:e.url,redirected:e.redirected,body:t}}function y(e,t){Object.defineProperty(e,"name",{value:t})}function b(e){if(!v(e)||"HttpError"!==e.name||"string"!=typeof e.message||"string"!=typeof e.url||"string"!=typeof e.method||"number"!=typeof e.status||"string"!=typeof e.statusText||!w(e.headers)||!("body"in e)||!v(e.response))return!1;let t=e.response;return t.status===e.status&&"string"==typeof t.statusText&&w(t.headers)&&"body"in t&&(void 0===t.url||"string"==typeof t.url)&&(void 0===t.redirected||"boolean"==typeof t.redirected)}function v(e){return"object"==typeof e&&!!e}function w(e){return v(e)&&"function"==typeof e.get}function x(e){return 100*2**e+100*Math.random()}function E(e,t,r){let n=(r.method??"GET").toUpperCase();return("GET"===n||"HEAD"===n)&&(!(e instanceof Error)||!("name"in e)||"HttpError"!==e.name)&&function(e){if(!(e instanceof Error))return!1;let t=T(e)??T(e.cause);return t?S.has(t):"TimeoutError"!==e.name&&"AbortError"!==e.name&&("retryable"in e&&"boolean"==typeof e.retryable?e.retryable:e instanceof TypeError)}(e)}e.s(["n",0,function(e){return!!v(e)&&"TimeoutError"===e.name&&"string"==typeof e.message&&(void 0===e.code||"number"==typeof e.code||"ETIMEDOUT"===e.code&&"string"==typeof e.url&&"string"==typeof e.method&&"number"==typeof e.timeoutMs&&"headers"===e.phase)},"r",0,s,"t",0,b],96845),e.s(["anySignal",0,n],415843);let S=new Set(["ECONNRESET","ECONNREFUSED","ETIMEDOUT","EPIPE","ENOTFOUND","ENETDOWN","EHOSTUNREACH","EAI_AGAIN","UND_ERR_CONNECT_TIMEOUT","UND_ERR_SOCKET"]);function T(e){if(e instanceof Error)return"code"in e&&"string"==typeof e.code?e.code:void 0}var j=e.i(516165),$=e.i(187636);let P=/\r\n|[\n\r\u2028\u2029]/;function O(e,t){let r=0;for(let n=0;n<t.length;n++){let o=t[n].length+1;if(r+o>e)return{line:n+1,column:e-r};r+=o}return{line:t.length,column:t[t.length-1]?.length??0}}function R(e){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function C(e,t,r){var n;return(n=function(e,t){if("object"!=R(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=R(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==R(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function I(e,t,r){var n;let o;return{statusCode:e.status,statusMessage:e.statusText||null,headers:(n=e.headers,o={},n.forEach((e,t)=>{o[t]=e}),o),body:e.body,url:e.url||t,method:r}}
2var k=class extends Error{constructor(e,t){let r=A(e,t);super(r.message),C(this,"response",void 0),C(this,"statusCode",400),C(this,"responseBody",void 0),C(this,"traceId",void 0),C(this,"details",void 0),Object.assign(this,r)}},_=class extends Error{constructor(e){let t=A(e);super(t.message),C(this,"response",void 0),C(this,"statusCode",500),C(this,"responseBody",void 0),C(this,"traceId",void 0),C(this,"details",void 0),Object.assign(this,t)}};function A(e,t){var n,o,a;let i=e.body,s={response:e,statusCode:e.statusCode,responseBody:(n=i,-1===(e.headers["content-type"]||"").toLowerCase().indexOf("application/json")?n:JSON.stringify(n,null,2)),traceId:function(e){let t=e?.headers?.traceparent;if(t)return t.split("-")[1]}(e),message:"",details:void 0};if(!(0,r.t)(i))return s.message=`${M(e,i)}${L(s.traceId)}`,s;let l=i.error;if("string"==typeof l&&"string"==typeof i.message)return s.message=`${l} - ${i.message}${L(s.traceId)}`,s;if("object"!=typeof l||!l)return s.message="string"==typeof l?`${l}${L(s.traceId)}`:"string"==typeof i.message?`${i.message}${L(s.traceId)}`:`${M(e,i)}${L(s.traceId)}`,s;if("type"in(o=l)&&"mutationError"===o.type&&"description"in o&&"string"==typeof o.description||"type"in(a=l)&&"actionError"===a.type&&"description"in a&&"string"==typeof a.description){let e=l.items||[],t=e.slice(0,5).map(e=>e.error?.description).filter(Boolean),r=t.length?`: 3- ${t.join("\n- ")}`:"";return e.length>5&&(r+=` 4...and ${e.length-5} more`),s.message=`${l.description}${L(s.traceId)}${r}`,s.details=i.error,s}return N(l)?(s.message=U(l,t,s.traceId),s.details=i.error):"description"in l&&"string"==typeof l.description?(s.message=`${l.description}${L(s.traceId)}`,s.details=l):s.message=`${M(e,i)}${L(s.traceId)}`,s}function N(e){return(0,r.t)(e)&&"queryParseError"===e.type&&"string"==typeof e.query&&"number"==typeof e.start&&"number"==typeof e.end}function U(e,t,r){let{query:n,start:o,end:a,description:i}=e,s=r?` 5(traceId: ${r})`:"";if(!n||void 0===o)return`GROQ query parse error: ${i}${s}`;let l=t?` 6 7Tag: ${t}`:"";return`GROQ query parse error: 8${function(e,t,r){let n=e.split(P),{start:o,end:a,markerLines:i}=function(e,t){let r={...e.start},n={...r,...e.end},o=r.line??-1,a=r.column??0,i=n.line,s=n.column,l=Math.max(o-3,0),u=Math.min(t.length,i+3);-1===o&&(l=0),-1===i&&(u=t.length);let d=i-o,c={};if(d)for(let e=0;e<=d;e++){let r=e+o;c[r]=!a||(0===e?[a,t[r-1].length-a+1]:e===d?[0,s]:[0,t[r-e].length])}else c[o]=a===s?!a||[a,0]:[a,s-a];return{start:l,end:u,markerLines:c}}({start:O(t.start,n),end:t.end?O(t.end,n):void 0},n),s=`${a}`.length;return e.split(P,a).slice(o,a).map((e,t)=>{let n=o+1+t,a=` ${` ${n}`.slice(-s)} |`,l=i[n],u=!i[n+1];if(!l)return` ${a}${e.length>0?` ${e}`:""}`;let d="";if(Array.isArray(l)){let t=e.slice(0,Math.max(l[0]-1,0)).replace(/[^\t]/g," "),n=l[1]||1;d=["\n ",a.replace(/\d/g," ")," ",t,"^".repeat(n)].join(""),u&&r&&(d+=" "+r)}return[">",a,e.length>0?` ${e}`:"",d].join("")}).join("\n")}(n,{start:o,end:a},i)}${l}${s}`}function M(e,t){var r;let n="string"==typeof t?` (${(r=t).length>100?`${r.slice(0,100)}â¦`:r})`:"",o=e.statusMessage?` ${e.statusMessage}`:"";return`${e.method}-request to ${e.url} resulted in HTTP ${e.statusCode}${o}${n}`}function L(e){return e?` (traceId: ${e})`:""}var D=class extends Error{constructor({projectId:e,credentials:t}={}){if(super("CorsOriginError"),C(this,"projectId",void 0),C(this,"addOriginUrl",void 0),this.name="CorsOriginError",this.projectId=e,e&&"u">typeof location){let r=new URL(`https://sanity.io/manage/project/${e}/api`),{origin:n}=location;r.searchParams.set("cors","add"),r.searchParams.set("origin",n),t&&r.searchParams.set("credentials",""),this.addOriginUrl=r,this.message=`The current origin is not allowed to connect to the Live Content API. Add it here: ${r}`}else this.message=e?`The current origin is not allowed to connect to the Live Content API. Change your configuration here: https://sanity.io/manage/project/${e}/api`:"The current origin is not allowed to connect to the Live Content API."}};async function q(e,t){var r,n;let o,a=t.url,i=(t.method??"GET").toUpperCase(),s;try{s=await e(t)}catch(e){if(b(e)){let r=H("string"==typeof e.body?e.body:"",e.headers),n=I({status:e.status,statusText:e.statusText,headers:e.headers,body:r,url:e.response.url??e.url},a,i),o=function(e){if(!e)return;if(e instanceof URLSearchParams)return e.get("tag")??void 0;let t=e.tag;return"string"==typeof t?t:void 0}(t.query);throw n.statusCode>=500?new _(n):new k(n,o)}throw e}return{type:"response",body:H((r=s).text(),r.headers),statusCode:s.status,statusMessage:s.statusText||null,headers:(n=s.headers,o={}
8,n.forEach((e,t)=>{o[t]=e}),o),url:s.url||a,method:i}}function H(e,t){let r=(t.get("content-type")??"").toLowerCase();if(e){if(r.includes("application/json"))try{return JSON.parse(e)}catch{}return e}}function B(e,t,r){if(b(e)){let t=(r.method??"GET")==="GET"||"HEAD"===r.method,n=(r.url??"").includes("/data/query"),o=e.status;return!!((t||n)&&(429===o||502===o||503===o))}return E(e,t,r)}e.s(["a",0,_,"c",0,function(e){if(!(0,r.t)(e))return!1;let t=e.response;return!("number"!=typeof e.statusCode||"string"!=typeof e.message||!(0,r.t)(t)||void 0===t.body||"string"!=typeof t.url||"string"!=typeof t.method||"object"!=typeof t.headers||"number"!=typeof t.statusCode)},"i",0,D,"l",0,N,"n",0,H,"o",0,U,"r",0,k,"s",0,I,"t",0,function(e,t={}){var r,o;let a,i,l,u,d,c=s({...e.fetch?{fetch:e.fetch}:{},headers:e.headers,httpErrors:!0,middleware:[(r={shouldRetry:B,maxRetries:t.maxRetries??5,...t.retryDelay?{retryDelay:t.retryDelay}:{}},l=r?.maxRetries??5,u=r?.retryDelay??x,d=r?.shouldRetry??E,async function(e,t){let r="number"==typeof e.maxRetries?e.maxRetries:l,n;for(let o=0;o<=r;o++)try{return await t(e)}catch(t){if(n=t,o>=r||!d(t,o,e))throw t;await function(e,t){return new Promise((r,n)=>{if(t?.aborted)return void n(t.reason);let o=setTimeout(r,e);t?.addEventListener("abort",()=>{clearTimeout(o),n(t.reason)},{once:!0})})}(u(o),e.signal)}throw n}),...e.middleware,(t,r)=>{let n=t.meta?.fetchInit;if("object"!=typeof n||!n)return r(t);let o=t.fetch??e.fetch??globalThis.fetch;return r({...t,fetch:(e,t)=>o(e,{...n,...t})})},(o=t,a={},i=e=>void 0!==o.ignoreWarnings&&(Array.isArray(o.ignoreWarnings)?o.ignoreWarnings:[o.ignoreWarnings]).some(t=>"string"==typeof t?e.includes(t):t.test(e)),{afterResponse(e){let t=e.headers.get("x-sanity-warning");if(!t)return e;for(let e of t.split(",").map(e=>e.trim()))!e||a[e]||i(e)||(a[e]=!0,console.warn(e));return e}})]}),f=e=>{if("string"!=typeof e.url)throw TypeError("Request options must include a `url`");return q(c,e)};return{promise:f,observable:e=>new j.Observable(t=>{let r=new AbortController,o=e.signal,a=o?n([o,r.signal]):r.signal,i=(0,$.from)(f({...e,signal:a})).subscribe(t);return()=>{i.unsubscribe(),r.abort()}})}},"u",0,C],679079)},870766,e=>{"use strict";var t={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},r={0:8203,1:8204,2:8205,3:65279},n={0:String.fromCodePoint(r[0]),1:String.fromCodePoint(r[1]),2:String.fromCodePoint(r[2]),3:String.fromCodePoint(r[3])},o=[,,,,].fill(String.fromCodePoint(r[0])).join("");Object.fromEntries(Object.entries(n).map(e=>[e[1],+e[0]])),Object.fromEntries(Object.entries(t).map(e=>e.reverse()));var a=`${Object.values(t).map(e=>`\\u{${e.toString(16)}}`).join("")}`,i=RegExp(`[${a}]{4,}`,"gu");e.s(["r",0,function(e,t,r="auto"){return!0===r||"auto"===r&&(!(!Number.isNaN(Number(e))||/[a-z]/i.test(e)&&!/\d+(?:[-:\/]\d+){2}(?:T\d+(?:[-:\/]\d+){1,2}(\.\d+)?Z?)?/.test(e))&&Date.parse(e)||function(e){try{new URL(e,e.startsWith("/")?"https://acme.com":void 0)}catch{return!1}return!0}(e))?e:`${e}${function(e){let t=JSON.stringify(e),r=new TextEncoder().encode(t),a="";for(let e=0;e<r.length;e++){let t=r[e];a+=n[t>>6&3]+n[t>>4&3]+n[t>>2&3]+n[3&t]}return o+a}(t)}`},"t",0,function(e){var t;return e&&JSON.parse({cleaned:(t=JSON.stringify(e)).replace(i,""),encoded:t.match(i)?.[0]||""}.cleaned)}])},110548,e=>{"use strict";var t=e.i(133326),r=e.i(870766),n=e.i(469663);function o(e,t,r){return(0,n.i)(e,(e,o)=>{if("string"!=typeof e)return e;let a=(0,n.a)(o,t);if(!a)return e;let{mapping:i,matchedPath:s}=a;if("value"!==i.type||"documentValue"!==i.source.type)return e;let l=t.documents[i.source.document],u=t.paths[i.source.path],d=(0,n.c)(s);return r({sourcePath:(0,n.c)(u).concat(o.slice(d.length)),sourceDocument:l,resultPath:o,value:e})})}let a=({sourcePath:e,resultPath:t,value:r})=>{var n;if(n=r,/^\d{4}-\d{2}-\d{2}/.test(n)&&Date.parse(n)||function(e){try{let{protocol:t}=new URL(e,e.startsWith("/")?"https://acme.com":void 0);return s.has(t)||t.startsWith("web+")}catch{return!1}}(r))return!1;let o=e.at(-1);return!("slug"===e.at(-2)&&"current"===o||"string"==typeof o&&(o.startsWith("_")||o.endsWith("Id"))||e.some(e=>"meta"===e||"metadata"===e||"openGraph"===e||"seo"===e)||l(e)||l(t)||"string"==typeof o&&i.has(o))},i=new Set("color.colour.currency.email.format.gid.hex.href.hsl.hsla.icon.id.index.key.language.layout.link.linkAction.locale.lqip.page.path.ref.rgb.rgba.route.
8secret.slug.status.tag.template.theme.type.textTheme.unit.url.username.variant.website".split(".")),s=new Set(["app:","data:","discord:","file:","ftp:","ftps:","geo:","http:","https:","imap:","javascript:","magnet:","mailto:","maps:","ms-excel:","ms-powerpoint:","ms-word:","slack:","sms:","spotify:","steam:","teams:","tel:","vscode:","zoom:"]);function l(e){return e.some(e=>"string"==typeof e&&null!==e.match(/type/i))}var u=(0,t.t)({encodeIntoResult:()=>o,stegaEncodeSourceMap:()=>d});function d(e,t,i){let{filter:s,logger:l,enabled:u}=i;if(!u){let r="config.enabled must be true, don't call this function otherwise";throw l?.error?.(`[@sanity/client]: ${r}`,{result:e,resultSourceMap:t,config:i}),TypeError(r)}if(!t)return l?.error?.("[@sanity/client]: Missing Content Source Map from response body",{result:e,resultSourceMap:t,config:i}),e;if(!i.studioUrl){let r="config.studioUrl must be defined";throw l?.error?.(`[@sanity/client]: ${r}`,{result:e,resultSourceMap:t,config:i}),TypeError(r)}let d=[],f=[],p=o(e,t,({sourcePath:e,sourceDocument:t,resultPath:o,value:u})=>{if(("function"==typeof s?s({sourcePath:e,resultPath:o,filterDefault:a,sourceDocument:t,value:u}):a({sourcePath:e,resultPath:o,filterDefault:a,sourceDocument:t,value:u}))===!1)return l&&f.push({path:c(e),value:`${u.slice(0,20)}${u.length>20?"...":""}`,length:u.length}),u;l&&d.push({path:c(e),value:`${u.slice(0,20)}${u.length>20?"...":""}`,length:u.length});let{baseUrl:p,workspace:h,tool:m}=(0,n.n)("function"==typeof i.studioUrl?i.studioUrl(t):i.studioUrl);if(!p)return u;let{_id:g,_type:y,_projectId:b,_dataset:v}=t;return(0,r.r)(u,{origin:"sanity.io",href:(0,n.r)({baseUrl:p,workspace:h,tool:m,id:g,type:y,path:e,...!i.omitCrossDatasetReferenceData&&{dataset:v,projectId:b}})},!1)});if(l){let e=f.length,t=d.length;if((e||t)&&((l?.groupCollapsed||l.log)?.("[@sanity/client]: Encoding source map into result"),l.log?.(`[@sanity/client]: Paths encoded: ${d.length}, skipped: ${f.length}`)),d.length>0&&(l?.log?.("[@sanity/client]: Table of encoded paths"),(l?.table||l.log)?.(d)),f.length>0){let e=new Set;for(let{path:t}of f)e.add(t.replace(n.b,"0").replace(/\[\d+\]/g,"[]"));l?.log?.("[@sanity/client]: List of skipped paths",[...e.values()])}(e||t)&&l?.groupEnd?.()}return p}function c(e){return(0,n.S)((0,n.s)(e))}e.s(["n",0,u,"r",0,o,"t",0,d])},344498,e=>{"use strict";var t=e.i(844843),r=e.i(297865),n=e.i(492967);function o(){return false}function a(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function i(e){(0,r.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let n=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(n.current)e.route&&n.current(e.route);else{let r=function(e={}){var t;if(!("u">typeof window)||null===e.route)return null;window.si||(window.si=function(...e){(window.siq=window.siq||[]).push(e)});let r=e.scriptSrc?e.scriptSrc:o()?"https://va.vercel-scripts.com/v1/speed-insights/script.debug.js":e.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":e.basePath?`${e.basePath}/speed-insights/script.js`:"/_vercel/speed-insights/script.js";if(document.head.querySelector(`script[src*="${r}"]`))return null;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend));let n=document.createElement("script");return n.src=r,n.defer=!0,n.dataset.sdkn="@vercel/speed-insights"+(e.framework?`/${e.framework}`:""),n.dataset.sdkv="1.3.1",e.sampleRate&&(n.dataset.sampleRate=e.sampleRate.toString()),e.route&&(n.dataset.route=e.route),e.endpoint?n.dataset.endpoint=e.endpoint:e.basePath&&(n.dataset.endpoint=`${e.basePath}/speed-insights/vitals`),e.dsn&&(n.dataset.dsn=e.dsn),o()&&!1===e.debug&&(n.dataset.debug="false"),n.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${r}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(n),{setRoute:e=>{n.dataset.route=e??void 0}}}({framework:e.framework??"react",basePath:e.basePath??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...e});r&&(n.current=r.setRoute)}},[e.route]),null}function s(e){let o=(()=>
8{let e=(0,n.useParams)(),t=(0,n.useSearchParams)()||new URLSearchParams,r=(0,n.usePathname)();if(!e)return null;let o=Object.keys(e).length?e:Object.fromEntries(t.entries());if(!r||!o)return r;let i=r;try{let e=Object.entries(o);for(let[t,r]of e)if(!Array.isArray(r)){let e=a(r);e.test(i)&&(i=i.replace(e,`/[${t}]`))}for(let[t,r]of e)if(Array.isArray(r)){let e=a(r.join("/"));e.test(i)&&(i=i.replace(e,`/[...${t}]`))}return i}catch(e){return r}})();return r.default.createElement(i,{route:o,...e,framework:"next",basePath:function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}()})}e.s(["SpeedInsights",0,function(e){return r.default.createElement(r.Suspense,{fallback:null},r.default.createElement(s,{...e}))}])},302938,e=>{"use strict";let t=(0,e.i(706733).default)(()=>e.A(397786),{ssr:!1});e.s(["VisualEditing",0,t])},507303,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={callServer:function(){return a.callServer},createServerReference:function(){return s.createServerReference},findSourceMapURL:function(){return i.findSourceMapURL}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(932616),i=e.r(759921),s=e.r(607240)},269615,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return m},defaultHead:function(){return c}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(836437),i=e.r(56421),s=e.r(328497),l=i._(e.r(297865)),u=a._(e.r(547633)),d=e.r(977682);function c(){return[(0,s.jsx)("meta",{charSet:"utf-8"},"charset"),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}let p=["name","httpEquiv","charSet","itemProp"];function h(e){let t,r,n,o;return e.reduce(f,[]).reverse().concat(c().reverse()).filter((t=new Set,r=new Set,n=new Set,o={},e=>{let a=!0,i=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){i=!0;let r=e.key.slice(e.key.indexOf("$")+1);t.has(r)?a=!1:t.add(r)}switch(e.type){case"title":case"base":r.has(e.type)?a=!1:r.add(e.type);break;case"meta":for(let t=0,r=p.length;t<r;t++){let r=p[t];if(e.props.hasOwnProperty(r))if("charSet"===r)n.has(r)?a=!1:n.add(r);else{let t=e.props[r],n=o[r]||new Set;("name"!==r||!i)&&n.has(t)?a=!1:(n.add(t),o[r]=n)}}}return a})).reverse().map((e,t)=>{let r=e.key||t;return l.default.cloneElement(e,{key:r})})}let m=function({children:e}){let t=(0,l.useContext)(d.HeadManagerContext);return(0,s.jsx)(u.default,{reduceComponentsToState:h,headManager:t,children:e})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},104068,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"RouterContext",{enumerable:!0,get:function(){return n}});let n=e.r(836437)._(e.r(297865)).default.createContext(null)},547633,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let n=e.r(297865),o="u"<typeof window,a=o?()=>{}:n.useLayoutEffect,i=o?()=>{}:n.useEffect;function s(e){let{headManager:t,reduceComponentsToState:r}=e;function s(){if(t&&t.mountedInstances){let e=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(e))}}return o&&(t?.mountedInstances?.add(e.children),s()),a(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),a(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),i(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},492967,(e,t,r)=>{t.exports=e.r(519080)}]); 9 10//# debugId=22cae837-92b8-b356-d0f1-0fa47eed2f00
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.