(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[82],{6:(e,t)=>{"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,o=u(e),a=o[0],s=o[1],l=new i((a+s)*3/4-s),c=0,f=s>0?a-4:a;for(r=0;r>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]>4,l[c++]=255&t),1===s&&(t=n[e.charCodeAt(r)]>2,l[c++]=t>>8&255,l[c++]=255&t),l},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;a>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(e,a,a+16383>s?s:a+16383));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t>10]+r[t>>4&63]+r[t0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},520:(e,t,r)=>{"use strict";r.d(t,{n:()=>f});var n=r(77976),i=r(15663),o=r(63660),a=r(700),s=r(16852),u="focusScope.autoFocusOnMount",l="focusScope.autoFocusOnUnmount",c={bubbles:!1,cancelable:!0},f=n.forwardRef((e,t)=>{let{loop:r=!1,trapped:f=!1,onMountAutoFocus:g,onUnmountAutoFocus:y,...m}=e,[b,w]=n.useState(null),x=(0,a.c)(g),S=(0,a.c)(y),E=n.useRef(null),C=(0,i.s)(t,e=>w(e)),k=n.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;n.useEffect(()=>{if(f){let e=function(e){if(k.paused||!b)return;let t=e.target;b.contains(t)?E.current=t:p(E.current,{select:!0})},t=function(e){if(k.paused||!b)return;let t=e.relatedTarget;null!==t&&(b.contains(t)||p(E.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&p(b)});return b&&r.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[f,b,k.paused]),n.useEffect(()=>{if(b){v.add(k);let e=document.activeElement;if(!b.contains(e)){let t=new CustomEvent(u,c);b.addEventListener(u,x),b.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=document.activeElement;for(let n of e)if(p(n,{select:t}),document.activeElement!==r)return}(d(b).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&p(b))}return()=>{b.removeEventListener(u,x),setTimeout(()=>{let t=new CustomEvent(l,c);b.addEventListener(l,S),b.dispatchEvent(t),t.defaultPrevented||p(null!=e?e:document.body,{select:!0}),b.removeEventListener(l,S),v.remove(k)},0)}}},[b,x,S,k]);let _=n.useCallback(e=>{if(!r&&!f||k.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){let t=e.currentTarget,[i,o]=function(e){let t=d(e);return[h(t,e),h(t.reverse(),e)]}(t);i&&o?e.shiftKey||n!==o?e.shiftKey&&n===i&&(e.preventDefault(),r&&p(o,{select:!0})):(e.preventDefault(),r&&p(i,{select:!0})):n===t&&e.preventDefault()}},[r,f,k.paused]);return(0,s.jsx)(o.sG.div,{tabIndex:-1,...m,ref:C,onKeyDown:_})});function d(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function h(e,t){for(let r of e)if(!function(e,t){let{upTo:r}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===r||e!==r);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function p(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}f.displayName="FocusScope";var v=function(){let e=[];return{add(t){let r=e[0];t!==r&&(null==r||r.pause()),(e=g(e,t)).unshift(t)},remove(t){var r;null==(r=(e=g(e,t))[0])||r.resume()}}}();function g(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}},700:(e,t,r)=>{"use strict";r.d(t,{c:()=>i});var n=r(77976);function i(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},3907:(e,t)=>{"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},4471:(e,t)=>{t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,u=(1>1,c=-7,f=r?i-1:0,d=r?-1:1,h=e[t+f];for(f+=d,o=h&(1>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1>=-c,c+=n;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),o-=l}return(h?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,u,l=8*o-i-1,c=(1>1,d=5960464477539062e-23*(23===i),h=n?0:o-1,p=n?1:-1,v=+(t=1?t+=d/u:t+=d*Math.pow(2,1-f),t*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[r+h]=255&s,h+=p,s/=256,i-=8);for(a=a0;e[r+h]=255&a,h+=p,a/=256,l-=8);e[r+h-p]|=128*v}},9212:(e,t)=>{"use strict";t.Y=function(e,t){return(function(e){return e.split(",").map(function(e){var t=(e=e.trim()).match(r),o=t[1],a=t[2],s=t[3]||"",u={};return u.inverse=!!o&&"not"===o.toLowerCase(),u.type=a?a.toLowerCase():"all",u.expressions=(s=s.match(/\([^\)]+\)/g)||[]).map(function(e){var t=e.match(n),r=t[1].toLowerCase().match(i);return{modifier:r[1],feature:r[2],value:t[2]}}),u})})(e).some(function(e){var r=e.inverse,n="all"===e.type||t.type===e.type;if(n&&r||!(n||r))return!1;var i=e.expressions.every(function(e){var r=e.feature,n=e.modifier,i=e.value,o=t[r];if(!o)return!1;switch(r){case"orientation":case"scan":return o.toLowerCase()===i.toLowerCase();case"width":case"height":case"device-width":case"device-height":i=l(i),o=l(o);break;case"resolution":i=u(i),o=u(o);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":i=s(i),o=s(o);break;case"grid":case"color":case"color-index":case"monochrome":i=parseInt(i,10)||1,o=parseInt(o,10)||0}switch(n){case"min":return o>=i;case"max":return o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(77976),i=n.useLayoutEffect,o=n.useEffect;function a(e){let{headManager:t,reduceComponentsToState:r}=e;function a(){if(t&&t.mountedInstances){let i=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(i,e))}}return i(()=>{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)}}),i(()=>(t&&(t._pendingUpdate=a),()=>{t&&(t._pendingUpdate=a)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},11746:(e,t,r)=>{"use strict";r.d(t,{Eq:()=>l});var n=new WeakMap,i=new WeakMap,o={},a=0,s=function(e){return e&&(e.host||s(e.parentNode))},u=function(e,t,r,u){var l=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=s(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});o[r]||(o[r]=new WeakMap);var c=o[r],f=[],d=new Set,h=new Set(l),p=function(e){!e||d.has(e)||(d.add(e),p(e.parentNode))};l.forEach(p);var v=function(e){!e||h.has(e)||Array.prototype.forEach.call(e.children,function(e){if(d.has(e))v(e);else try{var t=e.getAttribute(u),o=null!==t&&"false"!==t,a=(n.get(e)||0)+1,s=(c.get(e)||0)+1;n.set(e,a),c.set(e,s),f.push(e),1===a&&o&&i.set(e,!0),1===s&&e.setAttribute(r,"true"),o||e.setAttribute(u,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return v(t),d.clear(),a++,function(){f.forEach(function(e){var t=n.get(e)-1,o=c.get(e)-1;n.set(e,t),c.set(e,o),t||(i.has(e)||e.removeAttribute(u),i.delete(e)),o||e.removeAttribute(r)}),--a||(n=new WeakMap,n=new WeakMap,i=new WeakMap,o={})}},l=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live], script"))),u(n,i,r,"aria-hidden")):function(){return null}}},12941:(e,t,r)=>{"use strict";var n=r(9212).Y,i="undefined"!=typeof window?window.matchMedia:null;function o(e,t,r){var o,a=this;function s(e){a.matches=e.matches,a.media=e.media}i&&!r&&(o=i.call(window,e)),o?(this.matches=o.matches,this.media=o.media,o.addListener(s)):(this.matches=n(e,t),this.media=e),this.addListener=function(e){o&&o.addListener(e)},this.removeListener=function(e){o&&o.removeListener(e)},this.dispose=function(){o&&o.removeListener(s)}}e.exports=function(e,t,r){return new o(e,t,r)}},13152:(e,t,r)=>{"use strict";r.d(t,{N:()=>i});var n=r(77976),i=globalThis?.document?n.useLayoutEffect:()=>{}},13410:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return w}});let n=r(92174),i=r(62983),o=r(16852),a=i._(r(77976)),s=n._(r(97881)),u=n._(r(69099)),l=r(49914),c=r(70215),f=r(53445);r(36891);let d=r(13688),h=n._(r(65933)),p=r(59273),v={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,r,n,i,o,a){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&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function y(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}let m=(0,a.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:s,width:u,decoding:l,className:c,style:f,fetchPriority:d,placeholder:h,loading:v,unoptimized:m,fill:b,onLoadRef:w,onLoadingCompleteRef:x,setBlurComplete:S,setShowAltText:E,sizesInput:C,onLoad:k,onError:_,...A}=e,O=(0,a.useCallback)(e=>{e&&(_&&(e.src=e.src),e.complete&&g(e,h,w,x,S,m,C))},[r,h,w,x,S,_,m,C]),T=(0,p.useMergedRef)(t,O);return(0,o.jsx)("img",{...A,...y(d),loading:v,width:u,height:s,decoding:l,"data-nimg":b?"fill":"1",className:c,style:f,sizes:i,srcSet:n,src:r,ref:T,onLoad:e=>{g(e.currentTarget,h,w,x,S,m,C)},onError:e=>{E(!0),"empty"!==h&&S(!0),_&&_(e)}})});function b(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...y(r.fetchPriority)};return t&&s.default.preload?(s.default.preload(r.src,n),null):(0,o.jsx)(u.default,{children:(0,o.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let w=(0,a.forwardRef)((e,t)=>{let r=(0,a.useContext)(d.RouterContext),n=(0,a.useContext)(f.ImageConfigContext),i=(0,a.useMemo)(()=>{var e;let t=v||n||c.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),i=t.deviceSizes.sort((e,t)=>e-t),o=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:i,qualities:o}},[n]),{onLoad:s,onLoadingComplete:u}=e,p=(0,a.useRef)(s);(0,a.useEffect)(()=>{p.current=s},[s]);let g=(0,a.useRef)(u);(0,a.useEffect)(()=>{g.current=u},[u]);let[y,w]=(0,a.useState)(!1),[x,S]=(0,a.useState)(!1),{props:E,meta:C}=(0,l.getImgProps)(e,{defaultLoader:h.default,imgConf:i,blurComplete:y,showAltText:x});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(m,{...E,unoptimized:C.unoptimized,placeholder:C.placeholder,fill:C.fill,onLoadRef:p,onLoadingCompleteRef:g,setBlurComplete:w,setShowAltText:S,sizesInput:e.sizes,ref:t}),C.priority?(0,o.jsx)(b,{isAppRouter:!r,imgAttributes:E}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},13555:(e,t)=>{"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:o,objectFit:a}=e,s=n?40*n:t,u=i?40*i:r,l=s&&u?"viewBox='0 0 "+s+" "+u+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+l+"%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='"+(l?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},13585:(e,t,r)=>{"use strict";r.d(t,{A:()=>a,q:()=>o});var n=r(77976),i=r(16852);function o(e,t){let r=n.createContext(t),o=e=>{let{children:t,...o}=e,a=n.useMemo(()=>o,Object.values(o));return(0,i.jsx)(r.Provider,{value:a,children:t})};return o.displayName=e+"Provider",[o,function(i){let o=n.useContext(r);if(o)return o;if(void 0!==t)return t;throw Error(`\`${i}\` must be used within \`${e}\``)}]}function a(e,t=[]){let r=[],o=()=>{let t=r.map(e=>n.createContext(e));return function(r){let i=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return o.scopeName=e,[function(t,o){let a=n.createContext(o),s=r.length;r=[...r,o];let u=t=>{let{scope:r,children:o,...u}=t,l=r?.[e]?.[s]||a,c=n.useMemo(()=>u,Object.values(u));return(0,i.jsx)(l.Provider,{value:c,children:o})};return u.displayName=t+"Provider",[u,function(r,i){let u=i?.[e]?.[s]||a,l=n.useContext(u);if(l)return l;if(void 0!==o)return o;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}(o,...t)]}},13688:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(92174)._(r(77976)).default.createContext(null)},15663:(e,t,r)=>{"use strict";r.d(t,{s:()=>a,t:()=>o});var n=r(77976);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t=>{let r=!1,n=e.map(e=>{let n=i(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t{"use strict";var n=r(6),i=r(4471),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return u(e,t,r)}function u(e,t,r){if("string"==typeof e){var n=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!s.isEncoding(i))throw TypeError("Unknown encoding: "+i);var o=0|h(n,i),u=a(o),l=u.write(n,i);return l!==o&&(u=u.slice(0,l)),u}if(ArrayBuffer.isView(e))return f(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(T(e,ArrayBuffer)||e&&T(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(T(e,SharedArrayBuffer)||e&&T(e.buffer,SharedArrayBuffer)))return function(e,t,r){var n;if(t=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function h(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||T(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return k(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return A(e).length;default:if(i)return n?-1:k(e).length;t=(""+t).toLowerCase(),i=!0}}function p(e,t,r){var i,o,a,s=!1;if((void 0===t||tthis.length||((void 0===r||r>this.length)&&(r=this.length),r>>=0)>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||tn)&&(r=n);for(var i="",o=t;o0x7fffffff?r=0x7fffffff:r=e.length)if(i)return -1;else r=e.length-1;else if(rs&&(r=s-u),o=r;o>=0;o--){for(var f=!0,d=0;dr&&(e+=" ... "),""},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(e,t,r,n,i){if(T(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),te.length||nthis.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,a=r-t,u=Math.min(o,a),l=this.slice(n,i),c=e.slice(t,r),f=0;f239?4:l>223?3:l>191?2:1;if(i+f127&&(c=u);break;case 3:o=e[i+1],a=e[i+2],(192&o)==128&&(192&a)==128&&(u=(15&l)2047&&(u57343)&&(c=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(u=(15&l)65535&&u65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=f}var d=n,h=d.length;if(hr)throw RangeError("Trying to access beyond buffer length")}function w(e,t,r,n,i,o){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw RangeError("Index out of range")}function x(e,t,r,n,i,o){if(r+n>e.length||r>>=0,o||x(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function E(e,t,r,n,o){return t*=1,r>>>=0,o||x(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}s.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,a,s,u,l,c,f,d=this.length-t;if((void 0===r||r>d)&&(r=d),e.length>0&&(rthis.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var h=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var a=0;a>8,i.push(r%256),i.push(n);return i}(e,this.length-c),this,c,f);default:if(h)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),h=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,er&&(e=r),tr&&(t=r),t>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],i=1,o=0;++o>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},s.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]|this[e+1]>>=0,t||b(e,2,this.length),this[e]>>=0,t||b(e,4,this.length),(this[e]|this[e+1]>>=0,t||b(e,4,this.length),0x1000000*this[e]+(this[e+1]>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],i=1,o=0;++o=(i*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},s.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e]|this[e+1]>>=0,t||b(e,2,this.length);var r=this[e+1]|this[e]>>=0,t||b(e,4,this.length),this[e]|this[e+1]>>=0,t||b(e,4,this.length),this[e]>>=0,t||b(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,e,t,r,i,0)}var o=1,a=0;for(this[t]=255&e;++a>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,e,t,r,i,0)}var o=r-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+r},s.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>>=0,!n){var i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e>>=0,r||w(this,e,t,1,127,-128),e>>=0,r||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0x7fffffff,-0x80000000),e>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,r){return S(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return S(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return E(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return E(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw RangeError("Index out of range");if(nthis.length&&(n=this.length),e.length-t=0;--o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return i},s.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,o=e.charCodeAt(0);("utf8"===n&&o>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&r56319||a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r-1&&o.push(239,191,189),i=r;continue}r=(i-55296-1&&o.push(239,191,189);if(i=null,r>6|192,63&r|128)}else if(r>12|224,r>>6&63|128,63&r|128)}else if(r>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function _(e){for(var t=[],r=0;r=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function T(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var P=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r{"use strict";r.d(t,{B:()=>u});var n,i=r(77976),o=r(13152),a=(n||(n=r.t(i,2)))[" useId ".trim().toString()]||(()=>void 0),s=0;function u(e){let[t,r]=i.useState(a());return(0,o.N)(()=>{e||r(e=>e??String(s++))},[e]),e||(t?`radix-${t}`:"")}},29967:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=function(e,t){let r=new s,n=e.length;if(ns){o=e.lastIndexOf(";",t-1)+1;continue}let c=u(e,o,t),f=l(e,t,c),d=e.slice(c,f);if(void 0===r[d]){let n=u(e,t+1,s),o=l(e,s,n),a=i(e.slice(n,o));r[d]=a}o=s+1}while(o{let e=function(){};return e.prototype=Object.create(null),e})();function u(e,t,r){do{let r=e.charCodeAt(t);if(32!==r&&9!==r)return t}while(++tr;){let r=e.charCodeAt(--t);if(32!==r&&9!==r)return t+1}return r}function c(e){if(-1===e.indexOf("%"))return e;try{return decodeURIComponent(e)}catch(t){return e}}},30289:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.CookiesNextProvider=t.useReactiveCookiesNext=t.useReactiveHasCookie=t.useReactiveDeleteCookie=t.useReactiveSetCookie=t.useReactiveGetCookie=t.useReactiveGetCookies=t.useCookiesNext=t.useDeleteCookie=t.useGetCookie=t.useSetCookie=t.useHasCookie=t.useGetCookies=t.hasCookie=t.deleteCookie=t.setCookie=t.getCookie=t.getCookies=void 0;var s=o(r(80099)),u=o(r(91871));a(r(93864),t);var l=r(52092);t.getCookies=function(e){return(0,l.isClientSide)(e)?s.getCookies(e):u.getCookies(e)},t.getCookie=function(e,t){return(0,l.isClientSide)(t)?s.getCookie(e,t):u.getCookie(e,t)},t.setCookie=function(e,t,r){return(0,l.isClientSide)(r)?s.setCookie(e,t,r):u.setCookie(e,t,r)},t.deleteCookie=function(e,t){return(0,l.isClientSide)(t)?s.deleteCookie(e,t):u.deleteCookie(e,t)},t.hasCookie=function(e,t){return(0,l.isClientSide)(t)?s.hasCookie(e,t):u.hasCookie(e,t)};var c=r(80099);Object.defineProperty(t,"useGetCookies",{enumerable:!0,get:function(){return c.useGetCookies}}),Object.defineProperty(t,"useHasCookie",{enumerable:!0,get:function(){return c.useHasCookie}}),Object.defineProperty(t,"useSetCookie",{enumerable:!0,get:function(){return c.useSetCookie}}),Object.defineProperty(t,"useGetCookie",{enumerable:!0,get:function(){return c.useGetCookie}}),Object.defineProperty(t,"useDeleteCookie",{enumerable:!0,get:function(){return c.useDeleteCookie}}),Object.defineProperty(t,"useCookiesNext",{enumerable:!0,get:function(){return c.useCookiesNext}}),Object.defineProperty(t,"useReactiveGetCookies",{enumerable:!0,get:function(){return c.useReactiveGetCookies}}),Object.defineProperty(t,"useReactiveGetCookie",{enumerable:!0,get:function(){return c.useReactiveGetCookie}}),Object.defineProperty(t,"useReactiveSetCookie",{enumerable:!0,get:function(){return c.useReactiveSetCookie}}),Object.defineProperty(t,"useReactiveDeleteCookie",{enumerable:!0,get:function(){return c.useReactiveDeleteCookie}}),Object.defineProperty(t,"useReactiveHasCookie",{enumerable:!0,get:function(){return c.useReactiveHasCookie}}),Object.defineProperty(t,"useReactiveCookiesNext",{enumerable:!0,get:function(){return c.useReactiveCookiesNext}}),Object.defineProperty(t,"CookiesNextProvider",{enumerable:!0,get:function(){return c.CookiesNextProvider}})},30491:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r{"use strict";r.d(t,{CC:()=>n,I0:()=>a,jB:()=>i,q2:()=>o});let n=0,i=1,o=2,a=3},32976:(e,t,r)=>{"use strict";e.exports=r(74631)},33567:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(77976),i=r(97881),o=r(63660),a=r(13152),s=r(16852),u=n.forwardRef((e,t)=>{var r,u;let{container:l,...c}=e,[f,d]=n.useState(!1);(0,a.N)(()=>d(!0),[]);let h=l||f&&(null==(u=globalThis)||null==(r=u.document)?void 0:r.body);return h?i.createPortal((0,s.jsx)(o.sG.div,{...c,ref:t}),h):null});u.displayName="Portal"},35121:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},36648:(e,t,r)=>{"use strict";r.d(t,{i:()=>s});var n,i=r(77976),o=r(13152),a=(n||(n=r.t(i,2)))[" useInsertionEffect ".trim().toString()]||o.N;function s({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[o,s,u]=function({defaultProp:e,onChange:t}){let[r,n]=i.useState(e),o=i.useRef(r),s=i.useRef(t);return a(()=>{s.current=t},[t]),i.useEffect(()=>{o.current!==r&&(s.current?.(r),o.current=r)},[r,o]),[r,n,s]}({defaultProp:t,onChange:r}),l=void 0!==e,c=l?e:o;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;if(e!==l){let t=l?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=l},[l,n])}return[c,i.useCallback(t=>{if(l){let r="function"==typeof t?t(e):t;r!==e&&u.current?.(r)}else s(t)},[l,e,s,u])]}Symbol("RADIX:SYNC_STATE")},44893:(e,t,r)=>{"use strict";r.d(t,{default:()=>i.a});var n=r(98866),i=r.n(n)},48746:(e,t,r)=>{"use strict";r.d(t,{aw:()=>f,iX:()=>u,qm:()=>c,Ht:()=>d});var n=r(64784),i=r(77976);let o=n.i&&window.__SWR_DEVTOOLS_USE__,a=o?window.__SWR_DEVTOOLS_USE__:[],s=e=>(0,n.a)(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],u=()=>{let e=(0,i.useContext)(n.S);return(0,i.useMemo)(()=>(0,n.m)(n.d,e),[e])},l=a.concat(e=>(t,r,i)=>{let o=r&&((...e)=>{let[i]=(0,n.s)(t),[,,,o]=n.b.get(n.c);if(i.startsWith("$inf$"))return r(...e);let a=o[i];return(0,n.e)(a)?r(...e):(delete o[i],a)});return e(t,o,i)}),c=e=>function(...t){let r=u(),[i,o,a]=s(t),c=(0,n.f)(r,a),f=e,{use:d}=c,h=(d||[]).concat(l);for(let e=h.length;e--;)f=h[e](f);return f(i,o||c.fetcher||null,c)},f=(e,t,r)=>{let n=t[e]||(t[e]=[]);return n.push(r),()=>{let e=n.indexOf(r);e>=0&&(n[e]=n[n.length-1],n.pop())}},d=(e,t)=>(...r)=>{let[n,i,o]=s(r),a=(o.use||[]).concat(t);return e(n,i,{...o,use:a})};o&&(window.__SWR_DEVTOOLS_REACT__=i)},49914:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return u}}),r(36891);let n=r(13555),i=r(70215),o=["-moz-initial","fill","none","scale-down",void 0];function a(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 u(e,t){var r,u;let l,c,f,{src:d,sizes:h,unoptimized:p=!1,priority:v=!1,loading:g,className:y,quality:m,width:b,height:w,fill:x=!1,style:S,overrideSrc:E,onLoad:C,onLoadingComplete:k,placeholder:_="empty",blurDataURL:A,fetchPriority:O,decoding:T="async",layout:P,objectFit:R,objectPosition:N,lazyBoundary:I,lazyRoot:L,...j}=e,{imgConf:M,showAltText:U,blurComplete:F,defaultLoader:D}=t,B=M||i.imageConfigDefault;if("allSizes"in B)l=B;else{let e=[...B.deviceSizes,...B.imageSizes].sort((e,t)=>e-t),t=B.deviceSizes.sort((e,t)=>e-t),n=null==(r=B.qualities)?void 0:r.sort((e,t)=>e-t);l={...B,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===D)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 V=j.loader||D;delete j.loader,delete j.srcSet;let z="__next_img_default"in V;if(z){if("custom"===l.loader)throw Object.defineProperty(Error('Image with src "'+d+'" 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=V;V=t=>{let{config:r,...n}=t;return e(n)}}if(P){"fill"===P&&(x=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[P];e&&(S={...S,...e});let t={responsive:"100vw",fill:"100vw"}[P];t&&!h&&(h=t)}let H="",q=s(b),W=s(w);if((u=d)&&"object"==typeof u&&(a(u)||void 0!==u.src)){let e=a(d)?d.default:d;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,configurable:!0});if(c=e.blurWidth,f=e.blurHeight,A=A||e.blurDataURL,H=e.src,!x)if(q||W){if(q&&!W){let t=q/e.width;W=Math.round(e.height*t)}else if(!q&&W){let t=W/e.height;q=Math.round(e.width*t)}}else q=e.width,W=e.height}let G=!v&&("lazy"===g||void 0===g);(!(d="string"==typeof d?d:H)||d.startsWith("data:")||d.startsWith("blob:"))&&(p=!0,G=!1),l.unoptimized&&(p=!0),z&&!l.dangerouslyAllowSVG&&d.split("?",1)[0].endsWith(".svg")&&(p=!0);let K=s(m),$=Object.assign(x?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:R,objectPosition:N}:{},U?{}:{color:"transparent"},S),Q=F||"empty"===_?null:"blur"===_?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:q,heightInt:W,blurWidth:c,blurHeight:f,blurDataURL:A||"",objectFit:$.objectFit})+'")':'url("'+_+'")',X=o.includes($.objectFit)?"fill"===$.objectFit?"100% 100%":"cover":$.objectFit,Y=Q?{backgroundSize:X,backgroundPosition:$.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Q}:{},J=function(e){let{config:t,src:r,unoptimized:n,width:i,quality:o,sizes:a,loader:s}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:u,kind:l}=function(e,t,r){let{deviceSizes:n,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,a),c=u.length-1;return{sizes:a||"w"!==l?a:"100vw",srcSet:u.map((e,n)=>s({config:t,src:r,quality:o,width:e})+" "+("w"===l?e:n+1)+l).join(", "),src:s({config:t,src:r,quality:o,width:u[c]})}}({config:l,src:d,unoptimized:p,width:q,quality:K,sizes:h,loader:V});return{props:{...j,loading:G?"lazy":g,fetchPriority:O,width:q,height:W,decoding:T,className:y,style:{...$,...Y},sizes:J.sizes,srcSet:J.srcSet,src:E||J.src},meta:{unoptimized:p,priority:v,placeholder:_,fill:x}}}},50465:(e,t,r)=>{"use strict";r.d(t,{A:()=>W});var n,i,o=r(1597),a=r(77976),s="right-scroll-bar-position",u="width-before-scroll-bar";function l(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var c="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,f=new WeakMap;function d(e){return e}var h=function(e){void 0===e&&(e={});var t,r,n,i=(void 0===t&&(t=d),r=[],n=!1,{read:function(){if(n)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var i=t(e,n);return r.push(i),function(){r=r.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(n=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){n=!0;var t=[];if(r.length){var i=r;r=[],i.forEach(e),t=r}var o=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}});return i.options=(0,o.Cl)({async:!0,ssr:!1},e),i}(),p=function(){},v=a.forwardRef(function(e,t){var r,n,i,s,u=a.useRef(null),d=a.useState({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:p}),v=d[0],g=d[1],y=e.forwardProps,m=e.children,b=e.className,w=e.removeScrollBar,x=e.enabled,S=e.shards,E=e.sideCar,C=e.noRelative,k=e.noIsolation,_=e.inert,A=e.allowPinchZoom,O=e.as,T=e.gapMode,P=(0,o.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),R=(r=[u,t],n=function(e){return r.forEach(function(t){return l(t,e)})},(i=(0,a.useState)(function(){return{value:null,callback:n,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=n,s=i.facade,c(function(){var e=f.get(s);if(e){var t=new Set(e),n=new Set(r),i=s.current;t.forEach(function(e){n.has(e)||l(e,null)}),n.forEach(function(e){t.has(e)||l(e,i)})}f.set(s,r)},[r]),s),N=(0,o.Cl)((0,o.Cl)({},P),v);return a.createElement(a.Fragment,null,x&&a.createElement(E,{sideCar:h,removeScrollBar:w,shards:S,noRelative:C,noIsolation:k,inert:_,setCallbacks:g,allowPinchZoom:!!A,lockRef:u,gapMode:T}),y?a.cloneElement(a.Children.only(m),(0,o.Cl)((0,o.Cl)({},N),{ref:R})):a.createElement(void 0===O?"div":O,(0,o.Cl)({},N,{className:b,ref:R}),m))});v.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},v.classNames={fullWidth:u,zeroRight:s};var g=function(e){var t=e.sideCar,r=(0,o.Tt)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return a.createElement(n,(0,o.Cl)({},r))};g.isSideCarExport=!0;var y=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=i||r.nc;return t&&e.setAttribute("nonce",t),e}())){var o,a;(o=t).styleSheet?o.styleSheet.cssText=n:o.appendChild(document.createTextNode(n)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},m=function(){var e=y();return function(t,r){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},b=function(){var e=m();return function(t){return e(t.styles,t.dynamic),null}},w={left:0,top:0,right:0,gap:0},x=function(e){return parseInt(e||"",10)||0},S=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[x(r),x(n),x(i)]},E=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return w;var t=S(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},C=b(),k="data-scroll-locked",_=function(e,t,r,n){var i=e.left,o=e.top,a=e.right,l=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(l,"px ").concat(n,";\n }\n body[").concat(k,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(l,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(s," {\n right: ").concat(l,"px ").concat(n,";\n }\n \n .").concat(u," {\n margin-right: ").concat(l,"px ").concat(n,";\n }\n \n .").concat(s," .").concat(s," {\n right: 0 ").concat(n,";\n }\n \n .").concat(u," .").concat(u," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(k,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},A=function(){var e=parseInt(document.body.getAttribute(k)||"0",10);return isFinite(e)?e:0},O=function(){a.useEffect(function(){return document.body.setAttribute(k,(A()+1).toString()),function(){var e=A()-1;ei[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},j=function(e,t){return"v"===e?I(t,"overflowY"):I(t,"overflowX")},M=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},U=function(e,t,r,n,i){var o,a=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),s=a*n,u=r.target,l=t.contains(u),c=!1,f=s>0,d=0,h=0;do{if(!u)break;var p=M(e,u),v=p[0],g=p[1]-p[2]-a*v;(v||g)&&j(e,u)&&(d+=g,h+=v);var y=u.parentNode;u=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!l&&u!==document.body||l&&(t.contains(u)||t===u));return f&&(i&&1>Math.abs(d)||!i&&s>d)?c=!0:!f&&(i&&1>Math.abs(h)||!i&&-s>h)&&(c=!0),c},F=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},D=function(e){return[e.deltaX,e.deltaY]},B=function(e){return e&&"current"in e?e.current:e},V=0,z=[];let H=(n=function(e){var t=a.useRef([]),r=a.useRef([0,0]),n=a.useRef(),i=a.useState(V++)[0],s=a.useState(b)[0],u=a.useRef(e);a.useEffect(function(){u.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(0,o.fX)([e.lockRef.current],(e.shards||[]).map(B),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var l=a.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!u.current.allowPinchZoom;var i,o=F(e),a=r.current,s="deltaX"in e?e.deltaX:a[0]-o[0],l="deltaY"in e?e.deltaY:a[1]-o[1],c=e.target,f=Math.abs(s)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===f&&"range"===c.type)return!1;var d=L(f,c);if(!d)return!0;if(d?i=f:(i="v"===f?"h":"v",d=L(f,c)),!d)return!1;if(!n.current&&"changedTouches"in e&&(s||l)&&(n.current=i),!i)return!0;var h=n.current||i;return U(h,t,e,"h"===h?s:l,!0)},[]),c=a.useCallback(function(e){if(z.length&&z[z.length-1]===s){var r="deltaY"in e?D(e):F(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var i=(u.current.shards||[]).map(B).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?l(e,i[0]):!u.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),f=a.useCallback(function(e,r,n,i){var o={name:e,delta:r,target:n,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=a.useCallback(function(e){r.current=F(e),n.current=void 0},[]),h=a.useCallback(function(t){f(t.type,D(t),t.target,l(t,e.lockRef.current))},[]),p=a.useCallback(function(t){f(t.type,F(t),t.target,l(t,e.lockRef.current))},[]);a.useEffect(function(){return z.push(s),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:p}),document.addEventListener("wheel",c,N),document.addEventListener("touchmove",c,N),document.addEventListener("touchstart",d,N),function(){z=z.filter(function(e){return e!==s}),document.removeEventListener("wheel",c,N),document.removeEventListener("touchmove",c,N),document.removeEventListener("touchstart",d,N)}},[]);var v=e.removeScrollBar,g=e.inert;return a.createElement(a.Fragment,null,g?a.createElement(s,{styles:"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,v?a.createElement(T,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},h.useMedium(n),g);var q=a.forwardRef(function(e,t){return a.createElement(v,(0,o.Cl)({},e,{ref:t,sideCar:H}))});q.classNames=v.classNames;let W=q},50940:(e,t,r)=>{"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r{"use strict";function n(e,t,{signal:r,edges:i}={}){let o,a=null,s=null!=i&&i.includes("leading"),u=null==i||i.includes("trailing"),l=()=>{null!==a&&(e.apply(o,a),o=void 0,a=null)},c=null,f=()=>{null!=c&&clearTimeout(c),c=setTimeout(()=>{c=null,u&&l(),d()},t)},d=()=>{null!==c&&(clearTimeout(c),c=null),o=void 0,a=null},h=function(...e){if(r?.aborted)return;o=this,a=e;let t=null==c;f(),s&&t&&l()};return h.schedule=f,h.cancel=d,h.flush=()=>{l()},r?.addEventListener("abort",d,{once:!0}),h}r.d(t,{s:()=>n})},52092:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRenderPhase=t.isClientSide=t.decode=t.stringify=void 0,t.stringify=function(e){try{if("string"==typeof e)return e;return JSON.stringify(e)}catch(t){return e}},t.decode=function(e){return e?e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent):e},t.isClientSide=function(e){return!(null==e?void 0:e.req)&&!(null==e?void 0:e.res)&&!(e&&"cookies"in e&&(null==e?void 0:e.cookies))},t.getRenderPhase=function(){return"undefined"==typeof window?"server":"client"}},52535:(e,t,r)=>{"use strict";r.d(t,{C:()=>a});var n=r(77976),i=r(15663),o=r(13152),a=e=>{let{present:t,children:r}=e,a=function(e){var t,r;let[i,a]=n.useState(),u=n.useRef(null),l=n.useRef(e),c=n.useRef("none"),[f,d]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>{let n=r[e][t];return null!=n?n:e},t));return n.useEffect(()=>{let e=s(u.current);c.current="mounted"===f?e:"none"},[f]),(0,o.N)(()=>{let t=u.current,r=l.current;if(r!==e){let n=c.current,i=s(t);e?d("MOUNT"):"none"===i||(null==t?void 0:t.display)==="none"?d("UNMOUNT"):r&&n!==i?d("ANIMATION_OUT"):d("UNMOUNT"),l.current=e}},[e,d]),(0,o.N)(()=>{if(i){var e;let t,r=null!=(e=i.ownerDocument.defaultView)?e:window,n=e=>{let n=s(u.current).includes(CSS.escape(e.animationName));if(e.target===i&&n&&(d("ANIMATION_END"),!l.current)){let e=i.style.animationFillMode;i.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=e)})}},o=e=>{e.target===i&&(c.current=s(u.current))};return i.addEventListener("animationstart",o),i.addEventListener("animationcancel",n),i.addEventListener("animationend",n),()=>{r.clearTimeout(t),i.removeEventListener("animationstart",o),i.removeEventListener("animationcancel",n),i.removeEventListener("animationend",n)}}d("ANIMATION_END")},[i,d]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:n.useCallback(e=>{u.current=e?getComputedStyle(e):null,a(e)},[])}}(t),u="function"==typeof r?r({present:a.isPresent}):n.Children.only(r),l=(0,i.s)(a.ref,function(e){var t,r;let n=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,i=n&&"isReactWarning"in n&&n.isReactWarning;return i?e.ref:(i=(n=null==(r=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:r.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(u));return"function"==typeof r||a.isPresent?n.cloneElement(u,{ref:l}):null};function s(e){return(null==e?void 0:e.animationName)||"none"}a.displayName="Presence"},53286:(e,t,r)=>{"use strict";r.d(t,{Ub:()=>S});var n=r(77976),i=r(12941),o=r.n(i),a=/[A-Z]/g,s=/^ms-/,u={};function l(e){return"-"+e.toLowerCase()}let c=function(e){if(u.hasOwnProperty(e))return u[e];var t=e.replace(a,l);return u[e]=s.test(t)?"-"+t:t};var f=r(59498),d=r.n(f);let h=d().oneOfType([d().string,d().number]),p={all:d().bool,grid:d().bool,aural:d().bool,braille:d().bool,handheld:d().bool,print:d().bool,projection:d().bool,screen:d().bool,tty:d().bool,tv:d().bool,embossed:d().bool},{type:v,...g}={orientation:d().oneOf(["portrait","landscape"]),scan:d().oneOf(["progressive","interlace"]),aspectRatio:d().string,deviceAspectRatio:d().string,height:h,deviceHeight:h,width:h,deviceWidth:h,color:d().bool,colorIndex:d().bool,monochrome:d().bool,resolution:h,type:Object.keys(p)},y={minAspectRatio:d().string,maxAspectRatio:d().string,minDeviceAspectRatio:d().string,maxDeviceAspectRatio:d().string,minHeight:h,maxHeight:h,minDeviceHeight:h,maxDeviceHeight:h,minWidth:h,maxWidth:h,minDeviceWidth:h,maxDeviceWidth:h,minColor:d().number,maxColor:d().number,minColorIndex:d().number,maxColorIndex:d().number,minMonochrome:d().number,maxMonochrome:d().number,minResolution:h,maxResolution:h,...g};var m={all:{...p,...y}};let b=(0,n.createContext)(void 0),w=e=>{if(e)return Object.keys(e).reduce((t,r)=>(t[c(r)]=e[r],t),{})},x=()=>{let e=(0,n.useRef)(!1);return(0,n.useEffect)(()=>{e.current=!0},[]),e.current},S=(e,t,r)=>{let i=(e=>{let t=(0,n.useContext)(b),r=()=>w(e)||w(t),[i,o]=(0,n.useState)(r);return(0,n.useEffect)(()=>{let e=r();!function(e,t){if(e===t)return!0;if(!e||!t)return!1;let r=Object.keys(e),n=Object.keys(t),i=r.length;if(n.length!==i)return!1;for(let n=0;n{let t=()=>(e=>e.query||(e=>{let t=[];return Object.keys(m.all).forEach(r=>{let n=e[r];null!=n&&t.push(((e,t)=>{let r=c(e);if("number"==typeof t&&(t=`${t}px`),!0===t)return r;if(!1===t)return`not ${r}`;return`(${r}: ${t})`})(r,n))}),t.join(" and ")})(e))(e),[r,i]=(0,n.useState)(t);return(0,n.useEffect)(()=>{let e=t();r!==e&&i(e)},[e]),r})(e);if(!a)throw Error("Invalid or missing MediaQuery!");let s=((e,t)=>{let r=()=>o()(e,t||{},!!t),[i,a]=(0,n.useState)(r),s=x();return(0,n.useEffect)(()=>{if(s){let e=r();return a(e),()=>{e&&e.dispose()}}},[e,t]),i})(a,i),u=(e=>{let[t,r]=(0,n.useState)(e.matches);return(0,n.useEffect)(()=>{let t=e=>{r(e.matches)};return e.addListener(t),r(e.matches),()=>{e.removeListener(t)}},[e]),t})(s),l=x();return(0,n.useEffect)(()=>{l&&r&&r(u)},[u]),(0,n.useEffect)(()=>()=>{s&&s.dispose()},[]),u}},53445:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let n=r(92174)._(r(77976)),i=r(70215),o=n.default.createContext(i.imageConfigDefault)},53994:(e,t,r)=>{"use strict";r.d(t,{tG:()=>s});var n=r(98540);let i=Symbol("RESET"),o=e=>"function"==typeof(null==e?void 0:e.then),a=function(e=()=>{try{return window.localStorage}catch(e){"undefined"!=typeof window&&console.warn(e);return}},t){var r;let n,i,a,s,u={getItem:(t,r)=>{var a,s;let u=e=>{if(n!==(e=e||"")){try{i=JSON.parse(e,void 0)}catch(e){return r}n=e}return i},l=null!=(s=null==(a=e())?void 0:a.getItem(t))?s:null;return o(l)?l.then(u):u(l)},setItem:(t,r)=>{var n;return null==(n=e())?void 0:n.setItem(t,JSON.stringify(r,void 0))},removeItem:t=>{var r;return null==(r=e())?void 0:r.removeItem(t)}};try{a=null==(r=e())?void 0:r.subscribe}catch(e){}return!a&&"undefined"!=typeof window&&"function"==typeof window.addEventListener&&window.Storage&&(a=(t,r)=>{if(!(e()instanceof window.Storage))return()=>{};let n=n=>{n.storageArea===e()&&n.key===t&&r(n.newValue)};return window.addEventListener("storage",n),()=>{window.removeEventListener("storage",n)}}),a&&(s=a,u.subscribe=(e,t,r)=>s(e,e=>{let n;try{n=JSON.parse(e||"")}catch(e){n=r}t(n)})),u}();function s(e,t,r=a,u){let l=null==u?void 0:u.getOnInit,c=(0,n.eU)(l?r.getItem(e,t):t);return c.debugPrivate=!0,c.onMount=n=>{let i;return n(r.getItem(e,t)),r.subscribe&&(i=r.subscribe(e,n,t)),i},(0,n.eU)(e=>e(c),(n,a,s)=>{let u="function"==typeof s?s(n(c)):s;return u===i?(a(c,t),r.removeItem(e)):o(u)?u.then(t=>(a(c,t),r.setItem(e,t))):(a(c,u),r.setItem(e,u))})}},54318:(e,t,r)=>{"use strict";let n;r.d(t,{A:()=>s});let i={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},o=new Uint8Array(16),a=[];for(let e=0;e= 16");if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t){if((r=r||0)t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e{"use strict";r.d(t,{i3:()=>tA,UC:()=>t_,ZL:()=>tk,bL:()=>tE,l9:()=>tC});var n=r(77976),i=r(95138),o=r(15663),a=r(13585),s=r(87612),u=r(79778),l=r(520),c=r(29852);let f=["top","right","bottom","left"],d=Math.min,h=Math.max,p=Math.round,v=Math.floor,g=e=>({x:e,y:e}),y={left:"right",right:"left",bottom:"top",top:"bottom"},m={start:"end",end:"start"};function b(e,t){return"function"==typeof e?e(t):e}function w(e){return e.split("-")[0]}function x(e){return e.split("-")[1]}function S(e){return"x"===e?"y":"x"}function E(e){return"y"===e?"height":"width"}let C=new Set(["top","bottom"]);function k(e){return C.has(w(e))?"y":"x"}function _(e){return e.replace(/start|end/g,e=>m[e])}let A=["left","right"],O=["right","left"],T=["top","bottom"],P=["bottom","top"];function R(e){return e.replace(/left|right|bottom|top/g,e=>y[e])}function N(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function I(e){let{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function L(e,t,r){let n,{reference:i,floating:o}=e,a=k(t),s=S(k(t)),u=E(s),l=w(t),c="y"===a,f=i.x+i.width/2-o.width/2,d=i.y+i.height/2-o.height/2,h=i[u]/2-o[u]/2;switch(l){case"top":n={x:f,y:i.y-o.height};break;case"bottom":n={x:f,y:i.y+i.height};break;case"right":n={x:i.x+i.width,y:d};break;case"left":n={x:i.x-o.width,y:d};break;default:n={x:i.x,y:i.y}}switch(x(t)){case"start":n[s]-=h*(r&&c?-1:1);break;case"end":n[s]+=h*(r&&c?-1:1)}return n}let j=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:a}=r,s=o.filter(Boolean),u=await (null==a.isRTL?void 0:a.isRTL(t)),l=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=L(l,n,u),d=n,h={},p=0;for(let r=0;re[t]>=0)}let D=new Set(["left","top"]);async function B(e,t){let{placement:r,platform:n,elements:i}=e,o=await (null==n.isRTL?void 0:n.isRTL(i.floating)),a=w(r),s=x(r),u="y"===k(r),l=D.has(a)?-1:1,c=o&&u?-1:1,f=b(t,e),{mainAxis:d,crossAxis:h,alignmentAxis:p}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return s&&"number"==typeof p&&(h="end"===s?-1*p:p),u?{x:h*c,y:d*l}:{x:d*l,y:h*c}}function V(){return"undefined"!=typeof window}function z(e){return W(e)?(e.nodeName||"").toLowerCase():"#document"}function H(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function q(e){var t;return null==(t=(W(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function W(e){return!!V()&&(e instanceof Node||e instanceof H(e).Node)}function G(e){return!!V()&&(e instanceof Element||e instanceof H(e).Element)}function K(e){return!!V()&&(e instanceof HTMLElement||e instanceof H(e).HTMLElement)}function $(e){return!!V()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof H(e).ShadowRoot)}let Q=new Set(["inline","contents"]);function X(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=es(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!Q.has(i)}let Y=new Set(["table","td","th"]),J=[":popover-open",":modal"];function Z(e){return J.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let ee=["transform","translate","scale","rotate","perspective"],et=["transform","translate","scale","rotate","perspective","filter"],er=["paint","layout","strict","content"];function en(e){let t=ei(),r=G(e)?es(e):e;return ee.some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||et.some(e=>(r.willChange||"").includes(e))||er.some(e=>(r.contain||"").includes(e))}function ei(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let eo=new Set(["html","body","#document"]);function ea(e){return eo.has(z(e))}function es(e){return H(e).getComputedStyle(e)}function eu(e){return G(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function el(e){if("html"===z(e))return e;let t=e.assignedSlot||e.parentNode||$(e)&&e.host||q(e);return $(t)?t.host:t}function ec(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let i=function e(t){let r=el(t);return ea(r)?t.ownerDocument?t.ownerDocument.body:t.body:K(r)&&X(r)?r:e(r)}(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),a=H(i);if(o){let e=ef(a);return t.concat(a,a.visualViewport||[],X(i)?i:[],e&&r?ec(e):[])}return t.concat(i,ec(i,[],r))}function ef(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ed(e){let t=es(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=K(e),o=i?e.offsetWidth:r,a=i?e.offsetHeight:n,s=p(r)!==o||p(n)!==a;return s&&(r=o,n=a),{width:r,height:n,$:s}}function eh(e){return G(e)?e:e.contextElement}function ep(e){let t=eh(e);if(!K(t))return g(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:o}=ed(t),a=(o?p(r.width):r.width)/n,s=(o?p(r.height):r.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let ev=g(0);function eg(e){let t=H(e);return ei()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ev}function ey(e,t,r,n){var i;void 0===t&&(t=!1),void 0===r&&(r=!1);let o=e.getBoundingClientRect(),a=eh(e),s=g(1);t&&(n?G(n)&&(s=ep(n)):s=ep(e));let u=(void 0===(i=r)&&(i=!1),n&&(!i||n===H(a))&&i)?eg(a):g(0),l=(o.left+u.x)/s.x,c=(o.top+u.y)/s.y,f=o.width/s.x,d=o.height/s.y;if(a){let e=H(a),t=n&&G(n)?H(n):n,r=e,i=ef(r);for(;i&&n&&t!==r;){let e=ep(i),t=i.getBoundingClientRect(),n=es(i),o=t.left+(i.clientLeft+parseFloat(n.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(n.paddingTop))*e.y;l*=e.x,c*=e.y,f*=e.x,d*=e.y,l+=o,c+=a,i=ef(r=H(i))}}return I({width:f,height:d,x:l,y:c})}function em(e,t){let r=eu(e).scrollLeft;return t?t.left+r:ey(q(e)).left+r}function eb(e,t,r){void 0===r&&(r=!1);let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-(r?0:em(e,n)),y:n.top+t.scrollTop}}let ew=new Set(["absolute","fixed"]);function ex(e,t,r){let n;if("viewport"===t)n=function(e,t){let r=H(e),n=q(e),i=r.visualViewport,o=n.clientWidth,a=n.clientHeight,s=0,u=0;if(i){o=i.width,a=i.height;let e=ei();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,u=i.offsetTop)}return{width:o,height:a,x:s,y:u}}(e,r);else if("document"===t)n=function(e){let t=q(e),r=eu(e),n=e.ownerDocument.body,i=h(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=h(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),a=-r.scrollLeft+em(e),s=-r.scrollTop;return"rtl"===es(n).direction&&(a+=h(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:a,y:s}}(q(e));else if(G(t))n=function(e,t){let r=ey(e,!0,"fixed"===t),n=r.top+e.clientTop,i=r.left+e.clientLeft,o=K(e)?ep(e):g(1),a=e.clientWidth*o.x,s=e.clientHeight*o.y;return{width:a,height:s,x:i*o.x,y:n*o.y}}(t,r);else{let r=eg(e);n={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return I(n)}function eS(e){return"static"===es(e).position}function eE(e,t){if(!K(e)||"fixed"===es(e).position)return null;if(t)return t(e);let r=e.offsetParent;return q(e)===r&&(r=r.ownerDocument.body),r}function eC(e,t){var r;let n=H(e);if(Z(e))return n;if(!K(e)){let t=el(e);for(;t&&!ea(t);){if(G(t)&&!eS(t))return t;t=el(t)}return n}let i=eE(e,t);for(;i&&(r=i,Y.has(z(r)))&&eS(i);)i=eE(i,t);return i&&ea(i)&&eS(i)&&!en(i)?n:i||function(e){let t=el(e);for(;K(t)&&!ea(t);){if(en(t))return t;if(Z(t))break;t=el(t)}return null}(e)||n}let ek=async function(e){let t=this.getOffsetParent||eC,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=K(t),i=q(t),o="fixed"===r,a=ey(e,!0,o,t),s={scrollLeft:0,scrollTop:0},u=g(0);if(n||!n&&!o)if(("body"!==z(t)||X(i))&&(s=eu(t)),n){let e=ey(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&(u.x=em(i));o&&!n&&i&&(u.x=em(i));let l=!i||n||o?g(0):eb(i,s);return{x:a.left+s.scrollLeft-u.x-l.x,y:a.top+s.scrollTop-u.y-l.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},e_={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e,o="fixed"===i,a=q(n),s=!!t&&Z(t.floating);if(n===a||s&&o)return r;let u={scrollLeft:0,scrollTop:0},l=g(1),c=g(0),f=K(n);if((f||!f&&!o)&&(("body"!==z(n)||X(a))&&(u=eu(n)),K(n))){let e=ey(n);l=ep(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}let d=!a||f||o?g(0):eb(a,u,!0);return{width:r.width*l.x,height:r.height*l.y,x:r.x*l.x-u.scrollLeft*l.x+c.x+d.x,y:r.y*l.y-u.scrollTop*l.y+c.y+d.y}},getDocumentElement:q,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,o=[..."clippingAncestors"===r?Z(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=ec(e,[],!1).filter(e=>G(e)&&"body"!==z(e)),i=null,o="fixed"===es(e).position,a=o?el(e):e;for(;G(a)&&!ea(a);){let t=es(a),r=en(a);r||"fixed"!==t.position||(i=null),(o?!r&&!i:!r&&"static"===t.position&&!!i&&ew.has(i.position)||X(a)&&!r&&function e(t,r){let n=el(t);return!(n===r||!G(n)||ea(n))&&("fixed"===es(n).position||e(n,r))}(e,a))?n=n.filter(e=>e!==a):i=t,a=el(a)}return t.set(e,n),n}(t,this._c):[].concat(r),n],a=o[0],s=o.reduce((e,r)=>{let n=ex(t,r,i);return e.top=h(n.top,e.top),e.right=d(n.right,e.right),e.bottom=d(n.bottom,e.bottom),e.left=h(n.left,e.left),e},ex(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:eC,getElementRects:ek,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=ed(e);return{width:t,height:r}},getScale:ep,isElement:G,isRTL:function(e){return"rtl"===es(e).direction}};function eA(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eO=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:i,rects:o,platform:a,elements:s,middlewareData:u}=t,{element:l,padding:c=0}=b(e,t)||{};if(null==l)return{};let f=N(c),p={x:r,y:n},v=S(k(i)),g=E(v),y=await a.getDimensions(l),m="y"===v,w=m?"clientHeight":"clientWidth",C=o.reference[g]+o.reference[v]-p[v]-o.floating[g],_=p[v]-o.reference[v],A=await (null==a.getOffsetParent?void 0:a.getOffsetParent(l)),O=A?A[w]:0;O&&await (null==a.isElement?void 0:a.isElement(A))||(O=s.floating[w]||o.floating[g]);let T=O/2-y[g]/2-1,P=d(f[m?"top":"left"],T),R=d(f[m?"bottom":"right"],T),I=O-y[g]-R,L=O/2-y[g]/2+(C/2-_/2),j=h(P,d(L,I)),M=!u.arrow&&null!=x(i)&&L!==j&&o.reference[g]/2-(L

{t.current=e}),t}var ej=r(63660),eM=r(16852),eU=n.forwardRef((e,t)=>{let{children:r,width:n=10,height:i=5,...o}=e;return(0,eM.jsx)(ej.sG.svg,{...o,ref:t,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,eM.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eU.displayName="Arrow";var eF=r(700),eD=r(13152),eB="Popper",[eV,ez]=(0,a.A)(eB),[eH,eq]=eV(eB),eW=e=>{let{__scopePopper:t,children:r}=e,[i,o]=n.useState(null);return(0,eM.jsx)(eH,{scope:t,anchor:i,onAnchorChange:o,children:r})};eW.displayName=eB;var eG="PopperAnchor",eK=n.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:i,...a}=e,s=eq(eG,r),u=n.useRef(null),l=(0,o.s)(t,u),c=n.useRef(null);return n.useEffect(()=>{let e=c.current;c.current=(null==i?void 0:i.current)||u.current,e!==c.current&&s.onAnchorChange(c.current)}),i?null:(0,eM.jsx)(ej.sG.div,{...a,ref:l})});eK.displayName=eG;var e$="PopperContent",[eQ,eX]=eV(e$),eY=n.forwardRef((e,t)=>{var r,i,a,s,u,l,c,f;let{__scopePopper:p,side:g="bottom",sideOffset:y=0,align:m="center",alignOffset:C=0,arrowPadding:N=0,avoidCollisions:I=!0,collisionBoundary:L=[],collisionPadding:V=0,sticky:z="partial",hideWhenDetached:H=!1,updatePositionStrategy:W="optimized",onPlaced:G,...K}=e,$=eq(e$,p),[Q,X]=n.useState(null),Y=(0,o.s)(t,e=>X(e)),[J,Z]=n.useState(null),ee=function(e){let[t,r]=n.useState(void 0);return(0,eD.N)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,i=t.blockSize}else n=e.offsetWidth,i=e.offsetHeight;r({width:n,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(J),et=null!=(c=null==ee?void 0:ee.width)?c:0,er=null!=(f=null==ee?void 0:ee.height)?f:0,en="number"==typeof V?V:{top:0,right:0,bottom:0,left:0,...V},ei=Array.isArray(L)?L:[L],eo=ei.length>0,ea={padding:en,boundary:ei.filter(e1),altBoundary:eo},{refs:es,floatingStyles:eu,placement:el,isPositioned:ef,middlewareData:ed}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:i=[],platform:o,elements:{reference:a,floating:s}={},transform:u=!0,whileElementsMounted:l,open:c}=e,[f,d]=n.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=n.useState(i);eR(h,i)||p(i);let[v,g]=n.useState(null),[y,m]=n.useState(null),b=n.useCallback(e=>{e!==E.current&&(E.current=e,g(e))},[]),w=n.useCallback(e=>{e!==C.current&&(C.current=e,m(e))},[]),x=a||v,S=s||y,E=n.useRef(null),C=n.useRef(null),k=n.useRef(f),_=null!=l,A=eL(l),O=eL(o),T=eL(c),P=n.useCallback(()=>{if(!E.current||!C.current)return;let e={placement:t,strategy:r,middleware:h};O.current&&(e.platform=O.current),((e,t,r)=>{let n=new Map,i={platform:e_,...r},o={...i.platform,_c:n};return j(e,t,{...i,platform:o})})(E.current,C.current,e).then(e=>{let t={...e,isPositioned:!1!==T.current};R.current&&!eR(k.current,t)&&(k.current=t,eT.flushSync(()=>{d(t)}))})},[h,t,r,O,T]);eP(()=>{!1===c&&k.current.isPositioned&&(k.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let R=n.useRef(!1);eP(()=>(R.current=!0,()=>{R.current=!1}),[]),eP(()=>{if(x&&(E.current=x),S&&(C.current=S),x&&S){if(A.current)return A.current(x,S,P);P()}},[x,S,P,A,_]);let N=n.useMemo(()=>({reference:E,floating:C,setReference:b,setFloating:w}),[b,w]),I=n.useMemo(()=>({reference:x,floating:S}),[x,S]),L=n.useMemo(()=>{let e={position:r,left:0,top:0};if(!I.floating)return e;let t=eI(I.floating,f.x),n=eI(I.floating,f.y);return u?{...e,transform:"translate("+t+"px, "+n+"px)",...eN(I.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,u,I.floating,f.x,f.y]);return n.useMemo(()=>({...f,update:P,refs:N,elements:I,floatingStyles:L}),[f,P,N,I,L])}({strategy:"fixed",placement:g+("center"!==m?"-"+m:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),r=0;r{o&&e.addEventListener("scroll",r,{passive:!0}),a&&e.addEventListener("resize",r)});let p=c&&u?function(e,t){let r,n=null,i=q(e);function o(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function a(s,u){void 0===s&&(s=!1),void 0===u&&(u=1),o();let l=e.getBoundingClientRect(),{left:c,top:f,width:p,height:g}=l;if(s||t(),!p||!g)return;let y=v(f),m=v(i.clientWidth-(c+p)),b={rootMargin:-y+"px "+-m+"px "+-v(i.clientHeight-(f+g))+"px "+-v(c)+"px",threshold:h(0,d(1,u))||1},w=!0;function x(t){let n=t[0].intersectionRatio;if(n!==u){if(!w)return a();n?a(!1,n):r=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==n||eA(l,e.getBoundingClientRect())||a(),w=!1}try{n=new IntersectionObserver(x,{...b,root:i.ownerDocument})}catch(e){n=new IntersectionObserver(x,b)}n.observe(e)}(!0),o}(c,r):null,g=-1,y=null;s&&(y=new ResizeObserver(e=>{let[n]=e;n&&n.target===c&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),r()}),c&&!l&&y.observe(c),y.observe(t));let m=l?ey(e):null;return l&&function t(){let n=ey(e);m&&!eA(m,n)&&r(),m=n,i=requestAnimationFrame(t)}(),r(),()=>{var e;f.forEach(e=>{o&&e.removeEventListener("scroll",r),a&&e.removeEventListener("resize",r)}),null==p||p(),null==(e=y)||e.disconnect(),y=null,l&&cancelAnimationFrame(i)}}(...t,{animationFrame:"always"===W})},elements:{reference:$.anchor},middleware:[((e,t)=>({...function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:i,y:o,placement:a,middlewareData:s}=t,u=await B(t,e);return a===(null==(r=s.offset)?void 0:r.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,placement:a}}}}}(e),options:[e,t]}))({mainAxis:y+er,alignmentAxis:C}),I&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...u}=b(e,t),l={x:r,y:n},c=await M(t,u),f=k(w(i)),p=S(f),v=l[p],g=l[f];if(o){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",r=v+c[e],n=v-c[t];v=h(r,d(v,n))}if(a){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",r=g+c[e],n=g-c[t];g=h(r,d(g,n))}let y=s.fn({...t,[p]:v,[f]:g});return{...y,data:{x:y.x-r,y:y.y-n,enabled:{[p]:o,[f]:a}}}}}}(e),options:[e,t]}))({mainAxis:!0,crossAxis:!1,limiter:"partial"===z?((e,t)=>({...function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:r,y:n,placement:i,rects:o,middlewareData:a}=t,{offset:s=0,mainAxis:u=!0,crossAxis:l=!0}=b(e,t),c={x:r,y:n},f=k(i),d=S(f),h=c[d],p=c[f],v=b(s,t),g="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(u){let e="y"===d?"height":"width",t=o.reference[d]-o.floating[e]+g.mainAxis,r=o.reference[d]+o.reference[e]-g.mainAxis;hr&&(h=r)}if(l){var y,m;let e="y"===d?"width":"height",t=D.has(w(i)),r=o.reference[f]-o.floating[e]+(t&&(null==(y=a.offset)?void 0:y[f])||0)+(t?0:g.crossAxis),n=o.reference[f]+o.reference[e]+(t?0:(null==(m=a.offset)?void 0:m[f])||0)-(t?g.crossAxis:0);pn&&(p=n)}return{[d]:h,[f]:p}}}}(e),options:[e,t]}))():void 0,...ea}),I&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n,i,o,a;let{placement:s,middlewareData:u,rects:l,initialPlacement:c,platform:f,elements:d}=t,{mainAxis:h=!0,crossAxis:p=!0,fallbackPlacements:v,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:m=!0,...C}=b(e,t);if(null!=(r=u.arrow)&&r.alignmentOffset)return{};let N=w(s),I=k(c),L=w(c)===c,j=await (null==f.isRTL?void 0:f.isRTL(d.floating)),U=v||(L||!m?[R(c)]:function(e){let t=R(e);return[_(e),t,_(t)]}(c)),F="none"!==y;!v&&F&&U.push(...function(e,t,r,n){let i=x(e),o=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?O:A;return t?A:O;case"left":case"right":return t?T:P;default:return[]}}(w(e),"start"===r,n);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(_)))),o}(c,m,y,j));let D=[c,...U],B=await M(t,C),V=[],z=(null==(n=u.flip)?void 0:n.overflows)||[];if(h&&V.push(B[N]),p){let e=function(e,t,r){void 0===r&&(r=!1);let n=x(e),i=S(k(e)),o=E(i),a="x"===i?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=R(a)),[a,R(a)]}(s,l,j);V.push(B[e[0]],B[e[1]])}if(z=[...z,{placement:s,overflows:V}],!V.every(e=>ek(e.placement)!==I||e.overflows[0]>0)))return{data:{index:e,overflows:z},reset:{placement:t}};let r=null==(o=z.filter(e=>e.overflows[0]e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!r)switch(g){case"bestFit":{let e=null==(a=z.filter(e=>{if(F){let t=k(e.placement);return t===I||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(r=e);break}case"initialPlacement":r=c}if(s!==r)return{reset:{placement:r}}}return{}}}}(e),options:[e,t]}))({...ea}),((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,n;let i,o,{placement:a,rects:s,platform:u,elements:l}=t,{apply:c=()=>{},...f}=b(e,t),p=await M(t,f),v=w(a),g=x(a),y="y"===k(a),{width:m,height:S}=s.floating;"top"===v||"bottom"===v?(i=v,o=g===(await (null==u.isRTL?void 0:u.isRTL(l.floating))?"start":"end")?"left":"right"):(o=v,i="end"===g?"top":"bottom");let E=S-p.top-p.bottom,C=m-p.left-p.right,_=d(S-p[i],E),A=d(m-p[o],C),O=!t.middlewareData.shift,T=_,P=A;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(P=C),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(T=E),O&&!g){let e=h(p.left,0),t=h(p.right,0),r=h(p.top,0),n=h(p.bottom,0);y?P=m-2*(0!==e||0!==t?e+t:h(p.left,p.right)):T=S-2*(0!==r||0!==n?r+n:h(p.top,p.bottom))}await c({...t,availableWidth:P,availableHeight:T});let R=await u.getDimensions(l.floating);return m!==R.width||S!==R.height?{reset:{rects:!0}}:{}}}}(e),options:[e,t]}))({...ea,apply:e=>{let{elements:t,rects:r,availableWidth:n,availableHeight:i}=e,{width:o,height:a}=r.reference,s=t.floating.style;s.setProperty("--radix-popper-available-width","".concat(n,"px")),s.setProperty("--radix-popper-available-height","".concat(i,"px")),s.setProperty("--radix-popper-anchor-width","".concat(o,"px")),s.setProperty("--radix-popper-anchor-height","".concat(a,"px"))}}),J&&((e,t)=>({...(e=>({name:"arrow",options:e,fn(t){let{element:r,padding:n}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?eO({element:r.current,padding:n}).fn(t):{}:r?eO({element:r,padding:n}).fn(t):{}}}))(e),options:[e,t]}))({element:J,padding:N}),e2({arrowWidth:et,arrowHeight:er}),H&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r}=t,{strategy:n="referenceHidden",...i}=b(e,t);switch(n){case"referenceHidden":{let e=U(await M(t,{...i,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:F(e)}}}case"escaped":{let e=U(await M(t,{...i,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:F(e)}}}default:return{}}}}}(e),options:[e,t]}))({strategy:"referenceHidden",...ea})]}),[ep,ev]=e6(el),eg=(0,eF.c)(G);(0,eD.N)(()=>{ef&&(null==eg||eg())},[ef,eg]);let em=null==(r=ed.arrow)?void 0:r.x,eb=null==(i=ed.arrow)?void 0:i.y,ew=(null==(a=ed.arrow)?void 0:a.centerOffset)!==0,[ex,eS]=n.useState();return(0,eD.N)(()=>{Q&&eS(window.getComputedStyle(Q).zIndex)},[Q]),(0,eM.jsx)("div",{ref:es.setFloating,"data-radix-popper-content-wrapper":"",style:{...eu,transform:ef?eu.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ex,"--radix-popper-transform-origin":[null==(s=ed.transformOrigin)?void 0:s.x,null==(u=ed.transformOrigin)?void 0:u.y].join(" "),...(null==(l=ed.hide)?void 0:l.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eM.jsx)(eQ,{scope:p,placedSide:ep,onArrowChange:Z,arrowX:em,arrowY:eb,shouldHideArrow:ew,children:(0,eM.jsx)(ej.sG.div,{"data-side":ep,"data-align":ev,...K,ref:Y,style:{...K.style,animation:ef?void 0:"none"}})})})});eY.displayName=e$;var eJ="PopperArrow",eZ={top:"bottom",right:"left",bottom:"top",left:"right"},e0=n.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,i=eX(eJ,r),o=eZ[i.placedSide];return(0,eM.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,eM.jsx)(eU,{...n,ref:t,style:{...n.style,display:"block"}})})});function e1(e){return null!==e}e0.displayName=eJ;var e2=e=>({name:"transformOrigin",options:e,fn(t){var r,n,i,o,a;let{placement:s,rects:u,middlewareData:l}=t,c=(null==(r=l.arrow)?void 0:r.centerOffset)!==0,f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[h,p]=e6(s),v={start:"0%",center:"50%",end:"100%"}[p],g=(null!=(o=null==(n=l.arrow)?void 0:n.x)?o:0)+f/2,y=(null!=(a=null==(i=l.arrow)?void 0:i.y)?a:0)+d/2,m="",b="";return"bottom"===h?(m=c?v:"".concat(g,"px"),b="".concat(-d,"px")):"top"===h?(m=c?v:"".concat(g,"px"),b="".concat(u.floating.height+d,"px")):"right"===h?(m="".concat(-d,"px"),b=c?v:"".concat(y,"px")):"left"===h&&(m="".concat(u.floating.width+d,"px"),b=c?v:"".concat(y,"px")),{data:{x:m,y:b}}}});function e6(e){let[t,r="center"]=e.split("-");return[t,r]}var e3=r(33567),e5=r(52535),e8=r(97963),e4=r(36648),e9=r(11746),e7=r(50465),te="Popover",[tt,tr]=(0,a.A)(te,[ez]),tn=ez(),[ti,to]=tt(te),ta=e=>{let{__scopePopover:t,children:r,open:i,defaultOpen:o,onOpenChange:a,modal:s=!1}=e,u=tn(t),l=n.useRef(null),[f,d]=n.useState(!1),[h,p]=(0,e4.i)({prop:i,defaultProp:null!=o&&o,onChange:a,caller:te});return(0,eM.jsx)(eW,{...u,children:(0,eM.jsx)(ti,{scope:t,contentId:(0,c.B)(),triggerRef:l,open:h,onOpenChange:p,onOpenToggle:n.useCallback(()=>p(e=>!e),[p]),hasCustomAnchor:f,onCustomAnchorAdd:n.useCallback(()=>d(!0),[]),onCustomAnchorRemove:n.useCallback(()=>d(!1),[]),modal:s,children:r})})};ta.displayName=te;var ts="PopoverAnchor";n.forwardRef((e,t)=>{let{__scopePopover:r,...i}=e,o=to(ts,r),a=tn(r),{onCustomAnchorAdd:s,onCustomAnchorRemove:u}=o;return n.useEffect(()=>(s(),()=>u()),[s,u]),(0,eM.jsx)(eK,{...a,...i,ref:t})}).displayName=ts;var tu="PopoverTrigger",tl=n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,a=to(tu,r),s=tn(r),u=(0,o.s)(t,a.triggerRef),l=(0,eM.jsx)(ej.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":tS(a.open),...n,ref:u,onClick:(0,i.mK)(e.onClick,a.onOpenToggle)});return a.hasCustomAnchor?l:(0,eM.jsx)(eK,{asChild:!0,...s,children:l})});tl.displayName=tu;var tc="PopoverPortal",[tf,td]=tt(tc,{forceMount:void 0}),th=e=>{let{__scopePopover:t,forceMount:r,children:n,container:i}=e,o=to(tc,t);return(0,eM.jsx)(tf,{scope:t,forceMount:r,children:(0,eM.jsx)(e5.C,{present:r||o.open,children:(0,eM.jsx)(e3.Z,{asChild:!0,container:i,children:n})})})};th.displayName=tc;var tp="PopoverContent",tv=n.forwardRef((e,t)=>{let r=td(tp,e.__scopePopover),{forceMount:n=r.forceMount,...i}=e,o=to(tp,e.__scopePopover);return(0,eM.jsx)(e5.C,{present:n||o.open,children:o.modal?(0,eM.jsx)(ty,{...i,ref:t}):(0,eM.jsx)(tm,{...i,ref:t})})});tv.displayName=tp;var tg=(0,e8.TL)("PopoverContent.RemoveScroll"),ty=n.forwardRef((e,t)=>{let r=to(tp,e.__scopePopover),a=n.useRef(null),s=(0,o.s)(t,a),u=n.useRef(!1);return n.useEffect(()=>{let e=a.current;if(e)return(0,e9.Eq)(e)},[]),(0,eM.jsx)(e7.A,{as:tg,allowPinchZoom:!0,children:(0,eM.jsx)(tb,{...e,ref:s,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.mK)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),u.current||null==(t=r.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,i.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;u.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,i.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),tm=n.forwardRef((e,t)=>{let r=to(tp,e.__scopePopover),i=n.useRef(!1),o=n.useRef(!1);return(0,eM.jsx)(tb,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,a;null==(n=e.onCloseAutoFocus)||n.call(e,t),t.defaultPrevented||(i.current||null==(a=r.triggerRef.current)||a.focus(),t.preventDefault()),i.current=!1,o.current=!1},onInteractOutside:t=>{var n,a;null==(n=e.onInteractOutside)||n.call(e,t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let s=t.target;(null==(a=r.triggerRef.current)?void 0:a.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),tb=n.forwardRef((e,t)=>{let{__scopePopover:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:a,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:h,...p}=e,v=to(tp,r),g=tn(r);return(0,u.Oh)(),(0,eM.jsx)(l.n,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:o,children:(0,eM.jsx)(s.qW,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:h,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:d,onDismiss:()=>v.onOpenChange(!1),children:(0,eM.jsx)(eY,{"data-state":tS(v.open),role:"dialog",id:v.contentId,...g,...p,ref:t,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),tw="PopoverClose";n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,o=to(tw,r);return(0,eM.jsx)(ej.sG.button,{type:"button",...n,ref:t,onClick:(0,i.mK)(e.onClick,()=>o.onOpenChange(!1))})}).displayName=tw;var tx=n.forwardRef((e,t)=>{let{__scopePopover:r,...n}=e,i=tn(r);return(0,eM.jsx)(e0,{...i,...n,ref:t})});function tS(e){return e?"open":"closed"}tx.displayName="PopoverArrow";var tE=ta,tC=tl,tk=th,t_=tv,tA=tx},58347:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(92174)._(r(77976)).default.createContext({})},59498:(e,t,r)=>{e.exports=r(68622)()},60964:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(62468);let i=(0,r(48746).Ht)(n.Ay,e=>(t,r,n)=>(n.revalidateOnFocus=!1,n.revalidateIfStale=!1,n.revalidateOnReconnect=!1,e(t,r,n)))},62468:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>p,BE:()=>h});var n=r(77976),i=r(32976),o=r(64784),a=r(30973),s=r(48746);let u=()=>{},l=u();new WeakMap;let c=n.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}}),f={dedupe:!0},d=Promise.resolve(o.U),h=o.O.defineProperty(o.g,"defaultValue",{value:o.d}),p=(0,s.qm)((e,t,r)=>{let{cache:u,compare:l,suspense:h,fallbackData:p,revalidateOnMount:v,revalidateIfStale:g,refreshInterval:y,refreshWhenHidden:m,refreshWhenOffline:b,keepPreviousData:w}=r,[x,S,E,C]=o.b.get(u),[k,_]=(0,o.s)(e),A=(0,n.useRef)(!1),O=(0,n.useRef)(!1),T=(0,n.useRef)(k),P=(0,n.useRef)(t),R=(0,n.useRef)(r),N=()=>R.current.isVisible()&&R.current.isOnline(),[I,L,j,M]=(0,o.z)(u,k),U=(0,n.useRef)({}).current,F=(0,o.e)(p)?(0,o.e)(r.fallback)?o.U:r.fallback[k]:p,D=(e,t)=>{for(let r in U)if("data"===r){if(!l(e[r],t[r])&&(!(0,o.e)(e[r])||!l($,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},B=(0,n.useMemo)(()=>{let e=!!k&&!!t&&((0,o.e)(v)?!R.current.isPaused()&&!h&&!1!==g:v),r=t=>{let r=(0,o.m)(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=I(),i=M(),a=r(n),s=n===i?a:r(i),u=a;return[()=>{let e=r(I());return D(e,u)?(u.data=e.data,u.isLoading=e.isLoading,u.isValidating=e.isValidating,u.error=e.error,u):(u=e,e)},()=>s]},[u,k]),V=(0,i.useSyncExternalStore)((0,n.useCallback)(e=>j(k,(t,r)=>{D(r,t)||e()}),[u,k]),B[0],B[1]),z=!A.current,H=x[k]&&x[k].length>0,q=V.data,W=(0,o.e)(q)?F&&(0,o.B)(F)?c(F):F:q,G=V.error,K=(0,n.useRef)(W),$=w?(0,o.e)(q)?(0,o.e)(K.current)?W:K.current:q:W,Q=(!H||!!(0,o.e)(G))&&(z&&!(0,o.e)(v)?v:!R.current.isPaused()&&(h?!(0,o.e)(W)&&g:(0,o.e)(W)||g)),X=!!(k&&t&&z&&Q),Y=(0,o.e)(V.isValidating)?X:V.isValidating,J=(0,o.e)(V.isLoading)?X:V.isLoading,Z=(0,n.useCallback)(async e=>{let t,n,i=P.current;if(!k||!i||O.current||R.current.isPaused())return!1;let s=!0,u=e||{},c=!E[k]||!u.dedupe,f=()=>o.I?!O.current&&k===T.current&&A.current:k===T.current,d={isValidating:!1,isLoading:!1},h=()=>{L(d)},p=()=>{let e=E[k];e&&e[1]===n&&delete E[k]},v={isValidating:!0};(0,o.e)(I().data)&&(v.isLoading=!0);try{if(c&&(L(v),r.loadingTimeout&&(0,o.e)(I().data)&&setTimeout(()=>{s&&f()&&R.current.onLoadingSlow(k,r)},r.loadingTimeout),E[k]=[i(_),(0,o.o)()]),[t,n]=E[k],t=await t,c&&setTimeout(p,r.dedupingInterval),!E[k]||E[k][1]!==n)return c&&f()&&R.current.onDiscarded(k),!1;d.error=o.U;let e=S[k];if(!(0,o.e)(e)&&(n{let t=x[k];t&&t[0]&&t[0](a.I0,e)},{retryCount:(u.retryCount||0)+1,dedupe:!0})))}return s=!1,h(),!0},[k,u]),ee=(0,n.useCallback)((...e)=>(0,o.n)(u,T.current,...e),[]);if((0,o.u)(()=>{P.current=t,R.current=r,(0,o.e)(q)||(K.current=q)}),(0,o.u)(()=>{if(!k)return;let e=Z.bind(o.U,f),t=0;R.current.revalidateOnFocus&&(t=Date.now()+R.current.focusThrottleInterval);let r=(0,s.aw)(k,x,(r,n={})=>{if(r==a.CC){let r=Date.now();R.current.revalidateOnFocus&&r>t&&N()&&(t=r+R.current.focusThrottleInterval,e())}else if(r==a.jB)R.current.revalidateOnReconnect&&N()&&e();else if(r==a.q2)return Z();else if(r==a.I0)return Z(n)});return O.current=!1,T.current=k,A.current=!0,L({_k:_}),Q&&!E[k]&&((0,o.e)(W)||o.r?e():(0,o.t)(e)),()=>{O.current=!0,r()}},[k]),(0,o.u)(()=>{let e;function t(){let t=(0,o.a)(y)?y(I().data):y;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!I().error&&(m||R.current.isVisible())&&(b||R.current.isOnline())?Z(f).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[y,m,b,k]),(0,n.useDebugValue)($),h){let e=k&&(0,o.e)(W);if(!o.I&&o.r&&e)throw Error("Fallback data is required when using Suspense in SSR.");e&&(P.current=t,R.current=r,O.current=!1);let n=C[k];if(c(!(0,o.e)(n)&&e?ee(n):d),!(0,o.e)(G)&&e)throw G;let i=e?Z(f):d;!(0,o.e)($)&&e&&(i.status="fulfilled",i.value=!0),c(i)}return{mutate:ee,get data(){return U.data=!0,$},get error(){return U.error=!0,G},get isValidating(){return U.isValidating=!0,Y},get isLoading(){return U.isLoading=!0,J}}})},63230:(e,t,r)=>{"use strict";r.d(t,{aj:()=>e4});var n,i,o=r(29236).hp,a=function(e,t){return(a=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function s(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var u=function(){return(u=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])&&(6===l[0]||2===l[0])){a=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function d(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function h(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i>6|192:((64512&i)==55296&&n+1>18|240,t[r++]=i>>12&63|128):t[r++]=i>>12|224,t[r++]=i>>6&63|128),t[r++]=63&i|128)}return Uint8Array.from(t)},g=function(e,t){void 0===t&&(t=0);for(var r=v(e),n=r.length,i=n>>2,o=t,a=0;a>>0},y=function(e,t){var r=e,n=t;return n^=r=Math.imul(r=b(r=Math.imul(r,-0x3361d2af),15),0x1b873593),(n=Math.imul(n=b(n,13),5))+-0x19ab949c|0},m=function(e){var t=e;return t^=t>>>16,t=Math.imul(t,-0x7a143595),t^=t>>>13,t=Math.imul(t,-0x3d4d51cb),t^=t>>>16},b=function(e,t,r){void 0===r&&(r=32),t>r&&(t%=r);var n=(e&0xffffffff>>0)>>>0>>>r-t>>>0;return(e>>0},w=function(e,t){return void 0===t&&(t=0),x(e[t]>>24|(0xff0000&e)>>>8|(65280&e)e.major)return 1;if(this.majore.minor)return 1;if(this.minore.patch)return 1;if(this.patche.preRelease)return 1;if(this.preRelease=v&&l=w&&cr;case p.GREATER_THAN_EQUALS:case p.VERSION_GREATER_THAN_EQUALS:return e>=r;default:return!1}},e.prototype.versionComparator=function(e,t,r){var n=e.compareTo(r);switch(t){case p.LESS_THAN:case p.VERSION_LESS_THAN:return n0;case p.GREATER_THAN_EQUALS:case p.VERSION_GREATER_THAN_EQUALS:return n>=0;default:return!1}},e.prototype.matchesRegex=function(e,t){return t.some(function(t){return!!new RegExp(t).exec(e)})},e.prototype.containsNone=function(e){return e.some(function(e){return"(none)"===e})},e.prototype.containsBooleans=function(e){return e.some(function(e){switch(e.toLowerCase()){case"true":case"false":return!0;default:return!1}})},e.prototype.parseNumber=function(e){var t;return null!=(t=Number(e))?t:void 0},e.prototype.coerceString=function(e){if(null!=e)return"object"==typeof e?JSON.stringify(e):String(e)},e.prototype.coerceStringArray=function(e){var t=this;if(Array.isArray(e)){var r=e;return r.map(function(e){return t.coerceString(e)}).filter(Boolean)}var n=String(e);try{var i=JSON.parse(n);if(Array.isArray(i)){var r=e;return r.map(function(e){return t.coerceString(e)}).filter(Boolean)}var o=this.coerceString(n);return o?[o]:void 0}catch(e){var o=this.coerceString(n);return o?[o]:void 0}},e.prototype.isSetOperator=function(e){switch(e){case p.SET_IS:case p.SET_IS_NOT:case p.SET_CONTAINS:case p.SET_DOES_NOT_CONTAIN:case p.SET_CONTAINS_ANY:case p.SET_DOES_NOT_CONTAIN_ANY:return!0;default:return!1}},e.prototype.setEquals=function(e,t){var r=new Set(e),n=new Set(t);return r.size===n.size&&h([],d(n),!1).every(function(e){return r.has(e)})},e.prototype.matchesSetContainsAll=function(e,t){var r,n;if(e.length{let t={};return e.forEach((e,r)=>t[e]=r),t})(I),j=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,M=String.fromCharCode.bind(String),U="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),F=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),D=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),B=T?e=>btoa(e):P?e=>o.from(e,"binary").toString("base64"):e=>{let t,r,n,i,o="",a=e.length%3;for(let a=0;a255||(n=e.charCodeAt(a++))>255||(i=e.charCodeAt(a++))>255)throw TypeError("invalid character found");o+=I[(t=r>18&63]+I[t>>12&63]+I[t>>6&63]+I[63&t]}return a?o.slice(0,a-3)+"===".substring(a):o},V=P?e=>o.from(e).toString("base64"):e=>{let t=[];for(let r=0,n=e.length;r{if(e.length>>6)+M(128|63&t):M(224|t>>>12&15)+M(128|t>>>6&63)+M(128|63&t)}var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return M(240|t>>>18&7)+M(128|t>>>12&63)+M(128|t>>>6&63)+M(128|63&t)},H=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,q=P?e=>o.from(e,"utf8").toString("base64"):N?e=>V(N.encode(e)):e=>B(e.replace(H,z)),W=(e,t=!1)=>t?F(q(e)):q(e),G=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,K=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))>>10)+55296)+M((1023&t)+56320);case 3:return M((15&e.charCodeAt(0))atob(D(e)):P?e=>o.from(e,"base64").toString("binary"):e=>{if(e=e.replace(/\s+/g,""),!j.test(e))throw TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,r="",n,i;for(let o=0;o>16&255):64===i?M(t>>16&255,t>>8&255):M(t>>16&255,t>>8&255,255&t);return r},Q=P?e=>U(o.from(e,"base64")):e=>U($(e).split("").map(e=>e.charCodeAt(0))),X=P?e=>o.from(e,"base64").toString("utf8"):R?e=>R.decode(Q(e)):e=>$(e).replace(G,K),Y={encodeURL:e=>W(e,!0)};var J=function(e){function t(r,n){var i=e.call(this,n)||this;return i.statusCode=r,Object.setPrototypeOf(i,t.prototype),i}return s(t,e),t}(Error),Z=function(e){function t(r){var n=e.call(this,r)||this;return Object.setPrototypeOf(n,t.prototype),n}return s(t,e),t}(Error),ee=function(){function e(e,t,r){this.deploymentKey=e,this.serverUrl=t,this.httpClient=r}return e.prototype.getVariants=function(e,t){return l(this,void 0,void 0,function(){var r,n,i,o;return c(this,function(a){switch(a.label){case 0:return r=Y.encodeURL(JSON.stringify(e)),n={Authorization:"Api-Key ".concat(this.deploymentKey),"X-Amp-Exp-User":r},(null==t?void 0:t.flagKeys)&&(n["X-Amp-Exp-Flag-Keys"]=Y.encodeURL(JSON.stringify(t.flagKeys))),(null==t?void 0:t.trackingOption)&&(n["X-Amp-Exp-Track"]=t.trackingOption),i=new URL("".concat(this.serverUrl,"/sdk/v2/vardata?v=0")),(null==t?void 0:t.evaluationMode)&&i.searchParams.append("eval_mode",null==t?void 0:t.evaluationMode),(null==t?void 0:t.deliveryMethod)&&i.searchParams.append("delivery_method",null==t?void 0:t.deliveryMethod),[4,this.httpClient.request({requestUrl:i.toString(),method:"GET",headers:n,timeoutMillis:null==t?void 0:t.timeoutMillis})];case 1:if(200!=(o=a.sent()).status)throw new J(o.status,"Fetch error response: status=".concat(o.status));return[2,JSON.parse(o.body)]}})})},e}(),et=function(){function e(e,t,r){this.deploymentKey=e,this.serverUrl=t,this.httpClient=r}return e.prototype.getFlags=function(e){return l(this,void 0,void 0,function(){var t,r;return c(this,function(n){switch(n.label){case 0:return t={Authorization:"Api-Key ".concat(this.deploymentKey)},(null==e?void 0:e.libraryName)&&(null==e?void 0:e.libraryVersion)&&(t["X-Amp-Exp-Library"]="".concat(e.libraryName,"/").concat(e.libraryVersion)),(null==e?void 0:e.user)&&(t["X-Amp-Exp-User"]=Y.encodeURL(JSON.stringify(e.user))),[4,this.httpClient.request({requestUrl:"".concat(this.serverUrl,"/sdk/v2/flags")+((null==e?void 0:e.deliveryMethod)?"?delivery_method=".concat(e.deliveryMethod):""),method:"GET",headers:t,timeoutMillis:null==e?void 0:e.timeoutMillis})];case 1:if(200!=(r=n.sent()).status)throw Error("Flags error response: status=".concat(r.status));return[2,JSON.parse(r.body).reduce(function(e,t){return e[t.key]=t,e},{})]}})})},e}(),er="undefined"!=typeof globalThis?globalThis:r.g||self,en=function(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof self?self:void 0!==r.g?r.g:void 0},ei=function(){var e=en();if(e)try{var t="EXP_test";return e.localStorage.setItem(t,t),e.localStorage.removeItem(t),!0}catch(e){}return!1},eo=function(){function e(e,t){this.poller=void 0,this.action=e,this.ms=t}return e.prototype.start=function(){this.poller||(this.poller=er.setInterval(this.action,this.ms),this.action())},e.prototype.stop=function(){this.poller&&(er.clearInterval(this.poller),this.poller=void 0)},e}(),ea=function(){function e(){}return e.prototype.getApplicationContext=function(){return{versionName:this.versionName,language:es(),platform:"Web",os:void 0,deviceModel:void 0}},e}(),es=function(){return"undefined"!=typeof navigator&&(navigator.languages&&navigator.languages[0]||navigator.language)||""},eu=function(){function e(){this.queue=[]}return e.prototype.logEvent=function(e){this.receiver?this.receiver(e):this.queue.length0&&(this.queue.forEach(function(t){e(t)}),this.queue=[])},e}(),el=function(){return(el=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ef(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}"function"==typeof SuppressedError&&SuppressedError;var ed=function(e,t){var r,n,i=typeof e;if(i!==typeof t)return!1;try{for(var o=ec(["string","number","boolean","undefined"]),a=o.next();!a.done;a=o.next())if(a.value===i)return e===t}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}if(null==e&&null==t)return!0;if(null==e||null==t||e.length!==t.length)return!1;var s=Array.isArray(e),u=Array.isArray(t);if(s!==u)return!1;if(s&&u){for(var l=0;l0&&i[i.length-1])&&(6===l[0]||2===l[0])){o=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ex(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function eS(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i=2&&p[1]&&(v=atob(p[1])),{deviceId:p[0],userId:v}}catch(e){return}},eC=function(e){var t=e_(e,!0);try{var r=er.localStorage.getItem(t);if(!r)return;var n=JSON.parse(r);if("object"!=typeof n)return;return n}catch(e){return}},ek=function(e){var t=e_(e,!0);try{var r=er.sessionStorage.getItem(t);if(!r)return;var n=JSON.parse(r);if("object"!=typeof n)return;return n}catch(e){return}},e_=function(e,t){if(t){if((null==e?void 0:e.length)this.maxQueueSize&&(this.inMemoryQueue=this.inMemoryQueue.slice(this.inMemoryQueue.length-this.maxQueueSize)),er.localStorage.setItem(this.storageKey,JSON.stringify(this.inMemoryQueue)))},e.prototype.loadFlushStore=function(){this.loadQueue(),this.flush(),this.storeQueue()},e}(),eU=function(){var e=en();if(e)try{var t="EXP_test";return e.sessionStorage.setItem(t,t),e.sessionStorage.removeItem(t),!0}catch(e){}return!1},eF=function(){function e(){this.globalScope=en()}return e.prototype.get=function(e){var t;return null==(t=this.globalScope)?void 0:t.localStorage.getItem(e)},e.prototype.put=function(e,t){var r;null==(r=this.globalScope)||r.localStorage.setItem(e,t)},e.prototype.delete=function(e){var t;null==(t=this.globalScope)||t.localStorage.removeItem(e)},e}(),eD=function(e,t,r){var n=e.substring(e.length-6);return new eV("amp-exp-".concat(t,"-").concat(n),r,ez)},eB=function(e,t,r){void 0===r&&(r=new eF);var n=e.substring(e.length-6);return new eV("amp-exp-".concat(t,"-").concat(n,"-flags"),r)},eV=function(){function e(e,t,r){this.cache={},this.namespace=e,this.storage=t,this.transformer=r}return e.prototype.get=function(e){return this.cache[e]},e.prototype.getAll=function(){return ey({},this.cache)},e.prototype.put=function(e,t){this.cache[e]=t},e.prototype.putAll=function(e){var t,r;try{for(var n=ew(Object.keys(e)),i=n.next();!i.done;i=n.next()){var o=i.value;this.cache[o]=e[o]}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},e.prototype.remove=function(e){delete this.cache[e]},e.prototype.clear=function(){this.cache={}},e.prototype.load=function(){var e,t,r,n=this.storage.get(this.namespace);try{r=JSON.parse(n)||{}}catch(e){return}var i={};try{for(var o=ew(Object.keys(r)),a=o.next();!a.done;a=o.next()){var s=a.value;try{var u=void 0;(u=this.transformer?this.transformer(r[s]):r[s])&&(i[s]=u)}catch(e){}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}this.clear(),this.putAll(i)},e.prototype.store=function(e){void 0===e&&(e=this.cache),this.storage.put(this.namespace,JSON.stringify(e))},e}(),ez=function(e){if("string"==typeof e)return{key:e,value:e};if("object"==typeof e){var t=e.key,r=e.value,n=e.payload,i=e.metadata,o=e.expKey;i&&i.experimentKey?o=i.experimentKey:o&&((i=i||{}).experimentKey=o);var a={};return t?a.key=t:r&&(a.key=r),r&&(a.value=r),i&&(a.metadata=i),n&&(a.payload=n),o&&(a.expKey=o),a}},eH=function(){function e(){this.globalScope=en()}return e.prototype.get=function(e){var t;return null==(t=this.globalScope)?void 0:t.sessionStorage.getItem(e)},e.prototype.put=function(e,t){var r;null==(r=this.globalScope)||r.sessionStorage.setItem(e,t)},e.prototype.delete=function(e){var t;null==(t=this.globalScope)||t.sessionStorage.removeItem(e)},e}(),eq=function(e,t,r,n){var i,o=null==r?void 0:r.value,a="[Experiment] ".concat(t);return{name:"[Experiment] Exposure",user:e,key:t,variant:r,userProperty:a,properties:{key:t,variant:o,source:n},userProperties:((i={})[a]=o,i)}},eW=function(e){return null==e},eG=function(e){return!!eW(e)||e&&0===Object.keys(e).length},eK=function(e){if(!e||"object"!=typeof e)return{};var t,r,n={};try{for(var i=ew(Object.entries(e)),o=i.next();!o.done;o=i.next()){var a=ex(o.value,2),s=a[0],u=a[1];eW(u)||(n[s]=u)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n},e$=function(e){var t;return(null==(t=null==e?void 0:e.metadata)?void 0:t.evaluationMode)==="local"},eQ=function(){function e(e,t,r,n){this.started=!1,this.done=!1,this.attempts=e,this.min=t,this.max=r,this.scalar=n}return e.prototype.start=function(e){return em(this,void 0,void 0,function(){return eb(this,function(t){switch(t.label){case 0:if(this.started)throw Error("Backoff already started");return this.started=!0,[4,this.backoff(e,0,this.min)];case 1:return t.sent(),[2]}})})},e.prototype.cancel=function(){this.done=!0,clearTimeout(this.timeoutHandle)},e.prototype.backoff=function(e,t,r){return em(this,void 0,void 0,function(){var n=this;return eb(this,function(i){return this.done||(this.timeoutHandle=er.setTimeout(function(){return em(n,void 0,void 0,function(){var n,i;return eb(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,e()];case 1:return o.sent(),[3,3];case 2:return o.sent(),(n=t+1)0&&f[0]){var d=f[0],h={group_name:d},p=null==(i=null==(n=e.group_properties)?void 0:n[c])?void 0:i[d];p&&Object.keys(p).length>0&&(h.group_properties=p),s[c]=h}}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}return Object.keys(s).length>0&&(o.groups=s),delete o.user.groups,delete o.user.group_properties,o},eY=function(e){return null==e?{}:"string"==typeof e?{key:e,value:e}:e},eJ=function(e){if(!e)return{};var t=void 0;e.metadata&&(t=e.metadata.experimentKey);var r={};return e.key&&(r.key=e.key),e.value&&(r.value=e.value),e.payload&&(r.payload=e.payload),t&&(r.expKey=t),e.metadata&&(r.metadata=e.metadata),r},eZ=function(){function e(e){this.setProperties={},this.unsetProperties={},this.analyticsProvider=e}return e.prototype.track=function(e){this.setProperties[e.key]!=e.variant.value&&(this.setProperties[e.key]=e.variant.value,delete this.unsetProperties[e.key],this.analyticsProvider.track(e))},e.prototype.setUserProperty=function(e){this.setProperties[e.key]!=e.variant.value&&this.analyticsProvider.setUserProperty(e)},e.prototype.unsetUserProperty=function(e){this.unsetProperties[e.key]||(this.unsetProperties[e.key]="unset",delete this.setProperties[e.key],this.analyticsProvider.unsetUserProperty(e))},e}(),e0=function(){function e(e){this.tracked={},this.exposureTrackingProvider=e}return e.prototype.track=function(e){var t=this.tracked[e.flag_key];t&&t.variant===e.variant||(this.tracked[e.flag_key]=e,this.exposureTrackingProvider.track(e))},e}(),e1=function(){function e(e,t){var r,n,i,o,a,s=this;this.engine=new k,this.isRunning=!1,this.apiKey=e,t=eK(t),this.config=ey(ey(ey({},eN),t),{serverUrl:(null==t?void 0:t.serverUrl)||((null==(r=null==t?void 0:t.serverZone)?void 0:r.toLowerCase())==="eu"?"https://api.lab.eu.amplitude.com":eN.serverUrl),flagsServerUrl:(null==t?void 0:t.flagsServerUrl)||((null==(n=null==t?void 0:t.serverZone)?void 0:n.toLowerCase())==="eu"?"https://flag.lab.eu.amplitude.com":eN.flagsServerUrl),flagConfigPollingIntervalMillis:t.flagConfigPollingIntervalMillis=500||429===e.statusCode},e.prototype.addPlugin=function(e){"integration"===e.type&&this.integrationManager.setIntegration(e)},e}(),e2=function(){function e(e,t){var r,n,i;this.globalScope=en(),this.userAgent=void 0!==(null==(r=this.globalScope)?void 0:r.navigator)?null==(n=this.globalScope)?void 0:n.navigator.userAgent:void 0,this.ua=new eg.UAParser(this.userAgent).getResult(),this.localStorage=new eF,this.sessionStorage=new eH,this.userProvider=e,this.apiKey=t,this.storageKey="EXP_".concat(null==(i=this.apiKey)?void 0:i.slice(0,10),"_DEFAULT_USER_PROVIDER")}return e.prototype.getUser=function(){var e,t,r,n,i,o=(null==(e=this.userProvider)?void 0:e.getUser())||{};return ey({language:this.getLanguage(),platform:"Web",os:this.getOs(this.ua),device_model:this.getDeviceModel(this.ua),device_category:null!=(r=null==(t=this.ua.device)?void 0:t.type)?r:"desktop",referring_url:null==(i=null==(n=this.globalScope)?void 0:n.document)?void 0:i.referrer.replace(/\/$/,""),cookie:this.getCookie(),browser:this.getBrowser(this.ua),landing_url:this.getLandingUrl(),first_seen:this.getFirstSeen(),url_param:this.getUrlParam(),user_agent:this.userAgent},o)},e.prototype.getLanguage=function(){return"undefined"!=typeof navigator&&(navigator.languages&&navigator.languages[0]||navigator.language)||""},e.prototype.getOs=function(e){var t,r;return[null==(t=e.browser)?void 0:t.name,null==(r=e.browser)?void 0:r.major].filter(function(e){return null!=e}).join(" ")},e.prototype.getDeviceModel=function(e){var t;return null==(t=e.os)?void 0:t.name},e.prototype.getBrowser=function(e){var t,r=null==(t=e.browser)?void 0:t.name;return(null==r?void 0:r.includes("Chrom"))&&(r="Chrome"),(null==r?void 0:r.includes("Firefox"))&&(r="Firefox"),(null==r?void 0:r.includes("Safari"))&&(r="Safari"),(null==r?void 0:r.includes("Edge"))&&(r="Edge"),(null==r?void 0:r.includes("Opera"))&&(r="Opera"),r},e.prototype.getCookie=function(){var e,t,r,n,i;if(null==(t=null==(e=this.globalScope)?void 0:e.document)?void 0:t.cookie)return Object.fromEntries(null==(i=null==(n=null==(r=this.globalScope)?void 0:r.document)?void 0:n.cookie)?void 0:i.split("; ").map(function(e){return e.split("=")}))},e.prototype.getLandingUrl=function(){var e,t;try{var r=JSON.parse(this.sessionStorage.get(this.storageKey)||"{}");return r.landing_url||(r.landing_url=null==(t=null==(e=this.globalScope)?void 0:e.location)?void 0:t.href.replace(/\/$/,""),this.sessionStorage.put(this.storageKey,JSON.stringify(r))),r.landing_url}catch(e){return}},e.prototype.getFirstSeen=function(){try{var e=JSON.parse(this.localStorage.get(this.storageKey)||"{}");return e.first_seen||(e.first_seen=(Date.now()/1e3).toString(),this.localStorage.put(this.storageKey,JSON.stringify(e))),e.first_seen}catch(e){return}},e.prototype.getUrlParam=function(){if(this.globalScope){var e,t,r,n={};try{var i=new URL(this.globalScope.location.href);try{for(var o=ew(i.searchParams),a=o.next();!a.done;a=o.next()){var s=ex(a.value,2),u=s[0],l=s[1];n[u]=eS(eS([],ex(null!=(r=n[u])?r:[]),!1),ex(l.split(",")),!1)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}}catch(e){return}return Object.entries(n).reduce(function(e,t){var r=ex(t,2),n=r[0],i=r[1];return e[n]=1==i.length?i[0]:i,e},{})}},e}();er.experimentInstances={};var e6=er.experimentInstances,e3=function(e){return(null==e?void 0:e.instanceName)||eN.instanceName},e5=function(e,t){var r=e3(t),n=null==t?void 0:t.internalInstanceNameSuffix;return n?"".concat(r,".").concat(e,".").concat(n):"".concat(r,".").concat(e)},e8=function(e,t,r){var n=e5(e,t),i=e6[n];return i?i:(i=new e1(e,ey(ey({},t),{userProvider:new e2(null==t?void 0:t.userProvider,e)})),r&&i.addPlugin(r()),e6[n]=i,i)},e4={initialize:function(e,t){return e8(e,t)},initializeWithAmplitudeAnalytics:function(e,t){return e8(e,t,function(){return new eA(e,ev.getInstance(e3(t)),1e4)})}};!function(){function e(){}e.prototype.getUser=function(){return{}},e.prototype.start=function(e){return em(this,void 0,void 0,function(){return eb(this,function(e){return[2]})})},e.prototype.stop=function(){},e.prototype.setUser=function(e){},e.prototype.fetch=function(e,t){return em(this,void 0,void 0,function(){return eb(this,function(e){return[2,this]})})},e.prototype.getUserProvider=function(){return null},e.prototype.setUserProvider=function(e){return this},e.prototype.variant=function(e,t){return eN.fallbackVariant},e.prototype.all=function(){return{}},e.prototype.clear=function(){},e.prototype.exposure=function(e){}}()},63660:(e,t,r)=>{"use strict";r.d(t,{hO:()=>u,sG:()=>s});var n=r(77976),i=r(97881),o=r(97963),a=r(16852),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,o.TL)(`Primitive.${t}`),i=n.forwardRef((e,n)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(i?r:t,{...o,ref:n})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function u(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},64133:(e,t,r)=>{"use strict";r.d(t,{I:()=>B});var n=r(98540);let i=e=>e,o=e=>({_tag:"Left",value:e}),a=e=>({_tag:"Right",value:e}),s={dimap:(e,t,r)=>n=>t(r(e(n))),first:e=>([t,r])=>[e(t),r],right:e=>t=>"Left"===t._tag?t:a(e(t.value)),wander:e=>t=>t.map(e)},u={empty:()=>void 0,foldMap:(e,t)=>{for(let r=0;r[],foldMap:(e,t)=>{let r=[];return t.forEach(t=>{r=r.concat(e(t))}),r}},c=e=>({dimap:(e,t,r)=>t=>r(e(t)),first:e=>([t,r])=>e(t),right:t=>r=>"Left"===r._tag?e.empty():t(r.value),wander:t=>r=>e.foldMap(t,r)}),f={Equivalence:{Equivalence:"Equivalence",Iso:"Iso",Lens:"Lens",Prism:"Prism",Traversal:"Traversal",Getter:"Getter",AffineFold:"AffineFold",Fold:"Fold",Setter:"Setter"},Iso:{Equivalence:"Iso",Iso:"Iso",Lens:"Lens",Prism:"Prism",Traversal:"Traversal",Getter:"Getter",AffineFold:"AffineFold",Fold:"Fold",Setter:"Setter"},Lens:{Equivalence:"Lens",Iso:"Lens",Lens:"Lens",Prism:"Prism",Traversal:"Traversal",Getter:"Getter",AffineFold:"AffineFold",Fold:"Fold",Setter:"Setter"},Prism:{Equivalence:"Prism",Iso:"Prism",Lens:"Prism",Prism:"Prism",Traversal:"Traversal",Getter:"AffineFold",AffineFold:"AffineFold",Fold:"Fold",Setter:"Setter"},Traversal:{Equivalence:"Traversal",Iso:"Traversal",Lens:"Traversal",Prism:"Traversal",Traversal:"Traversal",Getter:"Fold",AffineFold:"Fold",Fold:"Fold",Setter:"Setter"},Getter:{Equivalence:"Getter",Iso:"Getter",Lens:"Getter",Prism:"AffineFold",Traversal:"Fold",Getter:"Getter",AffineFold:"AffineFold",Fold:"Fold",Setter:void 0},AffineFold:{Equivalence:"AffineFold",Iso:"AffineFold",Lens:"AffineFold",Prism:"AffineFold",Traversal:"Fold",Getter:"AffineFold",AffineFold:"AffineFold",Fold:"Fold",Setter:void 0},Fold:{Equivalence:"Fold",Iso:"Fold",Lens:"Fold",Prism:"Fold",Traversal:"Fold",Getter:"Fold",AffineFold:"Fold",Fold:"Fold",Setter:void 0},Setter:{Equivalence:void 0,Iso:void 0,Lens:void 0,Prism:void 0,Traversal:void 0,Getter:void 0,AffineFold:void 0,Fold:void 0,Setter:void 0}},d=(e,t)=>(t._tag=e,t),h=e=>(e._removable=!0,e);function p(e,t,r){if(2==arguments.length){let r=(r,n)=>e(r,t(r,n));return r._tag=f[e._tag][t._tag],r._removable=t._removable||!1,r}{let n=f[e._tag][t._tag],i=(n,i)=>e(n,t(n,r(n,i)));return i._tag=f[n][r._tag],i._removable=r._removable||!1,i}}let v=d("Equivalence",(e,t)=>t),g=(e,t)=>d("Iso",(r,n)=>r.dimap(e,t,n)),y=(e,t)=>d("Lens",(r,n)=>r.dimap(t=>[e(t),t],t,r.first(n))),m=(e,t)=>d("Prism",(r,n)=>r.dimap(e,e=>((e,t,r)=>"Left"===r._tag?e(r.value):t(r.value))(i,t,e),r.right(n))),b=d("Traversal",(e,t)=>e.dimap(i,i,e.wander(t))),w=(e,t,r)=>e(s,t)(r),x=(e,t)=>e(c(l),e=>[e])(t),S=g(e=>e.map((e,t)=>[t,e]),e=>{let t=[...e].sort((e,t)=>e[0]-t[0]),r=[];for(let e=0;ey(t=>t[e],([t,r])=>Object.assign(Object.assign({},r),{[e]:t})),C=e=>y(t=>t[e],([t,r])=>{let n=r.slice();return n[e]=t,n}),k=C(0),_=e=>m(t=>e(t)?a(t):o(t),i),A=Symbol("__no_match__"),O=_(e=>e!==A),T=Symbol("__remove_me__"),P=e=>h(p(y(t=>0{if(t===A)return r;if(t===T)if("string"==typeof r)return r.substring(0,e)+r.substring(e+1);else return[...r.slice(0,e),...r.slice(e+1)];if("string"==typeof r)return 0===e?t+r.substring(1):e===r.length?r.substring(0,e-1)+t:r.substring(0,e)+t+r.substring(e+1);{let n=r.slice();return n[e]=t,n}}),O)),R=m(e=>void 0===e?o(void 0):a(e),i),N=y(e=>void 0,([e,t])=>void 0===e?t:[e,...t]),I=y(e=>void 0,([e,t])=>void 0===e?t:[...t,e]),L=p(g(e=>e.split(""),e=>e.join("")),b),j=p(g(e=>e.split(/\b/),e=>e.join("")),b,_(e=>!/\s+/.test(e)));class M{constructor(e){this._ref=e}get _tag(){return this._ref._tag}get _removable(){return this._ref._removable}compose(e){return new M(p(this._ref,e._ref))}iso(e,t){return new M(p(this._ref,g(e,t)))}lens(e,t){return new M(p(this._ref,y(e,([e,r])=>t(r,e))))}indexed(){return new M(p(this._ref,S))}prop(e){return new M(p(this._ref,E(e)))}path(...e){return 1===e.length&&(e=e[0].split(".")),new M(e.reduce((e,t)=>p(e,E(t)),this._ref))}pick(e){return new M(p(this._ref,y(t=>{let r={};for(let n of e)r[n]=t[n];return r},([t,r])=>{let n=Object.assign({},r);for(let t of e)delete n[t];return Object.assign(n,t)})))}nth(e){return new M(p(this._ref,C(e)))}filter(e){return new M(p(this._ref,p(y(t=>{let r=t.map((t,r)=>e(t)?r:null).filter(e=>null!=e);return[r.map(e=>t[e]),r]},([[e,t],r])=>{let n=r.length,i=e.length,o=0,a=0,s=0,u=[];for(;ovoid 0===t?e:t,([e,t])=>e)))}partsOf(e){let t,r="function"==typeof e?e(U):e;return new M(p(this._ref,(t=r._ref,p(y(e=>{let r=x(t,e);return[r,r.length]},([[e,r],n])=>{if(e.length!==r)throw Error("cannot add/remove elements through partsOf");let i=0;return w(t,()=>e[i++],n)}),k))))}reread(e){return new M(p(this._ref,y(t=>e(t),([e,t])=>e)))}rewrite(e){return new M(p(this._ref,y(e=>e,([t,r])=>e(t))))}optional(){return new M(p(this._ref,R))}guard_(){return e=>this.guard(e)}guard(e){return new M(p(this._ref,m(t=>e(t)?a(t):o(t),i)))}at(e){return new M(p(this._ref,P(e)))}head(){return new M(p(this._ref,P(0)))}index(e){return new M(p(this._ref,P(e)))}find(e){return new M(p(this._ref,h(p(y(t=>{let r=t.findIndex(e);return -1===r?[A,-1]:[t[r],r]},([[e,t],r])=>{if(e===A)return r;if(e===T)return[...r.slice(0,t),...r.slice(t+1)];let n=r.slice();return n[t]=e,n}),k,O))))}elems(){return new M(p(this._ref,b))}to(e){return new M(p(this._ref,d("Getter",(t,r)=>t.dimap(e,i,r))))}when(e){return new M(p(this._ref,_(e)))}chars(){return new M(p(this._ref,L))}words(){return new M(p(this._ref,j))}prependTo(){return new M(p(this._ref,N))}appendTo(){return new M(p(this._ref,I))}}let U=new M(v),F=(e,t,r)=>(t.has(r)?t:t.set(r,e())).get(r),D=new WeakMap;function B(e,t){let r=F(()=>new WeakMap,D,e);return F(()=>{let r=t(U);return(0,n.eU)(t=>{let n=t(e);return n instanceof Promise?n.then(e=>V(r,e)):V(r,n)},(t,n,i)=>{let o="function"==typeof i?(e=>t=>w(r._ref,e,t))(i):(e=>t=>{let n;return n=r._ref,n(s,()=>e)(t)})(i),a=t(e);return n(e,a instanceof Promise?a.then(o):o(a))})},r,t)}let V=(e,t)=>"Traversal"===e._tag?(t=>x(e._ref,t))(t):"Prism"===e._tag?(t=>{let r;return r=e._ref,r(c(u),i)(t)})(t):(t=>{let r;return r=e._ref,r(c({}),i)(t)})(t)},64784:(e,t,r)=>{"use strict";r.d(t,{B:()=>h,I:()=>k,O:()=>l,S:()=>W,U:()=>u,a:()=>f,b:()=>a,c:()=>V,d:()=>H,e:()=>c,f:()=>q,g:()=>G,i:()=>y,j:()=>z,m:()=>d,n:()=>F,o:()=>U,r:()=>_,s:()=>j,t:()=>A,u:()=>O,z:()=>w});var n=r(77976),i=r(30973),o=Object.prototype.hasOwnProperty;let a=new WeakMap,s=()=>{},u=s(),l=Object,c=e=>e===u,f=e=>"function"==typeof e,d=(e,t)=>({...e,...t}),h=e=>f(e.then),p={},v={},g="undefined",y=typeof window!=g,m=typeof document!=g,b=y&&"Deno"in window,w=(e,t)=>{let r=a.get(e);return[()=>!c(t)&&e.get(t)||p,n=>{if(!c(t)){let i=e.get(t);t in v||(v[t]=i),r[5](t,d(i,n),i||p)}},r[6],()=>!c(t)&&t in v?v[t]:!c(t)&&e.get(t)||p]},x=!0,[S,E]=y&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[s,s],C={initFocus:e=>(m&&document.addEventListener("visibilitychange",e),S("focus",e),()=>{m&&document.removeEventListener("visibilitychange",e),E("focus",e)}),initReconnect:e=>{let t=()=>{x=!0,e()},r=()=>{x=!1};return S("online",t),S("offline",r),()=>{E("online",t),E("offline",r)}}},k=!n.useId,_=!y||b,A=e=>y&&typeof window.requestAnimationFrame!=g?window.requestAnimationFrame(e):setTimeout(e,1),O=_?n.useEffect:n.useLayoutEffect,T="undefined"!=typeof navigator&&navigator.connection,P=!_&&T&&(["slow-2g","2g"].includes(T.effectiveType)||T.saveData),R=new WeakMap,N=(e,t)=>e==="[object ".concat(t,"]"),I=0,L=e=>{let t,r,n=typeof e,i=l.prototype.toString.call(e),o=N(i,"Date"),a=N(i,"RegExp"),s=N(i,"Object");if(l(e)!==e||o||a)t=o?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=R.get(e))return t;if(t=++I+"~",R.set(e,t),Array.isArray(e)){for(r=0,t="@";r{if(f(e))try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?L(e):"",t]},M=0,U=()=>++M;async function F(){for(var e=arguments.length,t=Array(e),r=0;r{let t=b[o];return(f(p.revalidate)?p.revalidate(l().data,e):!1!==p.revalidate)&&(delete S[o],delete E[o],t&&t[0])?t[0](i.q2).then(()=>l().data):l().data};if(t.length{r=e,_=!0}),A!==x[o][0]){if(_)throw r;return k}_&&O&&(e=r,"function"==typeof g?g(e):!1!==g)&&(v=!0,d({data:N,_c:u}))}if(v&&!_&&(f(v)?d({data:v(k,N),error:u,_c:u}):d({data:k,error:u,_c:u})),x[o][1]=U(),Promise.resolve(C()).then(()=>{d({_c:u})}),_){if(m)throw r;return}return k}}let D=(e,t)=>{for(let r in e)e[r][0]&&e[r][0](t)},B=(e,t)=>{if(!a.has(e)){let r=d(C,t),n=Object.create(null),o=F.bind(u,e),l=s,c=Object.create(null),f=(e,t)=>{let r=c[e]||[];return c[e]=r,r.push(t),()=>r.splice(r.indexOf(t),1)},h=(t,r,n)=>{e.set(t,r);let i=c[t];if(i)for(let e of i)e(r,n)},p=()=>{if(!a.has(e)&&(a.set(e,[n,Object.create(null),Object.create(null),Object.create(null),o,h,f]),!_)){let t=r.initFocus(setTimeout.bind(u,D.bind(u,n,i.CC))),o=r.initReconnect(setTimeout.bind(u,D.bind(u,n,i.jB)));l=()=>{t&&t(),o&&o(),a.delete(e)}}};return p(),[e,o,p,l]}return[e,a.get(e)[4]]},[V,z]=B(new Map),H=d({onLoadingSlow:s,onSuccess:s,onError:s,onErrorRetry:(e,t,r,n,i)=>{let o=r.errorRetryCount,a=i.retryCount,s=~~((Math.random()+.5)*(1o))&&setTimeout(n,s,i)},onDiscarded:s,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:P?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:P?5e3:3e3,compare:function e(t,r){var n,i;if(t===r)return!0;if(t&&r&&(n=t.constructor)===r.constructor){if(n===Date)return t.getTime()===r.getTime();if(n===RegExp)return t.toString()===r.toString();if(n===Array){if((i=t.length)===r.length)for(;i--&&e(t[i],r[i]););return -1===i}if(!n||"object"==typeof t){for(n in i=0,t)if(o.call(t,n)&&++i&&!o.call(r,n)||!(n in r)||!e(t[n],r[n]))return!1;return Object.keys(r).length===i}}return t!=t&&r!=r},isPaused:()=>!1,cache:V,mutate:z,fallback:{}},{isOnline:()=>x,isVisible:()=>{let e=m&&document.visibilityState;return c(e)||"hidden"!==e}}),q=(e,t)=>{let r=d(e,t);if(t){let{use:n,fallback:i}=e,{use:o,fallback:a}=t;n&&o&&(r.use=n.concat(o)),i&&a&&(r.fallback=d(i,a))}return r},W=(0,n.createContext)({}),G=e=>{let{value:t}=e,r=(0,n.useContext)(W),i=f(t),o=(0,n.useMemo)(()=>i?t(r):t,[i,r,t]),a=(0,n.useMemo)(()=>i?o:q(r,o),[i,r,o]),s=o&&o.provider,l=(0,n.useRef)(u);s&&!l.current&&(l.current=B(s(a.cache||V),o));let c=l.current;return c&&(a.cache=c[0],a.mutate=c[1]),O(()=>{if(c)return c[2]&&c[2](),c[3]},[]),(0,n.createElement)(W.Provider,d(e,{value:a}))}},68622:(e,t,r)=>{"use strict";var n=r(35121);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={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};return r.PropTypes=r,r}},69099:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return v},defaultHead:function(){return f}});let n=r(92174),i=r(62983),o=r(16852),a=i._(r(77976)),s=n._(r(10532)),u=r(58347),l=r(58491),c=r(3907);function f(e){void 0===e&&(e=!1);let t=[(0,o.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function d(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===a.default.Fragment?e.concat(a.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(36891);let h=["name","httpEquiv","charSet","itemProp"];function p(e,t){let{inAmpMode:r}=t;return e.reduce(d,[]).reverse().concat(f(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return i=>{let o=!0,a=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){a=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?o=!1:t.add(i.type);break;case"meta":for(let e=0,t=h.length;e{let r=e.key||t;return a.default.cloneElement(e,{key:r})})}let v=function(e){let{children:t}=e,r=(0,a.useContext)(u.AmpStateContext),n=(0,a.useContext)(l.HeadManagerContext);return(0,o.jsx)(s.default,{reduceComponentsToState:p,headManager:n,inAmpMode:(0,c.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},70215:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["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}},74631:(e,t,r)=>{"use strict";var n=r(77976),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=n.useState,a=n.useEffect,s=n.useLayoutEffect,u=n.useDebugValue;function l(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=o({inst:{value:r,getSnapshot:t}}),i=n[0].inst,c=n[1];return s(function(){i.value=r,i.getSnapshot=t,l(i)&&c({inst:i})},[e,r,t]),a(function(){return l(i)&&c({inst:i}),e(function(){l(i)&&c({inst:i})})},[e]),u(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},75953:function(e,t,r){var n;!function(i,o){"use strict";var a="function",s="undefined",u="object",l="string",c="model",f="name",d="type",h="vendor",p="version",v="architecture",g="console",y="mobile",m="tablet",b="smarttv",w="wearable",x="embedded",S="Amazon",E="Apple",C="ASUS",k="BlackBerry",_="Browser",A="Chrome",O="Firefox",T="Google",P="Huawei",R="Microsoft",N="Motorola",I="Opera",L="Samsung",j="Sharp",M="Sony",U="Xiaomi",F="Zebra",D="Facebook",B=function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r},V=function(e){for(var t={},r=0;r0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,c):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=c?c.replace(s[1],s[2]):void 0:this[s[0]]=c?s[1].call(this,c,s[2]):void 0:4===s.length&&(this[s[0]]=c?s[3].call(this,c.replace(s[1],s[2])):o):this[s]=c||o;f+=2}},G=function(e,t){for(var r in t)if(typeof t[r]===u&&t[r].length>0){for(var n=0;n350?q(e,350):e,this},this.setUA(r),this};Q.VERSION="0.7.33",Q.BROWSER=V([f,p,"major"]),Q.CPU=V([v]),Q.DEVICE=V([c,h,d,g,y,b,m,w,x]),Q.ENGINE=Q.OS=V([f,p]),typeof t!==s?(e.exports&&(t=e.exports=Q),t.UAParser=Q):r.amdO?o===(n=(function(){return Q}).call(t,r,t,e))||(e.exports=n):typeof i!==s&&(i.UAParser=Q);var X=typeof i!==s&&(i.jQuery||i.Zepto);if(X&&!X.ua){var Y=new Q;X.ua=Y.getResult(),X.ua.get=function(){return Y.getUA()},X.ua.set=function(e){Y.setUA(e);var t=Y.getResult();for(var r in t)X.ua[r]=t[r]}}}("object"==typeof window?window:this)},79778:(e,t,r)=>{"use strict";r.d(t,{Oh:()=>o});var n=r(77976),i=0;function o(){n.useEffect(()=>{var e,t;let r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!=(e=r[0])?e:a()),document.body.insertAdjacentElement("beforeend",null!=(t=r[1])?t:a()),i++,()=>{1===i&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),i--}},[])}function a(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}},80099:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.CookiesNextProvider=void 0,i(r(93864),t),i(r(30491),t);var o=r(50940);Object.defineProperty(t,"CookiesNextProvider",{enumerable:!0,get:function(){return o.CookieProvider}}),i(r(86815),t)},80803:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(95496).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},86139:(e,t,r)=>{"use strict";r.d(t,{default:()=>i.a});var n=r(20392),i=r.n(n)},86815:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useRevalidateCookiesState=t.useReactiveHasCookie=t.useReactiveDeleteCookie=t.useReactiveSetCookie=t.useReactiveGetCookie=t.useReactiveGetCookies=t.useReactiveCookiesNext=t.useCookiesNext=t.useHasCookie=t.useDeleteCookie=t.useSetCookie=t.useGetCookie=t.useGetCookies=t.useCookiesPolling=void 0;var n=r(50940),i=r(77976),o=r(30491),a=function(e){var t=(0,i.useState)(!1),r=t[0],n=t[1];return(0,i.useEffect)(function(){n(!0)},[]),r?e:function(){}},s=function(){var e=(0,i.useContext)(n.CookieContext);if(!e)throw Error("useCookieContext must be used within a CookieProvider");return e};t.useCookiesPolling=function(e,t){var r=t||{},n=r.intervalMs,a=void 0===n?1e3:n,s=r.enabled,u=void 0!==s&&s;(0,i.useEffect)(function(){if(u){var t=(0,o.getCookies)(),r=setInterval(function(){(0,o.revalidateCookies)(e,t)},a);return function(){return clearInterval(r)}}},[e,a])};var u=function(){return a(o.getCookies)};t.useGetCookies=u;var l=function(){return a(o.getCookie)};t.useGetCookie=l;var c=function(){return a(o.hasCookie)};t.useHasCookie=c;var f=function(){return a(o.setCookie)};t.useSetCookie=f;var d=function(){return a(o.deleteCookie)};t.useDeleteCookie=d,t.useCookiesNext=function(){return{getCookies:u(),getCookie:l(),hasCookie:c(),setCookie:f(),deleteCookie:d()}};var h=function(){var e=s();return function(t){return null==e?void 0:e.getAll()}};t.useReactiveGetCookies=h;var p=function(){var e=s();return function(t,r){return null==e?void 0:e.get(t)}};t.useReactiveGetCookie=p;var v=function(){var e=s();return function(t,r,n){return null==e||e.set(t,r),(0,o.setCookie)(t,r)}};t.useReactiveSetCookie=v;var g=function(){var e=s();return function(t,r){return null==e||e.delete(t),(0,o.deleteCookie)(t)}};t.useReactiveDeleteCookie=g;var y=function(){var e=s();return function(t,r){return null==e?void 0:e.has(t)}};t.useReactiveHasCookie=y;var m=function(){var e=s();return function(){null==e||e.revalidateCookiesState()}};t.useRevalidateCookiesState=m,t.useReactiveCookiesNext=function(){return{getCookies:h(),getCookie:p(),hasCookie:y(),setCookie:v(),deleteCookie:g(),revalidateCookiesState:m()}}},87612:(e,t,r)=>{"use strict";r.d(t,{qW:()=>d});var n,i=r(77976),o=r(95138),a=r(63660),s=r(15663),u=r(700),l=r(16852),c="dismissableLayer.update",f=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),d=i.forwardRef((e,t)=>{var r,d;let{disableOutsidePointerEvents:v=!1,onEscapeKeyDown:g,onPointerDownOutside:y,onFocusOutside:m,onInteractOutside:b,onDismiss:w,...x}=e,S=i.useContext(f),[E,C]=i.useState(null),k=null!=(d=null==E?void 0:E.ownerDocument)?d:null==(r=globalThis)?void 0:r.document,[,_]=i.useState({}),A=(0,s.s)(t,e=>C(e)),O=Array.from(S.layers),[T]=[...S.layersWithOutsidePointerEventsDisabled].slice(-1),P=O.indexOf(T),R=E?O.indexOf(E):-1,N=S.layersWithOutsidePointerEventsDisabled.size>0,I=R>=P,L=function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,n=(0,u.c)(e),o=i.useRef(!1),a=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let t=function(){p("dismissableLayer.pointerDownOutside",n,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(r.removeEventListener("click",a.current),a.current=t,r.addEventListener("click",a.current,{once:!0})):t()}else r.removeEventListener("click",a.current);o.current=!1},t=window.setTimeout(()=>{r.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),r.removeEventListener("pointerdown",e),r.removeEventListener("click",a.current)}},[r,n]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,r=[...S.branches].some(e=>e.contains(t));I&&!r&&(null==y||y(e),null==b||b(e),e.defaultPrevented||null==w||w())},k),j=function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,n=(0,u.c)(e),o=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!o.current&&p("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return r.addEventListener("focusin",e),()=>r.removeEventListener("focusin",e)},[r,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;![...S.branches].some(e=>e.contains(t))&&(null==m||m(e),null==b||b(e),e.defaultPrevented||null==w||w())},k);return!function(e,t=globalThis?.document){let r=(0,u.c)(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{R===S.layers.size-1&&(null==g||g(e),!e.defaultPrevented&&w&&(e.preventDefault(),w()))},k),i.useEffect(()=>{if(E)return v&&(0===S.layersWithOutsidePointerEventsDisabled.size&&(n=k.body.style.pointerEvents,k.body.style.pointerEvents="none"),S.layersWithOutsidePointerEventsDisabled.add(E)),S.layers.add(E),h(),()=>{v&&1===S.layersWithOutsidePointerEventsDisabled.size&&(k.body.style.pointerEvents=n)}},[E,k,v,S]),i.useEffect(()=>()=>{E&&(S.layers.delete(E),S.layersWithOutsidePointerEventsDisabled.delete(E),h())},[E,S]),i.useEffect(()=>{let e=()=>_({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,l.jsx)(a.sG.div,{...x,ref:A,style:{pointerEvents:N?I?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.mK)(e.onFocusCapture,j.onFocusCapture),onBlurCapture:(0,o.mK)(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:(0,o.mK)(e.onPointerDownCapture,L.onPointerDownCapture)})});function h(){let e=new CustomEvent(c);document.dispatchEvent(e)}function p(e,t,r,n){let{discrete:i}=n,o=r.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),i?(0,a.hO)(o,s):o.dispatchEvent(s)}d.displayName="DismissableLayer",i.forwardRef((e,t)=>{let r=i.useContext(f),n=i.useRef(null),o=(0,s.s)(t,n);return i.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,l.jsx)(a.sG.div,{...e,ref:o})}).displayName="DismissableLayerBranch"},91681:(e,t,r)=>{"use strict";r.d(t,{c3:()=>o});var n=r(85256);function i(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let o=i(0,n.c3);i(0,n.kc)},91871:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])&&(6===l[0]||2===l[0])){a=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.hasCookie=t.deleteCookie=t.setCookie=t.getCookie=t.getCookies=void 0;var l=r(29967),c=r(52092),f=function(e){if((0,c.isClientSide)(e))throw Error("You are trying to access cookies on the client side. Please, use the client-side import with `cookies-next/client` instead.")},d=function(e){return!!e&&"getAll"in e&&"set"in e&&"function"==typeof e.getAll&&"function"==typeof e.set},h=function(e){return!!(null==e?void 0:e.req)&&"cookies"in e.req&&d(e.req.cookies)||!!(null==e?void 0:e.res)&&"cookies"in e.res&&d(e.res.cookies)||!!e&&"cookies"in e&&"function"==typeof e.cookies},p=function(e){var t={};return e.getAll().forEach(function(e){var r=e.name,n=e.value;t[r]=n}),t},v=function(e){return a(void 0,void 0,void 0,function(){var t,r;return s(this,function(n){switch(n.label){case 0:if(f(e),!h(e))return[3,2];if(e.req)return[2,p(e.req.cookies)];if(e.res)return[2,p(e.res.cookies)];if(!e.cookies)return[3,2];return t=p,[4,e.cookies()];case 1:return[2,t.apply(void 0,[n.sent()])];case 2:if((null==e?void 0:e.req)&&(r=e.req),null==r?void 0:r.cookies)return[2,r.cookies];if(null==r?void 0:r.headers.cookie)return[2,(0,l.parse)(r.headers.cookie)];return[2,{}]}})})};t.getCookies=v,t.getCookie=function(e,t){return a(void 0,void 0,void 0,function(){var r;return s(this,function(n){switch(n.label){case 0:return f(t),[4,v(t)];case 1:if(void 0===(r=n.sent()[e]))return[2,void 0];return[2,(0,c.decode)(r)]}})})};var g=function(e,t,r){return a(void 0,void 0,void 0,function(){var i,o,a,d,p,v,g,y,m,b,w,x,S,E,C;return s(this,function(s){switch(s.label){case 0:if(f(r),!h(r))return[3,3];if(i=r.req,o=r.res,a=r.cookies,d=u(r,["req","res","cookies"]),p=n({name:e,value:(0,c.stringify)(t)},d),i&&i.cookies.set(p),o&&o.cookies.set(p),!a)return[3,2];return[4,a()];case 1:s.sent().set(p),s.label=2;case 2:return[2];case 3:return v={},r&&(b=(m=r).req,w=m.res,x=u(m,["req","res"]),g=b,y=w,v=x),S=(0,l.serialize)(e,(0,c.stringify)(t),n({path:"/"},v)),y&&g&&(Array.isArray(E=y.getHeader("Set-Cookie"))||(E=E?[String(E)]:[]),y.setHeader("Set-Cookie",E.concat(S)),g&&g.cookies&&(C=g.cookies,""===t?delete C[e]:C[e]=(0,c.stringify)(t)),g&&g.headers&&g.headers.cookie&&(C=(0,l.parse)(g.headers.cookie),""===t?delete C[e]:C[e]=(0,c.stringify)(t),g.headers.cookie=Object.entries(C).reduce(function(e,t){return e.concat("".concat(t[0],"=").concat(t[1],";"))},""))),[2]}})})};t.setCookie=g,t.deleteCookie=function(e,t){return a(void 0,void 0,void 0,function(){return s(this,function(r){return f(t),[2,g(e,"",n(n({},t),{maxAge:-1}))]})})},t.hasCookie=function(e,t){return a(void 0,void 0,void 0,function(){return s(this,function(r){switch(r.label){case 0:if(f(t),!e)return[2,!1];return[4,v(t)];case 1:return[2,r.sent().hasOwnProperty(e)]}})})},o(r(93864),t)},93864:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},95138:(e,t,r)=>{"use strict";function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}r.d(t,{mK:()=>n}),"undefined"!=typeof window&&window.document&&window.document.createElement},95496:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(77976);let i=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},o=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()};var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let s=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:u,className:l="",children:c,iconNode:f,...d}=e;return(0,n.createElement)("svg",{ref:t,...a,width:i,height:i,stroke:r,strokeWidth:u?24*Number(s)/Number(i):s,className:o("lucide",l),...!c&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(d)&&{"aria-hidden":"true"},...d},[...f.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),u=(e,t)=>{let r=(0,n.forwardRef)((r,a)=>{let{className:u,...l}=r;return(0,n.createElement)(s,{ref:a,iconNode:t,className:o("lucide-".concat(i(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),u),...l})});return r.displayName=i(e),r}},97963:(e,t,r)=>{"use strict";r.d(t,{DX:()=>s,TL:()=>a});var n=r(77976),i=r(15663),o=r(16852);function a(e){let t=function(e){let t=n.forwardRef((e,t)=>{let{children:r,...o}=e;if(n.isValidElement(r)){var a;let e,s,u=(a=r,(s=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(s=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),l=function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(o,r.props);return r.type!==n.Fragment&&(l.ref=t?(0,i.t)(t,u):u),n.cloneElement(r,l)}return n.Children.count(r)>1?n.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=n.forwardRef((e,r)=>{let{children:i,...a}=e,s=n.Children.toArray(i),u=s.find(l);if(u){let e=u.props.children,i=s.map(t=>t!==u?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,o.jsx)(t,{...a,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,i):null})}return(0,o.jsx)(t,{...a,ref:r,children:i})});return r.displayName=`${e}.Slot`,r}var s=a("Slot"),u=Symbol("radix.slottable");function l(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===u}},98866:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return u},getImageProps:function(){return s}});let n=r(92174),i=r(49914),o=r(13410),a=n._(r(65933));function s(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let u=o.Image}}]);