PageSourceSearch

https://www.wendyandrade.co/_next/static/chunks/151-95a9d2a8b0822a02.js

js wendyandrade.co collected 2026-10-06 13:17:43 UTC 205,663 bytes, 17 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[151],{90:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let n=r(8462)._(r(1464)),i=r(3422),o=n.default.createContext(i.imageConfigDefault)},749:(e,t)=>{"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,o=u(e),s=o[0],a=o[1],l=new i((s+a)*3/4-a),c=0,f=a>0?s-4:s;for(r=0;r<f;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===a&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,l[c++]=255&t),1===a&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],s=0,a=n-i;s<a;s+=16383)o.push(function(e,t,n){for(var i,o=[],s=t;s<n;s+=3)i=(e[s]<<16&0xff0000)+(e[s+1]<<8&65280)+(255&e[s+2]),o.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(e,s,s+16383>a?a:s+16383));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&o.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=o.length;s<a;++s)r[s]=o[s],n[o.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},2189:(e,t,r)=>{"use strict";function n(e){return e}r.d(t,{A:()=>n})},2322:(e,t)=>{"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:o,objectFit:s}=e,a=n?40*n:t,u=i?40*i:r,l=a&&u?"viewBox='0 0 "+a+" "+u+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+l+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(l?"none":"contain"===s?"xMidYMid":"cover"===s?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},2623:(e,t,r)=>{"use strict";r.d(t,{u:()=>t2});var n,i,o,s,a,u,l,c,f,h,p,d,g,y=function(){return n||"undefined"!=typeof window&&(n=window.gsap)&&n.registerPlugin&&n},m=1,v=[],b=[],w=[],x=Date.now,_=function(e,t){return t},E=function(){var e=f.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,b),n.push.apply(n,w),b=r,w=n,_=function(e,r){return t[e](r)}},C=function(e,t){return~w.indexOf(e)&&w[w.indexOf(e)+1][t]},O=function(e){return!!~h.indexOf(e)},I=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:!1!==n,capture:!!i})},A=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},R="scrollLeft",S="scrollTop",T=function(){return p&&p.isPressed||b.cache++},P=function(e,t){var r=function r(n){if(n||0===n){m&&(o.history.scrollRestoration="manual");var i=p&&p.isPressed;e(n=r.v=Math.round(n)||(p&&p.iOS?1:0)),r.cacheID=b.cache,i&&_("ss",n)}else(t||b.cache!==r.cacheID||_("ref"))&&(r.cacheID=b.cache,r.v=e());return r.v+r.offset};return r.offset=0,e&&r},k={s:R,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:P(function(e){return arguments.length?o.scrollTo(e,j.sc()):o.pageXOffset||s[R]||a[R]||u[R]||0})},j={s:S,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:k,sc:P(function(e){return arguments.length?o.scrollTo(k.sc(),e):o.pageYOffset||s[S]||a[S]||u[S]||0})},M=function(e,t){return(t&&t._ctx&&t._ctx.selector||n.utils.toArray)(e)[0]||("string"==typeof e&&!1!==n.config().nullTargetWarn?console.warn("Element not found:",e):null)},q=function(e,t){for(var r=t.length;r--;)if(t[r]===e||t[r].contains(e))return!0;return!1},$=function(e,t){var r=t.s,i=t.sc;O(e)&&(e=s.scrollingElement||a);var o=b.indexOf(e),u=i===j.sc?1:2;~o||(o=b.push(e)-1),b[o+u]||I(e,"scroll",T);var l=b[o+u],c=l||(b[o+u]=P(C(e,r),!0)||(O(e)?i:P(function(t){return arguments.length?e[r]=t:e[r]})));return c.target=e,l||(c.smooth="smooth"===n.getProperty(e,"scrollBehavior")),c},B=function(e,t,r){var n=e,i=e,o=x(),s=o,a=t||50,u=Math.max(500,3*a),l=function(e,t){var u=x();t||u-o>a?(i=n,n=e,s=o,o=u):r?n+=e:n=i+(e-i)/(u-s)*(o-s)};return{update:l,reset:function(){i=n=r?0:n,s=o=0},getVelocity:function(e){var t=s,a=i,c=x();return(e||0===e)&&e!==n&&l(e),o===s||c-s>u?0:(n+(r?a:-a))/((r?c:o)-t)*1e3}}},U=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},D=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},F=function(){(f=n.core.globals().ScrollTrigger)&&f.core&&E()},z=function(e){return n=e||y(),!i&&n&&"undefined"!=typeof document&&document.body&&(o=window,a=(s=document).documentElement,u=s.body,h=[o,s,a,u],n.utils.clamp,g=n.core.context||function(){},c="onpointerenter"in u?"pointer":"mouse",l=L.isTouch=o.matchMedia&&o.matchMedia("(hover: none), (pointer: coarse)").matches?1:2*("ontouchstart"in o||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0),d=L.eventTypes=("ontouchstart"in a?"touchstart,touchmove,touchcancel,touchend":!("onpointerdown"in a)?"mousedown,mousemove,mouseup,mouseup":"pointerdown,pointermove,pointercancel,pointerup").split(","),setTimeout(function(){return m=0},500),F(),i=1),i};
vendor: 2,573 bytes, line 1
1k.op=j,b.cache=0;var L=function(){var e;function t(e){this.init(e)}return t.prototype.init=function(e){i||z(n)||console.warn("Please gsap.registerPlugin(Observer)"),f||F();var t=e.tolerance,r=e.dragMinimum,h=e.type,y=e.target,m=e.lineHeight,b=e.debounce,w=e.preventDefault,_=e.onStop,E=e.onStopDelay,C=e.ignore,R=e.wheelSpeed,S=e.event,P=e.onDragStart,L=e.onDragEnd,N=e.onDrag,Y=e.onPress,V=e.onRelease,H=e.onRight,X=e.onLeft,W=e.onUp,G=e.onDown,J=e.onChangeX,Q=e.onChangeY,K=e.onChange,Z=e.onToggleX,ee=e.onToggleY,et=e.onHover,er=e.onHoverEnd,en=e.onMove,ei=e.ignoreCheck,eo=e.isNormalizer,es=e.onGestureStart,ea=e.onGestureEnd,eu=e.onWheel,el=e.onEnable,ec=e.onDisable,ef=e.onClick,eh=e.scrollSpeed,ep=e.capture,ed=e.allowClicks,eg=e.lockAxis,ey=e.onLockAxis;this.target=y=M(y)||a,this.vars=e,C&&(C=n.utils.toArray(C)),t=t||1e-9,r=r||0,R=R||1,eh=eh||1,h=h||"wheel,touch,pointer",b=!1!==b,m||(m=parseFloat(o.getComputedStyle(u).lineHeight)||22);var em,ev,eb,ew,ex,e_,eE,eC=this,eO=0,eI=0,eA=e.passive||!w&&!1!==e.passive,eR=$(y,k),eS=$(y,j),eT=eR(),eP=eS(),ek=~h.indexOf("touch")&&!~h.indexOf("pointer")&&"pointerdown"===d[0],ej=O(y),eM=y.ownerDocument||s,eq=[0,0,0],e$=[0,0,0],eB=0,eU=function(){return eB=x()},eD=function(e,t){return(eC.event=e)&&C&&q(e.target,C)||t&&ek&&"touch"!==e.pointerType||ei&&ei(e,t)},eF=function(){var e=eC.deltaX=D(eq),r=eC.deltaY=D(e$),n=Math.abs(e)>=t,i=Math.abs(r)>=t;K&&(n||i)&&K(eC,e,r,eq,e$),n&&(H&&eC.deltaX>0&&H(eC),X&&eC.deltaX<0&&X(eC),J&&J(eC),Z&&eC.deltaX<0!=eO<0&&Z(eC),eO=eC.deltaX,eq[0]=eq[1]=eq[2]=0),i&&(G&&eC.deltaY>0&&G(eC),W&&eC.deltaY<0&&W(eC),Q&&Q(eC),ee&&eC.deltaY<0!=eI<0&&ee(eC),eI=eC.deltaY,e$[0]=e$[1]=e$[2]=0),(ew||eb)&&(en&&en(eC),eb&&(P&&1===eb&&P(eC),N&&N(eC),eb=0),ew=!1),e_&&(e_=!1,1)&&ey&&ey(eC),ex&&(eu(eC),ex=!1),em=0},ez=function(e,t,r){eq[r]+=e,e$[r]+=t,eC._vx.update(e),eC._vy.update(t),b?em||(em=requestAnimationFrame(eF)):eF()},eL=function(e,t){eg&&!eE&&(eC.axis=eE=Math.abs(e)>Math.abs(t)?"x":"y",e_=!0),"y"!==eE&&(eq[2]+=e,eC._vx.update(e,!0)),"x"!==eE&&(e$[2]+=t,eC._vy.update(t,!0)),b?em||(em=requestAnimationFrame(eF)):eF()},eN=function(e){if(!eD(e,1)){var t=(e=U(e,w)).clientX,n=e.clientY,i=t-eC.x,o=n-eC.y,s=eC.isDragging;eC.x=t,eC.y=n,(s||(i||o)&&(Math.abs(eC.startX-t)>=r||Math.abs(eC.startY-n)>=r))&&(eb||(eb=s?2:1),s||(eC.isDragging=!0),eL(i,o))}},eY=eC.onPress=function(e){eD(e,1)||e&&e.button||(eC.axis=eE=null,ev.pause(),eC.isPressed=!0,e=U(e),eO=eI=0,eC.startX=eC.x=e.clientX,eC.startY=eC.y=e.clientY,eC._vx.reset(),eC._vy.reset(),I(eo?y:eM,d[1],eN,eA,!0),eC.deltaX=eC.deltaY=0,Y&&Y(eC)
vendor: 7,167 bytes, line 1
1)},eV=eC.onRelease=function(e){if(!eD(e,1)){A(eo?y:eM,d[1],eN,!0);var t=!isNaN(eC.y-eC.startY),r=eC.isDragging,i=r&&(Math.abs(eC.x-eC.startX)>3||Math.abs(eC.y-eC.startY)>3),s=U(e);!i&&t&&(eC._vx.reset(),eC._vy.reset(),w&&ed&&n.delayedCall(.08,function(){if(x()-eB>300&&!e.defaultPrevented){if(e.target.click)e.target.click();else if(eM.createEvent){var t=eM.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,o,1,s.screenX,s.screenY,s.clientX,s.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}})),eC.isDragging=eC.isGesturing=eC.isPressed=!1,_&&r&&!eo&&ev.restart(!0),eb&&eF(),L&&r&&L(eC),V&&V(eC,i)}},eH=function(e){return e.touches&&e.touches.length>1&&(eC.isGesturing=!0)&&es(e,eC.isDragging)},eX=function(){return eC.isGesturing=!1,ea(eC)},eW=function(e){if(!eD(e)){var t=eR(),r=eS();ez((t-eT)*eh,(r-eP)*eh,1),eT=t,eP=r,_&&ev.restart(!0)}},eG=function(e){if(!eD(e)){e=U(e,w),eu&&(ex=!0);var t=(1===e.deltaMode?m:2===e.deltaMode?o.innerHeight:1)*R;ez(e.deltaX*t,e.deltaY*t,0),_&&!eo&&ev.restart(!0)}},eJ=function(e){if(!eD(e)){var t=e.clientX,r=e.clientY,n=t-eC.x,i=r-eC.y;eC.x=t,eC.y=r,ew=!0,_&&ev.restart(!0),(n||i)&&eL(n,i)}},eQ=function(e){eC.event=e,et(eC)},eK=function(e){eC.event=e,er(eC)},eZ=function(e){return eD(e)||U(e,w)&&ef(eC)};ev=eC._dc=n.delayedCall(E||.25,function(){eC._vx.reset(),eC._vy.reset(),ev.pause(),_&&_(eC)}).pause(),eC.deltaX=eC.deltaY=0,eC._vx=B(0,50,!0),eC._vy=B(0,50,!0),eC.scrollX=eR,eC.scrollY=eS,eC.isDragging=eC.isGesturing=eC.isPressed=!1,g(this),eC.enable=function(e){return!eC.isEnabled&&(I(ej?eM:y,"scroll",T),h.indexOf("scroll")>=0&&I(ej?eM:y,"scroll",eW,eA,ep),h.indexOf("wheel")>=0&&I(y,"wheel",eG,eA,ep),(h.indexOf("touch")>=0&&l||h.indexOf("pointer")>=0)&&(I(y,d[0],eY,eA,ep),I(eM,d[2],eV),I(eM,d[3],eV),ed&&I(y,"click",eU,!0,!0),ef&&I(y,"click",eZ),es&&I(eM,"gesturestart",eH),ea&&I(eM,"gestureend",eX),et&&I(y,c+"enter",eQ),er&&I(y,c+"leave",eK),en&&I(y,c+"move",eJ)),eC.isEnabled=!0,eC.isDragging=eC.isGesturing=eC.isPressed=ew=eb=!1,eC._vx.reset(),eC._vy.reset(),eT=eR(),eP=eS(),e&&e.type&&eY(e),el&&el(eC)),eC},eC.disable=function(){eC.isEnabled&&(v.filter(function(e){return e!==eC&&O(e.target)}).length||A(ej?eM:y,"scroll",T),eC.isPressed&&(eC._vx.reset(),eC._vy.reset(),A(eo?y:eM,d[1],eN,!0)),A(ej?eM:y,"scroll",eW,ep),A(y,"wheel",eG,ep),A(y,d[0],eY,ep),A(eM,d[2],eV),A(eM,d[3],eV),A(y,"click",eU,!0),A(y,"click",eZ),A(eM,"gesturestart",eH),A(eM,"gestureend",eX),A(y,c+"enter",eQ),A(y,c+"leave",eK),A(y,c+"move",eJ),eC.isEnabled=eC.isPressed=eC.isDragging=!1,ec&&ec(eC))},eC.kill=eC.revert=function(){eC.disable();var e=v.indexOf(eC);e>=0&&v.splice(e,1),p===eC&&(p=0)},v.push(eC),eo&&O(y)&&(p=eC),eC.enable(S)},e=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,e),t}();L.version="3.14.1",L.create=function(e){return new L(e)},L.register=z,L.getAll=function(){return v.slice()},L.getById=function(e){return v.filter(function(t){return t.vars.id===e})[0]},y()&&n.registerPlugin(L);var N,Y,V,H,X,W,G,J,Q,K,Z,ee,et,er,en,ei,eo,es,ea,eu,el,ec,ef,eh,ep,ed,eg,ey,em,ev,eb,ew,ex,e_,eE,eC,eO,eI,eA=1,eR=Date.now,eS=eR(),eT=0,eP=0,ek=function(e,t,r){var n=eH(e)&&("clamp("===e.substr(0,6)||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},ej=function(e,t){return t&&(!eH(e)||"clamp("!==e.substr(0,6))?"clamp("+e+")":e},eM=function(){return er=1},eq=function(){return er=0},e$=function(e){return e},eB=function(e){return Math.round(1e5*e)/1e5||0},eU=function(){return"undefined"!=typeof window},eD=function(){return N||eU()&&(N=window.gsap)&&N.registerPlugin&&N},eF=function(e){return!!~G.indexOf(e)},ez=function(e){return("Height"===e?eb:V["inner"+e])||X["client"+e]||W["client"+e]},eL=function(e){return C(e,"getBoundingClientRect")||(eF(e)?function(){return tG.width=V.innerWidth,tG.height=eb,tG}:function(){return ti(e)})},eN=function(e,t,r){var n=r.d,i=r.d2,o=r.a;return(o=C(e,"getBoundingClientRect"))?function(){return o()[n]}:function(){return(t?ez(i):e["client"+i])||0}},eY=function(e,t){var r=t.s,n=t.d2,i=t.d,o=t.a;return Math.max(0,(o=C(e,r="scroll"+n))?o()-eL(e)()[i]:eF(e)?(X[r]||W[r])-ez(n):e[r]-e["offset"+n])},eV=function(e,t){for(var r=0;r<ea.length;r+=3)(!t||~t.indexOf(ea[r+1]))&&e(ea[r],ea[r+1],ea[r+2])},eH=function(e){return"string"==typeof e},eX=function(e){return"function"==typeof e},eW=function(e){return"number"==typeof e},eG=function(e){return"object"==typeof e},eJ=function(e,t,r){return e&&e.progress(+!t)&&r&&e.pause()},eQ=function(e,t){if(e.enabled){var r=e._ctx?e._ctx.add(function(){return t(e)}):t(e);r&&r.totalTime&&(e.callbackAnimation=r)}},eK=Math.abs,eZ="left",e0="right",e1="bottom",e2="width",e3="height",e6="Right",e5="Left",e8="Bottom",e4="padding",e9="margin",e7="Width",te="Height",tt=function(e){return V.getComputedStyle(e)},tr=function(e){var t=tt(e).position;e.style.position="absolute"===t||"fixed"===t?t:"relative"},tn=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},ti=function(e,t){var r=t&&"matrix(1, 0, 0, 1, 0, 0)"!==tt(e)[en]&&N.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=e.getBoundingClientRect();return r&&r.progress(0).kill(),n},to=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},ts=function(e){var t,r=[],n=e.labels,i=e.duration();for(t in n)r.push(n[t]/i);return r},ta=function(e){var t=N.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(e,t){return e-t});return r?function(e,n,i){var o;if(void 0===i&&(i=.001),!n)return t(e);if(n>0){for(e-=i,o=0;o<r.length;o++)if(r[o]>=e)return r[o];return r[o-1]}for(o=r.length,e+=i;o--;)if(r[o]<=e)return r[o];return r[0]}:function(r,n,i){void 0===i&&(i=.001);var o=t(r);return!n||Math.abs(o-r)<i||o-r<0==n<0?o:t(n<0?r-e:r+e)}},tu=function(e,t,r,n){return r.split(",").forEach(function(r){return e(t,r,n)})},tl=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:!n,capture:!!i})},tc=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},tf=function(e,t,r){(r=r&&r.wheelHandler)&&(e(t,"wheel",r),e(t,"touchmove",r))},th={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},tp={toggleActions:"play",anticipatePin:0},td={top:0,left:0,center:.5,bottom:1,right:1},tg=function(e,t){if(eH(e)){var r=e.indexOf("="),n=~r?(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in td?td[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},ty=function(e,t,r,n,i,o,s,a){var u=i.startColor,l=i.endColor,c=i.fontSize,f=i.indent,h=i.fontWeight,p=H.createElement("div"),d=eF(r)||"fixed"===C(r,"pinType"),g=-1!==e.indexOf("scroller"),y=d?W:r,m=-1!==e.indexOf("start"),v=m?u:l,b="border-color:"+v+";font-size:"+c+";color:"+v+";font-weight:"+h+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return b+="position:"+((g||a)&&d?"fixed;":"absolute;
1"),(g||a||!d)&&(b+=(n===j?e0:e1)+":"+(o+parseFloat(f))+"px;"),s&&(b+="box-sizing:border-box;text-align:left;width:"+s.offsetWidth+"px;"),p._isStart=m,p.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),p.style.cssText=b,p.innerText=t||0===t?e+"-"+t:e,y.children[0]?y.insertBefore(p,y.children[0]):y.appendChild(p),p._offset=p["offset"+n.op.d2],tm(p,0,n,m),p},tm=function(e,t,r,n){var i={display:"block"},o=r[n?"os2":"p2"],s=r[n?"p2":"os2"];e._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+o+e7]=1,i["border"+s+e7]=0,i[r.p]=t+"px",N.set(e,i)},tv=[],tb={},tw=function(){return eR()-eT>34&&(eE||(eE=requestAnimationFrame(tF)))},tx=function(){ef&&ef.isPressed&&!(ef.startX>W.clientWidth)||(b.cache++,ef?eE||(eE=requestAnimationFrame(tF)):tF(),eT||tA("scrollStart"),eT=eR())},t_=function(){ed=V.innerWidth,ep=V.innerHeight},tE=function(e){b.cache++,(!0===e||!et&&!ec&&!H.fullscreenElement&&!H.webkitFullscreenElement&&(!eh||ed!==V.innerWidth||Math.abs(V.innerHeight-ep)>.25*V.innerHeight))&&J.restart(!0)},tC={},tO=[],tI=function e(){return tc(t2,"scrollEnd",e)||tB(!0)},tA=function(e){return tC[e]&&tC[e].map(function(e){return e()})||tO},tR=[],tS=function(e){for(var t=0;t<tR.length;t+=5)(!e||tR[t+4]&&tR[t+4].query===e)&&(tR[t].style.cssText=tR[t+1],tR[t].getBBox&&tR[t].setAttribute("transform",tR[t+2]||""),tR[t+3].uncache=1)},tT=function(){return b.forEach(function(e){return eX(e)&&++e.cacheID&&(e.rec=e())})},tP=function(e,t){var r;for(ei=0;ei<tv.length;ei++)(r=tv[ei])&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));ew=!0,t&&tS(t),t||tA("revert")},tk=function(e,t){b.cache++,(t||!eC)&&b.forEach(function(e){return eX(e)&&e.cacheID++&&(e.rec=0)}),eH(e)&&(V.history.scrollRestoration=em=e)},tj=0,tM=function(){if(eO!==tj){var e=eO=tj;requestAnimationFrame(function(){return e===tj&&tB(!0)})}},tq=function(){W.appendChild(ev),eb=!ef&&ev.offsetHeight||V.innerHeight,W.removeChild(ev)},t$=function(e){return Q(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},tB=function(e,t){if(X=H.documentElement,W=H.body,G=[V,H,X,W],eT&&!e&&!ew)return void tl(t2,"scrollEnd",tI);tq(),eC=t2.isRefreshing=!0,ew||tT();var r=tA("refreshInit");eu&&t2.sort(),t||tP(),b.forEach(function(e){eX(e)&&(e.smooth&&(e.target.style.scrollBehavior="auto"),e(0))}),tv.slice(0).forEach(function(e){return e.refresh()}),ew=!1,tv.forEach(function(e){if(e._subPinOffset&&e.pin){var t=e.vars.horizontal?"offsetWidth":"offsetHeight",r=e.pin[t];e.revert(!0,1),e.adjustPinSpacing(e.pin[t]-r),e.refresh()}}),ex=1,t$(!0),tv.forEach(function(e){var t=eY(e.scroller,e._dir),r="max"===e.vars.end||e._endClamp&&e.end>t,n=e._startClamp&&e.start>=t;(r||n)&&e.setPositions(n?t-1:e.start,r?Math.max(n?t:e.start+1,t):e.end,!0)}),t$(!1),ex=0,r.forEach(function(e){return e&&e.render&&e.render(-1)}),b.forEach(function(e){eX(e)&&(e.smooth&&requestAnimationFrame(function(){return e.target.style.scrollBehavior="smooth"}),e.rec&&e(e.rec))}),tk(em,1),J.pause(),tj++,eC=2,tF(2),tv.forEach(function(e){return eX(e.vars.onRefresh)&&e.vars.onRefresh(e)}),eC=t2.isRefreshing=!1,tA("refresh")},tU=0,tD=1,tF=function(e){if(2===e||!eC&&!ew){t2.isUpdating=!0,eI&&eI.update(0);var t=tv.length,r=eR(),n=r-eS>=50,i=t&&tv[0].scroll();if(tD=tU>i?-1:1,eC||(tU=i),n&&(eT&&!er&&r-eT>200&&(eT=0,tA("scrollEnd")),Z=eS,eS=r),tD<0){for(ei=t;ei-- >0;)tv[ei]&&tv[ei].update(0,n);tD=1}else for(ei=0;ei<t;ei++)tv[ei]&&tv[ei].update(0,n);t2.isUpdating=!1}eE=0},tz=[eZ,"top",e1,e0,e9+e8,e9+e6,e9+"Top",e9+e5,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],tL=tz.concat([e2,e3,"boxSizing","max"+e7,"max"+te,"position",e9,e4,e4+"Top",e4+e6,e4+e8,e4+e5]),tN=function(e,t,r){tH(r);var n=e._gsap;if(n.spacerIsNative)tH(n.spacerState);else if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}e._gsap.swappedIn=!1},tY=function(e,t,r,n){if(!e._gsap.swappedIn){for(var i,o=tz.length,s=t.style,a=e.style;o--;)s[i=tz[o]]=r[i];s.position="absolute"===r.position?"absolute":"relative","inline"===r.display&&(s.display="inline-block"),a[e1]=a[e0]="auto",s.flexBasis=r.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[e2]=to(e,k)+"px",s[e3]=to(e,j)+"px",s[e4]=a[e9]=a.top=a[eZ]="0",tH(n),a[e2]=a["max"+e7]=r[e2],a[e3]=a["max"+te]=r[e3],a[e4]=r[e4],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},tV=/([A-Z])/g,tH=function(e){if(e){var t,r,n=e.t.style,i=e.length,o=0;for((e.t._gsap||N.core.getCache(e.t)).uncache=1;o<i;o+=2)r=e[o+1],t=e[o],r?n[t]=r:n[t]&&n.removeProperty(t.replace(tV,"-$1").toLowerCase())}},tX=function(e){for(var t=tL.length,r=e.style,n=[],i=0;i<t;i++)n.push(tL[i],r[tL[i]]);return n.t=e,n},tW=function(e,t,r){for(var n,i=[],o=e.length,s=8*!!r;s<o;s+=2)n=e[s],i.push(n,n in t?t[n]:e[s+1]);return i.t=e.t,i},tG={left:0,top:0},tJ=function(e,t,r,n,i,o,s,a,u,l,c,f,h,p){eX(e)&&(e=e(a)),eH(e)&&"max"===e.substr(0,3)&&(e=f+("="===e.charAt(4)?tg("0"+e.substr(3),r):0));var d,g,y,m=h?h.time():0;if(h&&h.seek(0),isNaN(e)||(e*=1),eW(e))h&&(e=N.utils.mapRange(h.scrollTrigger.start,h.scrollTrigger.end,0,f,e)),s&&tm(s,r,n,!0);else{eX(t)&&(t=t(a));var v,b,w,x,_=(e||"0").split(" ");(v=ti(y=M(t,a)||W)||{}).left||v.top||"none"!==tt(y).display||(x=y.style.display,y.style.display="block",v=ti(y),x?y.style.display=x:y.style.removeProperty("display")),b=tg(_[0],v[n.d]),w=tg(_[1]||"0",r),e=v[n.p]-u[n.p]-l+b+i-w,s&&tm(s,w,n,r-w<20||s._isStart&&w>20),r-=r-w}
1if(p&&(a[p]=e||-.001,e<0&&(e=0)),o){var E=e+r,C=o._isStart;d="scroll"+n.d2,tm(o,E,n,C&&E>20||!C&&(c?Math.max(W[d],X[d]):o.parentNode[d])<=E+1),c&&(u=ti(s),c&&(o.style[n.op.p]=u[n.op.p]-n.op.m-o._offset+"px"))}return h&&y&&(d=ti(y),h.seek(f),g=ti(y),h._caScrollDist=d[n.p]-g[n.p],e=e/h._caScrollDist*f),h&&h.seek(m),h?e:Math.round(e)},tQ=/(webkit|moz|length|cssText|inset)/i,tK=function(e,t,r,n){if(e.parentNode!==t){var i,o,s=e.style;if(t===W){for(i in e._stOrig=s.cssText,o=tt(e))+i||tQ.test(i)||!o[i]||"string"!=typeof s[i]||"0"===i||(s[i]=o[i]);s.top=r,s.left=n}else s.cssText=e._stOrig;N.core.getCache(e).uncache=1,t.appendChild(e)}},tZ=function(e,t,r){var n=t,i=n;return function(t){var o=Math.round(e());return o!==n&&o!==i&&Math.abs(o-n)>3&&Math.abs(o-i)>3&&(t=o,r&&r()),i=n,n=Math.round(t)}},t0=function(e,t,r){var n={};n[t.p]="+="+r,N.set(e,n)},t1=function(e,t){var r=$(e,t),n="_scroll"+t.p2,i=function t(i,o,s,a,u){var l=t.tween,c=o.onComplete,f={};s=s||r();var h=tZ(r,s,function(){l.kill(),t.tween=0});return u=a&&u||0,a=a||i-s,l&&l.kill(),o[n]=i,o.inherit=!1,o.modifiers=f,f[n]=function(){return h(s+a*l.ratio+u*l.ratio*l.ratio)},o.onUpdate=function(){b.cache++,t.tween&&tF()},o.onComplete=function(){t.tween=0,c&&c.call(l)},l=t.tween=N.to(e,o)};return e[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},tl(e,"wheel",r.wheelHandler),t2.isTouch&&tl(e,"touchmove",r.wheelHandler),i},t2=function(){function e(t,r){Y||e.register(N)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),ey(this),this.init(t,r)}return e.prototype.init=function(t,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!eP){this.update=this.refresh=this.kill=e$;return}var n,i,o,s,a,u,l,c,f,h,p,d,g,y,m,v,x,_,E,O,I,A,R,S,T,P,q,B,U,D,F,z,L,Y,G,J,ee,en,eo,es,ea,ec=t=tn(eH(t)||eW(t)||t.nodeType?{trigger:t}:t,tp),ef=ec.onUpdate,eh=ec.toggleClass,ep=ec.id,ed=ec.onToggle,eg=ec.onRefresh,ey=ec.scrub,em=ec.trigger,ev=ec.pin,eb=ec.pinSpacing,ew=ec.invalidateOnRefresh,eE=ec.anticipatePin,eO=ec.onScrubComplete,eS=ec.onSnapComplete,eM=ec.once,eq=ec.snap,eU=ec.pinReparent,eD=ec.pinSpacer,ez=ec.containerAnimation,eV=ec.fastScrollEnd,eZ=ec.preventOverlaps,e0=t.horizontal||t.containerAnimation&&!1!==t.horizontal?k:j,e1=!ey&&0!==ey,tu=M(t.scroller||V),tf=N.core.getCache(tu),td=eF(tu),tm=("pinType"in t?t.pinType:C(tu,"pinType")||td&&"fixed")==="fixed",tw=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],t_=e1&&t.toggleActions.split(" "),tC="markers"in t?t.markers:tp.markers,tO=td?0:parseFloat(tt(tu)["border"+e0.p2+e7])||0,tA=this,tR=t.onRefreshInit&&function(){return t.onRefreshInit(tA)},tS=eN(tu,td,e0),tT=!td||~w.indexOf(tu)?eL(tu):function(){return tG},tP=0,tk=0,tj=0,tq=$(tu,e0);if(tA._startClamp=tA._endClamp=!1,tA._dir=e0,eE*=45,tA.scroller=tu,tA.scroll=ez?ez.time.bind(ez):tq,u=tq(),tA.vars=t,r=r||t.animation,"refreshPriority"in t&&(eu=1,-9999===t.refreshPriority&&(eI=tA)),tf.tweenScroll=tf.tweenScroll||{top:t1(tu,j),left:t1(tu,k)},tA.tweenTo=o=tf.tweenScroll[e0.p],tA.scrubDuration=function(e){(G=eW(e)&&e)?Y?Y.duration(e):Y=N.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:G,paused:!0,onComplete:function(){return eO&&eO(tA)}}):(Y&&Y.progress(1).kill(),Y=0)},r&&(r.vars.lazy=!1,r._initted&&!tA.isReverted||!1!==r.vars.immediateRender&&!1!==t.immediateRender&&r.duration()&&r.render(0,!0,!0),tA.animation=r.pause(),r.scrollTrigger=tA,tA.scrubDuration(ey),z=0,ep||(ep=r.vars.id)),eq&&((!eG(eq)||eq.push)&&(eq={snapTo:eq}),"scrollBehavior"in W.style&&N.set(td?[W,X]:tu,{scrollBehavior:"auto"}),b.forEach(function(e){return eX(e)&&e.target===(td?H.scrollingElement||X:tu)&&(e.smooth=!1)}),a=eX(eq.snapTo)?eq.snapTo:"labels"===eq.snapTo?(n=r,function(e){return N.utils.snap(ts(n),e)}):"labelsDirectional"===eq.snapTo?(i=r,function(e,t){return ta(ts(i))(e,t.direction)}):!1!==eq.directional?function(e,t){return ta(eq.snapTo)(e,eR()-tk<500?0:t.direction)}:N.utils.snap(eq.snapTo),J=eG(J=eq.duration||{min:.1,max:2})?K(J.min,J.max):K(J,J),ee=N.delayedCall(eq.delay||G/2||.1,function(){var e=tq(),t=eR()-tk<500,n=o.tween;if((t||10>Math.abs(tA.getVelocity()))&&!n&&!er&&tP!==e){var i,s,u=(e-c)/v,l=r&&!e1?r.totalProgress():u,h=t?0:(l-L)/(eR()-Z)*1e3||0,p=N.utils.clamp(-u,1-u,eK(h/2)*h/.185),d=u+(!1===eq.inertia?0:p),g=eq,y=g.onStart,m=g.onInterrupt,b=g.onComplete;if(eW(i=a(d,tA))||(i=d),s=Math.max(0,Math.round(c+i*v)),e<=f&&e>=c&&s!==e){if(n&&!n._initted&&n.data<=eK(s-e))return;!1===eq.inertia&&(p=i-u),o(s,{duration:J(eK(.185*Math.max(eK(d-l),eK(i-l))/h/.05||0)),ease:eq.ease||"power3",data:eK(s-e),onInterrupt:function(){return ee.restart(!0)&&m&&m(tA)}
1,onComplete:function(){tA.update(),tP=tq(),r&&!e1&&(Y?Y.resetTo("totalProgress",i,r._tTime/r._tDur):r.progress(i)),z=L=r&&!e1?r.totalProgress():tA.progress,eS&&eS(tA),b&&b(tA)}},e,p*v,s-e-p*v),y&&y(tA,o.tween)}}else tA.isActive&&tP!==e&&ee.restart(!0)}).pause()),ep&&(tb[ep]=tA),(ea=(em=tA.trigger=M(em||!0!==ev&&ev))&&em._gsap&&em._gsap.stRevert)&&(ea=ea(tA)),ev=!0===ev?em:M(ev),eH(eh)&&(eh={targets:em,className:eh}),ev&&(!1===eb||eb===e9||(eb=(!!eb||!ev.parentNode||!ev.parentNode.style||"flex"!==tt(ev.parentNode).display)&&e4),tA.pin=ev,(s=N.core.getCache(ev)).spacer?x=s.pinState:(eD&&((eD=M(eD))&&!eD.nodeType&&(eD=eD.current||eD.nativeElement),s.spacerIsNative=!!eD,eD&&(s.spacerState=tX(eD))),s.spacer=O=eD||H.createElement("div"),O.classList.add("pin-spacer"),ep&&O.classList.add("pin-spacer-"+ep),s.pinState=x=tX(ev)),!1!==t.force3D&&N.set(ev,{force3D:!0}),tA.spacer=O=s.spacer,P=(F=tt(ev))[eb+e0.os2],A=N.getProperty(ev),R=N.quickSetter(ev,e0.a,"px"),tY(ev,O,F),E=tX(ev)),tC){y=eG(tC)?tn(tC,th):th,d=ty("scroller-start",ep,tu,e0,y,0),g=ty("scroller-end",ep,tu,e0,y,0,d),I=d["offset"+e0.op.d2];var t$=M(C(tu,"content")||tu);h=this.markerStart=ty("start",ep,t$,e0,y,I,0,ez),p=this.markerEnd=ty("end",ep,t$,e0,y,I,0,ez),ez&&(es=N.quickSetter([h,p],e0.a,"px")),tm||w.length&&!0===C(tu,"fixedMarkers")||(tr(td?W:tu),N.set([d,g],{force3D:!0}),B=N.quickSetter(d,e0.a,"px"),D=N.quickSetter(g,e0.a,"px"))}if(ez){var tB=ez.vars.onUpdate,tU=ez.vars.onUpdateParams;ez.eventCallback("onUpdate",function(){tA.update(0,0,1),tB&&tB.apply(ez,tU||[])})}if(tA.previous=function(){return tv[tv.indexOf(tA)-1]},tA.next=function(){return tv[tv.indexOf(tA)+1]},tA.revert=function(e,t){if(!t)return tA.kill(!0);var n=!1!==e||!tA.enabled,i=et;n!==tA.isReverted&&(n&&(en=Math.max(tq(),tA.scroll.rec||0),tj=tA.progress,eo=r&&r.progress()),h&&[h,p,d,g].forEach(function(e){return e.style.display=n?"none":"block"}),n&&(et=tA,tA.update(n)),!ev||eU&&tA.isActive||(n?tN(ev,O,x):tY(ev,O,tt(ev),q)),n||tA.update(n),et=i,tA.isReverted=n)},tA.refresh=function(n,i,s,a){if(!et&&tA.enabled||i){if(ev&&n&&eT)return void tl(e,"scrollEnd",tI);!eC&&tR&&tR(tA),et=tA,o.tween&&!s&&(o.tween.kill(),o.tween=0),Y&&Y.pause(),ew&&r&&(r.revert({kill:!1}).invalidate(),r.getChildren?r.getChildren(!0,!0,!1).forEach(function(e){return e.vars.immediateRender&&e.render(0,!0,!0)}):r.vars.immediateRender&&r.render(0,!0,!0)),tA.isReverted||tA.revert(!0,!0),tA._subPinOffset=!1;var y,b,w,C,I,R,P,B,D,F,z,L,V,G=tS(),J=tT(),Q=ez?ez.duration():eY(tu,e0),K=v<=.01||!v,Z=0,er=a||0,ei=eG(s)?s.end:t.end,es=t.endTrigger||em,ea=eG(s)?s.start:t.start||(0!==t.start&&em?ev?"0 0":"0 100%":0),eu=tA.pinnedContainer=t.pinnedContainer&&M(t.pinnedContainer,tA),ec=em&&Math.max(0,tv.indexOf(tA))||0,ef=ec;for(tC&&eG(s)&&(L=N.getProperty(d,e0.p),V=N.getProperty(g,e0.p));ef-- >0;)(R=tv[ef]).end||R.refresh(0,1)||(et=tA),(P=R.pin)&&(P===em||P===ev||P===eu)&&!R.isReverted&&(F||(F=[]),F.unshift(R),R.revert(!0,!0)),R!==tv[ef]&&(ec--,ef--);for(eX(ea)&&(ea=ea(tA)),c=tJ(ea=ek(ea,"start",tA),em,G,e0,tq(),h,d,tA,J,tO,tm,Q,ez,tA._startClamp&&"_startClamp")||(ev?-.001:0),eX(ei)&&(ei=ei(tA)),eH(ei)&&!ei.indexOf("+=")&&(~ei.indexOf(" ")?ei=(eH(ea)?ea.split(" ")[0]:"")+ei:(Z=tg(ei.substr(2),G),ei=eH(ea)?ea:(ez?N.utils.mapRange(0,ez.duration(),ez.scrollTrigger.start,ez.scrollTrigger.end,c):c)+Z,es=em)),ei=ek(ei,"end",tA),f=Math.max(c,tJ(ei||(es?"100% 0":Q),es,G,e0,tq()+Z,p,g,tA,J,tO,tm,Q,ez,tA._endClamp&&"_endClamp"))||-.001,Z=0,ef=ec;ef--;)(P=(R=tv[ef]||{}).pin)&&R.start-R._pinPush<=c&&!ez&&R.end>0&&(y=R.end-(tA._startClamp?Math.max(0,R.start):R.start),(P===em&&R.start-R._pinPush<c||P===eu)&&isNaN(ea)&&(Z+=y*(1-R.progress)),P===ev&&(er+=y));if(c+=Z,f+=Z,tA._startClamp&&(tA._startClamp+=Z),tA._endClamp&&!eC&&(tA._endClamp=f||-.001,f=Math.min(f,eY(tu,e0))),v=f-c||(c-=.01)&&.001,K&&(tj=N.utils.clamp(0,1,N.utils.normalize(c,f,en))),tA._pinPush=er,h&&Z&&((y={})[e0.a]="+="+Z,eu&&(y[e0.p]="-="+tq()),N.set([h,p],y)),ev&&!(ex&&tA.end>=eY(tu,e0)))y=tt(ev),C=e0===j,w=tq(),S=parseFloat(A(e0.a))+er,!Q&&f>1&&(z={style:z=(td?H.scrollingElement||X:tu).style,value:z["overflow"+e0.a.toUpperCase()]},td&&"scroll"!==tt(W)["overflow"+e0.a.toUpperCase()]&&(z.style["overflow"+e0.a.toUpperCase()]="scroll")),tY(ev,O,y),E=tX(ev),b=ti(ev,!0),B=tm&&$(tu,C?k:j)(),eb?((q=[eb+e0.os2,v+er+"px"]).t=O,(ef=eb===e4?to(ev,e0)+v+er:0)&&(q.push(e0.d,ef+"px"),"auto"!==O.style.flexBasis&&(O.style.flexBasis=ef+"px")),tH(q),eu&&tv.forEach(function(e){e.pin===eu&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0)}),tm&&tq(en)):(ef=to(ev,e0))&&"auto"!==O.style.flexBasis&&(O.style.flexBasis=ef+"px"),tm&&((I={top:b.top+(C?
1w-c:B)+"px",left:b.left+(C?B:w-c)+"px",boxSizing:"border-box",position:"fixed"})[e2]=I["max"+e7]=Math.ceil(b.width)+"px",I[e3]=I["max"+te]=Math.ceil(b.height)+"px",I[e9]=I[e9+"Top"]=I[e9+e6]=I[e9+e8]=I[e9+e5]="0",I[e4]=y[e4],I[e4+"Top"]=y[e4+"Top"],I[e4+e6]=y[e4+e6],I[e4+e8]=y[e4+e8],I[e4+e5]=y[e4+e5],_=tW(x,I,eU),eC&&tq(0)),r?(D=r._initted,el(1),r.render(r.duration(),!0,!0),T=A(e0.a)-S+v+er,U=Math.abs(v-T)>1,tm&&U&&_.splice(_.length-2,2),r.render(0,!0,!0),D||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),el(0)):T=v,z&&(z.value?z.style["overflow"+e0.a.toUpperCase()]=z.value:z.style.removeProperty("overflow-"+e0.a));else if(em&&tq()&&!ez)for(b=em.parentNode;b&&b!==W;)b._pinOffset&&(c-=b._pinOffset,f-=b._pinOffset),b=b.parentNode;F&&F.forEach(function(e){return e.revert(!1,!0)}),tA.start=c,tA.end=f,u=l=eC?en:tq(),ez||eC||(u<en&&tq(en),tA.scroll.rec=0),tA.revert(!1,!0),tk=eR(),ee&&(tP=-1,ee.restart(!0)),et=0,r&&e1&&(r._initted||eo)&&r.progress()!==eo&&r.progress(eo||0,!0).render(r.time(),!0,!0),(K||tj!==tA.progress||ez||ew||r&&!r._initted)&&(r&&!e1&&(r._initted||tj||!1!==r.vars.immediateRender)&&r.totalProgress(ez&&c<-.001&&!tj?N.utils.normalize(c,f,0):tj,!0),tA.progress=K||(u-c)/v===tj?0:tj),ev&&eb&&(O._pinOffset=Math.round(tA.progress*T)),Y&&Y.invalidate(),isNaN(L)||(L-=N.getProperty(d,e0.p),V-=N.getProperty(g,e0.p),t0(d,e0,L),t0(h,e0,L-(a||0)),t0(g,e0,V),t0(p,e0,V-(a||0))),K&&!eC&&tA.update(),!eg||eC||m||(m=!0,eg(tA),m=!1)}},tA.getVelocity=function(){return(tq()-l)/(eR()-Z)*1e3||0},tA.endAnimation=function(){eJ(tA.callbackAnimation),r&&(Y?Y.progress(1):r.paused()?e1||eJ(r,tA.direction<0,1):eJ(r,r.reversed()))},tA.labelToScroll=function(e){return r&&r.labels&&(c||tA.refresh()||c)+r.labels[e]/r.duration()*v||0},tA.getTrailing=function(e){var t=tv.indexOf(tA),r=tA.direction>
10?tv.slice(0,t).reverse():tv.slice(t+1);return(eH(e)?r.filter(function(t){return t.vars.preventOverlaps===e}):r).filter(function(e){return tA.direction>0?e.end<=c:e.start>=f})},tA.update=function(e,t,n){if(!ez||n||e){var i,s,a,h,p,g,y,m=!0===eC?en:tA.scroll(),b=e?0:(m-c)/v,w=b<0?0:b>1?1:b||0,x=tA.progress;if(t&&(l=u,u=ez?tq():m,eq&&(L=z,z=r&&!e1?r.totalProgress():w)),eE&&ev&&!et&&!eA&&eT&&(!w&&c<m+(m-l)/(eR()-Z)*eE?w=1e-4:1===w&&f>m+(m-l)/(eR()-Z)*eE&&(w=.9999)),w!==x&&tA.enabled){if(h=(p=(i=tA.isActive=!!w&&w<1)!=(!!x&&x<1))||!!w!=!!x,tA.direction=w>x?1:-1,tA.progress=w,h&&!et&&(s=w&&!x?0:1===w?1:1===x?2:3,e1&&(a=!p&&"none"!==t_[s+1]&&t_[s+1]||t_[s],y=r&&("complete"===a||"reset"===a||a in r))),eZ&&(p||y)&&(y||ey||!r)&&(eX(eZ)?eZ(tA):tA.getTrailing(eZ).forEach(function(e){return e.endAnimation()})),!e1&&(!Y||et||eA?r&&r.totalProgress(w,!!(et&&(tk||e))):(Y._dp._time-Y._start!==Y._time&&Y.render(Y._dp._time-Y._start),Y.resetTo?Y.resetTo("totalProgress",w,r._tTime/r._tDur):(Y.vars.totalProgress=w,Y.invalidate().restart()))),ev)if(e&&eb&&(O.style[eb+e0.os2]=P),tm){if(h){if(g=!e&&w>x&&f+1>m&&m+1>=eY(tu,e0),eU)if(!e&&(i||g)){var C=ti(ev,!0),I=m-c;tK(ev,W,C.top+(e0===j?I:0)+"px",C.left+(e0===j?0:I)+"px")}else tK(ev,O);tH(i||g?_:E),U&&w<1&&i||R(S+(1!==w||g?0:T))}}else R(eB(S+T*w));!eq||o.tween||et||eA||ee.restart(!0),eh&&(p||eM&&w&&(w<1||!e_))&&Q(eh.targets).forEach(function(e){return e.classList[i||eM?"add":"remove"](eh.className)}),!ef||e1||e||ef(tA),h&&!et?(e1&&(y&&("complete"===a?r.pause().totalProgress(1):"reset"===a?r.restart(!0).pause():"restart"===a?r.restart(!0):r[a]()),ef&&ef(tA)),(p||!e_)&&(ed&&p&&eQ(tA,ed),tw[s]&&eQ(tA,tw[s]),eM&&(1===w?tA.kill(!1,1):tw[s]=0),!p&&tw[s=1===w?1:3]&&eQ(tA,tw[s])),eV&&!i&&Math.abs(tA.getVelocity())>(eW(eV)?eV:2500)&&(eJ(tA.callbackAnimation),Y?Y.progress(1):eJ(r,"reverse"===a?1:!w,1))):e1&&ef&&!et&&ef(tA)}if(D){var A=ez?m/ez.duration()*(ez._caScrollDist||0):m;B(A+ +!!d._isFlipped),D(A)}es&&es(-m/ez.duration()*(ez._caScrollDist||0))}},tA.enable=function(t,r){tA.enabled||(tA.enabled=!0,tl(tu,"resize",tE),td||tl(tu,"scroll",tx),tR&&tl(e,"refreshInit",tR),!1!==t&&(tA.progress=tj=0,u=l=tP=tq()),!1!==r&&tA.refresh())},tA.getTween=function(e){return e&&o?o.tween:Y},tA.setPositions=function(e,t,r,n){if(ez){var i=ez.scrollTrigger,o=ez.duration(),s=i.end-i.start;e=i.start+s*e/o,t=i.start+s*t/o}tA.refresh(!1,!1,{start:ej(e,r&&!!tA._startClamp),end:ej(t,r&&!!tA._endClamp)},n),tA.update()},tA.adjustPinSpacing=function(e){if(q&&e){var t=q.indexOf(e0.d)+1;q[t]=parseFloat(q[t])+e+"px",q[1]=parseFloat(q[1])+e+"px",tH(q)}},tA.disable=function(t,r){if(!1!==t&&tA.revert(!0,!0),tA.enabled&&(tA.enabled=tA.isActive=!1,r||Y&&Y.pause(),en=0,s&&(s.uncache=1),tR&&tc(e,"refreshInit",tR),ee&&(ee.pause(),o.tween&&o.tween.kill()&&(o.tween=0)),!td)){for(var n=tv.length;n--;)if(tv[n].scroller===tu&&tv[n]!==tA)return;tc(tu,"resize",tE),td||tc(tu,"scroll",tx)}},tA.kill=function(e,n){tA.disable(e,n),Y&&!n&&Y.kill(),ep&&delete tb[ep];var i=tv.indexOf(tA);
vendor: 10,428 bytes, line 1
1i>=0&&tv.splice(i,1),i===ei&&tD>0&&ei--,i=0,tv.forEach(function(e){return e.scroller===tA.scroller&&(i=1)}),i||eC||(tA.scroll.rec=0),r&&(r.scrollTrigger=null,e&&r.revert({kill:!1}),n||r.kill()),h&&[h,p,d,g].forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),eI===tA&&(eI=0),ev&&(s&&(s.uncache=1),i=0,tv.forEach(function(e){return e.pin===ev&&i++}),i||(s.spacer=0)),t.onKill&&t.onKill(tA)},tv.push(tA),tA.enable(!1,!1),ea&&ea(tA),r&&r.add&&!v){var tF=tA.update;tA.update=function(){tA.update=tF,b.cache++,c||f||tA.refresh()},N.delayedCall(.01,tA.update),v=.01,c=f=0}else tA.refresh();ev&&tM()},e.register=function(t){return Y||(N=t||eD(),eU()&&window.document&&e.enable(),Y=eP),Y},e.defaults=function(e){if(e)for(var t in e)tp[t]=e[t];return tp},e.disable=function(e,t){eP=0,tv.forEach(function(r){return r[t?"kill":"disable"](e)}),tc(V,"wheel",tx),tc(H,"scroll",tx),clearInterval(ee),tc(H,"touchcancel",e$),tc(W,"touchstart",e$),tu(tc,H,"pointerdown,touchstart,mousedown",eM),tu(tc,H,"pointerup,touchend,mouseup",eq),J.kill(),eV(tc);for(var r=0;r<b.length;r+=3)tf(tc,b[r],b[r+1]),tf(tc,b[r],b[r+2])},e.enable=function(){if(V=window,X=(H=document).documentElement,W=H.body,N&&(Q=N.utils.toArray,K=N.utils.clamp,ey=N.core.context||e$,el=N.core.suppressOverwrites||e$,em=V.history.scrollRestoration||"auto",tU=V.pageYOffset||0,N.core.globals("ScrollTrigger",e),W)){eP=1,(ev=document.createElement("div")).style.height="100vh",ev.style.position="absolute",tq(),function e(){return eP&&requestAnimationFrame(e)}(),L.register(N),e.isTouch=L.isTouch,eg=L.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),eh=1===L.isTouch,tl(V,"wheel",tx),G=[V,H,X,W],N.matchMedia?(e.matchMedia=function(e){var t,r=N.matchMedia();for(t in e)r.add(t,e[t]);return r},N.addEventListener("matchMediaInit",function(){tT(),tP()}),N.addEventListener("matchMediaRevert",function(){return tS()}),N.addEventListener("matchMedia",function(){tB(0,1),tA("matchMedia")}),N.matchMedia().add("(orientation: portrait)",function(){return t_(),t_})):console.warn("Requires GSAP 3.11.0 or later"),t_(),tl(H,"scroll",tx);var t,r,n=W.hasAttribute("style"),i=W.style,o=i.borderTopStyle,s=N.core.Animation.prototype;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),i.borderTopStyle="solid",j.m=Math.round((t=ti(W)).top+j.sc())||0,k.m=Math.round(t.left+k.sc())||0,o?i.borderTopStyle=o:i.removeProperty("border-top-style"),n||(W.setAttribute("style",""),W.removeAttribute("style")),ee=setInterval(tw,250),N.delayedCall(.5,function(){return eA=0}),tl(H,"touchcancel",e$),tl(W,"touchstart",e$),tu(tl,H,"pointerdown,touchstart,mousedown",eM),tu(tl,H,"pointerup,touchend,mouseup",eq),en=N.utils.checkPrefix("transform"),tL.push(en),Y=eR(),J=N.delayedCall(.2,tB).pause(),ea=[H,"visibilitychange",function(){var e=V.innerWidth,t=V.innerHeight;H.hidden?(eo=e,es=t):(eo!==e||es!==t)&&tE()},H,"DOMContentLoaded",tB,V,"load",tB,V,"resize",tE],eV(tl),tv.forEach(function(e){return e.enable(0,1)}),r=0;r<b.length;r+=3)tf(tc,b[r],b[r+1]),tf(tc,b[r],b[r+2])}},e.config=function(t){"limitCallbacks"in t&&(e_=!!t.limitCallbacks);var r=t.syncInterval;r&&clearInterval(ee)||(ee=r)&&setInterval(tw,r),"ignoreMobileResize"in t&&(eh=1===e.isTouch&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(eV(tc)||eV(tl,t.autoRefreshEvents||"none"),ec=-1===(t.autoRefreshEvents+"").indexOf("resize"))},e.scrollerProxy=function(e,t){var r=M(e),n=b.indexOf(r),i=eF(r);~n&&b.splice(n,i?6:2),t&&(i?w.unshift(V,t,W,t,X,t):w.unshift(r,t))},e.clearMatchMedia=function(e){tv.forEach(function(t){return t._ctx&&t._ctx.query===e&&t._ctx.kill(!0,!0)})},e.isInViewport=function(e,t,r){var n=(eH(e)?M(e):e).getBoundingClientRect(),i=n[r?e2:e3]*t||0;return r?n.right-i>0&&n.left+i<V.innerWidth:n.bottom-i>0&&n.top+i<V.innerHeight},e.positionInViewport=function(e,t,r){eH(e)&&(e=M(e));var n=e.getBoundingClientRect(),i=n[r?e2:e3],o=null==t?i/2:t in td?td[t]*i:~t.indexOf("%")?parseFloat(t)*i/100:parseFloat(t)||0;return r?(n.left+o)/V.innerWidth:(n.top+o)/V.innerHeight},e.killAll=function(e){if(tv.slice(0).forEach(function(e){return"ScrollSmoother"!==e.vars.id&&e.kill()}),!0!==e){var t=tC.killAll||[];tC={},t.forEach(function(e){return e()})}},e}();t2.version="3.14.1",t2.saveStyles=function(e){return e?Q(e).forEach(function(e){if(e&&e.style){var t=tR.indexOf(e);t>=0&&tR.splice(t,5),tR.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),N.core.getCache(e),ey())}}):tR},t2.revert=function(e,t){return tP(!e,t)},t2.create=function(e,t){return new t2(e,t)},t2.refresh=function(e){return e?tE(!0):(Y||t2.register())&&tB(!0)},t2.update=function(e){return++b.cache&&tF(2*(!0===e))},t2.clearScrollMemory=tk,t2.maxScroll=function(e,t){return eY(e,t?k:j)},t2.getScrollFunc=function(e,t){return $(M(e),t?k:j)},t2.getById=function(e){return tb[e]},t2.getAll=function(){return tv.filter(function(e){return"ScrollSmoother"!==e.vars.id})},t2.isScrolling=function(){return!!eT},t2.snapDirectional=ta,t2.addEventListener=function(e,t){var r=tC[e]||(tC[e]=[]);~r.indexOf(t)||r.push(t)},t2.removeEventListener=function(e,t){var r=tC[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},t2.batch=function(e,t){var r,n=[],i={},o=t.interval||.016,s=t.batchMax||1e9,a=function(e,t){var r=[],n=[],i=N.delayedCall(o,function(){t(r,n),r=[],n=[]}).pause();return function(e){r.length||i.restart(!0),r.push(e.trigger),n.push(e),s<=r.length&&i.progress(1)}};for(r in t)i[r]="on"===r.substr(0,2)&&eX(t[r])&&"onRefreshInit"!==r?a(r,t[r]):t[r];return eX(s)&&(s=s(),tl(t2,"refresh",function(){return s=t.batchMax()})),Q(e).forEach(function(e){var t={};for(r in i)t[r]=i[r];t.trigger=e,n.push(t2.create(t))}),n};var t3,t6=function(e,t,r,n){return t>n?e(n):t<0&&e(0),r>n?(n-t)/(r-t):r<0?t/(t-r):1},t5=function e(t,r){!0===r?t.style.removeProperty("touch-action"):t.style.touchAction=!0===r?"auto":r?"pan-"+r+(L.isTouch?" pinch-zoom":""):"none",t===X&&e(W,r)},t8={auto:1,scroll:1},t4=function(e){var t,r=e.event,n=e.target,i=e.axis,o=(r.changedTouches?r.changedTouches[0]:r).target,s=o._gsap||N.core.getCache(o),a=eR();if(!s._isScrollT||a-s._isScrollT>2e3){for(;o&&o!==W&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!(t8[(t=tt(o)).overflowY]||t8[t.overflowX]));)o=o.parentNode;s._isScroll=o&&o!==n&&!eF(o)&&(t8[(t=tt(o)).overflowY]||t8[t.overflowX]),s._isScrollT=a}(s._isScroll||"x"===i)&&(r.stopPropagation(),r._gsapAllow=!0)},t9=function(e,t,r,n){return L.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&t4,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&tl(H,L.eventTypes[0],re,!1,!0)},onDisable:function(){return tc(H,L.eventTypes[0],re,!0)}})},t7=/(input|label|select|textarea)/i,re=function(e){var t=t7.test(e.target.tagName);(t||t3)&&(e._gsapAllow=!0,t3=t)},rt=function(e){eG(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t,r,n,i,o,s,a,u,l=e,c=l.normalizeScrollX,f=l.momentum,h=l.allowNestedScroll,p=l.onRelease,d=M(e.target)||X,g=N.core.globals().ScrollSmoother,y=g&&g.get(),m=eg&&(e.content&&M(e.content)||y&&!1!==e.content&&!y.smooth()&&y.content()),v=$(d,j),w=$(d,k),x=1,_=(L.isTouch&&V.visualViewport?V.visualViewport.scale*V.visualViewport.width:V.outerWidth)/V.innerWidth,E=0,C=eX(f)?function(){return f(t)}:function(){return f||2.8},O=t9(d,e.type,!0,h),I=function(){return i=!1},A=e$,R=e$,S=function(){r=eY(d,j),R=K(+!!eg,r),c&&(A=K(0,eY(d,k))),n=tj},T=function(){m._gsap.y=eB(parseFloat(m._gsap.y)+v.offset)+"px",m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(m._gsap.y)+", 0, 1)",v.offset=v.cacheID=0},P=function(){if(i){requestAnimationFrame(I);var e=eB(t.deltaY/2),r=R(v.v-e);if(m&&r!==v.v+v.offset){v.offset=r-v.v;var n=eB((parseFloat(m&&m._gsap.y)||0)-v.offset);m.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+n+", 0, 1)",m._gsap.y=n+"px",v.cacheID=b.cache,tF()}return!0}v.offset&&T(),i=!0},q=function(){S(),o.isActive()&&o.vars.scrollY>r&&(v()>r?o.progress(1)&&v(r):o.resetTo("scrollY",r))};return m&&N.set(m,{y:"+=0"}),e.ignoreCheck=function(e){return eg&&"touchmove"===e.type&&P(e)||x>1.05&&"touchstart"!==e.type||t.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){i=!1;var e=x;x=eB((V.visualViewport&&V.visualViewport.scale||1)/_),o.pause(),e!==x&&t5(d,x>1.01||!c&&"x"),s=w(),a=v(),S(),n=tj},e.onRelease=e.onGestureStart=function(e,t){if(v.offset&&T(),t){b.cache++;var n,i,s=C();c&&(i=(n=w())+-(.05*s*e.velocityX)/.227,s*=t6(w,n,i,eY(d,k)),o.vars.scrollX=A(i)),i=(n=v())+-(.05*s*e.velocityY)/.227,s*=t6(v,n,i,eY(d,j)),o.vars.scrollY=R(i),o.invalidate().duration(s).play(.01),(eg&&o.vars.scrollY>=r||n>=r-1)&&N.to({},{onUpdate:q,duration:s})}else u.restart(!0);p&&p(e)},e.onWheel=function(){o._ts&&o.pause(),eR()-E>1e3&&(n=0,E=eR())},e.onChange=function(e,t,r,i,o){if(tj!==n&&S(),t&&c&&w(A(i[2]===t?s+(e.startX-e.x):w()+t-i[1])),r){v.offset&&T();var u=o[2]===r,l=u?a+e.startY-e.y:v()+r-o[1],f=R(l);u&&l!==f&&(a+=f-l),v(f)}(r||t)&&tF()},e.onEnable=function(){t5(d,!c&&"x"),t2.addEventListener("refresh",q),tl(V,"resize",q),v.smooth&&(v.target.style.scrollBehavior="auto",v.smooth=w.smooth=!1),O.enable()},e.onDisable=function(){t5(d,!0),tc(V,"resize",q),t2.removeEventListener("refresh",q),O.kill()},e.lockAxis=!1!==e.lockAxis,(t=new L(e)).iOS=eg,eg&&!v()&&v(1),eg&&N.ticker.add(e$),u=t._dc,o=N.to(t,{ease:"power4",paused:!0,inherit:!1,scrollX:c?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:tZ(v,v(),function(){return o.pause()})},onUpdate:tF,onComplete:u.vars.onComplete}),t};t2.sort=function(e){if(eX(e))return tv.sort(e);var t=V.pageYOffset||0;return t2.getAll().forEach(function(e){return e._sortY=e.trigger?t+e.trigger.getBoundingClientRect().top:e.start+V.innerHeight}),tv.sort(e||function(e,t){return -1e6*(e.vars.refreshPriority||0)+(e.vars.containerAnimation?1e6:e._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+-1e6*(t.vars.refreshPriority||0))})},t2.observe=function(e){return new L(e)},t2.normalizeScroll=function(e){if(void 0===e)return ef;if(!0===e&&ef)return ef.enable();if(!1===e){ef&&ef.kill(),ef=e;return}var t=e instanceof L?e:rt(e);return ef&&ef.target===t.target&&ef.kill(),eF(t.target)&&(ef=t),t},t2.core={_getVelocityProp:B,_inputObserver:t9,_scrollers:b,_proxies:w,bridge:{ss:function(){eT||tA("scrollStart"),eT=eR()},ref:function(){return et}}},eD()&&N.registerPlugin(t2)},2814:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(8462)._(r(1464)).default.createContext({})},3081:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return u}}),r(3742);let n=r(2322),i=r(3422),o=["-moz-initial","fill","none","scale-down",void 0];function s(e){return void 0!==e.default}function a(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u(e,t){var r,u;let l,c,f,{src:h,sizes:p,unoptimized:d=!1,priority:g=!1,loading:y,className:m,quality:v,width:b,height:w,fill:x=!1,style:_,overrideSrc:E,onLoad:C,onLoadingComplete:O,placeholder:I="empty",blurDataURL:A,fetchPriority:R,decoding:S="async",layout:T,objectFit:P,objectPosition:k,lazyBoundary:j,lazyRoot:M,...q}=e,{imgConf:$,showAltText:B,blurComplete:U,defaultLoader:D}=t,F=$||i.imageConfigDefault;if("allSizes"in F)l=F;else{let e=[...F.deviceSizes,...F.imageSizes].sort((e,t)=>e-t),t=F.deviceSizes.sort((e,t)=>e-t),n=null==(r=F.qualities)?void 0:r.sort((e,t)=>e-t);l={...F,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===D)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let z=q.loader||D;delete q.loader,delete q.srcSet;let L="__next_img_default"in z;if(L){if("custom"===l.loader)throw Object.defineProperty(Error('Image with src "'+h+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=z;z=t=>{let{config:r,...n}=t;return e(n)}}if(T){"fill"===T&&(x=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[T];e&&(_={..._,...e});let t={responsive:"100vw",fill:"100vw"}[T];t&&!p&&(p=t)}let N="",Y=a(b),V=a(w);if((u=h)&&"object"==typeof u&&(s(u)||void 0!==u.src)){let e=s(h)?h.default:h;if(!e.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(c=e.blurWidth,f=e.blurHeight,A=A||e.blurDataURL,N=e.src,!x)if(Y||V){if(Y&&!V){let t=Y/e.width;V=Math.round(e.height*t)}else if(!Y&&V){let t=V/e.height;Y=Math.round(e.width*t)}}else Y=e.width,V=e.height}let H=!g&&("lazy"===y||void 0===y);(!(h="string"==typeof h?h:N)||h.startsWith("data:")||h.startsWith("blob:"))&&(d=!0,H=!1),l.unoptimized&&(d=!0),L&&!l.dangerouslyAllowSVG&&h.split("?",1)[0].endsWith(".svg")&&(d=!0);let X=a(v),W=Object.assign(x?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:P,objectPosition:k}:{},B?{}:{color:"transparent"},_),G=U||"empty"===I?null:"blur"===I?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:Y,heightInt:V,blurWidth:c,blurHeight:f,blurDataURL:A||"",objectFit:W.objectFit})+'")':'url("'+I+'")',J=o.includes(W.objectFit)?"fill"===W.objectFit?"100% 100%":"cover":W.objectFit,Q=G?{backgroundSize:J,backgroundPosition:W.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:G}:{},K=function(e){let{config:t,src:r,unoptimized:n,width:i,quality:o,sizes:s,loader:a}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:u,kind:l}=function(e,t,r){let{deviceSizes:n,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,s),c=u.length-1;return{sizes:s||"w"!==l?s:"100vw",srcSet:u.map((e,n)=>a({config:t,src:r,quality:o,width:e})+" "+("w"===l?e:n+1)+l).join(", "),src:a({config:t,src:r,quality:o,width:u[c]})}}({config:l,src:h,unoptimized:d,width:Y,quality:X,sizes:p,loader:z});return{props:{...q,loading:H?"lazy":y,fetchPriority:R,width:Y,height:V,decoding:S,className:m,style:{...W,...Q},sizes:K.sizes,srcSet:K.srcSet,src:E||K.src},meta:{unoptimized:d,priority:g,placeholder:I,fill:x}}}},3217:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var n=r(2557),i=r(1464),o=r.t(i,2),s=r(6445),a=o["use".trim()],u=r(1902),l=r(4287),c=r(8387),f=r(9700),h=r(1977);function p(e){let{Link:t,config:r,getPathname:o,...p}=function(e,t){var r,o,s;let h={...r=t||{},localePrefix:"object"==typeof(s=r.localePrefix)?s:{mode:s||"always"}
1,localeCookie:!!((o=r.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof o&&o},localeDetection:r.localeDetection??!0,alternateLinks:r.alternateLinks??!0},p=h.pathnames,d=(0,i.forwardRef)(function({href:t,locale:r,...n},i){let o,s;"object"==typeof t?(o=t.pathname,s=t.params):o=t;let c=(0,u._x)(t),d=e(),y=(0,u.yL)(d)?a(d):d,m=c?g({locale:r||y,href:null==p?o:{pathname:o,params:s},forcePrefix:null!=r||void 0}):o;return(0,f.jsx)(l.default,{ref:i,href:"object"==typeof t?{...t,pathname:m}:m,locale:r,localeCookie:h.localeCookie,...n})});function g(e){let t,{forcePrefix:r,href:n,locale:i}=e;return null==p?"object"==typeof n?(t=n.pathname,n.query&&(t+=(0,c.Zn)(n.query))):t=n:t=(0,c.FP)({locale:i,...(0,c.TK)(n),pathnames:h.pathnames}),(0,c.x3)(t,i,h,r)}function y(e){return function(t,...r){return e(g(t),...r)}}return{config:h,Link:d,redirect:y(n.redirect),permanentRedirect:y(n.permanentRedirect),getPathname:g}}(s.Ym,e);return{...p,Link:t,usePathname:function(){let e=function(e){let t=(0,n.usePathname)(),r=(0,s.Ym)();return(0,i.useMemo)(()=>{if(!t)return t;let n=t,i=(0,u.XP)(r,e.localePrefix);if((0,u.wO)(i,t))n=(0,u.MY)(t,i);else if("never"!==e.localePrefix.mode&&e.localePrefix.prefixes){let e=(0,u.bL)(r);(0,u.wO)(e,t)&&(n=(0,u.MY)(t,e))}return n},[e.localePrefix,r,t])}(r),t=(0,s.Ym)();return(0,i.useMemo)(()=>e&&r.pathnames?(0,c.aM)(t,e,r.pathnames):e,[t,e])},useRouter:function(){let e=(0,n.useRouter)(),t=(0,s.Ym)(),a=(0,n.usePathname)();return(0,i.useMemo)(()=>{function n(e){return function(n,i){let{locale:s,...u}=i||{},l=[o({href:n,locale:s||t,forcePrefix:null!=s||void 0})];Object.keys(u).length>0&&l.push(u),(0,h.A)(r.localeCookie,a,t,s),e(...l)}}return{...e,push:n(e.push),replace:n(e.replace),prefetch:n(e.prefetch)}},[t,a,e])},getPathname:o}}},3422:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},3554:(e,t,r)=>{"use strict";let n=r(749),i=r(7507),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return u(e,t,r)}function u(e,t,r){if("string"==typeof e){var n=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!a.isEncoding(i))throw TypeError("Unknown encoding: "+i);let r=0|d(n,i),o=s(r),u=o.write(n,i);return u!==r&&(o=o.slice(0,u)),o}if(ArrayBuffer.isView(e)){var o=e;if(B(o,Uint8Array)){let e=new Uint8Array(o);return h(e.buffer,e.byteOffset,e.byteLength)}return f(o)}if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(B(e,ArrayBuffer)||e&&B(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(B(e,SharedArrayBuffer)||e&&B(e.buffer,SharedArrayBuffer)))return h(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let u=e.valueOf&&e.valueOf();if(null!=u&&u!==e)return a.from(u,t,r);let l=function(e){if(a.isBuffer(e)){let t=0|p(e.length),r=s(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?s(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(l)return l;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');
vendor: 19,237 bytes, line 1
1if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return l(e),s(e<0?0:0|p(e))}function f(e){let t=e.length<0?0:0|p(e.length),r=s(t);for(let n=0;n<t;n+=1)r[n]=255&e[n];return r}function h(e,t,r){let n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),a.prototype),n}function p(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function d(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||B(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return M(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return q(e).length;default:if(i)return n?-1:M(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,r){let i=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){let n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);let i="";for(let n=t;n<r;++n)i+=U[e[n]];return i}(this,t,r);case"utf8":case"utf-8":return b(this,t,r);case"ascii":return function(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){let n="";r=Math.min(e.length,r);for(let i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":var o,s,a;return o=this,s=t,a=r,0===s&&a===o.length?n.fromByteArray(o):n.fromByteArray(o.slice(s,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){let n=e.slice(t,r),i="";for(let e=0;e<n.length-1;e+=2)i+=String.fromCharCode(n[e]+256*n[e+1]);return i}(this,t,r);default:if(i)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function y(e,t,r){let n=e[t];e[t]=e[r],e[r]=n}function m(e,t,r,n,i){var o;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(o=r*=1)!=o&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(i)return -1;else r=e.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return v(e,[t],r,n,i)}throw TypeError("val must be string, number or Buffer")}function v(e,t,r,n,i){let o,s=1,a=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;s=2,a/=2,u/=2,r/=2}function l(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){let n=-1;for(o=r;o<a;o++)if(l(e,o)===l(t,-1===n?0:o-n)){if(-1===n&&(n=o),o-n+1===u)return n*s}else -1!==n&&(o-=o-n),n=-1}else for(r+u>a&&(r=a-u),o=r;o>=0;o--){let r=!0;for(let n=0;n<u;n++)if(l(e,o+n)!==l(t,n)){r=!1;break}if(r)return o}return -1}function b(e,t,r){r=Math.min(e.length,r);let n=[],i=t;for(;i<r;){let t=e[i],o=null,s=t>239?4:t>223?3:t>191?2:1;if(i+s<=r){let r,n,a,u;switch(s){case 1:t<128&&(o=t);break;case 2:(192&(r=e[i+1]))==128&&(u=(31&t)<<6|63&r)>127&&(o=u);break;case 3:r=e[i+1],n=e[i+2],(192&r)==128&&(192&n)==128&&(u=(15&t)<<12|(63&r)<<6|63&n)>2047&&(u<55296||u>57343)&&(o=u);break;case 4:r=e[i+1],n=e[i+2],a=e[i+3],(192&r)==128&&(192&n)==128&&(192&a)==128&&(u=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&a)>65535&&u<1114112&&(o=u)}}null===o?(o=65533,s=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),i+=s}var o=n;let s=o.length;if(s<=4096)return String.fromCharCode.apply(String,o);let a="",u=0;for(;u<s;)a+=String.fromCharCode.apply(String,o.slice(u,u+=4096));return a}function w(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function x(e,t,r,n,i,o){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function _(e,t,r,n,i){T(t,n,i,e,r,7);let o=Number(t&BigInt(0xffffffff));e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o;let s=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[r++]=s,s>>=8,e[r++]=s,s>>=8,e[r++]=s,s>>=8,e[r++]=s,r}function E(e,t,r,n,i){T(t,n,i,e,r,7);let o=Number(t&BigInt(0xffffffff));e[r+7]=o,o>>=8,e[r+6]=o,o>>=8,e[r+5]=o,o>>=8,e[r+4]=o;let s=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[r+3]=s,s>>=8,e[r+2]=s,s>>=8,e[r+1]=s,s>>=8,e[r]=s,r+8}function C(e,t,r,n,i,o){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function O(e,t,r,n,o){return t*=1,r>>>=0,o||C(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function I(e,t,r,n,o){return t*=1,r>>>=0,o||C(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}t.hp=a,t.IS=50,a.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,r){return u(e,t,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,r){return(l(e),e<=0)?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)},a.allocUnsafe=function(e){return c(e)},a.allocUnsafeSlow=function(e){return c(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(B(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),B(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,n=t.length;for(let i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:+(n<r)},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){let r;if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;let n=a.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){let t=e[r];if(B(t,Uint8Array))i+t.length>n.length?(a.isBuffer(t)||(t=a.from(t)),t.copy(n,i)):Uint8Array.prototype.set.call(n,t,i);else if(a.isBuffer(t))t.copy(n,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=t.length}return n},a.byteLength=d,a.prototype._isBuffer=!0,a.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)y(this,t,t+1);return this},a.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},a.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},a.prototype.toString=function(){let e=this.length;return 0===e?"":0==arguments.length?b(this,0,e):g.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){let e="",r=t.IS;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(e,t,r,n,i){if(B(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;let o=i-n,s=r-t,u=Math.min(o,s),l=this.slice(n,i),c=e.slice(t,r);for(let e=0;e<u;++e)if(l[e]!==c[e]){o=l[e],s=c[e];break}return o<s?-1:+(s<o)},a.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},a.prototype.indexOf=function(e,t,r){return m(this,e,t,r,!0)},a.prototype.lastIndexOf=function(e,t,r){return m(this,e,t,r,!1)},a.prototype.write=function(e,t,r,n){var i,o,s,a,u,l,c,f;if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let h=this.length-t;if((void 0===r||r>h)&&(r=h),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let p=!1;for(;;)switch(n){case"hex":return function(e,t,r,n){let i;r=Number(r)||0;let o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;let s=t.length;for(n>s/2&&(n=s/2),i=0;i<n;++i){var a;let n=parseInt(t.substr(2*i,2),16);if((a=n)!=a)break;e[r+i]=n}return i}(this,e,t,r);case"utf8":case"utf-8":return i=t,o=r,$(M(e,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return s=t,a=r,$(function(e){let t=[];for(let r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,s,a);case"base64":return u=t,l=r,$(q(e),this,u,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,f=r,$(function(e,t){let r,n,i=[];for(let o=0;o<e.length&&!((t-=2)<0);++o)n=(r=e.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(e,this.length-c),this,c,f);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){let r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);let n=this.subarray(e,t);return Object.setPrototypeOf(n,a.prototype),n},a.prototype.readUintLE=a.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);let n=this[e],i=1,o=0;for(;++o<t&&(i*=256);)n+=this[e+o]*i;return n},a.prototype.readUintBE=a.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);let n=this[e+--t],i=1;for(;t>0&&(i*=256);)n+=this[e+--t]*i;return n},a.prototype.readUint8=a.prototype.readUInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),this[e]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readBigUInt64LE=D(function(e){P(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&k(e,this.length-8);let n=t+256*this[++e]+65536*this[++e]+0x1000000*this[++e],i=this[++e]+256*this[++e]+65536*this[++e]+0x1000000*r;return BigInt(n)+(BigInt(i)<<BigInt(32))}),a.prototype.readBigUInt64BE=D(function(e){P(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&k(e,this.length-8);let n=0x1000000*t+65536*this[++e]+256*this[++e]+this[++e],i=0x1000000*this[++e]+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<<BigInt(32))+BigInt(i)}),a.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);let n=this[e],i=1,o=0;for(;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);let n=t,i=1,o=this[e+--n];for(;n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return(e>>>=0,t||w(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||w(e,2,this.length);let r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);let r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readBigInt64LE=D(function(e){P(e>>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&k(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24))<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+0x1000000*this[++e])}),a.prototype.readBigInt64BE=D(function(e){P(e>>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&k(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<<BigInt(32))+BigInt(0x1000000*this[++e]+65536*this[++e]+256*this[++e]+r)}),a.prototype.readFloatLE=function(e,t){return e>>>=0,t||w(e,4,this.length),i.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),i.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;x(this,e,t,r,n,0)}let i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;x(this,e,t,r,n,0)}let i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},a.prototype.writeUint8=a.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeBigUInt64LE=D(function(e,t=0){return _(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeBigUInt64BE=D(function(e,t=0){return E(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){let n=Math.pow(2,8*r-1);x(this,e,t,r,n-1,-n)}let i=0,o=1,s=0;for(this[t]=255&e;++i<r&&(o*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/o|0)-s&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){let n=Math.pow(2,8*r-1);x(this,e,t,r,n-1,-n)}let i=r-1,o=1,s=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/o|0)-s&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeBigInt64LE=D(function(e,t=0){return _(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeBigInt64BE=D(function(e,t=0){return E(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeFloatLE=function(e,t,r){return O(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return O(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return I(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return I(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(!a.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);let i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},a.prototype.fill=function(e,t,r,n){let i;if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){let t=e.charCodeAt(0);("utf8"===n&&t<128||"latin1"===n)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{let o=a.isBuffer(e)?e:a.from(e,n),s=o.length;
1if(0===s)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=o[i%s]}return this};let A={};function R(e,t,r){A[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function S(e){let t="",r=e.length,n=+("-"===e[0]);for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function T(e,t,r,n,i,o){if(e>r||e<t){let n,i="bigint"==typeof t?"n":"";throw n=o>3?0===t||t===BigInt(0)?`>= 0${i} and < 2${i} ** ${(o+1)*8}${i}`:`>= -(2${i} ** ${(o+1)*8-1}${i}) and < 2 ** ${(o+1)*8-1}${i}`:`>= ${t}${i} and <= ${r}${i}`,new A.ERR_OUT_OF_RANGE("value",n,e)}P(i,"offset"),(void 0===n[i]||void 0===n[i+o])&&k(i,n.length-(o+1))}function P(e,t){if("number"!=typeof e)throw new A.ERR_INVALID_ARG_TYPE(t,"number",e)}function k(e,t,r){if(Math.floor(e)!==e)throw P(e,r),new A.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new A.ERR_BUFFER_OUT_OF_BOUNDS;throw new A.ERR_OUT_OF_RANGE(r||"offset",`>= ${+!!r} and <= ${t}`,e)}R("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),R("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),R("ERR_OUT_OF_RANGE",function(e,t,r){let n=`The value of "${e}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>0x100000000?i=S(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=S(i)),i+="n"),n+=` It must be ${t}. Received ${i}`},RangeError);let j=/[^+/0-9A-Za-z-_]/g;function M(e,t){let r;t=t||1/0;let n=e.length,i=null,o=[];for(let s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319||s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function q(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(j,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function $(e,t,r,n){let i;for(i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function B(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}let U=function(){let e="0123456789abcdef",t=Array(256);for(let r=0;r<16;++r){let n=16*r;for(let i=0;i<16;++i)t[n+i]=e[r]+e[i]}return t}();function D(e){return"undefined"==typeof BigInt?F:e}function F(){throw Error("BigInt not supported")}},3600:function(e){e.exports=function(){function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function t(){return(t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}var r="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function n(e){return("image-"+e.split("/").slice(-1)[0]).replace(/\.([a-z]+)$/,"-$1")}var i=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"],["frame","frame"]],o=["clip","crop","fill","fillmax","max","scale","min"],s=["top","bottom","left","right","center","focalpoint","entropy"],a=["format"],u=function(){function u(e,r){this.options=void 0,this.options=e?t({},e.options||{},r||{}):t({},r||{})}var l=u.prototype;return l.withOptions=function(r){var n=r.baseUrl||this.options.baseUrl,o={baseUrl:n};for(var s in r)r.hasOwnProperty(s)&&(o[function(t){for(var r,n=function(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return e(t,void 0);var n=({}).toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}}(t))){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i);!(r=n()).done;){var o=r.value,s=o[0],a=o[1];if(t===s||t===a)return s}return t}(s)]=r[s]);return new u(this,t({baseUrl:n},o))},l.image=function(e){return this.withOptions({source:e})},l.dataset=function(e){return this.withOptions({dataset:e})},l.projectId=function(e){return this.withOptions({projectId:e})},l.bg=function(e){return this.withOptions({bg:e})},l.dpr=function(e){return this.withOptions(e&&1!==e?{dpr:e}:{})},l.width=function(e){return this.withOptions({width:e})},l.height=function(e){return this.withOptions({height:e})},l.focalPoint=function(e,t){return this.withOptions({focalPoint:{x:e,y:t}})},l.maxWidth=function(e){return this.withOptions({maxWidth:e})},l.minWidth=function(e){return this.withOptions({minWidth:e})},l.maxHeight=function(e){return this.withOptions({maxHeight:e})},l.minHeight=function(e){return this.withOptions({minHeight:e})},l.size=function(e,t){return this.withOptions({width:e,height:t})},l.blur=function(e){return this.withOptions({blur:e})},l.sharpen=function(e){return this.withOptions({sharpen:e})},l.rect=function(e,t,r,n){return this.withOptions({rect:{left:e,top:t,width:r,height:n}})},l.format=function(e){return this.withOptions({format:e})},l.invert=function(e){return this.withOptions({invert:e})},l.orientation=function(e){return this.withOptions({orientation:e})},l.quality=function(e){return this.withOptions({quality:e})},l.forceDownload=function(e){return this.withOptions({download:e})},l.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},l.flipVertical=function(){return this.withOptions({flipVertical:!0})},l.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},l.fit=function(e){if(-1===o.indexOf(e))throw Error('Invalid fit mode "'+e+'"');return this.withOptions({fit:e})},l.crop=function(e){if(-1===s.indexOf(e))throw Error('Invalid crop mode "'+e+'"');return this.withOptions({crop:e})},l.saturation=function(e){return this.withOptions({saturation:e})},l.auto=function(e){if(-1===a.indexOf(e))throw Error('Invalid auto mode "'+e+'"');return this.withOptions({auto:e})},l.pad=function(e){return this.withOptions({pad:e})},l.vanityName=function(e){return this.withOptions({vanityName:e})},l.frame=function(e){if(1!==e)throw Error('Invalid frame value "'+e+'"');return this.withOptions({frame:e})},l.url=function(){return function(e){var o=t({},e||{}),s=o.source;delete o.source;var a=function(e){var r,i;if(!e)return null;if("string"==typeof e&&(i=e,/^https?:\/\//.test(""+i)))r={asset:{_ref:n(e)}};else if("string"==typeof e)r={asset:{_ref:e}};else if(e&&"string"==typeof e._ref)r={asset:e};else if(e&&"string"==typeof e._id)r={asset:{_ref:e._id||""}};else if(e&&e.asset&&"string"==typeof e.asset.url)r={asset:{_ref:n(e.asset.url)}};else{if("object"!=typeof e.asset)return null;r=t({},e)}return e.crop&&(r.crop=e.crop),e.hotspot&&(r.hotspot=e.hotspot),function(e){if(e.crop&&e.hotspot)return e;var r=t({},e);
1return r.crop||(r.crop={left:0,top:0,bottom:0,right:0}),r.hotspot||(r.hotspot={x:.5,y:.5,height:1,width:1}),r}(r)}(s);if(!a){if(s&&"object"==typeof s&&null!==s&&s._upload&&(!s.asset||!s.asset._ref))return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8HwQACfsD/QNViZkAAAAASUVORK5CYII=";throw Error("Unable to resolve image URL from source ("+JSON.stringify(s)+")")}var u=function(e){var t=e.split("-"),n=t[1],i=t[2],o=t[3];if(!n||!i||!o)throw Error("Malformed asset _ref '"+e+"'. Expected an id like \""+r+'".');var s=i.split("x"),a=s[0],u=s[1],l=+a,c=+u;if(!(isFinite(l)&&isFinite(c)))throw Error("Malformed asset _ref '"+e+"'. Expected an id like \""+r+'".');return{id:n,width:l,height:c,format:o}}(a.asset._ref||a.asset._id||""),l=Math.round(a.crop.left*u.width),c=Math.round(a.crop.top*u.height),f={left:l,top:c,width:Math.round(u.width-a.crop.right*u.width-l),height:Math.round(u.height-a.crop.bottom*u.height-c)},h=a.hotspot.height*u.height/2,p=a.hotspot.width*u.width/2,d=a.hotspot.x*u.width,g=a.hotspot.y*u.height;return o.rect||o.focalPoint||o.ignoreImageParams||o.crop||(o=t({},o,function(e,t){var r,n=t.width,i=t.height;if(!(n&&i))return{width:n,height:i,rect:e.crop};var o=e.crop,s=e.hotspot,a=n/i;if(o.width/o.height>a){var u=Math.round(o.height),l=Math.round(u*a),c=Math.max(0,Math.round(o.top)),f=Math.max(0,Math.round(Math.round((s.right-s.left)/2+s.left)-l/2));f<o.left?f=o.left:f+l>o.left+o.width&&(f=o.left+o.width-l),r={left:f,top:c,width:l,height:u}}else{var h=o.width,p=Math.round(h/a),d=Math.max(0,Math.round(o.left)),g=Math.max(0,Math.round(Math.round((s.bottom-s.top)/2+s.top)-p/2));g<o.top?g=o.top:g+p>o.top+o.height&&(g=o.top+o.height-p),r={left:d,top:g,width:h,height:p}}return{width:n,height:i,rect:r}}({crop:f,hotspot:{left:d-p,top:g-h,right:d+p,bottom:g+h}},o))),function(e){var t=(e.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),r=e.vanityName?"/"+e.vanityName:"",n=e.asset.id+"-"+e.asset.width+"x"+e.asset.height+"."+e.asset.format+r,o=t+"/images/"+e.projectId+"/"+e.dataset+"/"+n,s=[];if(e.rect){var a=e.rect,u=a.left,l=a.top,c=a.width,f=a.height;(0!==u||0!==l||f!==e.asset.height||c!==e.asset.width)&&s.push("rect="+u+","+l+","+c+","+f)}e.bg&&s.push("bg="+e.bg),e.focalPoint&&(s.push("fp-x="+e.focalPoint.x),s.push("fp-y="+e.focalPoint.y));var h=[e.flipHorizontal&&"h",e.flipVertical&&"v"].filter(Boolean).join("");
1return(h&&s.push("flip="+h),i.forEach(function(t){var r=t[0],n=t[1];void 0!==e[r]?s.push(n+"="+encodeURIComponent(e[r])):void 0!==e[n]&&s.push(n+"="+encodeURIComponent(e[n]))}),0===s.length)?o:o+"?"+s.join("&")}(t({},o,{asset:u}))}(this.options)},l.toString=function(){return this.url()},u}();return function(e){if(e&&"config"in e&&"function"==typeof e.config){var t=e.config(),r=t.apiHost,n=t.projectId,i=t.dataset;return new u(null,{baseUrl:(r||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:n,dataset:i})}if(e&&"clientConfig"in e&&"object"==typeof e.clientConfig){var o=e.clientConfig,s=o.apiHost,a=o.projectId,l=o.dataset;return new u(null,{baseUrl:(s||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:a,dataset:l})}return new u(null,e||{})}}()},3618:(e,t)=>{"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},4716:(e,t,r)=>{"use strict";r.d(t,{UU:()=>r6});let n=!(typeof navigator>"u")&&"ReactNative"===navigator.product,i={timeout:n?6e4:12e4},o=function(e){let t={...i,..."string"==typeof e?{url:e}:e};if(t.timeout=function e(t){if(!1===t||0===t)return!1;if(t.connect||t.socket)return t;let r=Number(t);return isNaN(r)?e(i.timeout):{connect:r,socket:r}}(t.timeout),t.query){let{url:e,searchParams:r}=function(e){let t=e.indexOf("?");if(-1===t)return{url:e,searchParams:new URLSearchParams};let r=e.slice(0,t),i=e.slice(t+1);if(!n)return{url:r,searchParams:new URLSearchParams(i)};if("function"!=typeof decodeURIComponent)throw Error("Broken `URLSearchParams` implementation, and `decodeURIComponent` is not defined");let o=new URLSearchParams;for(let e of i.split("&")){let[t,r]=e.split("=");t&&o.append(s(t),s(r||""))}return{url:r,searchParams:o}}(t.url);for(let[n,i]of Object.entries(t.query)){if(void 0!==i)if(Array.isArray(i))for(let e of i)r.append(n,e);else r.append(n,i);let o=r.toString();o&&(t.url=`${e}?${o}`)}}return t.method=t.body&&!t.method?"POST":(t.method||"GET").toUpperCase(),t};function s(e){return decodeURIComponent(e.replace(/\+/g," "))}let a=/^https?:\/\//i,u=function(e){if(!a.test(e.url))throw Error(`"${e.url}" is not a valid URL`)},l=["request","response","progress","error","abort"],c=["processOptions","validateOptions","interceptRequest","finalizeOptions","onRequest","onResponse","onError","onReturn","onHeaders"];var f,h,p=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(function(){if(h)return f;h=1;var e=function(e){return e.replace(/^\s+|\s+$/g,"")};return f=function(t){if(!t)return{};for(var r=Object.create(null),n=e(t).split("\n"),i=0;i<n.length;i++){var o,s=n[i],a=s.indexOf(":"),u=e(s.slice(0,a)).toLowerCase(),l=e(s.slice(a+1));typeof r[u]>"u"?r[u]=l:(o=r[u],"[object Array]"===Object.prototype.toString.call(o))?r[u].push(l):r[u]=[r[u],l]}return r}}());class d{onabort;onerror;onreadystatechange;ontimeout;readyState=0;response;responseText="";responseType="";status;statusText;withCredentials;#e;#t;#r;#n={};#i;#o={};#s;open(e,t,r){this.#e=e,this.#t=t,this.#r="",this.readyState=1,this.onreadystatechange?.(),this.#i=void 0}abort(){this.#i&&this.#i.abort()}getAllResponseHeaders(){return this.#r}setRequestHeader(e,t){this.#n[e]=t}setInit(e,t=!0){this.#o=e,this.#s=t}send(e){let t="arraybuffer"!==this.responseType,r={...this.#o,method:this.#e,headers:this.#n,body:e};"function"==typeof AbortController&&this.#s&&(this.#i=new AbortController,"u">typeof EventTarget&&this.#i.signal instanceof EventTarget&&(r.signal=this.#i.signal)),"u">typeof document&&(r.credentials=this.withCredentials?"include":"omit"),fetch(this.#t,r).then(e=>(e.headers.forEach((e,t)=>{this.#r+=`${t}: ${e}\r
2`}),this.status=e.status,this.statusText=e.statusText,this.readyState=3,this.onreadystatechange?.(),t?e.text():e.arrayBuffer())).then(e=>{"string"==typeof e?this.responseText=e:this.response=e,this.readyState=4,this.onreadystatechange?.()}).catch(e=>{"AbortError"!==e.name?this.onerror?.(e):this.onabort?.()})}}let g="function"==typeof XMLHttpRequest?"xhr":"fetch",y="xhr"===g?XMLHttpRequest:d,m=(e,t)=>
2{let r=e.options,n=e.applyMiddleware("finalizeOptions",r),i={},o=e.applyMiddleware("interceptRequest",void 0,{adapter:g,context:e});if(o){let e=setTimeout(t,0,null,o);return{abort:()=>clearTimeout(e)}}let s=new y;s instanceof d&&"object"==typeof n.fetch&&s.setInit(n.fetch,n.useAbortSignal??!0);let a=n.headers,u=n.timeout,l=!1,c=!1,f=!1;if(s.onerror=e=>{v(s instanceof d?e instanceof Error?e:Error(`Request error while attempting to reach is ${n.url}`,{cause:e}):Error(`Request error while attempting to reach is ${n.url}${e.lengthComputable?`(${e.loaded} of ${e.total} bytes transferred)`:""}`))},s.ontimeout=e=>{v(Error(`Request timeout while attempting to reach ${n.url}${e.lengthComputable?`(${e.loaded} of ${e.total} bytes transferred)`:""}`))},s.onabort=()=>{m(!0),l=!0},s.onreadystatechange=function(){u&&(m(),i.socket=setTimeout(()=>h("ESOCKETTIMEDOUT"),u.socket)),!l&&s&&4===s.readyState&&0!==s.status&&function(){if(!(l||c||f)){if(0===s.status)return v(Error("Unknown XHR error"));m(),c=!0,t(null,{body:s.response||(""===s.responseType||"text"===s.responseType?s.responseText:""),url:n.url,method:n.method,headers:p(s.getAllResponseHeaders()),statusCode:s.status,statusMessage:s.statusText})}}()},s.open(n.method,n.url,!0),s.withCredentials=!!n.withCredentials,a&&s.setRequestHeader)for(let e in a)a.hasOwnProperty(e)&&s.setRequestHeader(e,a[e]);return n.rawBody&&(s.responseType="arraybuffer"),e.applyMiddleware("onRequest",{options:n,adapter:g,request:s,context:e}),s.send(n.body||null),u&&(i.connect=setTimeout(()=>h("ETIMEDOUT"),u.connect)),{abort:function(){l=!0,s&&s.abort()}};function h(t){f=!0,s.abort();let r=Error("ESOCKETTIMEDOUT"===t?`Socket timed out on request to ${n.url}`:`Connection timed out on request to ${n.url}`);r.code=t,e.channels.error.publish(r)}function m(e){(e||l||s&&s.readyState>=2&&i.connect)&&clearTimeout(i.connect),i.socket&&clearTimeout(i.socket)}function v(e){if(c)return;m(!0),c=!0,s=null;let r=e||Error(`Network error while attempting to reach ${n.url}`);r.isNetworkError=!0,r.request=n,t(r)}};var v,b,w,x,_,E=r(5036),C=r(3554).hp,O={exports:{}};_||(_=1,function(e,t){let r;t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(i=n))}),t.splice(i,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch{}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!e&&"u">typeof E&&"env"in E&&(e=E.env.DEBUG),e},t.useColors=function(){let e;return"u">typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch{}}(),r=!1,t.destroy=()=>{r||(r=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))},t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#F
2F6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=(x?w:(x=1,w=function(e){function t(e){let n,i,o,s=null;function a(...e){if(!a.enabled)return;let r=Number(new Date);a.diff=r-(n||r),a.prev=n,a.curr=r,n=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,n)=>{if("%%"===r)return"%";i++;let o=t.formatters[n];if("function"==typeof o){let t=e[i];r=o.call(a,t),e.splice(i,1),i--}return r}),t.formatArgs.call(a,e),(a.log||t.log).apply(a,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=r,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function r(e,r){let n=t(this.namespace+(typeof r>"u"?":":r)+e);return n.log=this.log,n}function n(e,t){let r=0,n=0,i=-1,o=0;for(;r<e.length;)if(n<t.length&&(t[n]===e[r]||"*"===t[n]))"*"===t[n]?(i=n,o=r):r++,n++;else{if(-1===i)return!1;n=i+1,r=++o}for(;n<t.length&&"*"===t[n];)n++;return n===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){for(let r of(t.save(e),t.namespaces=e,t.names=[],t.skips=[],("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean)))"-"===r[0]?t.skips.push(r.slice(1)):t.names.push(r)},t.enabled=function(e){for(let r of t.skips)if(n(e,r))return!1;for(let r of t.names)if(n(e,r))return!0;return!1},t.humanize=function(){if(b)return v;b=1;function e(e,t,r,n){return Math.round(e/r)+" "+n+(t>=1.5*r?"s":"")}return v=function(t,r){r=r||{};var n,i,o=typeof t;if("string"===o&&t.length>0){var s=t;if(!((s=String(s)).length>100)){var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(s);if(a){var u=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*u;case"weeks":case"week":case"w":return 6048e5*u;case"days":case"day":case"d":return 864e5*u;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*u;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*u;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*u;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u}}}return}if("number"===o&&isFinite(t))return r.long?(i=Math.abs(t))>=864e5?e(t,i,864e5,"day"):i>=36e5?e(t,i,36e5,"hour"):i>=6e4?e(t,i,6e4,"minute"):i>=1e3?e(t,i,1e3,"second"):t+" ms":(n=Math.abs(t))>=864e5?Math.round(t/864e5)+"d":n>=36e5?Math.round(t/36e5)+"h":n>=6e4?Math.round(t/6e4)+"m":n>=1e3?Math.round(t/1e3)+"s":t+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}}(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t)|0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}))(t);let{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(O,O.exports)),O.exports,Object.prototype.hasOwnProperty;let I=typeof C>"u"?()=>!1:e=>C.isBuffer(e);function A(e){return"[object Object]"===Object.prototype.toString.call(e)}let R=["boolean","string","number"],S={};"u">typeof globalThis?S=globalThis:"u">typeof window?S=window:"u">typeof global?S=global:"u">typeof self&&(S=self);var T=S;let P=(e={})=>{let t=e.implementation||Promise;if(!t)throw Error("`Promise` is not available in global scope, and no implementation was passed");return{onReturn:(r,n)=>new t((t,i)=>{let o=n.options.cancelToken;o&&o.promise.then(e=>{r.abort.publish(e),i(e)}),r.error.subscribe(i),r.response.subscribe(r=>{t(e.onlyBody?r.body:r)}),setTimeout(()=>{try{r.request.publish(n)}catch(e){i(e)}},0)})}};class k{__CANCEL__=!0;message;constructor(e){this.message=e}toString(){return"Cancel"+(this.message?`: ${this.message}`:"")}}class j{promise;reason;constructor(e){if("function"!=typeof e)throw TypeError("executor must be a function.");let t=null;this.promise=new Promise(e=>{t=e}),e(e=>{this.reason||(this.reason=new k(e),t(this.reason))})}static source=()=>{let e;return{token:new j(t=>{e=t}),cancel:e}}}P.Cancel=k,P.CancelToken=j,P.isCancel=e=>!(!e||!e?.__CANCEL__);var M=(e,t,r)=>("GET"===r.method||"HEAD"===r.method)&&(e.isNetworkError||!1);function q(e){return 100*Math.pow(2,e)+100*Math.random()}let $=(e={})=>(e=>{let t=e.maxRetries||5,r=e.retryDelay||q,n=e.shouldRetry;return{onError:(e,i)=>{var o;let s=i.options,a=s.maxRetries||t,u=s.retryDelay||r,l=s.shouldRetry||n,c=s.attemptNumber||0;if(null!==(o=s.body)&&"object"==typeof o&&"function"==typeof o.pipe||!l(e,c,s)||c>=a)return e;let f=Object.assign({},i,{options:Object.assign({},s,{attemptNumber:c+1})});return setTimeout(()=>i.channels.request.publish(f),u(c)),null}}})({shouldRetry:M,...e});$.shouldRetry=M;var B=r(7549);function U(e){return"function"==typeof e}function D(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}var F=D(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}});function z(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var L=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,n,i,o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=(0,B.Ju)(o),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);var u=this.initialTeardown;
2if(U(u))try{u()}catch(e){i=e instanceof F?e.errors:[e]}var l=this._finalizers;if(l){this._finalizers=null;try{for(var c=(0,B.Ju)(l),f=c.next();!f.done;f=c.next()){var h=f.value;try{V(h)}catch(e){i=null!=i?i:[],e instanceof F?i=(0,B.fX)((0,B.fX)([],(0,B.zs)(i)),(0,B.zs)(e.errors)):i.push(e)}}}catch(e){r={error:e}}finally{try{f&&!f.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}}if(i)throw new F(i)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)V(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)&&z(t,e)},t.prototype.remove=function(e){var r=this._finalizers;r&&z(r,e),e instanceof t&&e._removeParent(this)},(e=new t).closed=!0,t.EMPTY=e,t}(),N=L.EMPTY;function Y(e){return e instanceof L||e&&"closed"in e&&U(e.remove)&&U(e.add)&&U(e.unsubscribe)}function V(e){U(e)?e():e.unsubscribe()}var H={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},X={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=X.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,(0,B.fX)([e,t],(0,B.zs)(r))):setTimeout.apply(void 0,(0,B.fX)([e,t],(0,B.zs)(r)))},clearTimeout:function(e){var t=X.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function W(e){X.setTimeout(function(){var t=H.onUnhandledError;if(t)t(e);else throw e})}function G(){}var J=Q("C",void 0,void 0);function Q(e,t,r){return{kind:e,value:t,error:r}}var K=null;function Z(e){if(H.useDeprecatedSynchronousErrorHandling){var t=!K;if(t&&(K={errorThrown:!1,error:null}),e(),t){var r=K,n=r.errorThrown,i=r.error;if(K=null,n)throw i}}else e()}var ee=function(e){function t(t){var r=e.call(this)||this;return r.isStopped=!1,t?(r.destination=t,Y(t)&&t.add(r)):r.destination=ea,r}return(0,B.C6)(t,e),t.create=function(e,t,r){return new ei(e,t,r)},t.prototype.next=function(e){this.isStopped?es(Q("N",e,void 0),this):this._next(e)},t.prototype.error=function(e){this.isStopped?es(Q("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?es(J,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}(L),et=Function.prototype.bind;function er(e,t){return et.call(e,t)}var en=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){eo(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){eo(e)}else eo(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){eo(e)}},e}(),ei=function(e){function t(t,r,n){var i,o,s=e.call(this)||this;return U(t)||!t?i={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:s&&H.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&er(t.next,o),error:t.error&&er(t.error,o),complete:t.complete&&er(t.complete,o)}):i=t,s.destination=new en(i),s}return(0,B.C6)(t,e),t}(ee);function eo(e){if(H.useDeprecatedSynchronousErrorHandling)H.useDeprecatedSynchronousErrorHandling&&K&&(K.errorThrown=!0,K.error=e);else W(e)}function es(e,t){var r=H.onStoppedNotification;r&&X.setTimeout(function(){return r(e,t)})}var ea={closed:!0,next:G,error:function(e){throw e},complete:G},eu="function"==typeof Symbol&&Symbol.observable||"@@observable";function el(e){return e}function ec(e){return 0===e.length?el:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}}var ef=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 n=this,i=!function(e){return e&&e instanceof ee||e&&U(e.next)&&U(e.error)&&U(e.complete)&&Y(e)}(e)?new ei(e,t,r):e;return Z(function(){var e=n.operator,t=n.source;i.add(e?e.call(i,t):t?n._subscribe(i):n._trySubscribe(i))}),i},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=eh(t))(function(t,n){var i=new ei({next:function(t){try{e(t)}catch(e){n(e),i.unsubscribe()}},error:n,complete:t});r.subscribe(i)})},e.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},e.prototype[eu]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ec(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=eh(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 eh(e){var t;return null!=(t=null!=e?e:H.Promise)?t:Promise}var ep=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function ed(e){return U(null==e?void 0:e.then)}function eg(e){return Symbol.asyncIterator&&U(null==e?void 0:e[Symbol.asyncIterator])}function ey(e){return TypeError("You provided "+(null!==e&&"object"==typeof e?"an invali
2d object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}var em="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function ev(e){return U(null==e?void 0:e[em])}function eb(e){return(0,B.AQ)(this,arguments,function(){var t,r,n;return(0,B.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,B.N3)(t.read())];case 3:if(n=(r=i.sent()).value,!r.done)return[3,5];return[4,(0,B.N3)(void 0)];case 4:return[2,i.sent()];case 5:return[4,(0,B.N3)(n)];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 ew(e){return U(null==e?void 0:e.getReader)}function ex(e){if(e instanceof ef)return e;if(null!=e){var t,r,n,i;if(U(e[eu])){return t=e,new ef(function(e){var r=t[eu]();if(U(r.subscribe))return r.subscribe(e);throw TypeError("Provided object does not correctly 
2implement Symbol.observable")})}if(ep(e)){return r=e,new ef(function(e){for(var t=0;t<r.length&&!e.closed;t++)e.next(r[t]);e.complete()})}if(ed(e)){return n=e,new ef(function(e){n.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,W)})}if(eg(e))return e_(e);if(ev(e)){return i=e,new ef(function(e){var t,r;try{for(var n=(0,B.Ju)(i),o=n.next();!o.done;o=n.next()){var s=o.value;if(e.next(s),e.closed)return}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}e.complete()})}if(ew(e))return e_(eb(e))}throw ey(e)}function e_(e){return new ef(function(t){(function(e,t){var r,n,i,o;return(0,B.sH)(this,void 0,void 0,function(){var s;return(0,B.YH)(this,function(a){switch(a.label){case 0:a.trys.push([0,5,6,11]),r=(0,B.xN)(e),a.label=1;case 1:return[4,r.next()];case 2:if((n=a.sent()).done)return[3,4];if(s=n.value,t.next(s),t.closed)return[2];a.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return i={error:a.sent()},[3,11];case 6:if(a.trys.push([6,,9,10]),!(n&&!n.done&&(o=r.return)))return[3,8];return[4,o.call(r)];case 7:a.sent(),a.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)})})}function eE(e){return new ef(function(t){ex(e()).subscribe(t)})}function eC(e){return e[e.length-1]}function eO(e){var t;return(t=eC(e))&&U(t.schedule)?e.pop():void 0}function eI(e,t,r,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var o=t.schedule(function(){r(),i?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(o),!i)return o}function eA(e){return function(t){if(U(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")}}function eR(e,t,r,n,i){return new eS(e,t,r,n,i)}var eS=function(e){function t(t,r,n,i,o,s){var a=e.call(this,t)||this;return a.onFinalize=o,a.shouldUnsubscribe=s,a._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,a._error=i?function(e){try{i(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,B.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}(ee);function eT(e,t){return void 0===t&&(t=0),eA(function(r,n){r.subscribe(eR(n,function(r){return eI(n,e,function(){return n.next(r)},t)},function(){return eI(n,e,function(){return n.complete()},t)},function(r){return eI(n,e,function(){return n.error(r)},t)}))})}function eP(e,t){return void 0===t&&(t=0),eA(function(r,n){n.add(e.schedule(function(){return r.subscribe(n)},t))})}function ek(e,t){if(!e)throw Error("Iterable cannot be null");return new ef(function(r){eI(r,t,function(){var n=e[Symbol.asyncIterator]();eI(r,t,function(){n.next().then(function(e){e.done?r.complete():r.next(e.value)})},0,!0)})})}function ej(e,t){return t?function(e,t){if(null!=e){if(U(e[eu]))return ex(e).pipe(eP(t),eT(t));if(ep(e))return new ef(function(r){var n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})});if(ed(e))return ex(e).pipe(eP(t),eT(t));if(eg(e))return ek(e,t);if(ev(e))return new ef(function(r){var n;return eI(r,t,function(){n=e[em](),eI(r,t,function(){var e,t,i;try{t=(e=n.next()).value,i=e.done}catch(e){r.error(e);return}i?r.complete():r.next(t)},0,!0)}),function(){return U(null==n?void 0:n.return)&&n.return()}});if(ew(e))return ek(eb(e),t)}throw ey(e)}(e,t):ex(e)}function eM(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=eO(e);return ej(e,r)}function eq(e,t){return eA(function(r,n){var i=0;r.subscribe(eR(n,function(r){n.next(e.call(t,r,i++))}))})}function e$(e,t,r){return(void 0===r&&(r=1/0),U(t))?e$(function(r,n){return eq(function(e,i){return t(r,e,n,i)})(ex(e(r,n)))},r):("number"==typeof t&&(r=t),eA(function(t,n){var i,o,s,a,u,l,c,f,h;return i=r,s=[],a=0,u=0,l=!1,c=function(){!l||s.length||a||n.complete()},f=function(e){return a<i?h(e):s.push(e)},h=function(t){a++;var r=!1;ex(e(t,u++)).subscribe(eR(n,function(e){o?f(e):n.next(e)},function(){r=!0},void 0,function(){if(r)try{for(a--;s.length&&a<i;)!function(){var e=s.shift();h(e)}();c()}catch(e){n.error(e)}}))}
2,t.subscribe(eR(n,f,function(){l=!0,c()})),function(){}}))}var eB=D(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}});function eU(e,t){var r="object"==typeof t;return new Promise(function(n,i){var o,s=!1;e.subscribe({next:function(e){o=e,s=!0},error:i,complete:function(){s?n(o):r?n(t.defaultValue):i(new eB)}})})}var eD=D(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),eF=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,B.C6)(t,e),t.prototype.lift=function(e){var t=new ez(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new eD},t.prototype.next=function(e){var t=this;Z(function(){var r,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=(0,B.Ju)(t.currentObservers),o=i.next();!o.done;o=i.next())o.value.next(e)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}})},t.prototype.error=function(e){var t=this;Z(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;Z(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},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,i=this.observers;return r||n?N:(this.currentObservers=null,i.push(e),new L(function(){t.currentObservers=null,z(i,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 ef;return e.source=this,e},t.create=function(e,t){return new ez(e,t)},t}(ef),ez=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return(0,B.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:N},t}(eF),eL={now:function(){return(eL.delegate||Date).now()},delegate:void 0},eN=function(e){function t(t,r,n){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===n&&(n=eL);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=r,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,r),i}return(0,B.C6)(t,e),t.prototype.next=function(t){var r=this.isStopped,n=this._buffer,i=this._infiniteTimeWindow,o=this._timestampProvider,s=this._windowTime;!r&&(n.push(t),i||n.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),i=0;i<n.length&&!e.closed;i+=r?1:2)e.next(n[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,n=this._infiniteTimeWindow,i=(n?1:2)*e;if(e<1/0&&i<r.length&&r.splice(0,r.length-i),!n){for(var o=t.now(),s=0,a=1;a<r.length&&r[a]<=o;a+=2)s=a;s&&r.splice(0,s+1)}},t}(eF);function eY(e){void 0===e&&(e={});var t=e.connector,r=void 0===t?function(){return new eF}:t,n=e.resetOnError,i=void 0===n||n,o=e.resetOnComplete,s=void 0===o||o,a=e.resetOnRefCountZero,u=void 0===a||a;return function(e){var t,n,o,a=0,l=!1,c=!1,f=function(){null==n||n.unsubscribe(),n=void 0},h=function(){f(),t=o=void 0,l=c=!1},p=function(){var e=t;h(),null==e||e.unsubscribe()};return eA(function(e,d){a++,c||l||f();var g=o=null!=o?o:r();d.add(function(){0!=--a||c||l||(n=eV(p,u))}),g.subscribe(d),!t&&a>0&&(t=new ei({next:function(e){return g.next(e)},error:function(e){c=!0,f(),n=eV(h,i,e),g.error(e)},complete:function(){l=!0,f(),n=eV(h,s),g.complete()}}),ex(e).subscribe(t))})(e)}}function eV(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];if(!0===t)return void e();if(!1!==t){var i=new ei({next:function(){i.unsubscribe(),e()}});return ex(t.apply(void 0,(0,B.fX)([],(0,B.zs)(r)))).subscribe(i)}}function eH(e){return eA(function(t,r){var n,i=null,o=!1;i=t.subscribe(eR(r,void 0,void 0,function(s){n=ex(e(s,eH(e)(t))),i?(i.unsubscribe(),i=null,n.subscribe(r)):o=!0})),o&&(i.unsubscribe(),i=null,n.subscribe(r))})}function eX(e){return void 0===e&&(e=1/0),e$(el,e)}var eW=function(e){function t(t,r){return e.call(this)||this}return(0,B.C6)(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(L),eG={setInterval:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=eG.delegate;return(null==i?void 0:i.setInterval)?i.setInterval.apply(i,(0,B.fX)([e,t],(0,B.zs)(r))):setInterval.apply(void 0,(0,B.fX)([e,t],(0,B.zs)(r)))},clearInterval:function(e){var t=eG.delegate;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},eJ=function(e){function t(t,r){var n=e.call(this,t,r)||this;
2return n.scheduler=t,n.work=r,n.pending=!1,n}return(0,B.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,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=null!=(r=this.id)?r:this.requestAsyncId(i,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),eG.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&&eG.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,z(n,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(eW),eQ=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=eL.now,e}(),eK=new(function(e){function t(t,r){void 0===r&&(r=eQ.now);var n=e.call(this,t,r)||this;return n.actions=[],n._active=!1,n}return(0,B.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}(eQ))(eJ);function eZ(e,t){var r=U(e)?e:function(){return e},n=function(e){return e.error(r())};return new ef(t?function(e){return t.schedule(n,0,e)}:n)}function e0(e){return eA(function(t,r){try{t.subscribe(r)}finally{r.add(e)}})}var e1=new ef(function(e){return e.complete()});function e2(e,t){var r="object"==typeof t;return new Promise(function(n,i){var o=new ei({next:function(e){n(e),o.unsubscribe()},error:i,complete:function(){r?n(t.defaultValue):i(new eB)}});e.subscribe(o)})}var e3=r(8106),e6=Array.isArray,e5=Array.isArray;function e8(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=U(eC(e))?e.pop():void 0;return r?function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ec(e)}(e8.apply(void 0,(0,B.fX)([],(0,B.zs)(e))),eq(function(e){return e5(e)?r.apply(void 0,(0,B.fX)([],(0,B.zs)(e))):r(e)})):eA(function(t,r){var n,i,o;(n=(0,B.fX)([t],(0,B.zs)(1===e.length&&e6(e[0])?e[0]:e)),void 0===o&&(o=el),function(e){var t,r,s;t=void 0,r=function(){for(var t=n.length,r=Array(t),s=t,a=t,u=function(t){var u,l,c;u=i,l=function(){var u=ej(n[t],i),l=!1;u.subscribe(eR(e,function(n){r[t]=n,!l&&(l=!0,a--),a||e.next(o(r.slice()))},function(){--s||e.complete()}))},c=e,u?eI(c,u,l):l()},l=0;l<t;l++)u(l)},s=e,t?eI(s,t,r):r()})(r)})}function e4(e,t){return eA(function(r,n){var i=0;r.subscribe(eR(n,function(r){return e.call(t,r,i++)&&n.next(r)}))})}let e9="drafts.",e7="versions.";function te(e){return e.startsWith(e9)}function tt(e){return e.startsWith(e7)}function tr(e){return tt(e)?e9+to(e):te(e)?e:e9+e}function tn(e,t){if("drafts"===t||"published"===t)throw Error('Version can not be "published" or "drafts"');return`${e7}${t}.${to(e)}`}function ti(e){if(!tt(e))return;let[t,r,...n]=e.split(".");return r}function to(e){return tt(e)?e.split(".").slice(2).join("."):te(e)?e.slice(e9.length):e}let ts=e=>crypto.getRandomValues(new Uint8Array(e)),ta=/\r\n|[\n\r\u2028\u2029]/;function tu(e,t){let r=0;for(let n=0;n<t.length;n++){let i=t[n].length+1;if(r+i>e)return{line:n+1,column:e-r};r+=i}return{line:t.length,column:t[t.length-1]?.length??0}}class tl extends Error{response;statusCode=400;responseBody;details;constructor(e,t){let r=tf(e,t);super(r.message),Object.assign(this,r)}}
2class tc extends Error{response;statusCode=500;responseBody;details;constructor(e){let t=tf(e);super(t.message),Object.assign(this,t)}}function tf(e,t){var r,n,i;let o=e.body,s={response:e,statusCode:e.statusCode,responseBody:(r=o,-1!==(e.headers["content-type"]||"").toLowerCase().indexOf("application/json")?JSON.stringify(r,null,2):r),message:"",details:void 0};if(!(0,e3.u4)(o))return s.message=td(e,o),s;let a=o.error;if("string"==typeof a&&"string"==typeof o.message)return s.message=`${a} - ${o.message}`,s;if("object"!=typeof a||null===a)return"string"==typeof a?s.message=a:"string"==typeof o.message?s.message=o.message:s.message=td(e,o),s;if("type"in(n=a)&&"mutationError"===n.type&&"description"in n&&"string"==typeof n.description||"type"in(i=a)&&"actionError"===i.type&&"description"in i&&"string"==typeof i.description){let e=a.items||[],t=e.slice(0,5).map(e=>e.error?.description).filter(Boolean),r=t.length?`:
3- ${t.join(`
4- `)}`:"";return e.length>5&&(r+=`
5...and ${e.length-5} more`),s.message=`${a.description}${r}`,s.details=o.error,s}return th(a)?(s.message=tp(a,t?.options?.query?.tag),s.details=o.error):"description"in a&&"string"==typeof a.description?(s.message=a.description,s.details=a):s.message=td(e,o),s}function th(e){return(0,e3.u4)(e)&&"queryParseError"===e.type&&"string"==typeof e.query&&"number"==typeof e.start&&"number"==typeof e.end}function tp(e,t){let{query:r,start:n,end:i,description:o}=e;if(!r||typeof n>"u")return`GROQ query parse error: ${o}`;let s=t?`
6
7Tag: ${t}`:"";return`GROQ query parse error:
8${function(e,t,r){let n=e.split(ta),{start:i,end:o,markerLines:s}=function(e,t){let r={...e.start},n={...r,...e.end},i=r.line??-1,o=r.column??0,s=n.line,a=n.column,u=Math.max(i-3,0),l=Math.min(t.length,s+3);-1===i&&(u=0),-1===s&&(l=t.length);let c=s-i,f={};if(c)for(let e=0;e<=c;e++){let r=e+i;if(o)if(0===e){let e=t[r-1].length;f[r]=[o,e-o+1]}else if(e===c)f[r]=[0,a];else{let n=t[r-e].length;f[r]=[0,n]}else f[r]=!0}else o===a?o?f[i]=[o,0]:f[i]=!0:f[i]=[o,a-o];return{start:u,end:l,markerLines:f}}({start:tu(t.start,n),end:t.end?tu(t.end,n):void 0},n),a=`${o}`.length;return e.split(ta,o).slice(i,o).map((e,t)=>{let n=i+1+t,o=` ${` ${n}`.slice(-a)} |`,u=s[n],l=!s[n+1];if(!u)return` ${o}${e.length>0?` ${e}`:""}`;let c="";if(Array.isArray(u)){let t=e.slice(0,Math.max(u[0]-1,0)).replace(/[^\t]/g," "),n=u[1]||1;c=`
9 `+o.replace(/\d/g," ")+" "+t+"^".repeat(n),l&&r&&(c+=" "+r)}return">"+o+(e.length>0?` ${e}`:"")+c}).join(`
10`)}(r,{start:n,end:i},o)}${s}`}function td(e,t){var r,n;let i="string"==typeof t?` (${n=100,(r=t).length>100?`${r.slice(0,n)}\u2026`:r})`:"",o=e.statusMessage?` ${e.statusMessage}`:"";return`${e.method}-request to ${e.url} resulted in HTTP ${e.statusCode}${o}${i}`}class tg extends Error{projectId;addOriginUrl;constructor({projectId:e}){super("CorsOriginError"),this.name="CorsOriginError",this.projectId=e;let t=new URL(`https://sanity.io/manage/project/${e}/api`);if("u">typeof location){let{origin:e}=location;t.searchParams.set("cors","add"),t.searchParams.set("origin",e),this.addOriginUrl=t,this.message=`The current origin is not allowed to connect to the Live Content API. Add it here: ${t}`}else this.message=`The current origin is not allowed to connect to the Live Content API. Change your configuration here: ${t}`}}let ty={onResponse:(e,t)=>{if(e.statusCode>=500)throw new tc(e);if(e.statusCode>=400)throw new tl(e,t);return e}};function tm(e,t={}){return((e=[],t=m)=>(function e(t,r){let n=[],i=c.reduce((e,t)=>(e[t]=e[t]||[],e),{processOptions:[o],validateOptions:[u]});function s(e){let t,n=l.reduce((e,t)=>(e[t]=function(){let e=Object.create(null),t=0;return{publish:function(t){for(let r in e)e[r](t)},subscribe:function(r){let n=t++;return e[n]=r,function(){delete e[n]}}}}(),e),{}),o=function(e,t,...r){let n="onError"===e,o=t;for(let t=0;t<i[e].length&&(o=(0,i[e][t])(o,...r),!n||o);t++);return o},s=o("processOptions",e);o("validateOptions",s);let a={options:s,channels:n,applyMiddleware:o},u=n.request.subscribe(e=>{t=r(e,(t,r)=>((e,t,r)=>{let i=e,s=t;if(!i)try{s=o("onResponse",t,r)}catch(e){s=null,i=e}(i=i&&o("onError",i,r))?n.error.publish(i):s&&n.response.publish(s)})(t,r,e))});n.abort.subscribe(()=>{u(),t&&t.abort()});let c=o("onReturn",n,a);return c===n&&n.request.publish(a),c}return s.use=function(e){if(!e)throw Error("Tried to add middleware that resolved to fal
10sey value");if("function"==typeof e)throw Error("Tried to add middleware that was a function. It probably expects you to pass options to it.");if(e.onReturn&&i.onReturn.length>0)throw Error("Tried to add new middleware with `onReturn` handler, but another handler has already been registered for this event");return c.forEach(t=>{e[t]&&i[t].push(e[t])}),n.push(e),s},s.clone=()=>e(n,r),t.forEach(s.use),s})(e,t))([$({shouldRetry:tv}),...e,function(e={}){let t={},r=t=>void 0!==e.ignoreWarnings&&(Array.isArray(e.ignoreWarnings)?e.ignoreWarnings:[e.ignoreWarnings]).some(e=>"string"==typeof e?t.includes(e):e instanceof RegExp&&e.test(t));return{onResponse:e=>{let n=e.headers["x-sanity-warning"];for(let e of Array.isArray(n)?n:[n])!e||t[e]||r(e)||(t[e]=!0,console.warn(e));return e}}}(t),{processOptions:e=>{let t=e.body;return!t||"function"==typeof t.pipe||I(t)||-1===R.indexOf(typeof t)&&!Array.isArray(t)&&!function(e){if(!1===A(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!1!==A(r)&&!1!==r.hasOwnProperty("isPrototypeOf")}(t)?e:Object.assign({},e,{body:JSON.stringify(e.body),headers:Object.assign({},e.headers,{"Content-Type":"application/json"})})}},{onResponse:e=>{let t=e.headers["content-type"]||"",r=-1!==t.indexOf("application/json");return e.body&&t&&r?Object.assign({},e,{body:function(e){try{return JSON.parse(e)}catch(e){throw e.message=`Failed to parsed response body as JSON: ${e.message}`,e}}(e.body)}):e},processOptions:e=>Object.assign({},e,{headers:Object.assign({Accept:"application/json"},e.headers)})},{onRequest:e=>{if("xhr"!==e.adapter)return;let t=e.request,r=e.context;function n(e){return t=>{let n=t.lengthComputable?t.loaded/t.total*100:-1;r.channels.progress.publish({stage:e,percent:n,total:t.total,loaded:t.loaded,lengthComputable:t.lengthComputable})}}"upload"in t&&"onprogress"in t.upload&&(t.upload.onprogress=n("upload")),"onprogress"in t&&(t.onprogress=n("download"))}},ty,function(e={}){let t=e.implementation||T.Observable;if(!t)throw Error("`Observable` is not available in global scope, and no implementation was passed");return{onReturn:(e,r)=>new t(t=>(e.error.subscribe(e=>t.error(e)),e.progress.subscribe(e=>t.next(Object.assign({type:"progress"},e))),e.response.subscribe(e=>{t.next(Object.assign({type:"response"},e)),t.complete()}),e.request.publish(r),()=>e.abort.publish()))}}({implementation:ef})])}function tv(e,t,r){if(0===r.maxRetries)return!1;let n="GET"===r.method||"HEAD"===r.method,i=(r.uri||r.url).startsWith("/data/query"),o=e.response&&(429===e.response.statusCode||502===e.response.statusCode||503===e.response.statusCode);return(!!n||!!i)&&!!o||$.shouldRetry(e,t,r)}function tb(e){return"https://www.sanity.io/help/"+e}let tw=["image","file"],tx=["before","after","replace"],t_=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")},tE=(e,t)=>{if(null===t||"object"!=typeof t||Array.isArray(t))throw Error(`${e}() takes an object of properties`)},tC=(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`)},tO=(e,t)=>{if(!t._id)throw Error(`${e}() requires that the document contains an ID ("_id" property)`);tC(e,t._id)},tI=(e,t)=>{if(!t._type)throw Error(`\`${e}()\` requires that the document contains a type (\`_type\` property)`);((e,t)=>
10{if("string"!=typeof t)throw Error(`\`${e}()\`: \`${t}\` is not a valid document type`)})(e,t._type)},tA=e=>{if(!e.dataset)throw Error("`dataset` must be provided to perform queries");return e.dataset||""},tR=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},tS=e=>{if(!e["~experimental_resource"])throw Error("`resource` must be provided to perform resource queries");let{type:t,id:r}=e["~experimental_resource"];switch(t){case"dataset":if(2!==r.split(".").length)throw Error('Dataset resource ID must be in the format "project.dataset"');return;case"dashboard":case"media-library":case"canvas":return;default:throw Error(`Unsupported resource type: ${t.toString()}`)}},tT=(e,t)=>{if(t["~experimental_resource"])throw Error(`\`${e}\` does not support resource-based operations`)},tP=e=>(function(e){let t=!1,r;return(...n)=>(t||(r=e(...n),t=!0),r)})((...t)=>console.warn(e.join(" "),...t)),tk=tP(["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"]),tj=tP(["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."]),tM=tP(["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."]),tq=tP(["The `previewDrafts` perspective has been renamed to  `drafts` and will be removed in a future API version"]),t$=tP(["You have configured Sanity client to use a token in the browser. This may cause unintentional security issues.",`See ${tb("js-client-browser-token")} for more information and how to hide this warning.`]),tB=tP(["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`."]),tU=tP(["Using the Sanity client without specifying an API version is deprecated.",`See ${tb("js-client-api-version")}`]),tD=(tP(["The default export of @sanity/client has been deprecated. Use the named export `createClient` instead."]),tP(["You have called `createVersion()` with a defined `document`. The recommended approach is to provide a `baseId` and `releaseId` instead."])),tF={apiHost:"https://api.sanity.io",apiVersion:"1",useProjectHostname:!0,stega:{enabled:!1}},tz=["localhost","127.0.0.1","0.0.0.0"];function tL(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 tN=(e,t)=>{let r,n={...t,...e,stega:{..."boolean"==typeof t.stega?{enabled:t.stega}:t.stega||tF.stega,..."boolean"==typeof e.stega?{enabled:e.stega}:e.stega||{}}};n.apiVersion||tU();let i={...tF,...n},o=i.useProjectHostname&&!i["~experimental_resource"];if(typeof Promise>"u"){let e=tb("js-client-promise-polyfill");throw Error(`No native Promise-implementation found, polyfill needed - see ${e}`)}if(o&&!i.projectId)throw Error("Configuration must contain `projectId`");if(i["~experimental_resource"]&&tS(i),"u">typeof i.perspective&&tL(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 s="u">typeof window&&window.location&&window.location.hostname,a=s&&(r=window.location.hostname,-1!==tz.indexOf(r)),u=!!i.token;i.withCredentials&&u&&(tB(),i.withCredentials=!1),s&&a&&u&&!0!==i.ignoreBrowserTokenWarning?t$():typeof i.useCdn>"u"&&tj(),o&&(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&&t_(i.dataset),"requestTagPrefix"in i&&(i.requestTagPrefix=i.requestTagPrefix?tR(i.requestTagPrefix).replace(/\.+$/,""):void 0),i.apiVersion=`${i.apiVersion}`.replace(/^v/,""),i.isDefaultApi=i.apiHost===tF.apiHost,!0===i.useCdn&&i.withCredentials&&tk(),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 l=i.apiHost.split("://",2),c=l[0],f=l[1],h=i.isDefaultApi?"apicdn.sanity.io":f;return o?(i.url=`${c}://${i.projectId}.${f}/v${i.apiVersion}`,i.cdnUrl=`${c}://${i.projectId}.${h}/v${i.apiVersion}
10`):(i.url=`${i.apiHost}/v${i.apiVersion}`,i.cdnUrl=i.url),i};class tY extends Error{name="ConnectionFailedError"}class tV extends Error{name="DisconnectError";reason;constructor(e,t,r={}){super(e,r),this.reason=t}}class tH extends Error{name="ChannelError";data;constructor(e,t){super(e),this.data=t}}class tX extends Error{name="MessageError";data;constructor(e,t,r={}){super(e,r),this.data=t}}class tW extends Error{name="MessageParseError"}let tG=["channelError","disconnect"];function tJ(e,t){return eE(()=>{let t=e();return t&&(t instanceof ef||U(t.lift)&&U(t.subscribe))?t:eM(t)}).pipe(e$(e=>{var r,n;return r=e,n=t,new ef(e=>{let t=n.includes("open"),i=n.includes("reconnect");function o(t){if("data"in t){let[r,n]=tQ(t);e.error(r?new tW("Unable to parse EventSource error message",{cause:n}):new tX((n?.data).message,n));return}r.readyState===r.CLOSED?e.error(new tY("EventSource connection failed")):i&&e.next({type:"reconnect"})}function s(){e.next({type:"open"})}function a(t){let[n,i]=tQ(t);if(n)return void e.error(new tW("Unable to parse EventSource message",{cause:n}));if("channelError"===t.type){let t=new URL(r.url).searchParams.get("tag");e.error(new tH(function(e,t){let r=e.error;return r?th(r)?tp(r,t):r.description?r.description:"string"==typeof r?r:JSON.stringify(r,null,2):e.message||"Unknown listener error"}(i?.data,t),i.data));return}if("disconnect"===t.type)return void e.error(new tV(`Server disconnected client: ${i.data?.reason||"unknown error"}`));e.next({type:t.type,id:t.lastEventId,...i.data?{data:i.data}:{}})}r.addEventListener("error",o),t&&r.addEventListener("open",s);let u=[...new Set([...tG,...n])].filter(e=>"error"!==e&&"open"!==e&&"reconnect"!==e);return u.forEach(e=>r.addEventListener(e,a)),()=>{r.removeEventListener("error",o),t&&r.removeEventListener("open",s),u.forEach(e=>r.removeEventListener(e,a)),r.close()}})}))}function tQ(e){try{let t="string"==typeof e.data&&JSON.parse(e.data);return[null,{type:e.type,id:e.lastEventId,...!function(e){for(let t in e)return!1;return!0}(t)?{data:t}:{}}]}catch(e){return[e,null]}}function tK(e){if("string"==typeof e)return{id:e};if(Array.isArray(e))return{query:"*[_id in $ids]",params:{ids:e}};if("object"==typeof e&&null!==e&&"query"in e&&"string"==typeof e.query)return"params"in e&&"object"==typeof e.params&&null!==e.params?{query:e.query,params:e.params}:{query:e.query};let t=["* Document ID (<docId>)","* Array of document IDs","* Object containing `query`"].join(`
11`);throw Error(`Unknown selection - must be one of:
12
13${t}`)}class tZ{selection;operations;constructor(e,t={}){this.selection=e,this.operations=t}set(e){return this._assign("set",e)}setIfMissing(e){return this._assign("setIfMissing",e)}diffMatchPatch(e){return tE("diffMatchPatch",e),this._assign("diffMatchPatch",e)}unset(e){if(!Array.isArray(e))throw Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=Object.assign({},this.operations,{unset:e}),this}inc(e){return this._assign("inc",e)}dec(e){return this._assign("dec",e)}insert(e,t,r){return((e,t,r)=>{let n="insert(at, selector, items)";if(-1===tx.indexOf(e)){let e=tx.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`)})(e,t,r),this._assign("insert",{[e]:t,items:r})}append(e,t){return this.insert("after",`${e}[-1]`,t)}prepend(e,t){return this.insert("before",`${e}[0]`,t)}splice(e,t,r,n){let i=t<0?t-1:t,o=typeof r>"u"||-1===r?-1:Math.max(0,t+r),s=`${e}[${i}:${i<0&&o>=0?"":o}]`;return this.insert("replace",s,n||[])}ifRevisionId(e){return this.operations.ifRevisionID=e,this}serialize(){return{...tK(this.selection),...this.operations}}toJSON(){return this.serialize()}reset(){return this.operations={},this}_assign(e,t,r=!0){return tE(e,t),this.operations=Object.assign({},this.operations,{[e]:Object.assign({},r&&this.operations[e]||{},t)}),this}_set(e,t){return this._assign(e,t,!1)}}class t0 extends tZ{#a;constructor(e,t,r){super(e,t),this.#a=r}clone(){return new t0(this.selection,{...this.operations},this.#a)}commit(e){if(!this.#a)throw Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");let t=Object.assign({returnFirst:"string"==typeof this.selection,returnDocuments:!0},e);return this.#a.mutate({patch:this.serialize()},t)}}class t1 extends tZ{#a;constructor(e,t,r){super(e,t),this.#a=r}clone(){return new t1(this.selection,{...this.operations},this.#a)}commit(e){if(!this.#a)throw Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");let t=Object.assign({returnFirst:"string"==typeof this.selection,returnDocuments:!0},e);return this.#a.mutate({patch:this.serialize()},t)}}let t2={returnDocuments:!1};class t3{operations;trxId;constructor(e=[],t){this.operations=e,this.trxId=t}create(e){return tE("create",e),this._add({create:e})}createIfNotExists(e){let t="createIfNotExists";return tE(t,e),tO(t,e),this._add({[t]:e})}createOrReplace(e){let t="createOrReplace";return tE(t,e),tO(t,e),this._add({[t]:e})}delete(e){return tC("delete",e),this._add({delete:{id:e}})}transactionId(e){return e?(this.trxId=e,this):this.trxId}serialize(){return[...this.operations]}toJSON(){return this.serialize()}reset(){return this.operations=[],this}_add(e){return this.operations.push(e),this}}class t6 extends t3{#a;constructor(e,t,r){super(e,r),this.#a=t}clone(){return new t6([...this.operations],this.#a,this.trxId)}commit(e){if(!this.#a)throw Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return this.#a.mutate(this.serialize(),Object.assign({transactionId:this.trxId},t2,e||{}))}patch(e,t){let r="function"==typeof t,n="string"!=typeof e&&e instanceof t1,i="object"==typeof e&&("query"in e||"id"in e);if(n)return this._add({patch:e.serialize()});if(r){let r=t(new t1(e,{},this.#a));if(!(r instanceof t1))throw Error("function passed to `patch()` must return the patch");return this._add({patch:r.serialize()})}if(i){let r=new t1(e,t||{},this.#a);return this._add({patch:r.serialize()})}return this._add({patch:{id:e,...t}})}}class t5 extends t3{#a;constructor(e,t,r){super(e,r),this.#a=t}clone(){return new t5([...this.operations],this.#a,this.trxId)}commit(e){if(!this.#a)throw Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return this.#a.mutate(this.serialize(),Object.assign({transactionId:this.trxId},t2,e||{}))}patch(e,t){let r="function"==typeof t;if("string"!=typeof e&&e instanceof t0)return this._add({patch:e.serialize()});if(r){let r=t(new t0(e,{},this.#a));if(!(r instanceof t0))throw Error("function passed to `patch()` must return the patch");return this._add({patch:r.serialize()})}return this._add({patch:{id:e,...t}})}}let t8=({query:e,params:t={},options:r={}})=>{let n=new URLSearchParams,{tag:i,includeMutations:o,returnQuery:s,...a}=r;for(let[r,o]of(i&&n.append("tag",i),n.append("query",e),Object.entries(t)))void 0!==o&&n.append(`$${r}`,JSON.stringify(o));for(let[e,t]of Object.entries(a))t&&n.append(e,`${t}`);return!1===s&&n.append("returnQuery","false"),!1===o&&n.append("includeMutations","fal
13se"),`?${n}`},t4=e=>"response"===e.type,t9=e=>e.body;function t7(e,t,n,i,o={},s={}){let a="stega"in s?{...n||{},..."boolean"==typeof s.stega?{enabled:s.stega}:s.stega||{}}:n,u=a.enabled?(0,e3.Q)(o):o,l=!1===s.filterResponse?e=>e:e=>e.result,{cache:c,next:f,...h}={useAbortSignal:"u">typeof s.signal,resultSourceMap:a.enabled?"withKeyArraySelector":s.resultSourceMap,...s,returnQuery:!1===s.filterResponse&&!1!==s.returnQuery},p=rp(e,t,"query",{query:i,params:u},"u">typeof c||"u">typeof f?{...h,fetch:{cache:c,next:f}}:h);return a.enabled?p.pipe(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e8.apply(void 0,(0,B.fX)([],(0,B.zs)(e)))}(ej(r.e(32).then(r.bind(r,7032)).then(function(e){return e.stegaEncodeSourceMap$1}).then(({stegaEncodeSourceMap:e})=>e))),eq(([e,t])=>{let r=t(e.result,e.resultSourceMap,a);return l({...e,result:r})})):p.pipe(eq(l))}function re(e,t,r,n={}){let i={uri:rb(e,"doc",(()=>{if(!n.releaseId)return r;let e=ti(r);if(!e){if(te(r))throw Error(`The document ID (\`${r}\`) is a draft, but \`options.releaseId\` is set as \`${n.releaseId}\``);return tn(r,n.releaseId)}if(e!==n.releaseId)throw Error(`The document ID (\`${r}\`) is already a version of \`${e}\` release, but this does not match the provided \`options.releaseId\` (\`${n.releaseId}\`)`);return r})()),json:!0,tag:n.tag,signal:n.signal,query:void 0!==n.includeAllVersions?{includeAllVersions:n.includeAllVersions}:void 0};return rm(e,t,i).pipe(e4(t4),eq(e=>{let t=e.body.documents;return t?n.includeAllVersions?t:t[0]:n.includeAllVersions?[]:void 0}))}function rt(e,t,r,n={}){let i={uri:rb(e,"doc",r.join(",")),json:!0,tag:n.tag,signal:n.signal};return rm(e,t,i).pipe(e4(t4),eq(e=>{let t,n,i=(t=e.body.documents||[],n=e=>e._id,t.reduce((e,t)=>(e[n(t)]=t,e),Object.create(null)));return r.map(e=>i[e]||null)}))}function rr(e,t,r,n={}){return rp(e,t,"query",{query:"*[sanity::partOfRelease($releaseId)]",params:{releaseId:r}},n)}function rn(e,t,r,n){return tO("createIfNotExists",r),rd(e,t,r,"createIfNotExists",n)}function ri(e,t,r,n){return tO("createOrReplace",r),rd(e,t,r,"createOrReplace",n)}function ro(e,t,r,n,i){return tO("createVersion",r),tI("createVersion",r),tD(),rh(e,t,{actionType:"sanity.action.document.version.create",publishedId:n,document:r},i)}function rs(e,t,r,n,i,o,s){if(!n)throw Error("`createVersion()` requires `baseId` when no `document` is provided");if(!r)throw Error("`createVersion()` requires `publishedId` when `baseId` is provided");return tC("createVersion",n),tC("createVersion",r),rh(e,t,{actionType:"sanity.action.document.version.create",publishedId:r,baseId:n,versionId:i?tn(r,i):tr(r),ifBaseRevisionId:o},s)}function ra(e,t,r,n){return rp(e,t,"mutate",{mutations:[{delete:tK(r)}]},n)}function ru(e,t,r,n=!1,i){return rh(e,t,{actionType:"sanity.action.document.version.discard",versionId:r,purge:n},i)}function rl(e,t,r,n){return tO("replaceVersion",r),tI("replaceVersion",r),rh(e,t,{actionType:"sanity.action.document.version.replace",document:r},n)}function rc(e,t,r,n,i){return rh(e,t,{actionType:"sanity.action.document.version.unpublish",versionId:r,publishedId:n},i)}function rf(e,t,r,n){let i;return rp(e,t,"mutate",{mutations:Array.isArray(i=r instanceof t1||r instanceof t0?{patch:r.serialize()}:r instanceof t6||r instanceof t5?r.serialize():r)?i:[i],transactionId:n&&n.transactionId||void 0},n)}function rh(e,t,r,n){let i=Array.isArray(r)?r:[r],o=n&&n.transactionId||void 0;return rp(e,t,"actions",{actions:i,transactionId:o,skipCrossDatasetReferenceValidation:n&&n.skipCrossDatasetReferenceValidation||void 0,dryRun:n&&n.dryRun||void 0},n)}function rp(e,t,r,n,i={}){let o="mutate"===r,s="actions"===r,a=o||s?"":t8(n),u=!o&&!s&&a.length<11264,l=u?a:"",c=i.returnFirst,{timeout:f,token:h,tag:p,headers:d,returnQuery:g,lastLiveEventId:y,cacheMode:m}=i,v={method:u?"GET":"POST",uri:rb(e,r,l),json:!0,body:u?void 0:n,query:o&&((e={})=>{let t,r;return{dryRun:e.dryRun,returnIds:!0,returnDocuments:(t=e.returnDocuments,r=!0,!1===t?void 0:typeof t>"u"?r:t),visibility:e.visibility||"sync",autoGenerateArrayKeys:e.autoGenerateArrayKeys,skipCrossDatasetReferenceValidation:e.skipCrossDatasetReferenceValidation}})(i),timeout:f,headers:d,token:h,tag:p,returnQuery:g,perspective:i.perspective,resultSourceMap:i.resultSourceMap,lastLiveEventId:Array.isArray(y)?y[0]:y,cacheMode:m,canUseCdn:"query"===r,signal:i.signal,fetch:i.fetch,useAbortSignal:i.useAbortSignal,useCdn:i.useCdn};return rm(e,t,v).pipe(e4(t4),eq(t9),eq(e=>{if(!o)return e;let t=e.results||[];if(i.returnDocuments)return c?t[0]&&t[0].document:t.map(e=>e.document);let r=c?t[0]&&t[0].id:t.map(e=>e.id);return{transactionId:e.transactionId,results:t,[c?"documentId":"documentIds"]:r}}))}function rd(e,t,r,n,i={}){return rp(e,t,"mutate",{mutations:[{[n]:r}]},Object.assign({returnFirst:!0,returnDocuments:!0},i))}let rg=e=>void 0!==e.config().dataset&&void 0!==e.config().projectId||void 0!==e.config()["~experimental_resource"],ry=(e,t)=>rg(e)&&t.startsWith(rb(e,"query"));function rm(e,t,r){var n;let i=r.url||r.uri,o=e.config(),s=typeof r.canUseCdn>"u"?["GET","HEAD"].indexOf(r.method||"GET")>=0&&(i.startsWith("/data/")||ry(e,i)||rg(e)&&i.startsWith(rb(e,"mutate"))||rg(e)&&i.startsWith(rb(e,"doc",""))||rg(e)&&i.startsWith(rb(e,"listen"))||rg(e)&&i.startsWith(rb(e,"history",""))):r.canUseCdn,a=(r.useCdn??o.useCdn)&&s,u=r.tag&&o.requestTagPrefix?[o.requestTagPrefix,r.tag].join("."):r.tag||o.requestTagPrefix;if(u&&null!==r.tag&&(r.query={tag:tR(u),...r.query}),["GET","HEAD","POST"].indexOf(r.method||"GET")>=0&&ry(e,i)){let e=r.resultSourceMap??o.resultSourceMap;void 0!==e&&!1!==e&&(r.query={resultSourceMap:e,...r.query});let t=r.perspective||o.perspective;"u">typeof t&&("previewDrafts"===t&&tq(),tL(t),r.query={perspective:Array.isArray(t)?t.join(","):t,...r.query},(Array.isArray(t)&&t.length>0||"previewDrafts"===t||"drafts"===t)&&a&&(a=!1,tM())),r.lastLiveEventId&&(r.query={...r.query,lastLiveEventId:r.lastLiveEventId}),!1===r.returnQuery&&(r.query={returnQuery:"false",...r.query}),a&&"noStale"==r.cacheMode&&(r.query={cacheMode:"noStale",...r.query})}let l=function(e,t={}){let r={};e.headers&&Object.assign(r,e.headers);let n=t.token||e.token;n&&(r.Authorization=`Bearer ${n}`),t.useGlobalApi||e.useProjectHostname||!e.projectId||(r["X-Sanity-Project-ID"]=e.projectId);let i=!!(typeof t.withCredentials>"u"?e.withCredentials:t.withCredentials),o=typeof t.timeout>"u"?e.timeout:t.timeout;return Object.assign({},t,{headers:Object.assign({},r,t.headers||{}),timeout:typeof o>"u"?3e5:o,proxy:t.proxy||e.proxy,json:!0,withCredentials:i,fetch:"object"==typeof t.fetch&&"object"==typeof e.fetch?{...e.fetch,...t.fetch}:t.fetch||e.fetch})}(o,Object.assign({},r,{url:rw(e,i,a)})),c=new ef(e=>t(l,o.requester).subscribe(e));return r.signal?c.pipe((n=r.signal,e=>new ef(t=>{let r=()=>t.error(function(e){if(rx)return new DOMException(e?.reason??"The operation was aborted.","AbortError");let t=Error(e?.reason??"The operation was aborted.");return t.name="AbortError",t}(n));if(n&&n.aborted)return void r();let i=e.subscribe(t);return n.addEventListener("abort",r),()=>{n.removeEventListener("abort",r),i.unsubscribe()}}))):c}function rv(e,t,r){return rm(e,t,r).pipe(e4(e=>"response"===e.type),eq(e=>e.body))}function rb(e,t,r){let n=e.config();if(n["~experimental_resource"]){tS(n);let e=r_(n),i=void 0!==r?`${t}/${r}`:t;return`${e}/${i}`.replace(/\/($|\?)/,"$1")}let i=tA(n),o=`/${t}/${i}`;return`/data${void 0!==r?`${o}/${r}`:o}`.replace(/\/($|\?)/,"$1")}function rw(e,t,r=!1){let{url:n,cdnUrl:i}=e.config();return`${r?i:n}/${t.replace(/^\//,"")}`}let rx=!!globalThis.DOMException,r_=e=>{if(!e["~experimental_resource"])throw Error("`resource` must be provided to perform resource queries");let{type:t,id:r}=e["~experimental_resource"];switch(t){case"dataset":{let e=r.split(".");if(2!==e.length)throw Error('Dataset ID must be in the format "project.dataset"');return`/projects/${e[0]}/datasets/${e[1]}`}case"canvas":return`/canvases/${r}`;case"media-library":return`/media-libraries/${r}`;case"dashboard":return`/dashboards/${r}`;default:throw Error(`Unsupported resource type: ${t.toString()}`)}};function rE(e,t,r){let n=tA(e.config());return rv(e,t,{method:"POST",uri:`/agent/action/generate/${n}`,body:r})}function rC(e,t,r){let n=tA(e.config());return rv(e,t,{method:"POST",uri:`/agent/action/transform/${n}`,body:r})}function rO(e,t,r){let n=tA(e.config());return rv(e,t,{method:"POST",uri:`/agent/action/translate/${n}`,body:r})}class rI{#a;#u;
13constructor(e,t){this.#a=e,this.#u=t}generate(e){return rE(this.#a,this.#u,e)}transform(e){return rC(this.#a,this.#u,e)}translate(e){return rO(this.#a,this.#u,e)}}class rA{#a;#u;constructor(e,t){this.#a=e,this.#u=t}generate(e){return eU(rE(this.#a,this.#u,e))}transform(e){return eU(rC(this.#a,this.#u,e))}translate(e){return eU(rO(this.#a,this.#u,e))}prompt(e){return eU(function(e,t,r){let n=tA(e.config());return rv(e,t,{method:"POST",uri:`/agent/action/prompt/${n}`,body:r})}(this.#a,this.#u,e))}patch(e){return eU(function(e,t,r){let n=tA(e.config());return rv(e,t,{method:"POST",uri:`/agent/action/patch/${n}`,body:r})}(this.#a,this.#u,e))}}class rR{#a;#u;constructor(e,t){this.#a=e,this.#u=t}upload(e,t,r){return rT(this.#a,this.#u,e,t,r)}}class rS{#a;#u;constructor(e,t){this.#a=e,this.#u=t}upload(e,t,r){return eU(rT(this.#a,this.#u,e,t,r).pipe(e4(e=>"response"===e.type),eq(e=>e.body.document)))}}function rT(e,t,r,n,i={}){var o,s;if(-1===tw.indexOf(r))throw Error(`Invalid asset type: ${r}. Must be one of ${tw.join(", ")}`);let a=i.extract||void 0;a&&!a.length&&(a=["none"]);let u=e.config(),l=(o=i,s=n,!(typeof File>"u")&&s instanceof File?Object.assign({filename:!1===o.preserveFilename?void 0:s.name,contentType:s.type},o):o),{tag:c,label:f,title:h,description:p,creditLine:d,filename:g,source:y}=l,m={label:f,title:h,description:p,filename:g,meta:a,creditLine:d};return y&&(m.sourceId=y.id,m.sourceName=y.name,m.sourceUrl=y.url),rm(e,t,{tag:c,method:"POST",timeout:l.timeout||0,uri:function(e,t){let r="image"===t?"images":"files";if(e["~experimental_resource"]){let{type:t,id:n}=e["~experimental_resource"];switch(t){case"dataset":throw Error("Assets are not supported for dataset resources, yet. Configure the client with `{projectId: <projectId>, dataset: <datasetId>}` instead.");case"canvas":return`/canvases/${n}/assets/${r}`;case"media-library":return`/media-libraries/${n}/upload`;case"dashboard":return`/dashboards/${n}/assets/${r}`;default:throw Error(`Unsupported resource type: ${t.toString()}`)}}let n=tA(e);return`assets/${r}/${n}`}(u,r),headers:l.contentType?{"Content-Type":l.contentType}:{},query:m,body:n})}let rP=eE(()=>r.e(650).then(r.t.bind(r,7650,19))).pipe(eq(({default:e})=>e),function(e,t,r){var n,i,o,s,a=!1;return s=null!=e?e:1/0,eY({connector:function(){return new eN(s,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}(1));function rk(){return function(e){return e.pipe(eH((e,t)=>{var r;return e instanceof tY?function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return eX(1)(ej(e,eO(e)))}(eM({type:"reconnect"}),(void 0===r&&(r=eK),new ef(function(e){var t=1e3;t<0&&(t=0);var n=0;return r.schedule(function(){e.closed||(e.next(n++),e.complete())},t)})).pipe(e$(()=>t))):eZ(()=>e)}))}}let rj=["includePreviousRevision","includeResult","includeMutations","includeAllVersions","visibility","effectFormat","tag"],rM={includeResult:!0};function rq(e,t,r={}){let{url:n,token:i,withCredentials:o,requestTagPrefix:s,headers:a}=this.config(),u=r.tag&&s?[s,r.tag].join("."):r.tag,l={...Object.keys(rM).concat(Object.keys(r)).reduce((e,t)=>(e[t]=typeof r[t]>"u"?rM[t]:r[t],e),{}),tag:u},c=t8({query:e,params:t,options:{tag:u,...rj.reduce((e,t)=>(typeof l[t]>"u"||(e[t]=l[t]),e),{})}}),f=`${n}${rb(this,"listen",c)}`;if(f.length>14800)return eZ(()=>Error("Query too large for listener"));let h=l.events?l.events:["mutation"],p={};return o&&(p.withCredentials=!0),(i||a)&&(p.headers={},i&&(p.headers.Authorization=`Bearer ${i}`),a&&Object.assign(p.headers,a)),tJ(()=>(typeof EventSource>"u"||p.headers?rP:eM(EventSource)).pipe(eq(e=>new e(f,p))),h).pipe(rk(),e4(e=>h.includes(e.type)),eq(e=>({type:e.type,..."data"in e?e.data:{}})))}let r$="2021-03-25";class rB{#a;constructor(e){this.#a=e}events({includeDrafts:e=!1,tag:t}={}){var r,n,i,o;tT("live",this.#a.config());let{projectId:s,apiVersion:a,token:u,withCredentials:l,requestTagPrefix:c,headers:f}=this.#a.config(),h=a.replace(/^v/,"");if("X"!==h&&h<r$)throw Error(`The live events API requires API version ${r$} or later. The current API version is ${h}. Please update your API version to use this feature.`);if(e&&!u&&!l)throw Error("The live events API requires a token or withCredentials when 'includeDrafts: true'. Please update your client configuration. The token should have the lowest possible access role.");let p=rb(this.#a,"live/events"),d=new URL(this.#a.getUrl(p,!1)),g=t&&c?[c,t].join("."):t;g&&d.searchParams.set("tag",g),e&&d.searchParams.set("includeDrafts","true");let y={};e&&l&&(y.withCredentials=!0),(e&&u||f)&&(y.headers={},e&&u&&(y.headers.Authorization=`Bearer ${u}`),f&&Object.assign(y.headers,f));let m=`${d.href}::${JSON.stringify(y)}`,v=rU.get(m);
13if(v)return v;let b=tJ(()=>(typeof EventSource>"u"||y.headers?rP:eM(EventSource)).pipe(eq(e=>new e(d.href,y))),["message","restart","welcome","reconnect","goaway"]),w=(n=d,i={method:"OPTIONS",mode:"cors",credentials:y.withCredentials?"include":"omit",headers:y.headers},new ef(e=>{let t=new AbortController,r=t.signal;return fetch(n,{...i,signal:t.signal}).then(t=>{e.next(t),e.complete()},t=>{r.aborted||e.error(t)}),()=>t.abort()})).pipe(eH(()=>{throw new tg({projectId:s})})),x=b.pipe(rk(),e$(e=>"reconnect"===e.type?w.pipe(e$(()=>eM(e))):eM(e)),eH(e=>w.pipe(e$(()=>{throw e}))),eq(e=>{if("message"===e.type){let{data:t,...r}=e;return{...r,tags:t.tags}}return e})).pipe(e0(()=>rU.delete(m)),(o="function"==typeof(r={predicate:e=>"welcome"===e.type})?{predicate:r,...void 0}:r,e=>{var t,r,n,i;let s,a=!1,{predicate:u,...l}=o;return function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=eO(t),i=(e=1/0,"number"==typeof eC(t)?t.pop():e);return t.length?1===t.length?ex(t[0]):eX(i)(ej(t,n)):e1}(e.pipe((i=U(t=e=>{o.predicate(e)&&(a=!0,s=e)})?{next:t,error:r,complete:n}:t)?eA(function(e,t){null==(r=i.subscribe)||r.call(i);var r,n=!0;e.subscribe(eR(t,function(e){var r;null==(r=i.next)||r.call(i,e),t.next(e)},function(){var e;n=!1,null==(e=i.complete)||e.call(i),t.complete()},function(e){var r;n=!1,null==(r=i.error)||r.call(i,e),t.error(e)},function(){var e,t;n&&(null==(e=i.unsubscribe)||e.call(i)),null==(t=i.finalize)||t.call(i)}))}):el,e0(()=>{a=!1,s=void 0}),eY(l)),new ef(e=>{a&&e.next(s),e.complete()}))}));return rU.set(m,x),x}}let rU=new Map;class rD{#a;#u;constructor(e,t){this.#a=e,this.#u=t}create(e,t){return rz(this.#a,this.#u,"PUT",e,t)}edit(e,t){return rz(this.#a,this.#u,"PATCH",e,t)}delete(e){return rz(this.#a,this.#u,"DELETE",e)}list(){tT("dataset",this.#a.config());let e=this.#a.config(),t=e.projectId,r="/datasets";return!1===e.useProjectHostname&&(r=`/projects/${t}/datasets`),rv(this.#a,this.#u,{uri:r,tag:null})}}class rF{#a;#u;constructor(e,t){this.#a=e,this.#u=t}create(e,t){return tT("dataset",this.#a.config()),eU(rz(this.#a,this.#u,"PUT",e,t))}edit(e,t){return tT("dataset",this.#a.config()),eU(rz(this.#a,this.#u,"PATCH",e,t))}delete(e){return tT("dataset",this.#a.config()),eU(rz(this.#a,this.#u,"DELETE",e))}list(){tT("dataset",this.#a.config());let e=this.#a.config(),t=e.projectId,r="/datasets";return!1===e.useProjectHostname&&(r=`/projects/${t}/datasets`),eU(rv(this.#a,this.#u,{uri:r,tag:null}))}}function rz(e,t,r,n,i){return tT("dataset",e.config()),t_(n),rv(e,t,{method:r,uri:`/datasets/${n}`,body:i,tag:null})}class rL{#a;#u;constructor(e,t){this.#a=e,this.#u=t}getPlaybackInfo(e,t={}){var r,n;let i=this.#a.config()["~experimental_resource"]?.id,{instanceId:o,libraryId:s}=function(e){let t="object"==typeof e&&"_ref"in e?e._ref:e,r=rY.exec(t);if(r){let[,e,t]=r;return{libraryId:e,instanceId:t}}if("string"==typeof e&&e.startsWith("video-"))return{instanceId:e};throw Error(`Invalid video asset instance identifier "${t}": must be a valid video instance id or a Global Dataset Reference (GDR) to the video asset in the Media Library`)}(e),a=s||i;if(!a)throw Error("Could not determine Media Library ID - you need to provide a valid Media Library ID in the client config or a Media Library GDR");let u=(r=o,n=a,`/media-libraries/${n}/video/${r}/playback-info`),l=function(e){let t={};if(e.transformations){let{thumbnail:r,animated:n,storyboard:i}=e.transformations;r&&(r.width&&(t.thumbnailWidth=r.width),r.height&&(t.thumbnailHeight=r.height),void 0!==r.time&&(t.thumbnailTime=r.time),r.fit&&(t.thumbnailFit=r.fit),r.format&&(t.thumbnailFormat=r.format)),n&&(n.width&&(t.animatedWidth=n.width),n.height&&(t.animatedHeight=n.height),void 0!==n.start&&(t.animatedStart=n.start),void 0!==n.end&&(t.animatedEnd=n.end),n.fps&&(t.animatedFps=n.fps),n.format&&(t.animatedFormat=n.format)),i&&i.format&&(t.storyboardFormat=i.format)}return e.expiration&&(t.expiration=e.expiration),t}(t);return rv(this.#a,this.#u,{method:"GET",uri:u,query:l})}}class rN{#a;#u;
13constructor(e,t){this.#a=e,this.#u=t}getPlaybackInfo(e,t={}){return eU(new rL(this.#a.observable,this.#u).getPlaybackInfo(e,t))}}let rY=/^media-library:(ml[^:]+):([^:]+)$/;class rV{#a;#u;constructor(e,t){this.#a=e,this.#u=t}list(e){let t={};return e?.includeMembers===!1&&(t.includeMembers="false"),e?.organizationId&&(t.organizationId=e.organizationId),rv(this.#a,this.#u,{uri:"/projects",query:t})}getById(e){return rv(this.#a,this.#u,{uri:`/projects/${e}`})}}class rH{#a;#u;constructor(e,t){this.#a=e,this.#u=t}list(e){let t={};return e?.includeMembers===!1&&(t.includeMembers="false"),e?.organizationId&&(t.organizationId=e.organizationId),eU(rv(this.#a,this.#u,{uri:"/projects",query:t}))}getById(e){return eU(rv(this.#a,this.#u,{uri:`/projects/${e}`}))}}let rX=((e,t=21)=>((e,t,r)=>{let n=(2<<Math.log(e.length-1)/Math.LN2)-1,i=-~(1.6*n*t/e.length);return (o=t)=>{let s="";for(;;){let t=r(i),a=0|i;for(;a--;)if((s+=e[t[a]&n]||"").length===o)return s}}})(e,t,ts))("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",8),rW=(e,t)=>t?tn(e,t):tr(e);function rG(e,{releaseId:t,publishedId:r,document:n}){if(r&&n._id){let e=rW(r,t);return((e,t)=>{if(t._id&&t._id!==e)throw Error(`The provided document ID (\`${t._id}\`) does not match the generated version ID (\`${e}\`)`)})(e,n),e}if(n._id){let r=te(n._id),i=tt(n._id);if(!r&&!i)throw Error(`\`${e}()\` requires a document with an \`_id\` that is a version or draft ID`);if(t){if(r)throw Error(`\`${e}()\` was called with a document ID (\`${n._id}\`) that is a draft ID, but a release ID (\`${t}\`) was also provided.`);let i=ti(n._id);if(i!==t)throw Error(`\`${e}()\` was called with a document ID (\`${n._id}\`) that is a version ID, but the release ID (\`${t}\`) does not match the document's version ID (\`${i}\`).`)}return n._id}if(r)return rW(r,t);throw Error(`\`${e}()\` requires either a publishedId or a document with an \`_id\``)}let rJ=(e,t)=>{let[r,n,i]=((e,t)=>{if("object"==typeof e&&null!==e&&("releaseId"in e||"metadata"in e)){let{releaseId:r=rX(),metadata:n={}}=e;return[r,n,t]}return[rX(),{},e]})(e,t);return{action:{actionType:"sanity.action.release.create",releaseId:r,metadata:{...n,releaseType:n.releaseType||"undecided"}},options:i}};class rQ{#a;#u;constructor(e,t){this.#a=e,this.#u=t}get({releaseId:e},t){return re(this.#a,this.#u,`_.releases.${e}`,t)}create(e,t){let{action:r,options:n}=rJ(e,t),{releaseId:i,metadata:o}=r;return rh(this.#a,this.#u,r,n).pipe(eq(e=>({...e,releaseId:i,metadata:o})))}edit({releaseId:e,patch:t},r){return rh(this.#a,this.#u,{actionType:"sanity.action.release.edit",releaseId:e,patch:t},r)}publish({releaseId:e},t){return rh(this.#a,this.#u,{actionType:"sanity.action.release.publish",releaseId:e},t)}archive({releaseId:e},t){return rh(this.#a,this.#u,{actionType:"sanity.action.release.archive",releaseId:e},t)}unarchive({releaseId:e},t){return rh(this.#a,this.#u,{actionType:"sanity.action.release.unarchive",releaseId:e},t)}schedule({releaseId:e,publishAt:t},r){return rh(this.#a,this.#u,{actionType:"sanity.action.release.schedule",releaseId:e,publishAt:t},r)}unschedule({releaseId:e},t){return rh(this.#a,this.#u,{actionType:"sanity.action.release.unschedule",releaseId:e},t)}delete({releaseId:e},t){return rh(this.#a,this.#u,{actionType:"sanity.action.release.delete",releaseId:e},t)}fetchDocuments({releaseId:e},t){return rr(this.#a,this.#u,e,t)}}class rK{#a;#u;
13constructor(e,t){this.#a=e,this.#u=t}get({releaseId:e},t){return eU(re(this.#a,this.#u,`_.releases.${e}`,t))}async create(e,t){let{action:r,options:n}=rJ(e,t),{releaseId:i,metadata:o}=r;return{...await eU(rh(this.#a,this.#u,r,n)),releaseId:i,metadata:o}}edit({releaseId:e,patch:t},r){return eU(rh(this.#a,this.#u,{actionType:"sanity.action.release.edit",releaseId:e,patch:t},r))}publish({releaseId:e},t){return eU(rh(this.#a,this.#u,{actionType:"sanity.action.release.publish",releaseId:e},t))}archive({releaseId:e},t){return eU(rh(this.#a,this.#u,{actionType:"sanity.action.release.archive",releaseId:e},t))}unarchive({releaseId:e},t){return eU(rh(this.#a,this.#u,{actionType:"sanity.action.release.unarchive",releaseId:e},t))}schedule({releaseId:e,publishAt:t},r){return eU(rh(this.#a,this.#u,{actionType:"sanity.action.release.schedule",releaseId:e,publishAt:t},r))}unschedule({releaseId:e},t){return eU(rh(this.#a,this.#u,{actionType:"sanity.action.release.unschedule",releaseId:e},t))}delete({releaseId:e},t){return eU(rh(this.#a,this.#u,{actionType:"sanity.action.release.delete",releaseId:e},t))}fetchDocuments({releaseId:e},t){return eU(rr(this.#a,this.#u,e,t))}}class rZ{#a;#u;constructor(e,t){this.#a=e,this.#u=t}getById(e){return rv(this.#a,this.#u,{uri:`/users/${e}`})}}class r0{#a;#u;constructor(e,t){this.#a=e,this.#u=t}getById(e){return eU(rv(this.#a,this.#u,{uri:`/users/${e}`}))}}class r1{assets;datasets;live;mediaLibrary;projects;users;agent;releases;#l;#u;listen=rq;constructor(e,t=tF){this.config(t),this.#u=e,this.assets=new rR(this,this.#u),this.datasets=new rD(this,this.#u),this.live=new rB(this),this.mediaLibrary={video:new rL(this,this.#u)},this.projects=new rV(this,this.#u),this.users=new rZ(this,this.#u),this.agent={action:new rI(this,this.#u)},this.releases=new rQ(this,this.#u)}clone(){return new r1(this.#u,this.config())}config(e){if(void 0===e)return{...this.#l};if(this.#l&&!1===this.#l.allowReconfigure)throw Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return this.#l=tN(e,this.#l||{}),this}withConfig(e){let t=this.config();return new r1(this.#u,{...t,...e,stega:{...t.stega||{},..."boolean"==typeof e?.stega?{enabled:e.stega}:e?.stega||{}}})}fetch(e,t,r){return t7(this,this.#u,this.#l.stega,e,t,r)}getDocument(e,t){if(t?.includeAllVersions===!0)return re(this,this.#u,e,{...t,includeAllVersions:!0});let r={signal:t?.signal,tag:t?.tag,releaseId:t?.releaseId,...t&&"includeAllVersions"in t?{includeAllVersions:!1}:{}};return re(this,this.#u,e,r)}getDocuments(e,t){return rt(this,this.#u,e,t)}create(e,t){return rd(this,this.#u,e,"create",t)}createIfNotExists(e,t){return rn(this,this.#u,e,t)}createOrReplace(e,t){return ri(this,this.#u,e,t)}createVersion({document:e,publishedId:t,releaseId:r,baseId:n,ifBaseRevisionId:i},o){if(!e)return rs(this,this.#u,t,n,r,i,o);let s=rG("createVersion",{document:e,publishedId:t,releaseId:r}),a={...e,_id:s},u=t||to(e._id);return ro(this,this.#u,a,u,o)}delete(e,t){return ra(this,this.#u,e,t)}discardVersion({releaseId:e,publishedId:t},r,n){let i=rW(t,e);return ru(this,this.#u,i,r,n)}replaceVersion({document:e,publishedId:t,releaseId:r},n){let i=rG("replaceVersion",{document:e,publishedId:t,releaseId:r}),o={...e,_id:i};return rl(this,this.#u,o,n)}unpublishVersion({releaseId:e,publishedId:t},r){let n=tn(t,e);return rc(this,this.#u,n,t,r)}mutate(e,t){return rf(this,this.#u,e,t)}patch(e,t){return new t0(e,t,this)}transaction(e){return new t5(e,this)}action(e,t){return rh(this,this.#u,e,t)}request(e){return rv(this,this.#u,e)}getUrl(e,t){return rw(this,e,t)}getDataUrl(e,t){return rb(this,e,t)}}class r2{assets;datasets;live;mediaLibrary;projects;users;agent;releases;observable;#l;#u;listen=rq;constructor(e,t=tF){this.config(t),this.#u=e,this.assets=new rS(this,this.#u),this.datasets=new rF(this,this.#u),this.live=new rB(this),this.mediaLibrary={video:new rN(this,this.#u)},this.projects=new rH(this,this.#u),this.users=new r0(this,this.#u),this.agent={action:new rA(this,this.#u)},this.releases=new rK(this,this.#u),this.observable=new r1(e,t)}clone(){return new r2(this.#u,this.config())}config(e){if(void 0===e)return{...this.#l};if(this.#l&&!1===this.#l.allowReconfigure)throw Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return this.observable&&this.observable.config(e),this.#l=tN(e,this.#l||{}),this}withConfig(e){let t=this.config();return new r2(this.#u,{...t,...e,stega:{...t.stega||{},..."boolean"==typeof e?.stega?{enabled:e.stega}:e?.stega||{}}})}fetch(e,t,r){return eU(t7(this,this.#u,this.#l.stega,e,t,r))}getDocument(e,t){if(t?.includeAllVersions===!0)return eU(re(this,this.#u,e,{...t,includeAllVersions:!0}));let r={signal:t?.signal,tag:t?.tag,releaseId:t?.releaseId,...t&&"includeAllVersions"in t?{includeAllVersions:!1}:{}};return eU(re(this,this.#u,e,r))}getDocuments(e,t){return eU(rt(this,this.#u,e,t))}create(e,t){return eU(rd(this,this.#u,e,"create",t))}createIfNotExists(e,t){return eU(rn(this,this.#u,e,t))}createOrReplace(e,t){return eU(ri(this,this.#u,e,t))}createVersion({document:e,publishedId:t,releaseId:r,baseId:n,ifBaseRevisionId:i},o){if(!e)return e2(rs(this,this.#u,t,n,r,i,o));let s=rG("createVersion",{document:e,publishedId:t,releaseId:r}),a={...e,_id:s},u=t||to(e._id);return e2(ro(this,this.#u,a,u,o))}delete(e,t){return eU(ra(this,this.#u,e,t))}discardVersion({releaseId:e,publishedId:t},r,n){let i=rW(t,e);return eU(ru(this,this.#u,i,r,n))}replaceVersion({document:e,publishedId:t,releaseId:r},n){let i=rG("replaceVersion",{document:e,publishedId:t,releaseId:r}),o={...e,_id:i};return e2(rl(this,this.#u,o,n))}unpublishVersion({releaseId:e,publishedId:t},r){let n=tn(t,e);return eU(rc(this,this.#u,n,t,r))}mutate(e,t){return eU(rf(this,this.#u,e,t))}patch(e,t){return new t1(e,t,this)}transaction(e){return new t6(e,this)}action(e,t){return eU(rh(this,this.#u,e,t))}request(e){return eU(rv(this,this.#u,e))}dataRequest(e,t,r){return eU(rp(this,this.#u,e,t,r))}getUrl(e,t){return rw(this,e,t)}getDataUrl(e,t){return rb(this,e,t)}}let r3=function(e,t){return{requester:tm(e),createClient:r=>{let n=tm(e,{ignoreWarnings:r.ignoreWarnings});return new t((e,t)=>
13(t||n)({maxRedirects:0,maxRetries:r.maxRetries,retryDelay:r.retryDelay,lineage:r.lineage,...e}),r)}}}([],r2),r6=(r3.requester,r3.createClient)},5102:(e,t,r)=>{"use strict";r.d(t,{Image:()=>a});var n=r(7207),i=r.n(n),o=r(9700);let s=e=>{let{src:t,width:r,quality:n}=e,i=new URL(t);if(i.searchParams.set("auto","format"),i.searchParams.has("fit")||i.searchParams.set("fit",i.searchParams.has("h")?"min":"max"),i.searchParams.has("h")&&i.searchParams.has("w")){let e=parseInt(i.searchParams.get("h"),10),t=parseInt(i.searchParams.get("w"),10);i.searchParams.set("h",Math.round(e/t*r).toString())}return i.searchParams.set("w",r.toString()),n&&i.searchParams.set("q",n.toString()),i.href};function a(e){let t,{loader:r,src:n,...a}=e;if(r)throw TypeError("The `loader` prop is not supported on `Image` components. Use `next/image` directly to use a custom loader.");try{t=new URL(n),e.height&&t.searchParams.set("h","".concat(e.height)),e.width&&t.searchParams.set("w","".concat(e.width))}catch(e){throw TypeError("The `src` prop must be a valid URL to an image on the Sanity Image CDN.",{cause:e})}return(0,o.jsx)(i(),{...a,src:t.toString(),loader:s})}},5463:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var n=r(6445);function i(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let o=i(0,n.c3);i(0,n.kc)},5797:(e,t,r)=>{"use strict";function n(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}(e))&&(n&&(n+=" "),n+=t);return n}r.d(t,{$:()=>n,A:()=>i});let i=n},6415:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>ex});var n,i,o,s,a,u,l,c=r(575),f={},h=180/Math.PI,p=Math.PI/180,d=Math.atan2,g=/([A-Z])/g,y=/(left|right|width|margin|padding|x)/i,m=/[\s,\(]\S/,v={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},b=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},w=function(e,t){return t.set(t.t,t.p,1===e?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},x=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},_=function(e,t){return t.set(t.t,t.p,1===e?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},E=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},C=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},O=function(e,t){return t.set(t.t,t.p,1!==e?t.b:t.e,t)},I=function(e,t,r){return e.style[t]=r},A=function(e,t,r){return e.style.setProperty(t,r)},R=function(e,t,r){return e._gsap[t]=r},S=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},T=function(e,t,r,n,i){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(i,o)},P=function(e,t,r,n,i){var o=e._gsap;o[t]=r,o.renderTransform(i,o)},k="transform",j=k+"Origin",M=function e(t,r){var n=this,i=this.target,o=i.style,s=i._gsap;if(t in f&&o){if(this.tfm=this.tfm||{},"transform"===t)return v.transform.split(",").forEach(function(t){return e.call(n,t,r)});if(~(t=v[t]||t).indexOf(",")?t.split(",").forEach(function(e){return n.tfm[e]=K(i,e)}):this.tfm[t]=s.x?s[t]:K(i,t),t===j&&(this.tfm.zOrigin=s.zOrigin),this.props.indexOf(k)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(j,r,"")),t=k}(o||r)&&this.props.push(t,r,o[t])},q=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},$=function(){var e,t,r=this.props,n=this.target,i=n.style,o=n._gsap;for(e=0;e<r.length;e+=3)r[e+1]?2===r[e+1]?n[r[e]](r[e+2]):n[r[e]]=r[e+2]:r[e+2]?i[r[e]]=r[e+2]:i.removeProperty("--"===r[e].substr(0,2)?r[e]:r[e].replace(g,"-$1").toLowerCase());if(this.tfm){for(t in this.tfm)o[t]=this.tfm[t];o.svg&&(o.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),(e=u())&&e.isStart||i[k]||(q(i),o.zOrigin&&i[j]&&(i[j]+=" "+o.zOrigin+"px",o.zOrigin=0,o.renderTransform()),o.uncache=1)}},B=function(e,t){var r={target:e,props:[],revert:$,save:M};return e._gsap||c.os.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(e){return r.s
13ave(e)}),r},U=function(e,t){var r=n.createElementNS?n.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):n.createElement(e);return r&&r.style?r:n.createElement(e)},D=function e(t,r,n){var i=getComputedStyle(t);return i[r]||i.getPropertyValue(r.replace(g,"-$1").toLowerCase())||i.getPropertyValue(r)||!n&&e(t,z(r)||r,1)||""},F="O,Moz,ms,Ms,Webkit".split(","),z=function(e,t,r){var n=(t||s).style,i=5;if(e in n&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(F[i]+e in n););return i<0?null:(3===i?"ms":i>=0?F[i]:"")+e},L=function(){"undefined"!=typeof window&&window.document&&(i=(n=window.document).documentElement,s=U("div")||{style:{}},U("div"),j=(k=z(k))+"Origin",s.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",l=!!z("perspective"),u=c.os.core.reverting,o=1)},N=function(e){var t,r=e.ownerSVGElement,n=U("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),o=e.cloneNode(!0);o.style.display="block",n.appendChild(o),i.appendChild(n);try{t=o.getBBox()}catch(e){}return n.removeChild(o),i.removeChild(n),t},Y=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},V=function(e){var t,r;try{t=e.getBBox()}catch(n){t=N(e),r=1}return t&&(t.width||t.height)||r||(t=N(e)),!t||t.width||t.x||t.y?t:{x:+Y(e,["x","cx","x1"])||0,y:+Y(e,["y","cy","y1"])||0,width:0,height:0}},H=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&V(e))},X=function(e,t){if(t){var r,n=e.style;t in f&&t!==j&&(t=k),n.removeProperty?(("ms"===(r=t.substr(0,2))||"webkit"===t.substr(0,6))&&(t="-"+t),n.removeProperty("--"===r?t:t.replace(g,"-$1").toLowerCase())):n.removeAttribute(t)}},W=function(e,t,r,n,i,o){var s=new c.J7(e._pt,t,r,0,1,o?O:C);return e._pt=s,s.b=n,s.e=i,e._props.push(r),s},G={deg:1,rad:1,turn:1},J={grid:1,flex:1},Q=function e(t,r,i,o){var a,u,l,h,p=parseFloat(i)||0,d=(i+"").trim().substr((p+"").length)||"px",g=s.style,m=y.test(r),v="svg"===t.tagName.toLowerCase(),b=(v?"client":"offset")+(m?"Width":"Height"),w="px"===o,x="%"===o;if(o===d||!p||G[o]||G[d])return p;if("px"===d||w||(p=e(t,r,i,"px")),h=t.getCTM&&H(t),(x||"%"===d)&&(f[r]||~r.indexOf("adius")))return a=h?t.getBBox()[m?"width":"height"]:t[b],(0,c.E_)(x?p/a*100:p/100*a);if(g[m?"width":"height"]=100+(w?d:o),u="rem"!==o&&~r.indexOf("adius")||"em"===o&&t.appendChild&&!v?t:t.parentNode,h&&(u=(t.ownerSVGElement||{}).parentNode),u&&u!==n&&u.appendChild||(u=n.body),(l=u._gsap)&&x&&l.width&&m&&l.time===c.au.time&&!l.uncache)return(0,c.E_)(p/l.width*100);if(x&&("height"===r||"width"===r)){var _=t.style[r];t.style[r]=100+o,a=t[b],_?t.style[r]=_:X(t,r)}else(x||"%"===d)&&!J[D(u,"display")]&&(g.position=D(t,"position")),u===t&&(g.position="static"),u.appendChild(s),a=s[b],u.removeChild(s),g.position="absolute";return m&&x&&((l=(0,c.a0)(u)).time=c.au.time,l.width=u[b]),(0,c.E_)(w?a*p/100:a&&p?100/a*p:0)},K=function(e,t,r,n){var i;return o||L(),t in v&&"transform"!==t&&~(t=v[t]).indexOf(",")&&(t=t.split(",")[0]),f[t]&&"transform"!==t?(i=ec(e,n),i="transformOrigin"!==t?i[t]:i.svg?i.origin:ef(D(e,j))+" "+i.zOrigin+"px"):(!(i=e.style[t])||"auto"===i||n||~(i+"").indexOf("calc("))&&(i=en[t]&&en[t](e,t,r)||D(e,t)||(0,c.n)(e,t)||+("opacity"===t)),r&&!~(i+"").trim().indexOf(" ")?Q(e,t,i,r)+r:i},Z=function(e,t,r,n){if(!r||"none"===r){var i=z(t,e,1),o=i&&D(e,i,1);o&&o!==r?(t=i,r=o):"borderColor"===t&&(r=D(e,"borderTopColor"))}var s,a,u,l,f,h,p,d,g,y,m,v=new c.J7(this._pt,e.style,t,0,1,c.l1),b=0,w=0;if(v.b=r,v.e=n,r+="","var(--"===(n+="").substring(0,6)&&(n=D(e,n.substring(4,n.indexOf(")")))),"auto"===n&&(h=e.style[t],e.style[t]=n,n=D(e,t)||n,h?e.style[t]=h:X(e,t)),s=[r,n],(0,c.Uc)(s),r=s[0],n=s[1],u=r.match(c.vM)||[],(n.match(c.vM)||[]).length){for(;a=c.vM.exec(n);)p=a[0],g=n.substring(b,a.index),f?f=(f+1)%5:("rgba("===g.substr(-5)||"hsla("===g.substr(-5))&&(f=1),p!==(h=u[w++]||"")&&(l=parseFloat(h)||0,m=h.substr((l+"").length),"="===p.charAt(1)&&(p=(0,c.B0)(l,p)+m),d=parseFloat(p),y=p.substr((d+"").length),b=c.vM.lastIndex-y.length,y||(y=y||c.Yz.units[t]||m,b===n.length&&(n+=y,v.e+=y)),m!==y&&(l=Q(e,t,h,y)||0),v._pt={_next:v._pt,p:g||1===w?g:",",s:l,c:d-l,m:f&&f<4||"zIndex"===t?Math.round:0});v.c=b<n.length?n.substring(b,n.length):""}else v.r="display"===t&&"none"===n?O:C;return c.Ks.test(n)&&(v.e=0),this._pt=v,v},ee={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},et=function(e){var t=e.split(" "),r=t[0],n=t[1]||"50%";return("top"===r||"bottom"===r||"left"===n||"right"===n)&&(e=r,r=n,n=e),t[0]=ee[r]||r,t[1]=ee[n]||n,t.join(" ")}
13,er=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r,n,i,o=t.t,s=o.style,a=t.u,u=o._gsap;if("all"===a||!0===a)s.cssText="",n=1;else for(i=(a=a.split(",")).length;--i>-1;)f[r=a[i]]&&(n=1,r="transformOrigin"===r?j:k),X(o,r);n&&(X(o,k),u&&(u.svg&&o.removeAttribute("transform"),s.scale=s.rotate=s.translate="none",ec(o,1),u.uncache=1,q(s)))}},en={clearProps:function(e,t,r,n,i){if("isFromStart"!==i.data){var o=e._pt=new c.J7(e._pt,t,r,0,0,er);return o.u=n,o.pr=-10,o.tween=i,e._props.push(r),1}}},ei=[1,0,0,1,0,0],eo={},es=function(e){return"matrix(1, 0, 0, 1, 0, 0)"===e||"none"===e||!e},ea=function(e){var t=D(e,k);return es(t)?ei:t.substr(7).match(c.vX).map(c.E_)},eu=function(e,t){var r,n,o,s,a=e._gsap||(0,c.a0)(e),u=e.style,l=ea(e);return a.svg&&e.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(o=e.transform.baseVal.consolidate().matrix).a,o.b,o.c,o.d,o.e,o.f]).join(",")?ei:l:(l!==ei||e.offsetParent||e===i||a.svg||(o=u.display,u.display="block",(r=e.parentNode)&&(e.offsetParent||e.getBoundingClientRect().width)||(s=1,n=e.nextElementSibling,i.appendChild(e)),l=ea(e),o?u.display=o:X(e,"display"),s&&(n?r.insertBefore(e,n):r?r.appendChild(e):i.removeChild(e))),t&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},el=function(e,t,r,n,i,o){var s,a,u,l,c=e._gsap,f=i||eu(e,!0),h=c.xOrigin||0,p=c.yOrigin||0,d=c.xOffset||0,g=c.yOffset||0,y=f[0],m=f[1],v=f[2],b=f[3],w=f[4],x=f[5],_=t.split(" "),E=parseFloat(_[0])||0,C=parseFloat(_[1])||0;r?f!==ei&&(a=y*b-m*v)&&(u=b/a*E+-v/a*C+(v*x-b*w)/a,l=-m/a*E+y/a*C-(y*x-m*w)/a,E=u,C=l):(E=(s=V(e)).x+(~_[0].indexOf("%")?E/100*s.width:E),C=s.y+(~(_[1]||_[0]).indexOf("%")?C/100*s.height:C)),n||!1!==n&&c.smooth?(c.xOffset=d+((w=E-h)*y+(x=C-p)*v)-w,c.yOffset=g+(w*m+x*b)-x):c.xOffset=c.yOffset=0,c.xOrigin=E,c.yOrigin=C,c.smooth=!!n,c.origin=t,c.originIsAbsolute=!!r,e.style[j]="0px 0px",o&&(W(o,c,"xOrigin",h,E),W(o,c,"yOrigin",p,C),W(o,c,"xOffset",d,c.xOffset),W(o,c,"yOffset",g,c.yOffset)),e.setAttribute("data-svg-origin",E+" "+C)},ec=function(e,t){var r=e._gsap||new c.n6(e);if("x"in r&&!t&&!r.uncache)return r;var n,i,o,s,a,u,f,g,y,m,v,b,w,x,_,E,C,O,I,A,R,S,T,P,M,q,$,B,U,F,z,L,N=e.style,Y=r.scaleX<0,V=getComputedStyle(e),X=D(e,j)||"0";return n=i=o=u=f=g=y=m=v=0,s=a=1,r.svg=!!(e.getCTM&&H(e)),V.translate&&(("none"!==V.translate||"none"!==V.scale||"none"!==V.rotate)&&(N[k]=("none"!==V.translate?"translate3d("+(V.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==V.rotate?"rotate("+V.rotate+") ":"")+("none"!==V.scale?"scale("+V.scale.split(" ").join(",")+") ":"")+("none"!==V[k]?V[k]:"")),N.scale=N.rotate=N.translate="none"),x=eu(e,r.svg),r.svg&&(r.uncache?(M=e.getBBox(),X=r.xOrigin-M.x+"px "+(r.yOrigin-M.y)+"px",P=""):P=!t&&e.getAttribute("data-svg-origin"),el(e,P||X,!!P||r.originIsAbsolute,!1!==r.smooth,x)),b=r.xOrigin||0,w=r.yOrigin||0,x!==ei&&(O=x[0],I=x[1],A=x[2],R=x[3],n=S=x[4],i=T=x[5],6===x.length?(s=Math.sqrt(O*O+I*I),a=Math.sqrt(R*R+A*A),u=O||I?d(I,O)*h:0,(y=A||R?d(A,R)*h+u:0)&&(a*=Math.abs(Math.cos(y*p))),r.svg&&(n-=b-(b*O+w*A),i-=w-(b*I+w*R))):(L=x[6],F=x[7],$=x[8],B=x[9],U=x[10],z=x[11],n=x[12],i=x[13],o=x[14],f=(_=d(L,U))*h,_&&(P=S*(E=Math.cos(-_))+$*(C=Math.sin(-_)),M=T*E+B*C,q=L*E+U*C,$=-(S*C)+$*E,B=-(T*C)+B*E,U=-(L*C)+U*E,z=-(F*C)+z*E,S=P,T=M,L=q),g=(_=d(-A,U))*h,_&&(P=O*(E=Math.cos(-_))-$*(C=Math.sin(-_)),M=I*E-B*C,q=A*E-U*C,z=R*C+z*E,O=P,I=M,A=q),u=(_=d(I,O))*h,_&&(P=O*(E=Math.cos(_))+I*(C=Math.sin(_)),M=S*E+T*C,I=I*E-O*C,T=T*E-S*C,O=P,S=M),f&&Math.abs(f)+Math.abs(u)>359.9&&(f=u=0,g=180-g),s=(0,c.E_)(Math.sqrt(O*O+I*I+A*A)),a=(0,c.E_)(Math.sqrt(T*T+L*L)),y=Math.abs(_=d(S,T))>2e-4?_*h:0,v=z?1/(z<0?-z:z):0),r.svg&&(P=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!es(D(e,k)),P&&e.setAttribute("transform",P))),Math.abs(y)>90&&270>Math.abs(y)&&(Y?(s*=-1,y+=u<=0?180:-180,u+=u<=0?180:-180):(a*=-1,y+=y<=0?180:-180)),t=t||r.uncache,r.x=n-((r.xPercent=n&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-n)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+"px",r.y=i-((r.yPercent=i&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-i)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+"px",r.z=o+"px",r.scaleX=(0,c.E_)(s),r.scaleY=(0,
13c.E_)(a),r.rotation=(0,c.E_)(u)+"deg",r.rotationX=(0,c.E_)(f)+"deg",r.rotationY=(0,c.E_)(g)+"deg",r.skewX=y+"deg",r.skewY=m+"deg",r.transformPerspective=v+"px",(r.zOrigin=parseFloat(X.split(" ")[2])||!t&&r.zOrigin||0)&&(N[j]=ef(X)),r.xOffset=r.yOffset=0,r.force3D=c.Yz.force3D,r.renderTransform=r.svg?ey:l?eg:ep,r.uncache=0,r},ef=function(e){return(e=e.split(" "))[0]+" "+e[1]},eh=function(e,t,r){var n=(0,c.l_)(t);return(0,c.E_)(parseFloat(t)+parseFloat(Q(e,"x",r+"px",n)))+n},ep=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,eg(e,t)},ed="0deg",eg=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,o=r.x,s=r.y,a=r.z,u=r.rotation,l=r.rotationY,c=r.rotationX,f=r.skewX,h=r.skewY,d=r.scaleX,g=r.scaleY,y=r.transformPerspective,m=r.force3D,v=r.target,b=r.zOrigin,w="",x="auto"===m&&e&&1!==e||!0===m;if(b&&(c!==ed||l!==ed)){var _,E=parseFloat(l)*p,C=Math.sin(E),O=Math.cos(E);o=eh(v,o,-(C*(_=Math.cos(E=parseFloat(c)*p))*b)),s=eh(v,s,-(-Math.sin(E)*b)),a=eh(v,a,-(O*_*b)+b)}"0px"!==y&&(w+="perspective("+y+") "),(n||i)&&(w+="translate("+n+"%, "+i+"%) "),(x||"0px"!==o||"0px"!==s||"0px"!==a)&&(w+="0px"!==a||x?"translate3d("+o+", "+s+", "+a+") ":"translate("+o+", "+s+") "),u!==ed&&(w+="rotate("+u+") "),l!==ed&&(w+="rotateY("+l+") "),c!==ed&&(w+="rotateX("+c+") "),(f!==ed||h!==ed)&&(w+="skew("+f+", "+h+") "),(1!==d||1!==g)&&(w+="scale("+d+", "+g+") "),v.style[k]=w||"translate(0, 0)"},ey=function(e,t){var r,n,i,o,s,a=t||this,u=a.xPercent,l=a.yPercent,f=a.x,h=a.y,d=a.rotation,g=a.skewX,y=a.skewY,m=a.scaleX,v=a.scaleY,b=a.target,w=a.xOrigin,x=a.yOrigin,_=a.xOffset,E=a.yOffset,C=a.forceCSS,O=parseFloat(f),I=parseFloat(h);d=parseFloat(d),g=parseFloat(g),(y=parseFloat(y))&&(g+=y=parseFloat(y),d+=y),d||g?(d*=p,g*=p,r=Math.cos(d)*m,n=Math.sin(d)*m,i=-(Math.sin(d-g)*v),o=Math.cos(d-g)*v,g&&(y*=p,i*=s=Math.sqrt(1+(s=Math.tan(g-y))*s),o*=s,y&&(r*=s=Math.sqrt(1+(s=Math.tan(y))*s),n*=s)),r=(0,c.E_)(r),n=(0,c.E_)(n),i=(0,c.E_)(i),o=(0,c.E_)(o)):(r=m,o=v,n=i=0),(O&&!~(f+"").indexOf("px")||I&&!~(h+"").indexOf("px"))&&(O=Q(b,"x",f,"px"),I=Q(b,"y",h,"px")),(w||x||_||E)&&(O=(0,c.E_)(O+w-(w*r+x*i)+_),I=(0,c.E_)(I+x-(w*n+x*o)+E)),(u||l)&&(s=b.getBBox(),O=(0,c.E_)(O+u/100*s.width),I=(0,c.E_)(I+l/100*s.height)),s="matrix("+r+","+n+","+i+","+o+","+O+","+I+")",b.setAttribute("transform",s),C&&(b.style[k]=s)},em=function(e,t,r,n,i){var o,s,a=(0,c.vQ)(i),u=parseFloat(i)*(a&&~i.indexOf("rad")?h:1)-n,l=n+u+"deg";return a&&("short"===(o=i.split("_")[1])&&(u%=360)!=u%180&&(u+=u<0?360:-360),"cw"===o&&u<0?u=(u+36e9)%360-360*~~(u/360):"ccw"===o&&u>0&&(u=(u-36e9)%360-360*~~(u/360))),e._pt=s=new c.J7(e._pt,t,r,n,u,w),s.e=l,s.u="deg",e._props.push(r),s},ev=function(e,t){for(var r in t)e[r]=t[r];return e},eb=function(e,t,r){var n,i,o,s,a,u,l,h=ev({},r._gsap),p=r.style;for(i in h.svg?(o=r.getAttribute("transform"),r.setAttribute("transform",""),p[k]=t,n=ec(r,1),X(r,k),r.setAttribute("transform",o)):(o=getComputedStyle(r)[k],p[k]=t,n=ec(r,1),p[k]=o),f)(o=h[i])!==(s=n[i])&&0>"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)&&(a=(0,c.l_)(o)!==(l=(0,c.l_)(s))?Q(r,i,o,l):parseFloat(o),u=parseFloat(s),e._pt=new c.J7(e._pt,n,i,a,u-a,b),e._pt.u=l||0,e._props.push(i));ev(n,h)};(0,c.fA)("padding,margin,Width,Radius",function(e,t){var r="Right",n="Bottom",i="Left",o=(t<3?["Top",r,n,i]:["Top"+i,"Top"+r,n+r,n+i]).map(function(r){return t<2?e+r:"border"+r+e});en[t>1?"border"+e:e]=function(e,t,r,n,i){var s,a;if(arguments.length<4)return 5===(a=(s=o.map(function(t){return K(e,t,r)})).join(" ")).split(s[0]).length?s[0]:a;s=(n+"").split(" "),a={},o.forEach(function(e,t){return a[e]=s[t]=s[t]||s[(t-1)/2|0]}),e.init(t,a,i)}});var ew={name:"css",register:L,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,i){var s,a,u,l,h,p,d,g,y,w,C,O,I,A,R,S,T,P=this._props,M=e.style,q=r.vars.startAt;for(d in o||L(),this.styles=this.styles||B(e),S=this.styles.props,this.tween=r,t)if("autoRound"!==d&&(a=t[d],!(c.wU[d]&&(0,c.Zm)(d,t,r,n,e,i)))){if(h=typeof a,p=en[d],"function"===h&&(h=typeof(a=a.call(r,n,e,i))),"string"===h&&~a.indexOf("random(")&&(a=(0,c.Vy)(a)),p)p(this,e,d,a,r)&&(R=1);else if("--"===d.substr(0,2))s=(getComputedStyle(e).getPropertyValue(d)+"").trim(),a+="",c.qA.lastIndex=0,!c.qA.test(s)&&(g=(0,c.l_)(s),(y=(0,c.l_)(a))?g!==y&&(s=Q(e,d,s,y)+y):g&&(
13a+=g)),this.add(M,"setProperty",s,a,n,i,0,0,d),P.push(d),S.push(d,0,M[d]);else if("undefined"!==h){if(q&&d in q?(s="function"==typeof q[d]?q[d].call(r,n,e,i):q[d],(0,c.vQ)(s)&&~s.indexOf("random(")&&(s=(0,c.Vy)(s)),(0,c.l_)(s+"")||"auto"===s||(s+=c.Yz.units[d]||(0,c.l_)(K(e,d))||""),"="===(s+"").charAt(1)&&(s=K(e,d))):s=K(e,d),l=parseFloat(s),(w="string"===h&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),u=parseFloat(a),d in v&&("autoAlpha"===d&&(1===l&&"hidden"===K(e,"visibility")&&u&&(l=0),S.push("visibility",0,M.visibility),W(this,M,"visibility",l?"inherit":"hidden",u?"inherit":"hidden",!u)),"scale"!==d&&"transform"!==d&&~(d=v[d]).indexOf(",")&&(d=d.split(",")[0])),C=d in f){if(this.styles.save(d),T=a,"string"===h&&"var(--"===a.substring(0,6)){if("calc("===(a=D(e,a.substring(4,a.indexOf(")")))).substring(0,5)){var $=e.style.perspective;e.style.perspective=a,a=D(e,"perspective"),$?e.style.perspective=$:X(e,"perspective")}u=parseFloat(a)}if(O||((I=e._gsap).renderTransform&&!t.parseTransform||ec(e,t.parseTransform),A=!1!==t.smoothOrigin&&I.smooth,(O=this._pt=new c.J7(this._pt,M,k,0,1,I.renderTransform,I,0,-1)).dep=1),"scale"===d)this._pt=new c.J7(this._pt,I,"scaleY",I.scaleY,(w?(0,c.B0)(I.scaleY,w+u):u)-I.scaleY||0,b),this._pt.u=0,P.push("scaleY",d),d+="X";else if("transformOrigin"===d){S.push(j,0,M[j]),a=et(a),I.svg?el(e,a,0,A,0,this):((y=parseFloat(a.split(" ")[2])||0)!==I.zOrigin&&W(this,I,"zOrigin",I.zOrigin,y),W(this,M,d,ef(s),ef(a)));continue}else if("svgOrigin"===d){el(e,a,1,A,0,this);continue}else if(d in eo){em(this,I,d,l,w?(0,c.B0)(l,w+a):a);continue}else if("smoothOrigin"===d){W(this,I,"smooth",I.smooth,a);continue}else if("force3D"===d){I[d]=a;continue}else if("transform"===d){eb(this,a,e);continue}}else d in M||(d=z(d)||d);if(C||(u||0===u)&&(l||0===l)&&!m.test(a)&&d in M)g=(s+"").substr((l+"").length),u||(u=0),y=(0,c.l_)(a)||(d in c.Yz.units?c.Yz.units[d]:g),g!==y&&(l=Q(e,d,s,y)),this._pt=new c.J7(this._pt,C?I:M,d,l,(w?(0,c.B0)(l,w+u):u)-l,!C&&("px"===y||"zIndex"===d)&&!1!==t.autoRound?E:b),this._pt.u=y||0,C&&T!==a?(this._pt.b=s,this._pt.e=T,this._pt.r=_):g!==y&&"%"!==y&&(this._pt.b=s,this._pt.r=x);else if(d in M)Z.call(this,e,d,s,w?w+a:a);else if(d in e)this.add(e,d,s||e[d],w?w+a:a,n,i);else if("parseTransform"!==d){(0,c.dg)(d,a);continue}C||(d in M?S.push(d,0,M[d]):"function"==typeof e[d]?S.push(d,2,e[d]()):S.push(d,1,s||e[d])),P.push(d)}}R&&(0,c.St)(this)},render:function(e,t){if(t.tween._time||!u())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:K,aliases:v,getSetter:function(e,t,r){var n=v[t];return n&&0>n.indexOf(",")&&(t=n),t in f&&t!==j&&(e._gsap.x||K(e,"x"))?r&&a===r?"scale"===t?S:R:(a=r||{},"scale"===t?T:P):e.style&&!(0,c.OF)(e.style[t])?I:~t.indexOf("-")?A:(0,c.Dx)(e,t)},core:{_removeProperty:X,_getMatrix:eu}};c.os.utils.checkPrefix=z,c.os.core.getStyleSaver=B,function(e,t,r,n){var i=(0,c.fA)(e+","+t+","+r,function(e){f[e]=1});(0,c.fA)(t,function(e){c.Yz.units[e]="deg",eo[e]=1}),v[i[13]]=e+","+t,(0,c.fA)(n,function(e){var t=e.split(":");v[t[1]]=i[t[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),(0,c.fA)("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(e){c.Yz.units[e]="px"}),c.os.registerPlugin(ew);var ex=c.os.registerPlugin(ew)||c.os;ex.core.Tween},6858:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return g},defaultHead:function(){return f}});let n=r(8462),i=r(9431),o=r(9700),s=i._(r(1464)),a=n._(r(7767)),u=r(2814),l=r(7148),c=r(3618);function f(e){void 0===e&&(e=!1);let t=[(0,o.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function h(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===s.default.Fragment?e.concat(s.default.Children.toArray(t.props.children).reduce((e,t)=>
13"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(3742);let p=["name","httpEquiv","charSet","itemProp"];function d(e,t){let{inAmpMode:r}=t;return e.reduce(h,[]).reverse().concat(f(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return i=>{let o=!0,s=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){s=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?o=!1:t.add(i.type);break;case"meta":for(let e=0,t=p.length;e<t;e++){let t=p[e];if(i.props.hasOwnProperty(t))if("charSet"===t)r.has(t)?o=!1:r.add(t);else{let e=i.props[t],r=n[t]||new Set;("name"!==t||!s)&&r.has(e)?o=!1:(r.add(e),n[t]=r)}}}return o}}()).reverse().map((e,t)=>{let r=e.key||t;return s.default.cloneElement(e,{key:r})})}let g=function(e){let{children:t}=e,r=(0,s.useContext)(u.AmpStateContext),n=(0,s.useContext)(l.HeadManagerContext);return(0,o.jsx)(a.default,{reduceComponentsToState:d,headManager:n,inAmpMode:(0,c.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7147:(e,t)=>{"use strict";function r(e){var t;let{config:r,src:n,width:i,quality:o}=e,s=o||(null==(t=r.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return r.path+"?url="+encodeURIComponent(n)+"&w="+i+"&q="+s+(n.startsWith("/_next/static/media/"),"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},7207:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return u},getImageProps:function(){return a}});let n=r(8462),i=r(3081),o=r(9105),s=n._(r(7147));function a(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let u=o.Image},7507:(e,t)=>{t.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,u=(1<<a)-1,l=u>>1,c=-7,f=r?i-1:0,h=r?-1:1,p=e[t+f];for(f+=h,o=p&(1<<-c)-1,p>>=-c,c+=a;c>0;o=256*o+e[t+f],f+=h,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=n;c>0;s=256*s+e[t+f],f+=h,c-=8);if(0===o)o=1-l;else{if(o===u)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),o-=l}return(p?-1:1)*s*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var s,a,u,l=8*o-i-1,c=(1<<l)-1,f=c>>1,h=5960464477539062e-23*(23===i),p=n?0:o-1,d=n?1:-1,g=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(a=+!!isNaN(t),s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+f>=1?t+=h/u:t+=h*Math.pow(2,1-f),t*u>=2&&(s++,u/=2),s+f>=c?(a=0,s=c):s+f>=1?(a=(t*u-1)*Math.pow(2,i),s+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;e[r+p]=255&a,p+=d,a/=256,i-=8);for(s=s<<i|a,l+=i;l>0;e[r+p]=255&s,p+=d,s/=256,l-=8);e[r+p-d]|=128*g}},7767:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let n=r(1464),i=n.useLayoutEffect,o=n.useEffect;function s(e){let{headManager:t,reduceComponentsToState:r}=e;function s(){if(t&&t.mountedInstances){let i=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(i,e))}}return i(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),i(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},8106:(e,t,r)=>{"use strict";function n(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}r.d(t,{Q:()=>u,u4:()=>n});var i={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};[,,,,].fill(String.fromCodePoint(o[0])).join(""),Object.fromEntries(Object.entries(o).map(e=>e.reverse())),Object.fromEntries(Object.entries(i).map(e=>e.reverse()));var s=`${Object.values(i).map(e=>`\\u{${e.toString(16)}}`).join("")}`,a=RegExp(`[${s}]{4,}`,"gu");function u(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)}},8920:(e,t,r)=>{"use strict";r.d(t,{RK:()=>_});var n=r(9700);function i(e){return"span"===e._type&&"text"in e&&"string"==typeof e.text&&(typeof e.marks>"u"||Array.isArray(e.marks)&&e.marks.every(e=>"string"==typeof e))}function o(e){return"string"==typeof e._type&&"@"!==e._type[0]&&(!("markDefs"in e)||!e.markDefs||Array.isArray(e.markDefs)&&e.markDefs.every(e=>"string"==typeof e._key))&&"children"in e&&Array.isArray(e.children)&&e.children.every(e=>
13"object"==typeof e&&"_type"in e)}function s(e){return o(e)&&"listItem"in e&&"string"==typeof e.listItem&&(typeof e.level>"u"||"number"==typeof e.level)}function a(e){return"@list"===e._type}function u(e){return"@span"===e._type}function l(e){return"@text"===e._type}let c=["strong","em","code","underline","strike-through"];function f(e,t,r){if(!i(e)||!e.marks||!e.marks.length)return[];let n=e.marks.slice(),o={};return n.forEach(e=>{o[e]=1;for(let n=t+1;n<r.length;n++){let t=r[n];if(t&&i(t)&&Array.isArray(t.marks)&&-1!==t.marks.indexOf(e))o[e]++;else break}}),n.sort((e,t)=>(function(e,t,r){let n=e[t],i=e[r];if(n!==i)return i-n;let o=c.indexOf(t),s=c.indexOf(r);return o!==s?o-s:t.localeCompare(r)})(o,e,t))}function h(e,t,r){return{_type:"@list",_key:`${e._key||`${t}`}-parent`,mode:r,level:e.level||1,listItem:e.listItem,children:[e]}}function p(e,t){let r=t.level||1,n=t.listItem||"normal",o="string"==typeof t.listItem;if(a(e)&&(e.level||1)===r&&o&&(e.listItem||"normal")===n)return e;if(!("children"in e))return;let s=e.children[e.children.length-1];return s&&!i(s)?p(s,t):void 0}var d=r(1464);let g={textDecoration:"underline"},y=(e,t)=>`[@portabletext/react] Unknown ${e}, specify a component for it in the \`components.${t}\` prop`,m=e=>y(`block type "${e}"`,"types");function v(e){console.warn(e)}let b={display:"none"},w={types:{},block:{normal:({children:e})=>(0,n.jsx)("p",{children:e}),blockquote:({children:e})=>(0,n.jsx)("blockquote",{children:e}),h1:({children:e})=>(0,n.jsx)("h1",{children:e}),h2:({children:e})=>(0,n.jsx)("h2",{children:e}),h3:({children:e})=>(0,n.jsx)("h3",{children:e}),h4:({children:e})=>(0,n.jsx)("h4",{children:e}),h5:({children:e})=>(0,n.jsx)("h5",{children:e}),h6:({children:e})=>(0,n.jsx)("h6",{children:e})},marks:{em:({children:e})=>(0,n.jsx)("em",{children:e}),strong:({children:e})=>(0,n.jsx)("strong",{children:e}),code:({children:e})=>(0,n.jsx)("code",{children:e}),underline:({children:e})=>(0,n.jsx)("span",{style:g,children:e}),"strike-through":({children:e})=>(0,n.jsx)("del",{children:e}),link:({children:e,value:t})=>(0,n.jsx)("a",{href:t?.href,children:e})},list:{number:({children:e})=>(0,n.jsx)("ol",{children:e}),bullet:({children:e})=>(0,n.jsx)("ul",{children:e})},listItem:({children:e})=>(0,n.jsx)("li",{children:e}),hardBreak:()=>(0,n.jsx)("br",{}),unknownType:({value:e,isInline:t})=>{let r=m(e._type);return t?(0,n.jsx)("span",{style:b,children:r}):(0,n.jsx)("div",{style:b,children:r})},unknownMark:({markType:e,children:t})=>(0,n.jsx)("span",{className:`unknown__pt__mark__${e}`,children:t}),unknownList:({children:e})=>(0,n.jsx)("ul",{children:e}),unknownListItem:({children:e})=>(0,n.jsx)("li",{children:e}),unknownBlockStyle:({children:e})=>(0,n.jsx)("p",{children:e})};function x(e,t,r){let n=t[r],i=e[r];return"function"==typeof n||n&&"function"==typeof i?n:n?{...i,...n}:i}function _({value:e,components:t,listNestingMode:r,onMissingComponent:i=v}){let o=i||O,a=function(e,t){let r,n=[];for(let a=0;a<e.length;a++){let u=e[a];if(u){var i,o;if(!s(u)){n.push(u),r=void 0;continue}if(!r){r=h(u,a,t),n.push(r);continue}if(i=u,o=r,(i.level||1)===o.level&&i.listItem===o.listItem){r.children.push(u);continue}if((u.level||1)>r.level){let e=h(u,a,t);if("html"===t){let t=r.children[r.children.length-1],n={...t,children:[...t.children,e]};r.children[r.children.length-1]=n}else r.children.push(e);r=e;continue}if((u.level||1)<r.level){let e=n[n.length-1],i=e&&p(e,u);if(i){(r=i).children.push(u);continue}r=h(u,a,t),n.push(r);continue}if(u.listItem!==r.listItem){let e=n[n.length-1],i=e&&p(e,{level:u.level||1});if(i&&i.listItem===u.listItem){(r=i).children.push(u);continue}r=h(u,a,t),n.push(r);continue}console.warn("Unknown state encountered for block",u),n.push(u)}}return n}(Array.isArray(e)?e:[e],r||"html"),u=(0,d.useMemo)(()=>t?function(e,t){let{block:r,list:n,listItem:i,marks:o,types:s,...a}=t;return{...e,block:x(e,t,"block"),list:x(e,t,"list"),listItem:x(e,t,"listItem"),marks:x(e,t,"marks"),types:x(e,t,"types"),...a}}(w,t):w,[t]),l=(0,d.useMemo)(()=>E(u,o),[u,o]),c=a.map((e,t)=>l({node:e,index:t,isInline:!1,renderNode:l}));return(0,n.jsx)(n.Fragment,{children:c})}let E=(e,t)=>function r(i){let{node:c,index:f,isInline:h}=i,p=c._key||`node-${f}`;return a(c)?function(i,o,s){let a=i.children.map((e,t)=>
13r({node:e._key?e:{...e,_key:`li-${o}-${t}`},index:t,isInline:!1})),u=e.list,l=("function"==typeof u?u:u[i.listItem])||e.unknownList;if(l===e.unknownList){let e=i.listItem||"bullet";t(y(`list style "${e}"`,"list"),{nodeType:"listStyle",type:e})}return(0,n.jsx)(l,{value:i,index:o,isInline:!1,renderNode:r,children:a},s)}(c,f,p):s(c)?function(i,o,s){let a=C({node:i,index:o,isInline:!1,renderNode:r}),u=e.listItem,l=("function"==typeof u?u:u[i.listItem])||e.unknownListItem;if(l===e.unknownListItem){let e=i.listItem||"bullet";t(y(`list item style "${e}"`,"listItem"),{type:e,nodeType:"listItemStyle"})}let c=a.children;if(i.style&&"normal"!==i.style){let{listItem:e,...t}=i;c=r({node:t,index:o,isInline:!1})}return(0,n.jsx)(l,{value:i,index:o,isInline:!1,renderNode:r,children:c},s)}(c,f,p):u(c)?function(i,o,s){let{markDef:a,markType:c,markKey:f}=i,h=e.marks[c]||e.unknownMark,p=i.children.map((e,t)=>r({node:e,index:t,isInline:!0}));return h===e.unknownMark&&t(y(`mark type "${c}"`,"marks"),{nodeType:"mark",type:c}),(0,n.jsx)(h,{text:function e(t){let r="";return t.children.forEach(t=>{l(t)?r+=t.text:u(t)&&(r+=e(t))}),r}(i),value:a,markType:c,markKey:f,renderNode:r,children:p},s)}(c,0,p):c._type in e.types?function(t,i,o,s){let a=e.types[t._type];return a?(0,n.jsx)(a,{value:t,isInline:s,index:i,renderNode:r},o):null}(c,f,p,h):o(c)?function(i,o,s,a){let{_key:u,...l}=C({node:i,index:o,isInline:a,renderNode:r}),c=l.node.style||"normal",f=("function"==typeof e.block?e.block:e.block[c])||e.unknownBlockStyle;return f===e.unknownBlockStyle&&t(y(`block style "${c}"`,"block"),{nodeType:"blockStyle",type:c}),(0,n.jsx)(f,{...l,value:l.node,renderNode:r},s)}(c,f,p,h):l(c)?function(t,r){if(t.text===`
14`){let t=e.hardBreak;return t?(0,n.jsx)(t,{},r):`
15`}return t.text}(c,p):function(i,o,s,a){t(m(i._type),{nodeType:"block",type:i._type});let u=e.unknownType;return(0,n.jsx)(u,{value:i,isInline:a,index:o,renderNode:r},s)}(c,f,p,h)};function C(e){let{node:t,index:r,isInline:n,renderNode:o}=e,s=(function(e){let{children:t}=e,r=e.markDefs??[];if(!t||!t.length)return[];let n=t.map(f),o={_type:"@span",children:[],markType:"<unknown>"},s=[o];for(let e=0;e<t.length;e++){let o=t[e];if(!o)continue;let a=n[e]||[],u=1;if(s.length>1)for(;u<s.length;u++){let e=s[u]?.markKey||"",t=a.indexOf(e);if(-1===t)break;a.splice(t,1)}let l=(s=s.slice(0,u))[s.length-1];if(l){for(let e of a){let t=r?.find(t=>t._key===e),n=t?t._type:e,i={_type:"@span",_key:o._key,children:[],markDef:t,markType:n,markKey:e};l.children.push(i),s.push(i),l=i}if(i(o)){let e=o.text.split(`
16`);for(let t=e.length;t-- >1;)e.splice(t,0,`
17`);l.children=l.children.concat(e.map(e=>({_type:"@text",text:e})))}else l.children=l.children.concat(o)}}return o.children})(t).map((e,t)=>o({node:e,isInline:!0,index:t,renderNode:o}));return{_key:t._key||`block-${r}`,children:s,index:r,isInline:n,node:t}}function O(){}},9105:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return w}});let n=r(8462),i=r(9431),o=r(9700),s=i._(r(1464)),a=n._(r(1049)),u=n._(r(6858)),l=r(3081),c=r(3422),f=r(90);r(3742);let h=r(9483),p=n._(r(7147)),d=r(4280),g={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function y(e,t,r,n,i,o,s){let a=null==e?void 0:e.src;e&&e["data-loaded-src"]!==a&&(e["data-loaded-src"]=a,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function m(e){return s.use?{fetchPriority:e}:{fetchpriority:e}}let v=(0,s.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:a,width:u,decoding:l,className:c,style:f,fetchPriority:h,placeholder:p,loading:g,unoptimized:v,fill:b,onLoadRef:w,onLoadingCompleteRef:x,setBlurComplete:_,setShowAltText:E,sizesInput:C,onLoad:O,onError:I,...A}=e,R=(0,s.useCallback)(e=>{e&&(I&&(e.src=e.src),e.complete&&y(e,p,w,x,_,v,C))},[r,p,w,x,_,I,v,C]),S=(0,d.useMergedRef)(t,R);return(0,o.jsx)("img",{...A,...m(h),loading:g,width:u,height:a,decoding:l,"data-nimg":b?"fill":"1",className:c,style:f,sizes:i,srcSet:n,src:r,ref:S,onLoad:e=>{y(e.currentTarget,p,w,x,_,v,C)},onError:e=>{E(!0),"empty"!==p&&_(!0),I&&I(e)}})});function b(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...m
17(r.fetchPriority)};return t&&a.default.preload?(a.default.preload(r.src,n),null):(0,o.jsx)(u.default,{children:(0,o.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let w=(0,s.forwardRef)((e,t)=>{let r=(0,s.useContext)(h.RouterContext),n=(0,s.useContext)(f.ImageConfigContext),i=(0,s.useMemo)(()=>{var e;let t=g||n||c.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),i=t.deviceSizes.sort((e,t)=>e-t),o=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:i,qualities:o}},[n]),{onLoad:a,onLoadingComplete:u}=e,d=(0,s.useRef)(a);(0,s.useEffect)(()=>{d.current=a},[a]);let y=(0,s.useRef)(u);(0,s.useEffect)(()=>{y.current=u},[u]);let[m,w]=(0,s.useState)(!1),[x,_]=(0,s.useState)(!1),{props:E,meta:C}=(0,l.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:m,showAltText:x});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(v,{...E,unoptimized:C.unoptimized,placeholder:C.placeholder,fill:C.fill,onLoadRef:d,onLoadingCompleteRef:y,setBlurComplete:w,setShowAltText:_,sizesInput:e.sizes,ref:t}),C.priority?(0,o.jsx)(b,{isAppRouter:!r,imgAttributes:E}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9483:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(8462)._(r(1464)).default.createContext(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.