1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,29942,e=>{"use strict";var t;let r="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function i(e){return`image-${e.split("/").slice(-1)[0]}`.replace(/\.([a-z]+)$/,"-$1")}let n=[["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"],l=["format"];function a(e){let{apiHost:t,projectId:r,dataset:i}=e,n={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{...n,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{...n,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{...n,projectId:e,dataset:t}}return{...n,projectId:r,dataset:i}}function u(e){return e&&"config"in e&&"function"==typeof e.config?a(e.config()):e&&"clientConfig"in e&&"object"==typeof e.clientConfig?a(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,i={baseUrl:r};for(let e in t)t.hasOwnProperty(e)&&(i[function(e){for(let t of n){let[r,i]=t;if(e===r||e===i)return r}return e}(e)]=t[e]);return{baseUrl:r,...i}}(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})}
1rect(e,t,r,i){return this.withOptions({rect:{left:e,top:t,width:r,height:i}})}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===l.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:i(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:i(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};return 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 l=function(e){let[,t,i,n]=e.split("-");if(!t||!i||!n)throw Error(`Malformed asset _ref '${e}'. Expected an id like "${r}".`);let[o,s]=i.split("x"),l=+o,a=+s;if(!(isFinite(l)&&isFinite(a)))throw Error(`Malformed asset _ref '${e}'. Expected an id like "${r}".`);return{id:t,width:l,height:a,format:n}}(s.asset._ref||s.asset._id||""),a=Math.round(s.crop.left*l.width),u=Math.round(s.crop.top*l.height),c={left:a,top:u,width:Math.round(l.width-s.crop.right*l.width-a),height:Math.round(l.height-s.crop.bottom*l.height-u)},d=s.hotspot.height*l.height/2,f=s.hotspot.width*l.width/2,p=s.hotspot.x*l.width,h=s.hotspot.y*l.height;return t.rect||t.focalPoint||t.ignoreImageParams||t.crop||(t={...t,...function(e,t){let r,i=t.width,n=t.height;if(!(i&&n))return{width:i,height:n,rect:e.crop};let o=e.crop,s=e.hotspot,l=i/n;if(o.width/o.height>l){let e=Math.round(o.height),t=Math.round(e*l),i=Math.max(0,Math.round(o.top)),n=Math.max(0,Math.round(Math.round((s.right-s.left)/2+s.left)-t/2));n<o.left?n=o.left:n+t>o.left+o.width&&(n=o.left+o.width-t),r={left:n,top:i,width:t,height:e}}else{let e=o.width,t=Math.round(e/l),i=Math.max(0,Math.round(o.left)),n=Math.max(0,Math.round(Math.round((s.bottom-s.top)/2+s.top)-t/2));n<o.top?n=o.top:n+t>o.top+o.height&&(n=o.top+o.height-t),r={left:i,top:n,width:e,height:t}}return{width:i,height:n,rect:r}}({crop:c,hotspot:{left:p-f,top:h-d,right:p+f,bottom:h+d}},t)}),function(e){let t,r=(e.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),i=e.vanityName?`/${e.vanityName}`:"",o=`${e.asset.id}-${e.asset.width}x${e.asset.height}.${e.asset.format}${i}`;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:i,height:n}=e.rect;(0!==t||0!==r||n!==e.asset.height||i!==e.asset.width)&&s.push(`rect=${t},${r},${i},${n}`)}e.bg&&s.push(`bg=${e.bg}`),e.focalPoint&&(s.push(`fp-x=${e.focalPoint.x}`),s.push(`fp-y=${e.focalPoint.y}`));
1let l=[e.flipHorizontal&&"h",e.flipVertical&&"v"].filter(Boolean).join("");return l&&s.push(`flip=${l}`),n.forEach(t=>{let[r,i]=t;"u">typeof e[r]?s.push(`${i}=${encodeURIComponent(e[r])}`):"u">typeof e[i]&&s.push(`${i}=${encodeURIComponent(e[i])}`)}),0===s.length?t:`${t}?${s.join("&")}`}({...t,asset:l})}(this.options)}toString(){return this.url()}}t=["The default export of @sanity/image-url has been deprecated. Use the named export `createImageUrlBuilder` instead."],e.i(2277).default.env.NEXT_PUBLIC_SANITY_API_VERSION;let d=f("production","Missing environment variable: NEXT_PUBLIC_SANITY_DATASET");function f(e,t){if(void 0===e)throw Error(t);return e}let p=new c(null,u({projectId:f("05obvjc6","Missing environment variable: NEXT_PUBLIC_SANITY_PROJECT_ID"),dataset:d}));e.s(["urlFor",0,e=>p.image(e)],29942)},62361,e=>{"use strict";var t=e.i(62560),r=e.i(72525);function i(e,n=[]){let o=[],s=()=>{let r=o.map(e=>t.createContext(e));return function(i){let n=i?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...i,[e]:n}}),[i,n])}};return s.scopeName=e,[function(i,n){let s=t.createContext(n);s.displayName=i+"Context";let l=o.length;o=[...o,n];let a=i=>{let{scope:n,children:o,...a}=i,u=n?.[e]?.[l]||s,c=t.useMemo(()=>a,Object.values(a));return(0,r.jsx)(u.Provider,{value:c,children:o})};return a.displayName=i+"Provider",[a,function(r,o){let a=o?.[e]?.[l]||s,u=t.useContext(a);if(u)return u;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${i}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let i=()=>{let i=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=i.reduce((t,{useScope:r,scopeName:i})=>{let n=r(e)[`__scope${i}`];return{...t,...n}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:n}),[n])}};return i.scopeName=r.scopeName,i}(s,...n)]}function n(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t.useCallback(function(...e){return t=>{let r=!1,i=e.map(e=>{let i=n(e,t);return r||"function"!=typeof i||(r=!0),i});if(r)return()=>{for(let t=0;t<i.length;t++){let r=i[t];"function"==typeof r?r():n(e[t],null)}}}}(...e),e)}function s(e){let r=t.forwardRef((r,i)=>{var n;let s,u,{children:h,...m}=r,g=null,y=!1,w=[];c(h)&&"function"==typeof p&&(h=p(h._payload)),t.Children.forEach(h,e=>{var r;if(r=e,t.isValidElement(r)&&"function"==typeof r.type&&"__radixId"in r.type&&r.type.__radixId===l){y=!0;let t="child"in e.props?e.props.child:e.props.children;c(t)&&"function"==typeof p&&(t=p(t._payload)),g=a(e,t),w.push(g?.props?.children)}else w.push(e)}),g?g=t.cloneElement(g,void 0,w):!y&&1===t.Children.count(h)&&t.isValidElement(h)&&(g=h);let x=g?(n=g,(u=(s=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?n.ref:(u=(s=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?n.props.ref:n.props.ref||n.ref):void 0,v=o(i,x);if(!g){if(h||0===h)throw Error(y?f(e):d(e));return h}let b=function(e,t){let r={...t};for(let i in t){let n=e[i],o=t[i];/^on[A-Z]/.test(i)?n&&o?r[i]=(...e)=>{let t=o(...e);return n(...e),t}:n&&(r[i]=n):"style"===i?r[i]={...n,...o}:"className"===i&&(r[i]=[n,o].filter(Boolean).join(" "))}return{...e,...r}}(m,g.props??{});return g.type!==t.Fragment&&(b.ref=i?v:x),t.cloneElement(g,b)});return r.displayName=`${e}.Slot`,r}var l=Symbol.for("radix.slottable"),a=(e,r)=>{if("child"in e.props){let r=e.props.child;return t.isValidElement(r)?t.cloneElement(r,void 0,e.props.children(r.props.children)):null}return t.isValidElement(r)?r:null},u=Symbol.for("react.lazy");function c(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===u&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var d=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,f=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,p=t[" use ".trim().toString()],h=new WeakMap;function m(e,t){var r,i;let n,o,s;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let l=(r=e,i=t,n=r.length,(s=(o=g(i))>=0?o:n+o)<0||s>=n?-1:s);return -1===l?void 0:e[l]}function g(e){return e!=e||0===e?0:Math.trunc(e)}function y(e,t,{checkForDefaultPrevented:r=!0}={}){return function(i){if(e?.(i),!1===r||!i.defaultPrevented)return t?.(i)}}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],h.set(this,!0)}set(e,t){return h.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let i,n=this.has(t),o=this.#e.length,s=g(e),l=s>=0?s:o+s,a=l<0||l>=o?-1:l;if(a===this.size||n&&a===this.size-1||-1===a)return this.set(t,r),this;let u=this.size+ +!n;s<0&&l++;let c=[...this.#e],d=!1;for(let e=l;e<u;e++)if(l===e){let o=c[e];c[e]===t&&(o=c[e+1]),n&&this.delete(t),i=this.get(o),this.set(t,r)}else{d||c[e-1]!==t||(d=!0);let r=c[d?e:e-1],n=i;i=this.get(r),this.delete(r),this.set(r,n)}return this}with(t,r,i){let n=new e(this);return n.insert(t,r,i),n}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let i=this.#e.indexOf(e);return -1===i?this:this.insert(i,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let i=this.#e.indexOf(e);return -1===i?this:this.insert(i+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=m(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=m(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return m(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let i=r+t;return i<0&&(i=0),i>=this.size&&(i=this.size-1),this.at(i)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let i=r+t;return i<0&&(i=0),i>=this.size&&(i=this.size-1),this.keyAt(i)}find(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return i;r++}}findIndex(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return r;r++}return -1}filter(t,r){let i=[],n=0;for(let e of this)Reflect.apply(t,r,[e,n,this])&&i.push(e),n++;return new e(i)}map(t,r){let i=[],n=0;for(let e of this)i.push([e[0],Reflect.apply(t,r,[e,n,this])]),n++;return new e(i)}reduce(...e){let[t,r]=e,i=0,n=r??this.at(0);for(let r of this)n=0===i&&1===e.length?r:Reflect.apply(t,this,[n,r,i,this]),i++;return n}reduceRight(...e){let[t,r]=e,i=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let n=this.at(r);i=r===this.size-1&&1===e.length?n:Reflect.apply(t,this,[i,n,r,this])}return i}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),i=this.get(r);t.set(r,i)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let i=new e,n=this.size-1;if(void 0===t)return i;t<0&&(t+=this.size),void 0!==r&&r>0&&(n=r-1);for(let e=t;e<=n;e++){let t=this.keyAt(e),r=this.get(t);i.set(t,r)}return i}every(e,t){let r=0;for(let i of this){if(!Reflect.apply(e,t,[i,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return!0;r++}return!1}}),"u">typeof window&&window.document&&window.document.createElement;var w=globalThis?.document?t.useLayoutEffect:()=>{};t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var x=t[" useInsertionEffect ".trim().toString()]||w;function v({prop:e,defaultProp:r,onChange:i=()=>{},caller:n}){let[o,s,l]=function({defaultProp:e,onChange:r}){let[i,n]=t.useState(e),o=t.useRef(i),s=t.useRef(r);return x(()=>{s.current=r},[r]),t.useEffect(()=>{o.current!==i&&(s.current?.(i),o.current=i)},[i,o]),[i,n,s]}({defaultProp:r,onChange:i}),a=void 0!==e,u=a?e:o;{let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==a){let t=a?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}r.current=a},[a,n])}return[u,t.useCallback(t=>{if(a){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else s(t)},[a,e,s,l])]}Symbol("RADIX:SYNC_STATE"),e.i(10165);var b=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,i)=>{let n=s(`Primitive.${i}`),o=t.forwardRef((e,t)=>
1{let{asChild:o,...s}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(o?n:i,{...s,ref:t})});return o.displayName=`Primitive.${i}`,{...e,[i]:o}},{}),A=e=>{var r;let i,n,{present:o,children:s}=e,l=function(e){var r,i;let[n,o]=t.useState(),s=t.useRef(null),l=t.useRef(e),a=t.useRef("none"),[u,c]=(r=e?"mounted":"unmounted",i={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>i[e][t]??e,r));return t.useEffect(()=>{let e=N(s.current);a.current="mounted"===u?e:"none"},[u]),w(()=>{let t=s.current,r=l.current;if(r!==e){let i=a.current,n=N(t);e?c("MOUNT"):"none"===n||t?.display==="none"?c("UNMOUNT"):r&&i!==n?c("ANIMATION_OUT"):c("UNMOUNT"),l.current=e}},[e,c]),w(()=>{if(n){let e,t=n.ownerDocument.defaultView??window,r=r=>{let i=N(s.current).includes(CSS.escape(r.animationName));if(r.target===n&&i&&(c("ANIMATION_END"),!l.current)){let r=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=r)})}},i=e=>{e.target===n&&(a.current=N(s.current))};return n.addEventListener("animationstart",i),n.addEventListener("animationcancel",r),n.addEventListener("animationend",r),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",i),n.removeEventListener("animationcancel",r),n.removeEventListener("animationend",r)}}c("ANIMATION_END")},[n,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:t.useCallback(e=>{s.current=e?getComputedStyle(e):null,o(e)},[])}}(o),a="function"==typeof s?s({present:l.isPresent}):t.Children.only(s),u=function(...e){let r=t.useRef(e);return r.current=e,t.useCallback(e=>{let t=r.current,i=!1,n=t.map(t=>{let r=C(t,e);return i||"function"!=typeof r||(i=!0),r});if(i)return()=>{for(let e=0;e<n.length;e++){let r=n[e];"function"==typeof r?r():C(t[e],null)}}},[])}(l.ref,(r=a,(n=(i=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?r.ref:(n=(i=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?r.props.ref:r.props.ref||r.ref));return"function"==typeof s||l.isPresent?t.cloneElement(a,{ref:u}):null};function C(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function N(e){return e?.animationName||"none"}A.displayName="Presence";var R=t[" useId ".trim().toString()]||(()=>void 0),O=0;function j(e){let[r,i]=t.useState(R());return w(()=>{e||i(e=>e??String(O++))},[e]),e||(r?`radix-${r}`:"")}var I="Collapsible",[E,$]=i(I),[S,k]=E(I),M=t.forwardRef((e,i)=>{let{__scopeCollapsible:n,open:o,defaultOpen:s,disabled:l,onOpenChange:a,...u}=e,[c,d]=v({prop:o,defaultProp:s??!1,onChange:a,caller:I});return(0,r.jsx)(S,{scope:n,disabled:l,contentId:j(),open:c,onOpenToggle:t.useCallback(()=>d(e=>!e),[d]),children:(0,r.jsx)(b.div,{"data-state":z(c),"data-disabled":l?"":void 0,...u,ref:i})})});M.displayName=I;var _="CollapsibleTrigger",P=t.forwardRef((e,t)=>{let{__scopeCollapsible:i,...n}=e,o=k(_,i);return(0,r.jsx)(b.button,{type:"button","aria-controls":o.open?o.contentId:void 0,"aria-expanded":o.open||!1,"data-state":z(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...n,ref:t,onClick:y(e.onClick,o.onOpenToggle)})});P.displayName=_;var T="CollapsibleContent",U=t.forwardRef((e,t)=>{let{forceMount:i,...n}=e,o=k(T,e.__scopeCollapsible);return(0,r.jsx)(A,{present:i||o.open,children:({present:e})=>(0,r.jsx)(D,{...n,ref:t,present:e})})});U.displayName=T;var D=t.forwardRef((e,i)=>{let{__scopeCollapsible:n,present:s,children:l,...a}=e,u=k(T,n),[c,d]=t.useState(s),f=t.useRef(null),p=o(i,f),h=t.useRef(0),m=h.current,g=t.useRef(0),y=g.current,x=u.open||c,v=t.useRef(x),A=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(e)},[]),w(()=>{let e=f.current;if(e){A.current=A.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();h.current=t.height,g.current=t.width,v.current||(e.style.transitionDuration=A.current.transitionDuration,e.style.animationName=A.current.animationName),d(s)}},[u.open,s]),(0,r.jsx)(b.div,{"data-state":z(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!x,...a,ref:p,style:{"--radix-collapsible-content-height":m?`${m}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...e.style},children:x&&l})});function z(e){return e?"open":"closed"}var L=t.createContext(void 0),H="Accordion",F=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[B,V,W]=function(e){let n=e+"CollectionProvider",[l,a]=i(n),[u,c]=l(n,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:i,children:n}=e,o=t.useRef(null),s=t.useRef(new Map).current;return(0,r.jsx)(u,{scope:i,itemMap:s,collectionRef:o,children:n})};d.displayName=n;let f=e+"CollectionSlot",p=s(f),h=t.forwardRef((e,t)=>
1{let{scope:i,children:n}=e,s=o(t,c(f,i).collectionRef);return(0,r.jsx)(p,{ref:s,children:n})});h.displayName=f;let m=e+"CollectionItemSlot",g="data-radix-collection-item",y=s(m),w=t.forwardRef((e,i)=>{let{scope:n,children:s,...l}=e,a=t.useRef(null),u=o(i,a),d=c(m,n);return t.useEffect(()=>(d.itemMap.set(a,{ref:a,...l}),()=>void d.itemMap.delete(a))),(0,r.jsx)(y,{...{[g]:""},ref:u,children:s})});return w.displayName=m,[{Provider:d,Slot:h,ItemSlot:w},function(r){let i=c(e+"CollectionConsumer",r);return t.useCallback(()=>{let e=i.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(i.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[i.collectionRef,i.itemMap])},a]}(H),[q,Y]=i(H,[W,$]),X=$(),K=t.forwardRef((e,t)=>{let{type:i,...n}=e;return(0,r.jsx)(B.Provider,{scope:e.__scopeAccordion,children:"multiple"===i?(0,r.jsx)(et,{...n,ref:t}):(0,r.jsx)(ee,{...n,ref:t})})});K.displayName=H;var[Q,J]=q(H),[G,Z]=q(H,{collapsible:!1}),ee=t.forwardRef((e,i)=>{let{value:n,defaultValue:o,onValueChange:s=()=>{},collapsible:l=!1,...a}=e,[u,c]=v({prop:n,defaultProp:o??"",onChange:s,caller:H});return(0,r.jsx)(Q,{scope:e.__scopeAccordion,value:t.useMemo(()=>u?[u]:[],[u]),onItemOpen:c,onItemClose:t.useCallback(()=>l&&c(""),[l,c]),children:(0,r.jsx)(G,{scope:e.__scopeAccordion,collapsible:l,children:(0,r.jsx)(en,{...a,ref:i})})})}),et=t.forwardRef((e,i)=>{let{value:n,defaultValue:o,onValueChange:s=()=>{},...l}=e,[a,u]=v({prop:n,defaultProp:o??[],onChange:s,caller:H}),c=t.useCallback(e=>u((t=[])=>[...t,e]),[u]),d=t.useCallback(e=>u((t=[])=>t.filter(t=>t!==e)),[u]);return(0,r.jsx)(Q,{scope:e.__scopeAccordion,value:a,onItemOpen:c,onItemClose:d,children:(0,r.jsx)(G,{scope:e.__scopeAccordion,collapsible:!0,children:(0,r.jsx)(en,{...l,ref:i})})})}),[er,ei]=q(H),en=t.forwardRef((e,i)=>{let n,{__scopeAccordion:s,disabled:l,dir:a,orientation:u="vertical",...c}=e,d=o(t.useRef(null),i),f=V(s),p="ltr"===(n=t.useContext(L),a||n||"ltr"),h=y(e.onKeyDown,e=>{if(!F.includes(e.key))return;let t=e.target,r=f().filter(e=>!e.ref.current?.disabled),i=r.findIndex(e=>e.ref.current===t),n=r.length;if(-1===i)return;e.preventDefault();let o=i,s=n-1,l=()=>{(o=i+1)>s&&(o=0)},a=()=>{(o=i-1)<0&&(o=s)};switch(e.key){case"Home":o=0;break;case"End":o=s;break;case"ArrowRight":"horizontal"===u&&(p?l():a());break;case"ArrowDown":"vertical"===u&&l();break;case"ArrowLeft":"horizontal"===u&&(p?a():l());break;case"ArrowUp":"vertical"===u&&a()}let c=o%n;r[c].ref.current?.focus()});return(0,r.jsx)(er,{scope:s,disabled:l,direction:a,orientation:u,children:(0,r.jsx)(B.Slot,{scope:s,children:(0,r.jsx)(b.div,{...c,"data-orientation":u,ref:d,onKeyDown:l?void 0:h})})})}),eo="AccordionItem",[es,el]=q(eo),ea=t.forwardRef((e,t)=>{let{__scopeAccordion:i,value:n,...o}=e,s=ei(eo,i),l=J(eo,i),a=X(i),u=j(),c=n&&l.value.includes(n)||!1,d=s.disabled||e.disabled;return(0,r.jsx)(es,{scope:i,open:c,disabled:d,triggerId:u,children:(0,r.jsx)(M,{"data-orientation":s.orientation,"data-state":em(c),...a,...o,ref:t,disabled:d,open:c,onOpenChange:e=>{e?l.onItemOpen(n):l.onItemClose(n)}})})});ea.displayName=eo;var eu="AccordionHeader",ec=t.forwardRef((e,t)=>{let{__scopeAccordion:i,...n}=e,o=ei(H,i),s=el(eu,i);return(0,r.jsx)(b.h3,{"data-orientation":o.orientation,"data-state":em(s.open),"data-disabled":s.disabled?"":void 0,...n,ref:t})});ec.displayName=eu;var ed="AccordionTrigger",ef=t.forwardRef((e,t)=>{let{__scopeAccordion:i,...n}=e,o=ei(H,i),s=el(ed,i),l=Z(ed,i),a=X(i);return(0,r.jsx)(B.ItemSlot,{scope:i,children:(0,r.jsx)(P,{"aria-disabled":s.open&&!l.collapsible||void 0,"data-orientation":o.orientation,id:s.triggerId,...a,...n,ref:t})})});ef.displayName=ed;var ep="AccordionContent",eh=t.forwardRef((e,t)=>{let{__scopeAccordion:i,...n}=e,o=ei(H,i),s=el(ep,i),l=X(i);return(0,r.jsx)(U,{role:"region","aria-labelledby":s.triggerId,"data-orientation":o.orientation,...l,...n,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function em(e){return e?"open":"closed"}eh.displayName=ep,e.s(["Accordion",0,K,"AccordionContent",0,eh,"AccordionHeader",0,ec,"AccordionItem",0,ea,"AccordionTrigger",0,ef,"Content",0,eh,"Header",0,ec,"Item",0,ea,"Root",0,K,"Trigger",0,ef,"createAccordionScope",0,Y],62361)},27865,e=>{"use strict";var t=e.i(72525),r=e.i(29942);e.i(2277);var i=e.i(62560),n=e.i(6735),o=e.i(83523),s=e.i(72250),l=e.i(51081),a=e.i(61427),u=i,c=e.i(37540
1);function d(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class f extends u.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,a.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,r=(0,a.isHTMLElement)(e)&&e.offsetWidth||0,i=(0,a.isHTMLElement)(e)&&e.offsetHeight||0,n=getComputedStyle(t),o=this.props.sizeRef.current;o.height=parseFloat(n.height),o.width=parseFloat(n.width),o.top=t.offsetTop,o.left=t.offsetLeft,o.right=r-o.width-o.left,o.bottom=i-o.height-o.top,o.direction=n.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function p({children:e,isPresent:r,anchorX:n,anchorY:o,root:s,pop:l}){let a=(0,u.useId)(),h=(0,u.useRef)(null),m=(0,u.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:g}=(0,u.useContext)(c.MotionConfigContext),y=function(...e){return i.useCallback(function(...e){return t=>{let r=!1,i=e.map(e=>{let i=d(e,t);return r||"function"!=typeof i||(r=!0),i});if(r)return()=>{for(let t=0;t<i.length;t++){let r=i[t];"function"==typeof r?r():d(e[t],null)}}}}(...e),e)}(h,e.props?.ref??e?.ref);return(0,u.useInsertionEffect)(()=>{let{width:e,height:t,top:i,left:u,right:c,bottom:d,direction:f}=m.current;if(r||!1===l||!h.current||!e||!t)return;let p="rtl"===f,y="left"===n?p?`right: ${c}`:`left: ${u}`:p?`left: ${u}`:`right: ${c}`,w="bottom"===o?`bottom: ${d}`:`top: ${i}`;h.current.dataset.motionPopId=a;let x=document.createElement("style");g&&(x.nonce=g);let v=s??document.head;return v.appendChild(x),x.sheet&&x.sheet.insertRule(` 2 [data-motion-pop-id="${a}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${t}px !important; 6 ${y}px !important; 7 ${w}px !important; 8 } 9 `),()=>{h.current?.removeAttribute("data-motion-pop-id"),v.contains(x)&&v.removeChild(x)}},[r]),(0,t.jsx)(f,{isPresent:r,childRef:h,sizeRef:m,pop:l,children:!1===l?e:u.cloneElement(e,{ref:y})})}let h=({children:e,initial:r,isPresent:n,onExitComplete:s,custom:a,presenceAffectsLayout:u,mode:c,anchorX:d,anchorY:f,root:h})=>{let g=(0,o.useConstant)(m),y=(0,i.useId)(),w=!0,x=(0,i.useMemo)(()=>(w=!1,{id:y,initial:r,isPresent:n,custom:a,onExitComplete:e=>{for(let t of(g.set(e,!0),g.values()))if(!t)return;s&&s()},register:e=>(g.set(e,!1),()=>g.delete(e))}),[n,g,s]);return u&&w&&(x={...x}),(0,i.useMemo)(()=>{g.forEach((e,t)=>g.set(t,!1))},[n]),i.useEffect(()=>{n||g.size||!s||s()},[n]),e=(0,t.jsx)(p,{pop:"popLayout"===c,isPresent:n,anchorX:d,anchorY:f,root:h,children:e}),(0,t.jsx)(l.PresenceContext.Provider,{value:x,children:e})};function m(){return new Map}var g=e.i(44589);let y=e=>e.key||"";function w(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}let x=({children:e,custom:r,initial:l=!0,onExitComplete:a,presenceAffectsLayout:u=!0,mode:c="sync",propagate:d=!1,anchorX:f="left",anchorY:p="top",root:m})=>{let[x,v]=(0,g.usePresence)(d),b=(0,i.useMemo)(()=>w(e),[e]),A=d&&!x?[]:b.map(y),C=(0,i.useRef)(!0),N=(0,i.useRef)(b),R=(0,o.useConstant)(()=>new Map),O=(0,i.useRef)(new Set),[j,I]=(0,i.useState)(b),[E,$]=(0,i.useState)(b);(0,s.useIsomorphicLayoutEffect)(()=>{C.current=!1,N.current=b;for(let e=0;e<E.length;e++){let t=y(E[e]);A.includes(t)?(R.delete(t),O.current.delete(t)):!0!==R.get(t)&&R.set(t,!1)}},[E,A.length,A.join("-")]);let S=[];if(b!==j){let e=[...b];for(let t=0;t<E.length;t++){let r=E[t],i=y(r);A.includes(i)||(e.splice(t,0,r),S.push(r))}return"wait"===c&&S.length&&(e=S),$(w(e)),I(b),null}let{forceRender:k}=(0,i.useContext)(n.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:E.map(e=>{let i=y(e),n=(!d||!!x)&&(b===E||A.includes(i));return(0,t.jsx)(h,{isPresent:n,initial:(!C.current||!!l)&&void 0,custom:r,presenceAffectsLayout:u,mode:c,root:m,onExitComplete:n?void 0:()=>{if(O.current.has(i)||!R.has(i))return;O.current.add(i),R.set(i,!0);let e=!0;R.forEach(t=>{t||(e=!1)}),e&&(k?.(),$(N.current),d&&v?.(),a&&a())},anchorX:f,anchorY:p,children:e},i)})})};var v=e.i(84778),b=e.i(29848);async function A(e){try{let t=await fetch("/api/newsletter",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),r=await t.json();if(!t.ok)return{success:!1,message:r.error||"Something went wrong",error:r.error,details:r.details};return{success:!0,message:r.message,mailchimpAdded:r.mailchimpAdded}}catch(e){return console.error("Newsletter submission error:",e),{success:!1,message:"Network error. Please try again.",error:"Network error"}}}let C="newsletter-popup-seen";function N(){localStorage.setItem(C,"true")}e.s(["default",0,function({newsletterPopup:e}){let[n,o]=(0,i.useState)(!1),[s,l]=(0,i.useState)({email:""}),[a,u]=(0,i.useState)(!1),[c,d]=(0,i.useState)(null);(0,i.useEffect)(()=>{"true"!==localStorage.getItem(C)&&o(!0)},[]);let f=async e=>{e.preventDefault(),u(!0),d(null);try{let e=await A(s);d(e),e.success&&(N(),setTimeout(()=>{o(!1)},2e3))}catch{d({success:!1,message:"Something went wrong. Please try again."})}finally{u(!1)}};return(0,t.jsx)(x,{initial:!1,children:n&&(0,t.jsx)(v.motion.div,{initial:{opacity:0}
9,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},className:"fixed inset-0 flex justify-center items-center px-17.5 md:px-5 py-5 backdrop-blur-sm bg-mwi-neutral/30",onClick:e=>{e.currentTarget===e.target&&(o(!1),N())},children:(0,t.jsxs)("section",{className:"rounded-[1.25rem] p-5 bg-mwi-neutral max-w-72 space-y-4",children:[(0,t.jsxs)("header",{className:"flex justify-between space-x-5",children:[(0,t.jsx)("h2",{className:"font-serif",children:e.title}),(0,t.jsx)("button",{className:"size-4",onClick:()=>{o(!1),N()},children:(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",stroke:"currentColor",viewBox:"0 0 16 16",className:"pointer-events-none",children:[(0,t.jsx)("title",{children:"Close"}),(0,t.jsx)("path",{d:"M3 13 13 3M3 3l10 10"})]})})]}),(0,t.jsx)("div",{className:"aspect-square max-w-64 w-full",children:(0,t.jsx)(b.default,{width:500,height:500,alt:"",src:(0,r.urlFor)(e.image).width(500).height(500).url(),className:"size-full object-cover"})}),c&&(0,t.jsxs)("div",{className:`p-3 text-center text-sm ${c.success?"bg-black/30":"bg-red-100 text-red-800"}`,children:[c.message,c.success&&c.mailchimpAdded&&(0,t.jsx)("p",{className:"text-xs mt-1",children:"Thank you for subscribing!"})]}),(0,t.jsxs)("form",{onSubmit:f,className:"space-y-4",children:[(0,t.jsxs)("div",{className:"border-b border-black/80",children:[(0,t.jsx)("label",{htmlFor:"email",className:"sr-only",children:"Email"}),(0,t.jsx)("input",{type:"email",name:"email",id:"email",value:s.email,onChange:e=>{l({email:e.target.value})},required:!0,"aria-required":"true",placeholder:"Email",className:"w-full py-4 placeholder:text-black/80"})]}),(0,t.jsx)("input",{type:"text",name:"honeypot",style:{display:"none"},tabIndex:-1,autoComplete:"off"}),(0,t.jsx)("div",{children:(0,t.jsx)("button",{type:"submit",disabled:a,className:"w-full bg-black/10 px-5 py-4 hover:bg-black/20 disabled:opacity-50 disabled:cursor-not-allowed",children:a?"Subscribing...":"Subscribe"})})]})]})})})}],27865)}]);
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.