PageSourceSearch

https://www.hessdalen.org/_next/static/chunks/b527eaaa1daf2619.js?dpl=dpl_75oou9BzDDHDXKdYvyw2E61sTJ4u

js hessdalen.org collected 2026-10-02 10:30:05 UTC 55,035 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,75069,(e,t,r)=>{"use strict";function l(e){let{widthInt:t,heightInt:r,blurWidth:l,blurHeight:n,blurDataURL:a,objectFit:i}=e,s=l?40*l:t,o=n?40*n:r,d=s&&o?"viewBox='0 0 "+s+" "+o+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+d+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(d?"none":"contain"===i?"xMidYMid":"cover"===i?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+a+"'/%3E%3C/svg%3E"}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImageBlurSvg",{enumerable:!0,get:function(){return l}})},52652,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(r,{VALID_LOADERS:function(){return l},imageConfigDefault:function(){return n}});let l=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},72420,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImgProps",{enumerable:!0,get:function(){return o}}),e.r(19609);let l=e.r(75069),n=e.r(52652),a=["-moz-initial","fill","none","scale-down",void 0];function i(e){return void 0!==e.default}function s(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function o(e,t){var r,o;let d,c,u,{src:m,sizes:x,unoptimized:p=!1,priority:h=!1,loading:g,className:f,quality:b,width:v,height:y,fill:j=!1,style:k,overrideSrc:w,onLoad:N,onLoadingComplete:_,placeholder:I="empty",blurDataURL:S,fetchPriority:P,decoding:C="async",layout:O,objectFit:z,objectPosition:M,lazyBoundary:E,lazyRoot:R,...T}=e,{imgConf:A,showAltText:D,blurComplete:L,defaultLoader:B}=t,U=A||n.imageConfigDefault;if("allSizes"in U)d=U;else{let e=[...U.deviceSizes,...U.imageSizes].sort((e,t)=>e-t),t=U.deviceSizes.sort((e,t)=>e-t),l=null==(r=U.qualities)?void 0:r.sort((e,t)=>e-t);d={...U,allSizes:e,deviceSizes:t,qualities:l}}if(void 0===B)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let q=T.loader||B;delete T.loader,delete T.srcSet;let F="__next_img_default"in q;if(F){if("custom"===d.loader)throw Object.defineProperty(Error('Image with src "'+m+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=q;q=t=>{let{config:r,...l}=t;return e(l)}}if(O){"fill"===O&&(j=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[O];e&&(k={...k,...e});let t={responsive:"100vw",fill:"100vw"}[O];t&&!x&&(x=t)}let G="",W=s(v),H=s(y);if((o=m)&&"object"==typeof o&&(i(o)||void 0!==o.src)){let e=i(m)?m.default:m;if(!e.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,
1configurable:!0});if(c=e.blurWidth,u=e.blurHeight,S=S||e.blurDataURL,G=e.src,!j)if(W||H){if(W&&!H){let t=W/e.width;H=Math.round(e.height*t)}else if(!W&&H){let t=H/e.height;W=Math.round(e.width*t)}}else W=e.width,H=e.height}let V=!h&&("lazy"===g||void 0===g);(!(m="string"==typeof m?m:G)||m.startsWith("data:")||m.startsWith("blob:"))&&(p=!0,V=!1),d.unoptimized&&(p=!0),F&&!d.dangerouslyAllowSVG&&m.split("?",1)[0].endsWith(".svg")&&(p=!0);let K=s(b),X=Object.assign(j?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:z,objectPosition:M}:{},D?{}:{color:"transparent"},k),Y=L||"empty"===I?null:"blur"===I?'url("data:image/svg+xml;charset=utf-8,'+(0,l.getImageBlurSvg)({widthInt:W,heightInt:H,blurWidth:c,blurHeight:u,blurDataURL:S||"",objectFit:X.objectFit})+'")':'url("'+I+'")',J=a.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,$=Y?{backgroundSize:J,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Y}:{},Q=function(e){let{config:t,src:r,unoptimized:l,width:n,quality:a,sizes:i,loader:s}=e;if(l)return{src:r,srcSet:void 0,sizes:void 0};let{widths:o,kind:d}=function(e,t,r){let{deviceSizes:l,allSizes:n}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let l;l=e.exec(r);)t.push(parseInt(l[2]));if(t.length){let e=.01*Math.min(...t);return{widths:n.filter(t=>t>=l[0]*e),kind:"w"}}return{widths:n,kind:"w"}}return"number"!=typeof t?{widths:l,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>n.find(t=>t>=e)||n[n.length-1]))],kind:"x"}}(t,n,i),c=o.length-1;return{sizes:i||"w"!==d?i:"100vw",srcSet:o.map((e,l)=>s({config:t,src:r,quality:a,width:e})+" "+("w"===d?e:l+1)+d).join(", "),src:s({config:t,src:r,quality:a,width:o[c]})}}({config:d,src:m,unoptimized:p,width:W,quality:K,sizes:x,loader:q});return{props:{...T,loading:V?"lazy":g,fetchPriority:P,width:W,height:H,decoding:C,className:f,style:{...X,...$},sizes:Q.sizes,srcSet:Q.srcSet,src:w||Q.src},meta:{unoptimized:p,priority:h,placeholder:I,fill:j}}}},16648,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let l=e.r(30878),n="undefined"==typeof window,a=n?()=>{}:l.useLayoutEffect,i=n?()=>{}:l.useEffect;function s(e){let{headManager:t,reduceComponentsToState:r}=e;function s(){if(t&&t.mountedInstances){let n=l.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(n,e))}}if(n){var o;null==t||null==(o=t.mountedInstances)||o.add(e.children),s()}return a(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),a(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),i(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},37891,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"AmpStateContext",{enumerable:!0,get:function(){return l}});let l=e.r(63212)._(e.r(30878)).default.createContext({})},19758,(e,t,r)=>{"use strict";function l(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:l=!1}=void 0===e?{}:e;return t||r&&l}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isInAmpMode",{enumerable:!0,get:function(){return l}})},13484,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(r,{default:function(){return h},defaultHead:function(){return u}});let l=e.r(63212),n=e.r(79510),a=e.r(14294),i=n._(e.r(30878)),s=l._(e.r(16648)),o=e.r(37891),d=e.r(56890),c=e.r(19758);function u(e){void 0===e&&(e=!1);let t=[(0,a.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,a.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function m(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===i.default.Fragment?e.concat(i.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}e.r(19609);let x=["name","httpEquiv","charSet","itemProp"];function p(e,t){let{inAmpMode:r}=t;return e.reduce(m,[]).reverse().concat(u(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,l={};return n=>{let a=!0,i=!1;if(n.key&&"number"!=typeof n.key&&n.key.indexOf("$")>0){i=!0;let t=n.key.slice(n.key.indexOf("$")+1);e.has(t)?a=!1:e.add(t)}switch(n.type){case"title":case"base":t.has(n.type)?a=!1:t.add(n.type);break;case"meta":for(let e=0,t=x.length;e<t;e++){let t=x[e];if(n.props.hasOwnProperty(t))if("charSet"===t)r.has(t)?a=!1:r.add(t);else{let e=n.props[t],r=l[t]||new Set;("name"!==t||!i)&&r.has(e)?a=!1:(r.add(e),l[t]=r)}}}return a}}()).reverse().map((e,t)=>{let r=e.key||t;return i.default.cloneElement(e,{key:r})})}let h=function(e){let{children:t}=e,r=(0,i.useContext)(o.AmpStateContext),l=(0,i.useContext)(d.HeadManagerContext);return(0,a.jsx)(s.default,{reduceComponentsToState:p,headManager:l,inAmpMode:(0,c.isInAmpMode)(r),children:t})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},61273,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let l=e.r(63212)._(e.r(30878)),n=e.r(52652),a=l.default.createContext(n.imageConfigDefault)},89832,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"RouterContext",{enumerable:!0,get:function(){return l}});let l=e.r(63212)._(e.r(30878)).default.createContext(null)},51393,(e,t,r)=>{"use strict";function l(e){var t;let{config:r,src:l,width:n,quality:a}=e,i=a||(null==(t=r.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return r.path+"?url="+encodeURIComponent(l)+"&w="+n+"&q="+i+(l.startsWith("/_next/static/media/")&&1?"&dpl=dpl_75oou9BzDDHDXKdYvyw2E61sTJ4u":"")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n}}),l.__next_img_default=!0;let n=l},69537,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Image",{enumerable:!0,get:function(){return y}});let l=e.r(63212),n=e.r(79510),a=e.r(14294),i=n._(e.r(30878)),s=l._(e.r(73340)),o=l._(e.r(13484)),d=e.r(72420),c=e.r(52652),u=e.r(61273);e.r(19609);let m=e.r(89832),x=l._(e.r(51393)),p=e.r(15232),h={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,r,l,n,a,i){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&n(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let l=!1,n=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>l,isPropagationStopped:()=>n,persist:()=>{},preventDefault:()=>{l=!0,t.preventDefault()},stopPropagation:()=>{n=!0,t.stopPropagation()}})}(null==l?void 0:l.current)&&l.current(e)}}))}function f(e){return i.use?{fetchPriority:e}:{fetchpriority:e}}"undefined"==typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let b=(0,i.forwardRef)((e,t)=>{let{src:r,srcSet:l,sizes:n,height:s,width:o,decoding:d,className:c,style:u,fetchPriority:m,placeholder:x,loading:h,unoptimized:b,fill:v,onLoadRef:y,onLoadingCompleteRef:j,setBlurComplete:k,setShowAltText:w,sizesInput:N,onLoad:_,onError:I,...S}=e,P=(0,i.useCallback)(e=>{e&&(I&&(e.src=e.src),e.complete&&g(e,x,y,j,k,b,N))},[r,x,y,j,k,I,b,N]),C=(0,p.useMergedRef)(t,P);return(0,a.jsx)("img",{...S,...f(m),loading:h,width:o,height:s,decoding:d,"data-nimg":v?"fill":"1",className:c,style:u,sizes:n,srcSet:l,src:r,ref:C,onLoad:e=>{g(e.currentTarget,x,y,j,k,b,N)},onError:e=>{w(!0),"empty"!==x&&k(!0),I&&I(e)}})});function v(e){let{isAppRouter:t,imgAttributes:r}=e,l={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...f(r.fetchPriority)};return t&&s.default.preload?(s.default.preload(r.src,l),null):(0,a.jsx)(o.default,{children:(0,a.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...l},"__nimg-"+r.src+r.srcSet+r.sizes)})}let y=(0,i.forwardRef)((e,t)=>{let r=(0,i.useContext)(m.RouterContext),l=(0,i.useContext)(u.ImageConfigContext),n=(0,i.useMemo)(()=>{var e;let t=h||l||c.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),n=t.deviceSizes.sort((e,t)=>e-t),a=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:n,qualities:a}},[l]),{onLoad:s,onLoadingComplete:o}=e,p=(0,i.useRef)(s);(0,i.useEffect)(()=>{p.current=s},[s]);let g=(0,i.useRef)(o);(0,i.useEffect)(()=>{g.current=o},[o]);let[f,y]=(0,i.useState)(!1),[j,k]=(0,i.useState)(!1),{props:w,meta:N}=(0,d.getImgProps)(e,{defaultLoader:x.default,imgConf:n,blurComplete:f,showAltText:j});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(b,{...w,unoptimized:N.unoptimized,placeholder:N.placeholder,fill:N.fill,onLoadRef:p,onLoadingCompleteRef:g,setBlurComplete:y,setShowAltText:k,sizesInput:e.sizes,ref:t}),N.priority?(0,a.jsx)(v,{isAppRouter:!r,imgAttributes:w}):null]})});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},41628,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(r,{default:function(){return o},getImageProps:function(){return s}});let l=e.r(63212),n=e.r(72420),a=e.r(69537),i=l._(e.r(51393));function s(e){let{props:t}=(0,n.getImgProps)(e,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let o=a.Image},92623,(e,t,r)=>{t.exports=e.r(41628)},43878,65192,e=>{"use strict";e.s(["CollapsibleSection",()=>I],43878);var t=e.i(14294),r=e.i(30878);function l(e){return"span"===e._type&&"text"in e&&"string"==typeof e.text&&(typeof e.marks>"u"||Array.isArray(e.marks)&&e.marks.every(e=>"string"==typeof e))}function n(e){return"string"==typeof e._type&&"@"!==e._type[0]&&(!("markDefs"in e)||!e.markDefs||Array.isArray(e.markDefs)&&e.markDefs.every(e=>"string"==typeof e._key))&&"children"in e&&Array.isArray(e.children)&&e.children.every(e=>"object"==typeof e&&"_type"in e)}function a(e){return n(e)&&"listItem"in e&&"string"==typeof e.listItem&&(typeof e.level>"u"||"number"==typeof e.level)}function i(e){return"@list"===e._type}function s(e){return"@span"===e._type}function o(e){return"@text"===e._type}e.s(["PortableText",()=>y],65192);let d=["strong","em","code","underline","strike-through"];function c(e,t,r){if(!l(e)||!e.marks||!e.marks.length)return[];let n=e.marks.slice(),a={};return n.forEach(e=>{a[e]=1;for(let n=t+1;n<r.length;n++){let t=r[n];if(t&&l(t)&&Array.isArray(t.marks)&&-1!==t.marks.indexOf(e))a[e]++;else break}}),n.sort((e,t)=>(function(e,t,r){let l=e[t],n=e[r];if(l!==n)return n-l;let a=d.indexOf(t),i=d.indexOf(r);return a!==i?a-i:t.localeCompare(r)})(a,e,t))}function u(e,t,r){return{_type:"@list",_key:"".concat(e._key||"".concat(t),"-parent"),mode:r,level:e.level||1,listItem:e.listItem,children:[e]}}function m(e,t){let r=t.level||1,n=t.listItem||"normal",a="string"==typeof t.listItem;if(i(e)&&(e.level||1)===r&&a&&(e.listItem||"normal")===n)return e;if(!("children"in e))return;let s=e.children[e.children.length-1];return s&&!l(s)?m(s,t):void 0}let x={textDecoration:"underline"},p=(e,t)=>"[@portabletext/react] Unknown ".concat(e,", specify a component for it in the `components.").concat(t,"` prop"),h=e=>p('block type "'.concat(e,'"'),"types");function g(e){console.warn(e)}let f={display:"none"},b={types:{},block:{normal:e=>{let{children:r}=e;return(0,t.jsx)("p",{children:r})},blockquote:e=>{let{children:r}=e;return(0,t.jsx)("blockquote",{children:r})},h1:e=>{let{children:r}=e;return(0,t.jsx)("h1",{children:r})},h2:e=>{let{children:r}=e;return(0,t.jsx)("h2",{children:r})},h3:e=>{let{children:r}=e;return(0,t.jsx)("h3",{children:r})},h4:e=>{let{children:r}=e;return(0,t.jsx)("h4",{children:r})},h5:e=>{let{children:r}=e;return(0,t.jsx)("h5",{children:r})},h6:e=>{let{children:r}=e;return(0,t.jsx)("h6",{children:r})}},marks:{em:e=>{let{children:r}=e;return(0,t.jsx)("em",{children:r})},strong:e=>{let{children:r}=e;return(0,t.jsx)("strong",{children:r})},code:e=>{let{children:r}=e;return(0,t.jsx)("code",{children:r})},underline:e=>{let{children:r}=e;return(0,t.jsx)("span",{style:x,children:r})},"strike-through":e=>{let{children:r}=e;return(0,t.jsx)("del",{children:r})},link:e=>{let{children:r,value:l}=e;return(0,t.jsx)("a",{href:null==l?void 0:l.href,children:r})}},list:{number:e=>{let{children:r}=e;return(0,t.jsx)("ol",{children:r})},bullet:e=>{let{children:r}=e;return(0,t.jsx)("ul",{children:r})}},listItem:e=>{let{children:r}=e;return(0,t.jsx)("li",{children:r})},hardBreak:()=>(0,t.jsx)("br",{}),unknownType:e=>{let{value:r,isInline:l}=e,n=h(r._type);return l?(0,t.jsx)("span",{style:f,children:n}):(0,t.jsx)("div",{style:f,children:n})},unknownMark:e=>{let{markType:r,children:l}=e;return(0,t.jsx)("span",{className:"unknown__pt__mark__".concat(r),children:l})},unknownList:e=>{let{children:r}=e;return(0,t.jsx)("ul",{children:r})},unknownListItem:e=>{let{children:r}=e;return(0,t.jsx)("li",{children:r})},unknownBlockStyle:e=>{let{children:r}=e;return(0,t.jsx)("p",{children:r})}};function v(e,t,r){let l=t[r],n=e[r];return"function"==typeof l||l&&"function"==typeof n?l:l?{...n,...l}:n}function y(e){let{value:l,components:n,listNestingMode:i,onMissingComponent:s=g}=e,o=s||w,d=function(e,t){let r,l=[];for(let s=0;s<e.length;s++){let o=e[s];if(o){var n,i;if(!a(o)){l.push(o),r=void 0;continue}if(!r){r=u(o,s,t),l.push(r);continue}if(n=o,i=r,(n.level||1)===i.level&&n.listItem===i.listItem){r.children.push(o);continue}if((o.level||1)>r.level){let e=u(o,s,t);
1if("html"===t){let t=r.children[r.children.length-1],l={...t,children:[...t.children,e]};r.children[r.children.length-1]=l}else r.children.push(e);r=e;continue}if((o.level||1)<r.level){let e=l[l.length-1],n=e&&m(e,o);if(n){(r=n).children.push(o);continue}r=u(o,s,t),l.push(r);continue}if(o.listItem!==r.listItem){let e=l[l.length-1],n=e&&m(e,{level:o.level||1});if(n&&n.listItem===o.listItem){(r=n).children.push(o);continue}r=u(o,s,t),l.push(r);continue}console.warn("Unknown state encountered for block",o),l.push(o)}}return l}(Array.isArray(l)?l:[l],i||"html"),c=(0,r.useMemo)(()=>n?function(e,t){let{block:r,list:l,listItem:n,marks:a,types:i,...s}=t;return{...e,block:v(e,t,"block"),list:v(e,t,"list"),listItem:v(e,t,"listItem"),marks:v(e,t,"marks"),types:v(e,t,"types"),...s}}(b,n):b,[n]),x=(0,r.useMemo)(()=>j(c,o),[c,o]),p=d.map((e,t)=>x({node:e,index:t,isInline:!1,renderNode:x}));return(0,t.jsx)(t.Fragment,{children:p})}let j=(e,r)=>function l(d){let{node:c,index:u,isInline:m}=d,x=c._key||"node-".concat(u);return i(c)?function(n,a,i){let s=n.children.map((e,t)=>l({node:e._key?e:{...e,_key:"li-".concat(a,"-").concat(t)},index:t,isInline:!1})),o=e.list,d=("function"==typeof o?o:o[n.listItem])||e.unknownList;if(d===e.unknownList){let e=n.listItem||"bullet";r(p('list style "'.concat(e,'"'),"list"),{nodeType:"listStyle",type:e})}return(0,t.jsx)(d,{value:n,index:a,isInline:!1,renderNode:l,children:s},i)}(c,u,x):a(c)?function(n,a,i){let s=k({node:n,index:a,isInline:!1,renderNode:l}),o=e.listItem,d=("function"==typeof o?o:o[n.listItem])||e.unknownListItem;if(d===e.unknownListItem){let e=n.listItem||"bullet";r(p('list item style "'.concat(e,'"'),"listItem"),{type:e,nodeType:"listItemStyle"})}let c=s.children;if(n.style&&"normal"!==n.style){let{listItem:e,...t}=n;c=l({node:t,index:a,isInline:!1})}return(0,t.jsx)(d,{value:n,index:a,isInline:!1,renderNode:l,children:c},i)}(c,u,x):s(c)?function(n,a,i){let{markDef:d,markType:c,markKey:u}=n,m=e.marks[c]||e.unknownMark,x=n.children.map((e,t)=>l({node:e,index:t,isInline:!0}));return m===e.unknownMark&&r(p('mark type "'.concat(c,'"'),"marks"),{nodeType:"mark",type:c}),(0,t.jsx)(m,{text:function e(t){let r="";return t.children.forEach(t=>{o(t)?r+=t.text:s(t)&&(r+=e(t))}),r}(n),value:d,markType:c,markKey:u,renderNode:l,children:x},i)}(c,0,x):c._type in e.types?function(r,n,a,i){let s=e.types[r._type];return s?(0,t.jsx)(s,{value:r,isInline:i,index:n,renderNode:l},a):null}(c,u,x,m):n(c)?function(n,a,i,s){let{_key:o,...d}=k({node:n,index:a,isInline:s,renderNode:l}),c=d.node.style||"normal",u=("function"==typeof e.block?e.block:e.block[c])||e.unknownBlockStyle;return u===e.unknownBlockStyle&&r(p('block style "'.concat(c,'"'),"block"),{nodeType:"blockStyle",type:c}),(0,t.jsx)(u,{...d,value:d.node,renderNode:l},i)}(c,u,x,m):o(c)?function(r,l){if("\n"===r.text){let r=e.hardBreak;return r?(0,t.jsx)(r,{},l):"\n"}return r.text}(c,x):function(n,a,i,s){r(h(n._type),{nodeType:"block",type:n._type});let o=e.unknownType;return(0,t.jsx)(o,{value:n,isInline:s,index:a,renderNode:l},i)}(c,u,x,m)};function k(e){let{node:t,index:r,isInline:n,renderNode:a}=e,i=(function(e){var t,r;let{children:n}=e,a=null!=(r=e.markDefs)?r:[];if(!n||!n.length)return[];let i=n.map(c),s={_type:"@span",children:[],markType:"<unknown>"},o=[s];for(let e=0;e<n.length;e++){let r=n[e];if(!r)continue;let s=i[e]||[],d=1;if(o.length>1)for(;d<o.length;d++){let e=(null==(t=o[d])?void 0:t.markKey)||"",r=s.indexOf(e);if(-1===r)break;s.splice(r,1)}let c=(o=o.slice(0,d))[o.length-1];if(c){for(let e of s){let t=null==a?void 0:a.find(t=>t._key===e),l=t?t._type:e,n={_type:"@span",_key:r._key,children:[],markDef:t,markType:l,markKey:e};c.children.push(n),o.push(n),c=n}if(l(r)){let e=r.text.split("\n");for(let t=e.length;t-- >1;)e.splice(t,0,"\n");c.children=c.children.concat(e.map(e=>({_type:"@text",text:e})))}else c.children=c.children.concat(r)}}return s.children})(t).map((e,t)=>a({node:e,isInline:!0,index:t,renderNode:a}));return{_key:t._key||"block-".concat(r),children:i,index:r,isInline:n,node:t}}function w(){}var N=e.i(92623);let _={types:{imageBlock:e=>{var r;let{value:l}=e,n=null==l||null==(r=l.asset)?void 0:r.url;return n?(0,t.jsxs)("figure",{className:"!my-0 w-full",children:[(0,t.jsx)(N.default,{src:n,alt:(null==l?void 0:l.alt)||"Art
1icle image",width:1600,height:900,className:"w-full h-auto rounded-xl object-cover",sizes:"(min-width: 1024px) 800px, 100vw"}),(null==l?void 0:l.caption)&&(0,t.jsx)("figcaption",{className:"mt-1 text-xs text-gray-500 dark:text-gray-400",children:l.caption})]}):null}},block:{h1:e=>{let{children:r}=e;return(0,t.jsx)("h1",{className:"text-2xl font-bold mt-0 mb-1",children:r})},h2:e=>{let{children:r}=e;return(0,t.jsx)("h2",{className:"text-xl font-semibold mt-0 mb-1",children:r})},h3:e=>{let{children:r}=e;return(0,t.jsx)("h3",{className:"text-lg font-semibold mt-0 mb-1",children:r})},h4:e=>{let{children:r}=e;return(0,t.jsx)("h4",{className:"text-lg font-semibold mt-0 mb-1",children:r})},blockquote:e=>{let{children:r}=e;return(0,t.jsx)("blockquote",{className:"border-l-4 pl-4 italic text-gray-600 dark:text-gray-300 my-4",children:r})},normal:e=>{let{children:r}=e;return(0,t.jsx)("div",{className:"my-2",children:r})}},marks:{code:e=>{let{children:r}=e;return(0,t.jsx)("div",{className:"border border-gray-300 dark:border-gray-600 rounded p-4 inline-block",children:(0,t.jsx)("code",{className:" text-red-400 dark:text-blue-300 rounded px-1 py-0.5 text-sm font-mono",children:r})})}},list:{bullet:e=>{let{children:r}=e;return(0,t.jsx)("ul",{className:"list-disc ml-6 mb-2",children:r})},number:e=>{let{children:r}=e;
1return(0,t.jsx)("ol",{className:"list-decimal ml-6 mb-2",children:r})}},listItem:{bullet:e=>{let{children:r}=e;return(0,t.jsx)("li",{className:"mb-1",children:r})},number:e=>{let{children:r}=e;return(0,t.jsx)("li",{className:"mb-1",children:r})}}};function I(e){let{header:l,content:n,children:a,defaultOpen:i=!1,isOpen:s,onToggle:o}=e,[d,c]=(0,r.useState)(i),u=void 0!==s?s:d;return(0,t.jsxs)("div",{className:"mb-8 border border-gray-300 dark:border-gray-600 rounded-lg overflow-hidden",children:[(0,t.jsxs)("button",{onClick:()=>{let e=!u;o?o(e):c(e)},className:"w-full flex items-center justify-between px-6 py-4 bg-gray-50 dark:bg-gray-800 hover:bg-gray-100 dark:hover:bg-gray-700 transition-colors","aria-expanded":u,children:[(0,t.jsx)("span",{className:"text-lg font-semibold text-gray-900 dark:text-gray-100",children:l}),(0,t.jsx)("svg",{className:"w-5 h-5 text-gray-600 dark:text-gray-400 transition-transform ".concat(u?"rotate-180":""),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),u&&(0,t.jsxs)("div",{className:"px-6 py-4 prose prose-zinc dark:prose-invert max-w-none",children:[n&&(0,t.jsx)(y,{value:n,components:_}),a]})]})}},78178,e=>{"use strict";e.s(["SimplePortableText",()=>a]);var t=e.i(14294),r=e.i(65192),l=e.i(92623);let n={types:{image:e=>{let{value:r}=e;return(0,t.jsx)("a",{href:r.url,target:"_blank",rel:"noopener noreferrer",className:"inline-block hover:opacity-80 transition-opacity cursor-pointer",children:(0,t.jsx)(l.default,{src:r.url,alt:r.alt})})}},block:{h1:e=>{let{children:r}=e;return(0,t.jsx)("h1",{className:"text-2xl font-bold mb-4",children:r})},h2:e=>{let{children:r}=e;return(0,t.jsx)("h2",{className:"text-xl font-bold mb-3",children:r})},h3:e=>{let{children:r}=e;return(0,t.jsx)("h3",{className:"text-lg font-semibold mb-2",children:r})},normal:e=>{let{children:r}=e;return(0,t.jsx)("p",{className:"mt-0 mb-1",children:r})}},marks:{strong:e=>{let{children:r}=e;return(0,t.jsx)("strong",{className:"font-bold text-indigo-600",children:r})},em:e=>{let{children:r}=e;return(0,t.jsx)("em",{className:"italic text-gray-700",children:r})},link:e=>{let{children:r,value:l}=e;return(0,t.jsx)("a",{href:l.href,className:"text-blue-600 hover:underline",children:r})}},list:{bullet:e=>{let{children:r}=e;return(0,t.jsx)("ul",{className:"list-disc pl-6 mb-2",children:r})},number:e=>{let{children:r}=e;return(0,t.jsx)("ol",{className:"list-decimal pl-6 mb-2",children:r})}},listItem:{bullet:e=>{let{children:r}=e;return(0,t.jsx)("li",{className:"mt-0 mb-0",children:r})},number:e=>{let{children:r}=e;return(0,t.jsx)("li",{className:"mt-0 mb-0",children:r})}}};function a(e){let{value:l}=e;return(0,t.jsx)("article",{className:"mt-8 prose prose-zinc dark:prose-invert max-w-none",children:(0,t.jsx)(r.PortableText,{value:l,components:n})})}},41645,e=>{"use strict";e.s(["PageRenderer",()=>g],41645);var t=e.i(14294),r=e.i(92623),l=e.i(4561),n=e.i(65192),a=e.i(43878),i=e.i(78178);function s(e){var n;let{part:a}=e,s={left:"text-left items-start",center:"text-center items-center",right:"text-right items-end"}[a.align||"center"],o={plain:"bg-transparent",framed:"bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-lg p-3",featured:"bg-gradient-to-r from-blue-50 to-purple-50 dark:from-gray-800 dark:to-gray-700 rounded-lg p-4",card:"bg-white dark:bg-gray-800 shadow-lg rounded-lg p-3"}[a.layout||"plain"],d={video:"aspect-video",portrait:"aspect-[9/16]",square:"aspect-square"}[a.aspect||"video"],c=e=>{switch(e){case"highlight":return"bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded text-sm font-semibold transition-colors";case"text-only":return"text-blue-600 dark:text-blue-400 hover:underline text-sm font-semibold";default:return"bg-gray-200 dark:bg-gray-700 hover:bg-gray-300 dark:hover:bg-gray-600 text-gray-900 dark:text-gray-100 px-4 py-2 rounded text-sm font-semibold transition-colors"}},u=(null==(n=a.image)?void 0:n.url)?(0,t.jsx)("div",{className:"w-full ".concat(d," relative overflow-hidden rounded-lg mb-2"),children:(0,t.jsx)(r.default,{src:a.image.url,alt:a.image.alt||a.title||a.name,fill:!0,className:"object-cover absolute inset-0",sizes:"(max-width: 640px) 100v
1w, (max-width: 1024px) 50vw, 25vw"})}):null;return(0,t.jsx)("div",{className:"w-full h-full ".concat(o),children:(0,t.jsxs)("div",{className:"flex flex-col gap-2 ".concat(s),children:[u,a.title&&(0,t.jsx)("h2",{className:"!p-0 !m-0 text-lg font-bold text-gray-900 dark:text-gray-100",children:a.title}),a.description&&a.description.length>0&&(0,t.jsx)("div",{className:"prose prose-sm dark:prose-invert max-w-none",children:(0,t.jsx)(i.SimplePortableText,{value:a.description})}),a.buttons&&a.buttons.length>0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-2 justify-center",children:a.buttons.map((e,r)=>e.url.includes("://")?(0,t.jsx)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:c(e.style),children:e.name},r):(0,t.jsx)(l.default,{href:e.url,className:c(e.style),children:e.name},r))})]})})}function o(e){let{parts:r}=e;return r&&0!==r.length?(0,t.jsx)("div",{className:"w-full px-4 py-4",children:(0,t.jsx)("div",{className:"mx-auto max-w-6xl",children:(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 auto-rows-fr",children:r.map(e=>(0,t.jsx)(s,{part:e},e._id))})})}):null}let d={types:{callout:e=>{let{value:r}=e,{tone:l="info",icon:a,title:i,content:s,compact:o}=r||{},d=a&&a.trim()||({info:"💡",success:"✅",warning:"⚠️",danger:"❗"})[l]||"💡",c={info:"bg-blue-50 border-blue-200 text-blue-900 dark:bg-blue-900/20 dark:border-blue-100 dark:text-blue-300",success:"bg-green-50 border-green-200 text-green-900 dark:bg-green-900/20 dark:border-green-800 dark:text-green-200",warning:"bg-amber-50 border-amber-200 text-amber-900 dark:bg-amber-900/20 dark:border-amber-800 dark:text-amber-400",danger:"bg-red-50 border-red-200 text-red-900 dark:bg-red-900/20 dark:border-red-800 dark:text-red-600"};return(0,t.jsx)("div",{className:"my-6 border rounded-xl ".concat(c[l]||c.info," ").concat(o?"py-4 px-4":"py-8 px-8"),children:(0,t.jsxs)("div",{className:"flex items-center gap-6",children:[(0,t.jsx)("span",{className:"text-8xl leading-none block flex-shrink-0","aria-hidden":"true",children:d}),(0,t.jsxs)("div",{className:"grid gap-2 self-center",children:[i&&(0,t.jsx)("div",{className:"text-lg font-semibold",children:i}),s&&(0,t.jsx)("article",{className:"prose prose-zinc dark:prose-invert max-w-none",children:(0,t.jsx)(n.PortableText,{value:s})})]})]})})},collapsible:e=>{let{value:r}=e;return(0,t.jsx)(a.CollapsibleSection,{header:(null==r?void 0:r.header)||"",content:null==r?void 0:r.content,defaultOpen:null==r?void 0:r.defaultOpen})},imageBlock:e=>{var l,n,a,i,s;let{value:o}=e,d=null!=(n=null==o?void 0:o.layout)?n:"standard",c=null!=(a=null==o||null==(l=o.asset)?void 0:l.url)?a:null;if(!c)return null;let u=1600,m=900,x="center";if(("banner"===d||"banner-top"===d||"banner-bottom"===d)&&(u=1600,m=300,x="banner-top"===d?"top":"banner-bottom"===d?"bottom":"center"),"original"===d){let e=null!=(i=null==o?void 0:o.align)?i:"left",r=null!=(s=null==o?void 0:o.width)?s:"column",l={left:"mr-auto",center:"mx-auto",right:"ml-auto"},n=l[e]||l.left,a="";"center"===e&&("screen"===r?a="relative left-1/2 right-1/2 -mx-[50vw] w-screen":"full"===r&&(a="relative left-1/2 right-1/2 -mx-[50vw] w-screen"));let d=(0,t.jsx)("figure",{className:"max-w-fit block ".concat(n),children:(0,t.jsxs)("div",{className:"flex flex-col items-center",children:[(0,t.jsx)("img",{src:c,alt:(null==o?void 0:o.alt)||"Article image",className:"max-w-full h-auto !mt-0"}),(null==o?void 0:o.caption)&&(0,t.jsx)("figcaption",{className:"-mt-4 text-sm text-gray-500 dark:text-gray-400 text-center",children:o.caption})]})});if(a){let e=(null==o?void 0:o.link)||c,l=(0,t.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"no-underline hover:opacity-80 transition-opacity cursor-pointer",children:d});return"full"===r?(0,t.jsx)("div",{className:a,children:(0,t.jsx)("div",{className:"mx-auto max-w-screen-2xl px-4",children:l})}):(0,t.jsx)("div",{className:a,children:l})}let u=(null==o?void 0:o.link)||c;return(0,t.jsx)("a",{href:u,target:"_blank",rel:"noopener noreferrer",className:"no-underline hover:opacity-80 transition-opacity cursor-pointer",children:d})}let p=(0,t.jsx)("div",{className:"my-4",children:(0,t.jsxs)("figure",{className:"relative overflow-hidden rounded-xl",style:{aspectRatio:"".concat(u," / ").concat(m)},children:[(0,t.jsx)(r.default,{src:c,alt:(null==o?void 0:o.alt)||"Art
1icle image",width:u,height:m,className:"w-full h-full object-cover",style:{objectPosition:x},sizes:"(min-width: 1024px) 800px, 100vw"}),(null==o?void 0:o.caption)&&(0,t.jsx)("figcaption",{className:"absolute bottom-0 left-0 right-0 bg-black/60 text-white text-sm px-4 py-2 z-10",children:o.caption})]})}),h=(null==o?void 0:o.link)||c;return(0,t.jsx)("a",{href:h,target:"_blank",rel:"noopener noreferrer",className:"no-underline hover:opacity-80 transition-opacity cursor-pointer block",children:p})},imageGallery:e=>{var a,i;let{value:s}=e,o=Math.min(Math.max(null!=(i=null==s?void 0:s.columns)?i:3,2),6),d={2:"grid grid-cols-1 gap-4 md:grid-cols-2",3:"grid grid-cols-1 gap-4 md:grid-cols-3",4:"grid grid-cols-2 gap-4 md:grid-cols-4",5:"grid grid-cols-2 gap-4 md:grid-cols-5",6:"grid grid-cols-2 gap-4 md:grid-cols-6"},c=d[o]||d[3],u=(null==s?void 0:s.aspect)||"video",m="16 / 9";return"square"===u&&(m="1 / 1"),"portrait"===u&&(m="9 / 16"),(0,t.jsx)("div",{className:"relative left-1/2 right-1/2 -mx-[50vw] w-screen bg-gray-200 dark:bg-gray-600 py-12",children:(0,t.jsx)("div",{className:"mx-auto max-w-screen-2xl px-12",children:(0,t.jsx)("div",{className:c,children:null==s||null==(a=s.images)?void 0:a.map((e,a)=>{var i,s;let o=null!=(s=null==e||null==(i=e.asset)?void 0:i.url)?s:null;if(!o)return null;let d=(null==e?void 0:e.link)?{marks:{link:e=>{let{children:r}=e;return(0,t.jsx)("span",{children:r})}}}:{},c=(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("figure",{className:"overflow-hidden !m-0 !p-0 rounded-lg",style:{aspectRatio:m},children:(0,t.jsx)(r.default,{src:o,alt:(null==e?void 0:e.alt)||"",width:800,height:800,className:"w-full h-full object-cover",sizes:"(min-width: 1024px) 400px, 100vw"})}),(null==e?void 0:e.caption)&&(0,t.jsx)("div",{className:"mt-1 text-2xl font-semibold text-center text-gray-500 dark:text-gray-500",children:e.caption}),(null==e?void 0:e.description)&&(0,t.jsx)("div",{className:"mt-2 text-sm text-center text-gray-600 dark:text-gray-400 prose prose-sm dark:prose-invert max-w-none",children:(0,t.jsx)(n.PortableText,{value:e.description,components:d})}),(null==e?void 0:e.credit)&&(0,t.jsx)("div",{className:"mt-1 text-xs text-center text-gray-500 dark:text-gray-500 italic",children:e.credit})]});return(null==e?void 0:e.link)?e.link.includes("://")?(0,t.jsx)("a",{href:e.link,target:"_blank",rel:"noopener noreferrer",className:"no-underline hover:opacity-80 transition-opacity",children:c},a):(0,t.jsx)(l.default,{href:e.link,className:"no-underline hover:opacity-80 transition-opacity",children:c},a):(0,t.jsx)("div",{children:c},a)})})})})},imageList:e=>{var a;let{value:i}=e,s=(null==i?void 0:i.highlight)?"bg-gray-200 dark:bg-gray-700":"bg-gray-50 dark:bg-gray-900",o=(null==i?void 0:i.aspect)||"square",d="1 / 1";return"video"===o&&(d="16 / 9"),"portrait"===o&&(d="9 / 16"),(0,t.jsx)("div",{className:"relative left-1/2 right-1/2 -mx-[50vw] w-screen ".concat(s," pt-1 pb-12"),children:(0,t.jsxs)("div",{className:"mx-auto max-w-screen-xl px-4",children:[(null==i?void 0:i.title)&&(0,t.jsx)("h3",{className:"text-2xl font-semibold mb-2",children:i.title}),(null==i?void 0:i.description)&&(0,t.jsx)("div",{className:"text-base mb-6 prose prose-zinc dark:prose-invert max-w-none",children:(0,t.jsx)(n.PortableText,{value:i.description})}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 auto-rows-fr",children:null==i||null==(a=i.items)?void 0:a.map((e,a)=>{var i,s;let o=null!=(s=null==e||null==(i=e.icon)?void 0:i.url)?s:null;if(!o)return null;let c=(0,t.jsx)(r.default,{src:o,alt:(null==e?void 0:e.title)||"",width:120,height:120,className:"w-30 h-30 object-cover rounded",style:{aspectRatio:d}});return(0,t.jsx)("div",{className:"h-full",children:(0,t.jsx)("div",{className:"flex flex-col h-full gap-4 p-6 bg-white dark:bg-gray-800 rounded-lg shadow-md border border-gray-200 dark:border-gray-700",children:(0,t.jsxs)("div",{className:"flex gap-4 items-start",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:(null==e?void 0:e.link)?e.link.includes("://")?(0,t.jsx)("a",{href:e.link,target:"_blank",rel:"noopener noreferrer",className:"block no-underline hover:opacity-80 transition-opacity",children:c}):(0,t.jsx)(l.default,{href:e.link,className:"block no-underline hover:opacity-80 transition-opacity",children:c}):c}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("h4",{className:"font-semibold text-lg",children:e.title}),(null==e?void 0:e.description)&&(0,t.jsx)("div",{className:"text-sm text-gray-600 dark:text-gray-400 mt-1 prose prose-sm dark:prose-invert max-w-none",children:(0,t.jsx)(n.PortableText,{value:e.description})})]})]})})},a)})})]})})},partsList:e=>{var r;let{value:l}=e,a=(null==l?void 0:l.highlight)?"bg-gray-200 dark:bg-gray-700":"bg-gray-50 dark:bg-gray-900",i=(null!=(r=null==l?void 0:l.items)?r:[]).map(e=>({...e,description:e.description}));return(0,t.jsxs)("div",{className:"not-prose relative left-1/2 right-1/2 -mx-[50vw] w-screen ".concat(a," pt-4 pb-12"),children:[((null==l?void 0:l.title)||(null==l?void 0:l.description))&&(0,t.jsxs)("div",{className:"mx-auto max-w-screen-xl px-4 mb-8",children:[(null==l?void 0:l.title)&&(0,t.jsx)("h3",{className:"text-2xl font-semibold mb-2",children:l.title}),(null==l?void 0:l.description)&&(0,t.jsx)("div",{className:"text-base prose prose-zinc dar
1k:prose-invert max-w-none",children:(0,t.jsx)(n.PortableText,{value:l.description})})]}),(0,t.jsx)(o,{parts:i})]})},textColumns:e=>{var l,a;let{value:i}=e,s=null!=(a=null!=(l=null==i?void 0:i.cols)?l:null==i?void 0:i.columns)?a:2;return(0,t.jsx)("div",{className:"bg-white dark:bg-black relative left-1/2 -translate-x-1/2 w-screen p-6",children:(0,t.jsxs)("div",{className:"mx-auto max-w-screen-2xl \n                   columns-1 ".concat(4===s?"md:columns-4":3===s?"md:columns-3":2===s?"md:columns-2":"md:columns-1"," gap-x-8\n                   [&>*]:break-inside-avoid text-base md:text-[90%]"),children:["                    ",(0,t.jsx)(n.PortableText,{value:null==i?void 0:i.content,components:{types:{image:e=>{var l;let{value:n}=e,a=null==n||null==(l=n.asset)?void 0:l.url;return a?(0,t.jsxs)("figure",{className:"!my-0 w-full",children:[(0,t.jsx)(r.default,{src:a,alt:(null==n?void 0:n.alt)||"Article image",width:1600,height:900,className:"w-full h-auto rounded-xl object-cover",sizes:"(min-width: 1024px) 800px, 100vw"}),(null==n?void 0:n.caption)&&(0,t.jsx)("figcaption",{className:"mt-1 text-xs text-gray-500 dark:text-gray-400",children:n.caption})]}):null}},block:{h1:e=>{let{children:r}=e;return(0,t.jsx)("h1",{className:"text-2xl font-bold mt-0 mb-1  md:break-before-column md:first:break-before-auto",children:r})},h2:e=>{let{children:r}=e;return(0,t.jsx)("h2",{className:"text-xl font-semibold mt-0 mb-1",children:r})},h3:e=>{let{children:r}=e;return(0,t.jsx)("h3",{className:"text-lg font-semibold mt-0 mb-1",children:r})},h4:e=>{let{children:r}=e;return(0,t.jsx)("h4",{className:"text-lg font-semibold mt-0 mb-1",children:r})},blockquote:e=>{let{children:r}=e;return(0,t.jsx)("blockquote",{className:"border-l-4 pl-4 italic text-gray-600 dark:text-gray-300 my-4",children:r})},normal:e=>{let{children:r}=e;return(0,t.jsx)("div",{className:"my-2",children:r})}},marks:{code:e=>{let{children:r}=e;return(0,t.jsx)("div",{className:"border border-gray-300 dark:border-gray-600 rounded p-4 inline-block",children:(0,t.jsx)("code",{className:" text-red-400 dark:text-blue-300 rounded px-1 py-0.5 text-sm font-mono",children:r})})}},list:{bullet:e=>{let{children:r}=e;return(0,t.jsx)("ul",{className:"list-disc ml-6 mb-2",children:r})},number:e=>{let{children:r}=e;
1return(0,t.jsx)("ol",{className:"list-decimal ml-6 mb-2",children:r})}},listItem:{bullet:e=>{let{children:r}=e;return(0,t.jsx)("li",{className:"mb-1",children:r})},number:e=>{let{children:r}=e;return(0,t.jsx)("li",{className:"mb-1",children:r})}}}})]})})},youtubeVideo:e=>{let{value:r}=e,l=function(e){if(!e)return null;let t=e.match(/(?:youtube\.com\/watch\?v=|youtu\.be\/)([^&\s]+)/);if(t)return t[1];let r=e.match(/youtube\.com\/shorts\/([^?&\s]+)/);if(r)return r[1];let l=e.match(/youtube\.com\/embed\/([^?&\s]+)/);if(l)return l[1];let n=e.match(/youtube\.com\/v\/([^?&\s]+)/);return n?n[1]:null}((null==r?void 0:r.url)||"");if(!l)return(0,t.jsx)("div",{className:"my-6 p-4 bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 rounded-lg",children:(0,t.jsx)("p",{className:"text-red-900 dark:text-red-300",children:"Invalid YouTube URL"})});let n=(null==r?void 0:r.aspectRatio)==="9:16",a={"16:9":"aspect-video","9:16":"aspect-[9/16]","4:3":"aspect-[4/3]","21:9":"aspect-[21/9]"}[(null==r?void 0:r.aspectRatio)||"16:9"]||"aspect-video";return(0,t.jsxs)("figure",{className:"my-8 ".concat(n?"flex flex-col items-center":""),children:[(null==r?void 0:r.title)&&(0,t.jsx)("figcaption",{className:"mb-2 text-sm font-medium text-gray-700 dark:text-gray-300",children:r.title}),(0,t.jsx)("div",{className:"relative ".concat(n?"w-[280px] h-[500px]":"w-full ".concat(a)," rounded-xl overflow-hidden shadow-lg"),children:(0,t.jsx)("iframe",{src:"https://www.youtube.com/embed/".concat(l),title:(null==r?void 0:r.title)||"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"absolute top-0 left-0 w-full h-full"})})]})},googleSlidesEmbed:e=>{var r;let{value:l}=e,n=null==l?void 0:l.embedUrl;if(!n)return(0,t.jsx)("div",{className:"my-6 p-4 bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 rounded-lg",children:(0,t.jsx)("p",{className:"text-red-900 dark:text-red-300",children:"Invalid Google Slides URL"})});let a=new URL(n.replace("/pub?","/embed?")),i=new URLSearchParams(a.search);i.set("start",(null==l?void 0:l.autoplay)?"true":"false"),i.set("loop",(null==l?void 0:l.loop)?"true":"false");let s=null!=(r=null==l?void 0:l.delaySec)?r:3;i.set("delayms",String(1e3*s)),a.search=i.toString();let o=a.toString(),d=(null==l?void 0:l.aspect)||"video",c={video:"aspect-video",landscape:"aspect-[297/210]",portrait:"aspect-[210/297]",square:"aspect-square"},u=c[d]||c.video;return(0,t.jsxs)("figure",{className:"my-8",children:[(null==l?void 0:l.title)&&(0,t.jsx)("figcaption",{className:"mb-2 text-sm font-medium text-gray-700 dark:text-gray-300",children:l.title}),(0,t.jsx)("div",{className:"relative w-full ".concat(u," rounded-xl overflow-hidden shadow-lg"),children:(0,t.jsx)("iframe",{src:o,title:(null==l?void 0:l.title)||"Google Slides presentation",allowFullScreen:!0,className:"absolute top-0 left-0 w-full h-full"})})]})},googleDocumentEmbed:e=>{let{value:r}=e,l=null==r?void 0:r.embedUrl;if(!l)return(0,t.jsx)("div",{className:"my-6 p-4 bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 rounded-lg",children:(0,t.jsx)("p",{className:"text-red-900 dark:text-red-300",children:"Invalid Google Docs URL"})});let n=l.match(/\/document\/d\/([^/]+)/);if(!n)return(0,t.jsx)("div",{className:"my-6 p-4 bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 rounded-lg",children:(0,t.jsx)("p",{className:"text-red-900 dark:text-red-300",children:"Could not extract document ID from URL"})});let a=n[1],i=(null==r?void 0:r.aspect)||"portrait",s={landscape:"aspect-[297/210]",square:"aspect-square",portrait:"aspect-[210/297]"},o=s[i]||s.portrait;return(0,t.jsxs)("figure",{className:"my-8",children:[(null==r?void 0:r.title)&&(0,t.jsx)("figcaption",{className:"mb-2 text-sm font-medium text-gray-700 dark:text-gray-300",children:r.title}),(0,t.jsx)("div",{className:"relative w-full ".concat(o," rounded-xl overflow-hidden shadow-lg"),children:(0,t.jsx)("iframe",{src:"https://docs.google.com/document/d/".concat(a,"/preview"),title:(null==r?void 0:r.title)||"Google Document",className:"absolute top-0 left-0 w-full h-full"})})]})}}};function c(e){let{value:r}=e;
1return(0,t.jsx)("article",{className:"mt-8 prose prose-zinc dark:prose-invert max-w-none",children:(0,t.jsx)(n.PortableText,{value:r,components:d})})}function u(e){let{categories:r,className:n=""}=e;return r&&0!==r.length?(0,t.jsx)("div",{className:"flex flex-wrap gap-2 ".concat(n),children:r.map(e=>(0,t.jsx)(l.default,{href:"/search?tag=".concat(e.slug),className:"inline-block px-2 py-1 text-xs rounded-md transition-colors ".concat((e=>{switch(e){case"blue":default:return"bg-blue-100 dark:bg-blue-900 text-blue-800 dark:text-blue-200 hover:bg-blue-200 dark:hover:bg-blue-800";case"green":return"bg-green-100 dark:bg-green-900 text-green-800 dark:text-green-200 hover:bg-green-200 dark:hover:bg-green-800";case"red":return"bg-red-100 dark:bg-red-900 text-red-800 dark:text-red-200 hover:bg-red-200 dark:hover:bg-red-800";case"yellow":return"bg-yellow-100 dark:bg-yellow-900 text-yellow-800 dark:text-yellow-200 hover:bg-yellow-200 dark:hover:bg-yellow-800";case"purple":return"bg-purple-100 dark:bg-purple-900 text-purple-800 dark:text-purple-200 hover:bg-purple-200 dark:hover:bg-purple-800";case"pink":return"bg-pink-100 dark:bg-pink-900 text-pink-800 dark:text-pink-200 hover:bg-pink-200 dark:hover:bg-pink-800";case"gray":return"bg-gray-100 dark:bg-gray-900 text-gray-800 dark:text-gray-200 hover:bg-gray-200 dark:hover:bg-gray-800"}})(e.color)),children:e.title},e._id))}):null}function m(e){let t="string"==typeof e?new Date(e):e;return isNaN(t.getTime())?"":t.toLocaleDateString("en-GB",{day:"2-digit",month:"2-digit",year:"numeric"})}var x=e.i(30878),p=e.i(98223),h=e.i(53913);function g(e){var n,a,s;let{page:o,showTitle:d=!0,showMainImage:g=!0,showAuthors:f=!0,showMetadata:b=!0,showSummary:v=!0,showBody:y=!0,isAuthenticated:j=!1,accessKey:k=null}=e,[w,N]=(0,x.useState)(!1),_=(0,x.useRef)(null),I=(0,h.useRouter)(),S=!!k&&new Date(k.expiresAt)<new Date,P=j||k&&!S;return(0,x.useEffect)(()=>{let e=_.current;if(!e)return;let t=new window.IntersectionObserver(e=>{let[t]=e;N(!t.isIntersecting)},{threshold:0});return t.observe(e),()=>t.disconnect()},[]),(0,t.jsxs)("div",{className:"bg-white dark:bg-gray-900 w-full",children:[g&&(null==(a=o.mainImage)||null==(n=a.asset)?void 0:n.url)&&(0,t.jsx)(t.Fragment,{children:"original"===o.mainImage.layout?(0,t.jsx)("div",{className:"mx-auto max-w-6xl py-0 flex flex-col gap-8 px-4",children:(0,t.jsx)("figure",{className:"max-w-fit mx-auto",children:(0,t.jsx)("img",{src:o.mainImage.asset.url,alt:o.mainImage.alt||o.title||"Page image",className:"max-w-full h-auto rounded-xl"})})}):(0,t.jsx)("div",{className:"mx-auto max-w-6xl py-0 flex flex-col gap-8 px-4",children:(0,t.jsx)("div",{className:"w-full ".concat("banner"===o.mainImage.layout||"banner-top"===o.mainImage.layout||"banner-bottom"===o.mainImage.layout?"aspect-[16/3]":"aspect-[16/9]"," relative mb-4 overflow-hidden rounded-b-xl"),children:(0,t.jsx)(r.default,{src:o.mainImage.asset.url,alt:o.mainImage.alt||o.title||"Page image",fill:!0,className:"object-cover",style:{objectPosition:"banner-top"===o.mainImage.layout?"top":"banner-bottom"===o.mainImage.layout?"bottom":"center"},sizes:"100vw"})})})}),(0,t.jsxs)("div",{className:"mx-auto max-w-3xl py-0 flex flex-col gap-1 px-4 text-center",children:[d&&o.title&&(0,t.jsx)("h1",{className:"text-5xl font-semibold mt-6 mb-6",children:o.title}),f&&o.authors&&o.authors.length>0&&(0,t.jsxs)("div",{className:"text-sm text-gray-600 mb-1",children:["By ",o.authors.map((e,r)=>{var l,n,a;return(0,t.jsxs)("span",{className:"mr-2",children:[(null==(l=e.person)?void 0:l.displayName)||(null==(n=e.person)?void 0:n.name),(null==(a=e.role)?void 0:a.title)?" (".concat(e.role.title,")"):"",r<o.authors.length-1?",":""]},r)})]}),b&&(o.publishedDate||o.originCountry)&&(0,t.jsxs)("div",{className:"text-xs text-gray-500 mb-1",children:[o.publishedDate&&(0,t.jsxs)("span",{children:["Published: ",m(o.publishedDate)]}),o.originCountry&&(0,t.jsxs)("span",{className:"ml-4",children:["Country: ",o.originCountry]})]}),v&&o.summary&&o.summary.length>0&&(0,t.jsx)("div",{className:"prose text-md text-gray-700 dark:text-gray-200 mb-2 mx-auto",children:(0,t.jsx)(i.SimplePortableText,{value:o.summary})}),b&&(null==(s=o.categories)?void 0:s.length)>0&&(0,t.jsx)("div",{className:"flex justify-center mb-2",children:(0,t.jsx)(u,{categories:o.categories})})]}),(0,t.jsx)("div",{ref:_,"aria-hidden":"true",style:{height:1}}),(0,t.jsxs)("div",{className:"sticky top-0 z-20 bg-white dark:bg-gray-900 border-b border-gray-200 dark:border-gray-700 shadow-sm",children:[w&&(0,t.jsx)("div",{className:"w-full bg-gray-100 dark:bg-gray-900/90 border-b border-gray-200 dark:border-gray-700 shadow-sm backdrop-blur-sm",children:(0,t.jsx)("div",{className:"max-w-3xl mx-auto px-4 py-1 text-center",children:(0,t.jsx)("span",{className:"truncate block font-semibold text-blue-900 dark:text-blue-200 text-sm",children:o.title})})}),o.menu&&o.menu.length>0&&(0,t.jsx)("nav",{className:"mx-auto flex flex-wrap justify-center gap-4 ",children:o.menu.map((e,r)=>{if(!e.link)return(0,t.jsx)("span",{className:"font-bold text-blue-900 dark:text-blue-200",children:e.name},r);{if(e.link.includes("://"))return(0,t.jsx)("a",{href:e.link,className:"font-medium text-blue-600 hover:underline",target:"_blank",rel:"noopener noreferrer",children:(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[e.name,(0,t.jsx)("svg",{className:"w-3 h-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})})]})},r);let n=e.link.startsWith("/")?e.link:"/".concat(e.link);return(0,t.jsx)(l.default,{href:n,className:"font-medium text-blue-600 hover:underline",children:e.name},r)}})})]}),y&&o.body&&o.body.length>0&&(0,t.jsx)("div",{className:"bg-gray-100 dark:bg-gray-700 w-full px-4 pt-2 pb-8",children:(0,t.jsx)("div",{className:"mx-auto max-w-3xl items-center text-left prose",children:(0,t.jsx)(c,{value:o.body})})}),o.restricted&&o.restricted.length>0&&(0,t.jsx)(t.Fragment,{children:P?(0,t.jsx)("div",{className:"bg-blue-50 dark:bg-blue-900/20 w-full px-4 pt-6 pb-8 border-t-4 border-blue-500",children:(0,t.jsxs)("div",{className:"mx-auto max-w-3xl",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("svg",{className:"w-5 h-5 text-blue-600 dar
1k:text-blue-400",fill:"currentColor",viewBox:"0 0 20 20",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"})}),(0,t.jsx)("div",{children:(0,t.jsxs)("h2",{className:"text-xl font-semibold text-blue-900 dark:text-blue-200 m-0",children:["Member Content",k&&!j&&(0,t.jsxs)(t.Fragment,{children:[" made available to ",k.name," <",k.email,">"]})]})})]}),k&&!j&&(0,t.jsx)("button",{onClick:()=>{(0,p.clearStoredAccessKey)();let e=new URL(window.location.href);e.searchParams.delete("key"),I.replace(e.pathname+e.search)},className:"px-3 py-1 text-sm bg-blue-600 hover:bg-blue-700 text-white rounded-md transition-colors flex items-center gap-1",title:"Remove access key and hide member content",children:(0,t.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),(0,t.jsx)("div",{className:"mx-auto max-w-3xl items-center text-left prose",children:(0,t.jsx)(c,{value:o.restricted})})]})}):k&&S?(0,t.jsx)("div",{className:"bg-red-50 dark:bg-red-900/20 w-full px-4 py-8 border-t-4 border-red-500",children:(0,t.jsx)("div",{className:"mx-auto max-w-3xl text-center",children:(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4 p-6 border border-red-300 dark:border-red-600 rounded-lg bg-white dark:bg-gray-900",children:[(0,t.jsx)("svg",{className:"w-12 h-12 text-red-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-gray-900 dark:text-gray-100 mb-2",children:"Access Key Expired"}),(0,t.jsxs)("p",{className:"text-gray-600 dark:text-gray-400 mb-2",children:["The access key for ",(0,t.jsx)("strong",{children:k.name})," expired on ",m(k.expiresAt),"."]}),(0,t.jsx)("p",{className:"text-gray-600 dark:text-gray-400 mb-4",children:"Please contact the site administrator for a new access key or sign in as a member."}),(0,t.jsx)(l.default,{href:"/auth/signin",className:"inline-block px-6 py-2 bg-blue-600 text-white font-medium rounded-lg hover:bg-blue-700 transition-colors",children:"Sign in as member"})]})]})})}):(0,t.jsx)("div",{className:"bg-gray-50 dark:bg-gray-800 w-full px-4 py-8 border-t-4 border-gray-300 dark:border-gray-600",children:(0,t.jsx)("div",{className:"mx-auto max-w-3xl text-center",children:(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4 p-6 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-900",children:[(0,t.jsx)("svg",{className:"w-12 h-12 text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-gray-900 dark:text-gray-100 mb-2",children:"Member-Only Content"}),(0,t.jsx)("p",{className:"text-gray-600 dark:text-gray-400 mb-4",children:"This page has additional content available for members only."}),(0,t.jsx)(l.default,{href:"/auth/signin",className:"inline-block px-6 py-2 bg-blue-600 text-white font-medium rounded-lg hover:bg-blue-700 transition-colors",children:"Sign in to view"})]})]})})})})]})}}]);

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.