vendor: 5,064 bytes, lines 1-9
1var Lu=e=>{throw TypeError(e)};var Na=(e,t,n)=>t.has(e)||Lu("Cannot "+n);var C=(e,t,n)=>(Na(e,t,"read from private field"),n?n.call(e):t.get(e)),ne=(e,t,n)=>t.has(e)?Lu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),K=(e,t,n,r)=>(Na(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ae=(e,t,n)=>(Na(e,t,"access private method"),n);var Pi=(e,t,n,r)=>({set _(o){K(e,t,o,n)},get _(){return C(e,t,r)}});function Bg(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}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 o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Ff(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _f={exports:{}},Ks={},Df={exports:{}},J={};/** 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 mi=Symbol.for("react.element"),Vg=Symbol.for("react.portal"),Ug=Symbol.for("react.fragment"),Wg=Symbol.for("react.strict_mode"),Hg=Symbol.for("react.profiler"),Kg=Symbol.for("react.provider"),Qg=Symbol.for("react.context"),Gg=Symbol.for("react.forward_ref"),Yg=Symbol.for("react.suspense"),qg=Symbol.for("react.memo"),Xg=Symbol.for("react.lazy"),Mu=Symbol.iterator;function Jg(e){return e===null||typeof e!="object"?null:(e=Mu&&e[Mu]||e["@@iterator"],typeof e=="function"?e:null)}var zf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},$f=Object.assign,Bf={};function uo(e,t,n){this.props=e,this.context=t,this.refs=Bf,this.updater=n||zf}uo.prototype.isReactComponent={};uo.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")};uo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Vf(){}Vf.prototype=uo.prototype;function hc(e,t,n){this.props=e,this.context=t,this.refs=Bf,this.updater=n||zf}var pc=hc.prototype=new Vf;pc.constructor=hc;$f(pc,uo.prototype);pc.isPureReactComponent=!0;var Fu=Array.isArray,Uf=Object.prototype.hasOwnProperty,mc={current:null},Wf={key:!0,ref:!0,__self:!0,__source:!0};function Hf(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)Uf.call(t,r)&&!Wf.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)o[r]===void 0&&(o[r]=l[r]);return{$$typeof:mi,type:e,key:i,ref:s,props:o,_owner:mc.current}}function Zg(e,t){return{$$typeof:mi,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function gc(e){return typeof e=="object"&&e!==null&&e.$$typeof===mi}function ev(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var _u=/\/+/g;function Sa(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ev(""+e.key):t.toString(36)}function Xi(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case mi:case Vg:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+Sa(s,0):r,Fu(o)?(n="",e!=null&&(n=e.replace(_u,"$&/")+"/"),Xi(o,t,n,"",function(u){return u})):o!=null&&(gc(o)&&(o=Zg(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(_u,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",Fu(e))for(var l=0;l<e.length;l++){i=e[l];var c=r+Sa(i,l);s+=Xi(i,t,n,c,o)}else if(c=Jg(e),typeof c=="function")for(e=c.call(e),l=0;!(i=e.next()).done;)i=i.value,c=r+Sa(i,l++),s+=Xi(i,t,n,c,o);else if(i==="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 s}
vendor: 4,352 bytes, lines 9-17
9function Ti(e,t,n){if(e==null)return e;var r=[],o=0;return Xi(e,r,"","",function(i){return t.call(n,i,o++)}),r}function tv(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Be={current:null},Ji={transition:null},nv={ReactCurrentDispatcher:Be,ReactCurrentBatchConfig:Ji,ReactCurrentOwner:mc};function Kf(){throw Error("act(...) is not supported in production builds of React.")}J.Children={map:Ti,forEach:function(e,t,n){Ti(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ti(e,function(){t++}),t},toArray:function(e){return Ti(e,function(t){return t})||[]},only:function(e){if(!gc(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};J.Component=uo;J.Fragment=Ug;J.Profiler=Hg;J.PureComponent=hc;J.StrictMode=Wg;J.Suspense=Yg;J.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nv;J.act=Kf;J.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=$f({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=mc.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)Uf.call(t,c)&&!Wf.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&l!==void 0?l[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:mi,type:e.type,key:o,ref:i,props:r,_owner:s}};J.createContext=function(e){return e={$$typeof:Qg,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Kg,_context:e},e.Consumer=e};J.createElement=Hf;J.createFactory=function(e){var t=Hf.bind(null,e);return t.type=e,t};J.createRef=function(){return{current:null}};J.forwardRef=function(e){return{$$typeof:Gg,render:e}};J.isValidElement=gc;J.lazy=function(e){return{$$typeof:Xg,_payload:{_status:-1,_result:e},_init:tv}};J.memo=function(e,t){return{$$typeof:qg,type:e,compare:t===void 0?null:t}};J.startTransition=function(e){var t=Ji.transition;Ji.transition={};try{e()}finally{Ji.transition=t}};J.unstable_act=Kf;J.useCallback=function(e,t){return Be.current.useCallback(e,t)};J.useContext=function(e){return Be.current.useContext(e)};J.useDebugValue=function(){};J.useDeferredValue=function(e){return Be.current.useDeferredValue(e)};J.useEffect=function(e,t){return Be.current.useEffect(e,t)};J.useId=function(){return Be.current.useId()};J.useImperativeHandle=function(e,t,n){return Be.current.useImperativeHandle(e,t,n)};J.useInsertionEffect=function(e,t){return Be.current.useInsertionEffect(e,t)};J.useLayoutEffect=function(e,t){return Be.current.useLayoutEffect(e,t)};J.useMemo=function(e,t){return Be.current.useMemo(e,t)};J.useReducer=function(e,t,n){return Be.current.useReducer(e,t,n)};J.useRef=function(e){return Be.current.useRef(e)};J.useState=function(e){return Be.current.useState(e)};J.useSyncExternalStore=function(e,t,n){return Be.current.useSyncExternalStore(e,t,n)};J.useTransition=function(){return Be.current.useTransition()};J.version="18.3.1";Df.exports=J;var x=Df.exports;const A=Ff(x),Qf=Bg({__proto__:null,default:A},[x]);/** 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 rv=x,ov=Symbol.for("react.element"),iv=Symbol.for("react.fragment"),sv=Object.prototype.hasOwnProperty,av=rv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,lv={key:!0,ref:!0,__self:!0,__source:!0};function Gf(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)sv.call(t,r)&&!lv.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:ov,type:e,key:i,ref:s,props:o,_owner:av.current}}Ks.Fragment=iv;Ks.jsx=Gf;Ks.jsxs=Gf;_f.exports=Ks;var a=_f.exports,Yf={exports:{}},nt={},qf={exports:{}},Xf={};
vendor: 10,877 bytes, lines 17-34
17/** 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(E,P){var M=E.length;E.push(P);e:for(;0<M;){var Q=M-1>>>1,D=E[Q];if(0<o(D,P))E[Q]=P,E[M]=D,M=Q;else break e}}function n(E){return E.length===0?null:E[0]}function r(E){if(E.length===0)return null;var P=E[0],M=E.pop();if(M!==P){E[0]=M;e:for(var Q=0,D=E.length,X=D>>>1;Q<X;){var Z=2*(Q+1)-1,ye=E[Z],Re=Z+1,re=E[Re];if(0>o(ye,M))Re<D&&0>o(re,ye)?(E[Q]=re,E[Re]=M,Q=Re):(E[Q]=ye,E[Z]=M,Q=Z);else if(Re<D&&0>o(re,M))E[Q]=re,E[Re]=M,Q=Re;else break e}}return P}function o(E,P){var M=E.sortIndex-P.sortIndex;return M!==0?M:E.id-P.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var c=[],u=[],h=1,p=null,f=3,d=!1,b=!1,y=!1,w=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(E){for(var P=n(u);P!==null;){if(P.callback===null)r(u);else if(P.startTime<=E)r(u),P.sortIndex=P.expirationTime,t(c,P);else break;P=n(u)}}function j(E){if(y=!1,v(E),!b)if(n(c)!==null)b=!0,W(k);else{var P=n(u);P!==null&&G(j,P.startTime-E)}}function k(E,P){b=!1,y&&(y=!1,g(T),T=-1),d=!0;var M=f;try{for(v(P),p=n(c);p!==null&&(!(p.expirationTime>P)||E&&!B());){var Q=p.callback;if(typeof Q=="function"){p.callback=null,f=p.priorityLevel;var D=Q(p.expirationTime<=P);P=e.unstable_now(),typeof D=="function"?p.callback=D:p===n(c)&&r(c),v(P)}else r(c);p=n(c)}if(p!==null)var X=!0;else{var Z=n(u);Z!==null&&G(j,Z.startTime-P),X=!1}return X}finally{p=null,f=M,d=!1}}var N=!1,S=null,T=-1,O=5,I=-1;function B(){return!(e.unstable_now()-I<O)}function _(){if(S!==null){var E=e.unstable_now();I=E;var P=!0;try{P=S(!0,E)}finally{P?q():(N=!1,S=null)}}else N=!1}var q;if(typeof m=="function")q=function(){m(_)};else if(typeof MessageChannel<"u"){var L=new MessageChannel,ee=L.port2;L.port1.onmessage=_,q=function(){ee.postMessage(null)}}else q=function(){w(_,0)};function W(E){S=E,N||(N=!0,q())}function G(E,P){T=w(function(){E(e.unstable_now())},P)}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(E){E.callback=null},e.unstable_continueExecution=function(){b||d||(b=!0,W(k))},e.unstable_forceFrameRate=function(E){0>E||125<E?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<E?Math.floor(1e3/E):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(E){switch(f){case 1:case 2:case 3:var P=3;break;default:P=f}var M=f;f=P;try{return E()}finally{f=M}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(E,P){switch(E){case 1:case 2:case 3:case 4:case 5:break;default:E=3}var M=f;f=E;try{return P()}finally{f=M}},e.unstable_scheduleCallback=function(E,P,M){var Q=e.unstable_now();switch(typeof M=="object"&&M!==null?(M=M.delay,M=typeof M=="number"&&0<M?Q+M:Q):M=Q,E){case 1:var D=-1;break;case 2:D=250;break;case 5:D=1073741823;break;case 4:D=1e4;break;default:D=5e3}return D=M+D,E={id:h++,callback:P,priorityLevel:E,startTime:M,expirationTime:D,sortIndex:-1},M>Q?(E.sortIndex=M,t(u,E),n(c)===null&&E===n(u)&&(y?(g(T),T=-1):y=!0,G(j,M-Q))):(E.sortIndex=D,t(c,E),b||d||(b=!0,W(k))),E},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(E){var P=f;return function(){var M=f;f=P;try{return E.apply(this,arguments)}finally{f=M}}}})(Xf);qf.exports=Xf;var cv=qf.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 uv=x,tt=cv;function R(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);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 Jf=new Set,Wo={};function mr(e,t){eo(e,t),eo(e+"Capture",t)}function eo(e,t){for(Wo[e]=t,e=0;e<t.length;e++)Jf.add(t[e])}var qt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),il=Object.prototype.hasOwnProperty,dv=/^[: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]*$/,Du={},zu={};function fv(e){return il.call(zu,e)?!0:il.call(Du,e)?!1:dv.test(e)?zu[e]=!0:(Du[e]=!0,!1)}function hv(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function pv(e,t,n,r){if(t===null||typeof t>"u"||hv(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.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 Ve(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var Pe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Pe[e]=new Ve(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Pe[t]=new Ve(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Pe[e]=new Ve(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Pe[e]=new Ve(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){Pe[e]=new Ve(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Pe[e]=new Ve(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Pe[e]=new Ve(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Pe[e]=new Ve(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Pe[e]=new Ve(e,5,!1,e.toLowerCase(),null,!1,!1)});var vc=/[\-:]([a-z])/g;function yc(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(vc,yc);Pe[t]=new Ve(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(vc,yc);Pe[t]=new Ve(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(vc,yc);Pe[t]=new Ve(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Pe[e]=new Ve(e,1,!1,e.toLowerCase(),null,!1,!1)});Pe.xlinkHref=new Ve("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Pe[e]=new Ve(e,1,!1,e.toLowerCase(),null,!0,!0)});function xc(e,t,n,r){var o=Pe.hasOwnProperty(t)?Pe[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(pv(t,n,o,r)&&(n=null),r||o===null?fv(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var nn=uv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ri=Symbol.for("react.element"),Cr=Symbol.for("react.portal"),Er=Symbol.for("react.fragment"),wc=Symbol.for("react.strict_mode"),sl=Symbol.for("react.profiler"),Zf=Symbol.for("react.provider"),eh=Symbol.for("react.context"),bc=Symbol.for("react.forward_ref"),al=Symbol.for("react.suspense"),ll=Symbol.for("react.suspense_list"),jc=Symbol.for("react.memo"),pn=Symbol.for("react.lazy"),th=Symbol.for("react.offscreen"),$u=Symbol.iterator;function wo(e){return e===null||typeof e!="object"?null:(e=$u&&e[$u]||e["@@iterator"],typeof e=="function"?e:null)}var pe=Object.assign,Ca;function Ro(e){if(Ca===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ca=t&&t[1]||""}return` 34`+Ca+e}var Ea=!1;function Pa(e,t){if(!e||Ea)return"";Ea=!0;var n=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(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 15,802 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(` 35`),i=r.stack.split(` 36`),s=o.length-1,l=i.length-1;1<=s&&0<=l&&o[s]!==i[l];)l--;for(;1<=s&&0<=l;s--,l--)if(o[s]!==i[l]){if(s!==1||l!==1)do if(s--,l--,0>l||o[s]!==i[l]){var c=` 37`+o[s].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=s&&0<=l);break}}}finally{Ea=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ro(e):""}function mv(e){switch(e.tag){case 5:return Ro(e.type);case 16:return Ro("Lazy");case 13:return Ro("Suspense");case 19:return Ro("SuspenseList");case 0:case 2:case 15:return e=Pa(e.type,!1),e;case 11:return e=Pa(e.type.render,!1),e;case 1:return e=Pa(e.type,!0),e;default:return""}}function cl(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 Er:return"Fragment";case Cr:return"Portal";case sl:return"Profiler";case wc:return"StrictMode";case al:return"Suspense";case ll:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case eh:return(e.displayName||"Context")+".Consumer";case Zf:return(e._context.displayName||"Context")+".Provider";case bc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case jc:return t=e.displayName||null,t!==null?t:cl(e.type)||"Memo";case pn:t=e._payload,e=e._init;try{return cl(e(t))}catch{}}return null}function gv(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 cl(t);case 8:return t===wc?"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 Mn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function nh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function vv(e){var t=nh(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ai(e){e._valueTracker||(e._valueTracker=vv(e))}function rh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=nh(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function fs(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 ul(e,t){var n=t.checked;return pe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Bu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Mn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function oh(e,t){t=t.checked,t!=null&&xc(e,"checked",t,!1)}function dl(e,t){oh(e,t);var n=Mn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?fl(e,t.type,n):t.hasOwnProperty("defaultValue")&&fl(e,t.type,Mn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Vu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function fl(e,t,n){(t!=="number"||fs(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ao=Array.isArray;function Dr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Mn(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function hl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(R(91));return pe({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Uu(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(R(92));if(Ao(n)){if(1<n.length)throw Error(R(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Mn(n)}}function ih(e,t){var n=Mn(t.value),r=Mn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Wu(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function sh(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 pl(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?sh(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ii,ah=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Ii=Ii||document.createElement("div"),Ii.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ii.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ho(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Lo={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},yv=["Webkit","ms","Moz","O"];Object.keys(Lo).forEach(function(e){yv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Lo[t]=Lo[e]})});function lh(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Lo.hasOwnProperty(e)&&Lo[e]?(""+t).trim():t+"px"}function ch(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=lh(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var xv=pe({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 ml(e,t){if(t){if(xv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(R(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(R(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(R(61))}if(t.style!=null&&typeof t.style!="object")throw Error(R(62))}}function gl(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 vl=null;function kc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var yl=null,zr=null,$r=null;function Hu(e){if(e=yi(e)){if(typeof yl!="function")throw Error(R(280));var t=e.stateNode;t&&(t=Xs(t),yl(e.stateNode,e.type,t))}}function uh(e){zr?$r?$r.push(e):$r=[e]:zr=e}function dh(){if(zr){var e=zr,t=$r;if($r=zr=null,Hu(e),t)for(e=0;e<t.length;e++)Hu(t[e])}}function fh(e,t){return e(t)}function hh(){}var Ta=!1;function ph(e,t,n){if(Ta)return e(t,n);Ta=!0;try{return fh(e,t,n)}finally{Ta=!1,(zr!==null||$r!==null)&&(hh(),dh())}}function Ko(e,t){var n=e.stateNode;if(n===null)return null;var r=Xs(n);if(r===null)return null;n=r[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":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(R(231,t,typeof n));return n}var xl=!1;if(qt)try{var bo={};Object.defineProperty(bo,"passive",{get:function(){xl=!0}}),window.addEventListener("test",bo,bo),window.removeEventListener("test",bo,bo)}catch{xl=!1}function wv(e,t,n,r,o,i,s,l,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(h){this.onError(h)}}var Mo=!1,hs=null,ps=!1,wl=null,bv={onError:function(e){Mo=!0,hs=e}};function jv(e,t,n,r,o,i,s,l,c){Mo=!1,hs=null,wv.apply(bv,arguments)}function kv(e,t,n,r,o,i,s,l,c){if(jv.apply(this,arguments),Mo){if(Mo){var u=hs;Mo=!1,hs=null}else throw Error(R(198));ps||(ps=!0,wl=u)}}function gr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function mh(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 Ku(e){if(gr(e)!==e)throw Error(R(188))}function Nv(e){var t=e.alternate;if(!t){if(t=gr(e),t===null)throw Error(R(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Ku(o),e;if(i===r)return Ku(o),t;i=i.sibling}throw Error(R(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s)throw Error(R(189))}}if(n.alternate!==r)throw Error(R(190))}if(n.tag!==3)throw Error(R(188));return n.stateNode.current===n?e:t}function gh(e){return e=Nv(e),e!==null?vh(e):null}function vh(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=vh(e);if(t!==null)return t;e=e.sibling}return null}var yh=tt.unstable_scheduleCallback,Qu=tt.unstable_cancelCallback,Sv=tt.unstable_shouldYield,Cv=tt.unstable_requestPaint,ve=tt.unstable_now,Ev=tt.unstable_getCurrentPriorityLevel,Nc=tt.unstable_ImmediatePriority,xh=tt.unstable_UserBlockingPriority,ms=tt.unstable_NormalPriority,Pv=tt.unstable_LowPriority,wh=tt.unstable_IdlePriority,Qs=null,_t=null;function Tv(e){if(_t&&typeof _t.onCommitFiberRoot=="function")try{_t.onCommitFiberRoot(Qs,e,void 0,(e.current.flags&128)===128)}catch{}}var Nt=Math.clz32?Math.clz32:Iv,Rv=Math.log,Av=Math.LN2;function Iv(e){return e>>>=0,e===0?32:31-(Rv(e)/Av|0)|0}var Oi=64,Li=4194304;function Io(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 gs(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~o;l!==0?r=Io(l):(i&=s,i!==0&&(r=Io(i)))}else s=n&~o,s!==0?r=Io(s):i!==0&&(r=Io(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Nt(t),o=1<<n,r|=e[n],t&=~o;return r}function Ov(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 Lv(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-Nt(i),l=1<<s,c=o[s];c===-1?(!(l&n)||l&r)&&(o[s]=Ov(l,t)):c<=t&&(e.expiredLanes|=l),i&=~l}}function bl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function bh(){var e=Oi;return Oi<<=1,!(Oi&4194240)&&(Oi=64),e}function Ra(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Nt(t),e[t]=n}function Mv(e,t){var n=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 r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-Nt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function Sc(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Nt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var oe=0;function jh(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var kh,Cc,Nh,Sh,Ch,jl=!1,Mi=[],Cn=null,En=null,Pn=null,Qo=new Map,Go=new Map,gn=[],Fv="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 Gu(e,t){switch(e){case"focusin":case"focusout":Cn=null;break;case"dragenter":case"dragleave":En=null;break;case"mouseover":case"mouseout":Pn=null;break;case"pointerover":case"pointerout":Qo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Go.delete(t.pointerId)}}function jo(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=yi(t),t!==null&&Cc(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function _v(e,t,n,r,o){switch(t){case"focusin":return Cn=jo(Cn,e,t,n,r,o),!0;case"dragenter":return En=jo(En,e,t,n,r,o),!0;case"mouseover":return Pn=jo(Pn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;
vendor: 12,456 bytes, line 37
37return Qo.set(i,jo(Qo.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Go.set(i,jo(Go.get(i)||null,e,t,n,r,o)),!0}return!1}function Eh(e){var t=Jn(e.target);if(t!==null){var n=gr(t);if(n!==null){if(t=n.tag,t===13){if(t=mh(n),t!==null){e.blockedOn=t,Ch(e.priority,function(){Nh(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Zi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=kl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);vl=r,n.target.dispatchEvent(r),vl=null}else return t=yi(n),t!==null&&Cc(t),e.blockedOn=n,!1;t.shift()}return!0}function Yu(e,t,n){Zi(e)&&n.delete(t)}function Dv(){jl=!1,Cn!==null&&Zi(Cn)&&(Cn=null),En!==null&&Zi(En)&&(En=null),Pn!==null&&Zi(Pn)&&(Pn=null),Qo.forEach(Yu),Go.forEach(Yu)}function ko(e,t){e.blockedOn===t&&(e.blockedOn=null,jl||(jl=!0,tt.unstable_scheduleCallback(tt.unstable_NormalPriority,Dv)))}function Yo(e){function t(o){return ko(o,e)}if(0<Mi.length){ko(Mi[0],e);for(var n=1;n<Mi.length;n++){var r=Mi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Cn!==null&&ko(Cn,e),En!==null&&ko(En,e),Pn!==null&&ko(Pn,e),Qo.forEach(t),Go.forEach(t),n=0;n<gn.length;n++)r=gn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<gn.length&&(n=gn[0],n.blockedOn===null);)Eh(n),n.blockedOn===null&&gn.shift()}var Br=nn.ReactCurrentBatchConfig,vs=!0;function zv(e,t,n,r){var o=oe,i=Br.transition;Br.transition=null;try{oe=1,Ec(e,t,n,r)}finally{oe=o,Br.transition=i}}function $v(e,t,n,r){var o=oe,i=Br.transition;Br.transition=null;try{oe=4,Ec(e,t,n,r)}finally{oe=o,Br.transition=i}}function Ec(e,t,n,r){if(vs){var o=kl(e,t,n,r);if(o===null)$a(e,t,r,ys,n),Gu(e,r);else if(_v(o,e,t,n,r))r.stopPropagation();else if(Gu(e,r),t&4&&-1<Fv.indexOf(e)){for(;o!==null;){var i=yi(o);if(i!==null&&kh(i),i=kl(e,t,n,r),i===null&&$a(e,t,r,ys,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else $a(e,t,r,null,n)}}var ys=null;function kl(e,t,n,r){if(ys=null,e=kc(r),e=Jn(e),e!==null)if(t=gr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=mh(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return ys=e,null}function Ph(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(Ev()){case Nc:return 1;case xh:return 4;case ms:case Pv:return 16;case wh:return 536870912;default:return 16}default:return 16}}var kn=null,Pc=null,es=null;function Th(){if(es)return es;var e,t=Pc,n=t.length,r,o="value"in kn?kn.value:kn.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===o[i-r];r++);return es=o.slice(e,1<r?1-r:void 0)}function ts(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 Fi(){return!0}function qu(){return!1}function rt(e){function t(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(i):i[l]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Fi:qu,this.isPropagationStopped=qu,this}return pe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Fi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Fi)},persist:function(){},isPersistent:Fi}),t}var fo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Tc=rt(fo),vi=pe({},fo,{view:0,detail:0}),Bv=rt(vi),Aa,Ia,No,Gs=pe({},vi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Rc,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!==No&&(No&&e.type==="mousemove"?(Aa=e.screenX-No.screenX,Ia=e.screenY-No.screenY):Ia=Aa=0,No=e),Aa)},movementY:function(e){return"movementY"in e?e.movementY:Ia}}),Xu=rt(Gs),Vv=pe({},Gs,{dataTransfer:0}),Uv=rt(Vv),Wv=pe({},vi,{relatedTarget:0}),Oa=rt(Wv),Hv=pe({},fo,{animationName:0,elapsedTime:0,pseudoElement:0}),Kv=rt(Hv),Qv=pe({},fo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Gv=rt(Qv),Yv=pe({},fo,{data:0}),Ju=rt(Yv),qv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Xv={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"},Jv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Zv(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Jv[e])?!!t[e]:!1}function Rc(){return Zv}var ey=pe({},vi,{key:function(e){if(e.key){var t=qv[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ts(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Xv[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Rc,charCode:function(e){return e.type==="keypress"?ts(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ts(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),ty=rt(ey),ny=pe({},Gs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Zu=rt(ny),ry=pe({},vi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Rc}),oy=rt(ry),iy=pe({},fo,{propertyName:0,elapsedTime:0,pseudoElement:0}),sy=rt(iy),ay=pe({},Gs,{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}),ly=rt(ay),cy=[9,13,27,32],Ac=qt&&"CompositionEvent"in window,Fo=null;qt&&"documentMode"in document&&(Fo=document.documentMode);var uy=qt&&"TextEvent"in window&&!Fo,Rh=qt&&(!Ac||Fo&&8<Fo&&11>=Fo),ed=" ",td=!1;function Ah(e,t){switch(e){case"keyup":return cy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ih(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Pr=!1;function dy(e,t){switch(e){case"compositionend":return Ih(t);case"keypress":return t.which!==32?null:(td=!0,ed);case"textInput":return e=t.data,e===ed&&td?null:e;default:return null}}function fy(e,t){if(Pr)return e==="compositionend"||!Ac&&Ah(e,t)?(e=Th(),es=Pc=kn=null,Pr=!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 Rh&&t.locale!=="ko"?null:t.data;default:return null}}var hy={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 nd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!hy[e.type]:t==="textarea"}function Oh(e,t,n,r){uh(r),t=xs(t,"onChange"),0<t.length&&(n=new Tc("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var _o=null,qo=null;function py(e){Wh(e,0)}function Ys(e){var t=Ar(e);if(rh(t))return e}function my(e,t){if(e==="change")return t}var Lh=!1;if(qt){var La;if(qt){var Ma="oninput"in document;if(!Ma){var rd=document.createElement("div");rd.setAttribute("oninput","return;"),Ma=typeof rd.oninput=="function"}La=Ma}else La=!1;Lh=La&&(!document.documentMode||9<document.documentMode)}function od(){_o&&(_o.detachEvent("onpropertychange",Mh),qo=_o=null)}function Mh(e){if(e.propertyName==="value"&&Ys(qo)){var t=[];Oh(t,qo,e,kc(e)),ph(py,t)}}function gy(e,t,n){e==="focusin"?(od(),_o=t,qo=n,_o.attachEvent("onpropertychange",Mh)):e==="focusout"&&od()}function vy(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ys(qo)}function yy(e,t){if(e==="click")return Ys(t)}function xy(e,t){if(e==="input"||e==="change")return Ys(t)}function wy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ct=typeof Object.is=="function"?Object.is:wy;function Xo(e,t){if(Ct(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!il.call(t,o)||!Ct(e[o],t[o]))return!1}return!0}function id(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function sd(e,t){var n=id(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=id(n)}}function Fh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Fh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function _h(){for(var e=window,t=fs();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=fs(e.document)}return t}function Ic(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 by(e){var t=_h(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Fh(n.ownerDocument.documentElement,n)){if(r!==null&&Ic(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=sd(n,i);var s=sd(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var jy=qt&&"documentMode"in document&&11>=document.documentMode,Tr=null,Nl=null,Do=null,Sl=!1;
vendor: 4,821 bytes, line 37
37function ad(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Sl||Tr==null||Tr!==fs(r)||(r=Tr,"selectionStart"in r&&Ic(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Do&&Xo(Do,r)||(Do=r,r=xs(Nl,"onSelect"),0<r.length&&(t=new Tc("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Tr)))}function _i(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Rr={animationend:_i("Animation","AnimationEnd"),animationiteration:_i("Animation","AnimationIteration"),animationstart:_i("Animation","AnimationStart"),transitionend:_i("Transition","TransitionEnd")},Fa={},Dh={};qt&&(Dh=document.createElement("div").style,"AnimationEvent"in window||(delete Rr.animationend.animation,delete Rr.animationiteration.animation,delete Rr.animationstart.animation),"TransitionEvent"in window||delete Rr.transitionend.transition);function qs(e){if(Fa[e])return Fa[e];if(!Rr[e])return e;var t=Rr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Dh)return Fa[e]=t[n];return e}var zh=qs("animationend"),$h=qs("animationiteration"),Bh=qs("animationstart"),Vh=qs("transitionend"),Uh=new Map,ld="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 Un(e,t){Uh.set(e,t),mr(t,[e])}for(var _a=0;_a<ld.length;_a++){var Da=ld[_a],ky=Da.toLowerCase(),Ny=Da[0].toUpperCase()+Da.slice(1);Un(ky,"on"+Ny)}Un(zh,"onAnimationEnd");Un($h,"onAnimationIteration");Un(Bh,"onAnimationStart");Un("dblclick","onDoubleClick");Un("focusin","onFocus");Un("focusout","onBlur");Un(Vh,"onTransitionEnd");eo("onMouseEnter",["mouseout","mouseover"]);eo("onMouseLeave",["mouseout","mouseover"]);eo("onPointerEnter",["pointerout","pointerover"]);eo("onPointerLeave",["pointerout","pointerover"]);mr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));mr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));mr("onBeforeInput",["compositionend","keypress","textInput","paste"]);mr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));mr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));mr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Oo="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(" "),Sy=new Set("cancel close invalid load scroll toggle".split(" ").concat(Oo));function cd(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,kv(r,t,void 0,e),e.currentTarget=null}function Wh(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var l=r[s],c=l.instance,u=l.currentTarget;if(l=l.listener,c!==i&&o.isPropagationStopped())break e;cd(o,l,u),i=c}else for(s=0;s<r.length;s++){if(l=r[s],c=l.instance,u=l.currentTarget,l=l.listener,c!==i&&o.isPropagationStopped())break e;cd(o,l,u),i=c}}}if(ps)throw e=wl,ps=!1,wl=null,e}function le(e,t){var n=t[Rl];n===void 0&&(n=t[Rl]=new Set);var r=e+"__bubble";n.has(r)||(Hh(t,e,2,!1),n.add(r))}function za(e,t,n){var r=0;t&&(r|=4),Hh(n,e,r,t)}var Di="_reactListening"+Math.random().toString(36).slice(2);function Jo(e){if(!e[Di]){e[Di]=!0,Jf.forEach(function(n){n!=="selectionchange"&&(Sy.has(n)||za(n,!1,e),za(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Di]||(t[Di]=!0,za("selectionchange",!1,t))}}function Hh(e,t,n,r){switch(Ph(t)){case 1:var o=zv;break;case 4:o=$v;break;default:o=Ec}n=o.bind(null,t,n,e),o=void 0,!xl||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function $a(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var l=r.stateNode.containerInfo;
vendor: 4,093 bytes, line 37
37if(l===o||l.nodeType===8&&l.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var c=s.tag;if((c===3||c===4)&&(c=s.stateNode.containerInfo,c===o||c.nodeType===8&&c.parentNode===o))return;s=s.return}for(;l!==null;){if(s=Jn(l),s===null)return;if(c=s.tag,c===5||c===6){r=i=s;continue e}l=l.parentNode}}r=r.return}ph(function(){var u=i,h=kc(n),p=[];e:{var f=Uh.get(e);if(f!==void 0){var d=Tc,b=e;switch(e){case"keypress":if(ts(n)===0)break e;case"keydown":case"keyup":d=ty;break;case"focusin":b="focus",d=Oa;break;case"focusout":b="blur",d=Oa;break;case"beforeblur":case"afterblur":d=Oa;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":d=Xu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":d=Uv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":d=oy;break;case zh:case $h:case Bh:d=Kv;break;case Vh:d=sy;break;case"scroll":d=Bv;break;case"wheel":d=ly;break;case"copy":case"cut":case"paste":d=Gv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":d=Zu}var y=(t&4)!==0,w=!y&&e==="scroll",g=y?f!==null?f+"Capture":null:f;y=[];for(var m=u,v;m!==null;){v=m;var j=v.stateNode;if(v.tag===5&&j!==null&&(v=j,g!==null&&(j=Ko(m,g),j!=null&&y.push(Zo(m,j,v)))),w)break;m=m.return}0<y.length&&(f=new d(f,b,null,n,h),p.push({event:f,listeners:y}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",d=e==="mouseout"||e==="pointerout",f&&n!==vl&&(b=n.relatedTarget||n.fromElement)&&(Jn(b)||b[Xt]))break e;if((d||f)&&(f=h.window===h?h:(f=h.ownerDocument)?f.defaultView||f.parentWindow:window,d?(b=n.relatedTarget||n.toElement,d=u,b=b?Jn(b):null,b!==null&&(w=gr(b),b!==w||b.tag!==5&&b.tag!==6)&&(b=null)):(d=null,b=u),d!==b)){if(y=Xu,j="onMouseLeave",g="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(y=Zu,j="onPointerLeave",g="onPointerEnter",m="pointer"),w=d==null?f:Ar(d),v=b==null?f:Ar(b),f=new y(j,m+"leave",d,n,h),f.target=w,f.relatedTarget=v,j=null,Jn(h)===u&&(y=new y(g,m+"enter",b,n,h),y.target=v,y.relatedTarget=w,j=y),w=j,d&&b)t:{for(y=d,g=b,m=0,v=y;v;v=Nr(v))m++;for(v=0,j=g;j;j=Nr(j))v++;for(;0<m-v;)y=Nr(y),m--;for(;0<v-m;)g=Nr(g),v--;for(;m--;){if(y===g||g!==null&&y===g.alternate)break t;y=Nr(y),g=Nr(g)}y=null}else y=null;d!==null&&ud(p,f,d,y,!1),b!==null&&w!==null&&ud(p,w,b,y,!0)}}e:{if(f=u?Ar(u):window,d=f.nodeName&&f.nodeName.toLowerCase(),d==="select"||d==="input"&&f.type==="file")var k=my;else if(nd(f))if(Lh)k=xy;else{k=vy;var N=gy}else(d=f.nodeName)&&d.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(k=yy);if(k&&(k=k(e,u))){Oh(p,k,n,h);break e}N&&N(e,f,u),e==="focusout"&&(N=f._wrapperState)&&N.controlled&&f.type==="number"&&fl(f,"number",f.value)}switch(N=u?Ar(u):window,e){case"focusin":(nd(N)||N.contentEditable==="true")&&(Tr=N,Nl=u,Do=null);break;case"focusout":Do=Nl=Tr=null;break;case"mousedown":Sl=!0;break;case"contextmenu":case"mouseup":case"dragend":Sl=!1,ad(p,n,h);break;case"selectionchange":if(jy)break;case"keydown":case"keyup":ad(p,n,h)}var S;if(Ac)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else Pr?Ah(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(Rh&&n.locale!=="ko"&&(Pr||T!=="onCompositionStart"?T==="onCompositionEnd"&&Pr&&(S=Th()):(kn=h,Pc="value"in kn?kn.value:kn.textContent,Pr=!0)),N=xs(u,T),0<N.length&&(T=new Ju(T,e,null,n,h),p.push({event:T,listeners:N}),S?T.data=S:(S=Ih(n),S!==null&&(T.data=S)))),(S=uy?dy(e,n):fy(e,n))&&(u=xs(u,"onBeforeInput"),0<u.length&&(h=new Ju("onBeforeInput","beforeinput",null,n,h),p.push({event:h,listeners:u}),h.data=S))}Wh(p,t)})}function Zo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function xs(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;
vendor: 4,064 bytes, lines 37-38
37o.tag===5&&i!==null&&(o=i,i=Ko(e,n),i!=null&&r.unshift(Zo(e,i,o)),i=Ko(e,t),i!=null&&r.push(Zo(e,i,o))),e=e.return}return r}function Nr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function ud(e,t,n,r,o){for(var i=t._reactName,s=[];n!==null&&n!==r;){var l=n,c=l.alternate,u=l.stateNode;if(c!==null&&c===r)break;l.tag===5&&u!==null&&(l=u,o?(c=Ko(n,i),c!=null&&s.unshift(Zo(n,c,l))):o||(c=Ko(n,i),c!=null&&s.push(Zo(n,c,l)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var Cy=/\r\n?/g,Ey=/\u0000|\uFFFD/g;function dd(e){return(typeof e=="string"?e:""+e).replace(Cy,` 38`).replace(Ey,"")}function zi(e,t,n){if(t=dd(t),dd(e)!==t&&n)throw Error(R(425))}function ws(){}var Cl=null,El=null;function Pl(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 Tl=typeof setTimeout=="function"?setTimeout:void 0,Py=typeof clearTimeout=="function"?clearTimeout:void 0,fd=typeof Promise=="function"?Promise:void 0,Ty=typeof queueMicrotask=="function"?queueMicrotask:typeof fd<"u"?function(e){return fd.resolve(null).then(e).catch(Ry)}:Tl;function Ry(e){setTimeout(function(){throw e})}function Ba(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),Yo(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Yo(t)}function Tn(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 hd(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var ho=Math.random().toString(36).slice(2),Mt="__reactFiber$"+ho,ei="__reactProps$"+ho,Xt="__reactContainer$"+ho,Rl="__reactEvents$"+ho,Ay="__reactListeners$"+ho,Iy="__reactHandles$"+ho;function Jn(e){var t=e[Mt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Xt]||n[Mt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=hd(e);e!==null;){if(n=e[Mt])return n;e=hd(e)}return t}e=n,n=e.parentNode}return null}function yi(e){return e=e[Mt]||e[Xt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ar(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(R(33))}function Xs(e){return e[ei]||null}var Al=[],Ir=-1;function Wn(e){return{current:e}}function ce(e){0>Ir||(e.current=Al[Ir],Al[Ir]=null,Ir--)}function se(e,t){Ir++,Al[Ir]=e.current,e.current=t}var Fn={},Fe=Wn(Fn),Ke=Wn(!1),cr=Fn;function to(e,t){var n=e.type.contextTypes;if(!n)return Fn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Qe(e){return e=e.childContextTypes,e!=null}function bs(){ce(Ke),ce(Fe)}function pd(e,t,n){if(Fe.current!==Fn)throw Error(R(168));se(Fe,t),se(Ke,n)}function Kh(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(R(108,gv(e)||"Unknown",o));return pe({},n,r)}function js(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Fn,cr=Fe.current,se(Fe,e),se(Ke,Ke.current),!0}function md(e,t,n){var r=e.stateNode;if(!r)throw Error(R(169));n?(e=Kh(e,t,cr),r.__reactInternalMemoizedMergedChildContext=e,ce(Ke),ce(Fe),se(Fe,e)):ce(Ke),se(Ke,n)}var Ht=null,Js=!1,Va=!1;function Qh(e){Ht===null?Ht=[e]:Ht.push(e)}function Oy(e){Js=!0,Qh(e)}function Hn(){if(!Va&&Ht!==null){Va=!0;var e=0,t=oe;try{var n=Ht;for(oe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Ht=null,Js=!1}catch(o){throw Ht!==null&&(Ht=Ht.slice(e+1)),yh(Nc,Hn),o}finally{oe=t,Va=!1}}return null}var Or=[],Lr=0,ks=null,Ns=0,st=[],at=0,ur=null,Qt=1,Gt="";
vendor: 16,199 bytes, line 38
38function qn(e,t){Or[Lr++]=Ns,Or[Lr++]=ks,ks=e,Ns=t}function Gh(e,t,n){st[at++]=Qt,st[at++]=Gt,st[at++]=ur,ur=e;var r=Qt;e=Gt;var o=32-Nt(r)-1;r&=~(1<<o),n+=1;var i=32-Nt(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,Qt=1<<32-Nt(t)+o|n<<o|r,Gt=i+e}else Qt=1<<i|n<<o|r,Gt=e}function Oc(e){e.return!==null&&(qn(e,1),Gh(e,1,0))}function Lc(e){for(;e===ks;)ks=Or[--Lr],Or[Lr]=null,Ns=Or[--Lr],Or[Lr]=null;for(;e===ur;)ur=st[--at],st[at]=null,Gt=st[--at],st[at]=null,Qt=st[--at],st[at]=null}var Ze=null,Je=null,de=!1,kt=null;function Yh(e,t){var n=lt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function gd(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ze=e,Je=Tn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ze=e,Je=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=ur!==null?{id:Qt,overflow:Gt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=lt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ze=e,Je=null,!0):!1;default:return!1}}function Il(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ol(e){if(de){var t=Je;if(t){var n=t;if(!gd(e,t)){if(Il(e))throw Error(R(418));t=Tn(n.nextSibling);var r=Ze;t&&gd(e,t)?Yh(r,n):(e.flags=e.flags&-4097|2,de=!1,Ze=e)}}else{if(Il(e))throw Error(R(418));e.flags=e.flags&-4097|2,de=!1,Ze=e}}}function vd(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ze=e}function $i(e){if(e!==Ze)return!1;if(!de)return vd(e),de=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Pl(e.type,e.memoizedProps)),t&&(t=Je)){if(Il(e))throw qh(),Error(R(418));for(;t;)Yh(e,t),t=Tn(t.nextSibling)}if(vd(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(R(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Je=Tn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Je=null}}else Je=Ze?Tn(e.stateNode.nextSibling):null;return!0}function qh(){for(var e=Je;e;)e=Tn(e.nextSibling)}function no(){Je=Ze=null,de=!1}function Mc(e){kt===null?kt=[e]:kt.push(e)}var Ly=nn.ReactCurrentBatchConfig;function So(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(R(309));var r=n.stateNode}if(!r)throw Error(R(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(s){var l=o.refs;s===null?delete l[i]:l[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(R(284));if(!n._owner)throw Error(R(290,e))}return e}function Bi(e,t){throw e=Object.prototype.toString.call(t),Error(R(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function yd(e){var t=e._init;return t(e._payload)}function Xh(e){function t(g,m){if(e){var v=g.deletions;v===null?(g.deletions=[m],g.flags|=16):v.push(m)}}function n(g,m){if(!e)return null;for(;m!==null;)t(g,m),m=m.sibling;return null}function r(g,m){for(g=new Map;m!==null;)m.key!==null?g.set(m.key,m):g.set(m.index,m),m=m.sibling;return g}function o(g,m){return g=On(g,m),g.index=0,g.sibling=null,g}function i(g,m,v){return g.index=v,e?(v=g.alternate,v!==null?(v=v.index,v<m?(g.flags|=2,m):v):(g.flags|=2,m)):(g.flags|=1048576,m)}function s(g){return e&&g.alternate===null&&(g.flags|=2),g}function l(g,m,v,j){return m===null||m.tag!==6?(m=Ya(v,g.mode,j),m.return=g,m):(m=o(m,v),m.return=g,m)}function c(g,m,v,j){var k=v.type;return k===Er?h(g,m,v.props.children,j,v.key):m!==null&&(m.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===pn&&yd(k)===m.type)?(j=o(m,v.props),j.ref=So(g,m,v),j.return=g,j):(j=ls(v.type,v.key,v.props,null,g.mode,j),j.ref=So(g,m,v),j.return=g,j)}function u(g,m,v,j){return m===null||m.tag!==4||m.stateNode.containerInfo!==v.containerInfo||m.stateNode.implementation!==v.implementation?(m=qa(v,g.mode,j),m.return=g,m):(m=o(m,v.children||[]),m.return=g,m)}function h(g,m,v,j,k){return m===null||m.tag!==7?(m=lr(v,g.mode,j,k),m.return=g,m):(m=o(m,v),m.return=g,m)}function p(g,m,v){if(typeof m=="string"&&m!==""||typeof m=="number")return m=Ya(""+m,g.mode,v),m.return=g,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Ri:return v=ls(m.type,m.key,m.props,null,g.mode,v),v.ref=So(g,null,m),v.return=g,v;case Cr:return m=qa(m,g.mode,v),m.return=g,m;case pn:var j=m._init;return p(g,j(m._payload),v)}if(Ao(m)||wo(m))return m=lr(m,g.mode,v,null),m.return=g,m;Bi(g,m)}return null}function f(g,m,v,j){var k=m!==null?m.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return k!==null?null:l(g,m,""+v,j);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Ri:return v.key===k?c(g,m,v,j):null;case Cr:return v.key===k?u(g,m,v,j):null;case pn:return k=v._init,f(g,m,k(v._payload),j)}if(Ao(v)||wo(v))return k!==null?null:h(g,m,v,j,null);Bi(g,v)}return null}function d(g,m,v,j,k){if(typeof j=="string"&&j!==""||typeof j=="number")return g=g.get(v)||null,l(m,g,""+j,k);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case Ri:return g=g.get(j.key===null?v:j.key)||null,c(m,g,j,k);case Cr:return g=g.get(j.key===null?v:j.key)||null,u(m,g,j,k);case pn:var N=j._init;return d(g,m,v,N(j._payload),k)}if(Ao(j)||wo(j))return g=g.get(v)||null,h(m,g,j,k,null);Bi(m,j)}return null}function b(g,m,v,j){for(var k=null,N=null,S=m,T=m=0,O=null;S!==null&&T<v.length;T++){S.index>T?(O=S,S=null):O=S.sibling;var I=f(g,S,v[T],j);if(I===null){S===null&&(S=O);break}e&&S&&I.alternate===null&&t(g,S),m=i(I,m,T),N===null?k=I:N.sibling=I,N=I,S=O}if(T===v.length)return n(g,S),de&&qn(g,T),k;if(S===null){for(;T<v.length;T++)S=p(g,v[T],j),S!==null&&(m=i(S,m,T),N===null?k=S:N.sibling=S,N=S);return de&&qn(g,T),k}for(S=r(g,S);T<v.length;T++)O=d(S,g,T,v[T],j),O!==null&&(e&&O.alternate!==null&&S.delete(O.key===null?T:O.key),m=i(O,m,T),N===null?k=O:N.sibling=O,N=O);return e&&S.forEach(function(B){return t(g,B)}),de&&qn(g,T),k}function y(g,m,v,j){var k=wo(v);if(typeof k!="function")throw Error(R(150));if(v=k.call(v),v==null)throw Error(R(151));for(var N=k=null,S=m,T=m=0,O=null,I=v.next();S!==null&&!I.done;T++,I=v.next()){S.index>T?(O=S,S=null):O=S.sibling;var B=f(g,S,I.value,j);if(B===null){S===null&&(S=O);break}e&&S&&B.alternate===null&&t(g,S),m=i(B,m,T),N===null?k=B:N.sibling=B,N=B,S=O}if(I.done)return n(g,S),de&&qn(g,T),k;if(S===null){for(;!I.done;T++,I=v.next())I=p(g,I.value,j),I!==null&&(m=i(I,m,T),N===null?k=I:N.sibling=I,N=I);return de&&qn(g,T),k}for(S=r(g,S);!I.done;T++,I=v.next())I=d(S,g,T,I.value,j),I!==null&&(e&&I.alternate!==null&&S.delete(I.key===null?T:I.key),m=i(I,m,T),N===null?k=I:N.sibling=I,N=I);return e&&S.forEach(function(_){return t(g,_)}),de&&qn(g,T),k}function w(g,m,v,j){if(typeof v=="object"&&v!==null&&v.type===Er&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Ri:e:{for(var k=v.key,N=m;N!==null;){if(N.key===k){if(k=v.type,k===Er){if(N.tag===7){n(g,N.sibling),m=o(N,v.props.children),m.return=g,g=m;break e}}else if(N.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===pn&&yd(k)===N.type){n(g,N.sibling),m=o(N,v.props),m.ref=So(g,N,v),m.return=g,g=m;break e}n(g,N);break}else t(g,N);N=N.sibling}v.type===Er?(m=lr(v.props.children,g.mode,j,v.key),m.return=g,g=m):(j=ls(v.type,v.key,v.props,null,g.mode,j),j.ref=So(g,m,v),j.return=g,g=j)}return s(g);case Cr:e:{for(N=v.key;m!==null;){if(m.key===N)if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){n(g,m.sibling),m=o(m,v.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=qa(v,g.mode,j),m.return=g,g=m}return s(g);case pn:return N=v._init,w(g,m,N(v._payload),j)}if(Ao(v))return b(g,m,v,j);if(wo(v))return y(g,m,v,j);Bi(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,m!==null&&m.tag===6?(n(g,m.sibling),m=o(m,v),m.return=g,g=m):(n(g,m),m=Ya(v,g.mode,j),m.return=g,g=m),s(g)):n(g,m)}return w}var ro=Xh(!0),Jh=Xh(!1),Ss=Wn(null),Cs=null,Mr=null,Fc=null;function _c(){Fc=Mr=Cs=null}function Dc(e){var t=Ss.current;ce(Ss),e._currentValue=t}function Ll(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Vr(e,t){Cs=e,Fc=Mr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(He=!0),e.firstContext=null)}function ut(e){var t=e._currentValue;if(Fc!==e)if(e={context:e,memoizedValue:t,next:null},Mr===null){if(Cs===null)throw Error(R(308));Mr=e,Cs.dependencies={lanes:0,firstContext:e}}else Mr=Mr.next=e;return t}var Zn=null;function zc(e){Zn===null?Zn=[e]:Zn.push(e)}function Zh(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,zc(t)):(n.next=o.next,o.next=n),t.interleaved=n,Jt(e,r)}function Jt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var mn=!1;function $c(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ep(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 Yt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Rn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,te&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Jt(e,n)}return o=r.interleaved,o===null?(t.next=t,zc(r)):(t.next=o.next,o.next=t),r.interleaved=t,Jt(e,n)}function ns(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Sc(e,n)}}function xd(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Es(e,t,n,r){var o=e.updateQueue;mn=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var c=l,u=c.next;c.next=null,s===null?i=u:s.next=u,s=c;var h=e.alternate;h!==null&&(h=h.updateQueue,l=h.lastBaseUpdate,l!==s&&(l===null?h.firstBaseUpdate=u:l.next=u,h.lastBaseUpdate=c))}if(i!==null){var p=o.baseState;s=0,h=u=c=null,l=i;do{var f=l.lane,d=l.eventTime;if((r&f)===f){h!==null&&(h=h.next={eventTime:d,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var b=e,y=l;switch(f=t,d=n,y.tag){case 1:if(b=y.payload,typeof b=="function"){p=b.call(d,p,f);break e}p=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=y.payload,f=typeof b=="function"?b.call(d,p,f):b,f==null)break e;p=pe({},p,f);break e;case 2:mn=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[l]:f.push(l))}else d={eventTime:d,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},h===null?(u=h=d,c=p):h=h.next=d,s|=f;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;f=l,l=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(!0);if(h===null&&(c=p),o.baseState=c,o.firstBaseUpdate=u,o.lastBaseUpdate=h,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);fr|=s,e.lanes=s,e.memoizedState=p}}function wd(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(R(191,o));o.call(r)}}}var xi={},Dt=Wn(xi),ti=Wn(xi),ni=Wn(xi);function er(e){if(e===xi)throw Error(R(174));return e}function Bc(e,t){switch(se(ni,t),se(ti,e),se(Dt,xi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:pl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=pl(t,e)}ce(Dt),se(Dt,t)}function oo(){ce(Dt),ce(ti),ce(ni)}function tp(e){er(ni.current);var t=er(Dt.current),n=pl(t,e.type);t!==n&&(se(ti,e),se(Dt,n))}function Vc(e){ti.current===e&&(ce(Dt),ce(ti))}var fe=Wn(0);function Ps(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.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 Ua=[];function Uc(){for(var e=0;e<Ua.length;e++)Ua[e]._workInProgressVersionPrimary=null;Ua.length=0}var rs=nn.ReactCurrentDispatcher,Wa=nn.ReactCurrentBatchConfig,dr=0,he=null,be=null,Ne=null,Ts=!1,zo=!1,ri=0,My=0;function Ie(){throw Error(R(321))}function Wc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ct(e[n],t[n]))return!1;return!0}function Hc(e,t,n,r,o,i){if(dr=i,he=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,rs.current=e===null||e.memoizedState===null?zy:$y,e=n(r,o),zo){i=0;do{if(zo=!1,ri=0,25<=i)throw Error(R(301));i+=1,Ne=be=null,t.updateQueue=null,rs.current=By,e=n(r,o)}while(zo)}if(rs.current=Rs,t=be!==null&&be.next!==null,dr=0,Ne=be=he=null,Ts=!1,t)throw Error(R(300));return e}function Kc(){var e=ri!==0;return ri=0,e}function At(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ne===null?he.memoizedState=Ne=e:Ne=Ne.next=e,Ne}function dt(){if(be===null){var e=he.alternate;e=e!==null?e.memoizedState:null}else e=be.next;var t=Ne===null?he.memoizedState:Ne.next;if(t!==null)Ne=t,be=e;else{if(e===null)throw Error(R(310));be=e,e={memoizedState:be.memoizedState,baseState:be.baseState,baseQueue:be.baseQueue,queue:be.queue,next:null},Ne===null?he.memoizedState=Ne=e:Ne=Ne.next=e}return Ne}function oi(e,t){return typeof t=="function"?t(e):t}function Ha(e){var t=dt(),n=t.queue;if(n===null)throw Error(R(311));n.lastRenderedReducer=e;var r=be,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var l=s=null,c=null,u=i;do{var h=u.lane;if((dr&h)===h)c!==null&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var p={lane:h,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(l=c=p,s=r):c=c.next=p,he.lanes|=h,fr|=h}u=u.next}while(u!==null&&u!==i);c===null?s=r:c.next=l,Ct(r,t.memoizedState)||(He=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,he.lanes|=i,fr|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ka(e){var t=dt(),n=t.queue;if(n===null)throw Error(R(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);Ct(i,t.memoizedState)||(He=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function np(){}function rp(e,t){var n=he,r=dt(),o=t(),i=!Ct(r.memoizedState,o);if(i&&(r.memoizedState=o,He=!0),r=r.queue,Qc(sp.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Ne!==null&&Ne.memoizedState.tag&1){if(n.flags|=2048,ii(9,ip.bind(null,n,r,o,t),void 0,null),Se===null)throw Error(R(349));dr&30||op(n,t,o)}return o}function op(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=he.updateQueue,t===null?(t={lastEffect:null,stores:null},he.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function ip(e,t,n,r){t.value=n,t.getSnapshot=r,ap(t)&&lp(e)}
vendor: 4,969 bytes, line 38
38function sp(e,t,n){return n(function(){ap(t)&&lp(e)})}function ap(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ct(e,n)}catch{return!0}}function lp(e){var t=Jt(e,1);t!==null&&St(t,e,1,-1)}function bd(e){var t=At();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:oi,lastRenderedState:e},t.queue=e,e=e.dispatch=Dy.bind(null,he,e),[t.memoizedState,e]}function ii(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=he.updateQueue,t===null?(t={lastEffect:null,stores:null},he.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function cp(){return dt().memoizedState}function os(e,t,n,r){var o=At();he.flags|=e,o.memoizedState=ii(1|t,n,void 0,r===void 0?null:r)}function Zs(e,t,n,r){var o=dt();r=r===void 0?null:r;var i=void 0;if(be!==null){var s=be.memoizedState;if(i=s.destroy,r!==null&&Wc(r,s.deps)){o.memoizedState=ii(t,n,i,r);return}}he.flags|=e,o.memoizedState=ii(1|t,n,i,r)}function jd(e,t){return os(8390656,8,e,t)}function Qc(e,t){return Zs(2048,8,e,t)}function up(e,t){return Zs(4,2,e,t)}function dp(e,t){return Zs(4,4,e,t)}function fp(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 hp(e,t,n){return n=n!=null?n.concat([e]):null,Zs(4,4,fp.bind(null,t,e),n)}function Gc(){}function pp(e,t){var n=dt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Wc(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function mp(e,t){var n=dt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Wc(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function gp(e,t,n){return dr&21?(Ct(n,t)||(n=bh(),he.lanes|=n,fr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,He=!0),e.memoizedState=n)}function Fy(e,t){var n=oe;oe=n!==0&&4>n?n:4,e(!0);var r=Wa.transition;Wa.transition={};try{e(!1),t()}finally{oe=n,Wa.transition=r}}function vp(){return dt().memoizedState}function _y(e,t,n){var r=In(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},yp(e))xp(t,n);else if(n=Zh(e,t,n,r),n!==null){var o=$e();St(n,e,r,o),wp(n,t,r)}}function Dy(e,t,n){var r=In(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(yp(e))xp(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,l=i(s,n);if(o.hasEagerState=!0,o.eagerState=l,Ct(l,s)){var c=t.interleaved;c===null?(o.next=o,zc(t)):(o.next=c.next,c.next=o),t.interleaved=o;return}}catch{}finally{}n=Zh(e,t,o,r),n!==null&&(o=$e(),St(n,e,r,o),wp(n,t,r))}}function yp(e){var t=e.alternate;return e===he||t!==null&&t===he}function xp(e,t){zo=Ts=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function wp(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Sc(e,n)}}var Rs={readContext:ut,useCallback:Ie,useContext:Ie,useEffect:Ie,useImperativeHandle:Ie,useInsertionEffect:Ie,useLayoutEffect:Ie,useMemo:Ie,useReducer:Ie,useRef:Ie,useState:Ie,useDebugValue:Ie,useDeferredValue:Ie,useTransition:Ie,useMutableSource:Ie,useSyncExternalStore:Ie,useId:Ie,unstable_isNewReconciler:!1},zy={readContext:ut,useCallback:function(e,t){return At().memoizedState=[e,t===void 0?null:t],e},useContext:ut,useEffect:jd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,os(4194308,4,fp.bind(null,t,e),n)},useLayoutEffect:function(e,t){return os(4194308,4,e,t)},useInsertionEffect:function(e,t){return os(4,2,e,t)},useMemo:function(e,t){var n=At();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=At();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=_y.bind(null,he,e),[r.memoizedState,e]},useRef:function(e){var t=At();return e={current:e},t.memoizedState=e},useState:bd,useDebugValue:Gc,useDeferredValue:function(e){return At().memoizedState=e},useTransition:function(){var e=bd(!1),t=e[0];return e=Fy.bind(null,e[1]),At().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=he,o=At();if(de){if(n===void 0)throw Error(R(407));n=n()}else{if(n=t(),Se===null)throw Error(R(349));dr&30||op(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,jd(sp.bind(null,r,i,e),[e]),r.flags|=2048,ii(9,ip.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=At(),t=Se.identifierPrefix;if(de){var n=Gt,r=Qt;n=(r&~(1<<32-Nt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ri++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=My++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},$y={readContext:ut,useCallback:pp,useContext:ut,useEffect:Qc,useImperativeHandle:hp,useInsertionEffect:up,useLayoutEffect:dp,useMemo:mp,useReducer:Ha,useRef
vendor: 3,612 bytes, lines 38-40
38:cp,useState:function(){return Ha(oi)},useDebugValue:Gc,useDeferredValue:function(e){var t=dt();return gp(t,be.memoizedState,e)},useTransition:function(){var e=Ha(oi)[0],t=dt().memoizedState;return[e,t]},useMutableSource:np,useSyncExternalStore:rp,useId:vp,unstable_isNewReconciler:!1},By={readContext:ut,useCallback:pp,useContext:ut,useEffect:Qc,useImperativeHandle:hp,useInsertionEffect:up,useLayoutEffect:dp,useMemo:mp,useReducer:Ka,useRef:cp,useState:function(){return Ka(oi)},useDebugValue:Gc,useDeferredValue:function(e){var t=dt();return be===null?t.memoizedState=e:gp(t,be.memoizedState,e)},useTransition:function(){var e=Ka(oi)[0],t=dt().memoizedState;return[e,t]},useMutableSource:np,useSyncExternalStore:rp,useId:vp,unstable_isNewReconciler:!1};function yt(e,t){if(e&&e.defaultProps){t=pe({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ml(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:pe({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var ea={isMounted:function(e){return(e=e._reactInternals)?gr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=$e(),o=In(e),i=Yt(r,o);i.payload=t,n!=null&&(i.callback=n),t=Rn(e,i,o),t!==null&&(St(t,e,o,r),ns(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=$e(),o=In(e),i=Yt(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Rn(e,i,o),t!==null&&(St(t,e,o,r),ns(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=$e(),r=In(e),o=Yt(n,r);o.tag=2,t!=null&&(o.callback=t),t=Rn(e,o,r),t!==null&&(St(t,e,r,n),ns(t,e,r))}};function kd(e,t,n,r,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):t.prototype&&t.prototype.isPureReactComponent?!Xo(n,r)||!Xo(o,i):!0}function bp(e,t,n){var r=!1,o=Fn,i=t.contextType;return typeof i=="object"&&i!==null?i=ut(i):(o=Qe(t)?cr:Fe.current,r=t.contextTypes,i=(r=r!=null)?to(e,o):Fn),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=ea,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Nd(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ea.enqueueReplaceState(t,t.state,null)}function Fl(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},$c(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=ut(i):(i=Qe(t)?cr:Fe.current,o.context=to(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Ml(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&ea.enqueueReplaceState(o,o.state,null),Es(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function io(e,t){try{var n="",r=t;do n+=mv(r),r=r.return;while(r);var o=n}catch(i){o=` 39Error generating stack: `+i.message+` 40`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Qa(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function _l(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Vy=typeof WeakMap=="function"?WeakMap:Map;
vendor: 9,437 bytes, line 40
40function jp(e,t,n){n=Yt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Is||(Is=!0,Ql=r),_l(e,t)},n}function kp(e,t,n){n=Yt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){_l(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){_l(e,t),typeof r!="function"&&(An===null?An=new Set([this]):An.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Sd(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Vy;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=nx.bind(null,e,t,n),t.then(e,e))}function Cd(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 Ed(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Yt(-1,1),t.tag=2,Rn(n,t,1))),n.lanes|=1),e)}var Uy=nn.ReactCurrentOwner,He=!1;function De(e,t,n,r){t.child=e===null?Jh(t,null,n,r):ro(t,e.child,n,r)}function Pd(e,t,n,r,o){n=n.render;var i=t.ref;return Vr(t,o),r=Hc(e,t,n,r,i,o),n=Kc(),e!==null&&!He?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Zt(e,t,o)):(de&&n&&Oc(t),t.flags|=1,De(e,t,r,o),t.child)}function Td(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!nu(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Np(e,t,i,r,o)):(e=ls(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:Xo,n(s,r)&&e.ref===t.ref)return Zt(e,t,o)}return t.flags|=1,e=On(i,r),e.ref=t.ref,e.return=t,t.child=e}function Np(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Xo(i,r)&&e.ref===t.ref)if(He=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(He=!0);else return t.lanes=e.lanes,Zt(e,t,o)}return Dl(e,t,n,r,o)}function Sp(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},se(_r,qe),qe|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,se(_r,qe),qe|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,se(_r,qe),qe|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,se(_r,qe),qe|=r;return De(e,t,o,n),t.child}function Cp(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Dl(e,t,n,r,o){var i=Qe(n)?cr:Fe.current;return i=to(t,i),Vr(t,o),n=Hc(e,t,n,r,i,o),r=Kc(),e!==null&&!He?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Zt(e,t,o)):(de&&r&&Oc(t),t.flags|=1,De(e,t,n,o),t.child)}function Rd(e,t,n,r,o){if(Qe(n)){var i=!0;js(t)}else i=!1;if(Vr(t,o),t.stateNode===null)is(e,t),bp(t,n,r),Fl(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var c=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=ut(u):(u=Qe(n)?cr:Fe.current,u=to(t,u));var h=n.getDerivedStateFromProps,p=typeof h=="function"||typeof s.getSnapshotBeforeUpdate=="function";p||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||c!==u)&&Nd(t,s,r,u),mn=!1;var f=t.memoizedState;s.state=f,Es(t,r,s,o),c=t.memoizedState,l!==r||f!==c||Ke.current||mn?(typeof h=="function"&&(Ml(t,n,h,r),c=t.memoizedState),(l=mn||kd(t,n,l,r,f,c,u))?(p||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),s.props=r,s.state=c,s.context=u,r=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,ep(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:yt(t.type,l),s.props=u,p=t.pendingProps,f=s.context,c=n.contextType,typeof c=="object"&&c!==null?c=ut(c):(c=Qe(n)?cr:Fe.current,c=to(t,c));var d=n.getDerivedStateFromProps;(h=typeof d=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==p||f!==c)&&Nd(t,s,r,c),mn=!1,f=t.memoizedState,s.state=f,Es(t,r,s,o);var b=t.memoizedState;l!==p||f!==b||Ke.current||mn?(typeof d=="function"&&(Ml(t,n,d,r),b=t.memoizedState),(u=mn||kd(t,n,u,r,f,b,c)||!1)?(h||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,b,c),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,b,c)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=b),s.props=r,s.state=b,s.context=c,r=u):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return zl(e,t,n,r,i,o)}function zl(e,t,n,r,o,i){Cp(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&md(t,n,!1),Zt(e,t,i);r=t.stateNode,Uy.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=ro(t,e.child,null,i),t.child=ro(t,null,l,i)):De(e,t,l,i),t.memoizedState=r.state,o&&md(t,n,!0),t.child}function Ep(e){var t=e.stateNode;t.pendingContext?pd(e,t.pendingContext,t.pendingContext!==t.context):t.context&&pd(e,t.context,!1),Bc(e,t.containerInfo)}function Ad(e,t,n,r,o){return no(),Mc(o),t.flags|=256,De(e,t,n,r),t.child}var $l={dehydrated:null,treeContext:null,retryLane:0};function Bl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Pp(e,t,n){var r=t.pendingProps,o=fe.current,i=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),se(fe,o&1),e===null)return Ol(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):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=ra(s,r,0,null),e=lr(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Bl(n),t.memoizedState=$l,e):Yc(t,s));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return Wy(e,t,s,r,l,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,l=o.sibling;var c={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=On(o,c),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?i=On(l,i):(i=lr(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?Bl(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=$l,r}return i=e.child,e=i.sibling,r=On(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Yc(e,t){return t=ra({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Vi(e,t,n,r){return r!==null&&Mc(r),ro(t,e.child,null,n),e=Yc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Wy(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=Qa(Error(R(422))),Vi(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=ra({mode:"visible",children:r.children},o,0,null),i=lr(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&ro(t,e.child,null,s),t.child.memoizedState=Bl(s),t.memoizedState=$l,i);if(!(t.mode&1))return Vi(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,i=Error(R(419)),r=Qa(i,r,void 0),Vi(e,t,s,r)}if(l=(s&e.childLanes)!==0,He||l){if(r=Se,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Jt(e,o),St(r,e,o,-1))}return tu(),r=Qa(Error(R(421))),Vi(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=rx.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Je=Tn(o.nextSibling),Ze=t,de=!0,kt=null,e!==null&&(st[at++]=Qt,st[at++]=Gt,st[at++]=ur,Qt=e.id,Gt=e.overflow,ur=t),t=Yc(t,r.children),t.flags|=4096,t)}
vendor: 6,991 bytes, line 40
40function Id(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ll(e.return,t,n)}function Ga(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Tp(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(De(e,t,r.children,n),r=fe.current,r&2)r=r&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&&Id(e,n,t);else if(e.tag===19)Id(e,n,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}r&=1}if(se(fe,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Ps(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Ga(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Ps(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Ga(t,!0,n,null,i);break;case"together":Ga(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function is(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Zt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),fr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(R(153));if(t.child!==null){for(e=t.child,n=On(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=On(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Hy(e,t,n){switch(t.tag){case 3:Ep(t),no();break;case 5:tp(t);break;case 1:Qe(t.type)&&js(t);break;case 4:Bc(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;se(Ss,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(se(fe,fe.current&1),t.flags|=128,null):n&t.child.childLanes?Pp(e,t,n):(se(fe,fe.current&1),e=Zt(e,t,n),e!==null?e.sibling:null);se(fe,fe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Tp(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),se(fe,fe.current),r)break;return null;case 22:case 23:return t.lanes=0,Sp(e,t,n)}return Zt(e,t,n)}var Rp,Vl,Ap,Ip;Rp=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Vl=function(){};Ap=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,er(Dt.current);var i=null;switch(n){case"input":o=ul(e,o),r=ul(e,r),i=[];break;case"select":o=pe({},o,{value:void 0}),r=pe({},r,{value:void 0}),i=[];break;case"textarea":o=hl(e,o),r=hl(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=ws)}ml(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var l=o[u];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Wo.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var c=r[u];if(l=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(c!=null||l!=null))if(u==="style")if(l){for(s in l)!l.hasOwnProperty(s)||c&&c.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in c)c.hasOwnProperty(s)&&l[s]!==c[s]&&(n||(n={}),n[s]=c[s])}else n||(i||(i=[]),i.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,l=l?l.__html:void 0,c!=null&&l!==c&&(i=i||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(i=i||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Wo.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&le("scroll",e),i||l===c||(i=[])):(i=i||[]).push(u,c))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};Ip=function(e,t,n,r){n!==r&&(t.flags|=4)};function Co(e,t){if(!de)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Oe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ky(e,t,n){var r=t.pendingProps;switch(Lc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Oe(t),null;case 1:return Qe(t.type)&&bs(),Oe(t),null;case 3:return r=t.stateNode,oo(),ce(Ke),ce(Fe),Uc(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&($i(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,kt!==null&&(ql(kt),kt=null))),Vl(e,t),Oe(t),null;case 5:Vc(t);var o=er(ni.current);if(n=t.type,e!==null&&t.stateNode!=null)Ap(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(R(166));return Oe(t),null}if(e=er(Dt.current),$i(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Mt]=t,r[ei]=i,e=(t.mode&1)!==0,n){case"dialog":le("cancel",r),le("close",r);break;case"iframe":case"object":case"embed":le("load",r);break;case"video":case"audio":for(o=0;o<Oo.length;o++)le(Oo[o],r);break;case"source":le("error",r);break;case"img":case"image":case"link":le("error",r),le("load",r);break;case"details":le("toggle",r);break;case"input":Bu(r,i),le("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},le("invalid",r);break;case"textarea":Uu(r,i),le("invalid",r)}ml(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];s==="children"?typeof l=="string"?r.textContent!==l&&(i.suppressHydrationWarning!==!0&&zi(r.textContent,l,e),o=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(i.suppressHydrationWarning!==!0&&zi(r.textContent,l,e),o=["children",""+l]):Wo.hasOwnProperty(s)&&l!=null&&s==="onScroll"&&le("scroll",r)}switch(n){case"input":Ai(r),Vu(r,i,!0);break;case"textarea":Ai(r),Wu(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=ws)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=sh(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>
40",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Mt]=t,e[ei]=r,Rp(e,t,!1,!1),t.stateNode=e;e:{switch(s=gl(n,r),n){case"dialog":le("cancel",e),le("close",e),o=r;break;case"iframe":case"object":case"embed":le("load",e),o=r;break;case"video":case"audio":for(o=0;o<Oo.length;o++)le(Oo[o],e);o=r;break;case"source":le("error",e),o=r;break;case"img":case"image":case"link":le("error",e),le("load",e),o=r;break;case"details":le("toggle",e),o=r;break;case"input":Bu(e,r),o=ul(e,r),le("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=pe({},r,{value:void 0}),le("invalid",e);break;case"textarea":Uu(e,r),o=hl(e,r),le("invalid",e);break;default:o=r}ml(n,o),l=o;for(i in l)if(l.hasOwnProperty(i)){var c=l[i];i==="style"?ch(e,c):i==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&ah(e,c)):i==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&Ho(e,c):typeof c=="number"&&Ho(e,""+c):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Wo.hasOwnProperty(i)?c!=null&&i==="onScroll"&&le("scroll",e):c!=null&&xc(e,i,c,s))}switch(n){case"input":Ai(e),Vu(e,r,!1);break;case"textarea":Ai(e),Wu(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Mn(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Dr(e,!!r.multiple,i,!1):r.defaultValue!=null&&Dr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=ws)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Oe(t),null;case 6:if(e&&t.stateNode!=null)Ip(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(R(166));if(n=er(ni.current),er(Dt.current),$i(t)){if(r=t.stateNode,n=t.memoizedProps,r[Mt]=t,(i=r.nodeValue!==n)&&(e=Ze,e!==null))switch(e.tag){case 3:zi(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&zi(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Mt]=t,t.stateNode=r}return Oe(t),null;case 13:if(ce(fe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(de&&Je!==null&&t.mode&1&&!(t.flags&128))qh(),no(),t.flags|=98560,i=!1;else if(i=$i(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(R(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(R(317));i[Mt]=t}else no(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Oe(t),i=!1}else kt!==null&&(ql(kt),kt=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||fe.current&1?ke===0&&(ke=3):tu())),t.updateQueue!==null&&(t.flags|=4),Oe(t),null);case 4:return oo(),Vl(e,t),e===null&&Jo(t.stateNode.containerInfo),Oe(t),null;case 10:return Dc(t.type._context),Oe(t),null;case 17:return Qe(t.type)&&bs(),Oe(t),null;case 19:if(ce(fe),i=t.memoizedState,i===null)return Oe(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)Co(i,!1);else{if(ke!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Ps(e),s!==null){for(t.flags|=128,Co(i,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return se(fe,fe.current&1|2),t.child}e=e.sibling}i.tail!==null&&ve()>so&&(t.flags|=128,r=!0,Co(i,!1),t.lanes=4194304)}else{if(!r)if(e=Ps(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Co(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!de)return Oe(t),null}else 2*ve()-i.renderingStartTime>so&&n!==1073741824&&(t.flags|=128,r=!0,Co(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ve(),t.sibling=null,n=fe.current,se(fe,r?n&1|2:n&1),t):(Oe(t),null);case 22:case 23:return eu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?qe&1073741824&&(Oe(t),t.subtreeFlags&6&&(t.flags|=8192)):Oe(t),null;case 24:return null;case 25:return null}throw Error(R(156,t.tag))}function Qy(e,t){switch(Lc(t),t.tag){case 1:return Qe(t.type)&&bs(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;
vendor: 23,144 bytes, line 40
40case 3:return oo(),ce(Ke),ce(Fe),Uc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Vc(t),null;case 13:if(ce(fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(R(340));no()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ce(fe),null;case 4:return oo(),null;case 10:return Dc(t.type._context),null;case 22:case 23:return eu(),null;case 24:return null;default:return null}}var Ui=!1,Me=!1,Gy=typeof WeakSet=="function"?WeakSet:Set,F=null;function Fr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ge(e,t,r)}else n.current=null}function Ul(e,t,n){try{n()}catch(r){ge(e,t,r)}}var Od=!1;function Yy(e,t){if(Cl=vs,e=_h(),Ic(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,l=-1,c=-1,u=0,h=0,p=e,f=null;t:for(;;){for(var d;p!==n||o!==0&&p.nodeType!==3||(l=s+o),p!==i||r!==0&&p.nodeType!==3||(c=s+r),p.nodeType===3&&(s+=p.nodeValue.length),(d=p.firstChild)!==null;)f=p,p=d;for(;;){if(p===e)break t;if(f===n&&++u===o&&(l=s),f===i&&++h===r&&(c=s),(d=p.nextSibling)!==null)break;p=f,f=p.parentNode}p=d}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(El={focusedElem:e,selectionRange:n},vs=!1,F=t;F!==null;)if(t=F,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,F=e;else for(;F!==null;){t=F;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var y=b.memoizedProps,w=b.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?y:yt(t.type,y),w);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(R(163))}}catch(j){ge(t,t.return,j)}if(e=t.sibling,e!==null){e.return=t.return,F=e;break}F=t.return}return b=Od,Od=!1,b}function $o(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Ul(t,n,i)}o=o.next}while(o!==r)}}function ta(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Wl(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Op(e){var t=e.alternate;t!==null&&(e.alternate=null,Op(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Mt],delete t[ei],delete t[Rl],delete t[Ay],delete t[Iy])),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 Lp(e){return e.tag===5||e.tag===3||e.tag===4}function Ld(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Lp(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 Hl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ws));else if(r!==4&&(e=e.child,e!==null))for(Hl(e,t,n),e=e.sibling;e!==null;)Hl(e,t,n),e=e.sibling}function Kl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Kl(e,t,n),e=e.sibling;e!==null;)Kl(e,t,n),e=e.sibling}var Ce=null,jt=!1;function un(e,t,n){for(n=n.child;n!==null;)Mp(e,t,n),n=n.sibling}function Mp(e,t,n){if(_t&&typeof _t.onCommitFiberUnmount=="function")try{_t.onCommitFiberUnmount(Qs,n)}catch{}switch(n.tag){case 5:Me||Fr(n,t);case 6:var r=Ce,o=jt;Ce=null,un(e,t,n),Ce=r,jt=o,Ce!==null&&(jt?(e=Ce,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ce.removeChild(n.stateNode));break;case 18:Ce!==null&&(jt?(e=Ce,n=n.stateNode,e.nodeType===8?Ba(e.parentNode,n):e.nodeType===1&&Ba(e,n),Yo(e)):Ba(Ce,n.stateNode));break;case 4:r=Ce,o=jt,Ce=n.stateNode.containerInfo,jt=!0,un(e,t,n),Ce=r,jt=o;break;case 0:case 11:case 14:case 15:if(!Me&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&Ul(n,t,s),o=o.next}while(o!==r)}un(e,t,n);break;case 1:if(!Me&&(Fr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){ge(n,t,l)}un(e,t,n);break;case 21:un(e,t,n);break;case 22:n.mode&1?(Me=(r=Me)||n.memoizedState!==null,un(e,t,n),Me=r):un(e,t,n);break;default:un(e,t,n)}}function Md(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Gy),t.forEach(function(r){var o=ox.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function gt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,l=s;e:for(;l!==null;){switch(l.tag){case 5:Ce=l.stateNode,jt=!1;break e;case 3:Ce=l.stateNode.containerInfo,jt=!0;break e;case 4:Ce=l.stateNode.containerInfo,jt=!0;break e}l=l.return}if(Ce===null)throw Error(R(160));Mp(i,s,o),Ce=null,jt=!1;var c=o.alternate;c!==null&&(c.return=null),o.return=null}catch(u){ge(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Fp(t,e),t=t.sibling}function Fp(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gt(t,e),Rt(e),r&4){try{$o(3,e,e.return),ta(3,e)}catch(y){ge(e,e.return,y)}try{$o(5,e,e.return)}catch(y){ge(e,e.return,y)}}break;case 1:gt(t,e),Rt(e),r&512&&n!==null&&Fr(n,n.return);break;case 5:if(gt(t,e),Rt(e),r&512&&n!==null&&Fr(n,n.return),e.flags&32){var o=e.stateNode;try{Ho(o,"")}catch(y){ge(e,e.return,y)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=n!==null?n.memoizedProps:i,l=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{l==="input"&&i.type==="radio"&&i.name!=null&&oh(o,i),gl(l,s);var u=gl(l,i);for(s=0;s<c.length;s+=2){var h=c[s],p=c[s+1];h==="style"?ch(o,p):h==="dangerouslySetInnerHTML"?ah(o,p):h==="children"?Ho(o,p):xc(o,h,p,u)}switch(l){case"input":dl(o,i);break;case"textarea":ih(o,i);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var d=i.value;d!=null?Dr(o,!!i.multiple,d,!1):f!==!!i.multiple&&(i.defaultValue!=null?Dr(o,!!i.multiple,i.defaultValue,!0):Dr(o,!!i.multiple,i.multiple?[]:"",!1))}o[ei]=i}catch(y){ge(e,e.return,y)}}break;case 6:if(gt(t,e),Rt(e),r&4){if(e.stateNode===null)throw Error(R(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(y){ge(e,e.return,y)}}break;case 3:if(gt(t,e),Rt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Yo(t.containerInfo)}catch(y){ge(e,e.return,y)}break;case 4:gt(t,e),Rt(e);break;case 13:gt(t,e),Rt(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Jc=ve())),r&4&&Md(e);break;case 22:if(h=n!==null&&n.memoizedState!==null,e.mode&1?(Me=(u=Me)||h,gt(t,e),Me=u):gt(t,e),Rt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!h&&e.mode&1)for(F=e,h=e.child;h!==null;){for(p=F=h;F!==null;){switch(f=F,d=f.child,f.tag){case 0:case 11:case 14:case 15:$o(4,f,f.return);break;case 1:Fr(f,f.return);var b=f.stateNode;if(typeof b.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,b.props=t.memoizedProps,b.state=t.memoizedState,b.componentWillUnmount()}catch(y){ge(r,n,y)}}break;case 5:Fr(f,f.return);break;case 22:if(f.memoizedState!==null){_d(p);continue}}d!==null?(d.return=f,F=d):_d(p)}h=h.sibling}e:for(h=null,p=e;;){if(p.tag===5){if(h===null){h=p;try{o=p.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(l=p.stateNode,c=p.memoizedProps.style,s=c!=null&&c.hasOwnProperty("display")?c.display:null,l.style.display=lh("display",s))}catch(y){ge(e,e.return,y)}}}else if(p.tag===6){if(h===null)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(y){ge(e,e.return,y)}}else if((p.tag!==22&&p.tag!==23||p.memoizedState===null||p===e)&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;p.sibling===null;){if(p.return===null||p.return===e)break e;h===p&&(h=null),p=p.return}h===p&&(h=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:gt(t,e),Rt(e),r&4&&Md(e);break;case 21:break;default:gt(t,e),Rt(e)}}function Rt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Lp(n)){var r=n;break e}n=n.return}throw Error(R(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(Ho(o,""),r.flags&=-33);var i=Ld(e);Kl(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,l=Ld(e);Hl(e,l,s);break;default:throw Error(R(161))}}catch(c){ge(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function qy(e,t,n){F=e,_p(e)}function _p(e,t,n){for(var r=(e.mode&1)!==0;F!==null;){var o=F,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||Ui;if(!s){var l=o.alternate,c=l!==null&&l.memoizedState!==null||Me;l=Ui;var u=Me;if(Ui=s,(Me=c)&&!u)for(F=o;F!==null;)s=F,c=s.child,s.tag===22&&s.memoizedState!==null?Dd(o):c!==null?(c.return=s,F=c):Dd(o);for(;i!==null;)F=i,_p(i),i=i.sibling;F=o,Ui=l,Me=u}Fd(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,F=i):Fd(e)}}function Fd(e){for(;F!==null;){var t=F;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Me||ta(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Me)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:yt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&wd(t,i,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}wd(t,s,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var h=u.memoizedState;if(h!==null){var p=h.dehydrated;p!==null&&Yo(p)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(R(163))}Me||t.flags&512&&Wl(t)}catch(f){ge(t,t.return,f)}}if(t===e){F=null;break}if(n=t.sibling,n!==null){n.return=t.return,F=n;break}F=t.return}}function _d(e){for(;F!==null;){var t=F;if(t===e){F=null;break}var n=t.sibling;if(n!==null){n.return=t.return,F=n;break}F=t.return}}function Dd(e){for(;F!==null;){var t=F;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ta(4,t)}catch(c){ge(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(c){ge(t,o,c)}}var i=t.return;try{Wl(t)}catch(c){ge(t,i,c)}break;case 5:var s=t.return;try{Wl(t)}catch(c){ge(t,s,c)}}}catch(c){ge(t,t.return,c)}if(t===e){F=null;break}var l=t.sibling;if(l!==null){l.return=t.return,F=l;break}F=t.return}}var Xy=Math.ceil,As=nn.ReactCurrentDispatcher,qc=nn.ReactCurrentOwner,ct=nn.ReactCurrentBatchConfig,te=0,Se=null,xe=null,Ee=0,qe=0,_r=Wn(0),ke=0,si=null,fr=0,na=0,Xc=0,Bo=null,We=null,Jc=0,so=1/0,Wt=null,Is=!1,Ql=null,An=null,Wi=!1,Nn=null,Os=0,Vo=0,Gl=null,ss=-1,as=0;function $e(){return te&6?ve():ss!==-1?ss:ss=ve()}function In(e){return e.mode&1?te&2&&Ee!==0?Ee&-Ee:Ly.transition!==null?(as===0&&(as=bh()),as):(e=oe,e!==0||(e=window.event,e=e===void 0?16:Ph(e.type)),e):1}function St(e,t,n,r){if(50<Vo)throw Vo=0,Gl=null,Error(R(185));gi(e,n,r),(!(te&2)||e!==Se)&&(e===Se&&(!(te&2)&&(na|=n),ke===4&&vn(e,Ee)),Ge(e,r),n===1&&te===0&&!(t.mode&1)&&(so=ve()+500,Js&&Hn()))}function Ge(e,t){var n=e.callbackNode;Lv(e,t);var r=gs(e,e===Se?Ee:0);if(r===0)n!==null&&Qu(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Qu(n),t===1)e.tag===0?Oy(zd.bind(null,e)):Qh(zd.bind(null,e)),Ty(function(){!(te&6)&&Hn()}),n=null;else{switch(jh(r)){case 1:n=Nc;break;case 4:n=xh;break;case 16:n=ms;break;case 536870912:n=wh;break;default:n=ms}n=Hp(n,Dp.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Dp(e,t){if(ss=-1,as=0,te&6)throw Error(R(327));var n=e.callbackNode;if(Ur()&&e.callbackNode!==n)return null;var r=gs(e,e===Se?Ee:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Ls(e,r);else{t=r;var o=te;te|=2;var i=$p();(Se!==e||Ee!==t)&&(Wt=null,so=ve()+500,ar(e,t));do try{ex();break}catch(l){zp(e,l)}while(!0);_c(),As.current=i,te=o,xe!==null?t=0:(Se=null,Ee=0,t=ke)}if(t!==0){if(t===2&&(o=bl(e),o!==0&&(r=o,t=Yl(e,o))),t===1)throw n=si,ar(e,0),vn(e,r),Ge(e,ve()),n;if(t===6)vn(e,r);else{if(o=e.current.alternate,!(r&30)&&!Jy(o)&&(t=Ls(e,r),t===2&&(i=bl(e),i!==0&&(r=i,t=Yl(e,i))),t===1))throw n=si,ar(e,0),vn(e,r),Ge(e,ve()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(R(345));case 2:Xn(e,We,Wt);break;case 3:if(vn(e,r),(r&130023424)===r&&(t=Jc+500-ve(),10<t)){if(gs(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){$e(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Tl(Xn.bind(null,e,We,Wt),t);break}Xn(e,We,Wt);break;case 4:if(vn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-Nt(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=ve()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Xy(r/1960))-r,10<r){e.timeoutHandle=Tl(Xn.bind(null,e,We,Wt),r);break}Xn(e,We,Wt);break;case 5:Xn(e,We,Wt);break;default:throw Error(R(329))}}}return Ge(e,ve()),e.callbackNode===n?Dp.bind(null,e):null}function Yl(e,t){var n=Bo;return e.current.memoizedState.isDehydrated&&(ar(e,t).flags|=256),e=Ls(e,t),e!==2&&(t=We,We=n,t!==null&&ql(t)),e}function ql(e){We===null?We=e:We.push.apply(We,e)}function Jy(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!Ct(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;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 vn(e,t){for(t&=~Xc,t&=~na,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Nt(t),r=1<<n;e[n]=-1,t&=~r}}function zd(e){if(te&6)throw Error(R(327));Ur();var t=gs(e,0);if(!(t&1))return Ge(e,ve()),null;var n=Ls(e,t);if(e.tag!==0&&n===2){var r=bl(e);r!==0&&(t=r,n=Yl(e,r))}if(n===1)throw n=si,ar(e,0),vn(e,t),Ge(e,ve()),n;if(n===6)throw Error(R(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Xn(e,We,Wt),Ge(e,ve()),null}function Zc(e,t){var n=te;te|=1;try{return e(t)}finally{te=n,te===0&&(so=ve()+500,Js&&Hn())}}function hr(e){Nn!==null&&Nn.tag===0&&!(te&6)&&Ur();var t=te;te|=1;var n=ct.transition,r=oe;try{if(ct.transition=null,oe=1,e)return e()}finally{oe=r,ct.transition=n,te=t,!(te&6)&&Hn()}}function eu(){qe=_r.current,ce(_r)}function ar(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Py(n)),xe!==null)for(n=xe.return;n!==null;){var r=n;switch(Lc(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&bs();break;case 3:oo(),ce(Ke),ce(Fe),Uc();break;case 5:Vc(r);break;case 4:oo();break;case 13:ce(fe);break;case 19:ce(fe);break;case 10:Dc(r.type._context);break;case 22:case 23:eu()}n=n.return}if(Se=e,xe=e=On(e.current,null),Ee=qe=t,ke=0,si=null,Xc=na=fr=0,We=Bo=null,Zn!==null){for(t=0;t<Zn.length;t++)if(n=Zn[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}Zn=null}return e}function zp(e,t){do{var n=xe;try{if(_c(),rs.current=Rs,Ts){for(var r=he.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Ts=!1}if(dr=0,Ne=be=he=null,zo=!1,ri=0,qc.current=null,n===null||n.return===null){ke=1,si=t,xe=null;break}e:{var i=e,s=n.return,l=n,c=t;if(t=Ee,l.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,h=l,p=h.tag;if(!(h.mode&1)&&(p===0||p===11||p===15)){var f=h.alternate;f?(h.updateQueue=f.updateQueue,h.memoizedState=f.memoizedState,h.lanes=f.lanes):(h.updateQueue=null,h.memoizedState=null)}var d=Cd(s);if(d!==null){d.flags&=-257,Ed(d,s,l,i,t),d.mode&1&&Sd(i,u,t),t=d,c=u;var b=t.updateQueue;if(b===null){var y=new Set;y.add(c),t.updateQueue=y}else b.add(c);break e}else{if(!(t&1)){Sd(i,u,t),tu();break e}c=Error(R(426))}}else if(de&&l.mode&1){var w=Cd(s);if(w!==null){!(w.flags&65536)&&(w.flags|=256),Ed(w,s,l,i,t),Mc(io(c,l));break e}}i=c=io(c,l),ke!==4&&(ke=2),Bo===null?Bo=[i]:Bo.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var g=jp(i,c,t);xd(i,g);break e;case 1:l=c;var m=i.type,v=i.stateNode;if(!(i.flags&128)&&(typeof m.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(An===null||!An.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t;var j=kp(i,l,t);xd(i,j);break e}}i=i.return}while(i!==null)}Vp(n)}catch(k){t=k,xe===n&&n!==null&&(xe=n=n.return);continue}break}while(!0)}function $p(){var e=As.current;return As.current=Rs,e===null?Rs:e}function tu(){(ke===0||ke===3||ke===2)&&(ke=4),Se===null||!(fr&268435455)&&!(na&268435455)||vn(Se,Ee)}function Ls(e,t){var n=te;te|=2;var r=$p();(Se!==e||Ee!==t)&&(Wt=null,ar(e,t));do try{Zy();break}catch(o){zp(e,o)}while(!0);if(_c(),te=n,As.current=r,xe!==null)throw Error(R(261));return Se=null,Ee=0,ke}function Zy(){for(;xe!==null;)Bp(xe)}function ex(){for(;xe!==null&&!Sv();)Bp(xe)}function Bp(e){var t=Wp(e.alternate,e,qe);e.memoizedProps=e.pendingProps,t===null?Vp(e):xe=t,qc.current=null}function Vp(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Qy(n,t),n!==null){n.flags&=32767,xe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ke=6,xe=null;return}}else if(n=Ky(n,t,qe),n!==null){xe=n;return}if(t=t.sibling,t!==null){xe=t;return}xe=t=e}while(t!==null);ke===0&&(ke=5)}function Xn(e,t,n){var r=oe,o=ct.transition;try{ct.transition=null,oe=1,tx(e,t,n,r)}finally{ct.transition=o,oe=r}return null}function tx(e,t,n,r){do Ur();while(Nn!==null);if(te&6)throw Error(R(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(R(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(Mv(e,i),e===Se&&(xe=Se=null,Ee=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Wi||(Wi=!0,Hp(ms,function(){return Ur(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=ct.transition,ct.transition=null;var s=oe;oe=1;var l=te;te|=4,qc.current=null,Yy(e,n),Fp(n,e),by(El),vs=!!Cl,El=Cl=null,e.current=n,qy(n),Cv(),te=l,oe=s,ct.transition=i}else e.current=n;if(Wi&&(Wi=!1,Nn=e,Os=o),i=e.pendingLanes,i===0&&(An=null),Tv(n.stateNode),Ge(e,ve()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Is)throw Is=!1,e=Ql,Ql=null,e;return Os&1&&e.tag!==0&&Ur(),i=e.pendingLanes,i&1?e===Gl?Vo++:(Vo=0,Gl=e):Vo=0,Hn(),null}function Ur(){if(Nn!==null){var e=jh(Os),t=ct.transition,n=oe;try{if(ct.transition=null,oe=16>e?16:e,Nn===null)var r=!1;else{if(e=Nn,Nn=null,Os=0,te&6)throw Error(R(331));var o=te;for(te|=4,F=e.current;F!==null;){var i=F,s=i.child;if(F.flags&16){var l=i.deletions;if(l!==null){for(var c=0;c<l.length;c++){var u=l[c];for(F=u;F!==null;){var h=F;switch(h.tag){case 0:case 11:case 15:$o(8,h,i)}var p=h.child;if(p!==null)p.return=h,F=p;else for(;F!==null;){h=F;var f=h.sibling,d=h.return;if(Op(h),h===u){F=null;break}if(f!==null){f.return=d,F=f;break}F=d}}}var b=i.alternate;if(b!==null){var y=b.child;if(y!==null){b.child=null;do{var w=y.sibling;y.sibling=null,y=w}while(y!==null)}}F=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,F=s;else e:for(;F!==null;){if(i=F,i.flags&2048)switch(i.tag){case 0:case 11:case 15:$o(9,i,i.return)}var g=i.sibling;if(g!==null){g.return=i.return,F=g;break e}F=i.return}}var m=e.current;for(F=m;F!==null;){s=F;var v=s.child;if(s.subtreeFlags&2064&&v!==null)v.return=s,F=v;else e:for(s=m;F!==null;){if(l=F,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:ta(9,l)}}catch(k){ge(l,l.return,k)}if(l===s){F=null;break e}var j=l.sibling;if(j!==null){j.return=l.return,F=j;break e}F=l.return}}if(te=o,Hn(),_t&&typeof _t.onPostCommitFiberRoot=="function")try{_t.onPostCommitFiberRoot(Qs,e)}catch{}r=!0}return r}finally{oe=n,ct.transition=t}}return!1}function $d(e,t,n){t=io(n,t),t=jp(e,t,1),e=Rn(e,t,1),t=$e(),e!==null&&(gi(e,1,t),Ge(e,t))}function ge(e,t,n){if(e.tag===3)$d(e,e,n);else for(;t!==null;){if(t.tag===3){$d(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(An===null||!An.has(r))){e=io(n,e),e=kp(t,e,1),t=Rn(t,e,1),e=$e(),t!==null&&(gi(t,1,e),Ge(t,e));break}}t=t.return}}function nx(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=$e(),e.pingedLanes|=e.suspendedLanes&n,Se===e&&(Ee&n)===n&&(ke===4||ke===3&&(Ee&130023424)===Ee&&500>ve()-Jc?ar(e,0):Xc|=n),Ge(e,t)}function Up(e,t){t===0&&(e.mode&1?(t=Li,Li<<=1,!(Li&130023424)&&(Li=4194304)):t=1);var n=$e();e=Jt(e,t),e!==null&&(gi(e,t,n),Ge(e,n))}function rx(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Up(e,n)}function ox(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(R(314))}r!==null&&r.delete(t),Up(e,n)}var Wp;Wp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ke.current)He=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return He=!1,Hy(e,t,n);He=!!(e.flags&131072)}else He=!1,de&&t.flags&1048576&&Gh(t,Ns,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;is(e,t),e=t.pendingProps;var o=to(t,Fe.current);Vr(t,n),o=Hc(null,t,r,e,o,n);var i=Kc();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Qe(r)?(i=!0,js(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,$c(t),o.updater=ea,t.stateNode=o,o._reactInternals=t,Fl(t,r,e,n),t=zl(null,t,r,!0,i,n)):(t.tag=0,de&&i&&Oc(t),De(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(is(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=sx(r),e=yt(r,e),o){case 0:t=Dl(null,t,r,e,n);break e;case 1:t=Rd(null,t,r,e,n);break e;case 11:t=Pd(null,t,r,e,n);break e;case 14:t=Td(null,t,r,yt(r.type,e),n);break e}throw Error(R(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:yt(r,o),Dl(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:yt(r,o),Rd(e,t,r,o,n);case 3:e:{if(Ep(t),e===null)throw Error(R(387));
vendor: 2,615 bytes, line 40
40r=t.pendingProps,i=t.memoizedState,o=i.element,ep(e,t),Es(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=io(Error(R(423)),t),t=Ad(e,t,r,n,o);break e}else if(r!==o){o=io(Error(R(424)),t),t=Ad(e,t,r,n,o);break e}else for(Je=Tn(t.stateNode.containerInfo.firstChild),Ze=t,de=!0,kt=null,n=Jh(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(no(),r===o){t=Zt(e,t,n);break e}De(e,t,r,n)}t=t.child}return t;case 5:return tp(t),e===null&&Ol(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,Pl(r,o)?s=null:i!==null&&Pl(r,i)&&(t.flags|=32),Cp(e,t),De(e,t,s,n),t.child;case 6:return e===null&&Ol(t),null;case 13:return Pp(e,t,n);case 4:return Bc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ro(t,null,r,n):De(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:yt(r,o),Pd(e,t,r,o,n);case 7:return De(e,t,t.pendingProps,n),t.child;case 8:return De(e,t,t.pendingProps.children,n),t.child;case 12:return De(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,se(Ss,r._currentValue),r._currentValue=s,i!==null)if(Ct(i.value,s)){if(i.children===o.children&&!Ke.current){t=Zt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){s=i.child;for(var c=l.firstContext;c!==null;){if(c.context===r){if(i.tag===1){c=Yt(-1,n&-n),c.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var h=u.pending;h===null?c.next=c:(c.next=h.next,h.next=c),u.pending=c}}i.lanes|=n,c=i.alternate,c!==null&&(c.lanes|=n),Ll(i.return,n,t),l.lanes|=n;break}c=c.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(R(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Ll(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}De(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Vr(t,n),o=ut(o),r=r(o),t.flags|=1,De(e,t,r,n),t.child;case 14:return r=t.type,o=yt(r,t.pendingProps),o=yt(r.type,o),Td(e,t,r,o,n);case 15:return Np(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:yt(r,o),is(e,t),t.tag=1,Qe(r)?(e=!0,js(t)):e=!1,Vr(t,n),bp(t,r,o),Fl(t,r,o,n),zl(null,t,r,!0,e,n);case 19:return Tp(e,t,n);
vendor: 5,345 bytes, line 40
40case 22:return Sp(e,t,n)}throw Error(R(156,t.tag))};function Hp(e,t){return yh(e,t)}function ix(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function lt(e,t,n,r){return new ix(e,t,n,r)}function nu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function sx(e){if(typeof e=="function")return nu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===bc)return 11;if(e===jc)return 14}return 2}function On(e,t){var n=e.alternate;return n===null?(n=lt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ls(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")nu(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Er:return lr(n.children,o,i,t);case wc:s=8,o|=8;break;case sl:return e=lt(12,n,t,o|2),e.elementType=sl,e.lanes=i,e;case al:return e=lt(13,n,t,o),e.elementType=al,e.lanes=i,e;case ll:return e=lt(19,n,t,o),e.elementType=ll,e.lanes=i,e;case th:return ra(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Zf:s=10;break e;case eh:s=9;break e;case bc:s=11;break e;case jc:s=14;break e;case pn:s=16,r=null;break e}throw Error(R(130,e==null?e:typeof e,""))}return t=lt(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function lr(e,t,n,r){return e=lt(7,e,r,t),e.lanes=n,e}function ra(e,t,n,r){return e=lt(22,e,r,t),e.elementType=th,e.lanes=n,e.stateNode={isHidden:!1},e}function Ya(e,t,n){return e=lt(6,e,null,t),e.lanes=n,e}function qa(e,t,n){return t=lt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ax(e,t,n,r,o){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=Ra(0),this.expirationTimes=Ra(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ra(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ru(e,t,n,r,o,i,s,l,c){return e=new ax(e,t,n,l,c),t===1?(t=1,i===!0&&(t|=8)):t=0,i=lt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},$c(i),e}function lx(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Cr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Kp(e){if(!e)return Fn;e=e._reactInternals;e:{if(gr(e)!==e||e.tag!==1)throw Error(R(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Qe(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(R(171))}if(e.tag===1){var n=e.type;if(Qe(n))return Kh(e,n,t)}return t}function Qp(e,t,n,r,o,i,s,l,c){return e=ru(n,r,!0,e,o,i,s,l,c),e.context=Kp(null),n=e.current,r=$e(),o=In(n),i=Yt(r,o),i.callback=t??null,Rn(n,i,o),e.current.lanes=o,gi(e,o,r),Ge(e,r),e}function oa(e,t,n,r){var o=t.current,i=$e(),s=In(o);return n=Kp(n),t.context===null?t.context=n:t.pendingContext=n,t=Yt(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Rn(o,t,s),e!==null&&(St(e,o,s,i),ns(e,o,s)),s}function Ms(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 Bd(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ou(e,t){Bd(e,t),(e=e.alternate)&&Bd(e,t)}function cx(){return null}var Gp=typeof reportError=="function"?reportError:function(e){console.error(e)};function iu(e){this._internalRoot=e}ia.prototype.render=iu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(R(409));oa(e,t,null,null)};ia.prototype.unmount=iu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;hr(function(){oa(null,e,null,null)}),t[Xt]=null}};function ia(e){this._internalRoot=e}ia.prototype.unstable_scheduleHydration=function(e){if(e){var t=Sh();e={blockedOn:null,target:e,priority:t};for(var n=0;n<gn.length&&t!==0&&t<gn[n].priority;n++);gn.splice(n,0,e),n===0&&Eh(e)}};function su(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function sa(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Vd(){}function ux(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=Ms(s);i.call(u)}}
vendor: 5,277 bytes, line 40
40var s=Qp(t,r,e,0,null,!1,!1,"",Vd);return e._reactRootContainer=s,e[Xt]=s.current,Jo(e.nodeType===8?e.parentNode:e),hr(),s}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var l=r;r=function(){var u=Ms(c);l.call(u)}}var c=ru(e,0,!1,null,null,!1,!1,"",Vd);return e._reactRootContainer=c,e[Xt]=c.current,Jo(e.nodeType===8?e.parentNode:e),hr(function(){oa(t,c,n,r)}),c}function aa(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var l=o;o=function(){var c=Ms(s);l.call(c)}}oa(t,s,e,o)}else s=ux(n,t,e,o,r);return Ms(s)}kh=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Io(t.pendingLanes);n!==0&&(Sc(t,n|1),Ge(t,ve()),!(te&6)&&(so=ve()+500,Hn()))}break;case 13:hr(function(){var r=Jt(e,1);if(r!==null){var o=$e();St(r,e,1,o)}}),ou(e,1)}};Cc=function(e){if(e.tag===13){var t=Jt(e,134217728);if(t!==null){var n=$e();St(t,e,134217728,n)}ou(e,134217728)}};Nh=function(e){if(e.tag===13){var t=In(e),n=Jt(e,t);if(n!==null){var r=$e();St(n,e,t,r)}ou(e,t)}};Sh=function(){return oe};Ch=function(e,t){var n=oe;try{return oe=e,t()}finally{oe=n}};yl=function(e,t,n){switch(t){case"input":if(dl(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Xs(r);if(!o)throw Error(R(90));rh(r),dl(r,o)}}}break;case"textarea":ih(e,n);break;case"select":t=n.value,t!=null&&Dr(e,!!n.multiple,t,!1)}};fh=Zc;hh=hr;var dx={usingClientEntryPoint:!1,Events:[yi,Ar,Xs,uh,dh,Zc]},Eo={findFiberByHostInstance:Jn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},fx={bundleType:Eo.bundleType,version:Eo.version,rendererPackageName:Eo.rendererPackageName,rendererConfig:Eo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:nn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=gh(e),e===null?null:e.stateNode},findFiberByHostInstance:Eo.findFiberByHostInstance||cx,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 Hi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Hi.isDisabled&&Hi.supportsFiber)try{Qs=Hi.inject(fx),_t=Hi}catch{}}nt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=dx;nt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!su(t))throw Error(R(200));return lx(e,t,null,n)};nt.createRoot=function(e,t){if(!su(e))throw Error(R(299));var n=!1,r="",o=Gp;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=ru(e,1,!1,null,null,n,!1,r,o),e[Xt]=t.current,Jo(e.nodeType===8?e.parentNode:e),new iu(t)};nt.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(R(188)):(e=Object.keys(e).join(","),Error(R(268,e)));return e=gh(t),e=e===null?null:e.stateNode,e};nt.flushSync=function(e){return hr(e)};nt.hydrate=function(e,t,n){if(!sa(t))throw Error(R(200));return aa(null,e,t,!0,n)};nt.hydrateRoot=function(e,t,n){if(!su(e))throw Error(R(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=Gp;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=Qp(t,null,e,1,n??null,o,!1,i,s),e[Xt]=t.current,Jo(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new ia(t)};nt.render=function(e,t,n){if(!sa(t))throw Error(R(200));return aa(null,e,t,!1,n)};nt.unmountComponentAtNode=function(e){if(!sa(e))throw Error(R(40));return e._reactRootContainer?(hr(function(){aa(null,null,e,!1,function(){e._reactRootContainer=null,e[Xt]=null})}),!0):!1};nt.unstable_batchedUpdates=Zc;nt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!sa(n))throw Error(R(200));if(e==null||e._reactInternals===void 0)throw Error(R(38));return aa(e,t,n,!1,r)};nt.version="18.3.1-next-f1338f8080-20240426";function Yp(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Yp)}catch(e){console.error(e)}}Yp(),Yf.exports=nt;var wi=Yf.exports;const qp=Ff(wi);var Xp,Ud=wi;Xp=Ud.createRoot,Ud.hydrateRoot;const hx=1,px=1e6;let Xa=0;function mx(){return Xa=(Xa+1)%Number.MAX_SAFE_INTEGER,Xa.toString()}const Ja=new Map,Wd=e=>{if(Ja.has(e))return;const t=setTimeout(()=>{Ja.delete(e),Uo({type:"REMOVE_TOAST",toastId:e})},px);Ja.set(e,t)},gx=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,hx)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;
40return n?Wd(n):e.toasts.forEach(r=>{Wd(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},cs=[];let us={toasts:[]};function Uo(e){us=gx(us,e),cs.forEach(t=>{t(us)})}function vx({...e}){const t=mx(),n=o=>Uo({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>Uo({type:"DISMISS_TOAST",toastId:t});return Uo({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function yx(){const[e,t]=x.useState(us);return x.useEffect(()=>(cs.push(t),()=>{const n=cs.indexOf(t);n>-1&&cs.splice(n,1)}),[e]),{...e,toast:vx,dismiss:n=>Uo({type:"DISMISS_TOAST",toastId:n})}}function je(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function Hd(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Jp(...e){return t=>{let n=!1;const r=e.map(o=>{const i=Hd(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():Hd(e[o],null)}}}}function Et(...e){return x.useCallback(Jp(...e),e)}function la(e,t=[]){let n=[];function r(i,s){const l=x.createContext(s),c=n.length;n=[...n,s];const u=p=>{var g;const{scope:f,children:d,...b}=p,y=((g=f==null?void 0:f[e])==null?void 0:g[c])||l,w=x.useMemo(()=>b,Object.values(b));return a.jsx(y.Provider,{value:w,children:d})};u.displayName=i+"Provider";function h(p,f){var y;const d=((y=f==null?void 0:f[e])==null?void 0:y[c])||l,b=x.useContext(d);if(b)return b;if(s!==void 0)return s;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[u,h]}const o=()=>{const i=n.map(s=>x.createContext(s));return function(l){const c=(l==null?void 0:l[e])||i;return x.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return o.scopeName=e,[r,xx(o,...t)]}function xx(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((l,{useScope:c,scopeName:u})=>{const p=c(i)[`__scope${u}`];return{...l,...p}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function Fs(e){const t=bx(e),n=x.forwardRef((r,o)=>{const{children:i,...s}=r,l=x.Children.toArray(i),c=l.find(kx);if(c){const u=c.props.children,h=l.map(p=>p===c?x.Children.count(u)>1?x.Children.only(null):x.isValidElement(u)?u.props.children:null:p);return a.jsx(t,{...s,ref:o,children:x.isValidElement(u)?x.cloneElement(u,void 0,h):null})}return a.jsx(t,{...s,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}var wx=Fs("Slot");function bx(e){const t=x.forwardRef((n,r)=>{const{children:o,...i}=n;if(x.isValidElement(o)){const s=Sx(o),l=Nx(i,o.props);return o.type!==x.Fragment&&(l.ref=r?Jp(r,s):s),x.cloneElement(o,l)}return x.Children.count(o)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Zp=Symbol("radix.slottable");function jx(e){const t=({children:n})=>a.jsx(a.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Zp,t}function kx(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Zp}function Nx(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...l)=>{const c=i(...l);return o(...l),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function Sx(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Cx(e){const t=e+"CollectionProvider",[n,r]=la(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=y=>{const{scope:w,children:g}=y,m=A.useRef(null),v=A.useRef(new Map).current;return a.jsx(o,{scope:w,itemMap:v,collectionRef:m,children:g})};s.displayName=t;const l=e+"CollectionSlot",c=Fs(l),u=A.forwardRef((y,w)=>{const{scope:g,children:m}=y,v=i(l,g),j=Et(w,v.collectionRef);return a.jsx(c,{ref:j,children:m})});u.displayName=l;const h=e+"CollectionItemSlot",p="data-radix-collection-item",f=Fs(h),d=A.forwardRef((y,w)=>{const{scope:g,children:m,...v}=y,j=A.useRef(null),k=Et(w,j),N=i(h,g);return A.useEffect(()=>(N.itemMap.set(j,{ref:j,...v}),()=>void N.itemMap.delete(j))),a.jsx(f,{[p]:"",ref:k,children:m})});d.displayName=h;function b(y){const w=i(e+"CollectionConsumer",y);return A.useCallback(()=>{const m=w.collectionRef.current;if(!m)return[];const v=Array.from(m.querySelectorAll(`[${p}]`));return Array.from(w.itemMap.values()).sort((N,S)=>v.indexOf(N.ref.current)-v.indexOf(S.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:s,Slot:u,ItemSlot:d},b,r]}var Ex=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ye=Ex.reduce((e,t)=>
vendor: 8,608 bytes, line 40
40{const n=Fs(`Primitive.${t}`),r=x.forwardRef((o,i)=>{const{asChild:s,...l}=o,c=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(c,{...l,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function em(e,t){e&&wi.flushSync(()=>e.dispatchEvent(t))}function _n(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function Px(e,t=globalThis==null?void 0:globalThis.document){const n=_n(e);x.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var Tx="DismissableLayer",Xl="dismissableLayer.update",Rx="dismissableLayer.pointerDownOutside",Ax="dismissableLayer.focusOutside",Kd,tm=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),au=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:l,...c}=e,u=x.useContext(tm),[h,p]=x.useState(null),f=(h==null?void 0:h.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,d]=x.useState({}),b=Et(t,S=>p(S)),y=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=y.indexOf(w),m=h?y.indexOf(h):-1,v=u.layersWithOutsidePointerEventsDisabled.size>0,j=m>=g,k=Ox(S=>{const T=S.target,O=[...u.branches].some(I=>I.contains(T));!j||O||(o==null||o(S),s==null||s(S),S.defaultPrevented||l==null||l())},f),N=Lx(S=>{const T=S.target;[...u.branches].some(I=>I.contains(T))||(i==null||i(S),s==null||s(S),S.defaultPrevented||l==null||l())},f);return Px(S=>{m===u.layers.size-1&&(r==null||r(S),!S.defaultPrevented&&l&&(S.preventDefault(),l()))},f),x.useEffect(()=>{if(h)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Kd=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(h)),u.layers.add(h),Qd(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Kd)}},[h,f,n,u]),x.useEffect(()=>()=>{h&&(u.layers.delete(h),u.layersWithOutsidePointerEventsDisabled.delete(h),Qd())},[h,u]),x.useEffect(()=>{const S=()=>d({});return document.addEventListener(Xl,S),()=>document.removeEventListener(Xl,S)},[]),a.jsx(Ye.div,{...c,ref:b,style:{pointerEvents:v?j?"auto":"none":void 0,...e.style},onFocusCapture:je(e.onFocusCapture,N.onFocusCapture),onBlurCapture:je(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:je(e.onPointerDownCapture,k.onPointerDownCapture)})});au.displayName=Tx;var Ix="DismissableLayerBranch",nm=x.forwardRef((e,t)=>{const n=x.useContext(tm),r=x.useRef(null),o=Et(t,r);return x.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),a.jsx(Ye.div,{...e,ref:o})});nm.displayName=Ix;function Ox(e,t=globalThis==null?void 0:globalThis.document){const n=_n(e),r=x.useRef(!1),o=x.useRef(()=>{});return x.useEffect(()=>{const i=l=>{if(l.target&&!r.current){let c=function(){rm(Rx,n,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Lx(e,t=globalThis==null?void 0:globalThis.document){const n=_n(e),r=x.useRef(!1);return x.useEffect(()=>{const o=i=>{i.target&&!r.current&&rm(Ax,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Qd(){const e=new CustomEvent(Xl);document.dispatchEvent(e)}function rm(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?em(o,i):o.dispatchEvent(i)}var Mx=au,Fx=nm,Dn=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},_x="Portal",om=x.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[o,i]=x.useState(!1);Dn(()=>i(!0),[]);const s=n||o&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return s?qp.createPortal(a.jsx(Ye.div,{...r,ref:t}),s):null});om.displayName=_x;function Dx(e,t){return x.useReducer((n,r)=>t[n][r]??n,e)}var lu=e=>{const{present:t,children:n}=e,r=zx(t),o=typeof n=="function"?n({present:r.isPresent}):x.Children.only(n),i=Et(r.ref,$x(o));return typeof n=="function"||r.isPresent?x.cloneElement(o,{ref:i}):null};lu.displayName="Presence";function zx(e){const[t,n]=x.useState(),r=x.useRef(null),o=x.useRef(e),i=x.useRef("none"),s=e?"mounted":"unmounted",[l,c]=Dx(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const u=Ki(r.current);i.current=l==="mounted"?u:"none"},[l]),Dn(()=>{const u=r.current,h=o.current;if(h!==e){const f=i.current,d=Ki(u);e?c("MOUNT"):d==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(h&&f!==d?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),Dn(()=>{if(t){let u;const h=t.ownerDocument.defaultView??window,p=d=>{const y=Ki(r.current).includes(d.animationName);if(d.target===t&&y&&(c("ANIMATION_END"),!o.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=h.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},f=d=>{d.target===t&&(i.current=Ki(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",p),t.addEventListener("animationend",p),()=>{h.clearTimeout(u),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",p),t.removeEventListener("animationend",p)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:x.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Ki(e){return(e==null?void 0:e.animationName)||"none"}function $x(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Bx=Qf[" useInsertionEffect ".trim().toString()]||Dn;function Vx({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,s]=Ux({defaultProp:t,onChange:n}),l=e!==void 0,c=l?e:o;{const h=x.useRef(e!==void 0);x.useEffect(()=>{const p=h.current;p!==l&&console.warn(`${r} is changing from ${p?"controlled":"uncontrolled"} to ${l?"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.`),h.current=l},[l,r])}const u=x.useCallback(h=>{var p;if(l){const f=Wx(h)?h(e):h;f!==e&&((p=s.current)==null||p.call(s,f))}else i(h)},[l,e,i,s]);return[c,u]}function Ux({defaultProp:e,onChange:t}){const[n,r]=x.useState(e),o=x.useRef(n),i=x.useRef(t);return Bx(()=>{i.current=t},[t]),x.useEffect(()=>{var s;o.current!==n&&((s=i.current)==null||s.call(i,n),o.current=n)},[n,o]),[n,r,i]}function Wx(e){return typeof e=="function"}var Hx=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"}),Kx="VisuallyHidden",ca=x.forwardRef((e,t)=>a.jsx(Ye.span,{...e,ref:t,style:{...Hx,...e.style}}));ca.displayName=Kx;var Qx=ca,cu="ToastProvider",[uu,Gx,Yx]=Cx("Toast"),[im,qj]=la("Toast",[Yx]),[qx,ua]=im(cu),sm=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:s}=e,[l,c]=x.useState(null),[u,h]=x.useState(0),p=x.useRef(!1),f=x.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${cu}\`. Expected non-empty \`string\`.`),a.jsx(uu.Provider,{scope:t,children:a.jsx(qx,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:u,viewport:l,onViewportChange:c,onToastAdd:x.useCallback(()=>h(d=>d+1),[]),onToastRemove:x.useCallback(()=>h(d=>d-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:f,children:s})})};sm.displayName=cu;var am="ToastViewport",Xx=["F8"],Jl="toast.viewportPause",Zl="toast.viewportResume",lm=x.forwardRef((e,t)=>
40{const{__scopeToast:n,hotkey:r=Xx,label:o="Notifications ({hotkey})",...i}=e,s=ua(am,n),l=Gx(n),c=x.useRef(null),u=x.useRef(null),h=x.useRef(null),p=x.useRef(null),f=Et(t,p,s.onViewportChange),d=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=s.toastCount>0;x.useEffect(()=>{const w=g=>{var v;r.length!==0&&r.every(j=>g[j]||g.code===j)&&((v=p.current)==null||v.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),x.useEffect(()=>{const w=c.current,g=p.current;if(b&&w&&g){const m=()=>{if(!s.isClosePausedRef.current){const N=new CustomEvent(Jl);g.dispatchEvent(N),s.isClosePausedRef.current=!0}},v=()=>{if(s.isClosePausedRef.current){const N=new CustomEvent(Zl);g.dispatchEvent(N),s.isClosePausedRef.current=!1}},j=N=>{!w.contains(N.relatedTarget)&&v()},k=()=>{w.contains(document.activeElement)||v()};return w.addEventListener("focusin",m),w.addEventListener("focusout",j),w.addEventListener("pointermove",m),w.addEventListener("pointerleave",k),window.addEventListener("blur",m),window.addEventListener("focus",v),()=>{w.removeEventListener("focusin",m),w.removeEventListener("focusout",j),w.removeEventListener("pointermove",m),w.removeEventListener("pointerleave",k),window.removeEventListener("blur",m),window.removeEventListener("focus",v)}}},[b,s.isClosePausedRef]);const y=x.useCallback(({tabbingDirection:w})=>{const m=l().map(v=>{const j=v.ref.current,k=[j,...u0(j)];return w==="forwards"?k:k.reverse()});return(w==="forwards"?m.reverse():m).flat()},[l]);return x.useEffect(()=>{const w=p.current;if(w){const g=m=>{var k,N,S;const v=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!v){const T=document.activeElement,O=m.shiftKey;if(m.target===w&&O){(k=u.current)==null||k.focus();return}const _=y({tabbingDirection:O?"backwards":"forwards"}),q=_.findIndex(L=>L===T);Za(_.slice(q+1))?m.preventDefault():O?(N=u.current)==null||N.focus():(S=h.current)==null||S.focus()}};return w.addEventListener("keydown",g),()=>w.removeEventListener("keydown",g)}},[l,y]),a.jsxs(Fx,{ref:c,role:"region","aria-label":o.replace("{hotkey}",d),tabIndex:-1,style:{pointerEvents:b?void 0:"none"},children:[b&&a.jsx(ec,{ref:u,onFocusFromOutsideViewport:()=>{const w=y({tabbingDirection:"forwards"});Za(w)}}),a.jsx(uu.Slot,{scope:n,children:a.jsx(Ye.ol,{tabIndex:-1,...i,ref:f})}),b&&a.jsx(ec,{ref:h,onFocusFromOutsideViewport:()=>{const w=y({tabbingDirection:"backwards"});Za(w)}})]})});lm.displayName=am;var cm="ToastFocusProxy",ec=x.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=ua(cm,n);return a.jsx(ca,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:s=>{var u;const l=s.relatedTarget;!((u=i.viewport)!=null&&u.contains(l))&&r()}})});ec.displayName=cm;var bi="Toast",Jx="toast.swipeStart",Zx="toast.swipeMove",e0="toast.swipeCancel",t0="toast.swipeEnd",um=x.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...s}=e,[l,c]=Vx({prop:r,defaultProp:o??!0,onChange:i,caller:bi});return a.jsx(lu,{present:n||l,children:a.jsx(o0,{open:l,...s,ref:t,onClose:()=>c(!1),onPause:_n(e.onPause),onResume:_n(e.onResume),onSwipeStart:je(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:je(e.onSwipeMove,u=>{const{x:h,y:p}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${h}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${p}px`)}),onSwipeCancel:je(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:je(e.onSwipeEnd,u=>{const{x:h,y:p}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${h}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${p}px`),c(!1)})})})});um.displayName=bi;var[n0,r0]=im(bi,{onClose(){}}),o0=x.forwardRef((e,t)=>
40{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:s,onEscapeKeyDown:l,onPause:c,onResume:u,onSwipeStart:h,onSwipeMove:p,onSwipeCancel:f,onSwipeEnd:d,...b}=e,y=ua(bi,n),[w,g]=x.useState(null),m=Et(t,L=>g(L)),v=x.useRef(null),j=x.useRef(null),k=o||y.duration,N=x.useRef(0),S=x.useRef(k),T=x.useRef(0),{onToastAdd:O,onToastRemove:I}=y,B=_n(()=>{var ee;(w==null?void 0:w.contains(document.activeElement))&&((ee=y.viewport)==null||ee.focus()),s()}),_=x.useCallback(L=>{!L||L===1/0||(window.clearTimeout(T.current),N.current=new Date().getTime(),T.current=window.setTimeout(B,L))},[B]);x.useEffect(()=>{const L=y.viewport;if(L){const ee=()=>{_(S.current),u==null||u()},W=()=>{const G=new Date().getTime()-N.current;S.current=S.current-G,window.clearTimeout(T.current),c==null||c()};return L.addEventListener(Jl,W),L.addEventListener(Zl,ee),()=>{L.removeEventListener(Jl,W),L.removeEventListener(Zl,ee)}}},[y.viewport,k,c,u,_]),x.useEffect(()=>{i&&!y.isClosePausedRef.current&&_(k)},[i,k,y.isClosePausedRef,_]),x.useEffect(()=>(O(),()=>I()),[O,I]);const q=x.useMemo(()=>w?vm(w):null,[w]);return y.viewport?a.jsxs(a.Fragment,{children:[q&&a.jsx(i0,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:q}),a.jsx(n0,{scope:n,onClose:B,children:wi.createPortal(a.jsx(uu.ItemSlot,{scope:n,children:a.jsx(Mx,{asChild:!0,onEscapeKeyDown:je(l,()=>{y.isFocusedToastEscapeKeyDownRef.current||B(),y.isFocusedToastEscapeKeyDownRef.current=!1}),children:a.jsx(Ye.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":y.swipeDirection,...b,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:je(e.onKeyDown,L=>{L.key==="Escape"&&(l==null||l(L.nativeEvent),L.nativeEvent.defaultPrevented||(y.isFocusedToastEscapeKeyDownRef.current=!0,B()))}),onPointerDown:je(e.onPointerDown,L=>{L.button===0&&(v.current={x:L.clientX,y:L.clientY})}),onPointerMove:je(e.onPointerMove,L=>{if(!v.current)return;const ee=L.clientX-v.current.x,W=L.clientY-v.current.y,G=!!j.current,E=["left","right"].includes(y.swipeDirection),P=["left","up"].includes(y.swipeDirection)?Math.min:Math.max,M=E?P(0,ee):0,Q=E?0:P(0,W),D=L.pointerType==="touch"?10:2,X={x:M,y:Q},Z={originalEvent:L,delta:X};G?(j.current=X,Qi(Zx,p,Z,{discrete:!1})):Gd(X,y.swipeDirection,D)?(j.current=X,Qi(Jx,h,Z,{discrete:!1}),L.target.setPointerCapture(L.pointerId)):(Math.abs(ee)>D||Math.abs(W)>D)&&(v.current=null)}),onPointerUp:je(e.onPointerUp,L=>{const ee=j.current,W=L.target;if(W.hasPointerCapture(L.pointerId)&&W.releasePointerCapture(L.pointerId),j.current=null,v.current=null,ee){const G=L.currentTarget,E={originalEvent:L,delta:ee};Gd(ee,y.swipeDirection,y.swipeThreshold)?Qi(t0,d,E,{discrete:!0}):Qi(e0,f,E,{discrete:!0}),G.addEventListener("click",P=>P.preventDefault(),{once:!0})}})})})}),y.viewport)})]}):null}),i0=e=>{const{__scopeToast:t,children:n,...r}=e,o=ua(bi,t),[i,s]=x.useState(!1),[l,c]=x.useState(!1);return l0(()=>s(!0)),x.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),l?null:a.jsx(om,{asChild:!0,children:a.jsx(ca,{...r,children:i&&a.jsxs(a.Fragment,{children:[o.label," ",n]})})})},s0="ToastTitle",dm=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return a.jsx(Ye.div,{...r,ref:t})});dm.displayName=s0;var a0="ToastDescription",fm=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return a.jsx(Ye.div,{...r,ref:t})});fm.displayName=a0;var hm="ToastAction",pm=x.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?a.jsx(gm,{altText:n,asChild:!0,children:a.jsx(du,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${hm}\`. Expected non-empty \`string\`.`),null)});pm.displayName=hm;var mm="ToastClose",du=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=r0(mm,n);return a.jsx(gm,{asChild:!0,children:a.jsx(Ye.button,{type:"button",...r,ref:t,onClick:je(e.onClick,o.onClose)})})});du.displayName=mm;var gm=x.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return a.jsx(Ye.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function vm(e){const t=[];
vendor: 7,984 bytes, lines 40-120
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),c0(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...vm(r))}}),t}function Qi(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?em(o,i):o.dispatchEvent(i)}var Gd=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return t==="left"||t==="right"?i&&r>n:!i&&o>n};function l0(e=()=>{}){const t=_n(e);Dn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function c0(e){return e.nodeType===e.ELEMENT_NODE}function u0(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Za(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var d0=sm,ym=lm,xm=um,wm=dm,bm=fm,jm=pm,km=du;function Nm(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Nm(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Sm(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Nm(e))&&(r&&(r+=" "),r+=t);return r}const Yd=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,qd=Sm,fu=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return qd(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(u=>{const h=n==null?void 0:n[u],p=i==null?void 0:i[u];if(h===null)return null;const f=Yd(h)||Yd(p);return o[u][f]}),l=n&&Object.entries(n).reduce((u,h)=>{let[p,f]=h;return f===void 0||(u[p]=f),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,h)=>{let{class:p,className:f,...d}=h;return Object.entries(d).every(b=>{let[y,w]=b;return Array.isArray(w)?w.includes({...i,...l}[y]):{...i,...l}[y]===w})?[...u,p,f]:u},[]);return qd(e,s,c,n==null?void 0:n.class,n==null?void 0:n.className)};/** 41 * @license lucide-react v0.462.0 - ISC 42 * 43 * This source code is licensed under the ISC license. 44 * See the LICENSE file in the root directory of this source tree. 45 */const f0=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Cm=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** 46 * @license lucide-react v0.462.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */var h0={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"};/** 51 * @license lucide-react v0.462.0 - ISC 52 * 53 * This source code is licensed under the ISC license. 54 * See the LICENSE file in the root directory of this source tree. 55 */const p0=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:s,...l},c)=>x.createElement("svg",{ref:c,...h0,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Cm("lucide",o),...l},[...s.map(([u,h])=>x.createElement(u,h)),...Array.isArray(i)?i:[i]]));/** 56 * @license lucide-react v0.462.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */const ft=(e,t)=>{const n=x.forwardRef(({className:r,...o},i)=>x.createElement(p0,{ref:i,iconNode:t,className:Cm(`lucide-${f0(e)}`,r),...o}));return n.displayName=`${e}`,n};/** 61 * @license lucide-react v0.462.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */const Em=ft("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/** 66 * @license lucide-react v0.462.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const _s=ft("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/** 71 * @license lucide-react v0.462.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const m0=ft("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/** 76 * @license lucide-react v0.462.0 - ISC 77 * 78 * This source code is licensed under the ISC license. 79 * See the LICENSE file in the root directory of this source tree. 80 */const g0=ft("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** 81 * @license lucide-react v0.462.0 - ISC 82 * 83 * This source code is licensed under the ISC license. 84 * See the LICENSE file in the root directory of this source tree. 85 */const Pm=ft("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** 86 * @license lucide-react v0.462.0 - ISC 87 * 88 * This source code is licensed under the ISC license. 89 * See the LICENSE file in the root directory of this source tree. 90 */const Xd=ft("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"}]]);/** 91 * @license lucide-react v0.462.0 - ISC 92 * 93 * This source code is licensed under the ISC license. 94 * See the LICENSE file in the root directory of this source tree. 95 */const v0=ft("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"}]]);/** 96 * @license lucide-react v0.462.0 - ISC 97 * 98 * This source code is licensed under the ISC license. 99 * See the LICENSE file in the root directory of this source tree. 100 */const y0=ft("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/** 101 * @license lucide-react v0.462.0 - ISC 102 * 103 * This source code is licensed under the ISC license. 104 * See the LICENSE file in the root directory of this source tree. 105 */const x0=ft("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/** 106 * @license lucide-react v0.462.0 - ISC 107 * 108 * This source code is licensed under the ISC license. 109 * See the LICENSE file in the root directory of this source tree. 110 */const Jd=ft("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/** 111 * @license lucide-react v0.462.0 - ISC 112 * 113 * This source code is licensed under the ISC license. 114 * See the LICENSE file in the root directory of this source tree. 115 */const Ds=ft("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/** 116 * @license lucide-react v0.462.0 - ISC 117 * 118 * This source code is licensed under the ISC license. 119 * See the LICENSE file in the root directory of this source tree. 120 */const hu=ft("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 12,226 bytes, line 120
120],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),pu="-",w0=e=>{const t=j0(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const l=s.split(pu);return l[0]===""&&l.length!==1&&l.shift(),Tm(l,t)||b0(s)},getConflictingClassGroupIds:(s,l)=>{const c=n[s]||[];return l&&r[s]?[...c,...r[s]]:c}}},Tm=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Tm(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(pu);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},Zd=/^\[(.+)\]$/,b0=e=>{if(Zd.test(e)){const t=Zd.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},j0=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return N0(Object.entries(e.classGroups),n).forEach(([i,s])=>{tc(s,r,i,t)}),r},tc=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:ef(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(k0(o)){tc(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{tc(s,ef(t,i),n,r)})})},ef=(e,t)=>{let n=e;return t.split(pu).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},k0=e=>e.isThemeGetter,N0=(e,t)=>t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,l])=>[t+s,l])):i);return[n,o]}):e,S0=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(i,s)=>{n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set(i,s){n.has(i)?n.set(i,s):o(i,s)}}},Rm="!",C0=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,s=l=>{const c=[];let u=0,h=0,p;for(let w=0;w<l.length;w++){let g=l[w];if(u===0){if(g===o&&(r||l.slice(w,w+i)===t)){c.push(l.slice(h,w)),h=w+i;continue}if(g==="/"){p=w;continue}}g==="["?u++:g==="]"&&u--}const f=c.length===0?l:l.substring(h),d=f.startsWith(Rm),b=d?f.substring(1):f,y=p&&p>h?p-h:void 0;return{modifiers:c,hasImportantModifier:d,baseClassName:b,maybePostfixModifierPosition:y}};return n?l=>n({className:l,parseClassName:s}):s},E0=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},P0=e=>({cache:S0(e.cacheSize),parseClassName:C0(e),...w0(e)}),T0=/\s+/,R0=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(T0);let l="";for(let c=s.length-1;c>=0;c-=1){const u=s[c],{modifiers:h,hasImportantModifier:p,baseClassName:f,maybePostfixModifierPosition:d}=n(u);let b=!!d,y=r(b?f.substring(0,d):f);if(!y){if(!b){l=u+(l.length>0?" "+l:l);continue}if(y=r(f),!y){l=u+(l.length>0?" "+l:l);continue}b=!1}const w=E0(h).join(":"),g=p?w+Rm:w,m=g+y;if(i.includes(m))continue;i.push(m);const v=o(y,b);for(let j=0;j<v.length;++j){const k=v[j];i.push(g+k)}l=u+(l.length>0?" "+l:l)}return l};function A0(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Am(t))&&(r&&(r+=" "),r+=n);return r}const Am=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Am(e[r]))&&(n&&(n+=" "),n+=t);return n};function I0(e,...t){let n,r,o,i=s;function s(c){const u=t.reduce((h,p)=>p(h),e());return n=P0(u),r=n.cache.get,o=n.cache.set,i=l,l(c)}function l(c){const u=r(c);if(u)return u;const h=R0(c,n);return o(c,h),h}return function(){return i(A0.apply(null,arguments))}}const ae=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Im=/^\[(?:([a-z-]+):)?(.+)\]$/i,O0=/^\d+\/\d+$/,L0=new Set(["px","full","screen"]),M0=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,F0=/\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$/,_0=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,D0=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,z0=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Vt=e=>Wr(e)||L0.has(e)||O0.test(e),dn=e=>po(e,"length",Q0),Wr=e=>!!e&&!Number.isNaN(Number(e)),el=e=>po(e,"number",Wr),Po=e=>!!e&&Number.isInteger(Number(e)),$0=e=>e.endsWith("%")&&Wr(e.slice(0,-1)),Y=e=>Im.test(e),fn=e=>M0.test(e),B0=new Set(["length","size","percentage"]),V0=e=>po(e,B0,Om),U0=e=>po(e,"position",Om),W0=new Set(["image","url"]),H0=e=>po(e,W0,Y0),K0=e=>po(e,"",G0),To=()=>!0,po=(e,t,n)=>{const r=Im.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},Q0=e=>F0.test(e)&&!_0.test(e),Om=()=>!1,G0=e=>D0.test(e),Y0=e=>z0.test(e),q0=()=>{const e=ae("colors"),t=ae("spacing"),n=ae("blur"),r=ae("brightness"),o=ae("borderColor"),i=ae("borderRadius"),s=ae("borderSpacing"),l=ae("borderWidth"),c=ae("contrast"),u=ae("grayscale"),h=ae("hueRotate"),p=ae("invert"),f=ae("gap"),d=ae("gradientColorStops"),b=ae("gradientColorStopPositions"),y=ae("inset"),w=ae("margin"),g=ae("opacity"),m=ae("padding"),v=ae("saturate"),j=ae("scale"),k=ae("sepia"),N=ae("skew"),S=ae("space"),T=ae("translate"),O=()=>["auto","contain","none"],I=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto",Y,t],_=()=>[Y,t],q=()=>["",Vt,dn],L=()=>["auto",Wr,Y],ee=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],W=()=>["solid","dashed","dotted","double","none"],G=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],E=()=>["start","end","center","between","around","evenly","stretch"],P=()=>["","0",Y],M=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Q=()=>[Wr,Y];return{cacheSize:500,separator:":",theme:{colors:[To],spacing:[Vt,dn],blur:["none","",fn,Y],brightness:Q(),borderColor:[e],borderRadius:["none","","full",fn,Y],borderSpacing:_(),borderWidth:q(),contrast:Q(),grayscale:P(),hueRotate:Q(),invert:P(),gap:_(),gradientColorStops:[e],gradientColorStopPositions:[$0,dn],inset:B(),margin:B(),opacity:Q(),padding:_(),saturate:Q(),scale:Q(),sepia:P(),skew:Q(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",Y]}],container:["container"],columns:[{columns:[fn]}],"break-after":[{"break-after":M()}],"break-before":[{"break-before":M()}],"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:[...ee(),Y]}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Po,Y]}],basis:[{basis:B()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Y]}],grow:[{grow:P()}],shrink:[{shrink:P()}],order:[{order:["first","last","none",Po,Y]}],"grid-cols":[{"grid-cols":[To]}],"col-start-end":[{col:["auto",{span:["full",Po,Y]},Y]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[To]}],"row-start-end":[{row:["auto",{span:[Po,Y]},Y]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Y]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Y]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...E()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...E(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...E(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Y,t]}],"min-w":[{"min-w":[Y,t,"min","max","fit"]}],"max-w":[{"max-w":[Y,t,"none","full","min","max","fit","prose",{screen:[fn]},fn]}],h:[{h:[Y,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Y,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Y,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Y,t,"auto","min","max","fit"]}],"font-size":[{text:["base",fn,dn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",el]}],"font-family":[{font:[To]}],"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",Y]}],"line-clamp":[{"line-clamp":["none",Wr,el]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Vt,Y]}],"list-image":[{"list-image":["none",Y]}],"list-style-type":[{list:["none","disc","decimal",Y]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Vt,dn]}],"underline-offset":[{"underline-offset":["auto",Vt,Y]}],"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:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Y]}],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",Y]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ee(),U0]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",V0]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},H0]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}
vendor: 5,172 bytes, line 120
120],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[d]}],"gradient-via":[{via:[d]}],"gradient-to":[{to:[d]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...W(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:W()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...W()]}],"outline-offset":[{"outline-offset":[Vt,Y]}],"outline-w":[{outline:[Vt,dn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[Vt,dn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",fn,K0]}],"shadow-color":[{shadow:[To]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...G(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":G()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",fn,Y]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[p]}],saturate:[{saturate:[v]}],sepia:[{sepia:[k]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[k]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Y]}],duration:[{duration:Q()}],ease:[{ease:["linear","in","out","in-out",Y]}],delay:[{delay:Q()}],animate:[{animate:["none","spin","ping","pulse","bounce",Y]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[Po,Y]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Y]}],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",Y]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"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"]}
vendor: 4,646 bytes, line 120
120],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",Y]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Vt,dn,el]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},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"]}}},X0=I0(q0);function Te(...e){return X0(Sm(e))}const J0=d0,Lm=x.forwardRef(({className:e,...t},n)=>a.jsx(ym,{ref:n,className:Te("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}));Lm.displayName=ym.displayName;const Z0=fu("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"}}),Mm=x.forwardRef(({className:e,variant:t,...n},r)=>a.jsx(xm,{ref:r,className:Te(Z0({variant:t}),e),...n}));Mm.displayName=xm.displayName;const ew=x.forwardRef(({className:e,...t},n)=>a.jsx(jm,{ref:n,className:Te("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 hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));ew.displayName=jm.displayName;const Fm=x.forwardRef(({className:e,...t},n)=>a.jsx(km,{ref:n,className:Te("absolute right-2 top-2 rounded-md p-1 text-foreground
120/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:a.jsx(hu,{className:"h-4 w-4"})}));Fm.displayName=km.displayName;const _m=x.forwardRef(({className:e,...t},n)=>a.jsx(wm,{ref:n,className:Te("text-sm font-semibold",e),...t}));_m.displayName=wm.displayName;const Dm=x.forwardRef(({className:e,...t},n)=>a.jsx(bm,{ref:n,className:Te("text-sm opacity-90",e),...t}));Dm.displayName=bm.displayName;function tw(){const{toasts:e}=yx();return a.jsxs(J0,{children:[e.map(function({id:t,title:n,description:r,action:o,...i}){return a.jsxs(Mm,{...i,children:[a.jsxs("div",{className:"grid gap-1",children:[n&&a.jsx(_m,{children:n}),r&&a.jsx(Dm,{children:r})]}),o,a.jsx(Fm,{})]},t)}),a.jsx(Lm,{})]})}var tf=["light","dark"],nw="(prefers-color-scheme: dark)",rw=x.createContext(void 0),ow={setTheme:e=>{},themes:[]},iw=()=>{var e;return(e=x.useContext(rw))!=null?e:ow};x.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:s,attrs:l,nonce:c})=>{let u=i==="system",h=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${l.map(b=>`'${b}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,p=o?tf.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(b,y=!1,w=!0)=>{let g=s?s[b]:b,m=y?b+"|| ''":`'${g}'`,v="";return o&&w&&!y&&tf.includes(b)&&(v+=`d.style.colorScheme = '${b}';`),n==="class"?y||g?v+=`c.add(${m})`:v+="null":g&&(v+=`d[s](n,${m})`),v},d=e?`!function(){${h}${f(e)}}()`:r?`!function(){try{${h}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${nw}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${f(s?"x[e]":"e",!0)}}${u?"":"else{"+f(i,!1,!1)+"}"}${p}}catch(e){}}()`:`!function(){try{${h}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${f(s?"x[e]":"e",!0)}}else{${f(i,!1,!1)};}${p}}catch(t){}}();`;return x.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:d}})});var sw=e=>{switch(e){case"success":return cw;case"info":return dw;case"warning":return uw;case"error":return fw;default:return null}},aw=Array(12).fill(0),lw=({visible:e,className:t})=>A.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},A.createElement("div",{className:"sonner-spinner"},aw.map((n,r)=>A.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),cw=A.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},A.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"})),uw=A.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},A.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"})),dw=A.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},A.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"})),fw=A.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},A.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"})),hw=A.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"},A.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),A.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),pw=()=>{let[e,t]=A.useState(document.hidden);return A.useEffect(()=>{let n=()=>{t(document.hidden)};
120return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},nc=1,mw=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:n,...r}=e,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:nc++,i=this.toasts.find(l=>l.id===o),s=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(l=>l.id===o?(this.publish({...l,...e,id:o,title:n}),{...l,...e,id:o,dismissible:s,title:n}):l):this.addToast({title:n,...r,dismissible:s,id:o}),o},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({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)=>
120this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0,i,s=r.then(async c=>{if(i=["resolve",c],A.isValidElement(c))o=!1,this.create({id:n,type:"default",message:c});else if(vw(c)&&!c.ok){o=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${c.status}`):t.error,h=typeof t.description=="function"?await t.description(`HTTP error! status: ${c.status}`):t.description;this.create({id:n,type:"error",message:u,description:h})}else if(t.success!==void 0){o=!1;let u=typeof t.success=="function"?await t.success(c):t.success,h=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"success",message:u,description:h})}}).catch(async c=>{if(i=["reject",c],t.error!==void 0){o=!1;let u=typeof t.error=="function"?await t.error(c):t.error,h=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"error",message:u,description:h})}}).finally(()=>{var c;o&&(this.dismiss(n),n=void 0),(c=t.finally)==null||c.call(t)}),l=()=>new Promise((c,u)=>s.then(()=>i[0]==="reject"?u(i[1]):c(i[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:l}:Object.assign(n,{unwrap:l})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||nc++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Ue=new mw,gw=(e,t)=>{let n=(t==null?void 0:t.id)||nc++;return Ue.addToast({title:e,...t,id:n}),n},vw=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",yw=gw,xw=()=>Ue.toasts,ww=()=>Ue.getActiveToasts();Object.assign(yw,{success:Ue.success,info:Ue.info,warning:Ue.warning,error:Ue.error,custom:Ue.custom,message:Ue.message,promise:Ue.promise,dismiss:Ue.dismiss,loading:Ue.loading},{getHistory:xw,getToasts:ww});function bw(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}bw(`: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;
120left: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}
120: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%);
120--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%)} 121`);function Gi(e){return e.label!==void 0}var jw=3,kw="32px",Nw="16px",nf=4e3,Sw=356,Cw=14,Ew=20,Pw=200;function vt(...e){return e.filter(Boolean).join(" ")}function Tw(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var Rw=e=>{var t,n,r,o,i,s,l,c,u,h,p;let{invert:f,toast:d,unstyled:b,interacting:y,setHeights:w,visibleToasts:g,heights:m,index:v,toasts:j,expanded:k,removeToast:N,defaultRichColors:S,closeButton:T,style:O,cancelButtonStyle:I,actionButtonStyle:B,className:_="",descriptionClassName:q="",duration:L,position:ee,gap:W,loadingIcon:G,expandByDefault:E,classNames:P,icons:M,closeButtonAriaLabel:Q="Close toast",pauseWhenPageIsHidden:D}=e,[X,Z]=A.useState(null),[ye,Re]=A.useState(null),[re,yr]=A.useState(!1),[rn,Qn]=A.useState(!1),[on,xr]=A.useState(!1),[sn,Si]=A.useState(!1),[wa,Ci]=A.useState(!1),[ba,yo]=A.useState(0),[wr,Pu]=A.useState(0),xo=A.useRef(d.duration||L||nf),Tu=A.useRef(null),Gn=A.useRef(null),Ig=v===0,Og=v+1<=g,ot=d.type,br=d.dism
121issible!==!1,Lg=d.className||"",Mg=d.descriptionClassName||"",Ei=A.useMemo(()=>m.findIndex(H=>H.toastId===d.id)||0,[m,d.id]),Fg=A.useMemo(()=>{var H;return(H=d.closeButton)!=null?H:T},[d.closeButton,T]),Ru=A.useMemo(()=>d.duration||L||nf,[d.duration,L]),ja=A.useRef(0),jr=A.useRef(0),Au=A.useRef(0),kr=A.useRef(null),[_g,Dg]=ee.split("-"),Iu=A.useMemo(()=>m.reduce((H,ie,ue)=>ue>=Ei?H:H+ie.height,0),[m,Ei]),Ou=pw(),zg=d.invert||f,ka=ot==="loading";jr.current=A.useMemo(()=>Ei*W+Iu,[Ei,Iu]),A.useEffect(()=>{xo.current=Ru},[Ru]),A.useEffect(()=>{yr(!0)},[]),A.useEffect(()=>{let H=Gn.current;if(H){let ie=H.getBoundingClientRect().height;return Pu(ie),w(ue=>[{toastId:d.id,height:ie,position:d.position},...ue]),()=>w(ue=>ue.filter(ht=>ht.toastId!==d.id))}},[w,d.id]),A.useLayoutEffect(()=>{if(!re)return;let H=Gn.current,ie=H.style.height;H.style.height="auto";let ue=H.getBoundingClientRect().height;H.style.height=ie,Pu(ue),w(ht=>ht.find(pt=>pt.toastId===d.id)?ht.map(pt=>pt.toastId===d.id?{...pt,height:ue}:pt):[{toastId:d.id,height:ue,position:d.position},...ht])},[re,d.title,d.description,w,d.id]);let an=A.useCallback(()=>{Qn(!0),yo(jr.current),w(H=>H.filter(ie=>ie.toastId!==d.id)),setTimeout(()=>{N(d)},Pw)},[d,N,w,jr]);A.useEffect(()=>{if(d.promise&&ot==="loading"||d.duration===1/0||d.type==="loading")return;let H;return k||y||D&&Ou?(()=>{if(Au.current<ja.current){let ie=new Date().getTime()-ja.current;xo.current=xo.current-ie}Au.current=new Date().getTime()})():xo.current!==1/0&&(ja.current=new Date().getTime(),H=setTimeout(()=>{var ie;(ie=d.onAutoClose)==null||ie.call(d,d),an()},xo.current)),()=>clearTimeout(H)},[k,y,d,ot,D,Ou,an]),A.useEffect(()=>{d.delete&&an()},[an,d.delete]);function $g(){var H,ie,ue;return M!=null&&M.loading?A.createElement("div",{className:vt(P==null?void 0:P.loader,(H=d==null?void 0:d.classNames)==null?void 0:H.loader,"sonner-loader"),"data-visible":ot==="loading"},M.loading):G?A.createElement("div",{className:vt(P==null?void 0:P.loader,(ie=d==null?void 0:d.classNames)==null?void 0:ie.loader,"sonner-loader"),"data-visible":ot==="loading"},G):A.createElement(lw,{className:vt(P==null?void 0:P.loader,(ue=d==null?void 0:d.classNames)==null?void 0:ue.loader),visible:ot==="loading"})}return A.createElement("li",{tabIndex:0,ref:Gn,className:vt(_,Lg,P==null?void 0:P.toast,(t=d==null?void 0:d.classNames)==null?void 0:t.toast,P==null?void 0:P.default,P==null?void 0:P[ot],(n=d==null?void 0:d.classNames)==null?void 0:n[ot]),"data-sonner-toast":"","data-rich-colors":(r=d.richColors)!=null?r:S,"data-styled":!(d.jsx||d.unstyled||b),"data-mounted":re,"data-
121promise":!!d.promise,"data-swiped":wa,"data-removed":rn,"data-visible":Og,"data-y-position":_g,"data-x-position":Dg,"data-index":v,"data-front":Ig,"data-swiping":on,"data-dismissible":br,"data-type":ot,"data-invert":zg,"data-swipe-out":sn,"data-swipe-direction":ye,"data-expanded":!!(k||E&&re),style:{"--index":v,"--toasts-before":v,"--z-index":j.length-v,"--offset":`${rn?ba:jr.current}px`,"--initial-height":E?"auto":`${wr}px`,...O,...d.style},onDragEnd:()=>{xr(!1),Z(null),kr.current=null},onPointerDown:H=>{ka||!br||(Tu.current=new Date,yo(jr.current),H.target.setPointerCapture(H.pointerId),H.target.tagName!=="BUTTON"&&(xr(!0),kr.current={x:H.clientX,y:H.clientY}))},onPointerUp:()=>{var H,ie,ue,ht;if(sn||!br)return;kr.current=null;let pt=Number(((H=Gn.current)==null?void 0:H.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),ln=Number(((ie=Gn.current)==null?void 0:ie.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Yn=new Date().getTime()-((ue=Tu.current)==null?void 0:ue.getTime()),mt=X==="x"?pt:ln,cn=Math.abs(mt)/Yn;if(Math.abs(mt)>=Ew||cn>.11){yo(jr.current),(ht=d.onDismiss)==null||ht.call(d,d),Re(X==="x"?pt>0?"right":"left":ln>0?"down":"up"),an(),Si(!0),Ci(!1);return}xr(!1),Z(null)},onPointerMove:H=>{var ie,ue,ht,pt;if(!kr.current||!br||((ie=window.getSelection())==null?void 0:ie.toString().length)>0)return;let ln=H.clientY-kr.current.y,Yn=H.clientX-kr.current.x,mt=(ue=e.swipeDirections)!=null?ue:Tw(ee);!X&&(Math.abs(Yn)>1||Math.abs(ln)>1)&&Z(Math.abs(Yn)>Math.abs(ln)?"x":"y");let cn={x:0,y:0};X==="y"?(mt.includes("top")||mt.includes("bottom"))&&(mt.includes("top")&&ln<0||mt.includes("bottom")&&ln>0)&&(cn.y=ln):X==="x"&&(mt.includes("left")||mt.includes("right"))&&(mt.includes("left")&&Yn<0||mt.includes("right")&&Yn>0)&&(cn.x=Yn),(Math.abs(cn.x)>0||Math.abs(cn.y)>0)&&Ci(!0),(ht=Gn.current)==null||ht.style.setProperty("--swipe-amount-x",`${cn.x}px`),(pt=Gn.current)==null||pt.style.setProperty("--swipe-amount-y",`${cn.y}px`)}},Fg&&!d.jsx?A.createElement("button",{"aria-label":Q,"data-disabled":ka,"data-close-button":!0,onClick:ka||!br?()=>{}:()=>{var H;an(),(H=d.onDismiss)==null||H.call(d,d)},className:vt(P==null?void 0:P.closeButton,(o=d==null?void 0:d.classNames)==null?void 0:o.closeButton)},(i=M==null?void 0:M.close)!=null?i:hw):null,d.jsx||x.isValidElement(d.title)?d.jsx?d.jsx:typeof d.title=="function"?d.title():d.title:A.createElement(A.Fragment,null,ot||d.icon||d.promise?A.createElement("div",{"data-icon":"",className:vt(P==null?void 0:P.icon,(s=d==null?void 0:d.classNames)==null?void 0:s.icon)},d.promise||d.type==="loading"&&!d.icon?d.icon||$g():null,d.type!=="loading"?d.icon||(M==null?void 0:M[ot])||sw(ot):null):null,A.createElement("div",{"data-content":"",className:vt(P==null?void 0:P.content,(l=d==null?void 0:d.classNames)==null?void 0:l.content)},A.createElement("div",{"data-title":"",className:vt(P==null?void 0:P.title,(c=d==null?void 0:d.classNames)==null?void 0:c.title)},typeof d.title=="function"?d.title():d.title),d.description?A.createElement("div",{"data-description":"",className:vt(q,Mg,P==null?void 0:P.description,(u=d==null?void 0:d.classNames)==null?void 0:u.description)},typeof d.description=="function"?d.description():d.description):null),x.isValidElement(d.cancel)?d.cancel:d.cancel&&Gi(d.cancel)?A.createElement("button",{"data-button":!0,"data-cancel":!0,style:d.cancelButtonStyle||I,onClick:H=>{var ie,ue;Gi(d.cancel)&&br&&((ue=(ie=d.cancel).onClick)==null||ue.call(ie,H),an())},className:vt(P==null?void 0:P.cancelButton,(h=d==null?void 0:d.classNames)==null?void 0:h.cancelButton)},d.cancel.label):null,x.isValidElement(d.action)?d.action:d.action&&Gi(d.action)?A.createElement("button",{"data-button":!0,"data-action":!0,style:d.actionButtonStyle||B,onClick:H=>{var ie,ue;Gi(d.action)&&((ue=(ie=d.action).onClick)==null||ue.call(ie,H),!H.defaultPrevented&&an())},className:vt(P==null?void 0:P.actionButton,(p=d==null?void 0:d.classNames)==null?void 0:p.actionButton)},d.action.label):null))};function rf(){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 Aw(e,t){let n={};return[e,t].forEach((r,o)=>{let i=o===1,s=i?"--mobile-offset":"--offset",l=i?Nw:kw;function c(u){["top","right","bottom","left"].forEach(h=>{n[`${s}-${h}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?c(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${s}-${u}`]=l:n[`${s}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):c(l)}),n}var Iw=x.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:i,closeButton:s,className:l,offset:c,mobileOffset:u,theme:h="light",richColors:p,duration:f,style:d,visibleToasts:b=jw,toastOptions:y,dir:w=rf(),gap:g=Cw,loadingIcon:m,icons:v,containerAriaLabel:j="Notifications",pauseWhenPageIsHidden:k}=e,[N,S]=A.useState([]),T=A.useMemo(()=>Array.from(new Set([r].concat(N.filter(D=>D.position).map(D=>D.position)))),[N,r]),[O,I]=A.useState([]),[B,_]=A.useState(!1),[q,L]=A.useState(!1),[ee,W]=A.useState(h!=="system"?h:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
121k":"light"),G=A.useRef(null),E=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),P=A.useRef(null),M=A.useRef(!1),Q=A.useCallback(D=>{S(X=>{var Z;return(Z=X.find(ye=>ye.id===D.id))!=null&&Z.delete||Ue.dismiss(D.id),X.filter(({id:ye})=>ye!==D.id)})},[]);return A.useEffect(()=>Ue.subscribe(D=>{if(D.dismiss){S(X=>X.map(Z=>Z.id===D.id?{...Z,delete:!0}:Z));return}setTimeout(()=>{qp.flushSync(()=>{S(X=>{let Z=X.findIndex(ye=>ye.id===D.id);return Z!==-1?[...X.slice(0,Z),{...X[Z],...D},...X.slice(Z+1)]:[D,...X]})})})}),[]),A.useEffect(()=>{if(h!=="system"){W(h);return}if(h==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?W("dark"):W("light")),typeof window>"u")return;let D=window.matchMedia("(prefers-color-scheme: dark)");try{D.addEventListener("change",({matches:X})=>{W(X?"dark":"light")})}catch{D.addListener(({matches:Z})=>{try{W(Z?"dark":"light")}catch(ye){console.error(ye)}})}},[h]),A.useEffect(()=>{N.length<=1&&_(!1)},[N]),A.useEffect(()=>{let D=X=>{var Z,ye;o.every(Re=>X[Re]||X.code===Re)&&(_(!0),(Z=G.current)==null||Z.focus()),X.code==="Escape"&&(document.activeElement===G.current||(ye=G.current)!=null&&ye.contains(document.activeElement))&&_(!1)};return document.addEventListener("keydown",D),()=>document.removeEventListener("keydown",D)},[o]),A.useEffect(()=>{if(G.current)return()=>{P.current&&(P.current.focus({preventScroll:!0}),P.current=null,M.current=!1)}},[G.current]),A.createElement("section",{ref:t,"aria-label":`${j} ${E}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},T.map((D,X)=>{var Z;let[ye,Re]=D.split("-");return N.length?A.createElement("ol",{key:D,dir:w==="auto"?rf():w,tabIndex:-1,ref:G,className:l,"data-sonner-toaster":!0,"data-theme":ee,"data-y-position":ye,"data-lifted":B&&N.length>1&&!i,"data-x-position":Re,style:{"--front-toast-height":`${((Z=O[0])==null?void 0:Z.height)||0}px`,"--width":`${Sw}px`,"--gap":`${g}px`,...d,...Aw(c,u)},onBlur:re=>{M.current&&!re.currentTarget.contains(re.relatedTarget)&&(M.current=!1,P.current&&(P.current.focus({preventScroll:!0}),P.current=null))},onFocus:re=>{re.target instanceof HTMLElement&&re.target.dataset.dismissible==="false"||M.current||(M.current=!0,P.current=re.relatedTarget)},onMouseEnter:()=>_(!0),onMouseMove:()=>_(!0),onMouseLeave:()=>{q||_(!1)},onDragEnd:()=>_(!1),onPointerDown:re=>{re.target instanceof HTMLElement&&re.target.dataset.dismissible==="false"||L(!0)},onPointerUp:()=>L(!1)},N.filter(re=>!re.position&&X===0||re.position===D).map((re,yr)=>{var rn,Qn;return A.createElement(Rw,{key:re.id,icons:v,index:yr,toast:re,defaultRichColors:p,duration:(rn=y==null?void 0:y.duration)!=null?rn:f,className:y==null?void 0:y.className,descriptionClassName:y==null?void 0:y.descriptionClassName,invert:n,visibleToasts:b,closeButton:(Qn=y==null?void 0:y.closeButton)!=null?Qn:s,interacting:q,position:D,style:y==null?void 0:y.style,unstyled:y==null?void 0:y.unstyled,classNames:y==null?void 0:y.classNames,cancelButtonStyle:y==null?void 0:y.cancelButtonStyle,actionButtonStyle:y==null?void 0:y.actionButtonStyle,removeToast:Q,toasts:N.filter(on=>on.position==re.position),heights:O.filter(on=>on.position==re.position),setHeights:I,expandByDefault:i,gap:g,loadingIcon:m,expanded:B,pauseWhenPageIsHidden:k,swipeDirections:e.swipeDirections})})):null}))});const Ow=({...e})=>{const{theme:t="system"}=iw();return a.jsx(Iw,{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})},Lw=["top","right","bottom","left"],zn=Math.min,Xe=Math.max,zs=Math.round,Yi=Math.floor,$n=e=>({x:e,y:e}),Mw={left:"right",right:"left",bottom:"top",top:"bottom"},Fw={start:"end",end:"start"};function rc(e,t,n){return Xe(e,zn(t,n))}function en(e,t){return typeof e=="function"?e(t):e}function tn(e){return e.split("-")[0]}function mo(e){return e.split("-")[1]}function mu(e){return e==="x"?"y":"x"}function gu(e){return e==="y"?"height":"width"}function Bn(e){return["top","bottom"].includes(tn(e))?"y":"x"}function vu(e){return mu(Bn(e))}
vendor: 11,075 bytes, line 121
121function _w(e,t,n){n===void 0&&(n=!1);const r=mo(e),o=vu(e),i=gu(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=$s(s)),[s,$s(s)]}function Dw(e){const t=$s(e);return[oc(e),t,oc(t)]}function oc(e){return e.replace(/start|end/g,t=>Fw[t])}function zw(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}function $w(e,t,n,r){const o=mo(e);let i=zw(tn(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(oc)))),i}function $s(e){return e.replace(/left|right|bottom|top/g,t=>Mw[t])}function Bw(e){return{top:0,right:0,bottom:0,left:0,...e}}function zm(e){return typeof e!="number"?Bw(e):{top:e,right:e,bottom:e,left:e}}function Bs(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function of(e,t,n){let{reference:r,floating:o}=e;const i=Bn(t),s=vu(t),l=gu(s),c=tn(t),u=i==="y",h=r.x+r.width/2-o.width/2,p=r.y+r.height/2-o.height/2,f=r[l]/2-o[l]/2;let d;switch(c){case"top":d={x:h,y:r.y-o.height};break;case"bottom":d={x:h,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:p};break;case"left":d={x:r.x-o.width,y:p};break;default:d={x:r.x,y:r.y}}switch(mo(t)){case"start":d[s]-=f*(n&&u?-1:1);break;case"end":d[s]+=f*(n&&u?-1:1);break}return d}const Vw=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y:p}=of(u,r,c),f=r,d={},b=0;for(let y=0;y<l.length;y++){const{name:w,fn:g}=l[y],{x:m,y:v,data:j,reset:k}=await g({x:h,y:p,initialPlacement:r,placement:f,strategy:o,middlewareData:d,rects:u,platform:s,elements:{reference:e,floating:t}});h=m??h,p=v??p,d={...d,[w]:{...d[w],...j}},k&&b<=50&&(b++,typeof k=="object"&&(k.placement&&(f=k.placement),k.rects&&(u=k.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):k.rects),{x:h,y:p}=of(u,f,c)),y=-1)}return{x:h,y:p,placement:f,strategy:o,middlewareData:d}};async function ai(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:f=!1,padding:d=0}=en(t,e),b=zm(d),w=l[f?p==="floating"?"reference":"floating":p],g=Bs(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(w)))==null||n?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:h,strategy:c})),m=p==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),j=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1},k=Bs(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:m,offsetParent:v,strategy:c}):m);return{top:(g.top-k.top+b.top)/j.y,bottom:(k.bottom-g.bottom+b.bottom)/j.y,left:(g.left-k.left+b.left)/j.x,right:(k.right-g.right+b.right)/j.x}}const Uw=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:l,middlewareData:c}=t,{element:u,padding:h=0}=en(e,t)||{};if(u==null)return{};const p=zm(h),f={x:n,y:r},d=vu(o),b=gu(d),y=await s.getDimensions(u),w=d==="y",g=w?"top":"left",m=w?"bottom":"right",v=w?"clientHeight":"clientWidth",j=i.reference[b]+i.reference[d]-f[d]-i.floating[b],k=f[d]-i.reference[d],N=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let S=N?N[v]:0;(!S||!await(s.isElement==null?void 0:s.isElement(N)))&&(S=l.floating[v]||i.floating[b]);const T=j/2-k/2,O=S/2-y[b]/2-1,I=zn(p[g],O),B=zn(p[m],O),_=I,q=S-y[b]-B,L=S/2-y[b]/2+T,ee=rc(_,L,q),W=!c.arrow&&mo(o)!=null&&L!==ee&&i.reference[b]/2-(L<_?I:B)-y[b]/2<0,G=W?L<_?L-_:L-q:0;return{[d]:f[d]+G,data:{[d]:ee,centerOffset:L-ee-G,...W&&{alignmentOffset:G}},reset:W}}}),Ww=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:l,platform:c,elements:u}=t,{mainAxis:h=!0,crossAxis:p=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:y=!0,...w}=en(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=tn(o),m=Bn(l),v=tn(l)===l,j=await(c.isRTL==null?void 0:c.isRTL(u.floating)),k=f||(v||!y?[$s(l)]:Dw(l)),N=b!=="none";!f&&N&&k.push(...$w(l,y,b,j));const S=[l,...k],T=await ai(t,w),O=[];let I=((r=i.flip)==null?void 0:r.overflows)||[];if(h&&O.push(T[g]),p){const L=_w(o,s,j);O.push(T[L[0]],T[L[1]])}if(I=[...I,{placement:o,overflows:O}],!O.every(L=>L<=0)){var B,_;const L=(((B=i.flip)==null?void 0:B.index)||0)+1,ee=S[L];if(ee)return{data:{index:L,overflows:I},reset:{placement:ee}};let W=(_=I.filter(G=>G.overflows[0]<=0).sort((G,E)=>G.overflows[1]-E.overflows[1])[0])==null?void 0:_.placement;if(!W)switch(d){case"bestFit":{var q;const G=(q=I.filter(E=>{if(N){const P=Bn(E.placement);return P===m||P==="y"}return!0}).map(E=>[E.placement,E.overflows.filter(P=>P>0).reduce((P,M)=>P+M,0)]).sort((E,P)=>E[1]-P[1])[0])==null?void 0:q[0];G&&(W=G);break}case"initialPlacement":W=l;break}if(o!==W)return{reset:{placement:W}}}return{}}}};function sf(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function af(e){return Lw.some(t=>e[t]>=0)}const Hw=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=en(e,t);switch(r){case"referenceHidden":{const i=await ai(t,{...o,elementContext:"reference"}),s=sf(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:af(s)}}}case"escaped":{const i=await ai(t,{...o,altBoundary:!0}),s=sf(i,n.floating);return{data:{escapedOffsets:s,escaped:af(s)}}}default:return{}}}}};async function Kw(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=tn(n),l=mo(n),c=Bn(n)==="y",u=["left","top"].includes(s)?-1:1,h=i&&c?-1:1,p=en(t,e);let{mainAxis:f,crossAxis:d,alignmentAxis:b}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof b=="number"&&(d=l==="end"?b*-1:b),c?{x:d*h,y:f*u}:{x:f*u,y:d*h}}const Qw=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:l}=t,c=await Kw(t,e);return s===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:s}}}}},Gw=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:w=>{let{x:g,y:m}=w;return{x:g,y:m}}},...c}=en(e,t),u={x:n,y:r},h=await ai(t,c),p=Bn(tn(o)),f=mu(p);let d=u[f],b=u[p];if(i){const w=f==="y"?"top":"left",g=f==="y"?"bottom":"right",m=d+h[w],v=d-h[g];d=rc(m,d,v)}if(s){const w=p==="y"?"top":"left",g=p==="y"?"bottom":"right",m=b+h[w],v=b-h[g];b=rc(m,b,v)}const y=l.fn({...t,[f]:d,[p]:b});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[f]:i,[p]:s}}}}}},Yw=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:l=0,mainAxis:c=!0,crossAxis:u=!0}=en(e,t),h={x:n,y:r},p=Bn(o),f=mu(p);let d=h[f],b=h[p];const y=en(l,t),w=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(c){const v=f==="y"?"height":"width",j=i.reference[f]-i.floating[v]+w.mainAxis,k=i.reference[f]+i.reference[v]-w.mainAxis;d<j?d=j:d>k&&(d=k)}if(u){var g,m;const v=f==="y"?"width":"height",j=["top","left"].includes(tn(o)),k=i.reference[p]-i.floating[v]+(j&&((g=s.offset)==null?void 0:g[p])||0)+(j?0:w.crossAxis),N=i.reference[p]+i.reference[v]+(j?0:((m=s.offset)==null?void 0:m[p])||0)-(j?w.crossAxis:0);b<k?b=k:b>N&&(b=N)}return{[f]:d,[p]:b}}}},qw=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:l}=t,{apply:c=()=>{},...u}=en(e,t),h=await ai(t,u),p=tn(o),f=mo(o),d=Bn(o)==="y",{width:b,height:y}=i.floating;let w,g;p==="top"||p==="bottom"?(w=p,g=f===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(g=p,w=f==="end"?"top":"bottom");const m=y-h.top-h.bottom,v=b-h.left-h.right,j=zn(y-h[w],m),k=zn(b-h[g],v),N=!t.middlewareData.shift;let S=j,T=k;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(T=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(S=m),N&&!f){const I=Xe(h.left,0),B=Xe(h.right,0),_=Xe(h.top,0),q=Xe(h.bottom,0);d?T=b-2*(I!==0||B!==0?I+B:Xe(h.left,h.right)):S=y-2*(_!==0||q!==0?_+q:Xe(h.top,h.bottom))}await c({...t,availableWidth:T,availableHeight:S});const O=await s.getDimensions(l.floating);return b!==O.width||y!==O.height?{reset:{rects:!0}}:{}}}};function da(){return typeof window<"u"}function go(e){return $m(e)?(e.nodeName||"").toLowerCase():"#document"}function et(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Bt(e){var t;return(t=($m(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function $m(e){return da()?e instanceof Node||e instanceof et(e).Node:!1}function Pt(e){return da()?e instanceof Element||e instanceof et(e).Element:!1}function $t(e){return da()?e instanceof HTMLElement||e instanceof et(e).HTMLElement:!1}function lf(e){return!da()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof et(e).ShadowRoot}function ji(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Tt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Xw(e){return["table","td","th"].includes(go(e))}function fa(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function yu(e){const t=xu(),n=Pt(e)?Tt(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Jw(e){let t=Vn(e);for(;$t(t)&&!ao(t);){if(yu(t))return t;if(fa(t))return null;t=Vn(t)}return null}function xu(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ao(e){return["html","body","#document"].includes(go(e))}function Tt(e){return et(e).getComputedStyle(e)}function ha(e){return Pt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Vn(e){if(go(e)==="html")return e;const t=e.assignedSlot||e.parentNode||lf(e)&&e.host||Bt(e);return lf(t)?t.host:t}function Bm(e){const t=Vn(e);return ao(t)?e.ownerDocument?e.ownerDocument.body:e.body:$t(t)&&ji(t)?t:Bm(t)}
vendor: 7,278 bytes, line 121
121function li(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Bm(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=et(o);if(i){const l=ic(s);return t.concat(s,s.visualViewport||[],ji(o)?o:[],l&&n?li(l):[])}return t.concat(o,li(o,[],n))}function ic(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Vm(e){const t=Tt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=$t(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,l=zs(n)!==i||zs(r)!==s;return l&&(n=i,r=s),{width:n,height:r,$:l}}function wu(e){return Pt(e)?e:e.contextElement}function Hr(e){const t=wu(e);if(!$t(t))return $n(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Vm(t);let s=(i?zs(n.width):n.width)/r,l=(i?zs(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Zw=$n(0);function Um(e){const t=et(e);return!xu()||!t.visualViewport?Zw:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function e1(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==et(e)?!1:t}function pr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=wu(e);let s=$n(1);t&&(r?Pt(r)&&(s=Hr(r)):s=Hr(e));const l=e1(i,n,r)?Um(i):$n(0);let c=(o.left+l.x)/s.x,u=(o.top+l.y)/s.y,h=o.width/s.x,p=o.height/s.y;if(i){const f=et(i),d=r&&Pt(r)?et(r):r;let b=f,y=ic(b);for(;y&&r&&d!==b;){const w=Hr(y),g=y.getBoundingClientRect(),m=Tt(y),v=g.left+(y.clientLeft+parseFloat(m.paddingLeft))*w.x,j=g.top+(y.clientTop+parseFloat(m.paddingTop))*w.y;c*=w.x,u*=w.y,h*=w.x,p*=w.y,c+=v,u+=j,b=et(y),y=ic(b)}}return Bs({width:h,height:p,x:c,y:u})}function t1(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=Bt(r),l=t?fa(t.floating):!1;if(r===s||l&&i)return n;let c={scrollLeft:0,scrollTop:0},u=$n(1);const h=$n(0),p=$t(r);if((p||!p&&!i)&&((go(r)!=="body"||ji(s))&&(c=ha(r)),$t(r))){const f=pr(r);u=Hr(r),h.x=f.x+r.clientLeft,h.y=f.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+h.x,y:n.y*u.y-c.scrollTop*u.y+h.y}}function n1(e){return Array.from(e.getClientRects())}function sc(e,t){const n=ha(e).scrollLeft;return t?t.left+n:pr(Bt(e)).left+n}function r1(e){const t=Bt(e),n=ha(e),r=e.ownerDocument.body,o=Xe(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Xe(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+sc(e);const l=-n.scrollTop;return Tt(r).direction==="rtl"&&(s+=Xe(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:l}}function o1(e,t){const n=et(e),r=Bt(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,l=0,c=0;if(o){i=o.width,s=o.height;const u=xu();(!u||u&&t==="fixed")&&(l=o.offsetLeft,c=o.offsetTop)}return{width:i,height:s,x:l,y:c}}function i1(e,t){const n=pr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=$t(e)?Hr(e):$n(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,c=o*i.x,u=r*i.y;return{width:s,height:l,x:c,y:u}}function cf(e,t,n){let r;if(t==="viewport")r=o1(e,n);else if(t==="document")r=r1(Bt(e));else if(Pt(t))r=i1(t,n);else{const o=Um(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Bs(r)}function Wm(e,t){const n=Vn(e);return n===t||!Pt(n)||ao(n)?!1:Tt(n).position==="fixed"||Wm(n,t)}function s1(e,t){const n=t.get(e);if(n)return n;let r=li(e,[],!1).filter(l=>Pt(l)&&go(l)!=="body"),o=null;const i=Tt(e).position==="fixed";let s=i?Vn(e):e;for(;Pt(s)&&!ao(s);){const l=Tt(s),c=yu(s);!c&&l.position==="fixed"&&(o=null),(i?!c&&!o:!c&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||ji(s)&&!c&&Wm(e,s))?r=r.filter(h=>h!==s):o=l,s=Vn(s)}return t.set(e,r),r}function a1(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?fa(t)?[]:s1(t,this._c):[].concat(n),r],l=s[0],c=s.reduce((u,h)=>{const p=cf(t,h,o);return u.top=Xe(p.top,u.top),u.right=zn(p.right,u.right),u.bottom=zn(p.bottom,u.bottom),u.left=Xe(p.left,u.left),u},cf(t,l,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function l1(e){const{width:t,height:n}=Vm(e);return{width:t,height:n}}function c1(e,t,n){const r=$t(t),o=Bt(t),i=n==="fixed",s=pr(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const c=$n(0);if(r||!r&&!i)if((go(t)!=="body"||ji(o))&&(l=ha(t)),r){const d=pr(t,!0,i,t);c.x=d.x+t.clientLeft,c.y=d.y+t.clientTop}else o&&(c.x=sc(o));let u=0,h=0;if(o&&!r&&!i){const d=o.getBoundingClientRect();h=d.top+l.scrollTop,u=d.left+l.scrollLeft-sc(o,d)}const p=s.left+l.scrollLeft-c.x-u,f=s.top+l.scrollTop-c.y-h;return{x:p,y:f,width:s.width,height:s.height}}function tl(e){return Tt(e).position==="static"}function uf(e,t){if(!$t(e)||Tt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Bt(e)===n&&(n=n.ownerDocument.body),n}function Hm(e,t){const n=et(e);if(fa(e))return n;if(!$t(e)){let o=Vn(e);for(;o&&!ao(o);){if(Pt(o)&&!tl(o))return o;o=Vn(o)}return n}let r=uf(e,t);for(;r&&Xw(r)&&tl(r);)r=uf(r,t);return r&&ao(r)&&tl(r)&&!yu(r)?n:r||Jw(e)||n}const u1=async function(e){const t=this.getOffsetParent||Hm,n=this.getDimensions,r=await n(e.floating);return{reference:c1(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function d1(e){return Tt(e).direction==="rtl"}const f1={convertOffsetParentRelativeRectToViewportRelativeRect:t1,getDocumentElement:Bt,getClippingRect:a1,getOffsetParent:Hm,getElementRects:u1,getClientRects:n1,getDimensions:l1,getScale:Hr,isElement:Pt,isRTL:d1};function h1(e,t){let n=null,r;const o=Bt(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function s(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),i();const{left:u,top:h,width:p,height:f}=e.getBoundingClientRect();if(l||t(),!p||!f)return;const d=Yi(h),b=Yi(o.clientWidth-(u+p)),y=Yi(o.clientHeight-(h+f)),w=Yi(u),m={rootMargin:-d+"px "+-b+"px "+-y+"px "+-w+"px",threshold:Xe(0,zn(1,c))||1};let v=!0;function j(k){const N=k[0].intersectionRatio;if(N!==c){if(!v)return s();N?s(!1,N):r=setTimeout(()=>{s(!1,1e-7)},1e3)}v=!1}try{n=new IntersectionObserver(j,{...m,root:o.ownerDocument})}catch{n=new IntersectionObserver(j,m)}n.observe(e)}return s(!0),i}function p1(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=wu(e),h=o||i?[...u?li(u):[],...li(t)]:[];h.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),i&&g.addEventListener("resize",n)});const p=u&&l?h1(u,n):null;let f=-1,d=null;s&&(d=new ResizeObserver(g=>{let[m]=g;m&&m.target===u&&d&&(d.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var v;(v=d)==null||v.observe(t)})),n()}),u&&!c&&d.observe(u),d.observe(t));let b,y=c?pr(e):null;c&&w();function w(){const g=pr(e);y&&(g.x!==y.x||g.y!==y.y||g.width!==y.width||g.height!==y.height)&&n(),y=g,b=requestAnimationFrame(w)}return n(),()=>{var g;h.forEach(m=>{o&&m.removeEventListener("scroll",n),i&&m.removeEventListener("resize",n)}),p==null||p(),(g=d)==null||g.disconnect(),d=null,c&&cancelAnimationFrame(b)}}const m1=Qw,g1=Gw,v1=Ww,y1=qw,x1=Hw,df=Uw,w1=Yw,b1=(e,t,n)=>{const r=new Map,o={platform:f1,...n},i={...o.platform,_c:r};return Vw(e,t,{...o,platform:i})};var ds=typeof document<"u"?x.useLayoutEffect:x.useEffect;function Vs(e,t){if(e===t)return!0;
vendor: 3,236 bytes, line 121
121if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Vs(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Vs(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Km(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ff(e,t){const n=Km(e);return Math.round(t*n)/n}function nl(e){const t=x.useRef(e);return ds(()=>{t.current=e}),t}function j1(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[h,p]=x.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,d]=x.useState(r);Vs(f,r)||d(r);const[b,y]=x.useState(null),[w,g]=x.useState(null),m=x.useCallback(E=>{E!==N.current&&(N.current=E,y(E))},[]),v=x.useCallback(E=>{E!==S.current&&(S.current=E,g(E))},[]),j=i||b,k=s||w,N=x.useRef(null),S=x.useRef(null),T=x.useRef(h),O=c!=null,I=nl(c),B=nl(o),_=nl(u),q=x.useCallback(()=>{if(!N.current||!S.current)return;const E={placement:t,strategy:n,middleware:f};B.current&&(E.platform=B.current),b1(N.current,S.current,E).then(P=>{const M={...P,isPositioned:_.current!==!1};L.current&&!Vs(T.current,M)&&(T.current=M,wi.flushSync(()=>{p(M)}))})},[f,t,n,B,_]);ds(()=>{u===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,p(E=>({...E,isPositioned:!1})))},[u]);const L=x.useRef(!1);ds(()=>(L.current=!0,()=>{L.current=!1}),[]),ds(()=>{if(j&&(N.current=j),k&&(S.current=k),j&&k){if(I.current)return I.current(j,k,q);q()}},[j,k,q,I,O]);const ee=x.useMemo(()=>({reference:N,floating:S,setReference:m,setFloating:v}),[m,v]),W=x.useMemo(()=>({reference:j,floating:k}),[j,k]),G=x.useMemo(()=>{const E={position:n,left:0,top:0};if(!W.floating)return E;const P=ff(W.floating,h.x),M=ff(W.floating,h.y);return l?{...E,transform:"translate("+P+"px, "+M+"px)",...Km(W.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:P,top:M}},[n,l,W.floating,h.x,h.y]);return x.useMemo(()=>({...h,update:q,refs:ee,elements:W,floatingStyles:G}),[h,q,ee,W,G])}const k1=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?df({element:r.current,padding:o}).fn(n):{}:r?df({element:r,padding:o}).fn(n):{}}}},N1=(e,t)=>({...m1(e),options:[e,t]}),S1=(e,t)=>({...g1(e),options:[e,t]}),C1=(e,t)=>({...w1(e),options:[e,t]}),E1=(e,t)=>({...v1(e),options:[e,t]}),P1=(e,t)=>({...y1(e),options:[e,t]}),T1=(e,t)=>({...x1(e),options:[e,t]}),R1=(e,t)=>({...k1(e),options:[e,t]});var A1="Arrow",Qm=x.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return a.jsx(Ye.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:a.jsx("polygon",{points:"0,0 30,0 15,10"})})});Qm.displayName=A1;var I1=Qm;function O1(e){const[t,n]=x.useState(void 0);return Dn(()=>
vendor: 5,130 bytes, line 121
121{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,l;if("borderBoxSize"in i){const c=i.borderBoxSize,u=Array.isArray(c)?c[0]:c;s=u.inlineSize,l=u.blockSize}else s=e.offsetWidth,l=e.offsetHeight;n({width:s,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Gm="Popper",[Ym,qm]=la(Gm),[Xj,Xm]=Ym(Gm),Jm="PopperAnchor",Zm=x.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Xm(Jm,n),s=x.useRef(null),l=Et(t,s);return x.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:a.jsx(Ye.div,{...o,ref:l})});Zm.displayName=Jm;var bu="PopperContent",[L1,M1]=Ym(bu),eg=x.forwardRef((e,t)=>{var re,yr,rn,Qn,on,xr;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:h=0,sticky:p="partial",hideWhenDetached:f=!1,updatePositionStrategy:d="optimized",onPlaced:b,...y}=e,w=Xm(bu,n),[g,m]=x.useState(null),v=Et(t,sn=>m(sn)),[j,k]=x.useState(null),N=O1(j),S=(N==null?void 0:N.width)??0,T=(N==null?void 0:N.height)??0,O=r+(i!=="center"?"-"+i:""),I=typeof h=="number"?h:{top:0,right:0,bottom:0,left:0,...h},B=Array.isArray(u)?u:[u],_=B.length>0,q={padding:I,boundary:B.filter(_1),altBoundary:_},{refs:L,floatingStyles:ee,placement:W,isPositioned:G,middlewareData:E}=j1({strategy:"fixed",placement:O,whileElementsMounted:(...sn)=>p1(...sn,{animationFrame:d==="always"}),elements:{reference:w.anchor},middleware:[N1({mainAxis:o+T,alignmentAxis:s}),c&&S1({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?C1():void 0,...q}),c&&E1({...q}),P1({...q,apply:({elements:sn,rects:Si,availableWidth:wa,availableHeight:Ci})=>{const{width:ba,height:yo}=Si.reference,wr=sn.floating.style;wr.setProperty("--radix-popper-available-width",`${wa}px`),wr.setProperty("--radix-popper-available-height",`${Ci}px`),wr.setProperty("--radix-popper-anchor-width",`${ba}px`),wr.setProperty("--radix-popper-anchor-height",`${yo}px`)}}),j&&R1({element:j,padding:l}),D1({arrowWidth:S,arrowHeight:T}),f&&T1({strategy:"referenceHidden",...q})]}),[P,M]=rg(W),Q=_n(b);Dn(()=>{G&&(Q==null||Q())},[G,Q]);const D=(re=E.arrow)==null?void 0:re.x,X=(yr=E.arrow)==null?void 0:yr.y,Z=((rn=E.arrow)==null?void 0:rn.centerOffset)!==0,[ye,Re]=x.useState();return Dn(()=>{g&&Re(window.getComputedStyle(g).zIndex)},[g]),a.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...ee,transform:G?ee.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ye,"--radix-popper-transform-origin":[(Qn=E.transformOrigin)==null?void 0:Qn.x,(on=E.transformOrigin)==null?void 0:on.y].join(" "),...((xr=E.hide)==null?void 0:xr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:a.jsx(L1,{scope:n,placedSide:P,onArrowChange:k,arrowX:D,arrowY:X,shouldHideArrow:Z,children:a.jsx(Ye.div,{"data-side":P,"data-align":M,...y,ref:v,style:{...y.style,animation:G?void 0:"none"}})})})});eg.displayName=bu;var tg="PopperArrow",F1={top:"bottom",right:"left",bottom:"top",left:"right"},ng=x.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=M1(tg,r),s=F1[i.placedSide];return a.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:a.jsx(I1,{...o,ref:n,style:{...o.style,display:"block"}})})});ng.displayName=tg;function _1(e){return e!==null}var D1=e=>({name:"transformOrigin",options:e,fn(t){var w,g,m;const{placement:n,rects:r,middlewareData:o}=t,s=((w=o.arrow)==null?void 0:w.centerOffset)!==0,l=s?0:e.arrowWidth,c=s?0:e.arrowHeight,[u,h]=rg(n),p={start:"0%",center:"50%",end:"100%"}[h],f=(((g=o.arrow)==null?void 0:g.x)??0)+l/2,d=(((m=o.arrow)==null?void 0:m.y)??0)+c/2;let b="",y="";return u==="bottom"?(b=s?p:`${f}px`,y=`${-c}px`):u==="top"?(b=s?p:`${f}px`,y=`${r.floating.height+c}px`):u==="right"?(b=`${-c}px`,y=s?p:`${d}px`):u==="left"&&(b=`${r.floating.width+c}px`,y=s?p:`${d}px`),{data:{x:b,y}}}});function rg(e){const[t,n="center"]=e.split("-");return[t,n]}var z1=Zm,$1=eg,B1=ng,[pa,Jj]=la("Tooltip",[qm]),ju=qm(),og="TooltipProvider",V1=700,hf="tooltip.open",[U1,ig]=pa(og),sg=e=>{const{__scopeTooltip:t,delayDuration:n=V1,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,s=x.useRef(!0),l=x.useRef(!1),c=x.useRef(0);return x.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),a.jsx(U1,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:x.useCallback(()=>{window.clearTimeout(c.current),s.current=!1},[]),onClose:x.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:x.useCallback(u=>{l.current=u},[]),disableHoverableContent:o,children:i})};sg.displayName=og;
vendor: 4,559 bytes, line 121
121var ag="Tooltip",[Zj,ma]=pa(ag),ac="TooltipTrigger",W1=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=ma(ac,n),i=ig(ac,n),s=ju(n),l=x.useRef(null),c=Et(t,l,o.onTriggerChange),u=x.useRef(!1),h=x.useRef(!1),p=x.useCallback(()=>u.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),a.jsx(z1,{asChild:!0,...s,children:a.jsx(Ye.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:c,onPointerMove:je(e.onPointerMove,f=>{f.pointerType!=="touch"&&!h.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),h.current=!0)}),onPointerLeave:je(e.onPointerLeave,()=>{o.onTriggerLeave(),h.current=!1}),onPointerDown:je(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:je(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:je(e.onBlur,o.onClose),onClick:je(e.onClick,o.onClose)})})});W1.displayName=ac;var H1="TooltipPortal",[ek,K1]=pa(H1,{forceMount:void 0}),lo="TooltipContent",lg=x.forwardRef((e,t)=>{const n=K1(lo,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=ma(lo,e.__scopeTooltip);return a.jsx(lu,{present:r||s.open,children:s.disableHoverableContent?a.jsx(cg,{side:o,...i,ref:t}):a.jsx(Q1,{side:o,...i,ref:t})})}),Q1=x.forwardRef((e,t)=>{const n=ma(lo,e.__scopeTooltip),r=ig(lo,e.__scopeTooltip),o=x.useRef(null),i=Et(t,o),[s,l]=x.useState(null),{trigger:c,onClose:u}=n,h=o.current,{onPointerInTransitChange:p}=r,f=x.useCallback(()=>{l(null),p(!1)},[p]),d=x.useCallback((b,y)=>{const w=b.currentTarget,g={x:b.clientX,y:b.clientY},m=J1(g,w.getBoundingClientRect()),v=Z1(g,m),j=eb(y.getBoundingClientRect()),k=nb([...v,...j]);l(k),p(!0)},[p]);return x.useEffect(()=>()=>f(),[f]),x.useEffect(()=>{if(c&&h){const b=w=>d(w,h),y=w=>d(w,c);return c.addEventListener("pointerleave",b),h.addEventListener("pointerleave",y),()=>{c.removeEventListener("pointerleave",b),h.removeEventListener("pointerleave",y)}}},[c,h,d,f]),x.useEffect(()=>{if(s){const b=y=>{const w=y.target,g={x:y.clientX,y:y.clientY},m=(c==null?void 0:c.contains(w))||(h==null?void 0:h.contains(w)),v=!tb(g,s);m?f():v&&(f(),u())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[c,h,s,u,f]),a.jsx(cg,{...e,ref:i})}),[G1,Y1]=pa(ag,{isInside:!1}),q1=jx("TooltipContent"),cg=x.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:s,...l}=e,c=ma(lo,n),u=ju(n),{onClose:h}=c;return x.useEffect(()=>(document.addEventListener(hf,h),()=>document.removeEventListener(hf,h)),[h]),x.useEffect(()=>{if(c.trigger){const p=f=>{const d=f.target;d!=null&&d.contains(c.trigger)&&h()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[c.trigger,h]),a.jsx(au,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:p=>p.preventDefault(),onDismiss:h,children:a.jsxs($1,{"data-state":c.stateAttribute,...u,...l,ref:t,style:{...l.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:[a.jsx(q1,{children:r}),a.jsx(G1,{scope:n,isInside:!0,children:a.jsx(Qx,{id:c.contentId,role:"tooltip",children:o||r})})]})})});lg.displayName=lo;var ug="TooltipArrow",X1=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=ju(n);return Y1(ug,n).isInside?null:a.jsx(B1,{...o,...r,ref:t})});X1.displayName=ug;function J1(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Z1(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function eb(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function tb(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const l=t[i],c=t[s],u=l.x,h=l.y,p=c.x,f=c.y;h>r!=f>
121r&&n<(p-u)*(r-h)/(f-h)+u&&(o=!o)}return o}function nb(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),rb(t)}function rb(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var ob=sg,dg=lg;const ib=ob,sb=x.forwardRef(({className:e,sideOffset:t=4,...n},r)=>a.jsx(dg,{ref:r,sideOffset:t,className:Te("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]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));sb.displayName=dg.displayName;var ga=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(){}},va=typeof window>"u"||"Deno"in globalThis;function xt(){}function ab(e,t){return typeof e=="function"?e(t):e}function lb(e){return typeof e=="number"&&e>=0&&e!==1/0}function cb(e,t){return Math.max(e+(t||0)-Date.now(),0)}function lc(e,t){return typeof e=="function"?e(t):e}function ub(e,t){return typeof e=="function"?e(t):e}function pf(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:l}=e;if(s){if(r){if(t.queryHash!==ku(s,t.options))return!1}else if(!ui(t.queryKey,s))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||o&&o!==t.state.fetchStatus||i&&!i(t))}function mf(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(ci(t.options.mutationKey)!==ci(i))return!1}else if(!ui(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function ku(e,t){return((t==null?void 0:t.queryKeyHashFn)||ci)(e)}function ci(e){return JSON.stringify(e,(t,n)=>cc(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function ui(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>ui(e[n],t[n])):!1}function fg(e,t){if(e===t)return e;const n=gf(e)&&gf(t);if(n||cc(e)&&cc(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),s=i.length,l=n?[]:{},c=new Set(r);let u=0;for(let h=0;h<s;h++){const p=n?h:i[h];(!n&&c.has(p)||n)&&e[p]===void 0&&t[p]===void 0?(l[p]=void 0,u++):(l[p]=fg(e[p],t[p]),l[p]===e[p]&&e[p]!==void 0&&u++)}return o===s&&u===o?e:l}return t}function gf(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function cc(e){if(!vf(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!vf(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function vf(e){return Object.prototype.toString.call(e)==="[object Object]"}function db(e){return new Promise(t=>{setTimeout(t,e)})}function fb(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?fg(e,t):t}function hb(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function pb(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Nu=Symbol();function hg(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Nu?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var tr,yn,Kr,Pf,mb=(Pf=class extends ga{constructor(){super();ne(this,tr);ne(this,yn);ne(this,Kr);K(this,Kr,t=>{if(!va&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){C(this,yn)||this.setEventListener(C(this,Kr))}onUnsubscribe(){var t;this.hasListeners()||((t=C(this,yn))==null||t.call(this),K(this,yn,void 0))}setEventListener(t){var n;K(this,Kr,t),(n=C(this,yn))==null||n.call(this),K(this,yn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){C(this,tr)!==t&&(K(this,tr,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 4,584 bytes, line 121
121this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof C(this,tr)=="boolean"?C(this,tr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},tr=new WeakMap,yn=new WeakMap,Kr=new WeakMap,Pf),pg=new mb,Qr,xn,Gr,Tf,gb=(Tf=class extends ga{constructor(){super();ne(this,Qr,!0);ne(this,xn);ne(this,Gr);K(this,Gr,t=>{if(!va&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){C(this,xn)||this.setEventListener(C(this,Gr))}onUnsubscribe(){var t;this.hasListeners()||((t=C(this,xn))==null||t.call(this),K(this,xn,void 0))}setEventListener(t){var n;K(this,Gr,t),(n=C(this,xn))==null||n.call(this),K(this,xn,t(this.setOnline.bind(this)))}setOnline(t){C(this,Qr)!==t&&(K(this,Qr,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return C(this,Qr)}},Qr=new WeakMap,xn=new WeakMap,Gr=new WeakMap,Tf),Us=new gb;function vb(){let e,t;const n=new Promise((o,i)=>{e=o,t=i});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function yb(e){return Math.min(1e3*2**e,3e4)}function mg(e){return(e??"online")==="online"?Us.isOnline():!0}var gg=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function rl(e){return e instanceof gg}function vg(e){let t=!1,n=0,r=!1,o;const i=vb(),s=y=>{var w;r||(f(new gg(y)),(w=e.abort)==null||w.call(e))},l=()=>{t=!0},c=()=>{t=!1},u=()=>pg.isFocused()&&(e.networkMode==="always"||Us.isOnline())&&e.canRun(),h=()=>mg(e.networkMode)&&e.canRun(),p=y=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,y),o==null||o(),i.resolve(y))},f=y=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,y),o==null||o(),i.reject(y))},d=()=>new Promise(y=>{var w;o=g=>{(r||u())&&y(g)},(w=e.onPause)==null||w.call(e)}).then(()=>{var y;o=void 0,r||(y=e.onContinue)==null||y.call(e)}),b=()=>{if(r)return;let y;const w=n===0?e.initialPromise:void 0;try{y=w??e.fn()}catch(g){y=Promise.reject(g)}Promise.resolve(y).then(p).catch(g=>{var N;if(r)return;const m=e.retry??(va?0:3),v=e.retryDelay??yb,j=typeof v=="function"?v(n,g):v,k=m===!0||typeof m=="number"&&n<m||typeof m=="function"&&m(n,g);if(t||!k){f(g);return}n++,(N=e.onFail)==null||N.call(e,n,g),db(j).then(()=>u()?void 0:d()).then(()=>{t?f(g):b()})})};return{promise:i,cancel:s,continue:()=>(o==null||o(),i),cancelRetry:l,continueRetry:c,canStart:h,start:()=>(h()?b():d().then(b),i)}}var xb=e=>setTimeout(e,0);function wb(){let e=[],t=0,n=l=>{l()},r=l=>{l()},o=xb;const i=l=>{t?e.push(l):o(()=>{n(l)})},s=()=>{const l=e;e=[],l.length&&o(()=>{r(()=>{l.forEach(c=>{n(c)})})})};return{batch:l=>{let c;t++;try{c=l()}finally{t--,t||s()}return c},batchCalls:l=>(...c)=>{i(()=>{l(...c)})},schedule:i,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{r=l},setScheduler:l=>{o=l}}}var ze=wb(),nr,Rf,yg=(Rf=class{constructor(){ne(this,nr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),lb(this.gcTime)&&K(this,nr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(va?1/0:5*60*1e3))}clearGcTimeout(){C(this,nr)&&(clearTimeout(C(this,nr)),K(this,nr,void 0))}},nr=new WeakMap,Rf),Yr,rr,it,or,Le,hi,ir,wt,Ut,Af,bb=(Af=class extends yg{constructor(t){super();ne(this,wt);ne(this,Yr);ne(this,rr);ne(this,it);ne(this,or);ne(this,Le);ne(this,hi);ne(this,ir);K(this,ir,!1),K(this,hi,t.defaultOptions),this.setOptions(t.options),this.observers=[],K(this,or,t.client),K(this,it,C(this,or).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,K(this,Yr,kb(this.options)),this.state=t.state??C(this,Yr),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=C(this,Le))==null?void 0:t.promise}setOptions(t){this.options={...C(this,hi),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&C(this,it).remove(this)}setData(t,n){const r=fb(this.state.data,t,this.options);return Ae(this,wt,Ut).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Ae(this,wt,Ut).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=C(this,Le))==null?void 0:r.promise;return(o=C(this,Le))==null||o.cancel(t),n?n.then(xt).catch(xt):Prom
vendor: 1,602 bytes, line 121
121ise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(C(this,Yr))}isActive(){return this.observers.some(t=>ub(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Nu||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>lc(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:!cb(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=C(this,Le))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=C(this,Le))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),C(this,it).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(C(this,Le)&&(C(this,ir)?C(this,Le).cancel({revert:!0}):C(this,Le).cancelRetry()),this.scheduleGc()),C(this,it).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ae(this,wt,Ut).call(this,{type:"invalidate"})}
vendor: 18,296 bytes, lines 121-130
121fetch(t,n){var u,h,p;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(C(this,Le))return C(this,Le).continueRetry(),C(this,Le).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(d=>d.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,o=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(K(this,ir,!0),r.signal)})},i=()=>{const f=hg(this.options,n),b=(()=>{const y={client:C(this,or),queryKey:this.queryKey,meta:this.meta};return o(y),y})();return K(this,ir,!1),this.options.persister?this.options.persister(f,b,this):f(b)},l=(()=>{const f={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:C(this,or),state:this.state,fetchFn:i};return o(f),f})();(u=this.options.behavior)==null||u.onFetch(l,this),K(this,rr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((h=l.fetchOptions)==null?void 0:h.meta))&&Ae(this,wt,Ut).call(this,{type:"fetch",meta:(p=l.fetchOptions)==null?void 0:p.meta});const c=f=>{var d,b,y,w;rl(f)&&f.silent||Ae(this,wt,Ut).call(this,{type:"error",error:f}),rl(f)||((b=(d=C(this,it).config).onError)==null||b.call(d,f,this),(w=(y=C(this,it).config).onSettled)==null||w.call(y,this.state.data,f,this)),this.scheduleGc()};return K(this,Le,vg({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var d,b,y,w;if(f===void 0){c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(g){c(g);return}(b=(d=C(this,it).config).onSuccess)==null||b.call(d,f,this),(w=(y=C(this,it).config).onSettled)==null||w.call(y,f,this.state.error,this),this.scheduleGc()},onError:c,onFail:(f,d)=>{Ae(this,wt,Ut).call(this,{type:"failed",failureCount:f,error:d})},onPause:()=>{Ae(this,wt,Ut).call(this,{type:"pause"})},onContinue:()=>{Ae(this,wt,Ut).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),C(this,Le).start()}},Yr=new WeakMap,rr=new WeakMap,it=new WeakMap,or=new WeakMap,Le=new WeakMap,hi=new WeakMap,ir=new WeakMap,wt=new WeakSet,Ut=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...jb(r.data,this.options),fetchMeta:t.meta??null};case"success":return K(this,rr,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return rl(o)&&o.revert&&C(this,rr)?{...C(this,rr),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),ze.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),C(this,it).notify({query:this,type:"updated",action:t})})},Af);function jb(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:mg(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function kb(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var It,If,Nb=(If=class extends ga{constructor(t={}){super();ne(this,It);this.config=t,K(this,It,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??ku(o,n);let s=this.get(i);return s||(s=new bb({client:t,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(s)),s}add(t){C(this,It).has(t.queryHash)||(C(this,It).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=C(this,It).get(t.queryHash);n&&(t.destroy(),n===t&&C(this,It).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){ze.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return C(this,It).get(t)}getAll(){return[...C(this,It).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>pf(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>pf(t,r)):n}notify(t){ze.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){ze.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){ze.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},It=new WeakMap,If),Ot,_e,sr,Lt,hn,Of,Sb=(Of=class extends yg{constructor(t){super();ne(this,Lt);ne(this,Ot);ne(this,_e);ne(this,sr);this.mutationId=t.mutationId,K(this,_e,t.mutationCache),K(this,Ot,[]),this.state=t.state||Cb(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){C(this,Ot).includes(t)||(C(this,Ot).push(t),this.clearGcTimeout(),C(this,_e).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){K(this,Ot,C(this,Ot).filter(n=>n!==t)),this.scheduleGc(),C(this,_e).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){C(this,Ot).length||(this.state.status==="pending"?this.scheduleGc():C(this,_e).remove(this))}continue(){var t;return((t=C(this,sr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,s,l,c,u,h,p,f,d,b,y,w,g,m,v,j,k,N,S,T;const n=()=>{Ae(this,Lt,hn).call(this,{type:"continue"})};K(this,sr,vg({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(O,I)=>{Ae(this,Lt,hn).call(this,{type:"failed",failureCount:O,error:I})},onPause:()=>{Ae(this,Lt,hn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>C(this,_e).canRun(this)}));const r=this.state.status==="pending",o=!C(this,sr).canStart();try{if(r)n();else{Ae(this,Lt,hn).call(this,{type:"pending",variables:t,isPaused:o}),await((s=(i=C(this,_e).config).onMutate)==null?void 0:s.call(i,t,this));const I=await((c=(l=this.options).onMutate)==null?void 0:c.call(l,t));I!==this.state.context&&Ae(this,Lt,hn).call(this,{type:"pending",context:I,variables:t,isPaused:o})}const O=await C(this,sr).start();return await((h=(u=C(this,_e).config).onSuccess)==null?void 0:h.call(u,O,t,this.state.context,this)),await((f=(p=this.options).onSuccess)==null?void 0:f.call(p,O,t,this.state.context)),await((b=(d=C(this,_e).config).onSettled)==null?void 0:b.call(d,O,null,this.state.variables,this.state.context,this)),await((w=(y=this.options).onSettled)==null?void 0:w.call(y,O,null,t,this.state.context)),Ae(this,Lt,hn).call(this,{type:"success",data:O}),O}catch(O){try{throw await((m=(g=C(this,_e).config).onError)==null?void 0:m.call(g,O,t,this.state.context,this)),await((j=(v=this.options).onError)==null?void 0:j.call(v,O,t,this.state.context)),await((N=(k=C(this,_e).config).onSettled)==null?void 0:N.call(k,void 0,O,this.state.variables,this.state.context,this)),await((T=(S=this.options).onSettled)==null?void 0:T.call(S,void 0,O,t,this.state.context)),O}finally{Ae(this,Lt,hn).call(this,{type:"error",error:O})}}finally{C(this,_e).runNext(this)}}},Ot=new WeakMap,_e=new WeakMap,sr=new WeakMap,Lt=new WeakSet,hn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,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{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),ze.batch(()=>{C(this,Ot).forEach(r=>{r.onMutationUpdate(t)}),C(this,_e).notify({mutation:this,type:"updated",action:t})})},Of);function Cb(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Kt,bt,pi,Lf,Eb=(Lf=class extends ga{constructor(t={}){super();ne(this,Kt);ne(this,bt);ne(this,pi);this.config=t,K(this,Kt,new Set),K(this,bt,new Map),K(this,pi,0)}build(t,n,r){const o=new Sb({mutationCache:this,mutationId:++Pi(this,pi)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){C(this,Kt).add(t);const n=qi(t);if(typeof n=="string"){const r=C(this,bt).get(n);r?r.push(t):C(this,bt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(C(this,Kt).delete(t)){const n=qi(t);if(typeof n=="string"){const r=C(this,bt).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&C(this,bt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=qi(t);if(typeof n=="string"){const r=C(this,bt).get(n),o=r==null?void 0:r.find(i=>i.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=qi(t);if(typeof n=="string"){const o=(r=C(this,bt).get(n))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){ze.batch(()=>{C(this,Kt).forEach(t=>{this.notify({type:"removed",mutation:t})}),C(this,Kt).clear(),C(this,bt).clear()})}getAll(){return Array.from(C(this,Kt))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>mf(n,r))}findAll(t={}){return this.getAll().filter(n=>mf(t,n))}notify(t){ze.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return ze.batch(()=>Promise.all(t.map(n=>n.continue().catch(xt))))}},Kt=new WeakMap,bt=new WeakMap,pi=new WeakMap,Lf);function qi(e){var t;return(t=e.options.scope)==null?void 0:t.id}function yf(e){return{onFetch:(t,n)=>{var h,p,f,d,b;const r=t.options,o=(f=(p=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:p.fetchMore)==null?void 0:f.direction,i=((d=t.state.data)==null?void 0:d.pages)||[],s=((b=t.state.data)==null?void 0:b.pageParams)||[];let l={pages:[],pageParams:[]},c=0;const u=async()=>{let y=!1;const w=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?y=!0:t.signal.addEventListener("abort",()=>{y=!0}),t.signal)})},g=hg(t.options,t.fetchOptions),m=async(v,j,k)=>{if(y)return Promise.reject();if(j==null&&v.pages.length)return Promise.resolve(v);const S=(()=>{const B={client:t.client,queryKey:t.queryKey,pageParam:j,direction:k?"backward":"forward",meta:t.options.meta};return w(B),B})(),T=await g(S),{maxPages:O}=t.options,I=k?pb:hb;return{pages:I(v.pages,T,O),pageParams:I(v.pageParams,j,O)}};if(o&&i.length){const v=o==="backward",j=v?Pb:xf,k={pages:i,pageParams:s},N=j(r,k);l=await m(k,N,v)}else{const v=e??i.length;do{const j=c===0?s[0]??r.initialPageParam:xf(r,l);if(c>0&&j==null)break;l=await m(l,j),c++}while(c<v)}return l};t.options.persister?t.fetchFn=()=>{var y,w;return(w=(y=t.options).persister)==null?void 0:w.call(y,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function xf(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Pb(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var me,wn,bn,qr,Xr,jn,Jr,Zr,Mf,Tb=(Mf=class{constructor(e={}){ne(this,me);ne(this,wn);ne(this,bn);ne(this,qr);ne(this,Xr);ne(this,jn);ne(this,Jr);ne(this,Zr);K(this,me,e.queryCache||new Nb),K(this,wn,e.mutationCache||new Eb),K(this,bn,e.defaultOptions||{}),K(this,qr,new Map),K(this,Xr,new Map),K(this,jn,0)}mount(){Pi(this,jn)._++,C(this,jn)===1&&(K(this,Jr,pg.subscribe(async e=>{e&&(await this.resumePausedMutations(),C(this,me).onFocus())})),K(this,Zr,Us.subscribe(async e=>{e&&(await this.resumePausedMutations(),C(this,me).onOnline())})))}unmount(){var e,t;Pi(this,jn)._--,C(this,jn)===0&&((e=C(this,Jr))==null||e.call(this),K(this,Jr,void 0),(t=C(this,Zr))==null||t.call(this),K(this,Zr,void 0))}isFetching(e){return C(this,me).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return C(this,wn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=C(this,me).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=C(this,me).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(lc(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return C(this,me).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=C(this,me).get(r.queryHash),i=o==null?void 0:o.state.data,s=ab(t,i);if(s!==void 0)return C(this,me).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return ze.batch(()=>C(this,me).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=C(this,me).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=C(this,me);ze.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=C(this,me);return ze.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=ze.batch(()=>C(this,me).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(xt).catch(xt)}invalidateQueries(e,t={}){return ze.batch(()=>(C(this,me).findAll(e).forEach(n=>{n.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 n={...t,cancelRefetch:t.cancelRefetch??!0},r=ze.batch(()=>C(this,me).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(xt)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(xt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=C(this,me).build(this,t);return n.isStaleByTime(lc(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(xt).catch(xt)}fetchInfiniteQuery(e){return e.behavior=yf(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(xt).catch(xt)}ensureInfiniteQueryData(e){return e.behavior=yf(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Us.isOnline()?C(this,wn).resumePausedMutations():Promise.resolve()}getQueryCache(){return C(this,me)}getMutationCache(){return C(this,wn)}getDefaultOptions(){return C(this,bn)}setDefaultOptions(e){K(this,bn,e)}setQueryDefaults(e,t){C(this,qr).set(ci(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...C(this,qr).values()],n={};return t.forEach(r=>{ui(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){C(this,Xr).set(ci(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...C(this,Xr).values()],n={};return t.forEach(r=>{ui(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...C(this,bn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=ku(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===Nu&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...C(this,bn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){C(this,me).clear(),C(this,wn).clear()}},me=new WeakMap,wn=new WeakMap,bn=new WeakMap,qr=new WeakMap,Xr=new WeakMap,jn=new WeakMap,Jr=new WeakMap,Zr=new WeakMap,Mf),Rb=x.createContext(void 0),Ab=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),a.jsx(Rb.Provider,{value:e,children:t}));/** 122 * @remix-run/router v1.23.0 123 * 124 * Copyright (c) Remix Software Inc. 125 * 126 * This source code is licensed under the MIT license found in the 127 * LICENSE.md file in the root directory of this source tree. 128 * 129 * @license MIT 130 */function di(){return di=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},di.apply(this,arguments)}var Sn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Sn||(Sn={}));const wf="popstate";function Ib(e){e===void 0&&(e={});function t(r,o){let{pathname:i,search:s,hash:l}=r.location;return uc("",{pathname:i,search:s,hash:l},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:Ws(o)}return Lb(t,n,null,e)}function we(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function xg(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Ob(){return Math.random().toString(36).substr(2,8)}function bf(e,t){return{usr:e.state,key:e.key,idx:t}}function uc(e,t,n,r){return n===void 0&&(n=null),di({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?vo(t):t,{state:n,key:t&&t.key||r||Ob()})}function Ws(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function vo(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}
vendor: 3,766 bytes, line 130
130function Lb(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,l=Sn.Pop,c=null,u=h();u==null&&(u=0,s.replaceState(di({},s.state,{idx:u}),""));function h(){return(s.state||{idx:null}).idx}function p(){l=Sn.Pop;let w=h(),g=w==null?null:w-u;u=w,c&&c({action:l,location:y.location,delta:g})}function f(w,g){l=Sn.Push;let m=uc(y.location,w,g);u=h()+1;let v=bf(m,u),j=y.createHref(m);try{s.pushState(v,"",j)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;o.location.assign(j)}i&&c&&c({action:l,location:y.location,delta:1})}function d(w,g){l=Sn.Replace;let m=uc(y.location,w,g);u=h();let v=bf(m,u),j=y.createHref(m);s.replaceState(v,"",j),i&&c&&c({action:l,location:y.location,delta:0})}function b(w){let g=o.location.origin!=="null"?o.location.origin:o.location.href,m=typeof w=="string"?w:Ws(w);return m=m.replace(/ $/,"%20"),we(g,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,g)}let y={get action(){return l},get location(){return e(o,s)},listen(w){if(c)throw new Error("A history only accepts one active listener");return o.addEventListener(wf,p),c=w,()=>{o.removeEventListener(wf,p),c=null}},createHref(w){return t(o,w)},createURL:b,encodeLocation(w){let g=b(w);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:f,replace:d,go(w){return s.go(w)}};return y}var jf;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(jf||(jf={}));function Mb(e,t,n){return n===void 0&&(n="/"),Fb(e,t,n,!1)}function Fb(e,t,n,r){let o=typeof t=="string"?vo(t):t,i=Su(o.pathname||"/",n);if(i==null)return null;let s=wg(e);_b(s);let l=null;for(let c=0;l==null&&c<s.length;++c){let u=Gb(i);l=Kb(s[c],u,r)}return l}function wg(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(i,s,l)=>{let c={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};c.relativePath.startsWith("/")&&(we(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=Ln([r,c.relativePath]),h=n.concat(c);i.children&&i.children.length>0&&(we(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),wg(i.children,t,h,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:Wb(u,i.index),routesMeta:h})};return e.forEach((i,s)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))o(i,s);else for(let c of bg(i.path))o(i,s,c)}),t}function bg(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=bg(r.join("/")),l=[];return l.push(...s.map(c=>c===""?i:[i,c].join("/"))),o&&l.push(...s),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function _b(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Hb(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Db=/^:[\w-]+$/,zb=3,$b=2,Bb=1,Vb=10,Ub=-2,kf=e=>e==="*";function Wb(e,t){let n=e.split("/"),r=n.length;return n.some(kf)&&(r+=Ub),t&&(r+=$b),n.filter(o=>!kf(o)).reduce((o,i)=>o+(Db.test(i)?zb:i===""?Bb:Vb),r)}function Hb(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function Kb(e,t,n){let{routesMeta:r}=e,o={},i="/",s=[];for(let l=0;l<r.length;++l){let c=r[l],u=l===r.length-1,h=i==="/"?t:t.slice(i.length)||"/",p=Nf({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},h),f=c.route;if(!p&&u&&n&&!r[r.length-1].route.index&&(p=Nf({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},h)),!p)return null;
vendor: 6,917 bytes, lines 130-139
130Object.assign(o,p.params),s.push({params:o,pathname:Ln([i,p.pathname]),pathnameBase:Jb(Ln([i,p.pathnameBase])),route:f}),p.pathnameBase!=="/"&&(i=Ln([i,p.pathnameBase]))}return s}function Nf(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=Qb(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],s=i.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce((u,h,p)=>{let{paramName:f,isOptional:d}=h;if(f==="*"){let y=l[p]||"";s=i.slice(0,i.length-y.length).replace(/(.)\/+$/,"$1")}const b=l[p];return d&&!b?u[f]=void 0:u[f]=(b||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:s,pattern:e}}function Qb(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),xg(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 r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,l,c)=>(r.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function Gb(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return xg(!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 Su(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Yb(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?vo(e):e;return{pathname:n?n.startsWith("/")?n:qb(n,t):t,search:Zb(r),hash:ej(o)}}function qb(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function ol(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function Xb(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function jg(e,t){let n=Xb(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function kg(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=vo(e):(o=di({},e),we(!o.pathname||!o.pathname.includes("?"),ol("?","pathname","search",o)),we(!o.pathname||!o.pathname.includes("#"),ol("#","pathname","hash",o)),we(!o.search||!o.search.includes("#"),ol("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,l;if(s==null)l=n;else{let p=t.length-1;if(!r&&s.startsWith("..")){let f=s.split("/");for(;f[0]==="..";)f.shift(),p-=1;o.pathname=f.join("/")}l=p>=0?t[p]:"/"}let c=Yb(o,l),u=s&&s!=="/"&&s.endsWith("/"),h=(i||s===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||h)&&(c.pathname+="/"),c}const Ln=e=>e.join("/").replace(/\/\/+/g,"/"),Jb=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Zb=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,ej=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function tj(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Ng=["post","put","patch","delete"];new Set(Ng);const nj=["get",...Ng];new Set(nj);/** 131 * React Router v6.30.1 132 * 133 * Copyright (c) Remix Software Inc. 134 * 135 * This source code is licensed under the MIT license found in the 136 * LICENSE.md file in the root directory of this source tree. 137 * 138 * @license MIT 139 */function fi(){return fi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fi.apply(this,arguments)}const Cu=x.createContext(null),rj=x.createContext(null),vr=x.createContext(null),ya=x.createContext(null),Kn=x.createContext({outlet:null,matches:[],isDataRoute:!1}),Sg=x.createContext(null);function oj(e,t){let{relative:n}=t===void 0?{}:t;ki()||we(!1);let{basename:r,navigator:o}=x.useContext(vr),{hash:i,pathname:s,search:l}=Pg(e,{relative:n}),c=s;return r!=="/"&&(c=s==="/"?r:Ln([r,s])),o.createHref({pathname:c,search:l,hash:i})}function ki(){return x.useContext(ya)!=null}function Ni(){return ki()||we(!1),x.useContext(ya).location}function Cg(e){x.useContext(vr).static||x.useLayoutEffect(e)}function ij(){let{isDataRoute:e}=x.useContext(Kn);return e?yj():sj()}function sj(){ki()||we(!1);let e=x.useContext(Cu),{basename:t,future:n,navigator:r}=x.useContext(vr),{matches:o}=x.useContext(Kn),{pathname:i}=Ni(),s=JSON.stringify(jg(o,n.v7_relativeSplatPath)),l=x.useRef(!1);return Cg(()=>{l.current=!0}),x.useCallback(function(u,h){if(h===void 0&&(h={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let p=kg(u,JSON.parse(s),i,h.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Ln([t,p.pathname])),(h.replace?r.replace:r.push)(p,h.state,h)},[t,r,s,i,e])}function Eg(){let{matches:e}=x.useContext(Kn),t=e[e.length-1];return t?t.params:{}}function Pg(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=x.useContext(vr),{matches:o}=x.useContext(Kn),{pathname:i}=Ni(),s=JSON.stringify(jg(o,r.v7_relativeSplatPath));return x.useMemo(()=>kg(e,JSON.parse(s),i,n==="path"),[e,s,i,n])}function aj(e,t){return lj(e,t)}function lj(e,t,n,r){ki()||we(!1);let{navigator:o}=x.useContext(vr),{matches:i}=x.useContext(Kn),s=i[i.length-1],l=s?s.params:{};s&&s.pathname;let c=s?s.pathnameBase:"/";s&&s.route;let u=Ni(),h;if(t){var p;let w=typeof t=="string"?vo(t):t;c==="/"||(p=w.pathname)!=null&&p.startsWith(c)||we(!1),h=w}else h=u;let f=h.pathname||"/",d=f;if(c!=="/"){let w=c.replace(/^\//,"").split("/");d="/"+f.replace(/^\//,"").split("/").slice(w.length).join("/")}let b=Mb(e,{pathname:d}),y=hj(b&&b.map(w=>Object.assign({},w,{params:Object.assign({},l,w.params),pathname:Ln([c,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?c:Ln([c,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),i,n,r);return t&&y?x.createElement(ya.Provider,{value:{location:fi({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:Sn.Pop}},y):y}function cj(){let e=vj(),t=tj(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application
139Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:o},n):null,null)}const uj=x.createElement(cj,null);class dj extends x.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,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?x.createElement(Kn.Provider,{value:this.props.routeContext},x.createElement(Sg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function fj(e){let{routeContext:t,match:n,children:r}=e,o=x.useContext(Cu);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(Kn.Provider,{value:t},r)}function hj(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,l=(o=n)==null?void 0:o.errors;if(l!=null){let h=s.findIndex(p=>p.route.id&&(l==null?void 0:l[p.route.id])!==void 0);h>=0||we(!1),s=s.slice(0,Math.min(s.length,h+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let h=0;h<s.length;h++){let p=s[h];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(u=h),p.route.id){let{loaderData:f,errors:d}=n,b=p.route.loader&&f[p.route.id]===void 0&&(!d||d[p.route.id]===void 0);if(p.route.lazy||b){c=!0,u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((h,p,f)=>{let d,b=!1,y=null,w=null;n&&(d=l&&p.route.id?l[p.route.id]:void 0,y=p.route.errorElement||uj,c&&(u<0&&f===0?(b=!0,w=null):u===f&&(b=!0,w=p.route.hydrateFallbackElement||null)));let g=t.concat(s.slice(0,f+1)),m=()=>{let v;return d?v=y:b?v=w:p.route.Component?v=x.createElement(p.route.Component,null):p.route.element?v=p.route.element:v=h,x.createElement(fj,{match:p,routeContext:{outlet:h,matches:g,isDataRoute:n!=null},children:v})};return n&&(p.route.ErrorBoundary||p.route.errorElement||f===0)?x.createElement(dj,{location:n.location,revalidation:n.revalidation,component:y,error:d,children:m(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):m()},null)}var Tg=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Tg||{}),Hs=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}(Hs||{});function pj(e){let t=x.useContext(Cu);return t||we(!1),t}function mj(e){let t=x.useContext(rj);return t||we(!1),t}function gj(e){let t=x.useContext(Kn);return t||we(!1),t}function Rg(e){let t=gj(),n=t.matches[t.matches.length-1];return n.route.id||we(!1),n.route.id}function vj(){var e;let t=x.useContext(Sg),n=mj(Hs.UseRouteError),r=Rg(Hs.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function yj(){let{router:e}=pj(Tg.UseNavigateStable),t=Rg(Hs.UseNavigateStable),n=x.useRef(!1);return Cg(()=>{n.current=!0}),x.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,fi({fromRouteId:t},i)))},[e,t])}function xj(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Sr(e){we(!1)}function wj(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Sn.Pop,navigator:i,static:s=!1,future:l}=e;ki()&&we(!1);let c=t.replace(/^\/*/,"/"),u=x.useMemo(()=>({basename:c,navigator:i,static:s,future:fi({v7_relativeSplatPath:!1},l)}),[c,l,i,s]);typeof r=="string"&&(r=vo(r));let{pathname:h="/",search:p="",hash:f="",state:d=null,key:b="default"}=r,y=x.useMemo(()=>{let w=Su(h,c);return w==null?null:{location:{pathname:w,search:p,hash:f,state:d,key:b},navigationType:o}},[c,h,p,f,d,b,o]);return y==null?null:x.createElement(vr.Provider,{value:u},x.createElement(ya.Provider,{children:n,value:y}))}function bj(e){let{children:t,location:n}=e;return aj(dc(t),n)}new Promise(()=>{});function dc(e,t){t===void 0&&(t=[]);let n=[];
139return x.Children.forEach(e,(r,o)=>{if(!x.isValidElement(r))return;let i=[...t,o];if(r.type===x.Fragment){n.push.apply(n,dc(r.props.children,i));return}r.type!==Sr&&we(!1),!r.props.index||!r.props.children||we(!1);let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=dc(r.props.children,i)),n.push(s)}),n}/** 140 * React Router DOM v6.30.1 141 * 142 * Copyright (c) Remix Software Inc. 143 * 144 * This source code is licensed under the MIT license found in the 145 * LICENSE.md file in the root directory of this source tree. 146 * 147 * @license MIT 148 */function fc(){return fc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fc.apply(this,arguments)}function jj(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function kj(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Nj(e,t){return e.button===0&&(!t||t==="_self")&&!kj(e)}const Sj=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Cj="6";try{window.__reactRouterVersion=Cj}catch{}const Ej="startTransition",Sf=Qf[Ej];function Pj(e){let{basename:t,children:n,future:r,window:o}=e,i=x.useRef();i.current==null&&(i.current=Ib({window:o,v5Compat:!0}));let s=i.current,[l,c]=x.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},h=x.useCallback(p=>{u&&Sf?Sf(()=>c(p)):c(p)},[c,u]);return x.useLayoutEffect(()=>s.listen(h),[s,h]),x.useEffect(()=>xj(r),[r]),x.createElement(wj,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:s,future:r})}const Tj=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Rj=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,zt=x.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:s,state:l,target:c,to:u,preventScrollReset:h,viewTransition:p}=t,f=jj(t,Sj),{basename:d}=x.useContext(vr),b,y=!1;if(typeof u=="string"&&Rj.test(u)&&(b=u,Tj))try{let v=new URL(window.location.href),j=u.startsWith("//")?new URL(v.protocol+u):new URL(u),k=Su(j.pathname,d);j.origin===v.origin&&k!=null?u=k+j.search+j.hash:y=!0}catch{}let w=oj(u,{relative:o}),g=Aj(u,{replace:s,state:l,target:c,preventScrollReset:h,relative:o,viewTransition:p});function m(v){r&&r(v),v.defaultPrevented||g(v)}return x.createElement("a",fc({},f,{href:b||w,onClick:y||i?r:m,ref:n,target:c}))});var Cf;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Cf||(Cf={}));var Ef;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ef||(Ef={}));function Aj(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:s,viewTransition:l}=t===void 0?{}:t,c=ij(),u=Ni(),h=Pg(e,{relative:s});return x.useCallback(p=>{if(Nj(p,n)){p.preventDefault();let f=r!==void 0?r:Ws(u)===Ws(h);c(e,{replace:f,state:o,preventScrollReset:i,relative:s,viewTransition:l})}},[u,c,h,r,o,n,e,i,s,l])}const Ij=()=>{const[e,t]=x.useState(!1),n=[{name:"ChatFI25",href:"https://notebook.google.com/notebook/0047d016-9041-47ae-940e-dfce9111c2d7",external:!0},{name:"Dashboard",href:"/"},{name:"Events",href:"/events"}];return a.jsx("header",{className:"sticky top-0 z-50 w-full border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"flex h-16 items-center justify-between",children:[a.jsxs(zt,{to:"/",className:"flex items-center space-x-3",children:[a.jsx("img",{src:"/lovable-uploads/1fc47490-d250-425d-b10a-f050fe309458.png",alt:"Food Indaba Logo",className:"h-16 w-auto"}),a.jsx("span",{className:"text-xl font-bold"})]}),a.jsx("nav",{className:"hidden md:flex items-center space-x-8",children:n.map(r=>r.external?a.jsx("a",{href:r.href,target:"_blank",rel:"noopener noreferrer",className:"text-sm font-medium text-muted-foreground hover:text-foreground transition-colors",children:r.name},r.name):a.jsx(zt,{to:r.href,className:"text-sm font-medium text-muted-foreground hover:text-foreground transition-colors",children:r.name},r.name))}),a.jsx("button",{onClick:()=>t(!e),className:"md:hidden p-2",children:e?a.jsx(hu,{size:24}):a.jsx(v0,{size:24})})]}),a.jsx("nav",{className:Te("md:hidden border-t",e?"block":"hidden"),children:a.jsx("div",{className:"py-4 space-y-2",children:n.map(r=>r.external?a.jsx("a",{href:r.href,target:"_blank",rel:"noopener noreferrer",className:"block px-2 py-2 text-sm font-medium text-muted-foreground hover:text-foreground transition-colors",onClick:()=>t(!1),children:r.name},r.name):a.jsx(zt,{to:r.href,className:"block px-2 py-2 text-sm font-medium text-muted-foreground hover:text-foreground transition-colors",onClick:()=>t(!1),children:r.name},r.name))})})]})})},Oj=({children:e})=>a.jsxs("div",{className:"min-h-screen flex flex-col",children:[a.jsx(Ij,{}),a.jsx("main",{className:"flex-1",children:e}),a.jsx("footer",{className:"border-t py-8 mt-16",children:a.jsx("div",{className:"container mx-auto px-4 text-center text-sm text-muted-foreground",children:a.jsx("p",{children:"© 2025 Food Indaba. Event Report Dashboard."})})})]}),z=x.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:Te("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));
148z.displayName="Card";const V=x.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:Te("flex flex-col space-y-1.5 p-6",e),...t}));V.displayName="CardHeader";const U=x.forwardRef(({className:e,...t},n)=>a.jsx("h3",{ref:n,className:Te("text-2xl font-semibold leading-none tracking-tight",e),...t}));U.displayName="CardTitle";const Lj=x.forwardRef(({className:e,...t},n)=>a.jsx("p",{ref:n,className:Te("text-sm text-muted-foreground",e),...t}));Lj.displayName="CardDescription";const $=x.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:Te("p-6 pt-0",e),...t}));$.displayName="CardContent";const Mj=x.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:Te("flex items-center p-6 pt-0",e),...t}));Mj.displayName="CardFooter";const Fj=fu("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function xa({className:e,variant:t,...n}){return a.jsx("div",{className:Te(Fj({variant:t}),e),...n})}const _j=fu("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),co=x.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const s=r?wx:"button";return a.jsx(s,{className:Te(_j({variant:t,size:n,className:e})),ref:i,...o})});co.displayName="Button";const Eu=({id:e,title:t,date:n,time:r,attendees:o,category:i,image:s,description:l})=>a.jsx(z,{className:"overflow-hidden hover:shadow-lg transition-shadow duration-300 group",children:a.jsxs(zt,{to:`/event/${e}`,children:[s&&a.jsx("div",{className:"aspect-video overflow-hidden",children:a.jsx("img",{src:s,alt:t,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300",onError:c=>{console.log(`Failed to load image: ${s} for event: ${t}`),c.currentTarget.style.display="none"},onLoad:()=>{console.log(`Successfully loaded image: ${s} for event: ${t}`)}})}),a.jsxs(V,{className:"space-y-2",children:[a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx(xa,{variant:"secondary",className:"text-xs",children:i}),a.jsxs("div",{className:"flex items-center text-xs text-muted-foreground",children:[a.jsx(Ds,{size:12,className:"mr-1"}),o]})]}),a.jsx(U,{className:"text-lg group-hover:text-primary transition-colors",children:t})]}),a.jsxs($,{className:"space-y-3",children:[a.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2",children:l}),a.jsxs("div",{className:"flex items-center gap-4 text-xs text-muted-foreground",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(_s,{size:12,className:"mr-1"}),n]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(Pm,{size:12,className:"mr-1"}),r]})]})]})]})}),Ft=[{id:"1",title:"Reverse Engineering AI Opening Dinner",date:"2025-07-07",time:"19:00",attendees:53,category:"Dining",description:"Opening dinner event launching the Food Indaba 2025 with a focus on AI and food systems.",heroImage:"/event-1-hero.jpg",testimonials:[{id:"1",name:"Sarah Johnson",role:"Food Tech Entrepreneur",organization:"Innovation Hub",content:"An incredible evening that set the tone for the entire Food Indaba experience."}],feedback:{rating:4.9,totalResponses:98,highlights:["Excellent networking","Innovative cuisine","Great atmosphere"],suggestions:["Longer networking time","More dietary options"]},gallery:["/gallery/dinner-1.jpg","/gallery/dinner-2.jpg","/gallery/dinner-3.jpg","/gallery/dinner-4.jpg","/gallery/dinner-5.jpg","/gallery/dinner-6.jpg","/gallery/dinner-7.jpg","/gallery/dinner-8.jpg","/gallery/dinner-9.jpg","/gallery/dinner-10.jpg","/gallery/dinner-11.jpg","/gallery/dinner-12.jpg"]},{id:"2",title:"Closing Lunch",date:"2025-07-20",time:"12:00",attendees:13,category:"Dining",description:"The closing lunch took place at the Seven Colours Eatery at the V&A Waterfront's Battery Park, for a small gathering of key production team members, media partners and sponsors. An intimate and delicious lunch to close out the programme and give thanks for the success of the programme and the incredible contributions of everybody involved.",heroImage:"/event-2-hero.jpg",testimonials:[{id:"2",name:"Michael Chen",role:"Sustainability Director",organization:"Green Foods Ltd",content:"A perfect conclusion to an amazing two weeks of learning and collaboration."}],feedback:{rating:4.8,totalResponses:124,highlights:["Inspiring speeches","Delicious food","Strong connections"],suggestions:["More time for farewells","Photo opportunities"]},gallery:["/placeholder-gallery/lunch-1.jpg","/placeholder-gallery/lunch-2.jpg"]},{id:"3",title:"AI and the Food System Conference",date:"2025-07-18",time:"09:00",attendees:85,category:"Conference",description:"The 2025 conference event took place on Friday the 18th of July 2025 at Makers Landing at the V&A Waterfront.",heroImage:"/event-3-hero.jpg",testimonials:[{id:"3",name:"Dr. Amina Hassan",role:"AI Research Lead",organization:"Future Food Institute",content:"Groundbreaking presentations on how AI can revolutionize food production and distribution."}],feedback:{rating:4.9,totalResponses:267,highlights:["World-class speakers","Cutting-edge research","Practical applications"],suggestions:["More Q&A time","Technical workshops"]},gallery:["/placeholder-gallery/conference-1.jpg","/placeholder-gallery/conference-2.jpg"],featuredVideos:["https://www.youtube.com/embed/QhZYYbWm6sY?si=fRfVodh9Rn1ppACq","https://www.youtube.com/embed/yd_Iyp_3eUg?si=M1BzQbdZwleRn_Tm","https://www.youtube.com/embed/MP9EMG6njRc?si=5Ky5KMPGaBMegszm","https://www.youtube.com/embed/OwQx-RTOXPw?si=aa-NzSY_urgCF9eG","https://www.youtube.com/embed/NtySO8hLHsI?si=9kA_jhFGNRidM_ta","https://www.youtube.com/embed/SFZvYsJSObw?si=8vKRG1vhclqjHCGi","https://www.youtube.com/embed/XDNij_pNxQY?si=vJ6m1UDC8E3_ZWGL","https://www.youtube.com/embed/0LRdZ1felag?si=Gs45o6Z0xNwfBTUV","https://www.youtube.com/embed/BnxV_kVqeC8?si=jIZjB60L9GBXyHNh","https://www.youtube.com/embed/dOru7a8UPE0?si=sbkk6mOOdwzTCZKn","https://www.youtube.com/embed/yWJNhhW3ZQk?si=KJ3R8JvFfPCjoXwO","https://youtu.be/Sxvgim-TV74"]},{id:"4",title:"AI, Knowledge and African Food Systems Webinar",date:"2025-07-09",time:"14:00",attendees:66,category:"Conference",description:"Online webinar exploring AI applications in African food systems and indigenous knowledge.",heroImage:"/event-4-hero.jpg",videoUrl:"https://www.youtube.com/watch?v=dQw4w9WgXcQ",testimonials:[{id:"4",name:"Prof. Kwame Asante",role:"Agricultural Systems Expert",organization:"University of Ghana",content:"Excellent discussion on integrating traditional knowledge with modern AI technologies."}],feedback:{rating:4.7,totalResponses:378,highlights:["Diverse perspectives","African focus","Interactive format"],suggestions:["Better audio quality","More breakout sessions"]},gallery:["/gallery/event4-1.jpg","/gallery/event4-2.jpg","/gallery/event4-3.jpg","/gallery/event4-4.jpg","/gallery/event4-5.jpg","/gallery/event4-6.jpg","/gallery/event4-7.jpg","/gallery/event4-8.jpg","/gallery/event4-9.jpg","/gallery/event4-10.jpg"]},{id:"5",title:"Hack the Kitchen - Kids Flavour Lab",date:"2025-07-12",time:"10:00",attendees:53,category:"Cooking Workshop",description:"Interactive cooking workshop for children exploring flavors and food science.",heroImage:"/event-5-hero.jpg",testimonials:[{id:"5a",name:"Emma",role:"Participant",organization:"Kids Flavour Lab",content:"No longer going to buy ice cream, we will just make it!"},{id:"5b",name:"Liam",role:"Participant",organization:"Kids Flavour Lab",content:"If you give me dry ice I can make ice cream easily"}
148,{id:"5c",name:"Sophia",role:"Participant",organization:"Kids Flavour Lab",content:"I liked the ice-cream part and it was a lot of fun. The thing I liked most â rooibos ice-cream was the nicest one"},{id:"5d",name:"Noah",role:"Participant",organization:"Kids Flavour Lab",content:"I loved the science centre because I made good things and the ice cream. I thought science was boring but now I learnt my lesson. Science is fun"},{id:"5e",name:"Ava",role:"Participant",organization:"Kids Flavour Lab",content:"The thing that Ioved was the pinkish ice cream but the other one I didn't like. But I had friends and lots of things that I saw. We also made tea out of herbs and flowers. This was nice. It tasted nice. This was fun"},{id:"5f",name:"Mason",role:"Participant",organization:"Kids Flavour Lab",content:"It is very simple to make it, more than I thought"}],feedback:{rating:4.9,totalResponses:38,highlights:["Engaging activities","Educational value","Fun atmosphere"],suggestions:["More sessions","Take-home materials"]},gallery:["/gallery/kids-1.jpg","/gallery/kids-2.jpg","/gallery/kids-3.jpg","/gallery/kids-4.jpg","/gallery/kids-5.jpg","/gallery/kids-6.jpg","/gallery/kids-7.jpg","/gallery/kids-8.jpg","/gallery/kids-9.jpg","/gallery/event5-13.jpg","/gallery/event5-14.jpg","/gallery/event5-15.jpg"]},{id:"6",title:"Hack the Kitchen - Teens Cooking Jam",date:"2025-07-19",time:"14:00",attendees:30,category:"Cooking Workshop",description:"The Teens AI Cooking Jam took place at Food Jams in Salt River Cape Town. 30 teens from all over Cape Town, in small teams, prepared meals using an AI chatbot tool of their choice, and a delicious spread of ingredients.",heroImage:"/event-6-hero.jpg",testimonials:[{id:"6-1",name:"",role:"",organization:"",content:"My day was amazing. I learnt new things. I never used to be so much in the kitchen, even though I love cooking, but after the experience at Food Indaba I love being in the kitchen now"},{id:"6-2",name:"",role:"",organization:"",content:"I left feeling motivated, inspired, and ready to explore more opportunities where AI and teamwork can bring meaningful results"},{id:"6-3",name:"",role:"",organization:"",content:"It was such an unforgettable experience"},{id:"6-4",name:"",role:"",organization:"",content:"It felt like family, fun, and flavour all in one"},{id:"6-5",name:"",role:"",organization:"",content:"The experience provided time to bond with friends and learn new things"}],feedback:{rating:4.8,totalResponses:29,highlights:["Creative freedom","Mentorship","Skill development"],suggestions:["Longer duration","More equipment"]},gallery:["/gallery/event6-1.jpg","/gallery/event6-2.jpg","/gallery/event6-3.jpg","/gallery/event6-4.jpg","/gallery/event6-5.jpg","/gallery/event6-6.jpg","/gallery/event6-7.jpg","/gallery/event6-8.jpg","/gallery/event6-9.jpg","/gallery/event6-10.jpg","/gallery/event6-11.jpg","/gallery/event6-12.jpg"],featuredVideos:["https://www.youtube.com/embed/kv3QiVDm5RE?si=uMDqgKrGTAXcgZTf","https://www.youtube.com/embed/b-1THZlu0Oc?si=GFis1czHL9KaH3MY"],videoPodcast:"https://www.youtube.com/embed/3pTvFfak2-4?si=WGfZdsLp9nIEWuQ_"},{id:"7",title:"Dialogues through Food - Ancestral Intelligence with Motheo Mamabolo",date:"2025-07-12",time:"18:00",attendees:21,category:"Dining",description:"Intimate dining experience exploring ancestral wisdom and traditional food knowledge.",heroImage:"/event-7-hero.jpg",testimonials:[{id:"7",name:"Nomsa Mthembu",role:"Cultural Heritage Specialist",organization:"Heritage Foundation",content:"A profound connection to our food heritage through Motheo's incredible storytelling."}],feedback:{rating:4.9,totalResponses:68,highlights:["Cultural depth","Storytelling","Authentic experience"],suggestions:["More intimate setting","Recipe sharing"]},gallery:["/gallery/event7-2.jpg","/gallery/event7-3.jpg","/gallery/event7-4.jpg","/gallery/event7-5.jpg","/gallery/event7-6.jpg","/gallery/event7-7.jpg","/gallery/event7-8.jpg","/gallery/event7-9.jpg","/gallery/event7-10.jpg","/gallery/event7-11.jpg","/gallery/event7-12.jpg","/gallery/event7-13.jpg"]},{id:"8",title:"Dialogues through Food - The Glocal Table with Tarryn de Kock",date:"2025-07-19",time:"18:00",attendees:27,category:"Dining",description:"The Glocal Table was an intimate dining event with 27 guests at The Residency at Makers Landing. Tarryn de Kock's sold out dining experience explored how the Columbian Exchange reshaped African cuisines. Diners learned how ingredients we consider authentically African todayâtomatoes, maize, chilliesâactually traveled from distant continents to become deeply local. The menu traveled through six African nations uncovering culinary intelligence, knowledge, and histories through carefully curated tastings and interactive storytelling.",heroImage:"/event-8-hero.jpg",testimonials:[{id:"8",name:"David Williams",role:"Food Journalist",organization:"Culinary Review",content:"Tarryn's ability to weave global influences with local ingredients was truly inspiring."}],feedback:{rating:4.8,totalResponses:72,highlights:["Innovative combinations","Expert curation","Educational"],suggestions:["Wine pairings","Cooking demonstrations"]},gallery:["/gallery/event8-1.jpg","/gallery/event8-2.jpg","/gallery/event8-3.jpg","/gallery/event8-4.jpg","/gallery/event8-5.jpg","/gallery/event8-6.jpg","/gallery/event8-7.jpg","/gallery/event8-8.jpg","/gallery/event8-9.jpg","/gallery/event8-10.jpg","/gallery/event8-11.jpg","/gallery/event8-12.jpg"],featuredVideos:["https://www.youtube.com/embed/VIDEO_ID_1","https://www.youtube.com/embed/VIDEO_ID_2"],videoPodcast:"https://www.youtube.com/embed/VIDEO_ID_3"},{id:"9",title:"Chef's Summit",date:"2025-07-15",time:"09:00",attendees:64,category:"Panel Discussion",description:"The Chef's Summit explored how artificial intelligence is challenging and transforming culinary operations â from recipe development and kitchen workflows to sustainability, education and food entrepreneurship. The panel featured Carl van Rooyen, executive chef and educator, Arabella Parkinson, chef and food activist, Miles Khubeka, chef, entrepreneur, IT and AI strategist, and Vusi Ndlovu, executive chef Edge x Vue. The session was facilitated by Riana Andrews, editor SA Chef's Magazine, and was presented in association with the SA Chef's Association and the Chef's Manifesto.",heroImage:"/event-9-hero.jpg",testimonials:[{id:"9",name:"Chef Maria Santos",role:"Executive Chef",organization:"Sustainable Kitchen",content:"Incredible insights from fellow chefs on sustainable practices and innovation."}],feedback:{rating:4.7,totalResponses:78,highlights:["Industry insights","Networking","Practical tips"],suggestions:["More chef participation","
148Live cooking demos"]},gallery:["/gallery/event9-1.jpg","/gallery/event9-2.jpg","/gallery/event9-3.jpg","/gallery/event9-4.jpg","/gallery/event9-5.jpg","/gallery/event9-6.jpg","/gallery/event9-7.jpg","/gallery/event9-8.jpg","/gallery/event9-9.jpg","/gallery/event9-10.jpg","/gallery/event9-11.jpg","/gallery/event9-12.jpg"],featuredVideos:["https://www.youtube.com/embed/bPDchkIBxbw?si=29gzebhp8dIi2O4_","https://www.youtube.com/embed/lnTon-WYX3A?si=0GPHDNRZSU-8HJwz"],videoPodcast:"https://www.youtube.com/embed/dEVJi1U_-_8?si=KIhq7CIcoSlToXLA"},{id:"10",title:"Zero Waste Summit",date:"2025-07-17",time:"10:00",attendees:60,category:"Panel Discussion",description:"Panel focusing on zero waste practices in food production and consumption.",heroImage:"/event-10-hero.jpg",testimonials:[{id:"10-1",name:"",role:"",organization:"",content:"We need education that is accessible and easy to understand, ensuring that the communication is connected to how people live day to day. if I don't understand it then I probably won't do it, that is how human nature thinks."},{id:"10-2",name:"",role:"",organization:"",content:"Sorting before getting rid of the waste makes things so much easier and you contribute positively to the flow and process of discarding of food waste correctly..."},{id:"10-3",name:"",role:"",organization:"",content:"I loved how the language (of the panel) was so easy to understand and so many insights were shared both commercially but how as individuals we can also contribute positively by making changes in our home"},{id:"10-4",name:"",role:"",organization:"",content:"I would have loved further discussion on how AI can be brought into the education sector to inform younger generations around waste management"}],feedback:{rating:4.8,totalResponses:87,highlights:["Actionable solutions","Environmental impact","Industry collaboration"],suggestions:["Case study examples","Implementation guides"]},gallery:["/gallery/event10-1.jpg","/gallery/event10-2.jpg","/gallery/event10-3.jpg","/gallery/event10-4.jpg","/gallery/event10-5.jpg","/gallery/event10-6.jpg","/gallery/event10-7.jpg","/gallery/event10-8.jpg"],featuredVideos:["zWuP4KEugE4","vv93SAF3kvk","a7hUAx_rCfY"],videoPodcast:"0rbHYbaa6JA"},{id:"11",title:"Langa Food System Walking Tour",date:"2025-07-15",time:"14:00",attendees:14,category:"Tour",description:"Guided tour exploring the food systems and community gardens in Langa township.",heroImage:"/event-11-hero.jpg",testimonials:[{id:"11",name:"Jennifer Adams",role:"Urban Planner",organization:"City Development",content:"Eye-opening experience seeing how communities create resilient food systems."}],feedback:{rating:4.9,totalResponses:23,highlights:["Community engagement","Local insights","Inspiring initiatives"],suggestions:["Longer tour","More interaction time"]},gallery:["/gallery/event11-1.jpg","/gallery/event11-2.jpg","/gallery/event11-3.jpg","/gallery/event11-4.jpg","/gallery/event11-5.jpg","/gallery/event11-6.jpg","/gallery/event11-7.jpg"],featuredVideos:["https://www.youtube.com/watch?v=g0jmrmWGUJY","https://www.youtube.com/watch?v=fu3elBX5KyY"],videoPodcast:"https://www.youtube.com/embed/h6ALTB-kV20?si=kwzWIWWbDqqoCE7Y"},{id:"12",title:"Bellville Food System Walking Tour",date:"2025-07-08",time:"09:00",attendees:12,category:"Tour",description:"A journey with the team at the Greater Tygerberg Partnership and SAUFFT, showcasing the work being done by the Partnership and the AfriFOODlinks project to develop and support the Bellville informal food system.",heroImage:"/event-12-hero.jpg",testimonials:[{id:"12",name:"Ahmed Hassan",role:"Local Business Owner",organization:"Bellville Markets",content:"Great way to understand the complexity and vibrancy of our local food systems."}],feedback:{rating:4.6,totalResponses:18,highlights:["Understanding and Impact: The tour successfully clarified the relationship between local traders and consumers for all participants. Attendees gained insights into the pan-African culinary diversity and mixing of food cultures in Bellville, developed over the last two decades. One resident noted the experience was a welcome shift from relying on big brand supermarkets, allowing interaction with the local food community","Economic and System Insights: Attendees identified the economic importance of the informal food system at the taxi rank, noting the complexity of interwoven systems and appreciating the aspect of circularityâsuch as traders' food waste being collected and transformed into compost for an urban garden. Discussions also touched on how the language of urban planning often separates informal systems from communities",'Sensory Highlights and Food Diversity: The most memorable sensory moments included the "Smell of cooked meat and eating gizzards" and the "braai at the beginning". While one respondent simply answered "yes" regarding the diversity of food available, another specifically "Expected more diverse African food"',"Project Observation: The walk highlighted existing initiatives by the Greater Tygerberg Partnership (GTP) and AfriFOODlinks, such as the clean water project supporting informal traders for food preparation and dish washing, alongside efforts to help traders achieve compliance and improve infrastru
148cture"],suggestions:[]},gallery:["/gallery/event12-1.jpg","/gallery/event12-2.jpg","/gallery/event12-3.jpg","/gallery/event12-4.jpg","/gallery/event12-5.jpg","/gallery/event12-6.jpg","/gallery/event12-7.jpg","/gallery/event12-8.jpg","/gallery/event12-9.jpg","/gallery/event12-10.jpg"],featuredVideos:["https://www.youtube.com/embed/rAxdCl0TwGk?si=matZSCqEYltFkXjN","https://www.youtube.com/embed/D2PJq0CIjjk?si=ev638imoCB8qyT12"],videoPodcast:"https://www.youtube.com/embed/h6ALTB-kV20?si=fpvvcwhmCD610Sdy"},{id:"13",title:"Cape Town Food Systems Walking Tour",date:"2025-07-10",time:"10:00",attendees:17,category:"Tour",description:"A small group walking tour that revealing the intricate connections and overlays between Cape Town's ecological systems, history and food lineages, from pre-colonial to present day.",heroImage:"/event-13-hero.jpg",testimonials:[{id:"13",name:"Ruth Patel",role:"Food Security Researcher",organization:"UCT Research Institute",content:"Fantastic overview of how urban food systems function in a major city."}],feedback:{rating:4.7,totalResponses:31,highlights:["Understanding and Impact: The tour successfully clarified the relationship between local traders and consumers for all participants. Attendees gained insights into the pan-African culinary diversity and mixing of food cultures in Bellville, developed over the last two decades. One resident noted the experience was a welcome shift from relying on big brand supermarkets, allowing interaction with the local food community","Economic and System Insights: Attendees identified the economic importance of the informal food system at the taxi rank, noting the complexity of interwoven systems and appreciating the aspect of circularityâsuch as traders' food waste being collected and transformed into compost for an urban garden. Discussions also touched on how the language of urban planning often separates informal systems from communities",'Sensory Highlights and Food Diversity: The most memorable sensory moments included the "Smell of cooked meat and eating gizzards" and the "braai at the beginning". While one respondent simply answered "yes" regarding the diversity of food available, another specifically "Expected more diverse African food"',"Project Observation: The walk highlighted existing initiatives by the Greater Tygerberg Partnership (GTP) and AfriFOODlinks, such as the clean water project supporting informal traders for food preparation and dish washing, alongside efforts to help traders achieve compliance and improve infrastru
148cture"],suggestions:["More rest stops","Printed materials"]},gallery:["/gallery/event13-1.jpg","/gallery/event13-2.jpg","/gallery/event13-3.jpg","/gallery/event13-4.jpg","/gallery/event13-5.jpg","/gallery/event13-6.jpg","/gallery/event13-7.jpg","/gallery/event13-8.jpg","/gallery/event13-9.jpg","/gallery/event13-10.jpg","/gallery/event13-11.jpg"],featuredVideos:["https://www.youtube.com/embed/DPL7LWmMnA0?si=Av8pM-j3tq_zmV8F"],videoPodcast:"https://www.youtube.com/embed/h6ALTB-kV20?si=SBcWJ9p_q50zqJQ7"},{id:"14",title:"Between the Lines with Kim Bagley",date:"2025-07-11",time:"19:00",attendees:30,category:"Literature",description:"Literary evening exploring food narratives and storytelling with author Kim Bagley.",heroImage:"/event-14-hero.jpg",testimonials:[{id:"14",name:"Rebecca Smith",role:"Literature Professor",organization:"Stellenbosch University",content:"Kim's insights into food storytelling were both profound and entertaining."}],feedback:{rating:4.8,totalResponses:48,highlights:["Engaging storytelling","Literary insights","Intimate setting"],suggestions:["Book signing","Discussion time"]},gallery:["/gallery/event14-1.jpg","/gallery/event14-2.jpg","/gallery/event14-3.jpg","/gallery/event14-4.jpg","/gallery/event14-5.jpg","/gallery/event14-6.jpg","/gallery/event14-7.jpg","/gallery/event14-8.jpg","/gallery/event14-9.jpg","/gallery/event14-10.jpg","/gallery/event14-11.jpg","/gallery/event14-12.jpg","/gallery/event14-13.jpg","/gallery/event14-14.jpg","/gallery/event14-15.jpg","/gallery/event14-16.jpg"],featuredVideos:["https://www.youtube.com/embed/nf5MVkR991k?si=SjHpdmdfxNih1BXR","https://www.youtube.com/embed/E_1LPfso018?si=5SHfMJZgdkxvZvPE"],videoPodcast:"https://www.youtube.com/embed/P1BqzNu4adA?si=giQ2ftE11XIQyEdR"},{id:"15",title:"Human Intelligence Tour",date:"2025-07-11",time:"14:00",attendees:6,category:"Tour",description:"Museum tour exploring human intelligence evolution and its relationship with food systems.",heroImage:"/event-15-hero-v2.jpg?v=1",testimonials:[{id:"15",name:"Dr. Peter Morgan",role:"Anthropologist",organization:"South African Museum",content:"Fascinating connection between human evolution and our food systems development."}],feedback:{rating:4.6,totalResponses:36,highlights:["Educational content","Museum setting","Expert guidance"],suggestions:["Interactive elements","More time"]},gallery:["/placeholder-gallery/museum-1.jpg","/placeholder-gallery/museum-2.jpg"],featuredVideos:["https://www.youtube.com/watch?v=-41ccLkwMRQ","https://www.youtube.com/watch?v=g3W8A1Fw1ZA","https://youtu.be/ynSNtTHZOnY"],videoPodcast:"https://www.youtube.com/embed/V07oaXfV93c?si=p_SbxtLnsfj6v8pu"},{id:"16",title:"AI and Data Power for Food Founders Masterclass",date:"2025-07-16",time:"09:00",attendees:21,category:"Masterclass",description:"Intensive masterclass for food startup founders on leveraging AI and data analytics.",heroImage:"/event-16-hero.jpg",testimonials:[{id:"16",name:"Carlos Rivera",role:"Startup Founder",organization:"FoodTech Innovations",content:"Practical tools and strategies that I can immediately apply to my food startup."}],feedback:{rating:4.9,totalResponses:47,highlights:["Practical application","Expert instruction","Valuable networking"],suggestions:["Follow-up sessions","Resource materials"]},gallery:["/gallery/event16-1.jpg","/gallery/event16-2.jpg","/gallery/event16-3.jpg","/gallery/event16-4.jpg","/gallery/event16-5.jpg","/gallery/event16-6.jpg","/gallery/event16-7.jpg","/gallery/event16-8.jpg"]},{id:"17",title:"Food System Financing Roundtable",date:"2025-07-17",time:"14:00",attendees:21,category:"Conference",description:"Roundtable discussion on financing mechanisms for sustainable food system development.",heroImage:"/event-17-hero.jpg",testimonials:[{id:"17",name:"Hannah Lee",role:"Impact Investor",organization:"Green Capital Fund",content:"Valuable insights into funding opportunities for sustainable food initiatives."}],feedback:{rating:4.7,totalResponses:58,highlights:["Investment insights","Network building","Strategic discussions"],suggestions:["More investor participation","Follow-up meetings"]},gallery:["/gallery/event17-1.jpg","/gallery/event17-2.jpg","/gallery/event17-3.jpg","/gallery/event17-4.jpg","/gallery/event17-5.jpg","/gallery/event17-6.jpg","/gallery/event17-7.jpg","/gallery/event17-8.jpg","/gallery/event17-9.jpg","/gallery/event17-10.jpg","/gallery/event17-11.jpg","/gallery/event17-12.jpg"]},{id:"18",title:"Tea with a Farmer Lerotholi Urban Farm",date:"2025-07-19",time:"15:00",attendees:2,category:"Tour",description:"Intimate farm visit and tea session with urban farmers in Langa.",heroImage:"/event-18-hero.jpg",testimonials:[{id:"18",name:"Mary Johnson",role:"Community Member",organization:"Langa Resident",content:"Beautiful experience connecting with local farmers and learning about urban agriculture."}],feedback:{rating:4.9,totalResponses:14,highlights:["Personal connection","Farm-to-table experience","Community focus"],suggestions:["Longer visits","Seasonal offerings"]},gallery:["/gallery/event18-1.jpg","/gallery/event18-2.jpg","/gallery/event18-3.jpg","/gallery/event18-4.jpg","/gallery/event18-5.jpg","/gallery/event18-6.jpg","/gallery/event18-7.jpg"]},{id:"19",title:"Tea with a Farmer OZCF",date:"2025-07-19",time:"16:00",attendees:5,category:"Tour",description:"Farm visit and tea experience at Oranjezicht City Farm with local farmers.",heroImage:"/event-19-hero.jpg",testimonials:[{id:"19",name:"Tom Bradley",role:"Urban Farming Enthusiast",organization:"Community Gardener",content:"Inspiring to see how urban farming can thrive in the heart of the city."}],feedback:{rating:4.8,totalResponses:16,highlights:["Urban farming insights","Peaceful setting","Quality time with farmers"],suggestions:["Hands-on activities","Recipe sharing"]},gallery:["/gallery/event19-ozcf.jpg","/gallery/event19-1.jpg","/gallery/event19-2.jpg","/gallery/event19-3.jpg","/gallery/event19-4.jpg"]}],Dj="/lovable-uploads/1e89bb7c-1952-4c47-b0ec-0555b7fd0fae.png",zj=()=>{const e=["1","3","4","5","9","10"],t=Ft.filter(r=>e.includes(r.id)),n=594;return Ft.reduce((r,o)=>r+o.feedback.rating,0)/Ft.length,a.jsxs("div",{className:"space-y-12",children:[a.jsxs("section",{className:"relative overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 organic-bg opacity-50"}),a.jsx("div",{className:"container mx-auto px-4 py-16 lg:py-24 relative",children:a.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[a.jsxs("div",{className:"space-y-6 hero-fade-in",children:[a.jsxs("h1",{className:"text-4xl lg:text-6xl font-bold tracking-tight",children:["Food Indaba 2025",a.jsx("span",{className:"block text-muted-foreground text-2xl lg:text-3xl mt-2",children:"Event Dashboard"})]}),a.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl",children:"Multimedia rich insights and perspectives from the 2025 AI and the Food System themed Food Indaba. There are photo galleries, videos, podcasts and participant feedback for each event. "}),a.jsx("div",{className:"flex flex-wrap gap-4",children:a.jsx(co,{asChild:!0,size:"lg",children:a.jsx(zt,{to:"/events",children:"View All Events"})})})]}),a.jsx("div",{className:"relative",children:a.jsx("img",{src:Dj,alt:"AI and the Food System - Food Indaba 2025",className:"rounded-lg shadow-2xl w-full"})})]})})]}),a.jsx("section",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:[a.jsxs(z,{children:[a.jsxs(V,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[a.jsx(U,{className:"text-sm font-medium",children:"Total Events"}),a.jsx(_s,{className:"h-4 w-4 text-muted-foreground"})]}),a.jsxs($,{children:[a.jsx("div",{className:"text-2xl font-bold",children:Ft.length}),a.jsx("p",{className:"text-xs text-muted-foreground",children:"Across 14 days"})]})]}),a.jsxs(z,{children:[a.jsxs(V,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[a.jsx(U,{className:"text-sm font-medium",children:"Total Attendees"}),a.jsx(Ds,{className:"h-4 w-4 text-muted-foreground"})]}),a.jsxs($,{children:[a.jsx("div",{className:"text-2xl font-bold",children:n.toLocaleStr
148ing()}),a.jsx("p",{className:"text-xs text-muted-foreground",children:"Across all sessions"})]})]}),a.jsxs(z,{children:[a.jsxs(V,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[a.jsx(U,{className:"text-sm font-medium",children:"Social Media Reach"}),a.jsx(Jd,{className:"h-4 w-4 text-muted-foreground"})]}),a.jsxs($,{children:[a.jsx("div",{className:"text-2xl font-bold",children:"772,000"}),a.jsx("p",{className:"text-xs text-muted-foreground",children:"Engagements"})]})]}),a.jsxs(z,{children:[a.jsxs(V,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[a.jsx(U,{className:"text-sm font-medium",children:"Total Hours of Engagement"}),a.jsx(Xd,{className:"h-4 w-4 text-muted-foreground"})]}),a.jsxs($,{children:[a.jsx("div",{className:"text-2xl font-bold",children:"1,754"}),a.jsx("p",{className:"text-xs text-muted-foreground",children:"Hours"})]})]}),a.jsxs(z,{children:[a.jsxs(V,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[a.jsx(U,{className:"text-sm font-medium",children:"Event Partners"}),a.jsx(Ds,{className:"h-4 w-4 text-muted-foreground"})]}),a.jsxs($,{children:[a.jsx("div",{className:"text-2xl font-bold",children:"21"}),a.jsx("p",{className:"text-xs text-muted-foreground",children:"Organizations"})]})]}),a.jsxs(z,{children:[a.jsxs(V,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[a.jsx(U,{className:"text-sm font-medium",children:"Featured Contributors"}),a.jsx(Jd,{className:"h-4 w-4 text-muted-foreground"})]}),a.jsxs($,{children:[a.jsx("div",{className:"text-2xl font-bold",children:"47"}),a.jsx("p",{className:"text-xs text-muted-foreground",children:"Speakers & experts"})]})]}),a.jsxs(z,{children:[a.jsxs(V,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[a.jsx(U,{className:"text-sm font-medium",children:"Audience Reach"}),a.jsx(Xd,{className:"h-4 w-4 text-muted-foreground"})]}),a.jsxs($,{children:[a.jsx("div",{className:"text-2xl font-bold",children:"122 million"}),a.jsx("p",{className:"text-xs text-muted-foreground",children:"Media campaign"})]})]}),a.jsxs(z,{children:[a.jsxs(V,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[a.jsx(U,{className:"text-sm font-medium",children:"SMMEs supported"}),a.jsx(_s,{className:"h-4 w-4 text-muted-foreground"})]}),a.jsxs($,{children:[a.jsx("div",{className:"text-2xl font-bold",children:"46"}),a.jsx("p",{className:"text-xs text-muted-foreground",children:"Cape Town"})]})]})]})}),a.jsxs("section",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"text-center mb-8",children:[a.jsx("h2",{className:"text-3xl font-bold mb-4",children:"Event Categories"}),a.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"Our diverse programme includes keynotes, workshops, panels, and interactive discussions."})]}),a.jsx("div",{className:"flex flex-wrap justify-center gap-3",children:["Masterclass","Panel Discussion","Tour","Cooking Workshop","Conference","Literature","Dining"].map(r=>a.jsx(zt,{to:`/category/${encodeURIComponent(r)}`,children:a.jsx(xa,{variant:"outline",className:"px-4 py-2 hover:bg-accent hover:text-accent-foreground cursor-pointer transition-colors",children:r})},r))})]}),a.jsxs("section",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"flex items-center justify-between mb-8",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-3xl font-bold mb-2",children:"Featured Events"}),a.jsx("p",{className:"text-muted-foreground",children:"Highlights from our most impactful sessions"})]}),a.jsx(co,{asChild:!0,variant:"outline",children:a.jsx(zt,{to:"/events",children:"View All"})})]}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:t.map(r=>a.jsx(Eu,{id:r.id,title:r.title,date:r.date,time:r.time,attendees:r.attendees,category:r.category,description:r.description,image:r.heroImage},r.id))})]}),a.jsxs("section",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"text-center mb-8",children:[a.jsx("h2",{className:"text-3xl font-bold mb-4",children:"Food Indaba Language Model"}),a.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"Click to explore our Food Indaba 2026 Small Language Model. Use the chatbot to ask questions about the programme, access reporting documents, audio and video podcasts and detailed analysis. Access to the Model requires a Google account. "})]}),a.jsx("div",{className:"flex justify-center",children:a.jsx("a",{href:"https://notebook.google.com/notebook/0047d016-9041-47ae-940e-dfce9111c2d7",target:"_blank",rel:"noopener noreferrer",className:"transition-transform hover:scale-105",children:a.jsx("img",{src:"/notebooklm-screenshot.png",alt:"Food Indaba 2025 NotebookLM - reporting package with AI chatbot for exploring event documentation, podcasts, and analysis",className:"w-full max-w-5xl rounded-lg shadow-lg"})})})]}),a.jsxs("section",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"text-center mb-8",children:[a.jsx("h2",{className:"text-3xl font-bold mb-4",children:"Our Partners"}),a.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"Food Indaba 2025 is made possible through collaboration with our valued partners"})]}),a.jsx("div",{className:"flex justify-center",children:a.jsx("img",{src:"/partners-logo.jpg",alt:"Food Indaba 2025 Partners including South African Urban Food and Farming Trust, SOLVE, DSI-NRF Centre of Excellence in Food Security, SA Chef Media, Cape Town TV, UNESCO, Daily Maverick, Global Center on AI Governance, Cape Town Science Centre, Deep Learning Indaba, University of Pretoria, The Greater Tygerberg Partnership, Food Justice, and many more",className:"w-full max-w-5xl rounded-lg shadow-lg"})})]})]})},Ag=x.forwardRef(({className:e,type:t,...n},r)=>a.jsx("input",{type:t,className:Te("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:r,...n}));Ag.displayName="Input";const $j=()=>
148{const[e,t]=x.useState(""),[n,r]=x.useState("All"),o=["All",...Array.from(new Set(Ft.map(s=>s.category)))],i=Ft.filter(s=>{const l=s.title.toLowerCase().includes(e.toLowerCase())||s.description.toLowerCase().includes(e.toLowerCase()),c=n==="All"||s.category===n;return l&&c});return a.jsxs("div",{className:"container mx-auto px-4 py-8 space-y-8",children:[a.jsxs("div",{className:"text-center space-y-4",children:[a.jsx("h1",{className:"text-4xl font-bold",children:"All Events"}),a.jsxs("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:["Comprehensive reports from all ",Ft.length," sessions at Food Indaba 2025."]})]}),a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{className:"relative max-w-md",children:[a.jsx(y0,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-muted-foreground h-4 w-4"}),a.jsx(Ag,{placeholder:"Search events...",value:e,onChange:s=>t(s.target.value),className:"pl-10"})]}),a.jsx("div",{className:"flex flex-wrap gap-2",children:o.map(s=>a.jsx(xa,{variant:n===s?"default":"outline",className:"cursor-pointer",onClick:()=>r(s),children:s},s))})]}),a.jsxs("div",{className:"text-sm text-muted-foreground",children:["Showing ",i.length," of ",Ft.length," events"]}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:i.map(s=>a.jsx(Eu,{id:s.id,title:s.title,date:s.date,time:s.time,attendees:s.attendees,category:s.category,description:s.description,image:s.heroImage},s.id))}),i.length===0&&a.jsx("div",{className:"text-center py-12",children:a.jsx("p",{className:"text-lg text-muted-foreground",children:"No events found matching your criteria."})})]})};function Bj({images:e,currentIndex:t,onClose:n,onNavigate:r,altPrefix:o="Gallery image"}){x.useEffect(()=>{const l=u=>{u.key==="Escape"&&n()},c=u=>{u.key==="ArrowLeft"&&t>0&&r(t-1),u.key==="ArrowRight"&&t<e.length-1&&r(t+1)};return document.addEventListener("keydown",l),document.addEventListener("keydown",c),document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",l),document.removeEventListener("keydown",c),document.body.style.overflow="unset"}},[n,r,t,e.length]);const i=()=>{t>0&&r(t-1)},s=()=>{t<e.length-1&&r(t+1)};return a.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/90 animate-fade-in",onClick:n,children:[a.jsx("button",{onClick:n,className:"absolute top-4 right-4 p-2 rounded-full bg-background/10 hover:bg-background/20 text-white transition-colors z-10","aria-label":"Close lightbox",children:a.jsx(hu,{className:"h-6 w-6"})}),t>0&&a.jsx("button",{onClick:l=>{l.stopPropagation(),i()},className:"absolute left-4 p-2 rounded-full bg-background/10 hover:bg-background/20 text-white transition-colors z-10","aria-label":"Previous image",children:a.jsx(m0,{className:"h-8 w-8"})}),t<e.length-1&&a.jsx("button",{onClick:l=>{l.stopPropagation(),s()},className:"absolute right-4 p-2 rounded-full bg-background/10 hover:bg-background/20 text-white transition-colors z-10","aria-label":"Next image",children:a.jsx(g0,{className:"h-8 w-8"})}),a.jsxs("div",{className:"absolute top-4 left-4 px-3 py-1 rounded-full bg-background/10 text-white text-sm z-10",children:[t+1," / ",e.length]}),a.jsx("div",{className:"relative max-w-7xl max-h-[90vh] w-full h-full flex items-center justify-center p-4",onClick:l=>l.stopPropagation(),children:a.jsx("img",{src:e[t],alt:`${o} ${t+1}`,className:"max-w-full max-h-full object-contain animate-scale-in"})})]})}const Vj="/assets/event-hero-DgrzGySR.jpg",Uj="/assets/event-3-hero-C9h13oxa.jpg",Wj=()=>{var h,p;const{id:e}=Eg(),t=Ft.find(f=>f.id===e),[n,r]=x.useState(!1),[o,i]=x.useState(0),[s,l]=x.useState([]);if(!t)return a.jsxs("div",{className:"container mx-auto px-4 py-16 text-center",children:[a.jsx("h1",{className:"text-2xl font-bold mb-4",children:"Event Not Found"}),a.jsx(co,{asChild:!0,children:a.jsx(zt,{to:"/events",children:"Back to Events"})})]});const c=f=>{if(!f)return"";if(f.includes("youtube.com/embed/"))return f;if(f.startsWith("http")){try{const d=new URL(f);if(d.hostname.includes("youtu.be")){const g=d.pathname.slice(1),m=d.searchParams.toString();return`https://www.youtube.com/embed/${g}${m?`?${m}`:""}`}const y=d.searchParams.get("v"),w=new URLSearchParams(d.searchParams);if(y){w.delete("v");const g=w.toString();return`https://www.youtube.com/embed/${y}${g?`?${g}`:""}`}}catch{}return f}return`https://www.youtube.com/embed/${f}`},u=e==="1"?Vj:e==="2"?"/event-2-hero.jpg":e==="3"?Uj:e==="4"?"/event-4-hero.jpg":e==="5"?"/event-5-hero.jpg":e==="8"?"/event-8-hero.jpg":e==="9"?"/event-9-hero.jpg":e==="11"?"/event-11-hero.jpg":e==="12"?"/event-12-hero.jpg":e==="13"?"/event-13-hero.jpg":e==="14"?"/event-14-hero.jpg":e==="15"?"/event-15-hero-v2.jpg?v=1":t.heroImage;return a.jsxs("div",{className:"space-y-8",children:[a.jsx("div",{className:"border-b pb-4",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsx(co,{variant:"ghost",asChild:!0,className:"mb-4",children:a.jsxs(zt,{to:"/events",children:[a.jsx(Em,{className:"mr-2 h-4 w-4"}),"Back to Events"]})})})}),a.jsx("section",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"flex items-center gap-4 flex-wrap",children:[a.jsx(xa,{variant:"secondary",children:t.category}),a.jsxs("div",{className:"flex items-center text-sm text-muted-foreground gap-4",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(_s,{className:"mr-1 h-4 w-4"}),new Date(t.date).toLocaleDateString()]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(Pm,{className:"mr-1 h-4 w-4"}),t.time]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(Ds,{className:"mr-1 h-4 w-4"}),t.attendees," attendees"]})]})]}),a.jsx("h1",{className:"text-4xl lg:text-5xl font-bold",children:e==="1"?"Reverse Engineering AI - Food Indaba Opening Dinner":e==="2"?"Closing Lunch":t.title}),a.jsx("p",{className:"text-lg text-muted-foreground max-w-3xl mx-auto",children:e==="8"?"The Glocal Table was an intimate dining event with 27 guests at The Residency at Makers Landing.":e==="9"?"The first ever Food Indaba Chef's Summit was presented in collaboration with the Chef's Manifesto and the SA Chef's Association. The Summit took place at Makers Landing at the V&A Waterfront.":t.description})]})}),(e==="1"||e==="2"||e==="3"||e==="4"||e==="5"||e==="6"||e==="7"||e==="8"||e==="9"||e==="10"||e==="11"||e==="12"||e==="13"||e==="14"||e==="15"||e==="16"||e==="17"||e==="18"||e==="19")&&u&&a.jsx("section",{className:"container mx-auto px-4",children:a.jsx("div",{className:"rounded-lg overflow-hidden",children:a.jsx("img",{src:u,alt:t.title,className:"w-full h-[500px] object-cover"})})}),e==="16"&&a.jsx("section",{className:"container mx-auto px-4",children:a.jsx("div",{className:"bg-muted/30 p-8 rounded-lg",children:a.jsx("p",{className:"text-lg leading-relaxed",children:'A practical introduction to AI tools combined with critical exploration of data ownership and power in food systems. Participants learned to use AI responsibly while understanding how to shape the models that will define our food future. The session emphasized hands-on t
148ips and tricks that can be immediately applied to save time and "do more with less".'})})}),e==="16"&&a.jsx("section",{className:"container mx-auto px-4",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Video Highlights"})}),a.jsx($,{children:a.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden",children:a.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/1IF6DqGP4Gc?si=0JJXaBBM9zy2EmzS",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})}),a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden",children:a.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/WLgbTLjHfAg?si=cKx0lxnRoYV_oBbT",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})})]})})]})}),e==="10"&&a.jsx("section",{className:"container mx-auto px-4 mt-12",children:a.jsxs("div",{className:"prose prose-lg max-w-4xl mx-auto text-muted-foreground",children:[a.jsx("p",{className:"leading-relaxed",children:"A private tour of the HUMANITY exhibition at Iziko South African Museum with curator Dr Wendy Black, using a food lens to look back at human origins. The exhibition reimagines the story of human evolution as centred on the diversity of humans today and how we came to be that way, without the colonial paleoanthropological lens. It focuses on the rich record of people found in South Africa and Africa. In doing so, it reimagines our origins as a story of intelligence, creativity, and endurance."}),a.jsx("p",{className:"leading-relaxed mt-6",children:"The Summit featured Roberto de Carvalho, Executive Chef at the Cape Town International Convention Centre (CTICC), Alison Evans, Head of Waste Markets for the City of Cape Town, Melanie Ludwig, owner of Zero to Landfill Organics and a founding member of the Organics Recycling Association of South Africa (Orasa), Petro Myburgh, Head of Sustainability at the V&A Waterfront. Zukiswa Pikoli, Managing Editor for News and Maverick Citizen, moderated the panel."})]})}),e==="15"&&a.jsx("section",{className:"container mx-auto px-4 mt-12",children:a.jsx("div",{className:"prose prose-lg max-w-4xl mx-auto text-muted-foreground",children:a.jsx("p",{className:"leading-relaxed",children:"A private tour of the HUMANITY exhibition at Iziko South African Museum with curator Dr Wendy Black, using a food lens to look back at human origins. The exhibition reimagines the story of human evolution as centred on the diversity of humans today and how we came to be that way, without the colonial paleoanthropological lens. It focuses on the rich record of people found in South Africa and Africa. In doing so, it reimagines our origins as a story of intelligence, creativity, and endurance."})})}),e==="1"&&a.jsx("section",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"prose prose-lg max-w-4xl mx-auto text-muted-foreground",children:[a.jsx("p",{className:"leading-relaxed",children:"Presented by Chef Vusi Ndlovu of Edge x Vue Restaurant in Cape Town, the Food Indaba opening dinner was a delicious celebration of the culinary stories and traditions that have been passed down through generations of Africans, and that haven't yet reached the large language models that are driving the next phase of our global economy. Vusi chose to use the opening dinner as a means of training AI in ways of working with African ingredients, as opposed to asking AI to suggest menu items based on ingredients. The menu opened with a Joloff consommé cocktail, a reimagining of the iconic West African dish as a welcome drink, that no LLM could have arrived at, because the idea of the cocktail defies any rational pattern recognition logic."}),a.jsx("p",{className:"leading-relaxed mt-6",children:"53 people attended, all invited guests that played a role in the 2025 programme, from keynote speakers and hosts to funders and strategic partners. Each year's opening dinner sets the tone for the two week programme as a whole."})]})}),e==="9"&&a.jsx("section",{className:"container mx-auto px-4",children:a.jsx(z,{children:a.jsx($,{className:"pt-6",children:a.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed",children:t.description})})})}),e==="3"&&a.jsx("section",{className:"container mx-auto px-4",children:a.jsx("div",{className:"prose prose-lg max-w-4xl mx-auto text-muted-foreground",children:a.jsx("p",{className:"leading-relaxed",children:"The conference featured a selection of AI thought leaders including Vukosi Marivate (Dept of Computer Science, University of Pretoria, Deep Learning Indaba, Data Science for Social Impact Research Group), Dr Clement Nyirenda (Centre of Excellence in Food Security, University of the Western Cape), Dr Frederic Izingizwe (Centre of Excellence in Food Security, University of the Western Cape), Dr Mpho Primus (Institute for Intelligent Systems, University of Johannesburg), Mark Gaffley (Global Centre on AI Governance), JX Gumede (JX & Co). Miles Khubeka of the Wakanda Food Accelerator was the MC. Their presentations are available in the video gallery."})})}),e==="4"&&a.jsx("section",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"bg-muted/30 p-8 rounded-lg space-y-6",children:[a.jsx("p",{className:"text-lg leading-relaxed",children:"How do we shape AI to serve humanityâespecially African food systems? This session explored AI's dual nature: unlocking opportunity while potentially reinforcing inequity or erasing marginalised knowledge."}),a.jsxs("p",{className:"text-lg leading-relaxed",children:[a.jsx("strong",{children:"Core Questions:"})," How do we ask the right questions to guide AI development? What does AI transition mean for African food systems? How can AI amplify Black and African knowledge rather than silence it?"]}),a.jsx("p",{className:"text-lg leading-relaxed",children:"The webinar was streamed from Cape Town TV's Studio One in Observatory Cape Town. The host was Khanya Mncwabe, the CEO and co-founder of Matawi. The panelists and speakers included:"}),a.jsxs("ul",{className:"text-lg leading-relaxed list-disc pl-6 space-y-2",children:[a.jsx("li",{children:"Alison Pulker, a research assistant and food researcher at the African Centre for Cities."}),a.jsx("li",{children:"Dr Anesu Makina, a Postdoctoral Research Fellow at the African Centre for Cities."}),a.jsx("li",{children:"Gareth Haysom, a senior researcher and urban food systems researcher at the African Centre for Cities (UCT)."}),a.jsx("li",{children:"Associate Professor Ndeyapo Nickanor from the University of Namibia."})]})]})}),e==="5"&&a.jsx("section",{className:"container mx-auto px-4",children:a.jsx("div",{className:"bg-gray-50 rounded-lg p-8",children:a.jsx("p",{className:"text-lg leading-relaxed text-muted-foreground",children:"Food Indaba partnered with the Cape Town Science Centre and Tapi Tapi Ice Cream to produce a two part series of ice cream making workshops for kids aged 6 to 12. The kids learned flavour science, working with hibiscus, rooibos and mphepho plants to create their own delicious ice creams. The workshops were facilitated by Tapi Tapi Ice Creams Maria Gakenye, and indigenous plant specialist and farmer Nomalanga Ruiters. The events were sold out!"})})}),e==="11"&&a.jsx("section",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"prose prose-lg max-w-4xl mx-auto text-muted-foreground",children:[a.jsx("p",{className:"leading-relaxed",children:"A small group journey to the heart of the Langa food system."}),a.jsx("p",{className:"leading-relaxed mt-6",children:"Langa constitutes the geographic centre of the City of Cape Town metropole, and what was established to be on the margins now holds a
148significant central role."}),a.jsx("p",{className:"leading-relaxed mt-6",children:"On this walking tour participants get inside the Langa food system, learning about policy, trade, market access, supply chain nuances, identity and the tension between trader desire and city economic development goals."})]})}),e==="12"&&a.jsx("section",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"bg-muted/30 p-8 rounded-lg space-y-6",children:[a.jsx("p",{className:"text-lg leading-relaxed",children:"A journey with the team at the Greater Tygerberg Partnership and SAUFFT, showcasing the work being done by the Partnership and the AfriFOODlinks project to develop and support the Bellville informal food system, and understand the relationship between food, waste, culture, identity and political will."}),a.jsx("p",{className:"text-lg leading-relaxed",children:"Bellville is the city's largest commercial centre, located about 20km away from the Cape Town CBD. Bellville acts as a central transport node for the city, and is considered a Pan-African food hub."}),a.jsx("p",{className:"text-lg leading-relaxed",children:"The exploration begins with the Bellville informal trade market at the taxi rank, sampling foods, engaging with traders, learning about the goods being traded, and follows the journey of waste created at the market down the road to the waste sorting site, and finally the urban farm that is fertilised by the market's organic waste. The walk ends with a herbal tea."})]})}),e==="7"&&a.jsx("section",{className:"container mx-auto px-4",children:a.jsx("div",{className:"bg-muted/30 p-8 rounded-lg",children:a.jsx("p",{className:"text-lg leading-relaxed text-center",children:`"In a time where artificial intelligence dominates our future narratives, we return to the oldest intelligence we know - the soil. Mushrooms as the interface. Ritual is our algorithm." This was Motheo's starting point for a six course fungi menu that celebrated the intelligence of the soil and ancestral culinary intelligence passed down through oral traditions from generation to generation.`})})}),e==="8"&&a.jsx("section",{className:"container mx-auto px-4",children:a.jsx("div",{className:"bg-muted/30 p-8 rounded-lg",children:a.jsx("p",{className:"text-lg leading-relaxed",children:"Tarryn de Kock's sold out dining experience explored how the Columbian Exchange reshaped African cuisines. Diners learned how ingredients we consider authentically African todayâtomatoes, maize, chilliesâactually traveled from distant continents to become deeply local. The menu traveled through six African nations uncovering culinary intelligence, knowledge, and histories through carefully curated tastings and interactive storytelling."})})}),e==="13"&&a.jsx("section",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"bg-muted/30 p-8 rounded-lg space-y-6",children:[a.jsx("p",{className:"text-lg leading-relaxed",children:"A small group walking tour that revealing the intricate connections and overlays between Cape Town's ecological systems, history and food lineages, from pre-colonial to present day."}),a.jsx("p",{className:"text-lg leading-relaxed",children:"Created by the SAUFFT and the tour guides hosting, in collaboration with historian and former head of the Western Cape Economic Development Partnership, Andrew Boraine, the tour sheds light on how history shapes the modern-day food system in Cape Town and how the contemporary city shapes our interactions with food."}),a.jsx("p",{className:"text-lg leading-relaxed",children:"The walk took participants on a loop through the city starting at Heritage Square, taking in locations such as Greenmarket Square, the station deck, the Golden Acre and the Company's Gardens."})]})}),e==="14"&&a.jsx("section",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"bg-muted/30 p-8 rounded-lg space-y-6",children:[a.jsx("p",{className:"text-lg leading-relaxed",children:"In partnership with the Book Lounge, the Food Indaba presented a conversation with Tik Tok sensation and cook book writer Kim Bagley."}),a.jsx("p",{className:"text-lg leading-relaxed",children:"Kim's new book 'Cooking with Kim Bagley: A South African Fusion of Flavours' was published in June this year by Human & Rousseau."}),a.jsx("p",{className:"text-lg leading-relaxed",children:"Zukiswa Pikoli, managing editor of the Daily Maverick News and Maverick Citizen, facilitated the conversation."})]})}),e==="15"&&t.featuredVideos&&t.featuredVideos.length>0&&a.jsx("section",{className:"container mx-auto px-4 pb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Featured Videos"})}),a.jsx($,{children:a.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:t.featuredVideos.map((f,d)=>a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden",children:a.jsx("iframe",{width:"100%",height:"100%",src:c(f),title:`Featured Video ${d+1}`,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;
148 web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})},d))})})]})}),e!=="2"&&e!=="3"&&e!=="4"&&e!=="7"&&e!=="8"&&e!=="9"&&e!=="13"&&e!=="14"&&e!=="17"&&e!=="18"&&a.jsx("section",{className:"container mx-auto px-4",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:e==="10"||e==="11"||e==="12"||e==="13"||e==="15"||e==="16"||e==="19"?"Participant Feedback":"Participant Testimonials"})}),a.jsx($,{className:"space-y-6",children:e==="1"?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"border-l-4 border-primary pl-6",children:a.jsx("blockquote",{className:"text-lg italic mb-3",children:'"It was my first time ever experiencing a dish where I feel represented and part of it."'})}),a.jsx("div",{className:"border-l-4 border-primary pl-6",children:a.jsx("blockquote",{className:"text-lg italic mb-3",children:'"The controversial amasi was the most vibrant dish."'})}),a.jsx("div",{className:"border-l-4 border-primary pl-6",children:a.jsx("blockquote",{className:"text-lg italic mb-3",children:'"I loved EVERY moment."'})}),a.jsx("div",{className:"border-l-4 border-primary pl-6",children:a.jsx("blockquote",{className:"text-lg italic mb-3",children:'"I imagine AI improving my own food-related interests by providing better knowledge of African food."'})}),a.jsx("div",{className:"border-l-4 border-primary pl-6",children:a.jsx("blockquote",{className:"text-lg italic mb-3",children:'"AI could reduce food waste, improve sustainability metrics, or enhance creativity. The African experience has a lot to teach AI though."'})})]}):e==="11"?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"border-l-4 border-primary pl-6",children:a.jsxs("blockquote",{className:"text-lg mb-3",children:[a.jsx("strong",{children:"Understanding and Impact:"}),' All respondents reported a better understanding of the term "informal food systems" after the tour. Attendees gained clarity on complicated issues like policy, market access, and identity within Langa. One respondent noted the tour effectively highlighted the industrialized and commodified process of food accessibility and affordability resulting from colonial and current food system decisions.']})}),a.jsx("div",{className:"border-l-4 border-primary pl-6",children:a.jsxs("blockquote",{className:"text-lg mb-3",children:[a.jsx("strong",{children:"Experience Highlights:"})," Participants highly rated the engagement, with 66.7% expressing the highest level of satisfaction. Memorable sensory moments included the smell of braai meat, the tasting of daltjie, and witnessing the clearing and improvement of the sheep head meat trader area. The tour started at the 16 on Lerotholi Arts Gallery, where participants had amagwinya (fat cakes) and tea."]})}),a.jsx("div",{className:"border-l-4 border-primary pl-6",children:a.jsxs("blockquote",{className:"text-lg mb-3",children:[a.jsx("strong",{children:"Food System Insights:"})," Attendees acknowledged the diversity of food available, noting a strong focus on meat within the easily accessible food sources, and observed the difficulty local community gardens face connecting with sellers. The tour is designed to specifically explore Langa's food system, covering policy, trade, and supply chain nuances."]})}),a.jsx("div",{className:"border-l-4 border-primary pl-6",children:a.jsxs("blockquote",{className:"text-lg mb-3",children:[a.jsx("strong",{children:"Suggestions:"})," Some attendees requested more food tasting. The slow, walking method of engaging with Langa was appreciated."]})})]}):e==="12"?a.jsx(a.Fragment,{children:(h=t.feedback)==null?void 0:h.highlights.map((f,d)=>a.jsx("div",{className:"border-l-4 border-primary pl-6",children:a.jsx("blockquote",{className:"text-lg mb-3",children:f})},d))}):e==="13"?a.jsx(a.Fragment,{children:(p=t.feedback)==null?void 0:p.highlights.map((f,d)=>a.jsx("div",{className:"border-l-4 border-primary pl-6",children:a.jsx("blockquote",{className:"text-lg mb-3",children:f})},d))}):e==="15"?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"border-l-4 border-primary pl-6",children:a.jsxs("blockquote",{className:"text-lg mb-3",children:[a.jsx("strong",{children:"Key Takeaways and Concepts:"})," The tour successfully used a food lens to explore human origins, moving past colonial interpretations."]})}),a.jsx("div",{className:"border-l-4 border-primary pl-6",children:a.jsx("blockquote",{className:"text-lg mb-3",children:"The tour clarified the profound connection between ancient human dietary practices and evolution. Attendees noted that the evolution of our bodies and brains was based on changes in diet, particularly with the introduction of fire."})}),a.jsx("div",{className:"border-l-4 border-primary pl-6",children:a.jsxs("blockquote",{className:"text-lg mb-3",children:[a.jsx("strong",{children:"New perspectives gained included:"}),a.jsxs("ul",{className:"list-disc pl-6 mt-2",children:[a.jsx("li",{children:"The central role food plays in shaping humanity and its relationship with the world deepened the importance of food security and sustainability discussions."}),a.jsx("li",{children:"The idea that future advancement should incorporate practices seen in ancestral times."})]})]})}),a.jsx("div",{className:"border-l-4 border-primary pl-6",children:a.jsxs("blockquote",{className:"text-lg mb-3",children:[a.jsx("strong",{children:"Curation and Experience:"})," Dr. Wendy Black's curation enhanced the experience by providing clear, thought-provoking, and interesting connections to the origin story. Her ability to answer questions with context and high-level facts was highlighted."]})}),a.jsx("div",{className:"border-l-4 border-primary pl-6",children:a.jsx("blockquote",{className:"text-lg mb-3",children:"One specific suggestion noted that the connection to food, fire, and changes in human bodies was a favorite part of the experience."})}),a.jsx("div",{className:"border-l-4 border-primary pl-6",children:a.jsx("blockquote",{className:"text-lg mb-3",children:"The tour helped lay the foundation for a relationship with Iziko, with the intent of future, larger engagement."})})]}):e==="16"?a.jsx(a.Fragment,{children:a.jsxs("div",{className:"space-y-6",children:[a.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"The AI & Data for Food Founders Masterclass provided focused insights into practical applications of AI for small food businesses. Feedback gathered confirms the relevance and utility of the session:"}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold text-lg mb-2",children:"Attendee Profiles and General Sentiment"}),a.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"The event attracted a mix of professionals including a psychologist, a science journalist, an entrepreneur, and a tour owner/movement creator."}),a.jsx("p",{className:"text-muted-foreground leading-relaxed mt-3",children:"Prior to the session, attendees reported varied knowledge levels regarding AI. After the event, 100% of respondents believed that AI will drastically influence food experiences within the next three to five years."})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold text-lg mb-2",children:"Specific Learnings and Applications"}),a.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"The Masterclass aimed to equip entrepreneurs to leverage AI powerfully and responsibly, focusing on practical tools, data autonomy, and ethical use."}),a.jsx("p",{className:"text-muted-foreground leading-relaxed mt-3",children:"Attendees provided examples of how they gained immediate, actionable intelligence:"}),a.jsxs("ul",{className:"space-y-2 mt-3 text-muted-foreground",children:[a.jsxs("li",{className:"flex gap-3",children:[a.jsx("span",{className:"text-primary",children:"â¢"}),a.jsx("span",{children:"One attendee learned how to use AI to create an entire work plan for their business, finding this inspiring after previously limiting AI use to social media content or online research."})]}),a.jsxs("li",{className:"flex gap-3",children:[a.jsx("span",{className:"text-primary",children:"â¢"}),a.jsx("span",{children:"The session covered how a food founder could use AI to calculate costs based on individual ingredient items, helping to create both low-cost and high-cost meal options. AI was also demonstrated as a tool for decreasing meal preparation time or associated costs, such as energy/gas usage."})]}),a.jsxs("li",{className:"flex gap-3",children:[a.jsx("span",{className:"text-primary",children:"â¢"}),a.jsx("span",{children:"When asked about specific AI strategies for food distribution, suggestions included generating new ideas, Indigenous Food Systems Data entry, and using AI for making food videos, promotions, and order forms."})]})]})]})]})}):e==="19"?a.jsxs(a.Fragment,{children:[a.jsx("p",{className:"text-muted-foreground leading-relaxed mb-4",children:'The "Tea with a Farmer" event at Oranjezicht City Farm (OZCF) was designed to foster connections between urban attendees and farmers, and to provide insights into food justice, sustainability, and local farming practices while sipping farm-grown herbal tea.'}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold text-lg mb-3",children:"Feedback and Metrics:"}),a.jsxs("ul",{className:"space-y-3 text-muted-foreground",children:[a.jsxs("li",{children:[a.jsx("span",{className:"font-semibold text-foreground",children:"Attendance and Scheduling:"})," Two events were planned, but only one took place. The single event had an attendance of 5 people."]}),a.jsxs("li",{children:[a.jsx("span",{className:"font-semibold text-foreground",children:"Overall Assessment:"})," The event has high potential to attract and interest people, leading to a recommendation for major promotion in the future. Key performance indicators aimed to measure increased appreciation for the farmer role and whether participants planned to visit other urban farms."]}),a.jsxs("li",{children:[a.jsx("span",{className:"font-semibold text-foreground",children:"Note:"})," Specific testimonials from participants are not detailed in the available event reports."]})]})]})]}):e==="5"||e==="6"||e==="10"?t.testimonials.map((f,d)=>a.jsx("div",{className:"border-l-4 border-primary pl-6",children:a.jsxs("blockquote",{className:"text-lg italic mb-3",children:['"',f.content,'"']})},d)):t.testimonials.map((f,d)=>a.jsxs("div",{className:"border-l-4 border-primary pl-6",children:[a.jsxs("blockquote",{className:"text-lg italic mb-3",children:['"',f.content,'"']}),a.jsxs("cite",{className:"text-sm text-muted-foreground",children:["â ",f.name]})]},d))})]})}),e==="6"&&t.featuredVideos&&a.jsx("section",{className:"container mx-auto px-4 mb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{className:"text-2xl font-bold",children:"Featured Videos"})}),a.jsx($,{children:a.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:t.featuredVideos.map((f,d)=>a.jsx("div",{className:"aspect-video",children:a.jsx("iframe",{src:c(f),title:`Featured Video ${d+1}`,className:"w-full h-full rounded-lg",allowFullScreen:!0})},d))})})]})}),e==="8"&&a.jsx("section",{className:"container mx-auto px-4 mb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{className:"text-2xl font-bold",children:"Featured Videos"})}),a.jsx($,{children:a.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden",children:a.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/j_-7wHMj1oU?si=D5vzyaAlDlgUaiKd",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;
148 web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})}),a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden",children:a.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/D3UVjeAVOvY?si=hrXeUphsIqDih3b1",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})})]})})]})}),e==="7"&&a.jsx("section",{className:"container mx-auto px-4",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{className:"text-2xl font-bold",children:"Featured Videos"})}),a.jsx($,{children:a.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden",children:a.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/mQYdB0e98Wo?si=uaTi4N3wW0jnSBiI",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})}),a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden",children:a.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/dCMvGstj0Bw?si=ku6Nv2Ag5nbgXGGV",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})})]})})]})}),(e==="11"||e==="12")&&t.featuredVideos&&a.jsx("section",{className:"container mx-auto px-4",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{className:"text-2xl font-bold",children:"Featured Videos"})}),a.jsx($,{children:a.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:t.featuredVideos.map((f,d)=>a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden",children:a.jsx("iframe",{width:"100%",height:"100%",src:c(f),title:`Featured Video ${d+1}`,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})},d))})})]})}),e==="12"&&a.jsx("section",{className:"container mx-auto px-4",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Participant Feedback"})}),a.jsxs($,{className:"space-y-6",children:[a.jsxs("div",{className:"flex items-center gap-4",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(x0,{className:"h-5 w-5 fill-current mr-1"}),a.jsx("span",{className:"text-2xl font-bold",children:t.feedback.rating}),a.jsx("span",{className:"text-muted-foreground ml-1",children:"/5"})]}),a.jsxs("div",{className:"text-sm text-muted-foreground",children:["Based on ",t.feedback.totalResponses," responses"]})]}),a.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold mb-3",children:"Highlights"}),a.jsx("ul",{className:"space-y-2",children:t.feedback.highlights.map((f,d)=>a.jsxs("li",{className:"flex items-center",children:[a.jsx("div",{className:"w-2 h-2 bg-primary rounded-full mr-3"}),f]},d))})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold mb-3",children:"Suggestions for Improvement"}),a.jsx("ul",{className:"space-y-2",children:t.feedback.suggestions.map((f,d)=>a.jsxs("li",{className:"flex items-center",children:[a.jsx("div",{className:"w-2 h-2 bg-muted-foreground rounded-full mr-3"}),f]},d))})]})]})]})]})}),e==="5"&&a.jsx("section",{className:"container mx-auto px-4",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Video Highlights"})}),a.jsx($,{children:a.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx("h4",{className:"font-semibold",children:"Cape Town TV 'Ek Se Live' studio interview about Hack the Kitchen"}),a.jsx("p",{className:"text-sm text-muted-foreground mb-2",children:"Kids exploring flavour science with natural ingredients"}),a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden bg-muted",children:a.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/ZEi1g-2GJcs?si=jztd8tOoI8GANUSS",title:"Kids Workshop Video 1",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;
148 web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx("h4",{className:"font-semibold",children:"Cape Town TV insert on Hack the Kitchen"}),a.jsx("p",{className:"text-sm text-muted-foreground mb-2",children:"Ice cream creation with indigenous plants"}),a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden bg-muted",children:a.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/welu1y16pR4?si=y00FsYFUi3dhObKW",title:"Kids Workshop Video 2",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})})]})]})})]})}),e==="1"&&a.jsx("section",{className:"container mx-auto px-4",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Video Highlights"})}),a.jsx($,{className:"space-y-6",children:a.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx("h4",{className:"font-semibold",children:"Event Highlights"}),a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden bg-muted",children:a.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/rpELYVBl6No?si=ra7KX_91xt41gA-X",title:"Event Highlights - YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx("h4",{className:"font-semibold",children:"Behind the Scenes"}),a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden bg-muted",children:a.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/NeCe9bsySxY?si=20PxhP9GJyaLVodM",title:"Behind the Scenes - YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscopy; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})})]})]})})]})}),e==="3"&&t.featuredVideos&&t.featuredVideos.length>0&&a.jsx("section",{className:"container mx-auto px-4",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Video Highlights"})}),a.jsx($,{children:a.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:t.featuredVideos.map((f,d)=>a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden bg-muted",children:a.jsx("iframe",{width:"100%",height:"100%",src:c(f),title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})},d))})})]})}),e==="4"&&a.jsx("section",{className:"container mx-auto px-4",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Video Highlights"})}),a.jsx($,{children:a.jsxs("div",{className:"space-y-2",children:[a.jsx("h4",{className:"font-semibold",children:"Webinar Highlights"}),a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden bg-muted",children:a.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/xGsHBTgcZSs?si=mB5OLfW1cZzbIjKv",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})})]})})]})}),(e==="9"||e==="10")&&t.featuredVideos&&a.jsx("section",{className:"container mx-auto px-4 pb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Featured Videos"})}),a.jsx($,{children:a.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:t.featuredVideos.map((f,d)=>a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden bg-muted",children:f?a.jsx("iframe",{src:c(f),title:`Featured Video ${d+1}`,className:"w-full h-full",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;
148 web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0}):a.jsxs("div",{className:"w-full h-full flex items-center justify-center text-muted-foreground",children:["Video placeholder ",d+1]})},d))})})]})}),e==="17"&&a.jsx("section",{className:"container mx-auto px-4 pb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Participant Feedback"})}),a.jsxs($,{className:"space-y-6",children:[a.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"The Food System Financing Roundtable was successful and well attended, gathering 21 participants."}),a.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"The roundtable focused on real-world examples and opportunities for financing within the food system, particularly for groups that fall outside typical financial structures."}),a.jsxs("div",{children:[a.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Key Discussion Insights:"}),a.jsxs("ul",{className:"space-y-3 text-muted-foreground",children:[a.jsxs("li",{children:[a.jsx("span",{className:"font-semibold text-foreground",children:"Financial Gaps:"})," The session addressed specific financial gaps for informal farmers and cooperatives."]}),a.jsxs("li",{children:[a.jsx("span",{className:"font-semibold text-foreground",children:"Stokvels:"})," Opportunities were explored for financing through farmer stokvels, suggesting that demonstrating returns (e.g., 20% back on seasonal contributions) could encourage greater participation and allow these groups to self-capitalize."]}),a.jsxs("li",{children:[a.jsx("span",{className:"font-semibold text-foreground",children:"Operational Efficiency:"})," Discussions covered assisting farmers in saving on costs by helping them reduce trips (saving on diesel and labor)."]}),a.jsxs("li",{children:[a.jsx("span",{className:"font-semibold text-foreground",children:"Customer Relationships:"})," Solutions were explored to help smooth out financial issues, such as assisting with customer purchasing financing or managing cash flow associated with delayed customer payments."]}),a.jsxs("li",{children:[a.jsx("span",{className:"font-semibold text-foreground",children:"Non-Mainstream Supply:"}),' The event highlighted that these farmers often have "non-mainstream customers" and cannot always provide consistent weekly supply.']}),a.jsxs("li",{children:[a.jsx("span",{className:"font-semibold text-foreground",children:"Infrastructure:"})," Examples of real infrastructure being utilized by these groups, such as cold storage, offices, and pack sheds at the Langa and Khayelitsha Agrihubs, were featured as tangible assets within these finance discussions."]})]})]})]})]})}),e!=="2"&&a.jsx("section",{className:"container mx-auto px-4 pb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Photo Gallery"})}),a.jsx($,{children:a.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4",children:e==="3"?[1,2,3,4,5,6,7,8,9,10,11,12].map(f=>{const d=[1,2,3,4,5,6,7,8,9,10,11,12].map(b=>`/gallery/conference-${b}.jpg`);return a.jsx("div",{className:"aspect-square overflow-hidden rounded-lg bg-muted cursor-pointer",onClick:()=>{l(d),i(f-1),r(!0)},children:a.jsx("img",{src:`/gallery/conference-${f}.jpg`,alt:`AI and Food System Conference photo ${f}`,className:"w-full h-full object-cover hover:scale-105 transition-transform duration-300"})},f)}):e==="15"?[1,2,3,4,5,6,7,8,9,10,11,12].map(f=>{const d=[1,2,3,4,5,6,7,8,9,10,11,12].map(b=>`/gallery/event15-${b}.jpg`);return a.jsx("div",{className:"aspect-square overflow-hidden rounded-lg bg-muted cursor-pointer",onClick:()=>{l(d),i(f-1),r(!0)},children:a.jsx("img",{src:`/gallery/event15-${f}.jpg`,alt:`Iziko Museum Tour photo ${f}`,className:"w-full h-full object-cover hover:scale-105 transition-transform duration-300"})},f)}):t.gallery.map((f,d)=>a.jsx("div",{className:"aspect-square overflow-hidden rounded-lg bg-muted cursor-pointer",onClick:()=>{l(t.gallery),i(d),r(!0)},children:a.jsx("img",{src:f,alt:`${t.title} photo ${d+1}`,className:"w-full h-full object-cover hover:scale-105 transition-transform duration-300"})},d))})})]})}),n&&a.jsx(Bj,{images:s,currentIndex:o,onClose:()=>r(!1),onNavigate:i,altPrefix:t.title}),e==="7"&&a.jsx("section",{className:"container mx-auto px-4 pb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Participant Feedback"})}),a.jsxs($,{className:"space-y-4",children:[a.jsx("p",{className:"text-muted-foreground",children:"The Ancestral Intelligence Dialogues through Food event, held on Saturday, 12 July 2025, featured indigenous scientist Motheo Mamabolo leading a six-course journey centered on fungi. This concept successfully showcased how mushrooms can feature as a main ingredient across multiple courses."}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold mb-3",children:"Feedback and testimonials for this dialogue included:"}),a.jsxs("ul",{className:"space-y-2 text-muted-foreground",children:[a.jsxs("li",{className:"flex items-start",children:[a.jsx("div",{className:"w-2 h-2 bg-primary rounded-full mr-3 mt-2 flex-shrink-0"}),a.jsx("span",{children:"One hundred percent of participants affirmed a sense of storytelling through the food."})]}),a.jsxs("li",{className:"flex items-start",children:[a.jsx("div",{className:"w-2 h-2 bg-primary rounded-full mr-3 mt-2 flex-shrink-0"}),a.jsx("span",{children:'Attendees described the atmosphere as "intimate" and enjoyed the food.'})]}),a.jsxs("li",{className:"flex items-start",children:[a.jsx("div",{className:"w-2 h-2 bg-primary rounded-full mr-3 mt-2 flex-shrink-0"}),a.jsx("span",{children:'The food was characterized as delicious and "told a storyâfrom her natural roots of home to the dessert".'})]}),a.jsxs("li",{className:"flex items-start",children:[a.jsx("div",{className:"w-2 h-2 bg-primary rounded-full mr-3 mt-2 flex-shrink-0"}),a.jsx("span",{children:'Specific dishes received positive mention, such as "Definitely the chakalaka".'})]}),a.jsxs("li",{className:"flex items-start",children:[a.jsx("div",{className:"w-2 h-2 bg-primary rounded-full mr-3 mt-2 flex-shrink-0"}),a.jsx("span",{children:'The experience prompted reflection, with participants reporting they were "Thinking deeply about being a food nerd and not a foodie" and were going to "Try out new ways of cooking and new combinations".'})]}),a.jsxs("li",{className:"flex items-start",children:[a.jsx("div",{className:"w-2 h-2 bg-primary rounded-full mr-3 mt-2 flex-shrink-0"}),a.jsx("span",{children:'Reflections on the concept noted that "Fungi are in community and tension with the environment and other organisms always".'})]}),a.jsxs("li",{className:"flex items-start",children:[a.jsx("div",{className:"w-2 h-2 bg-primary rounded-full mr-3 mt-2 flex-shrink-0"}),a.jsx("span",{children:"A significant portion of respondents (75%) affirmed their belief in fungi holding ancestral knowledge."})]}),a.jsxs("li",{className:"flex items-start",children:[a.jsx("div",{className:"w-2 h-2 bg-primary rounded-full mr-3 mt-2 flex-shrink-0"}),a.jsx("span",{children:'Definitions offered for "Intelligence" in Nature included "Sentient beings" and the observation that "the food has a lot of nutrients".'})]}),a.jsxs("li",{className:"flex items-start",children:[a.jsx("div",{className:"w-2 h-2 bg-primary rounded-full mr-3 mt-2 flex-shrink-0"}),a.jsx("span",{children:"The organizing team noted attendees enjoyed every course served."})]})]})]})]})]})}),e==="6"&&t.videoPodcast&&a.jsx("section",{className:"container mx-auto px-4 pb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Video Podcast"})}),a.jsx($,{children:a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden bg-muted",children:a.jsx("iframe",{src:t.videoPodcast,title:"Video Podcast",className:"w-full h-full",allowFullScreen:!0})})})]})}),e==="8"&&a.jsx("section",{className:"container mx-auto px-4 pb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Video Podcast"})}),a.jsx($,{children:a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden bg-muted",children:a.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/n7Hm98B1Eak?si=pL_Oa46aiORV8378",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;
148 web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})})})]})}),(e==="9"||e==="10")&&t.videoPodcast&&a.jsx("section",{className:"container mx-auto px-4 pb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Video Podcast"})}),a.jsx($,{children:a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden bg-muted",children:t.videoPodcast?a.jsx("iframe",{src:c(t.videoPodcast),title:"Video Podcast",className:"w-full h-full",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0}):a.jsx("div",{className:"w-full h-full flex items-center justify-center text-muted-foreground",children:"Video Podcast placeholder"})})})]})}),e==="15"&&t.videoPodcast&&a.jsx("section",{className:"container mx-auto px-4 pb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Video Podcast"})}),a.jsx($,{children:a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden bg-muted",children:a.jsx("iframe",{src:c(t.videoPodcast),title:"Video Podcast",className:"w-full h-full",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0})})})]})}),e==="16"&&a.jsx("section",{className:"container mx-auto px-4 pb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Video Podcast"})}),a.jsx($,{children:a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden bg-muted",children:a.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/YRf1R6roW6I?si=W86rTx9RQK1dmAKN",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})})})]})}),e==="2"&&a.jsx("section",{className:"container mx-auto px-4 pb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Event Video"})}),a.jsx($,{children:a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden bg-muted",children:a.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/8oWB3xlhg80?si=0DoklJRZKrRPvepZ",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})})})]})}),e==="1"&&a.jsx("section",{className:"container mx-auto px-4 pb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Podcast: The Dinner That Rewrote The Code"})}),a.jsxs($,{children:[a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden bg-muted",children:a.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/XLJVyr300-0?si=22rFyuP-7a6irUyC",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})}),a.jsx("div",{className:"mt-4",children:a.jsx("p",{className:"text-muted-foreground",children:"An in-depth discussion about the innovative approach to AI and African cuisine featured at the opening dinner."})})]})]})}),e==="3"&&a.jsx("section",{className:"container mx-auto px-4 pb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Conference Podcast"})}),a.jsxs($,{children:[a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden bg-muted",children:a.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/gY6IH6HWrjs?si=xOY1br3Rve9JBsBO",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})}),a.jsx("div",{className:"mt-4",children:a.jsx("p",{className:"text-muted-foreground",children:"Listen to key insights and discussions from the AI and Food System Conference."})})]})]})}),e==="7"&&a.jsx("section",{className:"container mx-auto px-4",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{className:"text-2xl font-bold",children:"The Pot and the Algorithm"})}),a.jsx($,{children:a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden",children:a.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/lyr9Se1B83g?si=0mJCjCNE0fGi7eCE",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;
148 web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})})})]})}),e==="4"&&a.jsx("section",{className:"container mx-auto px-4 pb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Webinar Podcast"})}),a.jsxs($,{children:[a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden bg-muted",children:a.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/q69Fi9MvTLM?si=lHwCcmquGx2byx0j",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})}),a.jsx("div",{className:"mt-4",children:a.jsx("p",{className:"text-muted-foreground",children:"Listen to in-depth discussions about AI applications in African food systems and indigenous knowledge from the webinar."})})]})]})}),e==="5"&&a.jsx("section",{className:"container mx-auto px-4 pb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Hack the Kitchen Podcast"})}),a.jsxs($,{children:[a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden bg-muted",children:a.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/dUT5K9PIiVE?si=g7qjycAfGz9iEEO2",title:"Hack the Kitchen Podcast",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})}),a.jsx("div",{className:"mt-4",children:a.jsx("p",{className:"text-muted-foreground",children:"Listen to the Hack the Kitchen podcast featuring discussions about innovative approaches to food education and children's engagement with culinary science."})})]})]})}),e==="11"&&a.jsx("section",{className:"container mx-auto px-4 pb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Video Podcast"})}),a.jsx($,{children:a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden bg-muted",children:(()=>{const d=c(t.videoPodcast||"https://www.youtube.com/embed/h6ALTB-kV20?si=kwzWIWWbDqqoCE7Y");return a.jsx("iframe",{width:"100%",height:"100%",src:d,title:"Video Podcast",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})})()})})]})}),e==="12"&&t.videoPodcast&&a.jsx("section",{className:"container mx-auto px-4 pb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Video Podcast"})}),a.jsx($,{children:a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden bg-muted",children:a.jsx("iframe",{width:"100%",height:"100%",src:c(t.videoPodcast),title:"Video Podcast",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})})})]})}),e==="13"&&t.featuredVideos&&t.featuredVideos.length>0&&a.jsx("section",{className:"container mx-auto px-4 mb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Featured Videos"})}),a.jsx($,{children:a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden",children:a.jsx("iframe",{width:"100%",height:"100%",src:c(t.featuredVideos[0]),title:"Featured Video",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})})})]})}),e==="13"&&t.videoPodcast&&a.jsx("section",{className:"container mx-auto px-4 pb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Video Podcast"})}),a.jsx($,{children:a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden",children:a.jsx("iframe",{width:"100%",height:"100%",src:c(t.videoPodcast),title:"Video Podcast",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;
148 web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})})})]})}),e==="14"&&a.jsx("section",{className:"container mx-auto px-4 pb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Participant Feedback"})}),a.jsxs($,{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"font-semibold text-lg mb-2",children:"Influence on Food and Identity"}),a.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"The conversation positively influenced how attendees think about food and identity in South Africa. Participants learned about cooking and were inspired to cook more. One attendee noted the session confirmed their view of cookbooks as a political archive and repository of food histories, shaping understanding of food cultures and identities. Kim Bagley's discussion on holding her family's histories from Cape Town and Durban, and how they merge and evolve in food practices in Johannesburg, resonated with attendees. The event highlighted how different cultures in South Africa prepare the same food in different manners."})]}),a.jsxs("div",{children:[a.jsx("h3",{className:"font-semibold text-lg mb-2",children:"Food and Memory"}),a.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Attendees related to the exploration of food and memory. Specific memories participants related to included Sunday afternoon lunches, noting that most people in South Africa can relate to this. The conversation affirmed that cooking is a form of art and that cultural histories and identities can be held together in a dish. Kim Bagley discussed how the memory of preparing food with family brings people together."})]}),a.jsxs("div",{children:[a.jsx("h3",{className:"font-semibold text-lg mb-2",children:"Author's Perspective"}),a.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Bagley's discussion on fusing food comforted one attendee who previously felt dreadful about the practice. Her authenticity and culture, combined with her bright personality and love for cooking, were appreciated."})]}),a.jsxs("div",{children:[a.jsx("h3",{className:"font-semibold text-lg mb-2",children:"Event Atmosphere and Suggestions"}),a.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"The physical space of The Book Lounge contributed positively to the tone of the conversation, with 100% of respondents agreeing. The favorite part for one attendee was the Q&A session, as it allowed them to learn more about Bagley and her knowledge of food. Suggestions for future discussions included an in-depth exploration of different dietary requirements and easy ways to prepare those meals. Some attendees requested more on transdisciplinary food knowledge production."})]})]})]})}),e==="14"&&t.featuredVideos&&t.featuredVideos.length>0&&a.jsx("section",{className:"container mx-auto px-4 mb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Featured Videos"})}),a.jsx($,{children:a.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:t.featuredVideos.map((f,d)=>a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden",children:a.jsx("iframe",{width:"100%",height:"100%",src:c(f),title:`Featured Video ${d+1}`,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})},d))})})]})}),e==="14"&&t.videoPodcast&&a.jsx("section",{className:"container mx-auto px-4 pb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Video Podcast"})}),a.jsx($,{children:a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden",children:a.jsx("iframe",{width:"100%",height:"100%",src:c(t.videoPodcast),title:"Video Podcast",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})})})]})}),e==="17"&&a.jsx("section",{className:"container mx-auto px-4 pb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Video Highlights"})}),a.jsx($,{children:a.jsx("div",{className:"aspect-video rounded-lg overflow-hidden bg-muted",children:a.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/Y1xspbUibf0?si=nA8IJm7xLu42qmry",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;
148 web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full"})})})]})}),e==="18"&&a.jsx("section",{className:"container mx-auto px-4 pb-12",children:a.jsxs(z,{children:[a.jsx(V,{children:a.jsx(U,{children:"Participant Feedback"})}),a.jsxs($,{className:"space-y-6",children:[a.jsx("p",{className:"text-muted-foreground leading-relaxed",children:'The "Tea with a Farmer" event at 16 on Lerotholi Urban Farm in Langa was structured to feature farmer Mzikabawo Mashicila (Mzi). This initiative aimed to foster connections between urban individuals and farmers, build confidence in Mzi, and strengthen the event as a viable tourism product.'}),a.jsxs("div",{children:[a.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Event Execution"}),a.jsxs("ul",{className:"space-y-2 text-muted-foreground",children:[a.jsxs("li",{className:"flex gap-3",children:[a.jsx("span",{className:"text-primary",children:"â¢"}),a.jsx("span",{children:"Two sessions were scheduled"})]}),a.jsxs("li",{className:"flex gap-3",children:[a.jsx("span",{className:"text-primary",children:"â¢"}),a.jsx("span",{children:"Only one event took place, on July 19th"})]}),a.jsxs("li",{className:"flex gap-3",children:[a.jsx("span",{className:"text-primary",children:"â¢"}),a.jsx("span",{children:"Attendance for the single event was 2 people"})]})]})]}),a.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"While the event's potential to attract and interest people is noted, low attendance led to a recommendation for major promotion in the future."})]})]})})]})},Hj=()=>{const{category:e}=Eg(),t=e?decodeURIComponent(e):"",n=Ft.filter(r=>r.category.toLowerCase()===t.toLowerCase());return a.jsxs("div",{className:"container mx-auto px-4 py-8",children:[a.jsxs("div",{className:"mb-8",children:[a.jsx(co,{variant:"ghost",asChild:!0,className:"mb-4",children:a.jsxs(zt,{to:"/",className:"flex items-center gap-2",children:[a.jsx(Em,{className:"h-4 w-4"}),"Back to Dashboard"]})}),a.jsxs("h1",{className:"text-4xl font-bold mb-2",children:[t," Events"]}),a.jsxs("p",{className:"text-muted-foreground",children:[n.length," event",n.length!==1?"s":""," in this category"]})]}),n.length>0?a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:n.map(r=>a.jsx(Eu,{id:r.id,title:r.title,date:r.date,time:r.time,attendees:r.attendees,category:r.category,description:r.description,image:r.heroImage},r.id))}):a.jsx("div",{className:"text-center py-12",children:a.jsx("p",{className:"text-muted-foreground",children:"No events found in this category."})})]})},Kj=()=>{const e=Ni();return x.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),a.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-100",children:a.jsxs("div",{className:"text-center",children:[a.jsx("h1",{className:"text-4xl font-bold mb-4",children:"404"}),a.jsx("p",{className:"text-xl text-gray-600 mb-4",children:"Oops! Page not found"}),a.jsx("a",{href:"/",className:"text-blue-500 hover:text-blue-700 underline",children:"Return to Home"})]})})},Qj=new Tb,Gj=()=>a.jsx(Ab,{client:Qj,children:a.jsxs(ib,{children:[a.jsx(tw,{}),a.jsx(Ow,{}),a.jsx(Pj,{children:a.jsx(Oj,{children:a.jsxs(bj,{children:[a.jsx(Sr,{path:"/",element:a.jsx(zj,{})}),a.jsx(Sr,{path:"/events",element:a.jsx($j,{})}),a.jsx(Sr,{path:"/event/:id",element:a.jsx(Wj,{})}),a.jsx(Sr,{path:"/category/:category",element:a.jsx(Hj,{})}),a.jsx(Sr,{path:"*",element:a.jsx(Kj,{})})]})})})]})});Xp(document.getElementById("root")).render(a.jsx(Gj,{}));
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.