PageSourceSearch

https://teylersmuseum.nl/_next/static/chunks/1809-5df3bdc736e5e1d3.js

js teylersmuseum.nl collected 2026-10-02 05:33:56 UTC 39,945 bytes, 1 lines download raw bytes

1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="329c130b-1a1e-4e18-9aed-f0c0bc0c3c4f",t._sentryDebugIdIdentifier="sentry-dbid-329c130b-1a1e-4e18-9aed-f0c0bc0c3c4f")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1809],{33785:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(12115);let i=function(t){(0,r.useEffect)(t,[])}},36117:function(t){t.exports=function(){"use strict";var t="millisecond",e="second",n="minute",r="hour",i="week",o="month",a="quarter",s="year",l="date",u="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,c=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},d="en",p={};p[d]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}};var m="$isDayjsObject",g=function(t){return t instanceof b||!(!t||!t[m])},w=function t(e,n,r){var i;if(!e)return d;if("string"==typeof e){var o=e.toLowerCase();p[o]&&(i=o),n&&(p[o]=n,i=o);var a=e.split("-");if(!i&&a.length>1)return t(a[0])}else{var s=e.name;p[s]=e,i=s}return!r&&i&&(d=i),i||!r&&d},y=function(t,e){if(g(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new b(n)},v={s:h,z:function(t){var e=-t.utcOffset(),n=Math.abs(e);return(e<=0?"+":"-")+h(Math.floor(n/60),2,"0")+":"+h(n%60,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,o),a=n-i<0,s=e.clone().add(r+(a?-1:1),o);return+(-(r+(n-i)/(a?i-s:s-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(u){return({M:o,y:s,w:i,d:"day",D:l,h:r,m:n,s:e,ms:t,Q:a})[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};v.l=w,v.i=g,v.w=function(t,e){return y(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var b=function(){function h(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[m]=!0}var d=h.prototype;return d.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(v.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(f);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(e)}(t),this.init()},d.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},d.$utils=function(){return v},d.isValid=function(){return this.$d.toString()!==u},d.isSame=function(t,e){var n=y(t);return this.startOf(e)<=n&&n<=this.endOf(e)},d.isAfter=function(t,e){return y(t)<this.startOf(e)},d.isBefore=function(t,e){return this.endOf(e)<y(t)},d.$g=function(t,e,n){return v.u(t)?this[e]:this.set(n,t)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(t,a){var u=this,f=!!v.u(a)||a,c=v.p(t),h=function(t,e){var n=v.w(u.$u?Date.UTC(u.$y,e,t):new Date(u.$y,e,t),u);return f?n:n.endOf("day")},d=function(t,e){return v.w(u.toDate()[t].apply(u.toDate("s"),(f?[0,0,0,0]:[23,59,59,999]).slice(e)),u)},p=this.$W,m=this.$M,g=this.$D,w="set"+(this.$u?"UTC":"");switch(c){case s:return f?h(1,0):h(31,11);case o:return f?h(1,m):h(0,m+1);case i:var y=this.$locale().weekStart||0,b=(p<y?p+7:p)-y;return h(f?g-b:g+(6-b),m);case"day":case l:return d(w+"Hours",0);case r:return d(w+"Minutes",1);case n:return d(w+"Seconds",2);case e:return d(w+"Milliseconds",3);default:return this.clone()}},d.endOf=function(t){return this.startOf(t,!1)},d.$set=function(i,a){var u,f=v.p(i),c="set"+(this.$u?"UTC":""),h=((u={}).day=c+"Date",u[l]=c+"Date",u[o]=c+"Month",u[s]=c+"FullYear",u[r]=c+"Hours",u[n]=c+"Minutes",u[e]=c+"Seconds",u[t]=c+"Milliseconds",u)[f],d="day"===f?this.$D+(a-this.$W):a;if(f===o||f===s){var p=this.clone().set(l,1);p.$d[h](d),p.init(),this.$d=p.set(l,Math.min(this.$D,p.daysInMonth())).$d}else h&&this.$d[h](d);return this.init(),this},d.set=function(t,e){return this.clone().$set(t,e)},d.get=function(t){return this[v.p(t)]()},d.add=function(t,a){var l,u=this;t=Number(t);var f=v.p(a),c=function(e){var n=y(u);return v.w(n.date(n.date()+Math.round(e*t)),u)};if(f===o)return this.set(o,this.$M+t);if(f===s)return this.set(s,this.$y+t);if("day"===f)return c(1);if(f===i)return c(7);var h=((l={})[n]=6e4,l[r]=36e5,l[e]=1e3,l)[f]||1,d=this.$d.getTime()+t*h;return v.w(d,this)},d.subtract=function(t,e){return this.add(-1*t,e)},d.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||u;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=v.z(this),o=this.$H,a=this.$m,s=this.$M,l=n.weekdays,f=n.months,h=n.meridiem,d=function(t,n,i,o){return t&&(t[n]||t(e,r))||i[n].slice(0,o)},p=function(t){return v.s(o%12||12,t,"0")},m=h||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(c,function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return v.s(e.$y,4,"0");case"M":return s+1;case"MM":return v.s(s+1,2,"0");case"MMM":return d(n.monthsShort,s,f,3);case"MMMM":return d(f,s);case"D":return e.$D;case"DD":return v.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return d(n.weekdaysMin,e.$W,l,2);case"ddd":return d(n.weekdaysShort,e.$W,l,3);case"dddd":return l[e.$W];case"H":return String(o);case"HH":return v.s(o,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return m(o,a,!0);case"A":return m(o,a,!1);case"m":return String(a);case"mm":return v.s(a,2,"0");case"s":return String(e.$s);case"ss":return v.s(e.$s,2,"0");case"SSS":return v.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")})},d.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},d.diff=function(t,l,u){var f,c=this,h=v.p(l),d=y(t),p=(d.utcOffset()-this.utcOffset())*6e4,m=this-d,g=function(){return v.m(c,d)};switch(h){case s:f=g()/12;break;case o:f=g();break;case a:f=g()/3;break;case i:f=(m-p)/6048e5;break;case"day":f=(m-p)/864e5;break;case r:f=m/36e5;break;case n:f=m/6e4;break;case e:f=m/1e3;break;default:f=m}return u?f:v.a(f)},d.daysInMonth=function(){return this.endOf(o).$D},d.$locale=function(){return p[this.$L]},d.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,!0);return r&&(n.$L=r),n},d.clone=function(){return v.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},h}(),x=b.prototype;return y.prototype=x,[["$ms",t],["$s",e],["$m",n],["$H",r],["$W","day"],["$M",o],["$y",s],["$D",l]].forEac
1h(function(t){x[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),y.extend=function(t,e){return t.$i||(t(e,b,y),t.$i=!0),y},y.locale=w,y.isDayjs=g,y.unix=function(t){return y(1e3*t)},y.en=p[d],y.Ls=p,y.p={},y}()},43711:(t,e,n)=>{"use strict";n.d(e,{C:()=>a,f:()=>s});var r=n(71450);function i(t){return t}function o(t,e){void 0===e&&(e=i);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:t},useMedium:function(t){var i=e(t,r);return n.push(i),function(){n=n.filter(function(t){return t!==i})}},assignSyncMedium:function(t){for(r=!0;n.length;){var e=n;n=[],e.forEach(t)}n={push:function(e){return t(e)},filter:function(){return n}}},assignMedium:function(t){r=!0;var e=[];if(n.length){var i=n;n=[],i.forEach(t),e=n}var o=function(){var n=e;e=[],n.forEach(t)},a=function(){return Promise.resolve().then(o)};a(),n={push:function(t){e.push(t),a()},filter:function(t){return e=e.filter(t),n}}}}}function a(t,e){return void 0===e&&(e=i),o(t,e)}function s(t){void 0===t&&(t={});var e=o(null);return e.options=(0,r.Cl)({async:!0,ssr:!1},t),e}},58146:(t,e,n)=>{"use strict";let r;n.d(e,{UE:()=>tM,RK:()=>tv,ll:()=>tg,rD:()=>tE,__:()=>tw,UU:()=>tx,jD:()=>tO,ER:()=>tD,cY:()=>ty,BN:()=>tb,Ej:()=>t$});let i=["top","right","bottom","left"],o=i.reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]),a=Math.min,s=Math.max,l=Math.round,u=Math.floor,f=t=>({x:t,y:t}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function h(t,e){return"function"==typeof t?t(e):t}function d(t){return t.split("-")[0]}function p(t){return t.split("-")[1]}function m(t){return"x"===t?"y":"x"}function g(t){return"y"===t?"height":"width"}function w(t){let e=t[0];return"t"===e||"b"===e?"y":"x"}function y(t,e,n){void 0===n&&(n=!1);let r=p(t),i=m(w(t)),o=g(i),a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[o]>e.floating[o]&&(a=M(a)),[a,M(a)]}function v(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}let b=["left","right"],x=["right","left"],$=["top","bottom"],O=["bottom","top"];function M(t){let e=d(t);return c[e]+t.slice(e.length)}function D(t){return"number"!=typeof t?{top:0,right:0,bottom:0,left:0,...t}:{top:t,right:t,bottom:t,left:t}}function E(t){let{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}function A(t,e,n){let r,{reference:i,floating:o}=t,a=w(e),s=m(w(e)),l=g(s),u=d(e),f="y"===a,c=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,y=i[l]/2-o[l]/2;switch(u){case"top":r={x:c,y:i.y-o.height};break;case"bottom":r={x:c,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:h};break;case"left":r={x:i.x-o.width,y:h};break;default:r={x:i.x,y:i.y}}switch(p(e)){case"start":r[s]-=y*(n&&f?-1:1);break;case"end":r[s]+=y*(n&&f?-1:1)}return r}async function S(t,e){var n;void 0===e&&(e={});let{x:r,y:i,platform:o,rects:a,elements:s,strategy:l}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:c="floating",altBoundary:d=!1,padding:p=0}=h(e,t),m=D(p),g=s[d?"floating"===c?"reference":"floating":c],w=E(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:u,rootBoundary:f,strategy:l})),y="floating"===c?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,v=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),b=await (null==o.isElement?void 0:o.isElement(v))&&await (null==o.getScale?void 0:o.getScale(v))||{x:1,y:1},x=E(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:v,strategy:l}):y);return{top:(w.top-x.top+m.top)/b.y,bottom:(x.bottom-w.bottom+m.bottom)/b.y,left:(w.left-x.left+m.left)/b.x,right:(x.right-w.right+m.right)/b.x}}let R=async(t,e,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=a.detectOverflow?a:{...a,detectOverflow:S},l=await (null==a.isRTL?void 0:a.isRTL(e)),u=await a.getElementRects({reference:t,floating:e,strategy:i}
1),{x:f,y:c}=A(u,r,l),h=r,d=0,p={};for(let n=0;n<o.length;n++){let m=o[n];if(!m)continue;let{name:g,fn:w}=m,{x:y,y:v,data:b,reset:x}=await w({x:f,y:c,initialPlacement:r,placement:h,strategy:i,middlewareData:p,rects:u,platform:s,elements:{reference:t,floating:e}});f=null!=y?y:f,c=null!=v?v:c,p[g]={...p[g],...b},x&&d<50&&(d++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(u=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):x.rects),{x:f,y:c}=A(u,h,l)),n=-1)}return{x:f,y:c,placement:h,strategy:i,middlewareData:p}};function L(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function C(t){return i.some(e=>t[e]>=0)}let T=new Set(["left","top"]);async function _(t,e){let{placement:n,platform:r,elements:i}=t,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),a=d(n),s=p(n),l="y"===w(n),u=T.has(a)?-1:1,f=o&&l?-1:1,c=h(e,t),{mainAxis:m,crossAxis:g,alignmentAxis:y}="number"==typeof c?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return s&&"number"==typeof y&&(g="end"===s?-1*y:y),l?{x:g*f,y:m*u}:{x:m*u,y:g*f}}function k(){return"undefined"!=typeof window}function I(t){return j(t)?(t.nodeName||"").toLowerCase():"#document"}function H(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function P(t){var e;return null==(e=(j(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function j(t){return!!k()&&(t instanceof Node||t instanceof H(t).Node)}function U(t){return!!k()&&(t instanceof Element||t instanceof H(t).Element)}function W(t){return!!k()&&(t instanceof HTMLElement||t instanceof H(t).HTMLElement)}function N(t){return!!k()&&"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof H(t).ShadowRoot)}function F(t){let{overflow:e,overflowX:n,overflowY:r,display:i}=Q(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&"inline"!==i&&"contents"!==i}function V(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}let Y=/transform|translate|scale|rotate|perspective|filter/,B=/paint|layout|strict|content/,z=t=>!!t&&"none"!==t;function q(t){let e=U(t)?Q(t):t;return z(e.transform)||z(e.translate)||z(e.scale)||z(e.rotate)||z(e.perspective)||!J()&&(z(e.backdropFilter)||z(e.filter))||Y.test(e.willChange||"")||B.test(e.contain||"")}function J(){return null==r&&(r="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function K(t){return/^(html|body|#document)$/.test(I(t))}function Q(t){return H(t).getComputedStyle(t)}function Z(t){return U(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function X(t){if("html"===I(t))return t;let e=t.assignedSlot||t.parentNode||N(t)&&t.host||P(t);return N(e)?e.host:e}function G(t,e,n){var r;void 0===e&&(e=[]),void 0===n&&(n=!0);let i=function t(e){let n=X(e);return K(n)?e.ownerDocument?e.ownerDocument.body:e.body:W(n)&&F(n)?n:t(n)}(t),o=i===(null==(r=t.ownerDocument)?void 0:r.body),a=H(i);if(!o)return e.concat(i,G(i,[],n));{let t=tt(a);return e.concat(a,a.visualViewport||[],F(i)?i:[],t&&n?G(t):[])}}function tt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function te(t){let e=Q(t),n=parseFloat(e.width)||0,r=parseFloat(e.height)||0,i=W(t),o=i?t.offsetWidth:n,a=i?t.offsetHeight:r,s=l(n)!==o||l(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function tn(t){return U(t)?t:t.contextElement}function tr(t){let e=tn(t);if(!W(e))return f(1);let n=e.getBoundingClientRect(),{width:r,height:i,$:o}=te(e),a=(o?l(n.width):n.width)/r,s=(o?l(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let ti=f(0);function to(t){let e=H(t);
1return J()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ti}function ta(t,e,n,r){var i;void 0===e&&(e=!1),void 0===n&&(n=!1);let o=t.getBoundingClientRect(),a=tn(t),s=f(1);e&&(r?U(r)&&(s=tr(r)):s=tr(t));let l=(void 0===(i=n)&&(i=!1),r&&(!i||r===H(a))&&i)?to(a):f(0),u=(o.left+l.x)/s.x,c=(o.top+l.y)/s.y,h=o.width/s.x,d=o.height/s.y;if(a){let t=H(a),e=r&&U(r)?H(r):r,n=t,i=tt(n);for(;i&&r&&e!==n;){let t=tr(i),e=i.getBoundingClientRect(),r=Q(i),o=e.left+(i.clientLeft+parseFloat(r.paddingLeft))*t.x,a=e.top+(i.clientTop+parseFloat(r.paddingTop))*t.y;u*=t.x,c*=t.y,h*=t.x,d*=t.y,u+=o,c+=a,i=tt(n=H(i))}}return E({width:h,height:d,x:u,y:c})}function ts(t,e){let n=Z(t).scrollLeft;return e?e.left+n:ta(P(t)).left+n}function tl(t,e){let n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-ts(t,n),y:n.top+e.scrollTop}}function tu(t,e,n){let r;if("viewport"===e)r=function(t,e){let n=H(t),r=P(t),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;let t=J();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,l=i.offsetTop)}let u=ts(r);if(u<=0){let t=r.ownerDocument,e=t.body,n=getComputedStyle(e),i="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,a=Math.abs(r.clientWidth-e.clientWidth-i);a<=25&&(o-=a)}else u<=25&&(o+=u);return{width:o,height:a,x:s,y:l}}(t,n);else if("document"===e)r=function(t){let e=P(t),n=Z(t),r=t.ownerDocument.body,i=s(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),o=s(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+ts(t),l=-n.scrollTop;return"rtl"===Q(r).direction&&(a+=s(e.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:l}}(P(t));else if(U(e))r=function(t,e){let n=ta(t,!0,"fixed"===e),r=n.top+t.clientTop,i=n.left+t.clientLeft,o=W(t)?tr(t):f(1),a=t.clientWidth*o.x,s=t.clientHeight*o.y;return{width:a,height:s,x:i*o.x,y:r*o.y}}(e,n);else{let n=to(t);r={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return E(r)}function tf(t){return"static"===Q(t).position}function tc(t,e){if(!W(t)||"fixed"===Q(t).position)return null;if(e)return e(t);let n=t.offsetParent;return P(t)===n&&(n=n.ownerDocument.body),n}function th(t,e){var n;let r=H(t);if(V(t))return r;if(!W(t)){let e=X(t);for(;e&&!K(e);){if(U(e)&&!tf(e))return e;e=X(e)}return r}let i=tc(t,e);for(;i&&(n=i,/^(table|td|th)$/.test(I(n)))&&tf(i);)i=tc(i,e);return i&&K(i)&&tf(i)&&!q(i)?r:i||function(t){let e=X(t);for(;W(e)&&!K(e);){if(q(e))return e;if(V(e))break;e=X(e)}return null}(t)||r}let td=async function(t){let e=this.getOffsetParent||th,n=this.getDimensions,r=await n(t.floating);return{reference:function(t,e,n){let r=W(e),i=P(e),o="fixed"===n,a=ta(t,!0,o,e),s={scrollLeft:0,scrollTop:0},l=f(0);if(r||!r&&!o)if(("body"!==I(e)||F(i))&&(s=Z(e)),r){let t=ta(e,!0,o,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else i&&(l.x=ts(i));o&&!r&&i&&(l.x=ts(i));let u=!i||r||o?f(0):tl(i,s);return{x:a.left+s.scrollLeft-l.x-u.x,y:a.top+s.scrollTop-l.y-u.y,width:a.width,height:a.height}}(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},tp={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:i}=t,o="fixed"===i,a=P(r),s=!!e&&V(e.floating);if(r===a||s&&o)return n;let l={scrollLeft:0,scrollTop:0},u=f(1),c=f(0),h=W(r);if((h||!h&&!o)&&(("body"!==I(r)||F(a))&&(l=Z(r)),h)){let t=ta(r);u=tr(r),c.x=t.x+r.clientLeft,c.y=t.y+r.clientTop}let d=!a||h||o?f(0):tl(a,l);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+d.x,y:n.y*u.y-l.scrollTop*u.y+c.y+d.y}},getDocumentElement:P,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:i}=t,o=[..."clippingAncestors"===n?V(e)?[]:function(t,e){let n=e.get(t);if(n)return n;let r=G(t,[],!1).filter(t=>U(t)&&"body"!==I(t)),i=null,o="fixed"===Q(t).position,a=o?X(t):t;for(;U(a)&&!K(a);){let e=Q(a),n=q(a);n||"fixed"!==e.position||(i=null),(o?n||i:!(!n&&"static"===e.position&&i&&("absolute"===i.position||"fixed"===i.position)||F(a)&&!n&&function t(e,n){let r=X(e);return!(r===n||!U(r)||K(r))&&("fixed"===Q(r).position||t(r,n))}(t,a)))?i=e:r=r.filter(t=>t!==a),a=X(a)}return e.set(t,r),r}(e,this._c):[].concat(n),r],l=tu(e,o[0],i),u=l.top,f=l.right,c=l.bottom,h=l.left;for(let t=1;t<o.length;t++){let n=tu(e,o[t],i);u=s(n.top,u),f=a(n.right,f),c=a(n.bottom,c),h=s(n.left,h)}return{width:f-h,height:c-u,x:h,y:u}},getOffsetParent:th,getElementRects:td,getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){let{width:e,height:n}=te(t);return{width:e,height:n}},getScale:tr,isElement:U,isRTL:function(t){return"rtl"===Q(t).direction}};function tm(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function tg(t,e,n,r){let i;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:l=!0,elementResize:f="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:h=!1}=r,d=tn(t),p=o||l?[...d?G(d):[],...e?G(e):[]]:[];p.forEach(t=>{o&&t.addEventListener("scroll",n,{passive:!0}),l&&t.addEventListener("resize",n)});let m=d&&c?function(t,e){let n,r=null,i=P(t);function o(){var t;clearTimeout(n),null==(t=r)||t.disconnect(),r=null}return!function l(f,c){void 0===f&&(f=!1),void 0===c&&(c=1),o();let h=t.getBoundingClientRect(),{left:d,top:p,width:m,height:g}
1=h;if(f||e(),!m||!g)return;let w=u(p),y=u(i.clientWidth-(d+m)),v={rootMargin:-w+"px "+-y+"px "+-u(i.clientHeight-(p+g))+"px "+-u(d)+"px",threshold:s(0,a(1,c))||1},b=!0;function x(e){let r=e[0].intersectionRatio;if(r!==c){if(!b)return l();r?l(!1,r):n=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==r||tm(h,t.getBoundingClientRect())||l(),b=!1}try{r=new IntersectionObserver(x,{...v,root:i.ownerDocument})}catch(t){r=new IntersectionObserver(x,v)}r.observe(t)}(!0),o}(d,n):null,g=-1,w=null;f&&(w=new ResizeObserver(t=>{let[r]=t;r&&r.target===d&&w&&e&&(w.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=w)||t.observe(e)})),n()}),d&&!h&&w.observe(d),e&&w.observe(e));let y=h?ta(t):null;return h&&function e(){let r=ta(t);y&&!tm(y,r)&&n(),y=r,i=requestAnimationFrame(e)}(),n(),()=>{var t;p.forEach(t=>{o&&t.removeEventListener("scroll",n),l&&t.removeEventListener("resize",n)}),null==m||m(),null==(t=w)||t.disconnect(),w=null,h&&cancelAnimationFrame(i)}}let tw=S,ty=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,r;let{x:i,y:o,placement:a,middlewareData:s}=e,l=await _(e,t);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:a}}}}},tv=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,r,i,a;let{rects:s,middlewareData:l,placement:u,platform:f,elements:c}=e,{crossAxis:m=!1,alignment:g,allowedPlacements:w=o,autoAlignment:b=!0,...x}=h(t,e),$=void 0!==g||w===o?((a=g||null)?[...w.filter(t=>p(t)===a),...w.filter(t=>p(t)!==a)]:w.filter(t=>d(t)===t)).filter(t=>!a||p(t)===a||!!b&&v(t)!==t):w,O=await f.detectOverflow(e,x),M=(null==(n=l.autoPlacement)?void 0:n.index)||0,D=$[M];if(null==D)return{};let E=y(D,s,await (null==f.isRTL?void 0:f.isRTL(c.floating)));if(u!==D)return{reset:{placement:$[0]}};let A=[O[d(D)],O[E[0]],O[E[1]]],S=[...(null==(r=l.autoPlacement)?void 0:r.overflows)||[],{placement:D,overflows:A}],R=$[M+1];if(R)return{data:{index:M+1,overflows:S},reset:{placement:R}};let L=S.map(t=>{let e=p(t.placement);return[t.placement,e&&m?t.overflows.slice(0,2).reduce((t,e)=>t+e,0):t.overflows[0],t.overflows]}).sort((t,e)=>t[1]-e[1]),C=(null==(i=L.filter(t=>t[2].slice(0,p(t[0])?2:3).every(t=>t<=0))[0])?void 0:i[0])||L[0][0];return C!==u?{data:{index:M+1,overflows:S},reset:{placement:C}}:{}}}},tb=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:r,placement:i,platform:o}=e,{mainAxis:l=!0,crossAxis:u=!1,limiter:f={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...c}=h(t,e),p={x:n,y:r},g=await o.detectOverflow(e,c),y=w(d(i)),v=m(y),b=p[v],x=p[y];if(l){let t="y"===v?"top":"left",e="y"===v?"bottom":"right",n=b+g[t],r=b-g[e];b=s(n,a(b,r))}if(u){let t="y"===y?"top":"left",e="y"===y?"bottom":"right",n=x+g[t],r=x-g[e];x=s(n,a(x,r))}let $=f.fn({...e,[v]:b,[y]:x});return{...$,data:{x:$.x-n,y:$.y-r,enabled:{[v]:l,[y]:u}}}}}},tx=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r,i,o,a;let{placement:s,middlewareData:l,rects:u,initialPlacement:f,platform:c,elements:m}=e,{mainAxis:g=!0,crossAxis:D=!0,fallbackPlacements:E,fallbackStrategy:A="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:R=!0,...L}=h(t,e);if(null!=(n=l.arrow)&&n.alignmentOffset)return{};let C=d(s),T=w(f),_=d(f)===f,k=await (null==c.isRTL?void 0:c.isRTL(m.floating)),I=E||(_||!R?[M(f)]:function(t){let e=M(t);return[v(t),e,v(e)]}(f)),H="none"!==S;!E&&H&&I.push(...function(t,e,n,r){let i=p(t),o=function(t,e,n){switch(t){case"top":case"bottom":if(n)return e?x:b;return e?b:x;case"left":case"right":return e?$:O;default:return[]}}(d(t),"start"===n,r);return i&&(o=o.map(t=>t+"-"+i),e&&(o=o.concat(o.map(v)))),o}(f,R,S,k));let P=[f,...I],j=await c.detectOverflow(e,L),U=[],W=(null==(r=l.flip)?void 0:r.overflows)||[];if(g&&U.push(j[C]),D){let t=y(s,u,k);U.push(j[t[0]],j[t[1]])}if(W=[...W,{placement:s,overflows:U}],!U.every(t=>t<=0)){let t=((null==(i=l.flip)?void 0:i.index)||0)+1,e=P[t];if(e&&("alignment"!==D||T===w(e)||W.every(t=>w(t.placement)!==T||t.overflows[0]>0)))return{data:{index:t,overflows:W},reset:{placement:e}};let n=null==(o=W.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:o.placement;if(!n)switch(A){case"bestFit":{let t=null==(a=W.filter(t=>{if(H){let e=w(t.placement);return e===T||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:a[0];t&&(n=t);break}case"initialPlacement":n=f}if(s!==n)return{reset:{placement:n}}}return{}}}},t$=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,r;let i,o,{placement:l,rects:u,platform:f,elements:c}=e,{apply:m=()=>{},...g}=h(t,e),y=await f.detectOverflow(e,g),v=d(l),b=p(l),x="y"===w(l),{width:$,height:O}=u.floating;"top"===v||"bottom"===v?(i=v,o=b===(await (null==f.isRTL?void 0:f.isRTL(c.floating))?"start":"end")?"left":"right"):(o=v,i="end"===b?"top":"bottom");let M=O-y.top-y.bottom,D=$-y.left-y.right,E=a(O-y[i],M),A=a($-y[o],D),S=!e.middlewareData.shift,R=E,L=A;if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(L=D),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(R=M),S&&!b){let t=s(y.left,0),e=s(y.right,0),n=s(y.top,0),r=s(y.bottom,0);x?L=$-2*(0!==t||0!==e?t+e:s(y.left,y.right)):R=O-2*(0!==n||0!==r?n+r:s(y.top,y.bottom))}await m({...e,availableWidth:L,availableHeight:R});let C=await f.getDimensions(c.floating);return $!==C.width||O!==C.height?{reset:{rects:!0}}:{}}}},tO=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){let{rects:n,platform:r}=e,{strategy:i="referenceHidden",...o}=h(t,e);switch(i){case"referenceHidden":{let t=L(await r.detectOverflow(e,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:C(t)}}}case"escaped":{let t=L(await r.detectOverflow(e,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:C(t)}}}default:return{}}}}},tM=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:r,placement:i,rects:o,platform:l,elements:u,middlewareData:f}=e,{element:c,padding:d=0}=h(t,e)||{};if(null==c)return{};let y=D(d),v={x:n,y:r},b=m(w(i)),x=g(b),$=await l.getDimensions(c),O="y"===b,M=O?"clientHeight":"clientWidth",E=o.reference[x]+o.reference[b]-v[b]-o.floating[x],A=v[b]-o.reference[b],S=await (null==l.getOffsetParent?void 0:l.getOffsetParent(c)),R=S?S[M]:0;R&&await (null==l.isElement?void 0:l.isElement(S))||(R=u.floating[M]||o.floating[x]);let L=R/2-$[x]/2-1,C=a(y[O?"top":"left"],L),T=a(y[O?"bottom":"right"],L),_=R-$[x]-T,k=R/2-$[x]/2+(E/2-A/2),I=s(C,a(k,_)),H=!f.arrow&&null!=p(i)&&k!==I&&o.reference[x]/2-(k<C?C:T)-$[x]/2<0,P=H?k<C?k-C:k-_:0;return{[b]:v[b]+P,data:{[b]:I,centerOffset:k-I-P,...H&&{alignmentOffset:P}},reset:H}}}),tD=function(t){return void 0===t&&(t={}),{options:t,fn(e){let{x:n,y:r,placement:i,rects:o,middlewareData:a}=e,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=h(t,e),f={x:n,y:r},c=w(i),p=m(c),g=f[p],y=f[c],v=h(s,e),b="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){let t="y"===p?"height":"width",e=o.reference[p]-o.floating[t]+b.mainAxis,n=o.reference[p]+o.reference[t]-b.mainAxis;g<e?g=e:g>n&&(g=n)}if(u){var x,$;let t="y"===p?"width":"height",e=T.has(d(i)),n=o.reference[c]-o.floating[t]+(e&&(null==(x=a.offset)?void 0:x[c])||0)+(e?0:b.crossAxis),r=o.reference[c]+o.reference[t]+(e?0:(null==($=a.offset)?void 0:$[c])||0)-(e?b.crossAxis:0);y<n?y=n:y>r&&(y=r)}return{[p]:g,[c]:y}}}},tE=(t,e,n)=>{let r=new Map,i={platform:tp,...n},o={...i.platform,_c:r};return R(t,e,{...i,platform:o})}},78357:(t,e,n)=>{"use strict";n.d(e,{S:()=>s});var r=n(12115);function i(t,e){return"function"==typeof t?t(e):t&&(t.current=e),t}var o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,a=new WeakMap;function s(t,e){var n,s,l,u=(n=e||null,s=function(e){return t.forEach(function(t){return i(t,e)})},(l=(0,r.useState)(function(){return{value:n,callback:s,facade:{get current(){return l.value},set current(value){var t=l.value;t!==value&&(l.value=value,l.callback(value,t))}}}})[0]).callback=s,l.facade);return o(function(){var e=a.get(u);if(e){var n=new Set(e),r=new Set(t),o=u.current;
1n.forEach(function(t){r.has(t)||i(t,null)}),r.forEach(function(t){n.has(t)||i(t,o)})}a.set(u,t)},[t]),u}},83316:(t,e,n)=>{"use strict";let r;n.d(e,{OX:()=>h});let i="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function o(t){return`image-${t.split("/").slice(-1)[0]}`.replace(/\.([a-z]+)$/,"-$1")}let a=[["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"]],s=["clip","crop","fill","fillmax","max","scale","min"],l=["top","bottom","left","right","center","focalpoint","entropy"],u=["format"];function f(t){let{apiHost:e,projectId:n,dataset:r}=t,i={baseUrl:(e||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn.")},o=t.resource??t["~experimental_resource"];if(o?.type==="media-library"){if("string"!=typeof o.id||0===o.id.length)throw Error('Media library clients must include an id in "resource"');return{...i,mediaLibraryId:o.id}}if(o?.type==="canvas"){if("string"!=typeof o.id||0===o.id.length)throw Error('Canvas clients must include an id in "resource"');return{...i,canvasId:o.id}}if(o?.type==="dataset"){if("string"!=typeof o.id||0===o.id.length)throw Error('Dataset clients must include an id in "resource"');let[t,e]=o.id.split(".");if(!t||!e)throw Error('Dataset resource id must be in the format "projectId.dataset", got: '+o.id);return{...i,projectId:t,dataset:e}}return{...i,projectId:n,dataset:r}}function c(t){return t&&"config"in t&&"function"==typeof t.config?f(t.config()):t&&"clientConfig"in t&&"object"==typeof t.clientConfig?f(t.clientConfig):t||{}}function h(t){return new d(null,c(t))}class d{options;constructor(t,e){this.options=t?{...t.options||{},...e||{}}:{...e||{}}}withOptions(t){return new d(this,function(t,e){let n=e.baseUrl||t.baseUrl,r={baseUrl:n};for(let t in e)e.hasOwnProperty(t)&&(r[function(t){for(let e of a){let[n,r]=e;if(t===n||t===r)return n}return t}(t)]=e[t]);return{baseUrl:n,...r}}(this.options,t))}image(t){return this.withOptions({source:t})}dataset(t){return this.withOptions({dataset:t})}projectId(t){return this.withOptions({projectId:t})}withClient(t){let e=c(t),n={...this.options};return delete n.baseUrl,delete n.projectId,delete n.dataset,delete n.mediaLibraryId,delete n.canvasId,new d(null,{...e,...n})}bg(t){return this.withOptions({bg:t})}dpr(t){return this.withOptions(t&&1!==t?{dpr:t}:{})}width(t){return this.withOptions({width:t})}height(t){return this.withOptions({height:t})}focalPoint(t,e){return this.withOptions({focalPoint:{x:t,y:e}})}maxWidth(t){return this.withOptions({maxWidth:t})}minWidth(t){return this.withOptions({minWidth:t})}maxHeight(t){return this.withOptions({maxHeight:t})}minHeight(t){return this.withOptions({minHeight:t})}size(t,e){return this.withOptions({width:t,height:e})}blur(t){return this.withOptions({blur:t})}sharpen(t){return this.withOptions({sharpen:t})}rect(t,e,n,r){return this.withOptions({rect:{left:t,top:e,width:n,height:r}})}format(t){return this.withOptions({format:t})}invert(t){return this.withOptions({invert:t})}orientation(t){return this.withOptions({orientation:t})}quality(t){return this.withOptions({quality:t})}forceDownload(t){return this.withOptions({download:t})}flipHorizontal(){return this.withOptions({flipHorizontal:!0})}flipVertical(){return this.withOptions({flipVertical:!0})}ignoreImageParams(){return this.withOptions({ignoreImageParams:!0})}fit(t){if(-1===s.indexOf(t))throw Error(`Invalid fit mode "${t}"`);return this.withOptions({fit:t})}crop(t){if(-1===l.indexOf(t))throw Error(`Invalid crop mode "${t}"`);return this.withOptions({crop:t})}saturation(t){return this.withOptions({saturation:t})}auto(t){if(-1===u.indexOf(t))throw Error(`Invalid auto mode "${t}"`);return this.withOptions({auto:t})}pad(t){return this.withOptions({pad:t})}vanityName(t){return this.withOptions({vanityName:t})}frame(t){if(1!==t)throw Error(`Invalid frame value "${t}"`);return this.withOptions({frame:t})}url(){return function(t){let e={...t||{}},n=e.source;delete e.source;let r=function(t){var e;let n;if(!t)return null;if("string"==typeof t&&(e=t,/^https?:\/\//.test(`${e}`)))n={asset:{_ref:o(t)}};else if("string"==typeof t)n={asset:{_ref:t}};else if(t&&"string"==typeof t._ref)n={asset:t};else if(t&&"string"==typeof t._id)n={asset:{_ref:t._id||""}};else if(t&&t.asset&&"string"==typeof t.asset.url)n={asset:{_ref:o(t.asset.url)}};else{if("object"!=typeof t.asset)return null;n={...t}}return t.crop&&(n.crop=t.crop),t.hotspot&&(n.hotspot=t.hotspot),function(t){if(t.crop&&t.hotspot)return t;let e={...t};return e.crop||(e.crop={left:0,top:0,bottom:0,right:0}),e.hotspot||(e.hotspot={x:.5,y:.5,height:1,width:1}),e}(n)}(n);if(!r){if(n&&"object"==typeof n&&null!==n&&n._upload&&(!n.asset||!n.asset._ref))return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8HwQACfsD/QNViZkAAAAASUVORK5CYII=";throw Error(`Unable to resolve image URL from source (${JSON.stringify(n)})`)}let s=function(t){let[,e,n,r]=t.split("-");if(!e||!n||!r)throw Error(`Malformed asset _ref '${t}'. Expected an id like "${i}".`);let[o,a]=n.split("x"),s=+o,l=+a;if(!(isFinite(s)&&isFinite(l)))throw Error(`Malformed asset _ref '${t}'. Expected an id like "${i}".`);return{id:e,width:s,height:l,format:r}}(r.asset._ref||r.asset._id||""),l=Math.round(r.crop.left*s.width),u=Math.round(r.crop.top*s.height),f={left:l,top:u,width:Math.round(s.width-r.crop.right*s.width-l),height:Math.round(s.height-r.crop.bottom*s.height-u)},c=r.hotspot.height*s.height/2,h=r.hotspot.width*s.width/2,d=r.hotspot.x*s.width,p=r.hotspot.y*s.height;return e.rect||e.focalPoint||e.ignoreImageParams||e.crop||(e={...e,...function(t,e){let n,r=e.width,i=e.he
1ight;if(!(r&&i))return{width:r,height:i,rect:t.crop};let o=t.crop,a=t.hotspot,s=r/i;if(o.width/o.height>s){let t=Math.round(o.height),e=Math.round(t*s),r=Math.max(0,Math.round(o.top)),i=Math.max(0,Math.round(Math.round((a.right-a.left)/2+a.left)-e/2));i<o.left?i=o.left:i+e>o.left+o.width&&(i=o.left+o.width-e),n={left:i,top:r,width:e,height:t}}else{let t=o.width,e=Math.round(t/s),r=Math.max(0,Math.round(o.left)),i=Math.max(0,Math.round(Math.round((a.bottom-a.top)/2+a.top)-e/2));i<o.top?i=o.top:i+e>o.top+o.height&&(i=o.top+o.height-e),n={left:r,top:i,width:t,height:e}}return{width:r,height:i,rect:n}}({crop:f,hotspot:{left:d-h,top:p-c,right:d+h,bottom:p+c}},e)}),function(t){let e,n=(t.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),r=t.vanityName?`/${t.vanityName}`:"",i=`${t.asset.id}-${t.asset.width}x${t.asset.height}.${t.asset.format}${r}`;e=t.mediaLibraryId?`${n}/media-libraries/${t.mediaLibraryId}/images/${i}`:t.canvasId?`${n}/images/canvases/${t.canvasId}/${i}`:`${n}/images/${t.projectId}/${t.dataset}/${i}`;let o=[];if(t.rect){let{left:e,top:n,width:r,height:i}=t.rect;(0!==e||0!==n||i!==t.asset.height||r!==t.asset.width)&&o.push(`rect=${e},${n},${r},${i}`)}t.bg&&o.push(`bg=${t.bg}`),t.focalPoint&&(o.push(`fp-x=${t.focalPoint.x}`),o.push(`fp-y=${t.focalPoint.y}`));let s=[t.flipHorizontal&&"h",t.flipVertical&&"v"].filter(Boolean).join("");return s&&o.push(`flip=${s}`),a.forEach(e=>{let[n,r]=e;"u">typeof t[n]?o.push(`${r}=${encodeURIComponent(t[n])}`):"u">typeof t[r]&&o.push(`${r}=${encodeURIComponent(t[r])}`)}),0===o.length?e:`${e}?${o.join("&")}`}({...e,asset:s})}(this.options)}toString(){return this.url()}}r=["The default export of @sanity/image-url has been deprecated. Use the named export `createImageUrlBuilder` instead."],(...t)=>{console.warn(r.join(" "),...t)}},88334:(t,e,n)=>{"use strict";n.d(e,{BN:()=>d,ER:()=>p,Ej:()=>g,RK:()=>w,UE:()=>v,UU:()=>m,cY:()=>h,jD:()=>y,we:()=>c});var r=n(58146),i=n(12115),o=n(47650),a="undefined"!=typeof document?i.useLayoutEffect:function(){};function s(t,e){let n,r,i;if(t===e)return!0;if(typeof t!=typeof e)return!1;if("function"==typeof t&&t.toString()===e.toString())return!0;if(t&&e&&"object"==typeof t){if(Array.isArray(t)){if((n=t.length)!==e.length)return!1;for(r=n;0!=r--;)if(!s(t[r],e[r]))return!1;return!0}if((n=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(e,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!t.$$typeof)&&!s(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}function l(t){return"undefined"==typeof window?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function u(t,e){let n=l(t);return Math.round(e*n)/n}function f(t){let e=i.useRef(t);return a(()=>{e.current=t}),e}function c(t){void 0===t&&(t={});let{placement:e="bottom",strategy:n="absolute",middleware:c=[],platform:h,elements:{reference:d,floating:p}={},transform:m=!0,whileElementsMounted:g,open:w}=t,[y,v]=i.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[b,x]=i.useState(c);s(b,c)||x(c);let[$,O]=i.useState(null),[M,D]=i.useState(null),E=i.useCallback(t=>{t!==L.current&&(L.current=t,O(t))},[]),A=i.useCallback(t=>{t!==C.current&&(C.current=t,D(t))},[]),S=d||$,R=p||M,L=i.useRef(null),C=i.useRef(null),T=i.useRef(y),_=null!=g,k=f(g),I=f(h),H=f(w),P=i.useCallback(()=>{if(!L.current||!C.current)return;let t={placement:e,strategy:n,middleware:b};I.current&&(t.platform=I.current),(0,r.rD)(L.current,C.current,t).then(t=>{let e={...t,isPositioned:!1!==H.current};j.current&&!s(T.current,e)&&(T.current=e,o.flushSync(()=>{v(e)}))})},[b,e,n,I,H]);a(()=>{!1===w&&T.current.isPositioned&&(T.current.isPositioned=!1,v(t=>({...t,isPositioned:!1})))},[w]);let j=i.useRef(!1);a(()=>(j.current=!0,()=>{j.current=!1}),[]),a(()=>{if(S&&(L.current=S),R&&(C.current=R),S&&R){if(k.current)return k.current(S,R,P);P()}},[S,R,P,k,_]);let U=i.useMemo(()=>({reference:L,floating:C,setReference:E,setFloating:A}),[E,A]),W=i.useMemo(()=>({reference:S,floating:R}),[S,R]),N=i.useMemo(()=>{let t={position:n,left:0,top:0};if(!W.floating)return t;let e=u(W.floating,y.x),r=u(W.floating,y.y);return m?{...t,transform:"translate("+e+"px, "+r+"px)",...l(W.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:e,top:r}},[n,m,W.floating,y.x,y.y]);return i.useMemo(()=>({...y,update:P,refs:U,elements:W,floatingStyles:N}),[y,P,U,W,N])}let h=(t,e)=>{let n=(0,r.cY)(t);return{name:n.name,fn:n.fn,options:[t,e]}},d=(t,e)=>{let n=(0,r.BN)(t);return{name:n.name,fn:n.fn,options:[t,e]}},p=(t,e)=>({fn:(0,r.ER)(t).fn,options:[t,e]}),m=(t,e)=>{let n=(0,r.UU)(t);return{name:n.name,fn:n.fn,options:[t,e]}},g=(t,e)=>{let n=(0,r.Ej)(t);return{name:n.name,fn:n.fn,options:[t,e]}},w=(t,e)=>{let n=(0,r.RK)(t);return{name:n.name,fn:n.fn,options:[t,e]}},y=(t,e)=>{let n=(0,r.jD)(t);return{name:n.name,fn:n.fn,options:[t,e]}},v=(t,e)=>{let n=(t=>({name:"arrow",options:t,fn(e){let{element:n,padding:i}="function"==typeof t?t(e):t;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.UE)({element:n.current,padding:i}).fn(e):{}:n?(0,r.UE)({element:n,padding:i}).fn(e):{}}}))(t);return{name:n.name,fn:n.fn,options:[t,e]}}}}]);

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.