PageSourceSearch

https://www.mgart.dk/assets/index-5Pkie8kJ.js

js mgart.dk collected 2026-10-06 13:14:08 UTC 553,732 bytes, 195 lines download raw bytes

vendor: 6,236 bytes, lines 1-9
1var Ah=e=>{throw TypeError(e)};var Gc=(e,t,r)=>t.has(e)||Ah("Cannot "+r);var R=(e,t,r)=>(Gc(e,t,"read from private field"),r?r.call(e):t.get(e)),ke=(e,t,r)=>t.has(e)?Ah("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),ue=(e,t,r,n)=>(Gc(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),ct=(e,t,r)=>(Gc(e,t,"access private method"),r);var Na=(e,t,r,n)=>({set _(s){ue(e,t,s,r)},get _(){return R(e,t,n)}});function yg(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const s in n)if(s!=="default"&&!(s in e)){const o=Object.getOwnPropertyDescriptor(n,s);o&&Object.defineProperty(e,s,o.get?o:{enumerable:!0,get:()=>n[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))n(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(s){if(s.ep)return;s.ep=!0;const o=r(s);fetch(s.href,o)}})();var w3=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var bg={exports:{}},hc={},wg={exports:{}},ve={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var ua=Symbol.for("react.element"),mb=Symbol.for("react.portal"),gb=Symbol.for("react.fragment"),vb=Symbol.for("react.strict_mode"),yb=Symbol.for("react.profiler"),xb=Symbol.for("react.provider"),bb=Symbol.for("react.context"),wb=Symbol.for("react.forward_ref"),_b=Symbol.for("react.suspense"),kb=Symbol.for("react.memo"),jb=Symbol.for("react.lazy"),Rh=Symbol.iterator;function Sb(e){return e===null||typeof e!="object"?null:(e=Rh&&e[Rh]||e["@@iterator"],typeof e=="function"?e:null)}var _g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},kg=Object.assign,jg={};function Vo(e,t,r){this.props=e,this.context=t,this.refs=jg,this.updater=r||_g}Vo.prototype.isReactComponent={};Vo.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Vo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Sg(){}Sg.prototype=Vo.prototype;function sf(e,t,r){this.props=e,this.context=t,this.refs=jg,this.updater=r||_g}var of=sf.prototype=new Sg;of.constructor=sf;kg(of,Vo.prototype);of.isPureReactComponent=!0;var Dh=Array.isArray,Eg=Object.prototype.hasOwnProperty,af={current:null},Cg={key:!0,ref:!0,__self:!0,__source:!0};function Ng(e,t,r){var n,s={},o=null,i=null;if(t!=null)for(n in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)Eg.call(t,n)&&!Cg.hasOwnProperty(n)&&(s[n]=t[n]);var a=arguments.length-2;if(a===1)s.children=r;else if(1<a){for(var l=Array(a),c=0;c<a;c++)l[c]=arguments[c+2];s.children=l}if(e&&e.defaultProps)for(n in a=e.defaultProps,a)s[n]===void 0&&(s[n]=a[n]);return{$$typeof:ua,type:e,key:o,ref:i,props:s,_owner:af.current}}function Eb(e,t){return{$$typeof:ua,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function lf(e){return typeof e=="object"&&e!==null&&e.$$typeof===ua}function Cb(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var Mh=/\/+/g;function Qc(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Cb(""+e.key):t.toString(36)}function al(e,t,r,n,s){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case ua:case mb:i=!0}}if(i)return i=e,s=s(i),e=n===""?"."+Qc(i,0):n,Dh(s)?(r="",e!=null&&(r=e.replace(Mh,"$&/")+"/"),al(s,t,r,"",function(c){return c})):s!=null&&(lf(s)&&(s=Eb(s,r+(!s.key||i&&i.key===s.key?"":(""+s.key).replace(Mh,"$&/")+"/")+e)),t.push(s)),1;if(i=0,n=n===""?".":n+":",Dh(e))for(var a=0;a<e.length;a++){o=e[a];var l=n+Qc(o,a);i+=al(o,t,r,l,s)}else if(l=Sb(e),typeof l=="function")for(e=l.call(e),a=0;!(o=e.next()).done;)o=o.value,l=n+Qc(o,a++),i+=al(o,t,r,l,s);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function Ta(e,t,r){if(e==null)return e;var n=[],s=0;return al(e,n,"","",function(o){return t.call(r,o,s++)}),n}function Nb(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var _t={current:null},ll={transition:null},Tb={ReactCurrentDispatcher:_t,ReactCurrentBatchConfig:ll,ReactCurrentOwner:af};function Tg(){throw Error("act(...) is not supported in production builds of React.")}ve.Children={map:Ta,forEach:function(e,t,r){Ta(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return Ta(e,function(){t++}),t},toArray:function(e){return Ta(e,function(t){return t})||[]},only:function(e){if(!lf(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ve.Component=Vo;ve.Fragment=gb;ve.Profiler=yb;ve.PureComponent=sf;ve.StrictMode=vb;ve.Suspense=_b;
vendor: 4,691 bytes, lines 9-25
9ve.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Tb;ve.act=Tg;ve.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=kg({},e.props),s=e.key,o=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,i=af.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Eg.call(t,l)&&!Cg.hasOwnProperty(l)&&(n[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)n.children=r;else if(1<l){a=Array(l);for(var c=0;c<l;c++)a[c]=arguments[c+2];n.children=a}return{$$typeof:ua,type:e.type,key:s,ref:o,props:n,_owner:i}};ve.createContext=function(e){return e={$$typeof:bb,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:xb,_context:e},e.Consumer=e};ve.createElement=Ng;ve.createFactory=function(e){var t=Ng.bind(null,e);return t.type=e,t};ve.createRef=function(){return{current:null}};ve.forwardRef=function(e){return{$$typeof:wb,render:e}};ve.isValidElement=lf;ve.lazy=function(e){return{$$typeof:jb,_payload:{_status:-1,_result:e},_init:Nb}};ve.memo=function(e,t){return{$$typeof:kb,type:e,compare:t===void 0?null:t}};ve.startTransition=function(e){var t=ll.transition;ll.transition={};try{e()}finally{ll.transition=t}};ve.unstable_act=Tg;ve.useCallback=function(e,t){return _t.current.useCallback(e,t)};ve.useContext=function(e){return _t.current.useContext(e)};ve.useDebugValue=function(){};ve.useDeferredValue=function(e){return _t.current.useDeferredValue(e)};ve.useEffect=function(e,t){return _t.current.useEffect(e,t)};ve.useId=function(){return _t.current.useId()};ve.useImperativeHandle=function(e,t,r){return _t.current.useImperativeHandle(e,t,r)};ve.useInsertionEffect=function(e,t){return _t.current.useInsertionEffect(e,t)};ve.useLayoutEffect=function(e,t){return _t.current.useLayoutEffect(e,t)};ve.useMemo=function(e,t){return _t.current.useMemo(e,t)};ve.useReducer=function(e,t,r){return _t.current.useReducer(e,t,r)};ve.useRef=function(e){return _t.current.useRef(e)};ve.useState=function(e){return _t.current.useState(e)};ve.useSyncExternalStore=function(e,t,r){return _t.current.useSyncExternalStore(e,t,r)};ve.useTransition=function(){return _t.current.useTransition()};ve.version="18.3.1";wg.exports=ve;var v=wg.exports;const B=xg(v),cf=yg({__proto__:null,default:B},[v]);/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var Pb=v,Ab=Symbol.for("react.element"),Rb=Symbol.for("react.fragment"),Db=Object.prototype.hasOwnProperty,Mb=Pb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Ob={key:!0,ref:!0,__self:!0,__source:!0};function Pg(e,t,r){var n,s={},o=null,i=null;r!==void 0&&(o=""+r),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(i=t.ref);for(n in t)Db.call(t,n)&&!Ob.hasOwnProperty(n)&&(s[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)s[n]===void 0&&(s[n]=t[n]);return{$$typeof:Ab,type:e,key:o,ref:i,props:s,_owner:Mb.current}}hc.Fragment=Rb;hc.jsx=Pg;hc.jsxs=Pg;bg.exports=hc;var u=bg.exports,Ag={exports:{}},Ut={},Rg={exports:{}},Dg={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */(function(e){function t(P,D){var U=P.length;P.push(D);e:for(;0<U;){var re=U-1>>>1,G=P[re];if(0<s(G,D))P[re]=D,P[U]=G,U=re;else break e}}function r(P){return P.length===0?null:P[0]}function n(P){if(P.length===0)return null;var D=P[0],U=P.pop();if(U!==D){P[0]=U;e:for(var re=0,G=P.length,ae=G>>>1;re<ae;){var de=2*(re+1)-1,we=P[de],Oe=de+1,me=P[Oe];if(0>s(we,U))Oe<G&&0>s(me,we)?(P[re]=me,P[Oe]=U,re=Oe):(P[re]=we,P[de]=U,re=de);else if(Oe<G&&0>s(me,U))P[re]=me,P[Oe]=U,re=Oe;else break e}}return D}function s(P,D){var U=P.sortIndex-D.sortIndex;return U!==0?U:P.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,a=i.now();e.unstable_now=function(){return i.now()-a}}var l=[],c=[],d=1,h=null,p=3,f=!1,w=!1,m=!1,b=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);
vendor: 9,563 bytes, lines 25-34
25function x(P){for(var D=r(c);D!==null;){if(D.callback===null)n(c);else if(D.startTime<=P)n(c),D.sortIndex=D.expirationTime,t(l,D);else break;D=r(c)}}function k(P){if(m=!1,x(P),!w)if(r(l)!==null)w=!0,te(S);else{var D=r(c);D!==null&&ne(k,D.startTime-P)}}function S(P,D){w=!1,m&&(m=!1,y(N),N=-1),f=!0;var U=p;try{for(x(D),h=r(l);h!==null&&(!(h.expirationTime>D)||P&&!V());){var re=h.callback;if(typeof re=="function"){h.callback=null,p=h.priorityLevel;var G=re(h.expirationTime<=D);D=e.unstable_now(),typeof G=="function"?h.callback=G:h===r(l)&&n(l),x(D)}else n(l);h=r(l)}if(h!==null)var ae=!0;else{var de=r(c);de!==null&&ne(k,de.startTime-D),ae=!1}return ae}finally{h=null,p=U,f=!1}}var C=!1,_=null,N=-1,M=5,A=-1;function V(){return!(e.unstable_now()-A<M)}function I(){if(_!==null){var P=e.unstable_now();A=P;var D=!0;try{D=_(!0,P)}finally{D?J():(C=!1,_=null)}}else C=!1}var J;if(typeof g=="function")J=function(){g(I)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,oe=F.port2;F.port1.onmessage=I,J=function(){oe.postMessage(null)}}else J=function(){b(I,0)};function te(P){_=P,C||(C=!0,J())}function ne(P,D){N=b(function(){P(e.unstable_now())},D)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(P){P.callback=null},e.unstable_continueExecution=function(){w||f||(w=!0,te(S))},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return r(l)},e.unstable_next=function(P){switch(p){case 1:case 2:case 3:var D=3;break;default:D=p}var U=p;p=D;try{return P()}finally{p=U}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(P,D){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var U=p;p=P;try{return D()}finally{p=U}},e.unstable_scheduleCallback=function(P,D,U){var re=e.unstable_now();switch(typeof U=="object"&&U!==null?(U=U.delay,U=typeof U=="number"&&0<U?re+U:re):U=re,P){case 1:var G=-1;break;case 2:G=250;break;case 5:G=1073741823;break;case 4:G=1e4;break;default:G=5e3}return G=U+G,P={id:d++,callback:D,priorityLevel:P,startTime:U,expirationTime:G,sortIndex:-1},U>re?(P.sortIndex=U,t(c,P),r(l)===null&&P===r(c)&&(m?(y(N),N=-1):m=!0,ne(k,U-re))):(P.sortIndex=G,t(l,P),w||f||(w=!0,te(S))),P},e.unstable_shouldYield=V,e.unstable_wrapCallback=function(P){var D=p;return function(){var U=p;p=D;try{return P.apply(this,arguments)}finally{p=U}}}})(Dg);Rg.exports=Dg;var Lb=Rg.exports;/**
26 * @license React
27 * react-dom.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var Fb=v,$t=Lb;function L(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Mg=new Set,Li={};function Bs(e,t){No(e,t),No(e+"Capture",t)}function No(e,t){for(Li[e]=t,e=0;e<t.length;e++)Mg.add(t[e])}var rn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Bu=Object.prototype.hasOwnProperty,Ib=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Oh={},Lh={};function $b(e){return Bu.call(Lh,e)?!0:Bu.call(Oh,e)?!1:Ib.test(e)?Lh[e]=!0:(Oh[e]=!0,!1)}function Bb(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function zb(e,t,r,n){if(t===null||typeof t>"u"||Bb(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function kt(e,t,r,n,s,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=s,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var at={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){at[e]=new kt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];at[t]=new kt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){at[e]=new kt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){at[e]=new kt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){at[e]=new kt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){at[e]=new kt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){at[e]=new kt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){at[e]=new kt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){at[e]=new kt(e,5,!1,e.toLowerCase(),null,!1,!1)});var uf=/[\-:]([a-z])/g;function df(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(uf,df);at[t]=new kt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(uf,df);at[t]=new kt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(uf,df);at[t]=new kt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){at[e]=new kt(e,1,!1,e.toLowerCase(),null,!1,!1)});at.xlinkHref=new kt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){at[e]=new kt(e,1,!1,e.toLowerCase(),null,!0,!0)});function ff(e,t,r,n){var s=at.hasOwnProperty(t)?at[t]:null;(s!==null?s.type!==0:n||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(zb(t,r,s,n)&&(r=null),n||s===null?$b(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):s.mustUseProperty?e[s.propertyName]=r===null?s.type===3?!1:"":r:(t=s.attributeName,n=s.attributeNamespace,r===null?e.removeAttribute(t):(s=s.type,r=s===3||s===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var dn=Fb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Pa=Symbol.for("react.element"),Xs=Symbol.for("react.portal"),Js=Symbol.for("react.fragment"),hf=Symbol.for("react.strict_mode"),zu=Symbol.for("react.profiler"),Og=Symbol.for("react.provider"),Lg=Symbol.for("react.context"),pf=Symbol.for("react.forward_ref"),Uu=Symbol.for("react.suspense"),Ku=Symbol.for("react.suspense_list"),mf=Symbol.for("react.memo"),bn=Symbol.for("react.lazy"),Fg=Symbol.for("react.offscreen"),Fh=Symbol.iterator;function ii(e){return e===null||typeof e!="object"?null:(e=Fh&&e[Fh]||e["@@iterator"],typeof e=="function"?e:null)}var ze=Object.assign,Zc;function xi(e){if(Zc===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);Zc=t&&t[1]||""}return`
34`+Zc+e}var Yc=!1;function qc(e,t){if(!e||Yc)return"";Yc=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var n=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){n=c}e.call(t.prototype)}else{try{throw Error()}catch(c){n=c}e()}}
vendor: 14,030 bytes, lines 34-37
34catch(c){if(c&&n&&typeof c.stack=="string"){for(var s=c.stack.split(`
35`),o=n.stack.split(`
36`),i=s.length-1,a=o.length-1;1<=i&&0<=a&&s[i]!==o[a];)a--;for(;1<=i&&0<=a;i--,a--)if(s[i]!==o[a]){if(i!==1||a!==1)do if(i--,a--,0>a||s[i]!==o[a]){var l=`
37`+s[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=i&&0<=a);break}}}finally{Yc=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?xi(e):""}function Ub(e){switch(e.tag){case 5:return xi(e.type);case 16:return xi("Lazy");case 13:return xi("Suspense");case 19:return xi("SuspenseList");case 0:case 2:case 15:return e=qc(e.type,!1),e;case 11:return e=qc(e.type.render,!1),e;case 1:return e=qc(e.type,!0),e;default:return""}}function Vu(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Js:return"Fragment";case Xs:return"Portal";case zu:return"Profiler";case hf:return"StrictMode";case Uu:return"Suspense";case Ku:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Lg:return(e.displayName||"Context")+".Consumer";case Og:return(e._context.displayName||"Context")+".Provider";case pf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case mf:return t=e.displayName||null,t!==null?t:Vu(e.type)||"Memo";case bn:t=e._payload,e=e._init;try{return Vu(e(t))}catch{}}return null}function Kb(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Vu(t);case 8:return t===hf?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Vn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ig(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Vb(e){var t=Ig(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var s=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(i){n=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(i){n=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Aa(e){e._valueTracker||(e._valueTracker=Vb(e))}function $g(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Ig(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function El(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Hu(e,t){var r=t.checked;return ze({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function Ih(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Vn(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Bg(e,t){t=t.checked,t!=null&&ff(e,"checked",t,!1)}function Wu(e,t){Bg(e,t);var r=Vn(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Gu(e,t.type,r):t.hasOwnProperty("defaultValue")&&Gu(e,t.type,Vn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function $h(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Gu(e,t,r){(t!=="number"||El(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var bi=Array.isArray;function uo(e,t,r,n){if(e=e.options,t){t={};for(var s=0;s<r.length;s++)t["$"+r[s]]=!0;for(r=0;r<e.length;r++)s=t.hasOwnProperty("$"+e[r].value),e[r].selected!==s&&(e[r].selected=s),s&&n&&(e[r].defaultSelected=!0)}else{for(r=""+Vn(r),t=null,s=0;s<e.length;s++){if(e[s].value===r){e[s].selected=!0,n&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function Qu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(L(91));return ze({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Bh(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(L(92));if(bi(r)){if(1<r.length)throw Error(L(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:Vn(r)}}function zg(e,t){var r=Vn(t.value),n=Vn(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}function zh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Ug(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Zu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Ug(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ra,Kg=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,n,s){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,s)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Ra=Ra||document.createElement("div"),Ra.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ra.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fi(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Ei={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Hb=["Webkit","ms","Moz","O"];Object.keys(Ei).forEach(function(e){Hb.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ei[t]=Ei[e]})});function Vg(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Ei.hasOwnProperty(e)&&Ei[e]?(""+t).trim():t+"px"}function Hg(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,s=Vg(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,s):e[r]=s}}var Wb=ze({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Yu(e,t){if(t){if(Wb[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(L(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(L(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(L(61))}if(t.style!=null&&typeof t.style!="object")throw Error(L(62))}}function qu(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Xu=null;function gf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ju=null,fo=null,ho=null;function Uh(e){if(e=ha(e)){if(typeof Ju!="function")throw Error(L(280));var t=e.stateNode;t&&(t=yc(t),Ju(e.stateNode,e.type,t))}}function Wg(e){fo?ho?ho.push(e):ho=[e]:fo=e}function Gg(){if(fo){var e=fo,t=ho;if(ho=fo=null,Uh(e),t)for(e=0;e<t.length;e++)Uh(t[e])}}function Qg(e,t){return e(t)}function Zg(){}var Xc=!1;function Yg(e,t,r){if(Xc)return e(t,r);Xc=!0;try{return Qg(e,t,r)}finally{Xc=!1,(fo!==null||ho!==null)&&(Zg(),Gg())}}function Ii(e,t){var r=e.stateNode;if(r===null)return null;var n=yc(r);if(n===null)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(L(231,t,typeof r));return r}var ed=!1;if(rn)try{var ai={};Object.defineProperty(ai,"passive",{get:function(){ed=!0}}),window.addEventListener("test",ai,ai),window.removeEventListener("test",ai,ai)}catch{ed=!1}function Gb(e,t,r,n,s,o,i,a,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(d){this.onError(d)}}var Ci=!1,Cl=null,Nl=!1,td=null,Qb={onError:function(e){Ci=!0,Cl=e}};function Zb(e,t,r,n,s,o,i,a,l){Ci=!1,Cl=null,Gb.apply(Qb,arguments)}function Yb(e,t,r,n,s,o,i,a,l){if(Zb.apply(this,arguments),Ci){if(Ci){var c=Cl;Ci=!1,Cl=null}else throw Error(L(198));Nl||(Nl=!0,td=c)}}function zs(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function qg(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Kh(e){if(zs(e)!==e)throw Error(L(188))}function qb(e){var t=e.alternate;if(!t){if(t=zs(e),t===null)throw Error(L(188));return t!==e?null:e}for(var r=e,n=t;;){var s=r.return;if(s===null)break;var o=s.alternate;if(o===null){if(n=s.return,n!==null){r=n;continue}break}if(s.child===o.child){for(o=s.child;o;){if(o===r)return Kh(s),e;if(o===n)return Kh(s),t;o=o.sibling}throw Error(L(188))}if(r.return!==n.return)r=s,n=o;else{for(var i=!1,a=s.child;a;){if(a===r){i=!0,r=s,n=o;break}if(a===n){i=!0,n=s,r=o;break}a=a.sibling}if(!i){for(a=o.child;a;){if(a===r){i=!0,r=o,n=s;break}if(a===n){i=!0,n=o,r=s;break}a=a.sibling}if(!i)throw Error(L(189))}}if(r.alternate!==n)throw Error(L(190))}if(r.tag!==3)throw Error(L(188));return r.stateNode.current===r?e:t}function Xg(e){return e=qb(e),e!==null?Jg(e):null}function Jg(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Jg(e);if(t!==null)return t;e=e.sibling}return null}var ev=$t.unstable_scheduleCallback,Vh=$t.unstable_cancelCallback,Xb=$t.unstable_shouldYield,Jb=$t.unstable_requestPaint,Qe=$t.unstable_now,ew=$t.unstable_getCurrentPriorityLevel,vf=$t.unstable_ImmediatePriority,tv=$t.unstable_UserBlockingPriority,Tl=$t.unstable_NormalPriority,tw=$t.unstable_LowPriority,rv=$t.unstable_IdlePriority,pc=null,Rr=null;function rw(e){if(Rr&&typeof Rr.onCommitFiberRoot=="function")try{Rr.onCommitFiberRoot(pc,e,void 0,(e.current.flags&128)===128)}catch{}}var fr=Math.clz32?Math.clz32:ow,nw=Math.log,sw=Math.LN2;function ow(e){return e>>>=0,e===0?32:31-(nw(e)/sw|0)|0}var Da=64,Ma=4194304;function wi(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Pl(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,s=e.suspendedLanes,o=e.pingedLanes,i=r&268435455;if(i!==0){var a=i&~s;a!==0?n=wi(a):(o&=i,o!==0&&(n=wi(o)))}else i=r&~s,i!==0?n=wi(i):o!==0&&(n=wi(o));if(n===0)return 0;if(t!==0&&t!==n&&!(t&s)&&(s=n&-n,o=t&-t,s>=o||s===16&&(o&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-fr(t),s=1<<r,n|=e[r],t&=~s;return n}function iw(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function aw(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,s=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-fr(o),a=1<<i,l=s[i];l===-1?(!(a&r)||a&n)&&(s[i]=iw(a,t)):l<=t&&(e.expiredLanes|=a),o&=~a}}function rd(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function nv(){var e=Da;return Da<<=1,!(Da&4194240)&&(Da=64),e}
vendor: 4,147 bytes, line 37
37function Jc(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function da(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-fr(t),e[t]=r}function lw(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var s=31-fr(r),o=1<<s;t[s]=0,n[s]=-1,e[s]=-1,r&=~o}}function yf(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-fr(r),s=1<<n;s&t|e[n]&t&&(e[n]|=t),r&=~s}}var Te=0;function sv(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var ov,xf,iv,av,lv,nd=!1,Oa=[],Mn=null,On=null,Ln=null,$i=new Map,Bi=new Map,kn=[],cw="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Hh(e,t){switch(e){case"focusin":case"focusout":Mn=null;break;case"dragenter":case"dragleave":On=null;break;case"mouseover":case"mouseout":Ln=null;break;case"pointerover":case"pointerout":$i.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Bi.delete(t.pointerId)}}function li(e,t,r,n,s,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:o,targetContainers:[s]},t!==null&&(t=ha(t),t!==null&&xf(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function uw(e,t,r,n,s){switch(t){case"focusin":return Mn=li(Mn,e,t,r,n,s),!0;case"dragenter":return On=li(On,e,t,r,n,s),!0;case"mouseover":return Ln=li(Ln,e,t,r,n,s),!0;case"pointerover":var o=s.pointerId;return $i.set(o,li($i.get(o)||null,e,t,r,n,s)),!0;case"gotpointercapture":return o=s.pointerId,Bi.set(o,li(Bi.get(o)||null,e,t,r,n,s)),!0}return!1}function cv(e){var t=ys(e.target);if(t!==null){var r=zs(t);if(r!==null){if(t=r.tag,t===13){if(t=qg(r),t!==null){e.blockedOn=t,lv(e.priority,function(){iv(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function cl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=sd(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var n=new r.constructor(r.type,r);Xu=n,r.target.dispatchEvent(n),Xu=null}else return t=ha(r),t!==null&&xf(t),e.blockedOn=r,!1;t.shift()}return!0}function Wh(e,t,r){cl(e)&&r.delete(t)}function dw(){nd=!1,Mn!==null&&cl(Mn)&&(Mn=null),On!==null&&cl(On)&&(On=null),Ln!==null&&cl(Ln)&&(Ln=null),$i.forEach(Wh),Bi.forEach(Wh)}function ci(e,t){e.blockedOn===t&&(e.blockedOn=null,nd||(nd=!0,$t.unstable_scheduleCallback($t.unstable_NormalPriority,dw)))}function zi(e){function t(s){return ci(s,e)}if(0<Oa.length){ci(Oa[0],e);for(var r=1;r<Oa.length;r++){var n=Oa[r];n.blockedOn===e&&(n.blockedOn=null)}}for(Mn!==null&&ci(Mn,e),On!==null&&ci(On,e),Ln!==null&&ci(Ln,e),$i.forEach(t),Bi.forEach(t),r=0;r<kn.length;r++)n=kn[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<kn.length&&(r=kn[0],r.blockedOn===null);)cv(r),r.blockedOn===null&&kn.shift()}var po=dn.ReactCurrentBatchConfig,Al=!0;function fw(e,t,r,n){var s=Te,o=po.transition;po.transition=null;try{Te=1,bf(e,t,r,n)}finally{Te=s,po.transition=o}}function hw(e,t,r,n){var s=Te,o=po.transition;po.transition=null;try{Te=4,bf(e,t,r,n)}finally{Te=s,po.transition=o}}function bf(e,t,r,n){if(Al){var s=sd(e,t,r,n);if(s===null)cu(e,t,n,Rl,r),Hh(e,n);else if(uw(s,e,t,r,n))n.stopPropagation();else if(Hh(e,n),t&4&&-1<cw.indexOf(e)){for(;s!==null;){var o=ha(s);if(o!==null&&ov(o),o=sd(e,t,r,n),o===null&&cu(e,t,n,Rl,r),o===s)break;s=o}s!==null&&n.stopPropagation()}else cu(e,t,n,null,r)}}var Rl=null;function sd(e,t,r,n){if(Rl=null,e=gf(n),e=ys(e),e!==null)if(t=zs(e),t===null)e=null;else if(r=t.tag,r===13){if(e=qg(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Rl=e,null}
vendor: 10,401 bytes, line 37
37function uv(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(ew()){case vf:return 1;case tv:return 4;case Tl:case tw:return 16;case rv:return 536870912;default:return 16}default:return 16}}var Pn=null,wf=null,ul=null;function dv(){if(ul)return ul;var e,t=wf,r=t.length,n,s="value"in Pn?Pn.value:Pn.textContent,o=s.length;for(e=0;e<r&&t[e]===s[e];e++);var i=r-e;for(n=1;n<=i&&t[r-n]===s[o-n];n++);return ul=s.slice(e,1<n?1-n:void 0)}function dl(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function La(){return!0}function Gh(){return!1}function Kt(e){function t(r,n,s,o,i){this._reactName=r,this._targetInst=s,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(r=e[a],this[a]=r?r(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?La:Gh,this.isPropagationStopped=Gh,this}return ze(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=La)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=La)},persist:function(){},isPersistent:La}),t}var Ho={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},_f=Kt(Ho),fa=ze({},Ho,{view:0,detail:0}),pw=Kt(fa),eu,tu,ui,mc=ze({},fa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kf,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ui&&(ui&&e.type==="mousemove"?(eu=e.screenX-ui.screenX,tu=e.screenY-ui.screenY):tu=eu=0,ui=e),eu)},movementY:function(e){return"movementY"in e?e.movementY:tu}}),Qh=Kt(mc),mw=ze({},mc,{dataTransfer:0}),gw=Kt(mw),vw=ze({},fa,{relatedTarget:0}),ru=Kt(vw),yw=ze({},Ho,{animationName:0,elapsedTime:0,pseudoElement:0}),xw=Kt(yw),bw=ze({},Ho,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ww=Kt(bw),_w=ze({},Ho,{data:0}),Zh=Kt(_w),kw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},jw={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sw={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ew(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Sw[e])?!!t[e]:!1}function kf(){return Ew}var Cw=ze({},fa,{key:function(e){if(e.key){var t=kw[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=dl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?jw[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kf,charCode:function(e){return e.type==="keypress"?dl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?dl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Nw=Kt(Cw),Tw=ze({},mc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Yh=Kt(Tw),Pw=ze({},fa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kf}),Aw=Kt(Pw),Rw=ze({},Ho,{propertyName:0,elapsedTime:0,pseudoElement:0}),Dw=Kt(Rw),Mw=ze({},mc,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ow=Kt(Mw),Lw=[9,13,27,32],jf=rn&&"CompositionEvent"in window,Ni=null;rn&&"documentMode"in document&&(Ni=document.documentMode);var Fw=rn&&"TextEvent"in window&&!Ni,fv=rn&&(!jf||Ni&&8<Ni&&11>=Ni),qh=" ",Xh=!1;function hv(e,t){switch(e){case"keyup":return Lw.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function pv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var eo=!1;function Iw(e,t){switch(e){case"compositionend":return pv(t);case"keypress":return t.which!==32?null:(Xh=!0,qh);case"textInput":return e=t.data,e===qh&&Xh?null:e;default:return null}}function $w(e,t){if(eo)return e==="compositionend"||!jf&&hv(e,t)?(e=dv(),ul=wf=Pn=null,eo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return fv&&t.locale!=="ko"?null:t.data;default:return null}}var Bw={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Jh(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Bw[e.type]:t==="textarea"}function mv(e,t,r,n){Wg(n),t=Dl(t,"onChange"),0<t.length&&(r=new _f("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Ti=null,Ui=null;function zw(e){Ev(e,0)}function gc(e){var t=no(e);if($g(t))return e}function Uw(e,t){if(e==="change")return t}var gv=!1;if(rn){var nu;if(rn){var su="oninput"in document;if(!su){var ep=document.createElement("div");ep.setAttribute("oninput","return;"),su=typeof ep.oninput=="function"}nu=su}else nu=!1;gv=nu&&(!document.documentMode||9<document.documentMode)}function tp(){Ti&&(Ti.detachEvent("onpropertychange",vv),Ui=Ti=null)}function vv(e){if(e.propertyName==="value"&&gc(Ui)){var t=[];mv(t,Ui,e,gf(e)),Yg(zw,t)}}function Kw(e,t,r){e==="focusin"?(tp(),Ti=t,Ui=r,Ti.attachEvent("onpropertychange",vv)):e==="focusout"&&tp()}function Vw(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return gc(Ui)}function Hw(e,t){if(e==="click")return gc(t)}function Ww(e,t){if(e==="input"||e==="change")return gc(t)}function Gw(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var pr=typeof Object.is=="function"?Object.is:Gw;function Ki(e,t){if(pr(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var s=r[n];if(!Bu.call(t,s)||!pr(e[s],t[s]))return!1}return!0}function rp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function np(e,t){var r=rp(e);e=0;for(var n;r;){if(r.nodeType===3){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=rp(r)}}function yv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?yv(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function xv(){for(var e=window,t=El();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=El(e.document)}return t}function Sf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Qw(e){var t=xv(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&yv(r.ownerDocument.documentElement,r)){if(n!==null&&Sf(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var s=r.textContent.length,o=Math.min(n.start,s);n=n.end===void 0?o:Math.min(n.end,s),!e.extend&&o>n&&(s=n,n=o,o=s),s=np(r,o);var i=np(r,n);s&&i&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),o>n?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<t.length;r++)e=t[r],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Zw=rn&&"documentMode"in document&&11>=document.documentMode,to=null,od=null,Pi=null,id=!1;function sp(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;id||to==null||to!==El(n)||(n=to,"selectionStart"in n&&Sf(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focu
vendor: 4,501 bytes, line 37
37sNode:n.focusNode,focusOffset:n.focusOffset}),Pi&&Ki(Pi,n)||(Pi=n,n=Dl(od,"onSelect"),0<n.length&&(t=new _f("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=to)))}function Fa(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var ro={animationend:Fa("Animation","AnimationEnd"),animationiteration:Fa("Animation","AnimationIteration"),animationstart:Fa("Animation","AnimationStart"),transitionend:Fa("Transition","TransitionEnd")},ou={},bv={};rn&&(bv=document.createElement("div").style,"AnimationEvent"in window||(delete ro.animationend.animation,delete ro.animationiteration.animation,delete ro.animationstart.animation),"TransitionEvent"in window||delete ro.transitionend.transition);function vc(e){if(ou[e])return ou[e];if(!ro[e])return e;var t=ro[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in bv)return ou[e]=t[r];return e}var wv=vc("animationend"),_v=vc("animationiteration"),kv=vc("animationstart"),jv=vc("transitionend"),Sv=new Map,op="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Xn(e,t){Sv.set(e,t),Bs(t,[e])}for(var iu=0;iu<op.length;iu++){var au=op[iu],Yw=au.toLowerCase(),qw=au[0].toUpperCase()+au.slice(1);Xn(Yw,"on"+qw)}Xn(wv,"onAnimationEnd");Xn(_v,"onAnimationIteration");Xn(kv,"onAnimationStart");Xn("dblclick","onDoubleClick");Xn("focusin","onFocus");Xn("focusout","onBlur");Xn(jv,"onTransitionEnd");No("onMouseEnter",["mouseout","mouseover"]);No("onMouseLeave",["mouseout","mouseover"]);No("onPointerEnter",["pointerout","pointerover"]);No("onPointerLeave",["pointerout","pointerover"]);Bs("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Bs("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Bs("onBeforeInput",["compositionend","keypress","textInput","paste"]);Bs("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Bs("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Bs("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var _i="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Xw=new Set("cancel close invalid load scroll toggle".split(" ").concat(_i));function ip(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,Yb(n,t,void 0,e),e.currentTarget=null}function Ev(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],s=n.event;n=n.listeners;e:{var o=void 0;if(t)for(var i=n.length-1;0<=i;i--){var a=n[i],l=a.instance,c=a.currentTarget;if(a=a.listener,l!==o&&s.isPropagationStopped())break e;ip(s,a,c),o=l}else for(i=0;i<n.length;i++){if(a=n[i],l=a.instance,c=a.currentTarget,a=a.listener,l!==o&&s.isPropagationStopped())break e;ip(s,a,c),o=l}}}if(Nl)throw e=td,Nl=!1,td=null,e}function De(e,t){var r=t[dd];r===void 0&&(r=t[dd]=new Set);var n=e+"__bubble";r.has(n)||(Cv(t,e,2,!1),r.add(n))}function lu(e,t,r){var n=0;t&&(n|=4),Cv(r,e,n,t)}var Ia="_reactListening"+Math.random().toString(36).slice(2);function Vi(e){if(!e[Ia]){e[Ia]=!0,Mg.forEach(function(r){r!=="selectionchange"&&(Xw.has(r)||lu(r,!1,e),lu(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ia]||(t[Ia]=!0,lu("selectionchange",!1,t))}}function Cv(e,t,r,n){switch(uv(t)){case 1:var s=fw;break;case 4:s=hw;break;default:s=bf}r=s.bind(null,t,r,e),s=void 0,!ed||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),n?s!==void 0?e.addEventListener(t,r,{capture:!0,passive:s}):e.addEventListener(t,r,!0):s!==void 0?e.addEventListener(t,r,{passive:s}):e.addEventListener(t,r,!1)}function cu(e,t,r,n,s){var o=n;if(!(t&1)&&!(t&2)&&n!==null)e:for(;;){if(n===null)return;var i=n.tag;if(i===3||i===4){var a=n.stateNode.containerInfo;
vendor: 21,713 bytes, lines 37-38
37if(a===s||a.nodeType===8&&a.parentNode===s)break;if(i===4)for(i=n.return;i!==null;){var l=i.tag;if((l===3||l===4)&&(l=i.stateNode.containerInfo,l===s||l.nodeType===8&&l.parentNode===s))return;i=i.return}for(;a!==null;){if(i=ys(a),i===null)return;if(l=i.tag,l===5||l===6){n=o=i;continue e}a=a.parentNode}}n=n.return}Yg(function(){var c=o,d=gf(r),h=[];e:{var p=Sv.get(e);if(p!==void 0){var f=_f,w=e;switch(e){case"keypress":if(dl(r)===0)break e;case"keydown":case"keyup":f=Nw;break;case"focusin":w="focus",f=ru;break;case"focusout":w="blur",f=ru;break;case"beforeblur":case"afterblur":f=ru;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":f=Qh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=gw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=Aw;break;case wv:case _v:case kv:f=xw;break;case jv:f=Dw;break;case"scroll":f=pw;break;case"wheel":f=Ow;break;case"copy":case"cut":case"paste":f=ww;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=Yh}var m=(t&4)!==0,b=!m&&e==="scroll",y=m?p!==null?p+"Capture":null:p;m=[];for(var g=c,x;g!==null;){x=g;var k=x.stateNode;if(x.tag===5&&k!==null&&(x=k,y!==null&&(k=Ii(g,y),k!=null&&m.push(Hi(g,k,x)))),b)break;g=g.return}0<m.length&&(p=new f(p,w,null,r,d),h.push({event:p,listeners:m}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",f=e==="mouseout"||e==="pointerout",p&&r!==Xu&&(w=r.relatedTarget||r.fromElement)&&(ys(w)||w[nn]))break e;if((f||p)&&(p=d.window===d?d:(p=d.ownerDocument)?p.defaultView||p.parentWindow:window,f?(w=r.relatedTarget||r.toElement,f=c,w=w?ys(w):null,w!==null&&(b=zs(w),w!==b||w.tag!==5&&w.tag!==6)&&(w=null)):(f=null,w=c),f!==w)){if(m=Qh,k="onMouseLeave",y="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(m=Yh,k="onPointerLeave",y="onPointerEnter",g="pointer"),b=f==null?p:no(f),x=w==null?p:no(w),p=new m(k,g+"leave",f,r,d),p.target=b,p.relatedTarget=x,k=null,ys(d)===c&&(m=new m(y,g+"enter",w,r,d),m.target=x,m.relatedTarget=b,k=m),b=k,f&&w)t:{for(m=f,y=w,g=0,x=m;x;x=Ws(x))g++;for(x=0,k=y;k;k=Ws(k))x++;for(;0<g-x;)m=Ws(m),g--;for(;0<x-g;)y=Ws(y),x--;for(;g--;){if(m===y||y!==null&&m===y.alternate)break t;m=Ws(m),y=Ws(y)}m=null}else m=null;f!==null&&ap(h,p,f,m,!1),w!==null&&b!==null&&ap(h,b,w,m,!0)}}e:{if(p=c?no(c):window,f=p.nodeName&&p.nodeName.toLowerCase(),f==="select"||f==="input"&&p.type==="file")var S=Uw;else if(Jh(p))if(gv)S=Ww;else{S=Vw;var C=Kw}else(f=p.nodeName)&&f.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(S=Hw);if(S&&(S=S(e,c))){mv(h,S,r,d);break e}C&&C(e,p,c),e==="focusout"&&(C=p._wrapperState)&&C.controlled&&p.type==="number"&&Gu(p,"number",p.value)}switch(C=c?no(c):window,e){case"focusin":(Jh(C)||C.contentEditable==="true")&&(to=C,od=c,Pi=null);break;case"focusout":Pi=od=to=null;break;case"mousedown":id=!0;break;case"contextmenu":case"mouseup":case"dragend":id=!1,sp(h,r,d);break;case"selectionchange":if(Zw)break;case"keydown":case"keyup":sp(h,r,d)}var _;if(jf)e:{switch(e){case"compositionstart":var N="onCompositionStart";break e;case"compositionend":N="onCompositionEnd";break e;case"compositionupdate":N="onCompositionUpdate";break e}N=void 0}else eo?hv(e,r)&&(N="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(N="onCompositionStart");N&&(fv&&r.locale!=="ko"&&(eo||N!=="onCompositionStart"?N==="onCompositionEnd"&&eo&&(_=dv()):(Pn=d,wf="value"in Pn?Pn.value:Pn.textContent,eo=!0)),C=Dl(c,N),0<C.length&&(N=new Zh(N,e,null,r,d),h.push({event:N,listeners:C}),_?N.data=_:(_=pv(r),_!==null&&(N.data=_)))),(_=Fw?Iw(e,r):$w(e,r))&&(c=Dl(c,"onBeforeInput"),0<c.length&&(d=new Zh("onBeforeInput","beforeinput",null,r,d),h.push({event:d,listeners:c}),d.data=_))}Ev(h,t)})}function Hi(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Dl(e,t){for(var r=t+"Capture",n=[];e!==null;){var s=e,o=s.stateNode;s.tag===5&&o!==null&&(s=o,o=Ii(e,r),o!=null&&n.unshift(Hi(e,o,s)),o=Ii(e,t),o!=null&&n.push(Hi(e,o,s))),e=e.return}return n}function Ws(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function ap(e,t,r,n,s){for(var o=t._reactName,i=[];r!==null&&r!==n;){var a=r,l=a.alternate,c=a.stateNode;if(l!==null&&l===n)break;a.tag===5&&c!==null&&(a=c,s?(l=Ii(r,o),l!=null&&i.unshift(Hi(r,l,a))):s||(l=Ii(r,o),l!=null&&i.push(Hi(r,l,a)))),r=r.return}i.length!==0&&e.push({event:t,listeners:i})}var Jw=/\r\n?/g,e1=/\u0000|\uFFFD/g;function lp(e){return(typeof e=="string"?e:""+e).replace(Jw,`
38`).replace(e1,"")}function $a(e,t,r){if(t=lp(t),lp(e)!==t&&r)throw Error(L(425))}function Ml(){}var ad=null,ld=null;function cd(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var ud=typeof setTimeout=="function"?setTimeout:void 0,t1=typeof clearTimeout=="function"?clearTimeout:void 0,cp=typeof Promise=="function"?Promise:void 0,r1=typeof queueMicrotask=="function"?queueMicrotask:typeof cp<"u"?function(e){return cp.resolve(null).then(e).catch(n1)}:ud;function n1(e){setTimeout(function(){throw e})}function uu(e,t){var r=t,n=0;do{var s=r.nextSibling;if(e.removeChild(r),s&&s.nodeType===8)if(r=s.data,r==="/$"){if(n===0){e.removeChild(s),zi(t);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=s}while(r);zi(t)}function Fn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function up(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var Wo=Math.random().toString(36).slice(2),Pr="__reactFiber$"+Wo,Wi="__reactProps$"+Wo,nn="__reactContainer$"+Wo,dd="__reactEvents$"+Wo,s1="__reactListeners$"+Wo,o1="__reactHandles$"+Wo;function ys(e){var t=e[Pr];if(t)return t;for(var r=e.parentNode;r;){if(t=r[nn]||r[Pr]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=up(e);e!==null;){if(r=e[Pr])return r;e=up(e)}return t}e=r,r=e.parentNode}return null}function ha(e){return e=e[Pr]||e[nn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function no(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(L(33))}function yc(e){return e[Wi]||null}var fd=[],so=-1;function Jn(e){return{current:e}}function Me(e){0>so||(e.current=fd[so],fd[so]=null,so--)}function Ae(e,t){so++,fd[so]=e.current,e.current=t}var Hn={},pt=Jn(Hn),Nt=Jn(!1),Ps=Hn;function To(e,t){var r=e.type.contextTypes;if(!r)return Hn;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var s={},o;for(o in r)s[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function Tt(e){return e=e.childContextTypes,e!=null}function Ol(){Me(Nt),Me(pt)}function dp(e,t,r){if(pt.current!==Hn)throw Error(L(168));Ae(pt,t),Ae(Nt,r)}function Nv(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var s in n)if(!(s in t))throw Error(L(108,Kb(e)||"Unknown",s));return ze({},r,n)}function Ll(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Hn,Ps=pt.current,Ae(pt,e),Ae(Nt,Nt.current),!0}function fp(e,t,r){var n=e.stateNode;if(!n)throw Error(L(169));r?(e=Nv(e,t,Ps),n.__reactInternalMemoizedMergedChildContext=e,Me(Nt),Me(pt),Ae(pt,e)):Me(Nt),Ae(Nt,r)}var Yr=null,xc=!1,du=!1;function Tv(e){Yr===null?Yr=[e]:Yr.push(e)}function i1(e){xc=!0,Tv(e)}function es(){if(!du&&Yr!==null){du=!0;var e=0,t=Te;try{var r=Yr;for(Te=1;e<r.length;e++){var n=r[e];do n=n(!0);while(n!==null)}Yr=null,xc=!1}catch(s){throw Yr!==null&&(Yr=Yr.slice(e+1)),ev(vf,es),s}finally{Te=t,du=!1}}return null}var oo=[],io=0,Fl=null,Il=0,Qt=[],Zt=0,As=null,Xr=1,Jr="";function ps(e,t){oo[io++]=Il,oo[io++]=Fl,Fl=e,Il=t}function Pv(e,t,r){Qt[Zt++]=Xr,Qt[Zt++]=Jr,Qt[Zt++]=As,As=e;var n=Xr;e=Jr;var s=32-fr(n)-1;n&=~(1<<s),r+=1;var o=32-fr(t)+s;if(30<o){var i=s-s%5;o=(n&(1<<i)-1).toString(32),n>>=i,s-=i,Xr=1<<32-fr(t)+s|r<<s|n,Jr=o+e}else Xr=1<<o|r<<s|n,Jr=e}function Ef(e){e.return!==null&&(ps(e,1),Pv(e,1,0))}function Cf(e){for(;e===Fl;)Fl=oo[--io],oo[io]=null,Il=oo[--io],oo[io]=null;for(;e===As;)As=Qt[--Zt],Qt[Zt]=null,Jr=Qt[--Zt],Qt[Zt]=null,Xr=Qt[--Zt],Qt[Zt]=null}var Ft=null,Lt=null,Fe=!1,dr=null;function Av(e,t){var r=Yt(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function hp(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ft=e,Lt=Fn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ft=e,Lt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=As!==null?{id:Xr,overflow:Jr}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=Yt(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,Ft=e,Lt=null,!0):!1;default:return!1}}function hd(e){return(e.mode&1)!==0&&(e.flags&128)===0}function pd(e){if(Fe){var t=Lt;if(t){var r=t;if(!hp(e,t)){if(hd(e))throw Error(L(418));t=Fn(r.nextSibling);var n=Ft;t&&hp(e,t)?Av(n,r):(e.flags=e.flags&-4097|2,Fe=!1,Ft=e)}}else{if(hd(e))throw Error(L(418));e.flags=e.flags&-4097|2,Fe=!1,Ft=e}}}function pp(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ft=e}function Ba(e){if(e!==Ft)return!1;if(!Fe)return pp(e),Fe=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!cd(e.type,e.memoizedProps)),t&&(t=Lt)){if(hd(e))throw Rv(),Error(L(418));for(;t;)Av(e,t),t=Fn(t.nextSibling)}if(pp(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(L(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){Lt=Fn(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Lt=null}}else Lt=Ft?Fn(e.stateNode.nextSibling):null;return!0}function Rv(){for(var e=Lt;e;)e=Fn(e.nextSibling)}function Po(){Lt=Ft=null,Fe=!1}function Nf(e){dr===null?dr=[e]:dr.push(e)}var a1=dn.ReactCurrentBatchConfig;function di(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(L(309));var n=r.stateNode}if(!n)throw Error(L(147,e));var s=n,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(i){var a=s.refs;i===null?delete a[o]:a[o]=i},t._stringRef=o,t)}if(typeof e!="string")throw Error(L(284));if(!r._owner)throw Error(L(290,e))}return e}function za(e,t){throw e=Object.prototype.toString.call(t),Error(L(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function mp(e){var t=e._init;return t(e._payload)}function Dv(e){function t(y,g){if(e){var x=y.deletions;x===null?(y.deletions=[g],y.flags|=16):x.push(g)}}function r(y,g){if(!e)return null;for(;g!==null;)t(y,g),g=g.sibling;return null}function n(y,g){for(y=new Map;g!==null;)g.key!==null?y.set(g.key,g):y.set(g.index,g),g=g.sibling;return y}function s(y,g){return y=zn(y,g),y.index=0,y.sibling=null,y}function o(y,g,x){return y.index=x,e?(x=y.alternate,x!==null?(x=x.index,x<g?(y.flags|=2,g):x):(y.flags|=2,g)):(y.flags|=1048576,g)}function i(y){return e&&y.alternate===null&&(y.flags|=2),y}function a(y,g,x,k){return g===null||g.tag!==6?(g=yu(x,y.mode,k),g.return=y,g):(g=s(g,x),g.return=y,g)}function l(y,g,x,k){var S=x.type;return S===Js?d(y,g,x.props.children,k,x.key):g!==null&&(g.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===bn&&mp(S)===g.type)?(k=s(g,x.props),k.ref=di(y,g,x),k.return=y,k):(k=yl(x.type,x.key,x.props,null,y.mode,k),k.ref=di(y,g,x),k.return=y,k)}function c(y,g,x,k){return g===null||g.tag!==4||g.stateNode.containerInfo!==x.containerInfo||g.stateNode.implementation!==x.implementation?(g=xu(x,y.mode,k),g.return=y,g):(g=s(g,x.children||[]),g.return=y,g)}function d(y,g,x,k,S){return g===null||g.tag!==7?(g=Ts(x,y.mode,k,S),g.return=y,g):(g=s(g,x),g.return=y,g)}function h(y,g,x){if(typeof g=="string"&&g!==""||typeof g=="number")return g=yu(""+g,y.mode,x),g.return=y,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Pa:return x=yl(g.type,g.key,g.props,null,y.mode,x),x.ref=di(y,null,g),x.return=y,x;case Xs:return g=xu(g,y.mode,x),g.return=y,g;case bn:var k=g._init;return h(y,k(g._payload),x)}if(bi(g)||ii(g))return g=Ts(g,y.mode,x,null),g.return=y,g;za(y,g)}return null}function p(y,g,x,k){var S=g!==null?g.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return S!==null?null:a(y,g,""+x,k);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Pa:return x.key===S?l(y,g,x,k):null;case Xs:return x.key===S?c(y,g,x,k):null;case bn:return S=x._init,p(y,g,S(x._payload),k)}if(bi(x)||ii(x))return S!==null?null:d(y,g,x,k,null);za(y,x)}return null}function f(y,g,x,k,S){if(typeof k=="string"&&k!==""||typeof k=="number")return y=y.get(x)||null,a(g,y,""+k,S);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case Pa:return y=y.get(k.key===null?x:k.key)||null,l(g,y,k,S);case Xs:return y=y.get(k.key===null?x:k.key)||null,c(g,y,k,S);case bn:var C=k._init;return f(y,g,x,C(k._payload),S)}if(bi(k)||ii(k))return y=y.get(x)||null,d(g,y,k,S,null);za(g,k)}return null}function w(y,g,x,k){for(var S=null,C=null,_=g,N=g=0,M=null;_!==null&&N<x.length;N++){_.index>N?(M=_,_=null):M=_.sibling;var A=p(y,_,x[N],k);if(A===null){_===null&&(_=M);break}e&&_&&A.alternate===null&&t(y,_),g=o(A,g,N),C===null?S=A:C.sibling=A,C=A,_=M}if(N===x.length)return r(y,_),Fe&&ps(y,N),S;if(_===null){for(;N<x.length;N++)_=h(y,x[N],k),_!==null&&(g=o(_,g,N),C===null?S=_:C.sibling=_,C=_);return Fe&&ps(y,N),S}for(_=n(y,_);N<x.length;N++)M=f(_,y,N,x[N],k),M!==null&&(e&&M.alternate!==null&&_.delete(M.key===null?N:M.key),g=o(M,g,N),C===null?S=M:C.sibling=M,C=M);return e&&_.forEach(function(V){return t(y,V)}),Fe&&ps(y,N),S}function m(y,g,x,k){var S=ii(x);if(typeof S!="function")throw Error(L(150));if(x=S.call(x),x==null)throw Error(L(151));for(var C=S=null,_=g,N=g=0,M=null,A=x.next();_!==null&&!A.done;N++,A=x.next()){_.index>N?(M=_,_=null):M=_.sibling;var V=p(y,_,A.value,k);if(V===null){_===null&&(_=M);break}e&&_&&V.alternate===null&&t(y,_),g=o(V,g,N),C===null?S=V:C.sibling=V,C=V,_=M}if(A.done)return r(y,_),Fe&&ps(y,N),S;if(_===null){for(;!A.done;N++,A=x.next())A=h(y,A.value,k),A!==null&&(g=o(A,g,N),C===null?S=A:C.sibling=A,C=A);return Fe&&ps(y,N),S}for(_=n(y,_);!A.done;N++,A=x.next())A=f(_,y,N,A.value,k),A!==null&&(e&&A.alternate!==null&&_.delete(A.key===null?N:A.key),g=o(A,g,N),C===null?S=A:C.sibling=A,C=A);return e&&_.forEach(function(I){return t(y,I)}),Fe&&ps(y,N),S}function b(y,g,x,k){if(typeof x=="object"&&x!==null&&x.type===Js&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case Pa:e:{for(var S=x.key,C=g;C!==null;){if(C.key===S){if(S=x.type,S===Js){if(C.tag===7){r(y,C.sibling),g=s(C,x.props.children),g.return=y,y=g;break e}}else if(C.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===bn&&mp(S)===C.type){r(y,C.sibling),g=s(C,x.props),g.ref=di(y,C,x),g.return=y,y=g;break e}r(y,C);break}else t(y,C);C=C.sibling}x.type===Js?(g=Ts(x.props.children,y.mode,k,x.key),g.return=y,y=g):(k=yl(x.type,x.key,x.props,null,y.mode,k),k.ref=di(y,g,x),k.return=y,y=k)}return i(y);case Xs:e:{for(C=x.key;g!==null;){if(g.key===C)if(g.tag===4&&g.stateNode.containerInfo===x.containerInfo&&g.stateNode.implementation===x.implementation){r(y,g.sibling),g=s(g,x.children||[]),g.return=y,y=g;break e}else{r(y,g);break}else t(y,g);g=g.sibling}g=xu(x,y.mode,k),g.return=y,y=g}return i(y);case bn:return C=x._init,b(y,g,C(x._payload),k)}if(bi(x))return w(y,g,x,k);if(ii(x))return m(y,g,x,k);za(y,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,g!==null&&g.tag===6?(r(y,g.sibling),g=s(g,x),g.return=y,y=g):(r(y,g),g=yu(x,y.mode,k),g.return=y,y=g),i(y)):r(y,g)}return b}var Ao=Dv(!0),Mv=Dv(!1),$l=Jn(null),Bl=null,ao=null,Tf=null;function Pf(){Tf=ao=Bl=null}function Af(e){var t=$l.current;Me($l),e._currentValue=t}function md(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function mo(e,t){Bl=e,Tf=ao=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ct=!0),e.firstContext=null)}function Xt(e){var t=e._currentValue;if(Tf!==e)if(e={context:e,memoizedValue:t,next:null},ao===null){if(Bl===null)throw Error(L(308));ao=e,Bl.dependencies={lanes:0,firstContext:e}}else ao=ao.next=e;return t}var xs=null;function Rf(e){xs===null?xs=[e]:xs.push(e)}function Ov(e,t,r,n){var s=t.interleaved;return s===null?(r.next=r,Rf(t)):(r.next=s.next,s.next=r),t.interleaved=r,sn(e,n)}function sn(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var wn=!1;function Df(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Lv(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function en(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function In(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,xe&2){var s=n.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),n.pending=t,sn(e,r)}return s=n.interleaved,s===null?(t.next=t,Rf(n)):(t.next=s.next,s.next=t),n.interleaved=t,sn(e,r)}function fl(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,yf(e,r)}}function gp(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var s=null,o=null;if(r=r.firstBaseUpdate,r!==null){do{var i={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};o===null?s=o=i:o=o.next=i,r=r.next}while(r!==null);o===null?s=o=t:o=o.next=t}else s=o=t;r={baseState:n.baseState,firstBaseUpdate:s,lastBaseUpdate:o,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function zl(e,t,r,n){var s=e.updateQueue;wn=!1;var o=s.firstBaseUpdate,i=s.lastBaseUpdate,a=s.shared.pending;if(a!==null){s.shared.pending=null;var l=a,c=l.next;l.next=null,i===null?o=c:i.next=c,i=l;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==i&&(a===null?d.firstBaseUpdate=c:a.next=c,d.lastBaseUpdate=l))}if(o!==null){var h=s.baseState;i=0,d=c=l=null,a=o;do{var p=a.lane,f=a.eventTime;if((n&p)===p){d!==null&&(d=d.next={eventTime:f,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var w=e,m=a;switch(p=t,f=r,m.tag){case 1:if(w=m.payload,typeof w=="function"){h=w.call(f,h,p);break e}h=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=m.payload,p=typeof w=="function"?w.call(f,h,p):w,p==null)break e;h=ze({},h,p);break e;case 2:wn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,p=s.effects,p===null?s.effects=[a]:p.push(a))}else f={eventTime:f,lane:p,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(c=d=f,l=h):d=d.next=f,i|=p;if(a=a.next,a===null){if(a=s.shared.pending,a===null)break;p=a,a=p.next,p.next=null,s.lastBaseUpdate=p,s.shared.pending=null}}while(!0);if(d===null&&(l=h),s.baseState=l,s.firstBaseUpdate=c,s.lastBaseUpdate=d,t=s.shared.interleaved,t!==null){s=t;do i|=s.lane,s=s.next;while(s!==t)}else o===null&&(s.shared.lanes=0);Ds|=i,e.lanes=i,e.memoizedState=h}}function vp(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var n=e[t],s=n.callback;if(s!==null){if(n.callback=null,n=r,typeof s!="function")throw Error(L(191,s));s.call(n)}}}var pa={},Dr=Jn(pa),Gi=Jn(pa),Qi=Jn(pa);function bs(e){if(e===pa)throw Error(L(174));return e}function Mf(e,t){switch(Ae(Qi,t),Ae(Gi,e),Ae(Dr,pa),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Zu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Zu(t,e)}Me(Dr),Ae(Dr,t)}function Ro(){Me(Dr),Me(Gi),Me(Qi)}function Fv(e){bs(Qi.current);var t=bs(Dr.current),r=Zu(t,e.type);t!==r&&(Ae(Gi,e),Ae(Dr,r))}function Of(e){Gi.current===e&&(Me(Dr),Me(Gi))}var $e=Jn(0);function Ul(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var fu=[];function Lf(){for(var e=0;e<fu.length;e++)fu[e]._workInProgressVersionPrimary=null;fu.length=0}var hl=dn.ReactCurrentDispatcher,hu=dn.ReactCurrentBatchConfig,Rs=0,Be=null,et=null,rt=null,Kl=!1,Ai=!1,Zi=0,l1=0;function ut(){throw Error(L(321))}function Ff(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!pr(e[r],t[r]))return!1;return!0}function If(e,t,r,n,s,o){if(Rs=o,Be=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,hl.current=e===null||e.memoizedState===null?f1:h1,e=r(n,s),Ai){o=0;
vendor: 5,409 bytes, line 38
38do{if(Ai=!1,Zi=0,25<=o)throw Error(L(301));o+=1,rt=et=null,t.updateQueue=null,hl.current=p1,e=r(n,s)}while(Ai)}if(hl.current=Vl,t=et!==null&&et.next!==null,Rs=0,rt=et=Be=null,Kl=!1,t)throw Error(L(300));return e}function $f(){var e=Zi!==0;return Zi=0,e}function Er(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return rt===null?Be.memoizedState=rt=e:rt=rt.next=e,rt}function Jt(){if(et===null){var e=Be.alternate;e=e!==null?e.memoizedState:null}else e=et.next;var t=rt===null?Be.memoizedState:rt.next;if(t!==null)rt=t,et=e;else{if(e===null)throw Error(L(310));et=e,e={memoizedState:et.memoizedState,baseState:et.baseState,baseQueue:et.baseQueue,queue:et.queue,next:null},rt===null?Be.memoizedState=rt=e:rt=rt.next=e}return rt}function Yi(e,t){return typeof t=="function"?t(e):t}function pu(e){var t=Jt(),r=t.queue;if(r===null)throw Error(L(311));r.lastRenderedReducer=e;var n=et,s=n.baseQueue,o=r.pending;if(o!==null){if(s!==null){var i=s.next;s.next=o.next,o.next=i}n.baseQueue=s=o,r.pending=null}if(s!==null){o=s.next,n=n.baseState;var a=i=null,l=null,c=o;do{var d=c.lane;if((Rs&d)===d)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),n=c.hasEagerState?c.eagerState:e(n,c.action);else{var h={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(a=l=h,i=n):l=l.next=h,Be.lanes|=d,Ds|=d}c=c.next}while(c!==null&&c!==o);l===null?i=n:l.next=a,pr(n,t.memoizedState)||(Ct=!0),t.memoizedState=n,t.baseState=i,t.baseQueue=l,r.lastRenderedState=n}if(e=r.interleaved,e!==null){s=e;do o=s.lane,Be.lanes|=o,Ds|=o,s=s.next;while(s!==e)}else s===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function mu(e){var t=Jt(),r=t.queue;if(r===null)throw Error(L(311));r.lastRenderedReducer=e;var n=r.dispatch,s=r.pending,o=t.memoizedState;if(s!==null){r.pending=null;var i=s=s.next;do o=e(o,i.action),i=i.next;while(i!==s);pr(o,t.memoizedState)||(Ct=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),r.lastRenderedState=o}return[o,n]}function Iv(){}function $v(e,t){var r=Be,n=Jt(),s=t(),o=!pr(n.memoizedState,s);if(o&&(n.memoizedState=s,Ct=!0),n=n.queue,Bf(Uv.bind(null,r,n,e),[e]),n.getSnapshot!==t||o||rt!==null&&rt.memoizedState.tag&1){if(r.flags|=2048,qi(9,zv.bind(null,r,n,s,t),void 0,null),nt===null)throw Error(L(349));Rs&30||Bv(r,t,s)}return s}function Bv(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=Be.updateQueue,t===null?(t={lastEffect:null,stores:null},Be.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function zv(e,t,r,n){t.value=r,t.getSnapshot=n,Kv(t)&&Vv(e)}function Uv(e,t,r){return r(function(){Kv(t)&&Vv(e)})}function Kv(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!pr(e,r)}catch{return!0}}function Vv(e){var t=sn(e,1);t!==null&&hr(t,e,1,-1)}function yp(e){var t=Er();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Yi,lastRenderedState:e},t.queue=e,e=e.dispatch=d1.bind(null,Be,e),[t.memoizedState,e]}function qi(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=Be.updateQueue,t===null?(t={lastEffect:null,stores:null},Be.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e)),e}function Hv(){return Jt().memoizedState}function pl(e,t,r,n){var s=Er();Be.flags|=e,s.memoizedState=qi(1|t,r,void 0,n===void 0?null:n)}function bc(e,t,r,n){var s=Jt();n=n===void 0?null:n;var o=void 0;if(et!==null){var i=et.memoizedState;if(o=i.destroy,n!==null&&Ff(n,i.deps)){s.memoizedState=qi(t,r,o,n);return}}Be.flags|=e,s.memoizedState=qi(1|t,r,o,n)}function xp(e,t){return pl(8390656,8,e,t)}function Bf(e,t){return bc(2048,8,e,t)}function Wv(e,t){return bc(4,2,e,t)}function Gv(e,t){return bc(4,4,e,t)}function Qv(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Zv(e,t,r){return r=r!=null?r.concat([e]):null,bc(4,4,Qv.bind(null,t,e),r)}function zf(){}function Yv(e,t){var r=Jt();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&Ff(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function qv(e,t){var r=Jt();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&Ff(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function Xv(e,t,r){return Rs&21?(pr(r,t)||(r=nv(),Be.lanes|=r,Ds|=r,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ct=!0),e.memoizedState=r)}function c1(e,t){var r=Te;Te=r!==0&&4>r?r:4,e(!0);var n=hu.transition;hu.transition={};try{e(!1),t()}finally{Te=r,hu.transition=n}}function Jv(){return Jt().memoizedState}function u1(e,t,r){var n=Bn(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},ey(e))ty(t,r);else if(r=Ov(e,t,r,n),r!==null){var s=bt();hr(r,e,n,s),ry(r,t,n)}}function d1(e,t,r){var n=Bn(e),s={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(ey(e))ty(t,s);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,a=o(i,r);if(s.hasEagerState=!0,s.eagerState=a,pr(a,i)){var l=t.interleaved;l===null?(s.next=s,Rf(t)):(s.next=l.next,l.next=s),t.interleaved=s;return}}catch{}finally{}r=Ov(e,t,s,n),r!==null&&(s=bt(),hr(r,e,n,s),ry(r,t,n))}}function ey(e){var t=e.alternate;return e===Be||t!==null&&t===Be}
vendor: 7,105 bytes, lines 38-40
38function ty(e,t){Ai=Kl=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function ry(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,yf(e,r)}}var Vl={readContext:Xt,useCallback:ut,useContext:ut,useEffect:ut,useImperativeHandle:ut,useInsertionEffect:ut,useLayoutEffect:ut,useMemo:ut,useReducer:ut,useRef:ut,useState:ut,useDebugValue:ut,useDeferredValue:ut,useTransition:ut,useMutableSource:ut,useSyncExternalStore:ut,useId:ut,unstable_isNewReconciler:!1},f1={readContext:Xt,useCallback:function(e,t){return Er().memoizedState=[e,t===void 0?null:t],e},useContext:Xt,useEffect:xp,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,pl(4194308,4,Qv.bind(null,t,e),r)},useLayoutEffect:function(e,t){return pl(4194308,4,e,t)},useInsertionEffect:function(e,t){return pl(4,2,e,t)},useMemo:function(e,t){var r=Er();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Er();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=u1.bind(null,Be,e),[n.memoizedState,e]},useRef:function(e){var t=Er();return e={current:e},t.memoizedState=e},useState:yp,useDebugValue:zf,useDeferredValue:function(e){return Er().memoizedState=e},useTransition:function(){var e=yp(!1),t=e[0];return e=c1.bind(null,e[1]),Er().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=Be,s=Er();if(Fe){if(r===void 0)throw Error(L(407));r=r()}else{if(r=t(),nt===null)throw Error(L(349));Rs&30||Bv(n,t,r)}s.memoizedState=r;var o={value:r,getSnapshot:t};return s.queue=o,xp(Uv.bind(null,n,o,e),[e]),n.flags|=2048,qi(9,zv.bind(null,n,o,r,t),void 0,null),r},useId:function(){var e=Er(),t=nt.identifierPrefix;if(Fe){var r=Jr,n=Xr;r=(n&~(1<<32-fr(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Zi++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=l1++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},h1={readContext:Xt,useCallback:Yv,useContext:Xt,useEffect:Bf,useImperativeHandle:Zv,useInsertionEffect:Wv,useLayoutEffect:Gv,useMemo:qv,useReducer:pu,useRef:Hv,useState:function(){return pu(Yi)},useDebugValue:zf,useDeferredValue:function(e){var t=Jt();return Xv(t,et.memoizedState,e)},useTransition:function(){var e=pu(Yi)[0],t=Jt().memoizedState;return[e,t]},useMutableSource:Iv,useSyncExternalStore:$v,useId:Jv,unstable_isNewReconciler:!1},p1={readContext:Xt,useCallback:Yv,useContext:Xt,useEffect:Bf,useImperativeHandle:Zv,useInsertionEffect:Wv,useLayoutEffect:Gv,useMemo:qv,useReducer:mu,useRef:Hv,useState:function(){return mu(Yi)},useDebugValue:zf,useDeferredValue:function(e){var t=Jt();return et===null?t.memoizedState=e:Xv(t,et.memoizedState,e)},useTransition:function(){var e=mu(Yi)[0],t=Jt().memoizedState;return[e,t]},useMutableSource:Iv,useSyncExternalStore:$v,useId:Jv,unstable_isNewReconciler:!1};function or(e,t){if(e&&e.defaultProps){t=ze({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function gd(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:ze({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var wc={isMounted:function(e){return(e=e._reactInternals)?zs(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=bt(),s=Bn(e),o=en(n,s);o.payload=t,r!=null&&(o.callback=r),t=In(e,o,s),t!==null&&(hr(t,e,s,n),fl(t,e,s))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=bt(),s=Bn(e),o=en(n,s);o.tag=1,o.payload=t,r!=null&&(o.callback=r),t=In(e,o,s),t!==null&&(hr(t,e,s,n),fl(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=bt(),n=Bn(e),s=en(r,n);s.tag=2,t!=null&&(s.callback=t),t=In(e,s,n),t!==null&&(hr(t,e,n,r),fl(t,e,n))}};function bp(e,t,r,n,s,o,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,o,i):t.prototype&&t.prototype.isPureReactComponent?!Ki(r,n)||!Ki(s,o):!0}function ny(e,t,r){var n=!1,s=Hn,o=t.contextType;return typeof o=="object"&&o!==null?o=Xt(o):(s=Tt(t)?Ps:pt.current,n=t.contextTypes,o=(n=n!=null)?To(e,s):Hn),t=new t(r,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=wc,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=o),t}function wp(e,t,r,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&wc.enqueueReplaceState(t,t.state,null)}function vd(e,t,r,n){var s=e.stateNode;s.props=r,s.state=e.memoizedState,s.refs={},Df(e);var o=t.contextType;typeof o=="object"&&o!==null?s.context=Xt(o):(o=Tt(t)?Ps:pt.current,s.context=To(e,o)),s.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(gd(e,t,o,r),s.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(t=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),t!==s.state&&wc.enqueueReplaceState(s,s.state,null),zl(e,r,s,n),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function Do(e,t){try{var r="",n=t;do r+=Ub(n),n=n.return;while(n);var s=r}catch(o){s=`
39Error generating stack: `+o.message+`
40`+o.stack}return{value:e,source:t,stack:s,digest:null}}function gu(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function yd(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var m1=typeof WeakMap=="function"?WeakMap:Map;function sy(e,t,r){r=en(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Wl||(Wl=!0,Nd=n),yd(e,t)},r}function oy(e,t,r){r=en(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var s=t.value;r.payload=function(){return n(s)},r.callback=function(){yd(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(r.callback=function(){yd(e,t),typeof n!="function"&&($n===null?$n=new Set([this]):$n.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),r}function _p(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new m1;var s=new Set;n.set(t,s)}else s=n.get(t),s===void 0&&(s=new Set,n.set(t,s));s.has(r)||(s.add(r),e=T1.bind(null,e,t,r),t.then(e,e))}function kp(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function jp(e,t,r,n,s){return e.mode&1?(e.flags|=65536,e.lanes=s,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=en(-1,1),t.tag=2,In(r,t,1))),r.lanes|=1),e)}var g1=dn.ReactCurrentOwner,Ct=!1;function yt(e,t,r,n){t.child=e===null?Mv(t,null,r,n):Ao(t,e.child,r,n)}function Sp(e,t,r,n,s){r=r.render;var o=t.ref;
vendor: 10,601 bytes, line 40
40return mo(t,s),n=If(e,t,r,n,o,s),r=$f(),e!==null&&!Ct?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,on(e,t,s)):(Fe&&r&&Ef(t),t.flags|=1,yt(e,t,n,s),t.child)}function Ep(e,t,r,n,s){if(e===null){var o=r.type;return typeof o=="function"&&!Zf(o)&&o.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=o,iy(e,t,o,n,s)):(e=yl(r.type,null,n,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&s)){var i=o.memoizedProps;if(r=r.compare,r=r!==null?r:Ki,r(i,n)&&e.ref===t.ref)return on(e,t,s)}return t.flags|=1,e=zn(o,n),e.ref=t.ref,e.return=t,t.child=e}function iy(e,t,r,n,s){if(e!==null){var o=e.memoizedProps;if(Ki(o,n)&&e.ref===t.ref)if(Ct=!1,t.pendingProps=n=o,(e.lanes&s)!==0)e.flags&131072&&(Ct=!0);else return t.lanes=e.lanes,on(e,t,s)}return xd(e,t,r,n,s)}function ay(e,t,r){var n=t.pendingProps,s=n.children,o=e!==null?e.memoizedState:null;if(n.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ae(co,Dt),Dt|=r;else{if(!(r&1073741824))return e=o!==null?o.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ae(co,Dt),Dt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=o!==null?o.baseLanes:r,Ae(co,Dt),Dt|=n}else o!==null?(n=o.baseLanes|r,t.memoizedState=null):n=r,Ae(co,Dt),Dt|=n;return yt(e,t,s,r),t.child}function ly(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function xd(e,t,r,n,s){var o=Tt(r)?Ps:pt.current;return o=To(t,o),mo(t,s),r=If(e,t,r,n,o,s),n=$f(),e!==null&&!Ct?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,on(e,t,s)):(Fe&&n&&Ef(t),t.flags|=1,yt(e,t,r,s),t.child)}function Cp(e,t,r,n,s){if(Tt(r)){var o=!0;Ll(t)}else o=!1;if(mo(t,s),t.stateNode===null)ml(e,t),ny(t,r,n),vd(t,r,n,s),n=!0;else if(e===null){var i=t.stateNode,a=t.memoizedProps;i.props=a;var l=i.context,c=r.contextType;typeof c=="object"&&c!==null?c=Xt(c):(c=Tt(r)?Ps:pt.current,c=To(t,c));var d=r.getDerivedStateFromProps,h=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function";h||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==n||l!==c)&&wp(t,i,n,c),wn=!1;var p=t.memoizedState;i.state=p,zl(t,n,i,s),l=t.memoizedState,a!==n||p!==l||Nt.current||wn?(typeof d=="function"&&(gd(t,r,d,n),l=t.memoizedState),(a=wn||bp(t,r,a,n,p,l,c))?(h||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=l),i.props=n,i.state=l,i.context=c,n=a):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,Lv(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:or(t.type,a),i.props=c,h=t.pendingProps,p=i.context,l=r.contextType,typeof l=="object"&&l!==null?l=Xt(l):(l=Tt(r)?Ps:pt.current,l=To(t,l));var f=r.getDerivedStateFromProps;(d=typeof f=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==h||p!==l)&&wp(t,i,n,l),wn=!1,p=t.memoizedState,i.state=p,zl(t,n,i,s);var w=t.memoizedState;a!==h||p!==w||Nt.current||wn?(typeof f=="function"&&(gd(t,r,f,n),w=t.memoizedState),(c=wn||bp(t,r,c,n,p,w,l)||!1)?(d||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(n,w,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(n,w,l)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=w),i.props=n,i.state=w,i.context=l,n=c):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),n=!1)}return bd(e,t,r,n,o,s)}function bd(e,t,r,n,s,o){ly(e,t);var i=(t.flags&128)!==0;if(!n&&!i)return s&&fp(t,r,!1),on(e,t,o);n=t.stateNode,g1.current=t;var a=i&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&i?(t.child=Ao(t,e.child,null,o),t.child=Ao(t,null,a,o)):yt(e,t,a,o),t.memoizedState=n.state,s&&fp(t,r,!0),t.child}function cy(e){var t=e.stateNode;t.pendingContext?dp(e,t.pendingContext,t.pendingContext!==t.context):t.context&&dp(e,t.context,!1),Mf(e,t.containerInfo)}function Np(e,t,r,n,s){return Po(),Nf(s),t.flags|=256,yt(e,t,r,n),t.child}var wd={dehydrated:null,treeContext:null,retryLane:0};function _d(e){return{baseLanes:e,cachePool:null,transitions:null}}function uy(e,t,r){var n=t.pendingProps,s=$e.current,o=!1,i=(t.flags&128)!==0,a;if((a=i)||(a=e!==null&&e.memoizedState===null?!1:(s&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),Ae($e,s&1),e===null)return pd(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=n.children,e=n.fallback,o?(n=t.mode,o=t.child,i={mode:"hidden",children:i},!(n&1)&&o!==null?(o.childLanes=0,o.pendingProps=i):o=jc(i,n,0,null),e=Ts(e,n,r,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=_d(r),t.memoizedState=wd,e):Uf(t,i));if(s=e.memoizedState,s!==null&&(a=s.dehydrated,a!==null))return v1(e,t,i,n,a,s,r);if(o){o=n.fallback,i=t.mode,s=e.child,a=s.sibling;var l={mode:"hidden",children:n.children};return!(i&1)&&t.child!==s?(n=t.child,n.childLanes=0,n.pendingProps=l,t.deletions=null):(n=zn(s,l),n.subtreeFlags=s.subtreeFlags&14680064),a!==null?o=zn(a,o):(o=Ts(o,i,r,null),o.flags|=2),o.return=t,n.return=t,n.sibling=o,t.child=n,n=o,o=t.child,i=e.child.memoizedState,i=i===null?_d(r):{baseLanes:i.baseLanes|r,cachePool:null,transitions:i.transitions},o.memoizedState=i,o.childLanes=e.childLanes&~r,t.memoizedState=wd,n}return o=e.child,e=o.sibling,n=zn(o,{mode:"visible",children:n.children}),!(t.mode&1)&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n}function Uf(e,t){return t=jc({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ua(e,t,r,n){return n!==null&&Nf(n),Ao(t,e.child,null,r),e=Uf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function v1(e,t,r,n,s,o,i){if(r)return t.flags&256?(t.flags&=-257,n=gu(Error(L(422))),Ua(e,t,i,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=n.fallback,s=t.mode,n=jc({mode:"visible",children:n.children},s,0,null),o=Ts(o,s,i,null),o.flags|=2,n.return=t,o.return=t,n.sibling=o,t.child=n,t.mode&1&&Ao(t,e.child,null,i),t.child.memoizedState=_d(i),t.memoizedState=wd,o);if(!(t.mode&1))return Ua(e,t,i,null);if(s.data==="$!"){if(n=s.nextSibling&&s.nextSibling.dataset,n)var a=n.dgst;return n=a,o=Error(L(419)),n=gu(o,n,void 0),Ua(e,t,i,n)}if(a=(i&e.childLanes)!==0,Ct||a){if(n=nt,n!==null){switch(i&-i){case 4:s=2;break;case 16:s=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:s=32;break;case 536870912:s=268435456;break;default:s=0}s=s&(n.suspendedLanes|i)?0:s,s!==0&&s!==o.retryLane&&(o.retryLane=s,sn(e,s),hr(n,e,s,-1))}return Qf(),n=gu(Error(L(421))),Ua(e,t,i,n)}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=P1.bind(null,e),s._reactRetry=t,null):(e=o.treeContext,Lt=Fn(s.nextSibling),Ft=t,Fe=!0,dr=null,e!==null&&(Qt[Zt++]=Xr,Qt[Zt++]=Jr,Qt[Zt++]=As,Xr=e.id,Jr=e.overflow,As=t),t=Uf(t,n.children),t.flags|=4096,t)}function Tp(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),md(e.return,t,r)}function vu(e,t,r,n,s){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:s}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=n,o.tail=r,o.tailMode=s)}function dy(e,t,r){var n=t.pendingProps,s=n.revealOrder,o=n.tail;if(yt(e,t,n.children,r),n=$e.current,n&2)n=n&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Tp(e,r,t);else if(e.tag===19)Tp(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(Ae($e,n),!(t.mode&1))t.memoizedState=null;else switch(s){case"forwards":for(r=t.child,s=null;r!==null;)e=r.alternate,e!==null&&Ul(e)===null&&(s=r),r=r.sibling;r=s,r===null?(s=t.child,t.child=null):(s=r.sibling,r.sibling=null),vu(t,!1,s,r,o);break;case"backwards":for(r=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&Ul(e)===null){t.child=s;break}e=s.sibling,s.sibling=r,r=s,s=e}vu(t,!0,r,null,o);break;case"together":vu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ml(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function on(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Ds|=t.lanes,!(r&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(L(153));if(t.child!==null){for(e=t.child,r=zn(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=zn(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function y1(e,t,r){switch(t.tag){case 3:cy(t),Po();break;case 5:Fv(t);break;case 1:Tt(t.type)&&Ll(t);break;case 4:Mf(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,s=t.memoizedProps.value;Ae($l,n._currentValue),n._currentValue=s;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(Ae($e,$e.current&1),t.flags|=128,null):r&t.child.childLanes?uy(e,t,r):(Ae($e,$e.current&1),e=on(e,t,r),e!==null?e.sibling:null);Ae($e,$e.current&1);break;case 19:if(n=(r&t.childLanes)!==0,e.flags&128){if(n)return dy(e,t,r);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),Ae($e,$e.current),n)break;return null;case 22:case 23:return t.lanes=0,ay(e,t,r)}return on(e,t,r)}
vendor: 4,537 bytes, line 40
40var fy,kd,hy,py;fy=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};kd=function(){};hy=function(e,t,r,n){var s=e.memoizedProps;if(s!==n){e=t.stateNode,bs(Dr.current);var o=null;switch(r){case"input":s=Hu(e,s),n=Hu(e,n),o=[];break;case"select":s=ze({},s,{value:void 0}),n=ze({},n,{value:void 0}),o=[];break;case"textarea":s=Qu(e,s),n=Qu(e,n),o=[];break;default:typeof s.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=Ml)}Yu(r,n);var i;r=null;for(c in s)if(!n.hasOwnProperty(c)&&s.hasOwnProperty(c)&&s[c]!=null)if(c==="style"){var a=s[c];for(i in a)a.hasOwnProperty(i)&&(r||(r={}),r[i]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Li.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in n){var l=n[c];if(a=s!=null?s[c]:void 0,n.hasOwnProperty(c)&&l!==a&&(l!=null||a!=null))if(c==="style")if(a){for(i in a)!a.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(r||(r={}),r[i]="");for(i in l)l.hasOwnProperty(i)&&a[i]!==l[i]&&(r||(r={}),r[i]=l[i])}else r||(o||(o=[]),o.push(c,r)),r=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Li.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&De("scroll",e),o||a===l||(o=[])):(o=o||[]).push(c,l))}r&&(o=o||[]).push("style",r);var c=o;(t.updateQueue=c)&&(t.flags|=4)}};py=function(e,t,r,n){r!==n&&(t.flags|=4)};function fi(e,t){if(!Fe)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function dt(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,n=0;if(t)for(var s=e.child;s!==null;)r|=s.lanes|s.childLanes,n|=s.subtreeFlags&14680064,n|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)r|=s.lanes|s.childLanes,n|=s.subtreeFlags,n|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function x1(e,t,r){var n=t.pendingProps;switch(Cf(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return dt(t),null;case 1:return Tt(t.type)&&Ol(),dt(t),null;case 3:return n=t.stateNode,Ro(),Me(Nt),Me(pt),Lf(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Ba(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,dr!==null&&(Ad(dr),dr=null))),kd(e,t),dt(t),null;case 5:Of(t);var s=bs(Qi.current);if(r=t.type,e!==null&&t.stateNode!=null)hy(e,t,r,n,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(t.stateNode===null)throw Error(L(166));return dt(t),null}if(e=bs(Dr.current),Ba(t)){n=t.stateNode,r=t.type;var o=t.memoizedProps;switch(n[Pr]=t,n[Wi]=o,e=(t.mode&1)!==0,r){case"dialog":De("cancel",n),De("close",n);break;case"iframe":case"object":case"embed":De("load",n);break;case"video":case"audio":for(s=0;s<_i.length;s++)De(_i[s],n);break;case"source":De("error",n);break;case"img":case"image":case"link":De("error",n),De("load",n);break;case"details":De("toggle",n);break;case"input":Ih(n,o),De("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!o.multiple},De("invalid",n);break;case"textarea":Bh(n,o),De("invalid",n)}Yu(r,o),s=null;for(var i in o)if(o.hasOwnProperty(i)){var a=o[i];i==="children"?typeof a=="string"?n.textContent!==a&&(o.suppressHydrationWarning!==!0&&$a(n.textContent,a,e),s=["children",a]):typeof a=="number"&&n.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&$a(n.textContent,a,e),s=["children",""+a]):Li.hasOwnProperty(i)&&a!=null&&i==="onScroll"&&De("scroll",n)}switch(r){case"input":Aa(n),$h(n,o,!0);break;case"textarea":Aa(n),zh(n);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(n.onclick=Ml)}n=s,t.updateQueue=n,n!==null&&(t.flags|=4)}else{i=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Ug(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>
40",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=i.createElement(r,{is:n.is}):(e=i.createElement(r),r==="select"&&(i=e,n.multiple?i.multiple=!0:n.size&&(i.size=n.size))):e=i.createElementNS(e,r),e[Pr]=t,e[Wi]=n,fy(e,t,!1,!1),t.stateNode=e;e:{switch(i=qu(r,n),r){case"dialog":De("cancel",e),De("close",e),s=n;break;case"iframe":case"object":case"embed":De("load",e),s=n;break;case"video":case"audio":for(s=0;s<_i.length;s++)De(_i[s],e);s=n;break;case"source":De("error",e),s=n;break;case"img":case"image":case"link":De("error",e),De("load",e),s=n;break;case"details":De("toggle",e),s=n;break;case"input":Ih(e,n),s=Hu(e,n),De("invalid",e);break;case"option":s=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},s=ze({},n,{value:void 0}),De("invalid",e);break;case"textarea":Bh(e,n),s=Qu(e,n),De("invalid",e);break;default:s=n}Yu(r,s),a=s;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];o==="style"?Hg(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Kg(e,l)):o==="children"?typeof l=="string"?(r!=="textarea"||l!=="")&&Fi(e,l):typeof l=="number"&&Fi(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Li.hasOwnProperty(o)?l!=null&&o==="onScroll"&&De("scroll",e):l!=null&&ff(e,o,l,i))}switch(r){case"input":Aa(e),$h(e,n,!1);break;case"textarea":Aa(e),zh(e);break;case"option":n.value!=null&&e.setAttribute("value",""+Vn(n.value));break;case"select":e.multiple=!!n.multiple,o=n.value,o!=null?uo(e,!!n.multiple,o,!1):n.defaultValue!=null&&uo(e,!!n.multiple,n.defaultValue,!0);break;default:typeof s.onClick=="function"&&(e.onclick=Ml)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return dt(t),null;case 6:if(e&&t.stateNode!=null)py(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(L(166));if(r=bs(Qi.current),bs(Dr.current),Ba(t)){if(n=t.stateNode,r=t.memoizedProps,n[Pr]=t,(o=n.nodeValue!==r)&&(e=Ft,e!==null))switch(e.tag){case 3:$a(n.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&$a(n.nodeValue,r,(e.mode&1)!==0)}o&&(t.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[Pr]=t,t.stateNode=n}return dt(t),null;case 13:if(Me($e),n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Fe&&Lt!==null&&t.mode&1&&!(t.flags&128))Rv(),Po(),t.flags|=98560,o=!1;else if(o=Ba(t),n!==null&&n.dehydrated!==null){if(e===null){if(!o)throw Error(L(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(L(317));o[Pr]=t}else Po(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;dt(t),o=!1}else dr!==null&&(Ad(dr),dr=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=r,t):(n=n!==null,n!==(e!==null&&e.memoizedState!==null)&&n&&(t.child.flags|=8192,t.mode&1&&(e===null||$e.current&1?tt===0&&(tt=3):Qf())),t.updateQueue!==null&&(t.flags|=4),dt(t),null);case 4:return Ro(),kd(e,t),e===null&&Vi(t.stateNode.containerInfo),dt(t),null;case 10:return Af(t.type._context),dt(t),null;case 17:return Tt(t.type)&&Ol(),dt(t),null;case 19:if(Me($e),o=t.memoizedState,o===null)return dt(t),null;if(n=(t.flags&128)!==0,i=o.rendering,i===null)if(n)fi(o,!1);else{if(tt!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=Ul(e),i!==null){for(t.flags|=128,fi(o,!1),n=i.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;r!==null;)o=r,e=n,o.flags&=14680066,i=o.alternate,i===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=i.childLanes,o.lanes=i.lanes,o.child=i.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=i.memoizedProps,o.memoizedState=i.memoizedState,o.updateQueue=i.updateQueue,o.type=i.type,e=i.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Ae($e,$e.current&1|2),t.child}e=e.sibling}o.tail!==null&&Qe()>
vendor: 26,896 bytes, line 40
40Mo&&(t.flags|=128,n=!0,fi(o,!1),t.lanes=4194304)}else{if(!n)if(e=Ul(i),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),fi(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!Fe)return dt(t),null}else 2*Qe()-o.renderingStartTime>Mo&&r!==1073741824&&(t.flags|=128,n=!0,fi(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(r=o.last,r!==null?r.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Qe(),t.sibling=null,r=$e.current,Ae($e,n?r&1|2:r&1),t):(dt(t),null);case 22:case 23:return Gf(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?Dt&1073741824&&(dt(t),t.subtreeFlags&6&&(t.flags|=8192)):dt(t),null;case 24:return null;case 25:return null}throw Error(L(156,t.tag))}function b1(e,t){switch(Cf(t),t.tag){case 1:return Tt(t.type)&&Ol(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ro(),Me(Nt),Me(pt),Lf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Of(t),null;case 13:if(Me($e),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(L(340));Po()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Me($e),null;case 4:return Ro(),null;case 10:return Af(t.type._context),null;case 22:case 23:return Gf(),null;case 24:return null;default:return null}}var Ka=!1,ht=!1,w1=typeof WeakSet=="function"?WeakSet:Set,H=null;function lo(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){Ge(e,t,n)}else r.current=null}function jd(e,t,r){try{r()}catch(n){Ge(e,t,n)}}var Pp=!1;function _1(e,t){if(ad=Al,e=xv(),Sf(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var s=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break e}var i=0,a=-1,l=-1,c=0,d=0,h=e,p=null;t:for(;;){for(var f;h!==r||s!==0&&h.nodeType!==3||(a=i+s),h!==o||n!==0&&h.nodeType!==3||(l=i+n),h.nodeType===3&&(i+=h.nodeValue.length),(f=h.firstChild)!==null;)p=h,h=f;for(;;){if(h===e)break t;if(p===r&&++c===s&&(a=i),p===o&&++d===n&&(l=i),(f=h.nextSibling)!==null)break;h=p,p=h.parentNode}h=f}r=a===-1||l===-1?null:{start:a,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(ld={focusedElem:e,selectionRange:r},Al=!1,H=t;H!==null;)if(t=H,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,H=e;else for(;H!==null;){t=H;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var m=w.memoizedProps,b=w.memoizedState,y=t.stateNode,g=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:or(t.type,m),b);y.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(L(163))}}catch(k){Ge(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,H=e;break}H=t.return}return w=Pp,Pp=!1,w}function Ri(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var s=n=n.next;do{if((s.tag&e)===e){var o=s.destroy;s.destroy=void 0,o!==void 0&&jd(t,r,o)}s=s.next}while(s!==n)}}function _c(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Sd(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function my(e){var t=e.alternate;t!==null&&(e.alternate=null,my(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Pr],delete t[Wi],delete t[dd],delete t[s1],delete t[o1])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function gy(e){return e.tag===5||e.tag===3||e.tag===4}function Ap(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||gy(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ed(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Ml));else if(n!==4&&(e=e.child,e!==null))for(Ed(e,t,r),e=e.sibling;e!==null;)Ed(e,t,r),e=e.sibling}function Cd(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(Cd(e,t,r),e=e.sibling;e!==null;)Cd(e,t,r),e=e.sibling}var ot=null,cr=!1;function pn(e,t,r){for(r=r.child;r!==null;)vy(e,t,r),r=r.sibling}function vy(e,t,r){if(Rr&&typeof Rr.onCommitFiberUnmount=="function")try{Rr.onCommitFiberUnmount(pc,r)}catch{}switch(r.tag){case 5:ht||lo(r,t);case 6:var n=ot,s=cr;ot=null,pn(e,t,r),ot=n,cr=s,ot!==null&&(cr?(e=ot,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):ot.removeChild(r.stateNode));break;case 18:ot!==null&&(cr?(e=ot,r=r.stateNode,e.nodeType===8?uu(e.parentNode,r):e.nodeType===1&&uu(e,r),zi(e)):uu(ot,r.stateNode));break;case 4:n=ot,s=cr,ot=r.stateNode.containerInfo,cr=!0,pn(e,t,r),ot=n,cr=s;break;case 0:case 11:case 14:case 15:if(!ht&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){s=n=n.next;do{var o=s,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&jd(r,t,i),s=s.next}while(s!==n)}pn(e,t,r);break;case 1:if(!ht&&(lo(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(a){Ge(r,t,a)}pn(e,t,r);break;case 21:pn(e,t,r);break;case 22:r.mode&1?(ht=(n=ht)||r.memoizedState!==null,pn(e,t,r),ht=n):pn(e,t,r);break;default:pn(e,t,r)}}function Rp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new w1),t.forEach(function(n){var s=A1.bind(null,e,n);r.has(n)||(r.add(n),n.then(s,s))})}}function nr(e,t){var r=t.deletions;if(r!==null)for(var n=0;n<r.length;n++){var s=r[n];try{var o=e,i=t,a=i;e:for(;a!==null;){switch(a.tag){case 5:ot=a.stateNode,cr=!1;break e;case 3:ot=a.stateNode.containerInfo,cr=!0;break e;case 4:ot=a.stateNode.containerInfo,cr=!0;break e}a=a.return}if(ot===null)throw Error(L(160));vy(o,i,s),ot=null,cr=!1;var l=s.alternate;l!==null&&(l.return=null),s.return=null}catch(c){Ge(s,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)yy(t,e),t=t.sibling}function yy(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(nr(t,e),Sr(e),n&4){try{Ri(3,e,e.return),_c(3,e)}catch(m){Ge(e,e.return,m)}try{Ri(5,e,e.return)}catch(m){Ge(e,e.return,m)}}break;case 1:nr(t,e),Sr(e),n&512&&r!==null&&lo(r,r.return);break;case 5:if(nr(t,e),Sr(e),n&512&&r!==null&&lo(r,r.return),e.flags&32){var s=e.stateNode;try{Fi(s,"")}catch(m){Ge(e,e.return,m)}}if(n&4&&(s=e.stateNode,s!=null)){var o=e.memoizedProps,i=r!==null?r.memoizedProps:o,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&Bg(s,o),qu(a,i);var c=qu(a,o);for(i=0;i<l.length;i+=2){var d=l[i],h=l[i+1];d==="style"?Hg(s,h):d==="dangerouslySetInnerHTML"?Kg(s,h):d==="children"?Fi(s,h):ff(s,d,h,c)}switch(a){case"input":Wu(s,o);break;case"textarea":zg(s,o);break;case"select":var p=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!o.multiple;var f=o.value;f!=null?uo(s,!!o.multiple,f,!1):p!==!!o.multiple&&(o.defaultValue!=null?uo(s,!!o.multiple,o.defaultValue,!0):uo(s,!!o.multiple,o.multiple?[]:"",!1))}s[Wi]=o}catch(m){Ge(e,e.return,m)}}break;case 6:if(nr(t,e),Sr(e),n&4){if(e.stateNode===null)throw Error(L(162));s=e.stateNode,o=e.memoizedProps;try{s.nodeValue=o}catch(m){Ge(e,e.return,m)}}break;case 3:if(nr(t,e),Sr(e),n&4&&r!==null&&r.memoizedState.isDehydrated)try{zi(t.containerInfo)}catch(m){Ge(e,e.return,m)}break;case 4:nr(t,e),Sr(e);break;case 13:nr(t,e),Sr(e),s=e.child,s.flags&8192&&(o=s.memoizedState!==null,s.stateNode.isHidden=o,!o||s.alternate!==null&&s.alternate.memoizedState!==null||(Hf=Qe())),n&4&&Rp(e);break;case 22:if(d=r!==null&&r.memoizedState!==null,e.mode&1?(ht=(c=ht)||d,nr(t,e),ht=c):nr(t,e),Sr(e),n&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!d&&e.mode&1)for(H=e,d=e.child;d!==null;){for(h=H=d;H!==null;){switch(p=H,f=p.child,p.tag){case 0:case 11:case 14:case 15:Ri(4,p,p.return);break;case 1:lo(p,p.return);var w=p.stateNode;if(typeof w.componentWillUnmount=="function"){n=p,r=p.return;try{t=n,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(m){Ge(n,r,m)}}break;case 5:lo(p,p.return);break;case 22:if(p.memoizedState!==null){Mp(h);continue}}f!==null?(f.return=p,H=f):Mp(h)}d=d.sibling}e:for(d=null,h=e;;){if(h.tag===5){if(d===null){d=h;try{s=h.stateNode,c?(o=s.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=h.stateNode,l=h.memoizedProps.style,i=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Vg("display",i))}catch(m){Ge(e,e.return,m)}}}else if(h.tag===6){if(d===null)try{h.stateNode.nodeValue=c?"":h.memoizedProps}catch(m){Ge(e,e.return,m)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===e)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;h.sibling===null;){if(h.return===null||h.return===e)break e;d===h&&(d=null),h=h.return}d===h&&(d=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:nr(t,e),Sr(e),n&4&&Rp(e);break;case 21:break;default:nr(t,e),Sr(e)}}function Sr(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(gy(r)){var n=r;break e}r=r.return}throw Error(L(160))}switch(n.tag){case 5:var s=n.stateNode;n.flags&32&&(Fi(s,""),n.flags&=-33);var o=Ap(e);Cd(e,o,s);break;case 3:case 4:var i=n.stateNode.containerInfo,a=Ap(e);Ed(e,a,i);break;default:throw Error(L(161))}}catch(l){Ge(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function k1(e,t,r){H=e,xy(e)}function xy(e,t,r){for(var n=(e.mode&1)!==0;H!==null;){var s=H,o=s.child;if(s.tag===22&&n){var i=s.memoizedState!==null||Ka;if(!i){var a=s.alternate,l=a!==null&&a.memoizedState!==null||ht;a=Ka;var c=ht;if(Ka=i,(ht=l)&&!c)for(H=s;H!==null;)i=H,l=i.child,i.tag===22&&i.memoizedState!==null?Op(s):l!==null?(l.return=i,H=l):Op(s);for(;o!==null;)H=o,xy(o),o=o.sibling;H=s,Ka=a,ht=c}Dp(e)}else s.subtreeFlags&8772&&o!==null?(o.return=s,H=o):Dp(e)}}function Dp(e){for(;H!==null;){var t=H;if(t.flags&8772){var r=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ht||_c(5,t);break;case 1:var n=t.stateNode;if(t.flags&4&&!ht)if(r===null)n.componentDidMount();else{var s=t.elementType===t.type?r.memoizedProps:or(t.type,r.memoizedProps);n.componentDidUpdate(s,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&vp(t,o,n);break;case 3:var i=t.updateQueue;if(i!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}vp(t,i,r)}break;case 5:var a=t.stateNode;if(r===null&&t.flags&4){r=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&r.focus();break;case"img":l.src&&(r.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var d=c.memoizedState;if(d!==null){var h=d.dehydrated;h!==null&&zi(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(L(163))}ht||t.flags&512&&Sd(t)}catch(p){Ge(t,t.return,p)}}if(t===e){H=null;break}if(r=t.sibling,r!==null){r.return=t.return,H=r;break}H=t.return}}function Mp(e){for(;H!==null;){var t=H;if(t===e){H=null;break}var r=t.sibling;if(r!==null){r.return=t.return,H=r;break}H=t.return}}function Op(e){for(;H!==null;){var t=H;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{_c(4,t)}catch(l){Ge(t,r,l)}break;case 1:var n=t.stateNode;if(typeof n.componentDidMount=="function"){var s=t.return;try{n.componentDidMount()}catch(l){Ge(t,s,l)}}var o=t.return;try{Sd(t)}catch(l){Ge(t,o,l)}break;case 5:var i=t.return;try{Sd(t)}catch(l){Ge(t,i,l)}}}catch(l){Ge(t,t.return,l)}if(t===e){H=null;break}var a=t.sibling;if(a!==null){a.return=t.return,H=a;break}H=t.return}}var j1=Math.ceil,Hl=dn.ReactCurrentDispatcher,Kf=dn.ReactCurrentOwner,qt=dn.ReactCurrentBatchConfig,xe=0,nt=null,Xe=null,it=0,Dt=0,co=Jn(0),tt=0,Xi=null,Ds=0,kc=0,Vf=0,Di=null,Et=null,Hf=0,Mo=1/0,Zr=null,Wl=!1,Nd=null,$n=null,Va=!1,An=null,Gl=0,Mi=0,Td=null,gl=-1,vl=0;function bt(){return xe&6?Qe():gl!==-1?gl:gl=Qe()}function Bn(e){return e.mode&1?xe&2&&it!==0?it&-it:a1.transition!==null?(vl===0&&(vl=nv()),vl):(e=Te,e!==0||(e=window.event,e=e===void 0?16:uv(e.type)),e):1}function hr(e,t,r,n){if(50<Mi)throw Mi=0,Td=null,Error(L(185));da(e,r,n),(!(xe&2)||e!==nt)&&(e===nt&&(!(xe&2)&&(kc|=r),tt===4&&jn(e,it)),Pt(e,n),r===1&&xe===0&&!(t.mode&1)&&(Mo=Qe()+500,xc&&es()))}function Pt(e,t){var r=e.callbackNode;aw(e,t);var n=Pl(e,e===nt?it:0);if(n===0)r!==null&&Vh(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(r!=null&&Vh(r),t===1)e.tag===0?i1(Lp.bind(null,e)):Tv(Lp.bind(null,e)),r1(function(){!(xe&6)&&es()}),r=null;else{switch(sv(n)){case 1:r=vf;break;case 4:r=tv;break;case 16:r=Tl;break;case 536870912:r=rv;break;default:r=Tl}r=Cy(r,by.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function by(e,t){if(gl=-1,vl=0,xe&6)throw Error(L(327));var r=e.callbackNode;if(go()&&e.callbackNode!==r)return null;var n=Pl(e,e===nt?it:0);if(n===0)return null;if(n&30||n&e.expiredLanes||t)t=Ql(e,n);else{t=n;var s=xe;xe|=2;var o=_y();(nt!==e||it!==t)&&(Zr=null,Mo=Qe()+500,Ns(e,t));do try{C1();break}catch(a){wy(e,a)}while(!0);Pf(),Hl.current=o,xe=s,Xe!==null?t=0:(nt=null,it=0,t=tt)}if(t!==0){if(t===2&&(s=rd(e),s!==0&&(n=s,t=Pd(e,s))),t===1)throw r=Xi,Ns(e,0),jn(e,n),Pt(e,Qe()),r;if(t===6)jn(e,n);else{if(s=e.current.alternate,!(n&30)&&!S1(s)&&(t=Ql(e,n),t===2&&(o=rd(e),o!==0&&(n=o,t=Pd(e,o))),t===1))throw r=Xi,Ns(e,0),jn(e,n),Pt(e,Qe()),r;switch(e.finishedWork=s,e.finishedLanes=n,t){case 0:case 1:throw Error(L(345));case 2:ms(e,Et,Zr);break;case 3:if(jn(e,n),(n&130023424)===n&&(t=Hf+500-Qe(),10<t)){if(Pl(e,0)!==0)break;if(s=e.suspendedLanes,(s&n)!==n){bt(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=ud(ms.bind(null,e,Et,Zr),t);break}ms(e,Et,Zr);break;case 4:if(jn(e,n),(n&4194240)===n)break;for(t=e.eventTimes,s=-1;0<n;){var i=31-fr(n);o=1<<i,i=t[i],i>s&&(s=i),n&=~o}if(n=s,n=Qe()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*j1(n/1960))-n,10<n){e.timeoutHandle=ud(ms.bind(null,e,Et,Zr),n);break}ms(e,Et,Zr);break;case 5:ms(e,Et,Zr);break;default:throw Error(L(329))}}}return Pt(e,Qe()),e.callbackNode===r?by.bind(null,e):null}function Pd(e,t){var r=Di;return e.current.memoizedState.isDehydrated&&(Ns(e,t).flags|=256),e=Ql(e,t),e!==2&&(t=Et,Et=r,t!==null&&Ad(t)),e}function Ad(e){Et===null?Et=e:Et.push.apply(Et,e)}function S1(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var n=0;n<r.length;n++){var s=r[n],o=s.getSnapshot;s=s.value;try{if(!pr(o(),s))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function jn(e,t){for(t&=~Vf,t&=~kc,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-fr(t),n=1<<r;e[r]=-1,t&=~n}}function Lp(e){if(xe&6)throw Error(L(327));go();var t=Pl(e,0);if(!(t&1))return Pt(e,Qe()),null;var r=Ql(e,t);if(e.tag!==0&&r===2){var n=rd(e);n!==0&&(t=n,r=Pd(e,n))}if(r===1)throw r=Xi,Ns(e,0),jn(e,t),Pt(e,Qe()),r;if(r===6)throw Error(L(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ms(e,Et,Zr),Pt(e,Qe()),null}function Wf(e,t){var r=xe;xe|=1;try{return e(t)}finally{xe=r,xe===0&&(Mo=Qe()+500,xc&&es())}}function Ms(e){An!==null&&An.tag===0&&!(xe&6)&&go();var t=xe;xe|=1;var r=qt.transition,n=Te;try{if(qt.transition=null,Te=1,e)return e()}finally{Te=n,qt.transition=r,xe=t,!(xe&6)&&es()}}function Gf(){Dt=co.current,Me(co)}function Ns(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,t1(r)),Xe!==null)for(r=Xe.return;r!==null;){var n=r;switch(Cf(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&Ol();break;case 3:Ro(),Me(Nt),Me(pt),Lf();break;case 5:Of(n);break;case 4:Ro();break;case 13:Me($e);break;case 19:Me($e);break;case 10:Af(n.type._context);break;case 22:case 23:Gf()}r=r.return}if(nt=e,Xe=e=zn(e.current,null),it=Dt=t,tt=0,Xi=null,Vf=kc=Ds=0,Et=Di=null,xs!==null){for(t=0;t<xs.length;t++)if(r=xs[t],n=r.interleaved,n!==null){r.interleaved=null;var s=n.next,o=r.pending;if(o!==null){var i=o.next;o.next=s,n.next=i}r.pending=n}xs=null}return e}function wy(e,t){do{var r=Xe;try{if(Pf(),hl.current=Vl,Kl){for(var n=Be.memoizedState;n!==null;){var s=n.queue;s!==null&&(s.pending=null),n=n.next}Kl=!1}if(Rs=0,rt=et=Be=null,Ai=!1,Zi=0,Kf.current=null,r===null||r.return===null){tt=1,Xi=t,Xe=null;break}e:{var o=e,i=r.return,a=r,l=t;if(t=it,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,d=a,h=d.tag;if(!(d.mode&1)&&(h===0||h===11||h===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var f=kp(i);if(f!==null){f.flags&=-257,jp(f,i,a,o,t),f.mode&1&&_p(o,c,t),t=f,l=c;var w=t.updateQueue;if(w===null){var m=new Set;m.add(l),t.updateQueue=m}else w.add(l);break e}else{if(!(t&1)){_p(o,c,t),Qf();break e}l=Error(L(426))}}else if(Fe&&a.mode&1){var b=kp(i);if(b!==null){!(b.flags&65536)&&(b.flags|=256),jp(b,i,a,o,t),Nf(Do(l,a));break e}}o=l=Do(l,a),tt!==4&&(tt=2),Di===null?Di=[o]:Di.push(o),o=i;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var y=sy(o,l,t);gp(o,y);break e;case 1:a=l;var g=o.type,x=o.stateNode;if(!(o.flags&128)&&(typeof g.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&($n===null||!$n.has(x)))){o.flags|=65536,t&=-t,o.lanes|=t;var k=oy(o,a,t);gp(o,k);break e}}o=o.return}while(o!==null)}jy(r)}catch(S){t=S,Xe===r&&r!==null&&(Xe=r=r.return);continue}break}while(!0)}function _y(){var e=Hl.current;return Hl.current=Vl,e===null?Vl:e}function Qf(){(tt===0||tt===3||tt===2)&&(tt=4),nt===null||!(Ds&268435455)&&!(kc&268435455)||jn(nt,it)}function Ql(e,t){var r=xe;xe|=2;var n=_y();(nt!==e||it!==t)&&(Zr=null,Ns(e,t));do try{E1();break}catch(s){wy(e,s)}while(!0);if(Pf(),xe=r,Hl.current=n,Xe!==null)throw Error(L(261));return nt=null,it=0,tt}function E1(){for(;Xe!==null;)ky(Xe)}function C1(){for(;Xe!==null&&!Xb();)ky(Xe)}function ky(e){var t=Ey(e.alternate,e,Dt);e.memoizedProps=e.pendingProps,t===null?jy(e):Xe=t,Kf.current=null}function jy(e){var t=e;do{var r=t.alternate;if(e=t.return,t.flags&32768){if(r=b1(r,t),r!==null){r.flags&=32767,Xe=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{tt=6,Xe=null;return}}else if(r=x1(r,t,Dt),r!==null){Xe=r;return}if(t=t.sibling,t!==null){Xe=t;return}Xe=t=e}while(t!==null);tt===0&&(tt=5)}function ms(e,t,r){var n=Te,s=qt.transition;try{qt.transition=null,Te=1,N1(e,t,r,n)}finally{qt.transition=s,Te=n}return null}function N1(e,t,r,n){do go();while(An!==null);if(xe&6)throw Error(L(327));r=e.finishedWork;var s=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(L(177));e.callbackNode=null,e.callbackPriority=0;var o=r.lanes|r.childLanes;if(lw(e,o),e===nt&&(Xe=nt=null,it=0),!(r.subtreeFlags&2064)&&!(r.flags&2064)||Va||(Va=!0,Cy(Tl,function(){return go(),null})),o=(r.flags&15990)!==0,r.subtreeFlags&15990||o){o=qt.transition,qt.transition=null;var i=Te;Te=1;var a=xe;xe|=4,Kf.current=null,_1(e,r),yy(r,e),Qw(ld),Al=!!ad,ld=ad=null,e.current=r,k1(r),Jb(),xe=a,Te=i,qt.transition=o}else e.current=r;if(Va&&(Va=!1,An=e,Gl=s),o=e.pendingLanes,o===0&&($n=null),rw(r.stateNode),Pt(e,Qe()),t!==null)for(n=e.onRecoverableError,r=0;r<t.length;r++)s=t[r],n(s.value,{componentStack:s.stack,digest:s.digest});if(Wl)throw Wl=!1,e=Nd,Nd=null,e;return Gl&1&&e.tag!==0&&go(),o=e.pendingLanes,o&1?e===Td?Mi++:(Mi=0,Td=e):Mi=0,es(),null}function go(){if(An!==null){var e=sv(Gl),t=qt.transition,r=Te;try{if(qt.transition=null,Te=16>e?16:e,An===null)var n=!1;else{if(e=An,An=null,Gl=0,xe&6)throw Error(L(331));var s=xe;for(xe|=4,H=e.current;H!==null;){var o=H,i=o.child;if(H.flags&16){var a=o.deletions;if(a!==null){for(var l=0;l<a.length;l++){var c=a[l];for(H=c;H!==null;){var d=H;switch(d.tag){case 0:case 11:case 15:Ri(8,d,o)}var h=d.child;if(h!==null)h.return=d,H=h;else for(;H!==null;){d=H;var p=d.sibling,f=d.return;if(my(d),d===c){H=null;break}if(p!==null){p.return=f,H=p;break}H=f}}}var w=o.alternate;if(w!==null){var m=w.child;if(m!==null){w.child=null;do{var b=m.sibling;m.sibling=null,m=b}while(m!==null)}}H=o}}if(o.subtreeFlags&2064&&i!==null)i.return=o,H=i;else e:for(;H!==null;){if(o=H,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Ri(9,o,o.return)}var y=o.sibling;if(y!==null){y.return=o.return,H=y;break e}H=o.return}}var g=e.current;for(H=g;H!==null;){i=H;var x=i.child;if(i.subtreeFlags&2064&&x!==null)x.return=i,H=x;else e:for(i=g;H!==null;){if(a=H,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:_c(9,a)}}catch(S){Ge(a,a.return,S)}if(a===i){H=null;break e}var k=a.sibling;if(k!==null){k.return=a.return,H=k;break e}H=a.return}}if(xe=s,es(),Rr&&typeof Rr.onPostCommitFiberRoot=="function")try{Rr.onPostCommitFiberRoot(pc,e)}catch{}n=!0}return n}finally{Te=r,qt.transition=t}}return!1}function Fp(e,t,r){t=Do(r,t),t=sy(e,t,1),e=In(e,t,1),t=bt(),e!==null&&(da(e,1,t),Pt(e,t))}function Ge(e,t,r){if(e.tag===3)Fp(e,e,r);else for(;t!==null;){if(t.tag===3){Fp(t,e,r);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&($n===null||!$n.has(n))){e=Do(r,e),e=oy(t,e,1),t=In(t,e,1),e=bt(),t!==null&&(da(t,1,e),Pt(t,e));break}}t=t.return}}function T1(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=bt(),e.pingedLanes|=e.suspendedLanes&r,nt===e&&(it&r)===r&&(tt===4||tt===3&&(it&130023424)===it&&500>Qe()-Hf?Ns(e,0):Vf|=r),Pt(e,t)}function Sy(e,t){t===0&&(e.mode&1?(t=Ma,Ma<<=1,!(Ma&130023424)&&(Ma=4194304)):t=1);var r=bt();e=sn(e,t),e!==null&&(da(e,t,r),Pt(e,r))}function P1(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),Sy(e,r)}function A1(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,s=e.memoizedState;s!==null&&(r=s.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(L(314))}n!==null&&n.delete(t),Sy(e,r)}var Ey;Ey=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Nt.current)Ct=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return Ct=!1,y1(e,t,r);Ct=!!(e.flags&131072)}else Ct=!1,Fe&&t.flags&1048576&&Pv(t,Il,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;ml(e,t),e=t.pendingProps;var s=To(t,pt.current);mo(t,r),s=If(null,t,n,e,s,r);var o=$f();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Tt(n)?(o=!0,Ll(t)):o=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,Df(t),s.updater=wc,t.stateNode=s,s._reactInternals=t,vd(t,n,e,r),t=bd(null,t,n,!0,o,r)):(t.tag=0,Fe&&o&&Ef(t),yt(null,t,s,r),t=t.child),t;case 16:n=t.elementType;e:{switch(ml(e,t),e=t.pendingProps,s=n._init,n=s(n._payload),t.type=n,s=t.tag=D1(n),e=or(n,e),s){case 0:t=xd(null,t,n,e,r);break e;case 1:t=Cp(null,t,n,e,r);break e;case 11:t=Sp(null,t,n,e,r);break e;case 14:t=Ep(null,t,n,or(n.type,e),r);break e}throw Error(L(306,n,""))}return t;case 0:return n=t.type,s=t.pendingProps,s=t.elementType===n?s:or(n,s),xd(e,t,n,s,r);case 1:return n=t.type,s=t.pendingProps,s=t.elementType===n?s:or(n,s),Cp(e,t,n,s,r);case 3:e:{if(cy(t),e===null)throw Error(L(387));n=t.pendingProps,o=t.memoizedState,s=o.element,Lv(e,t),zl(t,n,null,r);var i=t.memoizedState;if(n=i.element,o.isDehydrated)if(o={element:n,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){s=Do(Error(L(423)),t),t=Np(e,t,n,r,s);break e}else if(n!==s){s=Do(Error(L(424)),t),t=Np(e,t,n,r,s);break e}else for(Lt=Fn(t.stateNode.containerInfo.firstChild),Ft=t,Fe=!0,dr=null,r=Mv(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Po(),n===s){t=on(e,t,r);break e}yt(e,t,n,r)}t=t.child}return t;case 5:return Fv(t),e===null&&pd(t),n=t.type,s=t.pendingProps,o=e!==null?e.memoizedProps:null,i=s.children,cd(n,s)?i=null:o!==null&&cd(n,o)&&(t.flags|=32),ly(e,t),yt(e,t,i,r),t.child;case 6:return e===null&&pd(t),null;case 13:return uy(e,t,r);case 4:return Mf(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Ao(t,null,n,r):yt(e,t,n,r),t.child;case 11:return n=t.type,s=t.pendingProps,s=t.elementType===n?s:or(n,s),Sp(e,t,n,s,r);case 7:return yt(e,t,t.pendingProps,r),t.child;case 8:return yt(e,t,t.pendingProps.children,r),t.child;case 12:return yt(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,s=t.pendingProps,o=t.memoizedProps,i=s.value,Ae($l,n._currentValue),n._currentValue=i,o!==null)if(pr(o.value,i)){if(o.children===s.children&&!Nt.current){t=on(e,t,r);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){i=o.child;for(var l=a.firstContext;l!==null;){if(l.context===n){if(o.tag===1){l=en(-1,r&-r),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?l.next=l:(l.next=d.next,d.next=l),c.pending=l}}o.lanes|=r,l=o.alternate,l!==null&&(l.lanes|=r),md(o.return,r,t),a.lanes|=r;break}l=l.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(L(341));i.lanes|=r,a=i.alternate,a!==null&&(a.lanes|=r),md(i,r,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}yt(e,t,s.children,r),t=t.child}return t;case 9:return s=t.type,n=t.pendingProps.children,mo(t,r),s=Xt(s),n=n(s),t.flags|=1,yt(e,t,n,r),t.child;case 14:return n=t.type,s=or(n,t.pendingProps),s=or(n.type,s),Ep(e,t,n,s,r);case 15:return iy(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,s=t.pendingProps,s=t.elementType===n?s:or(n,s),ml(e,t),t.tag=1,Tt(n)?(e=!0,Ll(t)):e=!1,mo(t,r),ny(t,n,s),vd(t,n,s,r),bd(null,t,n,!0,e,r);case 19:return dy(e,t,r);case 22:return ay(e,t,r)}throw Error(L(156,t.tag))};function Cy(e,t){return ev(e,t)}function R1(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 5,840 bytes, line 40
40ype=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Yt(e,t,r,n){return new R1(e,t,r,n)}function Zf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function D1(e){if(typeof e=="function")return Zf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===pf)return 11;if(e===mf)return 14}return 2}function zn(e,t){var r=e.alternate;return r===null?(r=Yt(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function yl(e,t,r,n,s,o){var i=2;if(n=e,typeof e=="function")Zf(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Js:return Ts(r.children,s,o,t);case hf:i=8,s|=8;break;case zu:return e=Yt(12,r,t,s|2),e.elementType=zu,e.lanes=o,e;case Uu:return e=Yt(13,r,t,s),e.elementType=Uu,e.lanes=o,e;case Ku:return e=Yt(19,r,t,s),e.elementType=Ku,e.lanes=o,e;case Fg:return jc(r,s,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Og:i=10;break e;case Lg:i=9;break e;case pf:i=11;break e;case mf:i=14;break e;case bn:i=16,n=null;break e}throw Error(L(130,e==null?e:typeof e,""))}return t=Yt(i,r,t,s),t.elementType=e,t.type=n,t.lanes=o,t}function Ts(e,t,r,n){return e=Yt(7,e,n,t),e.lanes=r,e}function jc(e,t,r,n){return e=Yt(22,e,n,t),e.elementType=Fg,e.lanes=r,e.stateNode={isHidden:!1},e}function yu(e,t,r){return e=Yt(6,e,null,t),e.lanes=r,e}function xu(e,t,r){return t=Yt(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function M1(e,t,r,n,s){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Jc(0),this.expirationTimes=Jc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Jc(0),this.identifierPrefix=n,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function Yf(e,t,r,n,s,o,i,a,l){return e=new M1(e,t,r,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Yt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Df(o),e}function O1(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Xs,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function Ny(e){if(!e)return Hn;e=e._reactInternals;e:{if(zs(e)!==e||e.tag!==1)throw Error(L(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Tt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(L(171))}if(e.tag===1){var r=e.type;if(Tt(r))return Nv(e,r,t)}return t}function Ty(e,t,r,n,s,o,i,a,l){return e=Yf(r,n,!0,e,s,o,i,a,l),e.context=Ny(null),r=e.current,n=bt(),s=Bn(r),o=en(n,s),o.callback=t??null,In(r,o,s),e.current.lanes=s,da(e,s,n),Pt(e,n),e}function Sc(e,t,r,n){var s=t.current,o=bt(),i=Bn(s);return r=Ny(r),t.context===null?t.context=r:t.pendingContext=r,t=en(o,i),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),e=In(s,t,i),e!==null&&(hr(e,s,i,o),fl(e,s,i)),i}function Zl(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Ip(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function qf(e,t){Ip(e,t),(e=e.alternate)&&Ip(e,t)}function L1(){return null}var Py=typeof reportError=="function"?reportError:function(e){console.error(e)};function Xf(e){this._internalRoot=e}Ec.prototype.render=Xf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(L(409));Sc(e,t,null,null)};Ec.prototype.unmount=Xf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ms(function(){Sc(null,e,null,null)}),t[nn]=null}};function Ec(e){this._internalRoot=e}Ec.prototype.unstable_scheduleHydration=function(e){if(e){var t=av();e={blockedOn:null,target:e,priority:t};for(var r=0;r<kn.length&&t!==0&&t<kn[r].priority;r++);kn.splice(r,0,e),r===0&&cv(e)}};function Jf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Cc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function $p(){}function F1(e,t,r,n,s){if(s){if(typeof n=="function"){var o=n;n=function(){var c=Zl(i);o.call(c)}}var i=Ty(t,n,e,0,null,!1,!1,"",$p);return e._reactRootContainer=i,e[nn]=i.current,Vi(e.nodeType===8?e.parentNode:e),Ms(),i}for(;s=e.lastChild;)e.removeChild(s);if(typeof n=="function"){var a=n;n=function(){var c=Zl(l);a.call(c)}}var l=Yf(e,0,!1,null,null,!1,!1,"",$p);return e._reactRootContainer=l,e[nn]=l.current,Vi(e.nodeType===8?e.parentNode:e),Ms(function(){Sc(t,l,r,n)}),l}function Nc(e,t,r,n,s){var o=r._reactRootContainer;if(o){var i=o;if(typeof s=="function"){var a=s;s=function(){var l=Zl(i);a.call(l)}}Sc(t,i,e,s)}else i=F1(r,t,e,s,n);return Zl(i)}ov=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=wi(t.pendingLanes);
40r!==0&&(yf(t,r|1),Pt(t,Qe()),!(xe&6)&&(Mo=Qe()+500,es()))}break;case 13:Ms(function(){var n=sn(e,1);if(n!==null){var s=bt();hr(n,e,1,s)}}),qf(e,1)}};xf=function(e){if(e.tag===13){var t=sn(e,134217728);if(t!==null){var r=bt();hr(t,e,134217728,r)}qf(e,134217728)}};iv=function(e){if(e.tag===13){var t=Bn(e),r=sn(e,t);if(r!==null){var n=bt();hr(r,e,t,n)}qf(e,t)}};av=function(){return Te};lv=function(e,t){var r=Te;try{return Te=e,t()}finally{Te=r}};Ju=function(e,t,r){switch(t){case"input":if(Wu(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var s=yc(n);if(!s)throw Error(L(90));$g(n),Wu(n,s)}}}break;case"textarea":zg(e,r);break;case"select":t=r.value,t!=null&&uo(e,!!r.multiple,t,!1)}};Qg=Wf;Zg=Ms;var I1={usingClientEntryPoint:!1,Events:[ha,no,yc,Wg,Gg,Wf]},hi={findFiberByHostInstance:ys,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},$1={bundleType:hi.bundleType,version:hi.version,rendererPackageName:hi.rendererPackageName,rendererConfig:hi.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:dn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Xg(e),e===null?null:e.stateNode},findFiberByHostInstance:hi.findFiberByHostInstance||L1,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ha=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ha.isDisabled&&Ha.supportsFiber)try{pc=Ha.inject($1),Rr=Ha}catch{}}Ut.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I1;Ut.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Jf(t))throw Error(L(200));return O1(e,t,null,r)};Ut.createRoot=function(e,t){if(!Jf(e))throw Error(L(299));var r=!1,n="",s=Py;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=Yf(e,1,!1,null,null,r,!1,n,s),e[nn]=t.current,Vi(e.nodeType===8?e.parentNode:e),new Xf(t)};Ut.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(L(188)):(e=Object.keys(e).join(","),Error(L(268,e)));return e=Xg(t),e=e===null?null:e.stateNode,e};Ut.flushSync=function(e){return Ms(e)};Ut.hydrate=function(e,t,r){if(!Cc(t))throw Error(L(200));return Nc(null,e,t,!0,r)};Ut.hydrateRoot=function(e,t,r){if(!Jf(e))throw Error(L(405));var n=r!=null&&r.hydratedSources||null,s=!1,o="",i=Py;if(r!=null&&(r.unstable_strictMode===!0&&(s=!0),r.identifierPrefix!==void 0&&(o=r.identifierPrefix),r.onRecoverableError!==void 0&&(i=r.onRecoverableError)),t=Ty(t,null,e,1,r??null,s,!1,o,i),e[nn]=t.current,Vi(e),n)for(e=0;e<n.length;e++)r=n[e],s=r._getVersion,s=s(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,s]:t.mutableSourceEagerHydrationData.push(r,s);return new Ec(t)};Ut.render=function(e,t,r){if(!Cc(t))throw Error(L(200));return Nc(null,e,t,!1,r)};Ut.unmountComponentAtNode=function(e){if(!Cc(e))throw Error(L(40));return e._reactRootContainer?(Ms(function(){Nc(null,null,e,!1,function(){e._reactRootContainer=null,e[nn]=null})}),!0):!1};Ut.unstable_batchedUpdates=Wf;Ut.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!Cc(r))throw Error(L(200));if(e==null||e._reactInternals===void 0)throw Error(L(38));return Nc(e,t,r,!1,n)};Ut.version="18.3.1-next-f1338f8080-20240426";function Ay(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ay)}catch(e){console.error(e)}}Ay(),Ag.exports=Ut;var Go=Ag.exports;const eh=xg(Go),B1=yg({__proto__:null,default:eh},[Go]);var Ry,Bp=Go;Ry=Bp.createRoot,Bp.hydrateRoot;var Tc=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Pc=typeof window>"u"||"Deno"in globalThis;function ir(){}function z1(e,t){return typeof e=="function"?e(t):e}function U1(e){return typeof e=="number"&&e>=0&&e!==1/0}function K1(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Rd(e,t){return typeof e=="function"?e(t):e}function V1(e,t){return typeof e=="function"?e(t):e}function zp(e,t){const{type:r="all",exact:n,fetchStatus:s,predicate:o,queryKey:i,stale:a}=e;if(i){if(n){if(t.queryHash!==th(i,t.options))return!1}else if(!ea(t.queryKey,i))return!1}if(r!=="all"){const l=t.isActive();if(r==="active"&&!l||r==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||s&&s!==t.state.fetchStatus||o&&!o(t))}function Up(e,t){const{exact:r,status:n,predicate:s,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(r){if(Ji(t.options.mutationKey)!==Ji(o))return!1}else if(!ea(t.options.mutationKey,o))return!1}return!(n&&t.state.status!==n||s&&!s(t))}function th(e,t){return((t==null?void 0:t.queryKeyHashFn)||Ji)(e)}function Ji(e){return JSON.stringify(e,(t,r)=>Dd(r)?Object.keys(r).sort().reduce((n,s)=>(n[s]=r[s],n),{}):r)}function ea(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(r=>ea(e[r],t[r])):!1}function Dy(e,t){if(e===t)return e;const r=Kp(e)&&Kp(t);if(r||Dd(e)&&Dd(t)){const n=r?e:Object.keys(e),s=n.length,o=r?t:Object.keys(t),i=o.length,a=r?[]:{},l=new Set(n);let c=0;for(let d=0;d<i;d++){const h=r?d:o[d];
vendor: 14,440 bytes, line 40
40(!r&&l.has(h)||r)&&e[h]===void 0&&t[h]===void 0?(a[h]=void 0,c++):(a[h]=Dy(e[h],t[h]),a[h]===e[h]&&e[h]!==void 0&&c++)}return s===i&&c===s?e:a}return t}function Kp(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Dd(e){if(!Vp(e))return!1;const t=e.constructor;if(t===void 0)return!0;const r=t.prototype;return!(!Vp(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Vp(e){return Object.prototype.toString.call(e)==="[object Object]"}function H1(e){return new Promise(t=>{setTimeout(t,e)})}function W1(e,t,r){return typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?Dy(e,t):t}function G1(e,t,r=0){const n=[...e,t];return r&&n.length>r?n.slice(1):n}function Q1(e,t,r=0){const n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var rh=Symbol();function My(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===rh?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var _s,Sn,bo,ug,Z1=(ug=class extends Tc{constructor(){super();ke(this,_s);ke(this,Sn);ke(this,bo);ue(this,bo,t=>{if(!Pc&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){R(this,Sn)||this.setEventListener(R(this,bo))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,Sn))==null||t.call(this),ue(this,Sn,void 0))}setEventListener(t){var r;ue(this,bo,t),(r=R(this,Sn))==null||r.call(this),ue(this,Sn,t(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()}))}setFocused(t){R(this,_s)!==t&&(ue(this,_s,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(r=>{r(t)})}isFocused(){var t;return typeof R(this,_s)=="boolean"?R(this,_s):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},_s=new WeakMap,Sn=new WeakMap,bo=new WeakMap,ug),Oy=new Z1,wo,En,_o,dg,Y1=(dg=class extends Tc{constructor(){super();ke(this,wo,!0);ke(this,En);ke(this,_o);ue(this,_o,t=>{if(!Pc&&window.addEventListener){const r=()=>t(!0),n=()=>t(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",n)}}})}onSubscribe(){R(this,En)||this.setEventListener(R(this,_o))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,En))==null||t.call(this),ue(this,En,void 0))}setEventListener(t){var r;ue(this,_o,t),(r=R(this,En))==null||r.call(this),ue(this,En,t(this.setOnline.bind(this)))}setOnline(t){R(this,wo)!==t&&(ue(this,wo,t),this.listeners.forEach(n=>{n(t)}))}isOnline(){return R(this,wo)}},wo=new WeakMap,En=new WeakMap,_o=new WeakMap,dg),Yl=new Y1;function q1(){let e,t;const r=new Promise((s,o)=>{e=s,t=o});r.status="pending",r.catch(()=>{});function n(s){Object.assign(r,s),delete r.resolve,delete r.reject}return r.resolve=s=>{n({status:"fulfilled",value:s}),e(s)},r.reject=s=>{n({status:"rejected",reason:s}),t(s)},r}function X1(e){return Math.min(1e3*2**e,3e4)}function Ly(e){return(e??"online")==="online"?Yl.isOnline():!0}var Fy=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function bu(e){return e instanceof Fy}function Iy(e){let t=!1,r=0,n=!1,s;const o=q1(),i=m=>{var b;n||(p(new Fy(m)),(b=e.abort)==null||b.call(e))},a=()=>{t=!0},l=()=>{t=!1},c=()=>Oy.isFocused()&&(e.networkMode==="always"||Yl.isOnline())&&e.canRun(),d=()=>Ly(e.networkMode)&&e.canRun(),h=m=>{var b;n||(n=!0,(b=e.onSuccess)==null||b.call(e,m),s==null||s(),o.resolve(m))},p=m=>{var b;n||(n=!0,(b=e.onError)==null||b.call(e,m),s==null||s(),o.reject(m))},f=()=>new Promise(m=>{var b;s=y=>{(n||c())&&m(y)},(b=e.onPause)==null||b.call(e)}).then(()=>{var m;s=void 0,n||(m=e.onContinue)==null||m.call(e)}),w=()=>{if(n)return;let m;const b=r===0?e.initialPromise:void 0;try{m=b??e.fn()}catch(y){m=Promise.reject(y)}Promise.resolve(m).then(h).catch(y=>{var C;if(n)return;const g=e.retry??(Pc?0:3),x=e.retryDelay??X1,k=typeof x=="function"?x(r,y):x,S=g===!0||typeof g=="number"&&r<g||typeof g=="function"&&g(r,y);if(t||!S){p(y);return}r++,(C=e.onFail)==null||C.call(e,r,y),H1(k).then(()=>c()?void 0:f()).then(()=>{t?p(y):w()})})};return{promise:o,cancel:i,continue:()=>(s==null||s(),o),cancelRetry:a,continueRetry:l,canStart:d,start:()=>(d()?w():f().then(w),o)}}var J1=e=>setTimeout(e,0);function e_(){let e=[],t=0,r=a=>{a()},n=a=>{a()},s=J1;const o=a=>{t?e.push(a):s(()=>{r(a)})},i=()=>{const a=e;e=[],a.length&&s(()=>{n(()=>{a.forEach(l=>{r(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||i()}return l},batchCalls:a=>(...l)=>{o(()=>{a(...l)})},schedule:o,setNotifyFunction:a=>{r=a},setBatchNotifyFunction:a=>{n=a},setScheduler:a=>{s=a}}}var xt=e_(),ks,fg,$y=(fg=class{constructor(){ke(this,ks)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),U1(this.gcTime)&&ue(this,ks,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Pc?1/0:5*60*1e3))}clearGcTimeout(){R(this,ks)&&(clearTimeout(R(this,ks)),ue(this,ks,void 0))}},ks=new WeakMap,fg),ko,js,Gt,Ss,ft,la,Es,ar,Qr,hg,t_=(hg=class extends $y{constructor(t){super();ke(this,ar);ke(this,ko);ke(this,js);ke(this,Gt);ke(this,Ss);ke(this,ft);ke(this,la);ke(this,Es);ue(this,Es,!1),ue(this,la,t.defaultOptions),this.setOptions(t.options),this.observers=[],ue(this,Ss,t.client),ue(this,Gt,R(this,Ss).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ue(this,ko,n_(this.options)),this.state=t.state??R(this,ko),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=R(this,ft))==null?void 0:t.promise}setOptions(t){this.options={...R(this,la),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&R(this,Gt).remove(this)}setData(t,r){const n=W1(this.state.data,t,this.options);return ct(this,ar,Qr).call(this,{data:n,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),n}setState(t,r){ct(this,ar,Qr).call(this,{type:"setState",state:t,setStateOptions:r})}cancel(t){var n,s;const r=(n=R(this,ft))==null?void 0:n.promise;return(s=R(this,ft))==null||s.cancel(t),r?r.then(ir).catch(ir):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(R(this,ko))}isActive(){return this.observers.some(t=>V1(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===rh||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Rd(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!K1(this.state.dataUpdatedAt,t)}onFocus(){var r;const t=this.observers.find(n=>n.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(r=R(this,ft))==null||r.continue()}onOnline(){var r;const t=this.observers.find(n=>n.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(r=R(this,ft))==null||r.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),R(this,Gt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(R(this,ft)&&(R(this,Es)?R(this,ft).cancel({revert:!0}):R(this,ft).cancelRetry()),this.scheduleGc()),R(this,Gt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ct(this,ar,Qr).call(this,{type:"invalidate"})}fetch(t,r){var c,d,h;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if(R(this,ft))return R(this,ft).continueRetry(),R(this,ft).promise}if(t&&this.setOptions(t),!this.options.queryFn){const p=this.observers.find(f=>f.options.queryFn);p&&this.setOptions(p.options)}const n=new AbortController,s=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(ue(this,Es,!0),n.signal)})},o=()=>{const p=My(this.options,r),w=(()=>{const m={client:R(this,Ss),queryKey:this.queryKey,meta:this.meta};return s(m),m})();return ue(this,Es,!1),this.options.persister?this.options.persister(p,w,this):p(w)},a=(()=>{const p={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:R(this,Ss),state:this.state,fetchFn:o};return s(p),p})();(c=this.options.behavior)==null||c.onFetch(a,this),ue(this,js,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=a.fetchOptions)==null?void 0:d.meta))&&ct(this,ar,Qr).call(this,{type:"fetch",meta:(h=a.fetchOptions)==null?void 0:h.meta});const l=p=>{var f,w,m,b;bu(p)&&p.silent||ct(this,ar,Qr).call(this,{type:"error",error:p}),bu(p)||((w=(f=R(this,Gt).config).onError)==null||w.call(f,p,this),(b=(m=R(this,Gt).config).onSettled)==null||b.call(m,this.state.data,p,this)),this.scheduleGc()};return ue(this,ft,Iy({initialPromise:r==null?void 0:r.initialPromise,fn:a.fetchFn,abort:n.abort.bind(n),onSuccess:p=>{var f,w,m,b;if(p===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(p)}catch(y){l(y);return}(w=(f=R(this,Gt).config).onSuccess)==null||w.call(f,p,this),(b=(m=R(this,Gt).config).onSettled)==null||b.call(m,p,this.state.error,this),this.scheduleGc()},onError:l,onFail:(p,f)=>{ct(this,ar,Qr).call(this,{type:"failed",failureCount:p,error:f})},onPause:()=>{ct(this,ar,Qr).call(this,{type:"pause"})},onContinue:()=>{ct(this,ar,Qr).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),R(this,ft).start()}},ko=new WeakMap,js=new WeakMap,Gt=new WeakMap,Ss=new WeakMap,ft=new WeakMap,la=new WeakMap,Es=new WeakMap,ar=new WeakSet,Qr=function(t){const r=n=>{switch(t.type){case"failed":return{...n,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...r_(n.data,this.options),fetchMeta:t.meta??null};case"success":return ue(this,js,void 0),{...n,data:t.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const s=t.error;return bu(s)&&s.revert&&R(this,js)?{...R(this,js),fetchStatus:"idle"}:{...n,error:s,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...t.state}}};this.state=r(this.state),xt.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),R(this,Gt).notify({query:this,type:"updated",action:t})})},hg);function r_(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Ly(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function n_(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=t!==void 0,n=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var Cr,pg,s_=(pg=class extends Tc{constructor(t={}){super();ke(this,Cr);this.config=t,ue(this,Cr,new Map)}build(t,r,n){const s=r.queryKey,o=r.queryHash??th(s,r);let i=this.get(o);return i||(i=new t_({client:t,queryKey:s,queryHash:o,options:t.defaultQueryOptions(r),state:n,defaultOptions:t.getQueryDefaults(s)}),this.add(i)),i}add(t){R(this,Cr).has(t.queryHash)||(R(this,Cr).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const r=R(this,Cr).get(t.queryHash);r&&(t.destroy(),r===t&&R(this,Cr).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){xt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return R(this,Cr).get(t)}getAll(){return[...R(this,Cr).values()]}find(t){const r={exact:!0,...t};return this.getAll().find(n=>zp(r,n))}findAll(t={}){const r=this.getAll();return Object.keys(t).length>0?r.filter(n=>zp(t,n)):r}notify(t){xt.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){xt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){xt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Cr=new WeakMap,pg),Nr,vt,Cs,Tr,vn,mg,o_=(mg=class extends $y{constructor(t){super();ke(this,Tr);ke(this,Nr);ke(this,vt);ke(this,Cs);this.mutationId=t.mutationId,ue(this,vt,t.mutationCache),ue(this,Nr,[]),this.state=t.state||i_(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){R(this,Nr).includes(t)||(R(this,Nr).push(t),this.clearGcTimeout(),R(this,vt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ue(this,Nr,R(this,Nr).filter(r=>r!==t)),this.scheduleGc(),R(this,vt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){R(this,Nr).length||(this.state.status==="pending"?this.scheduleGc():R(this,vt).remove(this))}continue(){var t;return((t=R(this,Cs))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,i,a,l,c,d,h,p,f,w,m,b,y,g,x,k,S,C,_,N;const r=()=>{ct(this,Tr,vn).call(this,{type:"continue"})};ue(this,Cs,Iy({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(M,A)=>{ct(this,Tr,vn).call(this,{type:"failed",failureCount:M,error:A})},onPause:()=>{ct(this,Tr,vn).call(this,{type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>R(this,vt).canRun(this)}));const n=this.state.status==="pending",s=!R(this,Cs).canStart();try{if(n)r();else{ct(this,Tr,vn).call(this,{type:"pending",variables:t,isPaused:s}),await((i=(o=R(this,vt).config).onMutate)==null?void 0:i.call(o,t,this));
40const A=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));A!==this.state.context&&ct(this,Tr,vn).call(this,{type:"pending",context:A,variables:t,isPaused:s})}const M=await R(this,Cs).start();return await((d=(c=R(this,vt).config).onSuccess)==null?void 0:d.call(c,M,t,this.state.context,this)),await((p=(h=this.options).onSuccess)==null?void 0:p.call(h,M,t,this.state.context)),await((w=(f=R(this,vt).config).onSettled)==null?void 0:w.call(f,M,null,this.state.variables,this.state.context,this)),await((b=(m=this.options).onSettled)==null?void 0:b.call(m,M,null,t,this.state.context)),ct(this,Tr,vn).call(this,{type:"success",data:M}),M}catch(M){try{throw await((g=(y=R(this,vt).config).onError)==null?void 0:g.call(y,M,t,this.state.context,this)),await((k=(x=this.options).onError)==null?void 0:k.call(x,M,t,this.state.context)),await((C=(S=R(this,vt).config).onSettled)==null?void 0:C.call(S,void 0,M,this.state.variables,this.state.context,this)),await((N=(_=this.options).onSettled)==null?void 0:N.call(_,void 0,M,t,this.state.context)),M}finally{ct(this,Tr,vn).call(this,{type:"error",error:M})}}finally{R(this,vt).runNext(this)}}},Nr=new WeakMap,vt=new WeakMap,Cs=new WeakMap,Tr=new WeakSet,vn=function(t){const r=n=>{switch(t.type){case"failed":return{...n,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...n,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=r(this.state),xt.batch(()=>{R(this,Nr).forEach(n=>{n.onMutationUpdate(t)}),R(this,vt).notify({mutation:this,type:"updated",action:t})})},mg);function i_(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var qr,lr,ca,gg,a_=(gg=class extends Tc{constructor(t={}){super();ke(this,qr);ke(this,lr);ke(this,ca);this.config=t,ue(this,qr,new Set),ue(this,lr,new Map),ue(this,ca,0)}build(t,r,n){const s=new o_({mutationCache:this,mutationId:++Na(this,ca)._,options:t.defaultMutationOptions(r),state:n});return this.add(s),s}add(t){R(this,qr).add(t);const r=Wa(t);if(typeof r=="string"){const n=R(this,lr).get(r);n?n.push(t):R(this,lr).set(r,[t])}this.notify({type:"added",mutation:t})}remove(t){if(R(this,qr).delete(t)){const r=Wa(t);if(typeof r=="string"){const n=R(this,lr).get(r);if(n)if(n.length>1){const s=n.indexOf(t);s!==-1&&n.splice(s,1)}else n[0]===t&&R(this,lr).delete(r)}}this.notify({type:"removed",mutation:t})}canRun(t){const r=Wa(t);if(typeof r=="string"){const n=R(this,lr).get(r),s=n==null?void 0:n.find(o=>o.state.status==="pending");return!s||s===t}else return!0}runNext(t){var n;const r=Wa(t);if(typeof r=="string"){const s=(n=R(this,lr).get(r))==null?void 0:n.find(o=>o!==t&&o.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){xt.batch(()=>{R(this,qr).forEach(t=>{this.notify({type:"removed",mutation:t})}),R(this,qr).clear(),R(this,lr).clear()})}getAll(){return Array.from(R(this,qr))}find(t){const r={exact:!0,...t};return this.getAll().find(n=>Up(r,n))}findAll(t={}){return this.getAll().filter(r=>Up(t,r))}notify(t){xt.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){const t=this.getAll().filter(r=>
vendor: 6,897 bytes, lines 40-49
40r.state.isPaused);return xt.batch(()=>Promise.all(t.map(r=>r.continue().catch(ir))))}},qr=new WeakMap,lr=new WeakMap,ca=new WeakMap,gg);function Wa(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Hp(e){return{onFetch:(t,r)=>{var d,h,p,f,w;const n=t.options,s=(p=(h=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:h.fetchMore)==null?void 0:p.direction,o=((f=t.state.data)==null?void 0:f.pages)||[],i=((w=t.state.data)==null?void 0:w.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const c=async()=>{let m=!1;const b=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>(t.signal.aborted?m=!0:t.signal.addEventListener("abort",()=>{m=!0}),t.signal)})},y=My(t.options,t.fetchOptions),g=async(x,k,S)=>{if(m)return Promise.reject();if(k==null&&x.pages.length)return Promise.resolve(x);const _=(()=>{const V={client:t.client,queryKey:t.queryKey,pageParam:k,direction:S?"backward":"forward",meta:t.options.meta};return b(V),V})(),N=await y(_),{maxPages:M}=t.options,A=S?Q1:G1;return{pages:A(x.pages,N,M),pageParams:A(x.pageParams,k,M)}};if(s&&o.length){const x=s==="backward",k=x?l_:Wp,S={pages:o,pageParams:i},C=k(n,S);a=await g(S,C,x)}else{const x=e??o.length;do{const k=l===0?i[0]??n.initialPageParam:Wp(n,a);if(l>0&&k==null)break;a=await g(a,k),l++}while(l<x)}return a};t.options.persister?t.fetchFn=()=>{var m,b;return(b=(m=t.options).persister)==null?void 0:b.call(m,c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r)}:t.fetchFn=c}}}function Wp(e,{pages:t,pageParams:r}){const n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}function l_(e,{pages:t,pageParams:r}){var n;return t.length>0?(n=e.getPreviousPageParam)==null?void 0:n.call(e,t[0],t,r[0],r):void 0}var He,Cn,Nn,jo,So,Tn,Eo,Co,vg,c_=(vg=class{constructor(e={}){ke(this,He);ke(this,Cn);ke(this,Nn);ke(this,jo);ke(this,So);ke(this,Tn);ke(this,Eo);ke(this,Co);ue(this,He,e.queryCache||new s_),ue(this,Cn,e.mutationCache||new a_),ue(this,Nn,e.defaultOptions||{}),ue(this,jo,new Map),ue(this,So,new Map),ue(this,Tn,0)}mount(){Na(this,Tn)._++,R(this,Tn)===1&&(ue(this,Eo,Oy.subscribe(async e=>{e&&(await this.resumePausedMutations(),R(this,He).onFocus())})),ue(this,Co,Yl.subscribe(async e=>{e&&(await this.resumePausedMutations(),R(this,He).onOnline())})))}unmount(){var e,t;Na(this,Tn)._--,R(this,Tn)===0&&((e=R(this,Eo))==null||e.call(this),ue(this,Eo,void 0),(t=R(this,Co))==null||t.call(this),ue(this,Co,void 0))}isFetching(e){return R(this,He).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return R(this,Cn).findAll({...e,status:"pending"}).length}getQueryData(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=R(this,He).get(t.queryHash))==null?void 0:r.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),r=R(this,He).build(this,t),n=r.state.data;return n===void 0?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(Rd(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(n))}getQueriesData(e){return R(this,He).findAll(e).map(({queryKey:t,state:r})=>{const n=r.data;return[t,n]})}setQueryData(e,t,r){const n=this.defaultQueryOptions({queryKey:e}),s=R(this,He).get(n.queryHash),o=s==null?void 0:s.state.data,i=z1(t,o);if(i!==void 0)return R(this,He).build(this,n).setData(i,{...r,manual:!0})}setQueriesData(e,t,r){return xt.batch(()=>R(this,He).findAll(e).map(({queryKey:n})=>[n,this.setQueryData(n,t,r)]))}getQueryState(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=R(this,He).get(t.queryHash))==null?void 0:r.state}removeQueries(e){const t=R(this,He);xt.batch(()=>{t.findAll(e).forEach(r=>{t.remove(r)})})}resetQueries(e,t){const r=R(this,He);return xt.batch(()=>(r.findAll(e).forEach(n=>{n.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const r={revert:!0,...t},n=xt.batch(()=>R(this,He).findAll(e).map(s=>s.cancel(r)));return Promise.all(n).then(ir).catch(ir)}invalidateQueries(e,t={}){return xt.batch(()=>(R(this,He).findAll(e).forEach(r=>{r.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const r={...t,cancelRefetch:t.cancelRefetch??!0},n=xt.batch(()=>R(this,He).findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let o=s.fetch(void 0,r);return r.throwOnError||(o=o.catch(ir)),s.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(n).then(ir)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const r=R(this,He).build(this,t);return r.isStaleByTime(Rd(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(ir).catch(ir)}fetchInfiniteQuery(e){return e.behavior=Hp(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(ir).catch(ir)}ensureInfiniteQueryData(e){return e.behavior=Hp(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Yl.isOnline()?R(this,Cn).resumePausedMutations():Promise.resolve()}getQueryCache(){return R(this,He)}getMutationCache(){return R(this,Cn)}getDefaultOptions(){return R(this,Nn)}setDefaultOptions(e){ue(this,Nn,e)}setQueryDefaults(e,t){R(this,jo).set(Ji(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...R(this,jo).values()],r={};return t.forEach(n=>{ea(e,n.queryKey)&&Object.assign(r,n.defaultOptions)}),r}setMutationDefaults(e,t){R(this,So).set(Ji(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...R(this,So).values()],r={};return t.forEach(n=>{ea(e,n.mutationKey)&&Object.assign(r,n.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={...R(this,Nn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=th(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===rh&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...R(this,Nn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){R(this,He).clear(),R(this,Cn).clear()}},He=new WeakMap,Cn=new WeakMap,Nn=new WeakMap,jo=new WeakMap,So=new WeakMap,Tn=new WeakMap,Eo=new WeakMap,Co=new WeakMap,vg),u_=v.createContext(void 0),d_=({client:e,children:t})=>(v.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),u.jsx(u_.Provider,{value:e,children:t}));/**
41 * @remix-run/router v1.23.0
42 *
43 * Copyright (c) Remix Software Inc.
44 *
45 * This source code is licensed under the MIT license found in the
46 * LICENSE.md file in the root directory of this source tree.
47 *
48 * @license MIT
49 */function Le(){return Le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
vendor: 3,112 bytes, line 49
49for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Le.apply(this,arguments)}var qe;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(qe||(qe={}));const Gp="popstate";function f_(e){e===void 0&&(e={});function t(n,s){let{pathname:o,search:i,hash:a}=n.location;return ta("",{pathname:o,search:i,hash:a},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function r(n,s){return typeof s=="string"?s:Os(s)}return p_(t,r,null,e)}function pe(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Oo(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function h_(){return Math.random().toString(36).substr(2,8)}function Qp(e,t){return{usr:e.state,key:e.key,idx:t}}function ta(e,t,r,n){return r===void 0&&(r=null),Le({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ts(t):t,{state:r,key:t&&t.key||n||h_()})}function Os(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function ts(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function p_(e,t,r,n){n===void 0&&(n={});let{window:s=document.defaultView,v5Compat:o=!1}=n,i=s.history,a=qe.Pop,l=null,c=d();c==null&&(c=0,i.replaceState(Le({},i.state,{idx:c}),""));function d(){return(i.state||{idx:null}).idx}function h(){a=qe.Pop;let b=d(),y=b==null?null:b-c;c=b,l&&l({action:a,location:m.location,delta:y})}function p(b,y){a=qe.Push;let g=ta(m.location,b,y);c=d()+1;let x=Qp(g,c),k=m.createHref(g);try{i.pushState(x,"",k)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;s.location.assign(k)}o&&l&&l({action:a,location:m.location,delta:1})}function f(b,y){a=qe.Replace;let g=ta(m.location,b,y);c=d();let x=Qp(g,c),k=m.createHref(g);i.replaceState(x,"",k),o&&l&&l({action:a,location:m.location,delta:0})}function w(b){let y=s.location.origin!=="null"?s.location.origin:s.location.href,g=typeof b=="string"?b:Os(b);return g=g.replace(/ $/,"%20"),pe(y,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,y)}let m={get action(){return a},get location(){return e(s,i)},listen(b){if(l)throw new Error("A history only accepts one active listener");return s.addEventListener(Gp,h),l=b,()=>{s.removeEventListener(Gp,h),l=null}},createHref(b){return t(s,b)},createURL:w,encodeLocation(b){let y=w(b);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:p,replace:f,go(b){return i.go(b)}};return m}var Ne;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Ne||(Ne={}));const m_=new Set(["lazy","caseSensitive","path","id","index","children"]);function g_(e){return e.index===!0}function ql(e,t,r,n){return r===void 0&&(r=[]),n===void 0&&(n={}),e.map((s,o)=>{let i=[...r,String(o)],a=typeof s.id=="string"?s.id:i.join("-");if(pe(s.index!==!0||!s.children,"Cannot specify children on an index route"),pe(!n[a],'Found a route id collision on i
49d "'+a+`".  Route id's must be globally unique within Data Router usages`),g_(s)){let l=Le({},s,t(s),{id:a});return n[a]=l,l}else{let l=Le({},s,t(s),{id:a,children:void 0});return n[a]=l,s.children&&(l.children=ql(s.children,t,i,n)),l}})}function gs(e,t,r){return r===void 0&&(r="/"),xl(e,t,r,!1)}function xl(e,t,r,n){let s=typeof t=="string"?ts(t):t,o=Or(s.pathname||"/",r);if(o==null)return null;let i=zy(e);v_(i);let a=null;for(let l=0;a==null&&l<i.length;++l){let c=N_(o);a=E_(i[l],c,n)}return a}function By(e,t){let{route:r,pathname:n,params:s}=e;return{id:r.id,pathname:n,params:s,data:t[r.id],handle:r.handle}}function zy(e,t,r,n){t===void 0&&(t=[]),r===void 0&&(r=[]),n===void 0&&(n="");let s=(o,i,a)=>{let l={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};l.relativePath.startsWith("/")&&(pe(l.relativePath.startsWith(n),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(n.length));let c=tn([n,l.relativePath]),d=r.concat(l);o.children&&o.children.length>0&&(pe(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),zy(o.children,t,d,c)),!(o.path==null&&!o.index)&&t.push({path:c,score:j_(c,o.index),routesMeta:d})};return e.forEach((o,i)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))s(o,i);else for(let l of Uy(o.path))s(o,i,l)}),t}function Uy(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,s=r.endsWith("?"),o=r.replace(/\?$/,"");if(n.length===0)return s?[o,""]:[o];let i=Uy(n.join("/")),a=[];return a.push(...i.map(l=>l===""?o:[o,l].join("/"))),s&&a.push(...i),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function v_(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:S_(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const y_=/^:[\w-]+$/,x_=3,b_=2,w_=1,__=10,k_=-2,Zp=e=>e==="*";function j_(e,t){let r=e.split("/"),n=r.length;return r.some(Zp)&&(n+=k_),t&&(n+=b_),r.filter(s=>!Zp(s)).reduce((s,o)=>s+(y_.test(o)?x_:o===""?w_:__),n)}function S_(e,t){return e.length===t.length&&e.slice(0,-1).every((n,s)=>n===t[s])?e[e.length-1]-t[t.length-1]:0}function E_(e,t,r){r===void 0&&(r=!1);let{routesMeta:n}=e,s={},o="/",i=[];for(let a=0;a<n.length;++a){let l=n[a],c=a===n.length-1,d=o==="/"?t:t.slice(o.length)||"/",h=Xl({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},d),p=l.route;if(!h&&c&&r&&!n[n.length-1].route.index&&(h=Xl({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},d)),!h)return null;
vendor: 52,697 bytes, lines 49-68
49Object.assign(s,h.params),i.push({params:s,pathname:tn([o,h.pathname]),pathnameBase:A_(tn([o,h.pathnameBase])),route:p}),h.pathnameBase!=="/"&&(o=tn([o,h.pathnameBase]))}return i}function Xl(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=C_(e.path,e.caseSensitive,e.end),s=t.match(r);if(!s)return null;let o=s[0],i=o.replace(/(.)\/+$/,"$1"),a=s.slice(1);return{params:n.reduce((c,d,h)=>{let{paramName:p,isOptional:f}=d;if(p==="*"){let m=a[h]||"";i=o.slice(0,o.length-m.length).replace(/(.)\/+$/,"$1")}const w=a[h];return f&&!w?c[p]=void 0:c[p]=(w||"").replace(/%2F/g,"/"),c},{}),pathname:o,pathnameBase:i,pattern:e}}function C_(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),Oo(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,a,l)=>(n.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),n]}function N_(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Oo(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Or(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function T_(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:s=""}=typeof e=="string"?ts(e):e;return{pathname:r?r.startsWith("/")?r:P_(r,t):t,search:R_(n),hash:D_(s)}}function P_(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?r.length>1&&r.pop():s!=="."&&r.push(s)}),r.length>1?r.join("/"):"/"}function wu(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"].  Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function Ky(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function nh(e,t){let r=Ky(e);return t?r.map((n,s)=>s===r.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function sh(e,t,r,n){n===void 0&&(n=!1);let s;typeof e=="string"?s=ts(e):(s=Le({},e),pe(!s.pathname||!s.pathname.includes("?"),wu("?","pathname","search",s)),pe(!s.pathname||!s.pathname.includes("#"),wu("#","pathname","hash",s)),pe(!s.search||!s.search.includes("#"),wu("#","search","hash",s)));let o=e===""||s.pathname==="",i=o?"/":s.pathname,a;if(i==null)a=r;else{let h=t.length-1;if(!n&&i.startsWith("..")){let p=i.split("/");for(;p[0]==="..";)p.shift(),h-=1;s.pathname=p.join("/")}a=h>=0?t[h]:"/"}let l=T_(s,a),c=i&&i!=="/"&&i.endsWith("/"),d=(o||i===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(c||d)&&(l.pathname+="/"),l}const tn=e=>e.join("/").replace(/\/\/+/g,"/"),A_=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),R_=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,D_=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Jl{constructor(t,r,n,s){s===void 0&&(s=!1),this.status=t,this.statusText=r||"",this.internal=s,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function ra(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Vy=["post","put","patch","delete"],M_=new Set(Vy),O_=["get",...Vy],L_=new Set(O_),F_=new Set([301,302,303,307,308]),I_=new Set([307,308]),_u={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},$_={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},pi={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},oh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,B_=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Hy="remix-router-transitions";function z_(e){const t=e.window?e.window:typeof window<"u"?window:void 0,r=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",n=!r;pe(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let s;if(e.mapRouteProperties)s=e.mapRouteProperties;else if(e.detectErrorBoundary){let j=e.detectErrorBoundary;s=E=>({hasErrorBoundary:j(E)})}else s=B_;let o={},i=ql(e.routes,s,void 0,o),a,l=e.basename||"/",c=e.dataStrategy||H_,d=e.patchRoutesOnNavigation,h=Le({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),p=null,f=new Set,w=null,m=null,b=null,y=e.hydrationData!=null,g=gs(i,e.history.location,l),x=!1,k=null;if(g==null&&!d){let j=jt(404,{pathname:e.history.location.pathname}),{matches:E,route:T}=im(i);g=E,k={[T.id]:j}}g&&!e.hydrationData&&Ce(g,i,e.history.location.pathname).active&&(g=null);let S;if(g)if(g.some(j=>j.route.lazy))S=!1;else if(!g.some(j=>j.route.loader))S=!0;else if(h.v7_partialHydration){let j=e.hydrationData?e.hydrationData.loaderData:null,E=e.hydrationData?e.hydrationData.errors:null;if(E){let T=g.findIndex(O=>E[O.route.id]!==void 0);S=g.slice(0,T+1).every(O=>!Od(O.route,j,E))}else S=g.every(T=>!Od(T.route,j,E))}else S=e.hydrationData!=null;else if(S=!1,g=[],h.v7_partialHydration){let j=Ce(null,i,e.history.location.pathname);j.active&&j.matches&&(x=!0,g=j.matches)}let C,_={historyAction:e.history.action,location:e.history.location,matches:g,initialized:S,navigation:_u,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||k,fetchers:new Map,blockers:new Map},N=qe.Pop,M=!1,A,V=!1,I=new Map,J=null,F=!1,oe=!1,te=[],ne=new Set,P=new Map,D=0,U=-1,re=new Map,G=new Set,ae=new Map,de=new Map,we=new Set,Oe=new Map,me=new Map,tr;function yr(){if(p=e.history.listen(j=>{let{action:E,location:T,delta:O}=j;if(tr){tr(),tr=void 0;return}Oo(me.size===0||O!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs.  This can also happen if you are using createHashRouter and the user manually changes the URL.");let z=ti({currentLocation:_.location,nextLocation:T,historyAction:E});if(z&&O!=null){let ee=new Promise(se=>{tr=se});e.history.go(O*-1),cs(z,{state:"blocked",location:T,proceed(){cs(z,{state:"proceeding",proceed:void 0,reset:void 0,location:T}),ee.then(()=>e.history.go(O))},reset(){let se=new Map(_.blockers);se.set(z,pi),Ue({blockers:se})}});return}return Ht(E,T)}),r){ok(t,I);let j=()=>ik(t,I);t.addEventListener("pagehide",j),J=()=>t.removeEventListener("pagehide",j)}return _.initialized||Ht(qe.Pop,_.location,{initialHydration:!0}),C}function Br(){p&&p(),J&&J(),f.clear(),A&&A.abort(),_.fetchers.forEach((j,E)=>Us(E)),_.blockers.forEach((j,E)=>ja(E))}function xr(j){return f.add(j),()=>f.delete(j)}function Ue(j,E){E===void 0&&(E={}),_=Le({},_,j);let T=[],O=[];h.v7_fetcherPersist&&_.fetchers.forEach((z,ee)=>{z.state==="idle"&&(we.has(ee)?O.push(ee):T.push(ee))}),we.forEach(z=>{!_.fetchers.has(z)&&!P.has(z)&&O.push(z)}),[...f].forEach(z=>z(_,{deletedFetchers:O,viewTransitionOpts:E.viewTransitionOpts,flushSync:E.flushSync===!0})),h.v7_fetcherPersist?(T.forEach(z=>_.fetchers.delete(z)),O.forEach(z=>Us(z))):O.forEach(z=>we.delete(z))}function mt(j,E,T){var O,z;let{flushSync:ee}=T===void 0?{}:T,se=_.actionData!=null&&_.navigation.formMethod!=null&&ur(_.navigation.formMethod)&&_.navigation.state==="loading"&&((O=j.state)==null?void 0:O._isRedirect)!==!0,Q;E.actionData?Object.keys(E.actionData).length>0?Q=E.actionData:Q=null:se?Q=_.actionData:Q=null;let Y=E.loaderData?sm(_.loaderData,E.loaderData,E.matches||[],E.errors):_.loaderData,W=_.blockers;W.size>0&&(W=new Map(W),W.forEach((ye,st)=>W.set(st,pi)));let X=M===!0||_.navigation.formMethod!=null&&ur(_.navigation.formMethod)&&((z=j.state)==null?void 0:z._isRedirect)!==!0;a&&(i=a,a=void 0),F||N===qe.Pop||(N===qe.Push?e.history.push(j,j.state):N===qe.Replace&&e.history.replace(j,j.state));let fe;if(N===qe.Pop){let ye=I.get(_.location.pathname);ye&&ye.has(j.pathname)?fe={currentLocation:_.location,nextLocation:j}:I.has(j.pathname)&&(fe={currentLocation:j,nextLocation:_.location})}else if(V){let ye=I.get(_.location.pathname);ye?ye.add(j.pathname):(ye=new Set([j.pathname]),I.set(_.location.pathname,ye)),fe={currentLocation:_.location,nextLocation:j}}Ue(Le({},E,{actionData:Q,loaderData:Y,historyAction:N,location:j,initialized:!0,navigation:_u,revalidation:"idle",restoreScrollPosition:Se(j,E.matches||_.matches),preventScrollReset:X,blockers:W}),{viewTransitionOpts:fe,flushSync:ee===!0}),N=qe.Pop,M=!1,V=!1,F=!1,oe=!1,te=[]}async function ss(j,E){if(typeof j=="number"){e.history.go(j);return}let T=Md(_.location,_.matches,l,h.v7_prependBasename,j,h.v7_relativeSplatPath,E==null?void 0:E.fromRouteId,E==null?void 0:E.relative),{path:O,submission:z,error:ee}=Yp(h.v7_normalizeFormMethod,!1,T,E),se=_.location,Q=ta(_.location,O,E&&E.state);Q=Le({},Q,e.history.encodeLocation(Q));let Y=E&&E.replace!=null?E.replace:void 0,W=qe.Push;Y===!0?W=qe.Replace:Y===!1||z!=null&&ur(z.formMethod)&&z.formAction===_.location.pathname+_.location.search&&(W=qe.Replace);let X=E&&"preventScrollReset"in E?E.preventScrollReset===!0:void 0,fe=(E&&E.flushSync)===!0,ye=ti({currentLocation:se,nextLocation:Q,historyAction:W});if(ye){cs(ye,{state:"blocked",location:Q,proceed(){cs(ye,{state:"proceeding",proceed:void 0,reset:void 0,location:Q}),ss(j,E)},reset(){let st=new Map(_.blockers);st.set(ye,pi),Ue({blockers:st})}});return}return await Ht(W,Q,{submission:z,pendingError:ee,preventScrollReset:X,replace:E&&E.replace,enableViewTransition:E&&E.viewTransition,flushSync:fe})}function Xo(){if(br(),Ue({revalidation:"loading"}),_.navigation.state!=="submitting"){if(_.navigation.state==="idle"){Ht(_.historyAction,_.location,{startUninterruptedRevalidation:!0});return}Ht(N||_.historyAction,_.navigation.location,{overrideNavigation:_.navigation,enableViewTransition:V===!0})}}async function Ht(j,E,T){A&&A.abort(),A=null,N=j,F=(T&&T.startUninterruptedRevalidation)===!0,ie(_.location,_.matches),M=(T&&T.preventScrollReset)===!0,V=(T&&T.enableViewTransition)===!0;let O=a||i,z=T&&T.overrideNavigation,ee=T!=null&&T.initialHydration&&_.matches&&_.matches.length>0&&!x?_.matches:gs(O,E,l),se=(T&&T.flushSync)===!0;if(ee&&_.initialized&&!oe&&q_(_.location,E)&&!(T&&T.submission&&ur(T.submission.formMethod))){mt(E,{matches:ee},{flushSync:se});return}let Q=Ce(ee,O,E.pathname);if(Q.active&&Q.matches&&(ee=Q.matches),!ee){let{error:Pe,notFoundMatches:Ee,route:Ke}=ri(E.pathname);mt(E,{matches:Ee,loaderData:{},errors:{[Ke.id]:Pe}},{flushSync:se});return}A=new AbortController;let Y=Gs(e.history,E,A.signal,T&&T.submission),W;if(T&&T.pendingError)W=[vs(ee).route.id,{type:Ne.error,error:T.pendingError}];else if(T&&T.submission&&ur(T.submission.formMethod)){let Pe=await Jo(Y,E,T.submission,ee,Q.active,{replace:T.replace,flushSync:se});if(Pe.shortCircuited)return;if(Pe.pendingActionResult){let[Ee,Ke]=Pe.pendingActionResult;if(Mt(Ke)&&ra(Ke.error)&&Ke.error.status===404){A=null,mt(E,{matches:Pe.matches,loaderData:{},errors:{[Ee]:Ke.error}});return}}ee=Pe.matches||ee,W=Pe.pendingActionResult,z=ku(E,T.submission),se=!1,Q.active=!1,Y=Gs(e.history,Y.url,Y.signal)}let{shortCircuited:X,matches:fe,loaderData:ye,errors:st}=await os(Y,E,ee,Q.active,z,T&&T.submission,T&&T.fetcherSubmission,T&&T.replace,T&&T.initialHydration===!0,se,W);X||(A=null,mt(E,Le({matches:fe||ee},om(W),{loaderData:ye,errors:st})))}async function Jo(j,E,T,O,z,ee){ee===void 0&&(ee={}),br();let se=nk(E,T);if(Ue({navigation:se},{flushSync:ee.flushSync===!0}),z){let W=await lt(O,E.pathname,j.signal);if(W.type==="aborted")return{shortCircuited:!0};if(W.type==="error"){let X=vs(W.partialMatches).route.id;return{matches:W.partialMatches,pendingActionResult:[X,{type:Ne.error,error:W.error}]}}else if(W.matches)O=W.matches;else{let{notFoundMatches:X,error:fe,route:ye}=ri(E.pathname);return{matches:X,pendingActionResult:[ye.id,{type:Ne.error,error:fe}]}}}let Q,Y=ki(O,E);if(!Y.route.action&&!Y.route.lazy)Q={type:Ne.error,error:jt(405,{method:j.method,pathname:E.pathname,routeId:Y.route.id})};else if(Q=(await as("action",_,j,[Y],O,null))[Y.route.id],j.signal.aborted)return{shortCircuited:!0};if(ws(Q)){let W;return ee&&ee.replace!=null?W=ee.replace:W=tm(Q.response.headers.get("Location"),new URL(j.url),l)===_.location.pathname+_.location.search,await Kr(j,Q,!0,{submission:T,replace:W}),{shortCircuited:!0}}if(Rn(Q))throw jt(400,{type:"defer-action"});if(Mt(Q)){let W=vs(O,Y.route.id);return(ee&&ee.replace)!==!0&&(N=qe.Push),{matches:O,pendingActionResult:[W.route.id,Q]}}return{matches:O,pendingActionResult:[Y.route.id,Q]}}async function os(j,E,T,O,z,ee,se,Q,Y,W,X){let fe=z||ku(E,ee),ye=ee||se||lm(fe),st=!F&&(!h.v7_partialHydration||!Y);if(O){if(st){let Ve=zr(X);Ue(Le({navigation:fe},Ve!==void 0?{actionData:Ve}:{}),{flushSync:W})}let _e=await lt(T,E.pathname,j.signal);if(_e.type==="aborted")return{shortCircuited:!0};if(_e.type==="error"){let Ve=vs(_e.partialMatches).route.id;return{matches:_e.partialMatches,loaderData:{},errors:{[Ve]:_e.error}}}else if(_e.matches)T=_e.matches;else{let{error:Ve,notFoundMatches:Vs,route:oi}=ri(E.pathname);return{matches:Vs,loaderData:{},errors:{[oi.id]:Ve}}}}let Pe=a||i,[Ee,Ke]=Xp(e.history,_,T,ye,E,h.v7_partialHydration&&Y===!0,h.v7_skipActionErrorRevalidation,oe,te,ne,we,ae,G,Pe,l,X);if(us(_e=>!(T&&T.some(Ve=>Ve.route.id===_e))||Ee&&Ee.some(Ve=>Ve.route.id===_e)),U=++D,Ee.length===0&&Ke.length===0){let _e=ei();return mt(E,Le({matches:T,loaderData:{},errors:X&&Mt(X[1])?{[X[0]]:X[1].error}:null},om(X),_e?{fetchers:new Map(_.fetchers)}:{}),{flushSync:W}),{shortCircuited:!0}}if(st){let _e={};if(!O){_e.navigation=fe;let Ve=zr(X);Ve!==void 0&&(_e.actionData=Ve)}Ke.length>0&&(_e.fetchers=wa(Ke)),Ue(_e,{flushSync:W})}Ke.forEach(_e=>{Wt(_e.key),_e.controller&&P.set(_e.key,_e.controller)});let Ks=()=>Ke.forEach(_e=>Wt(_e.key));A&&A.signal.addEventListener("abort",Ks);let{loaderResults:ni,fetcherResults:Wr}=await gt(_,T,Ee,Ke,j);if(j.signal.aborted)return{shortCircuited:!0};A&&A.signal.removeEventListener("abort",Ks),Ke.forEach(_e=>P.delete(_e.key));let jr=Ga(ni);if(jr)return await Kr(j,jr.result,!0,{replace:Q}),{shortCircuited:!0};if(jr=Ga(Wr),jr)return G.add(jr.key),await Kr(j,jr.result,!0,{replace:Q}),{shortCircuited:!0};let{loaderData:Wc,errors:si}=nm(_,T,ni,X,Ke,Wr,Oe);Oe.forEach((_e,Ve)=>{_e.subscribe(Vs=>{(Vs||_e.done)&&Oe.delete(Ve)})}),h.v7_partialHydration&&Y&&_.errors&&(si=Le({},_.errors,si));let ds=ei(),Ea=Hr(U),Ca=ds||Ea||Ke.length>0;return Le({matches:T,loaderData:Wc,errors:si},Ca?{fetchers:new Map(_.fetchers)}:{})}function zr(j){if(j&&!Mt(j[1]))return{[j[0]]:j[1].data};if(_.actionData)return Object.keys(_.actionData).length===0?null:_.actionData}function wa(j){return j.forEach(E=>{let T=_.fetchers.get(E.key),O=mi(void 0,T?T.data:void 0);_.fetchers.set(E.key,O)}),new Map(_.fetchers)}function is(j,E,T,O){if(n)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");Wt(j);let z=(O&&O.flushSync)===!0,ee=a||i,se=Md(_.location,_.matches,l,h.v7_prependBasename,T,h.v7_relativeSplatPath,E,O==null?void 0:O.relative),Q=gs(ee,se,l),Y=Ce(Q,ee,se);if(Y.active&&Y.matches&&(Q=Y.matches),!Q){rr(j,E,jt(404,{pathname:se}),{flushSync:z});return}let{path:W,submission:X,error:fe}=Yp(h.v7_normalizeFormMethod,!0,se,O);if(fe){rr(j,E,fe,{flushSync:z});return}let ye=ki(Q,W),st=(O&&O.preventScrollReset)===!0;if(X&&ur(X.formMethod)){_a(j,E,W,ye,Q,Y.active,z,st,X);return}ae.set(j,{routeId:E,path:W}),Ur(j,E,W,ye,Q,Y.active,z,st,X)}async function _a(j,E,T,O,z,ee,se,Q,Y){br(),ae.delete(j);function W(Ye){if(!Ye.route.action&&!Ye.route.lazy){let Hs=jt(405,{method:Y.formMethod,pathname:T,routeId:E});return rr(j,E,Hs,{flushSync:se}),!0}return!1}if(!ee&&W(O))return;let X=_.fetchers.get(j);wr(j,sk(Y,X),{flushSync:se});let fe=new AbortController,ye=Gs(e.history,T,fe.signal,Y);if(ee){let Ye=await lt(z,new URL(ye.url).pathname,ye.signal,j);if(Ye.type==="aborted")return;if(Ye.type==="error"){rr(j,E,Ye.error,{flushSync:se});return}else if(Ye.matches){if(z=Ye.matches,O=ki(z,T),W(O))return}else{rr(j,E,jt(404,{pathname:T}),{flushSync:se});return}}P.set(j,fe);let st=D,Ee=(await as("action",_,ye,[O],z,j))[O.route.id];if(ye.signal.aborted){P.get(j)===fe&&P.delete(j);return}if(h.v7_fetcherPersist&&we.has(j)){if(ws(Ee)||Mt(Ee)){wr(j,yn(void 0));return}}else{if(ws(Ee))if(P.delete(j),U>st){wr(j,yn(void 0));return}else return G.add(j),wr(j,mi(Y)),Kr(ye,Ee,!1,{fetcherSubmission:Y,preventScrollReset:Q});if(Mt(Ee)){rr(j,E,Ee.error);return}}if(Rn(Ee))throw jt(400,{type:"defer-action"});let Ke=_.navigation.location||_.location,Ks=Gs(e.history,Ke,fe.signal),ni=a||i,Wr=_.navigation.state!=="idle"?gs(ni,_.navigation.location,l):_.matches;pe(Wr,"Didn't find any matches after fetcher action");let jr=++D;re.set(j,jr);let Wc=mi(Y,Ee.data);_.fetchers.set(j,Wc);let[si,ds]=Xp(e.history,_,Wr,Y,Ke,!1,h.v7_skipActionErrorRevalidation,oe,te,ne,we,ae,G,ni,l,[O.route.id,Ee]);ds.filter(Ye=>Ye.key!==j).forEach(Ye=>{let Hs=Ye.key,Ph=_.fetchers.get(Hs),pb=mi(void 0,Ph?Ph.data:void 0);_.fetchers.set(Hs,pb),Wt(Hs),Ye.controller&&P.set(Hs,Ye.controller)}),Ue({fetchers:new Map(_.fetchers)});let Ea=()=>ds.forEach(Ye=>Wt(Ye.key));fe.signal.addEventListener("abort",Ea);let{loaderResults:Ca,fetcherResults:_e}=await gt(_,Wr,si,ds,Ks);if(fe.signal.aborted)return;fe.signal.removeEventListener("abort",Ea),re.delete(j),P.delete(j),ds.forEach(Ye=>P.delete(Ye.key));let Ve=Ga(Ca);if(Ve)return Kr(Ks,Ve.result,!1,{preventScrollReset:Q});if(Ve=Ga(_e),Ve)return G.add(Ve.key),Kr(Ks,Ve.result,!1,{preventScrollReset:Q});let{loaderData:Vs,errors:oi}=nm(_,Wr,Ca,void 0,ds,_e,Oe);if(_.fetchers.has(j)){let Ye=yn(Ee.data);_.fetchers.set(j,Ye)}Hr(jr),_.navigation.state==="loading"&&jr>U?(pe(N,"Expected pending action"),A&&A.abort(),mt(_.navigation.location,{matches:Wr,loaderData:Vs,errors:oi,fetchers:new Map(_.fetchers)})):(Ue({errors:oi,loaderData:sm(_.loaderData,Vs,Wr,oi),fetchers:new Map(_.fetchers)}),oe=!1)}async function Ur(j,E,T,O,z,ee,se,Q,Y){let W=_.fetchers.get(j);wr(j,mi(Y,W?W.data:void 0),{flushSync:se});let X=new AbortController,fe=Gs(e.history,T,X.signal);if(ee){let Ee=await lt(z,new URL(fe.url).pathname,fe.signal,j);if(Ee.type==="aborted")return;if(Ee.type==="error"){rr(j,E,Ee.error,{flushSync:se});return}else if(Ee.matches)z=Ee.matches,O=ki(z,T);else{rr(j,E,jt(404,{pathname:T}),{flushSync:se});return}}P.set(j,X);let ye=D,Pe=(await as("loader",_,fe,[O],z,j))[O.route.id];if(Rn(Pe)&&(Pe=await ih(Pe,fe.signal,!0)||Pe),P.get(j)===X&&P.delete(j),!fe.signal.aborted){if(we.has(j)){wr(j,yn(void 0));return}if(ws(Pe))if(U>ye){wr(j,yn(void 0));return}else{G.add(j),await Kr(fe,Pe,!1,{preventScrollReset:Q});return}if(Mt(Pe)){rr(j,E,Pe.error);return}pe(!Rn(Pe),"Unhandled fetcher deferred data"),wr(j,yn(Pe.data))}}async function Kr(j,E,T,O){let{submission:z,fetcherSubmission:ee,preventScrollReset:se,replace:Q}=O===void 0?{}:O;E.response.headers.has("X-Remix-Revalidate")&&(oe=!0);let Y=E.response.headers.get("Location");pe(Y,"Expected a Location header on the redirect Response"),Y=tm(Y,new URL(j.url),l);let W=ta(_.location,Y,{_isRedirect:!0});if(r){let Ee=!1;if(E.response.headers.has("X-Remix-Reload-Document"))Ee=!0;else if(oh.test(Y)){const Ke=e.history.createURL(Y);Ee=Ke.origin!==t.location.origin||Or(Ke.pathname,l)==null}if(Ee){Q?t.location.replace(Y):t.location.assign(Y);return}}A=null;let X=Q===!0||E.response.headers.has("X-Remix-Replace")?qe.Replace:qe.Push,{formMethod:fe,formAction:ye,formEncType:st}=_.navigation;!z&&!ee&&fe&&ye&&st&&(z=lm(_.navigation));let Pe=z||ee;if(I_.has(E.response.status)&&Pe&&ur(Pe.formMethod))await Ht(X,W,{submission:Le({},Pe,{formAction:Y}),preventScrollReset:se||M,enableViewTransition:T?V:void 0});else{let Ee=ku(W,z);await Ht(X,W,{overrideNavigation:Ee,fetcherSubmission:ee,preventScrollReset:se||M,enableViewTransition:T?V:void 0})}}async function as(j,E,T,O,z,ee){let se,Q={};try{se=await W_(c,j,E,T,O,z,ee,o,s)}catch(Y){return O.forEach(W=>{Q[W.route.id]={type:Ne.error,error:Y}}),Q}for(let[Y,W]of Object.entries(se))if(X_(W)){let X=W.result;Q[Y]={type:Ne.redirect,response:Z_(X,T,Y,z,l,h.v7_relativeSplatPath)}}else Q[Y]=await Q_(W);return Q}async function gt(j,E,T,O,z){let ee=j.matches,se=as("loader",j,z,T,E,null),Q=Promise.all(O.map(async X=>{if(X.matches&&X.match&&X.controller){let ye=(await as("loader",j,Gs(e.history,X.path,X.controller.signal),[X.match],X.matches,X.key))[X.match.route.id];return{[X.key]:ye}}else return Promise.resolve({[X.key]:{type:Ne.error,error:jt(404,{pathname:X.path})}})})),Y=await se,W=(await Q).reduce((X,fe)=>Object.assign(X,fe),{});return await Promise.all([tk(E,Y,z.signal,ee,j.loaderData),rk(E,W,O)]),{loaderResults:Y,fetcherResults:W}}function br(){oe=!0,te.push(...us()),ae.forEach((j,E)=>{P.has(E)&&ne.add(E),Wt(E)})}function wr(j,E,T){T===void 0&&(T={}),_.fetchers.set(j,E),Ue({fetchers:new Map(_.fetchers)},{flushSync:(T&&T.flushSync)===!0})}function rr(j,E,T,O){O===void 0&&(O={});let z=vs(_.matches,E);Us(j),Ue({errors:{[z.route.id]:T},fetchers:new Map(_.fetchers)},{flushSync:(O&&O.flushSync)===!0})}function ls(j){return de.set(j,(de.get(j)||0)+1),we.has(j)&&we.delete(j),_.fetchers.get(j)||$_}function Us(j){let E=_.fetchers.get(j);P.has(j)&&!(E&&E.state==="loading"&&re.has(j))&&Wt(j),ae.delete(j),re.delete(j),G.delete(j),h.v7_fetcherPersist&&we.delete(j),ne.delete(j),_.fetchers.delete(j)}function ka(j){let E=(de.get(j)||0)-1;E<=0?(de.delete(j),we.add(j),h.v7_fetcherPersist||Us(j)):de.set(j,E),Ue({fetchers:new Map(_.fetchers)})}function Wt(j){let E=P.get(j);E&&(E.abort(),P.delete(j))}function Vr(j){for(let E of j){let T=ls(E),O=yn(T.data);_.fetchers.set(E,O)}}function ei(){let j=[],E=!1;for(let T of G){let O=_.fetchers.get(T);pe(O,"Expected fetcher: "+T),O.state==="loading"&&(G.delete(T),j.push(T),E=!0)}return Vr(j),E}function Hr(j){let E=[];for(let[T,O]of re)if(O<j){let z=_.fetchers.get(T);pe(z,"Expected fetcher: "+T),z.state==="loading"&&(Wt(T),re.delete(T),E.push(T))}return Vr(E),E.length>0}function Hc(j,E){let T=_.blockers.get(j)||pi;return me.get(j)!==E&&me.set(j,E),T}function ja(j){_.blockers.delete(j),me.delete(j)}function cs(j,E){let T=_.blockers.get(j)||pi;pe(T.state==="unblocked"&&E.state==="blocked"||T.state==="blocked"&&E.state==="blocked"||T.state==="blocked"&&E.state==="proceeding"||T.state==="blocked"&&E.state==="unblocked"||T.state==="proceeding"&&E.state==="unblocked","Invalid blocker state transition: "+T.state+" -> "+E.state);let O=new Map(_.blockers);O.set(j,E),Ue({blockers:O})}function ti(j){let{currentLocation:E,nextLocation:T,historyAction:O}=j;if(me.size===0)return;me.size>1&&Oo(!1,"A router only supports one blocker at a time");let z=Array.from(me.entries()),[ee,se]=z[z.length-1],Q=_.blockers.get(ee);if(!(Q&&Q.state==="proceeding")&&se({currentLocation:E,nextLocation:T,historyAction:O}))return ee}function ri(j){let E=jt(404,{pathname:j}),T=a||i,{matches:O,route:z}=im(T);return us(),{notFoundMatches:O,route:z,error:E}}function us(j){let E=[];return Oe.forEach((T,O)=>{(!j||j(O))&&(T.cancel(),E.push(O),Oe.delete(O))}),E}function _r(j,E,T){if(w=j,b=E,m=T||null,!y&&_.navigation===_u){y=!0;let O=Se(_.location,_.matches);O!=null&&Ue({restoreScrollPosition:O})}return()=>{w=null,b=null,m=null}}function Sa(j,E){return m&&m(j,E.map(O=>By(O,_.loaderData)))||j.key}function ie(j,E){if(w&&b){let T=Sa(j,E);w[T]=b()}}function Se(j,E){if(w){let T=Sa(j,E),O=w[T];if(typeof O=="number")return O}return null}function Ce(j,E,T){if(d)if(j){if(Object.keys(j[0].params).length>0)return{active:!0,matches:xl(E,T,l,!0)}}else return{active:!0,matches:xl(E,T,l,!0)||[]};return{active:!1,matches:null}}async function lt(j,E,T,O){if(!d)return{type:"success",matches:j};let z=j;for(;;){let ee=a==null,se=a||i,Q=o;try{await d({signal:T,path:E,matches:z,fetcherKey:O,patch:(X,fe)=>{T.aborted||em(X,fe,se,Q,s)}})}catch(X){return{type:"error",error:X,partialMatches:z}}finally{ee&&!T.aborted&&(i=[...i])}if(T.aborted)return{type:"aborted"};let Y=gs(se,E,l);if(Y)return{type:"success",matches:Y};let W=xl(se,E,l,!0);if(!W||z.length===W.length&&z.every((X,fe)=>X.route.id===W[fe].route.id))return{type:"success",matches:null};z=W}}function Rt(j){o={},a=ql(j,s,void 0,o)}function kr(j,E){let T=a==null;em(j,E,a||i,o,s),T&&(i=[...i],Ue({}))}return C={get basename(){return l},get future(){return h},get state(){return _},get routes(){return i},get window(){return t},initialize:yr,subscribe:xr,enableScrollRestoration:_r,navigate:ss,fetch:is,revalidate:Xo,createHref:j=>e.history.createHref(j),encodeLocation:j=>e.history.encodeLocation(j),getFetcher:ls,deleteFetcher:ka,dispose:Br,getBlocker:Hc,deleteBlocker:ja,patchRoutes:kr,_internalFetchControllers:P,_internalActiveDeferreds:Oe,_internalSetRoutes:Rt},C}function U_(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function Md(e,t,r,n,s,o,i,a){let l,c;if(i){l=[];for(let h of t)if(l.push(h),h.route.id===i){c=h;break}}else l=t,c=t[t.length-1];let d=sh(s||".",nh(l,o),Or(e.pathname,r)||e.pathname,a==="path");if(s==null&&(d.search=e.search,d.hash=e.hash),(s==null||s===""||s===".")&&c){let h=ah(d.search);if(c.route.index&&!h)d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index";else if(!c.route.index&&h){let p=new URLSearchParams(d.search),f=p.getAll("index");p.delete("index"),f.filter(m=>m).forEach(m=>p.append("index",m));let w=p.toString();d.search=w?"?"+w:""}}return n&&r!=="/"&&(d.pathname=d.pathname==="/"?r:tn([r,d.pathname])),Os(d)}function Yp(e,t,r,n){if(!n||!U_(n))return{path:r};if(n.formMethod&&!ek(n.formMethod))return{path:r,error:jt(405,{method:n.formMethod})};let s=()=>({path:r,error:jt(400,{type:"invalid-body"})}),o=n.formMethod||"get",i=e?o.toUpperCase():o.toLowerCase(),a=Qy(r);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!ur(i))return s();let p=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((f,w)=>{let[m,b]=w;return""+f+m+"="+b+`
50`},""):String(n.body);return{path:r,submission:{formMethod:i,formAction:a,formEncType:n.formEncType,formData:void 0,json:void 0,text:p}}}else if(n.formEncType==="application/json"){if(!ur(i))return s();try{let p=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:i,formAction:a,formEncType:n.formEncType,formData:void 0,json:p,text:void 0}}}catch{return s()}}}pe(typeof FormData=="function","FormData is not available in this environment");let l,c;if(n.formData)l=Ld(n.formData),c=n.formData;else if(n.body instanceof FormData)l=Ld(n.body),c=n.body;else if(n.body instanceof URLSearchParams)l=n.body,c=rm(l);else if(n.body==null)l=new URLSearchParams,c=new FormData;else try{l=new URLSearchParams(n.body),c=rm(l)}catch{return s()}let d={formMethod:i,formAction:a,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:c,json:void 0,text:void 0};if(ur(d.formMethod))return{path:r,submission:d};let h=ts(r);return t&&h.search&&ah(h.search)&&l.append("index",""),h.search="?"+l,{path:Os(h),submission:d}}function qp(e,t,r){r===void 0&&(r=!1);let n=e.findIndex(s=>s.route.id===t);return n>=0?e.slice(0,r?n+1:n):e}function Xp(e,t,r,n,s,o,i,a,l,c,d,h,p,f,w,m){let b=m?Mt(m[1])?m[1].error:m[1].data:void 0,y=e.createURL(t.location),g=e.createURL(s),x=r;o&&t.errors?x=qp(r,Object.keys(t.errors)[0],!0):m&&Mt(m[1])&&(x=qp(r,m[0]));let k=m?m[1].statusCode:void 0,S=i&&k&&k>=400,C=x.filter((N,M)=>{let{route:A}=N;if(A.lazy)return!0;if(A.loader==null)return!1;if(o)return Od(A,t.loaderData,t.errors);if(K_(t.loaderData,t.matches[M],N)||l.some(J=>J===N.route.id))return!0;let V=t.matches[M],I=N;return Jp(N,Le({currentUrl:y,currentParams:V.params,nextUrl:g,nextParams:I.params},n,{actionResult:b,actionStatus:k,defaultShouldRevalidate:S?!1:a||y.pathname+y.search===g.pathname+g.search||y.search!==g.search||Wy(V,I)}))}),_=[];return h.forEach((N,M)=>{if(o||!r.some(F=>F.route.id===N.routeId)||d.has(M))return;let A=gs(f,N.path,w);if(!A){_.push({key:M,routeId:N.routeId,path:N.path,matches:null,match:null,controller:null});return}let V=t.fetchers.get(M),I=ki(A,N.path),J=!1;p.has(M)?J=!1:c.has(M)?(c.delete(M),J=!0):V&&V.state!=="idle"&&V.data===void 0?J=a:J=Jp(I,Le({currentUrl:y,currentParams:t.matches[t.matches.length-1].params,nextUrl:g,nextParams:r[r.length-1].params},n,{actionResult:b,actionStatus:k,defaultShouldRevalidate:S?!1:a})),J&&_.push({key:M,routeId:N.routeId,path:N.path,matches:A,match:I,controller:new AbortController})}),[C,_]}function Od(e,t,r){if(e.lazy)return!0;if(!e.loader)return!1;let n=t!=null&&t[e.id]!==void 0,s=r!=null&&r[e.id]!==void 0;return!n&&s?!1:typeof e.loader=="function"&&e.loader.hydrate===!0?!0:!n&&!s}function K_(e,t,r){let n=!t||r.route.id!==t.route.id,s=e[r.route.id]===void 0;return n||s}function Wy(e,t){let r=e.route.path;return e.pathname!==t.pathname||r!=null&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function Jp(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if(typeof r=="boolean")return r}return t.defaultShouldRevalidate}function em(e,t,r,n,s){var o;let i;if(e){let c=n[e];pe(c,"No route found to patch children into: routeId = "+e),c.children||(c.children=[]),i=c.children}else i=r;let a=t.filter(c=>!i.some(d=>Gy(c,d))),l=ql(a,s,[e||"_","patch",String(((o=i)==null?void 0:o.length)||"0")],n);i.push(...l)}function Gy(e,t){return"id"in e&&"id"in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:e.children.every((r,n)=>{var s;return(s=t.children)==null?void 0:s.some(o=>Gy(r,o))}):!1}async function V_(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let s=r[e.id];pe(s,"No route found in manifest");let o={};for(let i in n){let l=s[i]!==void 0&&i!=="hasErrorBoundary";Oo(!l,'Route "'+s.id+'" has a static property "'+i+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+i+'" will be ignored.')),!l&&!m_.has(i)&&(o[i]=n[i])}Object.assign(s,o),Object.assign(s,Le({},t(s),{lazy:void 0}))}async function H_(e){let{matches:t}=e,r=t.filter(s=>s.shouldLoad);return(await Promise.all(r.map(s=>s.resolve()))).reduce((s,o,i)=>Object.assign(s,{[r[i].route.id]:o}),{})}async function W_(e,t,r,n,s,o,i,a,l,c){let d=o.map(f=>f.route.lazy?V_(f.route,l,a):void 0),h=o.map((f,w)=>{let m=d[w],b=s.some(g=>g.route.id===f.route.id);return Le({},f,{shouldLoad:b,resolve:async g=>(g&&n.method==="GET"&&(f.route.lazy||f.route.loader)&&(b=!0),b?G_(t,n,f,m,g,c):Promise.resolve({type:Ne.data,result:void 0}))})}),p=await e({matches:h,request:n,params:o[0].params,fetcherKey:i,context:c});try{await Promise.all(d)}catch{}return p}async function G_(e,t,r,n,s,o){let i,a,l=c=>{let d,h=new Promise((w,m)=>d=m);a=()=>d(),t.signal.addEventListener("abort",a);let p=w=>typeof c!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+r.route.id+"]"))):c({request:t,params:r.params,context:o},...w!==void 0?[w]:[]),f=(async()=>{try{return{type:"data",result:await(s?s(m=>p(m)):p())}}catch(w){return{type:"error",result:w}}})();return Promise.race([f,h])};try{let c=r.route[e];if(n)if(c){let d,[h]=await Promise.all([l(c).catch(p=>{d=p}),n]);if(d!==void 0)throw d;i=h}else if(await n,c=r.route[e],c)i=await l(c);else if(e==="action"){let d=new URL(t.url),h=d.pathname+d.search;throw jt(405,{method:t.method,pathname:h,routeId:r.route.id})}else return{type:Ne.data,result:void 0};else if(c)i=await l(c);else{let d=new URL(t.url),h=d.pathname+d.search;throw jt(404,{pathname:h})}pe(i.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(c){return{type:Ne.error,result:c}}finally{a&&t.signal.removeEventListener("abort",a)}return i}async function Q_(e){let{result:t,type:r}=e;if(Zy(t)){let h;try{let p=t.headers.get("Content-Type");p&&/\bapplication\/json\b/.test(p)?t.body==null?h=null:h=await t.json():h=await t.text()}catch(p){return{type:Ne.error,error:p}}return r===Ne.error?{type:Ne.error,error:new Jl(t.status,t.statusText,h),statusCode:t.status,headers:t.headers}:{type:Ne.data,data:h,statusCode:t.status,headers:t.headers}}if(r===Ne.error){if(am(t)){var n,s;if(t.data instanceof Error){var o,i;return{type:Ne.error,error:t.data,statusCode:(o=t.init)==null?void 0:o.status,headers:(i=t.init)!=null&&i.headers?new Headers(t.init.headers):void 0}}return{type:Ne.error,error:new Jl(((n=t.init)==null?void 0:n.status)||500,void 0,t.data),statusCode:ra(t)?t.status:void 0,headers:(s=t.init)!=null&&s.headers?new Headers(t.init.headers):void 0}}return{type:Ne.error,error:t,statusCode:ra(t)?t.status:void 0}}if(J_(t)){var a,l;return{type:Ne.deferred,deferredData:t,statusCode:(a=t.init)==null?void 0:a.status,headers:((l=t.init)==null?void 0:l.headers)&&new Headers(t.init.headers)}}if(am(t)){var c,d;return{type:Ne.data,data:t.data,statusCode:(c=t.init)==null?void 0:c.status,headers:(d=t.init)!=null&&d.headers?new Headers(t.init.headers):void 0}}return{type:Ne.data,data:t}}function Z_(e,t,r,n,s,o){let i=e.headers.get("Location");if(pe(i,"Redirects returned/thrown from loaders/actions must have a Location header"),!oh.test(i)){let a=n.slice(0,n.findIndex(l=>l.route.id===r)+1);i=Md(new URL(t.url),a,s,!0,i,o),e.headers.set("Location",i)}return e}function tm(e,t,r){if(oh.test(e)){let n=e,s=n.startsWith("//")?new URL(t.protocol+n):new URL(n),o=Or(s.pathname,r)!=null;if(s.origin===t.origin&&o)return s.pathname+s.search+s.hash}return e}function Gs(e,t,r,n){let s=e.createURL(Qy(t)).toString(),o={signal:r};if(n&&ur(n.formMethod)){let{formMethod:i,formEncType:a}=n;o.method=i.toUpperCase(),a==="application/json"?(o.headers=new Headers({"Content-Type":a}),o.body=JSON.stringify(n.json)):a==="text/plain"?o.body=n.text:a==="application/x-www-form-urlencoded"&&n.formData?o.body=Ld(n.formData):o.body=n.formData}return new Request(s,o)}function Ld(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,typeof n=="string"?n:n.name);return t}function rm(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function Y_(e,t,r,n,s){let o={},i=null,a,l=!1,c={},d=r&&Mt(r[1])?r[1].error:void 0;return e.forEach(h=>{if(!(h.route.id in t))return;let p=h.route.id,f=t[p];if(pe(!ws(f),"Cannot handle redirect results in processLoaderData"),Mt(f)){let w=f.error;d!==void 0&&(w=d,d=void 0),i=i||{};{let m=vs(e,p);i[m.route.id]==null&&(i[m.route.id]=w)}o[p]=void 0,l||(l=!0,a=ra(f.error)?f.error.status:500),f.headers&&(c[p]=f.headers)}else Rn(f)?(n.set(p,f.deferredData),o[p]=f.deferredData.data,f.statusCode!=null&&f.statusCode!==200&&!l&&(a=f.statusCode),f.headers&&(c[p]=f.headers)):(o[p]=f.data,f.statusCode&&f.statusCode!==200&&!l&&(a=f.statusCode),f.headers&&(c[p]=f.headers))}),d!==void 0&&r&&(i={[r[0]]:d},o[r[0]]=void 0),{loaderData:o,errors:i,statusCode:a||200,loaderHeaders:c}}function nm(e,t,r,n,s,o,i){let{loaderData:a,errors:l}=Y_(t,r,n,i);return s.forEach(c=>{let{key:d,match:h,controller:p}=c,f=o[d];if(pe(f,"Did not find corresponding fetcher result"),!(p&&p.signal.aborted))if(Mt(f)){let w=vs(e.matches,h==null?void 0:h.route.id);l&&l[w.route.id]||(l=Le({},l,{[w.route.id]:f.error})),e.fetchers.delete(d)}else if(ws(f))pe(!1,"Unhandled fetcher revalidation redirect");else if(Rn(f))pe(!1,"Unhandled fetcher deferred data");else{let w=yn(f.data);e.fetchers.set(d,w)}}),{loaderData:a,errors:l}}function sm(e,t,r,n){let s=Le({},t);for(let o of r){let i=o.route.id;if(t.hasOwnProperty(i)?t[i]!==void 0&&(s[i]=t[i]):e[i]!==void 0&&o.route.loader&&(s[i]=e[i]),n&&n.hasOwnProperty(i))break}return s}function om(e){return e?Mt(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function vs(e,t){return(t?e.slice(0,e.findIndex(n=>n.route.id===t)+1):[...e]).reverse().find(n=>n.route.hasErrorBoundary===!0)||e[0]}function im(e){let t=e.length===1?e[0]:e.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function jt(e,t){let{pathname:r,routeId:n,method:s,type:o,message:i}=t===void 0?{}:t,a="Unknown Server Error",l="Unknown @remix-run/router error";return e===400?(a="Bad Request",s&&r&&n?l="You made a "+s+' request to "'+r+'" but '+('did not provide a `loader` for route "'+n+'", ')+"so there is no way to handle the request.":o==="defer-action"?l="defer() is not supported in actions":o==="invalid-body"&&(l="Unable to encode submission body")):e===403?(a="Forbidden",l='Route "'+n+'" does not match URL "'+r+'"'):e===404?(a="Not Found",l='No route matches URL "'+r+'"'):e===405&&(a="Method Not Allowed",s&&r&&n?l="You made a "+s.toUpperCase()+' request to "'+r+'" but '+('did not provide an `action` for route "'+n+'", ')+"so there is no way to handle the request.":s&&(l='Invalid request method "'+s.toUpperCase()+'"')),new Jl(e||500,a,new Error(l),!0)}function Ga(e){let t=Object.entries(e);for(let r=t.length-1;r>=0;r--){let[n,s]=t[r];if(ws(s))return{key:n,result:s}}}function Qy(e){let t=typeof e=="string"?ts(e):e;return Os(Le({},t,{hash:""}))}function q_(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function X_(e){return Zy(e.result)&&F_.has(e.result.status)}function Rn(e){return e.type===Ne.deferred}function Mt(e){return e.type===Ne.error}function ws(e){return(e&&e.type)===Ne.redirect}function am(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function J_(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function Zy(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function ek(e){return L_.has(e.toLowerCase())}function ur(e){return M_.has(e.toLowerCase())}async function tk(e,t,r,n,s){let o=Object.entries(t);for(let i=0;i<o.length;i++){let[a,l]=o[i],c=e.find(p=>(p==null?void 0:p.route.id)===a);if(!c)continue;let d=n.find(p=>p.route.id===c.route.id),h=d!=null&&!Wy(d,c)&&(s&&s[c.route.id])!==void 0;Rn(l)&&h&&await ih(l,r,!1).then(p=>{p&&(t[a]=p)})}}async function rk(e,t,r){for(let n=0;n<r.length;n++){let{key:s,routeId:o,controller:i}=r[n],a=t[s];e.find(c=>(c==null?void 0:c.route.id)===o)&&Rn(a)&&(pe(i,"Expected an AbortController for revalidating fetcher deferred result"),await ih(a,i.signal,!0).then(c=>{c&&(t[s]=c)}))}}async function ih(e,t,r){if(r===void 0&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:Ne.data,data:e.deferredData.unwrappedData}}catch(s){return{type:Ne.error,error:s}}return{type:Ne.data,data:e.deferredData.data}}}function ah(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function ki(e,t){let r=typeof t=="string"?ts(t).search:t.search;if(e[e.length-1].route.index&&ah(r||""))return e[e.length-1];let n=Ky(e);return n[n.length-1]}function lm(e){let{formMethod:t,formAction:r,formEncType:n,text:s,formData:o,json:i}=e;if(!(!t||!r||!n)){if(s!=null)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:s};if(o!=null)return{formMethod:t,formAction:r,formEncType:n,formData:o,json:void 0,text:void 0};if(i!==void 0)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:i,text:void 0}}}function ku(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function nk(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function mi(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function sk(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function yn(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function ok(e,t){try{let r=e.sessionStorage.getItem(Hy);if(r){let n=JSON.parse(r);for(let[s,o]of Object.entries(n||{}))o&&Array.isArray(o)&&t.set(s,new Set(o||[]))}}catch{}}function ik(e,t){if(t.size>0){let r={};for(let[n,s]of t)r[n]=[...s];try{e.sessionStorage.setItem(Hy,JSON.stringify(r))}catch(n){Oo(!1,"Failed to save applied view transitions in sessionStorage ("+n+").")}}}/**
51 * React Router v6.30.1
52 *
53 * Copyright (c) Remix Software Inc.
54 *
55 * This source code is licensed under the MIT license found in the
56 * LICENSE.md file in the root directory of this source tree.
57 *
58 * @license MIT
59 */function ec(){return ec=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ec.apply(this,arguments)}const ma=v.createContext(null),Ac=v.createContext(null),fn=v.createContext(null),lh=v.createContext(null),hn=v.createContext({outlet:null,matches:[],isDataRoute:!1}),Yy=v.createContext(null);function ak(e,t){let{relative:r}=t===void 0?{}:t;ga()||pe(!1);let{basename:n,navigator:s}=v.useContext(fn),{hash:o,pathname:i,search:a}=Rc(e,{relative:r}),l=i;return n!=="/"&&(l=i==="/"?n:tn([n,i])),s.createHref({pathname:l,search:a,hash:o})}function ga(){return v.useContext(lh)!=null}function rs(){return ga()||pe(!1),v.useContext(lh).location}function qy(e){v.useContext(fn).static||v.useLayoutEffect(e)}function lk(){let{isDataRoute:e}=v.useContext(hn);return e?kk():ck()}function ck(){ga()||pe(!1);let e=v.useContext(ma),{basename:t,future:r,navigator:n}=v.useContext(fn),{matches:s}=v.useContext(hn),{pathname:o}=rs(),i=JSON.stringify(nh(s,r.v7_relativeSplatPath)),a=v.useRef(!1);return qy(()=>{a.current=!0}),v.useCallback(function(c,d){if(d===void 0&&(d={}),!a.current)return;if(typeof c=="number"){n.go(c);return}let h=sh(c,JSON.parse(i),o,d.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:tn([t,h.pathname])),(d.replace?n.replace:n.push)(h,d.state,d)},[t,n,i,o,e])}const uk=v.createContext(null);function dk(e){let t=v.useContext(hn).outlet;return t&&v.createElement(uk.Provider,{value:e},t)}function ch(){let{matches:e}=v.useContext(hn),t=e[e.length-1];return t?t.params:{}}function Rc(e,t){let{relative:r}=t===void 0?{}:t,{future:n}=v.useContext(fn),{matches:s}=v.useContext(hn),{pathname:o}=rs(),i=JSON.stringify(nh(s,n.v7_relativeSplatPath));return v.useMemo(()=>sh(e,JSON.parse(i),o,r==="path"),[e,i,o,r])}function fk(e,t,r,n){ga()||pe(!1);let{navigator:s}=v.useContext(fn),{matches:o}=v.useContext(hn),i=o[o.length-1],a=i?i.params:{};i&&i.pathname;let l=i?i.pathnameBase:"/";i&&i.route;let c=rs(),d;d=c;let h=d.pathname||"/",p=h;if(l!=="/"){let m=l.replace(/^\//,"").split("/");p="/"+h.replace(/^\//,"").split("/").slice(m.length).join("/")}let f=gs(e,{pathname:p});return vk(f&&f.map(m=>Object.assign({},m,{params:Object.assign({},a,m.params),pathname:tn([l,s.encodeLocation?s.encodeLocation(m.pathname).pathname:m.pathname]),pathnameBase:m.pathnameBase==="/"?l:tn([l,s.encodeLocation?s.encodeLocation(m.pathnameBase).pathname:m.pathnameBase])})),o,r,n)}function hk(){let e=_k(),t=ra(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},t),r?v.createElement("pre",{style:s},r):null,null)}const pk=v.createElement(hk,null);class mk extends v.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?v.createElement(hn.Provider,{value:this.props.routeContext},v.createElement(Yy.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function gk(e){let{routeContext:t,match:r,children:n}=e,s=v.useContext(ma);return s&&s.static&&s.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=r.route.id),v.createElement(hn.Provider,{value:t},n)}function vk(e,t,r,n){var s;if(t===void 0&&(t=[]),r===void 0&&(r=null),n===void 0&&(n=null),e==null){var o;if(!r)return null;if(r.errors)e=r.matches;else if((o=n)!=null&&o.v7_partialHydration&&t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,a=(s=r)==null?void 0:s.errors;if(a!=null){let d=i.findIndex(h=>h.route.id&&(a==null?void 0:a[h.route.id])!==void 0);d>=0||pe(!1),i=i.slice(0,Math.min(i.length,d+1))}let l=!1,c=-1;if(r&&n&&n.v7_partialHydration)for(let d=0;d<i.length;d++){let h=i[d];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(c=d),h.route.id){let{loaderData:p,errors:f}=r,w=h.route.loader&&p[h.route.id]===void 0&&(!f||f[h.route.id]===void 0);if(h.route.lazy||w){l=!0,c>=0?i=i.slice(0,c+1):i=[i[0]];break}}}return i.reduceRight((d,h,p)=>{let f,w=!1,m=null,b=null;r&&(f=a&&h.route.id?a[h.route.id]:void 0,m=h.route.errorElement||pk,l&&(c<0&&p===0?(w=!0,b=null):c===p&&(w=!0,b=h.route.hydrateFallbackElement||null)));let y=t.concat(i.slice(0,p+1)),g=()=>{let x;return f?x=m:w?x=b:h.route.Component?x=v.createElement(h.route.Component,null):h.route.element?x=h.route.element:x=d,v.createElement(gk,{match:h,routeContext:{outlet:d,matches:y,isDataRoute:r!=null},children:x})};return r&&(h.route.ErrorBoundary||h.route.errorElement||p===0)?v.createElement(mk,{location:r.location,revalidation:r.revalidation,component:m,error:f,children:g(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):g()},null)}var Xy=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Xy||{}),Lo=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Lo||{});function yk(e){let t=v.useContext(ma);return t||pe(!1),t}function uh(e){let t=v.useContext(Ac);return t||pe(!1),t}function xk(e){let t=v.useContext(hn);return t||pe(!1),t}function Jy(e){let t=xk(),r=t.matches[t.matches.length-1];return r.route.id||pe(!1),r.route.id}function bk(){return uh(Lo.UseNavigation).navigation}function wk(){let{matches:e,loaderData:t}=uh(Lo.UseMatches);return v.useMemo(()=>e.map(r=>By(r,t)),[e,t])}function _k(){var e;let t=v.useContext(Yy),r=uh(Lo.UseRouteError),n=Jy(Lo.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}function kk(){let{router:e}=yk(Xy.UseNavigateStable),t=Jy(Lo.UseNavigateStable),r=v.useRef(!1);return qy(()=>{r.current=!0}),v.useCallback(function(s,o){o===void 0&&(o={}),r.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,ec({fromRouteId:t},o)))},[e,t])}function jk(e,t){e==null||e.v7_startTransition,(e==null?void 0:e.v7_relativeSplatPath)===void 0&&(!t||t.v7_relativeSplatPath),t&&(t.v7_fetcherPersist,t.v7_normalizeFormMethod,t.v7_partialHydration,t.v7_skipActionErrorRevalidation)}function Sk(e){return dk(e.context)}function Ek(e){let{basename:t="/",children:r=null,location:n,navigationType:s=qe.Pop,navigator:o,static:i=!1,future:a}=e;ga()&&pe(!1);let l=t.replace(/^\/*/,"/"),c=v.useMemo(()=>({basename:l,navigator:o,static:i,future:ec({v7_relativeSplatPath:!1},a)}),[l,a,o,i]);typeof n=="string"&&(n=ts(n));let{pathname:d="/",search:h="",hash:p="",state:f=null,key:w="default"}=n,m=v.useMemo(()=>{let b=Or(d,l);return b==null?null:{location:{pathname:b,search:h,hash:p,state:f,key:w},navigationType:s}},[l,d,h,p,f,w,s]);return m==null?null:v.createElement(fn.Provider,{value:c},v.createElement(lh.Provider,{children:r,value:m}))}new Promise(()=>{});function Ck(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:v.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:v.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:v.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/**
60 * React Router DOM v6.30.1
61 *
62 * Copyright (c) Remix Software Inc.
63 *
64 * This source code is licensed under the MIT license found in the
65 * LICENSE.md file in the root directory of this source tree.
66 *
67 * @license MIT
68 */function Ls(){return Ls=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ls.apply(this,arguments)}function e0(e,t){if(e==null)return{};var r={},n=Object.keys(e),s,o;for(o=0;o<n.length;o++)s=n[o],!(t.indexOf(s)>=0)&&(r[s]=e[s]);return r}function Nk(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Tk(e,t){return e.button===0&&(!t||t==="_self")&&!Nk(e)}const Pk=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Ak=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],Rk="6";try{window.__reactRouterVersion=Rk}catch{}function Dk(e,t){return z_({basename:void 0,future:Ls({},void 0,{v7_prependBasename:!0}),history:f_({window:void 0}),hydrationData:Mk(),routes:e,mapRouteProperties:Ck,dataStrategy:void 0,patchRoutesOnNavigation:void 0,window:void 0}).initialize()}function Mk(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=Ls({},t,{errors:Ok(t.errors)})),t}function Ok(e){if(!e)return null;let t=Object.entries(e),r={};for(let[n,s]of t)if(s&&s.__type==="RouteErrorResponse")r[n]=new Jl(s.status,s.statusText,s.data,s.internal===!0);else if(s&&s.__type==="Error"){if(s.__subType){let o=window[s.__subType];if(typeof o=="function")try{let i=new o(s.message);i.stack="",r[n]=i}catch{}}if(r[n]==null){let o=new Error(s.message);o.stack="",r[n]=o}}else r[n]=s;return r}const t0=v.createContext({isTransitioning:!1}),Lk=v.createContext(new Map),Fk="startTransition",cm=cf[Fk],Ik="flushSync",um=B1[Ik];function $k(e){cm?cm(e):e()}function gi(e){um?um(e):e()}class Bk{constructor(){this.status="pending",this.promise=new Promise((t,r)=>{this.resolve=n=>{this.status==="pending"&&(this.status="resolved",t(n))},this.reject=n=>{this.status==="pending"&&(this.status="rejected",r(n))}})}}function zk(e){let{fallbackElement:t,router:r,future:n}=e,[s,o]=v.useState(r.state),[i,a]=v.useState(),[l,c]=v.useState({isTransitioning:!1}),[d,h]=v.useState(),[p,f]=v.useState(),[w,m]=v.useState(),b=v.useRef(new Map),{v7_startTransition:y}=n||{},g=v.useCallback(N=>{y?$k(N):N()},[y]),x=v.useCallback((N,M)=>{let{deletedFetchers:A,flushSync:V,viewTransitionOpts:I}=M;
68N.fetchers.forEach((F,oe)=>{F.data!==void 0&&b.current.set(oe,F.data)}),A.forEach(F=>b.current.delete(F));let J=r.window==null||r.window.document==null||typeof r.window.document.startViewTransition!="function";if(!I||J){V?gi(()=>o(N)):g(()=>o(N));return}if(V){gi(()=>{p&&(d&&d.resolve(),p.skipTransition()),c({isTransitioning:!0,flushSync:!0,currentLocation:I.currentLocation,nextLocation:I.nextLocation})});let F=r.window.document.startViewTransition(()=>{gi(()=>o(N))});F.finished.finally(()=>{gi(()=>{h(void 0),f(void 0),a(void 0),c({isTransitioning:!1})})}),gi(()=>f(F));return}p?(d&&d.resolve(),p.skipTransition(),m({state:N,currentLocation:I.currentLocation,nextLocation:I.nextLocation})):(a(N),c({isTransitioning:!0,flushSync:!1,currentLocation:I.currentLocation,nextLocation:I.nextLocation}))},[r.window,p,d,b,g]);v.useLayoutEffect(()=>r.subscribe(x),[r,x]),v.useEffect(()=>{l.isTransitioning&&!l.flushSync&&h(new Bk)},[l]),v.useEffect(()=>{if(d&&i&&r.window){let N=i,M=d.promise,A=r.window.document.startViewTransition(async()=>{g(()=>o(N)),await M});A.finished.finally(()=>{h(void 0),f(void 0),a(void 0),c({isTransitioning:!1})}),f(A)}},[g,i,d,r.window]),v.useEffect(()=>{d&&i&&s.location.key===i.location.key&&d.resolve()},[d,p,s.location,i]),v.useEffect(()=>{!l.isTransitioning&&w&&(a(w.state),c({isTransitioning:!0,flushSync:!1,currentLocation:w.currentLocation,nextLocation:w.nextLocation}),m(void 0))},[l.isTransitioning,w]),v.useEffect(()=>{},[]);let k=v.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:N=>r.navigate(N),push:(N,M,A)=>r.navigate(N,{state:M,preventScrollReset:A==null?void 0:A.preventScrollReset}),replace:(N,M,A)=>r.navigate(N,{replace:!0,state:M,preventScrollReset:A==null?void 0:A.preventScrollReset})}),[r]),S=r.basename||"/",C=v.useMemo(()=>({router:r,navigator:k,static:!1,basename:S}),[r,k,S]),_=v.useMemo(()=>({v7_relativeSplatPath:r.future.v7_relativeSplatPath}),[r.future.v7_relativeSplatPath]);return v.useEffect(()=>jk(n,r.future),[n,r.future]),v.createElement(v.Fragment,null,v.createElement(ma.Provider,{value:C},v.createElement(Ac.Provider,{value:s},v.createElement(Lk.Provider,{value:b.current},v.createElement(t0.Provider,{value:l},v.createElement(Ek,{basename:S,location:s.location,navigationType:s.historyAction,navigator:k,future:_},s.initialized||r.future.v7_partialHydration?v.createElement(Uk,{routes:r.routes,future:r.future,state:s}):t))))),null)}const Uk=v.memo(Kk);function Kk(e){let{routes:t,future:r,state:n}=e;return fk(t,void 0,n,r)}const Vk=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Hk=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Bt=v.forwardRef(function(t,r){let{onClick:n,relative:s,reloadDocument:o,replace:i,state:a,target:l,to:c,preventScrollReset:d,viewTransition:h}=t,p=e0(t,Pk),{basename:f}=v.useContext(fn),w,m=!1;if(typeof c=="string"&&Hk.test(c)&&(w=c,Vk))try{let x=new URL(window.location.href),k=c.startsWith("//")?new URL(x.protocol+c):new URL(c),S=Or(k.pathname,f);k.origin===x.origin&&S!=null?c=S+k.search+k.hash:m=!0}catch{}let b=ak(c,{relative:s}),y=Qk(c,{replace:i,state:a,target:l,preventScrollReset:d,relative:s,viewTransition:h});function g(x){n&&n(x),x.defaultPrevented||y(x)}return v.createElement("a",Ls({},p,{href:w||b,onClick:m||o?n:g,ref:r,target:l}))}),Qa=v.forwardRef(function(t,r){let{"aria-current":n="page",caseSensitive:s=!1,className:o="",end:i=!1,style:a,to:l,viewTransition:c,children:d}=t,h=e0(t,Ak),p=Rc(l,{relative:h.relative}),f=rs(),w=v.useContext(Ac),{navigator:m,basename:b}=v.useContext(fn),y=w!=null&&qk(p)&&c===!0,g=m.encodeLocation?m.encodeLocation(p).pathname:p.pathname,x=f.pathname,k=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;s||(x=x.toLowerCase(),k=k?k.toLowerCase():null,g=g.toLowerCase()),k&&b&&(k=Or(k,b)||k);const S=g!=="/"&&g.endsWith("/")?g.length-1:g.length;let C=x===g||!i&&x.startsWith(g)&&x.charAt(S)==="/",_=k!=null&&(k===g||!i&&k.startsWith(g)&&k.charAt(g.length)==="/"),N={isActive:C,isPending:_,isTransitioning:y},M=C?n:void 0,A;typeof o=="function"?A=o(N):A=[o,C?"active":null,_?"pending":null,y?"transitioning":null].filter(
68Boolean).join(" ");let V=typeof a=="function"?a(N):a;return v.createElement(Bt,Ls({},h,{"aria-current":M,className:A,ref:r,style:V,to:l,viewTransition:c}),typeof d=="function"?d(N):d)});function Wk(e){let{getKey:t,storageKey:r}=e;return Zk({getKey:t,storageKey:r}),null}var tc;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(tc||(tc={}));var Fd;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Fd||(Fd={}));function r0(e){let t=v.useContext(ma);return t||pe(!1),t}function Gk(e){let t=v.useContext(Ac);return t||pe(!1),t}function Qk(e,t){let{target:r,replace:n,state:s,preventScrollReset:o,relative:i,viewTransition:a}=t===void 0?{}:t,l=lk(),c=rs(),d=Rc(e,{relative:i});return v.useCallback(h=>{if(Tk(h,r)){h.preventDefault();let p=n!==void 0?n:Os(c)===Os(d);l(e,{replace:p,state:s,preventScrollReset:o,relative:i,viewTransition:a})}},[c,l,d,n,s,r,e,o,i,a])}const dm="react-router-scroll-positions";let Za={};function Zk(e){let{getKey:t,storageKey:r}=e===void 0?{}:e,{router:n}=r0(tc.UseScrollRestoration),{restoreScrollPosition:s,preventScrollReset:o}=Gk(Fd.UseScrollRestoration),{basename:i}=v.useContext(fn),a=rs(),l=wk(),c=bk();v.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),Yk(v.useCallback(()=>{if(c.state==="idle"){let d=(t?t(a,l):null)||a.key;Za[d]=window.scrollY}try{sessionStorage.setItem(r||dm,JSON.stringify(Za))}catch{}window.history.scrollRestoration="auto"},[r,t,c.state,a,l])),typeof document<"u"&&(v.useLayoutEffect(()=>{try{let d=sessionStorage.getItem(r||dm);d&&(Za=JSON.parse(d))}catch{}},[r]),v.useLayoutEffect(()=>{let d=t&&i!=="/"?(p,f)=>t(Ls({},p,{pathname:Or(p.pathname,i)||p.pathname}),f):t,h=n==null?void 0:n.enableScrollRestoration(Za,()=>window.scrollY,d);return()=>h&&h()},[n,i,t]),v.useLayoutEffect(()=>{if(s!==!1){if(typeof s=="number"){window.scrollTo(0,s);return}if(a.hash){let d=document.getElementById(decodeURIComponent(a.hash.slice(1)));if(d){d.scrollIntoView();return}}o!==!0&&window.scrollTo(0,0)}},[a,s,o]))}function Yk(e,t){let{capture:r}={};v.useEffect(()=>{let n=r!=null?{capture:r}:void 0;return window.addEventListener("pagehide",e,n),()=>{window.removeEventListener("pagehide",e,n)}},[e,r])}function qk(e,t){t===void 0&&(t={});let r=v.useContext(t0);r==null&&pe(!1);let{basename:n}=r0(tc.useViewTransitionState),s=Rc(e,{relative:t.relative});if(!r.isTransitioning)return!1;let o=Or(r.currentLocation.pathname,n)||r.currentLocation.pathname,i=Or(r.nextLocation.pathname,n)||r.nextLocation.pathname;return Xl(s.pathname,i)!=null||Xl(s.pathname,o)!=null}var fm=["light","dark"],Xk="(prefers-color-scheme: dark)",Jk=v.createContext(void 0),ej={setTheme:e=>{},themes:[]},tj=()=>{var e;return(e=v.useContext(Jk))!=null?e:ej};v.memo(({forcedTheme:e,storageKey:t,attribute:r,enableSystem:n,enableColorScheme:s,defaultTheme:o,value:i,attrs:a,nonce:l})=>{let c=o==="system",d=r==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(w=>`'${w}'`).join(",")})`};`:`var d=document.documentElement,n='${r}',s='setAttribute';`,h=s?fm.includes(o)&&o?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${o}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",p=(w,m=!1,b=!0)=>{let y=i?i[w]:w,g=m?w+"|| ''":`'${y}'`,x="";return s&&b&&!m&&fm.includes(w)&&(x+=`d.style.colorScheme = '${w}';`),r==="class"?m||y?x+=`c.add(${g})`:x+="null":y&&(x+=`d[s](n,${g})`),x},f=e?`!function(){${d}${p(e)}}()`:n?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${c})){var t='${Xk}',m=window.matchMedia(t);if(m.media!==t||m.matches){${p("dark")}}else{${p("light")}}}else if(e){${i?`var x=${JSON.stringify(i)};`:""}${p(i?"x[e]":"e",!0)}}${c?"":"else{"+p(o,!1,!1)+"}"}${h}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${i?`var x=${JSON.stringify(i)};`:""}${p(i?"x[e]":"e",!0)}}else{${p(o,!1,!1)};}${h}}catch(t){}}();`;return v.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:f}})});
68var rj=e=>{switch(e){case"success":return oj;case"info":return aj;case"warning":return ij;case"error":return lj;default:return null}},nj=Array(12).fill(0),sj=({visible:e,className:t})=>B.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},B.createElement("div",{className:"sonner-spinner"},nj.map((r,n)=>B.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),oj=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},B.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),ij=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},B.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),aj=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},B.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),lj=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},B.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),cj=B.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},B.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),B.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),uj=()=>{let[e,t]=B.useState(document.hidden);return B.useEffect(()=>{let r=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",r),()=>window.removeEventListener("visibilitychange",r)},[]),e},Id=1,dj=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:r,...n}=e,s=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Id++,o=this.toasts.find(a=>a.id===s),i=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),o?this.toasts=this.toasts.map(a=>a.id===s?(this.publish({...a,...e,id:s,title:r}),{...a,...e,id:s,dismissible:i,title:r}):a):this.addToast({title:r,...n,dismissible:i,id:s}),s},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(r=>r({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
68this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let r;t.loading!==void 0&&(r=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let n=e instanceof Promise?e:e(),s=r!==void 0,o,i=n.then(async l=>{if(o=["resolve",l],B.isValidElement(l))s=!1,this.create({id:r,type:"default",message:l});else if(hj(l)&&!l.ok){s=!1;let c=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,d=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:r,type:"error",message:c,description:d})}else if(t.success!==void 0){s=!1;let c=typeof t.success=="function"?await t.success(l):t.success,d=typeof t.description=="function"?await t.description(l):t.description;this.create({id:r,type:"success",message:c,description:d})}}).catch(async l=>{if(o=["reject",l],t.error!==void 0){s=!1;let c=typeof t.error=="function"?await t.error(l):t.error,d=typeof t.description=="function"?await t.description(l):t.description;this.create({id:r,type:"error",message:c,description:d})}}).finally(()=>{var l;s&&(this.dismiss(r),r=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,c)=>i.then(()=>o[0]==="reject"?c(o[1]):l(o[1])).catch(c));return typeof r!="string"&&typeof r!="number"?{unwrap:a}:Object.assign(r,{unwrap:a})},this.custom=(e,t)=>{let r=(t==null?void 0:t.id)||Id++;return this.create({jsx:e(r),id:r,...t}),r},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},St=new dj,fj=(e,t)=>{let r=(t==null?void 0:t.id)||Id++;return St.addToast({title:e,...t,id:r}),r},hj=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",pj=fj,mj=()=>St.toasts,gj=()=>St.getActiveToasts();Object.assign(pj,{success:St.success,info:St.info,warning:St.warning,error:St.error,custom:St.custom,message:St.message,promise:St.promise,dismiss:St.dismiss,loading:St.loading},{getHistory:mj,getToasts:gj});function vj(e,{insertAt:t}={}){if(typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t==="top"&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}vj(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
68left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
68:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
68--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
69`);function Ya(e){return e.label!==void 0}var yj=3,xj="32px",bj="16px",hm=4e3,wj=356,_j=14,kj=20,jj=200;function sr(...e){return e.filter(Boolean).join(" ")}function Sj(e){let[t,r]=e.split("-"),n=[];return t&&n.push(t),r&&n.push(r),n}var Ej=e=>{var t,r,n,s,o,i,a,l,c,d,h;let{invert:p,toast:f,unstyled:w,interacting:m,setHeights:b,visibleToasts:y,heights:g,index:x,toasts:k,expanded:S,removeToast:C,defaultRichColors:_,closeButton:N,style:M,cancelButtonStyle:A,actionButtonStyle:V,className:I="",descriptionClassName:J="",duration:F,position:oe,gap:te,loadingIcon:ne,expandByDefault:P,classNames:D,icons:U,closeButtonAriaLabel:re="Close toast",pauseWhenPageIsHidden:G}
vendor: 8,244 bytes, line 69
69=e,[ae,de]=B.useState(null),[we,Oe]=B.useState(null),[me,tr]=B.useState(!1),[yr,Br]=B.useState(!1),[xr,Ue]=B.useState(!1),[mt,ss]=B.useState(!1),[Xo,Ht]=B.useState(!1),[Jo,os]=B.useState(0),[zr,wa]=B.useState(0),is=B.useRef(f.duration||F||hm),_a=B.useRef(null),Ur=B.useRef(null),Kr=x===0,as=x+1<=y,gt=f.type,br=f.dismissible!==!1,wr=f.className||"",rr=f.descriptionClassName||"",ls=B.useMemo(()=>g.findIndex(ie=>ie.toastId===f.id)||0,[g,f.id]),Us=B.useMemo(()=>{var ie;return(ie=f.closeButton)!=null?ie:N},[f.closeButton,N]),ka=B.useMemo(()=>f.duration||F||hm,[f.duration,F]),Wt=B.useRef(0),Vr=B.useRef(0),ei=B.useRef(0),Hr=B.useRef(null),[Hc,ja]=oe.split("-"),cs=B.useMemo(()=>g.reduce((ie,Se,Ce)=>Ce>=ls?ie:ie+Se.height,0),[g,ls]),ti=uj(),ri=f.invert||p,us=gt==="loading";Vr.current=B.useMemo(()=>ls*te+cs,[ls,cs]),B.useEffect(()=>{is.current=ka},[ka]),B.useEffect(()=>{tr(!0)},[]),B.useEffect(()=>{let ie=Ur.current;if(ie){let Se=ie.getBoundingClientRect().height;return wa(Se),b(Ce=>[{toastId:f.id,height:Se,position:f.position},...Ce]),()=>b(Ce=>Ce.filter(lt=>lt.toastId!==f.id))}},[b,f.id]),B.useLayoutEffect(()=>{if(!me)return;let ie=Ur.current,Se=ie.style.height;ie.style.height="auto";let Ce=ie.getBoundingClientRect().height;ie.style.height=Se,wa(Ce),b(lt=>lt.find(Rt=>Rt.toastId===f.id)?lt.map(Rt=>Rt.toastId===f.id?{...Rt,height:Ce}:Rt):[{toastId:f.id,height:Ce,position:f.position},...lt])},[me,f.title,f.description,b,f.id]);let _r=B.useCallback(()=>{Br(!0),os(Vr.current),b(ie=>ie.filter(Se=>Se.toastId!==f.id)),setTimeout(()=>{C(f)},jj)},[f,C,b,Vr]);B.useEffect(()=>{if(f.promise&&gt==="loading"||f.duration===1/0||f.type==="loading")return;let ie;return S||m||G&&ti?(()=>{if(ei.current<Wt.current){let Se=new Date().getTime()-Wt.current;is.current=is.current-Se}ei.current=new Date().getTime()})():is.current!==1/0&&(Wt.current=new Date().getTime(),ie=setTimeout(()=>{var Se;(Se=f.onAutoClose)==null||Se.call(f,f),_r()},is.current)),()=>clearTimeout(ie)},[S,m,f,gt,G,ti,_r]),B.useEffect(()=>{f.delete&&_r()},[_r,f.delete]);function Sa(){var ie,Se,Ce;return U!=null&&U.loading?B.createElement("div",{className:sr(D==null?void 0:D.loader,(ie=f==null?void 0:f.classNames)==null?void 0:ie.loader,"sonner-loader"),"data-visible":gt==="loading"},U.loading):ne?B.createElement("div",{className:sr(D==null?void 0:D.loader,(Se=f==null?void 0:f.classNames)==null?void 0:Se.loader,"sonner-loader"),"data-visible":gt==="loading"},ne):B.createElement(sj,{className:sr(D==null?void 0:D.loader,(Ce=f==null?void 0:f.classNames)==null?void 0:Ce.loader),visible:gt==="loading"})}return B.createElement("li",{tabIndex:0,ref:Ur,className:sr(I,wr,D==null?void 0:D.toast,(t=f==null?void 0:f.classNames)==null?void 0:t.toast,D==null?void 0:D.default,D==null?void 0:D[gt],(r=f==null?void 0:f.classNames)==null?void 0:r[gt]),"data-sonner-toast":"","data-rich-colors":(n=f.richColors)!=null?n:_,"data-styled":!(f.jsx||f.unstyled||w),"data-mounted":me,"data-promise":!!f.promise,"data-swiped":Xo,"data-removed":yr,"data-visible":as,"data-y-position":Hc,"data-x-position":ja,"data-index":x,"data-front":Kr,"data-swiping":xr,"data-dismissible":br,"data-type":gt,"data-invert":ri,"data-swipe-out":mt,"data-swipe-direction":we,"data-expanded":!!(S||P&&me),style:{"--index":x,"--toasts-before":x,"--z-index":k.length-x,"--offset":`${yr?Jo:Vr.current}px`,"--initial-height":P?"auto":`${zr}px`,...M,...f.style},onDragEnd:()=>{Ue(!1),de(null),Hr.current=null},onPointerDown:ie=>{us||!br||(_a.current=new Date,os(Vr.current),ie.target.setPointerCapture(ie.pointerId),ie.target.tagName!=="BUTTON"&&(Ue(!0),Hr.current={x:ie.clientX,y:ie.clientY}))},onPointerUp:()=>{var ie,Se,Ce,lt;if(mt||!br)return;Hr.current=null;let Rt=Number(((ie=Ur.current)==null?void 0:ie.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),kr=Number(((Se=Ur.current)==null?void 0:Se.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),j=new Date().getTime()-((Ce=_a.current)==null?void 0:Ce.getTime()),E=ae==="x"?Rt:kr,T=Math.abs(E)/j;if(Math.abs(E)>=kj||T>.11){os(Vr.current),(lt=f.onDismiss)==null||lt.call(f,f),Oe(ae==="x"?Rt>0?"right":"left":kr>0?"down":"up"),_r(),ss(!0),Ht(!1);return}Ue(!1),de(null)},onPointerMove:ie=>{var Se,Ce,lt,Rt;if(!Hr.current||!br||((Se=window.getSelection())==null?void 0:Se.toString().length)>0)return;let kr=ie.clientY-Hr.current.y,j=ie.clientX-Hr.current.x,E=(Ce=e.swipeDirections)!=null?Ce:Sj(oe);!ae&&(Math.abs(j)>1||Math.abs(kr)>1)&&de(Math.abs(j)>Math.abs(kr)?"x":"y");let T={x:0,y:0};ae==="y"?(E.includes("top")||E.includes("bottom"))&&(E.includes("top")&&kr<0||E.includes("bottom")&&kr>0)&&(T.y=kr):ae==="x"&&(E.includes("left")||E.includes("right"))&&(E.includes("left")&&j<0||E.includes("right")&&j>0)&&(T.x=j),(Math.abs(T.x)>0||Math.abs(T.y)>0)&&Ht(!0),(lt=Ur.current)==null||lt.style.setProperty("--swipe-amount-x",`${T.x}px`),(Rt=Ur.current)==null||Rt.style.setProperty("--swipe-amount-y",`${T.y}px`)}},Us&&!f.jsx?B.createElement("button",{"aria-label":re,"data-disabled":us,"data-close-button":!0,onClick:us||!br?()=>{}:()=>{var ie;_r(),(ie=f.onDismiss)==null||ie.call(f,f)},className:sr(D==null?void 0:D.closeButton,(s=f==null?void 0:f.classNames)==null?void 0:s.closeButton)},(o=U==null?void 0:U.close)!=null?o:cj):null,f.jsx||v.isValidElement(f.title)?f.jsx?f.jsx:typeof f.title=="function"?f.title():f.title:B.createElement(B.Fragment,null,gt||f.icon||f.promise?B.createElement("div",{"data-icon":"",className:sr(D==null?void 0:D.icon,(i=f==null?void 0:f.classNames)==null?void 0:i.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||Sa():null,f.type!=="loading"?f.icon||(U==null?void 0:U[gt])||rj(gt):null):null,B.createElement("div",{"data-content":"",className:sr(D==null?void 0:D.content,(a=f==null?void 0:f.classNames)==null?void 0:a.content)},B.createElement("div",{"data-title":"",className:sr(D==null?void 0:D.title,(l=f==null?void 0:f.classNames)==null?void 0:l.title)},typeof f.title=="function"?f.title():f.title),f.description?B.createElement("div",{"data-description":"",className:sr(J,rr,D==null?void 0:D.description,(c=f==null?void 0:f.classNames)==null?void 0:c.description)},typeof f.description=="function"?f.description():f.description):null),v.isValidElement(f.cancel)?f.cancel:f.cancel&&Ya(f.cancel)?B.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||A,onClick:ie=>{var Se,Ce;Ya(f.cancel)&&br&&((Ce=(Se=f.cancel).onClick)==null||Ce.call(Se,ie),_r())},className:sr(D==null?void 0:D.cancelButton,(d=f==null?void 0:f.classNames)==null?void 0:d.cancelButton)},f.cancel.label):null,v.isValidElement(f.action)?f.action:f.action&&Ya(f.action)?B.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||V,onClick:ie=>{var Se,Ce;Ya(f.action)&&((Ce=(Se=f.action).onClick)==null||Ce.call(Se,ie),!ie.defaultPrevented&&_r())},className:sr(D==null?void 0:D.actionButton,(h=f==null?void 0:f.classNames)==null?void 0:h.actionButton)},f.action.label):null))};function pm(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function Cj(e,t){let r={};return[e,t].forEach((n,s)=>{let o=s===1,i=o?"--mobile-offset":"--offset",a=o?bj:xj;function l(c){["top","right","bottom","left"].forEach(d=>{r[`${i}-${d}`]=typeof c=="number"?`${c}px`:c})}typeof n=="number"||typeof n=="string"?l(n):typeof n=="object"?["top","right","bottom","left"].forEach(c=>{n[c]===void 0?r[`${i}-${c}`]=a:r[`${i}-${c}`]=typeof n[c]=="number"?`${n[c]}px`:n[c]}):l(a)}),r}var Nj=v.forwardRef(function(e,t){let{invert:r,position:n="bottom-right",hotkey:s=["altKey","KeyT"],expand:o,closeButton:i,className:a,offset:l,mobileOffset:c,theme:d="light",richColors:h,duration:p,style:f,visibleToasts:w=yj,toastOptions:m,dir:b=pm(),gap:y=_j,loadingIcon:g,icons:x,containerAriaLabel:k="Notifications",pauseWhenPageIsHidden:S}=e,[C,_]=B.useState([]),N=B.useMemo(()=>Array.from(new Set([n].concat(C.filter(G=>G.position).map(G=>G.position)))),[C,n]),[M,A]=B.useState([]),[V,I]=B.useState(!1),[J,F]=B.useState(!1),[oe,te]=B.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
69k":"light"),ne=B.useRef(null),P=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),D=B.useRef(null),U=B.useRef(!1),re=B.useCallback(G=>{_(ae=>{var de;return(de=ae.find(we=>we.id===G.id))!=null&&de.delete||St.dismiss(G.id),ae.filter(({id:we})=>we!==G.id)})},[]);return B.useEffect(()=>St.subscribe(G=>{if(G.dismiss){_(ae=>ae.map(de=>de.id===G.id?{...de,delete:!0}:de));return}setTimeout(()=>{eh.flushSync(()=>{_(ae=>{let de=ae.findIndex(we=>we.id===G.id);return de!==-1?[...ae.slice(0,de),{...ae[de],...G},...ae.slice(de+1)]:[G,...ae]})})})}),[]),B.useEffect(()=>{if(d!=="system"){te(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?te("dark"):te("light")),typeof window>"u")return;let G=window.matchMedia("(prefers-color-scheme: dark)");try{G.addEventListener("change",({matches:ae})=>{te(ae?"dark":"light")})}catch{G.addListener(({matches:de})=>{try{te(de?"dark":"light")}catch(we){console.error(we)}})}},[d]),B.useEffect(()=>{C.length<=1&&I(!1)},[C]),B.useEffect(()=>{let G=ae=>{var de,we;s.every(Oe=>ae[Oe]||ae.code===Oe)&&(I(!0),(de=ne.current)==null||de.focus()),ae.code==="Escape"&&(document.activeElement===ne.current||(we=ne.current)!=null&&we.contains(document.activeElement))&&I(!1)};return document.addEventListener("keydown",G),()=>document.removeEventListener("keydown",G)},[s]),B.useEffect(()=>{if(ne.current)return()=>{D.current&&(D.current.focus({preventScroll:!0}),D.current=null,U.current=!1)}},[ne.current]),B.createElement("section",{ref:t,"aria-label":`${k} ${P}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},N.map((G,ae)=>{var de;let[we,Oe]=G.split("-");return C.length?B.createElement("ol",{key:G,dir:b==="auto"?pm():b,tabIndex:-1,ref:ne,className:a,"data-sonner-toaster":!0,"data-theme":oe,"data-y-position":we,"data-lifted":V&&C.length>1&&!o,"data-x-position":Oe,style:{"--front-toast-height":`${((de=M[0])==null?void 0:de.height)||0}px`,"--width":`${wj}px`,"--gap":`${y}px`,...f,...Cj(l,c)},onBlur:me=>{U.current&&!me.currentTarget.contains(me.relatedTarget)&&(U.current=!1,D.current&&(D.current.focus({preventScroll:!0}),D.current=null))},onFocus:me=>{me.target instanceof HTMLElement&&me.target.dataset.dismissible==="false"||U.current||(U.current=!0,D.current=me.relatedTarget)},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>{J||I(!1)},onDragEnd:()=>I(!1),onPointerDown:me=>{me.target instanceof HTMLElement&&me.target.dataset.dismissible==="false"||F(!0)},onPointerUp:()=>F(!1)},C.filter(me=>!me.position&&ae===0||me.position===G).map((me,tr)=>{var yr,Br;return B.createElement(Ej,{key:me.id,icons:x,index:tr,toast:me,defaultRichColors:h,duration:(yr=m==null?void 0:m.duration)!=null?yr:p,className:m==null?void 0:m.className,descriptionClassName:m==null?void 0:m.descriptionClassName,invert:r,visibleToasts:w,closeButton:(Br=m==null?void 0:m.closeButton)!=null?Br:i,interacting:J,position:G,style:m==null?void 0:m.style,unstyled:m==null?void 0:m.unstyled,classNames:m==null?void 0:m.classNames,cancelButtonStyle:m==null?void 0:m.cancelButtonStyle,actionButtonStyle:m==null?void 0:m.actionButtonStyle,removeToast:re,toasts:C.filter(xr=>xr.position==me.position),heights:M.filter(xr=>xr.position==me.position),setHeights:A,expandByDefault:o,gap:y,loadingIcon:g,expanded:V,pauseWhenPageIsHidden:S,swipeDirections:e.swipeDirections})})):null}))});const Tj=({...e})=>{const{theme:t="system"}=tj();return u.jsx(Nj,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},Pj=1,Aj=1e6;let ju=0;function Rj(){return ju=(ju+1)%Number.MAX_SAFE_INTEGER,ju.toString()}const Su=new Map,mm=e=>{if(Su.has(e))return;const t=setTimeout(()=>{Su.delete(e),Oi({type:"REMOVE_TOAST",toastId:e})},Aj);Su.set(e,t)},Dj=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Pj)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(r=>r.id===t.toast.id?{...r,...t.toast}:r)};case"DISMISS_TOAST":{const{toastId:r}=t;
69return r?mm(r):e.toasts.forEach(n=>{mm(n.id)}),{...e,toasts:e.toasts.map(n=>n.id===r||r===void 0?{...n,open:!1}:n)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(r=>r.id!==t.toastId)}}},bl=[];let wl={toasts:[]};function Oi(e){wl=Dj(wl,e),bl.forEach(t=>{t(wl)})}function n0({...e}){const t=Rj(),r=s=>Oi({type:"UPDATE_TOAST",toast:{...s,id:t}}),n=()=>Oi({type:"DISMISS_TOAST",toastId:t});return Oi({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:s=>{s||n()}}}),{id:t,dismiss:n,update:r}}function Mj(){const[e,t]=v.useState(wl);return v.useEffect(()=>(bl.push(t),()=>{const r=bl.indexOf(t);r>-1&&bl.splice(r,1)}),[e]),{...e,toast:n0,dismiss:r=>Oi({type:"DISMISS_TOAST",toastId:r})}}function Ie(e,t,{checkForDefaultPrevented:r=!0}={}){return function(s){if(e==null||e(s),r===!1||!s.defaultPrevented)return t==null?void 0:t(s)}}function gm(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function s0(...e){return t=>{let r=!1;const n=e.map(s=>{const o=gm(s,t);return!r&&typeof o=="function"&&(r=!0),o});if(r)return()=>{for(let s=0;s<n.length;s++){const o=n[s];typeof o=="function"?o():gm(e[s],null)}}}}function wt(...e){return v.useCallback(s0(...e),e)}function Oj(e,t){const r=v.createContext(t),n=o=>{const{children:i,...a}=o,l=v.useMemo(()=>a,Object.values(a));return u.jsx(r.Provider,{value:l,children:i})};n.displayName=e+"Provider";function s(o){const i=v.useContext(r);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return[n,s]}function va(e,t=[]){let r=[];function n(o,i){const a=v.createContext(i),l=r.length;r=[...r,i];const c=h=>{var y;const{scope:p,children:f,...w}=h,m=((y=p==null?void 0:p[e])==null?void 0:y[l])||a,b=v.useMemo(()=>w,Object.values(w));return u.jsx(m.Provider,{value:b,children:f})};c.displayName=o+"Provider";function d(h,p){var m;const f=((m=p==null?void 0:p[e])==null?void 0:m[l])||a,w=v.useContext(f);if(w)return w;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${o}\``)}return[c,d]}const s=()=>{const o=r.map(i=>v.createContext(i));return function(a){const l=(a==null?void 0:a[e])||o;return v.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return s.scopeName=e,[n,Lj(s,...t)]}function Lj(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(o){const i=n.reduce((a,{useScope:l,scopeName:c})=>{const h=l(o)[`__scope${c}`];return{...a,...h}},{});return v.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function rc(e){const t=Fj(e),r=v.forwardRef((n,s)=>{const{children:o,...i}=n,a=v.Children.toArray(o),l=a.find($j);if(l){const c=l.props.children,d=a.map(h=>h===l?v.Children.count(c)>1?v.Children.only(null):v.isValidElement(c)?c.props.children:null:h);return u.jsx(t,{...i,ref:s,children:v.isValidElement(c)?v.cloneElement(c,void 0,d):null})}return u.jsx(t,{...i,ref:s,children:o})});return r.displayName=`${e}.Slot`,r}function Fj(e){const t=v.forwardRef((r,n)=>{const{children:s,...o}=r;if(v.isValidElement(s)){const i=zj(s),a=Bj(o,s.props);return s.type!==v.Fragment&&(a.ref=n?s0(n,i):i),v.cloneElement(s,a)}return v.Children.count(s)>1?v.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var o0=Symbol("radix.slottable");function Ij(e){const t=({children:r})=>u.jsx(u.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=o0,t}function $j(e){return v.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===o0}function Bj(e,t){const r={...t};for(const n in t){const s=e[n],o=t[n];/^on[A-Z]/.test(n)?s&&o?r[n]=(...a)=>{const l=o(...a);return s(...a),l}:s&&(r[n]=s):n==="style"?r[n]={...s,...o}:n==="className"&&(r[n]=[s,o].filter(Boolean).join(" "))}return{...e,...r}}function zj(e){var n,s;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function Uj(e){const t=e+"CollectionProvider",[r,n]=va(t),[s,o]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=m=>{const{scope:b,children:y}=m,g=B.useRef(null),x=B.useRef(new Map).current;return u.jsx(s,{scope:b,itemMap:x,collectionRef:g,children:y})};i.displayName=t;const a=e+"CollectionSlot",l=rc(a),c=B.forwardRef((m,b)=>{const{scope:y,children:g}=m,x=o(a,y),k=wt(b,x.collectionRef);return u.jsx(l,{ref:k,children:g})});c.displayName=a;const d=e+"CollectionItemSlot",h="data-radix-collection-item",p=rc(d),f=B.forwardRef((m,b)=>{const{scope:y,children:g,...x}=m,k=B.useRef(null),S=wt(b,k),C=o(d,y);return B.useEffect(()=>(C.itemMap.set(k,{ref:k,...x}
vendor: 9,174 bytes, line 69
69),()=>void C.itemMap.delete(k))),u.jsx(p,{[h]:"",ref:S,children:g})});f.displayName=d;function w(m){const b=o(e+"CollectionConsumer",m);return B.useCallback(()=>{const g=b.collectionRef.current;if(!g)return[];const x=Array.from(g.querySelectorAll(`[${h}]`));return Array.from(b.itemMap.values()).sort((C,_)=>x.indexOf(C.ref.current)-x.indexOf(_.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:i,Slot:c,ItemSlot:f},w,n]}var Kj=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ze=Kj.reduce((e,t)=>{const r=rc(`Primitive.${t}`),n=v.forwardRef((s,o)=>{const{asChild:i,...a}=s,l=i?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),u.jsx(l,{...a,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function i0(e,t){e&&Go.flushSync(()=>e.dispatchEvent(t))}function Lr(e){const t=v.useRef(e);return v.useEffect(()=>{t.current=e}),v.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}function Vj(e,t=globalThis==null?void 0:globalThis.document){const r=Lr(e);v.useEffect(()=>{const n=s=>{s.key==="Escape"&&r(s)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var Hj="DismissableLayer",$d="dismissableLayer.update",Wj="dismissableLayer.pointerDownOutside",Gj="dismissableLayer.focusOutside",vm,a0=v.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Dc=v.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:s,onFocusOutside:o,onInteractOutside:i,onDismiss:a,...l}=e,c=v.useContext(a0),[d,h]=v.useState(null),p=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,f]=v.useState({}),w=wt(t,_=>h(_)),m=Array.from(c.layers),[b]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),y=m.indexOf(b),g=d?m.indexOf(d):-1,x=c.layersWithOutsidePointerEventsDisabled.size>0,k=g>=y,S=Zj(_=>{const N=_.target,M=[...c.branches].some(A=>A.contains(N));!k||M||(s==null||s(_),i==null||i(_),_.defaultPrevented||a==null||a())},p),C=Yj(_=>{const N=_.target;[...c.branches].some(A=>A.contains(N))||(o==null||o(_),i==null||i(_),_.defaultPrevented||a==null||a())},p);return Vj(_=>{g===c.layers.size-1&&(n==null||n(_),!_.defaultPrevented&&a&&(_.preventDefault(),a()))},p),v.useEffect(()=>{if(d)return r&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(vm=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),ym(),()=>{r&&c.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=vm)}},[d,p,r,c]),v.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),ym())},[d,c]),v.useEffect(()=>{const _=()=>f({});return document.addEventListener($d,_),()=>document.removeEventListener($d,_)},[]),u.jsx(Ze.div,{...l,ref:w,style:{pointerEvents:x?k?"auto":"none":void 0,...e.style},onFocusCapture:Ie(e.onFocusCapture,C.onFocusCapture),onBlurCapture:Ie(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:Ie(e.onPointerDownCapture,S.onPointerDownCapture)})});Dc.displayName=Hj;var Qj="DismissableLayerBranch",l0=v.forwardRef((e,t)=>{const r=v.useContext(a0),n=v.useRef(null),s=wt(t,n);return v.useEffect(()=>{const o=n.current;if(o)return r.branches.add(o),()=>{r.branches.delete(o)}},[r.branches]),u.jsx(Ze.div,{...e,ref:s})});l0.displayName=Qj;function Zj(e,t=globalThis==null?void 0:globalThis.document){const r=Lr(e),n=v.useRef(!1),s=v.useRef(()=>{});return v.useEffect(()=>{const o=a=>{if(a.target&&!n.current){let l=function(){c0(Wj,r,c,{discrete:!0})};const c={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=l,t.addEventListener("click",s.current,{once:!0})):l()}else t.removeEventListener("click",s.current);n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",o),t.removeEventListener("click",s.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function Yj(e,t=globalThis==null?void 0:globalThis.document){const r=Lr(e),n=v.useRef(!1);return v.useEffect(()=>{const s=o=>{o.target&&!n.current&&c0(Gj,r,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function ym(){const e=new CustomEvent($d);document.dispatchEvent(e)}function c0(e,t,r,{discrete:n}){const s=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&s.addEventListener(e,t,{once:!0}),n?i0(s,o):s.dispatchEvent(o)}var qj=Dc,Xj=l0,an=globalThis!=null&&globalThis.document?v.useLayoutEffect:()=>{},Jj="Portal",dh=v.forwardRef((e,t)=>{var a;const{container:r,...n}=e,[s,o]=v.useState(!1);an(()=>o(!0),[]);const i=r||s&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return i?eh.createPortal(u.jsx(Ze.div,{...n,ref:t}),i):null});dh.displayName=Jj;function eS(e,t){return v.useReducer((r,n)=>t[r][n]??r,e)}var Qo=e=>{const{present:t,children:r}=e,n=tS(t),s=typeof r=="function"?r({present:n.isPresent}):v.Children.only(r),o=wt(n.ref,rS(s));return typeof r=="function"||n.isPresent?v.cloneElement(s,{ref:o}):null};Qo.displayName="Presence";function tS(e){const[t,r]=v.useState(),n=v.useRef(null),s=v.useRef(e),o=v.useRef("none"),i=e?"mounted":"unmounted",[a,l]=eS(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return v.useEffect(()=>{const c=qa(n.current);o.current=a==="mounted"?c:"none"},[a]),an(()=>{const c=n.current,d=s.current;if(d!==e){const p=o.current,f=qa(c);e?l("MOUNT"):f==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(d&&p!==f?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,l]),an(()=>{if(t){let c;const d=t.ownerDocument.defaultView??window,h=f=>{const m=qa(n.current).includes(f.animationName);if(f.target===t&&m&&(l("ANIMATION_END"),!s.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",c=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},p=f=>{f.target===t&&(o.current=qa(n.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{d.clearTimeout(c),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:v.useCallback(c=>{n.current=c?getComputedStyle(c):null,r(c)},[])}}function qa(e){return(e==null?void 0:e.animationName)||"none"}function rS(e){var n,s;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var nS=cf[" useInsertionEffect ".trim().toString()]||an;function u0({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){const[s,o,i]=sS({defaultProp:t,onChange:r}),a=e!==void 0,l=a?e:s;{const d=v.useRef(e!==void 0);v.useEffect(()=>{const h=d.current;h!==a&&console.warn(`${n} is changing from ${h?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. 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.`),d.current=a},[a,n])}const c=v.useCallback(d=>{var h;if(a){const p=oS(d)?d(e):d;p!==e&&((h=i.current)==null||h.call(i,p))}else o(d)},[a,e,o,i]);return[l,c]}function sS({defaultProp:e,onChange:t}){const[r,n]=v.useState(e),s=v.useRef(r),o=v.useRef(t);return nS(()=>{o.current=t},[t]),v.useEffect(()=>{var i;s.current!==r&&((i=o.current)==null||i.call(o,r),s.current=r)},[r,s]),[r,n,o]}function oS(e){return typeof e=="function"}var iS=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),aS="VisuallyHidden",ya=v.forwardRef((e,t)=>u.jsx(Ze.span,{...e,ref:t,style:{...iS,...e.style}}));ya.displayName=aS;var lS=ya,fh="ToastProvider",[hh,cS,uS]=Uj("Toast"),[d0,_3]=va("Toast",[uS]),[dS,Mc]=d0(fh),f0=e=>{const{__scopeToast:t,label:r="Notification",duration:n=5e3,swipeDirection:s="right",swipeThreshold:o=50,children:i}=e,[a,l]=v.useState(null),[c,d]=v.useState(0),h=v.useRef(!1),p=v.useRef(!1);return r.trim()||console.error(`Invalid prop \`label\` supplied to \`${fh}\`. Expected non-empty \`string\`.`),u.jsx(hh.Provider,{scope:t,children:u.jsx(dS,{scope:t,label:r,duration:n,swipeDirection:s,swipeThreshold:o,toastCount:c,viewport:a,onViewportChange:l,onToastAdd:v.useCallback(()=>d(f=>f+1),[]),onToastRemove:v.useCallback(()=>d(f=>f-1),[]),isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:p,children:i})})};f0.displayName=fh;var h0="ToastViewport",fS=["F8"],Bd="toast.viewportPause",zd="toast.viewportResume",p0=v.forwardRef((e,t)=>
69{const{__scopeToast:r,hotkey:n=fS,label:s="Notifications ({hotkey})",...o}=e,i=Mc(h0,r),a=cS(r),l=v.useRef(null),c=v.useRef(null),d=v.useRef(null),h=v.useRef(null),p=wt(t,h,i.onViewportChange),f=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),w=i.toastCount>0;v.useEffect(()=>{const b=y=>{var x;n.length!==0&&n.every(k=>y[k]||y.code===k)&&((x=h.current)==null||x.focus())};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[n]),v.useEffect(()=>{const b=l.current,y=h.current;if(w&&b&&y){const g=()=>{if(!i.isClosePausedRef.current){const C=new CustomEvent(Bd);y.dispatchEvent(C),i.isClosePausedRef.current=!0}},x=()=>{if(i.isClosePausedRef.current){const C=new CustomEvent(zd);y.dispatchEvent(C),i.isClosePausedRef.current=!1}},k=C=>{!b.contains(C.relatedTarget)&&x()},S=()=>{b.contains(document.activeElement)||x()};return b.addEventListener("focusin",g),b.addEventListener("focusout",k),b.addEventListener("pointermove",g),b.addEventListener("pointerleave",S),window.addEventListener("blur",g),window.addEventListener("focus",x),()=>{b.removeEventListener("focusin",g),b.removeEventListener("focusout",k),b.removeEventListener("pointermove",g),b.removeEventListener("pointerleave",S),window.removeEventListener("blur",g),window.removeEventListener("focus",x)}}},[w,i.isClosePausedRef]);const m=v.useCallback(({tabbingDirection:b})=>{const g=a().map(x=>{const k=x.ref.current,S=[k,...SS(k)];return b==="forwards"?S:S.reverse()});return(b==="forwards"?g.reverse():g).flat()},[a]);return v.useEffect(()=>{const b=h.current;if(b){const y=g=>{var S,C,_;const x=g.altKey||g.ctrlKey||g.metaKey;if(g.key==="Tab"&&!x){const N=document.activeElement,M=g.shiftKey;if(g.target===b&&M){(S=c.current)==null||S.focus();return}const I=m({tabbingDirection:M?"backwards":"forwards"}),J=I.findIndex(F=>F===N);Eu(I.slice(J+1))?g.preventDefault():M?(C=c.current)==null||C.focus():(_=d.current)==null||_.focus()}};return b.addEventListener("keydown",y),()=>b.removeEventListener("keydown",y)}},[a,m]),u.jsxs(Xj,{ref:l,role:"region","aria-label":s.replace("{hotkey}",f),tabIndex:-1,style:{pointerEvents:w?void 0:"none"},children:[w&&u.jsx(Ud,{ref:c,onFocusFromOutsideViewport:()=>{const b=m({tabbingDirection:"forwards"});Eu(b)}}),u.jsx(hh.Slot,{scope:r,children:u.jsx(Ze.ol,{tabIndex:-1,...o,ref:p})}),w&&u.jsx(Ud,{ref:d,onFocusFromOutsideViewport:()=>{const b=m({tabbingDirection:"backwards"});Eu(b)}})]})});p0.displayName=h0;var m0="ToastFocusProxy",Ud=v.forwardRef((e,t)=>{const{__scopeToast:r,onFocusFromOutsideViewport:n,...s}=e,o=Mc(m0,r);return u.jsx(ya,{"aria-hidden":!0,tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:i=>{var c;const a=i.relatedTarget;!((c=o.viewport)!=null&&c.contains(a))&&n()}})});Ud.displayName=m0;var xa="Toast",hS="toast.swipeStart",pS="toast.swipeMove",mS="toast.swipeCancel",gS="toast.swipeEnd",g0=v.forwardRef((e,t)=>{const{forceMount:r,open:n,defaultOpen:s,onOpenChange:o,...i}=e,[a,l]=u0({prop:n,defaultProp:s??!0,onChange:o,caller:xa});return u.jsx(Qo,{present:r||a,children:u.jsx(xS,{open:a,...i,ref:t,onClose:()=>l(!1),onPause:Lr(e.onPause),onResume:Lr(e.onResume),onSwipeStart:Ie(e.onSwipeStart,c=>{c.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Ie(e.onSwipeMove,c=>{const{x:d,y:h}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","move"),c.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${h}px`)}),onSwipeCancel:Ie(e.onSwipeCancel,c=>{c.currentTarget.setAttribute("data-swipe","cancel"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Ie(e.onSwipeEnd,c=>{const{x:d,y:h}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","end"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${h}px`),l(!1)})})})});g0.displayName=xa;var[vS,yS]=d0(xa,{onClose(){}}),xS=v.forwardRef((e,t)=>
69{const{__scopeToast:r,type:n="foreground",duration:s,open:o,onClose:i,onEscapeKeyDown:a,onPause:l,onResume:c,onSwipeStart:d,onSwipeMove:h,onSwipeCancel:p,onSwipeEnd:f,...w}=e,m=Mc(xa,r),[b,y]=v.useState(null),g=wt(t,F=>y(F)),x=v.useRef(null),k=v.useRef(null),S=s||m.duration,C=v.useRef(0),_=v.useRef(S),N=v.useRef(0),{onToastAdd:M,onToastRemove:A}=m,V=Lr(()=>{var oe;(b==null?void 0:b.contains(document.activeElement))&&((oe=m.viewport)==null||oe.focus()),i()}),I=v.useCallback(F=>{!F||F===1/0||(window.clearTimeout(N.current),C.current=new Date().getTime(),N.current=window.setTimeout(V,F))},[V]);v.useEffect(()=>{const F=m.viewport;if(F){const oe=()=>{I(_.current),c==null||c()},te=()=>{const ne=new Date().getTime()-C.current;_.current=_.current-ne,window.clearTimeout(N.current),l==null||l()};return F.addEventListener(Bd,te),F.addEventListener(zd,oe),()=>{F.removeEventListener(Bd,te),F.removeEventListener(zd,oe)}}},[m.viewport,S,l,c,I]),v.useEffect(()=>{o&&!m.isClosePausedRef.current&&I(S)},[o,S,m.isClosePausedRef,I]),v.useEffect(()=>(M(),()=>A()),[M,A]);const J=v.useMemo(()=>b?k0(b):null,[b]);return m.viewport?u.jsxs(u.Fragment,{children:[J&&u.jsx(bS,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0,children:J}),u.jsx(vS,{scope:r,onClose:V,children:Go.createPortal(u.jsx(hh.ItemSlot,{scope:r,children:u.jsx(qj,{asChild:!0,onEscapeKeyDown:Ie(a,()=>{m.isFocusedToastEscapeKeyDownRef.current||V(),m.isFocusedToastEscapeKeyDownRef.current=!1}),children:u.jsx(Ze.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":m.swipeDirection,...w,ref:g,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Ie(e.onKeyDown,F=>{F.key==="Escape"&&(a==null||a(F.nativeEvent),F.nativeEvent.defaultPrevented||(m.isFocusedToastEscapeKeyDownRef.current=!0,V()))}),onPointerDown:Ie(e.onPointerDown,F=>{F.button===0&&(x.current={x:F.clientX,y:F.clientY})}),onPointerMove:Ie(e.onPointerMove,F=>{if(!x.current)return;const oe=F.clientX-x.current.x,te=F.clientY-x.current.y,ne=!!k.current,P=["left","right"].includes(m.swipeDirection),D=["left","up"].includes(m.swipeDirection)?Math.min:Math.max,U=P?D(0,oe):0,re=P?0:D(0,te),G=F.pointerType==="touch"?10:2,ae={x:U,y:re},de={originalEvent:F,delta:ae};ne?(k.current=ae,Xa(pS,h,de,{discrete:!1})):xm(ae,m.swipeDirection,G)?(k.current=ae,Xa(hS,d,de,{discrete:!1}),F.target.setPointerCapture(F.pointerId)):(Math.abs(oe)>G||Math.abs(te)>G)&&(x.current=null)}),onPointerUp:Ie(e.onPointerUp,F=>{const oe=k.current,te=F.target;if(te.hasPointerCapture(F.pointerId)&&te.releasePointerCapture(F.pointerId),k.current=null,x.current=null,oe){const ne=F.currentTarget,P={originalEvent:F,delta:oe};xm(oe,m.swipeDirection,m.swipeThreshold)?Xa(gS,f,P,{discrete:!0}):Xa(mS,p,P,{discrete:!0}),ne.addEventListener("click",D=>D.preventDefault(),{once:!0})}})})})}),m.viewport)})]}):null}),bS=e=>{const{__scopeToast:t,children:r,...n}=e,s=Mc(xa,t),[o,i]=v.useState(!1),[a,l]=v.useState(!1);return kS(()=>i(!0)),v.useEffect(()=>{const c=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(c)},[]),a?null:u.jsx(dh,{asChild:!0,children:u.jsx(ya,{...n,children:o&&u.jsxs(u.Fragment,{children:[s.label," ",r]})})})},wS="ToastTitle",v0=v.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e;return u.jsx(Ze.div,{...n,ref:t})});v0.displayName=wS;var _S="ToastDescription",y0=v.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e;return u.jsx(Ze.div,{...n,ref:t})});y0.displayName=_S;var x0="ToastAction",b0=v.forwardRef((e,t)=>{const{altText:r,...n}=e;return r.trim()?u.jsx(_0,{altText:r,asChild:!0,children:u.jsx(ph,{...n,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${x0}\`. Expected non-empty \`string\`.`),null)});b0.displayName=x0;var w0="ToastClose",ph=v.forwardRef((e,t)=>{const{__scopeToast:r,...n}=e,s=yS(w0,r);return u.jsx(_0,{asChild:!0,children:u.jsx(Ze.button,{type:"button",...n,ref:t,onClick:Ie(e.onClick,s.onClose)})})});ph.displayName=w0;var _0=v.forwardRef((e,t)=>{const{__scopeToast:r,altText:n,...s}=e;return u.jsx(Ze.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0,...s,ref:t})});function k0(e){const t=[];
vendor: 6,406 bytes, lines 69-129
69return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),jS(n)){const s=n.ariaHidden||n.hidden||n.style.display==="none",o=n.dataset.radixToastAnnounceExclude==="";if(!s)if(o){const i=n.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...k0(n))}}),t}function Xa(e,t,r,{discrete:n}){const s=r.originalEvent.currentTarget,o=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&s.addEventListener(e,t,{once:!0}),n?i0(s,o):s.dispatchEvent(o)}var xm=(e,t,r=0)=>{const n=Math.abs(e.x),s=Math.abs(e.y),o=n>s;return t==="left"||t==="right"?o&&n>r:!o&&s>r};function kS(e=()=>{}){const t=Lr(e);an(()=>{let r=0,n=0;return r=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(n)}},[t])}function jS(e){return e.nodeType===e.ELEMENT_NODE}function SS(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const s=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||s?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Eu(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}var ES=f0,j0=p0,S0=g0,E0=v0,C0=y0,N0=b0,T0=ph;function P0(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(r=P0(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function A0(){for(var e,t,r=0,n="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=P0(e))&&(n&&(n+=" "),n+=t);return n}const bm=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,wm=A0,R0=(e,t)=>r=>{var n;if((t==null?void 0:t.variants)==null)return wm(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:s,defaultVariants:o}=t,i=Object.keys(s).map(c=>{const d=r==null?void 0:r[c],h=o==null?void 0:o[c];if(d===null)return null;const p=bm(d)||bm(h);return s[c][p]}),a=r&&Object.entries(r).reduce((c,d)=>{let[h,p]=d;return p===void 0||(c[h]=p),c},{}),l=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((c,d)=>{let{class:h,className:p,...f}=d;return Object.entries(f).every(w=>{let[m,b]=w;return Array.isArray(b)?b.includes({...o,...a}[m]):{...o,...a}[m]===b})?[...c,h,p]:c},[]);return wm(e,i,l,r==null?void 0:r.class,r==null?void 0:r.className)};/**
70 * @license lucide-react v0.462.0 - ISC
71 *
72 * This source code is licensed under the ISC license.
73 * See the LICENSE file in the root directory of this source tree.
74 */const CS=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),D0=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim();/**
75 * @license lucide-react v0.462.0 - ISC
76 *
77 * This source code is licensed under the ISC license.
78 * See the LICENSE file in the root directory of this source tree.
79 */var NS={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"};/**
80 * @license lucide-react v0.462.0 - ISC
81 *
82 * This source code is licensed under the ISC license.
83 * See the LICENSE file in the root directory of this source tree.
84 */const TS=v.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:s="",children:o,iconNode:i,...a},l)=>v.createElement("svg",{ref:l,...NS,width:t,height:t,stroke:e,strokeWidth:n?Number(r)*24/Number(t):r,className:D0("lucide",s),...a},[...i.map(([c,d])=>v.createElement(c,d)),...Array.isArray(o)?o:[o]]));/**
85 * @license lucide-react v0.462.0 - ISC
86 *
87 * This source code is licensed under the ISC license.
88 * See the LICENSE file in the root directory of this source tree.
89 */const ns=(e,t)=>{const r=v.forwardRef(({className:n,...s},o)=>v.createElement(TS,{ref:o,iconNode:t,className:D0(`lucide-${CS(e)}`,n),...s}));return r.displayName=`${e}`,r};/**
90 * @license lucide-react v0.462.0 - ISC
91 *
92 * This source code is licensed under the ISC license.
93 * See the LICENSE file in the root directory of this source tree.
94 */const _m=ns("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
95 * @license lucide-react v0.462.0 - ISC
96 *
97 * This source code is licensed under the ISC license.
98 * See the LICENSE file in the root directory of this source tree.
99 */const PS=ns("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
100 * @license lucide-react v0.462.0 - ISC
101 *
102 * This source code is licensed under the ISC license.
103 * See the LICENSE file in the root directory of this source tree.
104 */const AS=ns("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
105 * @license lucide-react v0.462.0 - ISC
106 *
107 * This source code is licensed under the ISC license.
108 * See the LICENSE file in the root directory of this source tree.
109 */const RS=ns("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/**
110 * @license lucide-react v0.462.0 - ISC
111 *
112 * This source code is licensed under the ISC license.
113 * See the LICENSE file in the root directory of this source tree.
114 */const DS=ns("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
115 * @license lucide-react v0.462.0 - ISC
116 *
117 * This source code is licensed under the ISC license.
118 * See the LICENSE file in the root directory of this source tree.
119 */const km=ns("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
120 * @license lucide-react v0.462.0 - ISC
121 *
122 * This source code is licensed under the ISC license.
123 * See the LICENSE file in the root directory of this source tree.
124 */const MS=ns("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
125 * @license lucide-react v0.462.0 - ISC
126 *
127 * This source code is licensed under the ISC license.
128 * See the LICENSE file in the root directory of this source tree.
129 */const Oc=ns("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 12,270 bytes, line 129
129],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),mh="-",OS=e=>{const t=FS(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{const a=i.split(mh);return a[0]===""&&a.length!==1&&a.shift(),M0(a,t)||LS(i)},getConflictingClassGroupIds:(i,a)=>{const l=r[i]||[];return a&&n[i]?[...l,...n[i]]:l}}},M0=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),s=n?M0(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;const o=e.join(mh);return(i=t.validators.find(({validator:a})=>a(o)))==null?void 0:i.classGroupId},jm=/^\[(.+)\]$/,LS=e=>{if(jm.test(e)){const t=jm.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},FS=e=>{const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return $S(Object.entries(e.classGroups),r).forEach(([o,i])=>{Kd(i,n,o,t)}),n},Kd=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){const o=s===""?t:Sm(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(IS(s)){Kd(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,i])=>{Kd(i,Sm(t,o),r,n)})})},Sm=(e,t)=>{let r=e;return t.split(mh).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},IS=e=>e.isThemeGetter,$S=(e,t)=>t?e.map(([r,n])=>{const s=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,a])=>[t+i,a])):o);return[r,s]}):e,BS=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const s=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=n.get(o))!==void 0)return s(o,i),i},set(o,i){r.has(o)?r.set(o,i):s(o,i)}}},O0="!",zS=e=>{const{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],o=t.length,i=a=>{const l=[];let c=0,d=0,h;for(let b=0;b<a.length;b++){let y=a[b];if(c===0){if(y===s&&(n||a.slice(b,b+o)===t)){l.push(a.slice(d,b)),d=b+o;continue}if(y==="/"){h=b;continue}}y==="["?c++:y==="]"&&c--}const p=l.length===0?a:a.substring(d),f=p.startsWith(O0),w=f?p.substring(1):p,m=h&&h>d?h-d:void 0;return{modifiers:l,hasImportantModifier:f,baseClassName:w,maybePostfixModifierPosition:m}};return r?a=>r({className:a,parseClassName:i}):i},US=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},KS=e=>({cache:BS(e.cacheSize),parseClassName:zS(e),...OS(e)}),VS=/\s+/,HS=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,o=[],i=e.trim().split(VS);let a="";for(let l=i.length-1;l>=0;l-=1){const c=i[l],{modifiers:d,hasImportantModifier:h,baseClassName:p,maybePostfixModifierPosition:f}=r(c);let w=!!f,m=n(w?p.substring(0,f):p);if(!m){if(!w){a=c+(a.length>0?" "+a:a);continue}if(m=n(p),!m){a=c+(a.length>0?" "+a:a);continue}w=!1}const b=US(d).join(":"),y=h?b+O0:b,g=y+m;if(o.includes(g))continue;o.push(g);const x=s(m,w);for(let k=0;k<x.length;++k){const S=x[k];o.push(y+S)}a=c+(a.length>0?" "+a:a)}return a};function WS(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=L0(t))&&(n&&(n+=" "),n+=r);return n}const L0=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=L0(e[n]))&&(r&&(r+=" "),r+=t);return r};function GS(e,...t){let r,n,s,o=i;function i(l){const c=t.reduce((d,h)=>h(d),e());return r=KS(c),n=r.cache.get,s=r.cache.set,o=a,a(l)}function a(l){const c=n(l);if(c)return c;const d=HS(l,r);return s(l,d),d}return function(){return o(WS.apply(null,arguments))}}const Re=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},F0=/^\[(?:([a-z-]+):)?(.+)\]$/i,QS=/^\d+\/\d+$/,ZS=new Set(["px","full","screen"]),YS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,qS=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,XS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,JS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,e2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Gr=e=>vo(e)||ZS.has(e)||QS.test(e),mn=e=>Zo(e,"length",l2),vo=e=>!!e&&!Number.isNaN(Number(e)),Cu=e=>Zo(e,"number",vo),vi=e=>!!e&&Number.isInteger(Number(e)),t2=e=>e.endsWith("%")&&vo(e.slice(0,-1)),he=e=>F0.test(e),gn=e=>YS.test(e),r2=new Set(["length","size","percentage"]),n2=e=>Zo(e,r2,I0),s2=e=>Zo(e,"position",I0),o2=new Set(["image","url"]),i2=e=>Zo(e,o2,u2),a2=e=>Zo(e,"",c2),yi=()=>!0,Zo=(e,t,r)=>{const n=F0.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},l2=e=>qS.test(e)&&!XS.test(e),I0=()=>!1,c2=e=>JS.test(e),u2=e=>e2.test(e),d2=()=>{const e=Re("colors"),t=Re("spacing"),r=Re("blur"),n=Re("brightness"),s=Re("borderColor"),o=Re("borderRadius"),i=Re("borderSpacing"),a=Re("borderWidth"),l=Re("contrast"),c=Re("grayscale"),d=Re("hueRotate"),h=Re("invert"),p=Re("gap"),f=Re("gradientColorStops"),w=Re("gradientColorStopPositions"),m=Re("inset"),b=Re("margin"),y=Re("opacity"),g=Re("padding"),x=Re("saturate"),k=Re("scale"),S=Re("sepia"),C=Re("skew"),_=Re("space"),N=Re("translate"),M=()=>["auto","contain","none"],A=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto",he,t],I=()=>[he,t],J=()=>["",Gr,mn],F=()=>["auto",vo,he],oe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],te=()=>["solid","dashed","dotted","double","none"],ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],P=()=>["start","end","center","between","around","evenly","stretch"],D=()=>["","0",he],U=()=>["auto","avoid","all","avoid-page","page","left","right","column"],re=()=>[vo,he];return{cacheSize:500,separator:":",theme:{colors:[yi],spacing:[Gr,mn],blur:["none","",gn,he],brightness:re(),borderColor:[e],borderRadius:["none","","full",gn,he],borderSpacing:I(),borderWidth:J(),contrast:re(),grayscale:D(),hueRotate:re(),invert:D(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[t2,mn],inset:V(),margin:V(),opacity:re(),padding:I(),saturate:re(),scale:re(),sepia:D(),skew:re(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",he]}],container:["container"],columns:[{columns:[gn]}],"break-after":[{"break-after":U()}],"break-before":[{"break-before":U()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...oe(),he]}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",vi,he]}],basis:[{basis:V()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",he]}],grow:[{grow:D()}],shrink:[{shrink:D()}],order:[{order:["first","last","none",vi,he]}],"grid-cols":[{"grid-cols":[yi]}],"col-start-end":[{col:["auto",{span:["full",vi,he]},he]}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":[yi]}],"row-start-end":[{row:["auto",{span:[vi,he]},he]}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",he]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",he]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...P()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...P(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...P(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[_]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[_]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",he,t]}],"min-w":[{"min-w":[he,t,"min","max","fit"]}],"max-w":[{"max-w":[he,t,"none","full","min","max","fit","prose",{screen:[gn]},gn]}],h:[{h:[he,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[he,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[he,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[he,t,"auto","min","max","fit"]}],"font-size":[{text:["base",gn,mn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Cu]}],"font-family":[{font:[yi]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",he]}],"line-clamp":[{"line-clamp":["none",vo,Cu]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Gr,he]}],"list-image":[{"list-image":["none",he]}],"list-style-type":[{list:["none","disc","decimal",he]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...te(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Gr,mn]}],"underline-offset":[{"underline-offset":["auto",Gr,he]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",he]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",he]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...oe(),s2]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",n2]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},i2]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}
129],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...te(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}
vendor: 4,473 bytes, line 129
129],"divide-style":[{divide:te()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...te()]}],"outline-offset":[{"outline-offset":[Gr,he]}],"outline-w":[{outline:[Gr,mn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[Gr,mn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",gn,a2]}],"shadow-color":[{shadow:[yi]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...ne(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ne()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",gn,he]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[h]}],saturate:[{saturate:[x]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",he]}],duration:[{duration:re()}],ease:[{ease:["linear","in","out","in-out",he]}],delay:[{delay:re()}],animate:[{animate:["none","spin","ping","pulse","bounce",he]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[vi,he]}],"translate-x":[{"translate-x":[N]}],"translate-y":[{"translate-y":[N]}],"skew-x":[{"skew-x":[C]}],"skew-y":[{"skew-y":[C]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",he]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",he]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",he]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Gr,mn,Cu]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","
129none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},f2=GS(d2);function At(...e){return f2(A0(e))}const h2=ES,$0=v.forwardRef(({className:e,...t},r)=>u.jsx(j0,{ref:r,className:At("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));$0.displayName=j0.displayName;const p2=R0("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),B0=v.forwardRef(({className:e,variant:t,...r},n)=>u.jsx(S0,{ref:n,className:At(p2({variant:t}),e),...r}));B0.displayName=S0.displayName;const m2=v.forwardRef(({className:e,...t},r)=>u.jsx(N0,{ref:r,className:At("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));m2.displayName=N0.displayName;const z0=v.forwardRef(({className:e,...t},r)=>u.jsx(T0,{ref:r,className:At("absolute right-2 top-2 rounded-md p-1 text-foreground
vendor: 3,518 bytes, line 129
129/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:u.jsx(Oc,{className:"h-4 w-4"})}));z0.displayName=T0.displayName;const U0=v.forwardRef(({className:e,...t},r)=>u.jsx(E0,{ref:r,className:At("text-sm font-semibold",e),...t}));U0.displayName=E0.displayName;const K0=v.forwardRef(({className:e,...t},r)=>u.jsx(C0,{ref:r,className:At("text-sm opacity-90",e),...t}));K0.displayName=C0.displayName;function g2(){const{toasts:e}=Mj();return u.jsxs(h2,{children:[e.map(function({id:t,title:r,description:n,action:s,...o}){return u.jsxs(B0,{...o,children:[u.jsxs("div",{className:"grid gap-1",children:[r&&u.jsx(U0,{children:r}),n&&u.jsx(K0,{children:n})]}),s,u.jsx(z0,{})]},t)}),u.jsx($0,{})]})}var v2=cf[" useId ".trim().toString()]||(()=>{}),y2=0;function Nu(e){const[t,r]=v.useState(v2());return an(()=>{e||r(n=>n??String(y2++))},[e]),e||(t?`radix-${t}`:"")}const x2=["top","right","bottom","left"],Wn=Math.min,Ot=Math.max,nc=Math.round,Ja=Math.floor,Gn=e=>({x:e,y:e}),b2={left:"right",right:"left",bottom:"top",top:"bottom"},w2={start:"end",end:"start"};function Vd(e,t,r){return Ot(e,Wn(t,r))}function ln(e,t){return typeof e=="function"?e(t):e}function cn(e){return e.split("-")[0]}function Yo(e){return e.split("-")[1]}function gh(e){return e==="x"?"y":"x"}function vh(e){return e==="y"?"height":"width"}function Qn(e){return["top","bottom"].includes(cn(e))?"y":"x"}function yh(e){return gh(Qn(e))}function _2(e,t,r){r===void 0&&(r=!1);const n=Yo(e),s=yh(e),o=vh(s);let i=s==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=sc(i)),[i,sc(i)]}function k2(e){const t=sc(e);return[Hd(e),t,Hd(t)]}function Hd(e){return e.replace(/start|end/g,t=>w2[t])}function j2(e,t,r){const n=["left","right"],s=["right","left"],o=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return r?t?s:n:t?n:s;case"left":case"right":return t?o:i;default:return[]}}function S2(e,t,r,n){const s=Yo(e);let o=j2(cn(e),r==="start",n);return s&&(o=o.map(i=>i+"-"+s),t&&(o=o.concat(o.map(Hd)))),o}function sc(e){return e.replace(/left|right|bottom|top/g,t=>b2[t])}function E2(e){return{top:0,right:0,bottom:0,left:0,...e}}function V0(e){return typeof e!="number"?E2(e):{top:e,right:e,bottom:e,left:e}}function oc(e){const{x:t,y:r,width:n,height:s}=e;return{width:n,height:s,top:r,left:t,right:t+n,bottom:r+s,x:t,y:r}}function Em(e,t,r){let{reference:n,floating:s}=e;const o=Qn(t),i=yh(t),a=vh(i),l=cn(t),c=o==="y",d=n.x+n.width/2-s.width/2,h=n.y+n.height/2-s.height/2,p=n[a]/2-s[a]/2;let f;switch(l){case"top":f={x:d,y:n.y-s.height};break;case"bottom":f={x:d,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:h};break;case"left":f={x:n.x-s.width,y:h};break;default:f={x:n.x,y:n.y}}switch(Yo(t)){case"start":f[i]-=p*(r&&c?-1:1);break;case"end":f[i]+=p*(r&&c?-1:1);break}return f}const C2=async(e,t,r)=>{const{placement:n="bottom",strategy:s="absolute",middleware:o=[],platform:i}=r,a=o.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:s}),{x:d,y:h}=Em(c,n,l),p=n,f={},w=0;for(let m=0;m<a.length;m++){const{name:b,fn:y}=a[m],{x:g,y:x,data:k,reset:S}=await y({x:d,y:h,initialPlacement:n,placement:p,strategy:s,middlewareData:f,re
vendor: 9,402 bytes, line 129
129cts:c,platform:i,elements:{reference:e,floating:t}});d=g??d,h=x??h,f={...f,[b]:{...f[b],...k}},S&&w<=50&&(w++,typeof S=="object"&&(S.placement&&(p=S.placement),S.rects&&(c=S.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):S.rects),{x:d,y:h}=Em(c,p,l)),m=-1)}return{x:d,y:h,placement:p,strategy:s,middlewareData:f}};async function na(e,t){var r;t===void 0&&(t={});const{x:n,y:s,platform:o,rects:i,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:p=!1,padding:f=0}=ln(t,e),w=V0(f),b=a[p?h==="floating"?"reference":"floating":h],y=oc(await o.getClippingRect({element:(r=await(o.isElement==null?void 0:o.isElement(b)))==null||r?b:b.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),g=h==="floating"?{x:n,y:s,width:i.floating.width,height:i.floating.height}:i.reference,x=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),k=await(o.isElement==null?void 0:o.isElement(x))?await(o.getScale==null?void 0:o.getScale(x))||{x:1,y:1}:{x:1,y:1},S=oc(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:x,strategy:l}):g);return{top:(y.top-S.top+w.top)/k.y,bottom:(S.bottom-y.bottom+w.bottom)/k.y,left:(y.left-S.left+w.left)/k.x,right:(S.right-y.right+w.right)/k.x}}const N2=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:s,rects:o,platform:i,elements:a,middlewareData:l}=t,{element:c,padding:d=0}=ln(e,t)||{};if(c==null)return{};const h=V0(d),p={x:r,y:n},f=yh(s),w=vh(f),m=await i.getDimensions(c),b=f==="y",y=b?"top":"left",g=b?"bottom":"right",x=b?"clientHeight":"clientWidth",k=o.reference[w]+o.reference[f]-p[f]-o.floating[w],S=p[f]-o.reference[f],C=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c));let _=C?C[x]:0;(!_||!await(i.isElement==null?void 0:i.isElement(C)))&&(_=a.floating[x]||o.floating[w]);const N=k/2-S/2,M=_/2-m[w]/2-1,A=Wn(h[y],M),V=Wn(h[g],M),I=A,J=_-m[w]-V,F=_/2-m[w]/2+N,oe=Vd(I,F,J),te=!l.arrow&&Yo(s)!=null&&F!==oe&&o.reference[w]/2-(F<I?A:V)-m[w]/2<0,ne=te?F<I?F-I:F-J:0;return{[f]:p[f]+ne,data:{[f]:oe,centerOffset:F-oe-ne,...te&&{alignmentOffset:ne}},reset:te}}}),T2=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:s,middlewareData:o,rects:i,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:m=!0,...b}=ln(e,t);if((r=o.arrow)!=null&&r.alignmentOffset)return{};const y=cn(s),g=Qn(a),x=cn(a)===a,k=await(l.isRTL==null?void 0:l.isRTL(c.floating)),S=p||(x||!m?[sc(a)]:k2(a)),C=w!=="none";!p&&C&&S.push(...S2(a,m,w,k));const _=[a,...S],N=await na(t,b),M=[];let A=((n=o.flip)==null?void 0:n.overflows)||[];if(d&&M.push(N[y]),h){const F=_2(s,i,k);M.push(N[F[0]],N[F[1]])}if(A=[...A,{placement:s,overflows:M}],!M.every(F=>F<=0)){var V,I;const F=(((V=o.flip)==null?void 0:V.index)||0)+1,oe=_[F];if(oe)return{data:{index:F,overflows:A},reset:{placement:oe}};let te=(I=A.filter(ne=>ne.overflows[0]<=0).sort((ne,P)=>ne.overflows[1]-P.overflows[1])[0])==null?void 0:I.placement;if(!te)switch(f){case"bestFit":{var J;const ne=(J=A.filter(P=>{if(C){const D=Qn(P.placement);return D===g||D==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(D=>D>0).reduce((D,U)=>D+U,0)]).sort((P,D)=>P[1]-D[1])[0])==null?void 0:J[0];ne&&(te=ne);break}case"initialPlacement":te=a;break}if(s!==te)return{reset:{placement:te}}}return{}}}};function Cm(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Nm(e){return x2.some(t=>e[t]>=0)}const P2=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...s}=ln(e,t);switch(n){case"referenceHidden":{const o=await na(t,{...s,elementContext:"reference"}),i=Cm(o,r.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:Nm(i)}}}case"escaped":{const o=await na(t,{...s,altBoundary:!0}),i=Cm(o,r.floating);return{data:{escapedOffsets:i,escaped:Nm(i)}}}default:return{}}}}};async function A2(e,t){const{placement:r,platform:n,elements:s}=e,o=await(n.isRTL==null?void 0:n.isRTL(s.floating)),i=cn(r),a=Yo(r),l=Qn(r)==="y",c=["left","top"].includes(i)?-1:1,d=o&&l?-1:1,h=ln(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:w}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&typeof w=="number"&&(f=a==="end"?w*-1:w),l?{x:f*d,y:p*c}:{x:p*c,y:f*d}}const R2=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:s,y:o,placement:i,middlewareData:a}=t,l=await A2(t,e);return i===((r=a.offset)==null?void 0:r.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:s+l.x,y:o+l.y,data:{...l,placement:i}}}}},D2=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:s}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:a={fn:b=>{let{x:y,y:g}=b;return{x:y,y:g}}},...l}=ln(e,t),c={x:r,y:n},d=await na(t,l),h=Qn(cn(s)),p=gh(h);let f=c[p],w=c[h];if(o){const b=p==="y"?"top":"left",y=p==="y"?"bottom":"right",g=f+d[b],x=f-d[y];f=Vd(g,f,x)}if(i){const b=h==="y"?"top":"left",y=h==="y"?"bottom":"right",g=w+d[b],x=w-d[y];w=Vd(g,w,x)}const m=a.fn({...t,[p]:f,[h]:w});return{...m,data:{x:m.x-r,y:m.y-n,enabled:{[p]:o,[h]:i}}}}}},M2=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:s,rects:o,middlewareData:i}=t,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=ln(e,t),d={x:r,y:n},h=Qn(s),p=gh(h);let f=d[p],w=d[h];const m=ln(a,t),b=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const x=p==="y"?"height":"width",k=o.reference[p]-o.floating[x]+b.mainAxis,S=o.reference[p]+o.reference[x]-b.mainAxis;f<k?f=k:f>S&&(f=S)}if(c){var y,g;const x=p==="y"?"width":"height",k=["top","left"].includes(cn(s)),S=o.reference[h]-o.floating[x]+(k&&((y=i.offset)==null?void 0:y[h])||0)+(k?0:b.crossAxis),C=o.reference[h]+o.reference[x]+(k?0:((g=i.offset)==null?void 0:g[h])||0)-(k?b.crossAxis:0);w<S?w=S:w>C&&(w=C)}return{[p]:f,[h]:w}}}},O2=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:s,rects:o,platform:i,elements:a}=t,{apply:l=()=>{},...c}=ln(e,t),d=await na(t,c),h=cn(s),p=Yo(s),f=Qn(s)==="y",{width:w,height:m}=o.floating;let b,y;h==="top"||h==="bottom"?(b=h,y=p===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(y=h,b=p==="end"?"top":"bottom");const g=m-d.top-d.bottom,x=w-d.left-d.right,k=Wn(m-d[b],g),S=Wn(w-d[y],x),C=!t.middlewareData.shift;let _=k,N=S;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(N=x),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(_=g),C&&!p){const A=Ot(d.left,0),V=Ot(d.right,0),I=Ot(d.top,0),J=Ot(d.bottom,0);f?N=w-2*(A!==0||V!==0?A+V:Ot(d.left,d.right)):_=m-2*(I!==0||J!==0?I+J:Ot(d.top,d.bottom))}await l({...t,availableWidth:N,availableHeight:_});const M=await i.getDimensions(a.floating);return w!==M.width||m!==M.height?{reset:{rects:!0}}:{}}}};function Lc(){return typeof window<"u"}function qo(e){return H0(e)?(e.nodeName||"").toLowerCase():"#document"}function It(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ir(e){var t;return(t=(H0(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function H0(e){return Lc()?e instanceof Node||e instanceof It(e).Node:!1}function mr(e){return Lc()?e instanceof Element||e instanceof It(e).Element:!1}function Fr(e){return Lc()?e instanceof HTMLElement||e instanceof It(e).HTMLElement:!1}function Tm(e){return!Lc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof It(e).ShadowRoot}function ba(e){const{overflow:t,overflowX:r,overflowY:n,display:s}=gr(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(s)}function L2(e){return["table","td","th"].includes(qo(e))}function Fc(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function xh(e){const t=bh(),r=mr(e)?gr(e):e;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function F2(e){let t=Zn(e);for(;Fr(t)&&!Fo(t);){if(xh(t))return t;if(Fc(t))return null;t=Zn(t)}return null}function bh(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Fo(e){return["html","body","#document"].includes(qo(e))}function gr(e){return It(e).getComputedStyle(e)}function Ic(e){return mr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Zn(e){if(qo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Tm(e)&&e.host||Ir(e);return Tm(t)?t.host:t}function W0(e){const t=Zn(e);return Fo(t)?e.ownerDocument?e.ownerDocument.body:e.body:Fr(t)&&ba(t)?t:W0(t)}function sa(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const s=W0(e),o=s===((n=e.ownerDocument)==null?void 0:n.body),i=It(s);if(o){const a=Wd(i);
vendor: 4,595 bytes, line 129
129return t.concat(i,i.visualViewport||[],ba(s)?s:[],a&&r?sa(a):[])}return t.concat(s,sa(s,[],r))}function Wd(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function G0(e){const t=gr(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const s=Fr(e),o=s?e.offsetWidth:r,i=s?e.offsetHeight:n,a=nc(r)!==o||nc(n)!==i;return a&&(r=o,n=i),{width:r,height:n,$:a}}function wh(e){return mr(e)?e:e.contextElement}function yo(e){const t=wh(e);if(!Fr(t))return Gn(1);const r=t.getBoundingClientRect(),{width:n,height:s,$:o}=G0(t);let i=(o?nc(r.width):r.width)/n,a=(o?nc(r.height):r.height)/s;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const I2=Gn(0);function Q0(e){const t=It(e);return!bh()||!t.visualViewport?I2:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function $2(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==It(e)?!1:t}function Fs(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const s=e.getBoundingClientRect(),o=wh(e);let i=Gn(1);t&&(n?mr(n)&&(i=yo(n)):i=yo(e));const a=$2(o,r,n)?Q0(o):Gn(0);let l=(s.left+a.x)/i.x,c=(s.top+a.y)/i.y,d=s.width/i.x,h=s.height/i.y;if(o){const p=It(o),f=n&&mr(n)?It(n):n;let w=p,m=Wd(w);for(;m&&n&&f!==w;){const b=yo(m),y=m.getBoundingClientRect(),g=gr(m),x=y.left+(m.clientLeft+parseFloat(g.paddingLeft))*b.x,k=y.top+(m.clientTop+parseFloat(g.paddingTop))*b.y;l*=b.x,c*=b.y,d*=b.x,h*=b.y,l+=x,c+=k,w=It(m),m=Wd(w)}}return oc({width:d,height:h,x:l,y:c})}function B2(e){let{elements:t,rect:r,offsetParent:n,strategy:s}=e;const o=s==="fixed",i=Ir(n),a=t?Fc(t.floating):!1;if(n===i||a&&o)return r;let l={scrollLeft:0,scrollTop:0},c=Gn(1);const d=Gn(0),h=Fr(n);if((h||!h&&!o)&&((qo(n)!=="body"||ba(i))&&(l=Ic(n)),Fr(n))){const p=Fs(n);c=yo(n),d.x=p.x+n.clientLeft,d.y=p.y+n.clientTop}return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+d.x,y:r.y*c.y-l.scrollTop*c.y+d.y}}function z2(e){return Array.from(e.getClientRects())}function Gd(e,t){const r=Ic(e).scrollLeft;return t?t.left+r:Fs(Ir(e)).left+r}function U2(e){const t=Ir(e),r=Ic(e),n=e.ownerDocument.body,s=Ot(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=Ot(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-r.scrollLeft+Gd(e);const a=-r.scrollTop;return gr(n).direction==="rtl"&&(i+=Ot(t.clientWidth,n.clientWidth)-s),{width:s,height:o,x:i,y:a}}function K2(e,t){const r=It(e),n=Ir(e),s=r.visualViewport;let o=n.clientWidth,i=n.clientHeight,a=0,l=0;if(s){o=s.width,i=s.height;const c=bh();(!c||c&&t==="fixed")&&(a=s.offsetLeft,l=s.offsetTop)}return{width:o,height:i,x:a,y:l}}function V2(e,t){const r=Fs(e,!0,t==="fixed"),n=r.top+e.clientTop,s=r.left+e.clientLeft,o=Fr(e)?yo(e):Gn(1),i=e.clientWidth*o.x,a=e.clientHeight*o.y,l=s*o.x,c=n*o.y;return{width:i,height:a,x:l,y:c}}function Pm(e,t,r){let n;if(t==="viewport")n=K2(e,r);else if(t==="document")n=U2(Ir(e));else if(mr(t))n=V2(t,r);else{const s=Q0(e);n={...t,x:t.x-s.x,y:t.y-s.y}}return oc(n)}function Z0(e,t){const r=Zn(e);return r===t||!mr(r)||Fo(r)?!1:gr(r).position==="fixed"||Z0(r,t)}function H2(e,t){const r=t.get(e);if(r)return r;let n=sa(e,[],!1).filter(a=>mr(a)&&qo(a)!=="body"),s=null;const o=gr(e).position==="fixed";let i=o?Zn(e):e;for(;mr(i)&&!Fo(i);){const a=gr(i),l=xh(i);!l&&a.position==="fixed"&&(s=null),(o?!l&&!s:!l&&a.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||ba(i)&&!l&&Z0(e,i))?n=n.filter(d=>d!==i):s=a,i=Zn(i)}return t.set(e,n),n}function W2(e){let{element:t,boundary:r,rootBoundary:n,strategy:s}=e;const i=[...r==="clippingAncestors"?Fc(t)?[]:H2(t,this._c):[].concat(r),n],a=i[0],l=i.reduce((c,d)=>{const h=Pm(t,d,s);return c.top=Ot(h.top,c.top),c.right=Wn(h.right,c.right),c.bottom=Wn(h.bottom,c.bottom),c.left=Ot(h.left,c.left),c},Pm(t,a,s));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function G2(e){const{width:t,height:r}=G0(e);return{width:t,height:r}}function Q2(e,t,r){const n=Fr(t),s=Ir(t),o=r==="fixed",i=Fs(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const l=Gn(0);if(n||!n&&!o)if((qo(t)!=="body"||ba(s))&&(a=Ic(t)),n){const f=Fs(t,!0,o,t);l.x=f.x+t.clientLeft,l.y=f.y+t.clientTop}else s&&(l.x=Gd(s));let c=0,d=0;if(s&&!n&&!o){const f=s.getBoundingClientRect();d=f.top+a.scrollTop,c=f.left+a.scrollLeft-Gd(s,f)}const h=i.left+a.scrollLeft-l.x-c,p=i.top+a.scrollTop-l.y-d;return{x:h,y:p,width:i.width,height:i.height}}function Tu(e){return gr(e).position==="static"}function Am(e,t){if(!Fr(e)||gr(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Ir(e)===r&&(r=r.ownerDocument.body),r}function Y0(e,t){const r=It(e);
vendor: 10,999 bytes, line 129
129if(Fc(e))return r;if(!Fr(e)){let s=Zn(e);for(;s&&!Fo(s);){if(mr(s)&&!Tu(s))return s;s=Zn(s)}return r}let n=Am(e,t);for(;n&&L2(n)&&Tu(n);)n=Am(n,t);return n&&Fo(n)&&Tu(n)&&!xh(n)?r:n||F2(e)||r}const Z2=async function(e){const t=this.getOffsetParent||Y0,r=this.getDimensions,n=await r(e.floating);return{reference:Q2(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Y2(e){return gr(e).direction==="rtl"}const q2={convertOffsetParentRelativeRectToViewportRelativeRect:B2,getDocumentElement:Ir,getClippingRect:W2,getOffsetParent:Y0,getElementRects:Z2,getClientRects:z2,getDimensions:G2,getScale:yo,isElement:mr,isRTL:Y2};function X2(e,t){let r=null,n;const s=Ir(e);function o(){var a;clearTimeout(n),(a=r)==null||a.disconnect(),r=null}function i(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),o();const{left:c,top:d,width:h,height:p}=e.getBoundingClientRect();if(a||t(),!h||!p)return;const f=Ja(d),w=Ja(s.clientWidth-(c+h)),m=Ja(s.clientHeight-(d+p)),b=Ja(c),g={rootMargin:-f+"px "+-w+"px "+-m+"px "+-b+"px",threshold:Ot(0,Wn(1,l))||1};let x=!0;function k(S){const C=S[0].intersectionRatio;if(C!==l){if(!x)return i();C?i(!1,C):n=setTimeout(()=>{i(!1,1e-7)},1e3)}x=!1}try{r=new IntersectionObserver(k,{...g,root:s.ownerDocument})}catch{r=new IntersectionObserver(k,g)}r.observe(e)}return i(!0),o}function J2(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:s=!0,ancestorResize:o=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,c=wh(e),d=s||o?[...c?sa(c):[],...sa(t)]:[];d.forEach(y=>{s&&y.addEventListener("scroll",r,{passive:!0}),o&&y.addEventListener("resize",r)});const h=c&&a?X2(c,r):null;let p=-1,f=null;i&&(f=new ResizeObserver(y=>{let[g]=y;g&&g.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var x;(x=f)==null||x.observe(t)})),r()}),c&&!l&&f.observe(c),f.observe(t));let w,m=l?Fs(e):null;l&&b();function b(){const y=Fs(e);m&&(y.x!==m.x||y.y!==m.y||y.width!==m.width||y.height!==m.height)&&r(),m=y,w=requestAnimationFrame(b)}return r(),()=>{var y;d.forEach(g=>{s&&g.removeEventListener("scroll",r),o&&g.removeEventListener("resize",r)}),h==null||h(),(y=f)==null||y.disconnect(),f=null,l&&cancelAnimationFrame(w)}}const eE=R2,tE=D2,rE=T2,nE=O2,sE=P2,Rm=N2,oE=M2,iE=(e,t,r)=>{const n=new Map,s={platform:q2,...r},o={...s.platform,_c:n};return C2(e,t,{...s,platform:o})};var _l=typeof document<"u"?v.useLayoutEffect:v.useEffect;function ic(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,s;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!ic(e[n],t[n]))return!1;return!0}if(s=Object.keys(e),r=s.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,s[n]))return!1;for(n=r;n--!==0;){const o=s[n];if(!(o==="_owner"&&e.$$typeof)&&!ic(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function q0(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Dm(e,t){const r=q0(e);return Math.round(t*r)/r}function Pu(e){const t=v.useRef(e);return _l(()=>{t.current=e}),t}function aE(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:s,elements:{reference:o,floating:i}={},transform:a=!0,whileElementsMounted:l,open:c}=e,[d,h]=v.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,f]=v.useState(n);ic(p,n)||f(n);const[w,m]=v.useState(null),[b,y]=v.useState(null),g=v.useCallback(P=>{P!==C.current&&(C.current=P,m(P))},[]),x=v.useCallback(P=>{P!==_.current&&(_.current=P,y(P))},[]),k=o||w,S=i||b,C=v.useRef(null),_=v.useRef(null),N=v.useRef(d),M=l!=null,A=Pu(l),V=Pu(s),I=Pu(c),J=v.useCallback(()=>{if(!C.current||!_.current)return;const P={placement:t,strategy:r,middleware:p};V.current&&(P.platform=V.current),iE(C.current,_.current,P).then(D=>{const U={...D,isPositioned:I.current!==!1};F.current&&!ic(N.current,U)&&(N.current=U,Go.flushSync(()=>{h(U)}))})},[p,t,r,V,I]);_l(()=>{c===!1&&N.current.isPositioned&&(N.current.isPositioned=!1,h(P=>({...P,isPositioned:!1})))},[c]);const F=v.useRef(!1);_l(()=>(F.current=!0,()=>{F.current=!1}),[]),_l(()=>{if(k&&(C.current=k),S&&(_.current=S),k&&S){if(A.current)return A.current(k,S,J);J()}},[k,S,J,A,M]);const oe=v.useMemo(()=>({reference:C,floating:_,setReference:g,setFloating:x}),[g,x]),te=v.useMemo(()=>({reference:k,floating:S}),[k,S]),ne=v.useMemo(()=>{const P={position:r,left:0,top:0};if(!te.floating)return P;const D=Dm(te.floating,d.x),U=Dm(te.floating,d.y);return a?{...P,transform:"translate("+D+"px, "+U+"px)",...q0(te.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:D,top:U}},[r,a,te.floating,d.x,d.y]);return v.useMemo(()=>({...d,update:J,refs:oe,elements:te,floatingStyles:ne}),[d,J,oe,te,ne])}const lE=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:s}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?Rm({element:n.current,padding:s}).fn(r):{}:n?Rm({element:n,padding:s}).fn(r):{}}}},cE=(e,t)=>({...eE(e),options:[e,t]}),uE=(e,t)=>({...tE(e),options:[e,t]}),dE=(e,t)=>({...oE(e),options:[e,t]}),fE=(e,t)=>({...rE(e),options:[e,t]}),hE=(e,t)=>({...nE(e),options:[e,t]}),pE=(e,t)=>({...sE(e),options:[e,t]}),mE=(e,t)=>({...lE(e),options:[e,t]});var gE="Arrow",X0=v.forwardRef((e,t)=>{const{children:r,width:n=10,height:s=5,...o}=e;return u.jsx(Ze.svg,{...o,ref:t,width:n,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:u.jsx("polygon",{points:"0,0 30,0 15,10"})})});X0.displayName=gE;var vE=X0;function yE(e){const[t,r]=v.useState(void 0);return an(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const o=s[0];let i,a;if("borderBoxSize"in o){const l=o.borderBoxSize,c=Array.isArray(l)?l[0]:l;i=c.inlineSize,a=c.blockSize}else i=e.offsetWidth,a=e.offsetHeight;r({width:i,height:a})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}var J0="Popper",[ex,tx]=va(J0),[k3,rx]=ex(J0),nx="PopperAnchor",sx=v.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...s}=e,o=rx(nx,r),i=v.useRef(null),a=wt(t,i);return v.useEffect(()=>{o.onAnchorChange((n==null?void 0:n.current)||i.current)}),n?null:u.jsx(Ze.div,{...s,ref:a})});sx.displayName=nx;var _h="PopperContent",[xE,bE]=ex(_h),ox=v.forwardRef((e,t)=>{var me,tr,yr,Br,xr,Ue;const{__scopePopper:r,side:n="bottom",sideOffset:s=0,align:o="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:c=[],collisionPadding:d=0,sticky:h="partial",hideWhenDetached:p=!1,updatePositionStrategy:f="optimized",onPlaced:w,...m}=e,b=rx(_h,r),[y,g]=v.useState(null),x=wt(t,mt=>g(mt)),[k,S]=v.useState(null),C=yE(k),_=(C==null?void 0:C.width)??0,N=(C==null?void 0:C.height)??0,M=n+(o!=="center"?"-"+o:""),A=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},V=Array.isArray(c)?c:[c],I=V.length>0,J={padding:A,boundary:V.filter(_E),altBoundary:I},{refs:F,floatingStyles:oe,placement:te,isPositioned:ne,middlewareData:P}=aE({strategy:"fixed",placement:M,whileElementsMounted:(...mt)=>J2(...mt,{animationFrame:f==="always"}),elements:{reference:b.anchor},middleware:[cE({mainAxis:s+N,alignmentAxis:i}),l&&uE({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?dE():void 0,...J}),l&&fE({...J}),hE({...J,apply:({elements:mt,rects:ss,availableWidth:Xo,availableHeight:Ht})=>{const{width:Jo,height:os}=ss.reference,zr=mt.floating.style;zr.setProperty("--radix-popper-available-width",`${Xo}px`),zr.setProperty("--radix-popper-available-height",`${Ht}px`),zr.setProperty("--radix-popper-anchor-width",`${Jo}px`),zr.setProperty("--radix-popper-anchor-height",`${os}px`)}}),k&&mE({element:k,padding:a}),kE({arrowWidth:_,arrowHeight:N}),p&&pE({strategy:"referenceHidden",...J})]}),[D,U]=lx(te),re=Lr(w);an(()=>{ne&&(re==null||re())},[ne,re]);const G=(me=P.arrow)==null?void 0:me.x,ae=(tr=P.arrow)==null?void 0:tr.y,de=((yr=P.arrow)==null?void 0:yr.centerOffset)!==0,[we,Oe]=v.useState();return an(()=>{y&&Oe(window.getComputedStyle(y).zIndex)},[y]),u.jsx("div",{ref:F.setFloating,"data-radix-popper-content-wrapper":"",style:{...oe,transform:ne?oe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:we,"--radix-popper-transform-origin":[(Br=P.transformOrigin)==null?void 0:Br.x,(xr=P.transformOrigin)==null?void 0:xr.y].join(" "),...((Ue=P.hide)==null?void 0:Ue.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:u.jsx(xE,{scope:r,placedSide:D,onArrowChange:S,arrowX:G,arrowY:ae,shouldHideArrow:de,children:u.jsx(Ze.div,{"data-side":D,"data-align":U,...m,ref:x,style:{...m.style,animation:ne?void 0:"none"}})})})});ox.displayName=_h;var ix="PopperArrow",wE={top:"bottom",right:"left",bottom:"top",left:"right"},ax=v.forwardRef(function(t,r){const{__scopePopper:n,...s}=t,o=bE(ix,n),i=wE[o.placedSide];return u.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:u.jsx(vE,{...s,ref:r,style:{...s.style,display:"block"}})})});ax.displayName=ix;function _E(e){return e!==null}var kE=e=>({name:"transformOrigin",options:e,fn(t){var b,y,g;const{placement:r,rects:n,middlewareData:s}=t,i=((b=s.arrow)==null?void 0:b.centerOffset)!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[c,d]=lx(r),h={start:"0%",center:"50%",end:"100%"}[d],p=(((y=s.arrow)==null?void 0:y.x)??0)+a/2,f=(((g=s.arrow)==null?void 0:g.y)??0)+l/2;let w="",m="";return c==="bottom"?(w=i?h:`${p}px`,m=`${-l}px`):c==="top"?(w=i?h:`${p}px`,m=`${n.floating.height+l}px`):c==="right"?(w=`${-l}px`,m=i?h:`${f}px`):c==="left"&&(w=`${n.floating.width+l}px`,m=i?h:`${f}px`),{data:{x:w,y:m}}}});function lx(e){const[t,r="center"]=e.split("-");return[t,r]}var jE=sx,SE=ox,EE=ax,[$c,j3]=va("Tooltip",[tx]),kh=tx(),cx="TooltipProvider",CE=700,Mm="tooltip.open",[NE,ux]=$c(cx),dx=e=>{const{__scopeTooltip:t,delayDuration:r=CE,skipDelayDuration:n=300,disableHoverableContent:s=!1,children:o}=e,i=v.useRef(!0),a=v.useRef(!1),l=v.useRef(0);return v.useEffect(()=>{const c=l.current;return()=>window.clearTimeout(c)},[]),u.jsx(NE,{scope:t,isOpenDelayedRef:i,delayDuration:r,onOpen:v.useCallback(()=>{window.clearTimeout(l.current),i.current=!1},[]),onClose:v.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>i.current=!0,n)},[n]),isPointerInTransitRef:a,onPointerInTransitChange:v.useCallback(c=>{a.current=c},[]),disableHoverableContent:s,children:o})};dx.displayName=cx;var fx="Tooltip",[S3,Bc]=$c(fx),Qd="TooltipTrigger",TE=v.forwardRef((e,t)=>
vendor: 5,599 bytes, line 129
129{const{__scopeTooltip:r,...n}=e,s=Bc(Qd,r),o=ux(Qd,r),i=kh(r),a=v.useRef(null),l=wt(t,a,s.onTriggerChange),c=v.useRef(!1),d=v.useRef(!1),h=v.useCallback(()=>c.current=!1,[]);return v.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),u.jsx(jE,{asChild:!0,...i,children:u.jsx(Ze.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...n,ref:l,onPointerMove:Ie(e.onPointerMove,p=>{p.pointerType!=="touch"&&!d.current&&!o.isPointerInTransitRef.current&&(s.onTriggerEnter(),d.current=!0)}),onPointerLeave:Ie(e.onPointerLeave,()=>{s.onTriggerLeave(),d.current=!1}),onPointerDown:Ie(e.onPointerDown,()=>{s.open&&s.onClose(),c.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:Ie(e.onFocus,()=>{c.current||s.onOpen()}),onBlur:Ie(e.onBlur,s.onClose),onClick:Ie(e.onClick,s.onClose)})})});TE.displayName=Qd;var PE="TooltipPortal",[E3,AE]=$c(PE,{forceMount:void 0}),Io="TooltipContent",hx=v.forwardRef((e,t)=>{const r=AE(Io,e.__scopeTooltip),{forceMount:n=r.forceMount,side:s="top",...o}=e,i=Bc(Io,e.__scopeTooltip);return u.jsx(Qo,{present:n||i.open,children:i.disableHoverableContent?u.jsx(px,{side:s,...o,ref:t}):u.jsx(RE,{side:s,...o,ref:t})})}),RE=v.forwardRef((e,t)=>{const r=Bc(Io,e.__scopeTooltip),n=ux(Io,e.__scopeTooltip),s=v.useRef(null),o=wt(t,s),[i,a]=v.useState(null),{trigger:l,onClose:c}=r,d=s.current,{onPointerInTransitChange:h}=n,p=v.useCallback(()=>{a(null),h(!1)},[h]),f=v.useCallback((w,m)=>{const b=w.currentTarget,y={x:w.clientX,y:w.clientY},g=FE(y,b.getBoundingClientRect()),x=IE(y,g),k=$E(m.getBoundingClientRect()),S=zE([...x,...k]);a(S),h(!0)},[h]);return v.useEffect(()=>()=>p(),[p]),v.useEffect(()=>{if(l&&d){const w=b=>f(b,d),m=b=>f(b,l);return l.addEventListener("pointerleave",w),d.addEventListener("pointerleave",m),()=>{l.removeEventListener("pointerleave",w),d.removeEventListener("pointerleave",m)}}},[l,d,f,p]),v.useEffect(()=>{if(i){const w=m=>{const b=m.target,y={x:m.clientX,y:m.clientY},g=(l==null?void 0:l.contains(b))||(d==null?void 0:d.contains(b)),x=!BE(y,i);g?p():x&&(p(),c())};return document.addEventListener("pointermove",w),()=>document.removeEventListener("pointermove",w)}},[l,d,i,c,p]),u.jsx(px,{...e,ref:o})}),[DE,ME]=$c(fx,{isInside:!1}),OE=Ij("TooltipContent"),px=v.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":s,onEscapeKeyDown:o,onPointerDownOutside:i,...a}=e,l=Bc(Io,r),c=kh(r),{onClose:d}=l;return v.useEffect(()=>(document.addEventListener(Mm,d),()=>document.removeEventListener(Mm,d)),[d]),v.useEffect(()=>{if(l.trigger){const h=p=>{const f=p.target;f!=null&&f.contains(l.trigger)&&d()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[l.trigger,d]),u.jsx(Dc,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:h=>h.preventDefault(),onDismiss:d,children:u.jsxs(SE,{"data-state":l.stateAttribute,...c,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[u.jsx(OE,{children:n}),u.jsx(DE,{scope:r,isInside:!0,children:u.jsx(lS,{id:l.contentId,role:"tooltip",children:s||n})})]})})});hx.displayName=Io;var mx="TooltipArrow",LE=v.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,s=kh(r);return ME(mx,r).isInside?null:u.jsx(EE,{...s,...n,ref:t})});LE.displayName=mx;function FE(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(r,n,s,o)){case o:return"left";case s:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function IE(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function $E(e){const{top:t,right:r,bottom:n,left:s}=e;return[{x:s,y:t},{x:r,y:t},{x:r,y:n},{x:s,y:n}]}function BE(e,t){const{x:r,y:n}=e;let s=!1;for(let o=0,i=t.length-1;o<t.length;i=o++){const a=t[o],l=t[i],c=a.x,d=a.y,h=l.x,p=l.y;d>n!=p>n&&r<(h-c)*(n-d)/(p-d)+c&&(s=!s)}return s}function zE(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),UE(t)}function UE(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const s=e[n];for(;t.length>=2;){const o=t[t.length-1],i=t[t.length-2];if((o.x-i.x)*(s.y-i.y)>=(o.y-i.y)*(s.x-i.x))t.pop();else break}t.push(s)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const s=e[n];for(;r.length>=2;){const o=r[r.length-1],i=r[r.length-2];if((o.x-i.x)*(s.y-i.y)>=(o.y-i.y)*(s.x-i.x))r.pop();else break}r.push(s)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var KE=dx,gx=hx;const VE=KE,HE=v.forwardRef(({className:e,sideOffset:t=4,...r},n)=>u.jsx(gx,{ref:n,sideOffset:t,className:At("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
129de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r}));HE.displayName=gx.displayName;const WE={langSwitcher:{switchTo:"Skift til engelsk",switchToDa:"Skift til dansk"},nav:{home:"Forsiden",works:"Værker",gallery:"Galleri",galleryAbstract:"Abstrakte værker",galleryGrafic:"Grafiske værker",galleryHandColored:"Håndkolorede tryk",galleryAkryl:"Akryl på papir",galleryAkrylCollage:"Akryl og collage på papir",galleryAkrylA3:"Akryl på A3 papir",exhibitions:"Udstillinger",photos:"Fotos",photosCatalog:"Katalogforsider",photosInterior:"Interiørfotos",photosAlmindelige:"Set & Sket",about:"Om kunstneren",contact:"Kontakt"},hero:{eyebrow:"Maler · Kerteminde · Født 1953",title1:"Når livet",title2:"bliver til kunst.",intro1:"Malerier af",intro2:"— en livslang samtale med farver, fra atelieret på havnen.",ctaWorks:"Se værker",ctaExhibitions:"Kommende udstillinger",quote:"Den egentlige kunst er at stoppe, når billedet er færdigt — og så holde fingrene væk.",studioAlt:"Lyst galleri-/atelierrum"},home:{titleBefore:"Hvert lærred er",titleEm:"et øjeblik",titleAfter:"— fastholdt i farver.",collabTitle:"Samarbejder med",collabEm:"Galleri HAVN",collabLabel:"– Galleri –",body:"Værker der kredser om bevægelse, lys og de små øjeblikke, der ofte går ubemærket forbi. Malet i olie og akryl i et atelier midt i Kerteminde.",ctaWorks:"Se værker →",ctaAbout:"Om kunstneren"},upcoming:{eyebrow:"Kommende udstillinger",titleBefore:"Mød værkerne",titleEm:"i virkeligheden",titleAfter:".",viewAll:"Se alle udstillinger →"},footer:{statement:"Når livet bliver KUNST - bliver det fyldt med farver.",atelierEyebrow:`
130`,universe:"Univers",contact:"Kontakt",instagram:"Følg på Instagram",atelierLine1:"Atelier på Ndr. Havnekaj 27 B, 5300 Kerteminde.",atelierLine2:"Besøg efter aftale.",subtitle:"MGART · Maler · Kerteminde",rights:"Alle rettigheder forbeholdes",tagline:"Maleri · Grafik · Atelier"},works:{metaTitle:"Værker — Michael Grønlund",metaDesc:"Udvalgte malerier af Michael Grønlund. Olie, akryl og blæk fra atelieret i Kerteminde.",eyebrow:"Udvalgte værker",titleBefore:"Hvert lærred er",titleEm:"et øjeblik",titleAfter:"— fastholdt i farver.",intro:"Et udvalg på tværs af serierne i galleriet. Klik på et værk for at se det i fuld størrelse, eller besøg en hel serie for at se alle værker.",openFull:"Åbn {title} i fuld størrelse",viewFullGallery:"Se hele galleriet"},galerie:{metaTitle:"Galleri — Michael Grønlund",metaDesc:"Galleri med værker af Michael Grønlund — abstrakte værker, grafiske værker, håndkolorede tryk og papirserier.",eyebrow:"Galleri",titleBefore:"Serier og",titleEm:"samlinger",titleAfter:".",introBefore:"Værker grupperet efter teknik og serie. Ønsker du at købe et maleri, er du velkommen til at kontakte os via ",introLink:"kontaktsiden",introAfter:".",viewSeries:"Se serien →"},galerieSeries:{eyebrow:"Galleri",introHas:"Billederne herunder er kun et udsnit af værkerne — klik på et billede for at se det i fuld størrelse. ",introEmpty:"Serien afventer upload af originalværker. Kun verificerede malerier af Michael Grønlund vises her. ",contactBefore:"Ønsker du at købe et maleri, er du velkommen til at kontakte os via ",contactLink:"kontaktsiden",contactAfter:".",sizes:"Værkerne findes i størrelserne: 36×48 cm · 42×70 cm · 50×50 cm",openFull:"Åbn {title} i fuld størrelse",placeholderCaption:"Titel · Teknik · Årstal",defaultTitle:"Serie"},photos:{metaTitle:"Fotos — Michael Grønlund",metaDesc:"Fotografier fra atelier og udstillinger — interiør og katalogforsider.",eyebrow:"Fotos",titleBefore:"Set &",titleEm:"sket",titleAfter:".",intro:"Et udvalg af interiørfotos og katalogforsider."},photosSub:{eyebrow:"Fotos",introHas:"{count} fotos. Klik på et billede for at se det i fuld størrelse.",introEmpty:"Afventer upload af autentiske fotos.",openFull:"Åbn {title} i fuld størrelse",defaultTitle:"Fotos",titleInterior:"Interiørfotos",titleCatalog:"Katalogforsider"},videos:{metaTitle:"Videoer — Michael Grønlund",metaDesc:"Videoer fra atelieret og udstillinger med Michael Grønlund.",eyebrow:"Videoer",titleBefore:"Bevægende",titleEm:"billeder",titleAfter:".",intro:"Film fra atelieret, fernisering og udstillinger.",videoLabel:"Video {n}"},workshops:{metaTitle:"Workshops — Michael Grønlund",metaDesc:"Workshops med Michael Grønlund — maleri, tegning og kreativ proces fra atelieret i Kerteminde.",eyebrow:"Workshops",titleBefore:"Workshops 
130i",titleEm:"Kerteminde",titleAfter:".",intro:"Maler- og tegneworkshops afholdes i atelieret og hos Galleri Havn i Kerteminde.",body1:"Workshops afholdes hen over året i små hold. Fokus er på farve, komposition og modet til at lade et billede være, når det er færdigt.",body2:"Kontakt mig via kontaktsiden for kommende datoer og ledige pladser."},exhibitions:{metaTitle:"Kommende udstillinger — Michael Grønlund",metaDesc:"Kommende udstillinger med Michael Grønlund. Galleri Havn, ArtWeek Kerteminde og Fredericia Artfestival.",eyebrow:"Kommende udstillinger",titleBefore:"Oplev værkerne",titleEm:"i virkeligheden",titleAfter:".",intro:"Her kan du følge med i, hvor og hvornår jeg udstiller. Hver gang en ny aftale er på plads — bliver siden opdateret.",groupLabel:`
131`,photoLabel:"Foto",showUpcoming:"VIS ALLE UDSTILLINGER",hideUpcoming:"Skjul kommende udstillinger"},exhibitionVenue:{eyebrow:"Udstilling",defaultTitle:"Udstilling",intro:"Udstillingssted med værker af Michael Grønlund.",body:"Information om udstillingen på {title} — herunder datoer, åbningstider og adresse — vises her."},about:{metaTitle:"Om kunstneren — Michael Grønlund",metaDesc:"Om kunstneren Michael Grønlund — født 1953 i Maribo, atelier i Kerteminde, kunstnerisk leder af Galleri Havn.",eyebrow:"Om kunstneren · Kerteminde",titleLine1:"En livslang samtale",titleLine2:"med farver.",intro:"Michael Grønlund maler fra et atelier i Kerteminde — et stille rum hvor lys, materiale og hukommelse bliver til billeder.",detailCaption:"Detalje · atelier",detailAlt:"Detalje fra værk af Michael Grønlund",bandEyebrow:"Fra atelieret",bandQuote:"Farven kender vejen — jeg følger bare efter.",bandAlt:"Værk af Michael Grønlund",bioEyebrow:"Et liv i farver",bio1Before:"Født",bio1Place:"1953 i Maribo",bio1After:". Uddannet grafisk designer fra Akademiet for Fri og Merkantil Kunst og undervist i tegning af Otto Frello og Hans Christian Rylander.",bio2Before:"Michael arbejder fra sit atelier midt i Kerteminde, hvor han også er stifter og kunstnerisk leder af ",bio2GalleriHavn:`
132`,bio2Middle:" samt initiativtager og arrangør af ",bio2ArtWeek:"ArtWeek Kerteminde",bio2After:".",bio3:"Værkerne kredser om livet, som det leves — bevægelse, lys og de små øjeblikke, der ofte går ubemærket forbi.",viewFullCv:"Se fuldt CV",downloadCv:"Download CV (PDF)",downloadAsPdf:"Download som PDF",modalTitle:"Curriculum Vitae — Michael Grønlund",modalDescription:"Fuldt CV med baggrund, medlemskaber, udstillinger og rejser.",modalEyebrow:"Curriculum Vitae",modalSubtitle:"Født 1953 · Kerteminde, Danmark",pdfSubtitle:"Curriculum Vitae · Født 1953 · Kerteminde, Danmark",pdfPage:"Side {p} af {total} · mgart.dk",pdfFilename:"Michael-Gronlund-CV.pdf",source:"Kilde: mgart.dk/curriculum-vitae1",exhibitedSoldAlt:"Udstillet og solgt i en række lande",exhibitedSoldCaption:"Igennem min godt 25 år som kunstmaler har jeg solgt og udstillet i en lang række lande verden over.",exhibitedSoldHeading:"Et spændende liv —",exhibitedSoldHeadingEm:"fyldt med farver.",quoteEyebrow:"Med hans egne ord",quote:"Den egentlige kunst er at stoppe, når billedet er færdigt — og så holde fingrene væk.",visitEyebrow:"Besøg atelieret",visitTitle:`Ndr. Havnekaj 27 B,
1335300 Kerteminde
134— efter aftale.`,writeToMichael:"Skriv til Michael",atelierAlt:"Værk fra atelieret"},cv:{sections:{separate:"Udvalgte separatudstillinger",associations:"Udvalgte kunstforeninger",group:"Udvalgte gruppeudstillinger",other:"Øvrige aktiviteter"},credentials:[{k:"Født 1953",v:"Maribo, Danmark",note:"Bor og arbejder i Kerteminde"},{k:"Galleri HAVN Kerteminde",v:"Medstifter og kunstnerisk leder",note:""},{k:"ArtWeek Kerteminde",v:"Initiativtager & arrangør",note:"Årlig kunstuge"},{k:"Atelier",v:"Ndr. Havnekaj 27 B",note:"Besøg efter aftale"},{k:"DBF",v:"Medlem",note:"Danske Billedkunstneres Fagforening"},{k:"RUST",v:"Kunstnergruppe",note:"Kollegialt fællesskab"}]},contact:{metaTitle:"Kontakt — Michael Grønlund",metaDesc:"Kontakt Michael Grønlund. Atelierbesøg efter aftale på Ndr. Havnekaj 27 B, 5300 Kerteminde.",eyebrow:"Kontakt",titleBefore:"Besøg atelieret eller",titleEm:"send en besked",titleAfter:".",intro:"Atelierbesøg efter aftale. Henvendelser om værker, bestillingsopgaver eller udstillingsmuligheder er altid velkomne.",heroAlt:"Udsnit af værk af Michael Grønlund",cardAtelier:"Atelier",cardAtelierValue:`Ndr. Havnekaj 27 B
1355300 Kerteminde
136Danmark`,cardEmail:"E-mail",cardInstagram:"Instagram",cardGallery:"GALLER
136I",cardGalleryValue:`Grønlandsgade 13
137Kerteminde`,sendEyebrow:`
138`,sendTitleBefore:"Send en",sendTitleEm:"besked",fieldName:"Navn",fieldEmail:"E-mail",fieldSubject:"Emne",fieldMessage:"Besked",submit:"Send besked",toastTitle:"Tak for din henvendelse",toastDesc:"Din e-mailklient åbnes nu med beskeden.",errName:"Indtast dit navn",errEmail:"Ugyldig e-mailadresse",errSubject:"Indtast et emne",errMessage:`
139`},notFound:{heading:"404",message:"Ups! Siden findes ikke",home:"Tilbage til forsiden"},series:{"abstrakte-værker":{label:"Abstrakte værker",item:"Abstrakt værk nr. {n}"},"grafiske-værker":{label:"Grafiske værker",item:"Grafisk værk nr. {n}"},"håndkolorede-tryk":{label:"Håndkolorede tryk",item:"Håndkoloreret tryk nr. {n}"},"akryl-på-papir-32x48":{label:"Akryl på papir",item:"Akryl på papir nr. {n}"},"akryl-og-collage":{label:"Akryl og collage på papir",item:"Akryl og collage nr. {n}"},"akryl-på-a3-papir":{label:"Akryl på A3 papir",item:"Akryl på A3 papir nr. {n}"},interior:{label:"Interiør",item:"Interiør nr. {n}"}},photosSeries:{interior:{label:"Interiørfotos",item:"Interiørfoto nr. {n}"},"catalog-covers":{label:"Katalogforsider",item:"Katalogforside nr. {n}"},"set-og-sket":{label:"Set & Sket",item:"Set & Sket nr. {n}"}}},GE={langSwitcher:{switchTo:"Switch to English",switchToDa:"Switch to Danish"},nav:{home:"Home",works:"Works",gallery:"Gallery",galleryAbstract:"Abstract works",galleryGrafic:"Graphic works",galleryHandColored:"Hand-coloured prints",galleryAkryl:"Acrylic on paper",galleryAkrylCollage:"Acrylic and collage on paper",galleryAkrylA3:"Acrylic on A3 paper",exhibitions:"Exhibitions",photos:"Photos",photosCatalog:"Catalogue covers",photosInterior:"Interior photos",photosAlmindelige:"Set & Sket",about:"About the artist",contact:"Contact"},hero:{eyebrow:"Painter · Kerteminde · Born 1953",title1:"When life",title2:"becomes art.",intro1:"Paintings by",intro2:"— a lifelong conversation with the colour, from the studio at the harbour.",ctaWorks:"View works",ctaExhibitions:"Upcoming exhibitions",quote:"The real art is knowing when to stop — and then leaving the painting alone.",studioAlt:"Bright gallery / studio space"},home:{titleBefore:"Every canvas is",titleEm:"a moment",titleAfter:"— held in the colour.",collabTitle:"Collaboration with",collabEm:"Galleri HAVN",collabLabel:"– Gallery –",body:"Works that revolve around movement, light and the small moments that often pass unnoticed. Painted in oil and acrylic in a studio in the heart of Kerteminde.",ctaWorks:"View works →",ctaAbout:"About the artist"},upcoming:{eyebrow:"Upcoming exhibitions",titleBefore:"Meet the works",titleEm:"in person",titleAfter:".",viewAll:"See all exhibitions →"},footer:{statement:"When life becomes art — art becomes part of life.",atelierEyebrow:`
140`,universe:"Universe",contact:"Contact",instagram:"Follow on Instagram",atelierLine1:"Studio at Ndr. Havnekaj 27 B, 5300 Kerteminde.",atelierLine2:"Visits by appointment.",subtitle:"MGART · Painter · Kerteminde",rights:"All rights reserved",tagline:"Painting · Print · Studio"},works:{metaTitle:"Works — Michael Grønlund",metaDesc:"Selected paintings by Michael Grønlund. Oil, acrylic and ink from the studio in Kerteminde.",eyebrow:"Selected works",titleBefore:"Every canvas is",titleEm:"a moment",titleAfter:"— held in the colour.",intro:"A selection across the series in the gallery. Click a work to view it full size, or visit a whole series to see all the works.",openFull:"Open {title} full size",viewFullGallery:"View the full gallery"},galerie:{metaTitle:"Gallery — Michael Grønlund",metaDesc:"Gallery of works by Michael Grønlund — abstract works, graphic works, hand-coloured prints and paper series.",eyebrow:"Gallery",titleBefore:"Series and",titleEm:"collections",titleAfter:".",introBefore:"Works grouped by technique and series. If you would like to buy a painting, please get in touch via the ",introLink:"contact page",introAfter:".",viewSeries:"View series →"},galerieSeries:{eyebrow:"Gallery",introHas:"The images below are only a selection of the works — click an image to view it full size. ",introEmpty:"This series is awaiting upload of original works. Only verified paintings by Michael Grønlund are shown here. ",contactBefore:"If you would like to buy a painting, please get in touch via the ",contactLink:"contact page",contactAfter:".",sizes:"Available sizes: 36×48 cm · 42×70 cm · 50×50 cm",openFull:"Open {title} full size",placeholderCaption:"Title · Technique · Year",defaultTitle:"Series"},photos:{metaTitle:"Photos — Michael Grønlund",metaDesc:"Photographs from the studio and exhibitions — interiors and catalogue covers.",eyebrow:"Photos",titleBefore:"Seen &",titleEm:"captured",titleAfter:".",intro:"A selection of interior photos and catalogue covers."},photosSub:{eyebrow:"Photos",introHas:"{count} photos. Click an image to view it full size.",introEmpty:"Awaiting upload of authentic photographs.",openFull:"Open {title} full size",defaultTitle:"Photos",titleInterior:"Interior photos",titleCatalog:"Catalogue covers"},videos:{metaTitle:"Videos — Michael Grønlund",metaDesc:"Videos from the studio and exhibitions of Michael Grønlund.",eyebrow:"Videos",titleBefore:"Moving",titleEm:"images",titleAfter:".",intro:"Films from the studio, openings and exhibitions.",videoLabel:"Video {n}"},workshops:{metaTitle:"Workshops — Michael Grønlund",metaDesc:"Workshops with Michael Grønlund — painting, drawing and creative process from the studio in Kerteminde.",eyebrow:"Workshops",titleBefore:"Workshops 
140in",titleEm:"Kerteminde",titleAfter:".",intro:"Painting and drawing workshops held in the studio and at Galleri Havn in Kerteminde.",body1:"Workshops are held throughout the year in small groups. Focus is on the colour, composition and the courage to leave a painting alone when it is finished.",body2:"Reach out via the contact page for upcoming dates and availability."},exhibitions:{metaTitle:"Upcoming exhibitions — Michael Grønlund",metaDesc:"Upcoming exhibitions with Michael Grønlund. Galleri Havn, ArtWeek Kerteminde and Fredericia Artfestival.",eyebrow:"Upcoming exhibitions",titleBefore:"Experience the works",titleEm:"in person",titleAfter:".",intro:"Follow along here for where and when I'm exhibiting. Each time a new date is confirmed — the page is updated.",groupLabel:`
141`,photoLabel:"Photo",showUpcoming:"Show upcoming exhibitions",hideUpcoming:"Hide upcoming exhibitions"},exhibitionVenue:{eyebrow:"Exhibition",defaultTitle:"Exhibition",intro:"Exhibition venue featuring works by Michael Grønlund.",body:"Information about the exhibition at {title} — including dates, opening hours, and address — is shown here."},about:{metaTitle:"About the artist — Michael Grønlund",metaDesc:"About the artist Michael Grønlund — born 1953 in Maribo, studio in Kerteminde, artistic director of Galleri Havn.",eyebrow:"About the artist · Kerteminde",titleLine1:"A lifelong conversation",titleLine2:"with the colour.",intro:"Michael Grønlund paints from a studio in Kerteminde — a quiet room where light, material and memory turn into images.",detailCaption:"Detail · studio",detailAlt:"Detail from work by Michael Grønlund",bandEyebrow:"From the studio",bandQuote:"Colour knows the way — I just follow.",bandAlt:"Work by Michael Grønlund",bioEyebrow:"A life in the colour",bio1Before:"Born",bio1Place:"1953 in Maribo",bio1After:". Trained as a graphic designer at the Academy for Free and Commercial Art and taught drawing by Otto Frello and Hans Christian Rylander.",bio2Before:"Michael works from his studio in the heart of Kerteminde, where he is also founder and artistic director of ",bio2GalleriHavn:`
142`,bio2Middle:" as well as initiator and organiser of ",bio2ArtWeek:"ArtWeek Kerteminde",bio2After:".",bio3:"The works revolve around life as it is lived — movement, light and the small moments that often pass unnoticed.",viewFullCv:"View full CV",downloadCv:"Download CV (PDF)",downloadAsPdf:"Download as PDF",modalTitle:"Curriculum Vitae — Michael Grønlund",modalDescription:"Full CV with background, memberships, exhibitions and travels.",modalEyebrow:"Curriculum Vitae",modalSubtitle:"Born 1953 · Kerteminde, Denmark",pdfSubtitle:"Curriculum Vitae · Born 1953 · Kerteminde, Denmark",pdfPage:"Page {p} of {total} · mgart.dk",pdfFilename:"Michael-Gronlund-CV.pdf",source:"Source: mgart.dk/curriculum-vitae1",exhibitedSoldAlt:"Exhibited and sold in a number of countries",exhibitedSoldCaption:"Over my 25 years or so as a painter, I have sold and exhibited work in a long list of countries around the world.",exhibitedSoldHeading:"An exciting life —",exhibitedSoldHeadingEm:"filled with colour.",quoteEyebrow:"In his own words",quote:"The real art is knowing when to stop — and then leaving the painting alone.",visitEyebrow:"Visit the studio",visitTitle:`Ndr. Havnekaj 27 B,
1435300 Kerteminde
144— by appointment.`,writeToMichael:"Write to Michael",atelierAlt:"Work from the studio"},cv:{sections:{separate:"Selected solo exhibitions",associations:"Selected art associations",group:"Selected group exhibitions",other:"Other activities"},credentials:[{k:"Born 1953",v:"Maribo, Denmark",note:"Lives and works in Kerteminde"},{k:"Galleri HAVN Kerteminde",v:"Co-founder and artistic director",note:""},{k:"ArtWeek Kerteminde",v:"Initiator & organiser",note:"Annual art week"},{k:"Studio",v:"Ndr. Havnekaj 27 B",note:"Visits by appointment"},{k:"DBF",v:"Member",note:"Danish Visual Artists' Association"},{k:"RUST",v:"Artist collective",note:"Collegial community"}]},contact:{metaTitle:"Contact — Michael Grønlund",metaDesc:"Contact Michael Grønlund. Studio visits by appointment at Ndr. Havnekaj 27 B, 5300 Kerteminde.",eyebrow:"Contact",titleBefore:"Visit the studio or",titleEm:"send a greeting",titleAfter:".",intro:"Studio visits by appointment. Enquiries about works, commissions or exhibition opportunities are always welcome.",heroAlt:"Detail of work by Michael Grønlund",cardAtelier:"Studio",cardAtelierValue:`Ndr. Havnekaj 27 B
1455300 Kerteminde
146Denmark`,cardEmail:"Email",cardInstagram:"Instagram",cardGallery:"GALLERY",cardGalleryValue:`Grønlandsgade 13
147Kerteminde`,sendEyebrow:"Write a message",sendTitleBefore:"Send a",sendTitleEm:"greeting",fieldName:"Name",fieldEmail
147:"Email",fieldSubject:"Subject",fieldMessage:"Message",submit:"Send message",toastTitle:"Thanks for your message",toastDesc:"Your email client is opening with the message.",errName:"Please enter your name",errEmail:"Invalid email address",errSubject:"Please enter a subject",errMessage:"Please write a message"},notFound:{heading:"404",message:"Oops! Page not found",home:"Return to home"},series:{"abstrakte-værker":{label:"Abstract works",item:"Abstract work no. {n}"},"grafiske-værker":{label:"Graphic works",item:"Graphic work no. {n}"},"håndkolorede-tryk":{label:"Hand-coloured prints",item:"Hand-coloured print no. {n}"},"akryl-på-papir-32x48":{label:"Acrylic on paper",item:"Acrylic on paper no. {n}"},"akryl-og-collage":{label:"Acrylic and collage on paper",item:"Acrylic and collage no. {n}"},"akryl-på-a3-papir":{label:"Acrylic on A3 paper",item:"Acrylic on A3 paper no. {n}"},interior:{label:"Interior",item:"Interior no. {n}"}},photosSeries:{interior:{label:"Interior photos",item:"Interior photo no. {n}"},"catalog-covers":{label:"Catalogue covers",item:"Catalogue cover no. {n}"},"set-og-sket":{label:"Set & Sket",item:"Set & Sket no. {n}"}}},vx={da:[{date:"",title:"Galleri HAVN",subtitle:"Fast repræsenteret",venue:`
148`,address:"Grønlandsgade 13, 5300 Kerteminde"},{date:"2. oktober 2026",title:"Galleri HAVN",subtitle:"SPOT udstilling",venue:"",address:"Grønlandsgade 13, 5300 Kerteminde"},{date:"24. oktober – 8. november 2026",title:"Galleri Sommerlyst",subtitle:"Gruppeudstilling",venue:"",address:"Sommerlystvej 3, 3250 Gilleleje"},{date:"6. – 8. november 2026",title:"Fredericia Artfestival",venue:"Eksiserhuset",address:"Øster Voldgade 16, 7000 Fredericia"},{date:"12. – 14. marts 2027",title:"Art Hillerød",venue:"Royal Stage",address:"Milnersvej 39, 3400 Hillerød"},{date:"27. – 28. februar 2027",title:"Rotary kunstmesse",venue:"Fængslet Horsens",address:"Fussingsvej 8, 8700 Horsens"}],en:[{date:"",title:"Galleri HAVN",subtitle:"Permanently represented",venue:`
149`,address:"Grønlandsgade 13, 5300 Kerteminde, Denmark"},{date:"2 October 2026",title:"Galleri HAVN",subtitle:"SPOT exhibition",venue:"",address:"Grønlandsgade 13, 5300 Kerteminde, Denmark"},{date:"24 October – 8 November 2026",title:"Galleri Sommerlyst",subtitle:"Group exhibition",venue:"",address:"Sommerlystvej 3, 3250 Gilleleje, Denmark"},{date:"6 – 8 November 2026",title:"Fredericia Artfestival",venue:"Eksiserhuset",address:"Øster Voldgade 16, 7000 Fredericia, Denmark"},{date:"12 – 14 March 2027",title:"Art Hillerød",venue:"Royal Stage",address:"Milnersvej 39, 3400 Hillerød, Denmark"},{date:"27 – 28 February 2027",title:"Rotary kunstmesse",venue:"Fængslet Horsens",address:"Fussingsvej 8, 8700 Horsens, Denmark"}]},yx={da:WE,en:GE},jh=e=>{const t=yx[e].nav;return[{to:"/",label:t.home},{to:"/galerie",label:t.gallery,children:[{to:"/galerie/abstrakte-værker",label:t.galleryAbstract},{to:"/galerie/grafiske-værker",label:t.galleryGrafic},{to:"/galerie/håndkolorede-tryk",label:t.galleryHandColored},{to:"/galerie/akryl-på-papir-32x48",label:t.galleryAkryl},{to:"/galerie/akryl-og-collage",label:t.galleryAkrylCollage},{to:"/galerie/akryl-på-a3-papir",label:t.galleryAkrylA3}]},{to:"/exhibitions",label:t.exhibitions},{to:"/photos",label:t.photos,children:[{to:"/photos/catalog-covers",label:t.photosCatalog},{to:"/photos/interior",label:t.photosInterior},{to:"/photos/set-og-sket",label:t.photosAlmindelige}]},{to:"/about",label:t.about},{to:"/contact",label:t.contact}]};jh("da");const xx=v.createContext(null),bx="mgart.lang";function QE(){var r,n;if(typeof window>"u")return"da";const e=window.localStorage.getItem(bx);return e==="da"||e==="en"?e:(((n=(r=window.navigator)==null?void 0:r.language)==null?void 0:n.toLowerCase())??"").startsWith("da")?"da":"en"}const ZE=({children:e})=>{const[t,r]=v.useState(()=>QE()),n=v.useCallback(i=>{r(i);try{window.localStorage.setItem(bx,i)}catch{}},[]);v.useEffect(()=>{typeof document<"u"&&(document.documentElement.lang=t)},[t]);const s=v.useCallback((i,a)=>i.replace(/\{(\w+)\}/g,(l,c)=>String(a[c]??`{${c}}`)),[]),o=v.useMemo(()=>({lang:t,setLang:n,t:yx[t],tf:s}),[t,n,s]);return u.jsx(xx.Provider,{value:o,children:e})},Je=()=>{const e=v.useContext(xx);if(!e)throw new Error("useLang must be used inside <LanguageProvider>");return e},YE=()=>
149u.jsxs("svg",{viewBox:"0 0 28 20","aria-hidden":!0,className:"w-full h-full block",children:[u.jsx("rect",{width:"28",height:"20",fill:"#C8102E"}),u.jsx("rect",{x:"9",width:"3",height:"20",fill:"#fff"}),u.jsx("rect",{y:"8.5",width:"28",height:"3",fill:"#fff"})]}),qE=()=>u.jsxs("svg",{viewBox:"0 0 60 30","aria-hidden":!0,className:"w-full h-full block",children:[u.jsx("clipPath",{id:"gb-clip",children:u.jsx("rect",{width:"60",height:"30"})}),u.jsxs("g",{clipPath:"url(#gb-clip)",children:[u.jsx("rect",{width:"60",height:"30",fill:"#012169"}),u.jsx("path",{d:"M0,0 L60,30 M60,0 L0,30",stroke:"#fff",strokeWidth:"6"}),u.jsx("path",{d:"M0,0 L60,30 M60,0 L0,30",stroke:"#C8102E",strokeWidth:"4",clipPath:"url(#gb-clip)"}),u.jsx("path",{d:"M30,0 V30 M0,15 H60",stroke:"#fff",strokeWidth:"10"}),u.jsx("path",{d:"M30,0 V30 M0,15 H60",stroke:"#C8102E",strokeWidth:"6"})]})]}),XE=({className:e=""})=>{const{lang:t,setLang:r,t:n}=Je(),s="w-7 h-5 md:w-8 md:h-[22px] overflow-hidden border transition-all duration-300 hover:scale-110",o="border-foreground shadow-soft",i="border-border/60 opacity-60 hover:opacity-100";return u.jsxs("div",{className:`flex items-center gap-2 ${e}`,children:[u.jsx("button",{type:"button",onClick:()=>r("da"),"aria-label":n.langSwitcher.switchToDa,"aria-pressed":t==="da",className:`${s} ${t==="da"?o:i}`,children:u.jsx(YE,{})}),u.jsx("button",{type:"button",onClick:()=>r("en"),"aria-label":n.langSwitcher.switchTo,"aria-pressed":t==="en",className:`${s} ${t==="en"?o:i}`,children:u.jsx(qE,{})})]})},JE=()=>{const[e,t]=v.useState(!1),[r,n]=v.useState(null),s=rs(),{lang:o}=Je(),i=jh(o);return v.useEffect(()=>{t(!1),n(null)},[s.pathname]),u.jsxs("header",{className:"fixed inset-x-0 top-0 z-50 bg-white border-b border-border shadow-[0_1px_0_rgba(0,0,0,0.04)]",children:[u.jsxs("div",{className:"container-art flex items-center justify-between py-5",children:[u.jsxs(Bt,{to:"/",className:"flex items-baseline gap-2 text-ink",children:[u.jsx("span",{className:"font-display text-2xl tracking-tight",children:"Michael Grønlund"}),u.jsx("span",{className:"hidden sm:inline text-[10px] uppercase tracking-[0.32em] text-ink-soft",children:"mgart"})]}),u.jsx("nav",{className:"hidden lg:flex items-center gap-8",children:i.map(a=>{var c;const l=!!((c=a.children)!=null&&c.length);return u.jsxs("div",{className:"relative group",children:[u.jsxs(Qa,{to:a.to,end:a.to==="/",className:({isActive:d})=>`link-underline inline-flex items-center gap-1 text-[15px] font-medium tracking-wide transition-colors ${d?"text-foreground":"text-foreground/85 hover:text-foreground"}`,children:[a.label,l&&u.jsx(_m,{className:"h-3 w-3 opacity-60"})]}),l&&u.jsx("div",{className:"absolute left-1/2 -translate-x-1/2 top-full pt-4 opacity-0 invisible translate-y-1 group-hover:opacity-100 group-hover:visible group-hover:translate-y-0 transition-all duration-300 z-50",children:u.jsx("div",{className:"min-w-[260px] bg-background border border-border/70 shadow-soft py-2",children:a.children.map(d=>u.jsx(Qa,{to:d.to,className:({isActive:h})=>`block px-5 py-2.5 text-sm transition-colors ${h?"text-foreground bg-secondary/60":"text-foreground/70 hover:text-foreground hover:bg-secondary/40"}`,children:d.label},d.to))})})]},a.to)})}),u.jsxs("div",{className:"flex items-center gap-4",children:[u.jsx(XE,{}),u.jsx("button",{"aria-label":"Menu",onClick:()=>t(a=>!a),className:"lg:hidden p-2 -mr-2",children:e?u.jsx(Oc,{className:"h-5 w-5"}):u.jsx(MS,{className:"h-5 w-5"})})]})]}),e&&u.jsx("div",{className:"lg:hidden border-t border-border bg-white max-h-[80vh] overflow-y-auto",children:u.jsx("nav",{className:"container-art flex flex-col py-4",children:i.map(a=>{var d;const l=!!((d=a.children)!=null&&d.length),c=r===a.to;return u.jsxs("div",{className:"border-b border-border/40 last:border-0",children:[u.jsxs("div",{className:"flex items-center justify-between",children:[u.jsx(Qa,{to:a.to,end:a.to==="/",className:"flex-1 py-4 text-base tracking-wide",children:a.label}),l&&u.jsx("button",{onClick:()=>n(c?null:a.to),className:"p-3","aria-label":"Toggle submenu",children:u.jsx(_m,{className:`h-4 w-4 transition-transform ${c?"rotate-180":""}`})})]}),l&&c&&u.jsx("div",{className:"pb-4 pl-4 flex flex-col gap-3",children:a.children.map(h=>
149u.jsx(Qa,{to:h.to,className:"text-sm text-foreground/70",children:h.label},h.to))})]},a.to)})})})]})},eC=()=>{const{t:e}=Je(),t=[{to:"/works",label:e.nav.works},{to:"/exhibitions",label:e.nav.exhibitions},{to:"/about",label:e.nav.about},{to:"/contact",label:e.nav.contact}];return u.jsxs("footer",{className:"relative border-t border-border bg-canvas/40",children:[u.jsxs("div",{className:"container-art pt-12 md:pt-16 pb-12",children:[u.jsx("p",{className:"eyebrow mb-8",children:e.footer.atelierEyebrow}),u.jsxs("p",{className:"font-display text-3xl md:text-5xl leading-[1.1] max-w-4xl text-balance",children:[u.jsx("em",{className:"not-italic text-foreground",children:'"'}),e.footer.statement,u.jsx("em",{className:"not-italic text-foreground",children:'"'})]}),u.jsx("p",{className:"mt-6 text-xs uppercase tracking-[0.32em] text-ink-soft",children:"— Michael Grønlund"})]}),u.jsx("div",{className:"border-t border-border/70",children:u.jsxs("div",{className:"container-art py-14 md:py-20",children:[u.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-12 gap-12",children:[u.jsxs("div",{className:"md:col-span-5",children:[u.jsx("p",{className:"font-display text-3xl md:text-4xl leading-tight text-foreground",children:"Michael Grønlund"}),u.jsx("p",{className:"mt-3 text-[11px] uppercase tracking-[0.32em] text-ink-soft",children:e.footer.subtitle}),u.jsxs("p",{className:"mt-8 text-sm text-ink-soft leading-relaxed max-w-sm",children:[e.footer.atelierLine1,u.jsx("br",{}),e.footer.atelierLine2]})]}),u.jsxs("nav",{"aria-label":"Footer",className:"md:col-span-3",children:[u.jsx("p",{className:"text-[10px] uppercase tracking-[0.34em] text-ink-soft mb-5",children:e.footer.universe}),u.jsx("ul",{className:"space-y-3",children:t.map(r=>u.jsx("li",{children:u.jsx(Bt,{to:r.to,className:"font-display text-xl text-foreground hover:text-terracotta transition-colors duration-500",children:r.label})},r.to))})]}),u.jsxs("div",{className:"md:col-span-4",children:[u.jsx("p",{className:"text-[10px] uppercase tracking-[0.34em] text-ink-soft mb-5",children:e.footer.contact}),u.jsx("a",{href:"mailto:[email protected]",className:"block font-display text-xl text-foreground link-underline",children:"[email protected]"})]})]}),u.jsxs("div",{className:"mt-16 pt-8 border-t border-border/70 flex flex-col md:flex-row md:items-center md:justify-between gap-4",children:[u.jsxs("p",{className:"text-[11px] uppercase tracking-[0.28em] text-ink-soft",children:["© ",new Date().getFullYear()," Michael Grønlund · ",e.footer.rights]}),u.jsx("p",{className:"text-[11px] uppercase tracking-[0.28em] text-ink-soft",children:e.footer.tagline})]})]})})]})},tC=()=>u.jsxs("div",{className:"bg-background text-foreground min-h-screen flex flex-col",children:[u.jsx(JE,{}),u.jsx("main",{className:"flex-1",children:u.jsx(Sk,{})}),u.jsx(eC,{}),u.jsx(Wk,{})]}),rC="/assets/hero-studio-C8iz6r-i.jpg",nC=()=>{const{t:e}=Je();return u.jsxs("section",{id:"top",className:"relative min-h-[100svh] grid grid-cols-1 lg:grid-cols-12 overflow-hidden",children:[u.jsx("div",{className:"relative z-10 lg:col-span-6 xl:col-span-5 flex flex-col justify-between bg-background pt-32 lg:pt-40 pb-12 px-6 md:px-12 lg:pl-32 xl:pl-40 lg:pr-8",children:u.jsxs("div",{className:"fade-up",children:[u.jsx("p",{className:"eyebrow mb-10",children:e.hero.eyebrow}),u.jsxs("h1",{className:"font-display text-[clamp(2.75rem,7vw,5.5rem)] leading-[0.95] text-balance italic text-terracotta",children:[e.hero.title1,u.jsx("span",{className:"block",children:e.hero.title2})]}),u.jsx("div",{className:"mt-10 max-w-md",children:u.jsxs("p",{className:"text-lg text-ink-soft leading-relaxed text-pretty",children:[e.hero.intro1," ",u.jsx("span",{className:"text-foreground",children:"Michael Grønlund"})," ",e.hero.intro2]})}),u.jsxs("div",{className:"mt-12 flex flex-wrap items-center gap-x-8 gap-y-4",children:[u.jsxs(Bt,{to:"/works",className:"group inline-flex items-center gap-3 bg-ink text-primary-foreground px-7 py-4 text-[11px] tracking-[0.3em] uppercase hover:bg-terracotta transition-colors duration-500",children:[e.hero.ctaWorks,u.jsx("span",{className:"inline-block transition-transform duration-500 group-hover:translate-x-1",children:"→"})]}
149),u.jsx(Bt,{to:"/exhibitions",className:"link-underline text-[11px] tracking-[0.3em] uppercase text-foreground",children:e.hero.ctaExhibitions})]})]})}),u.jsxs("div",{className:"relative lg:col-span-6 xl:col-span-7 min-h-[55vh] lg:min-h-screen",children:[u.jsx("img",{src:rC,alt:e.hero.studioAlt,className:"absolute inset-0 h-full w-full object-cover ken-burns",width:1536,height:1280}),u.jsx("div",{className:"absolute inset-y-0 left-0 w-32 bg-gradient-to-r from-background to-transparent hidden lg:block"}),u.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background/30 via-transparent to-transparent lg:hidden"}),u.jsxs("figure",{className:"absolute bottom-8 right-8 hidden md:flex items-end gap-4 bg-background/85 backdrop-blur-sm px-5 py-4 max-w-xs shadow-soft",children:[u.jsx("span",{className:"font-display text-2xl text-terracotta leading-none",children:'"'}),u.jsxs("figcaption",{className:"text-xs leading-relaxed text-ink-soft",children:[u.jsx("span",{className:"block italic font-display text-lg text-ink mb-1",children:e.hero.quote}),"— Michael Grønlund"]})]})]})]})},sC="/assets/crowd-in-motion-Cx0bypNx.jpg",oC="/assets/1-BqVsJCNn.jpg",iC="/assets/18-DuQpxag7.jpg",aC="/assets/2-DZvjBvt2.jpg",lC="/assets/24-Bv5-RaM4.jpg",cC="/assets/26-D725cjfU.jpg",uC="/assets/27-CayF_muF.jpg",dC="/assets/28-XYaRzXo4.jpg",fC="/assets/31-DUBmuVnZ.jpg",hC="/assets/32-OX8DW6ZC.jpg",pC="/assets/33-CENDIF1g.jpg",mC="/assets/34-BTMcVOce.jpg",gC="/assets/35-DYr1QlwE.jpg",vC="/assets/36-C_HN8PBG.jpg",yC="/assets/37-BphV2FIi.jpg",xC="/assets/38-BToGhCj5.jpg",bC="/assets/39-CP3B_1ub.jpg",wC="/assets/40-8cfScUDT.jpg",_C="/assets/41-DGn8dgig.jpg",kC="/assets/42-D332MWIn.jpg",jC="/assets/43-CjOntqZC.jpg",SC="/assets/44-Bmu8WHew.jpg",EC="/assets/45-BrbKDwHP.jpg",CC="/assets/46-tYs5qp03.jpg",NC="/assets/47-C-WDKORr.jpg",TC="/assets/48-Bn0JMbow.jpg",PC="/assets/49-Bt03mI7_.jpg",AC="/assets/10-jdZNQfhv.jpg",RC="/assets/13-CT7zNGo8.jpg",DC="/assets/16-C42NphrV.jpg",MC="/assets/17-BTKWUoj7.jpg",OC="/assets/18-DKucrJLw.jpg",LC="/assets/19-TUcYIdHP.jpg",FC="/assets/20-DcU_syuz.jpg",IC="/assets/21-BWD7J9kG.jpg",$C="/assets/22-DANV33hk.jpg",BC="/assets/23-vPyfMrOY.jpg",zC="/assets/4-pg2U8HRf.jpg",UC="/assets/5-V1t2gmuJ.jpg",KC="/assets/9-CP28uxzX.jpg",VC="/assets/1-DO1U-FX_.jpg",HC="/assets/10-BaXreOHI.jpg",WC="/assets/11-C8zbpcjy.jpg",GC="/assets/12-CvcmuV0a.jpg",QC="/assets/13-DSzF_Mec.jpg",ZC="/assets/14-CzEbO27o.jpg",YC="/assets/15-DJHaIcVz.jpg",qC="/assets/16-z_j5vV6n.jpg",XC="/assets/17-DzU4Dy_1.jpg",JC="/assets/18-BmMiVEAY.jpg",eN="/assets/19-is0Nop9H.jpg",tN="/assets/2-DljGkdHu.jpg",rN="/assets/20-BiBw7-No.jpg",nN="/assets/3-BqhTkd9w.jpg",sN="/assets/4-B1mOJmU6.jpg",oN="/assets/5-BCYf_I1V.jpg",iN="/assets/6-CLrvduHu.jpg",aN="/assets/7-tWQzUpxQ.jpg",lN="/assets/8-Dj-7ZU5U.jpg",cN="/assets/9-DjVBPTmh.jpg",uN="/assets/1-yafaGKcY.jpg",dN="/assets/10-DHFBlXOR.jpg",fN="/assets/11-Buv2iyLs.jpg",hN="/assets/12-tQcIfiOP.jpg",pN="/assets/13-DxN9_VKU.jpg",mN="/assets/14-BU0DoXP7.jpg",gN="/assets/15--3W0kiyQ.jpg",vN="/assets/16-CIQ4Moyo.jpg",yN="/assets/17-BaE6tw0i.jpg",xN="/assets/18-Cq6EVMDh.jpg",bN="/assets/19-D_K9d8xs.jpg",wN="/assets/2-BoUnyR0S.jpg",_N="/assets/3-oUGc4d9N.jpg",kN="/assets/4-CU9WRH5c.jpg",jN="/assets/5-BzfHpw25.jpg",SN="/assets/6-D1ZqrpsG.jpg",EN="/assets/7-D5gXwP_D.jpg",CN="/assets/8-BnDCGQIh.jpg",NN="/assets/9-Bjtw8Smc.jpg",TN="/assets/1-0VKe5TXq.jpg",PN="/assets/2-Dvt9uJ-B.jpg",AN="/assets/3-DEUbPSUP.jpg",RN="/assets/4-7Hh6YULm.jpg",DN="/assets/5-DhcRwjPk.jpg",MN="/assets/6-D-8-gE4g.jpg",ON="/assets/1-CWdvgBOC.jpg",LN="/assets/2-D27QOLzU.jpg",FN="/assets/1-D7XB1DI-.jpg",IN="/assets/2-Dz89Czvp.jpg",$N="/assets/3-CrDKcUuF.jpg",BN="/assets/4-B4WOUmPd.jpg",zN="/assets/5-ChDp-7Cm.jpg",UN=Object.assign({"/src/assets/galleri/abstrakte/1.jpg":oC,"/src/assets/galleri/abstrakte/18.jpg":iC,"/src/assets/galleri/abstrakte/2.jpg":aC,"/src/assets/galleri/abstrakte/24.jpg":lC,"/src/assets/galleri/abstrakte/26.jpg":cC,"/src/assets/galleri/abstrakte/27.jpg":uC,"/src/assets/galleri/abstrakte/28.jpg":dC,"/src/assets/galleri/abstrakte/31.jpg":fC,"/src/assets/galleri/abstrakte/32.jpg":hC,"/src/assets/galleri/abstrakte/33.jpg":pC,"/src/assets/galleri/abstrakte/34.jpg":mC,"/src/assets/galleri/abstrakte/35.jpg":gC,"/src/assets/galleri/abstrakte/36.jpg":vC,"/src/assets/galleri/abstrakte/37.jpg":yC,"/src/assets/galleri/abstrakte/38.jpg":xC,"/src/assets/galleri/abstrakte/39.jpg":bC,"/src/assets/galleri/abstrakte/40.jpg":wC,"/src/assets/galleri/abstrakte/41.jpg":_C,"/src/assets/galleri/abstrakte/42.jpg":kC,"/src/assets/galleri/abstrakte/43.jpg":jC,"/src/assets/galleri/abstrakte/44.jpg":SC,"/src/assets/galleri/abstrakte/45.jpg":EC,"/src/assets/galleri/abstrakte/46.jpg":CC,"/src/assets/galleri/abstrakte/47.jpg":NC,"/src/assets/galleri/abstrakte/48.jpg":TC,"/src/assets/galleri/abstrakte/49.jpg":PC}),KN=Object.assign({"/src/assets/galleri/grafiske/10.jpg":AC,"/src/assets/galleri/grafiske/13.jpg":RC,"/src/assets/galleri/grafiske/16.jpg":DC,"/src/assets/galleri/grafiske/17.jpg":MC,"/src/assets/galleri/grafiske/18.jpg":OC,"/src/assets/galleri/grafiske/19.jpg":LC,"/src/assets/galleri/grafiske/20.jpg":FC,"/src/assets/galleri/grafiske/21.jpg":IC,"/src/assets/galleri/grafiske/22.jpg":$C,"/src/assets/galleri/grafiske/23.jpg":BC,"/src/assets/galleri/grafiske/4.jpg":zC,"/src/assets/galleri/grafiske/5.jpg":UC,"/src/assets/galleri/grafiske/9.jpg":KC}),VN=Object.assign({"/src/assets/galleri/håndkolorede/1.jpg":VC,"/src/assets/galleri/håndkolorede/10.jpg":HC,"/src/assets/galleri/håndkolorede/11.jpg":WC,"/src/assets/galleri/håndkolorede/12.jpg":GC,"/src/assets/galleri/håndkolorede/13.jpg":QC,"/src/assets/galleri/håndkolorede/14.jpg":ZC,"/src/assets/galleri/håndkolorede/15.jpg":YC,"/src/assets/galleri/håndkolorede/16.jpg":qC,"/src/assets/galleri/håndkolorede/17.jpg":XC,"/src/assets/galleri/håndkolorede/18.jpg":JC,"/src/assets/galleri/håndkolorede/19.jpg":eN,"/src/assets/galleri/håndkolorede/2.jpg":tN,"/src/assets/galleri/håndkolorede/20.jpg":rN,"/src/assets/galleri/håndkolorede/3.jpg":nN,"/src/assets/galleri/håndkolorede/4.jpg":sN,"/src/assets/galleri/håndkolorede/5.jpg":oN,"/src/assets/galleri/håndkolorede/6.jpg":iN,"/src/assets/galleri/håndkolorede/7.jpg":aN,"/src/assets/galleri/håndkolorede/8.jpg":lN,"/src/assets/galleri/håndkolorede/9.jpg":cN}),HN=Object.assign({"/src/assets/galleri/interior/1.jpg":uN,"/src/assets/galleri/interior/10.jpg":dN,"/src/assets/galleri/interior/11.jpg":fN,"/src/assets/galleri/interior/12.jpg":hN,"/src/assets/galleri/interior/13.jpg":pN,"/src/assets/galleri/interior/14.jpg":mN,"/src/assets/galleri/interior/15.jpg":gN,"/src/assets/galleri/interior/16.jpg":vN,"/src/assets/galleri/interior/17.jpg":yN,"/src/assets/galleri/interior/18.jpg":xN,"/src/assets/galleri/interior/19.jpg":bN,"/src/assets/galleri/interior/2.jpg":wN,"/src/assets/galleri/interior/3.jpg":_N,"/src/assets/galleri/interior/4.jpg":kN,"/src/assets/galleri/interior/5.jpg":jN,"/src/assets/galleri/interior/6.jpg":SN,"/src/assets/galleri/interior/7.jpg":EN,"/src/assets/galleri/interior/8.jpg":CN,"/src/assets/galleri/interior/9.jpg":NN}),WN=Object.assign({"/src/assets/galleri/akryl-32x48/1.jpg":TN,"/src/assets/galleri/akryl-32x48/2.jpg":PN,"/src/assets/galleri/akryl-32x48/3.jpg":AN,"/src/assets/galleri/akryl-32x48/4.jpg":RN,"/src/assets/galleri/akryl-32x48/5.jpg":DN,"/src/assets/galleri/akryl-32x48/6.jpg":MN}),GN=Object.assign({"/src/assets/galleri/akryl-a3/1.jpg":ON,"/src/assets/galleri/akryl-a3/2.jpg":LN}),QN=Object.assign({"/src/assets/galleri/akryl-collage/1.jpg":FN,"/src/assets/galleri/akryl-collage/2.jpg":IN,"/src/assets/galleri/akryl-collage/3.jpg":$N,"/src/assets/galleri/akryl-collage/4.jpg":BN,"/src/assets/galleri/akryl-collage/5.jpg":zN}),ZN={"grafiske-værker/4":"Witch way to Xanadu, 60x50","grafiske-værker/5":"Model from Greenwich Village, 80x80","grafiske-værker/9":"The glasses of love 30x90","grafiske-værker/10":"Town square goodbye, 100x100","grafiske-værker/13":"Looking out for the elefant, 80x80","grafiske-værker/16":"Sidewalk café, 100x100","grafiske-værker/17":"Last smoke - ever, 80x80","grafiske-værker/18":"Happy face, 80x80","grafiske-værker/19":"Another cool guy passing by, 80x80","grafiske-værker/20":"A little brake between the dances, 100x100","grafiske-værker/21":"Cuban ballroom dancing, 100x100","grafiske-værker/22":"An early start, 90x80","grafiske-værker/23":"Somewhere in Havana, 90x80","abstrakte-værker/1":"Terracotta Army, 120x150 (Privateje)","abstrakte-værker/2":"C
149onfrontation, 100x100","abstrakte-værker/18":"Meeting in a Finish sauna, 80x100","abstrakte-værker/24":"Crowd moving around, 80x100","abstrakte-værker/26":"Body shapes, 100x125","abstrakte-værker/27":"Anonymous fathers, 80x160","abstrakte-værker/28":"Meeting the strangers, 130x180","abstrakte-værker/31":"Human Fiction, 80x100","abstrakte-værker/32":"The poets entourage, 80x100","abstrakte-værker/33":"Enjoying the last light of the day, 50x50","abstrakte-værker/34":"The tribe meet, 50x50","abstrakte-værker/35":"Who is watching who, 50x50","abstrakte-værker/36":"Social meeting, 80x100","abstrakte-værker/37":"Midnight at the Southern, 80x100","abstrakte-værker/38":"Seek and you will find, 80x160","abstrakte-værker/39":"Dancing is happiness, 80x160","abstrakte-værker/40":"Barely visible in the fog, 30x90","abstrakte-værker/41":"Enjoying the last light of the day, 40x40","abstrakte-værker/42":"Waiting for good vibes, 40x40","abstrakte-værker/43":"I am who I am, 40x40","abstrakte-værker/44":"Female super power, 40x40","abstrakte-værker/45":"Messing around, 40x40","abstrakte-værker/46":"What remains, 100x100","abstrakte-værker/47":"Somewhere in between, 80x80","abstrakte-værker/48":"Before we forget, 80x80","abstrakte-værker/49":"Before we disappears, 100x125","håndkolorede-tryk/1":"Do you still think you are funny!!, A3","håndkolorede-tryk/2":"It was a hair-raising experience, A3","håndkolorede-tryk/3":"Could any of these jerks be my father, A3","håndkolorede-tryk/4":"Under the shadow of my hat, A3","håndkolorede-tryk/5":"I'm watching you, Babe, A3","håndkolorede-tryk/6":"Totally relaxed, A3","håndkolorede-tryk/7":"Just saw him passing by, A3","håndkolorede-tryk/8":"Frogman of the Year, A3","håndkolorede-tryk/9":"The last smoke - ever, A3","håndkolorede-tryk/10":"Silent days on the sunny side of the street, A3","håndkolorede-tryk/11":"Smoking Havana in Louisiana, A3","håndkolorede-tryk/12":"Under the shadow of my hat, A3","håndkolorede-tryk/13":"Lucy in the sky with diamonds, A3","håndkolorede-tryk/14":"Enjoying my new hairstyle, A3","håndkolorede-tryk/15":"Under the shadow of my hat, A3","håndkolorede-tryk/16":"Getting ready for the Carnival, A3","håndkolorede-tryk/17":"Queen of Caribbean, A3","håndkolorede-tryk/18":"Do you have to wake me up so early, A3","håndkolorede-tryk/19":"Curly hair in the sunset, A3","håndkolorede-tryk/20":"Mature beauty, A3"};function fs(e,t,r){return Object.entries(e).map(([n,s])=>{const o=n.split("/").pop()??n,i=parseInt(o.replace(/\D/g,""),10)||0;return{src:s,num:i,file:o}}).sort((n,s)=>n.num-s.num).map(({src:n,num:s})=>({src:n,slug:t,num:s,title:`${r} nr. ${s}`,customTitle:ZN[`${t}/${s}`]}))}const Un={"abstrakte-værker":fs(UN,"abstrakte-værker","Abstrakt værk"),"grafiske-værker":fs(KN,"grafiske-værker","Grafisk værk"),"håndkolorede-tryk":fs(VN,"håndkolorede-tryk","Håndkoloreret tryk"),interior:fs(HN,"interior","Interiør"),"akryl-på-papir-32x48":fs(WN,"akryl-på-papir-32x48","Akryl på papir"),"akryl-på-a3-papir":fs(GN,"akryl-på-a3-papir","Akryl på A3 papir"),"akryl-og-collage":fs(QN,"akryl-og-collage","Akryl og collage")},YN=()=>{var o;const{t:e,tf:t}=Je(),n=(Un["abstrakte-værker"]??[]).find(i=>i.num===18),s=((o=e.series["abstrakte-værker"])==null?void 0:o.item)??"{n}";return u.jsx("section",{className:"py-28 md:py-40",children:u.jsxs("div",{className:"container-art grid grid-cols-1 lg:grid-cols-12 gap-12 lg:gap-20 items-center",children:[u.jsxs("div",{className:"lg:col-span-5 order-2 lg:order-1 grid grid-cols-2 gap-5",children:[u.jsx("figure",{className:"group",children:u.jsx("div",{className:"aspect-[4/5] w-full bg-secondary overflow-hidden",children:u.jsx("img",{src:sC,alt:"Crowd in motion",loading:"eager",decoding:"async",className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-[1.03]"})})}),u.jsx("div",{className:"mt-12",children:n?u.jsx("figure",{className:"group",children:u.jsx("div",{className:"aspect-[4/5] w-full bg-secondary overflow-hidden",children:u.jsx("img",{src:n.src,alt:t(s,{n:n.num}),loading:"eager",decoding:"async",className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-[1.03]"})})}):u.jsx("div",{className:"aspect-[4/5] w-full bg-secondary border border-dashed border-border"})})]}),u.jsxs("div",{className:"lg:col-span-6 lg:col-start-7 order-1 lg:order-2 lg:pl-16 xl:pl-24",children:[u.jsxs("h2",{className:"font-display text-4xl md:text-5xl lg:text-6xl leading-[1.05] text-balance",children:[e.home.titleBefore," ",u.
149jsx("em",{className:"text-terracotta",children:e.home.titleEm})," ",e.home.titleAfter]}),u.jsx("p",{className:"mt-8 text-lg text-ink-soft leading-relaxed max-w-lg",children:e.home.body}),u.jsxs("div",{className:"mt-10 flex flex-wrap gap-x-8 gap-y-4",children:[u.jsx(Bt,{to:"/works",className:"link-underline text-[11px] tracking-[0.3em] uppercase",children:e.home.ctaWorks}),u.jsx(Bt,{to:"/about",className:"link-underline text-[11px] tracking-[0.3em] uppercase text-ink-soft",children:e.home.ctaAbout})]})]})]})})},$o="/assets/galleri-havn-BK0ehjYO.jpg",wx="/assets/artweek-B6E7mH50.jpg",zc="/assets/galleri-sommerlyst-Bc1Up7a1.jpg",_x="/assets/fredericia-C1G2clQW.jpg",qN=1,XN="48ed640b-0304-4c27-b593-0fc3c47cf15c",JN="46f8b3a4-a9d4-4d03-9bf7-bbd0dd5f45d5",eT="/__l5e/assets-v1/48ed640b-0304-4c27-b593-0fc3c47cf15c/art-hilleroed.png",tT="a/v1/46f8b3a4-a9d4-4d03-9bf7-bbd0dd5f45d5/48ed640b-0304-4c27-b593-0fc3c47cf15c/art-hilleroed.png",rT="art-hilleroed.png",nT=1210732,sT="image/png",oT="2026-06-10T09:03:38Z",kx={version:qN,asset_id:XN,project_id:JN,url:eT,r2_key:tT,original_filename:rT,size:nT,content_type:sT,created_at:oT},iT=1,aT="5fbbdfe6-b7a2-4bcb-8814-d867e9b26714",lT="46f8b3a4-a9d4-4d03-9bf7-bbd0dd5f45d5",cT="/__l5e/assets-v1/5fbbdfe6-b7a2-4bcb-8814-d867e9b26714/faengslet-horsens.png",uT="a/v1/46f8b3a4-a9d4-4d03-9bf7-bbd0dd5f45d5/5fbbdfe6-b7a2-4bcb-8814-d867e9b26714/faengslet-horsens.png",dT="faengslet-horsens.png",fT=1919529,hT="image/png",pT="2026-06-10T09:20:25Z",jx={version:iT,asset_id:aT,project_id:lT,url:cT,r2_key:uT,original_filename:dT,size:fT,content_type:hT,created_at:pT},mT="/assets/fpt-0D5ZEA93.jpg",gT=1,vT="79908a15-077a-465a-82d6-013ce9629950",yT="46f8b3a4-a9d4-4d03-9bf7-bbd0dd5f45d5",xT="/__l5e/assets-v1/79908a15-077a-465a-82d6-013ce9629950/galleri-havn-logo.png",bT="a/v1/46f8b3a4-a9d4-4d03-9bf7-bbd0dd5f45d5/79908a15-077a-465a-82d6-013ce9629950/galleri-havn-logo.png",wT="galleri-havn-logo.png",_T=23294,kT="image/webp",jT="2026-09-16T11:38:28Z",ST={version:gT,asset_id:vT,project_id:yT,url:xT,r2_key:bT,original_filename:wT,size:_T,content_type:kT,created_at:jT},Sx={januar:"January",februar:"February",marts:"March",april:"April",maj:"May",juni:"June",juli:"July",august:"August",september:"September",oktober:"October",november:"November",december:"December"},ET=Object.values(Sx),Om=(e,t)=>{let r=e.replace(/\./g,"");if(t==="da")for(const[c,d]of Object.entries(Sx))r=r.replace(c,d);const n=r.toLowerCase(),s=r.match(/\b(\d{4})\b/),o=s?parseInt(s[1],10):new Date().getFullYear(),i=ET.findIndex(c=>n.includes(c.toLowerCase())),a=r.match(/\b(\d{1,2})\b/),l=a?parseInt(a[1],10):1;return new Date(o,Math.max(i,0),l).getTime()},el={"Galleri Havn":$o,"Galleri HAVN":$o,"Anexet ved Lundsgaard Gods":wx,"Galleri Sommerlyst":zc,Eksiserhuset:_x,"Royal Stage":kx.url,"Fængslet Horsens":jx.url},CT=new Set([zc]),NT=e=>{if(el[e.venue])return el[e.venue];if(el[e.title])return el[e.title];if(e.address.startsWith("Grønlandsgade 13"))return $o},TT=()=>{const{lang:e,t}=Je(),r=[...vx[e]].sort((n,s)=>Om(n.date,e)-Om(s.date,e)).slice(0,3);return u.jsx("section",{className:"pt-0 pb-8 md:pb-12 bg-background text-foreground",children:u.jsxs("div",{className:"container-art",children:[u.jsxs("div",{className:"max-w-2xl -mt-8 md:-mt-12 mb-6 md:mb-8",children:[u.jsx("h2",{className:"font-display text-4xl md:text-5xl lg:text-6xl leading-[1.05] text-balance",children:u.jsxs("a",{href:"https://gallerihavn.dk/gallery/michael-gronlund-2/",className:"hover:text-terracotta transition-colors",children:[t.home.collabTitle," ",u.jsx("em",{className:"text-terracotta",children:t.home.collabEm})]})}),u.jsx("p",{className:"text-ink-soft mt-2 md:mt-3 text-base md:text-lg",children:"Grønlandsgade 13, 5300 Kerteminde"})]}),u.jsxs("a",{href:"https://gallerihavn.dk/gallery/michael-gronlund-2/",className:"relative block mb-12 md:mb-16 group cursor-pointer","aria-label":"Galleri HAVN — Michael Grønlund",children:[u.jsx("img",{src:mT,alt:"Galleri HAVN om aftenen — oplyste vinduer med malerier og skulpturer",loading:"lazy",className:"w-full h-auto object-cover"}),u.jsx("img",{src:ST.url,alt:"Galleri HAVN logo",loading:"lazy",className:"absolute bottom-4 right-4 md:bottom-8 md:right-8 w-32 md:w-52 h-auto invert drop-shadow-[0_2px_8px_rgba(0,0,0,0.35)]"})]}),u.jsxs("div",{className:"flex flex-col md:flex-row md:items-end md:justify-between gap-6 mt-16 md:mt-24 mb-12 md:mb-16",children:[u.jsxs("div",{children:[u.jsx("p",{className:"eyebrow mb-6 text-terracotta text-base md:text-lg tracking-[0.3em]",children:t.upcoming.eyebrow}),u.jsxs("h2",{className:"font-display text-4xl md:text-5xl lg:text-6xl leading-[1.05] text-balance max-w-2xl",children:[t.upcoming.titleBefore," ",u.
149jsx("em",{className:"text-terracotta",children:t.upcoming.titleEm}),t.upcoming.titleAfter]})]}),u.jsx(Bt,{to:"/exhibitions",className:"link-underline text-[11px] tracking-[0.3em] uppercase text-ink-soft self-start md:self-end",children:t.upcoming.viewAll})]}),u.jsx("ul",{className:"divide-y divide-border border-y border-border",children:r.map(n=>{const s=NT(n),o=s?CT.has(s):!1;return u.jsxs("li",{className:"grid grid-cols-1 md:grid-cols-12 gap-6 md:gap-8 py-8 md:py-10 items-center",children:[u.jsx("div",{className:"md:col-span-3",children:s?u.jsx("figure",{className:`aspect-[4/3] overflow-hidden ${o?"bg-black":"bg-muted"}`,children:u.jsx("img",{src:s,alt:`${n.title} — ${n.venue}`,loading:"lazy",className:`w-full h-full ${o?"object-contain":"object-cover"} transition-transform duration-[1200ms] ease-out hover:scale-[1.03]`})}):u.jsx("p",{className:"font-display text-2xl md:text-3xl text-terracotta",children:n.date})}),u.jsx("div",{className:"md:col-span-2",children:u.jsx("p",{className:"font-display text-xl md:text-2xl text-terracotta leading-tight",children:n.date})}),u.jsxs("div",{className:"md:col-span-4",children:[u.jsx("h3",{className:"font-display text-2xl md:text-3xl",children:n.title}),"subtitle"in n&&n.subtitle&&u.jsx("p",{className:"text-ink-soft mt-1 whitespace-pre-line",children:n.subtitle}),u.jsx("p",{className:"text-ink-soft mt-2 whitespace-pre-line",children:n.venue})]}),u.jsx("div",{className:"md:col-span-3 md:text-right text-ink-soft/80 text-sm leading-relaxed",children:n.address})]},n.date+n.venue)})})]})})},Vt=(e,t)=>{v.useEffect(()=>{document.title=e;let r=document.querySelector('meta[name="description"]');r||(r=document.createElement("meta"),r.setAttribute("name","description"),document.head.appendChild(r)),r.setAttribute("content",t);let n=document.querySelector('link[rel="canonical"]');n||(n=document.createElement("link"),n.setAttribute("rel","canonical"),document.head.appendChild(n)),n.setAttribute("href",window.location.origin+window.location.pathname)},[e,t])},PT=()=>{const{lang:e}=Je();return Vt(e==="da"?"Michael Grønlund — Når livet bliver til kunst":"Michael Grønlund — When life becomes art",e==="da"?"Malerier af Michael Grønlund (mgart). Atelier i Kerteminde. Se udvalgte værker og kommende udstillinger.":"Paintings by Michael Grønlund (mgart). Studio in Kerteminde. See selected works and upcoming exhibitions."),u.jsxs(u.Fragment,{children:[u.jsx(nC,{}),u.jsx(YN,{}),u.jsx(TT,{})]})},$r=({eyebrow:e,title:t,intro:r})=>u.jsx("header",{className:"pt-28 md:pt-32 pb-8 md:pb-12 border-b border-border",children:u.jsxs("div",{className:"container-art",children:[u.jsx("p",{className:"eyebrow mb-8",children:e}),u.jsx("h1",{className:"font-display text-5xl md:text-7xl leading-[0.98] text-balance max-w-4xl",children:t}),r&&u.jsx("p",{className:"mt-8 max-w-xl text-lg text-ink-soft leading-relaxed text-pretty",children:r})]})}),Uc=({artworks:e,index:t,onClose:r,onIndexChange:n})=>{const s=e[t],o=e.length,i=v.useRef(null),[a,l]=v.useState(!1),c=()=>n((t-1+o)%o),d=()=>n((t+1)%o);if(v.useEffect(()=>{l(!1)},[t]),v.useEffect(()=>{const f=m=>{m.key==="Escape"?r():m.key==="ArrowLeft"?c():m.key==="ArrowRight"&&d()};window.addEventListener("keydown",f);const w=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{window.removeEventListener("keydown",f),document.body.style.overflow=w}},[t,o]),!s)return null;const h=f=>{i.current=f.touches[0].clientX},p=f=>{if(i.current===null)return;const w=f.changedTouches[0].clientX-i.current;Math.abs(w)>50&&(w>0?c():d()),i.current=null};return u.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":s.title,className:"fixed inset-0 z-[100] flex flex-col bg-black/90 backdrop-blur-sm animate-in fade-in duration-200",onClick:r,onTouchStart:h,onTouchEnd:p,children:[u.jsx("button",{type:"button",onClick:f=>{f.stopPropagation(),r()},"aria-label":"Luk",className:"absolute top-4 right-4 md:top-6 md:right-6 z-10 inline-flex h-12 w-12 items-center justify-center rounded-full bg-white/10 text-white hover:bg-white/20 transition-colors",children:u.jsx(Oc,{className:"h-6 w-6"})}),o>1&&u.jsxs("div",{className:"absolute top-6 left-6 z-10 text-xs uppercase tracking-[0.3em] text-white/70",children:[t+1," / ",o]}),o>1&&u.jsx("button",{type:"button",onClick:f=>{f.stopPropagation(),c()},"aria-label":"Forrige værk",className:"hidden md:inline-flex absolute left-4 top-1/2 -translate-y-1/2 z-10 h-12 w-12 items-center justify-center rounded-full bg-white/10 text-white hover:bg-white/20 transition-colors",children:u.jsx(PS,{className:"h-7 w-7"})}),o>1&&u.jsx("button",{type:"button",onClick:f=>{f.stopPropagation(),d()},"aria-label":"Næste værk",className:"hidden md:inline-flex absolute right-4 top-1/2 -translate-y-1/2 z-10 h-12 w-12 items-center justify-center rounded-full bg-white/10 text-white hover:bg-white/20 transition-colors",children:u.jsx(AS,{className:"h-7 w-7"})}),u.jsx("div",{className:"relative flex-1 flex items-center justify-center p-4 md:p-12 min-h-0",children:u.jsx("img",{src:s.src,alt:s.title,onLoad:()=>l(!0),onClick:f=>f.stopPropagation(),className:`max-h-full max-w-full object-contain shadow-2xl transition-opacity duration-300 ${a?"opacity-100":"opacity-0"}`},s.src)}),u.jsxs("div",{className:"px-6 pb-8 md:pb-10 text-center text-white/85",onClick:f=>f.stopPropagation(),children:[u.jsx("p",{className:"font-display text-lg md:text-xl",children:s.title}),s.medium||s.year?u.jsx("p",{className:"mt-1 text-xs md:text-sm uppercase tracking-[0.25em] text-white/55",children:[s.medium,s.year].filter(
149Boolean).join(" · ")}):null]})]})},AT=["abstrakte-værker","grafiske-værker","håndkolorede-tryk","interior"],RT=()=>{const{t:e,tf:t}=Je();Vt(e.works.metaTitle,e.works.metaDesc);const r=v.useMemo(()=>{const o=[];return AT.forEach(i=>{var d,h;const a=Un[i]??[],l=((d=e.series[i])==null?void 0:d.label)??i,c=((h=e.series[i])==null?void 0:h.item)??"{n}";a.slice(0,3).forEach(p=>o.push({src:p.src,slug:i,num:p.num,title:p.customTitle??t(c,{n:p.num}),seriesLabel:l}))}),o},[e,t]),[n,s]=v.useState(null);return u.jsxs(u.Fragment,{children:[u.jsx($r,{eyebrow:e.works.eyebrow,title:u.jsxs(u.Fragment,{children:[e.works.titleBefore," ",u.jsx("em",{className:"text-terracotta",children:e.works.titleEm})," ",e.works.titleAfter]}),intro:e.works.intro}),u.jsx("section",{className:"py-20 md:py-28 bg-canvas",children:u.jsxs("div",{className:"container-art",children:[u.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-x-8 gap-y-12",children:r.map((o,i)=>u.jsxs("figure",{className:"group flex flex-col",children:[u.jsx("button",{type:"button",onClick:()=>s(i),"aria-label":t(e.works.openFull,{title:o.title}),className:"block w-full aspect-[4/3] bg-secondary overflow-hidden cursor-zoom-in",children:u.jsx("img",{src:o.src,alt:o.title,loading:i<6?"eager":"lazy",decoding:"async",className:"w-full h-full object-contain p-3 transition-transform duration-700 group-hover:scale-[1.02]"})}),u.jsxs("figcaption",{className:"mt-4 text-sm text-ink-soft text-center",children:[u.jsx("span",{className:"block",children:o.title}),u.jsxs(Bt,{to:`/galerie/${o.slug}`,className:"mt-1 inline-block text-xs uppercase tracking-[0.25em] text-terracotta hover:underline",children:[o.seriesLabel," →"]})]})]},o.src))}),u.jsx("div",{className:"mt-20 text-center",children:u.jsx(Bt,{to:"/galerie",className:"inline-block border border-ink px-8 py-4 text-xs uppercase tracking-[0.25em] text-ink hover:bg-ink hover:text-canvas transition-colors",children:e.works.viewFullGallery})})]})}),n!==null&&u.jsx(Uc,{artworks:r.map(o=>({src:o.src,slug:o.slug,num:o.num,title:o.title})),index:n,onClose:()=>s(null),onIndexChange:s})]})},DT="modulepreload",MT=function(e){return"/"+e},Lm={},OT=function(t,r,n){let s=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));s=Promise.allSettled(r.map(l=>{if(l=MT(l),l in Lm)return;Lm[l]=!0;const c=l.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${d}`))return;const h=document.createElement("link");if(h.rel=c?"stylesheet":DT,c||(h.as="script"),h.crossOrigin="",h.href=l,a&&h.setAttribute("nonce",a),document.head.appendChild(h),c)return new Promise((p,f)=>{h.addEventListener("load",p),h.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${l}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return s.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})},LT=(e={threshold:.15,rootMargin:"0px 0px -10% 0px"})=>{const t=v.useRef(null),[r,n]=v.useState(!1);return v.useEffect(()=>{const s=t.current;if(!s||r)return;const o=new IntersectionObserver(i=>{i.forEach(a=>{a.isIntersecting&&(n(!0),o.disconnect())})},e);return o.observe(s),()=>o.disconnect()},[r,e]),{ref:t,shown:r}},hs=({children:e,className:t="",delay:r=0,as:n="div"})=>{const{ref:s,shown:o}=LT();return u.jsx(n,{ref:s,className:`reveal ${o?"is-visible":""} ${t}`,style:r?{transitionDelay:`${r}ms`}:void 0,children:e})},FT="/assets/michael-hero-CmBQRG5o.jpg",IT="/assets/atelier-hero-B3spVO2D.jpg";var Au="focusScope.autoFocusOnMount",Ru="focusScope.autoFocusOnUnmount",Fm={bubbles:!1,cancelable:!0},$T="FocusScope",Ex=v.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:s,onUnmountAutoFocus:o,...i}=e,[a,l]=v.useState(null),c=Lr(s),d=Lr(o),h=v.useRef(null),p=wt(t,m=>l(m)),f=v.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;v.useEffect(()=>{if(n){let m=function(x){if(f.paused||!a)return;const k=x.target;a.contains(k)?h.current=k:xn(h.current,{select:!0})},b=function(x){if(f.paused||!a)return;const k=x.relatedTarget;k!==null&&(a.contains(k)||xn(h.current,{select:!0}))},y=function(x){if(document.activeElement===document.body)for(const S of x)S.removedNodes.length>0&&xn(a)};document.addEventListener("focusin",m),document.addEventListener("focusout",b);const g=new MutationObserver(y);return a&&g.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",b),g.disconnect()}}},[n,a,f.paused]),v.useEffect(()=>{if(a){$m.add(f);
vendor: 4,102 bytes, line 149
149const m=document.activeElement;if(!a.contains(m)){const y=new CustomEvent(Au,Fm);a.addEventListener(Au,c),a.dispatchEvent(y),y.defaultPrevented||(BT(HT(Cx(a)),{select:!0}),document.activeElement===m&&xn(a))}return()=>{a.removeEventListener(Au,c),setTimeout(()=>{const y=new CustomEvent(Ru,Fm);a.addEventListener(Ru,d),a.dispatchEvent(y),y.defaultPrevented||xn(m??document.body,{select:!0}),a.removeEventListener(Ru,d),$m.remove(f)},0)}}},[a,c,d,f]);const w=v.useCallback(m=>{if(!r&&!n||f.paused)return;const b=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,y=document.activeElement;if(b&&y){const g=m.currentTarget,[x,k]=zT(g);x&&k?!m.shiftKey&&y===k?(m.preventDefault(),r&&xn(x,{select:!0})):m.shiftKey&&y===x&&(m.preventDefault(),r&&xn(k,{select:!0})):y===g&&m.preventDefault()}},[r,n,f.paused]);return u.jsx(Ze.div,{tabIndex:-1,...i,ref:p,onKeyDown:w})});Ex.displayName=$T;function BT(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(xn(n,{select:t}),document.activeElement!==r)return}function zT(e){const t=Cx(e),r=Im(t,e),n=Im(t.reverse(),e);return[r,n]}function Cx(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const s=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||s?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Im(e,t){for(const r of e)if(!UT(r,{upTo:t}))return r}function UT(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function KT(e){return e instanceof HTMLInputElement&&"select"in e}function xn(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&KT(e)&&t&&e.select()}}var $m=VT();function VT(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=Bm(e,t),e.unshift(t)},remove(t){var r;e=Bm(e,t),(r=e[0])==null||r.resume()}}}function Bm(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function HT(e){return e.filter(t=>t.tagName!=="A")}var Du=0;function WT(){v.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??zm()),document.body.insertAdjacentElement("beforeend",e[1]??zm()),Du++,()=>{Du===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Du--}},[])}function zm(){const 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}var Ar=function(){return Ar=Object.assign||function(t){for(var r,n=1,s=arguments.length;n<s;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},Ar.apply(this,arguments)};function Nx(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(e,n[s])&&(r[n[s]]=e[n[s]]);return r}function GT(e,t,r){if(r||arguments.length===2)for(var n=0,s=t.length,o;n<s;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}var kl="right-scroll-bar-position",jl="width-before-scroll-bar",QT="with-scroll-bars-hidden",ZT="--removed-body-scroll-bar-size";function Mu(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function YT(e,t){var r=v.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var s=r.value;s!==n&&(r.value=n,r.callback(n,s))}}}})[0];return r.callback=t,r.facade}var qT=typeof window<"u"?v.useLayoutEffect:v.useEffect,Um=new WeakMap;function XT(e,t){var r=YT(null,function(n){return e.forEach(function(s){return Mu(s,n)})});return qT(function(){var n=Um.get(r);if(n){var s=new Set(n),o=new Set(e),i=r.current;
vendor: 4,196 bytes, lines 149-164
149s.forEach(function(a){o.has(a)||Mu(a,null)}),o.forEach(function(a){s.has(a)||Mu(a,i)})}Um.set(r,e)},[e]),r}function JT(e){return e}function eP(e,t){t===void 0&&(t=JT);var r=[],n=!1,s={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(o){var i=t(o,n);return r.push(i),function(){r=r.filter(function(a){return a!==i})}},assignSyncMedium:function(o){for(n=!0;r.length;){var i=r;r=[],i.forEach(o)}r={push:function(a){return o(a)},filter:function(){return r}}},assignMedium:function(o){n=!0;var i=[];if(r.length){var a=r;r=[],a.forEach(o),i=r}var l=function(){var d=i;i=[],d.forEach(o)},c=function(){return Promise.resolve().then(l)};c(),r={push:function(d){i.push(d),c()},filter:function(d){return i=i.filter(d),r}}}};return s}function tP(e){e===void 0&&(e={});var t=eP(null);return t.options=Ar({async:!0,ssr:!1},e),t}var Tx=function(e){var t=e.sideCar,r=Nx(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return v.createElement(n,Ar({},r))};Tx.isSideCarExport=!0;function rP(e,t){return e.useMedium(t),Tx}var Px=tP(),Ou=function(){},Kc=v.forwardRef(function(e,t){var r=v.useRef(null),n=v.useState({onScrollCapture:Ou,onWheelCapture:Ou,onTouchMoveCapture:Ou}),s=n[0],o=n[1],i=e.forwardProps,a=e.children,l=e.className,c=e.removeScrollBar,d=e.enabled,h=e.shards,p=e.sideCar,f=e.noRelative,w=e.noIsolation,m=e.inert,b=e.allowPinchZoom,y=e.as,g=y===void 0?"div":y,x=e.gapMode,k=Nx(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=p,C=XT([r,t]),_=Ar(Ar({},k),s);return v.createElement(v.Fragment,null,d&&v.createElement(S,{sideCar:Px,removeScrollBar:c,shards:h,noRelative:f,noIsolation:w,inert:m,setCallbacks:o,allowPinchZoom:!!b,lockRef:r,gapMode:x}),i?v.cloneElement(v.Children.only(a),Ar(Ar({},_),{ref:C})):v.createElement(g,Ar({},_,{className:l,ref:C}),a))});Kc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Kc.classNames={fullWidth:jl,zeroRight:kl};var nP=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function sP(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=nP();return t&&e.setAttribute("nonce",t),e}function oP(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function iP(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var aP=function(){var e=0,t=null;return{add:function(r){e==0&&(t=sP())&&(oP(t,r),iP(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},lP=function(){var e=aP();return function(t,r){v.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Ax=function(){var e=lP(),t=function(r){var n=r.styles,s=r.dynamic;return e(n,s),null};return t},cP={left:0,top:0,right:0,gap:0},Lu=function(e){return parseInt(e||"",10)||0},uP=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],s=t[e==="padding"?"paddingRight":"marginRight"];return[Lu(r),Lu(n),Lu(s)]},dP=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return cP;var t=uP(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])}},fP=Ax(),xo="data-scroll-locked",hP=function(e,t,r,n){var s=e.left,o=e.top,i=e.right,a=e.gap;return r===void 0&&(r="margin"),`
150  .`.concat(QT,` {
151   overflow: hidden `).concat(n,`;
152   padding-right: `).concat(a,"px ").concat(n,`;
153  }
154  body[`).concat(xo,`] {
155    overflow: hidden `).concat(n,`;
156    overscroll-behavior: contain;
157    `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&`
158    padding-left: `.concat(s,`px;
159    padding-top: `).concat(o,`px;
160    padding-right: `).concat(i,`px;
161    margin-left:0;
162    margin-top:0;
163    margin-right: `).concat(a,"px ").concat(n,`;
164    `),r==="padding"&&"padding-right: ".concat(a,"px ").concat(n,";
164")].filter(Boolean).join(""),`
165  }
166  
167  .`).concat(kl,` {
168    right: `).concat(a,"px ").concat(n,`;
169  }
170  
171  .`).concat(jl,` {
172    margin-right: `).concat(a,"px ").concat(n,`;
173  }
174  
175  .`).concat(kl," .").concat(kl,` {
176    right: 0 `).concat(n,`;
177  }
178  
179  .`).concat(jl," .").concat(jl,` {
180    margin-right: 0 `).concat(n,`;
181  }
182  
183  body[`).concat(xo,`] {
184    `).concat(ZT,": ").concat(a,`px;
185  }
186`)},Km=function(){var e=parseInt(document.body.getAttribute(xo)||"0",10);return isFinite(e)?e:0},pP=function(){v.useEffect(function(){return document.body.setAttribute(xo,(Km()+1).toString()),function(){var e=Km()-1;e<=0?document.body.removeAttribute(xo):document.body.setAttribute(xo,e.toString())}},[])},mP=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,s=n===void 0?"margin":n;pP();var o=v.useMemo(function(){return dP(s)},[s]);return v.createElement(fP,{styles:hP(o,!t,s,r?"":"!important")})},Zd=!1;if(typeof window<"u")try{var tl=Object.defineProperty({},"passive",{get:function(){return Zd=!0,!0}});window.addEventListener("test",tl,tl),window.removeEventListener("test",tl,tl)}catch{Zd=!1}var Qs=Zd?{passive:!1}
vendor: 5,178 bytes, lines 186-189
186:!1,gP=function(e){return e.tagName==="TEXTAREA"},Rx=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!gP(e)&&r[t]==="visible")},vP=function(e){return Rx(e,"overflowY")},yP=function(e){return Rx(e,"overflowX")},Vm=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var s=Dx(e,n);if(s){var o=Mx(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},xP=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},bP=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Dx=function(e,t){return e==="v"?vP(t):yP(t)},Mx=function(e,t){return e==="v"?xP(t):bP(t)},wP=function(e,t){return e==="h"&&t==="rtl"?-1:1},_P=function(e,t,r,n,s){var o=wP(e,window.getComputedStyle(t).direction),i=o*n,a=r.target,l=t.contains(a),c=!1,d=i>0,h=0,p=0;do{if(!a)break;var f=Mx(e,a),w=f[0],m=f[1],b=f[2],y=m-b-o*w;(w||y)&&Dx(e,a)&&(h+=y,p+=w);var g=a.parentNode;a=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(d&&(Math.abs(h)<1||!s)||!d&&(Math.abs(p)<1||!s))&&(c=!0),c},rl=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Hm=function(e){return[e.deltaX,e.deltaY]},Wm=function(e){return e&&"current"in e?e.current:e},kP=function(e,t){return e[0]===t[0]&&e[1]===t[1]},jP=function(e){return`
187  .block-interactivity-`.concat(e,` {pointer-events: none;}
188  .allow-interactivity-`).concat(e,` {pointer-events: all;}
189`)},SP=0,Zs=[];function EP(e){var t=v.useRef([]),r=v.useRef([0,0]),n=v.useRef(),s=v.useState(SP++)[0],o=v.useState(Ax)[0],i=v.useRef(e);v.useEffect(function(){i.current=e},[e]),v.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var m=GT([e.lockRef.current],(e.shards||[]).map(Wm),!0).filter(Boolean);return m.forEach(function(b){return b.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),m.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(s))})}}},[e.inert,e.lockRef.current,e.shards]);var a=v.useCallback(function(m,b){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!i.current.allowPinchZoom;var y=rl(m),g=r.current,x="deltaX"in m?m.deltaX:g[0]-y[0],k="deltaY"in m?m.deltaY:g[1]-y[1],S,C=m.target,_=Math.abs(x)>Math.abs(k)?"h":"v";if("touches"in m&&_==="h"&&C.type==="range")return!1;var N=Vm(_,C);if(!N)return!0;if(N?S=_:(S=_==="v"?"h":"v",N=Vm(_,C)),!N)return!1;if(!n.current&&"changedTouches"in m&&(x||k)&&(n.current=S),!S)return!0;var M=n.current||S;return _P(M,b,m,M==="h"?x:k,!0)},[]),l=v.useCallback(function(m){var b=m;if(!(!Zs.length||Zs[Zs.length-1]!==o)){var y="deltaY"in b?Hm(b):rl(b),g=t.current.filter(function(S){return S.name===b.type&&(S.target===b.target||b.target===S.shadowParent)&&kP(S.delta,y)})[0];if(g&&g.should){b.cancelable&&b.preventDefault();return}if(!g){var x=(i.current.shards||[]).map(Wm).filter(Boolean).filter(function(S){return S.contains(b.target)}),k=x.length>0?a(b,x[0]):!i.current.noIsolation;k&&b.cancelable&&b.preventDefault()}}},[]),c=v.useCallback(function(m,b,y,g){var x={name:m,delta:b,target:y,should:g,shadowParent:CP(y)};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(k){return k!==x})},1)},[]),d=v.useCallback(function(m){r.current=rl(m),n.current=void 0},[]),h=v.useCallback(function(m){c(m.type,Hm(m),m.target,a(m,e.lockRef.current))},[]),p=v.useCallback(function(m){c(m.type,rl(m),m.target,a(m,e.lockRef.current))},[]);v.useEffect(function(){return Zs.push(o),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:p}),document.addEventListener("wheel",l,Qs),document.addEventListener("touchmove",l,Qs),document.addEventListener("touchstart",d,Qs),function(){Zs=Zs.filter(function(m){return m!==o}),document.removeEventListener("wheel",l,Qs),document.removeEventListener("touchmove",l,Qs),document.removeEventListener("touchstart",d,Qs)}},[]);var f=e.removeScrollBar,w=e.inert;return v.createElement(v.Fragment,null,w?v.createElement(o,{styles:jP(s)}):null,f?v.createElement(mP,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function CP(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const NP=rP(Px,EP);var Ox=v.forwardRef(function(e,t){return v.createElement(Kc,Ar({},e,{ref:t,sideCar:NP}))});Ox.classNames=Kc.classNames;var TP=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ys=new WeakMap,nl=new WeakMap,sl={},Fu=0,Lx=function(e){return e&&(e.host||Lx(e.parentNode))},PP=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Lx(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},AP=function(e,t,r,n){var s=PP(t,Array.isArray(e)?e:[e]);sl[r]||(sl[r]=new WeakMap);var o=sl[r],i=[],a=new Set,l=new Set(s),c=function(h){!h||a.has(h)||(a.add(h),c(h.parentNode))};
vendor: 6,934 bytes, lines 189-193
189s.forEach(c);var d=function(h){!h||l.has(h)||Array.prototype.forEach.call(h.children,function(p){if(a.has(p))d(p);else try{var f=p.getAttribute(n),w=f!==null&&f!=="false",m=(Ys.get(p)||0)+1,b=(o.get(p)||0)+1;Ys.set(p,m),o.set(p,b),i.push(p),m===1&&w&&nl.set(p,!0),b===1&&p.setAttribute(r,"true"),w||p.setAttribute(n,"true")}catch(y){console.error("aria-hidden: cannot operate on ",p,y)}})};return d(t),a.clear(),Fu++,function(){i.forEach(function(h){var p=Ys.get(h)-1,f=o.get(h)-1;Ys.set(h,p),o.set(h,f),p||(nl.has(h)||h.removeAttribute(n),nl.delete(h)),f||h.removeAttribute(r)}),Fu--,Fu||(Ys=new WeakMap,Ys=new WeakMap,nl=new WeakMap,sl={})}},RP=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),s=TP(e);return s?(n.push.apply(n,Array.from(s.querySelectorAll("[aria-live]"))),AP(n,s,r,"aria-hidden")):function(){return null}},Vc="Dialog",[Fx,C3]=va(Vc),[DP,vr]=Fx(Vc),Ix=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:s,onOpenChange:o,modal:i=!0}=e,a=v.useRef(null),l=v.useRef(null),[c,d]=u0({prop:n,defaultProp:s??!1,onChange:o,caller:Vc});return u.jsx(DP,{scope:t,triggerRef:a,contentRef:l,contentId:Nu(),titleId:Nu(),descriptionId:Nu(),open:c,onOpenChange:d,onOpenToggle:v.useCallback(()=>d(h=>!h),[d]),modal:i,children:r})};Ix.displayName=Vc;var $x="DialogTrigger",MP=v.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,s=vr($x,r),o=wt(t,s.triggerRef);return u.jsx(Ze.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":Ch(s.open),...n,ref:o,onClick:Ie(e.onClick,s.onOpenToggle)})});MP.displayName=$x;var Sh="DialogPortal",[OP,Bx]=Fx(Sh,{forceMount:void 0}),zx=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:s}=e,o=vr(Sh,t);return u.jsx(OP,{scope:t,forceMount:r,children:v.Children.map(n,i=>u.jsx(Qo,{present:r||o.open,children:u.jsx(dh,{asChild:!0,container:s,children:i})}))})};zx.displayName=Sh;var ac="DialogOverlay",Ux=v.forwardRef((e,t)=>{const r=Bx(ac,e.__scopeDialog),{forceMount:n=r.forceMount,...s}=e,o=vr(ac,e.__scopeDialog);return o.modal?u.jsx(Qo,{present:n||o.open,children:u.jsx(FP,{...s,ref:t})}):null});Ux.displayName=ac;var LP=rc("DialogOverlay.RemoveScroll"),FP=v.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,s=vr(ac,r);return u.jsx(Ox,{as:LP,allowPinchZoom:!0,shards:[s.contentRef],children:u.jsx(Ze.div,{"data-state":Ch(s.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),Is="DialogContent",Kx=v.forwardRef((e,t)=>{const r=Bx(Is,e.__scopeDialog),{forceMount:n=r.forceMount,...s}=e,o=vr(Is,e.__scopeDialog);return u.jsx(Qo,{present:n||o.open,children:o.modal?u.jsx(IP,{...s,ref:t}):u.jsx($P,{...s,ref:t})})});Kx.displayName=Is;var IP=v.forwardRef((e,t)=>{const r=vr(Is,e.__scopeDialog),n=v.useRef(null),s=wt(t,r.contentRef,n);return v.useEffect(()=>{const o=n.current;if(o)return RP(o)},[]),u.jsx(Vx,{...e,ref:s,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ie(e.onCloseAutoFocus,o=>{var i;o.preventDefault(),(i=r.triggerRef.current)==null||i.focus()}),onPointerDownOutside:Ie(e.onPointerDownOutside,o=>{const i=o.detail.originalEvent,a=i.button===0&&i.ctrlKey===!0;(i.button===2||a)&&o.preventDefault()}),onFocusOutside:Ie(e.onFocusOutside,o=>o.preventDefault())})}),$P=v.forwardRef((e,t)=>{const r=vr(Is,e.__scopeDialog),n=v.useRef(!1),s=v.useRef(!1);return u.jsx(Vx,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var i,a;(i=e.onCloseAutoFocus)==null||i.call(e,o),o.defaultPrevented||(n.current||(a=r.triggerRef.current)==null||a.focus(),o.preventDefault()),n.current=!1,s.current=!1},onInteractOutside:o=>{var l,c;(l=e.onInteractOutside)==null||l.call(e,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const i=o.target;((c=r.triggerRef.current)==null?void 0:c.contains(i))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&s.current&&o.preventDefault()}})}),Vx=v.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:s,onCloseAutoFocus:o,...i}=e,a=vr(Is,r),l=v.useRef(null),c=wt(t,l);return WT(),u.jsxs(u.Fragment,{children:[u.jsx(Ex,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:s,onUnmountAutoFocus:o,children:u.jsx(Dc,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":Ch(a.open),...i,ref:c,onDismiss:()=>a.onOpenChange(!1)})}),u.jsxs(u.Fragment,{children:[u.jsx(BP,{titleId:a.titleId}),u.jsx(UP,{contentRef:l,descriptionId:a.descriptionId})]})]})}),Eh="DialogTitle",Hx=v.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,s=vr(Eh,r);return u.jsx(Ze.h2,{id:s.titleId,...n,ref:t})});Hx.displayName=Eh;var Wx="DialogDescription",Gx=v.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,s=vr(Wx,r);return u.jsx(Ze.p,{id:s.descriptionId,...n,ref:t})});Gx.displayName=Wx;var Qx="DialogClose",Zx=v.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,s=vr(Qx,r);return u.jsx(Ze.button,{type:"button",...n,ref:t,onClick:Ie(e.onClick,()=>s.onOpenChange(!1))})});Zx.displayName=Qx;function Ch(e){return e?"open":"closed"}var Yx="DialogTitleWarning",[N3,qx]=Oj(Yx,{contentName:Is,titleName:Eh,docsSlug:"dialog"}),BP=({titleId:e})=>{const t=qx(Yx),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
190
191If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
192
193For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return v.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},zP="DialogDescriptionWarning",UP=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${qx(zP).contentName}}.`;return v.useEffect(()=>{var o;const s=(o=e.current)==null?void 0:o.getAttribute("aria-describedby");t&&s&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},KP=Ix,VP=zx,Xx=Ux,Jx=Kx,eb=Hx,tb=Gx,HP=Zx;const WP=KP,GP=VP,rb=v.forwardRef(({className:e,...t},r)=>u.jsx(Xx,{ref:r,className:At("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));rb.displayName=Xx.displayName;const nb=v.forwardRef(({className:e,children:t,...r},n)=>u.jsxs(GP,{children:[u.jsx(rb,{}),u.jsxs(Jx,{ref:n,className:At("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...r,children:[t,u.jsxs(HP,{className:"absolute right-4 top-4 roun
193ded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[u.jsx(Oc,{className:"h-4 w-4"}),u.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));nb.displayName=Jx.displayName;const sb=v.forwardRef(({className:e,...t},r)=>u.jsx(eb,{ref:r,className:At("text-lg font-semibold leading-none tracking-tight",e),...t}));sb.displayName=eb.displayName;const ob=v.forwardRef(({className:e,...t},r)=>u.jsx(tb,{ref:r,className:At("text-sm text-muted-foreground",e),...t}));ob.displayName=tb.displayName;const Yd={background:{da:"Baggrund",en:"Background"},memberships:{da:"Medlem af",en:"Member of"},workingWith:{da:"Samarbejde med",en:"Working with"},creator:{da:"Stifter og leder af",en:"Creator and director of"},decorations:{da:"Udsmykninger",en:"Decorations"},soldTo:{da:"Solgt til",en:"Sold to"},collectors:{da:"Solgt til kunstsamlere i",en:"Sold to art collectors in"},exhibitedIn:{da:"Udstillet i",en:"Exhibited in"},donations:{da:"Donationer",en:"Donations"},travel:{da:"Studie- og rejseaktivitet",en:"Study and travel"},separate:{da:"Udvalgte separatudstillinger",en:"Selected solo exhibitions"},associations:{da:"Udvalgte kunstforeninger",en:"Selected art associations"},group:{da:"Udvalgte gruppeudstillinger",en:"Selected group exhibitions"},other:{da:"Øvrige aktiviteter",en:"Other activities"}},QP=[[/^Uddannet grafisk designer fra Akademiet for Fri og Merkantil Kunst\.?$/g,"Educated as Graphic Designer at the Academy for Free and Commercial Art."],[/^Undervist i tegning af Otto Frello og Hans Christian Rylander\.?$/g,"Drawing by Otto Frello and Hans Christian Rylander."],[/\bFødt\b/g,"Born"],[/\bi Maribo\b/g,"in Maribo"],[/\bi Kerteminde\b/g,"in Kerteminde"],[/\bi Odense\b/g,"in Odense"],[/\bi Brønshøj\b/g,"in Brønshøj"],[/\bKunstnergruppen\b/g,"The artist group -"],[/\bTandlæge\b/g,"Dentist"],[/\bScleroseforeningen\b/g,"Multiple Sclerosis Society (Scleroseforeningen)"],[/\bBørnecancerfonden\b/g,"Child Cancer Foundation"],[/\bKræftens Bekæmpelse\b/g,"Fight against cancer (Kræftens Bekæmpelse)"],[/\bHjerteforeningen\b/g,"Heart Foundation"],[/\bStøt Brysterne\b/g,"Breasts Cancer (Støt Brysterne)"],[/\bSamoa-projektet\b/g,"Samoa project"],[/DinNødhjælp \(støtter hekseanklagede børn i Nigeria\)/g,"DinNødhjælp (supports witch children in Nigeria)"],[/\bog USA\b/g,"and USA"],[/\bog Filippinerne\b/g,"and the Philippines"],[/\bDanmark\b/g,"Denmark"],[/\bFrankrig\b/g,"France"],[/\bSydfrankrig\b/g,"South of France"],[/\bNormandiet\b/g,"Normandy"],[/\bNorge\b/g,"Norway"],[/\bSverige\b/g,"Sweden"],[/\bTyskland\b/g,"Germany"],[/\bItalien\b/g,"Italy"],[/\bSpanien\b/g,"Spain"],[/\bHolland\b/g,"Netherlands"],[/\bBelgien\b/g,"Belgium"],[/\bSchweiz\b/g,"Switzerland"],[/\bTyrkiet\b/g,"Turkey"],[/\bAustralien\b/g,"Australia"],[/\bIndien\b/g,"India"],[/\bDe Forenede Arabiske Emirater\b/g,"United Arab Emirates"],[/\bLitauen\b/g,"Lithuania"],[/\bFilippinerne\b/g,"the Philippines"],[/\bSkotland\b/g,"Scotland"],[/\bKøbenhavn\b/g,"Copenhagen"],[/\bÅrhus\b/g,"Aarhus"],[/\bVægmaleri\b/g,"Mural painting"],[/\(censureret\)/g,"(juried)"]],qd=(e,t)=>t==="da"?e:QP.reduce((r,[n,s])=>r.replace(n,s),e),Xd=[{key:"background",entries:[{year:"",items:["Født 1953 i Maribo, Danmark.","Uddannet grafisk designer fra Akademiet for Fri og Merkantil Kunst.","Undervist i tegning af Otto Frello og Hans Christian Rylander."]}]},{key:"memberships",entries:[{year:"",items:["Danske Billedkunstneres Forbund, DBF","Kunstnergruppen RUST","Kunstnergruppen Group Danois","Kunstnergruppen Mens vi venter på Noah"]}]},{key:"workingWith",entries:[{year:"",items:["Galleri HAVN, Kerteminde, Danmark"]}]},{key:"creator",entries:[{year:"",items:["International Art Festival i Kerteminde 2011-14","Art Week International i Kerteminde 2015-17","Art Week International i Odense 2018","ArtWeek Kerteminde 2022 - 2026","Galleri HAVN, Kerteminde, Danmark 2025-"]}]},{key:"decorations",entries:[{year:"",items:["Vægmaleri, 3x3 meter, Kerteminde 2026","Vægmaleri, 10x2,5 meter. Frederiksberg. 2025","Kerteminde Camping, 2018","Tandlæge Kate Schwensen i Brønshøj, 2017","Civiløkonomernes a-kasse CA, 2009","Nokia, 2008","Ejlskov Consulting, 2007","Nokia, 2006","UniSys, 2004","Nokia, 2004"]}]},{key:"soldTo",entries:[{year:"",items:["Nokia, Bang & Olufsen, Folketinget, Ejlskov Consulting, UniSys, Alfred Berg, Radiometer, Gram Equipment, Civiløkonomernes a-kasse CA, LeBock Fodtøj ApS, Albertslund 
193Kulturforvaltning."]}]},{key:"collectors",entries:[{year:"",items:["Danmark, Norge, Sverige, Tyskland, Frankrig, Holland, Filippinerne, Belgien, Schweiz, England, Tyrkiet, Spanien, Australien, Indien og USA"]}]},{key:"exhibitedIn",entries:[{year:"",items:["Danmark, Norge, Sverige, Frankrig, Litauen, Skotland, Luxembourg, Tyskland, Holland og Filippinerne"]}]},{key:"donations",entries:[{year:"",items:["Scleroseforeningen 2026","Scleroseforeningen 2025","Scleroseforeningen 2024","Børnecancerfonden 2023","Børnecancerfonden 2022","Børnecancerfonden 2020","Kræftens Bekæmpelse 2019","Børnecancerfonden 2019","The Simple Living Committee 2019","Børnecancerfonden 2018","Børnecancerfonden 2017","DinNødhjælp (støtter hekseanklagede børn i Nigeria) 2017","Børnecancerfonden 2016","Børnecancerfonden 2015","Børnecancerfonden 2014","Børnecancerfonden 2013","Hjerteforeningen 2012","Støt Brysterne 2011","Scleroseforeningen 2010","Samoa-projektet 2010"]}]},{key:"travel",entries:[{year:"2026",items:["Berlin, Tyskland"]},{year:"2025",items:["Roadtrip, Sydfrankrig"]},{year:"2024",items:["Lorgues, Frankrig","Bagnoles de l'Orne, Normandiet, Frankrig"]},{year:"2023",items:["Paris, Frankrig","Bagnoles de l'Orne, Normandiet, Frankrig"]},{year:"2022",items:["Sellian, Frankrig","Nice, Frankrig","Bargemon, Frankrig","Le Lavandou, Frankrig","Madrid, Spanien"]},{year:"2021",items:["Montauroux, Frankrig","Le Lavandou, Frankrig"]},{year:"2020",items:["Vinci, Italien","Le Lavandou, Frankrig"]},{year:"2019",items:["Dubai, De Forenede Arabiske Emirater","Guanacaste, Costa Rica","Amsterdam, Holland","Le Lavandou, Frankrig","Lucca, Italien","San Diego, USA"]},{year:"2018",items:["Forcalqueiret, Frankrig","Le Lavandou, Frankrig","Lucca, Italien"]},{year:"2017",items:["Forcalqueiret, Frankrig","Le Lavandou, Frankrig","Luxembourg, Luxembourg"]},{year:"2016",items:["Paris, Frankrig","Forcalqueiret, Frankrig","Le Lavandou, Frankrig"]},{year:"2015",items:["Forcalqueiret, Frankrig"]},{year:"2014",items:["New York, USA","Luxembourg, Luxembourg","Forcalqueiret, Frankrig"]},{year:"2013",items:["Havana, Cuba","Trinidad, Cuba","Forcalqueiret, Frankrig","Le Lavandou, Frankrig"]},{year:"2012",items:["Forcalqueiret, Frankrig","Le Lavandou, Frankrig"]},{year:"2007–11",items:["Le Lavandou, Frankrig"]},{year:"2006",items:["Cereste, Frankrig"]},{year:"2005",items:["Kauai, Hawaii, USA","Provo, Utah, USA","Salt Lake City, Utah, USA"]},{year:"2004",items:["Cereste, Frankrig","Aix-en-Provence, Frankrig"]},{year:"2003",items:["San Gimignano, Italien"]}]},{key:"separate",entries:[{year:"2026",items:["Galleri HAVN, Kerteminde, Danmark"]},{year:"2019 - 2021",items:["Corona pandemi - ALT lukket"]},{year:"2018",items:["Fællesdomicilet, Odense, Danmark"]},{year:"2017",items:["Galleriet i Aarup, Danmark"]},{year:"2016",items:["TingGalleriet, Ebeltoft, Danmark","Sostrup Slot, Grenaa, Danmark"]},{year:"2015",items:["Munkebo Kro, Munkebo, Danmark","Restaurant Rudolf Mathis, Kerteminde, Danmark"]},{year:"2014",items:["Specialudstilling på Notre Dame des Anges, Frankrig","Galleri Gykkenheim, Kerteminde, Danmark","Restaurant Rudolf Mathis, Kerteminde, Danmark"]},{year:"2013",items:["Restaurant Rudolf Mathis, Kerteminde, Danmark","Regionshuset, Vejle, Danmark"]},{year:"2012",items:["Galleri Gilberg, Fredericia, Danmark","Bittes Galleri, Ribe, Danmark","Restaurant Rudolf Mathis, Kerteminde, Danmark"]},{year:"2011",items:["Journee de L'Art, Cereste, Frankrig","Maison du Midi, Lorgues, Frankrig","Bittes Galleri, Ribe, Danmark"]},{year:"2010",items:["Galleri Strandgade, Nexø, Danmark","Galleri Strandmark, Falsled, Danmark","Kulturspinderiet, Silkeborg, Danmark","Galleri Aa. Lund, Kerteminde, Danmark"]},{year:"2009",items:["Maison du Midi, Lorgues, Frankrig","Galleri Strandgade, Nexø, Danmark","Galleri Tinghuset, Fredensborg, Danmark","Galleri Strandmark, Falsled, Danmark","Galleri Marta, Frederikshavn, Danmark"]},{year:"2008",items:["Helsinge Kulturhus, Helsinge, Danmark","Maison du Midi, Lorgues, Frankrig","Galleri Strandgade, Nexø, Danmark"]},{year:"2007",items:["Cereste International Art Festival, Cereste, Frankrig","Næsseslottet, Holte, Danmark"]},{year:"2006",items:["Galleri Artcompaz, København, Danmark","Galleri Ho, Viborg, Danmark"]},{year:"2005",items:["Birkelundgård, Albertslund, Danmark","Cereste International Art Festival, Cereste, Frankrig","Galleri Pakhuset, Sæby, Danmark"]},{year:"2004",items:["D'exception Galerie, Aix-en-Provence, Frankrig","Galleri Nybro, København, Danmark"]},{year:"2003",items:["Birkelundgård, Albertslund, Danmark","Galleri Cobra, Charlottenlund, Danmark","D'exception Galerie, Aix-en-Provence, Frankrig"]},{year:"2002",items:["Turebyholm Gods, Tureby, Danmark"]}]},{key:"associations",entries:[{year:"2019 - 2021",items:["Corona pandemi - ALT lukket"]},{year:"2018",items:["Midtfyns Kunstforening, Ringe, Danmark"]},{year:"2017",items:["Faaborg-Midtfyn Kommune, Danmark"]},{year:"2016",items:["Djursland Bank, Vejle Sygehus, Rockwool Kunstforening"]},{year:"2015",items:["Vejle Kommunes Kunstforening, NIRAS, Frie Funktionærer"]},{year:"2014",items:["BaneDanmark"]}
193,{year:"2013",items:["Rockwool, Morud Kunstdage, Albertslund Kunstforening, Albertslund Kommune, Kunstforeningen Aquarellen DHI"]},{year:"2012",items:["Bascon A/S, Faaborg-Midtfyn Kommunes Kunstforening, Kansas/KWINTET Kunstforening, Glostrup Kommune, COWI"]},{year:"2011",items:["Kunstforeningen Foyeren, Kold College"]},{year:"2010",items:["Nykredit, TV2, COWI"]},{year:"2009",items:["Fjernvarmens Hus, Grontmij/Carl Bro, Novartis Healthcare A/S, Civiløkonomernes A-kasse, Rambøll A/S, Neurosearch A/S"]},{year:"2008",items:["Thrane og Thrane, Haldor Topsøe, Capgemini, Mortensen & Baierholm, Rudersdal Kommune, IP Team"]},{year:"2007",items:["Lindpro A/S, Brock & Michelsen Instrumenter A/S, GN Netcom, Sika AG, Oticon"]},{year:"2006",items:["Sem Corp, Grant Thornton, Europæiske Rejseforsikring, Nunc, Dansk Tandlægeforening, Svane Køkkenet, BK Medical, Lyngby Kulturcenter, Kaas og Marksø"]},{year:"2005",items:["Force Institutterne, J. Lauritzen, Niras, Kromann og Reumert, Hartmann, Albertslund Kunstforening"]},{year:"2004",items:["Tipstjenesten, Dansk Magisterforening, Alfred Berg, Europæiske Rejseforsikring, Dyrup, Nunc, Ingeniøren, UniSys, Canon, Radiometer, J & B Entreprise, Tandlægeforeningen, Mediehuset, Falkhuset, Thrane og Thrane"]},{year:"2003",items:["Albertslund Kunstforening, Dagrofa, Sem Corp, Grant Thornton, BankInvest, Nokia, Microsoft, Lundbeck, Electrolux, Force Institutterne"]}]},{key:"group",entries:[{year:"2026",items:["Hillerød Kunstmesse, Hillerød, Danmark","Rotary Kunstmesse, Fængslet, Horsens, Danmark","ArtWeek, Kerteminde, Danmark","Galleri Sommerlyst, Gilleleje, Danmark","Fredericia Artfestival, Fredericia, Danmark"]},{year:"2025",items:["Hillerød Kunstmesse, Hillerød, Danmark","Rotary Kunstmesse, Fængslet, Horsens, Danmark","Kunst for alle, København, Danmark","ArtWeek, Kerteminde, Danmark"]},{year:"2024",items:["Rotary Kunstmesse, Fængslet, Horsens, Danmark","Kunst for alle, København, Danmark","ArtWeek, Kerteminde, Danmark"]},{year:"2023",items:["Fængslet, Horsens, Danmark","Kunst for alle, København, Danmark","ArtWeek, Kerteminde, Danmark"]},{year:"2022",items:["Kunst for alle, København, Danmark","ArtWeek, Kerteminde, Danmark"]},{year:"2019 - 2021",items:["Corona pandemi - ALT lukket"]},{year:"2018",items:["Jubilæumsudstilling, Johs. Larsens Museum","Kudlit Exhibition, Marbel, Filippinerne","Kunsthuset Brøndsalen, København","Ebeltoft Kunstforening, Ebeltoft","International ArtWeek, Odense"]},{year:"2017",items:["Jubilæumsudstilling, Johs. Larsens Museum","Bronzestøberiet, Støvring","South Cotabato, General Santos City, Filippinerne","Hillerød Kunstdage, Hillerød","Kunst for alle, Aalborg","Vitskøl Kloster, Ranum","Art Week, Kerteminde","Kunst i Hasseris, Aalborg","Kunst for alle, København"]},{year:"2016",items:["Kunst for Alle, København","Art Week, Kerteminde","Kunstbygningen Filosoffen, Odense","Mens vi venter på Noa, København","Rotary Kunstmesse, Horsens","Lions Kunstmesse, Kerteminde","Kunst for alle, Aalborg"]},{year:"2015",items:["Rotary Kunstmesse, Horsens","Lions Kunstmesse, Kerteminde","Kunst mod cancer, Odense","Art Week, Kerteminde"]},{year:"2014",items:["Galerie Beim Engel, Luxembourg","Brøndsalen, Frederiksberg","Lions Kunstudstilling, Kerteminde","International Art Festival, Kerteminde"]},{year:"2013",items:["Morud Kunstdage, Morud","Lions Club Kunstudstilling, Kerteminde","International Art Festival, Kerteminde","Den gamle smedje, Amager"]},{year:"2012",items:["Galleri Weber, Svendborg","Galleri Gofs, Brønshøj","International Art Festival, Kerteminde","Kunst Runden, Kerteminde","Helligåndshuset, København"]},{year:"2011",items:["Galleri Weber, Svendborg","Galleri Åbent, Rungsted Havn","Kunst for alle, København (censureret)","Galleri Strandgade, Falsled","International Art Festival, Kerteminde","Galleri Gykkenheim, Kerteminde","Ulriksholm Slot, Kerteminde","Galerija Laiptai, Siauliai, Litauen"]},{year:"2010",items:["Art Oslo, Norge (censureret)","Kunst for alle, Århus (censureret)","Fuga, Frederiksberg","Fussingø Slot, Randers","Hillerød Kunstdage (censureret)","Tuse Næs Kunsthåndværk","Kunst for alle, København (censureret)","Galerija Laiptai, Siauliai, Litauen"]},{year:"2009",items:["Oslo Art Fair, Norge (censureret)","Hillerød Kunstdage, Hillerød","Copenhagen Art Fair (censureret)"]},{year:"2008",items:["Strandgalleriet på Stenbroen, København","Copenhagen Art Fair (censureret)","Kunst for alle, Århus (censureret)","Hillerød Kunstdage, Hillerød"]},{year:"2007",items:["Galerie Artmosphere, Vence, Frankrig","Malmø Kunstmesse (censureret)","Galerie Le Caméléon, Antibes, Frankrig","Kunstnerruten, København"]},{year:"2006",items:["Lyngby Kulturcenter, Kgs. Lyngby","Expo 06, Århus"]},{year:"2005",items:["Galleri Art House, Esbjerg"]},{year:"2004",items:["Primera open exhibition, Skotland"]}]},{key:"other",entries:[{year:"2026",items:["Afholder ArtWeek Kerteminde","24-siders fuldfarvet brochure","Driver Galleri HAVN","Maler værk på transformerstation, 3 x 3 meter i Kerteminde, Danmark"]},{year:"2025",items:["Afholder ArtWeek Kerteminde","Laver vægmaleri, 2,5 x 10 meter på Frederiksberg Danmark","Driver Galleri HAVN"]},{year:"2024",items:["Afholder ArtWeek Kerteminde","Designer prisen til Erhvervsprisen 2024 i Kerteminde","24-siders fuldfarvet brochure","Male Workshop i Provence, Frankrig"]},{year:"2023",items:["Afholder ArtWeek Kerteminde"]},{year:"2022",items:["Stifter af ArtWeek Kerteminde"]},{year:"2019 - 2021",items:["Corona pandemi - ALT lukket"]},{year:"2018",items:["Stifter af International ArtWeek i Odense"]},{year:"2017",items:["Designer prisen til Innovationsprisen 2017 i Kerteminde","Bidrager med tekst og maleri til bog om Johannes Larsen","To loftsudsmykninger hos tandlæge Kate Schwensen, Brønshøj","Teambuilding på Annexet, Lundsgaard Gods (105 personer)","Malekurser i Provence, Frankrig","Serie af 10 signerede og nummererede tryk","24-siders fuldfarvet brochure","Stifter af ArtWeek Kerteminde"]}
193,{year:"2016",items:["Teambuilding på Munkebo Kro (10 personer)","Malekurser i Provence, Frankrig","Stifter af ArtWeek Kerteminde","24-siders fuldfarvet brochure","Egen tøjkollektion med det amerikanske tøjmærke VIDA"]},{year:"2015",items:["TV-portræt som kunstner","TV-anmeldelse af Vasil Petrov","Stifter af ArtWeek Kerteminde","Maleprojekt med tre unge kræftramte piger på OUH — billederne solgt til fordel for Børnecancerfonden","Malekurser i Provence, Frankrig"]},{year:"2014",items:["Stifter af kunstnergruppen Group Danois","Afvikler International Art Festival i Kerteminde","Driver Galleri Gykkenheim, Kerteminde","Malekurser på Notre Dame des Anges, Provence"]},{year:"2013",items:["Afvikler International Art Festival i Kerteminde","Driver Galleri Gykkenheim, Kerteminde","Bidrager til bogen 101 kunstnere af Tom Jørgensen","24-siders fuldfarvet brochure"]},{year:"2012",items:["Afvikler International Art Festival i Kerteminde","Kunstevent for Energinet.dk","Driver Galleri Gykkenheim, Kerteminde","Åbner nyt showroom i Kerteminde","24-siders fuldfarvet brochure"]},{year:"2011",items:["Afvikler International Art Festival i Kerteminde","Prisvinder i Litauen med Face to face IV","Åbner stort atelier/galleri i Kerteminde — Galleri Gykkenheim","20-siders fuldfarvet brochure"]},{year:"2010",items:["COW parade i Kerteminde","MGart-vinetiketter, rød- og hvidvin","Deltager i radioudsendelsen Kunstnere på Facebook, P1","TV-program En snak om mine malerier med Flemming Nybro Olsen, TV2 Fyn","Kunstnerisk leder, Galleri Strandgade, Nexø"]},{year:"2009",items:["Kåret som Årets Kunstner i Norge","Serie af 8 signerede og nummererede tryk","Kunstnerisk leder, Galleri Strandgade, Nexø","Originale gavekort til Albertslund Kunstforening","20-siders fuldfarvet brochure"]},{year:"2008",items:["Bog om malerierne, 48 sider","Kunstnerisk leder, Galleri Strandgade, Nexø"]},{year:"2007",items:["Bog om malerierne, 24 sider","20-siders fuldfarvet brochure"]},{year:"2005",items:["Indvielsesmaleri og forsidebillede til jubilæumsmagasin for familiepleje","20-siders fuldfarvet brochure"]}]}],ZP="/assets/about-exhibited-sold-DqsVrvgB.jpg",YP=()=>{var d,h;const{lang:e,t,tf:r}=Je(),[n,s]=v.useState(!1),o=async()=>{const{jsPDF:p}=await OT(async()=>{const{jsPDF:C}=await import("./jspdf.es.min-BpeBT8N_.js");return{jsPDF:C}},[]),f=new p({unit:"pt",format:"a4"}),w=f.internal.pageSize.getWidth(),m=f.internal.pageSize.getHeight(),b=56,y=64,g=56;let x=y;const k=C=>{x+C>m-g&&(f.addPage(),x=y)};f.setFont("helvetica","bold"),f.setFontSize(22),f.text("Michael Grønlund",b,x),x+=22,f.setFont("helvetica","normal"),f.setFontSize(10),f.text(t.about.pdfSubtitle,b,x),x+=28,Xd.forEach(C=>{k(46),f.setFont("helvetica","bold"),f.setFontSize(14),f.text(Yd[C.key][e],b,x),x+=14,f.setDrawColor(180),f.line(b,x,w-b,x),x+=12,C.entries.forEach(_=>{const N=b,M=b+56,A=w-M-b,V=[];_.items.forEach(J=>{const F=f.splitTextToSize(qd(J,e),A);V.push(...F)});const I=Math.max(V.length*13,13)+8;k(I),f.setFont("helvetica","bold"),f.setFontSize(10),f.text(_.year,N,x),f.setFont("helvetica","normal"),V.forEach((J,F)=>{f.text(J,M,x+F*13)}),x+=I}),x+=12});const S=f.getNumberOfPages();for(let C=1;C<=S;C++)f.setPage(C),f.setFont("helvetica","normal"),f.setFontSize(8),f.setTextColor(140),f.text(r(t.about.pdfPage,{p:C,total:S}),w/2,m-24,{align:"center"}),f.setTextColor(0);f.save("Michael-Groenlund-CV.pdf")};Vt(t.about.metaTitle,t.about.metaDesc);const i=Un["abstrakte-værker"]??[];Un["håndkolorede-tryk"],Un["grafiske-værker"];const a=FT,l=IT,c=((d=i[12])==null?void 0:d.src)??((h=i[4])==null?void 0:h.src);return u.jsxs(u.Fragment,{children:[u.jsxs("section",{className:"relative pt-20 md:pt-28 pb-20 md:pb-28 overflow-hidden",children:[u.jsxs("div",{className:"pointer-events-none absolute inset-0 -z-0",children:[u.jsx("img",{src:a,alt:"","aria-hidden":!0,className:"absolute -right-[10%] top-0 h-[120%] w-[75%] object-cover opacity-[0.08] md:opacity-[0.10] mix-blend-multiply"}),u.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-background via-background/70 to-transparent"})]}),u.jsxs("div",{className:"container-art relative grid grid-cols-1 lg:grid-cols-12 gap-12 lg:gap-16 items-end",children:[u.jsxs("div",{className:"lg:col-span-7 fade-up",children:[u.jsx("p",{className:"eyebrow mb-10",children:t.about.eyebrow}),u.jsxs("h1",{className:"font-display text-[clamp(2.75rem,7.2vw,6rem)] leading-[0.95] text-balance",children:[t.about.titleLine1,u.jsx("span",{className:"block italic text-terracotta",children:t.about.titleLine2})]}),u.jsx("p",{className:"mt-10 max-w-xl text-lg md:text-xl text-ink-soft leading-relaxed text-pretty",children:t.about.intro})]}),u.jsx(hs,{className:"lg:col-span-5 relative",delay:150,children:u.jsx("figure",{className:"relative aspect-[4/5] w-full overflow-hidden shadow-frame grain",children:u.jsx("img",{src:a,alt:t.about.detailAlt,className:"absolute inset-0 h-full w-full object-cover ken-bur
193ns"})})})]})]}),u.jsx(hs,{as:"section",className:"relative",children:u.jsxs("figure",{className:"relative w-full h-[55svh] md:h-[78svh] overflow-hidden grain",children:[u.jsx("img",{src:l,alt:t.about.bandAlt,className:"absolute inset-0 h-full w-full object-cover"}),u.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background/40 via-transparent to-background/20"}),u.jsxs("figcaption",{className:"absolute bottom-6 md:bottom-10 left-6 md:left-16 max-w-md",children:[u.jsx("p",{className:"text-[10px] md:text-xs uppercase tracking-[0.34em] text-white/85",children:t.about.bandEyebrow}),u.jsxs("p",{className:"mt-3 font-display italic text-2xl md:text-4xl text-white leading-tight text-balance",children:['"',t.about.bandQuote,'"']})]})]})}),u.jsx("section",{className:"py-24 md:py-36",children:u.jsx("div",{className:"container-art",children:u.jsxs(hs,{className:"mx-auto w-full max-w-[800px] text-center",children:[u.jsx("p",{className:"eyebrow mb-8 justify-center",children:t.about.bioEyebrow}),u.jsxs("div",{className:"space-y-7 text-lg md:text-xl leading-relaxed text-ink-soft text-pretty font-light",children:[u.jsxs("p",{children:[t.about.bio1Before," ",u.jsx("span",{className:"text-foreground",children:t.about.bio1Place}),t.about.bio1After]}),u.jsxs("p",{children:[t.about.bio2Before,u.jsx("span",{className:"text-foreground",children:t.about.bio2GalleriHavn}),t.about.bio2Middle,u.jsx("span",{className:"text-foreground",children:t.about.bio2ArtWeek}),t.about.bio2After]}),u.jsx("p",{children:t.about.bio3})]}),u.jsxs("div",{className:"mt-12 flex flex-wrap gap-4 justify-center",children:[u.jsxs("button",{type:"button",onClick:()=>s(!0),className:"inline-flex items-center gap-3 border border-foreground
193/80 px-8 py-4 text-[11px] tracking-[0.3em] uppercase text-foreground hover:bg-foreground hover:text-background transition-colors duration-500",children:[t.about.viewFullCv,u.jsx("span",{"aria-hidden":!0,children:"→"})]}),u.jsxs("button",{type:"button",onClick:o,className:"inline-flex items-center gap-3 border border-foreground/80 bg-foreground text-background px-8 py-4 text-[11px] tracking-[0.3em] uppercase hover:bg-terracotta hover:border-terracotta hover:text-primary-foreground transition-colors duration-500",children:[t.about.downloadCv,u.jsx("span",{"aria-hidden":!0,children:"↓"})]})]})]})})}),u.jsx(WP,{open:n,onOpenChange:s,children:u.jsxs(nb,{className:"max-w-none w-[96vw] max-h-[92vh] overflow-hidden p-0 bg-background border-border",children:[u.jsxs(ya,{children:[u.jsx(sb,{children:t.about.modalTitle}),u.jsx(ob,{children:t.about.modalDescription})]}),u.jsxs("div",{className:"overflow-y-auto max-h-[92vh] px-8 md:px-14 py-12 md:py-16",children:[u.jsx("p",{className:"eyebrow mb-6",children:t.about.modalEyebrow}),u.jsx("h2",{className:"font-display text-4xl md:text-5xl leading-[1.05] text-balance",children:"Michael Grønlund"}),u.jsx("p",{className:"mt-4 text-sm uppercase tracking-[0.28em] text-ink-soft",children:t.about.modalSubtitle}),u.jsx("div",{className:"mt-8",children:u.jsxs("button",{type:"button",onClick:o,className:"inline-flex items-center gap-3 border border-foreground
193/80 px-6 py-3 text-[10px] tracking-[0.3em] uppercase text-foreground hover:bg-foreground hover:text-background transition-colors duration-500",children:[t.about.downloadAsPdf,u.jsx("span",{"aria-hidden":!0,children:"↓"})]})}),u.jsx("div",{className:"mt-12 space-y-14",children:Xd.map(p=>u.jsxs("div",{children:[u.jsx("h3",{className:"font-display text-2xl md:text-3xl mb-6 text-ink",children:Yd[p.key][e]}),u.jsx("div",{className:"divide-y divide-border border-t border-border",children:p.entries.map(f=>u.jsxs("div",{className:"grid grid-cols-[64px_1fr] md:grid-cols-[88px_1fr] gap-6 py-4",children:[u.jsx("p",{className:"text-[11px] md:text-xs uppercase tracking-[0.25em] text-terracotta pt-1",children:f.year}),u.jsx("ul",{className:"space-y-1.5 text-base md:text-[17px] text-ink-soft leading-relaxed",children:f.items.map((w,m)=>u.jsx("li",{children:qd(w,e)},m))})]},f.year))})]},p.key))}),u.jsx("p",{className:"mt-14 text-xs uppercase tracking-[0.3em] text-ink-soft",children:t.about.source})]})]})}),u.jsx(hs,{as:"section",className:"-mt-3 md:-mt-5 pt-0 pb-20 md:pb-28",children:u.jsx("div",{className:"container-art",children:u.jsxs("figure",{className:"mx-auto w-full max-w-[1040px]",children:[u.jsx("img",{src:ZP,alt:t.about.exhibitedSoldAlt,className:"w-full h-auto object-cover"}),u.jsxs("h2",{className:"mt-8 md:mt-10 text-center font-display text-[clamp(1.9rem,4.2vw,3.4rem)] leading-[1.05] text-balance",children:[t.about.exhibitedSoldHeading," ",u.jsx("span",{className:"italic text-terracotta",children:t.about.exhibitedSoldHeadingEm})]}),u.jsx("figcaption",{className:"mt-5 md:mt-6 text-center text-lg md:text-xl leading-relaxed text-ink-soft font-light text-pretty",children:t.about.exhibitedSoldCaption})]})})}),u.jsx("section",{className:"py-20 md:py-32 border-y border-border bg-canvas/60",children:u.jsx("div",{className:"container-art",children:u.jsxs(hs,{className:"max-w-4xl",children:[u.jsx("p",{className:"eyebrow mb-8",children:t.about.quoteEyebrow}),u.jsxs("blockquote",{className:"font-display text-3xl md:text-5xl leading-[1.15] text-balance",children:[u.jsx("span",{className:"text-terracotta font-display text-5xl md:text-7xl leading-none align-top mr-2",children:'"'}),t.about.quote]}),u.jsx("p",{className:"mt-8 text-xs uppercase tracking-[0.32em] text-ink-soft",children:"— Michael Grønlund"})]})})}),u.jsx("section",{className:"py-24 md:py-36",children:u.jsx("div",{className:"container-art",children:u.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-px bg-border",children:t.cv.credentials.map((p,f)=>u.jsxs(hs,{className:"bg-background p-8 md:p-10 group hover:bg-canvas/70 transition-colors duration-700",delay:f*60,children:[u.jsx("p",{className:"text-[10px] uppercase tracking-[0.34em] text-terracotta",children:String(f+1).padStart(2,"0")}),u.jsx("p",{className:"mt-6 font-display text-2xl md:text-[1.75rem] leading-tight text-ink",children:p.k}),u.jsx("p",{className:"mt-3 text-base text-foreground",children:p.v}),u.jsx("p",{className:"mt-2 text-sm text-ink-soft",children:p.note})]},p.k))})})}),c&&u.jsx(hs,{as:"section",className:"relative",children:u.jsxs("figure",{className:"relative w-full h-[60svh] md:h-[85svh] overflow-hidden grain",children:[u.jsx("img",{src:c,alt:t.about.atelierAlt,className:"absolute inset-0 h-full w-full object-cover ken-burns"}),u.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-ink/70 via-ink/20 to-transparent"}),u.jsx("div",{className:"absolute inset-x-0 bottom-0 px-6 md:px-16 pb-12 md:pb-20",children:u.jsx("div",{className:"container-art !px-0 grid grid-cols-12 gap-6",children:u.jsxs("div",{className:"col-span-12 md:col-span-7 text-primary-foreground",children:[u.jsx("p",{className:"text-[10px] md:text-xs uppercase tracking-[0.34em] opacity-80",children:t.about.visitEyebrow}),u.jsx("p",{className:"mt-4 font-display text-3xl md:text-5xl leading-tight text-balance whitespace-pre-line",children:t.about.visitTitle}),u.jsxs("a",{href:"/contact",className:"mt-8 inline-flex items-center gap-3 bg-background text-foreground px-7 py-4 text-[11px] tracking-[0.3em] uppercase hover:bg-terracotta hover:text-primary-foreground transition-colors duration-500",children:[t.about.writeToMichael,u.jsx("span",{"aria-hidden":!0,
193children:"→"})]})]})})})]})})]})},qP=()=>{const{lang:e}=Je();Vt("CV — Michael Grønlund",e==="da"?"Curriculum vitae for Michael Grønlund — uddannelse, medlemskaber, udstillinger og galleriarbejde.":"Curriculum vitae for Michael Grønlund — education, memberships, exhibitions and gallery work.");const t=e==="da"?u.jsxs(u.Fragment,{children:["Et arbejdsliv i ",u.jsx("em",{className:"text-terracotta",children:"farve"}),"."]}):u.jsxs(u.Fragment,{children:["A working life in ",u.jsx("em",{className:"text-terracotta",children:"colour"}),"."]});return u.jsxs(u.Fragment,{children:[u.jsx($r,{eyebrow:"CV",title:t}),u.jsx("section",{className:"py-20 md:py-28",children:u.jsx("div",{className:"container-art max-w-3xl space-y-16",children:Xd.map(r=>u.jsxs("div",{children:[u.jsx("h2",{className:"font-display text-3xl mb-8",children:Yd[r.key][e]}),u.jsx("div",{className:"divide-y divide-border border-t border-border",children:r.entries.map((n,s)=>u.jsxs("div",{className:"grid grid-cols-[64px_1fr] md:grid-cols-[88px_1fr] gap-6 py-5",children:[u.jsx("p",{className:"text-[11px] md:text-xs uppercase tracking-[0.25em] text-terracotta pt-1",children:n.year}),u.jsx("ul",{className:"space-y-1.5 text-ink-soft leading-relaxed",children:n.items.map((o,i)=>u.jsx("li",{children:qd(o,e)},i))})]},`${n.year}-${s}`))})]},r.key))})})]})},ib={januar:"January",februar:"February",marts:"March",april:"April",maj:"May",juni:"June",juli:"July",august:"August",september:"September",oktober:"October",november:"November",december:"December"},XP=Object.values(ib),Gm=(e,t)=>{let r=e.replace(/\./g,"");if(t==="da")for(const[c,d]of Object.entries(ib))r=r.replace(c,d);const n=r.toLowerCase(),s=r.match(/\b(\d{4})\b/),o=s?parseInt(s[1],10):new Date().getFullYear(),i=XP.findIndex(c=>n.includes(c.toLowerCase())),a=r.match(/\b(\d{1,2})\b/),l=a?parseInt(a[1],10):1;return new Date(o,Math.max(i,0),l).getTime()},ol={"Galleri Havn":$o,"Galleri HAVN":$o,"Anexet ved Lundsgaard Gods":wx,"Galleri Sommerlyst":zc,Eksiserhuset:_x,"Royal Stage":kx.url,"Fængslet Horsens":jx.url},JP=new Set([zc]),eA=e=>{if(ol[e.venue])return ol[e.venue];if(ol[e.title])return ol[e.title];if(e.address.startsWith("Grønlandsgade 13"))return $o},tA=()=>{const{t:e,lang:t}=Je(),[r,n]=v.useState(!1);Vt(e.exhibitions.metaTitle,e.exhibitions.metaDesc);const s=[...vx[t]].sort((i,a)=>Gm(i.date,t)-Gm(a.date,t)),o=r?s:s.slice(0,3);return u.jsxs(u.Fragment,{children:[u.jsx($r,{eyebrow:e.exhibitions.eyebrow,title:u.jsxs(u.Fragment,{children:[e.exhibitions.titleBefore," ",u.jsx("em",{className:"text-terracotta",children:e.exhibitions.titleEm}),e.exhibitions.titleAfter]}),intro:e.exhibitions.intro}),u.jsx("section",{className:"py-16 md:py-24 bg-background text-foreground",children:u.jsxs("div",{className:"container-art space-y-16 md:space-y-24",children:[o.map((i,a)=>{const l=eA(i),c=l?JP.has(l):!1,d=a%2===0,h=u.jsxs("div",{className:"bg-[hsl(80_14%_86%)] p-10 md:p-14 lg:p-16 flex flex-col justify-center min-h-[320px] md:min-h-[440px]",children:[u.jsx("p",{className:"eyebrow mb-6 text-ink-soft",children:e.exhibitions.groupLabel}),u.jsx("p",{className:"font-display text-2xl md:text-3xl text-terracotta mb-4",children:i.date}),u.jsx("h3",{className:"font-display text-3xl md:text-4xl lg:text-5xl leading-[1.05] text-balance text-ink",children:i.title}),i.subtitle&&u.jsx("p",{className:"font-display text-xl md:text-2xl text-ink-soft mt-3 whitespace-pre-line",children:i.subtitle}),u.jsxs("div",{className:"mt-8 pt-8 border-t border-ink/15",children:[u.jsx("p",{className:"font-display text-xl md:text-2xl text-ink whitespace-pre-line",children:i.venue}),u.jsx("p",{className:"text-ink-soft mt-2 leading-relaxed",children:i.address})]})]}),p=u.jsx("figure",{className:`relative overflow-hidden min-h-[320px] md:min-h-[440px] ${c?"bg-black":"bg-muted"}`,children:l?u.jsx("img",{src:l,alt:`${i.title} — ${i.venue}`,loading:"lazy",className:`absolute inset-0 w-full h-full ${c?"object-contain":"object-cover"} transition-transform duration-[1400ms] ease-out hover:scale-[1.04]`}):u.jsx("div",{className:"absolute inset-0 flex items-center justify-center border border-dashed border-border",children:u.jsxs("div",{className:"text-center px-6",children:[u.jsx("p",{className:"text-[10px] uppercase tracking-[0.3em] text-ink-soft",children:e.exhibitions.photoLabel}),u.jsx("p",{className:"mt-3 font-display text-lg text-ink",children:i.venue})]})})});return u.jsx("article",{className:"grid grid-cols-1 md:grid-cols-2 gap-0 shadow-soft",children:d?u.jsxs(u.Fragment,{children:[h,p]}):u.jsxs(u.Fragment,{children:[u.jsx("div",{className:"md:order-1 order-2",children:p}),u.jsx("div",{className:"md:order-2 order-1",children:h})]})},i.date+i.venue)}),s.length>3&&u.jsx("div",{className:"flex justify-center pt-8",children:u.jsx("button",{onClick:()=>n(!r),className:"text-[11px] tracking-[0.3em] uppercase text-ink-soft link-un
193derline",children:r?e.exhibitions.hideUpcoming:e.exhibitions.showUpcoming})})]})})]})},rA=()=>{var i,a;const{slug:e}=ch(),{t,lang:r,tf:n}=Je(),s=(a=(i=jh(r).find(l=>l.to==="/exhibitions"))==null?void 0:i.children)==null?void 0:a.find(l=>l.to===`/exhibitions/${e}`),o=(s==null?void 0:s.label)??t.exhibitionVenue.defaultTitle;return Vt(`${o} — Michael Grønlund`,`Michael Grønlund — ${o}.`),u.jsxs(u.Fragment,{children:[u.jsx($r,{eyebrow:t.exhibitionVenue.eyebrow,title:u.jsx("em",{className:"text-terracotta",children:o}),intro:t.exhibitionVenue.intro}),u.jsx("section",{className:"py-20 md:py-28",children:u.jsx("div",{className:"container-art max-w-2xl space-y-6 text-lg text-ink-soft leading-relaxed",children:u.jsx("p",{children:n(t.exhibitionVenue.body,{title:o})})})})]})},Nh=({ratio:e="portrait",label:t="Værk uploades snart"})=>{const r=e==="landscape"?"aspect-[4/3]":e==="square"?"aspect-square":"aspect-[4/5]";return u.jsx("div",{className:`${r} w-full bg-secondary border border-dashed border-border flex items-center justify-center`,children:u.jsxs("div",{className:"text-center px-6",children:[u.jsx("p",{className:"text-[10px] uppercase tracking-[0.3em] text-ink-soft",children:"Michael Grønlund"}),u.jsx("p",{className:"mt-3 font-display text-lg text-ink",children:t})]})})},nA=["abstrakte-værker","grafiske-værker","håndkolorede-tryk","akryl-på-papir-32x48","akryl-og-collage","akryl-på-a3-papir"],sA=()=>{const{t:e}=Je();return Vt(e.galerie.metaTitle,e.galerie.metaDesc),u.jsxs(u.Fragment,{children:[u.jsx($r,{eyebrow:e.galerie.eyebrow,title:u.jsxs(u.Fragment,{children:[e.galerie.titleBefore," ",u.jsx("em",{className:"text-terracotta",children:e.galerie.titleEm}),e.galerie.titleAfter]}),intro:u.jsxs(u.Fragment,{children:[e.galerie.introBefore,u.jsx(Bt,{to:"/contact",className:"underline underline-offset-4 text-terracotta hover:text-ink transition-colors",children:e.galerie.introLink}),e.galerie.introAfter]})}),u.jsx("section",{className:"py-20 md:py-28 bg-canvas",children:u.jsx("div",{className:"container-art grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-10",children:(()=>{const t=Object.values(Un).flat();return nA.map((r,n)=>{var l;const s=((l=e.series[r])==null?void 0:l.label)??r,o=Un[r]??[],i=t[n*7%Math.max(t.length,1)],a=o[0]??i;return u.jsxs(Bt,{to:`/galerie/${r}`,className:"group block",children:[a?u.jsx("div",{className:"aspect-square w-full overflow-hidden bg-secondary",children:u.jsx("img",{src:a.src,alt:s,loading:"lazy",decoding:"async",className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-[1.03]"})}):u.jsx(Nh,{ratio:"square",label:s}),u.jsxs("div",{className:"mt-5",children:[u.jsx("h3",{className:"font-display text-2xl text-ink",children:s}),u.jsx("p",{className:"mt-1 text-xs uppercase tracking-[0.25em] text-ink-soft",children:e.galerie.viewSeries})]})]},r)})})()})})]})},oA=()=>{var d,h;const{slug:e}=ch(),{t,tf:r}=Je(),n=e&&((d=t.series[e])==null?void 0:d.label)||t.galerieSeries.defaultTitle,s=e&&((h=t.series[e])==null?void 0:h.item)||"{n}";Vt(`${n} — Michael Grønlund`,`${n} — Michael Grønlund.`);const o=e?Un[e]??[]:[],i=v.useMemo(()=>o.map(p=>({...p,title:p.customTitle??r(s,{n:p.num})})),[o,s,r]),a=i.length>0,[l,c]=v.useState(null);return u.jsxs(u.Fragment,{children:[u.jsx($r,{eyebrow:t.galerieSeries.eyebrow,title:u.jsx("em",{className:"text-terracotta",children:n}),intro:u.jsxs(u.Fragment,{children:[a?t.galerieSeries.introHas:t.galerieSeries.introEmpty,t.galerieSeries.contactBefore,u.jsx(Bt,{to:"/contact",className:"underline underline-offset-4 text-terracotta hover:text-ink transition-colors",children:t.galerieSeries.contactLink}),t.galerieSeries.contactAfter]})}),e==="akryl-på-a3-papir"&&u.jsx("div",{className:"container-art pt-6 pb-2",children:u.jsx("p",{className:"text-sm text-ink-soft tracking-wide",children:t.galerieSeries.sizes})}),u.jsx("section",{className:"py-20 md:py-28 bg-canvas",children:u.jsx("div",{className:"container-art",children:a?u.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-x-8 gap-y-12",children:i.map((p,f)=>u.jsxs("figure",{className:"group flex flex-col",children:[u.jsx("button",{type:"button",onClick:()=>c(f),"aria-label":r(t.galerieSeries.openFull,{title:p.title}),className:"relative block w-full aspect-square bg-secondary overflow-hidden cursor-zoom-in",children:u.jsx("img",{src:p.src,alt:p.title,loading:"eager",decoding:"auto",className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-[1.02]"})}),u.jsx("figcaption",{className:"mt-4 text-sm text-ink-soft text-center",children:p.title})]},p.src))}):u.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8 opacity-60",children:[1,2,3].map(p=>u.jsxs("figure",{children:[u.jsx(Nh,{label:n}),u.jsx("figcaption",{className:"mt-4 text-sm text-ink-soft",children:t.galer
193ieSeries.placeholderCaption})]},p))})})}),l!==null&&u.jsx(Uc,{artworks:i,index:l,onClose:()=>c(null),onIndexChange:c})]})},iA="/assets/1-RYmzVsrD.jpg",aA="/assets/10-vpoIuBd2.jpg",lA="/assets/11-B54dUe5j.jpg",cA="/assets/2-BoUnyR0S.jpg",uA="/assets/13-CTNjy_Hh.jpg",dA="/assets/3-oUGc4d9N.jpg",fA="/assets/4-CU9WRH5c.jpg",hA="/assets/16-BCQXCU-B.jpg",pA="/assets/5-BzfHpw25.jpg",mA="/assets/6-D1ZqrpsG.jpg",gA="/assets/19-BZxYhT7v.jpg",vA="/assets/2-CKpKTZSi.jpg",yA="/assets/20-dagslys-CLWQKm6e.jpg",xA="/assets/8-BnDCGQIh.jpg",bA="/assets/22-CY09Yos1.jpg",wA="/assets/23-BC-bJUpN.jpg",_A="/assets/24-Cv0yCghC.jpg",kA="/assets/25-BUyHLFCA.jpg",jA="/assets/26-CjIPQgl2.jpg",SA="/assets/9-Bjtw8Smc.jpg",EA="/assets/28-BzdNNiUw.jpg",CA="/assets/29-BVq5C_n4.jpg",NA="/assets/3-BiL5Gtxk.jpg",TA="/assets/30-WxgYDn3S.jpg",PA="/assets/10-DHFBlXOR.jpg",AA="/assets/11-Buv2iyLs.jpg",RA="/assets/33-BcsCr1WB.jpg",DA="/assets/12-tQcIfiOP.jpg",MA="/assets/13-DxN9_VKU.jpg",OA="/assets/36-DjTeFBls.jpg",LA="/assets/37-CtliE868.jpg",FA="/assets/14-BU0DoXP7.jpg",IA="/assets/39-gXj2Xwv1.jpg",$A="/assets/4-AIFTkAHy.jpg",BA="/assets/40-ChkdvAa6.jpg",zA="/assets/41-BkTn
193R8qq.jpg",UA="/assets/42-DI-6JA9C.jpg",KA="/assets/43-BLSgust7.jpg",VA="/assets/44-CwIMLw-u.jpg",HA="/assets/15--3W0kiyQ.jpg",WA="/assets/46-CX0P7Qrg.jpg",GA="/assets/47-CoiMxO9w.jpg",QA="/assets/48-BnjRgmhX.jpg",ZA="/assets/16-CIQ4Moyo.jpg",YA="/assets/1-yafaGKcY.jpg",qA="/assets/50-B7-R-Os5.jpg",XA="/assets/51-DyxeIyAD.jpg",JA="/assets/17-BaE6tw0i.jpg",eR="/assets/18-Cq6EVMDh.jpg",tR="/assets/54-DiYKXqmS.jpg",rR="/assets/55-C59w7E_S.jpg",nR="/assets/19-D_K9d8xs.jpg",sR="/assets/57-DrfF5tng.jpg",oR="/assets/58-D-3KPqLQ.jpg",iR="/assets/59-CO21pxHT.jpg",aR="/assets/6-BKAidH1e.jpg",lR="/assets/60-DhENSksC.jpg",cR="/assets/61-dDKIDQoI.jpg",uR="/assets/62-CZvBmmAs.jpg",dR="/assets/7-DUWBp0pk.jpg",fR="/assets/8-DUZkoqqP.jpg",hR="/assets/9-B6QSNRvz.jpg",pR="/assets/1-BUoQv9nn.jpg",mR="/assets/10-hHNwNoO1.jpg",gR="/assets/11-PN9P2xRd.jpg",vR="/assets/12-Beme1cs7.jpg",yR="/assets/13-5qDjqGq6.jpg",xR="/assets/14-DrQ9UxMs.jpg",bR="/assets/15-nkuLtoOM.jpg",wR="/assets/2-Cj10BM4g.jpg",_R="/assets/3-DZmodY9u.jpg",kR="/assets/4-Cz0jwkIO.jpg",jR="/assets/5-Dma_NmDd.jpg",SR="/assets/6-CCVTY1uz.jpg",ER="/assets/7-BNxnKF_l.jpg",CR="/assets/8-DrGwxxBL.jpg",NR="/assets/9-FCA6Isef.jpg",TR="/assets/image_1-CE51Ujwj.jpg",PR="/assets/image_10-BmWjcmb0.jpg",AR="/assets/image_11-CFog7oGK.jpg",RR="/assets/image_12-B2IQoDjc.jpg",DR="/assets/image_13-C3fQIYOP.jpg",MR="/assets/image_14-DoLmr3Hr.jpg",OR="/assets/image_15-BT3C-_6k.jpg",LR="/assets/image_16-Idr0N4A8.jpg",FR="/assets/image_17-DiKF-F9Y.jpg",IR="/assets/image_18-CCEMfxAD.jpg",$R="/assets/image_19-CapA9vN6.jpg",BR="/assets/image_2-Cy6h1PEJ.jpg",zR="/assets/image_20-BtfipRIZ.jpg",UR="/assets/image_21-BPN9KBBo.jpg",KR="/assets/image_22-COfaN0PA.jpg",VR="/assets/image_23-B7LS9diC.jpg",HR="/assets/image_24-BPVOuMNY.jpg",WR="/assets/image_25-CVn23dg7.jpg",GR="/assets/image_26-DGXWBVOU.jpg",QR="/assets/image_27-B-mSUzEp.jpg",ZR="/assets/image_28-RbnJesyj.jpg",YR="/assets/image_29-Ba6UorNI.jpg",qR="/assets/image_3-kBNMHTXo.jpg",XR="/assets/image_30-CwTXVfrp.jpg",JR="/assets/image_31-CW-j848D.jpg",e4="/assets/image_32-CCwmHryW.jpg",t4="/assets/image_33-CWQIaLaZ.jpg",r4="/assets/image_34-0rXWJfb6.jpg",n4="/assets/image_35-B2NewQHi.jpg",s4="/assets/image_36-DNMXddq7.jpg",o4="/assets/image_37-DXs6mztU.jpg",i4="/assets/image_38-D3XkWF_1.jpg",a4="/assets/image_39-1btr_Ykf.jpg",l4="/assets/image_4-B_mqJv4U.jpg",c4="/assets/image_40-Pn0RdLU_.jpg",u4="/assets/image_41-DziVM_Md.jpg",d4="/assets/image_42-BDGjpsDx.jpg",f4="/assets/image_43-BTO7u05O.jpg",h4="/assets/image_44-CY-sKkam.jpg",p4="/assets/image_45-BDptW8g9.jpg",m4="/assets/image_46-CuxU7Odl.jpg",g4="/assets/image_47-WNEAJq3I.jpg",v4="/assets/image_48-BHi1JT4s.jpg",y4="/assets/image_49-BaLVpORJ.jpg",x4="/assets/image_5-DPSEM1H7.jpg",b4="/assets/image_50-pIx0rp1U.jpg",w4="/assets/image_51-D7Id0ePs.jpg",_4="/assets/image_52-CJqCS4xh.jpg",k4="/assets/image_53-D8_gezRn.jpg",j4="/assets/image_54-DT7VvliW.jpg",S4="/assets/image_6-BioCFGq6.jpg",E4="/assets/image_7-tuRBaFbT.jpg",C4="/assets/image_8-MCKLEsBh.jpg",N4="/assets/image_9-BBrl8j1H.jpg",T4=Object.assign({"/src/assets/photos/interior/1.jpg":iA,"/src/assets/photos/interior/10.jpg":aA,"/src/assets/photos/interior/11.jpg":lA,"/src/assets/photos/interior/12.jpg":cA,"/src/assets/photos/interior/13.jpg":uA,"/src/assets/photos/interior/14.jpg":dA,"/src/assets/photos/interior/15.jpg":fA,"/src/assets/photos/interior/16.jpg":hA,"/src/assets/photos/interior/17.jpg":pA,"/src/assets/photos/interior/18.jpg":mA,"/src/assets/photos/interior/19.jpg":gA,"/src/assets/photos/interior/2.jpg":vA,"/src/assets/photos/interior/20-dagslys.jpg":yA,"/src/assets/photos/interior/21.jpg":xA,"/src/assets/photos/interior/22.jpg":bA,"/src/assets/photos/interior/23.jpg":wA,"/src/assets/photos/interior/24.jpg":_A,"/src/assets/photos/interior/25.jpg":kA,"/src/assets/photos/interior/26.jpg":jA,"/src/assets/photos/interior/27.jpg":SA,"/src/assets/photos/interior/28.jpg":EA,"/src/assets/photos/interior/29.jpg":CA,"/src/assets/photos/interior/3.jpg":NA,"/src/assets/photos/interior/30.jpg":TA,"/src/assets/photos/interior/31.jpg":PA,"/src/assets/photos/interior/32.jpg":AA,"/src/assets/photos/interior/33.jpg":RA,"/src/assets/photos/interior/34.jpg":DA,"/src/assets/photos/interior/35.jpg":MA,"/src/assets/photos/interior/36.jpg":OA,"/src/assets/photos/interior/37.jpg":LA,"/src/assets/photos/interior/38.jpg":FA,"/src/assets/photos/interior/39.jpg":IA,"/src/assets/photos/interior/4.jpg":$A,"/src/assets/photos/interior/40.jpg":BA,"/src/assets/photos/interior/41.jpg":zA,"/src/assets/photos/interior/42.jpg":UA,"/src/assets/photos/interior/43.jpg":KA,"/src/assets/photos/interior/44.jpg":VA,"/src/assets/photos/interior/45.jpg":HA,"/src/assets/photos/interior/46.jpg":WA,"/src/assets/photos/interior/47.jpg":GA,"/src/assets/photos/interior/48.jpg":QA,"/src/assets/photos/interior/49.jpg":ZA,"/src/assets/photos/interior/5.jpg":YA,"/src/assets/photos/interior/50.jpg":qA,"/src/assets/photos/interior/51.jpg":XA,"/src/assets/photos/interior/52.jpg":JA,"/src/assets/photos/interior/53.jpg":eR,"/src/assets/photos/interior/54.jpg":tR,"/src/assets/photos/interior/55.jpg":rR,"/src/assets/photos/interior/56.jpg":nR,"/src/assets/photos/interior/57.jpg":sR,"/src/assets/photos/interior/58.jpg":oR,"/src/assets/photos/interior/59.jpg":iR,"/src/assets/photos/interior/6.jpg":aR,"/src/assets/photos/interior/60.jpg":lR,"/src/assets/photos/interior/61.jpg":cR,"/src/assets/photos/interior/62.jpg":uR,"/src/assets/photos/interior/7.jpg":dR,"/src/assets/photos/interior/8.jpg":fR,"/src/assets/photos/interior/9.jpg":hR}),P4=Object.assign({"/src/assets/photos/catalog-covers/1.jpg":pR,"/src/assets/photos/catalog-covers/10.jpg":mR,"/src/assets/photos/catalog-covers/11.jpg":gR,"/src/assets/photos/catalog-covers/12.jpg":vR,"/src/assets/photos/catalog-covers/13.jpg":yR,"/src/assets/photos/catalog-covers/14.jpg":xR,"/src/assets/photos/catalog-covers/15.jpg":bR,"/src/assets/photos/catalog-covers/2.jpg":wR,"/src/assets/photos/catalog-covers/3.jpg":_R,"/src/assets/photos/catalog-covers/4.jpg":kR,"/src/assets/photos/catalog-covers/5.jpg":jR,"/src/assets/photos/catalog-covers/6.jpg":SR,"/src/assets/photos/catalog-covers/7.jpg":ER,"/src/assets/photos/catalog-covers/8.jpg":CR,"/src/assets/photos/catalog-covers/9.jpg":NR}),A4=Object.assign({"/src/assets/photos/set-og-sket/image_1.jpg":TR,"/src/assets/photos/set-og-sket/image_10.jpg":PR,"/src/assets/photos/set-og-sket/image_11.jpg":AR,"/src/assets/photos/set-og-sket/image_12.jpg":RR,"/src/assets/photos/set-og-sket/image_13.jpg":DR,"/src/assets/photos/set-og-sket/image_14.jpg":MR,"/src/assets/photos/set-og-sket/image_15.jpg":OR,"/src/assets/photos/set-og-sket/image_16.jpg":LR,"/src/assets/photos/set-og-sket/image_17.jpg":FR,"/src/assets/photos/set-og-sket/image_18.jpg":IR,"/src/assets/photos/set-og-sket/image_19.jpg":$R,"/src/assets/photos/set-og-sket/image_2.jpg":BR,"/src/assets/photos/set-og-sket/image_20.jpg":zR,"/src/assets/photos/set-og-sket/image_21.jpg":UR,"/src/assets/photos/set-og-sket/image_22.jpg":KR,"/src/assets/photos/set-og-sket/image_23.jpg":VR,"/src/assets/photos/set-og-sket/image_24.jpg":HR,"/src/assets/photos/set-og-sket/image_25.jpg":WR,"/src/assets/photos/set-og-sket/image_26.jpg":GR,"/src/assets/photos/set-og-sket/image_27.jpg":QR,"/src/assets/photos/set-og-sket/image_28.jpg":ZR,"/src/assets/photos/set-og-sket/image_29.jpg":YR,"/src/assets/photos/set-og-sket/image_3.jpg":qR,"/src/assets/photos/set-og-sket/image_30.jpg":XR,"/src/assets/photos/set-og-sket/image_31.jpg":JR,"/src/assets/photos/set-og-sket/image_32.jpg":e4,"/src/assets/photos/set-og-sket/image_33.jpg":t4,"/src/assets/photos/set-og-sket/image_34.jpg":r4,"/src/assets/photos/set-og-sket/image_35.jpg":n4,"/src/assets/photos/set-og-sket/image_36.jpg":s4,"/src/assets/photos/set-og-sket/image_37.jpg":o4,"/src/assets/photos/set-og-sket/image_38.jpg":i4,"/src/assets/photos/set-og-sket/image_39.jpg":a4,"/src/assets/photos/set-og-sket/image_4.jpg":l4,"/src/assets/photos/set-og-sket/image_40.jpg":c4,"/src/assets/photos/set-og-sket/image_41.jpg":u4,"/src/assets/photos/set-og-sket/image_42.jpg":d4,"/src/assets/photos/set-og-sket/image_43.jpg":f4,"/src/assets/photos/set-og-sket/image_44.jpg":h4,"/src/assets/photos/set-og-sket/image_45.jpg":p4,"/src/assets/photos/set-og-sket/image_46.jpg":m4,"/src/assets/photos/set-og-sket/image_47.jpg":g4,"/src/assets/photos/set-og-sket/image_48.jpg":v4,"/src/assets/photos/set-og-sket/image_49.jpg":y4,"/src/assets/photos/set-og-sket/image_5.jpg":x4,"/src/assets/photos/set-og-sket/image_50.jpg":b4,"/src/assets/photos/set-og-sket/image_51.jpg":w4,"/src/assets/photos/set-og-sket/image_52.jpg":_4,"/src/assets/photos/set-og-sket/image_53.jpg":k4,"/src/assets/photos/set-og-sket/image_54.jpg":j4,"/src/assets/photos/set-og-sket/image_6.jpg":S4,"/src/assets/photos/set-og-sket/image_7.jpg":E4,"/src/assets/photos/set-og-sket/image_8.jpg":C4,"/src/assets/photos/set-og-sket/image_9.jpg":N4});function Iu(e,t,r){return Object.entries(e).map(([n,s])=>{const o=n.split("/").pop()??n,i=parseInt(o.replace(/\D/g,""),10)||0;return{src:s,num:i}}).sort((n,s)=>n.num-s.num).map(({src:n,num:s})=>({src:n,slug:t,num:s,title:`${r} nr. ${s}`}))}const ab={interior:Iu(T4,"interior","Interiørfoto"),"catalog-covers":Iu(P4,"catalog-covers","Katalogforside"),"set-og-sket":Iu(A4,"set-og-sket","Set & Sket")},R4=()=>{var a,l;const{t:e,tf:t}=Je();Vt(e.photos.metaTitle,e.photos.metaDesc);
193const r=ab["set-og-sket"]??[],n=((a=e.photosSeries["set-og-sket"])==null?void 0:a.item)??"{n}";(l=e.photosSeries["set-og-sket"])==null||l.label;const s=v.useMemo(()=>r.map(c=>({...c,title:t(n,{n:c.num})})),[r,n,t]),[o,i]=v.useState(null);return u.jsxs(u.Fragment,{children:[u.jsx($r,{eyebrow:e.photos.eyebrow,title:u.jsxs(u.Fragment,{children:[e.photos.titleBefore," ",u.jsx("em",{className:"text-terracotta",children:e.photos.titleEm}),e.photos.titleAfter]}),intro:e.photos.intro}),s.length>0&&u.jsx("section",{className:"py-10 md:py-14 bg-canvas",children:u.jsx("div",{className:"container-art",children:u.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-x-8 gap-y-12",children:s.map((c,d)=>u.jsxs("figure",{className:"group flex flex-col",children:[u.jsx("button",{type:"button",onClick:()=>i(d),"aria-label":c.title,className:"block w-full aspect-[4/3] bg-secondary overflow-hidden cursor-zoom-in",children:u.jsx("img",{src:c.src,alt:c.title,loading:d<6?"eager":"lazy",decoding:"async",className:"w-full h-full object-contain p-3 transition-transform duration-700 group-hover:scale-[1.02]"})}),u.jsx("figcaption",{className:"mt-4 text-sm text-ink-soft text-center",children:c.title})]},c.src))})})}),o!==null&&u.jsx(Uc,{artworks:s.map(c=>({src:c.src,slug:c.slug,num:c.num,title:c.title})),index:o,onClose:()=>i(null),onIndexChange:i})]})},D4={1:"Katalogforside 2004",2:"Katalogforside 2016",3:"Katalogforside 2022",4:"Katalogforside 2003",5:"Katalogforside 2017",6:"Katalogforside Jubilæum 2021",7:"Katalogforside 2024",8:"Katalogforside 2011",9:"Katalogforside 2013",10:"Katalogforside 2009",11:"Katalogforside 2006 - 2007",12:"Katalogforside 2010",13:"Katalogforside 2012",14:"Katalogforside 2005",15:"Katalogforside 2026"},M4=/^(Katalogforside|Catalogue cover)\s+(.+)$/,O4=({title:e})=>{const t=e.match(M4);return t?u.jsxs(u.Fragment,{children:[t[1],u.jsx("span",{className:"inline-block ml-2 md:ml-3",children:t[2]})]}):u.jsx(u.Fragment,{children:e})},L4=()=>{var d,h;const{slug:e}=ch(),{t,tf:r}=Je(),n=e&&((d=t.photosSeries[e])==null?void 0:d.label)||t.photosSub.defaultTitle,s=e&&((h=t.photosSeries[e])==null?void 0:h.item)||"{n}";Vt(`${n} — Michael Grønlund`,`${n} — Michael Grønlund.`);const o=e?ab[e]??[]:[],i=v.useMemo(()=>{const p=o.map(f=>({...f,title:e==="catalog-covers"?D4[f.num]??r(s,{n:f.num}):r(s,{n:f.num})}));return e==="catalog-covers"?p.sort((f,w)=>{var y,g;const m=parseInt(((y=f.title.match(/\d{4}/))==null?void 0:y[0])??"0",10),b=parseInt(((g=w.title.match(/\d{4}/))==null?void 0:g[0])??"0",10);return m-b}):p},[o,s,r,e]),a=i.length>0,[l,c]=v.useState(null);return u.jsxs(u.Fragment,{children:[u.jsx($r,{eyebrow:t.photosSub.eyebrow,title:u.jsx("em",{className:"text-terracotta",children:n}),intro:a?r(t.photosSub.introHas,{count:i.length}):t.photosSub.introEmpty}),u.jsx("section",{className:"py-20 md:py-28 bg-canvas",children:u.jsx("div",{className:"container-art",children:a?u.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-x-8 gap-y-12",children:i.map((p,f)=>u.jsxs("figure",{className:"group flex flex-col",children:[u.jsx("button",{type:"button",onClick:()=>c(f),"aria-label":r(t.photosSub.openFull,{title:p.title}),className:"block w-full aspect-[4/3] bg-secondary overflow-hidden cursor-zoom-in",children:u.jsx("img",{src:p.src,alt:p.title,loading:f<6?"eager":"lazy",decoding:"async",className:"w-full h-full object-contain p-3 transition-transform duration-700 group-hover:scale-[1.02]"})}),u.jsx("figcaption",{className:"mt-4 text-sm text-ink-soft text-center",children:e==="catalog-covers"?u.jsx(O4,{title:p.title}):p.title})]},p.src))}):u.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 opacity-60",children:[1,2,3].map(p=>u.jsx(Nh,{ratio:"landscape",label:n},p))})})}),l!==null&&u.jsx(Uc,{artworks:i.map(p=>({src:p.src,slug:p.slug,num:p.num,title:p.title})),index:l,onClose:()=>c(null),onIndexChange:c})]})},F4=()=>{const{t:e,tf:t}=Je();return Vt(e.videos.metaTitle,e.videos.metaDesc),u.jsxs(u.Fragment,{children:[u.jsx($r,{eyebrow:e.videos.eyebrow,title:u.jsxs(u.Fragment,{children:[e.videos.titleBefore," ",u.
193jsx("em",{className:"text-terracotta",children:e.videos.titleEm}),e.videos.titleAfter]}),intro:e.videos.intro}),u.jsx("section",{className:"py-20 md:py-28",children:u.jsx("div",{className:"container-art grid grid-cols-1 md:grid-cols-2 gap-10 max-w-5xl",children:[1,2].map(r=>u.jsx("div",{className:"aspect-video bg-muted shadow-soft flex items-center justify-center",children:u.jsx("span",{className:"text-xs uppercase tracking-[0.3em] text-muted-foreground",children:t(e.videos.videoLabel,{n:r})})},r))})})]})},I4=()=>{const{t:e}=Je();return Vt(e.workshops.metaTitle,e.workshops.metaDesc),u.jsxs(u.Fragment,{children:[u.jsx($r,{eyebrow:e.workshops.eyebrow,title:u.jsxs(u.Fragment,{children:[e.workshops.titleBefore," ",u.jsx("em",{className:"text-terracotta",children:e.workshops.titleEm}),e.workshops.titleAfter]}),intro:e.workshops.intro}),u.jsx("section",{className:"py-20 md:py-28",children:u.jsxs("div",{className:"container-art max-w-2xl space-y-6 text-lg text-ink-soft leading-relaxed",children:[u.jsx("p",{children:e.workshops.body1}),u.jsx("p",{children:e.workshops.body2})]})})]})};var je;(function(e){e.assertEqual=s=>{};function t(s){}e.assertIs=t;function r(s){throw new Error}e.assertNever=r,e.arrayToEnum=s=>{const o={};for(const i of s)o[i]=i;return o},e.getValidEnumValues=s=>{const o=e.objectKeys(s).filter(a=>typeof s[s[a]]!="number"),i={};for(const a of o)i[a]=s[a];return e.objectValues(i)},e.objectValues=s=>e.objectKeys(s).map(function(o){return s[o]}),e.objectKeys=typeof Object.keys=="function"?s=>Object.keys(s):s=>{const o=[];for(const i in s)Object.prototype.hasOwnProperty.call(s,i)&&o.push(i);return o},e.find=(s,o)=>{for(const i of s)if(o(i))return i},e.isInteger=typeof Number.isInteger=="function"?s=>Number.isInteger(s):s=>typeof s=="number"&&Number.isFinite(s)&&Math.floor(s)===s;function n(s,o=" | "){return s.map(i=>typeof i=="string"?`'${i}'`:i).join(o)}e.joinValues=n,e.jsonStringifyReplacer=(s,o)=>typeof o=="bigint"?o.toString():o})(je||(je={}));var Qm;(function(e){e.mergeShapes=(t,r)=>({...t,...r})})(Qm||(Qm={}));const Z=je.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),_n=e=>{switch(typeof e){case"undefined":return Z.undefined;case"string":return Z.string;case"number":return Number.isNaN(e)?Z.nan:Z.number;case"boolean":return Z.boolean;case"function":return Z.function;case"bigint":return Z.bigint;case"symbol":return Z.symbol;case"object":return Array.isArray(e)?Z.array:e===null?Z.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?Z.promise:typeof Map<"u"&&e instanceof Map?Z.map:typeof Set<"u"&&e instanceof Set?Z.set:typeof Date<"u"&&e instanceof Date?Z.date:Z.object;default:return Z.unknown}}
vendor: 4,971 bytes, line 193
193,$=je.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class un extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};const r=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,r):this.__proto__=r,this.name="ZodError",this.issues=t}format(t){const r=t||function(o){return o.message},n={_errors:[]},s=o=>{for(const i of o.issues)if(i.code==="invalid_union")i.unionErrors.map(s);else if(i.code==="invalid_return_type")s(i.returnTypeError);else if(i.code==="invalid_arguments")s(i.argumentsError);else if(i.path.length===0)n._errors.push(r(i));else{let a=n,l=0;for(;l<i.path.length;){const c=i.path[l];l===i.path.length-1?(a[c]=a[c]||{_errors:[]},a[c]._errors.push(r(i))):a[c]=a[c]||{_errors:[]},a=a[c],l++}}};return s(this),n}static assert(t){if(!(t instanceof un))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,je.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=r=>r.message){const r={},n=[];for(const s of this.issues)if(s.path.length>0){const o=s.path[0];r[o]=r[o]||[],r[o].push(t(s))}else n.push(t(s));return{formErrors:n,fieldErrors:r}}get formErrors(){return this.flatten()}}un.create=e=>new un(e);const Jd=(e,t)=>{let r;switch(e.code){case $.invalid_type:e.received===Z.undefined?r="Required":r=`Expected ${e.expected}, received ${e.received}`;break;case $.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,je.jsonStringifyReplacer)}`;break;case $.unrecognized_keys:r=`Unrecognized key(s) in object: ${je.joinValues(e.keys,", ")}`;break;case $.invalid_union:r="Invalid input";break;case $.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${je.joinValues(e.options)}`;break;case $.invalid_enum_value:r=`Invalid enum value. Expected ${je.joinValues(e.options)}, received '${e.received}'`;break;case $.invalid_arguments:r="Invalid function arguments";break;case $.invalid_return_type:r="Invalid function return type";break;case $.invalid_date:r="Invalid date";break;case $.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:je.assertNever(e.validation):e.validation!=="regex"?r=`Invalid ${e.validation}`:r="Invalid";break;case $.too_small:e.type==="array"?r=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?r=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?r=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?r=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?r=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:r="Invalid input";break;case $.too_big:e.type==="array"?r=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?r=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?r=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?r=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?r=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:r="Invalid input";break;case $.custom:r="Invalid input";break;case $.invalid_intersection_types:r="Intersection results could not be merged";break;case $.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case $.not_finite:r="Number must be finite";break;default:r=t.defaultError,je.assertNever(e)}return{message:r}};let $4=Jd;function B4(){return $4}const z4=e=>{const{data:t,path:r,errorMaps:n,issueData:s}=e,o=[...r,...s.path||[]],i={...s,path:o};if(s.message!==void 0)return{...s,path:o,message:s.message};let a="";const l=n.filter(c=>!!c).slice().reverse();for(const c of l)a=c(i,{data:t,defaultError:a}).message;return{...s,path:o,message:a}};
vendor: 6,919 bytes, line 193
193function K(e,t){const r=B4(),n=z4({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,r,r===Jd?void 0:Jd].filter(s=>!!s)});e.common.issues.push(n)}class zt{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,r){const n=[];for(const s of r){if(s.status==="aborted")return le;s.status==="dirty"&&t.dirty(),n.push(s.value)}return{status:t.value,value:n}}static async mergeObjectAsync(t,r){const n=[];for(const s of r){const o=await s.key,i=await s.value;n.push({key:o,value:i})}return zt.mergeObjectSync(t,n)}static mergeObjectSync(t,r){const n={};for(const s of r){const{key:o,value:i}=s;if(o.status==="aborted"||i.status==="aborted")return le;o.status==="dirty"&&t.dirty(),i.status==="dirty"&&t.dirty(),o.value!=="__proto__"&&(typeof i.value<"u"||s.alwaysSet)&&(n[o.value]=i.value)}return{status:t.value,value:n}}}const le=Object.freeze({status:"aborted"}),ji=e=>({status:"dirty",value:e}),er=e=>({status:"valid",value:e}),Zm=e=>e.status==="aborted",Ym=e=>e.status==="dirty",Bo=e=>e.status==="valid",lc=e=>typeof Promise<"u"&&e instanceof Promise;var q;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(q||(q={}));class Yn{constructor(t,r,n,s){this._cachedPath=[],this.parent=t,this.data=r,this._path=n,this._key=s}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const qm=(e,t)=>{if(Bo(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const r=new un(e.common.issues);return this._error=r,this._error}}};function ge(e){if(!e)return{};const{errorMap:t,invalid_type_error:r,required_error:n,description:s}=e;if(t&&(r||n))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:s}:{errorMap:(i,a)=>{const{message:l}=e;return i.code==="invalid_enum_value"?{message:l??a.defaultError}:typeof a.data>"u"?{message:l??n??a.defaultError}:i.code!=="invalid_type"?{message:a.defaultError}:{message:l??r??a.defaultError}},description:s}}class be{get description(){return this._def.description}_getType(t){return _n(t.data)}_getOrReturnCtx(t,r){return r||{common:t.parent.common,data:t.data,parsedType:_n(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new zt,ctx:{common:t.parent.common,data:t.data,parsedType:_n(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const r=this._parse(t);if(lc(r))throw new Error("Synchronous parse encountered promise.");return r}_parseAsync(t){const r=this._parse(t);return Promise.resolve(r)}parse(t,r){const n=this.safeParse(t,r);if(n.success)return n.data;throw n.error}safeParse(t,r){const n={common:{issues:[],async:(r==null?void 0:r.async)??!1,contextualErrorMap:r==null?void 0:r.errorMap},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:_n(t)},s=this._parseSync({data:t,path:n.path,parent:n});return qm(n,s)}"~validate"(t){var n,s;const r={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:_n(t)};if(!this["~standard"].async)try{const o=this._parseSync({data:t,path:[],parent:r});return Bo(o)?{value:o.value}:{issues:r.common.issues}}catch(o){(s=(n=o==null?void 0:o.message)==null?void 0:n.toLowerCase())!=null&&s.includes("encountered")&&(this["~standard"].async=!0),r.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:r}).then(o=>Bo(o)?{value:o.value}:{issues:r.common.issues})}async parseAsync(t,r){const n=await this.safeParseAsync(t,r);if(n.success)return n.data;throw n.error}async safeParseAsync(t,r){const n={common:{issues:[],contextualErrorMap:r==null?void 0:r.errorMap,async:!0},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:_n(t)},s=this._parse({data:t,path:n.path,parent:n}),o=await(lc(s)?s:Promise.resolve(s));return qm(n,o)}refine(t,r){const n=s=>typeof r=="string"||typeof r>"u"?{message:r}:typeof r=="function"?r(s):r;return this._refinement((s,o)=>{const i=t(s),a=()=>o.addIssue({code:$.custom,...n(s)});return typeof Promise<"u"&&i instanceof Promise?i.then(l=>l?!0:(a(),!1)):i?!0:(a(),!1)})}refinement(t,r){return this._refinement((n,s)=>t(n)?!0:(s.addIssue(typeof r=="function"?r(n,s):r),!1))}_refinement(t){return new Uo({schema:this,typeName:ce.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:r=>this["~validate"](r)}}optional(){return Kn.create(this,this._def)}nullable(){return Ko.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Mr.create(this)}promise(){return fc.create(this,this._def)}or(t){return uc.create([this,t],this._def)}and(t){return dc.create(this,t,this._def)}transform(t){return new Uo({...ge(this._def),schema:this,typeName:ce.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const r=typeof t=="function"?t:()=>t;return new tf({...ge(this._def),innerType:this,defaultValue:r,typeName:ce.ZodDefault})}brand(){return new u3({typeName:ce.ZodBranded,type:this,...ge(this._def)})}catch(t){const r=typeof t=="function"?t:()=>t;return new rf({...ge(this._def),innerType:this,catchValue:r,typeName:ce.ZodCatch})}describe(t){const r=this.constructor;return new r({...this._def,description:t})}pipe(t){return Th.create(this,t)}readonly(){return nf.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const U4=/^c[^\s-]{8,}
vendor: 4,604 bytes, line 193
193$/i,K4=/^[0-9a-z]+$/,V4=/^[0-9A-HJKMNP-TV-Z]{26}$/i,H4=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,W4=/^[a-z0-9_-]{21}$/i,G4=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Q4=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Z4=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Y4="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let $u;const q4=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,X4=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,J4=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,e3=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,t3=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,r3=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,lb="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",n3=new RegExp(`^${lb}$`);function cb(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);const r=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${r}`}function s3(e){return new RegExp(`^${cb(e)}$`)}function o3(e){let t=`${lb}T${cb(e)}`;const r=[];return r.push(e.local?"Z?":"Z"),e.offset&&r.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${r.join("|")})`,new RegExp(`^${t}$`)}function i3(e,t){return!!((t==="v4"||!t)&&q4.test(e)||(t==="v6"||!t)&&J4.test(e))}function a3(e,t){if(!G4.test(e))return!1;try{const[r]=e.split(".");if(!r)return!1;const n=r.replace(/-/g,"+").replace(/_/g,"/").padEnd(r.length+(4-r.length%4)%4,"="),s=JSON.parse(atob(n));return!(typeof s!="object"||s===null||"typ"in s&&(s==null?void 0:s.typ)!=="JWT"||!s.alg||t&&s.alg!==t)}catch{return!1}}function l3(e,t){return!!((t==="v4"||!t)&&X4.test(e)||(t==="v6"||!t)&&e3.test(e))}class Dn extends be{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==Z.string){const o=this._getOrReturnCtx(t);return K(o,{code:$.invalid_type,expected:Z.string,received:o.parsedType}),le}const n=new zt;let s;for(const o of this._def.checks)if(o.kind==="min")t.data.length<o.value&&(s=this._getOrReturnCtx(t,s),K(s,{code:$.too_small,minimum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),n.dirty());else if(o.kind==="max")t.data.length>o.value&&(s=this._getOrReturnCtx(t,s),K(s,{code:$.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),n.dirty());else if(o.kind==="length"){const i=t.data.length>o.value,a=t.data.length<o.value;(i||a)&&(s=this._getOrReturnCtx(t,s),i?K(s,{code:$.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!0,message:o.message}):a&&K(s,{code:$.too_small,minimum:o.value,type:"string",inclusive:!0,exact:!0,message:o.message}),n.dirty())}else if(o.kind==="email")Z4.test(t.data)||(s=this._getOrReturnCtx(t,s),K(s,{validation:"email",code:$.invali
vendor: 5,962 bytes, line 193
193d_string,message:o.message}),n.dirty());else if(o.kind==="emoji")$u||($u=new RegExp(Y4,"u")),$u.test(t.data)||(s=this._getOrReturnCtx(t,s),K(s,{validation:"emoji",code:$.invalid_string,message:o.message}),n.dirty());else if(o.kind==="uuid")H4.test(t.data)||(s=this._getOrReturnCtx(t,s),K(s,{validation:"uuid",code:$.invalid_string,message:o.message}),n.dirty());else if(o.kind==="nanoid")W4.test(t.data)||(s=this._getOrReturnCtx(t,s),K(s,{validation:"nanoid",code:$.invalid_string,message:o.message}),n.dirty());else if(o.kind==="cuid")U4.test(t.data)||(s=this._getOrReturnCtx(t,s),K(s,{validation:"cuid",code:$.invalid_string,message:o.message}),n.dirty());else if(o.kind==="cuid2")K4.test(t.data)||(s=this._getOrReturnCtx(t,s),K(s,{validation:"cuid2",code:$.invalid_string,message:o.message}),n.dirty());else if(o.kind==="ulid")V4.test(t.data)||(s=this._getOrReturnCtx(t,s),K(s,{validation:"ulid",code:$.invalid_string,message:o.message}),n.dirty());else if(o.kind==="url")try{new URL(t.data)}catch{s=this._getOrReturnCtx(t,s),K(s,{validation:"url",code:$.invalid_string,message:o.message}),n.dirty()}else o.kind==="regex"?(o.regex.lastIndex=0,o.regex.test(t.data)||(s=this._getOrReturnCtx(t,s),K(s,{validation:"regex",code:$.invalid_string,message:o.message}),n.dirty())):o.kind==="trim"?t.data=t.data.trim():o.kind==="includes"?t.data.includes(o.value,o.position)||(s=this._getOrReturnCtx(t,s),K(s,{code:$.invalid_string,validation:{includes:o.value,position:o.position},message:o.message}),n.dirty()):o.kind==="toLowerCase"?t.data=t.data.toLowerCase():o.kind==="toUpperCase"?t.data=t.data.toUpperCase():o.kind==="startsWith"?t.data.startsWith(o.value)||(s=this._getOrReturnCtx(t,s),K(s,{code:$.invalid_string,validation:{startsWith:o.value},message:o.message}),n.dirty()):o.kind==="endsWith"?t.data.endsWith(o.value)||(s=this._getOrReturnCtx(t,s),K(s,{code:$.invalid_string,validation:{endsWith:o.value},message:o.message}),n.dirty()):o.kind==="datetime"?o3(o).test(t.data)||(s=this._getOrReturnCtx(t,s),K(s,{code:$.invalid_string,validation:"datetime",message:o.message}),n.dirty()):o.kind==="date"?n3.test(t.data)||(s=this._getOrReturnCtx(t,s),K(s,{code:$.invalid_string,validation:"date",message:o.message}),n.dirty()):o.kind==="time"?s3(o).test(t.data)||(s=this._getOrReturnCtx(t,s),K(s,{code:$.invalid_string,validation:"time",message:o.message}),n.dirty()):o.kind==="duration"?Q4.test(t.data)||(s=this._getOrReturnCtx(t,s),K(s,{validation:"duration",code:$.invalid_string,message:o.message}),n.dirty()):o.kind==="ip"?i3(t.data,o.version)||(s=this._getOrReturnCtx(t,s),K(s,{validation:"ip",code:$.invalid_string,message:o.message}),n.dirty()):o.kind==="jwt"?a3(t.data,o.alg)||(s=this._getOrReturnCtx(t,s),K(s,{validation:"jwt",code:$.invalid_string,message:o.message}),n.dirty()):o.kind==="cidr"?l3(t.data,o.version)||(s=this._getOrReturnCtx(t,s),K(s,{validation:"cidr",code:$.invalid_string,message:o.message}),n.dirty()):o.kind==="base64"?t3.test(t.data)||(s=this._getOrReturnCtx(t,s),K(s,{validation:"base64",code:$.invalid_string,message:o.message}),n.dirty()):o.kind==="base64url"?r3.test(t.data)||(s=this._getOrReturnCtx(t,s),K(s,{validation:"base64url",code:$.invalid_string,message:o.message}),n.dirty()):je.assertNever(o);return{status:n.value,value:t.data}}_regex(t,r,n){return this.refinement(s=>t.test(s),{validation:r,code:$.invalid_string,...q.errToObj(n)})}_addCheck(t){return new Dn({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...q.errToObj(t)})}url(t){return this._addCheck({kind:"url",...q.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...q.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...q.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...q.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...q.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...q.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...q.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...q.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...q.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...q.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...q.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...q.errToObj(t)})}datetime(t){return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(t==null?void 0:t.offset)??!1,local:(t==null?void 0:t.local)??!1,...q.errToObj(t==null?void 0:t.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,...q.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...q.errToObj(t)})}regex(t,r){return this._addCheck({kind:"regex",regex:t,...q.errToObj(r)})}includes(t,r){return this._addCheck({kind:"includes",value:t,position:r==null?void 0:r.position,...q.errToObj(r==null?void 0:r.message)})}startsWith(t,r){return this._addCheck({kind:"startsWith",value:t,...q.errToObj(r)})}endsWith(t,r){return this._addCheck({kind:"endsWith",value:t,...q.errToObj(r)})}min(t,r){return this._addCheck({kind:"min",value:t,...q.errToObj(r)})}max(t,r){return this._addCheck({kind:"max",value:t,...q.errToObj(r)})}length(t,r){return this._addCheck({kind:"length",value:t,...q.errToObj(r)})}nonempty(t){return this.min(1,q.errToObj(t))}trim(){return new Dn({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Dn({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Dn({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}
vendor: 4,642 bytes, line 193
193get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxLength(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}}Dn.create=e=>new Dn({checks:[],typeName:ce.ZodString,coerce:(e==null?void 0:e.coerce)??!1,...ge(e)});function c3(e,t){const r=(e.toString().split(".")[1]||"").length,n=(t.toString().split(".")[1]||"").length,s=r>n?r:n,o=Number.parseInt(e.toFixed(s).replace(".","")),i=Number.parseInt(t.toFixed(s).replace(".",""));return o%i/10**s}class oa extends be{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==Z.number){const o=this._getOrReturnCtx(t);return K(o,{code:$.invalid_type,expected:Z.number,received:o.parsedType}),le}let n;const s=new zt;for(const o of this._def.checks)o.kind==="int"?je.isInteger(t.data)||(n=this._getOrReturnCtx(t,n),K(n,{code:$.invalid_type,expected:"integer",received:"float",message:o.message}),s.dirty()):o.kind==="min"?(o.inclusive?t.data<o.value:t.data<=o.value)&&(n=this._getOrReturnCtx(t,n),K(n,{code:$.too_small,minimum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),s.dirty()):o.kind==="max"?(o.inclusive?t.data>o.value:t.data>=o.value)&&(n=this._getOrReturnCtx(t,n),K(n,{code:$.too_big,maximum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),s.dirty()):o.kind==="multipleOf"?c3(t.data,o.value)!==0&&(n=this._getOrReturnCtx(t,n),K(n,{code:$.not_multiple_of,multipleOf:o.value,message:o.message}),s.dirty()):o.kind==="finite"?Number.isFinite(t.data)||(n=this._getOrReturnCtx(t,n),K(n,{code:$.not_finite,message:o.message}),s.dirty()):je.assertNever(o);return{status:s.value,value:t.data}}gte(t,r){return this.setLimit("min",t,!0,q.toString(r))}gt(t,r){return this.setLimit("min",t,!1,q.toString(r))}lte(t,r){return this.setLimit("max",t,!0,q.toString(r))}lt(t,r){return this.setLimit("max",t,!1,q.toString(r))}setLimit(t,r,n,s){return new oa({...this._def,checks:[...this._def.checks,{kind:t,value:r,inclusive:n,message:q.toString(s)}]})}_addCheck(t){return new oa({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:q.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:q.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:q.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:q.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:q.toString(t)})}multipleOf(t,r){return this._addCheck({kind:"multipleOf",value:t,message:q.toString(r)})}finite(t){return this._addCheck({kind:"finite",message:q.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:q.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:q.toString(t)})}get minValue(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxValue(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&je.isInteger(t.value))}get isFinite(){let t=null,r=null;for(const n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(r===null||n.value>r)&&(r=n.value):n.kind==="max"&&(t===null||n.value<t)&&(t=n.value)}return Number.isFinite(r)&&Number.isFinite(t)}
vendor: 4,207 bytes, line 193
193}oa.create=e=>new oa({checks:[],typeName:ce.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...ge(e)});class ia extends be{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==Z.bigint)return this._getInvalidInput(t);let n;const s=new zt;for(const o of this._def.checks)o.kind==="min"?(o.inclusive?t.data<o.value:t.data<=o.value)&&(n=this._getOrReturnCtx(t,n),K(n,{code:$.too_small,type:"bigint",minimum:o.value,inclusive:o.inclusive,message:o.message}),s.dirty()):o.kind==="max"?(o.inclusive?t.data>o.value:t.data>=o.value)&&(n=this._getOrReturnCtx(t,n),K(n,{code:$.too_big,type:"bigint",maximum:o.value,inclusive:o.inclusive,message:o.message}),s.dirty()):o.kind==="multipleOf"?t.data%o.value!==BigInt(0)&&(n=this._getOrReturnCtx(t,n),K(n,{code:$.not_multiple_of,multipleOf:o.value,message:o.message}),s.dirty()):je.assertNever(o);return{status:s.value,value:t.data}}_getInvalidInput(t){const r=this._getOrReturnCtx(t);return K(r,{code:$.invalid_type,expected:Z.bigint,received:r.parsedType}),le}gte(t,r){return this.setLimit("min",t,!0,q.toString(r))}gt(t,r){return this.setLimit("min",t,!1,q.toString(r))}lte(t,r){return this.setLimit("max",t,!0,q.toString(r))}lt(t,r){return this.setLimit("max",t,!1,q.toString(r))}setLimit(t,r,n,s){return new ia({...this._def,checks:[...this._def.checks,{kind:t,value:r,inclusive:n,message:q.toString(s)}]})}_addCheck(t){return new ia({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:q.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:q.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:q.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:q.toString(t)})}multipleOf(t,r){return this._addCheck({kind:"multipleOf",value:t,message:q.toString(r)})}get minValue(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxValue(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}}ia.create=e=>new ia({checks:[],typeName:ce.ZodBigInt,coerce:(e==null?void 0:e.coerce)??!1,...ge(e)});class Xm extends be{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==Z.boolean){const n=this._getOrReturnCtx(t);return K(n,{code:$.invalid_type,expected:Z.boolean,received:n.parsedType}),le}return er(t.data)}}Xm.create=e=>new Xm({typeName:ce.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...ge(e)});class cc extends be{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==Z.date){const o=this._getOrReturnCtx(t);return K(o,{code:$.invalid_type,expected:Z.date,received:o.parsedType}),le}if(Number.isNaN(t.data.getTime())){const o=this._getOrReturnCtx(t);return K(o,{code:$.invalid_date}),le}const n=new zt;let s;for(const o of this._def.checks)o.kind==="min"?t.data.getTime()<o.value&&(s=this._getOrReturnCtx(t,s),K(s,{code:$.too_small,message:o.message,inclusive:!0,exact:!1,minimum:o.value,type:"date"}),n.dirty()):o.kind==="max"?t.data.getTime()>o.value&&(s=this._getOrReturnCtx(t,s),K(s,{code:$.too_big,message:o.message,inclusive:!0,exact:!1,maximum:o.value,type:"date"}),n.dirty()):je.assertNever(o);return{status:n.value,value:new Date(t.data.getTime())}}_addCheck(t){return new cc({...this._def,checks:[...this._def.checks,t]})}min(t,r){return this._addCheck({kind:"min",value:t.getTime(),message:q.toString(r)})}max(t,r){return this._addCheck({kind:"max",value:t.getTime(),message:q.toString(r)})}get minDate(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t!=null?new Date(t):null}}cc.create=e=>new cc({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:ce.ZodDate,...ge(e)});class Jm extends be{_parse(t){if(this._getType(t)!==Z.symbol){const n=this._getOrReturnCtx(t);
vendor: 8,509 bytes, line 193
193return K(n,{code:$.invalid_type,expected:Z.symbol,received:n.parsedType}),le}return er(t.data)}}Jm.create=e=>new Jm({typeName:ce.ZodSymbol,...ge(e)});class eg extends be{_parse(t){if(this._getType(t)!==Z.undefined){const n=this._getOrReturnCtx(t);return K(n,{code:$.invalid_type,expected:Z.undefined,received:n.parsedType}),le}return er(t.data)}}eg.create=e=>new eg({typeName:ce.ZodUndefined,...ge(e)});class tg extends be{_parse(t){if(this._getType(t)!==Z.null){const n=this._getOrReturnCtx(t);return K(n,{code:$.invalid_type,expected:Z.null,received:n.parsedType}),le}return er(t.data)}}tg.create=e=>new tg({typeName:ce.ZodNull,...ge(e)});class rg extends be{constructor(){super(...arguments),this._any=!0}_parse(t){return er(t.data)}}rg.create=e=>new rg({typeName:ce.ZodAny,...ge(e)});class ng extends be{constructor(){super(...arguments),this._unknown=!0}_parse(t){return er(t.data)}}ng.create=e=>new ng({typeName:ce.ZodUnknown,...ge(e)});class qn extends be{_parse(t){const r=this._getOrReturnCtx(t);return K(r,{code:$.invalid_type,expected:Z.never,received:r.parsedType}),le}}qn.create=e=>new qn({typeName:ce.ZodNever,...ge(e)});class sg extends be{_parse(t){if(this._getType(t)!==Z.undefined){const n=this._getOrReturnCtx(t);return K(n,{code:$.invalid_type,expected:Z.void,received:n.parsedType}),le}return er(t.data)}}sg.create=e=>new sg({typeName:ce.ZodVoid,...ge(e)});class Mr extends be{_parse(t){const{ctx:r,status:n}=this._processInputParams(t),s=this._def;if(r.parsedType!==Z.array)return K(r,{code:$.invalid_type,expected:Z.array,received:r.parsedType}),le;if(s.exactLength!==null){const i=r.data.length>s.exactLength.value,a=r.data.length<s.exactLength.value;(i||a)&&(K(r,{code:i?$.too_big:$.too_small,minimum:a?s.exactLength.value:void 0,maximum:i?s.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:s.exactLength.message}),n.dirty())}if(s.minLength!==null&&r.data.length<s.minLength.value&&(K(r,{code:$.too_small,minimum:s.minLength.value,type:"array",inclusive:!0,exact:!1,message:s.minLength.message}),n.dirty()),s.maxLength!==null&&r.data.length>s.maxLength.value&&(K(r,{code:$.too_big,maximum:s.maxLength.value,type:"array",inclusive:!0,exact:!1,message:s.maxLength.message}),n.dirty()),r.common.async)return Promise.all([...r.data].map((i,a)=>s.type._parseAsync(new Yn(r,i,r.path,a)))).then(i=>zt.mergeArray(n,i));const o=[...r.data].map((i,a)=>s.type._parseSync(new Yn(r,i,r.path,a)));return zt.mergeArray(n,o)}get element(){return this._def.type}min(t,r){return new Mr({...this._def,minLength:{value:t,message:q.toString(r)}})}max(t,r){return new Mr({...this._def,maxLength:{value:t,message:q.toString(r)}})}length(t,r){return new Mr({...this._def,exactLength:{value:t,message:q.toString(r)}})}nonempty(t){return this.min(1,t)}}Mr.create=(e,t)=>new Mr({type:e,minLength:null,maxLength:null,exactLength:null,typeName:ce.ZodArray,...ge(t)});function qs(e){if(e instanceof We){const t={};for(const r in e.shape){const n=e.shape[r];t[r]=Kn.create(qs(n))}return new We({...e._def,shape:()=>t})}else return e instanceof Mr?new Mr({...e._def,type:qs(e.element)}):e instanceof Kn?Kn.create(qs(e.unwrap())):e instanceof Ko?Ko.create(qs(e.unwrap())):e instanceof $s?$s.create(e.items.map(t=>qs(t))):e}class We extends be{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),r=je.objectKeys(t);return this._cached={shape:t,keys:r},this._cached}_parse(t){if(this._getType(t)!==Z.object){const c=this._getOrReturnCtx(t);return K(c,{code:$.invalid_type,expected:Z.object,received:c.parsedType}),le}const{status:n,ctx:s}=this._processInputParams(t),{shape:o,keys:i}=this._getCached(),a=[];if(!(this._def.catchall instanceof qn&&this._def.unknownKeys==="strip"))for(const c in s.data)i.includes(c)||a.push(c);const l=[];for(const c of i){const d=o[c],h=s.data[c];l.push({key:{status:"valid",value:c},value:d._parse(new Yn(s,h,s.path,c)),alwaysSet:c in s.data})}if(this._def.catchall instanceof qn){const c=this._def.unknownKeys;if(c==="passthrough")for(const d of a)l.push({key:{status:"valid",value:d},value:{status:"valid",value:s.data[d]}});else if(c==="strict")a.length>0&&(K(s,{code:$.unrecognized_keys,keys:a}),n.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const c=this._def.catchall;for(const d of a){const h=s.data[d];l.push({key:{status:"valid",value:d},value:c._parse(new Yn(s,h,s.path,d)),alwaysSet:d in s.data})}}return s.common.async?Promise.resolve().then(async()=>{const c=[];for(const d of l){const h=await d.key,p=await d.value;c.push({key:h,value:p,alwaysSet:d.alwaysSet})}return c}).then(c=>zt.mergeObjectSync(n,c)):zt.mergeObjectSync(n,l)}get shape(){return this._def.shape()}strict(t){return q.errToObj,new We({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(r,n)=>{var o,i;const s=((i=(o=this._def).errorMap)==null?void 0:i.call(o,r,n).message)??n.defaultError;return r.code==="unrecognized_keys"?{message:q.errToObj(t).message??s}:{message:s}}}:{}})}strip(){return new We({...this._def,unknownKeys:"strip"})}passthrough(){return new We({...this._def,unknownKeys:"passthrough"})}extend(t){return new We({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new We({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:ce.ZodObject})}setKey(t,r){return this.augment({[t]:r})}catchall(t){return new We({...this._def,catchall:t})}pick(t){const r={};for(const n of je.objectKeys(t))t[n]&&this.shape[n]&&(r[n]=this.shape[n]);return new We({...this._def,shape:()=>r})}omit(t){const r={};for(const n of je.objectKeys(this.shape))t[n]||(r[n]=this.shape[n]);return new We({...this._def,shape:()=>r})}deepPartial(){return qs(this)}partial(t){const r={};for(const n of je.objectKeys(this.shape)){const s=this.shape[n];t&&!t[n]?r[n]=s:r[n]=s.optional()}return new We({...this._def,shape:()=>r})}required(t){const r={};for(const n of je.objectKeys(this.shape))if(t&&!t[n])r[n]=this.shape[n];else{let o=this.shape[n];for(;o instanceof Kn;)o=o._def.innerType;r[n]=o}return new We({...this._def,shape:()=>r})}keyof(){return ub(je.objectKeys(this.shape))}}We.create=(e,t)=>new We({shape:()=>e,unknownKeys:"strip",catchall:qn.create(),typeName:ce.ZodObject,...ge(t)});We.strictCreate=(e,t)=>new We({shape:()=>e,unknownKeys:"strict",catchall:qn.create(),typeName:ce.ZodObject,...ge(t)});We.lazycreate=(e,t)=>new We({shape:e,unknownKeys:"strip",catchall:qn.create(),typeName:ce.ZodObject,...ge(t)});class uc extends be{_parse(t){const{ctx:r}=this._processInputParams(t),n=this._def.options;function s(o){for(const a of o)if(a.result.status==="valid")return a.result;for(const a of o)if(a.result.status==="dirty")return r.common.issues.push(...a.ctx.common.issues),a.result;const i=o.map(a=>new un(a.ctx.common.issues));return K(r,{code:$.invalid_union,unionErrors:i}),le}if(r.common.async)return Promise.all(n.map(async o=>{const i={...r,common:{...r.common,issues:[]},parent:null};return{result:await o._parseAsync({data:r.data,path:r.path,parent:i}),ctx:i}})).then(s);{let o;const i=[];for(const l of n){const c={...r,common:{...r.common,issues:[]},parent:null},d=l._parseSync({data:r.data,path:r.path,parent:c});if(d.status==="valid")return d;d.status==="dirty"&&!o&&(o={result:d,ctx:c}),c.common.issues.length&&i.push(c.common.issues)}if(o)return r.common.issues.push(...o.ctx.common.issues),o.result;const a=i.map(l=>new un(l));return K(r,{code:$.invalid_union,unionErrors:a}),le}}get options(){return this._def.options}}uc.create=(e,t)=>new uc({options:e,typeName:ce.ZodUnion,...ge(t)});function ef(e,t){const r=_n(e),n=_n(t);if(e===t)return{valid:!0,data:e};if(r===Z.object&&n===Z.object){const s=je.objectKeys(t),o=je.objectKeys(e).filter(a=>s.indexOf(a)!==-1),i={...e,...t};for(const a of o){const l=ef(e[a],t[a]);if(!l.valid)return{valid:!1};i[a]=l.data}return{valid:!0,data:i}}else if(r===Z.array&&n===Z.array){if(e.length!==t.length)return{valid:!1};const s=[];for(let o=0;o<e.length;o++){const i=e[o],a=t[o],l=ef(i,a);if(!l.valid)return{valid:!1};s.push(l.data)}return{valid:!0,data:s}}else return r===Z.date&&n===Z.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class dc extends be{_parse(t){const{status:r,ctx:n}=this._processInputParams(t),s=(o,i)=>{if(Zm(o)||Zm(i))return le;const a=ef(o.value,i.value);return a.valid?((Ym(o)||Ym(i))&&r.dirty(),{status:r.value,value:a.data}
vendor: 4,118 bytes, line 193
193):(K(n,{code:$.invalid_intersection_types}),le)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([o,i])=>s(o,i)):s(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}dc.create=(e,t,r)=>new dc({left:e,right:t,typeName:ce.ZodIntersection,...ge(r)});class $s extends be{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==Z.array)return K(n,{code:$.invalid_type,expected:Z.array,received:n.parsedType}),le;if(n.data.length<this._def.items.length)return K(n,{code:$.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),le;!this._def.rest&&n.data.length>this._def.items.length&&(K(n,{code:$.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),r.dirty());const o=[...n.data].map((i,a)=>{const l=this._def.items[a]||this._def.rest;return l?l._parse(new Yn(n,i,n.path,a)):null}).filter(i=>!!i);return n.common.async?Promise.all(o).then(i=>zt.mergeArray(r,i)):zt.mergeArray(r,o)}get items(){return this._def.items}rest(t){return new $s({...this._def,rest:t})}}$s.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new $s({items:e,typeName:ce.ZodTuple,rest:null,...ge(t)})};class og extends be{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==Z.map)return K(n,{code:$.invalid_type,expected:Z.map,received:n.parsedType}),le;const s=this._def.keyType,o=this._def.valueType,i=[...n.data.entries()].map(([a,l],c)=>({key:s._parse(new Yn(n,a,n.path,[c,"key"])),value:o._parse(new Yn(n,l,n.path,[c,"value"]))}));if(n.common.async){const a=new Map;return Promise.resolve().then(async()=>{for(const l of i){const c=await l.key,d=await l.value;if(c.status==="aborted"||d.status==="aborted")return le;(c.status==="dirty"||d.status==="dirty")&&r.dirty(),a.set(c.value,d.value)}return{status:r.value,value:a}})}else{const a=new Map;for(const l of i){const c=l.key,d=l.value;if(c.status==="aborted"||d.status==="aborted")return le;(c.status==="dirty"||d.status==="dirty")&&r.dirty(),a.set(c.value,d.value)}return{status:r.value,value:a}}}}og.create=(e,t,r)=>new og({valueType:t,keyType:e,typeName:ce.ZodMap,...ge(r)});class aa extends be{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==Z.set)return K(n,{code:$.invalid_type,expected:Z.set,received:n.parsedType}),le;const s=this._def;s.minSize!==null&&n.data.size<s.minSize.value&&(K(n,{code:$.too_small,minimum:s.minSize.value,type:"set",inclusive:!0,exact:!1,message:s.minSize.message}),r.dirty()),s.maxSize!==null&&n.data.size>s.maxSize.value&&(K(n,{code:$.too_big,maximum:s.maxSize.value,type:"set",inclusive:!0,exact:!1,message:s.maxSize.message}),r.dirty());const o=this._def.valueType;function i(l){const c=new Set;for(const d of l){if(d.status==="aborted")return le;d.status==="dirty"&&r.dirty(),c.add(d.value)}return{status:r.value,value:c}}const a=[...n.data.values()].map((l,c)=>o._parse(new Yn(n,l,n.path,c)));return n.common.async?Promise.all(a).then(l=>i(l)):i(a)}min(t,r){return new aa({...this._def,minSize:{value:t,message:q.toString(r)}})}max(t,r){return new aa({...this._def,maxSize:{value:t,message:q.toString(r)}})}size(t,r){return this.min(t,r).max(t,r)}nonempty(t){return this.min(1,t)}}aa.create=(e,t)=>new aa({valueType:e,minSize:null,maxSize:null,typeName:ce.ZodSet,...ge(t)});class ig extends be{get schema(){return this._def.getter()}_parse(t){const{ctx:r}=this._processInputParams(t);return this._def.getter()._parse({data:r.data,path:r.path,parent:r})}}ig.create=(e,t)=>new ig({getter:e,typeName:ce.ZodLazy,...ge(t)});class ag extends be{_parse(t){if(t.data!==this._def.value){const r=this._getOrReturnCtx(t);return K(r,{received:r.data,code:$.invalid_literal,expected:this._def.value}),le}return{status:"valid",value:t.data}}get value(){return this._def.value}}ag.create=(e,t)=>
vendor: 4,167 bytes, line 193
193new ag({value:e,typeName:ce.ZodLiteral,...ge(t)});function ub(e,t){return new zo({values:e,typeName:ce.ZodEnum,...ge(t)})}class zo extends be{_parse(t){if(typeof t.data!="string"){const r=this._getOrReturnCtx(t),n=this._def.values;return K(r,{expected:je.joinValues(n),received:r.parsedType,code:$.invalid_type}),le}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){const r=this._getOrReturnCtx(t),n=this._def.values;return K(r,{received:r.data,code:$.invalid_enum_value,options:n}),le}return er(t.data)}get options(){return this._def.values}get enum(){const t={};for(const r of this._def.values)t[r]=r;return t}get Values(){const t={};for(const r of this._def.values)t[r]=r;return t}get Enum(){const t={};for(const r of this._def.values)t[r]=r;return t}extract(t,r=this._def){return zo.create(t,{...this._def,...r})}exclude(t,r=this._def){return zo.create(this.options.filter(n=>!t.includes(n)),{...this._def,...r})}}zo.create=ub;class lg extends be{_parse(t){const r=je.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(t);if(n.parsedType!==Z.string&&n.parsedType!==Z.number){const s=je.objectValues(r);return K(n,{expected:je.joinValues(s),received:n.parsedType,code:$.invalid_type}),le}if(this._cache||(this._cache=new Set(je.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){const s=je.objectValues(r);return K(n,{received:n.data,code:$.invalid_enum_value,options:s}),le}return er(t.data)}get enum(){return this._def.values}}lg.create=(e,t)=>new lg({values:e,typeName:ce.ZodNativeEnum,...ge(t)});class fc extends be{unwrap(){return this._def.type}_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==Z.promise&&r.common.async===!1)return K(r,{code:$.invalid_type,expected:Z.promise,received:r.parsedType}),le;const n=r.parsedType===Z.promise?r.data:Promise.resolve(r.data);return er(n.then(s=>this._def.type.parseAsync(s,{path:r.path,errorMap:r.common.contextualErrorMap})))}}fc.create=(e,t)=>new fc({type:e,typeName:ce.ZodPromise,...ge(t)});class Uo extends be{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ce.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:r,ctx:n}=this._processInputParams(t),s=this._def.effect||null,o={addIssue:i=>{K(n,i),i.fatal?r.abort():r.dirty()},get path(){return n.path}};if(o.addIssue=o.addIssue.bind(o),s.type==="preprocess"){const i=s.transform(n.data,o);if(n.common.async)return Promise.resolve(i).then(async a=>{if(r.value==="aborted")return le;const l=await this._def.schema._parseAsync({data:a,path:n.path,parent:n});return l.status==="aborted"?le:l.status==="dirty"||r.value==="dirty"?ji(l.value):l});{if(r.value==="aborted")return le;const a=this._def.schema._parseSync({data:i,path:n.path,parent:n});return a.status==="aborted"?le:a.status==="dirty"||r.value==="dirty"?ji(a.value):a}}if(s.type==="refinement"){const i=a=>{const l=s.refinement(a,o);if(n.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return a};if(n.common.async===!1){const a=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return a.status==="aborted"?le:(a.status==="dirty"&&r.dirty(),i(a.value),{status:r.value,value:a.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(a=>a.status==="aborted"?le:(a.status==="dirty"&&r.dirty(),i(a.value).then(()=>({status:r.value,value:a.value}))))}if(s.type==="transform")if(n.common.async===!1){const i=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!Bo(i))return le;const a=s.transform(i.value,o);if(a instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:r.value,value:a}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(i=>Bo(i)?Promise.resolve(s.transform(i.value,o)).then(a=>({status:r.value,value:a})):le);je.assertNever(s)}}Uo.create=(e,t,r)=>new Uo({schema:e,typeName:ce.ZodEffects,effect:t,...ge(r)});Uo.createWithPreprocess=(e,t,r)=>
vendor: 4,624 bytes, line 193
193new Uo({schema:t,effect:{type:"preprocess",transform:e},typeName:ce.ZodEffects,...ge(r)});class Kn extends be{_parse(t){return this._getType(t)===Z.undefined?er(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Kn.create=(e,t)=>new Kn({innerType:e,typeName:ce.ZodOptional,...ge(t)});class Ko extends be{_parse(t){return this._getType(t)===Z.null?er(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Ko.create=(e,t)=>new Ko({innerType:e,typeName:ce.ZodNullable,...ge(t)});class tf extends be{_parse(t){const{ctx:r}=this._processInputParams(t);let n=r.data;return r.parsedType===Z.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:r.path,parent:r})}removeDefault(){return this._def.innerType}}tf.create=(e,t)=>new tf({innerType:e,typeName:ce.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...ge(t)});class rf extends be{_parse(t){const{ctx:r}=this._processInputParams(t),n={...r,common:{...r.common,issues:[]}},s=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return lc(s)?s.then(o=>({status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new un(n.common.issues)},input:n.data})})):{status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new un(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}rf.create=(e,t)=>new rf({innerType:e,typeName:ce.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...ge(t)});class cg extends be{_parse(t){if(this._getType(t)!==Z.nan){const n=this._getOrReturnCtx(t);return K(n,{code:$.invalid_type,expected:Z.nan,received:n.parsedType}),le}return{status:"valid",value:t.data}}}cg.create=e=>new cg({typeName:ce.ZodNaN,...ge(e)});class u3 extends be{_parse(t){const{ctx:r}=this._processInputParams(t),n=r.data;return this._def.type._parse({data:n,path:r.path,parent:r})}unwrap(){return this._def.type}}class Th extends be{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.common.async)return(async()=>{const o=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return o.status==="aborted"?le:o.status==="dirty"?(r.dirty(),ji(o.value)):this._def.out._parseAsync({data:o.value,path:n.path,parent:n})})();{const s=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return s.status==="aborted"?le:s.status==="dirty"?(r.dirty(),{status:"dirty",value:s.value}):this._def.out._parseSync({data:s.value,path:n.path,parent:n})}}static create(t,r){return new Th({in:t,out:r,typeName:ce.ZodPipeline})}}class nf extends be{_parse(t){const r=this._def.innerType._parse(t),n=s=>(Bo(s)&&(s.value=Object.freeze(s.value)),s);return lc(r)?r.then(s=>n(s)):n(r)}unwrap(){return this._def.innerType}}nf.create=(e,t)=>new nf({innerType:e,typeName:ce.ZodReadonly,...ge(t)});We.lazycreate;var ce;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(ce||(ce={}));const il=Dn.create;qn.create;Mr.create;const d3=We.create;We.strictCreate;uc.create;dc.create;$s.create;zo.create;fc.create;Kn.create;Ko.create;const Sl=v.forwardRef(({className:e,type:t,...r},n)=>u.jsx("input",{type:t,className:At("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:n,...r}));Sl.displayName="Input";const db=v.forwardRef(({className:e,...t},r)=>u.jsx("textarea",{className:At("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
193ing-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...t}));db.displayName="Textarea";var f3="Label",fb=v.forwardRef((e,t)=>u.jsx(Ze.label,{...e,ref:t,onMouseDown:r=>{var s;r.target.closest("button, input, select, textarea")||((s=e.onMouseDown)==null||s.call(e,r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));fb.displayName=f3;var hb=fb;const h3=R0("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Si=v.forwardRef(({className:e,...t},r)=>u.jsx(hb,{ref:r,className:At(h3(),e),...t}));Si.displayName=hb.displayName;const p3="/assets/1-BqVsJCNn.jpg",m3=()=>{const{t:e}=Je();Vt(e.contact.metaTitle,e.contact.metaDesc);const t=v.useMemo(()=>d3({name:il().trim().min(1,e.contact.errName).max(100),email:il().trim().email(e.contact.errEmail).max(255),subject:il().trim().min(1,e.contact.errSubject).max(150),message:il().trim().min(1,e.contact.errMessage).max(2e3)}),[e]),[r,n]=v.useState({name:"",email:"",subject:"",message:""}),[s,o]=v.useState({}),i=[{Icon:km,label:e.contact.cardAtelier,value:e.contact.cardAtelierValue},{Icon:DS,label:e.contact.cardEmail,value:"[email protected]",href:"mailto:[email protected]"},{Icon:RS,label:e.contact.cardInstagram,value:"@michaelgronlund",href:"https://instagram.com"},{Icon:km,label:e.contact.cardGallery,value:e.contact.cardGalleryValue}],a=c=>{c.preventDefault();const d=t.safeParse(r);if(!d.success){const b={};d.error.issues.forEach(y=>{y.path[0]&&(b[y.path[0]]=y.message)}),o(b);return}o({});const{name:h,email:p,subject:f,message:w}=d.data,m=`${w}
194
195— ${h} (${p})`;window.location.href=`mailto:[email protected]?subject=${encodeURIComponent(f)}&body=${encodeURIComponent(m)}`,n0({title:e.contact.toastTitle,description:e.contact.toastDesc})},l=c=>d=>n(h=>({...h,[c]:d.target.value}));return u.jsxs(u.Fragment,{children:[u.jsxs("header",{className:"relative w-full min-h-[70vh] md:min-h-[85vh] overflow-hidden flex items-end",children:[u.jsx("img",{src:p3,alt:e.contact.heroAlt,className:"absolute inset-0 w-full h-full object-cover",style:{objectPosition:"center 35%"},loading:"eager",decoding:"async"}),u.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-canvas via-canvas/60 to-canvas/10"}),u.jsxs("div",{className:"relative container-art pt-40 md:pt-48 pb-16 md:pb-24 border-b border-border",children:[u.jsx("p",{className:"eyebrow mb-8",children:e.contact.eyebrow}),u.jsxs("h1",{className:"font-display text-5xl md:text-7xl leading-[0.98] text-balance max-w-4xl",children:[e.contact.titleBefore," ",u.jsx("em",{className:"text-terracotta",children:e.contact.titleEm}),e.contact.titleAfter]}),u.jsx("p",{className:"mt-8 max-w-xl text-lg text-ink-soft leading-relaxed text-pretty",children:e.contact.intro})]})]}),u.jsx("section",{className:"py-20 md:py-28 bg-canvas",children:u.jsx("div",{className:"container-art grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6",children:i.map(({Icon:c,label:d,value:h,href:p})=>{const f=u.jsxs("div",{className:"h-full bg-background border border-border p-8 hover:border-foreground
195/40 transition-colors duration-500",children:[u.jsx(c,{className:"h-5 w-5 text-terracotta mb-6"}),u.jsx("p",{className:"text-[10px] uppercase tracking-[0.3em] text-muted-foreground mb-3",children:d}),u.jsx("p",{className:"font-display text-xl whitespace-pre-line leading-snug",children:h})]});return p?u.jsx("a",{href:p,className:"block",children:f},d):u.jsx("div",{children:f},d)})})}),u.jsx("section",{className:"pb-24 md:pb-32 bg-canvas",children:u.jsx("div",{className:"container-art",children:u.jsxs("div",{className:"max-w-2xl mx-auto bg-background border border-border p-8 md:p-12",children:[u.jsx("p",{className:"text-[10px] uppercase tracking-[0.3em] text-muted-foreground mb-3",children:e.contact.sendEyebrow}),u.jsxs("h2",{className:"font-display text-3xl md:text-4xl leading-tight mb-8",children:[e.contact.sendTitleBefore," ",u.jsx("em",{className:"text-terracotta",children:e.contact.sendTitleEm})]}),u.jsxs("form",{onSubmit:a,className:"space-y-6",noValidate:!0,children:[u.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6",children:[u.jsxs("div",{children:[u.jsx(Si,{htmlFor:"name",className:"text-[10px] uppercase tracking-[0.3em] text-muted-foreground",children:e.contact.fieldName}),u.jsx(Sl,{id:"name",value:r.name,onChange:l("name"),maxLength:100,className:"mt-2"}),s.name&&u.jsx("p",{className:"text-xs text-destructive mt-1",children:s.name})]}),u.jsxs("div",{children:[u.jsx(Si,{htmlFor:"email",className:"text-[10px] uppercase tracking-[0.3em] text-muted-foreground",children:e.contact.fieldEmail}),u.jsx(Sl,{id:"email",type:"email",value:r.email,onChange:l("email"),maxLength:255,className:"mt-2"}),s.email&&u.jsx("p",{className:"text-xs text-destructive mt-1",children:s.email})]})]}),u.jsxs("div",{children:[u.jsx(Si,{htmlFor:"subject",className:"text-[10px] uppercase tracking-[0.3em] text-muted-foreground",children:e.contact.fieldSubject}),u.jsx(Sl,{id:"subject",value:r.subject,onChange:l("subject"),maxLength:150,className:"mt-2"}),s.subject&&u.jsx("p",{className:"text-xs text-destructive mt-1",children:s.subject})]}),u.jsxs("div",{children:[u.jsx(Si,{htmlFor:"message",className:"text-[10px] uppercase tracking-[0.3em] text-muted-foreground",children:e.contact.fieldMessage}),u.jsx(db,{id:"message",rows:6,value:r.message,onChange:l("message"),maxLength:2e3,className:"mt-2"}),s.message&&u.jsx("p",{className:"text-xs text-destructive mt-1",children:s.message})]}),u.jsx("button",{type:"submit",className:"inline-flex items-center justify-center bg-foreground text-background px-8 py-3 text-sm uppercase tracking-[0.2em] hover:bg-foreground
195/85 transition-colors",children:e.contact.submit})]})]})})})]})},g3=()=>{const e=rs(),{t}=Je();return v.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),u.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:u.jsxs("div",{className:"text-center",children:[u.jsx("h1",{className:"mb-4 text-4xl font-bold",children:t.notFound.heading}),u.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:t.notFound.message}),u.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:t.notFound.home})]})})},v3=new c_,y3=Dk([{element:u.jsx(tC,{}),children:[{path:"/",element:u.jsx(PT,{})},{path:"/cv",element:u.jsx(qP,{})},{path:"/about",element:u.jsx(YP,{})},{path:"/works",element:u.jsx(RT,{})},{path:"/exhibitions",element:u.jsx(tA,{})},{path:"/exhibitions/:slug",element:u.jsx(rA,{})},{path:"/galerie",element:u.jsx(sA,{})},{path:"/galerie/:slug",element:u.jsx(oA,{})},{path:"/photos",element:u.jsx(R4,{})},{path:"/photos/:slug",element:u.jsx(L4,{})},{path:"/videos",element:u.jsx(F4,{})},{path:"/workshops",element:u.jsx(I4,{})},{path:"/contact",element:u.jsx(m3,{})},{path:"*",element:u.jsx(g3,{})}]}]),x3=()=>u.jsx(d_,{client:v3,children:u.jsxs(VE,{children:[u.jsx(g2,{}),u.jsx(Tj,{}),u.jsx(zk,{router:y3})]})});Ry(document.getElementById("root")).render(u.jsx(ZE,{children:u.jsx(x3,{})}));export{OT as _,w3 as c,xg as g};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.