PageSourceSearch

https://www.equinorfondene.no/_next/static/chunks/8990-1bb610ed74ceaf38.js?dpl=92bf3bdda023

js equinorfondene.no collected 2026-10-06 21:42:32 UTC 68,413 bytes, 10 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="df2c3f47-da3c-4f8a-8681-3056f7ecd869",e._sentryDebugIdIdentifier="sentry-dbid-df2c3f47-da3c-4f8a-8681-3056f7ecd869")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8990],{442:(e,t,r)=>{r.d(t,{x:()=>i});var n=r(93274),o=r(44472);function i(e){return(0,o.T)(null==e?void 0:e[n.l])}},7678:(e,t,r)=>{r.d(t,{Q:()=>s});var n=r(95394),o=r(72501),i=r(55311);function s(e,t){return void 0===t&&(t=0),(0,o.N)(function(r,o){r.subscribe((0,i._)(o,function(r){return(0,n.N)(o,e,function(){return o.next(r)},t)},function(){return(0,n.N)(o,e,function(){return o.complete()},t)},function(r){return(0,n.N)(o,e,function(){return o.error(r)},t)}))})}},8262:(e,t,r)=>{r.d(t,{T:()=>o});var n=r(44472);function o(e){return Symbol.asyncIterator&&(0,n.T)(null==e?void 0:e[Symbol.asyncIterator])}},9641:(e,t,r)=>{r.d(t,{h:()=>u});var n=r(86566),o=r(36613),i=r(23124),s=r(41677),a=r(33716);function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=(0,s.lI)(e),u=(0,s.R0)(e,1/0);return e.length?1===e.length?(0,o.Tg)(e[0]):(0,n.U)(u)((0,a.H)(e,r)):i.w}},10067:(e,t,r)=>{r.d(t,{t:()=>n});function n(e){return"object"==typeof e&&!!e&&!Array.isArray(e)}},10297:(e,t,r)=>{r.d(t,{Z:()=>function e(t,r,u){return(void 0===u&&(u=1/0),(0,a.T)(r))?e(function(e,i){return(0,n.T)(function(t,n){return r(e,t,i,n)})((0,o.Tg)(t(e,i)))},u):("number"==typeof r&&(u=r),(0,i.N)(function(e,r){var n,i,a,c,l,f,d,h;return n=u,i=[],a=0,c=0,l=!1,f=function(){!l||i.length||a||r.complete()},d=function(e){return a<n?h(e):i.push(e)},h=function(e){a++;var u=!1;(0,o.Tg)(t(e,c++)).subscribe((0,s._)(r,function(e){r.next(e)},function(){u=!0},void 0,function(){if(u)try{for(a--;i.length&&a<n;)!function(){var e=i.shift();h(e)}();f()}catch(e){r.error(e)}}))},e.subscribe((0,s._)(r,d,function(){l=!0,f()})),function(){}}))}});
1var n=r(94329),o=r(36613),i=r(72501),s=(r(95394),r(55311)),a=r(44472)},10408:(e,t,r)=>{r.d(t,{L:()=>n});function n(e){return TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}},10618:(e,t,r)=>{r.d(t,{U:()=>n});var n={now:function(){return(n.delegate||Date).now()},delegate:void 0}},14911:(e,t,r)=>{r.d(t,{G:()=>l});class n extends Error{constructor(e,t){super(e),this.name="ParseError",this.type=t.type,this.field=t.field,this.value=t.value,this.line=t.line}}function o(e,t,r){return 100===r&&97===e.charCodeAt(t+1)&&116===e.charCodeAt(t+2)&&97===e.charCodeAt(t+3)&&58===e.charCodeAt(t+4)}function i(e,t,r){return 101===r&&118===e.charCodeAt(t+1)&&101===e.charCodeAt(t+2)&&110===e.charCodeAt(t+3)&&116===e.charCodeAt(t+4)&&58===e.charCodeAt(t+5)}function s(e,t){let r=1;for(;r<e.length&&r<t.length;){if(e.charCodeAt(r)!==t.charCodeAt(r))return!1;r++}return e.length<=t.length||58===e.charCodeAt(t.length)}class a extends Event{code;message;constructor(e,t){super(e),this.code=t?.code??void 0,this.message=t?.message??void 0}[Symbol.for("nodejs.util.inspect.custom")](e,t,r){return r(u(this),t)}[Symbol.for("Deno.customInspect")](e,t){return e(u(this),t)}}function u(e){return{type:e.type,message:e.message,code:e.code,defaultPrevented:e.defaultPrevented,cancelable:e.cancelable,timeStamp:e.timeStamp}}class c extends EventTarget{static CONNECTING=0;static OPEN=1;static CLOSED=2;CONNECTING=0;OPEN=1;CLOSED=2;get readyState(){return this.#e}get url(){return this.#t.href}get withCredentials(){return this.#r}get onerror(){return this.#n}set onerror(e){this.#n&&this.removeEventListener("error",this.#n),this.#n=e,e&&this.addEventListener("error",e)}get onmessage(){return this.#o}set onmessage(e){this.#o&&this.removeEventListener("message",this.#o),this.#o=e,e&&this.addEventListener("message",e)}get onopen(){return this.#i}set onopen(e){this.#i&&this.removeEventListener("open",this.#i),this.#i=e,e&&this.addEventListener("open",e)}addEventListener(e,t,r){super.addEventListener(e,t,r)}removeEventListener(e,t,r){super.removeEventListener(e,t,r)}constructor(e,t){super();try{if(e instanceof URL)this.#t=e;else if("string"==typeof e)this.#t=new URL(e,function(){let e="document"in globalThis?globalThis.document:void 0;return e&&"object"==typeof e&&"baseURI"in e&&"string"==typeof e.baseURI?e.baseURI:void 0}());else throw Error("Invalid URL")}catch{throw function(e){let t=globalThis.DOMException;return"function"==typeof t?new t(e,"SyntaxError"):SyntaxError(e)}("An invalid or illegal string was specified")}this.#s=function(e){let t,r;if("function"==typeof e)throw TypeError("`config` must be an object, got a function instead. Did you mean `createParser({onEvent: fn})`?");let{maxBufferSize:a,onComment:u,onError:c,onEvent:l,onId:f,onRetry:d}=e,h=[],p=0,y="",v="",b=0,m=!1,g=!1,w=!1;function E(e){if(e){if(13===e.charCodeAt(e.length-1)){$(e,0,e.length-1),w=!0;return}if(x(e)){h.push(e),p=e.length;return}g=!0}}function x(e){let t=e.charCodeAt(0);return 58===t&&!!u||100===t&&s(e,"data")||101===t&&s(e,"event")||105===t&&s(e,"id")||114===t&&s(e,"retry")}function T(){void 0===a||p+v.length<=a||(m=!0,h.length=0,p=0,t=void 0,v="",b=0,r=void 0,g=!1,w=!1,null==c||c(new n(`Buffered data exceeded max buffer size of ${a} characters`,{type:"max-buffer-size-exceeded"})))}function S(e){let n=0;if(-1===e.indexOf("\r")){let s=e.indexOf("\n",n);for(;-1!==s;){if(n===s){void 0!==t&&(null==f||f(t)),b>0&&(null==l||l({id:t,event:r,data:v})),t=void 0,v="",b=0,r=void 0,n=s+1,s=e.indexOf("\n",n);continue}let a=e.charCodeAt(n);if(o(e,n,a)){let o=32===e.charCodeAt(n+5)?n+6:n+5,i=e.slice(o,s);if(0===b&&10===e.charCodeAt(s+1)){void 0!==t&&(null==f||f(t)),null==l||l({id:t,event:r,data:i}),t=void 0,v="",r=void 0,n=s+2,s=e.indexOf("\n",n);continue}v=0===b?i:`${v}
2${i}`,b++}else i(e,n,a)?r=e.slice(32===e.charCodeAt(n+6)?n+7:n+6,s)||void 0:$(e,n,s);n=s+1,s=e.indexOf("\n",n)}return e.slice(n)}for(;n<e.length;){let t=e.indexOf("\r",n),r=e.indexOf("\n",n),o=-1;if(-1!==t&&-1!==r?o=t<r?t:r:-1!==t?o=t===e.length-1?-1:t:-1!==r&&(o=r),-1===o)break;$(e,n,o),n=o+1,13===e.charCodeAt(n-1)&&10===e.charCodeAt(n)&&n++}return e.slice(n)}function $(e,n,s){if(n===s)return void(void 0!==t&&(null==f||f(t)),b>0&&(null==l||l({id:t,event:r,data:v})),t=void 0,v="",b=0,r=void 0);let a=e.charCodeAt(n);if(o(e,n,a)){let t=32===e.charCodeAt(n+5)?n+6:n+5,r=e.slice(t,s);v=0===b?r:`${v}
3${r}`,b++;return}if(i(e,n,a)){r=e.slice(32===e.charCodeAt(n+6)?n+7:n+6,s)||void 0;return}if(105===a&&100===e.charCodeAt(n+1)&&58===e.charCodeAt(n+2)){let r=e.slice(32===e.charCodeAt(n+3)?n+4:n+3,s);r.includes("\0")||(t=r);return}if(58===a){u&&u(e.slice(n,s).slice(32===e.charCodeAt(n+1)?2:1));return}let c=e.slice(n,s),d=c.indexOf(":");if(-1===d)return void C(c,"",c);let h=c.slice(0,d),p=32===c.charCodeAt(d+1)?2:1;C(h,c.slice(d+p),c)}function C(e,o,i){switch(e){case"event":r=o||void 0;break;case"data":v=0===b?o:`${v}
4${o}`,b++;break;case"id":o.includes("\0")||(t=o);break;case"retry":/^\d+$/.test(o)?null==d||d(parseInt(o,10)):null==c||c(new n(`Invalid \`retry\` value: "${o}"`,{type:"invalid-retry",value:o,line:i}));break;default:null==c||c(new n(`Unknown field "${e.length>20?`${e.slice(0,20)}…`:e}"`,{type:"unknown-field",field:e,value:o,line:i}))}}return{feed:function(e){if(m)throw Error("Cannot feed parser: it was terminated after exceeding the configured max buffer size. Call `reset()` to resume parsing.");if(void 0!==y){if(""===(e=y+e)||"\xef"===e||"\xef\xbb"===e){y=e;return}y=void 0,e=e.replace(/^(?:\uFEFF|\xEF\xBB\xBF)/,"")}if((g||w)&&!(e=function(e){if(0===e.length)return e;if(w)return w=!1,10===e.charCodeAt(0)?e.slice(1):e;let t=e.indexOf("\r"),r=e.indexOf("\n"),n=-1===t?r:-1===r||t<r?t:r;return -1===n?"":n===e.length-1&&13===e.charCodeAt(n)?(g=!1,w=!0,""):(g=!1,e.slice(n+(13===e.charCodeAt(n)&&10===e.charCodeAt(n+1)?2:1)))}(e)))return;if(!h.length){let t=S(e);""!==t&&E(t),T();return}if(-1===e.indexOf("\n")&&-1===e.indexOf("\r")){if(p<6&&!x(h.join("")+e.slice(0,6-p))){h.length=0,p=0,g=!0;return}h.push(e),p+=e.length,T();return}h.push(e);let t=h.join("");h.length=0,p=0,E(S(t)),T()},reset:function(e={}){if(e.consume&&h.length>0){let e=h.join("");$(e,0,e.length)}y="",t=void 0,v="",b=0,r=void 0,h.length=0,p=0,m=!1,g=!1,w=!1}}}({maxBufferSize:t?.maxBufferSize??0x6400000,onEvent:this.#a,onError:this.#u,onId:this.#c,onRetry:this.#l}),this.#e=this.CONNECTING,this.#f=3e3,this.#d=t?.fetch??globalThis.fetch,this.#r=t?.withCredentials??!1,this.#h()}close(){this.#p&&clearTimeout(this.#p),this.#e!==this.CLOSED&&(this.#y&&this.#y.abort(),this.#e=this.CLOSED,this.#y=void 0)}#e;#t;#v;#r;#d;#f;#p;#b=null;#y;#s;#n=null;#o=null;#i=null;#h(){this.#e=this.CONNECTING,this.#y=new AbortController,(0,this.#d)(this.#t,this.#m()).then(this.#g).catch(this.#w)}#g=async e=>{this.#s.reset();let{body:t,redirected:r,status:n,headers:o}=e;
4if(204===n){this.#E("Server sent HTTP 204, not reconnecting",204),this.close();return}if(r?this.#v=new URL(e.url):this.#v=void 0,200!==n)return void this.#E(`Non-200 status code (${n})`,n);if(!(o.get("content-type")||"").startsWith("text/event-stream"))return void this.#E('Invalid content type, expected "text/event-stream"',n);if(this.#e===this.CLOSED)return;this.#e=this.OPEN;let i=new Event("open");if(this.dispatchEvent(i),"object"!=typeof t||!t||!("getReader"in t)){this.#E("Invalid response body, expected a web ReadableStream",n),this.close();return}let s=new TextDecoder,a=t.getReader(),u=!0;do{let{done:e,value:t}=await a.read();if(this.#e===this.CLOSED){u=!1;break}if(t&&this.#s.feed(s.decode(t,{stream:!e})),!e)continue;u=!1,this.#s.reset(),this.#x()}while(u)};#w=e=>{this.#y=void 0,"AbortError"!==e.name&&"aborted"!==e.type&&this.#x(function e(t){return t instanceof Error?"errors"in t&&Array.isArray(t.errors)?t.errors.map(e).join(", "):"cause"in t&&t.cause instanceof Error?`${t}: ${e(t.cause)}`:t.message:`${t}`}(e))};#m(){let e={mode:"cors",redirect:"follow",headers:{Accept:"text/event-stream",...this.#b?{"Last-Event-ID":this.#b}:void 0},cache:"no-store",signal:this.#y?.signal};return"window"in globalThis&&(e.credentials=this.withCredentials?"include":"same-origin"),e}#c=e=>{this.#b=e};#a=e=>{if(this.#e===this.CLOSED)return;let t=this.#v?this.#v.origin:this.#t.origin,r=this.#b??"",n=new MessageEvent(e.event||"message",{data:e.data,origin:t,lastEventId:r});n.origin!==t&&f(n,"origin",t),n.lastEventId!==r&&f(n,"lastEventId",r),this.dispatchEvent(n)};#l=e=>{this.#f=e};#u=e=>{"max-buffer-size-exceeded"===e.type&&(this.close(),this.#E(e.message))};#E(e,t){this.close();let r=new a("error",{code:t,message:e});this.dispatchEvent(r)}#x(e,t){if(this.#e===this.CLOSED)return;this.#e=this.CONNECTING;let r=new a("error",{code:t,message:e});this.dispatchEvent(r);let n=setTimeout(this.#T,this.#f);"object"==typeof n&&null!==n&&"unref"in n&&n.unref(),this.#p=n}#T=()=>{this.#p=void 0,this.#e===this.CONNECTING&&this.#h()}}Object.defineProperty(c,"name",{value:"EventSource"}),Object.defineProperty(c,Symbol.for("eventsource.supports-fetch-override"),{value:!0,writable:!1,configurable:!1,enumerable:!1});let l=c;function f(e,t,r){Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0})}},16201:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(86466),o=r(44472);function i(e){return!!e&&(e instanceof n.c||(0,o.T)(e.lift)&&(0,o.T)(e.subscribe))}},17689:(e,t,r)=>{r.d(t,{$:()=>n});var n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},18869:(e,t,r)=>{r.d(t,{m:()=>o});var n=r(44472);function o(e){return e&&(0,n.T)(e.schedule)}},19317:(e,t,r)=>{r.d(t,{v:()=>i});var n=r(86466),o=r(36613);function i(e){return new n.c(function(t){(0,o.Tg)(e()).subscribe(t)})}},19945:(e,t,r)=>{r.d(t,{Y:()=>i,l:()=>s});var n=r(17689),o=null;function i(e){if(n.$.useDeprecatedSynchronousErrorHandling){var t=!o;if(t&&(o={errorThrown:!1,error:null}),e(),t){var r=o,i=r.errorThrown,s=r.error;if(o=null,i)throw s}}else e()}function s(e){n.$.useDeprecatedSynchronousErrorHandling&&o&&(o.errorThrown=!0,o.error=e)}},23124:(e,t,r)=>{r.d(t,{w:()=>n});var n=new(r(86466)).c(function(e){return e.complete()})},24859:(e,t,r)=>{r.d(t,{j:()=>o});var n=r(72501);function o(e){return(0,n.N)(function(t,r){try{t.subscribe(r)}finally{r.add(e)}})}},27461:(e,t,r)=>{r.d(t,{m:()=>i});var n=r(17689),o=r(99241);function i(e){o.f.setTimeout(function(){var t=n.$.onUnhandledError;if(t)t(e);else throw e})}},29132:(e,t,r)=>{r.d(t,{u:()=>u});var n=r(74144),o=r(36613),i=r(68861),s=r(57110),a=r(72501);function u(e){void 0===e&&(e={});var t=e.connector,r=void 0===t?function(){return new i.B}:t,n=e.resetOnError,u=void 0===n||n,l=e.resetOnComplete,f=void 0===l||l,d=e.resetOnRefCountZero,h=void 0===d||d;return function(e){var t,n,i,l=0,d=!1,p=!1,y=function(){null==n||n.unsubscribe(),n=void 0},v=function(){y(),t=i=void 0,d=p=!1},b=function(){var e=t;v(),null==e||e.unsubscribe()};return(0,a.N)(function(e,a){l++,p||d||y();var m=i=null!=i?i:r();a.add(function(){0!=--l||p||d||(n=c(b,h))}),m.subscribe(a),!t&&l>0&&(t=new s.Ms({next:function(e){return m.next(e)},error:function(e){p=!0,y(),n=c(v,u,e),m.error(e)},complete:function(){d=!0,y(),n=c(v,f),m.complete()}}),(0,o.Tg)(e).subscribe(t))})(e)}}function c(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];if(!0===t)return void e();if(!1!==t){var a=new s.Ms({next:function(){a.unsubscribe(),e()}});return(0,o.Tg)(t.apply(void 0,(0,n.fX)([],(0,n.zs)(r)))).subscribe(a)}}},33716:(e,t,r)=>{r.d(t,{H:()=>g});var n=r(36613),o=r(7678),i=r(72501);function s(e,t){return void 0===t&&(t=0),(0,i.N)(function(r,n){n.add(e.schedule(function(){return r.subscribe(n)},t))})}var a=r(86466),u=r(93274),c=r(44472),l=r(95394);function f(e,t){if(!e)throw Error("Iterable cannot be null");return new a.c(function(r){(0,l.N)(r,t,function(){var n=e[Symbol.asyncIterator]();(0,l.N)(r,t,function(){n.next().then(function(e){e.done?r.complete():r.next(e.value)})},0,!0)})})}var d=r(48644),h=r(78865),p=r(72262),y=r(442),v=r(8262),b=r(10408),m=r(88719);function g(e,t){return t?function(e,t){if(null!=e){if((0,d.l)(e))return(0,n.Tg)(e).pipe(s(t),(0,o.Q)(t));if((0,p.X)(e))return new a.c(function(r){var n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[
4n++]),r.closed||this.schedule())})});if((0,h.y)(e))return(0,n.Tg)(e).pipe(s(t),(0,o.Q)(t));if((0,v.T)(e))return f(e,t);if((0,y.x)(e))return new a.c(function(r){var n;return(0,l.N)(r,t,function(){n=e[u.l](),(0,l.N)(r,t,function(){var e,t,o;try{t=(e=n.next()).value,o=e.done}catch(e){r.error(e);return}o?r.complete():r.next(t)},0,!0)}),function(){return(0,c.T)(null==n?void 0:n.return)&&n.return()}});if((0,m.U)(e))return f((0,m.C)(e),t)}throw(0,b.L)(e)}(e,t):(0,n.Tg)(e)}},36613:(e,t,r)=>{r.d(t,{Tg:()=>y});var n=r(74144),o=r(72262),i=r(78865),s=r(86466),a=r(48644),u=r(8262),c=r(10408),l=r(442),f=r(88719),d=r(44472),h=r(27461),p=r(49469);function y(e){if(e instanceof s.c)return e;if(null!=e){var t,r,y,b,m;if((0,a.l)(e)){return t=e,new s.c(function(e){var r=t[p.s]();if((0,d.T)(r.subscribe))return r.subscribe(e);throw TypeError("Provided object does not correctly implement Symbol.observable")})}if((0,o.X)(e)){return r=e,new s.c(function(e){for(var t=0;t<r.length&&!e.closed;t++)e.next(r[t]);e.complete()})}if((0,i.y)(e)){return y=e,new s.c(function(e){y.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,h.m)})}if((0,u.T)(e))return v(e);if((0,l.x)(e)){return b=e,new s.c(function(e){var t,r;try{for(var o=(0,n.Ju)(b),i=o.next();!i.done;i=o.next()){var s=i.value;if(e.next(s),e.closed)return}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}e.complete()})}if((0,f.U)(e)){return m=e,v((0,f.C)(m))}}throw(0,c.L)(e)}function v(e){return new s.c(function(t){(function(e,t){var r,o,i,s;return(0,n.sH)(this,void 0,void 0,function(){var a;return(0,n.YH)(this,function(u){switch(u.label){case 0:u.trys.push([0,5,6,11]),r=(0,n.xN)(e),u.label=1;case 1:return[4,r.next()];case 2:if((o=u.sent()).done)return[3,4];if(a=o.value,t.next(a),t.closed)return[2];u.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return i={error:u.sent()},[3,11];case 6:if(u.trys.push([6,,9,10]),!(o&&!o.done&&(s=r.return)))return[3,8];return[4,s.call(r)];case 7:u.sent(),u.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})})(e,t).catch(function(e){return t.error(e)})})}},39208:(e,t,r)=>{r.d(t,{r:()=>a,t:()=>l});var n={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},o={0:8203,1:8204,2:8205,3:65279},i={0:String.fromCodePoint(o[0]),1:String.fromCodePoint(o[1]),2:String.fromCodePoint(o[2]),3:String.fromCodePoint(o[3])},s=[,,,,].fill(String.fromCodePoint(o[0])).join("");function a(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),n="";for(let e=0;e<r.length;e++){let t=r[e];n+=i[t>>6&3]+i[t>>4&3]+i[t>>2&3]+i[3&t]}return s+n}(t)}`}Object.fromEntries(Object.entries(i).map(e=>[e[1],+e[0]])),Object.fromEntries(Object.entries(n).map(e=>e.reverse()));var u=`${Object.values(n).map(e=>`\\u{${e.toString(16)}}`).join("")}`,c=RegExp(`[${u}]{4,}`,"gu");function l(e){var t;return e&&JSON.parse({cleaned:(t=JSON.stringify(e)).replace(c,""),encoded:t.match(c)?.[0]||""}.cleaned)}},39218:(e,t,r)=>{r.d(t,{L:()=>n});function n(e){var t=e(function(e){Error.call(e),e.stack=Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}},40591:(e,t,r)=>{r.d(t,{t:()=>o});var n=Object.defineProperty,o=(e,t)=>{let r={};for(var o in e)n(r,o,{get:e[o],enumerable:!0});return t||n(r,Symbol.toStringTag,{value:"Module"}),r}},41677:(e,t,r)=>{r.d(t,{R0:()=>s,lI:()=>i});var n=r(18869);function o(e){return e[e.length-1]}function i(e){return(0,n.m)(o(e))?e.pop():void 0}function s(e,t){return"number"==typeof o(e)?e.pop():t}},42379:(e,t,r)=>{r.d(t,{s:()=>o});var n=(0,r(39218).L)(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}});function o(e,t){var r="object"==typeof t;return new Promise(function(o,i){var s,a=!1;e.subscribe({next:function(e){s=e,a=!0},error:i,complete:function(){a?o(s):r?o(t.defaultValue):i(new n)}})})}},44472:(e,t,r)=>{r.d(t,{T:()=>n});function n(e){return"function"==typeof e}},48644:(e,t,r)=>{r.d(t,{l:()=>i});var n=r(49469),o=r(44472);function i(e){return(0,o.T)(e[n.s])}},49469:(e,t,r)=>{r.d(t,{s:()=>n});var n="function"==typeof Symbol&&Symbol.observable||"@@observable"},52671:(e,t,r)=>{r.d(t,{p:()=>i});var n=r(72501),o=r(55311);function i(e,t){return(0,n.N)(function(r,n){var i=0;r.subscribe((0,o._)(n,function(r){return e.call(t,r,i++)&&n.next(r)}))})}},55311:(e,t,r)=>{r.d(t,{_:()=>o});var n=r(74144);function o(e,t,r,n,o){return new i(e,t,r,n,o)}var i=function(e){function t(t,r,n,o,i,s){var a=e.call(this,t)||this;return a.onFinalize=i,a.shouldUnsubscribe=s,a._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,a._error=o?function(e){try{o(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,a._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,a}return(0,n.C6)(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),r||null==(t=this.onFinalize)||t.call(this)}},t}(r(57110).vU)},56188:(e,t,r)=>{r.d(t,{t:()=>n});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}},57110:(e,t,r)=>{r.d(t,{Ms:()=>b,vU:()=>h});var n=r(74144),o=r(44472),i=r(90962),s=r(17689),a=r(27461),u=r(96364),c=l("C",void 0,void 0);function l(e,t,r){return{kind:e,value:t,error:r}}var f=r(99241),d=r(19945),h=function(e){function t(t){var r=e.call(this)||this;return r.isStopped=!1,t?(r.destination=t,(0,i.Uv)(t)&&t.add(r)):r.destination=w,r}return(0,n.C6)(t,e),t.create=function(e,t,r){return new b(e,t,r)},t.prototype.next=function(e){this.isStopped?g(l("N",e,void 0),this):this._next(e)},t.prototype.error=function(e){this.isStopped?g(l("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?g(c,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(i.yU),p=Function.prototype.bind;function y(e,t){return p.call(e,t)}var v=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){m(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){m(e)}else m(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){m(e)}},e}(),b=function(e){function t(t,r,n){var i,a,u=e.call(this)||this;return(0,o.T)(t)||!t?i={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}
4:u&&s.$.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return u.unsubscribe()},i={next:t.next&&y(t.next,a),error:t.error&&y(t.error,a),complete:t.complete&&y(t.complete,a)}):i=t,u.destination=new v(i),u}return(0,n.C6)(t,e),t}(h);function m(e){s.$.useDeprecatedSynchronousErrorHandling?(0,d.l)(e):(0,a.m)(e)}function g(e,t){var r=s.$.onStoppedNotification;r&&f.f.setTimeout(function(){return r(e,t)})}var w={closed:!0,next:u.l,error:function(e){throw e},complete:u.l}},57948:(e,t,r)=>{r.d(t,{S:()=>h,a:()=>O,b:()=>a,c:()=>I,f:()=>E,g:()=>m,h:()=>x,i:()=>function e(t,r,n=[]){if(null!==t&&Array.isArray(t))return t.map((t,i)=>{if((0,o.t)(t)){let o=t._key;if("string"==typeof o)return e(t,r,n.concat({_key:o,_index:i}))}return e(t,r,n.concat(i))});if((0,o.t)(t)){if("block"===t._type||"span"===t._type){let o={...t};return"block"===t._type?o.children=e(t.children,r,n.concat("children")):"span"===t._type&&(o.text=e(t.text,r,n.concat("text"))),o}return Object.fromEntries(Object.entries(t).map(([t,o])=>[t,e(o,r,n.concat(t))]))}return r(t,n)},m:()=>T,n:()=>j,p:()=>S,r:()=>P,s:()=>_,v:()=>g,x:()=>i});var n=r(40591),o=r(10067),i=(0,n.t)({fromString:()=>p,get:()=>d,isIndexSegment:()=>c,isIndexTuple:()=>f,isKeySegment:()=>l,reKeySegment:()=>a,toString:()=>h});let s=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/_key\s*==\s*['"](.*)['"]/,u=/^\d*:\d*$/;function c(e){return"number"==typeof e||"string"==typeof e&&/^\[\d+\]$/.test(e)}function l(e){return"string"==typeof e?a.test(e.trim()):"object"==typeof e&&"_key"in e}function f(e){if("string"==typeof e&&u.test(e))return!0;if(!Array.isArray(e)||2!==e.length)return!1;let[t,r]=e;return("number"==typeof t||""===t)&&("number"==typeof r||""===r)}function d(e,t,r){let n="string"==typeof t?p(t):t;if(!Array.isArray(n))throw Error("Path must be an array or a string");let o=e;for(let e=0;e<n.length;e++){let t=n[e];if(c(t)){if(!Array.isArray(o))return r;o=o[t]}if(l(t)){if(!Array.isArray(o))return r;o=o.find(e=>e._key===t._key)}if("string"==typeof t&&(o="object"==typeof o&&o?o[t]:void 0),void 0===o)return r}return o}function h(e){if(!Array.isArray(e))throw Error("Path is not an array");return e.reduce((e,t,r)=>{let n=typeof t;if("number"===n)return`${e}[${t}]`;if("string"===n)return`${e}${0===r?"":"."}${t}`;if(l(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)}\``)},"")}function p(e){if("string"!=typeof e)throw Error("Path is not a string");let t=e.match(s);if(!t)throw Error("Invalid path string");return t.map(y)}function y(e){return c(e)?Number(e.replace(/[^\d]/g,"")):l(e)?{_key:e.match(a)[1]}:f(e)?function(e){let[t,r]=e.split(":").map(e=>""===e?e:Number(e));return[t,r]}(e):e}let v="drafts.",b="versions.";function m(e){return e.startsWith(v)}function g(e){return e.startsWith(b)}function w(e){return!m(e)&&!g(e)}function E(e){return g(e)?v+S(e):m(e)?e:v+e}function x(e,t){if("drafts"===t||"published"===t)throw Error('Version can not be "published" or "drafts"');return`${b}${t}.${S(e)}`}function T(e){if(!g(e))return;let[t,r,...n]=e.split(".");return r}function S(e){if(g(e))return e.split(".").slice(2).join(".");if(m(e))return e.slice(v.length);if(w(e))return e;throw Error(`Unable to resolve a published id from "${e}"`)}let $={"\f":"\\f","\n":"\\n","\r":"\\r","	":"\\t","'":"\\'","\\":"\\\\"},C={"\\f":"\f","\\n":"\n","\\r":"\r","\\t":"	","\\'":"'","\\\\":"\\"};function I(e){let t=[],r=/\['(.*?)'\]|\[(\d+)\]|\[\?\(@\._key=='(.*?)'\)\]/g,n;for(;null!==(n=r.exec(e));){if(void 0!==n[1]){let e=n[1].replace(/\\(\\|f|n|r|t|')/g,e=>C[e]);t.push(e);continue}if(void 0!==n[2]){t.push(parseInt(n[2],10));continue}if(void 0!==n[3]){let e=n[3].replace(/\\(\\')/g,e=>C[e]);t.push({_key:e,_index:-1});continue}}return t}function _(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 A(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 O(e,t){var r;if(!t?.mappings)return;let n=(r=A(e),`$${r.map(e=>"string"==typeof e?`['${e.replace(/[\f\n\r\t'\\]/g,e=>$[e])}']`:"number"==typeof e?`[${e}
4]`:""===e._key?`[${e._index}]`:`[?(@._key=='${e._key.replace(/['\\]/g,e=>$[e])}')]`).join("")}`);if(void 0!==t.mappings[n])return{mapping:t.mappings[n],matchedPath:n,pathSuffix:""};let o=A(e).map(e=>"string"==typeof e?`['${e.replace(/[\f\n\r\t'\\]/g,e=>$[e])}']`:"number"==typeof e?`[${e}]`:""===e._key?`[${e._index}]`:`[?(@._key=='${e._key.replace(/['\\]/g,e=>$[e])}')]`);for(let e=o.length-1;e>=0;e--){let r=`$${o.slice(0,e).join("")}`,i=t.mappings[r];if(i)return{mapping:i,matchedPath:r,pathSuffix:n.substring(r.length)}}}function P(e){let{baseUrl:t,workspace:r="default",tool:n="default",id:o,type:i,path:s,projectId:a,dataset:u}=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 c="default"===r?void 0:r,l="default"===n?void 0:n,f=S(o),d=Array.isArray(s)?h(_(s)):s,p=new URLSearchParams({baseUrl:t,id:f,type:i,path:d});if(c&&p.set("workspace",c),l&&p.set("tool",l),a&&p.set("projectId",a),u&&p.set("dataset",u),w(o))p.set("perspective","published");else if(g(o)){let e=T(o);p.set("perspective",e)}let y=["/"===t?"":t];c&&y.push(c);let v=["mode=presentation",`id=${f}`,`type=${i}`,`path=${encodeURIComponent(d)}`];return l&&v.push(`tool=${l}`),y.push("intent","edit",`${v.join(";")}?${p}`),y.join("/")}function j(e){let t="string"==typeof e?e:e.baseUrl;return"/"!==t&&(t=t.replace(/\/$/,"")),"string"==typeof e?{baseUrl:t}:{...e,baseUrl:t}}},58256:(e,t,r)=>{r.d(t,{q:()=>s});var n=r(74144),o=r(10618),i=function(){function e(t,r){void 0===r&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(r,t)},e.now=o.U.now,e}(),s=function(e){function t(t,r){void 0===r&&(r=i.now);var n=e.call(this,t,r)||this;return n.actions=[],n._active=!1,n}return(0,n.C6)(t,e),t.prototype.flush=function(e){var t,r=this.actions;if(this._active)return void r.push(e);this._active=!0;do if(t=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,t){for(;e=r.shift();)e.unsubscribe();throw t}},t}(i)},61775:(e,t,r)=>{r.d(t,{o:()=>n});function n(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}},61844:(e,t,r)=>{r.d(t,{F:()=>o,m:()=>i});var n=r(81322);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i(e)}function i(e){return 0===e.length?n.D:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}}},62158:(e,t,r)=>{r.d(t,{O:()=>a});var n=r(86466),o=r(95194),i=new(r(58256)).q(o.R),s=r(18869);function a(e,t,r){void 0===e&&(e=0),void 0===r&&(r=i);var o=-1;return null!=t&&((0,s.m)(t)?r=t:o=t),new n.c(function(t){var n,i=(n=e)instanceof Date&&!isNaN(n)?e-r.now():e;i<0&&(i=0);var s=0;return r.schedule(function(){t.closed||(t.next(s++),0<=o?this.schedule(void 0,o):t.complete())},i)})}},67522:(e,t,r)=>{r.d(t,{of:()=>i});var n=r(41677),o=r(33716);function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=(0,n.lI)(e);return(0,o.H)(e,r)}},68861:(e,t,r)=>{r.d(t,{B:()=>c});var n=r(74144),o=r(86466),i=r(90962),s=(0,r(39218).L)(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),a=r(61775),u=r(19945),c=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return(0,n.C6)(t,e),t.prototype.lift=function(e){var t=new l(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new s},t.prototype.next=function(e){var t=this;(0,u.Y)(function(){var r,o;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=(0,n.Ju)(t.currentObservers),s=i.next();!s.done;s=i.next())s.value.next(e)}catch(e){r={error:e}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}}})},t.prototype.error=function(e){var t=this;(0,u.Y)(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var r=t.observers;r.length;)r.shift().error(e)}})},t.prototype.complete=function(){var e=this;(0,u.Y)(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null==(e=this.observers)?void 0:e.length)>0}
4,enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,n=this.isStopped,o=this.observers;return r||n?i.Kn:(this.currentObservers=null,o.push(e),new i.yU(function(){t.currentObservers=null,(0,a.o)(o,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,n=this.isStopped;t?e.error(r):n&&e.complete()},t.prototype.asObservable=function(){var e=new o.c;return e.source=this,e},t.create=function(e,t){return new l(e,t)},t}(o.c),l=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return(0,n.C6)(t,e),t.prototype.next=function(e){var t,r;null==(r=null==(t=this.destination)?void 0:t.next)||r.call(t,e)},t.prototype.error=function(e){var t,r;null==(r=null==(t=this.destination)?void 0:t.error)||r.call(t,e)},t.prototype.complete=function(){var e,t;null==(t=null==(e=this.destination)?void 0:e.complete)||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!=(r=null==(t=this.source)?void 0:t.subscribe(e))?r:i.Kn},t}(c)},70563:(e,t,r)=>{function n(e){return"https://www.sanity.io/help/"+e}r.d(t,{_:()=>c,a:()=>I,b:()=>d,c:()=>x,d:()=>y,f:()=>l,g:()=>a,h:()=>b,i:()=>E,l:()=>s,m:()=>v,n:()=>N,o:()=>_,p:()=>f,r:()=>j,s:()=>C,t:()=>O,u:()=>p,v:()=>h,y:()=>u});let o=["image","file"],i=["before","after","replace"],s=e=>{if(!/^(~[a-z0-9]{1}[-\w]{0,63}|[a-z0-9]{1}[-\w]{0,63})$/.test(e))throw Error("Datasets can only contain lowercase characters, numbers, underscores and dashes, and start with tilde, and be maximum 64 characters")},a=e=>{if(-1===o.indexOf(e))throw Error(`Invalid asset type: ${e}. Must be one of ${o.join(", ")}`)},u=(e,t)=>{if("object"!=typeof t||!t||Array.isArray(t))throw Error(`${e}() takes an object of properties`)},c=(e,t)=>{if("string"!=typeof t||!/^[a-z0-9_][a-z0-9_.-]{0,127}$/i.test(t)||t.includes(".."))throw Error(`${e}(): "${t}" is not a valid document ID`)},l=(e,t)=>{if(!t._id)throw Error(`${e}() requires that the document contains an ID ("_id" property)`);c(e,t._id)},f=(e,t)=>{if(!t._type)throw Error(`\`${e}()\` requires that the document contains a type (\`_type\` property)`);var r=t._type;if("string"!=typeof r)throw Error(`\`${e}()\`: \`${r}\` is not a valid document type`)},d=(e,t)=>{if(t._id&&t._id!==e)throw Error(`The provided document ID (\`${t._id}\`) does not match the generated version ID (\`${e}\`)`)},h=(e,t,r)=>{let n="insert(at, selector, items)";if(-1===i.indexOf(e)){let e=i.map(e=>`"${e}"`).join(", ");throw Error(`${n} takes an "at"-argument which is one of: ${e}`)}if("string"!=typeof t)throw Error(`${n} takes a "selector"-argument which must be a string`);if(!Array.isArray(r))throw Error(`${n} takes an "items"-argument which must be an array`)},p=e=>{if(e.dataset)return e.dataset;let t=e.resource;if(t&&"dataset"===t.type){let e=t.id.split(".");if(2!==e.length)throw Error('Dataset resource ID must be in the format "project.dataset"');return e[1]}throw Error("`dataset` must be provided to perform queries")},y=e=>{if("string"!=typeof e||!/^[a-z0-9._-]{1,75}$/i.test(e))throw Error("Tag can only contain alphanumeric characters, underscores, dashes and dots, and be between one and 75 characters long.");return e},v=e=>{let t=e.resource;if(!t)throw Error("`resource` must be provided to perform resource queries");let{type:r,id:n}=t;switch(r){case"dataset":if(2!==n.split(".").length)throw Error('Dataset resource ID must be in the format "project.dataset"');return;case"dashboard":case"knowledge-base":case"media-library":case"canvas":return;default:throw Error(`Unsupported resource type: ${r.toString()}`)}},b=(e,t)=>{if(t.resource)throw Error(`\`${e}\` does not support resource-based operations`)},m=e=>{var t;let r,n;return t=(...t)=>console.warn(e.join(" "),...t),r=!1,(...e)=>(r||(n=t(...e),r=!0),n)},g=m(["Because you set `withCredentials` to true, we will override your `useCdn`","setting to be false since (cookie-based) credentials are never set on the CDN"]),w=m(["Since you haven't set a value for `useCdn`, we will deliver content using our","global, edge-cached API-CDN. If you wish to have content delivered faster, set","`useCdn: false` to use the Live API. Note: You may incur higher costs using the live API."]),E=m(["The Sanity client is configured with the `perspective` set to `drafts` or `previewDrafts`, which doesn't support the API-CDN.","The Live API will be used instead. Set `useCdn: false` in your configuration to hide this warning."]),x=m(["The `previewDrafts` perspective has been renamed to  `drafts` and will be removed in a future API version"]),T=m(["You have configured Sanity client to use a token in the browser. This may cause unintentional security issues.",`See ${n("js-client-browser-token")} for more information and how to hide this warning.`]),S=m(["You have configured Sanity client to use a token, but also provided `withCredentials: true`.","This is no longer supported - only token will be used - remove `withCredentials: true`."]),$=m(["Using the Sanity client without specifying an API version is deprecated.",`See ${n("js-client-api-version")}`]),C=m(["The default export of @sanity/client has been deprecated. Use the named export `createClient` instead."]),I=m(["You have called `createVersion()` with a defined `document`.","If you are creating a version of a document that already exists, prefer providing `baseId` and `releaseId` instead."]),_=m(["The `uri` request option has been renamed to `url`.","Please update your co
4de to use `url` instead. Support for `uri` will be removed in a future version."]),A=m(["The `~experimental_resource` configuration property has been renamed to `resource`.","Please update your client configuration to use `resource` instead. Support for `~experimental_resource` will be removed in a future version."]),O={apiHost:"https://api.sanity.io",apiVersion:"1",useProjectHostname:!0,stega:{enabled:!1}},P=["localhost","127.0.0.1","0.0.0.0"];function j(e){if(Array.isArray(e)&&e.length>1&&e.includes("raw"))throw TypeError('Invalid API perspective value: "raw". The raw-perspective can not be combined with other perspectives')}let N=(e,t)=>{let r,o={...t,...e,stega:{..."boolean"==typeof t.stega?{enabled:t.stega}:t.stega||O.stega,..."boolean"==typeof e.stega?{enabled:e.stega}:e.stega||{}}};o.apiVersion||$();let i={...O,...o,apiHost:o.apiHost??O.apiHost};i["~experimental_resource"]&&!i.resource&&(A(),i.resource=i["~experimental_resource"]);let a=i.resource,u=i.useProjectHostname&&!a;if(typeof Promise>"u"){let e=n("js-client-promise-polyfill");throw Error(`No native Promise-implementation found, polyfill needed - see ${e}`)}if(u&&!i.projectId)throw Error("Configuration must contain `projectId`");if(a&&v(i),void 0!==i.perspective&&j(i.perspective),"encodeSourceMap"in i)throw Error("It looks like you're using options meant for '@sanity/preview-kit/client'. 'encodeSourceMap' is not supported in '@sanity/client'. Did you mean 'stega.enabled'?");if("encodeSourceMapAtPath"in i)throw Error("It looks like you're using options meant for '@sanity/preview-kit/client'. 'encodeSourceMapAtPath' is not supported in '@sanity/client'. Did you mean 'stega.filter'?");if("boolean"!=typeof i.stega.enabled)throw Error(`stega.enabled must be a boolean, received ${i.stega.enabled}`);if(i.stega.enabled&&void 0===i.stega.studioUrl)throw Error("stega.studioUrl must be defined when stega.enabled is true");if(i.stega.enabled&&"string"!=typeof i.stega.studioUrl&&"function"!=typeof i.stega.studioUrl)throw Error(`stega.studioUrl must be a string or a function, received ${i.stega.studioUrl}`);let c="u">typeof window&&window.location&&window.location.hostname,l=c&&(r=window.location.hostname,-1!==P.indexOf(r)),f=!!i.token;i.withCredentials&&f&&(S(),i.withCredentials=!1),c&&l&&f&&!0!==i.ignoreBrowserTokenWarning?T():void 0===i.useCdn&&w(),u&&(e=>{if(!/^[-a-z0-9]+$/i.test(e))throw Error("`projectId` can only contain only a-z, 0-9 and dashes")})(i.projectId),i.dataset&&s(i.dataset),"requestTagPrefix"in i&&(i.requestTagPrefix=i.requestTagPrefix?y(i.requestTagPrefix).replace(/\.+$/,""):void 0),i.apiVersion=`${i.apiVersion}`.replace(/^v/,""),i.isDefaultApi=i.apiHost===O.apiHost,!0===i.useCdn&&i.withCredentials&&g(),i.useCdn=!1!==i.useCdn&&!i.withCredentials,function(e){if("1"===e||"X"===e)return;let t=new Date(e);if(!(/^\d{4}-\d{2}-\d{2}$/.test(e)&&t instanceof Date&&t.getTime()>0))throw Error("Invalid API version string, expected `1` or date in format `YYYY-MM-DD`")}(i.apiVersion);let d=i.apiHost.split("://",2),h=d[0],p=d[1],b=i.isDefaultApi?"apicdn.sanity.io":p;return u?(i.url=`${h}://${i.projectId}.${p}/v${i.apiVersion}`,i.cdnUrl=`${h}://${i.projectId}.${b}/v${i.apiVersion}
4`):(i.url=`${i.apiHost}/v${i.apiVersion}`,i.cdnUrl=i.url),i}},72262:(e,t,r)=>{r.d(t,{X:()=>n});var n=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},72501:(e,t,r)=>{r.d(t,{N:()=>o});var n=r(44472);function o(e){return function(t){if((0,n.T)(null==t?void 0:t.lift))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw TypeError("Unable to lift unknown Observable type")}}},74144:(e,t,r)=>{r.d(t,{AQ:()=>f,C6:()=>o,Ju:()=>a,N3:()=>l,YH:()=>s,fX:()=>c,sH:()=>i,xN:()=>d,zs:()=>u});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function i(e,t,r,n){return new(r||(r=Promise))(function(o,i){function s(e){try{u(n.next(e))}catch(e){i(e)}}function a(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(s,a)}u((n=n.apply(e,t||[])).next())})}function s(e,t){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(u){var c=[a,u];if(r)throw TypeError("Generator is already executing.");for(;s&&(s=0,c[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&c[0]?n.return:c[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,c[1])).done)return o;switch(n=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,n=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(6===c[0]&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=t.call(e,i)}catch(e){c=[6,e],n=0}finally{r=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}function a(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function c(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function l(e){return this instanceof l?(this.v=e,this):new l(e)}function f(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),i=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",function(e){return function(t){return Promise.resolve(t).then(e,c)}}),n[Symbol.asyncIterator]=function(){return this},n;function s(e,t){o[e]&&(n[e]=function(t){return new Promise(function(r,n){i.push([e,t,r,n])>1||a(e,t)})},t&&(n[e]=t(n[e])))}function a(e,t){try{var r;(r=o[e](t)).value instanceof l?Promise.resolve(r.value.v).then(u,c):f(i[0][2],r)}catch(e){f(i[0][3],e)}}function u(e){a("next",e)}function c(e){a("throw",e)}function f(e,t){e(t),i.shift(),i.length&&a(i[0][0],i[0][1])}}function d(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=a(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,o){var i,s,a;i=n,s=o,a=(t=e[r](t)).done,Promise.resolve(t.value).then(function(e){i({value:e,done:a})},s)})}}}"function"==typeof SuppressedError&&SuppressedError},75105:(e,t,r)=>{r.d(t,{$:()=>i});var n=r(86466),o=r(44472);function i(e,t){var r=(0,o.T)(e)?e:function(){return e}
4,i=function(e){return e.error(r())};return new n.c(t?function(e){return t.schedule(i,0,e)}:i)}},78865:(e,t,r)=>{r.d(t,{y:()=>o});var n=r(44472);function o(e){return(0,n.T)(null==e?void 0:e.then)}},81322:(e,t,r)=>{r.d(t,{D:()=>n});function n(e){return e}},82129:(e,t,r)=>{r.d(t,{x:()=>s});var n=r(86566),o=r(41677),i=r(33716);function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,n.U)(1)((0,i.H)(e,(0,o.lI)(e)))}},84034:(e,t,r)=>{let n;r.d(t,{a:()=>U,i:()=>H,l:()=>D,n:()=>F,o:()=>R,r:()=>N,s:()=>j,t:()=>q,u:()=>P});var o=r(10067),i=r(56188),s=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 u(e,t,r,o,i,s){let a,u;return{status:e,statusText:t,headers:r,url:i,redirected:s,body:o,text:()=>a??=(n??=new TextDecoder).decode(o),json(){return(u??={value:JSON.parse(this.text())}).value},bytes:()=>o}}function c(e){if(!(void 0===e||!1===e||e<=0))return e}function l(e){"object"==typeof e&&e&&"unref"in e&&"function"==typeof e.unref&&e.unref()}async function f(e,t){if(void 0===t)return e;try{return await Promise.race([e,t])}catch(t){throw e.catch(()=>{}),t}}function d(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 h(e,t,r,n){let o=new Uint8Array(await e.arrayBuffer()),i=u(e.status,e.statusText,e.headers,o,e.url,e.redirected);if(t&&e.status>=400){let t=new s({url:r,method:n,status:e.status,statusText:e.statusText,headers:e.headers,body:i.text(),response:i});throw"captureStackTrace"in Error&&Error.captureStackTrace(t,h),t}return i}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 y(e,t){let r=e;for(let e of t)e.beforeRequest&&(r=e.beforeRequest(r));return r}function v(e,t,r){let n=e;for(let e of r)e.afterResponse&&(n=e.afterResponse(n,t));return n}function b(e,t){return{status:e.status,statusText:e.statusText,headers:e.headers,url:e.url,redirected:e.redirected,body:t}}function m(e,t){Object.defineProperty(e,"name",{value:t})}function g(e){if(!w(e)||"HttpError"!==e.name||"string"!=typeof e.message||"string"!=typeof e.url||"string"!=typeof e.method||"number"!=typeof e.status||"string"!=typeof e.statusText||!E(e.headers)||!("body"in e)||!w(e.response))return!1;let t=e.response;return t.status===e.status&&"string"==typeof t.statusText&&E(t.headers)&&"body"in t&&(void 0===t.url||"string"==typeof t.url)&&(void 0===t.redirected||"boolean"==typeof t.redirected)}function w(e){return"object"==typeof e&&!!e}function E(e){return w(e)&&"function"==typeof e.get}function x(e){return 100*2**e+100*Math.random()}function T(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=$(e)??$(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)}let S=new Set(["ECONNRESET","ECONNREFUSED","ETIMEDOUT","EPIPE","ENOTFOUND","ENETDOWN","EHOSTUNREACH","EAI_AGAIN","UND_ERR_CONNECT_TIMEOUT","UND_ERR_SOCKET"]);function $(e){if(e instanceof Error)return"code"in e&&"string"==typeof e.code?e.code:void 0}var C=r(86466),I=r(33716);let _=/\r\n|[\n\r\u2028\u2029]/;function A(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 O(e){return(O="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 P(e,t,r){var n;return(n=function(e,t){if("object"!=O(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=O(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==O(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j(e,t,r){var n;let o;return{statusCode:e.status,statusMessage:e.statusText||null,headers:(n=e.headers,o={}
4,n.forEach((e,t)=>{o[t]=e}),o),body:e.body,url:e.url||t,method:r}}var N=class extends Error{constructor(e,t){let r=k(e,t);super(r.message),P(this,"response",void 0),P(this,"statusCode",400),P(this,"responseBody",void 0),P(this,"traceId",void 0),P(this,"details",void 0),Object.assign(this,r)}},U=class extends Error{constructor(e){let t=k(e);super(t.message),P(this,"response",void 0),P(this,"statusCode",500),P(this,"responseBody",void 0),P(this,"traceId",void 0),P(this,"details",void 0),Object.assign(this,t)}};function k(e,t){var r,n,i;let s=e.body,a={response:e,statusCode:e.statusCode,responseBody:(r=s,-1===(e.headers["content-type"]||"").toLowerCase().indexOf("application/json")?r:JSON.stringify(r,null,2)),traceId:function(e){let t=e?.headers?.traceparent;if(t)return t.split("-")[1]}(e),message:"",details:void 0};if(!(0,o.t)(s))return a.message=`${L(e,s)}${M(a.traceId)}`,a;let u=s.error;if("string"==typeof u&&"string"==typeof s.message)return a.message=`${u} - ${s.message}${M(a.traceId)}`,a;if("object"!=typeof u||!u)return a.message="string"==typeof u?`${u}${M(a.traceId)}`:"string"==typeof s.message?`${s.message}${M(a.traceId)}`:`${L(e,s)}${M(a.traceId)}`,a;if("type"in(n=u)&&"mutationError"===n.type&&"description"in n&&"string"==typeof n.description||"type"in(i=u)&&"actionError"===i.type&&"description"in i&&"string"==typeof i.description){let e=u.items||[],t=e.slice(0,5).map(e=>e.error?.description).filter(Boolean),r=t.length?`:
5- ${t.join("\n- ")}`:"";return e.length>5&&(r+=`
6...and ${e.length-5} more`),a.message=`${u.description}${M(a.traceId)}${r}`,a.details=s.error,a}return D(u)?(a.message=R(u,t,a.traceId),a.details=s.error):"description"in u&&"string"==typeof u.description?(a.message=`${u.description}${M(a.traceId)}`,a.details=u):a.message=`${L(e,s)}${M(a.traceId)}`,a}function D(e){return(0,o.t)(e)&&"queryParseError"===e.type&&"string"==typeof e.query&&"number"==typeof e.start&&"number"==typeof e.end}function R(e,t,r){let{query:n,start:o,end:i,description:s}=e,a=r?`
7(traceId: ${r})`:"";if(!n||void 0===o)return`GROQ query parse error: ${s}${a}`;let u=t?`
8
9Tag: ${t}`:"";return`GROQ query parse error:
10${function(e,t,r){let n=e.split(_),{start:o,end:i,markerLines:s}=function(e,t){let r={...e.start},n={...r,...e.end},o=r.line??-1,i=r.column??0,s=n.line,a=n.column,u=Math.max(o-3,0),c=Math.min(t.length,s+3);-1===o&&(u=0),-1===s&&(c=t.length);let l=s-o,f={};if(l)for(let e=0;e<=l;e++){let r=e+o;f[r]=!i||(0===e?[i,t[r-1].length-i+1]:e===l?[0,a]:[0,t[r-e].length])}else f[o]=i===a?!i||[i,0]:[i,a-i];return{start:u,end:c,markerLines:f}}({start:A(t.start,n),end:t.end?A(t.end,n):void 0},n),a=`${i}`.length;return e.split(_,i).slice(o,i).map((e,t)=>{let n=o+1+t,i=` ${` ${n}`.slice(-a)} |`,u=s[n],c=!s[n+1];if(!u)return` ${i}${e.length>0?` ${e}`:""}`;let l="";if(Array.isArray(u)){let t=e.slice(0,Math.max(u[0]-1,0)).replace(/[^\t]/g," "),n=u[1]||1;l=["\n ",i.replace(/\d/g," ")," ",t,"^".repeat(n)].join(""),c&&r&&(l+=" "+r)}return[">",i,e.length>0?` ${e}`:"",l].join("")}).join("\n")}(n,{start:o,end:i},s)}${u}${a}`}function L(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 M(e){return e?` (traceId: ${e})`:""}var H=class extends Error{constructor({projectId:e,credentials:t}={}){if(super("CorsOriginError"),P(this,"projectId",void 0),P(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."}};function q(e,t={}){var r,n;let o,s,g,w,E,S=function(e){let t=e?.fetch,r=e?.base,n=e?.httpErrors,o=e?.timeout,s=e?.credentials,g=e?.middleware??[],w=[],E=[];for(let e of g)"object"==typeof e?w.push(e):E.push(e);async function x(e,t){var r,n,u;
10let f,d,{totalMs:h,headersMs:p,attachSignal:y}="number"==typeof(r=void 0===t.timeout?o:t.timeout)||!1===r?{totalMs:c(r),headersMs:void 0,attachSignal:!0}:{totalMs:r?.total===void 0?12e4:c(r.total),headersMs:c(r?.headers),attachSignal:r?.signal!==!1},{url:v,init:b,clearTotalTimer:m}=function(e,t,r){let n=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 o=r.toString();if(o){let e=n.indexOf("#"),t=-1===e?n:n.slice(0,e),r=-1===e?"":n.slice(e);n=`${t}${t.includes("?")?"&":"?"}${o}${r}`}}let o=new Headers(e.headers),s={};if(e.method&&(s.method=e.method),e.method||void 0===e.body||null===e.body||(s.method="POST"),void 0!==e.body&&null!==e.body)if("string"==typeof e.body)s.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))s.body=JSON.stringify(e.body),o.has("content-type")||o.set("content-type","application/json");else{var a;if((a=e.body)instanceof Blob||a instanceof ArrayBuffer||a instanceof ReadableStream||ArrayBuffer.isView(a)||a instanceof FormData||a instanceof URLSearchParams)s.body=e.body;else throw TypeError(`Unsupported body type: ${typeof e.body}`)}s.headers=o;let u=e.signal,c;if(void 0!==t){let e=new AbortController,r=setTimeout(()=>e.abort(new DOMException("The operation was aborted due to timeout","TimeoutError")),t);l(r),c=()=>clearTimeout(r),u=u?(0,i.t)([u,e.signal]):e.signal}u&&(s.signal=u);let f=e.credentials??r;return void 0!==f&&(s.credentials=f),e.redirect&&(s.redirect=e.redirect),{url:n,init:s,clearTotalTimer:c}}(t,y?h:void 0,s),g=b.method??"GET",w=y||void 0===h?void 0:(n=h,u=new DOMException("The operation was aborted due to timeout","TimeoutError"),(d=new Promise((e,t)=>{l(f=setTimeout(()=>t(u),n))})).catch(()=>{}),{deadline:d,clear:()=>clearTimeout(f)}),E=w?.deadline,x=()=>{m?.(),w?.clear()};if(void 0===p&&void 0===E)try{return{response:await e(v,b),url:v,method:g,totalDeadline:E,clearDeadline:x}}catch(e){throw x(),e}let T=void 0===E?[]:[E],S,$;if(void 0!==p){let e=new a({url:v,method:g,timeoutMs:p,phase:"headers"});$=y?new AbortController:void 0,T.push(new Promise((t,r)=>{S=setTimeout(()=>{r(e),$?.abort(e)},p)}))}let C=$&&b.signal?(0,i.t)([b.signal,$.signal]):$?.signal??b.signal,I;try{return I=Promise.resolve(e(v,$?{...b,signal:C}:b)),{response:await Promise.race([I,...T]),url:v,method:g,totalDeadline:E,clearDeadline:x}}catch(e){throw I?.then(e=>e.body?.cancel()).catch(()=>{}),x(),e}finally{clearTimeout(S)}}async function T(e){let{response:r,url:o,method:i,totalDeadline:s,clearDeadline:a}=await x(e.fetch??t??globalThis.fetch,e),u=e.httpErrors??n??!0;try{return await f(h(r,u,o,i),s)}finally{a()}}let S=p(T,E);async function $(e){let t=y(e,w),r=v(await S(t),t,w);try{return b(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 C(e){let t=y(e,w),r=v(await S(t),t,w);return b(r,r.text())}async function I(e){let r=y(e,w),o;async function i(e){let{response:r,url:i,method:s,totalDeadline:a,clearDeadline:c}=await x(e.fetch??t??globalThis.fetch,e),l=e.httpErrors??n??!0;if(l&&r.status>=400)try{return await f(h(r,l,i,s),a)}finally{c()}return void 0!==a&&c(),o=r,u(r.status,r.statusText,r.headers,new Uint8Array,r.url,r.redirected)}if(m(i,"getItStreamed"),await p(i,E)(r),!o)throw Error("Stream response was not captured");let s=o.body??new ReadableStream({start(e){e.close()}});return b(o,s)}async function _(t){var n,o;let i,s,a="string"==typeof t?{url:t}:t,u=a.url;r&&!/^https?:\/\//.test(u)&&(u=r.replace(/\/$/,"")+"/"+u.replace(/^\//,""));let c={...a,url:u,headers:(n=e?.headers,o=a.headers,i=new Headers(n?d(n):void 0),o&&new Headers(d(o)).forEach((e,t)=>{i.set(t,e)}),s={},i.forEach((e,t)=>{s[t]=e}),s)};switch(c.as??e?.as){case"json":return await $(c);case"text":return await C(c);case"stream":return await I(c);default:{let e=y(c,w);return v(await S(e),e,w)}}}return m(x,"performFetch"),m(T,"getItBuffered"),m(I,"requestStream"),m($,"requestJson"),m(C,"requestText"),m(_,"request"),_}({...e.fetch?{fetch:e.fetch}:{},headers:e.headers,httpErrors:!0,middleware:[(r={shouldRetry:Y,maxRetries:t.maxRetries??5,...t.retryDelay?{retryDelay:t.retryDelay}:{}},g=r?.maxRetries??5,w=r?.retryDelay??x,E=r?.shouldRetry??T,async function(e,t){let r="number"==typeof e.maxRetries?e.maxRetries:g,n;for(let o=0;o<=r;o++)try{return await t(e)}catch(t){if(n=t,o>=r||!E(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})})}(w(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})})},(n=t,o={},s=e=>void 0!==n.ignoreWarnings&&(Array.isArray(n.ignoreWarnings)?n.ignoreWarnings:[n.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||o[e]||s(e)||(o[e]=!0,console.warn(e));return e}})]}),$=e=>{if("string"!=typeof e.url)throw TypeError("Request options must include a `url`");return z(S,e)};return{promise:$,observable:e=>new C.c(t=>{let r=new AbortController,n=e.signal,o=n?(0,i.t)([n,r.signal]):r.signal,s=(0,I.H)($({...e,signal:o})).subscribe(t);return()=>{s.unsubscribe(),r.abort()}})}}async function z(e,t){var r,n;let o,i=t.url,s=(t.method??"GET").toUpperCase(),a;try{a=await e(t)}catch(e){if(g(e)){let r=F("string"==typeof e.body?e.body:"",e.headers),n=j({status:e.status,statusText:e.statusText,headers:e.headers,body:r,url:e.response.url??e.url},i,s),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 U(n):new N(n,o)}throw e}return{type:"response",body:F((r=a).text(),r.headers),statusCode:a.status,statusMessage:a.statusText||null,headers:(n=a.headers,o={}
10,n.forEach((e,t)=>{o[t]=e}),o),url:a.url||i,method:s}}function F(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 Y(e,t,r){if(g(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 T(e,t,r)}},84054:(e,t,r)=>{r.d(t,{W:()=>function e(t){return(0,i.N)(function(r,i){var s,a=null,u=!1;a=r.subscribe((0,o._)(i,void 0,void 0,function(o){s=(0,n.Tg)(t(o,e(t)(r))),a?(a.unsubscribe(),a=null,s.subscribe(i)):u=!0})),u&&(a.unsubscribe(),a=null,s.subscribe(i))})}});var n=r(36613),o=r(55311),i=r(72501)},84969:(e,t,r)=>{var n=r(94933);r.o(n,"ServerInsertedHTMLContext")&&r.d(t,{ServerInsertedHTMLContext:function(){return n.ServerInsertedHTMLContext}}),r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},86466:(e,t,r)=>{r.d(t,{c:()=>l});var n=r(57110),o=r(90962),i=r(49469),s=r(61844),a=r(17689),u=r(44472),c=r(19945),l=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var i=this,s=!function(e){return e&&e instanceof n.vU||e&&(0,u.T)(e.next)&&(0,u.T)(e.error)&&(0,u.T)(e.complete)&&(0,o.Uv)(e)}(e)?new n.Ms(e,t,r):e;return(0,c.Y)(function(){var e=i.operator,t=i.source;s.add(e?e.call(s,t):t?i._subscribe(s):i._trySubscribe(s))}),s},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=f(t))(function(t,o){var i=new n.Ms({next:function(t){try{e(t)}catch(e){o(e),i.unsubscribe()}},error:o,complete:t});r.subscribe(i)})},e.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},e.prototype[i.s]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0,s.m)(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=f(e))(function(e,r){var n;t.subscribe(function(e){return n=e},function(e){return r(e)},function(){return e(n)})})},e.create=function(t){return new e(t)},e}();function f(e){var t;return null!=(t=null!=e?e:a.$.Promise)?t:Promise}},86566:(e,t,r)=>{r.d(t,{U:()=>i});var n=r(10297),o=r(81322);function i(e){return void 0===e&&(e=1/0),(0,n.Z)(o.D,e)}},88719:(e,t,r)=>{r.d(t,{C:()=>i,U:()=>s});var n=r(74144),o=r(44472);function i(e){return(0,n.AQ)(this,arguments,function(){var t,r,o;return(0,n.YH)(this,function(i){switch(i.label){case 0:t=e.getReader(),i.label=1;case 1:i.trys.push([1,,9,10]),i.label=2;case 2:return[4,(0,n.N3)(t.read())];case 3:if(o=(r=i.sent()).value,!r.done)return[3,5];return[4,(0,n.N3)(void 0)];case 4:return[2,i.sent()];case 5:return[4,(0,n.N3)(o)];case 6:return[4,i.sent()];case 7:return i.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function s(e){return(0,o.T)(null==e?void 0:e.getReader)}},90962:(e,t,r)=>{r.d(t,{Kn:()=>u,yU:()=>a,Uv:()=>c});var n=r(74144),o=r(44472),i=(0,r(39218).L)(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=t}}),s=r(61775),a=function(){var e;function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e,t,r,s,a,u=this._parentage;if(u)if(this._parentage=null,Array.isArray(u))try{for(var c=(0,n.Ju)(u),f=c.next();!f.done;f=c.next())f.value.remove(this)}catch(t){e={error:t}}finally{try{f&&!f.done&&(t=c.return)&&t.call(c)}finally{if(e)throw e.error}}else u.remove(this);var d=this.initialTeardown;if((0,o.T)(d))try{d()}catch(e){a=e instanceof i?e.errors:[e]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var p=(0,n.Ju)(h),y=p.next();!y.done;y=p.next()){var v=y.value;try{l(v)}catch(e){a=null!=a?a:[],e instanceof i?a=(0,n.fX)((0,n.fX)([],(0,n.zs)(a)),(0,n.zs)(e.errors)):a.push(e)}}}catch(e){r={error:e}}finally{try{y&&!y.done&&(s=p.return)&&s.call(p)}finally{if(r)throw r.error}}}if(a)throw new i(a)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)l(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(r=this._finalizers)?r:[]).push(e)}},t.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},t.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},t.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&(0,s.o)(t,e)},t.prototype.remove=function(e){var r=this._finalizers;r&&(0,s.o)(r,e),e instanceof t&&e._removeParent(this)},(e=new t).closed=!0,t.EMPTY=e,t}(),u=a.EMPTY;function c(e){return e instanceof a||e&&"closed"in e&&(0,o.T)(e.remove)&&(0,o.T)(e.add)&&(0,o.T)(e.unsubscribe)}function l(e){(0,o.T)(e)?e():e.unsubscribe()}},93274:(e,t,r)=>{r.d(t,{l:()=>n});var n="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},93642:(e,t,r)=>{r.d(t,{M:()=>a});
10var n=r(44472),o=r(72501),i=r(55311),s=r(81322);function a(e,t,r){var a=(0,n.T)(e)||t||r?{next:e,error:t,complete:r}:e;return a?(0,o.N)(function(e,t){null==(r=a.subscribe)||r.call(a);var r,n=!0;e.subscribe((0,i._)(t,function(e){var r;null==(r=a.next)||r.call(a,e),t.next(e)},function(){var e;n=!1,null==(e=a.complete)||e.call(a),t.complete()},function(e){var r;n=!1,null==(r=a.error)||r.call(a,e),t.error(e)},function(){var e,t;n&&(null==(e=a.unsubscribe)||e.call(a)),null==(t=a.finalize)||t.call(a)}))}):s.D}},94329:(e,t,r)=>{r.d(t,{T:()=>i});var n=r(72501),o=r(55311);function i(e,t){return(0,n.N)(function(r,n){var i=0;r.subscribe((0,o._)(n,function(r){n.next(e.call(t,r,i++))}))})}},95194:(e,t,r)=>{r.d(t,{R:()=>a});var n=r(74144),o=function(e){function t(t,r){return e.call(this)||this}return(0,n.C6)(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(r(90962).yU),i={setInterval:function(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var s=i.delegate;return(null==s?void 0:s.setInterval)?s.setInterval.apply(s,(0,n.fX)([e,t],(0,n.zs)(r))):setInterval.apply(void 0,(0,n.fX)([e,t],(0,n.zs)(r)))},clearInterval:function(e){var t=i.delegate;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},s=r(61775),a=function(e){function t(t,r){var n=e.call(this,t,r)||this;
10return n.scheduler=t,n.work=r,n.pending=!1,n}return(0,n.C6)(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r,n=this.id,o=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(o,n,t)),this.pending=!0,this.delay=t,this.id=null!=(r=this.id)?r:this.requestAsyncId(o,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),i.setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&i.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r,n=!1;try{this.work(e)}catch(e){n=!0,r=e||Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,r=this.scheduler,n=r.actions;this.work=this.state=this.scheduler=null,this.pending=!1,(0,s.o)(n,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(o)},95394:(e,t,r)=>{r.d(t,{N:()=>n});function n(e,t,r,n,o){void 0===n&&(n=0),void 0===o&&(o=!1);var i=t.schedule(function(){r(),o?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!o)return i}},96364:(e,t,r)=>{r.d(t,{l:()=>n});function n(){}},99241:(e,t,r)=>{r.d(t,{f:()=>o});var n=r(74144),o={setTimeout:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var s=o.delegate;return(null==s?void 0:s.setTimeout)?s.setTimeout.apply(s,(0,n.fX)([e,t],(0,n.zs)(r))):setTimeout.apply(void 0,(0,n.fX)([e,t],(0,n.zs)(r)))},clearTimeout:function(e){var t=o.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0}}}]);

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.