1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,35889,526599,e=>{"use strict";var t=e.i(271645),r=e.i(914189),n=e.i(835696),i=e.i(255743),o=e.i(294316),s=e.i(601893),a=e.i(700020);let l=(0,t.createContext)(null);l.displayName="DescriptionContext";let u=Object.assign((0,a.forwardRefWithAs)(function(e,r){let u=(0,t.useId)(),c=(0,s.useDisabled)(),{id:d=`headlessui-description-${u}`,...f}=e,h=function e(){let r=(0,t.useContext)(l);if(null===r){let t=Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return r}(),p=(0,o.useSyncRefs)(r);(0,n.useIsoMorphicEffect)(()=>h.register(d),[d,h.register]);let m=(0,i.useSlot)({...h.slot,disabled:c||!1}),v={ref:p,...h.props,id:d};return(0,a.useRender)()({ourProps:v,theirProps:f,slot:m,defaultTag:"p",name:h.name||"Description"})}),{});e.s(["Description",0,u,"useDescribedBy",0,function(){var e,r;return null!=(r=null==(e=(0,t.useContext)(l))?void 0:e.value)?r:void 0},"useDescriptions",0,function(){let[e,n]=(0,t.useState)([]);return[e.length>0?e.join(" "):void 0,(0,t.useMemo)(()=>function(e){let i=(0,r.useEvent)(e=>(n(t=>[...t,e]),()=>n(t=>{let r=t.slice(),n=r.indexOf(e);return -1!==n&&r.splice(n,1),r}))),o=(0,t.useMemo)(()=>({register:i,slot:e.slot,name:e.name,props:e.props,value:e.value}),[i,e.slot,e.name,e.props,e.value]);return t.default.createElement(l.Provider,{value:o},e.children)},[n])]}],35889);var c=e.i(368578);e.s(["useOnUnmount",0,function(e){let n=(0,r.useEvent)(e),i=(0,t.useRef)(!1);(0,t.useEffect)(()=>(i.current=!1,()=>{i.current=!0,(0,c.microTask)(()=>{i.current&&n()})}),[n])}],526599)},635307,e=>{"use strict";var t=e.i(271645),r=e.i(174080),n=e.i(746725),i=e.i(914189),o=e.i(526599),s=e.i(605083),a=e.i(178677),l=e.i(294316),u=e.i(496629),c=e.i(80758),d=e.i(700020);let f=t.Fragment,h=(0,d.forwardRefWithAs)(function(e,i){let{ownerDocument:h=null,...p}=e,g=(0,t.useRef)(null),w=(0,l.useSyncRefs)((0,l.optionalRef)(e=>{g.current=e}),i),b=(0,s.useOwnerDocument)(g.current),y=function(e){let r=(0,u.usePortalRoot)(),n=(0,t.useContext)(m),[i,o]=(0,t.useState)(()=>{var t;if(!r&&null!==n)return null!=(t=n.current)?t:null;if(c.env.isServer)return null;let i=null==e?void 0:e.getElementById("headlessui-portal-root");if(i)return i;if(null===e)return null;let o=e.createElement("div");return o.setAttribute("id","headlessui-portal-root"),e.body.appendChild(o)});return(0,t.useEffect)(()=>{null!==i&&(null!=e&&e.body.contains(i)||null==e||e.body.appendChild(i))},[i,e]),(0,t.useEffect)(()=>{r||null!==n&&o(n.current)},[n,o,r]),i}(null!=h?h:b),E=(0,t.useContext)(v),O=(0,n.useDisposables)(),S=(0,a.useServerHandoffComplete)(),x=(0,d.useRender)();return(0,o.useOnUnmount)(()=>{var e;y&&y.childNodes.length<=0&&(null==(e=y.parentElement)||e.removeChild(y))}),y&&S?(0,r.createPortal)(t.default.createElement("div",{"data-headlessui-portal":"",ref:e=>{O.dispose(),E&&e&&O.add(E.register(e))}},x({ourProps:{ref:w},theirProps:p,slot:{},defaultTag:f,name:"Portal"})),y):null}),p=t.Fragment,m=(0,t.createContext)(null),v=(0,t.createContext)(null),g=(0,d.forwardRefWithAs)(function(e,r){let n=(0,l.useSyncRefs)(r),{enabled:i=!0,ownerDocument:o,...s}=e,a=(0,d.useRender)();return i?t.default.createElement(h,{...s,ownerDocument:o,ref:n}):a({ourProps:{ref:n},theirProps:s,slot:{},defaultTag:f,name:"Portal"})}),w=(0,d.forwardRefWithAs)(function(e,r){let{target:n,...i}=e,o={ref:(0,l.useSyncRefs)(r)},s=(0,d.useRender)();return t.default.createElement(m.Provider,{value:n},s({ourProps:o,theirProps:i,defaultTag:p,name:"Popover.Group"}))}),b=Object.assign(g,{Group:w});e.s(["Portal",0,b,"PortalGroup",0,w,"useNestedPortals",0,function(){let e=(0,t.useContext)(v),r=(0,t.useRef)([]),n=(0,i.useEvent)(t=>(r.current.push(t),e&&e.register(t),()=>o(t))),o=(0,i.useEvent)(t=>{let n=r.current.indexOf(t);-1!==n&&r.current.splice(n,1),e&&e.unregister(t)}),s=(0,t.useMemo)(()=>({register:n,unregister:o,portals:r}),[n,o,r]);return[r,(0,t.useMemo)(()=>function({children:e}){return t.default.createElement(v.Provider,{value:s},e)},[s])]}])},684653,825720,341650,140407,929644,877891,652265,309507,22357,401141,952744,605083,e=>{"use strict";let t,r,n,i,o,s;var a,l,u,c=e.i(544508),d=e.i(402155),f=e.i(271645);class h extends Map{constructor(e){super(),this.factory=e}get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}}var p=e.i(80758),m=Object.defineProperty,v=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},g=(e,t,r)=>(v(e,t,"read from private field"),r?r.call(e):t.get(e)),w=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},b=(e,t,r,n)=>(v(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);class y{constructor(e){w(this,a,{}),w(this,l,new h(()=>new Set)),w(this,u,new Set),((e,t,r)=>{let n;return(n="symbol"!=typeof t?t+"":t)in e?m(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r})(this,"disposables",(0,c.disposables)()),b(this,a,e),p.env.isServer&&this.disposables.microTask(()=>{this.dispose()})}dispose(){this.disposables.dispose()}get state(){return g(this,a)}subscribe(e,t){if(p.env.isServer)return()=>{};let r={selector:e,callback:t,current:e(g(this,a))};return g(this,u).add(r),this.disposables.add(()=>{g(this,u).delete(r)})}on(e,t){return p.env.isServer?()=>{}:(g(this,l).get(e).add(t),this.disposables.add(()=>{g(this,l).get(e).delete(t)}))}send(e){let t=this.reduce(g(this,a),e);if(t!==g(this,a)){for(let e of(b(this,a,t),g(this,u))){let t=e.selector(g(this,a));E(e.current,t)||(e.current=t,e.callback(t))}for(let t of g(this,l).get(e.type))t(g(this,a),e)}}}function E(e,t){return!!Object.is(e,t)||"object"==typeof e&&null!==e&&"object"==typeof t&&null!==t&&(Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&O(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size===t.size&&O(e.entries(),t.entries()):!!(S(e)&&S(t))&&O(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()))}function O(e,t){for(;;){let r=e.next(),n=t.next();if(r.done&&n.done)return!0;
1if(r.done||n.done||!Object.is(r.value,n.value))return!1}}function S(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}a=new WeakMap,l=new WeakMap,u=new WeakMap,e.s(["Machine",0,y,"batch",0,function(e){let[t,r]=e(),n=(0,c.disposables)();return(...e)=>{t(...e),n.dispose(),n.microTask(r)}},"shallowEqual",0,E],825720);var x=e.i(397701),M=Object.defineProperty,A=(e,t,r)=>{let n;return(n="symbol"!=typeof t?t+"":t)in e?M(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r,r},P=((t=P||{})[t.Push=0]="Push",t[t.Pop=1]="Pop",t);let I={0(e,t){let r=t.id,n=e.stack,i=e.stack.indexOf(r);if(-1!==i){let t=e.stack.slice();return t.splice(i,1),t.push(r),n=t,{...e,stack:n}}return{...e,stack:[...e.stack,r]}},1(e,t){let r=t.id,n=e.stack.indexOf(r);if(-1===n)return e;let i=e.stack.slice();return i.splice(n,1),{...e,stack:i}}};class R extends y{constructor(){super(...arguments),A(this,"actions",{push:e=>this.send({type:0,id:e}),pop:e=>this.send({type:1,id:e})}),A(this,"selectors",{isTop:(e,t)=>e.stack[e.stack.length-1]===t,inStack:(e,t)=>e.stack.includes(t)})}static new(){return new R({stack:[]})}reduce(e,t){return(0,x.match)(t.type,I,e,t)}}let C=new h(()=>R.new());e.s(["ActionTypes",0,P,"stackMachines",0,C],341650);var T=e.i(313027),L=e.i(914189);function N(e,t,r=E){return(0,T.useSyncExternalStoreWithSelector)((0,L.useEvent)(t=>e.subscribe($,t)),(0,L.useEvent)(()=>e.state),(0,L.useEvent)(()=>e.state),(0,L.useEvent)(t),r)}function $(e){return e}e.s(["useSlice",0,N],140407);var k=e.i(835696);function j(e,t){let r=(0,f.useId)(),n=C.get(t),[i,o]=N(n,(0,f.useCallback)(e=>[n.selectors.isTop(e,r),n.selectors.inStack(e,r)],[n,r]));return(0,k.useIsoMorphicEffect)(()=>{if(e)return n.actions.push(r),()=>n.actions.pop(r)},[n,e,r]),!!e&&(!o||i)}e.s(["useIsTopLayer",0,j],929644);let F=new Map,D=new Map;function _(e){var t;let r=null!=(t=D.get(e))?t:0;return D.set(e,r+1),0!==r?()=>H(e):(F.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>H(e))}function H(e){var t;let r=null!=(t=D.get(e))?t:1;if(1===r?D.delete(e):D.set(e,r-1),1!==r)return;let n=F.get(e);n&&(null===n["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",n["aria-hidden"]),e.inert=n.inert,F.delete(e))}e.s(["useInertOthers",0,function(e,{allowed:t,disallowed:r}={}){let n=j(e,"inert-others");(0,k.useIsoMorphicEffect)(()=>{var e,i;if(!n)return;let o=(0,c.disposables)();for(let t of null!=(e=null==r?void 0:r())?e:[])t&&o.add(_(t));let s=null!=(i=null==t?void 0:t())?i:[];for(let e of s){if(!e)continue;let t=(0,d.getOwnerDocument)(e);if(!t)continue;let r=e.parentElement;for(;r&&r!==t.body;){for(let e of r.children)s.some(t=>e.contains(t))||o.add(_(e));r=r.parentElement}}return o.dispose},[n,t,r])}],684653);var W=e.i(813581),V=e.i(941444);e.s(["useOnDisappear",0,function(e,t,r){let n=(0,V.useLatestValue)(e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&r()});(0,f.useEffect)(()=>{if(!e)return;let r=null===t?null:W.isHTMLElement(t)?t:t.current;if(!r)return;let i=(0,c.disposables)();if("u">typeof ResizeObserver){let e=new ResizeObserver(()=>n.current(r));e.observe(r),i.add(()=>e.disconnect())}if("u">typeof IntersectionObserver){let e=new IntersectionObserver(()=>n.current(r));e.observe(r),i.add(()=>e.disconnect())}return()=>i.dispose()},[t,n,e])}],877891);let U=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","details>summary","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),B=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var G=((r=G||{})[r.First=1]="First",r[r.Previous=2]="Previous",r[r.Next=4]="Next",r[r.Last=8]="Last",r[r.WrapAround=16]="WrapAround",r[r.NoScroll=32]="NoScroll",r[r.AutoFocus=64]="AutoFocus",r),q=((n=q||{})[n.Error=0]="Error",n[n.Overflow=1]="Overflow",n[n.Success=2]="Success",n[n.Underflow=3]="Underflow",n),Y=((i=Y||{})[i.Previous=-1]="Previous",i[i.Next=1]="Next",i);function z(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(U)).sort((e,t)=>
1Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var K=((o=K||{})[o.Strict=0]="Strict",o[o.Loose=1]="Loose",o);function X(e,t=0){var r;return e!==(null==(r=(0,d.getOwnerDocument)(e))?void 0:r.body)&&(0,x.match)(t,{0:()=>e.matches(U),1(){let t=e;for(;null!==t;){if(t.matches(U))return!0;t=t.parentElement}return!1}})}var Q=((s=Q||{})[s.Keyboard=0]="Keyboard",s[s.Mouse=1]="Mouse",s);function J(e,t=e=>e){return e.slice().sort((e,r)=>{let n=t(e),i=t(r);if(null===n||null===i)return 0;let o=n.compareDocumentPosition(i);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Z(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:i=[]}={}){var o,s,a;let l=Array.isArray(e)?e.length>0?(0,d.getRootNode)(e[0]):document:(0,d.getRootNode)(e),u=Array.isArray(e)?r?J(e):e:64&t?function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(B)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e):z(e);i.length>0&&u.length>1&&(u=u.filter(e=>!i.some(t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))),n=null!=n?n:null==l?void 0:l.activeElement;let c=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,u.indexOf(n))-1;if(4&t)return Math.max(0,u.indexOf(n))+1;if(8&t)return u.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),h=32&t?{preventScroll:!0}:{},p=0,m=u.length,v;do{if(p>=m||p+m<=0)return 0;let e=f+p;if(16&t)e=(e+m)%m;else{if(e<0)return 3;if(e>=m)return 1}null==(v=u[e])||v.focus(h),p+=c}while(v!==(0,d.getActiveElement)(v))return 6&t&&null!=(a=null==(s=null==(o=v)?void 0:o.matches)?void 0:s.call(o,"textarea,input"))&&a&&v.select(),2}function ee(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function et(){return ee()||/Android/gi.test(window.navigator.userAgent)}function er(e,t,r,n){let i=(0,V.useLatestValue)(r);(0,f.useEffect)(()=>{if(e)return document.addEventListener(t,r,n),()=>document.removeEventListener(t,r,n);function r(e){i.current(e)}},[e,t,n])}function en(e,t,r,n){let i=(0,V.useLatestValue)(r);(0,f.useEffect)(()=>{if(e)return window.addEventListener(t,r,n),()=>window.removeEventListener(t,r,n);function r(e){i.current(e)}},[e,t,n])}"u">typeof window&&"u">typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0)),e.s(["Focus",0,G,"FocusResult",0,q,"FocusableMode",0,K,"focusElement",0,function(e){null==e||e.focus({preventScroll:!0})},"focusFrom",0,function(e,t,r=null===e?document.body:(0,d.getRootNode)(e)){return Z(z(r),t,{relativeTo:e})},"focusIn",0,Z,"focusableSelector",0,U,"isFocusableElement",0,X,"sortByDomNode",0,J],652265),e.s(["isIOS",0,ee,"isMobile",0,et],309507),e.s(["useDocumentEvent",0,er],22357),e.s(["useWindowEvent",0,en],401141),e.s(["useOutsideClick",0,function(e,t,r){let n=(0,V.useLatestValue)(r),i=(0,f.useCallback)(function(e,r){if(e.defaultPrevented)return;let i=r(e);if(null!==i&&i.getRootNode().contains(i)&&i.isConnected){for(let r of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(t))if(null!==r&&(r.contains(i)||e.composed&&e.composedPath().includes(r)))return;return X(i,K.Loose)||-1===i.tabIndex||e.preventDefault(),n.current(e,i)}},[n,t]),o=(0,f.useRef)(null);er(e,"pointerdown",e=>{var t,r;et()||(o.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)},!0),er(e,"pointerup",e=>{if(et()||!o.current)return;let t=o.current;return o.current=null,i(e,()=>t)},!0);let s=(0,f.useRef)({x:0,y:0});er(e,"touchstart",e=>{s.current.x=e.touches[0].clientX,s.current.y=e.touches[0].clientY},!0),er(e,"touchend",e=>{let t={x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY};if(!(Math.abs(t.x-s.current.x)>=30||Math.abs(t.y-s.current.y)>=30))return i(e,()=>W.isHTMLorSVGElement(e.target)?e.target:null)},!0),en(e,"blur",e=>i(e,()=>W.isHTMLIframeElement(window.document.activeElement)?window.document.activeElement:null),!0)}],952744),e.s(["useOwnerDocument",0,function(...e){return(0,f.useMemo)(()=>(0,d.getOwnerDocument)(...e),[...e])}],605083)},101852,e=>{"use strict";let t,r;var n,i,o=e.i(271645),s=e.i(835696),a=e.i(544508),l=e.i(813581),u=e.i(309507);function c(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let d=(n=()=>new Map,i={PUSH(e,t){var r;let n=null!=(r=this.get(e))?r:{doc:e,count:0,d:(0,a.disposables)(),meta:new Set,computedMeta:{}};return n.count++,n.meta.add(t),n.computedMeta=c(n.meta),this.set(e,n),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t),r.computedMeta=c(r.meta)),this},SCROLL_PREVENT(e){let t,r={doc:e.doc,d:e.d,meta:()=>e.computedMeta},n=[(0,u.isIOS)()?{before({doc:e,d:t,meta:r}
1){function n(e){for(let t of r().containers)for(let r of t())if(r.contains(e))return!0;return!1}t.microTask(()=>{var r;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let r=(0,a.disposables)();r.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>r.dispose()))}let i=null!=(r=window.scrollY)?r:window.pageYOffset,o=null;t.addEventListener(e,"click",t=>{if(l.isHTMLorSVGElement(t.target))try{let r=t.target.closest("a");if(!r)return;let{hash:i}=new URL(r.href),s=e.querySelector(i);l.isHTMLorSVGElement(s)&&!n(s)&&(o=s)}catch{}},!0),t.group(r=>{t.addEventListener(e,"touchstart",e=>{if(r.dispose(),l.isHTMLorSVGElement(e.target)&&l.hasInlineStyle(e.target))if(n(e.target)){let t=e.target;for(;t.parentElement&&n(t.parentElement);)t=t.parentElement;r.style(t,"overscrollBehavior","contain")}else r.style(e.target,"touchAction","none")})}),t.addEventListener(e,"touchmove",e=>{if(l.isHTMLorSVGElement(e.target)&&!l.isHTMLInputElement(e.target))if(n(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()},{passive:!1}),t.add(()=>{var e;i!==(null!=(e=window.scrollY)?e:window.pageYOffset)&&window.scrollTo(0,i),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)})})}}:{},{before({doc:e}){var r;let n=e.documentElement;t=Math.max(0,(null!=(r=e.defaultView)?r:window).innerWidth-n.clientWidth)},after({doc:e,d:r}){let n=e.documentElement,i=Math.max(0,n.clientWidth-n.offsetWidth),o=Math.max(0,t-i);r.style(n,"paddingRight",`${o}px`)}},{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];n.forEach(({before:e})=>null==e?void 0:e(r)),n.forEach(({after:e})=>null==e?void 0:e(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}},t=n(),r=new Set,{getSnapshot:()=>t,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e,...n){let o=i[e].call(t,...n);o&&(t=o,r.forEach(e=>e()))}});d.subscribe(()=>{let e=d.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let e="hidden"===t.get(r.doc),n=0!==r.count;(n&&!e||!n&&e)&&d.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),0===r.count&&d.dispatch("TEARDOWN",r)}});var f=e.i(929644);e.s(["useScrollLock",0,function(e,t,r=()=>[document.body]){!function(e,t,r=()=>({containers:[]})){let n=(0,o.useSyncExternalStore)(d.subscribe,d.getSnapshot,d.getSnapshot),i=t?n.get(t):void 0;i&&i.count,(0,s.useIsoMorphicEffect)(()=>{if(!(!t||!e))return d.dispatch("PUSH",t,r),()=>d.dispatch("POP",t,r)},[e,t])}((0,f.useIsTopLayer)(e,"scroll-lock"),t,e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],r]}})}],101852)},178677,496629,e=>{"use strict";var t=e.i(271645),r=e.i(80758);e.s(["useServerHandoffComplete",0,function(){let e,n=(e="u"<typeof document,"useSyncExternalStore"in t&&(0,t.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[i,o]=t.useState(r.env.isHandoffComplete);return i&&!1===r.env.isHandoffComplete&&o(!1),t.useEffect(()=>{!0!==i&&o(!0)},[i]),t.useEffect(()=>r.env.handoff(),[]),!n&&i}],178677);let n=(0,t.createContext)(!1);e.s(["ForcePortalRoot",0,function(e){return t.default.createElement(n.Provider,{value:e.force},e.children)},"usePortalRoot",0,function(){return(0,t.useContext)(n)}],496629)},601893,e=>{"use strict";var t=e.i(271645);let r=(0,t.createContext)(void 0);e.s(["useDisabled",0,function(){return(0,t.useContext)(r)}])},2788,e=>{"use strict";let t;var r=e.i(700020),n=((t=n||{})[t.None=1]="None",t[t.Focusable=2]="Focusable",t[t.Hidden=4]="Hidden",t);let i=(0,r.forwardRefWithAs)(function(e,t){var n;let{features:i=1,...o}=e,s={ref:t,"aria-hidden":(2&i)==2||(null!=(n=o["aria-hidden"])?n:void 0),hidden:(4&i)==4||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&i)==4&&(2&i)!=2&&{display:"none"}}};return(0,r.useRender)()({ourProps:s,theirProps:o,slot:{},defaultTag:"span",name:"Hidden"})});e.s(["Hidden",0,i,"HiddenFeatures",0,n])},273299,e=>{"use strict";var t;let r="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function n(e){return`image-${e.split("/").slice(-1)[0]}`.replace(/\.([a-z]+)$/,"-$1")}let i=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["
1invert","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"];function l(e){let{apiHost:t,projectId:r,dataset:n}=e,i={baseUrl:(t||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn.")},o=e.resource??e["~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[e,t]=o.id.split(".");if(!e||!t)throw Error('Dataset resource id must be in the format "projectId.dataset", got: '+o.id);return{...i,projectId:e,dataset:t}}return{...i,projectId:r,dataset:n}}function u(e){return e&&"config"in e&&"function"==typeof e.config?l(e.config()):e&&"clientConfig"in e&&"object"==typeof e.clientConfig?l(e.clientConfig):e||{}}class c{options;constructor(e,t){this.options=e?{...e.options||{},...t||{}}:{...t||{}}}withOptions(e){return new c(this,function(e,t){let r=t.baseUrl||e.baseUrl,n={baseUrl:r};for(let e in t)t.hasOwnProperty(e)&&(n[function(e){for(let t of i){let[r,n]=t;if(e===r||e===n)return r}return e}(e)]=t[e]);return{baseUrl:r,...n}}(this.options,e))}image(e){return this.withOptions({source:e})}dataset(e){return this.withOptions({dataset:e})}projectId(e){return this.withOptions({projectId:e})}withClient(e){let t=u(e),r={...this.options};return delete r.baseUrl,delete r.projectId,delete r.dataset,delete r.mediaLibraryId,delete r.canvasId,new c(null,{...t,...r})}bg(e){return this.withOptions({bg:e})}dpr(e){return this.withOptions(e&&1!==e?{dpr:e}:{})}width(e){return this.withOptions({width:e})}height(e){return this.withOptions({height:e})}focalPoint(e,t){return this.withOptions({focalPoint:{x:e,y:t}})}maxWidth(e){return this.withOptions({maxWidth:e})}minWidth(e){return this.withOptions({minWidth:e})}maxHeight(e){return this.withOptions({maxHeight:e})}minHeight(e){return this.withOptions({minHeight:e})}size(e,t){return this.withOptions({width:e,height:t})}blur(e){return this.withOptions({blur:e})}sharpen(e){return this.withOptions({sharpen:e})}rect(e,t,r,n){return this.withOptions({rect:{left:e,top:t,width:r,height:n}})}format(e){return this.withOptions({format:e})}invert(e){return this.withOptions({invert:e})}orientation(e){return this.withOptions({orientation:e})}quality(e){return this.withOptions({quality:e})}forceDownload(e){return this.withOptions({download:e})}flipHorizontal(){return this.withOptions({flipHorizontal:!0})}flipVertical(){return this.withOptions({flipVertical:!0})}ignoreImageParams(){return this.withOptions({ignoreImageParams:!0})}fit(e){if(-1===o.indexOf(e))throw Error(`Invalid fit mode "${e}"`);return this.withOptions({fit:e})}crop(e){if(-1===s.indexOf(e))throw Error(`Invalid crop mode "${e}"`);return this.withOptions({crop:e})}saturation(e){return this.withOptions({saturation:e})}auto(e){if(-1===a.indexOf(e))throw Error(`Invalid auto mode "${e}"`);return this.withOptions({auto:e})}pad(e){return this.withOptions({pad:e})}vanityName(e){return this.withOptions({vanityName:e})}frame(e){if(1!==e)throw Error(`Invalid frame value "${e}"`);return this.withOptions({frame:e})}url(){return function(e){let t={...e||{}},o=t.source;delete t.source;let s=function(e){var t;let r;if(!e)return null;if("string"==typeof e&&(t=e,/^https?:\/\//.test(`${t}`)))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={...e}}return e.crop&&(r.crop=e.crop),e.hotspot&&(r.hotspot=e.hotspot),function(e){if(e.crop&&e.hotspot)return e;let t={...e};
1return t.crop||(t.crop={left:0,top:0,bottom:0,right:0}),t.hotspot||(t.hotspot={x:.5,y:.5,height:1,width:1}),t}(r)}(o);if(!s){if(o&&"object"==typeof o&&null!==o&&o._upload&&(!o.asset||!o.asset._ref))return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8HwQACfsD/QNViZkAAAAASUVORK5CYII=";throw Error(`Unable to resolve image URL from source (${JSON.stringify(o)})`)}let a=function(e){let[,t,n,i]=e.split("-");if(!t||!n||!i)throw Error(`Malformed asset _ref '${e}'. Expected an id like "${r}".`);let[o,s]=n.split("x"),a=+o,l=+s;if(!(isFinite(a)&&isFinite(l)))throw Error(`Malformed asset _ref '${e}'. Expected an id like "${r}".`);return{id:t,width:a,height:l,format:i}}(s.asset._ref||s.asset._id||""),l=Math.round(s.crop.left*a.width),u=Math.round(s.crop.top*a.height),c={left:l,top:u,width:Math.round(a.width-s.crop.right*a.width-l),height:Math.round(a.height-s.crop.bottom*a.height-u)},d=s.hotspot.height*a.height/2,f=s.hotspot.width*a.width/2,h=s.hotspot.x*a.width,p=s.hotspot.y*a.height;return t.rect||t.focalPoint||t.ignoreImageParams||t.crop||(t={...t,...function(e,t){let r,n=t.width,i=t.height;if(!(n&&i))return{width:n,height:i,rect:e.crop};let o=e.crop,s=e.hotspot,a=n/i;if(o.width/o.height>a){let e=Math.round(o.height),t=Math.round(e*a),n=Math.max(0,Math.round(o.top)),i=Math.max(0,Math.round(Math.round((s.right-s.left)/2+s.left)-t/2));i<o.left?i=o.left:i+t>o.left+o.width&&(i=o.left+o.width-t),r={left:i,top:n,width:t,height:e}}else{let e=o.width,t=Math.round(e/a),n=Math.max(0,Math.round(o.left)),i=Math.max(0,Math.round(Math.round((s.bottom-s.top)/2+s.top)-t/2));i<o.top?i=o.top:i+t>o.top+o.height&&(i=o.top+o.height-t),r={left:n,top:i,width:e,height:t}}return{width:n,height:i,rect:r}}({crop:c,hotspot:{left:h-f,top:p-d,right:h+f,bottom:p+d}},t)}),function(e){let t,r=(e.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),n=e.vanityName?`/${e.vanityName}`:"",o=`${e.asset.id}-${e.asset.width}x${e.asset.height}.${e.asset.format}${n}`;t=e.mediaLibraryId?`${r}/media-libraries/${e.mediaLibraryId}/images/${o}`:e.canvasId?`${r}/images/canvases/${e.canvasId}/${o}`:`${r}/images/${e.projectId}/${e.dataset}/${o}`;let s=[];if(e.rect){let{left:t,top:r,width:n,height:i}=e.rect;(0!==t||0!==r||i!==e.asset.height||n!==e.asset.width)&&s.push(`rect=${t},${r},${n},${i}`)}e.bg&&s.push(`bg=${e.bg}`),e.focalPoint&&(s.push(`fp-x=${e.focalPoint.x}`),s.push(`fp-y=${e.focalPoint.y}`));let a=[e.flipHorizontal&&"h",e.flipVertical&&"v"].filter(Boolean).join("");return a&&s.push(`flip=${a}`),i.forEach(t=>{let[r,n]=t;"u">typeof e[r]?s.push(`${n}=${encodeURIComponent(e[r])}`):"u">typeof e[n]&&s.push(`${n}=${encodeURIComponent(e[n])}`)}),0===s.length?t:`${t}?${s.join("&")}`}({...t,asset:a})}(this.options)}toString(){return this.url()}}t=["The default export of @sanity/image-url has been deprecated. Use the named export `createImageUrlBuilder` instead."],e.s(["createImageUrlBuilder",0,function(e){return new c(null,u(e))}])},614595,(e,t,r)=>{"use strict";var n=e.r(271645),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=n.useSyncExternalStore,s=n.useRef,a=n.useEffect,l=n.useMemo,u=n.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,n,c){var d=s(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var h=o(e,(d=l(function(){function e(e){if(!a){if(a=!0,o=e,e=n(e),void 0!==c&&f.hasValue){var t=f.value;if(c(t,e))return s=t}return s=e}if(t=s,i(o,e))return t;var r=n(e);return void 0!==c&&c(t,r)?(o=e,t):(o=e,s=r)}var o,s,a=!1,l=void 0===r?null:r;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]},[t,r,n,c]))[0],d[1]);return a(function(){f.hasValue=!0,f.value=h},[h]),u(h),h}},313027,(e,t,r)=>{"use strict";e.i(247167),t.exports=e.r(614595)},754139,e=>{"use strict";let t=e.i(247167).default.env.NEXT_PUBLIC_SANITY_API_VERSION||"2024-05-17";e.s(["apiVersion",0,t,"dataset",0,"production","projectId",0,"mt460no7"])},567929,e=>{"use strict";var t=e.i(273299),r=e.i(754139);let n=(0,t.createImageUrlBuilder)({projectId:r.projectId||"",dataset:r.dataset||""});e.s(["urlForImage",0,(e,t={})=>
1{if(!e)return null;let r=n?.image(e);return r?(r=r.auto("format").fit("max"),t.width&&(r=r.width(t.width)),t.height&&(r=r.height(t.height)),t.quality&&(r=r.quality(t.quality)),r.url()):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.