1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[367],{8550:function(e,t,n){e.exports=n(9608)},1923:function(e,t,n){"use strict";var r=n(6086),i=n(2695),o=n(1247),a=n(7118),u=n(1051),l=["projectId","dataset","imageOptions"],s={imageOptions:{}};function c(e){return"block"===e._type&&e.listItem}e.exports=function(e,t,n,f){var d=r({},s,t),p=Array.isArray(d.blocks)?d.blocks:[d.blocks],h=a(p),m=o(h,d.listNestMode),v=u(n,d.serializers||{}),g=l.reduce((function(e,t){var n=d[t];return"undefined"!==typeof n&&(e[t]=n),e}),{});function y(t,n,r,o){return"list"===(a=t)._type&&a.listItem?function(t){var n=t.listItem,r=t.level,i=t._key,o=t.children.map(y);return e(v.list,{key:i,level:r,type:n,options:g},o)}(t):c(t)?function(t,n){var r=t._key,o=i(t).map(y);return e(v.listItem,{node:t,serializers:v,index:n,key:r,options:g},o)}(t,function(e,t){for(var n=0,r=0;r<t.length;r++){if(t[r]===e)return n;c(t[r])&&n++}return n}(t,r)):function(e){return"string"===typeof e||e.marks||"span"===e._type}(t)?f(t,v,n,{serializeNode:y}):function(t,n,r){var o=i(t).map((function(e,t,n){return y(e,t,n,!0)})),a={key:t._key||"block-".concat(n),node:t,isInline:r,serializers:v,options:g};return e(v.block,a,o)}(t,n,o);var a}var b=Boolean(d.renderContainerOnSingleChild),w=m.map(y);if(b||w.length>1){var k=d.className?{className:d.className}:{};return e(v.container,k,w)}return w[0]?w[0]:"function"===typeof v.empty?e(v.empty):v.empty}},2695:function(e){"use strict";var t=["strong","em","code","underline","strike-through"];function n(e,t,n){if(!e.marks||0===e.marks.length)return e.marks||[];var i=e.marks.reduce((function(e,r){e[r]=e[r]?e[r]+1:1;for(var i=t+1;i<n.length;i++){var o=n[i];if(!o.marks||!Array.isArray(o.marks)||-1===o.marks.indexOf(r))break;e[r]++}return e}),{}),o=r.bind(null,i);return e.marks.slice().sort(o)}function r(e,n,r){var i=e[n]||0,o=e[r]||0;if(i!==o)return o-i;var a=t.indexOf(n),u=t.indexOf(r);return a!==u?a-u:n<r?-1:n>r?1:0}e.exports=function(e){var t=e.children,r=e.markDefs;if(!t||!t.length)return[];var i=t.map(n),o={_type:"span",children:[]},a=[o];return t.forEach((function(e,t){var n=i[t];if(n){var o=1;if(a.length>1)for(;o<a.length;o++){var u=a[o].markKey,l=n.indexOf(u);if(-1===l)break;n.splice(l,1)}var s,c=function(e){for(var t=e.length-1;t>=0;t--){var n=e[t];if("span"===n._type&&n.children)return n}return}(a=a.slice(0,o));if(n.forEach((function(t){var n={_type:"span",_key:e._key,children:[],mark:r.find((function(e){return e._key===t}))||t,markKey:t};c.children.push(n),a.push(n),c=n})),"span"!==(s=e)._type||"string"!==typeof s.text||!Array.isArray(s.marks)&&"undefined"!==typeof s.marks)c.children=c.children.concat(e);else{for(var f=e.text.split("\n"),d=f.length;d-- >1;)f.splice(d,0,"\n");c.children=c.children.concat(f)}}else{a[a.length-1].children.push(e)}})),o.children}},7118:function(e,t,n){"use strict";var r=n(6086);function i(e){var t=0,n=e.length;if(0===n)return t;for(var r=0;r<n;r++)t=(t<<5)-t+e.charCodeAt(r),t&=t;return t}e.exports=function(e){return e.map((function(e){return e._key?e:r({_key:(t=e,i(JSON.stringify(t)).toString(36).replace(/[^A-Za-z0-9]/g,""))},e);var t}))}},1643:function(e,t,n){"use strict";var r=n(261),i=n(6803),o=n(6086),a=encodeURIComponent,u="You must either:\n - Pass `projectId` and `dataset` to the block renderer\n - Materialize images to include the `url` field.\n\nFor more information, see ".concat(r("block-content-image-materializing"));e.exports=function(e){var t=e.node,n=e.options,r=n.projectId,l=n.dataset,s=t.asset;if(!s)throw new Error("Image does not have required `asset` property");if(s.url)return s.url+function(e){var t=e.imageOptions,n=Object.keys(t);if(!n.length)return"";var r=n.map((function(e){return"".concat(a(e),"=").concat(a(t[e]))}));return"?".concat(r.join("&"))}(n);if(!r||!l)throw new Error(u);if(!s._ref)throw new Error("Invalid image reference in block, no `_ref` found on `asset`");return i(o({projectId:r,dataset:l},n.imageOptions||{})).image(t).toString()}},9608:function(e,t,n){"use strict";var r=n(8019),i=n(1923),o=n(1643),a=n(1051);e.exports={blocksToNodes:function(e,t,n,o){if(n)return i(e,t,n,o);var a=r(e);return i(e,t,a.defaultSerializers,a.serializeSpan)},getSerializers:r,getImageUrl:o,mergeSerializers:a}},1051:function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var i=n(6086);e.exports=function(e,t){return Object.keys(e).reduce((function(n,o){var a=r(e[o]);return n[o]="function"===a?"undefined"!==typeof t[o]?t[o]:e[o]:"object"===a?i({},e[o],t[o]):"undefined"===typeof t[o]?e[o]:t[o],n}),{})}},1247:function(e,t,n){"use strict";var r=n(6086);function i(e){return Boolean(e.listItem)}function o(e,t){return e.level===t.level&&e.listItem===t.listItem}function a(e){return{_type:"list",_key:"".concat(e._key,"-parent"),level:e.level,listItem:e.listItem,children:[e]}}function u(e){return e.children&&e.children[e.children.length-1]}function l(e,t){var n="string"===typeof t.listItem;if("list"===e._type&&e.level===t.level&&n&&e.listItem===t.listItem)return e;var r=u(e);return!!r&&l(r,t)}e.exports=function(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"html",s=[],c=0;c<e.length;c++){var f=e[c];if(i(f))if(t)if(o(f,t))t.children.push(f);else if(f.level>t.level){var d=a(f);
1if("html"===n){var p=u(t),h=r({},p,{children:p.children.concat(d)});t.children[t.children.length-1]=h}else t.children.push(d);t=d}else if(f.level<t.level){var m=l(s[s.length-1],f);if(m){(t=m).children.push(f);continue}t=a(f),s.push(t)}else if(f.listItem===t.listItem)console.warn("Unknown state encountered for block",f),s.push(f);else{var v=l(s[s.length-1],{level:f.level});if(v&&v.listItem===f.listItem){(t=v).children.push(f);continue}t=a(f),s.push(t)}else t=a(f),s.push(t);else s.push(f),t=null}return s}},8019:function(e,t,n){"use strict";var r=n(6086),i=n(1643);e.exports=function(e,t){var n=t||{useDashedStyles:!1};function o(t,n){return e(t,null,n.children)}return{defaultSerializers:{types:{block:function(t){var n=t.node.style||"normal";return/^h\d/.test(n)?e(n,null,t.children):e("blockquote"===n?"blockquote":"p",null,t.children)},image:function(t){if(!t.node.asset)return null;var n=e("img",{src:i(t)});return t.isInline?n:e("figure",null,n)}},marks:{strong:o.bind(null,"strong"),em:o.bind(null,"em"),code:o.bind(null,"code"),underline:function(t){var r=n.useDashedStyles?{"text-decoration":"underline"}:{textDecoration:"underline"};return e("span",{style:r},t.children)},"strike-through":function(t){return e("del",null,t.children)},link:function(t){return e("a",{href:t.mark.href},t.children)}},list:function(t){var n="bullet"===t.type?"ul":"ol";return e(n,null,t.children)},listItem:function(t){var n=t.node.style&&"normal"!==t.node.style?e(t.serializers.types.block,t,t.children):t.children;return e("li",null,n)},block:function(t){var n=t.node,r=t.serializers,i=t.options,o=t.isInline,a=t.children,u=n._type,l=r.types[u];if(!l)throw new Error('Unknown block type "'.concat(u,'", please specify a serializer for it in the `serializers.types` prop'));return e(l,{node:n,options:i,isInline:o},a)},span:function(t){var n=t.node,r=n.mark,i=n.children,o="string"===typeof r?r:r._type,a=t.serializers.marks[o];return a?e(a,t.node,i):(console.warn('Unknown mark type "'.concat(o,'", please specify a serializer for it in the `serializers.marks` prop')),e(t.serializers.markFallback,null,i))},hardBreak:function(){return e("br")},container:"div",markFallback:"span",text:void 0,empty:""},serializeSpan:function(t,n,i,o){if("\n"===t&&n.hardBreak)return e(n.hardBreak,{key:"hb-".concat(i)});if("string"===typeof t)return n.text?e(n.text,{key:"text-".concat(i)},t):t;var a;t.children&&(a={children:t.children.map((function(e,n){return o.serializeNode(e,n,t.children,!0)}))});var u=r({},t,a);return e(n.span,{key:t._key||"span-".concat(i),node:u,serializers:n})}}}},8863:function(e,t,n){"use strict";var r=n(7294),i=n(5697),o=n(8550),a=n(8675),u=a.serializers,l=a.serializeSpan,s=a.renderProps,c=o.getImageUrl,f=o.blocksToNodes,d=o.mergeSerializers,p=r.createElement,h=function e(t){var n=d(e.defaultSerializers,t.serializers),r=Object.assign({},s,t,{serializers:n,blocks:t.blocks||[]});return f(p,r,u,l)};h.defaultSerializers=u,h.getImageUrl=c,h.propTypes={className:i.string,renderContainerOnSingleChild:i.bool,projectId:i.string,dataset:i.string,imageOptions:i.object,serializers:i.shape({types:i.object,marks:i.object,list:i.func,listItem:i.func,block:i.func,span:i.func}),blocks:i.oneOfType([i.arrayOf(i.shape({_type:i.string.isRequired})),i.shape({_type:i.string.isRequired})]).isRequired},h.defaultProps={renderContainerOnSingleChild:!1,serializers:{},imageOptions:{}},e.exports=h},8675:function(e,t,n){"use strict";var r=n(7294),i=(0,n(8550).getSerializers)(r.createElement),o=i.defaultSerializers,a=i.serializeSpan;e.exports={serializeSpan:a,serializers:o,renderProps:{nestMarks:!0}}},261:function(e){e.exports=function(e){return"https://docs.sanity.io/help/"+e}}
1,6803:function(e){e.exports=function(){function e(){return e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.apply(this,arguments)}function t(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function r(e){var n=0;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=t(e)))return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}var i="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function o(e){var t=e.split("-"),n=t[1],r=t[2],o=t[3];if(!n||!r||!o)throw new Error("Malformed asset _ref '"+e+"'. Expected an id like \""+i+'".');var a=r.split("x"),u=+a[0],l=+a[1];if(!isFinite(u)||!isFinite(l))throw new Error("Malformed asset _ref '"+e+"'. Expected an id like \""+i+'".');return{id:n,width:u,height:l,format:o}}var a=function(e){return!!e&&"string"===typeof e._ref},u=function(e){return!!e&&"string"===typeof e._id},l=function(e){var t=e;return!(!t||!t.asset)&&"string"===typeof t.asset.url};function s(e){if(!e)return null;var t;if("string"===typeof e&&c(e))t={asset:{_ref:f(e)}};else if("string"===typeof e)t={asset:{_ref:e}};else if(a(e))t={asset:e};else if(u(e))t={asset:{_ref:e._id||""}};else if(l(e))t={asset:{_ref:f(e.asset.url)}};else{if("object"!==typeof e.asset)return null;t=e}var n=e;return n.crop&&(t.crop=n.crop),n.hotspot&&(t.hotspot=n.hotspot),d(t)}function c(e){return/^https?:\/\//.test(""+e)}function f(e){return("image-"+e.split("/").slice(-1)[0]).replace(/\.([a-z]+)$/,"-$1")}function d(t){if(t.crop&&t.hotspot)return t;var n=e({},t);return n.crop||(n.crop={left:0,top:0,bottom:0,right:0}),n.hotspot||(n.hotspot={x:.5,y:.5,height:1,width:1}),n}var p=[["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"]];function h(t){var n=e({},t||{}),r=n.source;delete n.source;var i=s(r);if(!i)return null;var a=o(i.asset._ref||i.asset._id||""),u=Math.round(i.crop.left*a.width),l=Math.round(i.crop.top*a.height),c={left:u,top:l,width:Math.round(a.width-i.crop.right*a.width-u),height:Math.round(a.height-i.crop.bottom*a.height-l)},f=i.hotspot.height*a.height/2,d=i.hotspot.width*a.width/2,p=i.hotspot.x*a.width,h=i.hotspot.y*a.height,g={left:p-d,top:h-f,right:p+d,bottom:h+f};return n.rect||n.focalPoint||n.ignoreImageParams||n.crop||(n=e(e({},n),v({crop:c,hotspot:g},n))),m(e(e({},n),{},{asset:a}))}function m(e){var t=e.baseUrl||"https://cdn.sanity.io",n=e.asset.id+"-"+e.asset.width+"x"+e.asset.height+"."+e.asset.format,r=t+"/images/"+e.projectId+"/"+e.dataset+"/"+n,i=[];if(e.rect){var o=e.rect,a=o.left,u=o.top,l=o.width,s=o.height;(0!==a||0!==u||s!==e.asset.height||l!==e.asset.width)&&i.push("rect="+a+","+u+","+l+","+s)}e.bg&&i.push("bg="+e.bg),e.focalPoint&&(i.push("fp-x="+e.focalPoint.x),i.push("fp-y="+e.focalPoint.y));var c=[e.flipHorizontal&&"h",e.flipVertical&&"v"].filter(Boolean).join("");return c&&i.push("flip="+c),p.forEach((function(t){var n=t[0],r=t[1];"undefined"!==typeof e[n]?i.push(r+"="+encodeURIComponent(e[n])):"undefined"!==typeof e[r]&&i.push(r+"="+encodeURIComponent(e[r]))})),0===i.length?r:r+"?"+i.join("&")}function v(e,t){var n,r=t.width,i=t.height;if(!r||!i)return{width:r,height:i,rect:e.crop};var o=e.crop,a=e.hotspot,u=r/i;if(o.width/o.height>u){var l=o.height,s=l*u,c=o.top,f=(a.right-a.left)/2+a.left-s/2;f<o.left?f=o.left:f+s>o.left+o.width&&(f=o.left+o.width-s),n={left:Math.round(f),top:Math.round(c),width:Math.round(s),height:Math.round(l)}}else{var d=o.width,p=d/u,h=o.left,m=(a.bottom-a.top)/2+a.top-p/2;m<o.top?m=o.top:m+p>o.top+o.height&&(m=o.top+o.height-p),n={left:Math.max(0,Math.floor(h)),top:Math.max(0,Math.floor(m)),width:Math.round(d),height:Math.round(p)}}return{width:r,height:i,rect:n}}var g=["clip","crop","fill","fillmax","max","scale","min"],y=["top","bottom","left","right","center","focalpoint","entropy"],b=["format"];function w(e){return!!e&&"object"===typeof e.clientConfig}function k(e){for(var t,n=r(p);!(t=n()).done;){var i=t.value,o=i[0],a=i[1];if(e===o||e===a)return o}return e}function E(e){var t=e;if(w(t)){var n=t.clientConfig,r=n.apiHost,i=n.projectId,o=n.dataset;return new x(null,{baseUrl:(r||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:i,dataset:o})}return new x(null,e)}var x=function(){function t(t,n){this.options=e(t?e({},t.options||{}):{},n||{})}var n=t.prototype;return n.withOptions=function(n){var r=n.baseUrl||this.options.baseUrl,i={baseUrl:r};for(var o in n)n.hasOwnProperty(o)&&(i[k(o)]=n[o]);return new t(this,e({baseUrl:r},i))},n.image=function(e){return this.withOptions({source:e})},n.dataset=function(e){return this.withOptions({dataset:e})},n.projectId=function(e){return this.withOptions({projectId:e})},n.bg=function(e){return this.withOptions({bg:e})},n.dpr=function(e){return this.withOptions({dpr:e})},n.width=function(e){return this.withOptions({width:e})},n.height=function(e){return this.withOptions({height:e})},n.focalPoint=function(e,t){return this.withOptions({focalPoint:{x:e,y:t}})},n.maxWidth=function(e){return this.withOptions({maxWidth:e})},n.minWidth=function(e){return this.withOptions({minWidth:e})},n.maxHeight=function(e){return this.withOptions({maxHeight:e})},n.minHeight=function(e){return this.withOptions({minHeight:e})},n.size=function(e,t){return this.withOptions({width:e,height:t})},n.blur=function(e){return this.withOptions({blur:e})},n.sharpen=function(e){return this.withOptions({sharpen:e})},n.rect=function(e,t,n,r){return this.withOptions({rect:{left:e,top:t,width:n,height:r}})},n.format=function(e){return this.withOptions({format:e})},n.invert=function(e){return this.withOptions({invert:e})},n.orientation=function(e){return this.withOptions({orientation:e})},n.quality=function(e){return this.withOptions({quality:e})},n.forceDownload=function(e){return this.withOptions({download:e})},n.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},n.flipVertical=function(){return this.withOptions({flipVertical:!0})},n.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},n.fit=function(e){if(-1===g.indexOf(e))throw new Error('Invalid fit mode "'+e+'"');return this.withOptions({fit:e})},n.crop=function(e){if(-1===y.indexOf(e))throw new Error('Invalid crop mode "'+e+'"');return this.withOptions({crop:e})},n.saturation=function(e){return this.withOptions({saturation:e})},n.auto=function(e){if(-1===b.indexOf(e))throw new Error('Invalid auto mode "'+e+'"');return this.withOptions({auto:e})},n.pad=function(e){return this.withOptions({pad:e})},n.url=function(){return h(this.options)},n.toString=function(){return this.url()},t}();return E}()},1210:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.getDomainLocale=function(e,t,r,i){var o=n(8875).normalizeLocalePath,a=n(8748).detectDomainLocale,u=t||o(e,r).detectedLocale,l=a(i,void 0,u);if(l){var s="http".concat(l.http?"":"s","://"),c=u===l.defaultLocale?"":"/".concat(u);return"".concat(s).concat(l.domain).concat("").concat(c).concat(e)}return!1};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8045:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3766).Z,i=n(9274).Z,o=n(7734).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.src,n=e.sizes,u=e.unoptimized,l=void 0!==u&&u,m=e.priority,v=void 0!==m&&m,w=e.loading,I=e.lazyRoot,T=void 0===I?null:I,R=e.lazyBoundary,j=e.className,P=e.quality,z=e.width,M=e.height,C=e.style,_=e.objectFit,A=e.objectPosition,L=e.onLoadingComplete,N=e.placeholder,F=void 0===N?"empty":N,D=e.blurDataURL,U=s(e,["src","sizes","unoptimized","priority","loading","lazyRoot","lazyBoundary","className","quality","width","height","style","objectFit","objectPosition","onLoadingComplete","placeholder","blurDataURL"]),H=c.useContext(h.ImageConfigContext),q=c.useMemo((function(){var e=g||H||d.imageConfigDefault,t=o(e.deviceSizes).concat(o(e.imageSizes)).sort((function(e,t){return e-t})),n=e.deviceSizes.sort((function(e,t){return e-t}));return a({},e,{allSizes:t,deviceSizes:n})}),[H]),B=U,W=n?"responsive":"intrinsic";"layout"in B&&(B.layout&&(W=B.layout),delete B.layout);var Z=O;if("loader"in B){if(B.loader){var V=B.loader;Z=function(e){e.config;var t=s(e,["config"]);return V(t)}}delete B.loader}var $="";if(function(e){return"object"===typeof e&&(k(e)||function(e){return void 0!==e.src}(e))}(t)){var G=k(t)?t.default:t;if(!G.src)throw new 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 ".concat(JSON.stringify(G)));if(D=D||G.blurDataURL,$=G.src,(!W||"fill"!==W)&&(M=M||G.height,z=z||G.width,!G.height||!G.width))throw new 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 ".concat(JSON.stringify(G)))}var K=!v&&("lazy"===w||"undefined"===typeof w);((t="string"===typeof t?t:$).startsWith("data:")||t.startsWith("blob:"))&&(l=!0,K=!1);y.has(t)&&(K=!1);q.unoptimized&&(l=!0);var Y,J=i(c.useState(!1),2),Q=J[0],X=J[1],ee=i(p.useIntersection({rootRef:T,rootMargin:R||"200px",disabled:!K}),3),te=ee[0],ne=ee[1],re=ee[2],ie=!K||ne,oe={boxSizing:"border-box",display:"block",overflow:"hidden",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},ae={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},ue=!1,le={position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",objectFit:_,objectPosition:A},se=x(z),ce=x(M),fe=x(P);0;var de=Object.assign({},C,le),pe="blur"!==F||Q?{}:{backgroundSize:_||"cover",backgroundPosition:A||"0% 0%",filter:"blur(20px)",backgroundImage:'url("'.concat(D,'")')};if("fill"===W)oe.display="block",oe.position="absolute",oe.top=0,oe.left=0,oe.bottom=0,oe.right=0;else if("undefined"!==typeof se&&"undefined"!==typeof ce){var he=ce/se,me=isNaN(he)?"100%":"".concat(100*he,"%");"responsive"===W?(oe.display="block",oe.position="relative",ue=!0,ae.paddingTop=me):"intrinsic"===W?(oe.display="inline-block",oe.position="relative",oe.maxWidth="100%",ue=!0,ae.maxWidth="100%",Y="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27".concat(se,"%27%20height=%27").concat(ce,"%27/%3e")):"fixed"===W&&(oe.display="inline-block",oe.position="relative",oe.width=se,oe.height=ce)}else 0;var ve={src:b,srcSet:void 0,sizes:void 0};ie&&(ve=E({config:q,src:t,unoptimized:l,layout:W,width:se,quality:fe,sizes:n,loader:Z}));var ge=t;0;var ye;0;var be=(r(ye={},"imagesrcset",ve.srcSet),r(ye,"imagesizes",ve.sizes),r(ye,"crossOrigin",B.crossOrigin),ye),we=c.default.useLayoutEffect,ke=c.useRef(L),Ee=c.useRef(t);c.useEffect((function(){ke.current=L}),[L]),we((function(){Ee.current!==t&&(re(),Ee.current=t)}),[re,t]);var xe=a({isLazy:K,imgAttributes:ve,heightInt:ce,widthInt:se,qualityInt:fe,layout:W,className:j,imgStyle:de,blurStyle:pe,loading:w,config:q,unoptimized:l,placeholder:F,loader:Z,srcString:ge,onLoadingCompleteRef:ke,setBlurComplete:X,setIntersection:te,isVisible:ie,noscriptSizes:n},B);return c.default.createElement(c.default.Fragment,null,c.default.createElement("span",{style:oe},ue?c.default.createElement("span",{style:ae},Y?c.default.createElement("img",{style:{display:"block",maxWidth:"100%",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},alt:"","aria-hidden":!0,src:Y}):null):null,c.default.createElement(S,Object.assign({},xe))),v?c.default.createElement(f.default,null,c.default.createElement("link",Object.assign({key:"__nimg-"+ve.src+ve.srcSet+ve.sizes,rel:"preload",as:"image",href:ve.srcSet?void 0:ve.src},be))):null)};var a=n(1032).Z,u=n(2845).Z,l=n(9402).Z,s=n(8774).Z,c=l(n(7294)),f=u(n(5443)),d=n(9309),p=n(7190),h=n(9977),m=(n(3794),n(2392));function v(e){return"/"===e[0]?e.slice(1):e}var g={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},y=new Set,b=(new Map,"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");var w=new Map([["default",function(e){var t=e.config,n=e.src,r=e.width,i=e.quality;return n.endsWith(".svg")&&!t.dangerouslyAllowSVG?n:"".concat(m.normalizePathTrailingSlash(t.path),"?url=").concat(encodeURIComponent(n),"&w=").concat(r,"&q=").concat(i||75)}],["imgix",function(e){var t=e.config,n=e.src,r=e.width,i=e.quality,o=new URL("".concat(t.path).concat(v(n))),a=o.searchParams;return a.set("auto",a.getAll("auto").join(",")||"format"),a.set("fit",a.get("fit")||"max"),a.set("w",a.get("w")||r.toString()),i&&a.set("q",i.toString()),o.href}],["cloudinary",function(e){var t=e.config,n=e.src,r=["f_auto","c_limit","w_"+e.width,"q_"+(e.quality||"auto")].join(",")+"/";return"".concat(t.path).concat(r).concat(v(n))}],["akamai",function(e){var t=e.config,n=e.src,r=e.width;return"".concat(t.path).concat(v(n),"?imwidth=").concat(r)}],["custom",function(e){var t=e.src;throw new Error('Image with src "'.concat(t,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader")}]]);function k(e){return void 0!==e.default}function E(e){var t=e.config,n=e.src,r=e.unoptimized,i=e.layout,a=e.width,u=e.quality,l=e.sizes,s=e.loader;if(r)return{src:n,srcSet:void 0,sizes:void 0};var c=function(e,t,n,r){var i=e.deviceSizes,a=e.allSizes;if(r&&("fill"===n||"responsive"===n)){for(var u,l=/(^|\s)(1?\d?\d)vw/g,s=[];u=l.exec(r);u)s.push(parseInt(u[2]));if(s.length){var c,f=.01*(c=Math).min.apply(c,o(s));return{widths:a.filter((function(e){return e>=i[0]*f})),kind:"w"}}return{widths:a,kind:"w"}}return"number"!==typeof t||"fill"===n||"responsive"===n?{widths:i,kind:"w"}:{widths:o(new Set([t,2*t].map((function(e){return a.find((function(t){return t>=e}))||a[a.length-1]})))),kind:"x"}}(t,a,i,l),f=c.widths,d=c.kind,p=f.length-1;return{sizes:l||"w"!==d?l:"100vw",srcSet:f.map((function(e,r){return"".concat(s({config:t,src:n,quality:u,width:e})," ").concat("w"===d?e:r+1).concat(d)})).join(", "),src:s({config:t,src:n,quality:u,width:f[p]})}}function x(e){return"number"===typeof e?e:"string"===typeof e?parseInt(e,10):void 0}function O(e){var t,n=(null==(t=e.config)?void 0:t.loader)||"default",r=w.get(n);if(r)return r(e);throw new Error('Unknown "loader" found in "next.config.js". Expected: '.concat(d.VALID_LOADERS.join(", "),". Received: ").concat(n))}function I(e,t,n,r,i,o){e&&e.src!==b&&e["data-loaded-src"]!==t&&(e["data-loaded-src"]=t,("decode"in e?e.decode():Promise.resolve()).catch((function(){})).then((function(){if(e.parentNode&&(y.add(t),"blur"===r&&o(!0),null==i?void 0:i.current)){var n=e.naturalWi
1dth,a=e.naturalHeight;i.current({naturalWidth:n,naturalHeight:a})}})))}var S=function(e){var t=e.imgAttributes,n=(e.heightInt,e.widthInt),r=e.qualityInt,i=e.layout,o=e.className,u=e.imgStyle,l=e.blurStyle,f=e.isLazy,d=e.placeholder,p=e.loading,h=e.srcString,m=e.config,v=e.unoptimized,g=e.loader,y=e.onLoadingCompleteRef,b=e.setBlurComplete,w=e.setIntersection,k=e.onLoad,x=e.onError,O=(e.isVisible,e.noscriptSizes),S=s(e,["imgAttributes","heightInt","widthInt","qualityInt","layout","className","imgStyle","blurStyle","isLazy","placeholder","loading","srcString","config","unoptimized","loader","onLoadingCompleteRef","setBlurComplete","setIntersection","onLoad","onError","isVisible","noscriptSizes"]);return p=f?"lazy":p,c.default.createElement(c.default.Fragment,null,c.default.createElement("img",Object.assign({},S,t,{decoding:"async","data-nimg":i,className:o,style:a({},u,l),ref:c.useCallback((function(e){w(e),(null==e?void 0:e.complete)&&I(e,h,0,d,y,b)}),[w,h,i,d,y,b]),onLoad:function(e){I(e.currentTarget,h,0,d,y,b),k&&k(e)},onError:function(e){"blur"===d&&b(!0),x&&x(e)}})),(f||"blur"===d)&&c.default.createElement("noscript",null,c.default.createElement("img",Object.assign({},S,E({config:m,src:h,unoptimized:v,layout:i,width:n,quality:r,sizes:O,loader:g}),{decoding:"async","data-nimg":i,style:u,className:o,loading:p}))))};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8418:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9274).Z;n(5654).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(2845).Z,o=n(8774).Z,a=i(n(7294)),u=n(6273),l=n(2725),s=n(3462),c=n(1018),f=n(7190),d=n(1210),p=n(8684),h={};function m(e,t,n,r){if(e&&u.isLocalURL(t)){Promise.resolve(e.prefetch(t,n,r)).catch((function(e){0}));var i=r&&"undefined"!==typeof r.locale?r.locale:e&&e.locale;h[t+"%"+n+(i?"%"+i:"")]=!0}}var v=a.default.forwardRef((function(e,t){var n,i=e.href,v=e.as,g=e.children,y=e.prefetch,b=e.passHref,w=e.replace,k=e.shallow,E=e.scroll,x=e.locale,O=e.onClick,I=e.onMouseEnter,S=e.onTouchStart,T=e.legacyBehavior,R=void 0===T?!0!==Boolean(!1):T,j=o(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);n=g,!R||"string"!==typeof n&&"number"!==typeof n||(n=a.default.createElement("a",null,n));var P=!1!==y,z=a.default.useContext(s.RouterContext),M=a.default.useContext(c.AppRouterContext);M&&(z=M);var C,_=a.default.useMemo((function(){var e=r(u.resolveHref(z,i,!0),2),t=e[0],n=e[1];return{href:t,as:v?u.resolveHref(z,v):n||t}}),[z,i,v]),A=_.href,L=_.as,N=a.default.useRef(A),F=a.default.useRef(L);R&&(C=a.default.Children.only(n));var D=R?C&&"object"===typeof C&&C.ref:t,U=r(f.useIntersection({rootMargin:"200px"}),3),H=U[0],q=U[1],B=U[2],W=a.default.useCallback((function(e){F.current===L&&N.current===A||(B(),F.current=L,N.current=A),H(e),D&&("function"===typeof D?D(e):"object"===typeof D&&(D.current=e))}),[L,D,A,B,H]);a.default.useEffect((function(){var e=q&&P&&u.isLocalURL(A),t="undefined"!==typeof x?x:z&&z.locale,n=h[A+"%"+L+(t?"%"+t:"")];e&&!n&&m(z,A,L,{locale:t})}),[L,A,q,x,P,z]);var Z={ref:W,onClick:function(e){R||"function"!==typeof O||O(e),R&&C.props&&"function"===typeof C.props.onClick&&C.props.onClick(e),e.defaultPrevented||function(e,t,n,r,i,o,l,s,c,f){if("A"!==e.currentTarget.nodeName.toUpperCase()||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&u.isLocalURL(n)){e.preventDefault();var d=function(){"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:o,locale:s,scroll:l}):t[i?"replace":"push"](n,{forceOptimisticNavigation:!f})};c?a.default.startTransition(d):d()}}(e,z,A,L,w,k,E,x,Boolean(M),P)},onMouseEnter:function(e){R||"function"!==typeof I||I(e),R&&C.props&&"function"===typeof C.props.onMouseEnter&&C.props.onMouseEnter(e),!P&&M||u.isLocalURL(A)&&m(z,A,L,{priority:!0})},onTouchStart:function(e){R||"function"!==typeof S||S(e),R&&C.props&&"function"===typeof C.props.onTouchStart&&C.props.onTouchStart(e),!P&&M||u.isLocalURL(A)&&m(z,A,L,{priority:!0})}};if(!R||b||"a"===C.type&&!("href"in C.props)){var V="undefined"!==typeof x?x:z&&z.locale,$=z&&z.isLocaleDomain&&d.getDomainLocale(L,V,z.locales,z.domainLocales);Z.href=$||p.addBasePath(l.addLocale(L,V,z&&z.defaultLocale))}return R?a.default.cloneElement(C,Z):a.default.createElement("a",Object.assign({},j,Z),n)}));t.default=v,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8875:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeLocalePath=void 0;t.normalizeLocalePath=function(e,t){return n(4317).normalizeLocalePath(e,t)},("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7190:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9274).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){var t=e.rootRef,n=e.rootMargin,s=e.disabled||!a,c=r(i.useState(!1),2),f=c[0],d=c[1],p=r(i.useState(null),2),h=p[0],m=p[1];i.useEffect((function(){if(a){if(s||f)return;if(h&&h.tagName){var e=function(e,t,n){var r=function(e){var t,n={root:e.root||null,margin:e.rootMargin||""},r=l.find((function(e){return e.root===n.root&&e.margin===n.margin}));if(r&&(t=u.get(r)))return t;var i=new Map,o=new IntersectionObserver((function(e){e.forEach((function(e){var t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)}))}),e);return t={id:n,observer:o,elements:i},l.push(n),u.set(n,t),t}(n),i=r.id,o=r.observer,a=r.elements;return a.set(e,t),o.observe(e),function(){if(a.delete(e),o.unobserve(e),0===a.size){o.disconnect(),u.delete(i);var t=l.findIndex((function(e){return e.root===i.root&&e.margin===i.margin}));t>-1&&l.splice(t,1)}}}(h,(function(e){return e&&d(e)}),{root:null==t?void 0:t.current,rootMargin:n});return e}}else if(!f){var r=o.requestIdleCallback((function(){return d(!0)}));return function(){return o.cancelIdleCallback(r)}}}),[h,s,n,t,f]);var v=i.useCallback((function(){d(!1)}),[]);return[m,f,v]};var i=n(7294),o=n(9311),a="function"===typeof IntersectionObserver,u=new Map,l=[];("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1018:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateContext=t.GlobalLayoutRouterContext=t.LayoutRouterContext=t.AppRouterContext=void 0;var r=(0,n(2845).Z)(n(7294)),i=r.default.createContext(null);t.AppRouterContext=i;var o=r.default.createContext(null);t.LayoutRouterContext=o;var a=r.default.createContext(null);t.GlobalLayoutRouterContext=a;var u=r.default.createContext(null);t.TemplateContext=u},9008:function(e,t,n){e.exports=n(5443)},5675:function(e,t,n){e.exports=n(8045)},1664:function(e,t,n){e.exports=n(8418)},3766:function(e,t){"use strict";t.Z=function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}},1163:function(e,t,n){e.exports=n(387)},2703:function(e,t,n){"use strict";var r=n(414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i}
1;return n.PropTypes=n,n}},5697:function(e,t,n){e.exports=n(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7737:function(e,t,n){var r=Object.create,i=Object.defineProperty,o=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,u=Object.getOwnPropertyNames,l=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertySymbols,c=Object.prototype.propertyIsEnumerable,f=Object.assign,d=e=>i(e,"__esModule",{value:!0}),p=(e,t)=>{var n={};for(var r in e)a.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&s)for(var r of s(e))t.indexOf(r)<0&&c.call(e,r)&&(n[r]=e[r]);return n},h=e=>((e,t,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of u(t))!a.call(e,r)&&"default"!==r&&i(e,r,{get:()=>t[r],enumerable:!(n=l(t,r))||n.enumerable});return e})(d(i(null!=e?r(o(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);d(t),((e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})})(t,{blockContentToPlainText:()=>x,default:()=>w});var m=h(n(7294)),v=h(n(5697)),g=h(n(8863)),y=g.default.defaultSerializers,b=e=>{var{content:t,className:n,serializers:r={},dataset:i,projectId:o}=e,a=p(e,["content","className","serializers","dataset","projectId"]);if(!t)throw new Error("No `content` provided to PortableText.");return m.default.createElement(g.default,f({blocks:t,className:n,serializers:k(r),renderContainerOnSingleChild:!0,dataset:i,projectId:o},a))},w=b;b.propTypes={content:v.default.array.isRequired,className:v.default.string,projectId:v.default.string,dataset:v.default.string,serializers:v.default.shape({link:v.default.elementType,strong:v.default.elementType,em:v.default.elementType,underline:v.default.elementType,del:v.default.elementType,code:v.default.elementType,ul:v.default.elementType,ol:v.default.elementType,li:v.default.elementType,h1:v.default.elementType,h2:v.default.elementType,h3:v.default.elementType,h4:v.default.elementType,h5:v.default.elementType,h6:v.default.elementType,blockquote:v.default.elementType,container:v.default.elementType,block:v.default.elementType,span:v.default.elementType,hardBreak:v.default.elementType,unknownType:v.default.elementType,unknownMark:v.default.elementType})};var k=e=>{let{link:t,strong:n,em:r,underline:i,del:o,code:a,ul:u,ol:l,li:s,h1:c,h2:d,h3:h,h4:v,h5:b,h6:w,blockquote:k,container:x="div",block:I=y.BlockSerializer,span:S=y.SpanSerializer,hardBreak:T=y.HardBreakSerializer,unknownType:R=y.DefaultUnknownTypeSerializer,unknownMark:j="span"}=e,P=p(e,["link","strong","em","underline","del","code","ul","ol","li","h1","h2","h3","h4","h5","h6","blockquote","container","block","span","hardBreak","unknownType","unknownMark"]),z={h1:c,h2:d,h3:h,h4:v,h5:b,h6:w,blockquote:k};return{container:x,block:I,span:S,hardBreak:T,unknownType:R,unknownMark:j,marks:E(f({link:t,strong:n,em:r,underline:i,code:a,"strike-through":o},P)),list:e=>{let{type:t,children:n}=e,r="bullet"===t?u:l;return r?r({children:n}):g.default.defaultSerializers.list(e)},listItem:e=>{let{children:t}=e;return s?s({children:t}):g.default.defaultSerializers.listItem(e)},types:f({block:e=>{let{node:{style:t},children:n}=e;return z[t]?z[t]({children:n}):P[t]?P[t]({children:n}):g.default.defaultSerializers.types.block(e)}},Object.entries(P).reduce(((e,[t,n])=>{let r=({node:e})=>m.default.createElement(n,e);return r.displayName=`${O(t)}Wrapper`,e[t]=r,e}),{}))}},E=e=>Object.entries(e).reduce(((e,[t,n])=>{if(n){let r=e=>{var{_type:t,_key:r,mark:i,markKey:o,children:a}=e,u=p(e,["_type","_key","mark","markKey","children"]);if("object"==typeof i){let{_type:e,_key:t}=i,n=p(i,["_type","_key"]);Object.entries(n).forEach((([e,t])=>{u[e]=t}))}return m.default.createElement(n,u,a)};r.displayName=`${O(t)}Wrapper`,e[t]=r}return e}),{}),x=(e=[])=>e.map((e=>"block"===e._type&&e.children?e.children.map((e=>e.text)).join(""):"")).join("\n\n"),O=e=>e.slice(0,1).toUpperCase()+e.slice(1)},1363:function(e,t,n){"use strict";n.d(t,{R:function(){return i}});var r,i=((r=i||{}).Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r)},2510:function(e,t,n){"use strict";n.d(t,{v:function(){return F}});var r,i,o=n(7294),a=n(2984),u=n(2351),l=n(9362),s=n(4192),c=n(6723),f=n(3784),d=n(9946),p=n(1363),h=n(1497),m=n(4103),v=n(4575),g=n(9650),y=n(1591),b=n(6567),w=n(4157),k=n(1074),E=n(3781),x=((i=x||{})[i.Open=0]="Open",i[i.Closed=1]="Closed",i),O=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(O||{}),I=((r=I||{})[r.OpenMenu=0]="OpenMenu",r[r.CloseMenu=1]="CloseMenu",r[r.GoToItem=2]="GoToItem",r[r.Search=3]="Search",r[r.ClearSearch=4]="ClearSearch",r[r.RegisterItem=5]="RegisterItem",r[r.UnregisterItem=6]="UnregisterItem",r);function S(e,t=(e=>e)){let n=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,r=(0,v.z2)(t(e.items.slice()),(e=>e.dataRef.current.domRef.current)),i=n?r.indexOf(n):null;return-1===i&&(i=null),{items:r,activeItemIndex:i}}let T={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,menuState:0},2:(e,t)=>{var n;let r=S(e),i=(0,h.d)(t,{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeItemIndex:i,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>
1{let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find((e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))&&!e.dataRef.current.disabled})),o=i?e.items.indexOf(i):-1;return-1===o||o===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:o,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let n=S(e,(e=>[...e,{id:t.id,dataRef:t.dataRef}]));return{...e,...n}},6:(e,t)=>{let n=S(e,(e=>{let n=e.findIndex((e=>e.id===t.id));return-1!==n&&e.splice(n,1),e}));return{...e,...n,activationTrigger:1}}},R=(0,o.createContext)(null);function j(e){let t=(0,o.useContext)(R);if(null===t){let t=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,j),t}return t}function P(e,t){return(0,a.E)(t.type,T,e,t)}R.displayName="MenuContext";let z=o.Fragment,M=(0,u.yV)((function(e,t){let n=(0,o.useReducer)(P,{menuState:1,buttonRef:(0,o.createRef)(),itemsRef:(0,o.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:r,itemsRef:i,buttonRef:l},s]=n,c=(0,f.T)(t);(0,g.O)([l,i],((e,t)=>{var n;s({type:1}),(0,v.sP)(t,v.tJ.Loose)||(e.preventDefault(),null==(n=l.current)||n.focus())}),0===r);let d=(0,o.useMemo)((()=>({open:0===r})),[r]),p=e,h={ref:c};return o.createElement(R.Provider,{value:n},o.createElement(b.up,{value:(0,a.E)(r,{0:b.ZM.Open,1:b.ZM.Closed})},(0,u.sY)({ourProps:h,theirProps:p,slot:d,defaultTag:z,name:"Menu"})))})),C=(0,u.yV)((function(e,t){var n;let[r,i]=j("Menu.Button"),a=(0,f.T)(r.buttonRef,t),l=`headlessui-menu-button-${(0,d.M)()}`,c=(0,s.G)(),v=(0,E.z)((e=>{switch(e.key){case p.R.Space:case p.R.Enter:case p.R.ArrowDown:e.preventDefault(),e.stopPropagation(),i({type:0}),c.nextFrame((()=>i({type:2,focus:h.T.First})));break;case p.R.ArrowUp:e.preventDefault(),e.stopPropagation(),i({type:0}),c.nextFrame((()=>i({type:2,focus:h.T.Last})))}})),g=(0,E.z)((e=>{if(e.key===p.R.Space)e.preventDefault()})),y=(0,E.z)((t=>{if((0,m.P)(t.currentTarget))return t.preventDefault();e.disabled||(0===r.menuState?(i({type:1}),c.nextFrame((()=>{var e;return null==(e=r.buttonRef.current)?void 0:e.focus({preventScroll:!0})}
1))):(t.preventDefault(),i({type:0})))})),b=(0,o.useMemo)((()=>({open:0===r.menuState})),[r]),k=e,x={ref:a,id:l,type:(0,w.f)(e,r.buttonRef),"aria-haspopup":!0,"aria-controls":null==(n=r.itemsRef.current)?void 0:n.id,"aria-expanded":e.disabled?void 0:0===r.menuState,onKeyDown:v,onKeyUp:g,onClick:y};return(0,u.sY)({ourProps:x,theirProps:k,slot:b,defaultTag:"button",name:"Menu.Button"})})),_=u.AN.RenderStrategy|u.AN.Static,A=(0,u.yV)((function(e,t){var n,r;let[i,a]=j("Menu.Items"),c=(0,f.T)(i.itemsRef,t),m=(0,k.i)(i.itemsRef),g=`headlessui-menu-items-${(0,d.M)()}`,w=(0,s.G)(),x=(0,b.oJ)(),O=null!==x?x===b.ZM.Open:0===i.menuState;(0,o.useEffect)((()=>{let e=i.itemsRef.current;!e||0===i.menuState&&e!==(null==m?void 0:m.activeElement)&&e.focus({preventScroll:!0})}),[i.menuState,i.itemsRef,m]),(0,y.B)({container:i.itemsRef.current,enabled:0===i.menuState,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let I=(0,E.z)((e=>{var t,n;switch(w.dispose(),e.key){case p.R.Space:if(""!==i.searchQuery)return e.preventDefault(),e.stopPropagation(),a({type:3,value:e.key});case p.R.Enter:if(e.preventDefault(),e.stopPropagation(),a({type:1}),null!==i.activeItemIndex){let{dataRef:e}=i.items[i.activeItemIndex];null==(n=null==(t=e.current)?void 0:t.domRef.current)||n.click()}(0,v.wI)(i.buttonRef.current);break;case p.R.ArrowDown:return e.preventDefault(),e.stopPropagation(),a({type:2,focus:h.T.Next});case p.R.ArrowUp:return e.preventDefault(),e.stopPropagation(),a({type:2,focus:h.T.Previous});case p.R.Home:case p.R.PageUp:return e.preventDefault(),e.stopPropagation(),a({type:2,focus:h.T.First});case p.R.End:case p.R.PageDown:return e.preventDefault(),e.stopPropagation(),a({type:2,focus:h.T.Last});case p.R.Escape:e.preventDefault(),e.stopPropagation(),a({type:1}),(0,l.k)().nextFrame((()=>{var e;return null==(e=i.buttonRef.current)?void 0:e.focus({preventScroll:!0})}
1));break;case p.R.Tab:e.preventDefault(),e.stopPropagation(),a({type:1}),(0,l.k)().nextFrame((()=>{(0,v.EO)(i.buttonRef.current,e.shiftKey?v.TO.Previous:v.TO.Next)}));break;default:1===e.key.length&&(a({type:3,value:e.key}),w.setTimeout((()=>a({type:4})),350))}})),S=(0,E.z)((e=>{if(e.key===p.R.Space)e.preventDefault()})),T=(0,o.useMemo)((()=>({open:0===i.menuState})),[i]),R=e,P={"aria-activedescendant":null===i.activeItemIndex||null==(n=i.items[i.activeItemIndex])?void 0:n.id,"aria-labelledby":null==(r=i.buttonRef.current)?void 0:r.id,id:g,onKeyDown:I,onKeyUp:S,role:"menu",tabIndex:0,ref:c};return(0,u.sY)({ourProps:P,theirProps:R,slot:T,defaultTag:"div",features:_,visible:O,name:"Menu.Items"})})),L=o.Fragment,N=(0,u.yV)((function(e,t){let{disabled:n=!1,...r}=e,[i,a]=j("Menu.Item"),s=`headlessui-menu-item-${(0,d.M)()}`,p=null!==i.activeItemIndex&&i.items[i.activeItemIndex].id===s,m=(0,o.useRef)(null),g=(0,f.T)(t,m);(0,c.e)((()=>{if(0!==i.menuState||!p||0===i.activationTrigger)return;let e=(0,l.k)();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=m.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[m,p,i.menuState,i.activationTrigger,i.activeItemIndex]);let y=(0,o.useRef)({disabled:n,domRef:m});(0,c.e)((()=>{y.current.disabled=n}),[y,n]),(0,c.e)((()=>{var e,t;y.current.textValue=null==(t=null==(e=m.current)?void 0:e.textContent)?void 0:t.toLowerCase()}),[y,m]),(0,c.e)((()=>(a({type:5,id:s,dataRef:y}),()=>a({type:6,id:s}))),[y,s]);let b=(0,E.z)((e=>{if(n)return e.preventDefault();a({type:1}),(0,v.wI)(i.buttonRef.current)})),w=(0,E.z)((()=>{if(n)return a({type:2,focus:h.T.Nothing});a({type:2,focus:h.T.Specific,id:s})})),k=(0,E.z)((()=>{n||p||a({type:2,focus:h.T.Specific,id:s,trigger:0})})),x=(0,E.z)((()=>{n||!p||a({type:2,focus:h.T.Nothing})})),O=(0,o.useMemo)((()=>({active:p,disabled:n})),[p,n]);return(0,u.sY)({ourProps:{id:s,ref:g,role:"menuitem",tabIndex:!0===n?void 0:-1,"aria-disabled":!0===n||void 0,disabled:void 0,onClick:b,onFocus:w,onPointerMove:k,onMouseMove:k,onPointerLeave:x,onMouseLeave:x},theirProps:r,slot:O,defaultTag:L,name:"Menu.Item"})})),F=Object.assign(M,{Button:C,Items:A,Item:N})},1355:function(e,t,n){"use strict";n.d(t,{u:function(){return _}});var r=n(7294),i=n(2351),o=n(6567),a=n(2984),u=n(4879),l=n(6723),s=n(3855),c=n(2180),f=n(3784);var d=n(9362);function p(e,...t){e&&t.length>0&&e.classList.add(...t)}function h(e,...t){e&&t.length>0&&e.classList.remove(...t)}var m,v=((m=v||{}).Ended="ended",m.Cancelled="cancelled",m);function g(e,t,n,r){let i=n?"enter":"leave",o=(0,d.k)(),u=void 0!==r?function(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}(r):()=>{};"enter"===i&&(e.removeAttribute("hidden"),e.style.display="");let l=(0,a.E)(i,{enter:()=>t.enter,leave:()=>t.leave}),s=(0,a.E)(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=(0,a.E)(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return h(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),p(e,...l,...c),o.nextFrame((()=>{h(e,...c),p(e,...s),function(e,t){let n=(0,d.k)();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[o,a]=[r,i].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t}));if(o+a!==0){let r=[];r.push(n.addEventListener(e,"transitionrun",(i=>{i.target===i.currentTarget&&(r.splice(0).forEach((e=>e())),r.push(n.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t("ended"),r.splice(0).forEach((e=>e())))})),n.addEventListener(e,"transitioncancel",(e=>{e.target===e.currentTarget&&(t("cancelled"),r.splice(0).forEach((e=>e())))}))))})))}else t("ended");n.add((()=>t("cancelled"))),n.dispose}(e,(n=>("ended"===n&&(h(e,...l),p(e,...t.entered)),u(n))))})),o.dispose}var y=n(4192);var b=n(3781);function w(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let k=(0,r.createContext)(null);k.displayName="TransitionContext";var E,x=((E=x||{}).Visible="visible",E.Hidden="hidden",E);let O=(0,r.createContext)(null);function I(e){return"children"in e?I(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function S(e,t){let n=(0,s.E)(e),o=(0,r.useRef)([]),l=(0,u.t)(),c=(0,y.G)(),f=(0,b.z)(((e,t=i.l4.Hidden)=>{let r=o.current.findIndex((({el:t})=>t===e));-1!==r&&((0,a.E)(t,{[i.l4.Unmount](){o.current.splice(r,1)},[i.l4.Hidden](){o.current[r].state="hidden"}}),c.microTask((()=>{var e;!I(o)&&l.current&&(null==(e=n.current)||e.call(n))})))})),d=(0,b.z)((e=>
1{let t=o.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):o.current.push({el:e,state:"visible"}),()=>f(e,i.l4.Unmount)})),p=(0,r.useRef)([]),h=(0,r.useRef)(Promise.resolve()),m=(0,r.useRef)({enter:[],leave:[],idle:[]}),v=(0,b.z)(((e,n,r)=>{p.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter((([t])=>t!==e))),null==t||t.chains.current[n].push([e,new Promise((e=>{p.current.push(e)}))]),null==t||t.chains.current[n].push([e,new Promise((e=>{Promise.all(m.current[n].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===n?h.current=h.current.then((()=>null==t?void 0:t.wait.current)).then((()=>r(n))):r(n)})),g=(0,b.z)(((e,t,n)=>{Promise.all(m.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=p.current.shift())||e()})).then((()=>n(t)))}));return(0,r.useMemo)((()=>({children:o,register:d,unregister:f,onStart:v,onStop:g,wait:h,chains:m})),[d,f,o,v,g,m,h])}function T(){}O.displayName="NestingContext";let R=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function j(e){var t;let n={};for(let r of R)n[r]=null!=(t=e[r])?t:T;return n}let P=i.AN.RenderStrategy,z=(0,i.yV)((function(e,t){let{beforeEnter:n,after
1Enter:p,beforeLeave:h,afterLeave:m,enter:E,enterFrom:x,enterTo:T,entered:R,leave:z,leaveFrom:M,leaveTo:C,..._}=e,A=(0,r.useRef)(null),L=(0,f.T)(A,t),N=_.unmount?i.l4.Unmount:i.l4.Hidden,{show:F,appear:D,initial:U}=function(){let e=(0,r.useContext)(k);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[H,q]=(0,r.useState)(F?"visible":"hidden"),B=function(){let e=(0,r.useContext)(O);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:W,unregister:Z}=B,V=(0,r.useRef)(null);(0,r.useEffect)((()=>W(A)),[W,A]),(0,r.useEffect)((()=>{if(N===i.l4.Hidden&&A.current)return F&&"visible"!==H?void q("visible"):(0,a.E)(H,{hidden:()=>Z(A),visible:()=>W(A)})}),[H,A,W,Z,F,N]);let $=(0,s.E)({enter:w(E),enterFrom:w(x),enterTo:w(T),entered:w(R),leave:w(z),leaveFrom:w(M),leaveTo:w(C)}),G=function(e){let t=(0,r.useRef)(j(e));return(0,r.useEffect)((()=>{t.current=j(e)}),[e]),t}
1({beforeEnter:n,afterEnter:p,beforeLeave:h,afterLeave:m}),K=(0,c.H)();(0,r.useEffect)((()=>{if(K&&"visible"===H&&null===A.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[A,H,K]);let Y=U&&!D,J=!K||Y||V.current===F?"idle":F?"enter":"leave",Q=(0,b.z)((e=>(0,a.E)(e,{enter:()=>G.current.beforeEnter(),leave:()=>G.current.beforeLeave(),idle:()=>{}}))),X=(0,b.z)((e=>(0,a.E)(e,{enter:()=>G.current.afterEnter(),leave:()=>G.current.afterLeave(),idle:()=>{}}))),ee=S((()=>{q("hidden"),Z(A)}),B);(function({container:e,direction:t,classes:n,onStart:r,onStop:i}){let o=(0,u.t)(),c=(0,y.G)(),f=(0,s.E)(t);(0,l.e)((()=>{let t=(0,d.k)();c.add(t.dispose);let u=e.current;if(u&&"idle"!==f.current&&o.current)return t.dispose(),r.current(f.current),t.add(g(u,n.current,"enter"===f.current,(e=>{t.dispose(),(0,a.E)(e,{[v.Ended](){i.current(f.current)},[v.Cancelled]:()=>{}})}))),t.dispose}),[t])})({container:A,classes:$,direction:J,onStart:(0,s.E)((e=>{ee.onStart(A,e,Q)})),onStop:(0,s.E)((e=>{ee.onStop(A,e,X),"leave"===e&&!I(ee)&&(q("hidden"),Z(A))}))}),(0,r.useEffect)((()=>{!Y||(N===i.l4.Hidden?V.current=null:V.current=F)}),[F,Y,H]);let te=_,ne={ref:L};return r.createElement(O.Provider,{value:ee},r.createElement(o.up,{value:(0,a.E)(H,{visible:o.ZM.Open,hidden:o.ZM.Closed})},(0,i.sY)({ourProps:ne,theirProps:te,defaultTag:"div",features:P,visible:"visible"===H,name:"Transition.Child"})))})),M=(0,i.yV)((function(e,t){let{show:n,appear:u=!1,unmount:s,...d}=e,p=(0,r.useRef)(null),h=(0,f.T)(p,t);(0,c.H)();let m=(0,o.oJ)();if(void 0===n&&null!==m&&(n=(0,a.E)(m,{[o.ZM.Open]:!0,[o.ZM.Closed]:!1})),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[v,g]=(0,r.useState)(n?"visible":"hidden"),y=S((()=>{g("hidden")})),[b,w]=(0,r.useState)(!0),E=(0,r.useRef)([n]);(0,l.e)((()=>{!1!==b&&E.current[E.current.length-1]!==n&&(E.current.push(n),w(!1))}),[E,n]);let x=(0,r.useMemo)((()=>({show:n,appear:u,initial:b})),[n,u,b]);(0,r.useEffect)((()=>{if(n)g("visible");else if(I(y)){let e=p.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&g("hidden")}else g("hidden")}),[n,y]);let T={unmount:s};return r.createElement(O.Provider,{value:y},r.createElement(k.Provider,{value:x},(0,i.sY)({ourProps:{...T,as:r.Fragment,children:r.createElement(z,{ref:h,...T,...d})},theirProps:{},defaultTag:r.Fragment,features:P,visible:"visible"===v,name:"Transition"})))})),C=(0,i.yV)((function(e,t){let n=null!==(0,r.useContext)(k),i=null!==(0,o.oJ)();return r.createElement(r.Fragment,null,!n&&i?r.createElement(M,{ref:t,...e}):r.createElement(z,{ref:t,...e}))})),_=Object.assign(M,{Child:C,Root:M})},4192:function(e,t,n){"use strict";n.d(t,{G:function(){return o}});var r=n(7294),i=n(9362);function o(){let[e]=(0,r.useState)(i.k);return(0,r.useEffect)((()=>()=>e.dispose()),[e]),e}},3781:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var r=n(7294),i=n(3855);let o=function(e){let t=(0,i.E)(e);return r.useCallback(((...e)=>t.current(...e)),[t])}},9946:function(e,t,n){"use strict";n.d(t,{M:function(){return s}});var r,i=n(7294),o=n(6723),a=n(2180);let u=0;function l(){return++u}let s=null!=(r=i.useId)?r:function(){let e=(0,a.H)(),[t,n]=i.useState(e?l:null);return(0,o.e)((()=>{null===t&&n(l())}),[t]),null!=t?""+t:void 0}},4879:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(7294),i=n(6723);function o(){let e=(0,r.useRef)(!1);return(0,i.e)((()=>(e.current=!0,()=>{e.current=!1})),[]),e}},6723:function(e,t,n){"use strict";n.d(t,{e:function(){return i}});var r=n(7294);let i=n(3393).s?r.useEffect:r.useLayoutEffect},3855:function(e,t,n){"use strict";n.d(t,{E:function(){return o}});var r=n(7294),i=n(6723);function o(e){let t=(0,r.useRef)(e);return(0,i.e)((()=>{t.current=e}),[e]),t}},9650:function(e,t,n){"use strict";n.d(t,{O:function(){return u}});var r=n(7294),i=n(4575),o=n(3855);function a(e,t,n){let i=(0,o.E)(t);(0,r.useEffect)((()=>{function t(e){i.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)}),[e,n])}function u(e,t,n=!0){let o=(0,r.useRef)(!1);function u(n,r){if(!o.current||n.defaultPrevented)return;let a=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),u=r(n);if(null!==u&&u.ownerDocument.documentElement.contains(u)){for(let e of a){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(u))return}return!(0,i.sP)(u,i.tJ.Loose)&&-1!==u.tabIndex&&n.preventDefault(),t(n,u)}}(0,r.useEffect)((()=>{requestAnimationFrame((()=>{o.current=n}))}),[n]);let l=(0,r.useRef)(null);a("mousedown",(e=>{var t,n;o.current&&(l.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),a("click",(e=>{!l.current||(u(e,(()=>l.current)),l.current=null)}),!0),a("blur",(e=>u(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}},1074:function(e,t,n){"use strict";n.d(t,{i:function(){return o}});var r=n(7294),i=n(5466);function o(...e){return(0,r.useMemo)((()=>(0,i.r)(...e)),[...e])}},4157:function(e,t,n){"use strict";n.d(t,{f:function(){return a}});var r=n(7294),i=n(6723);function o(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}function a(e,t){let[n,a]=(0,r.useState)((()=>o(e)));return(0,i.e)((()=>{a(o(e))}),[e.type,e.as]),(0,i.e)((()=>{n||!t.current||t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&a("button")}),[n,t]),n}},2180:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var r=n(7294);let i={serverHandoffComplete:!1};function o(){let[e,t]=(0,r.useState)(i.serverHandoffComplete);return(0,r.useEffect)((()=>{!0!==e&&t(!0)}),[e]),(0,r.useEffect)((()=>{!1===i.serverHandoffComplete&&(i.serverHandoffComplete=!0)}),[]),e}},3784:function(e,t,n){"use strict";n.d(t,{T:function(){return u},h:function(){return a}});var r=n(7294),i=n(3781);let o=Symbol();function a(e,t=!0){return Object.assign(e,{[o]:t})}function u(...e){let t=(0,r.useRef)(e);(0,r.useEffect)((()=>{t.current=e}),[e]);let n=(0,i.z)((e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[o])))?void 0:n}},1591:function(e,t,n){"use strict";n.d(t,{B:function(){return a}});var r=n(7294),i=n(6723),o=n(5466);function a({container:e,accept:t,walk:n,enabled:a=!0}){let u=(0,r.useRef)(t),l=(0,r.useRef)(n);(0,r.useEffect)((()=>{u.current=t,l.current=n}),[t,n]),(0,i.e)((()=>
1{if(!e||!a)return;let t=(0,o.r)(e);if(!t)return;let n=u.current,r=l.current,i=Object.assign((e=>n(e)),{acceptNode:n}),s=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,i,!1);for(;s.nextNode();)r(s.currentNode)}),[e,a,u,l])}},6567:function(e,t,n){"use strict";n.d(t,{ZM:function(){return a},oJ:function(){return u},up:function(){return l}});var r=n(7294);let i=(0,r.createContext)(null);i.displayName="OpenClosedContext";var o,a=((o=a||{})[o.Open=0]="Open",o[o.Closed=1]="Closed",o);function u(){return(0,r.useContext)(i)}function l({value:e,children:t}){return r.createElement(i.Provider,{value:e},t)}},4103:function(e,t,n){"use strict";function r(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}n.d(t,{P:function(){return r}})},1497:function(e,t,n){"use strict";n.d(t,{T:function(){return i},d:function(){return o}});var r,i=((r=i||{})[r.First=0]="First",r[r.Previous=1]="Previous",r[r.Next=2]="Next",r[r.Last=3]="Last",r[r.Specific=4]="Specific",r[r.Nothing=5]="Nothing",r);function o(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=null!=r?r:-1,o=(()=>{switch(e.focus){case 0:return n.findIndex((e=>!t.resolveDisabled(e)));case 1:{let e=n.slice().reverse().findIndex(((e,n,r)=>!(-1!==i&&r.length-n-1>=i)&&!t.resolveDisabled(e)));return-1===e?e:n.length-1-e}case 2:return n.findIndex(((e,n)=>!(n<=i)&&!t.resolveDisabled(e)));case 3:{let e=n.slice().reverse().findIndex((e=>!t.resolveDisabled(e)));return-1===e?e:n.length-1-e}case 4:return n.findIndex((n=>t.resolveId(n)===e.id));case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}})();return-1===o?r:o}},9362:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var r=n(1021);function i(){let e=[],t=[],n={enqueue(e){t.push(e)},addEventListener:(e,t,r,i)=>(e.addEventListener(t,r,i),n.add((()=>e.removeEventListener(t,r,i)))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return n.add((()=>cancelAnimationFrame(t)))},nextFrame:(...e)=>n.requestAnimationFrame((()=>n.requestAnimationFrame(...e))),setTimeout(...e){let t=setTimeout(...e);return n.add((()=>clearTimeout(t)))},microTask(...e){let t={current:!0};return(0,r.Y)((()=>{t.current&&e[0]()})),n.add((()=>{t.current=!1}))},add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0){let[t]=e.splice(n,1);t()}}),dispose(){for(let t of e.splice(0))t()},async workQueue(){for(let e of t.splice(0))await e()}};return n}},4575:function(e,t,n){"use strict";n.d(t,{C5:function(){return g},EO:function(){return w},TO:function(){return c},fE:function(){return f},jA:function(){return k},sP:function(){return m},tJ:function(){return h},wI:function(){return v},z2:function(){return b}});var r=n(9362),i=n(2984),o=n(5466);let a=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var u,l,s,c=((s=c||{})[s.First=1]="First",s[s.Previous=2]="Previous",s[s.Next=4]="Next",s[s.Last=8]="Last",s[s.WrapAround=16]="WrapAround",s[s.NoScroll=32]="NoScroll",s),f=((l=f||{})[l.Error=0]="Error",l[l.Overflow=1]="Overflow",l[l.Success=2]="Success",l[l.Underflow=3]="Underflow",l),d=((u=d||{})[u.Previous=-1]="Previous",u[u.Next=1]="Next",u);function p(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(a))}var h=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(h||{});function m(e,t=0){var n;return e!==(null==(n=(0,o.r)(e))?void 0:n.body)&&(0,i.E)(t,{0:()=>e.matches(a),1(){let t=e;for(;null!==t;){if(t.matches(a))return!0;t=t.parentElement}return!1}})}function v(e){let t=(0,o.r)(e);(0,r.k)().nextFrame((()=>{t&&!m(t.activeElement,0)&&g(e)}))}function g(e){null==e||e.focus({preventScroll:!0})}let y=["textarea","input"].join(",");function b(e,t=(e=>e)){return e.slice().sort(((e,n)=>{let r=t(e),i=t(n);if(null===r||null===i)return 0;let o=r.compareDocumentPosition(i);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function w(e,t){return k(p(),t,!0,e)}function k(e,t,n=!0,r=null){let i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,o=Array.isArray(e)?n?b(e):e:p(e);r=null!=r?r:i.activeElement;let a,u=(()=>
1{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,o.indexOf(r))-1;if(4&t)return Math.max(0,o.indexOf(r))+1;if(8&t)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=32&t?{preventScroll:!0}:{},c=0,f=o.length;do{if(c>=f||c+f<=0)return 0;let e=l+c;if(16&t)e=(e+f)%f;else{if(e<0)return 3;if(e>=f)return 1}a=o[e],null==a||a.focus(s),c+=u}while(a!==i.activeElement);return 6&t&&function(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,y))&&n}(a)&&a.select(),a.hasAttribute("tabindex")||a.setAttribute("tabindex","0"),2}},2984:function(e,t,n){"use strict";function r(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let i=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,r),i}n.d(t,{E:function(){return r}})},1021:function(e,t,n){"use strict";function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}n.d(t,{Y:function(){return r}})},5466:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(3393);function i(e){return r.s?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},2351:function(e,t,n){"use strict";n.d(t,{AN:function(){return u},l4:function(){return l},oA:function(){return p},sY:function(){return s},yV:function(){return d}});var r,i,o=n(7294),a=n(2984),u=((i=u||{})[i.None=0]="None",i[i.RenderStrategy=1]="RenderStrategy",i[i.Static=2]="Static",i),l=((r=l||{})[r.Unmount=0]="Unmount",r[r.Hidden=1]="Hidden",r);function s({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:o=!0,name:u}){let l=f(t,e);if(o)return c(l,n,r,u);let s=null!=i?i:0;if(2&s){let{static:e=!1,...t}=l;if(e)return c(t,n,r,u)}if(1&s){let{unmount:e=!0,...t}=l;return(0,a.E)(e?0:1,{0:()=>null,1:()=>c({...t,hidden:!0,style:{display:"none"}},n,r,u)})}return c(l,n,r,u)}function c(e,t={},n,r){let{as:i=n,children:a,refName:u="ref",...l}=h(e,["unmount","static"]),s=void 0!==e.ref?{[u]:e.ref}:{},c="function"==typeof a?a(t):a;l.className&&"function"==typeof l.className&&(l.className=l.className(t));let d={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&n.push(r);e&&(d["data-headlessui-state"]=n.join(" "))}if(i===o.Fragment&&Object.keys(p(l)).length>0){if(!(0,o.isValidElement)(c)||Array.isArray(c)&&c.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(l).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"));return(0,o.cloneElement)(c,Object.assign({},f(c.props,p(h(l,["ref"]))),d,s,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}}(c.ref,s.ref)))}return(0,o.createElement)(i,Object.assign({},h(l,["ref"]),i!==o.Fragment&&s,i!==o.Fragment&&d),c)}function f(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map((e=>[e,void 0]))));for(let r in n)Object.assign(t,{[r](e,...t){let i=n[r];for(let n of i){if((e instanceof Event||(null==e?void 0:e.nativeEvent)instanceof Event)&&e.defaultPrevented)return;n(e,...t)}}});return t}function d(e){var t;return Object.assign((0,o.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function p(e){let t=Object.assign({},e);for(let n in t)void 0===t[n]&&delete t[n];return t}function h(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}},3393:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});const r="undefined"==typeof window||"undefined"==typeof document},1782:function(e,t,n){"use strict";var r=n(7294);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"}))}));t.Z=i},822:function(e,t,n){"use strict";var r=n(7294);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 15l7-7 7 7"}))}));t.Z=i},1090:function(e,t,n){"use strict";var r=n(7294);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9"}))}));t.Z=i},93:function(e,t,n){"use strict";var r=n(7294);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z",clipRule:"evenodd"}))}));t.Z=i}}]);
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.