(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7022],{11501:(e,t,r)=>{"use strict";r.d(t,{B:()=>d,I:()=>x,O:()=>f,S:()=>J,U:()=>s,a:()=>c,b:()=>u,c:()=>W,d:()=>$,e:()=>l,f:()=>G,g:()=>X,i:()=>m,j:()=>q,m:()=>h,n:()=>z,o:()=>D,r:()=>C,s:()=>k,t:()=>I,u:()=>R,z:()=>E});var n=r(15545),i=r(14978),o=r(83078);let u=new WeakMap,a=()=>{},s=a(),f=Object,l=e=>e===s,c=e=>"function"==typeof e,h=(e,t)=>({...e,...t}),d=e=>c(e.then),p={},g={},y="undefined",m=typeof window!=y,v=typeof document!=y,b=m&&"Deno"in window,w=()=>m&&typeof window.requestAnimationFrame!=y,E=(e,t)=>{let r=u.get(e);return[()=>!l(t)&&e.get(t)||p,n=>{if(!l(t)){let i=e.get(t);t in g||(g[t]=i),r[5](t,h(i,n),i||p)}},r[6],()=>!l(t)&&t in g?g[t]:!l(t)&&e.get(t)||p]},S=!0,[O,_]=m&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[a,a],A={initFocus:e=>(v&&document.addEventListener("visibilitychange",e),O("focus",e),()=>{v&&document.removeEventListener("visibilitychange",e),_("focus",e)}),initReconnect:e=>{let t=()=>{S=!0,e()},r=()=>{S=!1};return O("online",t),O("offline",r),()=>{_("online",t),_("offline",r)}}},x=!n.useId,C=!m||b,I=e=>w()?window.requestAnimationFrame(e):setTimeout(e,1),R=C?n.useEffect:n.useLayoutEffect,j="undefined"!=typeof navigator&&navigator.connection,B=!C&&j&&(["slow-2g","2g"].includes(j.effectiveType)||j.saveData),U=new WeakMap,P=(e,t)=>f.prototype.toString.call(e)==="[object ".concat(t,"]"),T=0,L=e=>{let t,r,n=typeof e,i=P(e,"Date"),o=P(e,"RegExp"),u=P(e,"Object");if(f(e)!==e||i||o)t=i?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=U.get(e))return t;if(t=++T+"~",U.set(e,t),Array.isArray(e)){for(r=0,t="@";r{if(c(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,D=()=>++M;async function z(){for(var e=arguments.length,t=Array(e),r=0;r"function"==typeof y?y(e):!1!==y,b=p.throwOnError;if(c(o)){let e=[];for(let t of n.keys())!/^\$(inf|sub)\$/.test(t)&&o(n.get(t)._k)&&e.push(t);return Promise.all(e.map(w))}return w(o);async function w(e){let r,[o]=k(e);if(!o)return;let[f,h]=E(n,o),[y,w,S,O]=u.get(n),_=()=>{let t=y[o];return(c(p.revalidate)?p.revalidate(f().data,e):!1!==p.revalidate)&&(delete S[o],delete O[o],t&&t[0])?t[0](i.q2).then(()=>f().data):f().data};if(t.length{r=e}),x!==w[o][0]){if(r)throw r;return A}r&&C&&v(r)&&(g=!0,h({data:B,_c:s}))}if(g&&!r&&(c(g)?h({data:g(A,B),error:s,_c:s}):h({data:A,error:s,_c:s})),w[o][1]=D(),Promise.resolve(_()).then(()=>{h({_c:s})}),r){if(b)throw r;return}return A}}let N=(e,t)=>{for(let r in e)e[r][0]&&e[r][0](t)},V=(e,t)=>{if(!u.has(e)){let r=h(A,t),n=Object.create(null),o=z.bind(s,e),f=a,l=Object.create(null),c=(e,t)=>{let r=l[e]||[];return l[e]=r,r.push(t),()=>r.splice(r.indexOf(t),1)},d=(t,r,n)=>{e.set(t,r);let i=l[t];if(i)for(let e of i)e(r,n)},p=()=>{if(!u.has(e)&&(u.set(e,[n,Object.create(null),Object.create(null),Object.create(null),o,d,c]),!C)){let t=r.initFocus(setTimeout.bind(s,N.bind(s,n,i.CC))),o=r.initReconnect(setTimeout.bind(s,N.bind(s,n,i.jB)));f=()=>{t&&t(),o&&o(),u.delete(e)}}};return p(),[e,o,p,f]}return[e,u.get(e)[4]]},F=o.j,[W,q]=V(new Map),$=h({onLoadingSlow:a,onSuccess:a,onError:a,onErrorRetry:(e,t,r,n,i)=>{let o=r.errorRetryCount,u=i.retryCount,a=~~((Math.random()+.5)*(1o))&&setTimeout(n,a,i)},onDiscarded:a,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:B?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:B?5e3:3e3,compare:F,isPaused:()=>!1,cache:W,mutate:q,fallback:{}},{isOnline:()=>S,isVisible:()=>{let e=v&&document.visibilityState;return l(e)||"hidden"!==e}}),G=(e,t)=>{let r=h(e,t);if(t){let{use:n,fallback:i}=e,{use:o,fallback:u}=t;n&&o&&(r.use=n.concat(o)),i&&u&&(r.fallback=h(i,u))}return r},J=(0,n.createContext)({}),X=e=>{let{value:t}=e,r=(0,n.useContext)(J),i=c(t),o=(0,n.useMemo)(()=>i?t(r):t,[i,r,t]),u=(0,n.useMemo)(()=>i?o:G(r,o),[i,r,o]),a=o&&o.provider,f=(0,n.useRef)(s);a&&!f.current&&(f.current=V(a(u.cache||W),o));let l=f.current;return l&&(u.cache=l[0],u.mutate=l[1]),R(()=>{if(l)return l[2]&&l[2](),l[3]},[]),(0,n.createElement)(J.Provider,h(e,{value:u}))}},14978:(e,t,r)=>{"use strict";r.d(t,{CC:()=>n,I0:()=>u,jB:()=>i,q2:()=>o});let n=0,i=1,o=2,u=3},15422:(e,t,r)=>{"use strict";var n=r(35012),i=r(47897),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function u(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(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 l(e)}return s(e,t,r)}function s(e,t,r){if("string"==typeof e){var n=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!a.isEncoding(i))throw TypeError("Unknown encoding: "+i);var o=0|d(n,i),s=u(o),f=s.write(n,i);return f!==o&&(s=s.slice(0,f)),s}if(ArrayBuffer.isView(e))return c(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(R(e,ArrayBuffer)||e&&R(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(R(e,SharedArrayBuffer)||e&&R(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 d(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||R(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 A(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return C(e).length;default:if(i)return n?-1:A(e).length;t=(""+t).toLowerCase(),i=!0}}function p(e,t,r){var i,o,u,a=!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(ra&&(r=a-s),o=r;o>=0;o--){for(var c=!0,h=0;hr&&(e+=" ... "),""},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(e,t,r,n,i){if(R(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.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,u=r-t,s=Math.min(o,u),f=this.slice(n,i),l=e.slice(t,r),c=0;c239?4:f>223?3:f>191?2:1;if(i+c127&&(l=s);break;case 3:o=e[i+1],u=e[i+2],(192&o)==128&&(192&u)==128&&(s=(15&f)2047&&(s57343)&&(l=s);break;case 4:o=e[i+1],u=e[i+2],a=e[i+3],(192&o)==128&&(192&u)==128&&(192&a)==128&&(s=(15&f)65535&&s65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=c}var h=n,d=h.length;if(dr)throw RangeError("Trying to access beyond buffer length")}function w(e,t,r,n,i,o){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw RangeError("Index out of range")}function E(e,t,r,n,i,o){if(r+n>e.length||r>>=0,o||E(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function O(e,t,r,n,o){return t*=1,r>>>=0,o||E(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}a.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,u,a,s,f,l,c,h=this.length-t;if((void 0===r||r>h)&&(r=h),e.length>0&&(rthis.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var d=!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 u=0;u>8,i.push(r%256),i.push(n);return i}(e,this.length-l),this,l,c);default:if(d)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),d=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.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},a.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},a.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},a.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},a.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.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)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!1,52,8)},a.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,u=0;for(this[t]=255&e;++u>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,e,t,r,i,0)}var o=r-1,u=1;for(this[t+o]=255&e;--o>=0&&(u*=256);)this[t+o]=e/u&255;return t+r},a.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},a.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},a.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},a.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},a.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},a.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,u=1,a=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,u=1,a=0;for(this[t+o]=255&e;--o>=0&&(u*=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},a.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},a.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},a.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},a.prototype.writeFloatLE=function(e,t,r){return S(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return S(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return O(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return O(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(!a.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},a.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&&!a.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||u+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 x(e){for(var t=[],r=0;r=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function R(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var j=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r{"use strict";r.d(t,{tG:()=>c});var n=r(83251);let i=Symbol("RESET"),o=(e,t,r)=>(t.has(r)?t:t.set(r,e())).get(r),u=new WeakMap,a=(e,t,r)=>(t.has(r)?t:t.set(r,e())).get(r),s=new WeakMap,f=e=>"function"==typeof(null==e?void 0:e.then),l=function(e=()=>{try{return window.localStorage}catch(e){"undefined"!=typeof window&&console.warn(e);return}},t){var r;let n,i,o,u,a={getItem:(t,r)=>{var o,u;let a=e=>{if(n!==(e=e||"")){try{i=JSON.parse(e,void 0)}catch(e){return r}n=e}return i},s=null!=(u=null==(o=e())?void 0:o.getItem(t))?u:null;return f(s)?s.then(a):a(s)},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{o=null==(r=e())?void 0:r.subscribe}catch(e){}return!o&&"undefined"!=typeof window&&"function"==typeof window.addEventListener&&window.Storage&&(o=(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)}}),o&&(u=o,a.subscribe=(e,t,r)=>u(e,e=>{let n;try{n=JSON.parse(e||"")}catch(e){n=r}t(n)})),a}();function c(e,t,r=l,o){let u=null==o?void 0:o.getOnInit,a=(0,n.eU)(u?r.getItem(e,t):t);return a.debugPrivate=!0,a.onMount=n=>{let i;return n(r.getItem(e,t)),r.subscribe&&(i=r.subscribe(e,n,t)),i},(0,n.eU)(e=>e(a),(n,o,u)=>{let s="function"==typeof u?u(n(a)):u;return s===i?(o(a,t),r.removeItem(e)):f(s)?s.then(t=>(o(a,t),r.setItem(e,t))):(o(a,s),r.setItem(e,s))})}let h=new WeakMap,d=(e,t,r)=>(t.has(r)?t:t.set(r,e())).get(r),p=new WeakMap},26817:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return w}});let n=r(20012),i=r(55177),o=r(7629),u=i._(r(15545)),a=n._(r(40972)),s=n._(r(73178)),f=r(99977),l=r(89150),c=r(91546);r(82376);let h=r(98859),d=n._(r(44938)),p=r(64040),g={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 y(e,t,r,n,i,o,u){let a=null==e?void 0:e.src;e&&e["data-loaded-src"]!==a&&(e["data-loaded-src"]=a,("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 m(e){return u.use?{fetchPriority:e}:{fetchpriority:e}}let v=(0,u.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:a,width:s,decoding:f,className:l,style:c,fetchPriority:h,placeholder:d,loading:g,unoptimized:v,fill:b,onLoadRef:w,onLoadingCompleteRef:E,setBlurComplete:S,setShowAltText:O,sizesInput:_,onLoad:A,onError:x,...C}=e,I=(0,u.useCallback)(e=>{e&&(x&&(e.src=e.src),e.complete&&y(e,d,w,E,S,v,_))},[r,d,w,E,S,x,v,_]),R=(0,p.useMergedRef)(t,I);return(0,o.jsx)("img",{...C,...m(h),loading:g,width:s,height:a,decoding:f,"data-nimg":b?"fill":"1",className:l,style:c,sizes:i,srcSet:n,src:r,ref:R,onLoad:e=>{y(e.currentTarget,d,w,E,S,v,_)},onError:e=>{O(!0),"empty"!==d&&S(!0),x&&x(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,...m(r.fetchPriority)};return t&&a.default.preload?(a.default.preload(r.src,n),null):(0,o.jsx)(s.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,u.forwardRef)((e,t)=>{let r=(0,u.useContext)(h.RouterContext),n=(0,u.useContext)(c.ImageConfigContext),i=(0,u.useMemo)(()=>{var e;let t=g||n||l.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:a,onLoadingComplete:s}=e,p=(0,u.useRef)(a);(0,u.useEffect)(()=>{p.current=a},[a]);let y=(0,u.useRef)(s);(0,u.useEffect)(()=>{y.current=s},[s]);let[m,w]=(0,u.useState)(!1),[E,S]=(0,u.useState)(!1),{props:O,meta:_}=(0,f.getImgProps)(e,{defaultLoader:d.default,imgConf:i,blurComplete:m,showAltText:E});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(v,{...O,unoptimized:_.unoptimized,placeholder:_.placeholder,fill:_.fill,onLoadRef:p,onLoadingCompleteRef:y,setBlurComplete:w,setShowAltText:S,sizesInput:e.sizes,ref:t}),_.priority?(0,o.jsx)(b,{isAppRouter:!r,imgAttributes:O}):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)},35012:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,o=s(e),u=o[0],a=o[1],f=new i((u+a)*3/4-a),l=0,c=a>0?u-4:u;for(r=0;r>16&255,f[l++]=t>>8&255,f[l++]=255&t;return 2===a&&(t=n[e.charCodeAt(r)]>4,f[l++]=255&t),1===a&&(t=n[e.charCodeAt(r)]>2,f[l++]=t>>8&255,f[l++]=255&t),f},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],u=0,a=n-i;u>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(e,u,u+16383>a?a:u+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},42930:(e,t,r)=>{"use strict";var n=r(15545),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,u=n.useEffect,a=n.useLayoutEffect,s=n.useDebugValue;function f(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var l="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,l=n[1];return a(function(){i.value=r,i.getSnapshot=t,f(i)&&l({inst:i})},[e,r,t]),u(function(){return f(i)&&l({inst:i}),e(function(){f(i)&&l({inst:i})})},[e]),s(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:l},43133:(e,t,r)=>{"use strict";r.d(t,{aw:()=>c,iX:()=>s,qm:()=>l,Ht:()=>h});var n=r(11501),i=r(15545);let o=n.i&&window.__SWR_DEVTOOLS_USE__,u=o?window.__SWR_DEVTOOLS_USE__:[],a=e=>(0,n.a)(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],s=()=>(0,n.m)(n.d,(0,i.useContext)(n.S)),f=u.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 u=o[i];return(0,n.e)(u)?r(...e):(delete o[i],u)});return e(t,o,i)}),l=e=>function(...t){let r=s(),[i,o,u]=a(t),l=(0,n.f)(r,u),c=e,{use:h}=l,d=(h||[]).concat(f);for(let e=d.length;e--;)c=d[e](c);return c(i,o||l.fetcher||null,l)},c=(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())}},h=(e,t)=>(...r)=>{let[n,i,o]=a(r),u=(o.use||[]).concat(t);return e(n,i,{...o,use:u})};o&&(window.__SWR_DEVTOOLS_REACT__=i)},47897:(e,t)=>{t.read=function(e,t,r,n,i){var o,u,a=8*i-n-1,s=(1>1,l=-7,c=r?i-1:0,h=r?-1:1,d=e[t+c];for(c+=h,o=d&(1>=-l,l+=a;l>0;o=256*o+e[t+c],c+=h,l-=8);for(u=o&(1>=-l,l+=n;l>0;u=256*u+e[t+c],c+=h,l-=8);if(0===o)o=1-f;else{if(o===s)return u?NaN:1/0*(d?-1:1);u+=Math.pow(2,n),o-=f}return(d?-1:1)*u*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var u,a,s,f=8*o-i-1,l=(1>1,h=5960464477539062e-23*(23===i),d=n?0:o-1,p=n?1:-1,g=+(t=1?t+=h/s:t+=h*Math.pow(2,1-c),t*s>=2&&(u++,s/=2),u+c>=l?(a=0,u=l):u+c>=1?(a=(t*s-1)*Math.pow(2,i),u+=c):(a=t*Math.pow(2,c-1)*Math.pow(2,i),u=0));i>=8;e[r+d]=255&a,d+=p,a/=256,i-=8);for(u=u0;e[r+d]=255&u,d+=p,u/=256,f-=8);e[r+d-p]|=128*g}},54766:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(20012)._(r(15545)).default.createContext({})},70647:(e,t,r)=>{"use strict";e.exports=r(42930)},73178:(e,t,r)=>{"use strict";var n=r(37811);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 y},defaultHead:function(){return h}});let i=r(20012),o=r(55177),u=r(7629),a=o._(r(15545)),s=i._(r(76087)),f=r(54766),l=r(27292),c=r(78706);function h(e){void 0===e&&(e=!1);let t=[(0,u.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,u.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(82376);let p=["name","httpEquiv","charSet","itemProp"];function g(e,t){let{inAmpMode:r}=t;return e.reduce(d,[]).reverse().concat(h(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return i=>{let o=!0,u=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){u=!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=p.length;e{let i=e.key||t;if(n.env.__NEXT_OPTIMIZE_FONTS&&!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,a.default.cloneElement(e,t)}return a.default.cloneElement(e,{key:i})})}let y=function(e){let{children:t}=e,r=(0,a.useContext)(f.AmpStateContext),n=(0,a.useContext)(l.HeadManagerContext);return(0,u.jsx)(s.default,{reduceComponentsToState:g,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)},75778:(e,t)=>{"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:o,objectFit:u}=e,a=n?40*n:t,s=i?40*i:r,f=a&&s?"viewBox='0 0 "+a+" "+s+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+f+"%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='"+(f?"none":"contain"===u?"xMidYMid":"cover"===u?"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}})},76087:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let n=r(15545),i=n.useLayoutEffect,o=n.useEffect;function u(e){let{headManager:t,reduceComponentsToState:r}=e;function u(){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=u),()=>{t&&(t._pendingUpdate=u)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},78706:(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}})},83078:(e,t,r)=>{"use strict";r.d(t,{j:()=>function e(t,r){var i,o;if(t===r)return!0;if(t&&r&&(i=t.constructor)===r.constructor){if(i===Date)return t.getTime()===r.getTime();if(i===RegExp)return t.toString()===r.toString();if(i===Array){if((o=t.length)===r.length)for(;o--&&e(t[o],r[o]););return -1===o}if(!i||"object"==typeof t){for(i in o=0,t)if(n.call(t,i)&&++o&&!n.call(r,i)||!(i in r)||!e(t[i],r[i]))return!1;return Object.keys(r).length===o}}return t!=t&&r!=r}});var n=Object.prototype.hasOwnProperty},89150:(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}},91546:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let n=r(20012)._(r(15545)),i=r(89150),o=n.default.createContext(i.imageConfigDefault)},95907:(e,t,r)=>{"use strict";let n;r.d(t,{A:()=>a});let i={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},o=new Uint8Array(16),u=[];for(let e=0;e= 16");if(a[6]=15&a[6]|64,a[8]=63&a[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,{Ay:()=>d,BE:()=>h});var n=r(15545),i=r(70647),o=r(11501),u=r(14978),a=r(43133);let s=()=>{},f=s();new WeakMap;let l=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}}),c={dedupe:!0},h=o.O.defineProperty(o.g,"defaultValue",{value:o.d}),d=(0,a.qm)((e,t,r)=>{let{cache:s,compare:f,suspense:h,fallbackData:d,revalidateOnMount:p,revalidateIfStale:g,refreshInterval:y,refreshWhenHidden:m,refreshWhenOffline:v,keepPreviousData:b}=r,[w,E,S,O]=o.b.get(s),[_,A]=(0,o.s)(e),x=(0,n.useRef)(!1),C=(0,n.useRef)(!1),I=(0,n.useRef)(_),R=(0,n.useRef)(t),j=(0,n.useRef)(r),B=()=>j.current,U=()=>B().isVisible()&&B().isOnline(),[P,T,L,k]=(0,o.z)(s,_),M=(0,n.useRef)({}).current,D=(0,o.e)(d)?(0,o.e)(r.fallback)?o.U:r.fallback[_]:d,z=(e,t)=>{for(let r in M)if("data"===r){if(!f(e[r],t[r])&&(!(0,o.e)(e[r])||!f(X,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},N=(0,n.useMemo)(()=>{let e=!!_&&!!t&&((0,o.e)(p)?!B().isPaused()&&!h&&!1!==g:p),r=t=>{let r=(0,o.m)(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=P(),i=k(),u=r(n),a=n===i?u:r(i),s=u;return[()=>{let e=r(P());return z(e,s)?(s.data=e.data,s.isLoading=e.isLoading,s.isValidating=e.isValidating,s.error=e.error,s):(s=e,e)},()=>a]},[s,_]),V=(0,i.useSyncExternalStore)((0,n.useCallback)(e=>L(_,(t,r)=>{z(r,t)||e()}),[s,_]),N[0],N[1]),F=!x.current,W=w[_]&&w[_].length>0,q=V.data,$=(0,o.e)(q)?D&&(0,o.B)(D)?l(D):D:q,G=V.error,J=(0,n.useRef)($),X=b?(0,o.e)(q)?(0,o.e)(J.current)?$:J.current:q:$,Y=(!W||!!(0,o.e)(G))&&(F&&!(0,o.e)(p)?p:!B().isPaused()&&(h?!(0,o.e)($)&&g:(0,o.e)($)||g)),H=!!(_&&t&&F&&Y),Z=(0,o.e)(V.isValidating)?H:V.isValidating,K=(0,o.e)(V.isLoading)?H:V.isLoading,Q=(0,n.useCallback)(async e=>{let t,n,i=R.current;if(!_||!i||C.current||B().isPaused())return!1;let a=!0,s=e||{},l=!S[_]||!s.dedupe,c=()=>o.I?!C.current&&_===I.current&&x.current:_===I.current,h={isValidating:!1,isLoading:!1},d=()=>{T(h)},p=()=>{let e=S[_];e&&e[1]===n&&delete S[_]},g={isValidating:!0};(0,o.e)(P().data)&&(g.isLoading=!0);try{if(l&&(T(g),r.loadingTimeout&&(0,o.e)(P().data)&&setTimeout(()=>{a&&c()&&B().onLoadingSlow(_,r)},r.loadingTimeout),S[_]=[i(A),(0,o.o)()]),[t,n]=S[_],t=await t,l&&setTimeout(p,r.dedupingInterval),!S[_]||S[_][1]!==n)return l&&c()&&B().onDiscarded(_),!1;h.error=o.U;let e=E[_];if(!(0,o.e)(e)&&(n{let t=w[_];t&&t[0]&&t[0](u.I0,e)},{retryCount:(s.retryCount||0)+1,dedupe:!0})))}return a=!1,d(),!0},[_,s]),ee=(0,n.useCallback)((...e)=>(0,o.n)(s,I.current,...e),[]);if((0,o.u)(()=>{R.current=t,j.current=r,(0,o.e)(q)||(J.current=q)}),(0,o.u)(()=>{if(!_)return;let e=Q.bind(o.U,c),t=0;B().revalidateOnFocus&&(t=Date.now()+B().focusThrottleInterval);let r=(0,a.aw)(_,w,(r,n={})=>{if(r==u.CC){let r=Date.now();B().revalidateOnFocus&&r>t&&U()&&(t=r+B().focusThrottleInterval,e())}else if(r==u.jB)B().revalidateOnReconnect&&U()&&e();else if(r==u.q2)return Q();else if(r==u.I0)return Q(n)});return C.current=!1,I.current=_,x.current=!0,T({_k:A}),Y&&((0,o.e)($)||o.r?e():(0,o.t)(e)),()=>{C.current=!0,r()}},[_]),(0,o.u)(()=>{let e;function t(){let t=(0,o.a)(y)?y(P().data):y;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!P().error&&(m||B().isVisible())&&(v||B().isOnline())?Q(c).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[y,m,v,_]),(0,n.useDebugValue)(X),h&&(0,o.e)($)&&_){if(!o.I&&o.r)throw Error("Fallback data is required when using Suspense in SSR.");R.current=t,j.current=r,C.current=!1;let e=O[_];if((0,o.e)(e)||l(ee(e)),(0,o.e)(G)){let e=Q(c);(0,o.e)(X)||(e.status="fulfilled",e.value=!0),l(e)}else throw G}return{mutate:ee,get data(){return M.data=!0,X},get error(){return M.error=!0,G},get isValidating(){return M.isValidating=!0,Z},get isLoading(){return M.isLoading=!0,K}}})},98859:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(20012)._(r(15545)).default.createContext(null)},99977:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),r(82376);let n=r(75778),i=r(89150),o=["-moz-initial","fill","none","scale-down",void 0];function u(e){return void 0!==e.default}function a(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 s(e,t){var r,s;let f,l,c,{src:h,sizes:d,unoptimized:p=!1,priority:g=!1,loading:y,className:m,quality:v,width:b,height:w,fill:E=!1,style:S,overrideSrc:O,onLoad:_,onLoadingComplete:A,placeholder:x="empty",blurDataURL:C,fetchPriority:I,decoding:R="async",layout:j,objectFit:B,objectPosition:U,lazyBoundary:P,lazyRoot:T,...L}=e,{imgConf:k,showAltText:M,blurComplete:D,defaultLoader:z}=t,N=k||i.imageConfigDefault;if("allSizes"in N)f=N;else{let e=[...N.deviceSizes,...N.imageSizes].sort((e,t)=>e-t),t=N.deviceSizes.sort((e,t)=>e-t),n=null==(r=N.qualities)?void 0:r.sort((e,t)=>e-t);f={...N,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===z)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=L.loader||z;delete L.loader,delete L.srcSet;let F="__next_img_default"in V;if(F){if("custom"===f.loader)throw Object.defineProperty(Error('Image with src "'+h+'" 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(j){"fill"===j&&(E=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[j];e&&(S={...S,...e});let t={responsive:"100vw",fill:"100vw"}[j];t&&!d&&(d=t)}let W="",q=a(b),$=a(w);if((s=h)&&"object"==typeof s&&(u(s)||void 0!==s.src)){let e=u(h)?h.default:h;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(l=e.blurWidth,c=e.blurHeight,C=C||e.blurDataURL,W=e.src,!E)if(q||$){if(q&&!$){let t=q/e.width;$=Math.round(e.height*t)}else if(!q&&$){let t=$/e.height;q=Math.round(e.width*t)}}else q=e.width,$=e.height}let G=!g&&("lazy"===y||void 0===y);(!(h="string"==typeof h?h:W)||h.startsWith("data:")||h.startsWith("blob:"))&&(p=!0,G=!1),f.unoptimized&&(p=!0),F&&!f.dangerouslyAllowSVG&&h.split("?",1)[0].endsWith(".svg")&&(p=!0);let J=a(v),X=Object.assign(E?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:B,objectPosition:U}:{},M?{}:{color:"transparent"},S),Y=D||"empty"===x?null:"blur"===x?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:q,heightInt:$,blurWidth:l,blurHeight:c,blurDataURL:C||"",objectFit:X.objectFit})+'")':'url("'+x+'")',H=o.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,Z=Y?{backgroundSize:H,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Y}:{},K=function(e){let{config:t,src:r,unoptimized:n,width:i,quality:o,sizes:u,loader:a}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:s,kind:f}=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,u),l=s.length-1;return{sizes:u||"w"!==f?u:"100vw",srcSet:s.map((e,n)=>a({config:t,src:r,quality:o,width:e})+" "+("w"===f?e:n+1)+f).join(", "),src:a({config:t,src:r,quality:o,width:s[l]})}}({config:f,src:h,unoptimized:p,width:q,quality:J,sizes:d,loader:V});return{props:{...L,loading:G?"lazy":y,fetchPriority:I,width:q,height:$,decoding:R,className:m,style:{...X,...Z},sizes:K.sizes,srcSet:K.srcSet,src:O||K.src},meta:{unoptimized:p,priority:g,placeholder:x,fill:E}}}}}]);