1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,52625,(e,t,r)=>{"use strict";let n,i;var o,a,l=Object.create,s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,f=Object.getPrototypeOf,p=Object.prototype.hasOwnProperty,d=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of u(t))p.call(e,i)||i===r||s(e,i,{get:()=>t[i],enumerable:!(n=c(t,i))||n.enumerable});return e},h={},y={$dispatcherGuard:()=>N,$makeReadOnly:()=>C,$reset:()=>O,$structuralCheck:()=>A,c:()=>S,clearRenderCounterRegistry:()=>M,renderCounterRegistry:()=>x,useRenderCounter:()=>P};for(var m in y)s(h,m,{get:y[m],enumerable:!0});t.exports=d(s({},"__esModule",{value:!0}),h);var g=(i=null!=(n=e.r(14371))?l(f(n)):{},d(n&&n.__esModule?i:s(i,"default",{value:n,enumerable:!0}),n)),{useRef:$,useEffect:b,isValidElement:_}=g,v=null!=(o=g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)?o:g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.memo_cache_sentinel"),S="function"==typeof(null==(a=g.__COMPILER_RUNTIME)?void 0:a.c)?g.__COMPILER_RUNTIME.c:function(e){return g.useMemo(()=>{let t=Array(e);for(let r=0;r<e;r++)t[r]=w;return t[w]=!0,t},[])},R={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach(e=>{R[e]=()=>{throw Error(`[React] Unexpected React hook call (${e}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var k=null;function E(e){return v.ReactCurrentDispatcher.current=e,v.ReactCurrentDispatcher.current}R.useMemoCache=e=>{if(null!=k)return k.useMemoCache(e);throw Error("React Compiler internal invariant violation: unexpected null dispatcher")};var j=[];function N(e){let t=v.ReactCurrentDispatcher.current;if(0===e){if(j.push(t),1===j.length&&(k=t),t===R)throw Error("[React] Unexpected call to custom hook or component from a React compiled function. Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') and (2) components are returned as JSX instead of being directly invoked.");E(R)}else if(1===e){let e=j.pop();if(null==e)throw Error("React Compiler internal error: unexpected null in guard stack");0===j.length&&(k=null),E(e)}else if(2===e)j.push(t),E(k);else if(3===e){let e=j.pop();if(null==e)throw Error("React Compiler internal error: unexpected null in guard stack");E(e)}else throw Error("React Compiler internal error: unreachable block"+e)}function O(e){for(let t=0;t<e.length;t++)e[t]=w}function C(){throw Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var x=new Map;function M(){for(let e of x.values())e.forEach(e=>{e.count=0})}function P(e){let t=$(null);null!=t.current&&(t.current.count+=1),b(()=>{if(null==t.current){let r,n={count:0};null==(r=x.get(e))&&(r=new Set,x.set(e,r)),r.add(n),t.current=n}return()=>{var r;let n;null!==t.current&&(r=t.current,null!=(n=x.get(e))&&n.delete(r))}})}var U=new Set;function A(e,t,r,n,i,o){function a(e,t,a,l){let s=`${n}:${o} [${i}] ${r}${a} changed from ${e} to ${t} at depth ${l}`;U.has(s)||(U.add(s),console.error(s))}!function e(t,r,n,i){if(!(i>2)){if(t!==r)if(typeof t!=typeof r)a(`type ${typeof t}`,`type ${typeof r}`,n,i);else if("object"==typeof t){let o=Array.isArray(t),l=Array.isArray(r);if(null===t&&null!==r)a("null",`type ${typeof r}`,n,i);else if(null===r)a(`type ${typeof t}`,"null",n,i);else if(t instanceof Map)if(r instanceof Map)if(t.size!==r.size)a(`Map instance with size ${t.size}`,`Map instance with size ${r.size}`,n,i);else for(let[o,l]of t)r.has(o)?e(l,r.get(o),`${n}.get(${o})`,i+1):a(`Map instance with key ${o}`,`Map instance without key ${o}`,n,i);else a("Map instance","other value",n,i);else if(r instanceof Map)a("other value","Map instance",n,i);else if(t instanceof Set)if(r instanceof Set)if(t.size!==r.size)a(`Set instance with size ${t.size}`,`Set instance with size ${r.size}`,n,i);else for(let e of r)t.has(e)||a(`Set instance without element ${e}`,`Set instance with element ${e}`,n,i);else a("Set instance","other value",n,i);else if(r instanceof Set)a("other value","Set instance",n,i);else if(o||l)if(o!==l)a(`type ${o?"array":"object"}`,`type ${l?"array":"object"}`,n,i);else if(t.length!==r.length)a(`array with length ${t.length}`,`array with length ${r.length}`,n,i);else for(let o=0;o<t.length;o++)e(t[o],r[o],`${n}[${o}]`,i+1);else if(_(t)||_(r))_(t)!==_(r)?a(`type ${_(t)?"React element":"object"}`,`type ${_(r)?"React element":"object"}`,n,i):t.type!==r.type?a(`React element of type ${t.type}`,`React element of type ${r.type}`,n,i):e(t.props,r.props,`[props of ${n}]`,i+1);else{for(let e in r)e in t||a(`object without key ${e}`,`object with key ${e}`,n,i);for(let o in t)o in r?e(t[o],r[o],`${n}.${o}`,i+1):a(`object with key ${o}`,`object without key ${o}`,n,i)}}else{if("function"==typeof t)return;isNaN(t)||isNaN(r)?isNaN(t)!==isNaN(r)&&a(`${isNaN(t)?"NaN":"non-NaN value"}`,`${isNaN(r)?"NaN":"non-NaN value"}`,n,i):t!==r&&a(t,r,n,i)}}}(e,t,"",0)}},76360,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])},i=[,,,,].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 o=`${Object.values(t).map(e=>`\\u{${e.toString(16)}}`).join("")}`,a=RegExp(`[${o}]{4,}`,"gu");e.s(["isRecord",0,function(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)},"stegaClean",0,function(e){var t,r;return e&&JSON.parse({cleaned:(t=JSON.stringify(e)).replace(a,""),encoded:(null==(r=t.match(a))?void 0:r[0])||""}.cleaned)}
1,"y",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),o="";for(let e=0;e<r.length;e++){let t=r[e];o+=n[t>>6&3]+n[t>>4&3]+n[t>>2&3]+n[3&t]}return i+o}(t)}`}])},31513,e=>{"use strict";var t=e.i(76360);let r=/_key\s*==\s*['"](.*)['"]/;function n(e){if(!Array.isArray(e))throw Error("Path is not an array");return e.reduce((e,t,n)=>{let i=typeof t;if("number"===i)return`${e}[${t}]`;if("string"===i)return`${e}${0===n?"":"."}${t}`;if(("string"==typeof t?r.test(t.trim()):"object"==typeof t&&"_key"in t)&&t._key)return`${e}[_key=="${t._key}"]`;if(Array.isArray(t)){let[r,n]=t;return`${e}[${r}:${n}]`}throw Error(`Unsupported path segment \`${JSON.stringify(t)}\``)},"")}let i={"\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","'":"\\'","\\":"\\\\"},o={"\\f":"\f","\\n":` 2`,"\\r":"\r","\\t":" ","\\'":"'","\\\\":"\\"};function a(e){let t,r=[],n=/\['(.*?)'\]|\[(\d+)\]|\[\?\(@\._key=='(.*?)'\)\]/g;for(;null!==(t=n.exec(e));){if(void 0!==t[1]){let e=t[1].replace(/\\(\\|f|n|r|t|')/g,e=>o[e]);r.push(e);continue}if(void 0!==t[2]){r.push(parseInt(t[2],10));continue}if(void 0!==t[3]){let e=t[3].replace(/\\(\\')/g,e=>o[e]);r.push({_key:e,_index:-1});continue}}return r}function l(e){return e.map(e=>{if("string"==typeof e||"number"==typeof e)return e;if(""!==e._key)return{_key:e._key};if(-1!==e._index)return e._index;throw Error(`invalid segment:${JSON.stringify(e)}`)})}function s(e){return e.map(e=>{if("string"==typeof e||"number"==typeof e)return e;if(-1!==e._index)return e._index;throw Error(`invalid segment:${JSON.stringify(e)}`)})}function c(e,r,n){return function e(r,n,i=[]){if(null!==r&&Array.isArray(r))return r.map((r,o)=>{if((0,t.isRecord)(r)){let t=r._key;if("string"==typeof t)return e(r,n,i.concat({_key:t,_index:o}))}return e(r,n,i.concat(o))});if((0,t.isRecord)(r)){if("block"===r._type||"span"===r._type){let t={...r};return"block"===r._type?t.children=e(r.children,n,i.concat("children")):"span"===r._type&&(t.text=e(r.text,n,i.concat("text"))),t}return Object.fromEntries(Object.entries(r).map(([t,r])=>[t,e(r,n,i.concat(t))]))}return n(r,i)}(e,(e,t)=>{if("string"!=typeof e)return e;let o=function(e,t){var r;if(!t?.mappings)return;let n=(r=s(e),`$${r.map(e=>"string"==typeof e?`['${e.replace(/[\f\n\r\t'\\]/g,e=>i[e])}']`:"number"==typeof e?`[${e}]`:""!==e._key?`[?(@._key=='${e._key.replace(/['\\]/g,e=>i[e])}')]`:`[${e._index}]`).join("")}`);if(void 0!==t.mappings[n])return{mapping:t.mappings[n],matchedPath:n,pathSuffix:""};let o=s(e).map(e=>"string"==typeof e?`['${e.replace(/[\f\n\r\t'\\]/g,e=>i[e])}']`:"number"==typeof e?`[${e}]`:""!==e._key?`[?(@._key=='${e._key.replace(/['\\]/g,e=>i[e])}')]`:`[${e._index}]`);for(let e=o.length-1;e>=0;e--){let r=`$${o.slice(0,e).join("")}`,i=t.mappings[r];if(i){let e=n.substring(r.length);return{mapping:i,matchedPath:r,pathSuffix:e}}}}(t,r);if(!o)return e;let{mapping:l,matchedPath:c}=o;if("value"!==l.type||"documentValue"!==l.source.type)return e;let u=r.documents[l.source.document],f=r.paths[l.source.path],p=a(c);return n({sourcePath:a(f).concat(t.slice(p.length)),sourceDocument:u,resultPath:t,value:e})})}let u="drafts.";function f(e){return e.startsWith(u)}function p(e){return e.startsWith("versions.")}let d=({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 y.has(t)||t.startsWith("web+")}catch{return!1}}(r))return!1;let i=e.at(-1);return!("slug"===e.at(-2)&&"current"===i||"string"==typeof i&&(i.startsWith("_")||i.endsWith("Id"))||e.some(e=>"meta"===e||"metadata"===e||"openGraph"===e||"seo"===e)||m(e)||m(t)||"string"==typeof i&&h.has(i))},h=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","secret","slug","status","tag","template","theme","type","textTheme","unit","url","username","variant","website"]),y=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 m(e){return e.some(e=>"string"==typeof e&&null!==e.match(/type/i))}function g(e,i,o){let{filter:a,logger:s,enabled:h}=o;if(!h){let t="config.enabled must be true, don't call this function otherwise";throw s?.error?.(`[@sanity/client]: ${t}`,{result:e,resultSourceMap:i,config:o}),TypeError(t)}if(!i)return s?.error?.("[@sanity/client]: Missing Content Source Map from response body",{result:e,resultSourceMap:i,config:o}),e;if(!o.studioUrl){let t="config.studioUrl must be defined";throw s?.error?.(`[@sanity/client]: ${t}`,{result:e,resultSourceMap:i,config:o}),TypeError(t)}let y=[],m=[],g=c(e,i,({sourcePath:e,sourceDocument:r,resultPath:i,value:c})=>{var h;let g;if(("function"==typeof a?a({sourcePath:e,resultPath:i,filterDefault:d,sourceDocument:r,value:c}):d({sourcePath:e,resultPath:i,value:c}))===!1)return s&&m.push({path:n(l(e)),value:`${c.slice(0,20)}${c.length>20?"...":""}`,length:c.length}),c;s&&y.push({path:n(l(e)),value:`${c.slice(0,20)}${c.length>20?"...":""}`,length:c.length});let{baseUrl:$,workspace:b,tool:_}=("/"!==(g="string"==typeof(h="function"==typeof o.studioUrl?o.studioUrl(r):o.studioUrl)?h:h.baseUrl)&&(g=g.replace(/\/$/,"")),"string"==typeof h?{baseUrl:g}:{...h,baseUrl:g});if(!$)return c;let{_id:v,_type:w,_projectId:S,_dataset:R}=r;return(0,t.y)(c,{origin:"sanity.io",href:function(e){let{baseUrl:t,workspace:r="default",tool:i="default",id:o,type:a,path:s,projectId:c,dataset:
2d}=e;if(!t)throw Error("baseUrl is required");if(!s)throw Error("path is required");if(!o)throw Error("id is required");if("/"!==t&&t.endsWith("/"))throw Error("baseUrl must not end with a slash");let h="default"===r?void 0:r,y="default"===i?void 0:i,m=p(o)?o.split(".").slice(2).join("."):f(o)?o.slice(u.length):o,g=Array.isArray(s)?n(l(s)):s,$=new URLSearchParams({baseUrl:t,id:m,type:a,path:g});if(h&&$.set("workspace",h),y&&$.set("tool",y),c&&$.set("projectId",c),d&&$.set("dataset",d),f(o)||p(o)){if(p(o)){let e=function(e){if(!p(e))return;let[t,r]=e.split(".");return r}(o);$.set("perspective",e)}}else $.set("perspective","published");let b=["/"===t?"":t];h&&b.push(h);let _=["mode=presentation",`id=${m}`,`type=${a}`,`path=${encodeURIComponent(g)}`];return y&&_.push(`tool=${y}`),b.push("intent","edit",`${_.join(";")}?${$}`),b.join("/")}({baseUrl:$,workspace:b,tool:_,id:v,type:w,path:e,...!o.omitCrossDatasetReferenceData&&{dataset:R,projectId:S}})},!1)});if(s){let e=m.length,t=y.length;if((e||t)&&((s?.groupCollapsed||s.log)?.("[@sanity/client]: Encoding source map into result"),s.log?.(`[@sanity/client]: Paths encoded: ${y.length}, skipped: ${m.length}`)),y.length>0&&(s?.log?.("[@sanity/client]: Table of encoded paths"),(s?.table||s.log)?.(y)),m.length>0){let e=new Set;for(let{path:t}of m)e.add(t.replace(r,"0").replace(/\[\d+\]/g,"[]"));s?.log?.("[@sanity/client]: List of skipped paths",[...e.values()])}(e||t)&&s?.groupEnd?.()}return g}var $=Object.freeze({__proto__:null,stegaEncodeSourceMap:g});e.s(["encodeIntoResult",0,c,"stegaEncodeSourceMap",0,g,"stegaEncodeSourceMap$1",0,$])},9808,e=>{"use strict";e.s(["VisualEditing",0,()=>null])},92151,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={callServer:function(){return o.callServer},createServerReference:function(){return l.createServerReference},findSourceMapURL:function(){return a.findSourceMapURL}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(2505),a=e.r(69013),l=e.r(22575)},31362,e=>{"use strict";e.s(["DisableDraftMode",0,()=>null])},66839,e=>{e.v(()=>Promise.resolve({default:()=>null}))},1845,e=>{e.v(()=>Promise.resolve({default:()=>null}))},11047,e=>{e.v(()=>Promise.resolve({default:()=>null}))},17087,e=>{e.v(()=>Promise.resolve({default:()=>null}))}]);
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.